@[simp]
@[irreducible]
List form of Nat.natToVec: the same decoding, with the length out of the type.
Equations
- Nat.natToList 0 = []
- e.succ.natToList = (Nat.unpair e).1 :: (Nat.unpair e).2.natToList
List form of Nat.natToVec: the same decoding, with the length out of the type.