two_exceptional_groups_and_block_pool
For a pairwise disjoint family of nonempty finite sets with at most two members meeting the complement of B, split its indices into B-only groups and two possibly empty exceptional slots. The slots and B-only groups are disjoint, the number of occupied slots plus B-only groups is the original count, and the B-only union has at least as many vertices as groups.
Statement
theorem two_exceptional_groups_and_block_pool {I V : Type*} [DecidableEq I] [DecidableEq V] (K : Finset I) (F : I → Finset V) (B : Finset V) (hne : ∀ i ∈ K, (F i).Nonempty) (hdis : ∀ i ∈ K, ∀ j ∈ K, i ≠ j → Disjoint (F i) (F j)) (houtside : (K.filter (fun i => (F i \ B).Nonempty)).card ≤ 2) : ∃ J ⊆ K, ∃ P Q : Finset V, (∀ i ∈ J, F i ⊆ B) ∧ (P = ∅ ∨ ∃ i ∈ K \ J, P = F i) ∧ (Q = ∅ ∨ ∃ i ∈ K \ J, Q = F i) ∧ (∀ i ∈ K \ J, F i = P ∨ F i = Q) ∧ Disjoint P Q ∧ (∀ i ∈ J, Disjoint (F i) P ∧ Disjoint (F i) Q) ∧ J.card + (if P.Nonempty then 1 else 0) + (if Q.Nonempty then 1 else 0) = K.card ∧ J.card ≤ (J.biUnion F).card
- Source
- OP-1957; grouping the saturated barrier reservoir into at most two exceptional groups and a B-only pool.
- Verified
- 27 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 3
- two_disjoint_group_family_fits_two_slotsA family of at most two pairwise disjoint nonempty finite sets can be placed in two slots, with unused slots empty, and the number of…
- pairwise_disjoint_nonempty_groups_card_boundIn a pairwise-disjoint finite family of nonempty finite sets, each chosen set has at most the size of the union minus the number of other…
- op1957_two_exceptional_groups_exact_block_poolA disjoint family with at most two groups meeting the complement of B splits into B-only groups and two slots, with every occupied slot…
- Used by 3
- boundary_five_odd_positive_barrier_forces_patterns_with_extendibilityThe displayed positive-barrier defect patterns hold under the original saturated five-by-odd assumptions together with explicit…
- boundary_five_odd_positive_large_shore_forces_common_defectsUnder the displayed saturated five-by-odd partition, extendibility, independence, degree and separator hypotheses, a positive barrier…
- boundary_five_odd_positive_small_shore_forces_independent_tripleUnder the displayed saturated five-by-odd partition, extendibility, independence, degree and separator hypotheses, a positive barrier…
The proof, explained
The argument reduces directly to op1957_two_exceptional_groups_exact_block_pool, which decomposes the index set into sets entirely within B and at most two exceptional sets. That lemma provides the subcollection J, the exceptional sets P and Q, and verifies all the disjointness and cardinality conditions. The proof simply instantiates that result and discards its unused extra conclusion that every non-B block meets the complement of B.
The family (F i)_{i ∈ K} decomposes into a subcollection J ⊆ K of sets contained in B and two disjoint exceptional sets P, Q satisfying the required disjointness and cardinality relations.
We apply the decomposition lemma op1957_two_exceptional_groups_exact_block_pool to K, F, and B under the hypotheses that the sets are nonempty, pairwise disjoint, and at most two meet the complement of B. This supplies the witness index set J, the sets P and Q, and all required disjointness and size properties; the proof packages these witnesses to satisfy the existential goal, discarding only the lemma's additional conclusion that every set indexed by K \ J intersects the complement of B.
uses
op1957_two_exceptional_groups_exact_block_poolobtain ⟨J,hJK,P,Q,hJB,_,hP,hQ,hslots,hPQ,hJPQ,hcount,hbound⟩ := op1957_two_exceptional_groups_exact_block_pool K F B hne hdis houtside exact ⟨J,hJK,P,Q,hJB,hP,hQ,hslots,hPQ,hJPQ,hcount,hbound⟩
op1957_two_exceptional_groups_exact_block_pool- Given a family of nonempty pairwise disjoint finite sets (F i) for i ∈ K where at most two sets meet the complement of B, there exist a subset J ⊆ K and two disjoint sets P, Q such that every F i for i ∈ J is contained in B, every remaining F i meets the complement of B and equals P or Q, P and Q are disjoint from each F i for i ∈ J, |J| + (if P is nonempty then 1 else 0) + (if Q is nonempty then 1 else 0) = |K|, and |J| ≤ |⋃_{i ∈ J} F i|.
- The proof is an immediate specialization of op1957_two_exceptional_groups_exact_block_pool, dropping the unneeded conjunct asserting that every set indexed by K \ J intersects the complement of 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
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.
theorem two_exceptional_groups_and_block_pool {I V : Type*} [DecidableEq I] [DecidableEq V] (K : Finset I) (F : I → Finset V) (B : Finset V) (hne : ∀ i ∈ K, (F i).Nonempty) (hdis : ∀ i ∈ K, ∀ j ∈ K, i ≠ j → Disjoint (F i) (F j)) (houtside : (K.filter (fun i => (F i \ B).Nonempty)).card ≤ 2) : ∃ J ⊆ K, ∃ P Q : Finset V, (∀ i ∈ J, F i ⊆ B) ∧ (P = ∅ ∨ ∃ i ∈ K \ J, P = F i) ∧ (Q = ∅ ∨ ∃ i ∈ K \ J, Q = F i) ∧ (∀ i ∈ K \ J, F i = P ∨ F i = Q) ∧ Disjoint P Q ∧ (∀ i ∈ J, Disjoint (F i) P ∧ Disjoint (F i) Q) ∧ J.card + (if P.Nonempty then 1 else 0) + (if Q.Nonempty then 1 else 0) = K.card ∧ J.card ≤ (J.biUnion F).card := by obtain ⟨J,hJK,P,Q,hJB,_,hP,hQ,hslots,hPQ,hJPQ,hcount,hbound⟩ := op1957_two_exceptional_groups_exact_block_pool K F B hne hdis houtside exact ⟨J,hJK,P,Q,hJB,hP,hQ,hslots,hPQ,hJPQ,hcount,hbound⟩