Bounded Sort Polymorphism with Elimination Constraints
summary
Extends sort polymorphism with elimination constraints that record which sorts may eliminate into which, implements the system in the Rocq prover, and proves relative consistency by instantiating sort variables to dominated ground sorts (with an added initial data sort when necessary). Delivers algorithmic principal sort assignment and an elaborator that reconstructs those bounds; artifacts and an RFC exist; the Rocq prototype works but shows some performance regressions due to graph-based eliminability checks.
AI-written summary · about
chapters (12)
- 0:00Bounded sort polymorphism intro
- 1:51Multi-sorted type theories issues
- 5:43Sort polymorphism without bounds
- 8:13Manual eliminator declaration problems
- 9:16Bounds in sort polymorphism
- 9:57Consistency with sort poly system
- 13:14Conversion rules and theorem
- 14:42Consistency theorem conditions
- 18:33Instantiating sort variables
- 19:36Rocq implementation
- 20:59Future work and extensions
- 21:20Q&A
