AFTD Auto-Formalizing Theoretical Domains

op1957_factorcritical_block_odd_groups_inside_bound

theoremverified

Inside a finite 1-factor-critical block, pairwise disjoint odd groups anticomplete to the remainder of a set R number at most the vertices in the block outside R, if R contains another block vertex outside all the groups.

Statement

theorem op1957_factorcritical_block_odd_groups_inside_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) (hz : ∀ i ∈ J, z ∉ F i) :
    J.card ≤ (B \ R).card
Source
OP-1957: boundary minimum-degree reduction, arXiv:2611.22690
Verified
29 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
  • factorcritical_anticomplete_odd_groups_boundIn a finite 1-factor-critical graph, pairwise disjoint odd vertex groups that are each anticomplete to the rest of a set L cannot…
  • 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

The proof, explained

The bound is proved by reducing the statement to `factorcritical_anticomplete_odd_groups_bound`, which establishes the result for a graph that is globally 1-factor-critical. We pass to the induced subgraph H = G[B], representing the sets F i and R as subsets Q i and L of the vertex type of H. Once the hypotheses of disjointness, odd cardinalities, anticompleteness, and an extra vertex in L are verified for these lifted sets, the earlier bound yields |J| ≤ |V(H) \ L|, which simplifies directly to |J| ≤ |B \ R|.

  1. We restrict attention to the induced subgraph on B and lift R and the odd sets F i to sets of vertices in this subgraph.

    We define H to be the subgraph induced on B, and define L and each Q i as the finsets of subtype vertices {v // v ∈ B} corresponding to R and F i respectively.

    lines 12–15

      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)
  2. Each group Q i is contained in L for i ∈ J.

    By hypothesis hsub, each F i is a subset of B ∩ R. Thus any element of Q i has its underlying vertex in R, placing it in L.

    lines 16–20

    uses Finset.mem_inter.mp

      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
  3. Each group Q i has odd cardinality for i ∈ J.

    Since F i ⊆ B, filtering F i by membership in B leaves F i unchanged. By Finset.card_subtype, |Q i| equals the size of this filtered set, so |Q i| = |F i|, which is odd by hodd.

    lines 21–26

    uses Finset.filter_true_of_mem, Finset.mem_inter.mp, Finset.card_subtype

      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
  4. The groups Q i and Q j are disjoint for distinct indices i ≠ j in J.

    An element belonging to both Q i and Q j would have its underlying vertex in both F i and F j, contradicting the pairwise disjointness of the F sets.

    lines 27–33

    uses Finset.disjoint_left.mpr, Finset.disjoint_left.mp

      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'
  5. Each group Q i is anticomplete to L \ Q i in H for i ∈ J.

    Given u ∈ Q i and v ∈ L with v ∉ Q i, the underlying vertices satisfy u ∈ F i, v ∈ B ∩ R, and v ∉ F i. By the anticompleteness hypothesis hanti, u and v are not adjacent in G, hence not adjacent in the induced subgraph H.

    lines 34–39

    uses Finset.mem_inter.mpr

      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
  6. The vertex z induces a vertex z' ∈ L that lies outside every Q i for i ∈ J.

    We pack z and its proof of membership in B into a subtype element z'. Since z ∈ R, z' belongs to L, and since z ∉ F i for all i ∈ J, z' is outside every Q i.

    lines 40–45

      let z' : {v // v ∈ B} := ⟨z,hzB⟩
      have hzL : z' ∈ L := by simpa [L,z'] using hzR
      have hzQ : ∀ i ∈ J, z' ∉ Q i := by
        intro i hi hzi
        apply hz i hi
        simpa [Q,z'] using hzi
  7. The number of groups |J| is at most the number of vertices in H outside L.

    We apply the theorem factorcritical_anticomplete_odd_groups_bound to H, which is 1-factor-critical by hcrit, with vertex subset L, groups Q, and extra vertex z'. This gives |J| ≤ |univ \ L|.

    lines 46–47

    uses factorcritical_anticomplete_odd_groups_bound

      have hh := factorcritical_anticomplete_odd_groups_bound H hcrit J Q L
        hQsub hQodd hQdis hQanti z' hzL hzQ
  8. The bound |J| ≤ |B \ R| holds.

    The complement univ \ L in the subtype {v // v ∈ B} corresponds to the subtype finset of B \ R. Since B \ R ⊆ B, the cardinality of this subtype finset is exactly |B \ R|, completing the proof.

    lines 48–55

    uses Finset.card_subtype, Finset.filter_true_of_mem, Finset.mem_sdiff.mp

      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
Finset.mem_inter.mp
an element is in an intersection A ∩ B only if it is in A and in B
Finset.mem_inter.mpr
an element is in an intersection A ∩ B if it is in A and in B
Finset.filter_true_of_mem
filtering a finset by a predicate satisfied by all its members leaves the finset unchanged
Finset.card_subtype
the cardinality of a subtype finset {x : Subtype p // x ∈ s} equals the cardinality of the filtered finset {x ∈ s | p x}
Finset.disjoint_left.mpr
two finsets are disjoint if every element of the first does not belong to the second
Finset.disjoint_left.mp
if two finsets are disjoint, an element belonging to the first cannot belong to the second
Finset.mem_sdiff.mp
an element of A \ B is in A and not in B
factorcritical_anticomplete_odd_groups_bound
in a 1-factor-critical graph H, any family of pairwise disjoint odd-sized vertex sets in L that are anticomplete to L and miss at least one vertex of L has cardinality at most |V(H) \ L|

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_block_odd_groups_inside_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) (hz : ∀ i ∈ J, z ∉ F i) :    J.card ≤ (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 hzQ : ∀ i ∈ J, z' ∉ Q i := by    intro i hi hzi    apply hz i hi    simpa [Q,z'] using hzi  have hh := factorcritical_anticomplete_odd_groups_bound H hcrit J Q L    hQsub hQodd hQdis hQanti z' hzL hzQ  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
See it in the graphDiscuss this resultChallenge it