{
  "id": "874",
  "ident": "NS.00874",
  "slug": "erdos-1175",
  "title": "Erdős Problem 1175",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $\\kappa$ be an uncountable cardinal. Must there exist a cardinal $\\lambda$ such that every\ngraph with chromatic number $\\lambda$ contains a triangle-free subgraph with chromatic number\n$\\kappa$?\n\nShelah proved that a negative answer is consistent when\n$\\kappa = \\lambda = \\aleph_1$ (see `erdos_1175.variants.aleph_one`).",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": "https://www.erdosproblems.com/1175",
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1175.erdos_1175",
  "statement_lean": "theorem erdos_1175 :\n    ∀ (κ : Cardinal), ℵ₀ < κ →\n      ∃ (μ : Cardinal),\n        ∀ (V : Type*) (G : SimpleGraph V), G.chromaticCardinal = μ →\n          ∃ (H : G.Subgraph), H.coe.CliqueFree 3 ∧ H.coe.chromaticCardinal = κ",
  "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 1175\n\n*Reference:* [erdosproblems.com/1175](https://www.erdosproblems.com/1175)\n\n- [KoSh88] Komjáth, Péter and Shelah, Saharon, *Forcing constructions for uncountably chromatic\n  graphs*. J. Symbolic Logic (1988), 696--707.\n\n## Formalization notes\n\n- **Chromatic cardinal**: `SimpleGraph.chromaticCardinal` is the cardinal-valued chromatic number\n  defined in `FormalConjecturesForMathlib`. It extends the finite `chromaticNumber` (which takes\n  values in `ℕ∞`) to a `Cardinal`, and is therefore able to distinguish between different infinite\n  chromatic numbers.\n- **Triangle-free subgraph**: a subgraph `H : G.Subgraph` is triangle-free when `H.coe.CliqueFree 3`.\n  This is the standard Mathlib formulation: `CliqueFree 3` means the graph has no `K₃` as a clique.\n- **Subgraph**: we use `G.Subgraph` (an arbitrary subgraph record) rather than an induced subgraph\n  since the problem asks for any subgraph, not just induced ones.\n-/\n\n@[expose] public section\n\nopen Cardinal SimpleGraph\n\nnamespace Erdos1175\n\n/--\nLet $\\kappa$ be an uncountable cardinal. Must there exist a cardinal $\\lambda$ such that every\ngraph with chromatic number $\\lambda$ contains a triangle-free subgraph with chromatic number\n$\\kappa$?\n\nShelah proved that a negative answer is consistent when\n$\\kappa = \\lambda = \\aleph_1$ (see `erdos_1175.variants.aleph_one`).\n-/\n@[category research open, question, AMS 5]\ntheorem erdos_1175 :\n    ∀ (κ : Cardinal), ℵ₀ < κ →\n      ∃ (μ : Cardinal),\n        ∀ (V : Type*) (G : SimpleGraph V), G.chromaticCardinal = μ →\n          ∃ (H : G.Subgraph), H.coe.CliqueFree 3 ∧ H.coe.chromaticCardinal = κ := by\n  sorry\n\n/--\nThe case $\\kappa = \\lambda = \\aleph_1$ of Problem 1175: does every graph with chromatic number\n$\\aleph_1$ contain a triangle-free subgraph with chromatic number $\\aleph_1$?\n\nShelah proved that a negative answer is consistent with ZFC [KoSh88, Theorem 1]: there is a\nmodel of ZFC containing a graph with chromatic number $\\aleph_1$ all of whose triangle-free\nsubgraphs have countable chromatic number. Consistency results about models of ZFC are not\ndirectly formalizable inside Lean's fixed model, so only the underlying question is recorded\nhere. Note that this concerns only the choice $\\lambda = \\aleph_1$; it does not rule out a\nlarger $\\lambda$ in `erdos_1175`.\n-/\n@[category research open, question, AMS 5]\ntheorem erdos_1175.variants.aleph_one :\n    ∀ (V : Type*) (G : SimpleGraph V), G.chromaticCardinal = ℵ_ 1 →\n      ∃ (H : G.Subgraph), H.coe.CliqueFree 3 ∧ H.coe.chromaticCardinal = ℵ_ 1 := by\n  sorry\n\n/--\n**Threshold reformulation variant.** Replaces `chromaticCardinal = λ` in the hypothesis\nof `erdos_1175` with `λ ≤ chromaticCardinal` (a graph of chromatic number ≥ λ has a\ntriangle-free subgraph of chromatic number κ). This is a strengthening of `erdos_1175`\n(see `erdos_1175.test.threshold_implies_exact`).\n-/\n@[category research open, question, AMS 5]\ntheorem erdos_1175.variants.threshold_formulation :\n    ∀ (κ : Cardinal), ℵ₀ < κ →\n      ∃ (μ : Cardinal),\n        ∀ (V : Type*) (G : SimpleGraph V), μ ≤ G.chromaticCardinal →\n          ∃ (H : G.Subgraph), H.coe.CliqueFree 3 ∧ H.coe.chromaticCardinal = κ := by\n  sorry\n\n/- ## Sanity checks -/\n\n/-- Every graph has a triangle-free subgraph: the bottom subgraph (with no edges)\nwitnesses triangle-freeness, so the existential\n`∃ H : G.Subgraph, H.coe.CliqueFree 3` in `erdos_1175` is non-vacuous. -/\n@[category test, AMS 5]\ntheorem erdos_1175.test.exists_triangle_free_subgraph\n    (V : Type*) (G : SimpleGraph V) : ∃ H : G.Subgraph, H.coe.CliqueFree 3 :=\n  ⟨⊥, by simp [SimpleGraph.cliqueFree_bot (by norm_num : 2 ≤ 3)]⟩\n\n/-- The threshold variant `threshold_formulation` is stronger than the exact-equality\nform `erdos_1175`: if every graph with `chromaticCardinal ≥ μ` has the desired\ntriangle-free subgraph, then in particular every graph with `chromaticCardinal = μ`\ndoes too. -/\n@[category test, AMS 5]\ntheorem erdos_1175.test.threshold_implies_exact :\n    (∀ (κ : Cardinal.{0}), ℵ₀ < κ →\n      ∃ (μ : Cardinal.{0}),\n        ∀ (V : Type) (G : SimpleGraph V), μ ≤ G.chromaticCardinal →\n          ∃ (H : G.Subgraph), H.coe.CliqueFree 3 ∧ H.coe.chromaticCardinal = κ) →\n    (∀ (κ : Cardinal.{0}), ℵ₀ < κ →\n      ∃ (μ : Cardinal.{0}),\n        ∀ (V : Type) (G : SimpleGraph V), G.chromaticCardinal = μ →\n          ∃ (H : G.Subgraph), H.coe.CliqueFree 3 ∧ H.coe.chromaticCardinal = κ) := by\n  intro h κ hκ\n  obtain ⟨μ, hμ⟩ := h κ hκ\n  exact ⟨μ, fun V G hG => hμ V G hG.ge⟩\n\nend Erdos1175\n",
  "statement_hash": "d0196846fbe265977e899b6d63796f8263e750f32e2a856bfb172bd23ef582a6",
  "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."
}