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*
12 lines
356 B
Text
12 lines
356 B
Text
ctx.lean:3:0: error: don't know how to synthesize placeholder
|
||
state:
|
||
A B : Type u,
|
||
a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 : ℕ,
|
||
b1 b2 b3 : bool,
|
||
h : A = B,
|
||
p1 : A × B,
|
||
p2 : A × B
|
||
⊢ ℕ
|
||
ctx.lean:3:0: error: failed to add declaration 'foo' to environment, value has metavariables
|
||
remark: set 'formatter.hide_full_terms' to false to see the complete term
|
||
?M_1
|