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