Invariant Generation as Semantic Unification: A New Perspective - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2023

Invariant Generation as Semantic Unification: A New Perspective

Deepak Kapur
  • Function : Author
  • PersonId : 963217

Abstract

Unification is the problem of finding instantiations of variables in a finite set of pairs of terms constructed using function symbols, such that the instantiated terms in each pair become equal. In semantic unification, also called E-unification, function symbols can have properties specified typically by an equational theory; a unifier then makes the instantiated pairs of terms equivalent modulo the equation theory. By generalizing the unification problem further, in which the pairs of formulas have variables ranging over formulas in a first-order theory, the invariant generation problem in software, hardware, and cyber-physical systems can be formulated as a unification problem. Finding a nontrivial unifier then amounts to finding an invariant. Similarly, finding a most general unifier, if unique, amounts to finding the strongest invariant. Instantiation of variables can be further restricted to formulas with certain shapes/properties. This new perspective is illustrated using a number of examples from the literature of the automatic generation of loop invariants in software.
Fichier principal
Vignette du fichier
UNIF_2023_Kapur.pdf (288.83 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Licence : CC BY - Attribution

Dates and versions

hal-04143456 , version 1 (27-06-2023)
hal-04143456 , version 2 (29-06-2023)

Licence

Attribution

Identifiers

  • HAL Id : hal-04143456 , version 1

Cite

Deepak Kapur. Invariant Generation as Semantic Unification: A New Perspective. UNIF 2023 - 37th International Workshop on Unification, Veena Ravishankar; Christophe Ringeissen, Jul 2023, Rome, Italy. ⟨hal-04143456v1⟩

Collections

UNIF2023
38 View
18 Download

Share

Gmail Facebook X LinkedIn More