AFTD Auto-Formalizing Theoretical Domains

saturated_small_shore_singleton_pool_empty

theoremverified

Under the displayed saturated four-shore hypotheses, a singleton pool with a=1 and at most two exceptional groups is empty.

Statement

theorem saturated_small_shore_singleton_pool_empty
    {I : Type*} [DecidableEq I]
    (k e : ℕ) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]
    (hext : is_k_extendable G k)
    (hdegree : ∀ v, 2*k+1 ≤ (G.neighborFinset v).card)
    (hind : ∀ I : Finset (Fin (4*k)),
      (∀ x ∈ I, ∀ y ∈ I, x ≠ y → ¬ G.Adj x y) → I.card ≤ k)
    (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)
    (A B E : Finset (Fin (4*k))) (F : Fin 4 → Finset (Fin (4*k)))
    (J : Finset I) (Q : I → Finset (Fin (4*k)))
    (hA : A.card=5) (hAB : Disjoint A B) (hEB : E ⊆ B)
    (hnoAB : ∀ a ∈ A, ∀ b ∈ B, ¬ G.Adj a b)
    (hFdis : ∀ i j, i ≠ j → Disjoint (F i) (F j))
    (hFzero : ∀ i : Fin 4, i ≠ 0 → Disjoint (F i) A)
    (hFE : ∀ i, Disjoint (F i) E)
    (hFanti : ∀ i, ∀ u ∈ F i, ∀ v ∈ E, ¬ G.Adj u v)
    (hQsub : ∀ i ∈ J, Q i ⊆ E) (hQne : ∀ i ∈ J, (Q i).Nonempty)
    (hQdis : ∀ i ∈ J, ∀ j ∈ J, i ≠ j → Disjoint (Q i) (Q j))
    (hQanti : ∀ i ∈ J, ∀ j ∈ J, i ≠ j → ∀ u ∈ Q i, ∀ v ∈ Q j, ¬ G.Adj u v)
    (htotal : (∑ i : Fin 4, (F i).card) + E.card + J.card + e = 2*k)
    (hm : J.card ≤ k)
    (hsingle : E.card = J.card) (ha : (F 0 ∩ A).card = 1) (he : e ≤ 2) :
    J.card = 0
Source
Positive-separator transfer for OP-1957; https://arxiv.org/abs/2611.22690.
Verified
27 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
Used by 3

The proof, explained

The proof proceeds by contradiction. Assuming the index set J is nonempty, a known strict deficit bound for saturated four-shore barrier configurations implies |J| + 4 ≤ e + |E| + |F 0 ∩ A|. Substituting the singleton pool condition |E| = |J|, the intersection size |F 0 ∩ A| = 1, and the bound e ≤ 2 yields |J| + 4 ≤ |J| + 3, an impossible inequality. Therefore, J must be empty, meaning |J| = 0.

  1. Assuming for contradiction that |J| ≠ 0, the pool index set J is nonempty.

    We argue by contradiction and assume |J| ≠ 0. Since any non-zero natural number is strictly positive (Nat.pos_of_ne_zero), the cardinality of J is positive, which implies that J is nonempty (Finset.card_pos.mp).

    lines 26–29

    uses Finset.card_pos.mp, Nat.pos_of_ne_zero

      set_option maxHeartbeats 4000000 in
        classical
        by_contra hn
        have hJ : J.Nonempty := Finset.card_pos.mp (Nat.pos_of_ne_zero hn)
  2. |J| + 4 ≤ e + |E| + |F 0 ∩ A|

    With J established to be nonempty, the theorem saturated_barrier_pool_common_nonneighbor_strict_deficit_bound applies to the four-shore saturation hypotheses, yielding the strict deficit bound |J| + 4 ≤ e + |E| + |F 0 ∩ A|.

    lines 30–31

    uses saturated_barrier_pool_common_nonneighbor_strict_deficit_bound

        have hb := saturated_barrier_pool_common_nonneighbor_strict_deficit_bound k e G hext hdegree hind hsep
          A B E F J Q hA hAB hEB hnoAB hFdis hFzero hFE hFanti hQsub hQne hQdis hQanti htotal hm hJ
  3. Contradiction, establishing |J| = 0. automation

    Combining the deficit bound |J| + 4 ≤ e + |E| + |F 0 ∩ A| with the singleton pool condition |E| = |J|, the intersection size |F 0 ∩ A| = 1, and the bound e ≤ 2 gives |J| + 4 ≤ 2 + |J| + 1 = |J| + 3, which simplifies to 4 ≤ 3. Linear integer arithmetic detects this contradiction and closes the proof.

    line 32

        omega
Finset.card_pos.mp
A finite set with strictly positive cardinality is nonempty.
Nat.pos_of_ne_zero
A non-zero natural number is strictly greater than zero.
saturated_barrier_pool_common_nonneighbor_strict_deficit_bound
Under the saturated four-shore hypotheses, if the pool index set J is nonempty, then |J| + 4 ≤ e + |E| + |F 0 ∩ A|.

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 saturated_small_shore_singleton_pool_empty    {I : Type*} [DecidableEq I]    (k e : ℕ) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]    (hext : is_k_extendable G k)    (hdegree : ∀ v, 2*k+1 ≤ (G.neighborFinset v).card)    (hind : ∀ I : Finset (Fin (4*k)),      (∀ x ∈ I, ∀ y ∈ I, x ≠ y → ¬ G.Adj x y) → I.card ≤ k)    (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)    (A B E : Finset (Fin (4*k))) (F : Fin 4 → Finset (Fin (4*k)))    (J : Finset I) (Q : I → Finset (Fin (4*k)))    (hA : A.card=5) (hAB : Disjoint A B) (hEB : E ⊆ B)    (hnoAB : ∀ a ∈ A, ∀ b ∈ B, ¬ G.Adj a b)    (hFdis : ∀ i j, i ≠ j → Disjoint (F i) (F j))    (hFzero : ∀ i : Fin 4, i ≠ 0 → Disjoint (F i) A)    (hFE : ∀ i, Disjoint (F i) E)    (hFanti : ∀ i, ∀ u ∈ F i, ∀ v ∈ E, ¬ G.Adj u v)    (hQsub : ∀ i ∈ J, Q i ⊆ E) (hQne : ∀ i ∈ J, (Q i).Nonempty)    (hQdis : ∀ i ∈ J, ∀ j ∈ J, i ≠ j → Disjoint (Q i) (Q j))    (hQanti : ∀ i ∈ J, ∀ j ∈ J, i ≠ j → ∀ u ∈ Q i, ∀ v ∈ Q j, ¬ G.Adj u v)    (htotal : (∑ i : Fin 4, (F i).card) + E.card + J.card + e = 2*k)    (hm : J.card ≤ k)    (hsingle : E.card = J.card) (ha : (F 0 ∩ A).card = 1) (he : e ≤ 2) :    J.card = 0 := by  set_option maxHeartbeats 4000000 in    classical    by_contra hn    have hJ : J.Nonempty := Finset.card_pos.mp (Nat.pos_of_ne_zero hn)    have hb := saturated_barrier_pool_common_nonneighbor_strict_deficit_bound k e G hext hdegree hind hsep      A B E F J Q hA hAB hEB hnoAB hFdis hFzero hFE hFanti hQsub hQne hQdis hQanti htotal hm hJ    omega
See it in the graphDiscuss this resultChallenge it