A Weakly Initial Algebra for Higher-Order Abstract Syntax in Cedille

10/24/2019
by   Aaron Stump, et al.
0

Cedille is a relatively recent tool based on a Curry-style pure type theory, without a primitive datatype system. Using novel techniques based on dependent intersection types, inductive datatypes with their induction principles are derived. One benefit of this approach is that it allows exploration of new or advanced forms of inductive datatypes. This paper reports work in progress on one such form, namely higher-order abstract syntax (HOAS). We consider the nature of HOAS in the setting of pure type theory, comparing with the traditional concept of environment models for lambda calculus. We see an alternative, based on what we term Kripke function-spaces, for which we can derive a weakly initial algebra in Cedille. Several examples are given using the encoding.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/12/2018

Syntax and Semantics of Cedille

This document presents the syntax, classification rules, realizability s...
research
02/08/2018

Impredicative Encodings of (Higher) Inductive Types

Postulating an impredicative universe in dependent type theory allows Sy...
research
02/25/2020

A Type Checker for a Logical Framework with Union and Intersection Types

We present the syntax, semantics, and typing rules of Bull, a prototype ...
research
02/22/2012

A Bi-Directional Refinement Algorithm for the Calculus of (Co)Inductive Constructions

The paper describes the refinement algorithm for the Calculus of (Co)Ind...
research
02/01/2019

Signatures and Induction Principles for Higher Inductive-Inductive Types

Higher inductive-inductive types (HIITs) generalize inductive types of d...
research
02/10/2023

For the Metatheory of Type Theory, Internal Sconing Is Enough

Metatheorems about type theories are often proven by interpreting the sy...
research
06/23/2020

A Constructive, Type-Theoretic Approach to Regression via Global Optimisation

We examine the connections between deterministic, complete, and general ...

Please sign up or login with your details

Forgot password? Click here to reset