op309_three_dense_hosts_block_overlap_peeling
A nonempty class set is unpeelable when each of its classes meets at least three hosts that each contain at least three classes from the set.
Statement
theorem op309_three_dense_hosts_block_overlap_peeling {A B : Type*} [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B] (I : SimpleGraph (A ⊕ B)) [DecidableRel I.Adj] (S : Finset A) (hS : S.Nonempty) (hclass : ∀ a ∈ S, 3 ≤ (Finset.univ.filter (fun b : B => I.Adj (.inl a) (.inr b) ∧ 3 ≤ (S.filter fun a' => I.Adj (.inl a') (.inr b)).card)).card) : ¬ op309_incidence_overlap_five_peel I
- Source
- OP-309 girth-seven fixed-forest obstruction, experiment 40461.
- Verified
- 26 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- op309_incidence_overlap_five_peelIn every nonempty subset of class vertices, some class has at most four distinct neighbors and at most five host-counted neighbor…
The proof, explained
The proof proceeds by contradiction. If the incidence graph admitted a 5-peeling, the nonempty class set S would contain a class a whose total overlap score across all hosts is at most 5. However, by assumption, a meets at least 3 dense hosts, each containing at least 3 classes from S and thus each contributing at least 2 to the score. Summing these contributions gives at least 2 * 3 = 6, contradicting the peeling upper bound of 5.
Assume for contradiction that the graph admits a 5-peeling, yielding an element a ∈ S with overlap score sum at most 5.
We proceed by contradiction. Supposing that I is 5-peelable, applying the definition of 5-peeling to the nonempty set S gives a vertex a ∈ S whose total overlap sum across all hosts b : B is at most 5 (hypothesis hw).
classical intro hpeel obtain ⟨a,ha,_,hw⟩ := hpeel S hS
Define the subset T of dense hosts adjacent to a and the per-host overlap score function.
We let T ⊆ B be the set of hosts b adjacent to a that contain at least 3 classes from S. We also define score(b) to be |{a' ∈ S | I.Adj a' b}| - 1 when b is adjacent to a, and 0 otherwise, matching each summand in hw.
let T : Finset B := Finset.univ.filter (fun b : B => I.Adj (.inl a) (.inr b) ∧ 3 ≤ (S.filter fun a' => I.Adj (.inl a') (.inr b)).card) let score : B → ℕ := fun b => if I.Adj (.inl a) (.inr b) then (S.filter fun a' => I.Adj (.inl a') (.inr b)).card - 1 else 0
Every host b ∈ T contributes at least 2 to the score.
For any b ∈ T, unpacking its membership via Finset.mem_filter.mp gives that b is adjacent to a and meets at least 3 classes in S. Simplifying score(b) with if_true shows that score(b) is at least 3 - 1 = 2, which linear integer arithmetic (omega) verifies.
uses
Finset.mem_filter.mp,if_truehave hterm : ∀ b ∈ T, 2 ≤ score b := by intro b hb have hb' := (Finset.mem_filter.mp hb).2 simp only [score, hb'.1, if_true] omega
The sum of scores over T is bounded below by the sum of 2 over T.
Because 2 ≤ score(b) holds for every b ∈ T, summing termwise via Finset.sum_le_sum yields ∑ b ∈ T, 2 ≤ ∑ b ∈ T, score(b).
uses
Finset.sum_le_sumhave hsum : (∑ b ∈ T, 2) ≤ ∑ b ∈ T, score b := by exact Finset.sum_le_sum hterm
The sum of scores over T is at most the sum over all hosts in B.
Since T is a subset of the universe of all hosts in B by Finset.subset_univ and natural numbers are non-negative, Finset.sum_le_sum_of_subset shows that ∑ b ∈ T, score(b) ≤ ∑ b : B, score(b).
uses
Finset.sum_le_sum_of_subset,Finset.subset_univhave hle : (∑ b ∈ T, score b) ≤ ∑ b : B, score b := Finset.sum_le_sum_of_subset (Finset.subset_univ _)T contains at least 3 hosts, so the sum over T is at least 2 * |T|.
Hypothesis hclass applied to a ∈ S gives |T| ≥ 3. Since the constant sum ∑ b ∈ T, 2 evaluates to |T| * 2, rewriting by commutativity of multiplication (Nat.mul_comm) yields 2 * |T| ≤ ∑ b ∈ T, score(b).
uses
Nat.mul_commhave hcard : 3 ≤ T.card := hclass a ha have hsum' : 2 * T.card ≤ ∑ b ∈ T, score b := by simpa [Nat.mul_comm] using hsum
The upper bound of 5 contradicts the lower bound of 6.
Definitional rewriting of hw expresses the peeling hypothesis as ∑ b : B, score(b) ≤ 5. Chaining the inequalities gives 6 ≤ 2 * 3 ≤ 2 * |T| ≤ ∑ b ∈ T, score(b) ≤ ∑ b : B, score(b) ≤ 5, which linear integer arithmetic (omega) recognizes as a contradiction.
change (∑ b : B, score b) ≤ 5 at hw omega
Finset.mem_filter.mp- An element belongs to a filtered finset if and only if it belongs to the base finset and satisfies the condition.
if_true- An if-then-else expression whose condition is True simplifies to its then-branch.
Finset.sum_le_sum- If a termwise inequality f(i) ≤ g(i) holds for all elements i of a finite set s, then the sum of f over s is at most the sum of g over s.
Finset.sum_le_sum_of_subset- In a canonically ordered monoid, the sum of a non-negative function over a subset s is at most its sum over a superset t.
Finset.subset_univ- Every finite set of elements from a finite type is a subset of the universal set of all elements.
Nat.mul_comm- Multiplication of natural numbers is commutative: n * m = m * n.
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 op309_three_dense_hosts_block_overlap_peeling {A B : Type*} [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B] (I : SimpleGraph (A ⊕ B)) [DecidableRel I.Adj] (S : Finset A) (hS : S.Nonempty) (hclass : ∀ a ∈ S, 3 ≤ (Finset.univ.filter (fun b : B => I.Adj (.inl a) (.inr b) ∧ 3 ≤ (S.filter fun a' => I.Adj (.inl a') (.inr b)).card)).card) : ¬ op309_incidence_overlap_five_peel I := by classical intro hpeel obtain ⟨a,ha,_,hw⟩ := hpeel S hS let T : Finset B := Finset.univ.filter (fun b : B => I.Adj (.inl a) (.inr b) ∧ 3 ≤ (S.filter fun a' => I.Adj (.inl a') (.inr b)).card) let score : B → ℕ := fun b => if I.Adj (.inl a) (.inr b) then (S.filter fun a' => I.Adj (.inl a') (.inr b)).card - 1 else 0 have hterm : ∀ b ∈ T, 2 ≤ score b := by intro b hb have hb' := (Finset.mem_filter.mp hb).2 simp only [score, hb'.1, if_true] omega have hsum : (∑ b ∈ T, 2) ≤ ∑ b ∈ T, score b := by exact Finset.sum_le_sum hterm have hle : (∑ b ∈ T, score b) ≤ ∑ b : B, score b := Finset.sum_le_sum_of_subset (Finset.subset_univ _) have hcard : 3 ≤ T.card := hclass a ha have hsum' : 2 * T.card ≤ ∑ b ∈ T, score b := by simpa [Nat.mul_comm] using hsum change (∑ b : B, score b) ≤ 5 at hw omega