Skip to content

Commit 408533f

Browse files
committed
feat(Order): add a cardinal-complete ultrafilter Ramsey theorem
1 parent 0916343 commit 408533f

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
@@ -6,6 +6,7 @@ Authors: Yongxi Lin
66
module
77

88
public import Mathlib.MeasureTheory.Function.StronglyMeasurable.AEStronglyMeasurable
9+
public import Mathlib.Order.Filter.CardinalInter
910
public import Mathlib.Topology.DiscreteFamily
1011

1112
import Mathlib.Data.Set.Card
@@ -14,7 +15,6 @@ import Mathlib.Analysis.Real.Cardinality
1415
import Mathlib.MeasureTheory.Integral.Lebesgue.Add
1516
import Mathlib.MeasureTheory.Measure.Regular
1617
import Mathlib.MeasureTheory.Measure.Real
17-
import Mathlib.Order.Filter.CardinalInter
1818
import Mathlib.Order.Filter.Ultrafilter.Basic
1919
import Mathlib.SetTheory.Cardinal.Arithmetic
2020
import 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

Comments
 (0)