Skip to content

Commit 2b374df

Browse files
committed
chore: fix and re-enable differential geometry elaborators test (leanprover-community#34562)
`set_option pp.mvars false` normalises the universe levels, making the output sufficiently deterministic. Follow-up to leanprover-community#30744.
1 parent dd5024f commit 2b374df

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

MathlibTest/DifferentialGeometry/NotationAdvanced.lean

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -367,22 +367,21 @@ Hint: failures to find a model with corners can be debugged with the command `se
367367
-- TODO: the error message could be more helpful.
368368
variable {E'''' : Type*} [NormedAddCommGroup E''''] [NormedSpace ℝ E''''] (σ : ℝ →+* ℝ) [RingHomIsometric σ]
369369

370-
-- FIXME: the error message is non-deterministic because of different universe levels,
371-
-- normalise this somehow and re-enable this test!
372370
variable {f : M → E'' →SL[σ] E''''} in
373-
/-
371+
/--
374372
error: Application type mismatch: The argument
375373
𝓘(ℝ, E'' →SL[σ] E'''')
376374
has type
377375
ModelWithCorners.{0, max u_11 u_13, max u_11 u_13} ℝ (E'' →SL[σ] E'''') (E'' →SL[σ] E'''')
378376
but is expected to have type
379-
ModelWithCorners.{u_1, ?u.235761, ?u.235762} 𝕜 ?E' ?H'
377+
ModelWithCorners.{u_1, _, _} 𝕜 ?E' ?H'
380378
in the application
381379
@ContMDiff 𝕜 inst✝³⁰ E inst✝²⁹ inst✝²⁸ H inst✝²⁷ I ?M ?inst✝ ?inst✝¹ ?E' ?inst✝² ?inst✝³ ?H' ?inst✝⁴
382380
𝓘(ℝ, E'' →SL[σ] E'''')
383381
-/
384-
--#guard_msgs in
385-
--#check CMDiff 2 f
382+
#guard_msgs in
383+
set_option pp.mvars.anonymous false in
384+
#check CMDiff 2 f
386385

387386
end
388387

0 commit comments

Comments
 (0)