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
Let be the set of natural numbers, let be an arbitrary natural number, let be the finite set with elements, and let be an arbitrary set. Then -tuple extensionality states that for every tuple and , if and only if for all elements .
In dependent type theory, -tuple extensionality states that given two -tuples and there is an equivalence of types between the identity type and the dependent tuple type :
There is also a version of -tuple extensionality for dependent tuple types called dependent -tuple extensionality, which states that given two dependent -tuples and there is an equivalence of types between the identity type and the dependent tuple type :
Tuple extensionality is always true in set theory and dependent type theory, for the same reason that product extensionality is true.
Indeed, one could express tuple extensionality as two separate cases representing nullary tuples and binary tuples:
Every two elements in a singleton are equal to each other
product extensionality: Given two ordered pairs in a product set, they are equal if and only if the left product projections are equal to each other and the right product projections are equal to each other.
In dependent type theory, this becomes:
Every identity type of two elements in a contractible type is a contractible type.
product extensionality: Given two ordered pairs in a product set, the identity type between the two ordered pairs is equivalent to the product type of the identity type of the left product projections and the identity type of the right product projections.
Created on January 10, 2023 at 00:54:54. See the history of this page for a list of all contributions to it.