Identity type
In type theory, a branch of mathematics, the identity type represents the concept of equality.[src] It is also known as propositional equality to differentiate it from "judgemental equality".[src] Equality in type theory is a complex topic and has been the subject of research, such as the field of homotopy type theory.[src]
In type theory, a branch of mathematics, the identity type represents the concept of equality.[src] It is also known as propositional equality to differentiate it from "judgemental equality".[src] Equality in type theory is a complex topic and has been the subject of research, such as the field of homotopy type theory.[src] The identity type can do more than what judgemental equality can do.[src] It can be used to show "for all x, x+1=1+x ", which is impossible to show with judgemental equality.[src] This is accomplished by using the eliminator (or "recursor") of the natural numbers, known as "R".[src] The "R" function lets us define a new function on the natural numbers.[src] That new function "P" is defined to be "(λ x:nat .[src] x+1 = 1+x)".[src] The other arguments act like the parts of an induction proof.[src] The argument "PZ : P 0" becomes the base case "0+1 = 1+0", which is the term "refl nat 1".[src] The argument "PS : P n → P (S n)" becomes the inductive case.[src] Essentially, this says that when "x+1 = 1+x" has "x" replaced with a canonical value, the expression will be the same as "refl nat (x+1)".[src] ==References==[src]
17 sentences · 17 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Identity type." encyclopegia.org, 2026, https://encyclopegia.org/wiki/identity-type. Accessed 29 November 2026.
Chicago
"Identity type." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/identity-type.
APA
encyclopegia.org. (2026). Identity type. Retrieved November 29, 2026, from https://encyclopegia.org/wiki/identity-type
Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON