lean4-htt/tests/lean/run/945.lean
2022-01-18 14:37:51 -08:00

5 lines
109 B
Text

@[simp] def iota : Nat → List Nat
| 0 => []
| m@(n+1) => m :: iota n
attribute [simp] List.iota