module Padova2025.ProvingBasics.Equality.Base where
Definition
In blackboard mathematics, βxβ=βyβ is an
assertion, a statement. For instance, this assertion
might be true, or it might be false. In the Agda community,
x β‘ y
is a typeβthe type of witnesses that x
and y
are equal. For instance, this type could be
inhabited, or it could be empty.
If in blackboard mathematics we would prove that xβ=βy, in Agda we exhibit a
value of type x β‘ y
.
The following three lines set up these types:
infix 4 _β‘_ data _β‘_ {X : Set} : X β X β Set where refl : {a : X} β a β‘ a
The basic equality symbol =
is used in Agda only for
definitions. For formulating assumptions or results involing equality,
we use β‘
.