In the standard library, we should use explicit universe variables for universe polymorphic definitions. Users that want to declare universe polymorphic definitions but do not want to provide universe level parameters should use Type _ or Type*
8 lines
196 B
Text
8 lines
196 B
Text
set_option pp.implicit true
|
|
set_option pp.universes true
|
|
section
|
|
parameter {A : Type*}
|
|
definition foo : A → A → Type* := (λ x y, Type*)
|
|
inductive bar {a b : A} (f : foo a b)
|
|
| bar2 : bar
|
|
end
|