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

13 lines
288 B
Text

namespace test
inductive lift.{l₁ l₂} (A : Type.{l₁}) : Type.{(max 1 l₁ l₂)}
| inj : A → lift
set_option pp.universes true
variables (A : Type.{3}) (B : Type.{1})
check A = lift.{1 3} B
universe u
variables (C : Type.{u+2}) (D : Type.{u})
check C = lift.{u u+2} D
end test