Simulating Large Eliminations in Cedille

12/15/2021
by   Christopher Jenkins, et al.
0

Large eliminations provide an expressive mechanism for arity- and type-generic programming. However, as large eliminations are closely tied to a type theory's primitive notion of inductive type, this expressivity is not expected within polymorphic lambda calculi in which datatypes are encoded using impredicative quantification. We report progress on simulating large eliminations for datatype encodings in one such type theory, the calculus of dependent lambda eliminations (CDLE). Specifically, we show that the expected computation rules for large eliminations, expressed using a derived type of extensional equality of types, can be proven within CDLE. We present several case studies, demonstrating the adequacy of this simulation for a variety of generic programming tasks, and a generic formulation of the simulation allowing its use for any datatype. All results have been mechanically checked by Cedille, an implementation of CDLE.

READ FULL TEXT

page 1

page 5

page 9

page 11

page 15

page 19

page 21

research
10/31/2018

Bisimulation as path type for guarded recursive types

In type theory, coinductive types are used to represent processes, and a...
research
03/31/2018

Generic Description of Well-Scoped, Well-Typed Syntaxes

We adapt the technique of type-generic programming via descriptions poin...
research
12/28/2021

Two Guarded Recursive Powerdomains for Applicative Simulation

Clocked Cubical Type Theory is a new type theory combining the power of ...
research
02/28/2019

Infinite Types, Infinite Data, Infinite Interaction

We describe a way to represent computable functions between coinductive ...
research
12/20/2019

Next Priority Concept: A new and generic algorithm computing concepts from complex and heterogeneous data

In this article, we present a new data type agnostic algorithm calculati...
research
06/02/2021

Generic Programming with Combinators and Objects

We present a generic programming framework for OCAML which makes it poss...
research
08/19/2020

Transpension: The Right Adjoint to the Pi-type

Presheaf models of dependent type theory have been successfully applied ...

Please sign up or login with your details

Forgot password? Click here to reset