Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Average case polyhedral complexity of the maximum stable set problem

Sebastian Pokutta
v1 2026-12-02 · last 2026-12-03
Additional material: arXiv:1311.4001
Note: Formalizes the results of Braun et al. (2016) for both models. Non-uniform model, for the binomial random graph of Mathlib: Lemmas 4.1, 4.2 and 4.3, Main Theorem 4.4 in its three ranges of p, Corollary 4.5 and the upper bound of Theorem 4.6. Uniform model, for a random family of graphs: Lemma 3.2, Main Theorem 3.1 and Corollary 3.3, proved without the robustness theorem (Theorem 2.13) that the paper uses. Asymptotic statements are given with explicit quantifiers and constants. Built on the shared entry on extended formulations and on the entry on common information and unique disjointness. Numbers refer to the arXiv version.

Abstract. Braun, Fiorini and Pokutta study the number fc⁡\operatorname{fc} of inequalities that a linear program needs for random instances of the maximum stable set problem. This entry formalizes the results of the paper, with explicit quantifiers in place of asymptotic notation. In the non-uniform model the graph GG is fixed, the feasible solutions are its stable sets, and every induced subgraph HH gives the objective ∣S∩V(H)∣|S \cap V(H)| with guarantee α(H)\alpha(H). Let Kt∼K_t^\sim be the subdivision of KtK_t in which every edge becomes a path with 2ℓ+32\ell + 3 edges. Its induced subgraphs have average degree at most 2+1/(ℓ+1)2 + 1/(\ell + 1), and if ℓ\ell is even and GG contains Kt∼K_t^\sim as an induced subgraph, then fc⁡(STAB(G))≥(3/2)t−2\operatorname{fc}(\mathrm{STAB}(G)) \ge (3/2)^t - 2. By the second moment method, a graph with vv vertices whose induced subgraphs have average degree at most dd is an induced subgraph of the binomial random graph G(n,p)G(n, p) of Mathlib with probability at least 1−g2eg/21 - g^2 e^g/2, where g=v2p−d/2(1−p)−v/2/ng = v^2 p^{-d/2} (1 - p)^{-v/2}/n. Hence fc⁡(STAB(G(n,p)))≥(3/2)x\operatorname{fc}(\mathrm{STAB}(G(n, p))) \ge (3/2)^x with probability tending to one as np4→∞n p^4 \to \infty for x=cln⁡(np4)/px = c \sqrt{\ln(n p^4)/p} and any c<2c \lt \sqrt{2}; with probability 1−O(1/(np3)2)1 - O(1/(n p^3)^2) for x=1/pln⁡(1/p)x = 1/\sqrt{p \ln(1/p)} and small pp; and with probability 1−O(δ8)1 - O(\delta^8) for x=δpn/ln⁡(1/p)x = \delta \sqrt{\sqrt{p n}/\ln(1/p)} and p≤c/n3p \le c/\sqrt[3]{n}. Conversely, fc⁡(STAB(G(n,p)))≤(n+1)r\operatorname{fc}(\mathrm{STAB}(G(n, p))) \le (n + 1)^r with probability at least 1−n−(r+1)1 - n^{-(r + 1)} for natural r≥4ln⁡n/pr \ge 4 \ln n/p. In the uniform model one linear program serves a family of graphs on subsets of [n][n]. If every such graph is taken with probability p≥2n−(k2)p \ge 2^{n - \binom{k}{2}}, k=⌈n/4⌉k = \lceil n/4 \rceil, then with probability at least 1−2−2n1 - 2^{-2^n} every problem of the model with relative error ρ\rho has fc⁡≥2(n−k)/(8(1+ρ)s)−1\operatorname{fc} \ge 2^{(n - k)/(8 (1 + \rho) s)} - 1, where 4n2≤2s4 n^2 \le 2^s. The proof needs no robustness theorem for unique disjointness.

The paper studies how many inequalities a linear program needs for random instances of the maximum stable set problem, in two models. In the uniform model one linear program has to work for a whole family of graphs, which enter only through the objective function. In the non-uniform model the graph GG is fixed and the linear program may depend on it; the objective functions are those of the induced subgraphs of GG. The lower bounds in the non-uniform model for the random graph G(n,p)G(n, p) have two parts: a subdivision of a clique KtK_t occurs in G(n,p)G(n, p) as an induced subgraph with high probability, and a graph with such an induced subgraph has formulation complexity at least (3/2)t−2(3/2)^t - 2. This entry contains both parts, their combination for an arbitrary subdivision, and the choice of the subdivision for the three ranges of pp of the paper. The upper bound of the paper comes from the number of stable sets of G(n,p)G(n, p). For the uniform model the paper takes a random family of graphs, each graph on a subset of [n][n] being included with probability pp; the family is likely to contain a graph of small stability number on every large set of vertices, and this puts a shifted matrix of unique disjointness into the slack matrix. The sections below follow the order of the proofs for the non-uniform model; the uniform model comes last.

The stable set problem of a graph

The stable set problem of a graph GG in the non-uniform model (Definition 2.10) has the stable sets of GG as feasible solutions and one objective function fH(S)=∣S∩V(H)∣f_H(S) = |S \cap V(H)| for every induced subgraph HH of GG, with the guarantee fH∗=α(H)f_H^* = \alpha(H). This is the independent set problem of the core with factor ρ=1\rho = 1, and fc⁡(STAB(G))\operatorname{fc}(\mathrm{STAB}(G)) denotes its formulation complexity. By the factorization theorem for problems it is the LP rank of the slack matrix, with the entries α(H)−∣S∩V(H)∣\alpha(H) - |S \cap V(H)|.

The slack matrix has one column for every stable set. In the proof of Theorem 4.6 this is the step from a bound on the stability number of G(n,p)G(n, p) to an upper bound on the formulation complexity.

On the rows of the one-element sets {i}\{i\}, the column of the empty stable set minus the column of the stable set {j}\{j\} is the jj-th unit vector, and the shift of an LP factorization cancels in the difference. So an LP factorization with rr terms factors the identity matrix of size nn through Rr\mathbb{R}^r, and n≤rn \le r. The paper uses this bound in the proof of Main Theorem 4.4, to dispose of the cases in which the subdivision would be small.

The gadget

Dividing every path into the half that starts at ii and the half that starts at jj avoids choosing a direction for the edges of KtK_t.

This is equation (10) of the paper for T=KtT = K_t. On a path PijP_{ij} a stable set has at most ℓ+1\ell + 1 inner vertices, and at most ℓ\ell if it contains both ii and jj: the 2ℓ+22 \ell + 2 inner vertices form ℓ+1\ell + 1 adjacent pairs, and without the neighbours of ii and jj the remaining 2ℓ2 \ell form ℓ\ell adjacent pairs. So a stable set with xx vertices of KtK_t has at most x+(ℓ+1)(t2)−(x2)≤1+(ℓ+1)(t2)x + (\ell + 1) \binom{t}{2} - \binom{x}{2} \le 1 + (\ell + 1) \binom{t}{2} vertices.

Let every edge distribute the weight 2ℓ+22 \ell + 2 to its two ends: on a path i=x0,x1,…,x2ℓ+3=ji = x_0, x_1, \dots, x_{2 \ell + 3} = j the edge between xmx_m and xm+1x_{m+1} gives mm to xmx_m and 2ℓ+2−m2 \ell + 2 - m to xm+1x_{m+1}. The vertices ii and jj receive nothing, and an inner vertex xmx_m receives (2ℓ+3−m)+m=2ℓ+3(2 \ell + 3 - m) + m = 2 \ell + 3 from its two edges. For a set SS of vertices, the edges inside SS distribute (2ℓ+2) ∣E(S)∣(2 \ell + 2)\, |E(S)| to vertices of SS, each of which receives at most 2ℓ+32 \ell + 3. So (2ℓ+2) ∣E(S)∣≤(2ℓ+3) ∣S∣(2 \ell + 2)\, |E(S)| \le (2 \ell + 3)\, |S|, which is the claim; the definition of the average degree of the induced subgraphs is given below. The subdivision T∼T^\sim of a graph TT with tt vertices is an induced subgraph of Kt∼K_t^\sim, so the bound holds for all its induced subgraphs as well.

The lower bound

