{
  "id": "2570",
  "ident": "NS.02570",
  "slug": "erdos-599",
  "title": "Erdős Problem 599",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "**Erdős Problem 599** (the Erdős–Menger conjecture).\n\nLet $G$ be a (possibly infinite) graph and let $A, B$ be disjoint independent sets of\nvertices. Must there exist a family $P$ of pairwise vertex-disjoint paths from $A$ to $B$,\nand a set $S$ of vertices containing exactly one vertex from each path in $P$, such that\nevery path from $A$ to $B$ contains at least one vertex of $S$?\n\nFor finite $G$ this is equivalent to Menger's theorem. The answer is **yes**, proved by\nAharoni and Berger [AhBe09].",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos599.erdos_599",
  "statement_lean": "theorem erdos_599 :\n    ∀ (V : Type) (G : SimpleGraph V) (A B : Set V),\n      Disjoint A B → G.IsIndepSet A → G.IsIndepSet B →\n      ∃ (ι : Type) (a b : ι → V) (p : ∀ i, G.Walk (a i) (b i)) (S : Set V),\n        (∀ i, a i ∈ A) ∧ (∀ i, b i ∈ B) ∧ (∀ i, (p i).IsPath) ∧\n        (Pairwise fun i j => Disjoint {v | v ∈ (p i).support} {v | v ∈ (p j).support}) ∧\n        S ⊆ {v | ∃ i, v ∈ (p i).support} ∧\n        (∀ i, ∃! v, v ∈ S ∧ v ∈ (p i).support) ∧\n        (∀ a' ∈ A, ∀ b' ∈ B, ∀ q : G.Walk a' b', q.IsPath → ∃ v ∈ q.support, v ∈ S)",
  "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 599\n\n*References:*\n- [erdosproblems.com/599](https://www.erdosproblems.com/599)\n- [AhBe09] Aharoni, Ron and Berger, Eli, *Menger's theorem for infinite graphs*,\n  *Invent. Math.* **176** (2009), 1--62.\n-/\n\n@[expose] public section\n\nopen SimpleGraph\n\nnamespace Erdos599\n\n/--\n**Erdős Problem 599** (the Erdős–Menger conjecture).\n\nLet $G$ be a (possibly infinite) graph and let $A, B$ be disjoint independent sets of\nvertices. Must there exist a family $P$ of pairwise vertex-disjoint paths from $A$ to $B$,\nand a set $S$ of vertices containing exactly one vertex from each path in $P$, such that\nevery path from $A$ to $B$ contains at least one vertex of $S$?\n\nFor finite $G$ this is equivalent to Menger's theorem. The answer is **yes**, proved by\nAharoni and Berger [AhBe09].\n-/\n@[category research solved, question, AMS 5]\ntheorem erdos_599 :\n    ∀ (V : Type) (G : SimpleGraph V) (A B : Set V),\n      Disjoint A B → G.IsIndepSet A → G.IsIndepSet B →\n      ∃ (ι : Type) (a b : ι → V) (p : ∀ i, G.Walk (a i) (b i)) (S : Set V),\n        (∀ i, a i ∈ A) ∧ (∀ i, b i ∈ B) ∧ (∀ i, (p i).IsPath) ∧\n        (Pairwise fun i j => Disjoint {v | v ∈ (p i).support} {v | v ∈ (p j).support}) ∧\n        S ⊆ {v | ∃ i, v ∈ (p i).support} ∧\n        (∀ i, ∃! v, v ∈ S ∧ v ∈ (p i).support) ∧\n        (∀ a' ∈ A, ∀ b' ∈ B, ∀ q : G.Walk a' b', q.IsPath → ∃ v ∈ q.support, v ∈ S) := by\n  sorry\n\n/--\n**Menger's theorem for infinite graphs** (Aharoni–Berger [AhBe09]).\n\nThe theorem actually proved by Aharoni and Berger holds for arbitrary vertex sets $A$\nand $B$: in any (possibly infinite) graph $G$ there is a family $P$ of pairwise\nvertex-disjoint $A$--$B$ paths together with an $A$--$B$ separator $S$ consisting of the\nchoice of exactly one vertex from each path in $P$. The disjointness and independence\nhypotheses of `erdos_599` are not needed.\n-/\n@[category research solved, AMS 5]\ntheorem erdos_599.variants.aharoni_berger :\n    ∀ (V : Type) (G : SimpleGraph V) (A B : Set V),\n      ∃ (ι : Type) (a b : ι → V) (p : ∀ i, G.Walk (a i) (b i)) (S : Set V),\n        (∀ i, a i ∈ A) ∧ (∀ i, b i ∈ B) ∧ (∀ i, (p i).IsPath) ∧\n        (Pairwise fun i j => Disjoint {v | v ∈ (p i).support} {v | v ∈ (p j).support}) ∧\n        S ⊆ {v | ∃ i, v ∈ (p i).support} ∧\n        (∀ i, ∃! v, v ∈ S ∧ v ∈ (p i).support) ∧\n        (∀ a' ∈ A, ∀ b' ∈ B, ∀ q : G.Walk a' b', q.IsPath → ∃ v ∈ q.support, v ∈ S) := by\n  sorry\n\n/--\nSanity check: when $A = \\varnothing$ the conclusion of `erdos_599` holds trivially, with\nthe empty family of paths and $S = \\varnothing$ (the covering condition is vacuous since\nthere is no path starting in $\\varnothing$).\n-/\n@[category test, AMS 5]\ntheorem erdos_599.test.empty_A (V : Type) (G : SimpleGraph V) (B : Set V) :\n    ∃ (ι : Type) (a b : ι → V) (p : ∀ i, G.Walk (a i) (b i)) (S : Set V),\n      (∀ i, a i ∈ (∅ : Set V)) ∧ (∀ i, b i ∈ B) ∧ (∀ i, (p i).IsPath) ∧\n      (Pairwise fun i j => Disjoint {v | v ∈ (p i).support} {v | v ∈ (p j).support}) ∧\n      S ⊆ {v | ∃ i, v ∈ (p i).support} ∧\n      (∀ i, ∃! v, v ∈ S ∧ v ∈ (p i).support) ∧\n      (∀ a' ∈ (∅ : Set V), ∀ b' ∈ B, ∀ q : G.Walk a' b', q.IsPath →\n        ∃ v ∈ q.support, v ∈ S) := by\n  refine ⟨Empty, Empty.elim, Empty.elim, fun i => i.elim, ∅,\n    fun i => i.elim, fun i => i.elim, fun i => i.elim, fun i => i.elim,\n    fun v hv => hv.elim, fun i => i.elim, fun a' ha' => absurd ha' (Set.notMem_empty _)⟩\n\nend Erdos599\n",
  "statement_hash": "627a4ad92a58207e7ff37d29a9c96c887a5775e4f5fd6d486f96376dea54e7a2",
  "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."
}