d11_eighteen_external_bridge_family_forces_four_shore
The displayed bridge-family walk count forces a four-vertex shore when there are at least eighteen external vertices.
Statement
theorem d11_eighteen_external_bridge_family_forces_four_shore {V : Type*} [Fintype V] [DecidableEq V] (H : SimpleGraph V) [DecidableRel H.Adj] (x y : V) (hxy : x ≠ y) (S C : Finset V) (hC : 18 ≤ C.card) (hSC : Disjoint S C) (hxC : x ∉ C) (hyC : y ∉ C) (hS : S.card+1=11) (hmax : ∀ a, (H.neighborFinset a).card ≤ 11) (hSxy : ∀ w ∈ S, H.Adj w x ∧ H.Adj w y) (Q W : V → Finset V) (hdis : ∀ z ∈ C, Disjoint (Q z) (W z)) (hQ : ∀ z ∈ C, Q z ⊆ S ∪ C) (hW : ∀ z ∈ C, W z ⊆ S) (hxQ : ∀ z ∈ C, x ∉ Q z) (hyQ : ∀ z ∈ C, y ∉ Q z) (hsize : ∀ z ∈ C, (Q z).card + (W z).card = 12) (hzQ : ∀ z ∈ C, ∀ q ∈ Q z, H.Adj z q) (hcross : ∀ z ∈ C, ∀ q ∈ Q z, ∀ w ∈ W z, H.Adj q w) (hWmin : ∀ z ∈ C, 4 ≤ (W z).card) (hWeven : ∀ z ∈ C, Even (W z).card) : ∃ z ∈ C, (W z).card=4
- Source
- OP-1957 d=11 bridge-family analysis; scratch Lean axiom audit completed.
- Verified
- 22 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 4
- bridge_family_has_no_full_first_neighborhood_shoreA family of bridge witnesses at every external vertex cannot have a shore equal to the whole first neighborhood.
- bridge_family_variable_external_incidence_budgetA bridge family with shores of size at least r satisfies 2|C|≤(d−r)|T|.
- bridge_family_variable_refined_walk_budgetA bridge family with shores of size at least r has at least r(r−3)|T| missing padded walks.
- bridge_family_variable_refined_walk_budget_strictA strict witness makes the variable-shore padded walk bound strict.
The proof, explained
The proof proceeds by contradiction, assuming no vertex z ∈ C has a shore of size |W(z)| = 4. Because no shore can be the entire neighborhood S, the shore size is strictly less than 10, which combined with parity and the minimum shore bound forces |W(z)| ∈ {6, 8} and |W(z)| · |Q(z)| ≥ 32 for every z ∈ C. The argument then splits on whether all shores have size 8 or at least one has size 6. In each branch, combining an external incidence budget with the corresponding refined walk budget produces a system of linear inequalities that contradicts |C| ≥ 18.
We assume for contradiction that no vertex z ∈ C has |W(z)| = 4, and rephrase the shore size sum as |Q(z)| + |W(z)| = 11 + 1.
The proof proceeds by contradiction (by_contra hnone). To match the general library lemmas for maximum degree d = 11, the identity |Q(z)| + |W(z)| = 12 is rewritten as 11 + 1.
classical by_contra hnone have hsz : ∀ z ∈ C, (Q z).card + (W z).card = 11 + 1 := fun z hz => by have hsum0 := hsize z hz; omega
The pair (Q(z), W(z)) satisfies all structural conditions of a bridge family at z for degree bound 11.
For every z ∈ C, the pair (Q(z), W(z)) is packaged as an existential witness satisfying the bridge family properties: Q(z) and W(z) are disjoint, Q(z) ⊆ S ∪ C, W(z) ⊆ S, |Q(z)| + |W(z)| = 11 + 1, all vertices of Q(z) are neighbors of z, and every vertex of Q(z) is adjacent to every vertex of W(z).
have hfam : ∀ z ∈ C, ∃ Q' W' : Finset V, Disjoint Q' W' ∧ Q' ⊆ S ∪ C ∧ W' ⊆ S ∧ Q'.card+W'.card=11+1 ∧ (∀ q ∈ Q', H.Adj z q) ∧ (∀ q ∈ Q', ∀ w ∈ W', H.Adj q w) := fun z hz => ⟨Q z, W z, hdis z hz, hQ z hz, hW z hz, hsz z hz, hzQ z hz, hcross z hz⟩
For every vertex z ∈ C, the shore size |W(z)| is either 6 or 8.
By the contradiction hypothesis, |W(z)| ≠ 4. By bridge_family_has_no_full_first_neighborhood_shore, W(z) cannot equal the full set S. Since W(z) ⊆ S and W(z) ≠ S, W(z) is a proper subset of S (Finset.ssubset_iff_subset_ne.mpr), which forces |W(z)| < |S| = 10 (Finset.card_lt_card). Because 4 ≤ |W(z)| and |W(z)| is even, the only even integers strictly between 4 and 10 are 6 and 8.
uses
bridge_family_has_no_full_first_neighborhood_shore,Finset.ssubset_iff_subset_ne.mpr,Finset.card_lt_cardhave hsix : ∀ z ∈ C, (W z).card = 6 ∨ (W z).card = 8 := by intro z hz have hne : (W z).card ≠ 4 := fun hcase0 => hnone ⟨z, hz, hcase0⟩ have hneS := bridge_family_has_no_full_first_neighborhood_shore H S C 11 hSC hS hmax hfam z hz (Q z) (W z) (hdis z hz) (hQ z hz) (hW z hz) (hsz z hz) (hzQ z hz) (hcross z hz) have hlt := Finset.card_lt_card (Finset.ssubset_iff_subset_ne.mpr ⟨hW z hz, hneS⟩) have hfour0 := hWmin z hz obtain ⟨mm0, hm⟩ := hWeven z hz omega
For every vertex z ∈ C, the product |W(z)| · |Q(z)| is at least 32.
Because |Q(z)| + |W(z)| = 12 and |W(z)| ∈ {6, 8}, there are two cases: if |W(z)| = 6, then |Q(z)| = 6 and 6 · 6 = 36 ≥ 32; if |W(z)| = 8, then |Q(z)| = 4 and 8 · 4 = 32 ≥ 32. In both cases the product is at least 32.
have hprod : ∀ z ∈ C, 32 ≤ (W z).card * (Q z).card := by intro z hz have hsum0 := hsize z hz rcases hsix z hz with hcase0 | hcase0 · have hqc0 : (Q z).card = 6 := by omega rw [hcase0, hqc0]; norm_num · have hqc0 : (Q z).card = 4 := by omega rw [hcase0, hqc0]
The case where |W(z)| = 8 for all z ∈ C leads to a contradiction.
If all shores have size 8, taking r = 8 in bridge_family_variable_external_incidence_budget yields 2|C| ≤ (11 - 8)|T| = 3|T|, where T = {q ∈ C | 8 ≤ |N(q) ∩ S|}. Taking L = 32 and r = 8 in bridge_family_variable_refined_walk_budget yields 32|C| + 8(8 - 3)|T| ≤ (11 - 1)(11 - 2)(11 - 3) = 720. Since |C| ≥ 18, we must have |T| ≥ 12, making the left-hand side at least 32(18) + 40(12) = 1056 > 720, an arithmetic contradiction closed by omega.
uses
bridge_family_variable_external_incidence_budget,bridge_family_variable_refined_walk_budgetby_cases hall : ∀ z ∈ C, (W z).card = 8 · have hinc := bridge_family_variable_external_incidence_budget H S C 11 8 hSC hS hmax Q W hdis hQ hW hsz hzQ hcross (fun z hz => (hall z hz).ge) have hwalk := bridge_family_variable_refined_walk_budget H x y hxy S C 11 32 8 (by norm_num) (by omega) hSC hxC hyC hS hmax hSxy Q W hdis hQ hW hsz hxQ hyQ hzQ hcross (fun z hz => (hall z hz).ge) hprod dsimp only at hinc hwalk omega
The case where some vertex z₀ ∈ C has |W(z₀)| ≠ 8 also leads to a contradiction.
Negating the universal condition gives a vertex z₀ ∈ C with |W(z₀)| ≠ 8. Since |W(z₀)| ∈ {6, 8}, ruling out 8 by absurd gives |W(z₀)| = 6, so |Q(z₀)| = 6 and |W(z₀)| · |Q(z₀)| = 36 > 32. Moreover, |W(z)| ≥ 6 holds for all z ∈ C. Setting r = 6, bridge_family_variable_external_incidence_budget gives 2|C| ≤ 5|T| for T = {q ∈ C | 6 ≤ |N(q) ∩ S|}. The strict walk budget bridge_family_variable_refined_walk_budget_strict with witness z₀ gives 32|C| + 18|T| < 720. Since |C| ≥ 18 implies |T| ≥ 8 and 32(18) + 18(8) = 720, this contradicts the strict inequality, closed by omega.
uses
absurd,bridge_family_variable_external_incidence_budget,bridge_family_variable_refined_walk_budget_strict· push_neg at hall obtain ⟨z0, hz0, hne⟩ := hall have hsix0 : (W z0).card = 6 := by rcases hsix z0 hz0 with hcase0 | hcase0 · exact hcase0 · exact absurd hcase0 hne have hq6 : (Q z0).card = 6 := by have hsum0 := hsize z0 hz0; omega have hW6 : ∀ z ∈ C, 6 ≤ (W z).card := fun z hz => by rcases hsix z hz with hcase0 | hcase0 <;> omega have hinc := bridge_family_variable_external_incidence_budget H S C 11 6 hSC hS hmax Q W hdis hQ hW hsz hzQ hcross hW6 have hwalk := bridge_family_variable_refined_walk_budget_strict H x y hxy S C 11 32 6 (by norm_num) (by omega) hSC hxC hyC hS hmax hSxy Q W hdis hQ hW hsz hxQ hyQ hzQ hcross hW6 hprod ⟨z0, hz0, by rw [hsix0, hq6]; norm_num⟩ dsimp only at hinc hwalk omega
absurd- From a proposition and its negation, any proposition can be deduced (the principle of explosion).
bridge_family_has_no_full_first_neighborhood_shore- In a graph with maximum degree d and a neighborhood set S of size d - 1, no bridge family shore W can equal the entire set S.
bridge_family_variable_external_incidence_budget- For a bridge family where each shore has size at least r, the size of C and the set T of vertices in C with at least r neighbors in S satisfy 2|C| ≤ (d - r)|T|.
bridge_family_variable_refined_walk_budget- For a bridge family where each shore has size at least r and |W(z)| · |Q(z)| ≥ L, the sizes of C and T = {q ∈ C | |N(q) ∩ S| ≥ r} satisfy L|C| + r(r - 3)|T| ≤ (d - 1)(d - 2)(d - 3).
bridge_family_variable_refined_walk_budget_strict- If in addition to the walk budget conditions there is a vertex whose shore product strictly exceeds L, the walk budget inequality holds strictly: L|C| + r(r - 3)|T| < (d - 1)(d - 2)(d - 3).
Finset.card_lt_card- If one finite set is a strict subset of another (s ⊂ t), its cardinality is strictly smaller (|s| < |t|).
Finset.ssubset_iff_subset_ne.mpr- If s is a subset of t and s ≠ t, then s is a strict subset of t (s ⊂ t).
- The hypothesis |Q(z)| + |W(z)| = 12 is rewritten as 11 + 1 to match the d + 1 format required by the bridge family library theorems for maximum degree d = 11.
- The contradictions at lines 47 and 63 are closed by the linear arithmetic tactic omega by combining the incidence budget bound, the walk budget bound, and |C| ≥ 18.
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 d11_eighteen_external_bridge_family_forces_four_shore {V : Type*} [Fintype V] [DecidableEq V] (H : SimpleGraph V) [DecidableRel H.Adj] (x y : V) (hxy : x ≠ y) (S C : Finset V) (hC : 18 ≤ C.card) (hSC : Disjoint S C) (hxC : x ∉ C) (hyC : y ∉ C) (hS : S.card+1=11) (hmax : ∀ a, (H.neighborFinset a).card ≤ 11) (hSxy : ∀ w ∈ S, H.Adj w x ∧ H.Adj w y) (Q W : V → Finset V) (hdis : ∀ z ∈ C, Disjoint (Q z) (W z)) (hQ : ∀ z ∈ C, Q z ⊆ S ∪ C) (hW : ∀ z ∈ C, W z ⊆ S) (hxQ : ∀ z ∈ C, x ∉ Q z) (hyQ : ∀ z ∈ C, y ∉ Q z) (hsize : ∀ z ∈ C, (Q z).card + (W z).card = 12) (hzQ : ∀ z ∈ C, ∀ q ∈ Q z, H.Adj z q) (hcross : ∀ z ∈ C, ∀ q ∈ Q z, ∀ w ∈ W z, H.Adj q w) (hWmin : ∀ z ∈ C, 4 ≤ (W z).card) (hWeven : ∀ z ∈ C, Even (W z).card) : ∃ z ∈ C, (W z).card=4 := by classical by_contra hnone have hsz : ∀ z ∈ C, (Q z).card + (W z).card = 11 + 1 := fun z hz => by have hsum0 := hsize z hz; omega have hfam : ∀ z ∈ C, ∃ Q' W' : Finset V, Disjoint Q' W' ∧ Q' ⊆ S ∪ C ∧ W' ⊆ S ∧ Q'.card+W'.card=11+1 ∧ (∀ q ∈ Q', H.Adj z q) ∧ (∀ q ∈ Q', ∀ w ∈ W', H.Adj q w) := fun z hz => ⟨Q z, W z, hdis z hz, hQ z hz, hW z hz, hsz z hz, hzQ z hz, hcross z hz⟩ have hsix : ∀ z ∈ C, (W z).card = 6 ∨ (W z).card = 8 := by intro z hz have hne : (W z).card ≠ 4 := fun hcase0 => hnone ⟨z, hz, hcase0⟩ have hneS := bridge_family_has_no_full_first_neighborhood_shore H S C 11 hSC hS hmax hfam z hz (Q z) (W z) (hdis z hz) (hQ z hz) (hW z hz) (hsz z hz) (hzQ z hz) (hcross z hz) have hlt := Finset.card_lt_card (Finset.ssubset_iff_subset_ne.mpr ⟨hW z hz, hneS⟩) have hfour0 := hWmin z hz obtain ⟨mm0, hm⟩ := hWeven z hz omega have hprod : ∀ z ∈ C, 32 ≤ (W z).card * (Q z).card := by intro z hz have hsum0 := hsize z hz rcases hsix z hz with hcase0 | hcase0 · have hqc0 : (Q z).card = 6 := by omega rw [hcase0, hqc0]; norm_num · have hqc0 : (Q z).card = 4 := by omega rw [hcase0, hqc0] by_cases hall : ∀ z ∈ C, (W z).card = 8 · have hinc := bridge_family_variable_external_incidence_budget H S C 11 8 hSC hS hmax Q W hdis hQ hW hsz hzQ hcross (fun z hz => (hall z hz).ge) have hwalk := bridge_family_variable_refined_walk_budget H x y hxy S C 11 32 8 (by norm_num) (by omega) hSC hxC hyC hS hmax hSxy Q W hdis hQ hW hsz hxQ hyQ hzQ hcross (fun z hz => (hall z hz).ge) hprod dsimp only at hinc hwalk omega · push_neg at hall obtain ⟨z0, hz0, hne⟩ := hall have hsix0 : (W z0).card = 6 := by rcases hsix z0 hz0 with hcase0 | hcase0 · exact hcase0 · exact absurd hcase0 hne have hq6 : (Q z0).card = 6 := by have hsum0 := hsize z0 hz0; omega have hW6 : ∀ z ∈ C, 6 ≤ (W z).card := fun z hz => by rcases hsix z hz with hcase0 | hcase0 <;> omega have hinc := bridge_family_variable_external_incidence_budget H S C 11 6 hSC hS hmax Q W hdis hQ hW hsz hzQ hcross hW6 have hwalk := bridge_family_variable_refined_walk_budget_strict H x y hxy S C 11 32 6 (by norm_num) (by omega) hSC hxC hyC hS hmax hSxy Q W hdis hQ hW hsz hxQ hyQ hzQ hcross hW6 hprod ⟨z0, hz0, by rw [hsix0, hq6]; norm_num⟩ dsimp only at hinc hwalk omega