Zulip Chat Archive
Stream: mathlib4
Topic: bug in `borelize`
Yury G. Kudryashov (Jun 18 2023 at 22:39):
The following examples fail:
import Mathlib.MeasureTheory.Constructions.BorelSpace.Basic
example : True := by
obtain ⟨α, ⟨hα⟩⟩ : ∃ α : Type, Nonempty (TopologicalSpace α) := ⟨ℕ, ⟨inferInstance⟩⟩
borelize α
example : True := by
set α := ℕ
borelize α
Yury G. Kudryashov (Jun 18 2023 at 22:40):
The set
version appears in !4#4929
Kyle Miller (Jun 18 2023 at 23:45):
It looks like it's because of a missing withMainContext
. I'll create a PR
Kyle Miller (Jun 18 2023 at 23:52):
Kyle Miller (Jun 19 2023 at 01:26):
If anyone wants to take a look at a little bit of meta code, mathlib4#5237 has passed CI and it adds tests.
Last updated: Dec 20 2023 at 11:08 UTC