lean4-htt/old_tests/tests/lean/run/def2.lean
2018-04-10 12:56:55 -07: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