Zulip Chat Archive

Stream: general

Topic: OrderTop (Opens X) won't synthesize


Brian Nugent (Feb 22 2026 at 00:06):

Here is a #mwe

import Mathlib

open TopologicalSpace

variable (X : Type) [TopologicalSpace X]

#synth OrderTop (Opens X)

When I run it on https://live.lean-lang.org/ using Latest Mathlib I get a "can't synthesize" error but when I run it on stable Mathlib it work's fine.

Brian Nugent (Feb 22 2026 at 00:10):

On stable mathlib it synthesizes using
Opens.instCompleteLattice.toOrderTop so I'm not sure if its toOrderTop or Opens.instCompleteLattice that's failing.

Weiyi Wang (Feb 22 2026 at 00:10):

The latest Mathlib (4.29.0-rc1) is slightly "broken" (See #announce > releases of new Lean versions @ 💬 )
You can add set_option backward.isDefEq.respectTransparency false on the top to fix this

Brian Nugent (Feb 22 2026 at 00:10):

Ok, thank you!

Eric Wieser (Feb 22 2026 at 00:10):

Weiyi Wang said:

The latest Mathlib (4.29.0-rc1) is slightly "broken" (See #announce > releases of new Lean versions @ 💬 )
You can add set_option backward.isDefEq.respectTransparency false on the top to fix this

I suspect it is not mathlib that is broken here, but (the release candidate of) Lean


Last updated: Feb 28 2026 at 14:05 UTC