Skip to content

Commit ef182aa

Browse files
committed
feat(Order): add a cardinal-complete ultrafilter Ramsey theorem
1 parent 6228795 commit ef182aa

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎Mathlib/MeasureTheory/Function/StronglyMeasurable/InnerRegular.lean‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module
77

88
public import Mathlib.MeasureTheory.Function.StronglyMeasurable.AEStronglyMeasurable
99
public import Mathlib.MeasureTheory.Measure.Regular
10+
public import Mathlib.Order.Filter.CardinalInter
1011
public import Mathlib.Topology.DiscreteFamily
1112

1213
import Mathlib.Data.Set.Card
@@ -15,7 +16,6 @@ import Mathlib.Analysis.Real.Cardinality
1516
import Mathlib.MeasureTheory.Function.LusinContinuous
1617
import Mathlib.MeasureTheory.Integral.Lebesgue.Add
1718
import Mathlib.MeasureTheory.Measure.Real
18-
import Mathlib.Order.Filter.CardinalInter
1919
import Mathlib.Order.Filter.Ultrafilter.Basic
2020
import Mathlib.SetTheory.Cardinal.Arithmetic
2121
import 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

Comments
 (0)