{"title":"Unital Anti-Unification: Type and Algorithms","authors":"David M. Cerna, Temur Kutsia","doi":"10.4230/LIPIcs.FSCD.2020.26","DOIUrl":null,"url":null,"abstract":"Unital equational theories are defined by axioms that assert the existence of the unit element for 9 some function symbols. We study anti-unification (AU) in unital theories and address the problems 10 of establishing generalization type and designing anti-unification algorithms. First, we prove that 11 when the term signature contains at least two unital functions, anti-unification is of the nullary 12 type by showing that there exists an AU problem, which does not have a minimal complete set of 13 generalizations. Next, we consider two special cases: the linear variant and the fragment with only 14 one unital symbol, and design AU algorithms for them. The algorithms are terminating, sound, 15 complete, and return tree grammars from which the set of generalizations can be constructed. 16 Anti-unification for both special cases is finitary. Further, the algorithm for the one-unital fragment 17 is extended to the unrestricted case. It terminates and returns a tree grammar which produces an 18 infinite set of generalizations. At the end, we discuss how the nullary type of unital anti-unification 19 might affect the anti-unification problem in some combined theories, and list some open questions.","PeriodicalId":284975,"journal":{"name":"International Conference on Formal Structures for Computation and Deduction","volume":"31 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Formal Structures for Computation and Deduction","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4230/LIPIcs.FSCD.2020.26","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6
Abstract
Unital equational theories are defined by axioms that assert the existence of the unit element for 9 some function symbols. We study anti-unification (AU) in unital theories and address the problems 10 of establishing generalization type and designing anti-unification algorithms. First, we prove that 11 when the term signature contains at least two unital functions, anti-unification is of the nullary 12 type by showing that there exists an AU problem, which does not have a minimal complete set of 13 generalizations. Next, we consider two special cases: the linear variant and the fragment with only 14 one unital symbol, and design AU algorithms for them. The algorithms are terminating, sound, 15 complete, and return tree grammars from which the set of generalizations can be constructed. 16 Anti-unification for both special cases is finitary. Further, the algorithm for the one-unital fragment 17 is extended to the unrestricted case. It terminates and returns a tree grammar which produces an 18 infinite set of generalizations. At the end, we discuss how the nullary type of unital anti-unification 19 might affect the anti-unification problem in some combined theories, and list some open questions.