@[inline]
castAdd m i
embeds i : Fin n
in Fin (n+m)
. See also Fin.natAdd
and Fin.addNat
.
Equations
- Fin.castAdd m = Fin.castLE (_ : n ≤ n + m)
Std.Data.Fin.Basic
castAdd m i
embeds i : Fin n
in Fin (n+m)
. See also Fin.natAdd
and Fin.addNat
.