lean4-htt/tests/lean/run/def_alias.lean
2016-09-04 17:18:50 -07:00

11 lines
152 B
Text

set_option new_elaborator true
attribute [reducible]
definition N := nat
definition f : N → nat
| 0 := 1
| (n+1) := n
example : f 0 = 1 :=
rfl