lean4-htt/tests/lean/run/eq25.lean
2016-09-20 08:32:37 -07:00

11 lines
143 B
Text

inductive N
| O : N
| S : N → N
definition Nat := N
open N
definition add1 : Nat → Nat → Nat
| O b := b
| (S a) b := S (add1 a b)