77
88public import Mathlib.MeasureTheory.Function.StronglyMeasurable.AEStronglyMeasurable
99public import Mathlib.MeasureTheory.Measure.Regular
10+ public import Mathlib.Order.Filter.CardinalInter
1011public import Mathlib.Topology.DiscreteFamily
1112
1213import Mathlib.Data.Set.Card
@@ -15,7 +16,6 @@ import Mathlib.Analysis.Real.Cardinality
1516import Mathlib.MeasureTheory.Function.LusinContinuous
1617import Mathlib.MeasureTheory.Integral.Lebesgue.Add
1718import Mathlib.MeasureTheory.Measure.Real
18- import Mathlib.Order.Filter.CardinalInter
1919import Mathlib.Order.Filter.Ultrafilter.Basic
2020import Mathlib.SetTheory.Cardinal.Arithmetic
2121import Mathlib.SetTheory.Ordinal.Basic
@@ -412,7 +412,9 @@ private theorem largeColor_image_eq_empty_aux {O R C : Type*} [LinearOrder O]
412412 _ = largeColor (m - G.card) (G.image selected) := by rw [hsub_succ]
413413 _ = largeColor m ∅ := ih (by omega)
414414
415- private theorem ultrafilter_exists_cardinal_homogeneous_set {R C : Type u} {κ : Cardinal.{u}}
415+ /-- A cardinal-complete free ultrafilter admits a set that is simultaneously homogeneous for a
416+ coloring of finite subsets at every finite cardinality. -/
417+ theorem _root_.Ultrafilter.exists_cardinal_homogeneous_set {R C : Type u} {κ : Cardinal.{u}}
416418 (U : Ultrafilter R) (hfree : (U : Filter R) ≤ cofinite)
417419 [CardinalInterFilter (U : Filter R) κ] (hκ : ℵ₀ < κ) (hC : Cardinal.mk C < κ)
418420 (color : Finset R → C) :
@@ -1061,8 +1063,7 @@ private theorem exists_large_compact_fip_aux [IsFiniteMeasure μ] {R : Type u}
10611063 have hBool : Cardinal.mk (ULift.{u} Bool) < Cardinal.mk R :=
10621064 (by simp : Cardinal.mk (ULift.{u} Bool) < ℵ₀).trans hR
10631065 obtain ⟨Q, hQcard, hhom⟩ :=
1064- ultrafilter_exists_cardinal_homogeneous_set U hfree hR hBool
1065- (compactIntersectionColor K)
1066+ U.exists_cardinal_homogeneous_set hfree hR hBool (compactIntersectionColor K)
10661067 have hQuncount : Uncountable Q := Cardinal.aleph0_lt_mk_iff.1 (by simpa [hQcard] using hR)
10671068 letI : Uncountable Q := hQuncount
10681069 refine ⟨Q, hQcard, fun F ↦ ?_⟩
0 commit comments