lean4-htt/tests/lean/run/one2.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

22 lines
381 B
Text

inductive one1.{l} : Type.{l}
| unit : one1
inductive pone : Type.{0}
| unit : pone
inductive two.{l} : Type.{max 1 l}
| o : two
| u : two
inductive wrap.{l} : Type.{max 1 l}
| mk : true → wrap
inductive wrap2.{l} (A : Type.{l}) : Type.{max 1 l}
| mk : A → wrap2
set_option pp.universes true
check @one1.rec
check @pone.rec
check @two.rec
check @wrap.rec
check @wrap2.rec