An infinitary rewriting interpretation of coinductive types

08/15/2018
by   Łukasz Czajka, et al.
0

We introduce an infinitary rewriting semantics for strictly positive nested higher-order (co)inductive types. This may be seen as a refinement and generalisation of the notion of productivity in term rewriting to a setting with higher-order functions and with data specifed by nested higher-order inductive and coinductive definitions. We prove an approximation theorem which essentially states that if a term reduces to an arbitrarily large finite approximation of an infinite object in the interpretation of a coinductive type, then it infinitarily reduces to an infinite object in the interpretation of this type. We introduce a sufficient syntactic correctness criterion, in the form of a type system, for finite terms decorated with type information. Using the approximation theorem we show that each well-typed term has a well-defined interpretation in our infinitary rewriting semantics. This gives an operational interpretation of typable terms which takes into account the "limits" of infinite reduction sequences.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/13/2018

Dependently Typed Folds for Nested Data Types

We present an approach to develop folds for nested data types using depe...
research
05/03/2021

Tuple Interpretations for Higher-Order Rewriting

We develop a class of algebraic interpretations for many-sorted and high...
research
05/13/2023

Translating SUMO-K to Higher-Order Set Theory

We describe a translation from a fragment of SUMO (SUMO-K) into higher-o...
research
10/27/2022

Reductions in Higher-Order Rewriting and Their Equivalence

Proof terms are syntactic expressions that represent computations in ter...
research
05/24/2023

Theorem Proving in Dependently-Typed Higher-Order Logic – Extended Preprint

Higher-order logic HOL offers a very simple syntax and semantics for rep...
research
01/19/2020

Semantics for first-order affine inductive data types via slice categories

Affine type systems are substructural type systems where copying of info...
research
03/28/2022

How Functorial Are (Deep) GADTs?

It is well-known that GADTs do not admit standard map functions of the k...

Please sign up or login with your details

Forgot password? Click here to reset