Skip to main content
QUICK REVIEW

[Paper Review] For the Metatheory of Type Theory, Internal Sconing Is Enough

Rafaël Bocquet, Ambrus Kaposi|arXiv (Cornell University)|Jan 1, 2023
Logic, programming, and type systemsComputer Science2 citations
TL;DR

This paper proposes a novel metatheoretic framework for type theory that uses only internal sconing—gluing along a global section functor within a presheaf category—instead of general gluing. By combining internal higher-order models with external first-order models via contextualization and sconing, the method derives boilerplate-free induction principles for proving canonicity, normalization, and syntactic parametricity, with key results achieved through a generic section construction in the scone of a displayed model.

ABSTRACT

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 and normalization for type theory.

Motivation & Objective

  • To develop a streamlined, reusable framework for proving metatheoretic properties of type theory without explicit substitution handling.
  • To overcome the complexity of traditional gluing by restricting to sconing within presheaf categories.
  • To unify first-order and higher-order model presentations via internalization and contextualization.
  • To enable relative induction principles that are stable under specific functors (e.g., renamings, empty context) by using the scone construction.

Proposed method

  • Internal sconing is performed in a presheaf category, transforming a displayed higher-order model into a displayed first-order model.
  • The method uses two model types: first-order models (with explicit contexts) and higher-order models (universe-based, context-implicit).
  • Key constructions include internalization, contextualization (Set and telescopic), restriction, and externalization to recover standard gluing models.
  • The scone-contextualization generalizes standard gluing and corresponds externally to complex constructions like normalization models.
  • A category of sections of a displayed first-order model is defined via pullback, enabling initiality arguments for induction.
  • The framework uses internal logic of presheaves to ensure substitution stability automatically.

Experimental results

Research questions

  • RQ1Can metatheoretic properties of type theory be proven using only internal sconing, without general gluing?
  • RQ2How can higher-order and first-order models be systematically related to derive induction principles?
  • RQ3Can relative induction principles—valid over specific context functors like renamings or the empty context—be uniformly derived?
  • RQ4Is it possible to eliminate boilerplate substitution handling in metatheoretic proofs via internal model constructions?
  • RQ5Can the scone construction internally capture known external models like normalization or canonicity?

Key findings

  • The paper successfully derives a normalization function for type theory using only internal sconing, with the normalization function defined as normA(a) ≜ JAKq(JaK).
  • Stability of normalization is proven via mutual induction on neutrals and normal forms, showing that every normal form anf is equal to normA(a).
  • The canonicity model is recovered as a displayed higher-order model over the syntax, with a section J−K constructed via the relative induction principle.
  • The framework enables a uniform treatment of syntactic parametricity by constructing a displayed model that respects substitution via internal logic.
  • The scone construction internally captures complex external gluing models, such as the normalization model from previous work, by externalizing the internal scone of a presheaf model.
  • The category of sections of a displayed first-order model is defined via a pullback, providing a categorical foundation for initiality-based induction.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.