nLab identity system

Contents

Context

Type theory

natural deduction metalanguage, practical foundations

  1. type formation rule
  2. term introduction rule
  3. term elimination rule
  4. computation rule

type theory (dependent, intensional, observational type theory, homotopy type theory)

syntax object language

computational trinitarianism =
propositions as types +programs as proofs +relation type theory/category theory

logicset theory (internal logic of)category theorytype theory
propositionsetobjecttype
predicatefamily of setsdisplay morphismdependent type
proofelementgeneralized elementterm/program
cut rulecomposition of classifying morphisms / pullback of display mapssubstitution
introduction rule for implicationcounit for hom-tensor adjunctionlambda
elimination rule for implicationunit for hom-tensor adjunctionapplication
cut elimination for implicationone of the zigzag identities for hom-tensor adjunctionbeta reduction
identity elimination for implicationthe other zigzag identity for hom-tensor adjunctioneta conversion
truesingletonterminal object/(-2)-truncated objecth-level 0-type/unit type
falseempty setinitial objectempty type
proposition, truth valuesubsingletonsubterminal object/(-1)-truncated objecth-proposition, mere proposition
logical conjunctioncartesian productproductproduct type
disjunctiondisjoint union (support of)coproduct ((-1)-truncation of)sum type (bracket type of)
implicationfunction set (into subsingleton)internal hom (into subterminal object)function type (into h-proposition)
negationfunction set into empty setinternal hom into initial objectfunction type into empty type
universal quantificationindexed cartesian product (of family of subsingletons)dependent product (of family of subterminal objects)dependent product type (of family of h-propositions)
existential quantificationindexed disjoint union (support of)dependent sum ((-1)-truncation of)dependent sum type (bracket type of)
logical equivalencebijection setobject of isomorphismsequivalence type
support setsupport object/(-1)-truncationpropositional truncation/bracket type
n-image of morphism into terminal object/n-truncationn-truncation modality
equalitydiagonal function/diagonal subset/diagonal relationpath space objectidentity type/path type
completely presented setsetdiscrete object/0-truncated objecth-level 2-type/set/h-set
setset with equivalence relationinternal 0-groupoidBishop set/setoid with its pseudo-equivalence relation an actual equivalence relation
equivalence class/quotient setquotientquotient type
inductioncolimitinductive type, W-type, M-type
higher inductionhigher colimithigher inductive type
-0-truncated higher colimitquotient inductive type
coinductionlimitcoinductive type
presettype without identity types
set of truth valuessubobject classifiertype of propositions
domain of discourseuniverseobject classifiertype universe
modalityclosure operator, (idempotent) monadmodal type theory, monad (in computer science)
linear logic(symmetric, closed) monoidal categorylinear type theory/quantum computation
proof netstring diagramquantum circuit
(absence of) contraction rule(absence of) diagonalno-cloning theorem
synthetic mathematicsdomain specific embedded programming language

homotopy levels

semantics

Contents

Idea

In dependent type theory, an identity system is a correspondence on a type AA

a:A,b:AR(a,b)a:A, b:A \vdash R(a, b)

which behaves like a weak identity type on AA.

Identity systems are very useful in characterizing the extensionality principle of types such as function types, dependent function types, and Tarski universes.

Definition

In dependent type theory, an identity system on a type AA is a correspondence on AA, a:A,b:AR(a,b)a:A, b:A \vdash R(a, b), with a dependent function

a:Ar 0(a):R(a,a)a:A \vdash r_0(a):R(a, a)

such that for any family of types

a:A,b:A,p:R(a,b)C(a,b,p)a:A, b:A, p:R(a, b) \vdash C(a, b, p)

there exists a dependent function

t: c:AC(c,c,r 0(c)),a:A,b:A,p:R(a,b)J(t,a,b,p):C(a,b,p)t:\prod_{c:A} C(c, c, r_0(c)), a:A, b:A, p:R(a, b) \vdash J(t, a, b, p):C(a, b, p)

and a dependent function

t: c:AC(c,c,r 0(c)),a:Aβ(t,a):J(t,a,a,r 0(a))= C(a,a,r 0(a))t(a)t:\prod_{c:A} C(c, c, r_0(c)), a:A \vdash \beta(t, a):J(t, a, a, r_0(a)) =_{C(a, a, r_0(a))} t(a)

Extensionality principles

  • product extensionality states that the correspondence

    x:A×B,y:A×B(π 1(x)= Aπ 1(y))×(π 2(x)= Bπ 2(y))x:A \times B, y:A \times B \vdash (\pi_1(x) =_A \pi_1(y)) \times (\pi_2(x) =_B \pi_2(y))

    is an identity system.

  • dependent pair extensionality states that the correspondence

    y: x:AB(x),z: x:AB(x) p:π 1(y)= Aπ 1(z)π 2(y)= x:A.B(x) pπ 2(z)y:\sum_{x:A} B(x), z:\sum_{x:A} B(x) \vdash \sum_{p:\pi_1(y) =_A \pi_1(z)} \pi_2(y) =_{x:A.B(x)}^p \pi_2(z)

    is an identity system.

  • function extensionality states that the correspondence

    f:AB,g:AB x:Aev(f,x)= Bev(g,x)f:A \to B, g:A \to B \vdash \prod_{x:A} \mathrm{ev}(f, x) =_B \mathrm{ev}(g, x)

    is an identity system.

  • dependent function extensionality states that the correspondence

    f: x:AB(x),g: x:AB(x) x:Aev(f,x)= B(x)ev(g,x)f:\prod_{x:A} B(x), g:\prod_{x:A} B(x) \vdash \prod_{x:A} \mathrm{ev}(f, x) =_{B(x)} \mathrm{ev}(g, x)

    is an identity system.

  • univalence or universe extensionality states that the correspondence

    A:U,B:UT(A)T(B)A:U, B:U \vdash T(A) \simeq T(B)

    is an identity system.

See also

References

Last revised on January 30, 2023 at 16:02:57. See the history of this page for a list of all contributions to it.