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
In type theory, the binomial types or binomial sets are the categorification of the binomial coefficients and then the further generalization from finite types/finite sets to arbitrary types or sets.
Given types and , the binomial type of and is defined as
where
denotes the dependent pair type-formation;
denotes function type-formation;
denotes the finite type with two elements “” and “”;
denotes its identification type;
denotes propositional truncation (bracket types).
Since is defined as the dependent pair type , the above definition is the same as
where given a type family the existential quantifier is defined as the propositional truncation of the dependent pair type
This definition can be translated directly into set theory notation as follows:
where is the function set with domain and codomain and is the two-element set (the classical boolean domain), and the predicate on the function set is defined as
This results in binomial sets.
There is an alternative way to express the second definition, by use of a univalent universe, but the resulting type is only locally small relative to the universe.
We define the type of decidable embeddings as the type of functions whose fibers are decidable:
Let be a univalent Tarski universe, and given type , let us define to be the type of all types in which are merely equivalent to :
Then given essentially -small types and , the locally -small binomial type is defined as
One could also translate the above definition into set theory:
Given a universe of small sets, the set is defined to be the set of all small sets in which are in bijection with :
where is the preimage or fiber of at .
Then given small sets and , the locally -small binomial set of and is defined as the set of all such that there exists a decidable injection from to :
The above definitions of binomial types can be found, respectively, in remark 17.6.7 and definition 17.6.7 of:
Last revised on August 2, 2023 at 19:26:14. See the history of this page for a list of all contributions to it.