op1957_factorcritical_block_odd_groups_outside_bound
Factorcritical block odd groups outside bound.
Statement
theorem op1957_factorcritical_block_odd_groups_outside_bound {V I : Type*} [Fintype V] [DecidableEq V] [DecidableEq I] (G : SimpleGraph V) [DecidableRel G.Adj] (B R : Finset V) (hcrit : is_k_factor_critical (G.induce {v | v ∈ B}) 1) (J : Finset I) (F : I → Finset V) (hsub : ∀ i ∈ J, F i ⊆ B ∩ R) (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 ∈ B ∩ R, v ∉ F i → ¬ G.Adj u v) (z : V) (hzB : z ∈ B) (hzR : z ∉ R) : J.card + 1 ≤ (B \ R).card
- Source
- OP-1957; positive-separator graph-to-count transfer.
- Verified
- 26 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 2
- factorcritical_odd_groups_outside_vertex_boundIn a factor-critical graph, pairwise disjoint odd sets anticomplete to the rest of L require at least one distinct matching partner…
- is_k_factor_criticalA simple graph G on a finite vertex type V is k-factor-critical if for every subset S of V with cardinality k, the induced subgraph on Sᶜ…
- Used by 1
- op1957_factorcritical_block_two_family_countFactorcritical block two family count.
The proof, explained
The theorem is proved by transferring the setup to the induced subgraph H = G[B] on the subtype of vertices belonging to B. The subsets B ∩ R, the odd components F i, and the outside vertex z are restricted to this subtype, where they satisfy all conditions of factorcritical_odd_groups_outside_vertex_bound. Applying this lemma bounds |J| + 1 by the number of vertices in H outside L, which is precisely |B \ R|.
Define the induced subgraph H = G[B] and restrict the subsets to the subtype of vertices in B.
We pass to the subtype {v // v ∈ B}. In this subtype, H is the induced subgraph G[B], L is the restriction of R to B (representing B ∩ R), and each Q i is the restriction of F i to B.
classical let H := G.induce {v | v ∈ B} let L : Finset {v // v ∈ B} := R.subtype (· ∈ B) let Q : I → Finset {v // v ∈ B} := fun i => (F i).subtype (· ∈ B)
For each i ∈ J, Q i is a subset of L.
For any u ∈ Q i, the underlying vertex lies in F i. Since F i ⊆ B ∩ R by assumption, the vertex belongs to R, and hence u ∈ L.
uses
Finset.mem_inter.mphave hQsub : ∀ i ∈ J, Q i ⊆ L := by intro i hi u hu have huF : u.val ∈ F i := by simpa [Q] using hu have huR : u.val ∈ R := (Finset.mem_inter.mp (hsub i hi huF)).2 simpa [L] using huR
For each i ∈ J, the cardinality of Q i is odd.
Because F i ⊆ B, filtering F i by membership in B leaves F i unchanged, so |Q i| = |F i|. Since |F i| is odd by hypothesis, |Q i| is odd.
uses
Finset.filter_true_of_mem,Finset.mem_inter.mp,Finset.card_subtypehave hQodd : ∀ i ∈ J, Odd (Q i).card := by intro i hi have he : (F i).filter (· ∈ B) = F i := Finset.filter_true_of_mem (by intro u hu exact (Finset.mem_inter.mp (hsub i hi hu)).1) simpa [Q,Finset.card_subtype,he] using hodd i hi
The sets Q i and Q j are pairwise disjoint for distinct i, j ∈ J.
If an element of the subtype belonged to both Q i and Q j, its underlying vertex would belong to both F i and F j, contradicting the assumption that F i and F j are disjoint for i ≠ j.
uses
Finset.disjoint_left.mpr,Finset.disjoint_left.mphave hQdis : ∀ i ∈ J, ∀ j ∈ J, i ≠ j → Disjoint (Q i) (Q j) := by intro i hi j hj hij apply Finset.disjoint_left.mpr intro u hui huj have hui' : u.val ∈ F i := by simpa [Q] using hui have huj' : u.val ∈ F j := by simpa [Q] using huj exact Finset.disjoint_left.mp (hdis i hi j hj hij) hui' huj'
For each i ∈ J, there are no edges in H between Q i and L \\ Q i.
If u ∈ Q i and v ∈ L \\ Q i were adjacent in H, their underlying vertices would satisfy u.val ∈ F i and v.val ∈ (B ∩ R) \\ F i with an edge in G between them. This contradicts the hypothesis hanti that no such edges exist.
uses
Finset.mem_inter.mprhave hQanti : ∀ i ∈ J, ∀ u ∈ Q i, ∀ v ∈ L, v ∉ Q i → ¬ H.Adj u v := by intro i hi u hu v hv hvQ hadj have huF : u.val ∈ F i := by simpa [Q] using hu have hvR : v.val ∈ R := by simpa [L] using hv have hvF : v.val ∉ F i := by simpa [Q] using hvQ exact hanti i hi u.val huF v.val (Finset.mem_inter.mpr ⟨v.property,hvR⟩) hvF hadj
The number of odd blocks plus 1 is bounded by the number of vertices in H outside L, that is, |J| + 1 ≤ |V(H) \\ L|.
Since z ∈ B and z ∉ R, the element z' = ⟨z, hzB⟩ in the subtype does not belong to L. Having checked all required hypotheses on the 1-factor-critical graph H, we invoke the lemma factorcritical_odd_groups_outside_vertex_bound to obtain |J| + 1 ≤ |V(H) \\ L|.
uses
factorcritical_odd_groups_outside_vertex_boundlet z' : {v // v ∈ B} := ⟨z,hzB⟩ have hzL : z' ∉ L := by simpa [L,z'] using hzR have hh := factorcritical_odd_groups_outside_vertex_bound H hcrit J Q L hQsub hQodd hQdis hQanti z' hzL
Conclude that |J| + 1 ≤ |B \\ R|.
The complement V(H) \\ L is equal to the subtype restriction of B \\ R to B. Since every element of B \\ R already belongs to B, the cardinality of this restriction is simply |B \\ R|. Substituting this into the previous bound gives |J| + 1 ≤ |B \\ R|.
uses
Finset.card_subtype,Finset.filter_true_of_mem,Finset.mem_sdiff.mphave hset : (Finset.univ : Finset {v // v ∈ B}) \ L = (B \ R).subtype (· ∈ B) := by ext v simp [L,v.property] rw [hset,Finset.card_subtype] at hh have he : (B \ R).filter (· ∈ B) = B \ R := Finset.filter_true_of_mem (by intro v hv exact (Finset.mem_sdiff.mp hv).1) simpa [he] using hh
Finset.mem_inter.mp- An element of an intersection s ∩ t belongs to both s and t.
Finset.filter_true_of_mem- If every element of a finite set satisfies a predicate, filtering by that predicate returns the entire set.
Finset.card_subtype- The cardinality of a subtype restriction of a finite set s equals the cardinality of s filtered by the subtype condition.
Finset.disjoint_left.mpr- If no element of s belongs to t, then s and t are disjoint.
Finset.disjoint_left.mp- If two finite sets are disjoint, any element of the first does not belong to the second.
Finset.mem_inter.mpr- If an element belongs to both s and t, it belongs to their intersection s ∩ t.
factorcritical_odd_groups_outside_vertex_bound- In a 1-factor-critical graph, if a subset L contains pairwise disjoint odd blocks with no edges to L outside their block, and there is a vertex outside L, then the number of blocks plus 1 is at most the number of vertices outside L.
Finset.mem_sdiff.mp- An element of a set difference s \\ t belongs to s and does not belong to t.
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
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
set_option maxHeartbeats 2000000theorem op1957_factorcritical_block_odd_groups_outside_bound {V I : Type*} [Fintype V] [DecidableEq V] [DecidableEq I] (G : SimpleGraph V) [DecidableRel G.Adj] (B R : Finset V) (hcrit : is_k_factor_critical (G.induce {v | v ∈ B}) 1) (J : Finset I) (F : I → Finset V) (hsub : ∀ i ∈ J, F i ⊆ B ∩ R) (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 ∈ B ∩ R, v ∉ F i → ¬ G.Adj u v) (z : V) (hzB : z ∈ B) (hzR : z ∉ R) : J.card + 1 ≤ (B \ R).card := by classical let H := G.induce {v | v ∈ B} let L : Finset {v // v ∈ B} := R.subtype (· ∈ B) let Q : I → Finset {v // v ∈ B} := fun i => (F i).subtype (· ∈ B) have hQsub : ∀ i ∈ J, Q i ⊆ L := by intro i hi u hu have huF : u.val ∈ F i := by simpa [Q] using hu have huR : u.val ∈ R := (Finset.mem_inter.mp (hsub i hi huF)).2 simpa [L] using huR have hQodd : ∀ i ∈ J, Odd (Q i).card := by intro i hi have he : (F i).filter (· ∈ B) = F i := Finset.filter_true_of_mem (by intro u hu exact (Finset.mem_inter.mp (hsub i hi hu)).1) simpa [Q,Finset.card_subtype,he] using hodd i hi have hQdis : ∀ i ∈ J, ∀ j ∈ J, i ≠ j → Disjoint (Q i) (Q j) := by intro i hi j hj hij apply Finset.disjoint_left.mpr intro u hui huj have hui' : u.val ∈ F i := by simpa [Q] using hui have huj' : u.val ∈ F j := by simpa [Q] using huj exact Finset.disjoint_left.mp (hdis i hi j hj hij) hui' huj' have hQanti : ∀ i ∈ J, ∀ u ∈ Q i, ∀ v ∈ L, v ∉ Q i → ¬ H.Adj u v := by intro i hi u hu v hv hvQ hadj have huF : u.val ∈ F i := by simpa [Q] using hu have hvR : v.val ∈ R := by simpa [L] using hv have hvF : v.val ∉ F i := by simpa [Q] using hvQ exact hanti i hi u.val huF v.val (Finset.mem_inter.mpr ⟨v.property,hvR⟩) hvF hadj let z' : {v // v ∈ B} := ⟨z,hzB⟩ have hzL : z' ∉ L := by simpa [L,z'] using hzR have hh := factorcritical_odd_groups_outside_vertex_bound H hcrit J Q L hQsub hQodd hQdis hQanti z' hzL have hset : (Finset.univ : Finset {v // v ∈ B}) \ L = (B \ R).subtype (· ∈ B) := by ext v simp [L,v.property] rw [hset,Finset.card_subtype] at hh have he : (B \ R).filter (· ∈ B) = B \ R := Finset.filter_true_of_mem (by intro v hv exact (Finset.mem_sdiff.mp hv).1) simpa [he] using hh