lean4-htt/tests/lean/run/945.lean
2025-08-05 02:29:15 +00:00

5 lines
112 B
Text

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