lean4-htt/tests/lean/run/const_choice.lean
2016-09-20 08:32:37 -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