Verification of an Anti-unification Algorithm in PVS

  • M. Ayala-Rincón*
  • , Thaynara Arielly de Lima
  • , Maria Júlia Dias Lima
  • , Mariano Miguel Moscato
  • , Teimuraz Kutsia
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference proceedingspeer-review

Abstract

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.

Original languageEnglish
Title of host publicationNASA Formal Methods - 17th International Symposium, NFM 2025, Proceedings
EditorsAaron Dutle, Laura Humphrey, Laura Titolo
Place of PublicationSpringer Verlag
Pages54-71
Number of pages18
Edition1
DOIs
Publication statusPublished - 2025

Publication series

NameLecture Notes in Computer Science
Volume15682 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Fields of science

  • 101013 Mathematical logic
  • 101 Mathematics
  • 101012 Combinatorics
  • 101005 Computer algebra
  • 101009 Geometry
  • 101001 Algebra
  • 101020 Technical mathematics

JKU Focus areas

  • Digital Transformation

Cite this