Representing Nonterminating Rewriting with F2μ

Abstract

We specify a second-order type system F2μ that is tailored for representing nonterminations. The nonterminating trace of a term t in a rewrite system R corresponds to a productive inhabitant e such that R e : t in F2μ, where R is the environment representing the rewrite system. We prove that the productivity checking in F2μ is decidable via a mapping to the λ-Y calculus. We develop a type checking algorithm for F2μ based on second-order matching. We implement the type checking algorithm in a proof-of-concept type checker.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…