[Paper Review] A Coinductive Treatment of Infinitary Rewriting
This paper presents a coinductive framework for infinitary term rewriting that eliminates reliance on ordinals and metric convergence, defining the infinitary rewrite relation via a fixed-point equation involving least and greatest fixed points. It enables formalization in theorem provers, as demonstrated by a Coq proof of the Compression Lemma, and introduces novel coinductive proof terms for infinite reductions.
We introduce a coinductive definition of infinitary term rewriting. The setup is surprisingly simple, and has in contrast to the usual definitions of infinitary rewriting, neither need for ordinals nor for metric convergence. While the idea of a coinductive treatment of infinitary rewriting is not new, all previous approaches were limited to reductions of length at most omega. The approach presented in this paper is the first to capture the full infinitary term rewriting with reductions of arbitrary ordinal length. Apart from an elegant reformulation of known concepts, our approach gives rise, in a very natural way, to a novel notion of infinitary equational reasoning.
Motivation & Objective
- To develop a coinductive treatment of infinitary rewriting that avoids reliance on ordinals and metric convergence.
- To provide a mathematically precise, succinct definition of the infinitary rewrite relation using least and greatest fixed points.
- To enable formalization of infinitary rewriting in interactive theorem provers such as Coq.
- To introduce coinductive proof rules that generate proof terms for infinite reductions.
- To explore new variants of infinitary rewriting, such as bi-infinite and infinitary equational reasoning, grounded in coinduction.
Proposed method
- The infinitary rewrite relation is defined as $\mathrel{\mbox{$\to\to\to$}} = \mu x.\, \nu y.\, (\to_{\varepsilon} \cup \overline{x})^* \circ \overline{y}$, where $\mu$ is the least fixed point and $\nu$ the greatest.
- The operator $\overline{R}$ lifts a relation $R$ to terms by applying it recursively to all subterms, with identity for matching structures.
- Root steps $\to_{\varepsilon}$ are defined via rewrite rules and substitutions, forming the base of reductions.
- The framework uses coinductive derivation rules to allow infinite proof trees, with a loop-based structure to represent transfinite reductions.
- Proof terms are generated via coinductive rules, enabling formal verification of infinite reductions in Coq.
- The Compression Lemma is formally proven in Coq, demonstrating the framework’s practical utility for mechanized reasoning.
Experimental results
Research questions
- RQ1How can infinitary rewriting be defined without relying on ordinals or metric convergence?
- RQ2Can a coinductive framework capture infinitary reductions of arbitrary ordinal length?
- RQ3How can proof terms for infinite reductions be systematically generated and formalized?
- RQ4What novel variants of infinitary rewriting arise naturally from the coinductive framework?
- RQ5To what extent can this framework support the formalization of major theorems in infinitary rewriting?
Key findings
- The infinitary rewrite relation is defined via a concise fixed-point equation involving both least and greatest fixed points, eliminating the need for ordinals or convergence metrics.
- The framework enables formalization in Coq, as demonstrated by a verified proof of the Compression Lemma.
- Coinductive proof rules generate proof terms for infinite reductions, supporting mechanized reasoning.
- Two new variants of infinitary rewriting are introduced: bi-infinite rewriting and infinitary equational reasoning, both defined coinductively.
- The framework reveals a natural connection between infinitary rewriting and coalgebra, suggesting deeper theoretical links.
- The relation $=^\infty$ is shown to be strictly contained in $(\mathrel{\mbox{$\to\to\to$}} \cup \mathrel{\reflectbox{$\mathrel{\mbox{$\to\to\to$}}$}})^*$, indicating a proper hierarchy in infinitary equational reasoning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.