AFTD Auto-Formalizing Theoretical Domains

boundary_five_odd_positive_large_shore_forces_common_defects

theoremverified

Under the displayed saturated five-by-odd partition, extendibility, independence, degree and separator hypotheses, a positive barrier whose x-shore meets A in at least three vertices yields either two common A-block defects or no y-neighbors among the four A vertices besides x.

Statement

theorem boundary_five_odd_positive_large_shore_forces_common_defects
    (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 : ∀ a ∈ C, ∀ b ∈ D, ¬ G.Adj a b)
    (hcritB : is_k_factor_critical (G.induce {v | v ∈ B}) 1)
    (hconnB : (G.induce {v | v ∈ B}).Connected)
    (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)
    (hdegree : ∀ v, 2*k+2 ≤ (G.neighborFinset v).card)
    (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)
    (x p q y : Fin (4*k)) (hxA : x ∈ A) (hp : p ∈ C) (hq : q ∈ C)
    (hpq : p ≠ q) (hxp : ¬ G.Adj x p) (hxq : ¬ G.Adj x q)
    (hfull : ∀ z ∈ C, z ≠ p → z ≠ q → G.Adj x z)
    (hsatA : ∀ a ∈ A, a ≠ x → G.Adj x a)
    (hsatD : ∀ d ∈ D, G.Adj x d)
    (hyC : y ∈ C) (hyp : y ≠ p) (hyq : y ≠ q)
    (X Y U : Finset (Fin (4*k))) (s : ℕ)
    (hXY : Disjoint X Y) (hXU : Disjoint X U) (hYU : Disjoint Y U)
    (hxX : x ∈ X) (hyY : y ∈ Y) (hoddX : Odd X.card) (hoddY : Odd Y.card)
    (hs : 1 ≤ s) (hsize : X.card+Y.card+U.card+s=2*k)
    (hUodd : s ≤ (G.induce {v | v ∈ U}).oddComponents.ncard)
    (hUparity : U.card % 2 = s % 2)
    (hcross : ∀ a ∈ X, ∀ b ∈ Y, G.Adj a b → a=x ∧ b=y)
    (hantiX : ∀ a ∈ X, ∀ u ∈ U, ¬ G.Adj a u)
    (hantiY : ∀ b ∈ Y, ∀ u ∈ U, ¬ G.Adj b u)
    (hlarge : 3 ≤ (X ∩ A).card) :
    (∃ r ∈ ({p,q} : Finset (Fin (4*k))), ∃ T ⊆ A.erase x, T.card=2 ∧
      ∀ a ∈ T, ¬ G.Adj a y ∧ ¬ G.Adj a r) ∨
    (∀ a ∈ A.erase x, ¬ G.Adj a y)
Source
OP-1957: large-shore positive-barrier assembly under the stated degree and separator hypotheses.
Verified
27 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 11
Used by 1

The proof, explained

The proof establishes the desired defects on A by ruling out the only alternative configuration. Because the saturated vertex x ∈ X is adjacent to almost all of A, C, and D, the remaining barrier shores Y and U must be confined to B ∪ {p, q, y}. A reduction lemma (op1957_large_shore_reduction_to_B_only) then shows that the theorem's conclusion holds unless Y and U are completely restricted to B (apart from y) and 3 ≤ |X ∩ A| ≤ 4. Finally, this remaining B-only case is shown to be impossible by boundary_five_odd_large_shore_B_only_positive_barrier_impossible using the connectivity and factor-criticality of B.

  1. No vertex in U is adjacent to x.

    Since x ∈ X, this is an immediate specialization of the hypothesis hantiX, which asserts that no edge connects any vertex of X to any vertex of U.

    lines 39–40

      classical
      have hanti : ∀ u ∈ U, ¬ G.Adj x u := fun u hu => hantiX x hxX u hu
  2. The union of shores Y ∪ U is contained in B ∪ {p, q, y}.

    By in1159_saturated_other_shores_subset, the saturation of x (it is adjacent to all of A \ {x}, D, and C \ {p, q}) together with the absence of edges from x to U and from X \ {x} to Y forces all vertices of Y and U other than y to lie outside the neighborhood of x, which restricts them to B ∪ {p, q}.

    lines 41–43

    uses in1159_saturated_other_shores_subset

      have hregion : Y ∪ U ⊆ B ∪ {p,q,y} :=
        in1159_saturated_other_shores_subset G A B C D X Y U x y p q
          hAC hCD hcover hxX hyC hXY hXU hcross hanti hsatA hsatD hfull
  3. It suffices to show that the configuration Y ⊆ B ∪ {y}, U ⊆ B, and |X ∩ A| ≤ 4 is impossible.

    Applying op1957_large_shore_reduction_to_B_only, the given conditions |A| = 5, |X ∩ A| ≥ 3, and Y ∪ U ⊆ B ∪ {p, q, y} imply the desired disjunction unless the shores Y and U are restricted entirely to B (aside from y) with |X ∩ A| ≤ 4.

    lines 44–45

    uses op1957_large_shore_reduction_to_B_only

      apply op1957_large_shore_reduction_to_B_only G A B X Y U x y p q hxA hxX hyY hYU hA
        hcross hantiX hregion hlarge
  4. The configuration Y ⊆ B ∪ {y}, U ⊆ B, and |X ∩ A| ≤ 4 is impossible, completing the proof.

    Assuming Y ⊆ B ∪ {y}, U ⊆ B, and |X ∩ A| ≤ 4, we have 3 ≤ |X ∩ A| ≤ 4. Lemma boundary_five_odd_large_shore_B_only_positive_barrier_impossible shows that such a positive barrier (s ≥ 1) cannot coexist with the 1-factor-critical, connected block B and the degree and separator hypotheses, deriving a contradiction.

    lines 46–49

    uses boundary_five_odd_large_shore_B_only_positive_barrier_impossible

      intro hY hU hle
      exact boundary_five_odd_large_shore_B_only_positive_barrier_impossible k c hc hkc G A B C D X Y U
        hAB hAC hAD hBC hBD hCD hcover hA hB hC hD hnoAB hnoCD hcritB hconnB hdegree hsep
        x y hxA hyC hxX hyY hXY hXU hYU hY hU s hs hsize hUodd hUparity hcross hantiX hantiY ⟨hlarge,hle⟩
