Dependent types I › Judgemental structure of dependent types › Judgemental equality [01CY]

For both basic forms of judgement, there is an auxiliary form of judgement governing equality.

  1. Presupposing A~\mathit {type} and B~\mathit {type}, we will write A\equiv B~\mathit {type} for the judgement that A and B are the same description of a type.
  2. Presupposing A~\mathit {type} and u:A and v:A, we will write u\equiv v:A for the judgement that u and v are the same description of an element of type A.

(Look at the presuppositions carefully: it does not make sense to speak of two elements being equal unless they are elements of the same type!)

Judgemental equality has the following property: if two things are equal, then we are justified in replacing one by the other at any time.