{
  "id": "3084",
  "ident": "NS.03084",
  "slug": "erdos-750",
  "title": "Erdős Problem 750",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "**Stiebitz's theorem** [St85]: every graph in $M_r$ has chromatic number at least $r$. The\nmatching upper bound follows from the construction, so the chromatic number is exactly $r$.\n\nSee also [SaSt89] and [MuSt19].\n\nThe linked formal proof (Alexeev and Codex, via signed-biclique chains and a `ℤ_p`-Tucker\nlemma) uses the same `IsRecursivelyBuiltMr`, except that its `genMyc s G` has `MycAdj s G`\ndirectly as adjacency relation instead of `SimpleGraph.fromRel (MycAdj s G)`; the two graphs are\nequal since `MycAdj` is symmetric and irreflexive.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos750.erdos_750.variants.stiebitz",
  "statement_lean": "theorem erdos_750.variants.stiebitz {V : Type u} (G : SimpleGraph V) (r : ℕ)\n    (h : IsRecursivelyBuiltMr r G) : (r : ℕ∞) ≤ G.chromaticNumber",
  "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 750\n\n*References:*\n- [erdosproblems.com/750](https://www.erdosproblems.com/750)\n- [EHS82] Erdős, P. and Hajnal, A. and Szemerédi, E., On almost bipartite large chromatic graphs.\n  Theory and practice of combinatorics (1982), 117-123.\n- [Er69b] Erdős, P., Problems and results in chromatic graph theory. Proof Techniques in Graph\n  Theory (1969), 27-35.\n- [Er94b] Erdős, Paul, _Some problems in number theory, combinatorics and combinatorial geometry_.\n  Math. Pannon. (1994), 261-269.\n- [Er95d] Erdős, Paul, On some problems in combinatorial set theory. Publ. Inst. Math. (Beograd)\n  (N.S.) (1995), 61-65.\n- [ErHa67b] Erdős, P. and Hajnal, András, On chromatic graphs. Mat. Lapok (1967), 1--4.\n- [UlamErdos750](https://www.ulam.ai/research/erdos750.pdf)\n- [St85] Stiebitz, M., _Beiträge zur Theorie der färbungskritischen Graphen_. Habilitation,\n  TH Ilmenau (1985).\n- [SaSt89] Sachs, H. and Stiebitz, M., _On constructive methods in the theory of colour-critical\n  graphs_. Discrete Math. (1989), 287-296.\n- [MuSt19] Müller, T. and Stehlík, M., _Generalised Mycielski graphs and the Borsuk-Ulam theorem_.\n  Electron. J. Combin. (2019), P4.8.\n-/\n\n@[expose] public section\n\nopen Filter Finset NNReal SimpleGraph\n\nuniverse u\n\nnamespace Erdos750\n\n/--\nVertices of the generalised Mycielskian $M_s(G)$: $s$ copies of the vertices of $G$, one per\nlevel, and a single apex.\n-/\nabbrev MycVerts (s : ℕ) (V : Type u) : Type u := (Fin s × V) ⊕ Unit\n\n/--\nAdjacency of the generalised Mycielskian, before `SimpleGraph.fromRel` packages it as a graph.\n\nTwo level-`0` vertices are adjacent when the underlying vertices are; a level-`i` vertex and a\nlevel-`i + 1` vertex are adjacent when the underlying vertices are; and the apex is adjacent to\nevery vertex on the top level. The relation is already symmetric and irreflexive, so `fromRel`\nchanges nothing about it.\n-/\ndef MycAdj (s : ℕ) {V : Type u} (G : SimpleGraph V) : MycVerts s V → MycVerts s V → Prop\n  | Sum.inl (i, u), Sum.inl (j, v) =>\n      (i.val = 0 ∧ j.val = 0 ∧ G.Adj u v) ∨ (j.val = i.val + 1 ∧ G.Adj u v) ∨\n        (i.val = j.val + 1 ∧ G.Adj u v)\n  | Sum.inl (i, _), Sum.inr () => i.val + 1 = s\n  | Sum.inr (), Sum.inl (i, _) => i.val + 1 = s\n  | Sum.inr (), Sum.inr () => False\n\n/--\nThe **generalised Mycielskian** $M_s(G)$. $M_2(G)$ is the classical Mycielskian, and $M_1(G)$\nadds a vertex joined to everything.\n-/\ndef genMyc (s : ℕ) {V : Type u} (G : SimpleGraph V) : SimpleGraph (MycVerts s V) :=\n  .fromRel (MycAdj s G)\n\n/-- The apex of $M_s(G)$ is adjacent to every vertex on the top level. -/\n@[category test, AMS 5]\ntheorem genMyc_apex_adj_top {V : Type u} (G : SimpleGraph V) (s : ℕ) (hs : 0 < s) (v : V) :\n    (genMyc s G).Adj (Sum.inr ()) (Sum.inl (⟨s - 1, by omega⟩, v)) := by\n  refine ⟨by simp, Or.inl ?_⟩\n  show s - 1 + 1 = s\n  omega\n\n/-- Two level-`0` vertices of $M_s(G)$ are adjacent exactly when the underlying vertices are. -/\n@[category test, AMS 5]\ntheorem genMyc_adj_level_zero {V : Type u} (G : SimpleGraph V) {s : ℕ} (hs : 0 < s) {u v : V}\n    (huv : G.Adj u v) :\n    (genMyc s G).Adj (Sum.inl (⟨0, hs⟩, u)) (Sum.inl (⟨0, hs⟩, v)) := by\n  refine ⟨by simpa using huv.ne, Or.inl ?_⟩\n  exact Or.inl ⟨rfl, rfl, huv⟩\n\n/--\n`G` belongs to the class $M_r$, meaning it is built from $K_2$ by $r - 2$ generalised\nMycielskians. Stiebitz's theorem is about this class and not about arbitrary graphs: it is false\nthat $\\chi(M_s(H)) = \\chi(H) + 1$ for every $H$ and every $s$.\n-/\ndef IsRecursivelyBuiltMr : ∀ (_r : ℕ) {_V : Type u} (_G : SimpleGraph _V), Prop\n  | 0, _, _ => False\n  | 1, _, _ => False\n  | 2, _, G => Nonempty (G ≃g completeGraph (Fin 2))\n  | r + 3, _, G => ∃ (W : Type u) (H : SimpleGraph W) (s : ℕ),\n      1 ≤ s ∧ IsRecursivelyBuiltMr (r + 2) H ∧ Nonempty (G ≃g genMyc s H)\n\nset_option linter.style.formal_proof_palomar false in\n/--\n**Stiebitz's theorem** [St85]: every graph in $M_r$ has chromatic number at least $r$. The\nmatching upper bound follows from the construction, so the chromatic number is exactly $r$.\n\nSee also [SaSt89] and [MuSt19].\n\nThe linked formal proof (Alexeev and Codex, via signed-biclique chains and a `ℤ_p`-Tucker\nlemma) uses the same `IsRecursivelyBuiltMr`, except that its `genMyc s G` has `MycAdj s G`\ndirectly as adjacency relation instead of `SimpleGraph.fromRel (MycAdj s G)`; the two graphs are\nequal since `MycAdj` is symmetric and irreflexive.\n-/\n@[category research solved, AMS 5, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos750/Stiebitz.lean#L41\"]\ntheorem erdos_750.variants.stiebitz {V : Type u} (G : SimpleGraph V) (r : ℕ)\n    (h : IsRecursivelyBuiltMr r G) : (r : ℕ∞) ≤ G.chromaticNumber := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $f(m)$ be some function such that $f(m)\\to \\infty$ as $m\\to \\infty$. Does there exist a\ngraph $G$ of infinite chromatic number such that every subgraph on $m$ vertices contains\nan independent set of size at least $\\frac{m}{2}-f(m)$?\n\nNote that in [Er94b] the function $f$ generalises a (proven) result for $f(m) = \\epsilon m$,\nwhere $\\epsilon > 0$. Hence we should assume it is non-negative valued.\n\nThe existence of such a graph was proved [UlamErdos750] by GPT 5.5 Pro (prompted by Chojecki).\nIndeed, this constructs a graph with infinite chromatic number such that every subgraph on $m$\nvertices can be made bipartite after deleting at most $f(m)$ many vertices.\n\nThe proof in plby/lean-proofs uses the proof of `erdos_750.variants.stiebitz` linked above.\nIt produces a graph on a `V : Type`, which gives the statement below in any universe by\nlifting `V`.\n-/\n@[category research solved, question, AMS 5,\n  formal_proof using lean4 at\n    \"https://github.com/Jayyhk/erdos-lean/blob/main/problems/750/Erdos750.lean\",\n  formal_proof using lean4 at\n    \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos750.lean#L50\"]\ntheorem erdos_750 :\n    ∀ (f : ℕ → ℝ≥0) (hf : atTop.Tendsto f atTop),\n      ∃ (V : Type*) (G : SimpleGraph V), G.chromaticNumber = ⊤ ∧\n        ∀ (m : ℕ) (S : Set V), 0 < m → S.ncard = m →\n          ∃ I ⊆ S, G.IsIndepSet I ∧ m / 2 - f m ≤ I.ncard := by\n  sorry\n\n/--\nIn [Er69b] Erdős conjectures this for $f(m)=\\epsilon m$ for any fixed $\\epsilon>0$. This follows\nfrom a result of Erdős, Hajnal, and Szemerédi [EHS82], as described by Sellke in the comments.\n-/\n@[category research solved, question, AMS 5]\ntheorem erdos_750.variants.epsilon :\n    ∀ (ε : ℝ≥0), ε > 0 →\n      ∃ (V : Type*) (G : SimpleGraph V), G.chromaticNumber = ⊤ ∧\n        ∀ (m : ℕ) (S : Set V), 0 < m → S.ncard = m →\n          ∃ I ⊆ S, G.IsIndepSet I ∧ m / 2 - ε * m ≤ I.ncard := by\n  sorry\n\n/--\nIn [ErHa67b] Erdős and Hajnal prove this for $f(m)\\geq cm$ for all $c>1/4$.\n-/\n@[category research solved, question, AMS 5]\ntheorem erdos_750.variants.c_gt_quarter :\n    ∀ (c : ℝ≥0), c > 1 / 4 →\n      ∃ (V : Type*) (G : SimpleGraph V), G.chromaticNumber = ⊤ ∧\n        ∀ (m : ℕ) (S : Set V), 0 < m → S.ncard = m →\n          ∃ I ⊆ S, G.IsIndepSet I ∧ m / 2 - c * m ≤ I.ncard := by\n  sorry\n\nend Erdos750\n",
  "statement_hash": "c097e74eca9f865a2917d2a7364f0e7f254b4f2f9a1139377653c839b32cf927",
  "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."
}