For b⊆[t]b \subseteq [t] let S(b)S(b) be the stable set of the gadget that contains bb; on a half path that starts at i∈bi \in b the vertices wijsw_{ij}^s with ss even; and on a half path that starts at i∉bi \notin b those with ss odd, except that of the two middle vertices of a path with both ends outside bb only one is taken. For a⊆[t]a \subseteq [t] consider two induced subgraphs: the gadget of the vertices of aa, and the matching formed by the middle vertices of its paths. Their stability numbers are 1+(ℓ+1)(∣a∣2)1 + (\ell + 1) \binom{|a|}{2}, for a≠∅a \ne \emptyset, and (∣a∣2)\binom{|a|}{2}, and S(b)S(b) has ∣a∩b∣+(ℓ+1)(∣a∣2)−(∣a∩b∣2)|a \cap b| + (\ell + 1) \binom{|a|}{2} - \binom{|a \cap b|}{2} vertices in the first and (∣a∣2)−(∣a∩b∣2)\binom{|a|}{2} - \binom{|a \cap b|}{2} in the second. So the sum of the two rows of the slack matrix for aa has the entry

1−∣a∩b∣+2(∣a∩b∣2)=(1−∣a∩b∣)21 - |a \cap b| + 2 \binom{|a \cap b|}{2} = (1 - |a \cap b|)^2

in the column of S(b)S(b): the matrix of unique disjointness, without the row of the empty set.

Now let the slack matrix have an LP factorization with rr terms. Every pair (a,b)(a, b) of disjoint sets with a≠∅a \ne \emptyset has the entry 1, so one of the rr terms, or the shift, is positive at the two rows of aa and the column of S(b)S(b). The pairs with the same term form a set of pairs of disjoint sets in which no aa meets a bb in exactly one element, so there are at most 2t2^t of them by the lemma on sets of disjoint pairs of the core. There are 3t−2t3^t - 2^t such pairs, hence (r+1) 2t≥3t−2t(r + 1)\, 2^t \ge 3^t - 2^t.

Induced copies in the random graph

In the binomial random graph G(n,p)G(n, p) each of the (n2)\binom{n}{2} pairs of vertices is an edge with probability pp, independently of the others. Formally it is the measure SimpleGraph.binomialRandom V p of Mathlib on the graphs with a finite vertex set VV, which gives a graph with mm edges the probability pm(1−p)(n2)−mp^m (1 - p)^{\binom{n}{2} - m}.

The number ww is the value W(1/2)W(1/\sqrt{2}) of the Lambert function, and c0≈1.23c_0 \approx 1.23.

The proof is the second moment method, for labelled copies. For an injective map ff from the vertices of HH to [n][n] let XfX_f be the indicator of the event that ff is an induced copy: f(x)f(x) and f(y)f(y) are adjacent in the random graph exactly if xx and yy are adjacent in HH. The event prescribes the (v2)\binom{v}{2} pairs inside the image of ff, so E[Xf]=π=pe(1−p)(v2)−e\mathbb{E}[X_f] = \pi = p^{e} (1 - p)^{\binom{v}{2} - e} with e=∣E(H)∣e = |E(H)|. The sum XX of the XfX_f over the N=n(n−1)⋯(n−v+1)N = n (n - 1) \cdots (n - v + 1) injective maps has E[X]=Nπ\mathbb{E}[X] = N \pi, and

P[X=0] (Nπ)2≤Var⁡[X]=∑f,f′(E[XfXf′]−π2).\mathbb{P}[X = 0]\, (N \pi)^2 \le \operatorname{Var}[X] = \sum_{f, f'} \bigl( \mathbb{E}[X_f X_{f'}] - \pi^2 \bigr) .

