AFTD Auto-Formalizing Theoretical Domains

balanced_cut_separator_implies_min_degree

theoremverified

The displayed 2k-separator property forces minimum degree at least 2k.

Statement

theorem balanced_cut_separator_implies_min_degree
    (k : ℕ) (hk : 1 ≤ k) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]
    (hsep : ∀ S P Q : Finset (Fin (4*k)), P.Nonempty → Q.Nonempty →
      Disjoint S P → Disjoint S Q → Disjoint P Q → S ∪ P ∪ Q = Finset.univ →
      (∀ u ∈ P, ∀ v ∈ Q, ¬ G.Adj u v) → 2*k ≤ S.card) :
    ∀ v, 2*k ≤ (G.neighborFinset v).card
Source
Exposed-barrier reduction for OP-1957; https://arxiv.org/abs/2611.22690.
Verified
26 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 1
Used by 2

The proof, explained

The proof proceeds by contradiction: assuming some vertex v has degree strictly less than 2*k, we show that its neighborhood S = N(v) isolates the singleton P = {v} from the rest of the graph Q = V \ (S ∪ P). We verify that P and Q are nonempty, mutually disjoint with S, cover the entire vertex set, and share no edges. The separator hypothesis then forces |S| ≥ 2*k, which contradicts that v has degree less than 2*k.

  1. Assume for contradiction that there exists a vertex v with degree strictly less than 2*k.

    We fix an arbitrary vertex v of G and suppose for contradiction that the degree of v is strictly less than 2*k, that is, ¬(2*k ≤ |N(v)|).

    lines 7–10

      set_option maxHeartbeats 4000000 in
        classical
        intro v
        by_contra hn
  2. Define candidate sets S = N(v), P = {v}, and Q = V \ (S ∪ P), and establish that P is nonempty, v ∉ S, and |S| < 2*k.

    We set the separator S to be the neighborhood N(v) of v, P to be the singleton {v}, and Q to be the complement of S ∪ P in the vertex set. Since P is a singleton, it is nonempty. Because G is a simple graph, v is not adjacent to itself, so v ∉ S. Finally, the assumption that 2*k ≤ |S| fails implies |S| < 2*k via Nat.lt_of_not_ge.

    lines 11–16

    uses Nat.lt_of_not_ge

        let S := G.neighborFinset v
        let P : Finset (Fin (4*k)) := {v}
        let Q := Finset.univ \ (S ∪ P)
        have hP : P.Nonempty := by simp [P]
        have hSnot : v ∉ S := by simp [S]
        have hSlt : S.card < 2*k := by simpa [S] using (Nat.lt_of_not_ge hn)
  3. The sets S and P are disjoint.

    By Finset.disjoint_left.mpr, we check that no element of S is in P. Any element of P = {v} must equal v, but we already established that v ∉ S.

    lines 17–21

    uses Finset.disjoint_left.mpr

        have hSP : Disjoint S P := by
          apply Finset.disjoint_left.mpr
          intro x hxS hxP
          have hx : x=v := by simpa [P] using hxP
          exact hSnot (hx ▸ hxS)
  4. The set Q is nonempty.

    By Finset.card_pos.mp, nonemptiness follows if 0 < |Q|. The total number of vertices is |univ| = 4*k by Finset.card_univ and Fintype.card_fin. Decomposing the universe into Q and S ∪ P via Finset.card_sdiff_add_card_inter yields |Q| + |S ∪ P| = 4*k. Since |P| = 1 and |S| < 2*k, the subadditivity of cardinality (Finset.card_union_le) implies |S ∪ P| ≤ |S| + 1 ≤ 2*k. Since 1 ≤ k, linear arithmetic (omega) concludes that |Q| ≥ 2*k > 0.

    lines 22–31

    uses Finset.card_pos.mp, Finset.card_union_le, Finset.card_sdiff_add_card_inter, Finset.card_univ, Fintype.card_fin

        have hQ : Q.Nonempty := by
          apply Finset.card_pos.mp
          have hbound := Finset.card_union_le S P
          have hd := Finset.card_sdiff_add_card_inter (Finset.univ : Finset (Fin (4*k))) (S ∪ P)
          have hh : ((Finset.univ : Finset (Fin (4*k))) ∩ (S ∪ P)) = S ∪ P := by simp
          rw [hh] at hd
          simp only [Finset.card_univ,Fintype.card_fin] at hd
          have hp : P.card=1 := by simp [P]
          dsimp [Q]
          omega
  5. The sets S and Q are disjoint.

    By definition, every element of Q is outside S ∪ P (Finset.mem_sdiff.mp). Since any element of S belongs to S ∪ P (Finset.mem_union_left), no element of S can belong to Q, so S and Q are disjoint by Finset.disjoint_left.mpr.

    lines 32–35

    uses Finset.disjoint_left.mpr, Finset.mem_sdiff.mp, Finset.mem_union_left

        have hSQ : Disjoint S Q := by
          apply Finset.disjoint_left.mpr
          intro x hxS hxQ
          exact (Finset.mem_sdiff.mp hxQ).2 (Finset.mem_union_left P hxS)
  6. The sets P and Q are disjoint.

    Similarly, elements of Q lie outside S ∪ P (Finset.mem_sdiff.mp), while elements of P lie in S ∪ P (Finset.mem_union_right). Hence P and Q are disjoint by Finset.disjoint_left.mpr.

    lines 36–39

    uses Finset.disjoint_left.mpr, Finset.mem_sdiff.mp, Finset.mem_union_right

        have hPQ : Disjoint P Q := by
          apply Finset.disjoint_left.mpr
          intro x hxP hxQ
          exact (Finset.mem_sdiff.mp hxQ).2 (Finset.mem_union_right S hxP)
  7. The sets S, P, and Q cover the whole vertex set.

    Since Q is defined as univ \ (S ∪ P), every vertex in the graph belongs to S ∪ P or to Q, so (S ∪ P) ∪ Q = univ.

    lines 40–42

        have hcover : S ∪ P ∪ Q = Finset.univ := by
          ext x
          simp [Q]
  8. There are no edges between P and Q.

    Suppose u ∈ P and w ∈ Q were adjacent. Because P = {v}, we must have u = v. Then w is adjacent to v, which means w ∈ S = N(v). But w ∈ Q = univ \ (S ∪ P) implies w ∉ S ∪ P (by Finset.mem_sdiff.mp), which contradicts w ∈ S (via Finset.mem_union_left).

    lines 43–48

    uses Finset.mem_sdiff.mp, Finset.mem_union_left

        have hanti : ∀ u ∈ P, ∀ w ∈ Q, ¬ G.Adj u w := by
          intro u hu w hw hadj
          have hu' : u=v := by simpa [P] using hu
          subst u
          have hwS : w ∈ S := by simpa [S] using hadj
          exact (Finset.mem_sdiff.mp hw).2 (Finset.mem_union_left P hwS)
  9. The separator hypothesis forces |S| ≥ 2*k, producing a contradiction.

    Since S, P, and Q satisfy all the premises of the hypothesis hsep (P and Q nonempty, mutually disjoint, covering the graph, with no edges between P and Q), hsep guarantees 2*k ≤ |S|. This directly contradicts the contradiction hypothesis that 2*k ≤ |N(v)| is false.

    lines 49–50

        have hh := hsep S P Q hP hQ hSP hSQ hPQ hcover hanti
        exact hn hh
