lean4-htt/old_tests/tests/lean/run/const_choice.lean
2018-04-10 12:56:55 -07:00

9 lines
116 B
Text

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