Stratified Type Theory
Jonathan Chan, Stephanie Weirich

TL;DR
This paper introduces Stratified Type Theory (StraTT), a novel approach to universe hierarchies in type theories that stratifies typing judgments rather than universes, aiming to ensure consistency even with type-in-type.
Contribution
The work proposes a new stratification method for type theories inspired by Leivant's System F, including extensions with level polymorphism and a prototype implementation.
Findings
Proved subStraTT to be consistent.
Proven StraTT to be type safe.
Verified the failure of certain type-theoretic paradoxes.
Abstract
A hierarchy of type universes is a rudimentary ingredient in the type theories of many proof assistants to prevent the logical inconsistency resulting from combining dependent functions and the type-in-type rule. In this work, we argue that a universe hierarchy is not the only option for a type theory with a type universe. Taking inspiration from Leivant's Stratified System F, we introduce Stratified Type Theory (StraTT), where rather than stratifying universes by levels, we stratify typing judgements and restrict the domain of dependent functions to strictly lower levels. Even with type-in-type, this restriction suffices to enforce consistency. In StraTT, we consider a number of extensions beyond just stratified dependent functions. First, the subsystem subStraTT employs McBride's crude-but-effective stratification (also known as displacement) as a simple form of level polymorphism…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Formal Methods in Verification · Model-Driven Software Engineering Techniques
