We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbdbff6 commit c3efbdeCopy full SHA for c3efbde
Mathlib/Util/DelabNonCanonical.lean
@@ -28,7 +28,7 @@ def delabCheckingCanonical : DelabM (Bool × Term) := do
28
-- if there is no synthesized instance, still return `false`
29
-- (because `inst` is still non-canonical)
30
let .some synthInst ← Meta.trySynthInstance type | return (false, instD)
31
- return (← Meta.isDefEq inst synthInst, instD)
+ withReducibleAndInstances <| return (← Meta.isDefEq inst synthInst, instD)
32
33
/-- Delaborate an expression with arity `arity` into a unary notation `mkStx` iff the argument
34
`arg` is a non-canonical instance (is not defeq to what is synthesized for its type, or else
0 commit comments