Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 599 · test.empty_A

Source:Erdős Problems
Sanity test Checks that the formal definitions behave as intended. First verified proof: +1 points.
Statement:reviewed
Statement:

Sanity check: when A=∅A = \varnothing the conclusion of erdos_599 holds trivially, with the empty family of paths and S=∅S = \varnothing (the covering condition is vacuous since there is no path starting in ∅\varnothing).

Subjects:Combinatorics (math.CO)
MSC classes:05
Cite as:NS.02572 [math.CO] · NS.02572v1 for this version
Declaration:Erdos599.erdos_599.test.empty_A
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 1; accepted critique: up to 100
Statement hash:627a4ad92a58207e7ff37d29a9c96c887a5775e4f5fd6d486f96376dea54e7a2
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/599.lean

Formal statement

theorem erdos_599.test.empty_A (V : Type) (G : SimpleGraph V) (B : Set V) :
    ∃ (ι : Type) (a b : ι → V) (p : ∀ i, G.Walk (a i) (b i)) (S : Set V),
      (∀ i, a i ∈ (∅ : Set V)) ∧ (∀ i, b i ∈ B) ∧ (∀ i, (p i).IsPath) ∧
      (Pairwise fun i j => Disjoint {v | v ∈ (p i).support} {v | v ∈ (p j).support}) ∧
      S ⊆ {v | ∃ i, v ∈ (p i).support} ∧
      (∀ i, ∃! v, v ∈ S ∧ v ∈ (p i).support) ∧
      (∀ a' ∈ (∅ : Set V), ∀ b' ∈ B, ∀ q : G.Walk a' b', q.IsPath →
        ∃ v ∈ q.support, v ∈ S)
Show the full Challenge.lean (97 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 599

*References:*
- [erdosproblems.com/599](https://www.erdosproblems.com/599)
- [AhBe09] Aharoni, Ron and Berger, Eli, *Menger's theorem for infinite graphs*,
  *Invent. Math.* **176** (2009), 1--62.
-/

@[expose] public section

open SimpleGraph

namespace Erdos599

/--
**Erdős Problem 599** (the Erdős–Menger conjecture).

Let $G$ be a (possibly infinite) graph and let $A, B$ be disjoint independent sets of
vertices. Must there exist a family $P$ of pairwise vertex-disjoint paths from $A$ to $B$,
and a set $S$ of vertices containing exactly one vertex from each path in $P$, such that
every path from $A$ to $B$ contains at least one vertex of $S$?

For finite $G$ this is equivalent to Menger's theorem. The answer is **yes**, proved by
Aharoni and Berger [AhBe09].
-/
@[category research solved, question, AMS 5]
theorem erdos_599 :
    ∀ (V : Type) (G : SimpleGraph V) (A B : Set V),
      Disjoint A B → G.IsIndepSet A → G.IsIndepSet B →
      ∃ (ι : Type) (a b : ι → V) (p : ∀ i, G.Walk (a i) (b i)) (S : Set V),
        (∀ i, a i ∈ A) ∧ (∀ i, b i ∈ B) ∧ (∀ i, (p i).IsPath) ∧
        (Pairwise fun i j => Disjoint {v | v ∈ (p i).support} {v | v ∈ (p j).support}) ∧
        S ⊆ {v | ∃ i, v ∈ (p i).support} ∧
        (∀ i, ∃! v, v ∈ S ∧ v ∈ (p i).support) ∧
        (∀ a' ∈ A, ∀ b' ∈ B, ∀ q : G.Walk a' b', q.IsPath → ∃ v ∈ q.support, v ∈ S) := by
  sorry

/--
**Menger's theorem for infinite graphs** (Aharoni–Berger [AhBe09]).

The theorem actually proved by Aharoni and Berger holds for arbitrary vertex sets $A$
and $B$: in any (possibly infinite) graph $G$ there is a family $P$ of pairwise
vertex-disjoint $A$--$B$ paths together with an $A$--$B$ separator $S$ consisting of the
choice of exactly one vertex from each path in $P$. The disjointness and independence
hypotheses of `erdos_599` are not needed.
-/
@[category research solved, AMS 5]
theorem erdos_599.variants.aharoni_berger :
    ∀ (V : Type) (G : SimpleGraph V) (A B : Set V),
      ∃ (ι : Type) (a b : ι → V) (p : ∀ i, G.Walk (a i) (b i)) (S : Set V),
        (∀ i, a i ∈ A) ∧ (∀ i, b i ∈ B) ∧ (∀ i, (p i).IsPath) ∧
        (Pairwise fun i j => Disjoint {v | v ∈ (p i).support} {v | v ∈ (p j).support}) ∧
        S ⊆ {v | ∃ i, v ∈ (p i).support} ∧
        (∀ i, ∃! v, v ∈ S ∧ v ∈ (p i).support) ∧
        (∀ a' ∈ A, ∀ b' ∈ B, ∀ q : G.Walk a' b', q.IsPath → ∃ v ∈ q.support, v ∈ S) := by
  sorry

/--
Sanity check: when $A = \varnothing$ the conclusion of `erdos_599` holds trivially, with
the empty family of paths and $S = \varnothing$ (the covering condition is vacuous since
there is no path starting in $\varnothing$).
-/
@[category test, AMS 5]
theorem erdos_599.test.empty_A (V : Type) (G : SimpleGraph V) (B : Set V) :
    ∃ (ι : Type) (a b : ι → V) (p : ∀ i, G.Walk (a i) (b i)) (S : Set V),
      (∀ i, a i ∈ (∅ : Set V)) ∧ (∀ i, b i ∈ B) ∧ (∀ i, (p i).IsPath) ∧
      (Pairwise fun i j => Disjoint {v | v ∈ (p i).support} {v | v ∈ (p j).support}) ∧
      S ⊆ {v | ∃ i, v ∈ (p i).support} ∧
      (∀ i, ∃! v, v ∈ S ∧ v ∈ (p i).support) ∧
      (∀ a' ∈ (∅ : Set V), ∀ b' ∈ B, ∀ q : G.Walk a' b', q.IsPath →
        ∃ v ∈ q.support, v ∈ S) := by
  refine ⟨Empty, Empty.elim, Empty.elim, fun i => i.elim, ∅,
    fun i => i.elim, fun i => i.elim, fun i => i.elim, fun i => i.elim,
    fun v hv => hv.elim, fun i => i.elim, fun a' ha' => absurd ha' (Set.notMem_empty _)⟩

end Erdos599

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos599.erdos_599.test.empty_A with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_empty_A : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk erdos-599--erdos-599-test-empty-a      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-599--erdos-599-test-empty-a
nosorry submit erdos-599--erdos-599-test-empty-a nosorry/erdos-599--erdos-599-test-empty-a/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.