lean4-htt/tests/lean/run/def2.lean

6 lines
126 B
Text

set_option new_elaborator true
definition plus (a b : nat) : nat :=
nat.rec_on a b (λ a' ih, nat.succ ih)
vm_eval plus 3 5