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
equality (definitional, propositional, computational, judgemental, extensional, intensional, decidable)
identity type, equivalence of types, definitional isomorphism
isomorphism, weak equivalence, homotopy equivalence, weak homotopy equivalence, equivalence in an (∞,1)-category
Examples.
In dependent type theory, a definitional isomorphism or judgmental isomorphism between two types and consists of functions and such that given any term , the term is judgmentally equal to and given any term , the term is judgmentally equal to . In symbols,
If the dependent type theory has identity types, definitional isomorphisms are, in particular, equivalences since the homotopies and coherence law for (half-adjoint) equivalences are derivable from the judgmental equalities in definitional isomorphisms.
One example of a definitional isomorphism in dependent type theory is the identity equivalence, defined by two copies of the identity function and by the fact that the identity function is a definitional involution, where reduces to .
Definitional isomorphisms are used to characterize the identity types of various basic types such as dependent sum types and dependent product types in binary parametric observational type theory and higher observational type theory.
In addition, definitional isomorphisms and definitional isomorphism types allow for easier proofs of the typal congruence rules of various types, since the judgmental equalities allow one to avoid transport hell that comes with the usual proofs of typal congruence rules using weak equivalences. See dependent product type for an example of two sets of such proofs using definitional isomorphisms and weak equivalences respectively, the one using definitional isomorphisms is simpler than the one using weak equivalences.
Given types and , one could define the type of definitional isomorphisms between and . These are given by the following inference rules:
Formation rule for definitional isomorphism types:
Introduction rule for definitional isomorphism types:
Elimination rules for definitional isomorphism types:
Computation rules for definitional isomorphism types:
Uniqueness rules for definitional isomorphism types:
In the presence of definitional isomorphism types and the inductively defined identity types, transport can be defined as definitional isomorphism via the J-rule, since the identity function or identity equivalence is a definitional isomorphism and thus one can apply the J-rule to reflexivity to get the identity as a definitional isomorphism:
However, the dependent type theory will no longer have decidable equality if it has definitional isomorphism types, as definitional isomorphism types allow one to include arbitrary definitional isomorphisms in contexts. In turn, this allows one to define fixed point operators, which are incompatible with decidable equality for dependent type theories.
The proof assistant Narya makes use of definitional isomorphisms to characterize identity/bridge types.
Last revised on August 9, 2024 at 22:01:09. See the history of this page for a list of all contributions to it.