lean4-htt/tests/lean/run/def3.lean
2020-09-24 17:32:47 -07:00

10 lines
101 B
Text

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