AFTD Auto-Formalizing Theoretical Domains

boundary_five_odd_saturated_two_defect_removable_with_independence

theoremverified

Under the displayed five-by-odd four-block degree, separator, factor-criticality, k-extendibility and independence-number-at-most-k hypotheses, the saturated vertex with exactly two opposite-block nonneighbors has a cross edge whose deletion preserves k-extendibility.

Statement

theorem boundary_five_odd_saturated_two_defect_removable_with_independence
    (k c : ℕ) (hc : 7 ≤ c) (hcodd : Odd c) (hkc : c ≤ k)
    (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]
    (A B C D : Finset (Fin (4*k)))
    (hAB : Disjoint A B) (hAC : Disjoint A C) (hAD : Disjoint A D)
    (hBC : Disjoint B C) (hBD : Disjoint B D) (hCD : Disjoint C D)
    (hcover : A ∪ B ∪ C ∪ D = Finset.univ)
    (hA : A.card=5) (hB : B.card=2*k-5) (hC : C.card=c) (hD : D.card=2*k-c)
    (hnoAB : ∀ a ∈ A, ∀ b ∈ B, ¬ G.Adj a b)
    (hnoCD : ∀ c ∈ C, ∀ d ∈ D, ¬ G.Adj c d)
    (hcritB : is_k_factor_critical (G.induce {v | v ∈ B}) 1)
    (hdegree : ∀ v, 2*k+2 ≤ (G.neighborFinset v).card)
    (hsep : ∀ X U V : Finset (Fin (4*k)), U.Nonempty → V.Nonempty →
      Disjoint X U → Disjoint X V → Disjoint U V → X ∪ U ∪ V = Finset.univ →
      (∀ u ∈ U, ∀ v ∈ V, ¬ G.Adj u v) → 2*k ≤ X.card)
    (hext : is_k_extendable G k)
    (hind : ∀ I : Finset (Fin (4*k)),
      (∀ u ∈ I, ∀ v ∈ I, u ≠ v → ¬ G.Adj u v) → I.card ≤ k)
    (x p q : Fin (4*k)) (hx : x ∈ A)
    (hp : p ∈ C) (hq : q ∈ C) (hpq : p ≠ q)
    (hxp : ¬ G.Adj x p) (hxq : ¬ G.Adj x q)
    (hfull : ∀ y ∈ C, y ≠ p → y ≠ q → G.Adj x y)
    (hsatA : ∀ a ∈ A, a ≠ x → G.Adj x a)
    (hsatD : ∀ d ∈ D, G.Adj x d) :
    ∃ y ∈ C, y ≠ p ∧ y ≠ q ∧ is_k_extendable (G.deleteEdges {s(x,y)}) k
Source
OP-1957: wire the explicit independence hypothesis into the five-by-odd removable-cross-edge route.
Verified
27 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 4
Used by 2

The proof, explained

The theorem is proved by contradiction: suppose every cross edge xy from the saturated vertex x to y ∈ C \ {p, q} is essential, meaning its deletion destroys k-extendibility. Under this assumption, a structural classification theorem (boundary_five_odd_saturated_essential_edge_patterns_with_independence) implies that every such vertex y must satisfy one of four local non-neighborhood and separator configurations. However, an impossibility theorem (boundary_five_odd_saturated_patterns_impossible) shows that no graph satisfying the block partition, degree bounds, and separator conditions can simultaneously exhibit these patterns across all of C \ {p, q}. This contradiction proves that at least one such cross edge can be safely deleted while preserving k-extendibility.

  1. Assume for contradiction that no vertex y ∈ C \\ {p, q} yields a k-extendable graph when the cross edge xy is deleted.

    We proceed by contradiction: we assume the negation of the conclusion, meaning that for every y ∈ C with y ≠ p and y ≠ q, the edge xy is essential (its deletion destroys k-extendibility).

    lines 26–27

      classical
      by_contra hn
  2. To reach a contradiction, it suffices to show that every y ∈ C \\ {p, q} satisfies one of four local non-neighbor patterns.

    We invoke the impossibility theorem boundary_five_odd_saturated_patterns_impossible, which establishes that under the given block sizes, degrees, and separator conditions, it is impossible for every y ∈ C \\ {p, q} to satisfy one of the four structural patterns. This reduces the overall goal of deriving False to proving that this pattern disjunction holds for an arbitrary y ∈ C \\ {p, q}.

    lines 28–29

    uses boundary_five_odd_saturated_patterns_impossible

      apply boundary_five_odd_saturated_patterns_impossible k c hc hkc G A B C D
        hAB hAC hAD hBC hBD hCD hA hB hC hD hnoAB hnoCD hdegree hsep x p q hx hp hq hxp hxq hpq
  3. For any y ∈ C \\ {p, q}, we have y ∈ C, y ≠ p, and y ≠ q.

    We pick an arbitrary vertex y in the set difference C \\ {p, q}. By Finset.mem_sdiff.mp, y belongs to C and does not belong to {p, q}, which directly entails y ≠ p and y ≠ q.

    lines 30–34

    uses Finset.mem_sdiff.mp

      intro y hy
      have hyC : y ∈ C := (Finset.mem_sdiff.mp hy).1
      have hnot : y ∉ ({p,q} : Finset (Fin (4*k))) := (Finset.mem_sdiff.mp hy).2
      have hyp : y ≠ p := by intro he; subst y; exact hnot (by simp)
      have hyq : y ≠ q := by intro he; subst y; exact hnot (by simp)
  4. The edge xy is essential, meaning G - {xy} is not k-extendable.

    If G - {xy} were k-extendable, then y would provide an explicit witness satisfying y ∈ C, y ≠ p, y ≠ q, and k-extendibility of G - {xy}, directly refuting our contradiction hypothesis hn. Thus G - {xy} cannot be k-extendable.

    lines 35–37

      have hess : ¬ is_k_extendable (G.deleteEdges {s(x,y)}) k := by
        intro he
        exact hn ⟨y,hyC,hyp,hyq,he⟩
  5. The vertex y satisfies one of the four structural patterns, completing the proof.

    We apply boundary_five_odd_saturated_essential_edge_patterns_with_independence. This structural classification theorem states that under the given block decomposition, parity, degree, separator, factor-criticality, and independence bounds, any essential edge xy with y ∈ C \\ {p, q} must force y into one of the four local patterns. Providing the essentiality of xy alongside all hypotheses discharges the requirement and completes the proof.

    lines 38–41

    uses boundary_five_odd_saturated_essential_edge_patterns_with_independence

      exact boundary_five_odd_saturated_essential_edge_patterns_with_independence
        k c hc hcodd hkc G A B C D hAB hAC hAD hBC hBD hCD hcover hA hB hC hD
        hnoAB hnoCD hcritB hdegree hsep hext hind x p q hx hp hq hpq hxp hxq hfull hsatA hsatD
        y hyC hyp hyq hess
