Successors and predecessors of Fin n
#
In this file, we show that Fin n
is both a SuccOrder
and a PredOrder
. Note that they are
also archimedean, but this is derived from the general instance for well-orderings as opposed
to a specific Fin
instance.
Equations
- One or more equations did not get rendered due to their size.
@[simp]
theorem
Fin.succ_apply
{n : ℕ}
(a : Fin (n + 1))
:
SuccOrder.succ a = if a < Fin.last n then a + 1 else a
Equations
- One or more equations did not get rendered due to their size.
@[simp]