Hydra Battles and AC Termination
We present a new encoding of the Battle of Hercules and Hydra as a rewrite system with AC symbols. Unlike earlier term rewriting encodings, it faithfully models any strategy of Hercules to beat Hydra. To prove the termination of our encoding, we employ type introduction in connection with many-sorted semantic labeling for AC rewriting and AC-MPO, a new AC compatible reduction order that can be seen as a much weakened version of AC-RPO.
Authors
- Nao Hirokawa (ORCID: https://orcid.org/0000-0002-8499-0501)
- Aart Middeldorp (ORCID: https://orcid.org/0000-0001-7366-8464)
Publication Details
- Journal
- Logical Methods in Computer Science
- Published
- 2025-06-27
- DOI
- https://doi.org/10.46298/lmcs-21(2:29)2025
- Primary Topic
- Global Energy and Sustainability Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Japan Society for the Promotion of Science