lean4-htt/tests/lean/run/def2.lean
2017-03-09 18:41:19 -08:00

5 lines
93 B
Text

definition plus (a b : nat) : nat :=
nat.rec_on a b (λ a' ih, nat.succ ih)
#eval plus 3 5