natural deduction metalanguage, practical foundations
type theory (dependent, intensional, observational type theory, homotopy type theory)
computational trinitarianism =
propositions as types +programs as proofs +relation type theory/category theory
A type universe has impredicative polymorphism or is impredicative if dependent product types of -indexed families of -small types are themselves -small.
For Russell universes, this is given by the inference rule
The situation is a little bit more complicated for Tarski universes. Like all other conditions on Tarski universes, there is an orthogonal axis for which impredicativity might vary: weak or strict impredicativity, which has to do with whether one uses an equivalence of types or judgmental equality to define small types.
In the presentation of dependent type theory using a hierarchy of universes, impredicative polymorphism is a resizing axiom which says that for all endofunctions on the first type universe , the dependent product type is (essentially) -small.
In dependent type theory with type variables, presented without universes but with a single type judgment, while there is no universe to quantify over for the dependent product type, using the type variable we can add an untyped version of the dependent product type to the type theory for impredicative polymorphism. This type is similar to universal quantification in untyped first-order logic, and plays the same role in this presentation of dependent type theory that the type does for the other presentation of dependnet type theory. The rules for are as follows:
Formation rule:
Introduction rule:
Elimination rule:
Computation rules:
Uniqueness rules:
The base universe historically had impredicative polymorphism in Coq, according to Pédrot 2022.
In dependent type theory defined using a single type judgment, the universe of all propositions is a type universe with impredicative polymorphism if and only if weak function extensionality holds.
More generally, let be a universe of propositions, and assume weak function extensionality holds. Then has impredicative polymorphism if and only if it is closed under dependent product types of predicates in ; i.e. is an inflattice.
Andrew Pitts, Nontrivial Power Types can’t be Subtypes of Polymorphic Types (pdf)
Taichi Uemura, Cubical Assemblies, a Univalent and Impredicative Universe and a Failure of Propositional Resizing, in 24th International Conference on Types for Proofs and Programs (TYPES 2018). Leibniz International Proceedings in Informatics (LIPIcs), Volume 130, pp. 7:1-7:20, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2019) (doi:10.4230/LIPIcs.TYPES.2018.7, arXiv:1803.06649)
Dependent Type Theory vs Polymorphic Type Theory, Category Theory Zulip (web)
Pierre-Marie Pédrot, Why not have Prop : Set
in Coq?, Proof Assistant StackExchange, 27 June 2022. (web)
Mere propositions and Consistency with Impredicativity, Excluded Middle and Large Elimination, Proof Assistant StackExchange (web)
Last revised on December 16, 2024 at 23:11:23. See the history of this page for a list of all contributions to it.