How to characterize the language of ground normal forms

Abstract : Term rewriting systems provide the computer scientists with a language to express functional definitions on complex domains. In such an area, we face the problem to characterize the ground normal forms (without any variables) as they are the results of computations. Doing that allows one to check the completeness of a functional definition (then the ground normal forms are built only with constructors) or to check the equivalence of two different functional definitions (it is possible to establish a one-to-one correspondence between the ground normal forms). We present here a characterization of the ground normal forms in terms of grammar, and an algorithm to derive it from the form of the left-hand sides of the rewrite rules. When the left-hand sides are linear, the form of the grammar is especially simple as it is context-free when we consider the terms as words, written for instance in prefix form. Therefore we get a decision procedure for the finiteness of the set of ground normal forms and we are also able to compute the normal forms which are the instances of a given linear term. The ideas behind the algorithms we present are very simple and we illustrate them by several examples.
Type de document :
Rapport
[Research Report] RR-0676, INRIA. 1987
Liste complète des métadonnées

https://hal.inria.fr/inria-00075877
Contributeur : Rapport de Recherche Inria <>
Soumis le : mercredi 24 mai 2006 - 19:30:39
Dernière modification le : samedi 17 septembre 2016 - 01:06:55
Document(s) archivé(s) le : vendredi 13 mai 2011 - 13:32:18

Fichiers

Identifiants

  • HAL Id : inria-00075877, version 1

Collections

Citation

Jean-Luc Rémy, Hubert Comon. How to characterize the language of ground normal forms. [Research Report] RR-0676, INRIA. 1987. 〈inria-00075877〉

Partager

Métriques

Consultations de la notice

138

Téléchargements de fichiers

61