HAL will be down for maintenance from Friday, June 10 at 4pm through Monday, June 13 at 9am. More information
Skip to Main content Skip to Navigation

Dynamically-typed computations for order-sorted equational presentations

Claus Hintermeier 1 Hélène Kirchner 1 Claude Kirchner 1
1 PROTHEO - Constraints, automatic deduction and software properties proofs
INRIA Lorraine, LORIA - Laboratoire Lorrain de Recherche en Informatique et ses Applications
Abstract : Equational presentations with ordered sorts encompass partially defined functions and subtyping information in an algebraic framework. In this work we address the problem of computing in order-sorted algebras, with very few restrictions on the allowed presentations. We adopt the G-algebra framework, where equational, membership and existence formulas can be expressed, and that provides a complete deduction calculus which incorporates the interaction between all these formulas. To practically deal with this calculus, we introduce an operational semantics for G-algebra using rewrite systems over so-called decorated terms, that have assertions concerning the sort membership of any subterm in its head node. Decorated rewrite rules perform equational replacement, decoration rewrite rules enrich the decorations and record sort information. Therefore we use the semantic sort principle, i.e. equal terms belong to equal sorts, rather than the syntactic sort principle that does not use the equational part of a presentation. In order to have a complete and decidable unification on decorated terms, we restrict to sort inheriting theories. The sort inheritance property is undecidable in general but we provide a test to check it on a given presentation. The test provides information on how to extend the presentation in a model conservative way, in order to obtain sort inheritance. then a completion procedure on decorated terms is designed to compute all interactions between equational and membership formulas. When the completion terminates, the resulting set of rewrite rules provides a way to decide equational theorems of the form (t = t') and typing theorems of the form (t : A).
Document type :
Complete list of metadata

Contributor : Rapport de Recherche Inria Connect in order to contact the contributor
Submitted on : Wednesday, May 24, 2006 - 3:21:31 PM
Last modification on : Friday, February 4, 2022 - 3:22:51 AM
Long-term archiving on: : Tuesday, April 12, 2011 - 5:05:19 PM


  • HAL Id : inria-00074463, version 1



Claus Hintermeier, Hélène Kirchner, Claude Kirchner. Dynamically-typed computations for order-sorted equational presentations. [Research Report] RR-2208, INRIA. 1994, pp.114. ⟨inria-00074463⟩



Record views


Files downloads