کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
426766 686264 2014 39 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
A modular order-sorted equational generalization algorithm
ترجمه فارسی عنوان
یک الگوریتم تعمیم مرتبه مرتب شده مرتبه الف یک
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
چکیده انگلیسی

Generalization, also called anti-unification, is the dual of unification. Given terms t   and t′t′, a generalizer is a term t″t″ of which t   and t′t′ are substitution instances. The dual of a most general unifier (mgu) is that of least general generalizer (lgg). In this work, we extend the known untyped generalization algorithm to, first, an order-sorted typed setting with sorts, subsorts, and subtype polymorphism; second, we extend it to work modulo equational theories, where function symbols can obey any combination of associativity, commutativity, and identity axioms (including the empty set of such axioms); and third, to the combination of both, which results in a modular, order-sorted equational generalization algorithm. Unlike the untyped case, there is in general no single lgg in our framework, due to order-sortedness or to the equational axioms. Instead, there is a finite, minimal and complete set of lggs, so that any other generalizer has at least one of them as an instance. Our generalization algorithms are expressed by means of inference systems for which we give proofs of correctness. This opens up new applications to partial evaluation, program synthesis, and theorem proving for typed equational reasoning systems and typed rule-based languages such as ASF+SDF, Elan, OBJ, Cafe-OBJ, and Maude.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Information and Computation - Volume 235, April 2014, Pages 98–136
نویسندگان
, , , ,