{
  "id": "844",
  "ident": "NS.00844",
  "slug": "erdos-1167",
  "title": "Erdős Problem 1167",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "**Erdős Problem 1167.** Let $r \\geq 2$ be finite, $\\gamma \\geq 2$, and $\\lambda$ be an infinite\ncardinal. Let $\\kappa_\\alpha > r$ be cardinals for all $\\alpha < \\gamma$. Is it true\nthat\n$$2^\\lambda \\to (\\kappa_\\alpha + 1)_{\\alpha < \\gamma}^{r+1}$$\nimplies\n$$\\lambda \\to (\\kappa_\\alpha)_{\\alpha < \\gamma}^r?$$\nHere $+$ means cardinal addition, so that $\\kappa_\\alpha + 1 = \\kappa_\\alpha$\nif $\\kappa_\\alpha$ is infinite.\n\nA problem of Erdős, Hajnal, and Rado.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1167.erdos_1167",
  "statement_lean": "theorem erdos_1167 :\n    ∀ (r : ℕ), 2 ≤ r →\n    ∀ (lam : Cardinal.{u}), ℵ₀ ≤ lam →\n    ∀ (γ : Ordinal.{u}), 2 ≤ γ →\n    ∀ (κ : γ.ToType → Cardinal.{u}), (∀ α, (r : Cardinal.{u}) < κ α) →\n      cardinalPartitionRel ((2 : Cardinal.{u}) ^ lam) (r + 1) γ (fun α => κ α + 1) →\n      cardinalPartitionRel lam r γ κ",
  "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 1167\n\n*References:*\n- [erdosproblems.com/1167](https://www.erdosproblems.com/1167)\n- [EHMR84] P. Erdős, A. Hajnal, A. Máté and R. Rado, *Combinatorial set theory: partition\n  relations for cardinals*. Studies in Logic and the Foundations of Mathematics 106,\n  North-Holland (1984).\n\nThe original Erdős–Hajnal problem list gives the additional conditions $\\gamma \\geq 2$, $r < \\omega$,\nand $\\kappa_\\alpha > r$. Without $\\gamma \\geq 2$, the statement is false: taking $\\gamma = 1$ and\n$\\kappa_0 = \\aleph_1$ with $\\lambda = \\aleph_0$ gives a counterexample, since the partition relation\nwith one color degenerates to a cardinality comparison (see `erdos_1167.unrestricted_is_false`).\nWithout $\\kappa_\\alpha > r$ it is also false: with $r = 2$, $\\lambda = \\aleph_0$ and targets\n$(2, \\aleph_1)$, the premise $2^{\\aleph_0} \\to (3, \\aleph_1)^3$ holds, but a constant colouring\nof the pairs of $\\aleph_0$ has neither a red pair nor a blue set of size $\\aleph_1$.\n-/\n\n@[expose] public section\n\nopen Cardinal Ordinal Combinatorics\n\nnamespace Erdos1167\n\nuniverse u\n\n/--\n**Erdős Problem 1167.** Let $r \\geq 2$ be finite, $\\gamma \\geq 2$, and $\\lambda$ be an infinite\ncardinal. Let $\\kappa_\\alpha > r$ be cardinals for all $\\alpha < \\gamma$. Is it true\nthat\n$$2^\\lambda \\to (\\kappa_\\alpha + 1)_{\\alpha < \\gamma}^{r+1}$$\nimplies\n$$\\lambda \\to (\\kappa_\\alpha)_{\\alpha < \\gamma}^r?$$\nHere $+$ means cardinal addition, so that $\\kappa_\\alpha + 1 = \\kappa_\\alpha$\nif $\\kappa_\\alpha$ is infinite.\n\nA problem of Erdős, Hajnal, and Rado.\n-/\n@[category research open, question, AMS 5]\ntheorem erdos_1167 :\n    ∀ (r : ℕ), 2 ≤ r →\n    ∀ (lam : Cardinal.{u}), ℵ₀ ≤ lam →\n    ∀ (γ : Ordinal.{u}), 2 ≤ γ →\n    ∀ (κ : γ.ToType → Cardinal.{u}), (∀ α, (r : Cardinal.{u}) < κ α) →\n      cardinalPartitionRel ((2 : Cardinal.{u}) ^ lam) (r + 1) γ (fun α => κ α + 1) →\n      cardinalPartitionRel lam r γ κ := by\n  sorry\n\nnamespace erdos_1167.variants\n\nset_option linter.style.formal_proof_palomar false in\n/--\n**Finite-target case.** When all $\\kappa_\\alpha$ are finite, $\\kappa_\\alpha + 1$\nis the ordinary natural-number successor. Special case of `erdos_1167`.\n\nThis case was proved by Erdős, Hajnal, Máté and Rado [EHMR84], using the Erdős–Rado tree\nargument and the negative stepping-up lemma. The statement omits the condition $n_\\alpha > r$.\nThis is harmless, since a colouring that witnesses\n$\\lambda \\not\\to (n_\\alpha)^r_{\\alpha < \\gamma}$ can only use colours $\\alpha$ with $n_\\alpha > r$.\n-/\n@[category research solved, AMS 5, formal_proof using lean4 at\n  \"https://github.com/mnn31/erdos-lean/blob/5cb725981b3ad137103ef908eb6ecff9e7ed9bdf/ErdosLean/Erdos1167.lean#L990\"]\ntheorem finite_targets (r : ℕ) (hr : 2 ≤ r) (lam : Cardinal.{u}) (hlam : ℵ₀ ≤ lam)\n    (γ : Ordinal.{u}) (hγ : 2 ≤ γ) (n : γ.ToType → ℕ) :\n    cardinalPartitionRel ((2 : Cardinal.{u}) ^ lam) (r + 1) γ\n        (fun α => (n α : Cardinal.{u}) + 1) →\n    cardinalPartitionRel lam r γ (fun α => (n α : Cardinal.{u})) := by\n  sorry\n\n/--\n**Binary-color case.** The $\\gamma = 2$ specialization (two color classes).\n-/\n@[category research open, AMS 5]\ntheorem binary_colors (r : ℕ) (hr : 2 ≤ r) (lam : Cardinal.{u}) (hlam : ℵ₀ ≤ lam)\n    (κ : (2 : Ordinal.{u}).ToType → Cardinal.{u}) (hκ : ∀ α, (r : Cardinal.{u}) < κ α) :\n    cardinalPartitionRel ((2 : Cardinal.{u}) ^ lam) (r + 1) 2 (fun α => κ α + 1) →\n    cardinalPartitionRel lam r 2 κ := by\n  sorry\n\n/--\n**Infinite-target case.** When all $\\kappa_\\alpha \\geq \\aleph_0$ are infinite and bounded by\n$\\lambda$, $\\kappa_\\alpha + 1 = \\kappa_\\alpha$, so the hypothesis simplifies to a \"pure\"\nstepping-down lemma:\n$$2^\\lambda \\to (\\kappa_\\alpha)_{\\alpha<\\gamma}^{r+1} \\implies\n   \\lambda \\to (\\kappa_\\alpha)_{\\alpha<\\gamma}^r.$$\nThe condition $\\kappa_\\alpha \\leq \\lambda$ is needed to avoid a size obstruction: without it, the\nconclusion would require a subset of $\\lambda$ of size $\\kappa_\\alpha > \\lambda$, which is impossible\n(see `infinite_targets_needs_bound`).\n-/\n@[category research open, AMS 5]\ntheorem infinite_targets (r : ℕ) (hr : 2 ≤ r) (lam : Cardinal.{u}) (hlam : ℵ₀ ≤ lam)\n    (γ : Ordinal.{u}) (hγ : 2 ≤ γ) (κ : γ.ToType → Cardinal.{u}) (hκ : ∀ i, ℵ₀ ≤ κ i)\n    (hκ_le : ∀ i, κ i ≤ lam) :\n    cardinalPartitionRel ((2 : Cardinal.{u}) ^ lam) (r + 1) γ κ →\n    cardinalPartitionRel lam r γ κ := by\n  sorry\n\n/--\n**$r = 2$ case.** The stepping-down from 3-uniform to 2-uniform partition\nrelations: $2^\\lambda \\to (\\kappa_\\alpha + 1)_{\\alpha<\\gamma}^3$ implies\n$\\lambda \\to (\\kappa_\\alpha)_{\\alpha<\\gamma}^2$. Generalises the classical\nErdős–Rado stepping-up/down theorem for pairs.\n-/\n@[category research open, AMS 5]\ntheorem r_eq_two (lam : Cardinal.{u}) (hlam : ℵ₀ ≤ lam)\n    (γ : Ordinal.{u}) (hγ : 2 ≤ γ) (κ : γ.ToType → Cardinal.{u})\n    (hκ : ∀ α, (2 : Cardinal.{u}) < κ α) :\n    cardinalPartitionRel ((2 : Cardinal.{u}) ^ lam) 3 γ (fun α => κ α + 1) →\n    cardinalPartitionRel lam 2 γ κ := by\n  sorry\n\nend erdos_1167.variants\n\n/- ## Counterexample for the unrestricted statement\n\nThe partition relation $\\mu \\to (\\nu)^r_1$ with a single color ($\\gamma = 1$) degenerates to the\ncardinality comparison $\\nu \\leq \\mu$. Using this, we show the unrestricted version of Erdős\nProblem 1167 (without $\\gamma \\geq 2$) is false.\n-/\n\n/-- A canonical element of the type `(1 : Ordinal).ToType`. -/\nnoncomputable def i0 : (1 : Ordinal.{u}).ToType := default\n\n/--\nThe partition relation $\\mu \\to (\\nu)^r_1$ with a single color is equivalent to $\\nu \\le \\mu$.\n-/\n@[category API, AMS 5]\nlemma cardinalPartitionRel_one (μ : Cardinal.{u}) (r : ℕ)\n    (ν : (1 : Ordinal.{u}).ToType → Cardinal.{u}) :\n    cardinalPartitionRel μ r 1 ν ↔ μ ≥ ν i0 := by\n  dsimp [cardinalPartitionRel]\n  constructor\n  · intro h\n    have hA : #(μ.out) = μ := Cardinal.mk_out μ\n    rcases h μ.out hA (fun _ => i0) with ⟨i, H, hH, _⟩\n    have hi : i = i0 := Subsingleton.elim i i0\n    subst hi\n    have hle : #H ≤ #(μ.out) := Cardinal.mk_set_le H\n    rw [hH, hA] at hle\n    exact hle\n  · intro h A hA col\n    have hle : ν i0 ≤ #A := by rwa [hA]\n    rcases Cardinal.le_mk_iff_exists_set.mp hle with ⟨H, hH⟩\n    use i0, H, hH\n    intro s hs hsH\n    exact Subsingleton.elim _ _\n\n/--\nThe unrestricted version of Erdős Problem 1167 (without the condition $\\gamma \\geq 2$ from the\noriginal Erdős–Hajnal list) is false. Taking $\\gamma = 1$, $\\kappa_0 = \\aleph_1$, $\\lambda =\n\\aleph_0$: the premise $2^{\\aleph_0} \\to (\\aleph_1 + 1)^3_1$ holds since $2^{\\aleph_0} \\geq\n\\aleph_1$, but the conclusion $\\aleph_0 \\to (\\aleph_1)^2_1$ fails since $\\aleph_0 < \\aleph_1$.\n-/\n@[category test, AMS 5]\ntheorem erdos_1167.unrestricted_is_false :\n    ¬ (∀ (r : ℕ), 2 ≤ r →\n    ∀ (lam : Cardinal.{u}), ℵ₀ ≤ lam →\n    ∀ (γ : Ordinal.{u}) (κ : γ.ToType → Cardinal.{u}),\n      cardinalPartitionRel ((2 : Cardinal.{u}) ^ lam) (r + 1) γ (fun α => κ α + 1) →\n      cardinalPartitionRel lam r γ κ) := by\n  intro h\n  have h1 := h 2 (le_refl _) ℵ₀ (le_refl _) 1 (fun _ => ℵ₁)\n  have h2 : cardinalPartitionRel ((2 : Cardinal.{u}) ^ ℵ₀) 3 1 (fun _ => ℵ₁ + 1) := by\n    rw [cardinalPartitionRel_one]\n    have h3 : (ℵ₁ : Cardinal.{u}) + 1 = ℵ₁ := add_one_of_aleph0_le (aleph0_le_aleph 1)\n    rw [h3]\n    exact aleph_one_le_continuum\n  have h3 := h1 h2\n  rw [cardinalPartitionRel_one] at h3\n  have h4 : (ℵ₀ : Cardinal.{u}) < ℵ₁ := aleph0_lt_aleph_one\n  exact h4.2 h3\n/--\nThe `infinite_targets` variant without the bound $\\kappa_\\alpha \\leq \\lambda$ is false.\nTaking $\\gamma = 1$, $\\kappa_0 = 2^{\\aleph_0}$, $\\lambda = \\aleph_0$: the premise\n$2^{\\aleph_0} \\to (2^{\\aleph_0})^3_1$ holds since $2^{\\aleph_0} \\leq 2^{\\aleph_0}$, but the\nconclusion $\\aleph_0 \\to (2^{\\aleph_0})^2_1$ fails by Cantor's theorem.\n-/\n@[category test, AMS 5]\ntheorem erdos_1167.variants.infinite_targets_needs_bound :\n    ¬ (∀ (r : ℕ), 2 ≤ r →\n    ∀ (lam : Cardinal.{u}), ℵ₀ ≤ lam →\n    ∀ (γ : Ordinal.{u}) (κ : γ.ToType → Cardinal.{u}), (∀ i, ℵ₀ ≤ κ i) →\n      cardinalPartitionRel ((2 : Cardinal.{u}) ^ lam) (r + 1) γ κ →\n      cardinalPartitionRel lam r γ κ) := by\n  intro h\n  have h1 := h 2 (le_refl _) ℵ₀ (le_refl _) 1 (fun _ => (2 : Cardinal.{u}) ^ ℵ₀)\n    (fun _ => (cantor ℵ₀).le)\n  have h2 : cardinalPartitionRel ((2 : Cardinal.{u}) ^ ℵ₀) 3 1\n      (fun _ => (2 : Cardinal.{u}) ^ ℵ₀) := by\n    rw [cardinalPartitionRel_one]\n  have h3 := h1 h2\n  rw [cardinalPartitionRel_one] at h3\n  exact (cantor ℵ₀).2 h3\n\nend Erdos1167\n",
  "statement_hash": "b88510cc60188431b906b87273f0a78fd316cbbdf38e57e66964287d0de4a113",
  "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."
}