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

21 lines
314 B
Text

inductive one1.{l} : Type.{max 1 l}
| unit : one1
set_option pp.universes true
check one1
inductive one2.{l} : Type.{max 1 l}
| unit : one2
check one2
section foo
universe l2
parameter A : Type.{l2}
inductive wrapper.{l} : Type.{max 1 l l2}
| mk : A → wrapper
check wrapper
end foo
check wrapper