in1159_saturated_other_shores_subset
Under a four-part partition A ∪ B ∪ C ∪ D = V, if a vertex x ∈ X is adjacent to all of A \ {x}, D, and C \ {p, q}, and there are no edges from x to U and no cross-edges between X and Y other than possibly between x and y, then Y ∪ U is contained in B ∪ {p, q, y}.
op1957_large_shore_reduction_to_B_only
When |A| = 5, |X ∩ A| ≥ 3, and Y ∪ U ⊆ B ∪ {p, q, y}, either there are two vertices in A \ {x} non-adjacent to y and to some r ∈ {p, q}, or y has no neighbors in A \ {x}, provided that the configuration Y ⊆ B ∪ {y}, U ⊆ B, and |X ∩ A| ≤ 4 leads to a contradiction.
boundary_five_odd_large_shore_B_only_positive_barrier_impossible
Under the five-by-odd partition and positive barrier hypotheses (s ≥ 1), it is impossible to have Y ⊆ B ∪ {y}, U ⊆ B, and 3 ≤ |X ∩ A| ≤ 4.

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_positive_large_shore_forces_common_defects    (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 : ∀ a ∈ C, ∀ b ∈ D, ¬ G.Adj a b)    (hcritB : is_k_factor_critical (G.induce {v | v ∈ B}) 1)    (hconnB : (G.induce {v | v ∈ B}).Connected)    (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)    (hdegree : ∀ v, 2*k+2 ≤ (G.neighborFinset v).card)    (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)    (x p q y : Fin (4*k)) (hxA : x ∈ A) (hp : p ∈ C) (hq : q ∈ C)    (hpq : p ≠ q) (hxp : ¬ G.Adj x p) (hxq : ¬ G.Adj x q)    (hfull : ∀ z ∈ C, z ≠ p → z ≠ q → G.Adj x z)    (hsatA : ∀ a ∈ A, a ≠ x → G.Adj x a)    (hsatD : ∀ d ∈ D, G.Adj x d)    (hyC : y ∈ C) (hyp : y ≠ p) (hyq : y ≠ q)    (X Y U : Finset (Fin (4*k))) (s : ℕ)    (hXY : Disjoint X Y) (hXU : Disjoint X U) (hYU : Disjoint Y U)    (hxX : x ∈ X) (hyY : y ∈ Y) (hoddX : Odd X.card) (hoddY : Odd Y.card)    (hs : 1 ≤ s) (hsize : X.card+Y.card+U.card+s=2*k)    (hUodd : s ≤ (G.induce {v | v ∈ U}).oddComponents.ncard)    (hUparity : U.card % 2 = s % 2)    (hcross : ∀ a ∈ X, ∀ b ∈ Y, G.Adj a b → a=x ∧ b=y)    (hantiX : ∀ a ∈ X, ∀ u ∈ U, ¬ G.Adj a u)    (hantiY : ∀ b ∈ Y, ∀ u ∈ U, ¬ G.Adj b u)    (hlarge : 3 ≤ (X ∩ A).card) :    (∃ r ∈ ({p,q} : Finset (Fin (4*k))), ∃ T ⊆ A.erase x, T.card=2 ∧      ∀ a ∈ T, ¬ G.Adj a y ∧ ¬ G.Adj a r) ∨    (∀ a ∈ A.erase x, ¬ G.Adj a y) := by  classical  have hanti : ∀ u ∈ U, ¬ G.Adj x u := fun u hu => hantiX x hxX u hu  have hregion : Y ∪ U ⊆ B ∪ {p,q,y} :=    in1159_saturated_other_shores_subset G A B C D X Y U x y p q      hAC hCD hcover hxX hyC hXY hXU hcross hanti hsatA hsatD hfull  apply op1957_large_shore_reduction_to_B_only G A B X Y U x y p q hxA hxX hyY hYU hA    hcross hantiX hregion hlarge  intro hY hU hle  exact boundary_five_odd_large_shore_B_only_positive_barrier_impossible k c hc hkc G A B C D X Y U    hAB hAC hAD hBC hBD hCD hcover hA hB hC hD hnoAB hnoCD hcritB hconnB hdegree hsep    x y hxA hyC hxX hyY hXY hXU hYU hY hU s hs hsize hUodd hUparity hcross hantiX hantiY ⟨hlarge,hle⟩
See it in the graphDiscuss this resultChallenge it