lean4-htt/tests/lean/run/const_choice.lean
2016-09-19 11:04:14 -07:00

10 lines
147 B
Text

set_option new_elaborator true
open nat
definition mypred (a : nat) : nat :=
nat.cases_on a
0
(fun a₁, a₁)
example : mypred 1 = 0 :=
rfl