Commit 2026-10-30 20:28 a36db84c
View on Github →refactor(MeasureTheory/Constructions/BorelSpace/Order): regroup sections and weaken hypotheses (#45475)
Regroup the sections of BorelSpace/Order.lean so that repeated instance binders become section variables, and weaken BorelSpace to OpensMeasurableSpace where the proofs allow it:
- the
lt/lelemmas andMeasurable.max/minnow share a section with[SecondCountableTopology α] [OrderClosedTopology α]instead of repeating these binders; MeasurableSet.of_mem_nhdsGT_auxandMeasurableSet.of_mem_nhdsGTmove next to them under[OrderTopology α], and only assume[OpensMeasurableSpace α](their proofs only use measurability of open sets, singletons and countable sets);Monotone.measurable,Antitone.measurable,aemeasurable_restrict_of_monotoneOnandaemeasurable_restrict_of_antitoneOnonly assume[OpensMeasurableSpace β]on the domain, matchingContinuous.measurable. The section-wide[BorelSpace β]they inherited is kept only formeasurable_iSup_of_lowerSemicontinuous/iInf_of_upperSemicontinuous, whereβis the codomain. No proofs change except the twoAntitonelemmas, whose positional@applications are rewritten with named arguments. Preparation for #42164.