boundary_five_odd_saturated_patterns_impossible
In a graph partitioned into four blocks satisfying the specified degree, block-size, and separator conditions, it is impossible for every vertex in C \\ {p, q} to satisfy one of the four local non-neighbor patterns.
Finset.mem_sdiff.mp
An element belongs to the set difference X \\ Y if and only if it belongs to X and does not belong to Y.
boundary_five_odd_saturated_essential_edge_patterns_with_independence
Under the four-block degree, separator, factor-criticality, k-extendibility, and independence conditions, deleting an essential cross-edge between x and y ∈ C \\ {p, q} forces y to satisfy one of four structural non-neighbor patterns.

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 boundary_five_odd_saturated_two_defect_removable_with_independence    (k c : ℕ) (hc : 7 ≤ c) (hcodd : Odd c) (hkc : c ≤ k)    (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]    (A B C D : Finset (Fin (4*k)))    (hAB : Disjoint A B) (hAC : Disjoint A C) (hAD : Disjoint A D)    (hBC : Disjoint B C) (hBD : Disjoint B D) (hCD : Disjoint C D)    (hcover : A ∪ B ∪ C ∪ D = Finset.univ)    (hA : A.card=5) (hB : B.card=2*k-5) (hC : C.card=c) (hD : D.card=2*k-c)    (hnoAB : ∀ a ∈ A, ∀ b ∈ B, ¬ G.Adj a b)    (hnoCD : ∀ c ∈ C, ∀ d ∈ D, ¬ G.Adj c d)    (hcritB : is_k_factor_critical (G.induce {v | v ∈ B}) 1)    (hdegree : ∀ v, 2*k+2 ≤ (G.neighborFinset v).card)    (hsep : ∀ X U V : Finset (Fin (4*k)), U.Nonempty → V.Nonempty →      Disjoint X U → Disjoint X V → Disjoint U V → X ∪ U ∪ V = Finset.univ →      (∀ u ∈ U, ∀ v ∈ V, ¬ G.Adj u v) → 2*k ≤ X.card)    (hext : is_k_extendable G k)    (hind : ∀ I : Finset (Fin (4*k)),      (∀ u ∈ I, ∀ v ∈ I, u ≠ v → ¬ G.Adj u v) → I.card ≤ k)    (x p q : Fin (4*k)) (hx : x ∈ A)    (hp : p ∈ C) (hq : q ∈ C) (hpq : p ≠ q)    (hxp : ¬ G.Adj x p) (hxq : ¬ G.Adj x q)    (hfull : ∀ y ∈ C, y ≠ p → y ≠ q → G.Adj x y)    (hsatA : ∀ a ∈ A, a ≠ x → G.Adj x a)    (hsatD : ∀ d ∈ D, G.Adj x d) :    ∃ y ∈ C, y ≠ p ∧ y ≠ q ∧ is_k_extendable (G.deleteEdges {s(x,y)}) k := by  classical  by_contra hn  apply boundary_five_odd_saturated_patterns_impossible k c hc hkc G A B C D    hAB hAC hAD hBC hBD hCD hA hB hC hD hnoAB hnoCD hdegree hsep x p q hx hp hq hxp hxq hpq  intro y hy  have hyC : y ∈ C := (Finset.mem_sdiff.mp hy).1  have hnot : y ∉ ({p,q} : Finset (Fin (4*k))) := (Finset.mem_sdiff.mp hy).2  have hyp : y ≠ p := by intro he; subst y; exact hnot (by simp)  have hyq : y ≠ q := by intro he; subst y; exact hnot (by simp)  have hess : ¬ is_k_extendable (G.deleteEdges {s(x,y)}) k := by    intro he    exact hn ⟨y,hyC,hyp,hyq,he⟩  exact boundary_five_odd_saturated_essential_edge_patterns_with_independence    k c hc hcodd hkc G A B C D hAB hAC hAD hBC hBD hCD hcover hA hB hC hD    hnoAB hnoCD hcritB hdegree hsep hext hind x p q hx hp hq hpq hxp hxq hfull hsatA hsatD    y hyC hyp hyq hess
See it in the graphDiscuss this resultChallenge it