AFTD Auto-Formalizing Theoretical Domains

factorcritical_anticomplete_odd_groups_bound

theoremverified

In a finite 1-factor-critical graph, pairwise disjoint odd vertex groups that are each anticomplete to the rest of a set L cannot outnumber the vertices outside L, provided L contains a vertex outside all groups. The groups need not be connected.

Statement

theorem factorcritical_anticomplete_odd_groups_bound
    {V I : Type*} [Fintype V] [DecidableEq V] [DecidableEq I]
    (H : SimpleGraph V) [DecidableRel H.Adj] (hcrit : is_k_factor_critical H 1)
    (J : Finset I) (F : I → Finset V) (L : Finset V)
    (hsub : ∀ i ∈ J, F i ⊆ L)
    (hodd : ∀ i ∈ J, Odd (F i).card)
    (hdis : ∀ i ∈ J, ∀ j ∈ J, i ≠ j → Disjoint (F i) (F j))
    (hanti : ∀ i ∈ J, ∀ u ∈ F i, ∀ v ∈ L, v ∉ F i → ¬ H.Adj u v)
    (z : V) (hzL : z ∈ L) (hz : ∀ i ∈ J, z ∉ F i) :
    J.card ≤ ((Finset.univ : Finset V) \ L).card
Source
OP-1957: factor-critical component-count inequality for grouped barrier pieces.
Verified
24 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
Used by 4

The proof, explained

The theorem deduces the bound from a stronger existing result, factorcritical_odd_groups_deleted_vertex_bound, which bounds the number of odd groups by |(V \ L) \ {z}| for any vertex z outside the groups. Since removing an element from a finite set produces a subset, |(V \ L) \ {z}| ≤ |V \ L|, and transitivity of inequality immediately yields the result.

  1. |J| ≤ |(V \ L) \ {z}|

    Enabling classical reasoning, we apply the existing theorem factorcritical_odd_groups_deleted_vertex_bound to obtain the bound that the number of odd groups is at most the cardinality of (V \ L) \ {z}, since z is a vertex not contained in any of the odd groups.

    lines 11–12

    uses factorcritical_odd_groups_deleted_vertex_bound

      classical
      have hb := factorcritical_odd_groups_deleted_vertex_bound H hcrit J F L hsub hodd hdis hanti z hz
  2. |J| ≤ |V \ L|

    Erasing z from V \ L yields a subset of V \ L by Finset.erase_subset, so its cardinality is at most |V \ L| by Finset.card_le_card. Combining this with the previous bound hb using the transitivity of inequality (le_trans) establishes |J| ≤ |V \ L|.

    line 13

    uses le_trans, Finset.card_le_card, Finset.erase_subset

      exact le_trans hb (Finset.card_le_card (Finset.erase_subset _ _))
factorcritical_odd_groups_deleted_vertex_bound
In a 1-factor-critical graph, the number of pairwise disjoint odd sets contained in L and anticomplete to the remainder of L is at most |(V \ L) \ {z}| for any vertex z outside all the odd sets.
le_trans
Inequality is transitive: if a ≤ b and b ≤ c, then a ≤ c.
Finset.card_le_card
A finite subset has cardinality at most that of its superset: if s ⊆ t, then |s| ≤ |t|.
Finset.erase_subset
Erasing an element from a finite set produces a subset of the original set: s \ {a} ⊆ s.

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 factorcritical_anticomplete_odd_groups_bound    {V I : Type*} [Fintype V] [DecidableEq V] [DecidableEq I]    (H : SimpleGraph V) [DecidableRel H.Adj] (hcrit : is_k_factor_critical H 1)    (J : Finset I) (F : I → Finset V) (L : Finset V)    (hsub : ∀ i ∈ J, F i ⊆ L)    (hodd : ∀ i ∈ J, Odd (F i).card)    (hdis : ∀ i ∈ J, ∀ j ∈ J, i ≠ j → Disjoint (F i) (F j))    (hanti : ∀ i ∈ J, ∀ u ∈ F i, ∀ v ∈ L, v ∉ F i → ¬ H.Adj u v)    (z : V) (hzL : z ∈ L) (hz : ∀ i ∈ J, z ∉ F i) :    J.card ≤ ((Finset.univ : Finset V) \ L).card := by  classical  have hb := factorcritical_odd_groups_deleted_vertex_bound H hcrit J F L hsub hodd hdis hanti z hz  exact le_trans hb (Finset.card_le_card (Finset.erase_subset _ _))
See it in the graphDiscuss this resultChallenge it