Verifying the Unification Algorithm in LCF
@misc{paulson2000verifying,
title = {Verifying the Unification Algorithm in LCF},
author = {Lawrence C. Paulson},
year = {2000},
eprint = {cs/9301101},
archivePrefix = {arXiv},
primaryClass = {cs.LO},
url = {https://arxiv.org/abs/cs/9301101}
}
Paulson, L. C. (2000). Verifying the Unification Algorithm in LCF [Preprint]. arXiv. https://doi.org/10.48550/arXiv.cs/9301101
PAULSON LC. Verifying the Unification Algorithm in LCF[EB/OL]. (2000-09-29)[2026-11-29]. https://arxiv.org/abs/cs/9301101.
Abstract
Manna and Waldinger's theory of substitutions and unification has been verified using the Cambridge LCF theorem prover. A proof of the monotonicity of substitution is presented in detail, as an example of interaction with LCF. Translating the theory into LCF's domain-theoretic logic is largely straightforward. Well-founded induction on a complex ordering is translated into nested structural inductions. Correctness of unification is expressed using predicates for such properties as idempotence and most-generality. The verification is presented as a series of lemmas. The LCF proofs are compared with the original ones, and with other approaches. It appears difficult to find a logic that is both simple and flexible, especially for proving termination.