Fin n
is a natural number i
with the constraint that 0 β€ i < n
.
It is the "canonical type with n
elements".
Constructor
Fin.mk {n : Nat} (val : Nat) (isLt : val < n)
: Fin n |
Creates a |
Fields
isLt | : | βself < n |
If | ||
val | : | Nat |
If |