{
  "id": "2582",
  "ident": "NS.02582",
  "slug": "erdos-601",
  "title": "Erdős Problem 601",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "**Erdős Problem 601** ($500 prize).\n\nFor which limit ordinals $\\alpha$ does `HasPathOrIndepSetOfType α` hold?",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": "https://www.erdosproblems.com/601",
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos601.erdos_601",
  "statement_lean": "theorem erdos_601 :\n    ∀ α : Ordinal.{0}, Order.IsSuccLimit α →\n      (HasPathOrIndepSetOfType α ↔\n        erdos_601.answer α)",
  "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-/\n\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 601\n\n*Reference:* [erdosproblems.com/601](https://www.erdosproblems.com/601)\n\n*References:*\n- [EHM70] Erdős, P.; Hajnal, A.; Milner, E.C. *Set mappings and polarized partition relations.*\n  Combinatorial theory and its applications, I–III (Balatonfüred, 1969) (1970), 327–363.\n- [Er81] Erdős, P. *On the combinatorial problems which I would most like to see solved.*\n  Combinatorica 1 (1981), 25–42, Section VII.\n- [La90] Larson, J.A. *Martin's Axiom and ordinal graphs: large independent sets or infinite\n  paths.* Ann. Pure Appl. Logic 47 (1990), 31–39.\n-/\n\n@[expose] public section\n\nopen Cardinal Ordinal SimpleGraph\n\nnamespace Erdos601\n\nuniverse u\n\n/--\n`HasPathOrIndepSetOfType α` holds for an ordinal $\\alpha$ if every simple graph on\n$\\alpha.\\mathrm{ToType}$ contains either:\n\n1. an **infinite path** — an injective function $f : \\mathbb{N} \\to \\alpha.\\mathrm{ToType}$\n   with $G.\\mathrm{Adj}\\, (f n)\\, (f(n+1))$ for all $n$, or\n2. an **independent set of order type $\\alpha$** — a set $s \\subseteq \\alpha.\\mathrm{ToType}$\n   that is pairwise non-adjacent in $G$ and whose order type (under the well-order inherited\n   from $\\alpha$) equals $\\alpha$.\n-/\ndef HasPathOrIndepSetOfType (α : Ordinal.{u}) : Prop :=\n  ∀ G : SimpleGraph α.ToType,\n    (∃ f : ℕ → α.ToType, Function.Injective f ∧ ∀ n, G.Adj (f n) (f (n + 1))) ∨\n    (∃ s : Set α.ToType, G.IsIndepSet s ∧ typeLT s = α)\n\ndef erdos_601.answer : Ordinal.{0} → Prop := by sorry\n\n/--\n**Erdős Problem 601** ($500 prize).\n\nFor which limit ordinals $\\alpha$ does `HasPathOrIndepSetOfType α` hold?\n-/\n@[category research open, question value, AMS 5]\ntheorem erdos_601 :\n    ∀ α : Ordinal.{0}, Order.IsSuccLimit α →\n      (HasPathOrIndepSetOfType α ↔\n        erdos_601.answer α) := by\n  sorry\n\n/--\n**Erdős–Hajnal–Milner conjecture** [Er81, Section VII]: every graph on a limit ordinal\n$\\alpha$ contains an infinite path or an independent set of order type $\\alpha$. -/\n@[category research open, AMS 5]\ntheorem erdos_601.variants.universal :\n    ∀ α : Ordinal.{0}, Order.IsSuccLimit α → HasPathOrIndepSetOfType α := by\n  sorry\n\nnamespace erdos_601.variants\n\n/--\n**Erdős–Hajnal–Milner (1970)** [EHM70]: For all limit ordinals $\\alpha < \\omega_1^{\\omega+2}$,\nevery graph on $\\alpha.\\mathrm{ToType}$ has either an infinite path or an independent set of\norder type $\\alpha$.\n-/\n@[category research solved, AMS 5]\ntheorem erdos_hajnal_milner_1970 :\n    ∀ α : Ordinal.{0},\n      Order.IsSuccLimit α →\n      α < ω_ 1 ^ (ω + 2) →\n      HasPathOrIndepSetOfType α := by\n  sorry\n\n/--\n**Erdős–Hajnal–Milner conjecture at $\\omega_1^{\\omega+2}$** [Er81, Section VII]: every\ngraph on $\\omega_1^{\\omega+2}$ contains an infinite path or an independent set of that\norder type. Erdős conjectured the positive answer. This is the first limit ordinal not\ncovered by the Erdős–Hajnal–Milner theorem.\n-/\n@[category research open, AMS 5]\ntheorem omega_1_omega_plus_2 :\n    HasPathOrIndepSetOfType (ω_ 1 ^ (ω + 2)) := by\n  sorry\n\n/-\n**Larson (1990)** [La90] showed that under Martin's Axiom (MA), the property\n`HasPathOrIndepSetOfType α` holds for all limit ordinals $\\alpha < 2^{\\aleph_0}$. We do\nnot state this here as a Lean theorem because Martin's Axiom is not yet formalised in\nMathlib (and a bare `MA : Prop` placeholder would not faithfully encode the axiom).\n-/\n\n/--\n**Base case $\\alpha = \\omega$**: `HasPathOrIndepSetOfType ω` holds.\n\nEvery countably infinite graph on vertex set $\\omega$ either contains an infinite path or\nhas an infinite independent set (and an infinite set has order type $\\omega$). Follows from\nRamsey-theoretic arguments (or directly from the Erdős–Hajnal–Milner result since\n$\\omega < \\omega_1^{\\omega+2}$).\n-/\n@[category research solved, AMS 5]\ntheorem at_omega : HasPathOrIndepSetOfType ω := by\n  sorry\n\nend erdos_601.variants\n\nend Erdos601\n",
  "statement_hash": "4d35266544376970de07c7aadd010ace571889294ee1e3668538855e69fc20d2",
  "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."
}