AFTD Auto-Formalizing Theoretical Domains

factorcritical_odd_groups_outside_vertex_bound

theoremverified

In a factor-critical graph, pairwise disjoint odd sets anticomplete to the rest of L require at least one distinct matching partner outside L for each set, after deleting any specified vertex outside L; consequently the outside of L has at least one more vertex than the number of odd sets.

Statement

theorem factorcritical_odd_groups_outside_vertex_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) :
    J.card + 1 ≤ ((Finset.univ : Finset V) \ L).card
Source
OP-1957: stronger factor-critical block count for arbitrary barrier components.
Verified
24 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
Used by 1

The proof, explained

The theorem is proved by applying factorcritical_odd_groups_deleted_vertex_bound with the vertex $z \notin L$, which is disjoint from every odd set $F_i \subseteq L$. This gives that the number of odd sets $|J|$ is at most the number of vertices in $V \setminus L$ after deleting $z$. Since $z \in V \setminus L$, removing $z$ reduces the cardinality of $V \setminus L$ by exactly 1, yielding $|J| \le |V \setminus L| - 1$. Adding 1 to both sides then gives $|J| + 1 \le |V \setminus L|$.

  1. The vertex $z$ does not belong to any $F_i$, which implies $|J| \le |(V \setminus L) \setminus \{z\}|$.

    Since each $F_i \subseteq L$ for $i \in J$ and $z \notin L$, the vertex $z$ cannot be in any $F_i$. Applying the lemma factorcritical_odd_groups_deleted_vertex_bound with vertex $z$ therefore yields that $|J|$ is at most the number of vertices in $V \setminus L$ excluding $z$.

    lines 11–13

    uses factorcritical_odd_groups_deleted_vertex_bound

      classical
      have hz : ∀ i ∈ J, z ∉ F i := fun i hi hzi => hzL (hsub i hi hzi)
      have hb := factorcritical_odd_groups_deleted_vertex_bound H hcrit J F L hsub hodd hdis hanti z hz
  2. $|(V \setminus L) \setminus \{z\}| = |V \setminus L| - 1$, and $|V \setminus L| > 0$.

    Since $z \notin L$, $z$ belongs to the complement $V \setminus L$. Removing $z$ reduces the cardinality of $V \setminus L$ by 1 by Finset.card_erase_of_mem, rewriting the previous bound as $|J| \le |V \setminus L| - 1$. Furthermore, the existence of $z \in V \setminus L$ shows via Finset.card_pos.mpr that $|V \setminus L| > 0$.

    lines 14–16

    uses Finset.card_erase_of_mem, Finset.card_pos.mpr

      have hmem : z ∈ ((Finset.univ : Finset V) \ L) := by simp [hzL]
      rw [Finset.card_erase_of_mem hmem] at hb
      have hc := Finset.card_pos.mpr ⟨z,hmem⟩
  3. $|J| + 1 \le |V \setminus L|$.

    From $|J| \le |V \setminus L| - 1$ and $|V \setminus L| > 0$, linear integer arithmetic over ℕ (handled by omega) immediately concludes that $|J| + 1 \le |V \setminus L|$.

    line 17

      omega
factorcritical_odd_groups_deleted_vertex_bound
In a factor-critical graph, given pairwise disjoint odd sets in $L$ that have no edges to the rest of $L$, and any vertex $z$ outside all these sets, the number of odd sets is at most the number of vertices in $V \setminus L$ after removing $z$: $|J| \le |(V \setminus L) \setminus \{z\}|$.
Finset.card_erase_of_mem
Removing an element $a$ from a finite set $s$ of which it is a member decreases its cardinality by 1: $|s \setminus \{a\}| = |s| - 1$.
Finset.card_pos.mpr
A finite set has strictly positive cardinality if it is nonempty.

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_odd_groups_outside_vertex_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) :    J.card + 1 ≤ ((Finset.univ : Finset V) \ L).card := by  classical  have hz : ∀ i ∈ J, z ∉ F i := fun i hi hzi => hzL (hsub i hi hzi)  have hb := factorcritical_odd_groups_deleted_vertex_bound H hcrit J F L hsub hodd hdis hanti z hz  have hmem : z ∈ ((Finset.univ : Finset V) \ L) := by simp [hzL]  rw [Finset.card_erase_of_mem hmem] at hb  have hc := Finset.card_pos.mpr ⟨z,hmem⟩  omega
See it in the graphDiscuss this resultChallenge it