A Type Theory for Defining Logics and Proofs

05/07/2019
by   Brigitte Pientka, et al.
0

We describe a Martin-Löf-style dependent type theory, called Cocon, that allows us to mix the intensional function space that is used to represent higher-order abstract syntax (HOAS) trees with the extensional function space that describes (recursive) computations. We mediate between HOAS representations and computations using contextual modal types. Our type theory also supports an infinite hierarchy of universes and hence supports type-level computation thereby providing metaprogramming and (small-scale) reflection. Our main contribution is the development of a Kripke-style model for Cocon that allows us to prove normalization. From the normalization proof, we derive subject reduction and consistency. Our work lays the foundation to incorporate the methodology of logical frameworks into systems such as Agda and bridges the longstanding gap between these two worlds.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/10/2019

Cocon: Computation in Contextual Type Theory

We describe a Martin-Löf style dependent type theory, called Cocon, that...
research
06/06/2022

A Category Theoretic View of Contextual Types: from Simple Types to Dependent Types

We describe the categorical semantics for a simply typed variant and a s...
research
11/22/2022

A Categorical Normalization Proof for the Modal Lambda-Calculus

We investigate a simply typed modal λ-calculus, λ^→□, due to Pfenning, W...
research
07/05/2021

A Theory of Higher-Order Subtyping with Type Intervals (Extended Version)

The calculus of Dependent Object Types (DOT) has enabled a more principl...
research
09/20/2022

Staged Compilation with Two-Level Type Theory

The aim of staged compilation is to enable metaprogramming in a way such...
research
01/28/2018

Polymorphic Context for Contextual Modality

Through the Curry-Howard isomorphism between logics and calculi, necessi...
research
03/17/2018

An extended type system with lambda-typed lambda-expressions (extended version)

We present the type system d, an extended type system with lambda-typed ...

Please sign up or login with your details

Forgot password? Click here to reset