For the Metatheory of Type Theory, Internal Sconing Is Enough

02/10/2023
by   Rafaël Bocquet, et al.
0

Metatheorems about type theories are often proven by interpreting the syntax into models constructed using categorical gluing. We propose to use only sconing (gluing along a global section functor) instead of general gluing. The sconing is performed internally to a presheaf category, and we recover the original glued model by externalization. Our method relies on constructions involving two notions of models: first-order models (with explicit contexts) and higher-order models (without explicit contexts). Sconing turns a displayed higher-order model into a displayed first-order model. Using these, we derive specialized induction principles for the syntax of type theory. The input of such an induction principle is a boilerplate-free description of its motives and methods, not mentioning contexts. The output is a section with computation rules specified in the same internal language. We illustrate our framework by proofs of canonicity, normalization and syntactic parametricity for type theory.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/23/2021

Induction principles for type theories, internally to presheaf categories

We present new induction principles for the syntax of dependent type the...
research
12/01/2021

Finitary type theories with and without contexts

We give a definition of finitary type theories that subsumes many exampl...
research
07/12/2023

Internal parametricity, without an interval

Parametricity is a property of the syntax of type theory implying e.g. t...
research
05/03/2021

Abstract clones for abstract syntax

We give a formal treatment of simple type theories, such as the simply-t...
research
09/03/2020

Internal ∞-Categorical Models of Dependent Type Theory: Towards 2LTT Eating HoTT

Using dependent type theory to formalise the syntax of dependent type th...
research
10/24/2019

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

Cedille is a relatively recent tool based on a Curry-style pure type the...
research
02/27/2021

Generalized Universe Hierarchies and First-Class Universe Levels

In type theories, universe hierarchies are commonly used to increase the...

Please sign up or login with your details

Forgot password? Click here to reset