lean4-htt/tests/lean/run/def3.lean
2020-10-25 09:16:38 -07:00

10 lines
89 B
Text

abbrev N := Nat
def f : N → Nat
| 0 => 1
| n+1 => n
theorem ex1 : f 0 = 1 :=
rfl