A Coinductive Framework for Infinitary Rewriting and Equational Reasoning

Jörg Endrullis, Helle Hvid Hansen, Dimitri Hendriks, Andrew Polonsky, and Alexandra Silva

In: Proc. Conf. on Rewriting Techniques and Applications (RTA 2015), pp. 143–159, Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik (2015)
# Abstract

We present a coinductive framework for defining and reasoning about the infinitary analogues of equational logic and term rewriting in a uniform, coinductive way.

The framework lends itself to an elegant and concise definition of the infinitary rewrite relation \( \to^\infty \)
in terms of the single step relation \( \to \):
\[
{\to^\infty} \,=\, \mu R. \nu S. ( \to \cup \mathrel{\overline{R}} )^* \mathrel{;} \overline{S}
\]
Here \( \mu \) and \( \nu \) are the least and greatest fixed-point operators, respectively, and
\[
\overline{R} \,=\, \{\, (\, f(s_1,\ldots,s_n),\, \,f(t_1,\ldots,t_n) \,) \mid f \in \Sigma,\, s_1\! \mathrel{R} t_1,\ldots,s_n\! \mathrel{R} t_n \,\} \cup \text{Id}
\]
The setup captures rewrite sequences of arbitrary ordinal length,
but it has neither the need for ordinals nor for metric convergence.
This makes the framework suitable for formalizations in theorem provers.

We refer to Coinductive Foundations of Infinitary Rewriting and Infinitary Equational Logic (LMCS 2018) for an extended journal version of this paper.

We build on ideas in Infinitary Rewriting Coinductively (TYPES 2012) giving a coinductive perspective on infinitary lambda calculus.
We extend these ideas to rewrite sequences beyond length omega by mixing induction and coinduction (least and greatest fixed-points).

@inproceedings{infintary:rewriting:coinductive:2015,
author = {Endrullis, J\"{o}rg and Hansen, Helle Hvid and Hendriks, Dimitri and Polonsky, Andrew and Silva, Alexandra},
title = {{A Coinductive Framework for Infinitary Rewriting and Equational Reasoning}},
booktitle = {Proc.\ Conf.\ on Rewriting Techniques and Applications (RTA 2015)},
volume = {36},
pages = {143--159},
publisher = {Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik},
series = {LIPIcs},
year = {2015},
doi = {10.4230/LIPIcs.RTA.2015.143},
keywords = {rewriting, infinitary rewriting, coinduction},
type = {conference}
}