For two maps ff and f′f' let KK be the set of the vertices of HH that f′f' sends into the image of ff, and k=∣K∣k = |K|. Dropping the conditions of f′f' on the pairs inside the image of ff leaves a product of independent conditions, so E[XfXf′]≤π2p−a(1−p)−b\mathbb{E}[X_f X_{f'}] \le \pi^2 p^{-a} (1 - p)^{-b}, where aa is at most the number of edges of HH inside KK and bb at most the number of the other pairs inside KK. By the hypothesis a≤dk/2a \le d k / 2, and b≤(k2)≤kv/2b \le \binom{k}{2} \le k v / 2. Hence E[XfXf′]≤π2ρk\mathbb{E}[X_f X_{f'}] \le \pi^2 \rho^k with ρ=p−d/2(1−p)−v/2\rho = p^{-d/2} (1 - p)^{-v/2}, and for k≤1k \le 1 there are no pairs inside KK and the covariance is not positive. With ρk≤∑T⊆K, ∣T∣≥2ρ∣T∣\rho^k \le \sum_{T \subseteq K,\, |T| \ge 2} \rho^{|T|} for k≥2k \ge 2,

P[X=0] N2≤∑f∑∣T∣≥2ρ∣T∣ ∣{f′:f′(T)⊆f(V(H))}∣=N∑j=2v(vj)ρj vj‾ (n−j)v−j‾,\mathbb{P}[X = 0]\, N^2 \le \sum_{f} \sum_{|T| \ge 2} \rho^{|T|}\, \bigl| \{ f' : f'(T) \subseteq f(V(H)) \} \bigr| = N \sum_{j = 2}^{v} \binom{v}{j} \rho^{j}\, v^{\underline{j}}\, (n - j)^{\underline{v - j}} ,

where mj‾=m(m−1)⋯(m−j+1)m^{\underline{j}} = m (m - 1) \cdots (m - j + 1): a set TT of jj vertices can be mapped into the image of ff in vj‾v^{\underline{j}} ways, and each of them extends to (n−j)v−j‾(n - j)^{\underline{v - j}} injective maps. Since N=nj‾ (n−j)v−j‾N = n^{\underline{j}}\, (n - j)^{\underline{v - j}} and vj‾/nj‾≤(v/n)jv^{\underline{j}} / n^{\underline{j}} \le (v/n)^j, the term for jj is at most N(vj)(ρv/n)j≤Ngj/j!N \binom{v}{j} (\rho v / n)^j \le N g^j / j! with g=g(n,v,d,p)g = g(n, v, d, p), and ∑j≥2gj/j!≤g2eg/2\sum_{j \ge 2} g^j / j! \le g^2 e^{g} / 2.

For the lemma, the ratio with the denominator n−vn - v is the larger one. If it is at most 2w2 w, then eg≤e2we^{g} \le e^{2 w}; otherwise c0g2>c0(2w)2=2(wew)2=1c_0 g^2 > c_0 (2 w)^2 = 2 (w e^{w})^2 = 1.

Lower bounds for the random graph

Lemmas 4.1, 4.2 and 4.3 together give the first display of the proof of Main Theorem 4.4.

The formulation complexity is a natural number or infinite, so it is below a real number exactly if it is below the ceiling of this number, and the events are stated in this form. Main Theorem 4.4 chooses tt and ℓ\ell in terms of nn and pp for three ranges of pp and estimates gg.

In all three parts the gadget has t=⌈x⌉+3t = \lceil x \rceil + 3 for the exponent xx of the theorem; then (3/2)t−2≥(3/2)x(3/2)^t - 2 \ge (3/2)^x. The probability of failure is at most g2eg/2g^2 e^{g}/2, which is at most 2g22 g^2 if g≤1g \le 1; so it is at most 2g22 g^2 always.

In part (i) the gadget has ℓ=0\ell = 0 and therefore t2t^2 vertices. Let L=ln⁡(np4)L = \ln(n p^4) and c<c1<2c < c_1 < \sqrt{2}. For large LL we have t≤c1L/pt \le c_1 \sqrt{L/p}, and with p−3/2≤p−2p^{-3/2} \le p^{-2}, with (1−p)−1≤ep(1+2p)(1 - p)^{-1} \le e^{p (1 + 2 p)} for p≤1/2p \le 1/2 and with n=eL/p4n = e^{L}/p^4,

g≤t4 p−2 et2p(1+2p)/2n≤c14L2e(c12(1+2p)−2)L/2.g \le \frac{t^4\, p^{-2}\, e^{t^2 p (1 + 2 p)/2}}{n} \le c_1^4 L^2 e^{(c_1^2 (1 + 2 p) - 2) L/2} .

For p≤ε0p \le \varepsilon_0 with c12(1+2ε0)<2c_1^2 (1 + 2 \varepsilon_0) < 2 this tends to zero as L→∞L \to \infty, uniformly in pp. For p>ε0p > \varepsilon_0 the exponent of the theorem is at most cln⁡n/ε0c \sqrt{\ln n / \varepsilon_0}, so the bound is below nn for large nn, and the formulation complexity is at least nn.

In parts (ii) and (iii) the gadget has ℓ=2⌈ln⁡(1/p)/2⌉\ell = 2 \lceil \ln(1/p)/2 \rceil. Then p−d/2≤e/p≤2/pp^{-d/2} \le \sqrt{e}/p \le 2/p, and for p≤1/4p \le 1/4 and x≥1x \ge 1 the gadget has at most w=100ln⁡(1/p) x2w = 100 \ln(1/p)\, x^2 vertices and g≤w2 (2/p) epw/ng \le w^2\, (2/p)\, e^{p w}/n. In part (ii), x2=1/(pln⁡(1/p))x^2 = 1/(p \ln(1/p)), so w=100/pw = 100/p and g≤2⋅104e100/(np3)g \le 2 \cdot 10^4 e^{100}/(n p^3). In part (iii), x2=δ2pn/ln⁡(1/p)x^2 = \delta^2 \sqrt{p n}/\ln(1/p), so w=100 δ2pnw = 100\, \delta^2 \sqrt{p n}, pw≤100 c3/2p w \le 100\, c^{3/2} and g≤2⋅104e100c3/2δ4g \le 2 \cdot 10^4 e^{100 c^{3/2}} \delta^4; and if x<1x < 1, then the bound of the theorem is below 3/23/2, while the formulation complexity is at least n≥2n \ge 2. The constants that come out of these estimates are far from optimal.

Special edge probabilities

Corollary 4.5 lists five special cases of the main theorem, the displays (14) to (18) of the paper. In each of the following statements, “with probability tending to zero” means: for every η>0\eta > 0 there is n0n_0 such that the probability is at most η\eta for all n≥n0n \ge n_0.

For (14), part (i) of the main theorem with c=1c = 1 applies: np4=n1−4εn p^4 = n^{1 - 4 \varepsilon} tends to infinity and ln⁡(np4)/p=(1−4ε) nεln⁡n\ln(n p^4)/p = (1 - 4 \varepsilon)\, n^{\varepsilon} \ln n. For (15), part (ii) applies: np3=n1−3εn p^3 = n^{1 - 3 \varepsilon} tends to infinity and pln⁡(1/p)=ε n−εln⁡np \ln(1/p) = \varepsilon\, n^{-\varepsilon} \ln n.

For (16) and (17), part (iii) applies with c=1c = 1. In (16) take δ=ε/ln⁡n\delta = \sqrt{\varepsilon / \ln n}: then p3n=n1−3ε≤1p^3 n = n^{1 - 3 \varepsilon} \le 1, the exponent is δn(1−ε)/2/(εln⁡n)=n(1−ε)/4/ln⁡n\delta \sqrt{n^{(1 - \varepsilon)/2} / (\varepsilon \ln n)} = n^{(1 - \varepsilon)/4} / \ln n, and Cδ8=C(ε/ln⁡n)4C \delta^8 = C (\varepsilon / \ln n)^4 tends to zero. In (17) take δ=(ln⁡n)−ε/20\delta = (\ln n)^{-\varepsilon/20}: then p3n=(ln⁡n)18+3ε/n2≤1p^3 n = (\ln n)^{18 + 3 \varepsilon} / n^2 \le 1 for large nn, and since ln⁡(1/p)≤ln⁡n\ln(1/p) \le \ln n the exponent is at least (ln⁡n)−ε/20(ln⁡n)3+ε/2/ln⁡n=(ln⁡n)1+ε/5(\ln n)^{-\varepsilon/20} \sqrt{(\ln n)^{3 + \varepsilon/2} / \ln n} = (\ln n)^{1 + \varepsilon/5}; and Cδ8=C(ln⁡n)−2ε/5C \delta^8 = C (\ln n)^{-2 \varepsilon/5} tends to zero.

For (18), part (i) applies with a constant c′c' between cc and 2\sqrt{2}. With θ=(c/c′)2<1\theta = (c/c')^2 < 1 we have np4=n δ4/ln⁡4n≥nθn p^4 = n\, \delta^4 / \ln^4 n \ge n^{\theta} for large nn, so ln⁡(np4)/p≥θln⁡2n/δ\ln(n p^4)/p \ge \theta \ln^2 n / \delta and c′ln⁡(np4)/p≥cln⁡n/δc' \sqrt{\ln(n p^4)/p} \ge c \ln n / \sqrt{\delta}; and (3/2)cln⁡n/δ=ncln⁡(3/2)/δ(3/2)^{c \ln n / \sqrt{\delta}} = n^{c \ln(3/2)/\sqrt{\delta}}.

The upper bound

A set of rr vertices is stable with probability (1−p)(r2)≤e−pr(r−1)/2(1 - p)^{\binom{r}{2}} \le e^{-p r (r - 1)/2}, and there are (nr)≤nr\binom{n}{r} \le n^r such sets.

There are ∑i≤r(ni)≤(n+1)r\sum_{i \le r} \binom{n}{i} \le (n + 1)^r sets with at most rr vertices.

If the formulation complexity exceeds (n+1)r(n + 1)^r, then there is a stable set with r+1r + 1 vertices, and n e−pr/2≤1/nn\, e^{-p r/2} \le 1/n for pr≥4ln⁡np r \ge 4 \ln n. For r=⌈4ln⁡n/p⌉r = \lceil 4 \ln n / p \rceil the bound (n+1)r(n + 1)^r is 2O(ln⁡2n/p)2^{O(\ln^2 n / p)} and the probability is at most n−4ln⁡n/pn^{-4 \ln n / p}, which is the statement of the paper.

The uniform model

In the uniform model there is one linear program for a whole family of graphs. The feasible solutions are all subsets of a ground set VV with nn elements, and the graphs enter through the objective functions.

The class STABu(G,ρ)\mathrm{STAB}^u(\mathcal{G}, \rho) of the paper consists of these problems for all objective functions of the uniform model, and its formulation complexity is the least fc⁡(G,f,ρ)\operatorname{fc}(\mathcal{G}, f, \rho). The statements below are for every ff.

This is the example after Definition 2.8, whose first condition the paper leaves to the reader. A set TT of vertices that is not stable contains an edge; deleting one of its ends removes one vertex and at least one edge inside TT. By induction ∣T∣≤α(G)+∣E(G[T])∣|T| \le \alpha(G) + |E(G[T])|.

The probability is at most (nr) 2−(r2)\binom{n}{r}\, 2^{-\binom{r}{2}}, and nr+1≤2(r2)n^{r + 1} \le 2^{\binom{r}{2}} follows from n3≤2rn^3 \le 2^r and r≥6r \ge 6. The condition on rr is r≥3log⁡2nr \ge 3 \log_2 n.

For a′⊆V∖Fa' \subseteq V \setminus F let Ga′∈GG_{a'} \in \mathcal{G} be a graph with vertex set F∪a′F \cup a' and α(Ga′)≤s\alpha(G_{a'}) \le s. For b⊆V∖Fb \subseteq V \setminus F with ∣a′∩b∣≤1|a' \cap b| \le 1 the second condition on the objective functions gives the slack (1+ρ) α(Ga′)−∣a′∩b∣(1 + \rho)\, \alpha(G_{a'}) - |a' \cap b| at the solution bb. Adding the nonnegative number (1+ρ)(s−α(Ga′))(1 + \rho) (s - \alpha(G_{a'})) to the row of Ga′G_{a'} gives a nonnegative matrix with rows and columns indexed by the subsets of V∖FV \setminus F, whose entries are (1+ρ)s(1 + \rho) s on disjoint pairs and (1+ρ)s−1(1 + \rho) s - 1 on pairs with one common element. By the bound for shifts of unique disjointness its nonnegative rank is at least 2(n−∣F∣)/(8(1+ρ)s)2^{(n - |F|)/(8 (1 + \rho) s)}. Shifts of rows do not increase the LP rank, and the nonnegative rank is at most the LP rank plus one.

With s=⌈log⁡2(4n2)⌉≤2log⁡2n+3s = \lceil \log_2(4 n^2) \rceil \le 2 \log_2 n + 3 the bound of the theorem is 2Ω(n/log⁡n)2^{\Omega(n / \log n)}, and for ρ≤n1−ε/log⁡n\rho \le n^{1 - \varepsilon} / \log n the bound of the corollary is 2Ω(nε)2^{\Omega(n^{\varepsilon})}.

For the proof, call a graph with vertex set aa good if its stability number is at most ss. At most (js+1) 2(j2)−(s+12)\binom{j}{s + 1}\, 2^{\binom{j}{2} - \binom{s + 1}{2}} of the 2(j2)2^{\binom{j}{2}} graphs on a set aa with jj elements are not good, and 10 ns+1≤2(s+12)10\, n^{s + 1} \le 2^{\binom{s + 1}{2}} follows from 4n2≤2s4 n^2 \le 2^s; so at least nine tenths of them are good. The family avoids a given set of mm graphs with probability (1−p)m≤e−pm(1 - p)^m \le e^{-p m}. Hence for j≥kj \ge k the family contains no good graph on aa with probability at most exp⁡(−910 p 2(k2))≤exp⁡(−910 2n)\exp(-\tfrac{9}{10}\, p\, 2^{\binom{k}{2}}) \le \exp(-\tfrac{9}{10}\, 2^n). Fix a set FF with kk elements. There are at most 2n2^n sets a⊇Fa \supseteq F, and 2nexp⁡(−910 2n)≤2−2n2^n \exp(-\tfrac{9}{10}\, 2^n) \le 2^{-2^n} for n≥6n \ge 6. So with probability at least 1−2−2n1 - 2^{-2^n} the family contains a good graph on every set that contains FF, and the proposition applies.

Coverage

This entry covers the results of Sections 3 and 4 of the paper. Section 3: Main Theorem 3.1, Lemma 3.2 and Corollary 3.3, with Definition 2.8 and the example after it. Section 4: Lemma 4.1 for the complete graph, Lemma 4.2, equation (10) for the complete graph, Lemma 4.3, Main Theorem 4.4, Corollary 4.5 and Theorem 4.6. The framework of Section 2 (Definitions 2.1, 2.3 and 2.6, Lemma 2.5, Theorem 2.7 and Theorem 2.12) is in the core. Theorem 2.13, a result quoted from the paper on common information, is not used by the proofs here; it is part of the entry Common information and unique disjointness. Example 2.14, the family of all complete graphs, is the case F=∅F = \emptyset, s=1s = 1 of the proposition on families with good graphs, which gives the bound 2n/8−12^{n/8} - 1 for it; the example itself, with the unshifted matrix of unique disjointness, is not a separate statement.

The formal statements at a glance

Main.lean
/-- The number of vertices of the gadget. -/
theorem gadget_card : GadgetCard := Proof.gadget_card

/-- The stability number of the gadget. -/
theorem gadget_stability : GadgetStability := Proof.gadget_stability

/-- Lemma 4.2: a graph that contains the gadget of `K_t` as an induced subgraph. -/
theorem gadget_lower_bound : GadgetLowerBound := fun G t ℓ hℓ h k hk =>
  Proof.gadget_lower_bound G t ℓ hℓ h k hk

/-- The formulation complexity is at most the number of stable sets. -/
theorem few_stable_sets : FewStableSets := fun G => Proof.fcIndependentSet_le_card G

/-- Lemma 4.3 with the bound `g² e ^ g / 2`, for the denominator `n`. -/
theorem second_moment : SecondMoment := fun H d p hH hp0 hp1 hn =>
  Proof.second_moment H d p hH hp0 hp1 hn

/-- Lemma 4.3: the second moment lemma for induced copies in the random graph. -/
theorem second_moment_lambert : SecondMomentLambert := fun H d p hH hp0 hp1 hvn w hw0 hw =>
  Proof.second_moment_lambert H d p hH hp0 hp1 hvn w hw0 hw

/-- The constant `c₀` of Lemma 4.3 is well defined and below `5/4`. -/
theorem lambert_constant : LambertConstant := Proof.lambert_constant

/-- Lemma 4.1: the average degree of the induced subgraphs of the gadget. -/
theorem gadget_average_degree : GadgetAverageDegree := Proof.gadget_avgDegree

/-- The formulation complexity is at least the number of vertices. -/
theorem vertices_lower_bound : VerticesLowerBound := fun G => Proof.card_le_fcIndependentSet G

/-- Lemmas 4.1, 4.2 and 4.3 together: the first display of the proof of Main Theorem 4.4. -/
theorem random_graph_lower_bound : RandomGraphLowerBound := fun t ℓ p hℓ hp0 hp1 hn g hg => by
  rw [hg]
  exact Proof.gadget_random t ℓ p hℓ hp0 hp1 hn

/-- Main Theorem 4.4 (i): `p` with `n p⁴ → ∞`. -/
theorem random_graph_dense : RandomGraphDense := fun c hc0 hc η hη =>
  Proof.random_dense c hc0 hc η hη

/-- Main Theorem 4.4 (ii): small `p`, with the probability `1 - O(1 / (n p³)²)`. -/
theorem random_graph_middle : RandomGraphMiddle := Proof.random_middle

/-- Main Theorem 4.4 (iii): `p` up to `c n ^ (-1/3)`, with the probability `1 - O(δ⁸)`. -/
theorem random_graph_sparse : RandomGraphSparse := fun c hc => Proof.random_sparse c hc

/-- Corollary 4.5, display (14): `p = n ^ (-ε)` with `ε < 1/4`. -/
theorem special_dense : SpecialDense := fun ε hε η hη => Proof.special_dense ε hε η hη

/-- Corollary 4.5, display (15): `p = n ^ (-ε)` with `ε < 1/3`. -/
theorem special_middle : SpecialMiddle := fun ε hε0 hε η hη =>
  Proof.special_middle ε hε0 hε η hη

/-- Corollary 4.5, display (16): `p = n ^ (-ε)` with `ε ≥ 1/3`. -/
theorem special_sparse : SpecialSparse := fun ε hε η hη => Proof.special_sparse ε hε η hη

/-- Corollary 4.5, display (17): `p = (ln n) ^ (6 + ε) / n`. -/
theorem special_polylog : SpecialPolylog := fun ε hε η hη => Proof.special_polylog ε hε η hη

/-- Corollary 4.5, display (18): `p = δ / ln n`, with the natural logarithm of `3/2`. -/
theorem special_log : SpecialLog := fun δ hδ c hc0 hc η hη =>
  Proof.special_log δ hδ c hc0 hc η hη

/-- The first moment bound for the stability number of the random graph. -/
theorem stability_tail : StabilityTail := fun p r => by
  classical
  exact Proof.stability_tail p r

/-- A graph without large stable sets has few stable sets. -/
theorem few_stable_sets_stability : FewStableSetsStability := fun G r h =>
  Proof.fcIndependentSet_le_pow G r h

/-- Theorem 4.6 for every `r`, with the bound `(n e ^ (-p r / 2)) ^ (r + 1)`. -/
theorem upper_bound_exp : UpperBoundExp := fun p r => Proof.upper_bound_exp p r

/-- Theorem 4.6: the upper bound for the random graph. -/
theorem upper_bound : UpperBound := fun p r hr => Proof.upper_bound p r hr

/-- Lemma 3.2: the stability number of the uniformly random graph. -/
theorem stability_half : StabilityHalf := fun p r hp hn hr => by
  classical
  exact Proof.stability_half p hp r hn hr

/-- The example after Definition 2.8: an objective function of the uniform model. -/
theorem edge_deletion_objective : EdgeDeletionObjective := fun 𝒢 =>
  Proof.isUniformObjective_edgeDeletion 𝒢

/-- The deterministic part of Main Theorem 3.1 and Corollary 3.3. -/
theorem uniform_lower_bound : UniformLowerBound := fun 𝒢 f ρ F s hf hρ hs hgood k hk =>
  natCast_lt_of_forall_le (fun r hr =>
    sub_le_iff_le_add.mpr (uniform_rank 𝒢 f hf ρ hρ F s hs hgood r hr)) k
      (lt_sub_iff_add_lt.mpr hk)

/-- Corollary 3.3: the uniform model for a random family of graphs, with relative error. -/
theorem uniform_model : UniformModel := fun p ρ s hρ hn hs hp =>
  Proof.uniform_model p ρ s hρ hn hs hp

/-- Main Theorem 3.1: the uniform model for a random family of graphs. -/
theorem uniform_model_exact : UniformModelExact := fun p s hn hs hp => by
  have h := Proof.uniform_model p 0 s le_rfl hn hs hp
  simpa using h
Formal verification — ✅ all 35 formal results are kernel-checked

Checked at commit d482a252ef6d. The formal statement is machine-checked; that it matches the prose is checked by review. What “checked” means.

Lean GadgetVertex · ◇ elaborated · source

Definition in Lean
/-- The vertices of the gadget: the `t` vertices of the complete graph, and for every ordered
pair `(i, j)` the `ℓ + 1` inner vertices of the path from `i` to `j` that are closer to `i`. The
vertex `((i, j), s)` has distance `s + 1` from `i`, and the two vertices `((i, j), ℓ)` and
`((j, i), ℓ)` are the middle vertices of the path. -/
abbrev GadgetVertex (t ℓ : ℕ) : Type :=
  Fin t ⊕ (OrdPair t × Fin (ℓ + 1))

Lean gadget · ◇ elaborated · source

Definition in Lean
/-- The **gadget graph**: the subdivision of the complete graph on `t` vertices in which every
edge is replaced by a path with `2 ℓ + 3` edges. -/
def gadget (t ℓ : ℕ) : SimpleGraph (GadgetVertex t ℓ) :=
  SimpleGraph.fromRel (gadgetStep t ℓ)

Lean AvgDegreeLE · ◇ elaborated · source

Definition in Lean
/-- Every induced subgraph of `H` has **average degree at most `d`**: for every finite set `S`
of vertices, twice the number of edges of `H` inside `S` is at most `d |S|`. -/
def AvgDegreeLE {W : Type*} (H : SimpleGraph W) (d : ℝ) : Prop :=
  ∀ S : Finset W, 2 * ((H.induce (S : Set W)).edgeSet.ncard : ℝ) ≤ d * S.card

Lean existenceRatio · ◇ elaborated · source

Definition in Lean
/-- The quantity `g` of the second moment lemma, for a graph with `v` vertices all of whose
induced subgraphs have average degree at most `d`: `v² p ^ (-d/2) (1 - p) ^ (-v/2) / m`. -/
noncomputable def existenceRatio (m v : ℕ) (d p : ℝ) : ℝ :=
  (v : ℝ) ^ 2 * p ^ (-(d / 2)) * (1 - p) ^ (-((v : ℝ) / 2)) / m

/-! ### The uniform model -/

Lean VertexGraph · ◇ elaborated · source

Definition in Lean
/-- **Graphs with vertices in `V`**: a set `a` of elements of `V` and a graph with vertex set
`a`. -/
abbrev VertexGraph (V : Type*) : Type _ :=
  Σ a : Finset V, SimpleGraph a

Lean IsUniformObjective · ◇ elaborated · source

Definition in Lean
/-- **The objective functions of the uniform model** for a family `𝒢` of graphs with vertices in
`V`. Every graph `G` of the family has an objective function `f G` on the subsets of `V`, whose
maximum is the stability number of `G`, and with `f G S = |V(G) ∩ S|` whenever `V(G) ∩ S` has at
most one element. -/
def IsUniformObjective {V : Type*} [DecidableEq V] (𝒢 : Set (VertexGraph V))
    (f : VertexGraph V → Finset V → ℝ) : Prop :=
  ∀ G ∈ 𝒢, (∀ S, f G S ≤ (G.2.indepNum : ℝ)) ∧ (∃ S, f G S = (G.2.indepNum : ℝ)) ∧
    ∀ S, (G.1 ∩ S).card ≤ 1 → f G S = ((G.1 ∩ S).card : ℝ)

Lean fcUniform · ◇ elaborated · source

Definition in Lean
/-- **The formulation complexity of a problem of the uniform model** with relative error `ρ`:
the feasible solutions are all subsets of `V`, the instances are the graphs of the family, with
the objective functions `f`, and the value of the linear program for a graph `G` is at most
`(1 + ρ) α(G)`. -/
noncomputable def fcUniform {V : Type*} (𝒢 : Set (VertexGraph V))
    (f : VertexGraph V → Finset V → ℝ) (ρ : ℝ) : ℕ∞ :=
  fcLP 1 (fun (G : 𝒢) (S : Finset V) => f G.1 S)
    (fun G => (1 + ρ) * (G.1.2.indepNum : ℝ)) (fun G => (G.1.2.indepNum : ℝ))

Lean edgeDeletionObjective · ◇ elaborated · source

Definition in Lean
/-- **The edge deletion objective.** The number of vertices of `G` in `S` minus the number of
edges of `G` with both ends in `S`: the size of the stable set that is left when one end of every
such edge is deleted is at least this number. -/
noncomputable def edgeDeletionObjective {V : Type*} [DecidableEq V] (G : VertexGraph V)
    (S : Finset V) : ℝ :=
  ((G.1 ∩ S).card : ℝ) -
    (({e ∈ G.2.edgeSet | ∀ x ∈ e, (x : V) ∈ S} : Set (Sym2 G.1)).ncard : ℝ)

Lean few_stable_sets · ✅ kernel-checked · source

Statement in Lean
/-- The formulation complexity is at most the number of stable sets. -/
theorem few_stable_sets : FewStableSets

where FewStableSets is (source):

/-- **Few stable sets.** The formulation complexity of the stable set problem of a finite graph
is at most the number of its stable sets. -/
def FewStableSets : Prop :=
  ∀ {V : Type u} [Fintype V] [DecidableEq V] (G : SimpleGraph V),
    fcIndependentSet G 1 ≤ Nat.card {I : Finset V // IsIndependentSet G I}

Lean gadget_card · ✅ kernel-checked · source

Statement in Lean
/-- The number of vertices of the gadget. -/
theorem gadget_card : GadgetCard

where GadgetCard is (source):

/-- **The size of the gadget.** The gadget of `K_t` has `t + (ℓ + 1) t (t - 1)` vertices. -/
def GadgetCard : Prop :=
  ∀ t ℓ : ℕ, Fintype.card (GadgetVertex t ℓ) = t + (ℓ + 1) * (t * (t - 1))

Lean gadget_stability · ✅ kernel-checked · source

Statement in Lean
/-- The stability number of the gadget. -/
theorem gadget_stability : GadgetStability

where GadgetStability is (source):

/-- **The stability number of the gadget.** For even `ℓ` and `t ≥ 1`, twice the stability number
of the gadget of `K_t` is `2 + (ℓ + 1) t (t - 1)`. -/
def GadgetStability : Prop :=
  ∀ t ℓ : ℕ, Even ℓ → 1 ≤ t →
    2 * independentSetOpt (gadget t ℓ) Finset.univ =
      2 + ((ℓ : ℝ) + 1) * ((t * (t - 1) : ℕ) : ℝ)

Lean gadget_lower_bound · ✅ kernel-checked · source

Statement in Lean
/-- Lemma 4.2: a graph that contains the gadget of `K_t` as an induced subgraph. -/
theorem gadget_lower_bound : GadgetLowerBound

where GadgetLowerBound is (source):

/-- **A gadget gives a lower bound.** If a graph `G` contains the gadget of `K_t`, for an even
`ℓ`, as an induced subgraph, then the formulation complexity of the stable set problem of `G` is
at least `(3/2) ^ t - 2`: every natural number below this bound is below the formulation
complexity. -/
def GadgetLowerBound : Prop :=
  ∀ {V : Type u} [DecidableEq V] (G : SimpleGraph V) (t ℓ : ℕ), Even ℓ →
    Nonempty (gadget t ℓ ↪g G) →
      ∀ k : ℕ, (k : ℝ) < (3 / 2 : ℝ) ^ t - 2 → (k : ℕ∞) < fcIndependentSet G 1

Lean second_moment_lambert · ✅ kernel-checked · source

Statement in Lean
/-- Lemma 4.3: the second moment lemma for induced copies in the random graph. -/
theorem second_moment_lambert : SecondMomentLambert

where SecondMomentLambert is (source):

/-- **The second moment lemma.** In the same situation with `v < n`, and with the denominator
`n - v` in `g`, the probability that the binomial random graph on `n` vertices has no induced
copy of `H` is at most `c₀ g²`, where `c₀ = exp (2 w) / 2` for the positive number `w` with
`w exp w = 1/√2`, the value of the Lambert function at `1/√2`. -/
def SecondMomentLambert : Prop :=
  ∀ {V : Type u} [Fintype V] {W : Type v} [Fintype W] (H : SimpleGraph W) (d : ℝ)
    (p : unitInterval), AvgDegreeLE H d → 0 < (p : ℝ) → (p : ℝ) < 1 →
      Fintype.card W < Fintype.card V → ∀ w : ℝ, 0 < w → w * Real.exp w = 1 / Real.sqrt 2 →
        (SimpleGraph.binomialRandom V p).real {G | IsEmpty (H ↪g G)} ≤
          Real.exp (2 * w) / 2 *
            existenceRatio (Fintype.card V - Fintype.card W) (Fintype.card W) d p ^ 2

Lean second_moment · ✅ kernel-checked · source

Statement in Lean
/-- Lemma 4.3 with the bound `g² e ^ g / 2`, for the denominator `n`. -/
theorem second_moment : SecondMoment

where SecondMoment is (source):

/-- **The second moment lemma, with the exponential.** Let `H` be a graph with `v` vertices all
of whose induced subgraphs have average degree at most `d`, let `0 < p < 1`, and let
`g = v² p ^ (-d/2) (1 - p) ^ (-v/2) / n`. The probability that the binomial random graph on `n`
vertices has no induced copy of `H` is at most `g² e ^ g / 2`. -/
def SecondMoment : Prop :=
  ∀ {V : Type u} [Fintype V] {W : Type v} [Fintype W] (H : SimpleGraph W) (d : ℝ)
    (p : unitInterval), AvgDegreeLE H d → 0 < (p : ℝ) → (p : ℝ) < 1 → 0 < Fintype.card V →
      (SimpleGraph.binomialRandom V p).real {G | IsEmpty (H ↪g G)} ≤
        existenceRatio (Fintype.card V) (Fintype.card W) d p ^ 2 *
          Real.exp (existenceRatio (Fintype.card V) (Fintype.card W) d p) / 2

Lean lambert_constant · ✅ kernel-checked · source

Statement in Lean
/-- The constant `c₀` of Lemma 4.3 is well defined and below `5/4`. -/
theorem lambert_constant : LambertConstant

where LambertConstant is (source):

/-- **The constant of the second moment lemma.** There is exactly one positive number `w` with
`w exp w = 1/√2`, and the constant `exp (2 w) / 2` is below `5/4`. -/
def LambertConstant : Prop :=
  (∃! w : ℝ, 0 < w ∧ w * Real.exp w = 1 / Real.sqrt 2) ∧
    ∀ w : ℝ, 0 < w → w * Real.exp w = 1 / Real.sqrt 2 → Real.exp (2 * w) / 2 < 5 / 4

Lean gadget_average_degree · ✅ kernel-checked · source

Statement in Lean
/-- Lemma 4.1: the average degree of the induced subgraphs of the gadget. -/
theorem gadget_average_degree : GadgetAverageDegree

where GadgetAverageDegree is (source):

/-- **The average degree of the gadget.** Every induced subgraph of the gadget of `K_t` has
average degree at most `2 + 1 / (ℓ + 1)`. -/
def GadgetAverageDegree : Prop :=
  ∀ t ℓ : ℕ, AvgDegreeLE (gadget t ℓ) (2 + 1 / ((ℓ : ℝ) + 1))

Lean vertices_lower_bound · ✅ kernel-checked · source

Statement in Lean
/-- The formulation complexity is at least the number of vertices. -/
theorem vertices_lower_bound : VerticesLowerBound

where VerticesLowerBound is (source):

/-- **The number of vertices is a lower bound.** The formulation complexity of the stable set
problem of a finite graph is at least its number of vertices. -/
def VerticesLowerBound : Prop :=
  ∀ {V : Type u} [Fintype V] [DecidableEq V] (G : SimpleGraph V),
    (Fintype.card V : ℕ∞) ≤ fcIndependentSet G 1

Lean random_graph_lower_bound · ✅ kernel-checked · source

Statement in Lean
/-- Lemmas 4.1, 4.2 and 4.3 together: the first display of the proof of Main Theorem 4.4. -/
theorem random_graph_lower_bound : RandomGraphLowerBound

where RandomGraphLowerBound is (source):

/-- **The lower bound for the random graph, for a given gadget.** Let `ℓ` be even, `0 < p < 1`
and `n ≥ 1`, and let `g` be the ratio of the second moment lemma for the gadget of `K_t`, with
its `t + (ℓ + 1) t (t - 1)` vertices and the average degree `2 + 1 / (ℓ + 1)`. The probability
that the formulation complexity of the stable set problem of the binomial random graph on `n`
vertices is below `(3/2) ^ t - 2` is at most `g² e ^ g / 2`. -/
def RandomGraphLowerBound : Prop :=
  ∀ {V : Type u} [Fintype V] [DecidableEq V] (t ℓ : ℕ) (p : unitInterval), Even ℓ →
    0 < (p : ℝ) → (p : ℝ) < 1 → 0 < Fintype.card V →
      ∀ g : ℝ, g = existenceRatio (Fintype.card V) (t + (ℓ + 1) * (t * (t - 1)))
          (2 + 1 / ((ℓ : ℝ) + 1)) p →
        (SimpleGraph.binomialRandom V p).real
            {G | fcIndependentSet G 1 < (⌈(3 / 2 : ℝ) ^ t - 2⌉₊ : ℕ∞)} ≤
          g ^ 2 * Real.exp g / 2

Lean random_graph_dense · ✅ kernel-checked · source

Statement in Lean
/-- Main Theorem 4.4 (i): `p` with `n p⁴ → ∞`. -/
theorem random_graph_dense : RandomGraphDense

where RandomGraphDense is (source):

/-- **The random graph for large `p`.** For `0 < c < √2` and `η > 0` there is `M₀` such that
for all `n` and `p` with `n p⁴ ≥ M₀` the formulation complexity of the stable set problem of
the binomial random graph is below `(3/2) ^ (c √(ln (n p⁴) / p))` with probability at most
`η`. -/
def RandomGraphDense : Prop :=
  ∀ c : ℝ, 0 < c → c < Real.sqrt 2 → ∀ η : ℝ, 0 < η → ∃ M₀ : ℝ,
    ∀ {V : Type u} [Fintype V] [DecidableEq V] (p : unitInterval),
      M₀ ≤ (Fintype.card V : ℝ) * (p : ℝ) ^ 4 →
        (SimpleGraph.binomialRandom V p).real
            {G | fcIndependentSet G 1 < (⌈(3 / 2 : ℝ) ^ (c * Real.sqrt
              (Real.log ((Fintype.card V : ℝ) * (p : ℝ) ^ 4) / (p : ℝ)))⌉₊ : ℕ∞)} ≤ η

Lean random_graph_middle · ✅ kernel-checked · source

Statement in Lean
/-- Main Theorem 4.4 (ii): small `p`, with the probability `1 - O(1 / (n p³)²)`. -/
theorem random_graph_middle : RandomGraphMiddle

where RandomGraphMiddle is (source):

/-- **The random graph for small `p`.** There are constants `C` and `p₀ > 0` such that for all
`n ≥ 1` and `0 < p ≤ p₀` the formulation complexity of the stable set problem of the binomial
random graph is below `(3/2) ^ (1 / √(p ln (1/p)))` with probability at most `C / (n p³)²`. -/
def RandomGraphMiddle : Prop :=
  ∃ C p₀ : ℝ, 0 < p₀ ∧ ∀ {V : Type u} [Fintype V] [DecidableEq V] (p : unitInterval),
    0 < Fintype.card V → 0 < (p : ℝ) → (p : ℝ) ≤ p₀ →
      (SimpleGraph.binomialRandom V p).real
          {G | fcIndependentSet G 1 < (⌈(3 / 2 : ℝ) ^
            (1 / Real.sqrt ((p : ℝ) * Real.log (1 / (p : ℝ))))⌉₊ : ℕ∞)} ≤
        C / ((Fintype.card V : ℝ) * (p : ℝ) ^ 3) ^ 2

Lean random_graph_sparse · ✅ kernel-checked · source

Statement in Lean
/-- Main Theorem 4.4 (iii): `p` up to `c n ^ (-1/3)`, with the probability `1 - O(δ⁸)`. -/
theorem random_graph_sparse : RandomGraphSparse

where RandomGraphSparse is (source):

/-- **The random graph for very small `p`.** For every `c > 0` there are `C` and `n₀` such that
for all `n ≥ n₀`, all `p > 0` with `p³ n ≤ c³` and all `0 < δ < 1` the formulation complexity of
the stable set problem of the binomial random graph is below
`(3/2) ^ (δ √(√(p n) / ln (1/p)))` with probability at most `C δ⁸`. -/
def RandomGraphSparse : Prop :=
  ∀ c : ℝ, 0 < c → ∃ (C : ℝ) (n₀ : ℕ),
    ∀ {V : Type u} [Fintype V] [DecidableEq V] (p : unitInterval) (δ : ℝ),
      n₀ ≤ Fintype.card V → 0 < (p : ℝ) → (p : ℝ) ^ 3 * (Fintype.card V : ℝ) ≤ c ^ 3 →
        0 < δ → δ < 1 →
          (SimpleGraph.binomialRandom V p).real
              {G | fcIndependentSet G 1 < (⌈(3 / 2 : ℝ) ^ (δ * Real.sqrt
                (Real.sqrt ((p : ℝ) * Fintype.card V) / Real.log (1 / (p : ℝ))))⌉₊ : ℕ∞)} ≤
            C * δ ^ 8

Lean special_dense · ✅ kernel-checked · source

Statement in Lean
/-- Corollary 4.5, display (14): `p = n ^ (-ε)` with `ε < 1/4`. -/
theorem special_dense : SpecialDense

where SpecialDense is (source):

/-- **The edge probability `n ^ (-ε)` with `ε < 1/4`.** For every `η > 0` and all sufficiently
large `n`, the formulation complexity of the stable set problem of the binomial random graph
with `p = n ^ (-ε)` is below `(3/2) ^ √((1 - 4 ε) n ^ ε ln n)` with probability at most `η`. -/
def SpecialDense : Prop :=
  ∀ ε : ℝ, ε < 1 / 4 → ∀ η : ℝ, 0 < η → ∃ n₀ : ℕ,
    ∀ {V : Type u} [Fintype V] [DecidableEq V] (p : unitInterval),
      n₀ ≤ Fintype.card V → (p : ℝ) = (Fintype.card V : ℝ) ^ (-ε) →
        (SimpleGraph.binomialRandom V p).real
            {G | fcIndependentSet G 1 < (⌈(3 / 2 : ℝ) ^ Real.sqrt
              ((1 - 4 * ε) * (Fintype.card V : ℝ) ^ ε * Real.log (Fintype.card V))⌉₊ : ℕ∞)} ≤
          η

Lean special_middle · ✅ kernel-checked · source

Statement in Lean
/-- Corollary 4.5, display (15): `p = n ^ (-ε)` with `ε < 1/3`. -/
theorem special_middle : SpecialMiddle

where SpecialMiddle is (source):

/-- **The edge probability `n ^ (-ε)` with `ε < 1/3`.** For `0 < ε < 1/3`, every `η > 0` and all
sufficiently large `n`, the formulation complexity of the stable set problem of the binomial
random graph with `p = n ^ (-ε)` is below `(3/2) ^ (n ^ (ε/2) / √(ε ln n))` with probability at
most `η`. -/
def SpecialMiddle : Prop :=
  ∀ ε : ℝ, 0 < ε → ε < 1 / 3 → ∀ η : ℝ, 0 < η → ∃ n₀ : ℕ,
    ∀ {V : Type u} [Fintype V] [DecidableEq V] (p : unitInterval),
      n₀ ≤ Fintype.card V → (p : ℝ) = (Fintype.card V : ℝ) ^ (-ε) →
        (SimpleGraph.binomialRandom V p).real
            {G | fcIndependentSet G 1 < (⌈(3 / 2 : ℝ) ^ ((Fintype.card V : ℝ) ^ (ε / 2) /
              Real.sqrt (ε * Real.log (Fintype.card V)))⌉₊ : ℕ∞)} ≤ η

Lean special_sparse · ✅ kernel-checked · source

Statement in Lean
/-- Corollary 4.5, display (16): `p = n ^ (-ε)` with `ε ≥ 1/3`. -/
theorem special_sparse : SpecialSparse

where SpecialSparse is (source):

/-- **The edge probability `n ^ (-ε)` with `ε ≥ 1/3`.** For every `η > 0` and all sufficiently
large `n`, the formulation complexity of the stable set problem of the binomial random graph
with `p = n ^ (-ε)` is below `(3/2) ^ (n ^ ((1 - ε)/4) / ln n)` with probability at most `η`. -/
def SpecialSparse : Prop :=
  ∀ ε : ℝ, 1 / 3 ≤ ε → ∀ η : ℝ, 0 < η → ∃ n₀ : ℕ,
    ∀ {V : Type u} [Fintype V] [DecidableEq V] (p : unitInterval),
      n₀ ≤ Fintype.card V → (p : ℝ) = (Fintype.card V : ℝ) ^ (-ε) →
        (SimpleGraph.binomialRandom V p).real
            {G | fcIndependentSet G 1 < (⌈(3 / 2 : ℝ) ^ ((Fintype.card V : ℝ) ^ ((1 - ε) / 4) /
              Real.log (Fintype.card V))⌉₊ : ℕ∞)} ≤ η

Lean special_polylog · ✅ kernel-checked · source

Statement in Lean
/-- Corollary 4.5, display (17): `p = (ln n) ^ (6 + ε) / n`. -/
theorem special_polylog : SpecialPolylog

where SpecialPolylog is (source):

/-- **The edge probability `(ln n) ^ (6 + ε) / n`.** For `ε > 0`, every `η > 0` and all
sufficiently large `n`, the formulation complexity of the stable set problem of the binomial
random graph with `p = (ln n) ^ (6 + ε) / n` is below `(3/2) ^ ((ln n) ^ (1 + ε/5))` with
probability at most `η`. -/
def SpecialPolylog : Prop :=
  ∀ ε : ℝ, 0 < ε → ∀ η : ℝ, 0 < η → ∃ n₀ : ℕ,
    ∀ {V : Type u} [Fintype V] [DecidableEq V] (p : unitInterval),
      n₀ ≤ Fintype.card V →
        (p : ℝ) = Real.log (Fintype.card V) ^ (6 + ε) / (Fintype.card V : ℝ) →
          (SimpleGraph.binomialRandom V p).real
              {G | fcIndependentSet G 1 <
                (⌈(3 / 2 : ℝ) ^ (Real.log (Fintype.card V) ^ (1 + ε / 5))⌉₊ : ℕ∞)} ≤ η

Lean special_log · ✅ kernel-checked · source

Statement in Lean
/-- Corollary 4.5, display (18): `p = δ / ln n`, with the natural logarithm of `3/2`. -/
theorem special_log : SpecialLog

where SpecialLog is (source):

/-- **The edge probability `δ / ln n`.** For `δ > 0`, `0 < c < √2`, every `η > 0` and all
sufficiently large `n`, the formulation complexity of the stable set problem of the binomial
random graph with `p = δ / ln n` is below `n ^ (c ln (3/2) / √δ)` with probability at most
`η`. -/
def SpecialLog : Prop :=
  ∀ δ : ℝ, 0 < δ → ∀ c : ℝ, 0 < c → c < Real.sqrt 2 → ∀ η : ℝ, 0 < η → ∃ n₀ : ℕ,
    ∀ {V : Type u} [Fintype V] [DecidableEq V] (p : unitInterval),
      n₀ ≤ Fintype.card V → (p : ℝ) = δ / Real.log (Fintype.card V) →
        (SimpleGraph.binomialRandom V p).real
            {G | fcIndependentSet G 1 < (⌈(Fintype.card V : ℝ) ^
              (c * Real.log (3 / 2) / Real.sqrt δ)⌉₊ : ℕ∞)} ≤ η

Lean stability_tail · ✅ kernel-checked · source

Statement in Lean
/-- The first moment bound for the stability number of the random graph. -/
theorem stability_tail : StabilityTail

where StabilityTail is (source):

/-- **The stability number of the random graph.** The binomial random graph on `n` vertices has
a stable set with at least `r` vertices with probability at most
`(n e ^ (-p (r - 1) / 2)) ^ r`. -/
def StabilityTail : Prop :=
  ∀ {V : Type u} [Fintype V] (p : unitInterval) (r : ℕ),
    (SimpleGraph.binomialRandom V p).real
        {G | ∃ I : Finset V, IsIndependentSet G I ∧ r ≤ I.card} ≤
      ((Fintype.card V : ℝ) * Real.exp (-((p : ℝ) * ((r : ℝ) - 1) / 2))) ^ r

Lean few_stable_sets_stability · ✅ kernel-checked · source

Statement in Lean
/-- A graph without large stable sets has few stable sets. -/
theorem few_stable_sets_stability : FewStableSetsStability

where FewStableSetsStability is (source):

/-- **Few stable sets, by the stability number.** If no stable set of a graph on `n` vertices
has more than `r` vertices, then the formulation complexity of its stable set problem is at
most `(n + 1) ^ r`. -/
def FewStableSetsStability : Prop :=
  ∀ {V : Type u} [Fintype V] [DecidableEq V] (G : SimpleGraph V) (r : ℕ),
    (∀ I : Finset V, IsIndependentSet G I → I.card ≤ r) →
      fcIndependentSet G 1 ≤ (((Fintype.card V + 1) ^ r : ℕ) : ℕ∞)

Lean upper_bound_exp · ✅ kernel-checked · source

Statement in Lean
/-- Theorem 4.6 for every `r`, with the bound `(n e ^ (-p r / 2)) ^ (r + 1)`. -/
theorem upper_bound_exp : UpperBoundExp

where UpperBoundExp is (source):

/-- **The upper bound for the random graph, with the exponential.** The formulation complexity
of the stable set problem of the binomial random graph on `n` vertices exceeds `(n + 1) ^ r`
with probability at most `(n e ^ (-p r / 2)) ^ (r + 1)`. -/
def UpperBoundExp : Prop :=
  ∀ {V : Type u} [Fintype V] [DecidableEq V] (p : unitInterval) (r : ℕ),
    (SimpleGraph.binomialRandom V p).real
        {G | (((Fintype.card V + 1) ^ r : ℕ) : ℕ∞) < fcIndependentSet G 1} ≤
      ((Fintype.card V : ℝ) * Real.exp (-((p : ℝ) * r / 2))) ^ (r + 1)

Lean upper_bound · ✅ kernel-checked · source

Statement in Lean
/-- Theorem 4.6: the upper bound for the random graph. -/
theorem upper_bound : UpperBound

where UpperBound is (source):

/-- **The upper bound for the random graph.** For a natural number `r ≥ 4 ln n / p`, the
formulation complexity of the stable set problem of the binomial random graph on `n` vertices
exceeds `(n + 1) ^ r` with probability at most `n ^ (-(r + 1))`. -/
def UpperBound : Prop :=
  ∀ {V : Type u} [Fintype V] [DecidableEq V] (p : unitInterval) (r : ℕ),
    4 * Real.log (Fintype.card V) ≤ (p : ℝ) * r →
      (SimpleGraph.binomialRandom V p).real
          {G | (((Fintype.card V + 1) ^ r : ℕ) : ℕ∞) < fcIndependentSet G 1} ≤
        1 / (Fintype.card V : ℝ) ^ (r + 1)

/-! ### The uniform model -/

Lean stability_half · ✅ kernel-checked · source

Statement in Lean
/-- Lemma 3.2: the stability number of the uniformly random graph. -/
theorem stability_half : StabilityHalf

where StabilityHalf is (source):

/-- **The stability number of the uniformly random graph.** For `n ≥ 4` and a natural number `r`
with `n³ ≤ 2 ^ r`, the binomial random graph on `n` vertices with edge probability `1/2` has a
stable set with at least `r` vertices with probability at most `1/n`. -/
def StabilityHalf : Prop :=
  ∀ {V : Type u} [Fintype V] (p : unitInterval) (r : ℕ), (p : ℝ) = 1 / 2 →
    4 ≤ Fintype.card V → Fintype.card V ^ 3 ≤ 2 ^ r →
      (SimpleGraph.binomialRandom V p).real
          {G | ∃ I : Finset V, IsIndependentSet G I ∧ r ≤ I.card} ≤
        1 / (Fintype.card V : ℝ)

Lean edge_deletion_objective · ✅ kernel-checked · source

Statement in Lean
/-- The example after Definition 2.8: an objective function of the uniform model. -/
theorem edge_deletion_objective : EdgeDeletionObjective

where EdgeDeletionObjective is (source):

/-- **The edge deletion objective.** For every family of graphs, the functions
`f_G(S) = |V(G) ∩ S| - |E(G[S])|` are objective functions of the uniform model. -/
def EdgeDeletionObjective : Prop :=
  ∀ {V : Type u} [DecidableEq V] (𝒢 : Set (VertexGraph V)),
    IsUniformObjective 𝒢 edgeDeletionObjective

Lean uniform_lower_bound · ✅ kernel-checked · source

Statement in Lean
/-- The deterministic part of Main Theorem 3.1 and Corollary 3.3. -/
theorem uniform_lower_bound : UniformLowerBound

where UniformLowerBound is (source):

/-- **Families with good graphs on many vertex sets.** Let `𝒢` be a family of graphs with
vertices in an `n`-element set, `F` a set of vertices and `s ≥ 1`, and suppose that for every
set `a ⊇ F` the family contains a graph with vertex set `a` and stability number at most `s`.
Then every problem of the uniform model for `𝒢` with relative error `ρ ≥ 0` has formulation
complexity at least `2 ^ ((n - |F|) / (8 (1 + ρ) s)) - 1`. -/
def UniformLowerBound : Prop :=
  ∀ {V : Type u} [Fintype V] [DecidableEq V] (𝒢 : Set (VertexGraph V))
    (f : VertexGraph V → Finset V → ℝ) (ρ : ℝ) (F : Finset V) (s : ℕ),
    IsUniformObjective 𝒢 f → 0 ≤ ρ → 1 ≤ s →
    (∀ a : Finset V, F ⊆ a → ∃ G ∈ 𝒢, G.1 = a ∧ G.2.indepNum ≤ s) →
      ∀ k : ℕ, (k : ℝ) + 1 < 2 ^ (((Fintype.card V : ℝ) - F.card) / (8 * ((1 + ρ) * s))) →
        (k : ℕ∞) < fcUniform 𝒢 f ρ

Lean uniform_model_exact · ✅ kernel-checked · source

Statement in Lean
/-- Main Theorem 3.1: the uniform model for a random family of graphs. -/
theorem uniform_model_exact : UniformModelExact

where UniformModelExact is (source):

/-- **The uniform model for a random family.** The exact case `ρ = 0`: the probability that
some problem of the uniform model for the random family has formulation complexity below
`2 ^ ((n - k) / (8 s)) - 1` is at most `2 ^ (-2 ^ n)`. -/
def UniformModelExact : Prop :=
  ∀ {V : Type u} [Fintype V] [DecidableEq V] (p : unitInterval) (s : ℕ),
    6 ≤ Fintype.card V → 4 * Fintype.card V ^ 2 ≤ 2 ^ s →
    (2 : ℝ) ^ Fintype.card V ≤ (p : ℝ) * 2 ^ ((Fintype.card V + 3) / 4).choose 2 →
      (ProbabilityTheory.setBernoulli (Set.univ : Set (VertexGraph V)) p).real
          {𝒢 | ∃ f, IsUniformObjective 𝒢 f ∧ fcUniform 𝒢 f 0 <
            (⌈(2 : ℝ) ^ (((Fintype.card V : ℝ) - ((Fintype.card V + 3) / 4 : ℕ)) / (8 * s)) -
              1⌉₊ : ℕ∞)} ≤
        1 / 2 ^ 2 ^ Fintype.card V

Lean uniform_model · ✅ kernel-checked · source

Statement in Lean
/-- Corollary 3.3: the uniform model for a random family of graphs, with relative error. -/
theorem uniform_model : UniformModel

where UniformModel is (source):

/-- **The uniform model for a random family, with relative error.** Let `n ≥ 6`, `k = ⌈n/4⌉`,
`ρ ≥ 0`, let `s` be a natural number with `4 n² ≤ 2 ^ s`, and let `2 ^ n ≤ p 2 ^ C(k, 2)`. Put
every graph with vertices in an `n`-element set into the family `𝒢` with probability `p`,
independently. The probability that some problem of the uniform model for `𝒢` with relative
error `ρ` has formulation complexity below `2 ^ ((n - k) / (8 (1 + ρ) s)) - 1` is at most
`2 ^ (-2 ^ n)`. -/
def UniformModel : Prop :=
  ∀ {V : Type u} [Fintype V] [DecidableEq V] (p : unitInterval) (ρ : ℝ) (s : ℕ), 0 ≤ ρ →
    6 ≤ Fintype.card V → 4 * Fintype.card V ^ 2 ≤ 2 ^ s →
    (2 : ℝ) ^ Fintype.card V ≤ (p : ℝ) * 2 ^ ((Fintype.card V + 3) / 4).choose 2 →
      (ProbabilityTheory.setBernoulli (Set.univ : Set (VertexGraph V)) p).real
          {𝒢 | ∃ f, IsUniformObjective 𝒢 f ∧ fcUniform 𝒢 f ρ <
            (⌈(2 : ℝ) ^ (((Fintype.card V : ℝ) - ((Fintype.card V + 3) / 4 : ℕ)) /
              (8 * ((1 + ρ) * s))) - 1⌉₊ : ℕ∞)} ≤
        1 / 2 ^ 2 ^ Fintype.card V

AI use. The formalization and this page were developed with Claude (Anthropic) under the author’s direction and review, on top of the shared entry Extended formulations: the core and of the entry Common information and unique disjointness.

Acknowledgements. This research was conducted in the context of the Agentic AI in Mathematics (EF-LiOpt-3) project at the Berlin Mathematics Research Center MATH+^+ (EXC-2046/2, project ID 390685689), funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy. This work has been partially supported by OpenAI’s Academic Researchers program.

License: CC BY 4.0

Comments.

Comments are external content (GitHub Discussions, shown with giscus) and need JavaScript.

References
  1. Braun, G., Fiorini, S., & Pokutta, S. (2016). Average case polyhedral complexity of the maximum stable set problem. Mathematical Programming, 160(1–2), 407–431. 10.1007/s10107-016-0989-3