Hostname: page-component-77f85d65b8-7lfxl Total loading time: 0 Render date: 2026-03-29T23:33:54.434Z Has data issue: false hasContentIssue false

Confluence of left-linear higher-order rewrite theories by checking their nested critical pairs

Published online by Cambridge University Press:  17 March 2022

Gilles Dowek
Affiliation:
INRIA-Saclay, Palaiseau, France Université Paris-Saclay, CNRS, ENS Paris-Saclay, Laboratoire Méthodes Formelles, 91190, Gif-sur-Yvette, France
Gaspard Férey
Affiliation:
Université Paris-Saclay, CNRS, ENS Paris-Saclay, Laboratoire Méthodes Formelles, 91190, Gif-sur-Yvette, France
Jean-Pierre Jouannaud
Affiliation:
Université Paris-Saclay, CNRS, ENS Paris-Saclay, Laboratoire Méthodes Formelles, 91190, Gif-sur-Yvette, France
Jiaxiang Liu*
Affiliation:
Shenzhen University, College of Computer Science and Software Engineering, 518060, Shenzhen, China
*
*Corresponding author. Email: jiaxiang0924@gmail.com
Rights & Permissions [Opens in a new window]

Abstract

User-defined higher-order rewrite rules are becoming a standard in proof assistants based on intuitionistic type theory. This raises the question of proving that they preserve the properties of beta-reductions for the corresponding type systems. In a series of papers, we develop techniques based on van Oostrom’s decreasing diagrams that reduce confluence proofs to the checking of various forms of critical pairs for higher-order rewrite rules extending beta-reduction on pure lambda-terms. As shown in a previous paper of the two middle authors, confluence of a terminating set of left-linear rewrite rules is obtained when their critical pairs are joinable, beta-rewrite steps being disallowed. The present paper concentrates on the case where arbitrary beta-rewrite steps are allowed for joining critical pairs. The rewrite relation used for analyzing confluence may rewrite arbitrarily many non-overlapping redexes in a single step. This relation gives rise to critical pairs that overlap both horizontally, as with parallel rewriting, but also vertically, forming chains of successive overlaps. Practical examples of use of this technique are analyzed.

Information

Type
Special Issue: Confluence
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Figure 1. Proof of Lemma 27 with $P'\not=\varnothing$.

Figure 1

Figure 2. Computation of a nested overlap.

Figure 2

Figure 3. Nested critical peak property.

Figure 3

Figure 4. Non-overlapping case.

Figure 4

Figure 5. Overlapping case.