English

Representing Nonterminating Rewriting with $\mathbf{F}_2^\mu$

Logic in Computer Science 2017-06-05 v1

Abstract

We specify a second-order type system F2μ\mathbf{F}_2^\mu that is tailored for representing nonterminations. The nonterminating trace of a term tt in a rewrite system R\mathcal{R} corresponds to a productive inhabitant ee such that ΓRe:t\Gamma_{\mathcal{R}} \vdash e : t in F2μ\mathbf{F}_2^\mu, where ΓR\Gamma_{\mathcal{R}} is the environment representing the rewrite system. We prove that the productivity checking in F2μ\mathbf{F}_2^\mu is decidable via a mapping to the λ\lambda-Y calculus. We develop a type checking algorithm for F2μ\mathbf{F}_2^\mu based on second-order matching. We implement the type checking algorithm in a proof-of-concept type checker.

Keywords

Cite

@article{arxiv.1706.00746,
  title  = {Representing Nonterminating Rewriting with $\mathbf{F}_2^\mu$},
  author = {Peng Fu},
  journal= {arXiv preprint arXiv:1706.00746},
  year   = {2017}
}
R2 v1 2026-06-22T20:07:39.619Z