AFTD Auto-Formalizing Theoretical Domains

boundary_five_odd_saturated_two_defect_has_removable_cross_edge

theoremverified

For every odd c at least seven with c≤k, in the displayed five-by-c four-block graph with the explicit degree, separator, B-block factor-criticality and extendibility assumptions, a first-block vertex adjacent to every other first-block vertex and all of D, with exactly two C nonneighbors, has a removable cross edge.

Statement

theorem boundary_five_odd_saturated_two_defect_has_removable_cross_edge
    (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) (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: proposed arbitrary odd opposite-block saturated cross-edge reduction.
Verified
27 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 9
Used by 1

The proof, explained

The theorem reduces to the prior result boundary_five_odd_saturated_two_defect_removable_with_independence, which proves the same conclusion under the additional assumption that the graph has independence number at most k. To establish this bound, the proof shows that the complement of any (k+1)-element vertex subset has order at least 2k and minimum degree at least k, which forces a matching of size k. For a k-extendable graph on 4k vertices, having such complement matchings implies that no independent set can exceed size k, which discharges the missing hypothesis.

  1. To show that every independent set in G has size at most k, it suffices to show that the complement of every (k+1)-element vertex subset contains a matching of size k.

    We introduce an arbitrary independent set U. Since G is k-extendable on 4k vertices, the lemma op1957_extendible_independence_of_complement_matching reduces the bound |U| ≤ k to showing that for every vertex set I of size k + 1, the induced subgraph on the complement of I contains a matching of size k.

    lines 23–27

    uses op1957_extendible_independence_of_complement_matching

      classical
      have hind : ∀ I : Finset (Fin (4*k)),
          (∀ u ∈ I, ∀ v ∈ I, u ≠ v → ¬ G.Adj u v) → I.card ≤ k := by
        intro U hU
        apply op1957_extendible_independence_of_complement_matching k G hext
  2. For any vertex subset I of size k + 1, every vertex in G has degree at least k + |I|.

    Let I be a subset of vertices with |I| = k + 1. By the minimum degree hypothesis, every vertex v satisfies deg(v) ≥ 2k + 2. Since k + |I| = 2k + 1 ≤ 2k + 2, linear arithmetic (omega) verifies that deg(v) ≥ k + |I|.

    lines 28–32

        · intro I hI
          have hdegree' : ∀ v, k+I.card ≤ (G.neighborFinset v).card := by
            intro v
            have hh := hdegree v
            omega
  3. The complement of I has at least 2k vertices.

    The total number of vertices in G is 4k, so the complement of I has cardinality 4k - |I|, computed via Fintype.card_subtype_compl, Fintype.card_fin, and Fintype.card_coe. Since |I| = k + 1 and k ≥ c ≥ 7, linear arithmetic (omega) confirms that 4k - (k + 1) = 3k - 1 ≥ 2k.

    lines 33–37

    uses Fintype.card_subtype_compl, Fintype.card_fin, Fintype.card_coe

          have hcard := Fintype.card_subtype_compl (fun v : Fin (4*k) => v ∈ I)
          simp only [Fintype.card_fin,Fintype.card_coe] at hcard
          have hsize : 2*k ≤ Fintype.card {v : Fin (4*k) // v ∉ I} := by
            rw [hcard]
            omega
  4. The induced subgraph on the complement of I contains a matching of size k, establishing that every independent set in G has size at most k.

    Because every vertex in G has degree at least k + |I|, op1957_induced_complement_min_degree implies that every vertex in the induced subgraph G[V \ I] has degree at least k. Since the complement has order at least 2k, op1957_min_degree_forces_matching guarantees a matching of size k in G[V \ I]. Supplying the assumption that U is independent concludes the proof that every independent set has size at most k.

    lines 38–40

    uses op1957_induced_complement_min_degree, op1957_min_degree_forces_matching

          have hdeg := op1957_induced_complement_min_degree G I k hdegree'
          exact op1957_min_degree_forces_matching (G.induce {v | v ∉ I}) k hsize hdeg
        · exact hU
  5. There exists a vertex y ∈ C \ {p, q} such that deleting the edge xy preserves k-extendability.

    Applying the known result boundary_five_odd_saturated_two_defect_removable_with_independence with all the ambient graph hypotheses together with the newly established bound on independent sets completes the proof.

    lines 41–43

    uses boundary_five_odd_saturated_two_defect_removable_with_independence

      exact boundary_five_odd_saturated_two_defect_removable_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
op1957_extendible_independence_of_complement_matching
In a k-extendable graph on 4k vertices, if the complement of every (k+1)-element vertex subset contains a matching of size k, then every independent set has size at most k.
Fintype.card_subtype_compl
The cardinality of the complement subtype {x // ¬p x} is equal to the cardinality of the ambient type minus the cardinality of the subtype {x // p x}.
Fintype.card_fin
The cardinality of Fin n is n.
Fintype.card_coe
The cardinality of the subtype corresponding to a finite set s is equal to the cardinality of s.
op1957_induced_complement_min_degree
If every vertex in a graph has degree at least d + |I| for a finite vertex set I, then in the induced subgraph on the complement of I, every vertex has degree at least d.
op1957_min_degree_forces_matching
A graph on at least 2k vertices in which every vertex has degree at least k contains a matching of size k.
boundary_five_odd_saturated_two_defect_removable_with_independence
Under the four-block partition, degree, separator, and factor-criticality hypotheses, if G is k-extendable, every independent set has size at most k, and x ∈ A is saturated toward A \ {x} and D with exactly two non-neighbors p, q ∈ C, then there exists an edge xy with y ∈ C \ {p, q} whose deletion preserves k-extendability.

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_has_removable_cross_edge    (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) (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  have hind : ∀ I : Finset (Fin (4*k)),      (∀ u ∈ I, ∀ v ∈ I, u ≠ v → ¬ G.Adj u v) → I.card ≤ k := by    intro U hU    apply op1957_extendible_independence_of_complement_matching k G hext    · intro I hI      have hdegree' : ∀ v, k+I.card ≤ (G.neighborFinset v).card := by        intro v        have hh := hdegree v        omega      have hcard := Fintype.card_subtype_compl (fun v : Fin (4*k) => v ∈ I)      simp only [Fintype.card_fin,Fintype.card_coe] at hcard      have hsize : 2*k ≤ Fintype.card {v : Fin (4*k) // v ∉ I} := by        rw [hcard]        omega      have hdeg := op1957_induced_complement_min_degree G I k hdegree'      exact op1957_min_degree_forces_matching (G.induce {v | v ∉ I}) k hsize hdeg    · exact hU  exact boundary_five_odd_saturated_two_defect_removable_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
See it in the graphDiscuss this resultChallenge it