{
  "id": "2910",
  "ident": "NS.02910",
  "slug": "erdos-70",
  "title": "Erdős Problem 70",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "**Erdős Problem 70**: Let $\\mathfrak{c}$ be the order type of the real numbers,\nlet $\\beta$ be a countable ordinal, and let $2 \\le n < \\omega$.\nIs it true that $\\mathfrak{c} \\to (\\beta, n)^3_2$?\n\nNote: The cases $n \\le 3$ are trivially true (compare `omega_three`), so the\ngenuine content of the conjecture begins at $n = 4$.",
  "subjects": [
    "math.LO",
    "msc:03"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos70.erdos_70",
  "statement_lean": "theorem erdos_70 :\n    ∀ᵉ (β : Ordinal.{0}) (n : ℕ) (_ : β.card ≤ ℵ₀) (_ : 2 ≤ n),\n      RealCardinalRamsey3 β n",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 70\n\n*References:*\n- [erdosproblems.com/70](https://www.erdosproblems.com/70)\n- [ErRa56] Erdős, P. and Rado, R., *A partition calculus in set theory*,\n  Bull. Amer. Math. Soc. **62** (1956), 427–489, Theorem 31.\n- [Er87] Erdős, P., *Some problems on finite and infinite graphs*,\n  Logic and combinatorics (Arcata, Calif., 1985), Contemp. Math. **65** (1987), 223–228.\n\nThe 3-uniform (triple) partition relation $\\mathfrak{c} \\to (\\beta, n)^3_2$, where\n$\\mathfrak{c}$ denotes the order type of the real numbers with their usual order (written\n$\\lambda$ in [ErRa56]). This is the triple analogue of `OrdinalCardinalRamsey` used in\nProblems 590–592; the file also contains the analogous relation for an ordinal in place\nof the real line.\n-/\n\n@[expose] public section\n\nopen Cardinal Ordinal\nopen scoped Cardinal\n\nnamespace Erdos70\n\nuniverse u\n\n/- ### The 3-uniform partition relation -/\n\n/--\n`OrdinalCardinalRamsey3 α β c` asserts the 3-uniform ordinal Ramsey property\n$\\alpha \\to (\\beta, c)^3_2$.\n\nIt states that for any 2-coloring of all 3-element subsets of (the ordinal type) $\\alpha$,\none of the following must hold:\n* There is a red-monochromatic subset of order type $\\beta$: every 3-element sub-subset is\n  colored red. (Formally: a set $s \\subseteq \\alpha$ with $\\operatorname{typeLT} s = \\beta$\n  such that any three distinct elements of $s$ are colored red.)\n* There is a blue-monochromatic subset of cardinality $c$: a set $s \\subseteq \\alpha$ with\n  $\\#s = c$ such that every three distinct elements of $s$ are colored blue.\n\nThe coloring is given as a predicate `isRed : α.ToType → α.ToType → α.ToType → Prop` on\nordered triples of distinct elements; to faithfully encode a coloring of *unordered*\n3-element subsets we additionally require `isRed` to be invariant under permutation of\nits three (distinct) arguments.\n-/\ndef OrdinalCardinalRamsey3 (α β : Ordinal.{u}) (c : Cardinal.{u}) : Prop :=\n  -- For any partition of 3-element subsets into red and blue:\n  ∀ (isRed : α.ToType → α.ToType → α.ToType → Prop),\n    -- The colouring is well-defined on *unordered* triples of distinct elements:\n    (∀ x y z, x ≠ y → y ≠ z → x ≠ z →\n      (isRed x y z ↔ isRed y x z) ∧ (isRed x y z ↔ isRed x z y)) →\n    -- either there is a red-monochromatic subset of order type β\n    (∃ s : Set α.ToType, typeLT s = β ∧ s.Triplewise isRed) ∨\n    -- or there is a blue-monochromatic subset of cardinality c\n    (∃ s : Set α.ToType, #s = c ∧ s.Triplewise (fun x y z ↦ ¬ isRed x y z))\n\n/--\n`RealCardinalRamsey3 β c` asserts the 3-uniform partition relation\n$\\mathfrak{c} \\to (\\beta, c)^3_2$, where $\\mathfrak{c}$ is the order type of the real\nnumbers with their usual order.\n\nIt states that for any 2-coloring of all 3-element subsets of $\\mathbb{R}$,\none of the following must hold:\n* There is a red-monochromatic subset of order type $\\beta$: the range of an order embedding\n  `β.ToType ↪o ℝ` such that any three distinct elements of the range are colored red.\n* There is a blue-monochromatic subset of cardinality $c$: a set $s \\subseteq \\mathbb{R}$ with\n  $\\#s = c$ such that every three distinct elements of $s$ are colored blue.\n\nThe coloring is encoded as in `OrdinalCardinalRamsey3`: a predicate on ordered triples of\ndistinct reals that is invariant under permutation of its three arguments.\n-/\ndef RealCardinalRamsey3 (β : Ordinal.{0}) (c : Cardinal.{0}) : Prop :=\n  -- For any partition of 3-element subsets of `ℝ` into red and blue:\n  ∀ (isRed : ℝ → ℝ → ℝ → Prop),\n    -- The colouring is well-defined on *unordered* triples of distinct elements:\n    (∀ x y z, x ≠ y → y ≠ z → x ≠ z →\n      (isRed x y z ↔ isRed y x z) ∧ (isRed x y z ↔ isRed x z y)) →\n    -- either there is a red-monochromatic subset of order type β\n    (∃ e : β.ToType ↪o ℝ, (Set.range e).Triplewise isRed) ∨\n    -- or there is a blue-monochromatic subset of cardinality c\n    (∃ s : Set ℝ, #s = c ∧ s.Triplewise (fun x y z ↦ ¬ isRed x y z))\n\n/- ### The main open problem -/\n\n/--\n**Erdős Problem 70**: Let $\\mathfrak{c}$ be the order type of the real numbers,\nlet $\\beta$ be a countable ordinal, and let $2 \\le n < \\omega$.\nIs it true that $\\mathfrak{c} \\to (\\beta, n)^3_2$?\n\nNote: The cases $n \\le 3$ are trivially true (compare `omega_three`), so the\ngenuine content of the conjecture begins at $n = 4$.\n-/\n@[category research open, question, AMS 3]\ntheorem erdos_70 :\n    ∀ᵉ (β : Ordinal.{0}) (n : ℕ) (_ : β.card ≤ ℵ₀) (_ : 2 ≤ n),\n      RealCardinalRamsey3 β n := by\n  sorry\n\n/- ### Variants -/\n\nnamespace erdos_70.variants\n\n/--\n**Erdős–Rado partial result**: $\\mathfrak{c} \\to (\\omega + n, 4)^3_2$ for any\n$2 \\le n < \\omega$, where $\\mathfrak{c}$ is the order type of the real numbers.\nPositive partial answer to Problem 70 with $\\beta = \\omega + n$ and the blue side\nfixed at $4$ [ErRa56, Theorem 31].\n-/\n@[category research solved, AMS 3]\ntheorem erdos_rado (n : ℕ) (hn : 2 ≤ n) :\n    RealCardinalRamsey3 (ω + n) 4 := by\n  sorry\n\n/--\n**First open case beyond Erdős–Rado**: $\\mathfrak{c} \\to (\\omega \\cdot 2, 4)^3_2$,\nwhere $\\mathfrak{c}$ is the order type of the real numbers.\n\nErdős and Rado proved $\\mathfrak{c} \\to (\\omega + n, 4)^3_2$ for every finite $n \\ge 2$\n(see `erdos_rado`), which covers all red ordinals below $\\omega \\cdot 2 = \\omega + \\omega$.\nThis variant asks whether the result extends to $\\beta = \\omega \\cdot 2$, the simplest\ncountable ordinal not covered by their theorem.\n-/\n@[category research open, question, AMS 3]\ntheorem omega_times_two_four :\n    RealCardinalRamsey3 (ω * 2) 4 := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\n**Trivial boundary case**: $\\mathfrak{c} \\to (\\omega, 3)^3_2$, stated for the initial\nordinal $\\mathfrak{c}.\\mathrm{ord}$ of the cardinality of the continuum.\n\nThis is trivially true because in a 3-uniform hypergraph, a \\\"blue clique of size 3\\\"\nconsists of a single 3-element subset ($\\binom{3}{3} = 1$), so the blue alternative\nmerely asks for one blue triple to exist. The proof splits into two cases:\n- If any blue triple exists, it is itself a blue-monochromatic set of cardinality 3.\n- If no blue triple exists, all triples are red, and since $\\omega \\le \\mathfrak{c}$,\n  any subset of order type $\\omega$ is red-monochromatic.\n\nThe problem becomes non-trivial only for $n \\ge 4$; see `omega_times_two_four` for\nthe simplest genuinely open case.\n-/\n@[category research solved, question, AMS 3, formal_proof using formal_conjectures at\n\"https://github.com/mo271/formal-conjectures/blob/c024db0fa3ac32c6dddcd6c28d7b0cd994dad580/FormalConjectures/ErdosProblems/70.lean#L126\"]\ntheorem omega_three :\n    OrdinalCardinalRamsey3 (𝔠).ord ω 3 := by\n  sorry\n\n/--\n**The relation at $\\omega_1$**: $\\mathfrak{c} \\to (\\omega_1, n)^3_2$ for finite $n \\ge 2$,\nwhere $\\omega_1 = \\aleph_1$ is the first uncountable ordinal.\n\nNote that $\\omega_1$ is *not* a countable ordinal, so this is not directly an instance of the\nmain Erdős problem (which asks for *countable* $\\beta$). Under CH, $\\omega_1 = \\mathfrak{c}.\\mathrm{ord}$,\nmaking this a self-referential question about $\\mathfrak{c}.\\mathrm{ord} \\to\n(\\mathfrak{c}.\\mathrm{ord}, n)^3_2$.\n-/\n@[category research open, question, AMS 3]\ntheorem omega_one :\n    ∀ᵉ (n : ℕ) (_ : 2 ≤ n),\n      OrdinalCardinalRamsey3 (𝔠).ord (Cardinal.aleph 1).ord n := by\n  sorry\n\n/--\n**Monotonicity of `OrdinalCardinalRamsey3`**:\nIf `OrdinalCardinalRamsey3 α β c` holds and $\\beta' \\le \\beta$, $c' \\le c$, then\n`OrdinalCardinalRamsey3 α β' c'` also holds.\n\nThis allows us to deduce weaker partition results from stronger ones.\n-/\n@[category test, AMS 3]\ntheorem ordinalCardinalRamsey3_mono {α β β' : Ordinal.{u}} {c c' : Cardinal.{u}}\n    (h : OrdinalCardinalRamsey3 α β c) (hβ : β' ≤ β) (hc : c' ≤ c) :\n    OrdinalCardinalRamsey3 α β' c' := by\n  intro isRed hSym\n  obtain (⟨s, hs_type, hs_clique⟩ | ⟨s, hs_card, hs_clique⟩) := h isRed hSym\n  · -- Red case: s has type β; find a sub-set of type β' ≤ β\n    rw [← Ordinal.type_toType β'] at hβ\n    obtain ⟨g⟩ := Ordinal.type_le_iff'.mp (hs_type ▸ hβ)\n    let t : Set α.ToType := Set.range (Subtype.val ∘ g)\n    refine Or.inl ⟨t, ?_, hs_clique.mono (by rintro x ⟨a, rfl⟩; exact (g a).2)⟩\n    -- Show typeLT t = β'\n    let emb : (· < · : β'.ToType → β'.ToType → Prop) ↪r (· < · : ↑t → ↑t → Prop) :=\n      { toFun := fun a => ⟨(g a).val, a, rfl⟩\n        inj' := fun a b heq => g.injective (Subtype.ext (congr_arg (fun x : ↑t => x.val) heq))\n        map_rel_iff' := g.map_rel_iff }\n    have hsurj : Function.Surjective emb := fun ⟨_, hy⟩ => ⟨hy.choose, Subtype.ext hy.choose_spec⟩\n    exact (Ordinal.type_eq.mpr ⟨RelIso.ofSurjective emb hsurj |>.symm⟩).trans\n      (Ordinal.type_toType β')\n  · -- Blue case: s has cardinality c; find a sub-set of cardinality c' ≤ c\n    obtain ⟨t, ht_sub, ht_card⟩ := (Cardinal.le_mk_iff_exists_subset).mp (hs_card ▸ hc)\n    exact Or.inr ⟨t, ht_card, hs_clique.mono ht_sub⟩\n\nend erdos_70.variants\n\nend Erdos70\n",
  "statement_hash": "3df02e2b9528024c949c65733039fde92dd6555ed46121cd6f582a1be8cde5f4",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}