lean4-htt/tests/lean/run/eq25.lean
Daniel Selsam a9b01991c2 feat(frontends/lean/inductive_cmd): new frontend for the inductive cmd
Conflicts:
	src/frontends/lean/CMakeLists.txt
	src/frontends/lean/structure_cmd.h
2016-08-17 07:34:03 -07:00

11 lines
153 B
Text

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