minimally_k_extendable_degree_surplus_complement_order_bound
A minimally k-extendable graph of minimum degree at least 2k+r, with 2≤r≤d and complement maximum degree at most d, has order bounded by r²n≤r²(1+d²)+d(d−1) max(d−r²,0).
Statement
theorem minimally_k_extendable_degree_surplus_complement_order_bound
(k n d r : ℕ) (hr : 2 ≤ r) (hrd : r ≤ d)
(G : SimpleGraph (Fin n)) [DecidableRel G.Adj]
(hmin : is_minimally_k_extendable G k) (hdegree : 2*k+r ≤ G.minDegree)
(hmax : ∀ u, (Gᶜ).degree u ≤ d) :
r*r*n ≤ r*r*(1+d*d) + d*(d-1)*(d-r*r)- Source
- OP-1957: combine the general bridge theorem with the parameterized root-layer count. Not yet Lean-proved.
- Verified
- 28 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 3
- is_minimally_k_extendableFor a finite vertex type V (with [Fintype V]), a simple graph G : SimpleGraph V and k : ℕ, is_minimally_k_extendable G k is the Prop…
- minimally_k_extendable_degree_surplus_zero_codegree_complete_bipartiteIn a minimally k-extendable graph of minimum degree at least 2k+r, r at least two, every graph edge whose endpoints have no common…
- graph_zero_codegree_neighbor_complete_bipartite_order_boundFor r between two and d, if a graph of maximum degree at most d has a complete bipartite r-by-r graph between the endpoint neighborhoods…
The proof, explained
The proof establishes the order bound on $G$ by applying a general bound for graphs whose zero-codegree non-adjacent pairs possess complete bipartite neighborhoods to the complement graph $G^c$. First, any two distinct non-adjacent vertices in $G^c$ with zero codegree are adjacent in $G$, which allows a known structural theorem for minimally $k$-extendable graphs with minimum degree at least $2k+r$ to yield the required $K_{r,r}$ neighborhood structure in $G^c$. The order bound then follows immediately from graph_zero_codegree_neighbor_complete_bipartite_order_bound.
In the complement graph $G^c$, every pair of distinct non-adjacent vertices with zero codegree has neighborhoods containing a complete bipartite graph $K_{r,r}$.
Consider any two distinct vertices $u$ and $v$ that are non-adjacent in $G^c$ and share no common neighbor in $G^c$. Because $u \neq v$ and $u, v$ are not adjacent in $G^c$, they must be adjacent in $G$ by definition of the graph complement (SimpleGraph.compl_adj). Since $G$ is minimally $k$-extendable with minimum degree at least $2k+r$ and $u, v$ are adjacent in $G$ with no common neighbors in $G^c$, minimally_k_extendable_degree_surplus_zero_codegree_complete_bipartite provides subsets $A \subseteq N_{G^c}(u)$ and $B \subseteq N_{G^c}(v)$ of cardinality $r$ such that every vertex in $A$ is adjacent in $G^c$ to every vertex in $B$.
uses
SimpleGraph.compl_adj,minimally_k_extendable_degree_surplus_zero_codegree_complete_bipartitehave hcomplete : ∀ u v : Fin n, u ≠ v → ¬ (Gᶜ).Adj u v → (∀ x, ¬ ((Gᶜ).Adj u x ∧ (Gᶜ).Adj v x)) → ∃ A B : Finset (Fin n), A.card = r ∧ B.card = r ∧ (∀ a ∈ A, (Gᶜ).Adj u a) ∧ (∀ b ∈ B, (Gᶜ).Adj v b) ∧ ∀ a ∈ A, ∀ b ∈ B, (Gᶜ).Adj a b := by intro u v huv hnonadj hfar have huvG : G.Adj u v := by by_contra h exact hnonadj ((SimpleGraph.compl_adj G u v).2 ⟨huv, h⟩) exact minimally_k_extendable_degree_surplus_zero_codegree_complete_bipartite k n r hr G hmin hdegree u v huvG hfar
$r^2 n \le r^2(1+d^2) + d(d-1)(d-r^2)$
Apply graph_zero_codegree_neighbor_complete_bipartite_order_bound to the complement graph $H = G^c$. The hypotheses are satisfied: $2 \le r \le d$, the maximum degree of $G^c$ is at most $d$ (by assumption hmax), and any two distinct non-adjacent vertices with zero codegree in $G^c$ have neighborhoods containing an induced $K_{r,r}$ (by hcomplete). This immediately yields the claimed upper bound on $n$.
uses
graph_zero_codegree_neighbor_complete_bipartite_order_boundexact graph_zero_codegree_neighbor_complete_bipartite_order_bound n d r hr hrd (Gᶜ) hmax hcomplete
SimpleGraph.compl_adj- Two vertices are adjacent in the complement graph $G^c$ if and only if they are distinct and not adjacent in $G$.
minimally_k_extendable_degree_surplus_zero_codegree_complete_bipartite- In a minimally $k$-extendable graph with minimum degree at least $2k+r$ ($r \ge 2$), if two adjacent vertices have zero codegree in the complement graph $G^c$, then their neighborhoods in $G^c$ contain subsets of size $r$ that induce a complete bipartite graph $K_{r,r}$.
graph_zero_codegree_neighbor_complete_bipartite_order_bound- If a simple graph on $n$ vertices has maximum degree at most $d$ and parameters $2 \le r \le d$, and every pair of distinct non-adjacent vertices with zero codegree has neighborhoods containing a complete bipartite graph $K_{r,r}$, then $r^2 n \le r^2(1+d^2) + d(d-1)(d-r^2)$.
- In the bound $r^2 n \le r^2(1+d^2) + d(d-1)(d-r^2)$, the subtraction $d - r^2$ is over $\mathbb{N}$ and therefore truncates at zero, representing $\max(d - r^2, 0)$.
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 minimally_k_extendable_degree_surplus_complement_order_bound (k n d r : ℕ) (hr : 2 ≤ r) (hrd : r ≤ d) (G : SimpleGraph (Fin n)) [DecidableRel G.Adj] (hmin : is_minimally_k_extendable G k) (hdegree : 2*k+r ≤ G.minDegree) (hmax : ∀ u, (Gᶜ).degree u ≤ d) : r*r*n ≤ r*r*(1+d*d) + d*(d-1)*(d-r*r) := by have hcomplete : ∀ u v : Fin n, u ≠ v → ¬ (Gᶜ).Adj u v → (∀ x, ¬ ((Gᶜ).Adj u x ∧ (Gᶜ).Adj v x)) → ∃ A B : Finset (Fin n), A.card = r ∧ B.card = r ∧ (∀ a ∈ A, (Gᶜ).Adj u a) ∧ (∀ b ∈ B, (Gᶜ).Adj v b) ∧ ∀ a ∈ A, ∀ b ∈ B, (Gᶜ).Adj a b := by intro u v huv hnonadj hfar have huvG : G.Adj u v := by by_contra h exact hnonadj ((SimpleGraph.compl_adj G u v).2 ⟨huv, h⟩) exact minimally_k_extendable_degree_surplus_zero_codegree_complete_bipartite k n r hr G hmin hdegree u v huvG hfar exact graph_zero_codegree_neighbor_complete_bipartite_order_bound n d r hr hrd (Gᶜ) hmax hcomplete