Invariant Generation as Semantic Unification: A New Perspective - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2023

Invariant Generation as Semantic Unification: A New Perspective

Deepak Kapur
  • Fonction : Auteur
  • PersonId : 963217

Résumé

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_v2.pdf (288.83 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Licence : CC BY - Paternité

Dates et versions

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

Licence

Paternité

Identifiants

  • HAL Id : hal-04143456 , version 2

Citer

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-04143456v2⟩
38 Consultations
17 Téléchargements

Partager

Gmail Facebook X LinkedIn More