lean4-htt/tests/lean/run/univ_cnstr1.lean
Leonardo de Moura 3b38f71f11 fix(library,tests/lean): fix run/interactive tests, and problems in the standard library due to the new interpretation for Type
We had to change subtype to use Sort since the axiom
strong_indefinite_description uses it.

see #1341
2017-01-30 11:54:00 -08:00

13 lines
396 B
Text

constant {u₁ u₂ v} M : (Type (max u₁ u₂) → Type v) → Type
attribute [class] M
constant {u} L : Type u → Type u
constant {u₁ u₂} I : M.{u₁ u₂ (max u₁ u₂)} L.{max u₁ u₂}
attribute [instance] I
constant {u₁ u₂ v} R : ∀ {m : Type (max u₁ u₂) → Type v} [M m] {A : Type u₁} (a : A), m (ulift.{u₂} A)
noncomputable example : L (ulift.{3} unit) :=
R ()