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 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 is fixed, the feasible solutions are its stable sets, and every induced subgraph gives the objective with guarantee . Let be the subdivision of in which every edge becomes a path with edges. Its induced subgraphs have average degree at most , and if is even and contains as an induced subgraph, then . By the second moment method, a graph with vertices whose induced subgraphs have average degree at most is an induced subgraph of the binomial random graph of Mathlib with probability at least , where . Hence with probability tending to one as for and any ; with probability for and small ; and with probability for and . Conversely, with probability at least for natural . In the uniform model one linear program serves a family of graphs on subsets of . If every such graph is taken with probability , , then with probability at least every problem of the model with relative error has , where . 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 is fixed and the linear program may depend on it; the objective functions are those of the induced subgraphs of . The lower bounds in the non-uniform model for the random graph have two parts: a subdivision of a clique occurs in as an induced subgraph with high probability, and a graph with such an induced subgraph has formulation complexity at least . This entry contains both parts, their combination for an arbitrary subdivision, and the choice of the subdivision for the three ranges of of the paper. The upper bound of the paper comes from the number of stable sets of . For the uniform model the paper takes a random family of graphs, each graph on a subset of being included with probability ; 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 in the non-uniform model (Definition 2.10) has the stable sets of as feasible solutions and one objective function for every induced subgraph of , with the guarantee . This is the independent set problem of the core with factor , and denotes its formulation complexity. By the factorization theorem for problems it is the LP rank of the slack matrix, with the entries .
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 to an upper bound on the formulation complexity.
On the rows of the one-element sets , the column of the empty stable set minus the column of the stable set is the -th unit vector, and the shift of an LP factorization cancels in the difference. So an LP factorization with terms factors the identity matrix of size through , and . 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 and the half that starts at avoids choosing a direction for the edges of .
This is equation (10) of the paper for . On a path a stable set has at most inner vertices, and at most if it contains both and : the inner vertices form adjacent pairs, and without the neighbours of and the remaining form adjacent pairs. So a stable set with vertices of has at most vertices.
Let every edge distribute the weight to its two ends: on a path the edge between and gives to and to . The vertices and receive nothing, and an inner vertex receives from its two edges. For a set of vertices, the edges inside distribute to vertices of , each of which receives at most . So , which is the claim; the definition of the average degree of the induced subgraphs is given below. The subdivision of a graph with vertices is an induced subgraph of , so the bound holds for all its induced subgraphs as well.
The lower bound¶
For let be the stable set of the gadget that contains ; on a half path that starts at the vertices with even; and on a half path that starts at those with odd, except that of the two middle vertices of a path with both ends outside only one is taken. For consider two induced subgraphs: the gadget of the vertices of , and the matching formed by the middle vertices of its paths. Their stability numbers are , for , and , and has vertices in the first and in the second. So the sum of the two rows of the slack matrix for has the entry
in the column of : the matrix of unique disjointness, without the row of the empty set.
Now let the slack matrix have an LP factorization with terms. Every pair of disjoint sets with has the entry 1, so one of the terms, or the shift, is positive at the two rows of and the column of . The pairs with the same term form a set of pairs of disjoint sets in which no meets a in exactly one element, so there are at most of them by the lemma on sets of disjoint pairs of the core. There are such pairs, hence .
Induced copies in the random graph¶
In the binomial random graph each of the pairs of vertices is an edge
with probability , independently of the others. Formally it is the measure
SimpleGraph.binomialRandom V p of Mathlib on the graphs with a finite vertex set , which
gives a graph with edges the probability .
The number is the value of the Lambert function, and .
The proof is the second moment method, for labelled copies. For an injective map from the vertices of to let be the indicator of the event that is an induced copy: and are adjacent in the random graph exactly if and are adjacent in . The event prescribes the pairs inside the image of , so with . The sum of the over the injective maps has , and
For two maps and let be the set of the vertices of that sends into the image of , and . Dropping the conditions of on the pairs inside the image of leaves a product of independent conditions, so , where is at most the number of edges of inside and at most the number of the other pairs inside . By the hypothesis , and . Hence with , and for there are no pairs inside and the covariance is not positive. With for ,
where : a set of vertices can be mapped into the image of in ways, and each of them extends to injective maps. Since and , the term for is at most with , and .
For the lemma, the ratio with the denominator is the larger one. If it is at most , then ; otherwise .
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 and in terms of and for three ranges of and estimates .
In all three parts the gadget has for the exponent of the theorem; then . The probability of failure is at most , which is at most if ; so it is at most always.
In part (i) the gadget has and therefore vertices. Let and . For large we have , and with , with for and with ,
For with this tends to zero as , uniformly in . For the exponent of the theorem is at most , so the bound is below for large , and the formulation complexity is at least .
In parts (ii) and (iii) the gadget has . Then , and for and the gadget has at most vertices and . In part (ii), , so and . In part (iii), , so , and ; and if , then the bound of the theorem is below , while the formulation complexity is at least . 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 there is such that the probability is at most for all .
For (14), part (i) of the main theorem with applies: tends to infinity and . For (15), part (ii) applies: tends to infinity and .
For (16) and (17), part (iii) applies with . In (16) take : then , the exponent is , and tends to zero. In (17) take : then for large , and since the exponent is at least ; and tends to zero.
For (18), part (i) applies with a constant between and . With we have for large , so and ; and .
The upper bound¶
A set of vertices is stable with probability , and there are such sets.
There are sets with at most vertices.
If the formulation complexity exceeds , then there is a stable set with vertices, and for . For the bound is and the probability is at most , 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 with elements, and the graphs enter through the objective functions.
The class of the paper consists of these problems for all objective functions of the uniform model, and its formulation complexity is the least . The statements below are for every .
This is the example after Definition 2.8, whose first condition the paper leaves to the reader. A set of vertices that is not stable contains an edge; deleting one of its ends removes one vertex and at least one edge inside . By induction .
The probability is at most , and follows from and . The condition on is .
For let be a graph with vertex set and . For with the second condition on the objective functions gives the slack at the solution . Adding the nonnegative number to the row of gives a nonnegative matrix with rows and columns indexed by the subsets of , whose entries are on disjoint pairs and on pairs with one common element. By the bound for shifts of unique disjointness its nonnegative rank is at least . Shifts of rows do not increase the LP rank, and the nonnegative rank is at most the LP rank plus one.
With the bound of the theorem is , and for the bound of the corollary is .
For the proof, call a graph with vertex set good if its stability number is at most . At most of the graphs on a set with elements are not good, and follows from ; so at least nine tenths of them are good. The family avoids a given set of graphs with probability . Hence for the family contains no good graph on with probability at most . Fix a set with elements. There are at most sets , and for . So with probability at least the family contains a good graph on every set that contains , 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 , of the proposition on families with good graphs, which gives the bound for it; the example itself, with the unshifted matrix of unique disjointness, is not a separate statement.
The formal statements at a glance¶
/-- 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 hFormal verification — ✅ all 35 formal results are kernel-checked
◇ elaborated definition (Lean v4.35.0) The vertices of the gadget —
Lemmata.AverageCaseSTAB.GadgetVertex(source)◇ elaborated definition (Lean v4.35.0) The gadget —
Lemmata.AverageCaseSTAB.gadget(source)◇ elaborated definition (Lean v4.35.0) Average degree of the induced subgraphs —
Lemmata.AverageCaseSTAB.AvgDegreeLE(source)◇ elaborated definition (Lean v4.35.0) The ratio —
Lemmata.AverageCaseSTAB.existenceRatio(source)◇ elaborated definition (Lean v4.35.0) Graphs with vertices in —
Lemmata.AverageCaseSTAB.VertexGraph(source)◇ elaborated definition (Lean v4.35.0) Definition 2.8 —
Lemmata.AverageCaseSTAB.IsUniformObjective(source)◇ elaborated definition (Lean v4.35.0) The formulation complexity in the uniform model —
Lemmata.AverageCaseSTAB.fcUniform(source)◇ elaborated definition (Lean v4.35.0) The edge deletion objective —
Lemmata.AverageCaseSTAB.edgeDeletionObjective(source)✓ kernel-checked (Lean v4.35.0) Few stable sets —
Lemmata.AverageCaseSTAB.few_stable_sets(source)✓ kernel-checked (Lean v4.35.0) The size of the gadget —
Lemmata.AverageCaseSTAB.gadget_card(source)✓ kernel-checked (Lean v4.35.0) The stability number of the gadget —
Lemmata.AverageCaseSTAB.gadget_stability(source)✓ kernel-checked (Lean v4.35.0) Lemma 4.2 —
Lemmata.AverageCaseSTAB.gadget_lower_bound(source)✓ kernel-checked (Lean v4.35.0) Lemma 4.3 —
Lemmata.AverageCaseSTAB.second_moment_lambert(source)✓ kernel-checked (Lean v4.35.0) The second moment lemma, with the exponential —
Lemmata.AverageCaseSTAB.second_moment(source)✓ kernel-checked (Lean v4.35.0) The constant —
Lemmata.AverageCaseSTAB.lambert_constant(source)✓ kernel-checked (Lean v4.35.0) Lemma 4.1 —
Lemmata.AverageCaseSTAB.gadget_average_degree(source)✓ kernel-checked (Lean v4.35.0) The number of vertices is a lower bound —
Lemmata.AverageCaseSTAB.vertices_lower_bound(source)✓ kernel-checked (Lean v4.35.0) The lower bound for a given gadget —
Lemmata.AverageCaseSTAB.random_graph_lower_bound(source)✓ kernel-checked (Lean v4.35.0) Theorem 4.4 (i) —
Lemmata.AverageCaseSTAB.random_graph_dense(source)✓ kernel-checked (Lean v4.35.0) Theorem 4.4 (ii) —
Lemmata.AverageCaseSTAB.random_graph_middle(source)✓ kernel-checked (Lean v4.35.0) Theorem 4.4 (iii) —
Lemmata.AverageCaseSTAB.random_graph_sparse(source)✓ kernel-checked (Lean v4.35.0) Corollary 4.5 (14) —
Lemmata.AverageCaseSTAB.special_dense(source)✓ kernel-checked (Lean v4.35.0) Corollary 4.5 (15) —
Lemmata.AverageCaseSTAB.special_middle(source)✓ kernel-checked (Lean v4.35.0) Corollary 4.5 (16) —
Lemmata.AverageCaseSTAB.special_sparse(source)✓ kernel-checked (Lean v4.35.0) Corollary 4.5 (17) —
Lemmata.AverageCaseSTAB.special_polylog(source)✓ kernel-checked (Lean v4.35.0) Corollary 4.5 (18) —
Lemmata.AverageCaseSTAB.special_log(source)✓ kernel-checked (Lean v4.35.0) The stability number of the random graph —
Lemmata.AverageCaseSTAB.stability_tail(source)✓ kernel-checked (Lean v4.35.0) Few stable sets, by the stability number —
Lemmata.AverageCaseSTAB.few_stable_sets_stability(source)✓ kernel-checked (Lean v4.35.0) The upper bound, with the exponential —
Lemmata.AverageCaseSTAB.upper_bound_exp(source)✓ kernel-checked (Lean v4.35.0) Theorem 4.6 —
Lemmata.AverageCaseSTAB.upper_bound(source)✓ kernel-checked (Lean v4.35.0) Lemma 3.2 —
Lemmata.AverageCaseSTAB.stability_half(source)✓ kernel-checked (Lean v4.35.0) The edge deletion objective is admissible —
Lemmata.AverageCaseSTAB.edge_deletion_objective(source)✓ kernel-checked (Lean v4.35.0) Families with good graphs on many vertex sets —
Lemmata.AverageCaseSTAB.uniform_lower_bound(source)✓ kernel-checked (Lean v4.35.0) Theorem 3.1 —
Lemmata.AverageCaseSTAB.uniform_model_exact(source)✓ kernel-checked (Lean v4.35.0) Corollary 3.3 —
Lemmata.AverageCaseSTAB.uniform_model(source)
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.cardLean 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 aLean 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 : FewStableSetswhere 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 : GadgetCardwhere 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 : GadgetStabilitywhere 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 : GadgetLowerBoundwhere 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 1Lean 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 : SecondMomentLambertwhere 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 ^ 2Lean 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 : SecondMomentwhere 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) / 2Lean 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 : LambertConstantwhere 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 / 4Lean 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 : GadgetAverageDegreewhere 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 : VerticesLowerBoundwhere 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 1Lean 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 : RandomGraphLowerBoundwhere 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 / 2Lean random_graph_dense · ✅ kernel-checked · source
Statement in Lean
/-- Main Theorem 4.4 (i): `p` with `n p⁴ → ∞`. -/
theorem random_graph_dense : RandomGraphDensewhere 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 : RandomGraphMiddlewhere 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) ^ 2Lean 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 : RandomGraphSparsewhere 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 * δ ^ 8Lean special_dense · ✅ kernel-checked · source
Statement in Lean
/-- Corollary 4.5, display (14): `p = n ^ (-ε)` with `ε < 1/4`. -/
theorem special_dense : SpecialDensewhere 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 : SpecialMiddlewhere 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 : SpecialSparsewhere 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 : SpecialPolylogwhere 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 : SpecialLogwhere 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 : StabilityTailwhere 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))) ^ rLean 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 : FewStableSetsStabilitywhere 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 : UpperBoundExpwhere 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 : UpperBoundwhere 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 : StabilityHalfwhere 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 : EdgeDeletionObjectivewhere 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 𝒢 edgeDeletionObjectiveLean 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 : UniformLowerBoundwhere 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 : UniformModelExactwhere 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 VLean 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 : UniformModelwhere 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 VAI 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.
- 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