external_neighbor_count_with_r_internal
theoremverified
At least r internal neighbors leave at most d−r external neighbors.
Statement
theorem external_neighbor_count_with_r_internal {V : Type*} [Fintype V] [DecidableEq V] (H : SimpleGraph V) [DecidableRel H.Adj] (q : V) (S C : Finset V) (d r : ℕ) (hSC : Disjoint S C) (hmax : (H.neighborFinset q).card ≤ d) (hfour : r ≤ ((H.neighborFinset q) ∩ S).card) : ((H.neighborFinset q) ∩ C).card + r ≤ d
- Source
- OP-1957 variable-shore bridge-family incidence and padded-walk count.
- Verified
- 20 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Used by 6
- bridge_family_variable_refined_walk_budget_strictA strict witness makes the variable-shore padded walk bound strict.
- factorcritical_minimal_d11_k9_excludes_saturated_twinsAt k=9 and complement maximum degree eleven, the displayed saturated adjacent complement twins cannot occur in a minimally k-extendible…
- bridge_family_variable_external_incidence_budgetA bridge family with shores of size at least r satisfies 2|C|≤(d−r)|T|.
- choose_external_non_neighbor_paddingThe external set supplies r−3 nonneighbors for a padded-walk construction.
- bridge_family_internal_external_variable_walk_budgetThe variable-shore walk budget charges both external target padding and internal complement degrees.
- 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.
Lean source view module on GitHub
theorem external_neighbor_count_with_r_internal {V : Type*} [Fintype V] [DecidableEq V] (H : SimpleGraph V) [DecidableRel H.Adj] (q : V) (S C : Finset V) (d r : ℕ) (hSC : Disjoint S C) (hmax : (H.neighborFinset q).card ≤ d) (hfour : r ≤ ((H.neighborFinset q) ∩ S).card) : ((H.neighborFinset q) ∩ C).card + r ≤ d := by classical let A := (H.neighborFinset q) ∩ S let B := (H.neighborFinset q) ∩ C have hdis : Disjoint A B := by apply Finset.disjoint_left.mpr intro a ha hb exact (Finset.disjoint_left.mp hSC) (Finset.mem_inter.mp ha).2 (Finset.mem_inter.mp hb).2 have hsub : A ∪ B ⊆ H.neighborFinset q := by intro a ha rcases Finset.mem_union.mp ha with ha | ha · exact (Finset.mem_inter.mp ha).1 · exact (Finset.mem_inter.mp ha).1 have hc := Finset.card_le_card hsub rw [Finset.card_union_of_disjoint hdis] at hc have hc' := le_trans hc hmax dsimp [A,B] at hc' omega