Typechecking without Minimum Types: Finite Bases and Backward Checking for $F_{<:}^{\top}$
Mingkun Xiao, Yixuan Sun
Key points
From the paper's conclusion- We measure family representation sizes and comparison storage in independent OCaml prototypes on synthetic checking judgments.
Abstract
System $F_{<:}^{\top}$ has decidable subtyping but lacks minimum types. We prove that typechecking is decidable for arbitrary explicitly annotated terms with unrestricted subsumption. The difficulty is that type abstraction uses a variable's declared bound to type its body, while quantified subtyping forgets that bound. We construct finite covers that preserve all required subtype comparisons across this change of context. These covers yield a compositional finite typing basis and a decision procedure. We then derive a backward checker that propagates acceptable targets without constructing the complete typing basis. Rectangularity of typing families gives a uniform elimination domain while retaining every result type, even when the canonical type is not least. Finite inverse families transport targets through type substitution. The same inverse specification recovers bound forgetting and yields finite type-avoidance families. Both typechecking procedures are total Rocq functions proved equivalent to the original typing judgment. For a separate symbolic word-RAM realization, we prove a quartic worst-case work bound. We measure family representation sizes and comparison storage in independent OCaml prototypes on synthetic checking judgments.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A sound pure type system with ranks as sorts and Type-in-TypearXiv · 2026
- First-Class Refinement Types for ScalaProceedings of the ACM on Programming Languages · 2026
- CIRT: Calculus of Inductive Refinement TypesarXiv · 2026
- Evaluating Larger Lookup Tables using CKKSIACR Transactions on Cryptographic Hardware and Embedded Systems · 2026
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global ProtocolsProceedings of the ACM on Programming Languages · 2026
- Confluence Techniques for Dependent Type Theory with Typed ConversionProceedings of the ACM on Programming Languages · 2026