TY - GEN
T1 - Verification of an Anti-unification Algorithm in PVS
AU - Ayala-Rincón, M.
AU - de Lima, Thaynara Arielly
AU - Dias Lima, Maria Júlia
AU - Moscato, Mariano Miguel
AU - Kutsia, Teimuraz
PY - 2025
Y1 - 2025
N2 - Anti-unification is the problem of computing the commonalities between syntactic terms. Among its main applications, the detection of code regularities stands out since it is widely used in industrial settings as the foundation for technologies for the recognition of code-cloning, improvement of parallel compilation, and software error detection and correction. This paper discusses the verification of an anti-unification algorithm in the Prototype Verification System (PVS). The algorithm is based on inference rules that constructively compute the common structure between two terms, providing a substitution that expresses the least general generalizer between them as output. To the best of the authors’ knowledge, this is the first formalization of an anti-unification procedure containing proofs of relevant properties, such as termination and soundness.
AB - Anti-unification is the problem of computing the commonalities between syntactic terms. Among its main applications, the detection of code regularities stands out since it is widely used in industrial settings as the foundation for technologies for the recognition of code-cloning, improvement of parallel compilation, and software error detection and correction. This paper discusses the verification of an anti-unification algorithm in the Prototype Verification System (PVS). The algorithm is based on inference rules that constructively compute the common structure between two terms, providing a substitution that expresses the least general generalizer between them as output. To the best of the authors’ knowledge, this is the first formalization of an anti-unification procedure containing proofs of relevant properties, such as termination and soundness.
UR - https://www.scopus.com/pages/publications/105008761802
U2 - 10.1007/978-3-031-93706-4_4
DO - 10.1007/978-3-031-93706-4_4
M3 - Conference proceedings
SN - 978-3-031-93705-7
T3 - Lecture Notes in Computer Science
SP - 54
EP - 71
BT - NASA Formal Methods - 17th International Symposium, NFM 2025, Proceedings
A2 - Dutle, Aaron
A2 - Humphrey, Laura
A2 - Titolo, Laura
CY - Springer Verlag
ER -