AFTD Auto-Formalizing Theoretical Domains

op1957_factorcritical_general_group_defect_bound

theoremverified

Under the displayed factor-critical block and anticomplete shore hypotheses, the number of odd groups plus the first-shore odd indicator and occupied block vertices is at most the block size plus the pool vertices outside the block.

Statement

theorem op1957_factorcritical_general_group_defect_bound
    {V I : Type*} [Fintype V] [DecidableEq V] [DecidableEq I]
    (G : SimpleGraph V) [DecidableRel G.Adj] (B X Y : Finset V)
    (K : Finset I) (T : I → Finset V)
    (hcrit : is_k_factor_critical (G.induce {v | v ∈ B}) 1)
    (hXY : Disjoint X Y)
    (hXT : ∀ i ∈ K, Disjoint X (T i)) (hYT : ∀ i ∈ K, Disjoint Y (T i))
    (hTT : ∀ i ∈ K, ∀ j ∈ K, i ≠ j → Disjoint (T i) (T j))
    (hantiXY : ∀ u ∈ X ∩ B, ∀ v ∈ Y ∩ B, ¬ G.Adj u v)
    (hantiXT : ∀ i ∈ K, ∀ u ∈ X, ∀ v ∈ T i, ¬ G.Adj u v)
    (hantiYT : ∀ i ∈ K, ∀ u ∈ Y, ∀ v ∈ T i, ¬ G.Adj u v)
    (hantiTT : ∀ i ∈ K, ∀ j ∈ K, i ≠ j → ∀ u ∈ T i, ∀ v ∈ T j, ¬ G.Adj u v)
    (hYB : (Y ∩ B).Nonempty) (hoddT : ∀ i ∈ K, Odd (T i).card) :
    let U := K.biUnion T
    let R := X ∪ Y ∪ U
    K.card + (if Odd ((X ∩ B).card) then 1 else 0) + (B ∩ R).card ≤ B.card + (U \ B).card
Source
OP-1957: one-defect boundary graph-to-count transfer, arXiv:2611.22690
Verified
29 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
Used by 1

The proof, explained

The proof combines two inequalities: a parity bound on the factor-critical block B and a defect bound on odd sets. First, factor-criticality and anticompleteness bound the number of groups T i having an odd intersection with B together with the block overlap. Second, because each group T i has odd cardinality, any group whose intersection with B is even must contribute at least one vertex outside B, providing a lower bound on the number of odd-intersection groups. Adding these two inequalities via linear arithmetic cancels the intermediate count and establishes the desired bound.

  1. The number of groups T i whose intersection with the block B has odd size, plus the odd indicator for |X ∩ B| and the block overlap |B ∩ R|, is at most |B|.

    After enabling classical logic and expanding the definitions of the union U = ⋃_{i ∈ K} T i and total region R = X ∪ Y ∪ U, the theorem op1957_factorcritical_endpoint_group_parity_bound is applied. Given the 1-factor-criticality of B (hcrit), the pairwise disjointness of X, Y, and the groups T i (hXY, hXT, hYT, hTT), the anticompleteness between them (hantiXY, hantiXT, hantiYT, hantiTT), and the nonemptiness of Y ∩ B (hYB), this establishes that |{i ∈ K | Odd |T i ∩ B|}| + (if Odd |X ∩ B| then 1 else 0) + |B ∩ R| ≤ |B|.

    lines 17–20

    uses op1957_factorcritical_endpoint_group_parity_bound

      classical
      dsimp only
      have hbound := op1957_factorcritical_endpoint_group_parity_bound G B X Y K T
        hcrit hXY hXT hYT hTT hantiXY hantiXT hantiYT hantiTT hYB
  2. The total number of groups |K| is at most the number of groups with an odd intersection with B plus the number of pooled vertices outside B.

    By op1957_odd_group_intersection_defect_bound, because the sets T i are pairwise disjoint (hTT) and each has odd cardinality (hoddT), any set T i whose intersection with B has even size must contribute at least one vertex outside B to U \\ B (since an odd number minus an even number is at least 1). Summing this defect over all groups yields |K| ≤ |{i ∈ K | Odd |T i ∩ B|}| + |U \\ B|.

    line 21

    uses op1957_odd_group_intersection_defect_bound

      have hcharge := op1957_odd_group_intersection_defect_bound B K T hTT hoddT
  3. |K| + (if Odd |X ∩ B| then 1 else 0) + |B ∩ R| ≤ |B| + |U \\ B|. automation

    After definitional simplification of both bounds, linear integer arithmetic (omega) closes the goal by combining the defect lower bound |{i ∈ K | Odd |T i ∩ B|}| ≥ |K| - |U \\ B| with the parity bound on |B|.

    lines 22–23

      dsimp only at hbound hcharge
      omega
op1957_factorcritical_endpoint_group_parity_bound
In a graph with a 1-factor-critical block B, disjoint and anticomplete subsets X, Y, and (T i)_{i ∈ K}, with Y ∩ B nonempty, the number of groups T i having an odd-sized intersection with B, plus 1 if |X ∩ B| is odd, plus |B ∩ (X ∪ Y ∪ ⋃_{i ∈ K} T i)|, is at most |B|.
op1957_odd_group_intersection_defect_bound
For pairwise disjoint finite sets T i (i ∈ K) each of odd cardinality, the total number of sets |K| is at most the number of sets whose intersection with B is odd plus the number of elements of ⋃_{i ∈ K} T i outside B.

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 op1957_factorcritical_general_group_defect_bound    {V I : Type*} [Fintype V] [DecidableEq V] [DecidableEq I]    (G : SimpleGraph V) [DecidableRel G.Adj] (B X Y : Finset V)    (K : Finset I) (T : I → Finset V)    (hcrit : is_k_factor_critical (G.induce {v | v ∈ B}) 1)    (hXY : Disjoint X Y)    (hXT : ∀ i ∈ K, Disjoint X (T i)) (hYT : ∀ i ∈ K, Disjoint Y (T i))    (hTT : ∀ i ∈ K, ∀ j ∈ K, i ≠ j → Disjoint (T i) (T j))    (hantiXY : ∀ u ∈ X ∩ B, ∀ v ∈ Y ∩ B, ¬ G.Adj u v)    (hantiXT : ∀ i ∈ K, ∀ u ∈ X, ∀ v ∈ T i, ¬ G.Adj u v)    (hantiYT : ∀ i ∈ K, ∀ u ∈ Y, ∀ v ∈ T i, ¬ G.Adj u v)    (hantiTT : ∀ i ∈ K, ∀ j ∈ K, i ≠ j → ∀ u ∈ T i, ∀ v ∈ T j, ¬ G.Adj u v)    (hYB : (Y ∩ B).Nonempty) (hoddT : ∀ i ∈ K, Odd (T i).card) :    let U := K.biUnion T    let R := X ∪ Y ∪ U    K.card + (if Odd ((X ∩ B).card) then 1 else 0) + (B ∩ R).card ≤ B.card + (U \ B).card := by  classical  dsimp only  have hbound := op1957_factorcritical_endpoint_group_parity_bound G B X Y K T    hcrit hXY hXT hYT hTT hantiXY hantiXT hantiYT hantiTT hYB  have hcharge := op1957_odd_group_intersection_defect_bound B K T hTT hoddT  dsimp only at hbound hcharge  omega
See it in the graphDiscuss this resultChallenge it