Nat.lt_of_not_ge
If a natural number is not greater than or equal to another, then it is strictly less than it.
Finset.disjoint_left.mpr
Two finite sets are disjoint if no element of the first set belongs to the second.
Finset.card_pos.mp
A finite set with strictly positive cardinality is nonempty.
Finset.card_union_le
The cardinality of the union of two finite sets is at most the sum of their individual cardinalities.
Finset.card_sdiff_add_card_inter
For any two finite sets s and t, the cardinality of s \ t plus the cardinality of s ∩ t equals the cardinality of s.
Finset.card_univ
The cardinality of the universal finset of a finite type equals the cardinality of that type.
Fintype.card_fin
The finite type Fin n has cardinality n.
Finset.mem_sdiff.mp
An element in the set difference s \ t belongs to s and does not belong to t.
Finset.mem_union_left
An element of a set s is also an element of the union s ∪ t.
Finset.mem_union_right
An element of a set t is also an element of the union s ∪ t.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

theorem balanced_cut_separator_implies_min_degree    (k : ℕ) (hk : 1 ≤ k) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]    (hsep : ∀ S P Q : Finset (Fin (4*k)), P.Nonempty → Q.Nonempty →      Disjoint S P → Disjoint S Q → Disjoint P Q → S ∪ P ∪ Q = Finset.univ →      (∀ u ∈ P, ∀ v ∈ Q, ¬ G.Adj u v) → 2*k ≤ S.card) :    ∀ v, 2*k ≤ (G.neighborFinset v).card := by  set_option maxHeartbeats 4000000 in    classical    intro v    by_contra hn    let S := G.neighborFinset v    let P : Finset (Fin (4*k)) := {v}    let Q := Finset.univ \ (S ∪ P)    have hP : P.Nonempty := by simp [P]    have hSnot : v ∉ S := by simp [S]    have hSlt : S.card < 2*k := by simpa [S] using (Nat.lt_of_not_ge hn)    have hSP : Disjoint S P := by      apply Finset.disjoint_left.mpr      intro x hxS hxP      have hx : x=v := by simpa [P] using hxP      exact hSnot (hx ▸ hxS)    have hQ : Q.Nonempty := by      apply Finset.card_pos.mp      have hbound := Finset.card_union_le S P      have hd := Finset.card_sdiff_add_card_inter (Finset.univ : Finset (Fin (4*k))) (S ∪ P)      have hh : ((Finset.univ : Finset (Fin (4*k))) ∩ (S ∪ P)) = S ∪ P := by simp      rw [hh] at hd      simp only [Finset.card_univ,Fintype.card_fin] at hd      have hp : P.card=1 := by simp [P]      dsimp [Q]      omega    have hSQ : Disjoint S Q := by      apply Finset.disjoint_left.mpr      intro x hxS hxQ      exact (Finset.mem_sdiff.mp hxQ).2 (Finset.mem_union_left P hxS)    have hPQ : Disjoint P Q := by      apply Finset.disjoint_left.mpr      intro x hxP hxQ      exact (Finset.mem_sdiff.mp hxQ).2 (Finset.mem_union_right S hxP)    have hcover : S ∪ P ∪ Q = Finset.univ := by      ext x      simp [Q]    have hanti : ∀ u ∈ P, ∀ w ∈ Q, ¬ G.Adj u w := by      intro u hu w hw hadj      have hu' : u=v := by simpa [P] using hu      subst u      have hwS : w ∈ S := by simpa [S] using hadj      exact (Finset.mem_sdiff.mp hw).2 (Finset.mem_union_left P hwS)    have hh := hsep S P Q hP hQ hSP hSQ hPQ hcover hanti    exact hn hh
See it in the graphDiscuss this resultChallenge it