Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

Combinatorics

630 missions · 351 completed

The mathematics of finite and discrete structures — counting the arrangements of a set, deciding when a configuration meeting prescribed constraints can exist, and characterizing the patterns such structures are forced to contain. It encompasses enumerative and extremal combinatorics, graph theory, design theory, and additive combinatorics, with deep ties to algebra, probability, and computer science.

Missions

Open279Completed351All630
🏆Completed
ProbabilityStochastic Systems·Captain: mikedeng1

Separation of Time-Scales and Model Reduction for Stochastic Reaction Networks 3: The Second Time-Scale r₂ Is Strictly Slower than the First Time-Scale r₁Research Paper

Motivation

Chemical reaction networks can contain reactions whose rates differ by powers of a large scaling parameter. A species may then change on one time scale while other combinations of species remain nearly fixed until a later one. This matters when replacing a detailed network by a smaller model: the quantities retained at the first scale need not be the quantities that evolve at the next. Kang and Kurtz formulate this separation using the reaction exponents and the changes made by each reaction, before analyzing the stochastic process limits in their paper. This mission concerns the algebraic separation of the first two natural time scales in Lemma 4.4, rather than a convergence theorem for the stochastic processes.

Setting

A reaction network has a finite set of species and a finite set of indexed reactions. For reaction kkk, the nonnegative integer νik\nu_{ik}νik​ is the number of molecules of species iii consumed, and νik′\nu'_{ik}νik′​ is the number produced. Its net change is ζik=νik′−νik\zeta_{ik}=\nu'_{ik}-\nu_{ik}ζik​=νik′​−νik​. The two reaction vectors may coincide; allowing such a reaction does not make it change any species. The paper introduces a nonnegative abundance exponent αi\alpha_iαi​ for each species and a real rate exponent βk\beta_kβk​ for each reaction. The exponent relevant to a reaction under that abundance scaling is ρk=βk+∑iνikαi\rho_k=\beta_k+\sum_i\nu_{ik}\alpha_iρk​=βk​+∑i​νik​αi​ §2 and §3.2.

A nonnegative vector θ\thetaθ assigns weights to the species. The weighted quantity changes by θ⋅ζk\theta\cdot\zeta_kθ⋅ζk​ when reaction kkk occurs. Define Γθ+\Gamma^+_\thetaΓθ+​ and Γθ−\Gamma^-_\thetaΓθ−​ as the reactions for which this dot product is respectively positive and negative. Let αθ\alpha_\thetaαθ​ be the greatest αi\alpha_iαi​ among indices with θi>0\theta_i>0θi​>0. The natural time scale of this combination is

γθ=αθ−max⁡k∈Γθ+∪Γθ−ρk.\gamma_\theta=\alpha_\theta-\max_{k\in\Gamma^+_\theta\cup\Gamma^-_\theta}\rho_k.γθ​=αθ​−k∈Γθ+​∪Γθ−​max​ρk​.

An empty maximum is −∞-\infty−∞, so a combination unaffected by every reaction has γθ=+∞\gamma_\theta=+\inftyγθ​=+∞. In particular γ0=+∞\gamma_0=+\inftyγ0​=+∞; the unused value of α0\alpha_0α0​ has no effect. A coordinate vector gives a single species' scale γi\gamma_iγi​. The first time scale is r1=min⁡iγir_1=\min_i\gamma_ir1​=mini​γi​ (3.5), Definition 3.1, and (4.1).

At scale r1r_1r1​, define Γir1={k:r1+ρk=αi}\Gamma_i^{r_1}=\{k:r_1+\rho_k=\alpha_i\}Γir1​​={k:r1​+ρk​=αi​}. It contains every reaction meeting that exponent equation, including one that leaves species iii unchanged. Let S1\mathbb S_1S1​ consist of the coordinate vectors eie_iei​ for which Γir1\Gamma_i^{r_1}Γir1​​ is nonempty, and let Π1\Pi_1Π1​ be the coordinate projection onto their span. The nonnegative combinations whose projection is unchanged by each such reaction form

K2={θ≥0:θ⋅Π1ζk=0for every k∈⋃iΓir1}.\mathbb K_2=\left\{\theta\geq0:\theta\cdot\Pi_1\zeta_k=0\quad \text{for every }k\in\bigcup_i\Gamma_i^{r_1}\right\}.K2​={θ≥0:θ⋅Π1​ζk​=0for every k∈i⋃​Γir1​​}.

The second time scale is r2=inf⁡θ∈K2γθr_2=\inf_{\theta\in\mathbb K_2}\gamma_\thetar2​=infθ∈K2​​γθ​. This is the paper's minimum over K2\mathbb K_2K2​: despite the infinite set of eligible vectors, every finite value of γθ\gamma_\thetaγθ​ is a difference of one of finitely many αi\alpha_iαi​ and one of finitely many ρk\rho_kρk​ §4, p. 21.

Formalization targets

The first milestone compares each weighted combination with the species in its positive support and identifies r1r_1r1​ among all nonnegative combinations:

γθ≥min⁡i:θi>0γi,r1=inf⁡η≥0γη.\gamma_\theta\geq\min_{i:\theta_i>0}\gamma_i, \qquad r_1=\inf_{\eta\geq0}\gamma_\eta.γθ​≥i:θi​>0min​γi​,r1​=η≥0inf​γη​.

The second milestone is the first sentence of Lemma 4.4. For θ∈K2\theta\in\mathbb K_2θ∈K2​ and l∈Γir1l\in\Gamma_i^{r_1}l∈Γir1​​, a nonzero θ⋅ζl\theta\cdot\zeta_lθ⋅ζl​ implies αθ>αi\alpha_\theta>\alpha_iαθ​>αi​. The goal is the lemma's strict separation:

r2>r1.r_2>r_1.r2​>r1​.

These statements and their source order are on p. 21 of the preprint. The goal allows r2=+∞r_2=+\inftyr2​=+∞, which represents the absence of a later changing combination in K2\mathbb K_2K2​.

Significance

The strict inequality says that the quantities eligible for the second scale cannot move at the first scale. It makes the two-scale terminology precise for this exponent model and separates an algebraic fact about reaction vectors from the later analysis of stochastic limits. A reduced process on the second scale requires additional stability and convergence conditions; Lemma 4.4 alone supplies neither. The paper explicitly discusses that limitation immediately after its proof on p. 22.

This mission packages the reaction-exponent definitions and the scale-separation statements as Lean declarations. Their proof obligations remain open in the proposal. Reusable parts include the finite reaction indexing, real-valued net-change vectors, the explicit convention for empty maxima, and the extended-real scale definitions. A complete development may also establish supporting facts about the finite range of γθ\gamma_\thetaγθ​ and the coordinate projection; such facts are useful beyond this lemma. The paper's stochastic limit theorems are outside this mission's scope.

Difficulty

Checking separately that every θ∈K2\theta\in\mathbb K_2θ∈K2​ has γθ>r1\gamma_\theta>r_1γθ​>r1​ does not establish r2>r1r_2>r_1r2​>r1​: an infimum of strictly larger values can still equal r1r_1r1​. The statement needs the finite-range property of the scale function, together with the interaction between the fast-reaction equation defining Γir1\Gamma_i^{r_1}Γir1​​ and the projected orthogonality condition defining K2\mathbb K_2K2​. Empty reaction sets and zero weighted combinations also require explicit extended-real values. Replacing their scales with a default real number would change the claim Lemma 4.4, pp. 21–22.

Formalization scope

Species and reactions are Fin s and Fin r; their indices begin at zero, while the paper numbers them from one. The stoichiometric arrays have natural-number entries, ζ\zetaζ and ρ\rhoρ are real-valued, and theorems carry αi≥0\alpha_i\geq0αi​≥0. The sets of changing reactions and the positive support of θ\thetaθ are finite sets. Empty maxima use a bottom-extended real, while γi\gamma_iγi​, γθ\gamma_\thetaγθ​, r1r_1r1​, and r2r_2r2​ live in extended reals. Finite scale differences are calculated in the reals before conversion. The formulas define ρ\rhoρ from ν,α,β\nu,\alpha,\betaν,α,β and construct K2\mathbb K_2K2​ from r1r_1r1​; neither is a free input. No extra positivity condition is imposed on β\betaβ.

The coordinate projection Π1\Pi_1Π1​ retains the indices belonging to S1\mathbb S_1S1​. The infimum for r2r_2r2​ ranges over all of K2\mathbb K_2K2​, including the zero vector and combinations unchanged by every reaction. The goal assumes that some reaction changes a species. Without this necessary nondegeneracy condition, r1=r2=+∞r_1=r_2=+\inftyr1​=r2​=+∞ and the strict conclusion is false. It adds no condition on the initial stochastic state: the assumption at the start of §4 belongs to its process-limit statements. The paper develops at-most-binary mass-action rates in §2, but Lemma 4.4 uses only the indexed reaction vectors and their exponents; the Lean declarations expose exactly those algebraic data.

Selected references

  • H.-W. Kang and T. G. Kurtz, Separation of time-scales and model reduction for stochastic reaction networks, arXiv:1011.1672v1, 2010; published in Annals of Applied Probability 23(2), 2013. Preprint, DOI.
5 thms2 active usersReviewed
🏆Completed
Graph TheoryProbabilityStochastic Systems·Captain: mikedeng1

Separation of Time-Scales and Model Reduction for Stochastic Reaction Networks 1: The Balance Condition for Linear Combinations of Species Decomposes over Strongly Connected ComponentsResearch Paper

Why reaction-network balance matters

A stochastic reaction network tracks the counts of chemical species as reactions occur. Different species and reaction rates may grow at different powers of a large system-size parameter. Kang and Kurtz's model-reduction paper uses these powers to identify candidate time scales and combinations of species that can remain bounded. Before a reduced model can be justified, the dominant reactions that increase a combination must be compared with those that decrease it. Condition 3.2 makes that comparison.

Checking the condition for every nonnegative linear combination is a large task even for a finite network: the weights range over a continuum, and changing a weight can change which reactions increase or decrease the combination. The paper's Lemma 3.4 relates this task to the directed graph of species. It says that combinations supported on different strongly connected components can be checked component by component. This mission formalizes that result and the claims in its proof that carry the reduction.

The network and its graph

There are finitely many species SiS_iSi​ and finitely many indexed reactions kkk. Reaction kkk consumes νik\nu_{ik}νik​ molecules of species iii and produces νik′\nu'_{ik}νik′​ molecules of that species. The stoichiometric change is ζik=νik′−νik\zeta_{ik}=\nu'_{ik}-\nu_{ik}ζik​=νik′​−νik​. Species iii has a nonnegative scaling exponent αi\alpha_iαi​, and reaction kkk has a real exponent βk\beta_kβk​. The effective reaction exponent is ρk=βk+∑iνikαi\rho_k=\beta_k+\sum_i\nu_{ik}\alpha_iρk​=βk​+∑i​νik​αi​.

For a vector of nonnegative weights θ\thetaθ, the scalar θ⋅ζk\theta\cdot\zeta_kθ⋅ζk​ is the change in its linear combination when reaction kkk occurs. Write Γθ+\Gamma^+_\thetaΓθ+​ for reactions with positive change and Γθ−\Gamma^-_\thetaΓθ−​ for reactions with negative change. The balance equation equates the largest ρk\rho_kρk​ on these two sets. If that equation fails, the time-scale inequality permits a chosen exponent γ\gammaγ only when it is no larger than γθ\gamma_\thetaγθ​, the largest αi\alpha_iαi​ on the support of θ\thetaθ minus the largest ρk\rho_kρk​ on Γθ+∪Γθ−\Gamma^+_\theta\cup\Gamma^-_\thetaΓθ+​∪Γθ−​. Condition 3.2 is the disjunction of these two alternatives.

The species graph has an edge Si→SjS_i\to S_jSi​→Sj​ when one reaction consumes SiS_iSi​ and produces SjS_jSj​. Its strongly connected components are the maximal sets of species that can reach one another by directed paths. A single species is a component when it shares no larger mutual-reachability class. A nonnegative vector supported in one such component is a component-level test vector.

Formalization targets

The goal is Lemma 3.4, p. 15. Suppose θ=∑j=1mθj\theta=\sum_{j=1}^m\theta^jθ=∑j=1m​θj, each θj\theta^jθj is nonnegative and supported within one maximal strongly connected component, and distinct pieces belong to distinct components. For fixed γ\gammaγ, the lemma asserts all three implications:

(∀j,  Cond3.2(γ,θj))⟹Cond3.2(γ,θ),(∀j,  Balance(θj))⟹Balance(θ),(∀j,  γ≤γθj)⟹γ≤γθ.\begin{aligned} \bigl(\forall j,\;\mathrm{Cond}_{3.2}(\gamma,\theta^j)\bigr)&\Longrightarrow\mathrm{Cond}_{3.2}(\gamma,\theta),\\ \bigl(\forall j,\;\mathrm{Balance}(\theta^j)\bigr)&\Longrightarrow\mathrm{Balance}(\theta),\\ \bigl(\forall j,\;\gamma\le\gamma_{\theta^j}\bigr)&\Longrightarrow\gamma\le\gamma_\theta. \end{aligned}(∀j,Cond3.2​(γ,θj))(∀j,Balance(θj))(∀j,γ≤γθj​)​⟹Cond3.2​(γ,θ),⟹Balance(θ),⟹γ≤γθ​.​

The companion consequence on the same page quantifies over all nonnegative vectors: if any one of these properties holds for every vector supported in a strongly connected subgraph, then it holds for every vector. The milestones mirror the paper's proof: a chain of component pieces cannot revisit a piece; under Condition 3.2 the maximal positive exponent either satisfies the time-scale bound or is bounded by the maximal negative exponent; and the two uniform cases yield their respective alternatives.

What the result establishes

Lemma 3.4 replaces a global family of tests with tests inside individual strongly connected components. In the paper this narrows the balance checks needed before the authors study separated time scales and reduced stochastic models. The uniform balance and uniform time-scale clauses matter separately: the first preserves equality of dominant positive and negative exponents, while the second preserves the same admissible γ\gammaγ across a sum of pieces. The general Condition 3.2 clause allows different pieces to satisfy different alternatives.

The mathematical result was proved in the 2010 arXiv preprint and published in 2013; it is not an open conjecture. This proposal supplies Lean statements and a reusable finite reaction-network vocabulary, with proofs left for solvers. The local sanity file checks the empty-maximum and zero-vector behavior without using sorry. The draft theorem files compile as statements, but their six proofs are not yet machine checked.

Where the reasoning is difficult

The obvious inequality for a sum says that a reaction increasing θ\thetaθ increases at least one piece. It does not say that the piece's dominant increasing reaction also increases the sum: contributions from other pieces can cancel it. Consequently, taking a maximum separately on each piece does not directly give the balance equation for the sum. The graph restriction is decisive because a sequence of compensating reactions would otherwise be able to cycle among pieces. The milestones isolate that no-repetition property and the two inequalities the paper obtains from it.

Formalization scope

Species, reactions, and pieces are represented by Fin s, Fin r, and Fin m; these are zero-based versions of the paper's one-based indices. The stoichiometric coefficients are natural numbers, the changes ζk\zeta_kζk​ and all scaling exponents are real, and αi≥0\alpha_i\ge0αi​≥0. Following the standing restriction on p. 5, each reaction consumes at most two molecules. The paper's ρk\rho_kρk​ is computed from βk\beta_kβk​, νk\nu_kνk​, and α\alphaα, not supplied independently.

For a reaction set AAA, max⁡k∈Aρk\max_{k\in A}\rho_kmaxk∈A​ρk​ uses WithBot ℝ, so the maximum of an empty set is −∞-\infty−∞, as the paper explicitly uses on p. 17. The support maximum in γθ\gamma_\thetaγθ​ is an ordinary real maximum when relevant. The value γθ\gamma_\thetaγθ​ is represented in EReal: when Γθ+∪Γθ−\Gamma^+_\theta\cup\Gamma^-_\thetaΓθ+​∪Γθ−​ is empty, it is +∞+\infty+∞ and the time-scale inequality holds for every real γ\gammaγ. Subtraction is performed in the reals before conversion to EReal. Thus zero vectors do not acquire a spurious bound from a default-valued maximum or extended-real subtraction.

An edge uses positive consumption and positive production in the same indexed reaction, matching the wording on pp. 4 and 15. Mutual reachability defines a component. Each piece is required to lie in one component, and different pieces in different components. These conditions prevent splitting a single component into separately balanced pieces, which would make the goal false. An empty family of pieces is permitted; its sum is zero. The definition file is useful for the other balance results in the paper, while the graph and component lemmas can support later work on reaction-network decomposition.

Selected references

  • Hye-Won Kang and Thomas G. Kurtz, Separation of time-scales and model reduction for stochastic reaction networks, arXiv:1011.1672v1, 2010, especially §2 and §§3.2–3.4, pp. 4–17. Preprint.
  • Hye-Won Kang and Thomas G. Kurtz, Separation of time-scales and model reduction for stochastic reaction networks, Annals of Applied Probability 23(2), 2013. DOI. The numbered statements in this mission follow the pinned 2010 preprint.
6 thms2 active usersReviewed
Graph Theory·Captain: mikedeng1

Cycle Lengths in Expanding Graphs 2: Every α-Expander on n Vertices Has Ω(α³/log(1/α))·n Distinct Cycle LengthsResearch Paper

Motivation

An expander graph has many edges leaving each small vertex set. This condition is useful when a graph must remain connected after local losses, and it also constrains the cycles that can occur. Knowing that one long cycle exists leaves open how many different lengths its cycles can have. For example, a bipartite graph has no odd cycle, so expansion alone does not make every length available. The question here is quantitative: how large must the set of available lengths be in terms of the graph's order and expansion parameter? Friedman and Krivelevich answered it with a lower bound whose dependence on the expansion parameter is polynomial up to a logarithm. Their Theorem 2 is the target of this mission. Friedman and Krivelevich, Cycle lengths in expanding graphs, pp. 2–3

The same paper separates two questions. Theorem 1 says that cycle lengths are well spread over a range, but its resulting lower bound on their number has a much smaller dependence on the expansion parameter. Theorem 2 obtains a stronger count without claiming that those lengths form an interval. This distinction matters: counting many available lengths and prescribing an arbitrary length are different demands on a graph. The paper's third theorem studies the latter demand under a different graph condition. Friedman and Krivelevich, pp. 2–4

Setting

Let G=(V,E)G=(V,E)G=(V,E) be a finite simple graph with n=∣V∣n=|V|n=∣V∣ vertices. A simple graph has no loops or parallel edges. For a vertex set U⊆VU\subseteq VU⊆V, its external neighborhood is

NG(U)={v∈V∖U:v is adjacent to some vertex in U}.N_G(U)=\{v\in V\setminus U:\text{$v$ is adjacent to some vertex in $U$}\}.NG​(U)={v∈V∖U:v is adjacent to some vertex in U}.

The graph is an α\alphaα-expander if α>0\alpha>0α>0 and, for every U⊆VU\subseteq VU⊆V with ∣U∣≤⌈n/2⌉|U|\le\lceil n/2\rceil∣U∣≤⌈n/2⌉,

∣NG(U)∣≥α∣U∣.|N_G(U)|\ge\alpha|U|.∣NG​(U)∣≥α∣U∣.

The ceiling is part of the paper's formal Definition on p. 2. It matters at odd nnn, where the largest tested set has (n+1)/2(n+1)/2(n+1)/2 vertices. A related (k,α)(k,\alpha)(k,α)-expander uses the same inequality for every UUU with ∣U∣≤k|U|\le k∣U∣≤k; here kkk may be real and the size of UUU is still an integer. This broader notion appears in the supporting long-path lemma. Friedman and Krivelevich, pp. 1–2, 4

A cycle is a closed path with no repeated vertex apart from its starting and ending vertex. Its length is its number of edges, hence at least three. Write

L(G)={ℓ∈N:G contains a cycle of length ℓ}.L(G)=\{\ell\in\mathbb N:\text{$G$ contains a cycle of length $\ell$}\}.L(G)={ℓ∈N:G contains a cycle of length ℓ}.

The quantity ∣L(G)∣|L(G)|∣L(G)∣ counts lengths, rather than the number of cycles. Two cycles of the same length contribute just one element. Since a simple cycle visits distinct vertices, L(G)L(G)L(G) is finite and its cardinality is an ordinary natural number. Friedman and Krivelevich, p. 2

Formalization targets

The goal is the polynomial lower bound from Theorem 2. There is one absolute constant c>0c>0c>0 such that, for each 0<α≤10<\alpha\le10<α≤1 and every sufficiently large nnn, every α\alphaα-expander GGG on nnn vertices satisfies

∣L(G)∣≥c α3log⁡2(2/α) n.|L(G)|\ge c\,\frac{\alpha^3}{\log_2(2/\alpha)}\,n.∣L(G)∣≥clog2​(2/α)α3​n.

The paper writes Ω(α3/log⁡(1/α))n\Omega(\alpha^3/\log(1/\alpha))nΩ(α3/log(1/α))n. The denominator above records the endpoint convention used in this mission; it agrees up to an absolute factor for α≤1/2\alpha\le1/2α≤1/2. The constant ccc is uniform across all α\alphaα, graph orders, and graphs. The threshold for nnn may depend on α\alphaα. Friedman and Krivelevich, p. 3, Theorem 2

Four intermediate targets reproduce claims used by the paper. Lemma 2.5 gives a path of a prescribed length from a prescribed start vertex when every kkk-vertex set has enough external neighbors and the start vertex's component is large enough. In the proof of Theorem 2, deleting ⌊αn/4⌋\lfloor\alpha n/4\rfloor⌊αn/4⌋ vertices leaves a path of length ⌈αn/4⌉−1\lceil\alpha n/4\rceil-1⌈αn/4⌉−1. The chosen integer

k(α)=2⌈log⁡2(3/α)log⁡2(1+α/2)⌉+1k(\alpha)=2\left\lceil\frac{\log_2(3/\alpha)}{\log_2(1+\alpha/2)}\right\rceil+1k(α)=2⌈log2​(1+α/2)log2​(3/α)​⌉+1

has order at most log⁡2(2/α)/α\log_2(2/\alpha)/\alphalog2​(2/α)/α with an absolute constant. Finally, the paper's set X0X_0X0​ of path vertices connected to the deleted set by short paths satisfies ∣X0∣≥α2n/12|X_0|\ge\alpha^2n/12∣X0​∣≥α2n/12 once the rounding-sensitive small cases are excluded. These are the milestone statements, in the order in which they enter the target. Friedman and Krivelevich, pp. 6, 13–14

Significance

The theorem guarantees linearly many distinct cycle lengths for every fixed positive expansion parameter, and gives an explicit polynomial-scale dependence on that parameter. A long cycle alone proves only that one length occurs. Even a statement placing cycles near many target lengths can lose substantial strength in its dependence on α\alphaα. The count in Theorem 2 supplies a separate guarantee for graph families where the expansion parameter varies. It does not imply that every length in an interval occurs. Friedman and Krivelevich, p. 3

The result is proved in the cited paper. The formalization target is a machine-checked proof of that known statement and its selected intermediate claims. The reusable output includes an exact interface for external vertex expansion, simple cycle lengths, and the prescribed-start path lemma. The local Lean statements currently compile as open targets; they do not supply machine-checked proofs of the claims.

Difficulty

Expansion gives large neighborhoods and forces connectedness, but these facts do not by themselves distinguish cycle lengths. A tempting first argument finds a long cycle and then treats its subpaths as shorter cycles; the subpaths do not close into cycles without additional edges. A second temptation is to count cycles rather than lengths: a graph may have many cycles while all of them share only a few lengths. The central challenge is to obtain a family of cycles whose lengths can be certified as different while keeping the graph's expansion parameter visible in the count. The proof also has integer rounding at the scale αn\alpha nαn, where claims written for large graphs can fail on small ones. Friedman and Krivelevich, pp. 13–14

Formalization scope

Graphs are SimpleGraph (Fin n) for the goal and proof-specific milestones; the general path lemma allows any finite vertex type. Vertex sets are Set V, with Set.ncard for finite cardinality. An α\alphaα-expander tests every set up to ⌈n/2⌉=(n+1)/2\lceil n/2\rceil=(n+1)/2⌈n/2⌉=(n+1)/2 in natural-number arithmetic. Cycles use SimpleGraph.Walk.IsCycle, and paths use Walk.IsPath; their length is the number of edges. This rules out a two-edge closed walk being counted as a cycle. The formal development also uses the explicit k(α)k(\alpha)k(α) and the paper's X0X_0X0​, including its condition on the internal vertices of a short connecting path.

All logarithms are binary. The shifted log⁡2(2/α)\log_2(2/\alpha)log2​(2/α) replaces log⁡2(1/α)\log_2(1/\alpha)log2​(1/α) only inside asymptotic bounds, because the latter vanishes at α=1\alpha=1α=1. The constant in the lower bound precedes α\alphaα in the quantifier order. The goal includes n≥n0(α)n\ge n_0(\alpha)n≥n0​(α), a necessary disclosed addition: the two-vertex complete graph is an α\alphaα-expander for α≤1\alpha\le1α≤1 but has no cycle. The X0X_0X0​ milestone adds αn≥12\alpha n\ge12αn≥12 to make the paper's suppressed rounding valid; otherwise the initial vertex set can be empty. The deletion milestone states the path claim for any deleted set of the indicated size, since the displayed estimate uses only that size. A formal proof needs finite graph paths, component sizes, vertex neighborhoods, and cardinality estimates. Contributions to these general lemmas are useful beyond this mission. No claim is discharged by letting an asymptotic constant depend on α\alphaα, by counting closed walks, or by exploiting division by zero.

Selected references

  • L. Friedman and M. Krivelevich, Cycle lengths in expanding graphs, arXiv:1912.11011v2, 2020; published in Combinatorica 41 (2021). arXiv; DOI.
7 thms2 active usersReviewed
🏆Completed
Theoretical Computer Science·Captain: mikedeng1

Fully-Functional Suffix Trees and Optimal Text Searching in BWT-runs Bounded Space 2: A Text Whose BWT Has r Runs Has at Most 2rs Distinct Substrings of Length sResearch Paper

Motivation

A text index answers questions about occurrences of a pattern without scanning the whole text. One reason to compress such an index is that many stored texts are repetitive: multiple versions of a document or genome often share long passages. The Burrows–Wheeler transform (BWT) rearranges a text's symbols in a way that groups related contexts. A small number of equal-symbol runs in the BWT is therefore a useful measure of repetition. Gagie, Navarro, and Prezza use the number of runs to state space bounds for text searching and suffix-tree operations in Fully-Functional Suffix Trees and Optimal Text Searching in BWT-runs Bounded Space.

This mission isolates one exact counting result underneath those data-structure bounds. A length-sss substring is called an sss-mer. The number of different sss-mers measures how many local patterns the text contains; repeated occurrences of the same string count once. Lemma 9 of the 2019 preprint bounds this number directly in terms of BWT runs. The result makes a relation between two notions of text repetition precise: clustering in the BWT and diversity of fixed-length substrings.

Setting

Let T[1..n]T[1..n]T[1..n] be a text over the ordered alphabet [1..σ][1..\sigma][1..σ]. Its final symbol is a unique terminator \=1,smallerthaneveryothersymbolinthetext.Foreach, smaller than every other symbol in the text. For each ,smallerthaneveryothersymbolinthetext.Foreachi\in[1..n],the∗∗suffix∗∗, the **suffix** ,the∗∗suffix∗∗T[i..n]startsatstarts atstartsatiandendsattheterminator.The∗∗suffixarray∗∗and ends at the terminator. The **suffix array**andendsattheterminator.The∗∗suffixarray∗∗SA[1..n]isthepermutationofis the permutation ofisthepermutationof[1..n]thatliststhesesuffixesinincreasinglexicographicorder.Thusthat lists these suffixes in increasing lexicographic order. Thusthatliststhesesuffixesinincreasinglexicographicorder.ThusSA[p]isthestartingpositionoftheis the starting position of theisthestartingpositionofthep$th suffix. This is the setup of §2 of the source preprint, pp. 7–9.

The BWT symbol at position ppp is the character just before the suffix at SA[p]SA[p]SA[p]. When that suffix is the whole text and has no preceding character, its predecessor is read cyclically as T[n]=\$$. The BWT partitions into maximal runs of equal symbols; rdenotestheirnumber.ThefirstandlastBWTpositionsineachruncorrespondto∗∗sampledtextpositions∗∗.Atextsubstringdenotes their number. The first and last BWT positions in each run correspond to **sampled text positions**. A text substringdenotestheirnumber.ThefirstandlastBWTpositionsineachruncorrespondto∗∗sampledtextpositions∗∗.AtextsubstringT[i..j]$ is primary when its interval contains a sampled text position, as in Definition 5, p. 16.

For 1≤s≤n1\le s\le n1≤s≤n, let Ss(T)\mathcal S_s(T)Ss​(T) be the set of length-sss strings occurring in TTT:

Ss(T)={T[a..a+s−1]:1≤a≤n−s+1}.\mathcal S_s(T)=\{T[a..a+s-1]:1\le a\le n-s+1\}.Ss​(T)={T[a..a+s−1]:1≤a≤n−s+1}.

The braces matter: two windows with identical contents give one element. The final allowed window includes the terminator. The text is not padded in this definition.

Formalization targets

Primary occurrences

Lemma 8, p. 17 states that every nonempty substring of TTT has an occurrence with the same contents that is primary. With Sampled⁡(T)\operatorname{Sampled}(T)Sampled(T) denoting sampled text positions, the assertion is

∀ 1≤i≤j≤n,∃ 1≤i′≤j′≤n:T[i′..j′]=T[i..j]and[i′..j′]∩Sampled⁡(T)≠∅.\forall\,1\le i\le j\le n,\quad\exists\,1\le i'\le j'\le n: T[i'..j']=T[i..j]\quad\text{and}\quad [i'..j']\cap\operatorname{Sampled}(T)\ne\varnothing.∀1≤i≤j≤n,∃1≤i′≤j′≤n:T[i′..j′]=T[i..j]and[i′..j′]∩Sampled(T)=∅.

The mission's milestones also capture the suffix-array interval of a pattern, the sampled occurrence of each individual character, and the bound ∣Sampled⁡(T)∣≤2r|\operatorname{Sampled}(T)|\le 2r∣Sampled(T)∣≤2r stated in the proof of Lemma 9. These give precise intermediate claims in the paper's route to the count.

Distinct sss-mers

The main goal is Lemma 9, p. 17:

∣Ss(T)∣≤2rsfor every 1≤s≤n.\boxed{\quad |\mathcal S_s(T)|\le 2rs\quad\text{for every }1\le s\le n.\quad}∣Ss​(T)∣≤2rsfor every 1≤s≤n.​

Here rrr is calculated from the BWT of the text's suffix array. Both inequalities on sss are part of the source statement. The bound concerns distinct strings of a fixed length, not the number n−s+1n-s+1n−s+1 of substring windows.

Significance

The theorem gives an explicit upper bound on the number of different length-sss strings that can appear when the BWT has few runs. In §4.2 the authors use it to bound the text area holding all distinct length-sss substrings; that area supports the alphabet-mapping component of their compressed index. This exact combinatorial assertion remains meaningful independently of a machine model or a choice of data structure. Its role in the broader construction is described around Lemmas 8 and 9, pp. 16–17.

The result is proved in the paper. The work here is to give its objects and claims machine-checkable statements and then close their proofs in Lean. The mission has not already supplied a machine-checked proof of these claims. A completed development would also provide reusable definitions of suffix arrays, BWT run boundaries, and finite sets of distinct substrings for later formalizations of compressed text indexes.

Difficulty

The count is immediate only after every substring can be represented by an occurrence containing a sampled position. A direct count of all starting positions cannot yield the claimed bound: nnn may be large even when rrr is small. The difficult step is therefore the primary-occurrence claim of Lemma 8. Its statement has to preserve both parts of “occurrence”: the replacement interval must have the same length and symbols, and it must stay inside the text. The suffix-array range used there depends on lexicographic order, while sampled positions are defined through changes between adjacent BWT symbols. Connecting those two views of the text is the central obstacle.

Formalization scope

The Lean representation uses N\mathbb NN for symbols and 1-based positions. The functions TTT and SASASA are read only on [1..n][1..n][1..n]. An IsText hypothesis enforces n≥1n\ge1n≥1, membership in [1..σ][1..\sigma][1..σ], and the unique final terminator \=1.An‘IsSuffixArray‘hypothesissaysthat. An `IsSuffixArray` hypothesis says that .An‘IsSuffixArray‘hypothesissaysthatSAmapsmapsmaps[1..n]injectivelyintoitselfandordersitssuffixesstrictly;itdoesnotpresupposeanyclaimaboutBWTsamples.Becausethatfinitedomainhasinjectively into itself and orders its suffixes strictly; it does not presuppose any claim about BWT samples. Because that finite domain hasinjectivelyintoitselfandordersitssuffixesstrictly;itdoesnotpresupposeanyclaimaboutBWTsamples.Becausethatfinitedomainhasnelements,theseconditionsdescribeapermutation.TheBWTiscomputedfromelements, these conditions describe a permutation. The BWT is computed fromelements,theseconditionsdescribeapermutation.TheBWTiscomputedfromTandandandSA,withthepredecessorofposition1readasposition, with the predecessor of position 1 read as position ,withthepredecessorofposition1readaspositionn$. Runs are counted by their starting cells; samples are the corresponding text positions from both ends of every run. The model follows the first sentence of Definition 1, including the last character of the final run. The source's following explanatory clause omits that endpoint.

The set of sss-mers is a finite set of lists formed from every valid window. It is not restricted to primary windows, which would make the goal a different and easier statement. A primary substring carries valid endpoints and a sampled position inside them. The formal statements do not assume that the desired primary occurrence exists; that is precisely the content of Lemma 8. The paper's O(⋅)O(\cdot)O(⋅) space and time results are outside this mission: the goal is their explicit substring-counting content.

A complete proof needs elementary facts about list prefixes and lexicographic order, finite interval images, the BWT's run partition, and cardinalities of substring windows near samples. The definitions and interval lemmas can be reused by other missions on suffix arrays and compressed strings. Contributions proving any of the listed milestones or strengthening the surrounding reusable string infrastructure are within scope.

Selected references

  • Travis Gagie, Gonzalo Navarro, and Nicola Prezza, Fully-Functional Suffix Trees and Optimal Text Searching in BWT-runs Bounded Space, arXiv:1809.02792v2, 2019. Preprint.
  • Travis Gagie, Gonzalo Navarro, and Nicola Prezza, Fully-Functional Suffix Trees and Optimal Text Searching in BWT-runs Bounded Space, Journal of the ACM 67(1), 2020. DOI:10.1145/3375890. The mission follows the preprint's numbering and wording.
7 thms2 active usersReviewed
Discrete GeometryGraph Theory·Captain: mikedeng1

Twin-width I: Tractable FO Model Checking 2: Every Subgraph of a Unit d-Dimensional Ball Graph with Clique Number k Has Twin-width at Most (3⌈√d⌉)^d·kResearch Paper

Motivation

Twin-width is a graph parameter introduced by Bonnet, Kim, Thomassé and Watrigant in Twin-width I: Tractable FO Model Checking (J. ACM 69(1), Article 3, 2021; arXiv:2004.14789). Its main theorem says that first-order model checking is fixed-parameter tractable on every class of graphs of bounded twin-width, provided a witnessing contraction sequence is given. This turns every class shown to have bounded twin-width into a class on which a whole logic becomes algorithmically tractable, so the question "which natural classes have bounded twin-width?" has direct algorithmic content.

Section 4 of the paper answers that question for several classes. This mission covers the geometric part of Section 4: ddd-dimensional grids, grids with diagonals, and unit ddd-dimensional ball graphs with bounded clique number. Geometric intersection graphs are a standard source of hard instances in parameterized algorithms. Width parameters designed for dense graphs (rank-width, clique-width, boolean-width) are unbounded already on the planar n×nn\times nn×n grid, whereas twin-width stays bounded on grids of every fixed dimension and transfers from there to ball graphs.

Setting

All graphs are finite and simple. Two vertex sets X,YX,YX,Y of a graph GGG are homogeneous if every pair (x,y)∈X×Y(x,y)\in X\times Y(x,y)∈X×Y is an edge or no pair is. For a partition P\mathcal PP of V(G)V(G)V(G), the red degree of a part XXX is the number of other parts not homogeneous to XXX; P\mathcal PP is a ddd-partition if every red degree is at most ddd. The graph GGG has twin-width at most ddd, tww⁡(G)≤d\operatorname{tww}(G)\le dtww(G)≤d, if there is a sequence P0,…,PN\mathcal P_0,\dots,\mathcal P_NP0​,…,PN​ of ddd-partitions of V(G)V(G)V(G) that starts with the partition into singletons, ends with at most one part, and in which each partition arises from the previous one by merging two parts. This is the paper's partition form of its definition by contractions of trigraphs (graphs with black and red edges, §3).

For the all-red trigraph Hr=(V,∅,E(H))H^r=(V,\emptyset,E(H))Hr=(V,∅,E(H)), in which every edge of HHH is red, the paper's contraction rule never produces a black edge, and two parts are red-adjacent exactly when some edge of HHH joins them. The red twin-width tww⁡(Hr)≤d\operatorname{tww}(H^r)\le dtww(Hr)≤d is defined as above with this adjacency.

For d,n≥1d,n\ge 1d,n≥1, the ddd-dimensional nnn-grid PndP^d_nPnd​ has vertex set [n]d[n]^d[n]d, with x∼yx\sim yx∼y iff ∑i∣xi−yi∣=1\sum_{i}|x_i-y_i|=1∑i​∣xi​−yi​∣=1. The grid with diagonals Kn,dK_{n,d}Kn,d​ has the same vertices, with distinct x∼yx\sim yx∼y iff max⁡i∣xi−yi∣≤1\max_i|x_i-y_i|\le 1maxi​∣xi​−yi​∣≤1, and Kn,drK^r_{n,d}Kn,dr​ is its all-red trigraph; RndR^d_nRnd​ is the all-red trigraph of PndP^d_nPnd​.

Given centres c(v)∈Rdc(v)\in\mathbb R^dc(v)∈Rd for vvv in a finite set VVV, the unit ball graph GGG joins distinct u,vu,vu,v iff the closed unit balls around c(u)c(u)c(u) and c(v)c(v)c(v) meet, that is ∥c(u)−c(v)∥2≤2\|c(u)-c(v)\|_2\le 2∥c(u)−c(v)∥2​≤2. Its clique number is the largest size of a set of pairwise adjacent vertices. A subgraph of GGG is obtained by deleting vertices and edges.

Formalization targets

Goal: Theorem 4.5 (p. 3:15)

For every d,kd,kd,k, every subgraph HHH of a unit ddd-dimensional ball graph GGG with clique number at most kkk satisfies

tww⁡(H)≤(3⌈d ⌉)d k.\operatorname{tww}(H)\le (3\lceil\sqrt d\,\rceil)^d\,k .tww(H)≤(3⌈d​⌉)dk.

Milestones, in the order the paper uses them

  1. Red paths have twin-width at most 222 (§3, p. 3:12).
  2. Induced subgraphs do not increase twin-width, for graphs and for all-red trigraphs (§4.1, p. 3:12).
  3. tww⁡(Rnd)≤3d\operatorname{tww}(R^d_n)\le 3dtww(Rnd​)≤3d for positive d,nd,nd,n (the statement proved inside Theorem 4.3, p. 3:15).
  4. Theorem 4.3: tww⁡(Pnd)≤3d\operatorname{tww}(P^d_n)\le 3dtww(Pnd​)≤3d for positive d,nd,nd,n.
  5. Every subgraph of PndP^d_nPnd​ has twin-width at most 3d3d3d (p. 3:15).
  6. Lemma 4.4: every subgraph of Kn,drK^r_{n,d}Kn,dr​ has twin-width at most 2(3d−1)2(3^d-1)2(3d−1).
  7. In a unit ball graph without a clique of size k+1k+1k+1, each half-open cell of side 2/d2/\sqrt d2/d​ contains at most kkk centres (proof of Theorem 4.5, p. 3:16).

A companion item, Theorem 4.1 (p. 3:13, graph case), states that adding one vertex joined to an arbitrary set at most changes twin-width from ttt to 2(t+1)2(t+1)2(t+1).

Significance

The goal theorem places unit ball graphs of bounded clique number, in every fixed dimension, among the classes of bounded twin-width. Combined with the paper's main theorem, and with the paper's remark that a contraction sequence can be computed in polynomial time from a geometric representation, it gives fixed-parameter tractable first-order model checking on these graphs. The clique-number hypothesis is needed: unit disk graphs without a clique bound have unbounded twin-width (p. 3:16), as shown in Twin-width II. Theorem 4.3 and Lemma 4.4 are of independent use as twin-width bounds for grids, and the subgraph statements show that grids are an exception to the general fact that bounded twin-width is not preserved by taking (non-induced) subgraphs (p. 3:13).

All results here are proved in the paper. To our knowledge none of them, and no notion of twin-width with red degree, is machine-checked in Lean or Mathlib. The work is to formalize the paper's arguments: the parallel contraction of grid layers, the supercell contraction, and the geometric counting.

Difficulty

Twin-width is not monotone under subgraphs, so the obvious route, "a unit ball graph of bounded clique number is a subgraph of a grid-like graph, hence has bounded twin-width", fails as stated. The paper repairs it by working with all-red trigraphs throughout: for an all-red trigraph, removing edges can only remove red adjacencies, and this is why Theorem 4.3 is proved in its red form and Lemma 4.4 is stated for Kn,drK^r_{n,d}Kn,dr​. A second difficulty is bookkeeping: the bound 3d3d3d comes from contracting the nnn layers of PndP^d_nPnd​ "in parallel" and tracking the red degree of every vertex at each step, and Lemma 4.4 is asserted "by the arguments of Theorem 4.3" without a separate proof, so its argument has to be reconstructed.

Formalization scope

Lean represents twin-width by the predicates TwinWidthLE G d and RedTwinWidthLE H d on finite vertex types: an explicit sequence of Finpartitions of the vertex set from ⊥ (singletons) to at most one part, consecutive partitions differing by one merge of two distinct parts. Twin-width is never a number, so no infimum over an empty set enters. [n]d[n]^d[n]d is Fin d → Fin n; centres live in EuclideanSpace ℝ (Fin d) with the Euclidean distance; balls are closed of radius 111, so centres at distance exactly 222 are adjacent. ⌈d ⌉\lceil\sqrt d\,\rceil⌈d​⌉ is the natural-number ceiling of the real square root. "Clique number kkk" is encoded as CliqueFree (k+1) (clique number at most kkk), which is the same theorem because the bound is monotone in kkk; subgraphs are a finite vertex set SSS together with a graph H≤G[S]H\le G[S]H≤G[S] on it.

The hypotheses 1≤d1\le d1≤d, 1≤n1\le n1≤n appear in Theorem 4.3, its red form, and the grid-subgraph statement, as on the page ("positive integers"). No other hypothesis is added; Lemma 4.4, the cell bound and the goal hold as stated also for d=0d=0d=0 or n=0n=0n=0. The red-degree count uses "some edge joins the two parts", which is derived from the paper's contraction rule for trigraphs without black edges and is used only for all-red trigraphs; the twin-width of graphs counts non-homogeneous parts. This rules out the trivializing readings: a twin-width defined as an infimum that defaults to 000, a sequence allowed to jump to one part, homogeneity counted as adjacency for graphs, or a bound depending on the graph. The polynomial-time sentence of Theorem 4.5 is not formalized.

Reusable infrastructure: the partition-form twin-width predicates (shared with the other missions of this series), grids and grids with diagonals in coordinates, and unit ball graphs. Contributions are welcome on the general lemmas (induced subgraphs, red-to-black transfer, small explicit sequences) as well as on the grid theorems themselves.

Selected references

  • É. Bonnet, E. J. Kim, S. Thomassé, R. Watrigant, Twin-width I: Tractable FO Model Checking, Journal of the ACM 69(1), Article 3, 2021. https://doi.org/10.1145/3486655 (preprint: https://arxiv.org/abs/2004.14789)
  • É. Bonnet, C. Geniet, E. J. Kim, S. Thomassé, R. Watrigant, Twin-width II: small classes, Combinatorial Theory 2(2), 2022. https://arxiv.org/abs/2006.09877
10 thms2 active usersReviewed
🏆Completed
Graph TheoryTheoretical Computer Science·Captain: mikedeng1

A c^k n 5-Approximation Algorithm for Treewidth 2: X Is a Balanced S-Separator iff V(G)∖X Splits into Three Mutually Non-Adjacent Parts Each Holding at Most |S|/2 Vertices of SResearch Paper

Motivation

The paper of Bodlaender, Drange, Dregi, Fomin, Lokshtanov and Pilipczuk (2016) has an algorithmic headline. This mission concerns one of its finite graph lemmas, Lemma 2.9. The lemma translates a condition phrased separately for every connected component into a condition on three vertex sets. A reader of graph decompositions encounters both forms: components express what remains connected after deleting vertices, while a small fixed number of parts gives a compact way to state constraints on a partition. Lemma 2.9 identifies exactly when the two forms agree for the half-balance threshold. The same result appears again in the paper as Lemma 6.2, where the authors use it in a later section.

The result does not require a tree decomposition or a treewidth hypothesis. It holds for every finite graph. That generality makes it a useful standalone target: the definitions of deletion, connected components, and the weighted three-partition can be reused wherever graph separators are studied. The mission follows the published SIAM article, with printed page 328 for the main lemma and pages 363–364 for its restatement and the supporting combinatorial observation.

Setting

Let GGG be a finite simple graph with vertex set V(G)V(G)V(G). Let SSS and XXX be subsets of its vertices. The deleted graph G∖XG\setminus XG∖X retains precisely the vertices outside XXX and the edges joining them. Two remaining vertices are in the same connected component when a walk joins them without passing through any vertex of XXX. Write CX(u)C_X(u)CX​(u) for the vertex set of the component containing u∉Xu\notin Xu∈/X. This interpretation follows the paper's notation on page 320.

A balanced SSS-separator is a set XXX for which each component of G∖XG\setminus XG∖X contains at most half the vertices of SSS:

∣CX(u)∩S∣≤∣S∣2for every u∈V(G)∖X.|C_X(u)\cap S|\le\frac{|S|}{2}\qquad\text{for every }u\in V(G)\setminus X.∣CX​(u)∩S∣≤2∣S∣​for every u∈V(G)∖X.

The paper introduces this phrase on page 321. Here balance is a property of XXX relative to SSS; it imposes no bound on the size of XXX. The denominator counts all vertices of SSS, including any that lie in XXX.

A three-part partition of V(G)∖XV(G)\setminus XV(G)∖X is a triple (M1,M2,M3)(M_1,M_2,M_3)(M1​,M2​,M3​) of pairwise disjoint sets whose union is V(G)∖XV(G)\setminus XV(G)∖X. A part may be empty. Two parts have no edge between them if no edge of GGG joins a vertex of one to a vertex of the other. Since the graph is undirected, checking the three unordered pairs of distinct parts covers the requirement for every i≠ji\ne ji=j.

Formalization targets

Lemma 2.9: balanced separators and three parts

The goal is the equivalence stated on page 328, also restated as Lemma 6.2 on page 363:

X is a balanced S-separator⟺V(G)∖X=M1∪˙M2∪˙M3,no edge joins distinct Mi,∣Mi∩S∣≤∣S∣/2(i=1,2,3).X\text{ is a balanced }S\text{-separator} \quad\Longleftrightarrow\quad \begin{gathered} V(G)\setminus X=M_1\mathbin{\dot\cup}M_2\mathbin{\dot\cup}M_3,\\ \text{no edge joins distinct }M_i,\\ |M_i\cap S|\le |S|/2\quad(i=1,2,3). \end{gathered}X is a balanced S-separator⟺V(G)∖X=M1​∪˙M2​∪˙M3​,no edge joins distinct Mi​,∣Mi​∩S∣≤∣S∣/2(i=1,2,3).​

The equivalence is the target, including both directions. It applies even when SSS or V(G)∖XV(G)\setminus XV(G)∖X is empty. It does not include a bound on ∣X∣|X|∣X∣.

Lemma 6.3: three bounded sums

The main supporting result on page 363 says that nonnegative integers a1,…,apa_1,\ldots,a_pa1​,…,ap​ with total qqq and ai≤q/2a_i\le q/2ai​≤q/2 can be divided into three classes, each with sum at most q/2q/2q/2. The milestone list also records the paper's merge inequality and its assertion that a component cannot cross between parts having no edge between them. These are the specific claims used in the published discussion of Lemma 2.9.

Significance

Lemma 2.9 lets a componentwise balance condition be represented by three sets whose coverage, disjointness, edge separation, and cardinalities can be inspected directly. It gives an exact equivalence, so the three-part formulation loses no balanced separators and introduces none that fail the original definition. That is the mathematical content needed when a later argument represents a separator by a bounded number of regions rather than by a list of all its components. The result is already proved in the 2016 paper; the open work in this mission is a machine-checked formalization of that known result and its cited supporting claims.

Formalizing the equivalence also establishes reusable interfaces for vertex deletion and component membership in a finite simple graph. A future development can state a separator condition using IsBalancedSSep, or use the three-part conclusion without redefining what a component of G∖XG\setminus XG∖X means. The independent integer-partition lemma has uses whenever indivisible nonnegative weights, each no larger than half the total, must be grouped into three bounded classes. Nothing in that statement depends on graphs.

Difficulty

There may be arbitrarily many components of G∖XG\setminus XG∖X, although the conclusion permits only three parts. Simply assigning all components to one part can violate the half bound, while splitting a component between different parts may create forbidden edges. A component's weight is the number of its vertices in SSS, and those weights can be uneven or zero. The theorem has to accommodate all such patterns without changing the threshold ∣S∣/2|S|/2∣S∣/2. In the converse direction, the absence of edges between the three parts must control entire walks, not only their first edge; ordinary connectivity in GGG would allow a walk through XXX and would describe the wrong components.

Formalization scope

The Lean development uses SimpleGraph V with V : Type, [Fintype V], and [DecidableEq V]. Vertex sets are Finset V. The shared walk-based AvoidReach G X u v requires every vertex on a walk to lie outside XXX, including both endpoints; avoidComp G X u collects the vertices reachable in this way. It is used only for u∉Xu\notin Xu∈/X when quantifying over components. This shared definition matches the paper's G∖XG\setminus XG∖X. The graph itself need not have decidable adjacency, since the statements concern propositions rather than computations.

Half bounds are written as 2c≤∣S∣2c\le |S|2c≤∣S∣ or 2c≤q2c\le q2c≤q in natural-number arithmetic. This is equivalent to the paper's rational half bound and avoids any interpretation of natural-number division. The three parts may be empty, so X=V(G)X=V(G)X=V(G) is a genuine boundary case. The set SSS may meet XXX; the right-hand denominator remains ∣S∣|S|∣S∣. The graph may have no vertices. There is no treewidth parameter or size condition on XXX: adding one would change Lemma 2.9 and can make its reverse implication false. Nor may components be computed using connectivity in the original graph, where paths through deleted vertices could merge them.

The required infrastructure is finite graph walks, finite sets, cardinalities, sums over finite index types, and the three original claims in the milestone list. The graph-component definitions and the integer grouping theorem are reusable beyond this mission. Contributions that prove any milestone or the full equivalence under exactly these conventions are in scope.

Selected references

  • H. L. Bodlaender, P. G. Drange, M. S. Dregi, F. V. Fomin, D. Lokshtanov and M. Pilipczuk, A c^k n 5-approximation algorithm for treewidth, SIAM Journal on Computing 45(2):317–378, 2016. DOI: 10.1137/130947374.
6 thms2 active usersReviewed
Graph Theory·Captain: mikedeng1

Twin-width I: Tractable FO Model Checking 1: Every Graph with Boolean-width k Has Twin-width at Most 2^(k+1) − 1Research Paper

Motivation

Twin-width was introduced by Bonnet, Kim, Thomassé and Watrigant (J. ACM 69(1), Article 3, 2021) as a graph parameter under which first-order model checking is fixed-parameter tractable when a contraction sequence is given. Its interest lies in the classes it covers at once: planar and, more generally, KtK_tKt​-minor-free graphs, bounded-degree grids, unit ball graphs of bounded clique number, and the classes of bounded rank-width or clique-width. These are the classical dense-graph width measures, for which FO (indeed MSO1_11​) model checking was already known to be tractable through Courcelle–Makowsky–Rotics.

This mission formalizes the link to the dense width measures, stated in the paper through boolean-width (Bui-Xuan, Telle and Vatshelle, Theor. Comput. Sci. 412(39), 2011). It is known that boolw⁡(G)≤modw⁡(G)≤cw⁡(G)≤2rw⁡(G)+1−1\operatorname{boolw}(G)\le\operatorname{modw}(G)\le\operatorname{cw}(G)\le 2^{\operatorname{rw}(G)+1}-1boolw(G)≤modw(G)≤cw(G)≤2rw(G)+1−1 (Vatshelle's PhD thesis, Chapter 4), so a bound on twin-width in terms of boolean-width shows that bounded twin-width captures bounded rank-width, clique-width, module-width and boolean-width simultaneously.

Setting

Let GGG be a finite simple graph on a vertex set VVV.

Two vertex sets X,Y⊆VX,Y\subseteq VX,Y⊆V are homogeneous if either all pairs (x,y)∈X×Y(x,y)\in X\times Y(x,y)∈X×Y are edges or none is. For a partition P\mathcal PP of VVV, a part XXX has red degree equal to the number of other parts Y≠XY\ne XY=X that are not homogeneous to XXX; P\mathcal PP is a ddd-partition if every part has red degree at most ddd. The graph GGG has twin-width at most ddd, written tww⁡(G)≤d\operatorname{tww}(G)\le dtww(G)≤d, if there are partitions P0,…,PN\mathcal P_0,\dots,\mathcal P_NP0​,…,PN​ of VVV with P0\mathcal P_0P0​ the partition into singletons, PN\mathcal P_NPN​ having at most one part, each Pi+1\mathcal P_{i+1}Pi+1​ obtained from Pi\mathcal P_iPi​ by merging two parts, and every Pi\mathcal P_iPi​ a ddd-partition. This is the paper's partition form (p. 3:32) of its definition through trigraphs and red edges (pp. 3:11–3:12).

A decomposition tree of GGG is a rooted binary tree TTT, every internal node having exactly two children, whose leaves are in one-to-one correspondence with VVV. Each edge eee of TTT lies above exactly one rooted subtree and induces a cut Pe=(Ae,Be)P_e=(A_e,B_e)Pe​=(Ae​,Be​) of VVV: AeA_eAe​ is the set of leaf labels of that subtree and Be=V∖AeB_e=V\setminus A_eBe​=V∖Ae​. For disjoint A,BA,BA,B write

νG(A,B)=∣{N(S)∩B:S⊆A}∣,\nu_G(A,B)=\bigl|\{N(S)\cap B: S\subseteq A\}\bigr|,νG​(A,B)=​{N(S)∩B:S⊆A}​,

the number of different neighbourhoods in BBB of subsets of AAA, the empty subset included. The boolean-width of the cut is log⁡2νG(A,B)\log_2\nu_G(A,B)log2​νG​(A,B), the boolean-width of TTT is its maximum over the edges of TTT, and boolw⁡(G)\operatorname{boolw}(G)boolw(G) is the minimum over all decomposition trees. In Lean, nbhdCount G A B is νG(A,B)\nu_G(A,B)νG​(A,B), and BoolWidthLE G N states that some decomposition tree has νG(Ae,Be)≤N\nu_G(A_e,B_e)\le NνG​(Ae​,Be​)≤N on every edge, so boolw⁡(G)≤k\operatorname{boolw}(G)\le kboolw(G)≤k is BoolWidthLE G (2^k).

Formalization targets

Goal: Theorem 4.2 (p. 3:14)

Every graph with boolean-width kkk has twin-width at most 2k+1−12^{k+1}-12k+1−1. With N=2kN=2^{k}N=2k, the integer neighbourhood count,

BoolWidthLE⁡(G,N) ⟹ tww⁡(G)≤2N−1.\operatorname{BoolWidthLE}(G,N)\ \Longrightarrow\ \operatorname{tww}(G)\le 2N-1 .BoolWidthLE(G,N) ⟹ tww(G)≤2N−1.

Milestones (proof of Theorem 4.2, p. 3:14)

  1. A graph with at most NNN vertices has tww⁡(G)≤N\operatorname{tww}(G)\le Ntww(G)≤N.
  2. A rooted binary tree with more than 2N2N2N leaves (N≥1N\ge1N≥1) has a rooted subtree below some edge with between N+1N+1N+1 and 2N2N2N leaves.
  3. If νG(A,B)≤N\nu_G(A,B)\le NνG​(A,B)≤N and ∣A∣≥N+1|A|\ge N+1∣A∣≥N+1, two distinct vertices of AAA have the same neighbourhood in BBB.
  4. If (A,B)(A,B)(A,B) partitions VVV, ∣A∣≤2N|A|\le 2N∣A∣≤2N, and u≠v∈Au\ne v\in Au=v∈A have the same neighbourhood in BBB, then contracting uuu and vvv yields a (2N−1)(2N-1)(2N−1)-partition.

Significance

The theorem places the classes of bounded boolean-width, and therefore of bounded clique-width and rank-width, inside the classes of bounded twin-width, with a single-exponential bound. Combined with the paper's model-checking algorithm, it recovers tractability of FO model checking on these classes once a contraction sequence is computed, and it situates twin-width as a common generalization of the dense width measures and of sparse classes such as KtK_tKt​-minor-free graphs.

No machine-checked version of twin-width or boolean-width is known to exist; neither notion is in Mathlib. The mission produces Lean definitions of twin-width in partition form, of decomposition trees and of the neighbourhood count behind boolean-width, together with the four combinatorial steps the paper's proof states explicitly. The definitions are shared, in identical form, with the other missions of this series on the same paper.

Difficulty

The first three milestones are elementary: a counting bound on contraction sequences, a walk down a binary tree, and a pigeonhole argument. The fourth is a direct count of non-homogeneous parts.

The difficulty is the iteration. After the first contraction the leaves of the updated tree are contracted vertices, so "the same neighbourhood in BeB_eBe​" must be read as homogeneity to all of BeB_eBe​ for a set of vertices, and the boolean-width bound of the cuts must be re-established for sets rather than single vertices. The paper asserts the invariant that the contractions never create a red component of more than 2k+12^{k+1}2k+1 vertices without proving it. A complete proof of the goal therefore has to supply an invariant, carried through all ∣V∣−1|V|-1∣V∣−1 contractions, that keeps every part's red degree below 2N−12N-12N−1. The naive repetition of the first step does not by itself control red edges between previously contracted parts.

Formalization scope

Twin-width is the predicate TwinWidthLE G d, never a numerical infimum, so a junk value of an empty or unbounded infimum cannot make the goal trivial. A contraction sequence must merge exactly two parts at each step and start from singletons; it cannot jump to one part. Homogeneity counts all pairs between two parts, in both of its alternatives. Boolean-width is bounded on every edge of the decomposition tree, not only at the root, and the count runs over neighbourhoods of all subsets of AeA_eAe​, not only of single vertices. The bound 2N−12N-12N−1 depends only on NNN, not on the graph.

Boolean-width is kept as the integer count N=2boolw⁡(G)N=2^{\operatorname{boolw}(G)}N=2boolw(G); since boolw⁡(G)=k\operatorname{boolw}(G)=kboolw(G)=k means that the least admissible count is 2k2^k2k, the Lean goal for this NNN is exactly the printed theorem. Subtractions 2N−12N-12N−1 are in N\mathbb NN and exact where used. Graphs live on a Fintype vertex type with decidable equality and decidable adjacency. A graph on the empty vertex set has no decomposition tree; the goal is silent about it, and it has twin-width 000. No hypothesis is added to any statement relative to the page except N≥1N\ge 1N≥1 in milestone 2, which the page has implicitly (2k≥12^k\ge12k≥1) and without which the conclusion is impossible.

The definitions needed are the setting module TwinWidthI.BoolWidth.Setting: merge steps, homogeneity, ddd-partitions, twin-width, decomposition trees (DTree), the count νG\nu_GνG​ and BoolWidthLE. Proofs of the milestones, a proof of the goal, and lemmas towards the iteration invariant are welcome.

Selected references

  • É. Bonnet, E. J. Kim, S. Thomassé and R. Watrigant, Twin-width I: Tractable FO Model Checking, J. ACM 69(1), Article 3, 2021. https://doi.org/10.1145/3486655
  • B.-M. Bui-Xuan, J. A. Telle and M. Vatshelle, Boolean-width of graphs, Theoretical Computer Science 412(39), 5187–5204, 2011. https://doi.org/10.1016/j.tcs.2011.05.022
  • M. Vatshelle, New Width Parameters of Graphs, PhD thesis, University of Bergen, 2012 (reference [39] of Bonnet et al.; source of the chain boolw ≤ modw ≤ cw ≤ 2^{rw+1} − 1).
6 thms2 active usersReviewed
🏆Completed
Theoretical Computer Science·Captain: mikedeng1

A c^k n 5-Approximation Algorithm for Treewidth 3: A Rooted Tree with a Measure μ ≥ 1, Superadditive over Children and Shrinking by C < 1 Along Each Edge, Has at Most (1+1/(1−C))μ(r)−1 NodesResearch Paper

Motivation

Treewidth measures how closely a graph resembles a tree. Bodlaender, Drange, Dregi, Fomin, Lokshtanov and Pilipczuk (SIAM J. Comput. 45(2), 2016) study an algorithm for producing tree decompositions. Its headline result is algorithmic; this mission formalizes one combinatorial lemma used in its analysis.

In §4.3.2, p. 349, the authors isolate a purely combinatorial fact, Lemma 4.3, which bounds the number of nodes of a rooted tree in terms of a measure placed on its nodes. They use it for the partial tree decomposition built by FindPartialTD, with a measure of the form μ(i)=wi/log⁡n\mu(i) = w_i/\log nμ(i)=wi​/logn. This mission formalizes Lemma 4.3 and the steps of its proof. The lemma is self-contained and does not mention graphs or treewidth.

Setting

A rooted tree TTT consists of a finite vertex set V(T)V(T)V(T), a root r∈V(T)r \in V(T)r∈V(T), and a parent map ppp defined on V(T)∖{r}V(T) \setminus \{r\}V(T)∖{r} such that every vertex reaches rrr by iterating ppp. If p(c)=vp(c) = vp(c)=v, then ccc is a child of vvv and vvv is the parent of ccc. A vertex without children is a leaf. The descendants of vvv are the vertices uuu with pi(u)=vp^i(u) = vpi(u)=v for some i≥0i \ge 0i≥0 (including vvv itself), and the subtree TvT_vTv​ rooted at vvv is the tree they span; ∣V(Tv)∣|V(T_v)|∣V(Tv​)∣ is its number of vertices, and Tr=TT_r = TTr​=T.

A measure is any function μ:V(T)→R\mu : V(T) \to \mathbb Rμ:V(T)→R. Lemma 4.3 considers measures with three properties, for a constant CCC:

  1. μ(v)≥1\mu(v) \ge 1μ(v)≥1 for every v∈V(T)v \in V(T)v∈V(T);
  2. for every vertex vvv with children v1,…,vpv_1,\dots,v_pv1​,…,vp​ (where p≥0p \ge 0p≥0), ∑i=1pμ(vi)≤μ(v)\sum_{i=1}^{p} \mu(v_i) \le \mu(v)∑i=1p​μ(vi​)≤μ(v);
  3. 0<C<10 < C < 10<C<1, and μ(v′)≤C μ(v)\mu(v') \le C\,\mu(v)μ(v′)≤Cμ(v) whenever vvv is the parent of v′v'v′.

Throughout, K=1+11−CK = 1 + \frac{1}{1-C}K=1+1−C1​.

Formalization targets

Goal: Lemma 4.3 (p. 349)

Under properties (i)–(iii),

∣V(T)∣  ≤  (1+11−C)μ(r)−1.|V(T)| \;\le\; \Bigl(1 + \frac{1}{1-C}\Bigr)\mu(r) - 1 .∣V(T)∣≤(1+1−C1​)μ(r)−1.

Milestones (the proof on pp. 349–350)

Each step is stated for an arbitrary vertex vvv of TTT, with the subtree TvT_vTv​ in the role of the paper's tree.

  • Base case (p. 349). If vvv is a leaf, then ∣V(Tv)∣=1≤Kμ(v)−1|V(T_v)| = 1 \le K\mu(v) - 1∣V(Tv​)∣=1≤Kμ(v)−1.
  • Summed bound (p. 350). If vvv has children v1,…,vpv_1,\dots,v_pv1​,…,vp​ and ∣V(Tvi)∣≤Kμ(vi)−1|V(T_{v_i})| \le K\mu(v_i) - 1∣V(Tvi​​)∣≤Kμ(vi​)−1 for each iii, then
∣V(Tv)∣≤1−p+K∑i=1pμ(vi).|V(T_v)| \le 1 - p + K\sum_{i=1}^{p}\mu(v_i).∣V(Tv​)∣≤1−p+Ki=1∑p​μ(vi​).
  • Case p≥2p \ge 2p≥2 (p. 350). With the same hypothesis on the children and at least two children, ∣V(Tv)∣≤Kμ(v)−1|V(T_v)| \le K\mu(v) - 1∣V(Tv​)∣≤Kμ(v)−1.
  • Case p=1p = 1p=1 (p. 350). With the same hypothesis and exactly one child, ∣V(Tv)∣≤Kμ(v)−1|V(T_v)| \le K\mu(v) - 1∣V(Tv​)∣≤Kμ(v)−1.
  • Subtree form (p. 350). Under (i)–(iii), ∣V(Tv)∣≤Kμ(v)−1|V(T_v)| \le K\mu(v) - 1∣V(Tv​)∣≤Kμ(v)−1 for every vertex vvv; this is the statement the induction proves, and at v=rv = rv=r it is the goal.

Significance

The result. Lemma 4.3 converts two local conditions, superadditivity of the measure over the children of each node and geometric decay by a factor CCC along each parent–child edge, into a global linear bound on the size of the tree. Superadditivity alone does not bound the size: a long path with constant measure satisfies (i) and (ii). Decay alone does not either: a star with many leaves satisfies (iii). The counting principle can also be used when a recursive construction splits a resource among child nodes while reducing that resource along every edge.

Formalizing it. The lemma is proved in the paper. The mission produces formal statements of the lemma and the main bounds in its proof, over a published, reusable encoding of finite rooted trees by parent maps. A complete development would also establish structural facts about descendants and children that can be reused for other results about finite rooted trees.

Difficulty

The summed bound for the children's subtrees contains the term 1−p1-p1−p. When p=1p=1p=1, superadditivity alone does not give the target's final −1-1−1: a path with constant measure is a counterexample if geometric decay is omitted. Formalization also has to account for the fact that the reusable tree representation is a parent map on a finite type, rather than an inductively constructed tree.

Formalization scope

The rooted tree is the published definition HarelTarjan.Compressed.RootedTree: a finite vertex type V with a root and a total parent map in which every vertex reaches the root, with the convention p(r)=rp(r) = rp(r)=r. ∣V(T)∣|V(T)|∣V(T)∣ is Fintype.card V, and ∣V(Tv)∣|V(T_v)|∣V(Tv​)∣ is the published subtree size size T v (the number of descendants of vvv, including vvv). The local definition file adds IsChild T v c (c≠rc \ne rc=r and p(c)=vp(c) = vp(c)=v) and children T v; the condition c≠rc \ne rc=r removes the pseudo-edge r→rr \to rr→r, so the root is never its own child.

Conventions: μ\muμ is real valued, as on the page; property (ii) is a sum over a possibly empty set of children; the constant CCC of property (iii) is a parameter with the two hypotheses 0<C0 < C0<C and C<1C < 1C<1, because the conclusion is stated with that same CCC. The fraction 11−C\frac{1}{1-C}1−C1​ is real division, and the hypothesis C<1C < 1C<1 keeps it away from Lean's convention 1/0=01/0 = 01/0=0. The bound keeps the page's "−1-1−1".

A trivializing formalization is ruled out explicitly: the parent–child relation is directed by the root, so property (iii) constrains each edge in one direction only. A symmetric reading ("μ(c)≤Cμ(v)\mu(c) \le C\mu(v)μ(c)≤Cμ(v) for all adjacent v,cv, cv,c") would be unsatisfiable for C<1C < 1C<1 and make every statement vacuous; the hypotheses here are satisfied, for example, by the two-vertex tree with μ=(2,1)\mu = (2, 1)μ=(2,1) and C=1/2C = 1/2C=1/2.

A complete development needs the decomposition of size T v as 1+∑c∈ch(v)size T c1 + \sum_{c \in \mathrm{ch}(v)} \mathrm{size}\,T\,c1+∑c∈ch(v)​sizeTc and an induction principle for parent-map trees. Both are reusable for statements about rooted trees given by parent maps, and contributions of them as separate lemmas are welcome. The paper's subsequent application is outside this mission's scope.

Selected references

  • H. L. Bodlaender, P. G. Drange, M. S. Dregi, F. V. Fomin, D. Lokshtanov, M. Pilipczuk, A cknc^k nckn 5-approximation algorithm for treewidth, SIAM Journal on Computing 45(2):317–378, 2016. https://doi.org/10.1137/130947374 (Lemma 4.3 and its proof: pp. 349–350.)
  • D. Harel, R. E. Tarjan, Fast algorithms for finding nearest common ancestors, SIAM Journal on Computing 13(2):338–355, 1984. https://doi.org/10.1137/0213024 (source of the rooted-tree encoding reused here.)
  • N. Robertson, P. D. Seymour, Graph minors. II. Algorithmic aspects of tree-width, Journal of Algorithms 7(3):309–322, 1986. https://doi.org/10.1016/0196-6774(86)90023-4
8 thms2 active usersReviewed
🏆Completed
Mathematical Physics·Captain: Lucas

't Hooft 1993: Dimensional Reduction in Quantum GravityResearch Paper

Motivation

In the 1993 essay Dimensional Reduction in Quantum Gravity (arXiv:gr-qc/9310026), G. 't Hooft argued that, once gravitational collapse is taken into account, the number of quantum states available to a region of space grows with the area of its boundary rather than with its volume. The essay is the origin of what is now called the holographic principle (developed further by Susskind, arXiv:hep-th/9409089). Besides the physical counting argument, the essay contains a small, fully precise mathematical model: a cellular automaton on the cubic lattice Z3\mathbb Z^3Z3 whose data on a one-dimensional line determine the data everywhere. This mission formalizes the quantitative estimates and the automaton statements of the essay.

Setting

Entropy estimates (eqs. (4)–(11)). In natural units, a region bounded by a sphere of radius RRR has volume V=43πR3V=\tfrac43\pi R^3V=34​πR3 and area A=4πR2A=4\pi R^2A=4πR2. A thermal gas of ZZZ particle species at temperature TTT has energy E=C1ZVT4E=C_1 Z V T^4E=C1​ZVT4 and entropy S=C2ZVT3S=C_2 Z V T^3S=C2​ZVT3 with positive constants C1,C2C_1,C_2C1​,C2​. It stays outside its own Schwarzschild radius if 2E<R2E<R2E<R. A black hole of mass MMM has entropy 4πM24\pi M^24πM2 (eq. (1), additive constant dropped).

Plaquette automaton (eqs. (12)–(19)). Data f:Z3→Z/pf:\mathbb Z^3\to\mathbb Z/pf:Z3→Z/p live on lattice sites. An elementary plaquette has lowest corner xxx and is spanned by two of the unit vectors e1,e2,e3e^1,e^2,e^3e1,e2,e3; its corners in cyclic order are x,  x+u,  x+u+v,  x+vx,\;x+u,\;x+u+v,\;x+vx,x+u,x+u+v,x+v. On every plaquette a relation g(f1,f2,f3,f4)=0g(f_1,f_2,f_3,f_4)=0g(f1​,f2​,f3​,f4​)=0 is imposed such that any three entries determine the fourth uniquely. The relations may differ from plaquette to plaquette. On the unit cube with corners A=0A=0A=0, B=e1B=e^1B=e1, D=e2D=e^2D=e2, E=e3E=e^3E=e3, C=e1+e2C=e^1+e^2C=e1+e2, F=e1+e3F=e^1+e^3F=e1+e3, H=e2+e3H=e^2+e^3H=e2+e3, G=e1+e2+e3G=e^1+e^2+e^3G=e1+e2+e3, the six face relations are (12a–f). The staircase (eq. (14)) is the sequence

x(3n+1)=x(3n)+e1,x(3n+2)=x(3n+1)−e2,x(3n+3)=x(3n+2)+e3,n∈Z.x(3n+1)=x(3n)+e^1,\qquad x(3n+2)=x(3n+1)-e^2,\qquad x(3n+3)=x(3n+2)+e^3,\qquad n\in\mathbb Z .x(3n+1)=x(3n)+e1,x(3n+2)=x(3n+1)−e2,x(3n+3)=x(3n+2)+e3,n∈Z.

A family of face relations is consistent (eq. (16)) if every choice of f(A),f(B),f(D),f(E)f(A),f(B),f(D),f(E)f(A),f(B),f(D),f(E) extends to data on the cube satisfying all six relations; equivalently, the three values of f(G)f(G)f(G) produced by (12b), (12d), (12f) agree. Linear relations (eq. (17)) have the form ∑jajfj+b≡0(modp)\sum_j a_j f_j+b \equiv 0 \pmod p∑j​aj​fj​+b≡0(modp), with every aja_jaj​ invertible mod ppp.

Formalization targets

Goal: the staircase determines everything

For any family of plaquette relations with the three-determine-the-fourth property, two solutions on Z3\mathbb Z^3Z3 that agree on the staircase agree everywhere:

(∀n∈Z: f(x(n))=f′(x(n))) ⟹ f=f′.\Big(\forall n\in\mathbb Z:\ f(x(n))=f'(x(n))\Big)\ \Longrightarrow\ f=f' .(∀n∈Z: f(x(n))=f′(x(n))) ⟹ f=f′.

Milestones

  1. Eqs. (4)–(8): T<C3Z−1/4V−1/6T<C_3Z^{-1/4}V^{-1/6}T<C3​Z−1/4V−1/6 and S<C4Z1/4V1/2=C5Z1/4A3/4S<C_4Z^{1/4}V^{1/2}=C_5Z^{1/4}A^{3/4}S<C4​Z1/4V1/2=C5​Z1/4A3/4 for the thermal gas.
  2. Eqs. (9)–(11): black holes that fit inside the sphere have total entropy <A/4<A/4<A/4, and A/4A/4A/4 is the supremum.
  3. Discussion of Fig. 1: on one cube, the data at D,H,E,FD,H,E,FD,H,E,F determine all eight corners.
  4. Eqs. (17)–(19): consistent linear relations with invertible coefficients exist for every modulus p≥2p\ge 2p≥2.
  5. Eqs. (14), (17): for the linear relation f1−f2+f3−f4≡0f_1-f_2+f_3-f_4\equiv0f1​−f2​+f3​−f4​≡0, any data on the staircase extend uniquely to a global solution. The staircase data are then exactly the free degrees of freedom.

Significance

The goal is the essay's concrete mathematical example of dimensional reduction: in a 2+12+12+1-dimensional lattice model, a one-dimensional set of data carries all the information. Milestone 5 shows that the reduction is sharp in the linear case: no data beyond the staircase are needed, and none of the staircase data are constrained. Milestones 1–2 are the scaling estimates behind the area law Smax⁡=A/4S_{\max}=A/4Smax​=A/4. The physical argument around them (black-hole thermodynamics, the Schwarzschild criterion) is taken as modelling input, not formalized. The results are stated in the essay but, as far as is known, have not been machine-checked.

Difficulty

The local step (one cube, Milestone 3) is elementary. The goal needs a global propagation argument. The staircase is a thin zig-zag line, and each application of a plaquette relation fixes only one new site. So the proof has to show that repeated local determination starting from the line eventually reaches every site of Z3\mathbb Z^3Z3, in both directions along the line and in both transverse directions. Layer-by-layer propagation in t=x1+x2+x3t=x_1+x_2+x_3t=x1​+x2​+x3​ does not apply directly, because the staircase is not a full layer.

Formalization scope

Sites are ℤ × ℤ × ℤ. Data take values in ZMod p for an arbitrary natural number ppp; the uniqueness statements hold for every ppp. The three-determine-the-fourth property is stated with unique existence (∃!\exists!∃!) for each slot, which matches "uniquely determined" in the essay. Relations may depend on the plaquette, so no translation invariance is assumed. Consistency (16) is encoded as extendability of the four free values on the unit cube. In Milestones 1–2 the region is a round sphere of radius RRR, so VVV and AAA are expressions in RRR, and the constants are existentially quantified before all physical variables. Contributions welcome: proofs of each milestone, and further faithful statements from the triangular-lattice model (eqs. (20a–f)).

Selected references

  • G. 't Hooft, Dimensional Reduction in Quantum Gravity, essay in honour of A. Salam, 1993. https://arxiv.org/abs/gr-qc/9310026
  • L. Susskind, The World as a Hologram, J. Math. Phys. 36 (1995) 6377. https://arxiv.org/abs/hep-th/9409089
7 thms2 active usersReviewed
🏆Completed
Linear OptimizationOptimal TransportOptimization·Captain: mikedeng1

Computational Optimal Transport I: For Uniform Marginals 1/n Some Permutation Matrix Solves the Kantorovich Problem, so the Relaxation of Optimal Assignment Is TightTextbook

Motivation

An assignment problem pairs each of nnn sources with exactly one of nnn destinations while minimizing a specified cost. A permutation records those pairings. The number of permutations grows as n!n!n!, so a direct search quickly becomes impractical. In discrete optimal transport, the same data can be placed in a linear optimization problem over nonnegative matrices: a matrix entry records how much mass moves from one source to one destination. That formulation permits a source's mass to be split, which gives it many more feasible solutions than the assignment problem. The question for this mission is whether the added flexibility can improve the optimum when every source and destination carries the same mass. The setting and answer are given in Peyré and Cuturi, Computational Optimal Transport, §2.2–2.3.

This capstone is the first in a series based on the textbook. It links a finite combinatorial optimization problem to the matrix model used throughout later chapters. The general transport model is needed again when marginals are unequal, when cost matrices come from distances, and when entropy is added to the objective. The uniform matching case isolates a useful boundary: relaxing an assignment to allow fractional flows expands the feasible set, yet it does not change the best objective value.

Setting

Fix an integer n>0n>0n>0 and a real n×nn\times nn×n cost matrix CCC. The entry CijC_{ij}Cij​ is the cost of sending a unit of mass from source iii to destination jjj. No sign or metric assumption is imposed on CCC. A permutation σ\sigmaσ assigns source iii to destination σ(i)\sigma(i)σ(i), with every destination used once. The assignment objective of equation (2.2) is

AC(σ)=1n∑i=1nCi,σ(i).A_C(\sigma)=\frac1n\sum_{i=1}^{n}C_{i,\sigma(i)}.AC​(σ)=n1​i=1∑n​Ci,σ(i)​.

The factor 1/n1/n1/n matters: it treats each source as having mass 1/n1/n1/n, so the assignment and transport objectives use the same total mass.

A histogram is a vector of masses. The uniform histogram uuu has ui=1/nu_i=1/nui​=1/n at each of the nnn indices. A coupling of histograms aaa and bbb is a nonnegative matrix PPP with row sums aaa and column sums bbb. The set of such matrices is

U(a,b)={P∈R+n×m:∑jPij=ai for each i,∑iPij=bj for each j}.U(a,b)=\left\{P\in\mathbb R_+^{n\times m}:\sum_jP_{ij}=a_i\ \text{for each }i,\quad\sum_iP_{ij}=b_j\ \text{for each }j\right\}.U(a,b)={P∈R+n×m​:j∑​Pij​=ai​ for each i,i∑​Pij​=bj​ for each j}.

Its linear cost is ⟨C,P⟩=∑i,jCijPij\langle C,P\rangle=\sum_{i,j}C_{ij}P_{ij}⟨C,P⟩=∑i,j​Cij​Pij​, and LC(a,b)L_C(a,b)LC​(a,b) denotes the minimum cost over P∈U(a,b)P\in U(a,b)P∈U(a,b), as in equations (2.10)–(2.11). For a permutation σ\sigmaσ, the scaled permutation matrix PσP_\sigmaPσ​ has entry 1/n1/n1/n in column σ(i)\sigma(i)σ(i) of row iii and zero elsewhere. Consequently PσP_\sigmaPσ​ is a coupling of uuu with itself, and its transport cost equals AC(σ)A_C(\sigma)AC​(σ). A general member of U(u,u)U(u,u)U(u,u) may distribute a row's mass across several columns.

Formalization targets

Relaxation bound

Because every scaled permutation matrix is feasible for the transport problem, the unrestricted minimum cannot exceed the assignment minimum:

LC(u,u)≤min⁡σ∈Perm⁡(n)AC(σ).L_C(u,u)\le \min_{\sigma\in\operatorname{Perm}(n)}A_C(\sigma).LC​(u,u)≤σ∈Perm(n)min​AC​(σ).

This is the weaker claim in the milestone list. The symmetry of couplings under transposition and the identity ⟨C,Pσ⟩=AC(σ)\langle C,P_\sigma\rangle=A_C(\sigma)⟨C,Pσ​⟩=AC​(σ) supply reusable statements about the model. The list also states the book's scaled form of Birkhoff's extreme point characterization.

Proposition 2.1: tightness for uniform marginals

The goal is the stronger statement: there is an assignment that also minimizes over the full coupling polytope,

∃σ⋆∈Perm⁡(n):Pσ⋆∈U(u,u),⟨C,Pσ⋆⟩=LC(u,u),AC(σ⋆)=min⁡τ∈Perm⁡(n)AC(τ).\exists\sigma^\star\in\operatorname{Perm}(n):\quad P_{\sigma^\star}\in U(u,u),\quad \langle C,P_{\sigma^\star}\rangle=L_C(u,u),\quad A_C(\sigma^\star)=\min_{\tau\in\operatorname{Perm}(n)}A_C(\tau).∃σ⋆∈Perm(n):Pσ⋆​∈U(u,u),⟨C,Pσ⋆​⟩=LC​(u,u),AC​(σ⋆)=τ∈Perm(n)min​AC​(τ).

This is Proposition 2.1, pp. 372–373. It quantifies over every real cost matrix of the given size. The equality of optimal values follows from the stated common optimizer; the proposition does not claim that every optimal transport plan is a permutation matrix.

Significance

The result gives an exact linear relaxation for uniform assignment. One can optimize over a convex set of matrices without paying an optimal value penalty for allowing fractional mass. The conclusion has a precise limit: it guarantees at least one integral, scaled permutation optimizer, while other optimal couplings can coexist when the cost matrix has ties. When source and destination weights are unequal, the assignment formulation may not even be feasible; the broader coupling model then carries information that a permutation cannot represent.

For formalization, the result fixes a finite transport interface that later missions can compare with their own conventions: nonnegative matrix entries, prescribed row and column sums, and a cost that is linear in the matrix. Mathlib already contains Birkhoff's theorem for doubly stochastic matrices with row sums equal to 111. This mission's formal target uses the probability normalization 1/n1/n1/n, so the scaling is part of the mathematical statement. The textbook result is known; the goal here is a machine checked Lean proof of this precise version and its cited supporting claims. The listed Lean declarations are currently open statements with sorry placeholders.

Difficulty

The evident inequality points in the easy direction: enlarging a feasible set can only reduce a minimum. It gives no reason why a minimizer over the larger set should happen to be a permutation matrix. A generic feasible coupling can split mass between several destinations, and even a unique assignment need not be the only point under consideration in the relaxed problem. The central issue is the geometry of the uniform coupling polytope and its relation to permutation matrices. Its normalization differs from the usual doubly stochastic convention, so a proof using a standard library theorem must retain the factor 1/n1/n1/n at every point where a matrix or objective is converted.

Formalization scope

The Lean index types are Fin n and Fin m; they have nnn and mmm elements but are numbered from zero. Histograms are real valued functions on those types, and couplings are real matrices constrained to be nonnegative with exact finite row and column sums. The pairing is a finite double sum. The goal assumes n>0n>0n>0 so that the displayed 1/n1/n1/n is meaningful and the assignment problem has an index to assign. There is no additional positivity requirement on CCC. The minimum values are represented by real infima only in statements where the uniform coupling polytope and permutation set are nonempty and their finite dimensional objectives are bounded below.

An optimal coupling in the goal is compared with all matrices in U(u,u)U(u,u)U(u,u), including fractional ones. Restricting that comparison to permutation matrices would erase the proposition's content. The definitions of coupling feasibility, scaled permutation matrices, and the assignment cost are reusable beyond this chapter. Contributions that establish the scaling relation to Mathlib's doubly stochastic matrices, the extreme point characterization in this normalization, or the goal from these components fit the mission. The optional strict inclusion claim on p. 372 is excluded from the milestones because its printed formulation fails at n=1n=1n=1; it would require a separate n≥2n\ge2n≥2 statement. The page also prints row and column sums of PσP_\sigmaPσ​ as 1n\mathbf1_n1n​ despite defining entries 1/n1/n1/n; the Lean statement uses 1n/n\mathbf1_n/n1n​/n.

Selected references

  • G. Peyré and M. Cuturi, Computational Optimal Transport, Foundations and Trends in Machine Learning 11(5–6):355–607, 2019, DOI: 10.1561/2200000073.
  • D. Bertsimas and J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997, Theorem 2.7, publisher record. Cited in the proof of Proposition 2.1.
7 thms2 active usersReviewed
🏆Completed
Operations ResearchOptimal TransportOptimization·Captain: mikedeng1

Computational Optimal Transport VI: On Termination the Auction Algorithm Returns an Assignment Whose Cost Is Within nε of the OptimumTextbook

Motivation

The optimal assignment problem asks for a one-to-one matching of nnn points to nnn objects of least total cost. It is the discrete optimal transport problem between two uniform measures with the same number of atoms, and by the Birkhoff–von Neumann theorem it coincides with the Kantorovich linear program on that instance (Peyré and Cuturi, Computational Optimal Transport, Proposition 2.1). Assignment solvers are therefore the inner routine of exact discrete optimal transport, of matching-based estimators in statistics and of many combinatorial optimization pipelines.

The auction algorithm was introduced by Bertsekas in 1981 (Bertsekas 1981) and refined with ε-scaling by Bertsekas and Eckstein in 1988 (Bertsekas & Eckstein 1988). It is a dual coordinate method with an economic reading: unassigned points bid for objects, prices of contested objects move, and an object changes hands when outbid. Its practical appeal is that each iteration is local and cheap, and that it parallelizes well. Peyré and Cuturi present it in §3.7 of their monograph (pp. 417–422) as an alternative use of the machinery of C-transforms, and as a precursor to the Sinkhorn algorithm of Chapter 4.

Setting

Fix n≥2n\ge 2n≥2, write [ ⁣[n] ⁣]={1,…,n}[\![n]\!]=\{1,\dots,n\}[[n]]={1,…,n}, and let C∈Rn×n\mathbf C\in\mathbb R^{n\times n}C∈Rn×n be a cost matrix: Ci,j\mathbf C_{i,j}Ci,j​ is the cost of assigning point iii to object jjj. A permutation σ\sigmaσ of [ ⁣[n] ⁣][\![n]\!][[n]] is an assignment, of cost ∑iCi,σi\sum_i \mathbf C_{i,\sigma_i}∑i​Ci,σi​​.

A dual vector (price vector) g∈Rn\mathbf g\in\mathbb R^ng∈Rn is indexed by the objects. Its Cˉ\bar{\mathbf C}Cˉ-transform is (gCˉ)i=min⁡jCi,j−gj(\mathbf g^{\bar{\mathbf C}})_i=\min_j \mathbf C_{i,j}-\mathbf g_j(gCˉ)i​=minj​Ci,j​−gj​, the best adjusted cost available to point iii; a pair (f,g)(\mathbf f,\mathbf g)(f,g) is dual feasible if fi+gj≤Ci,j\mathbf f_i+\mathbf g_j\le \mathbf C_{i,j}fi​+gj​≤Ci,j​ for all i,ji,ji,j.

The algorithm maintains a triplet (S,ξ,g)(S,\xi,\mathbf g)(S,ξ,g): a set S⊆[ ⁣[n] ⁣]S\subseteq[\![n]\!]S⊆[[n]] of assigned points, a partial assignment vector ξ\xiξ (an injective map from SSS to [ ⁣[n] ⁣][\![n]\!][[n]]) and a dual vector g\mathbf gg. The state satisfies ε-complementary slackness (ε-CS) if

∀i∈S,Ci,ξi−gξi≤ε+min⁡j(Ci,j−gj).\forall i\in S,\qquad \mathbf C_{i,\xi_i}-\mathbf g_{\xi_i}\le \varepsilon+\min_j\big(\mathbf C_{i,j}-\mathbf g_j\big).∀i∈S,Ci,ξi​​−gξi​​≤ε+jmin​(Ci,j​−gj​).

One iteration picks a point i∉Si\notin Si∈/S, a lowest adjusted cost index ji1∈argmin⁡jCi,j−gjj^1_i\in\operatorname{argmin}_j \mathbf C_{i,j}-\mathbf g_jji1​∈argminj​Ci,j​−gj​ and a second lowest ji2∈argmin⁡j≠ji1Ci,j−gjj^2_i\in\operatorname{argmin}_{j\neq j^1_i}\mathbf C_{i,j}-\mathbf g_jji2​∈argminj=ji1​​Ci,j​−gj​, and performs

gji1←Ci,ji1−(Ci,ji2−gji2)−ε,(3.9)\mathbf g_{j^1_i}\leftarrow \mathbf C_{i,j^1_i}-\big(\mathbf C_{i,j^2_i}-\mathbf g_{j^2_i}\big)-\varepsilon, \tag{3.9}gji1​​←Ci,ji1​​−(Ci,ji2​​−gji2​​)−ε,(3.9)

removes from SSS the point i′i'i′ with ξi′=ji1\xi_{i'}=j^1_iξi′​=ji1​ (if there is one), sets ξi=ji1\xi_i=j^1_iξi​=ji1​ and adds iii to SSS. The algorithm starts from S=∅S=\emptysetS=∅, g=0n\mathbf g=0_ng=0n​, and terminates when S=[ ⁣[n] ⁣]S=[\![n]\!]S=[[n]].

Formalization targets

Goal: Proposition 3.9 (p. 422)

For every ε>0\varepsilon>0ε>0 and every run of the algorithm that terminates, the final ξ\xiξ is a permutation and

∑iCi,ξi  ≤  ∑iCi,σi+nεfor every permutation σ.\sum_i \mathbf C_{i,\xi_i}\;\le\;\sum_i \mathbf C_{i,\sigma_i}+n\varepsilon\qquad\text{for every permutation }\sigma.i∑​Ci,ξi​​≤i∑​Ci,σi​​+nεfor every permutation σ.

The goal fixes no particular tie-breaking rule and no order in which unassigned points bid: it holds for all of them.

Milestones

  1. (3.8), p. 419. If Ci,σi−gσi=min⁡jCi,j−gj\mathbf C_{i,\sigma_i}-\mathbf g_{\sigma_i}=\min_j \mathbf C_{i,j}-\mathbf g_jCi,σi​​−gσi​​=minj​Ci,j​−gj​ for every iii, then σ\sigmaσ is an optimal assignment and (gCˉ,g)(\mathbf g^{\bar{\mathbf C}},\mathbf g)(gCˉ,g) is an optimal dual pair.
  2. Properties (b)–(c), pp. 419–420. At each iteration the size of SSS does not decrease, some price decreases by at least ε\varepsilonε, and no price increases.
  3. Proposition 3.7, p. 420. Every state of every run satisfies ε-CS.

Companion: Proposition 3.8 (p. 421), corrected

For C≥0\mathbf C\ge 0C≥0, every run has at most n(⌊∥C∥∞/ε⌋+1)n\big(\lfloor\|\mathbf C\|_\infty/\varepsilon\rfloor+1\big)n(⌊∥C∥∞​/ε⌋+1) iterations. This is the termination statement; the goal does not depend on it.

Significance

Proposition 3.9 is the accuracy guarantee of the auction algorithm. With integer costs and ε<1/n\varepsilon<1/nε<1/n it yields an exactly optimal assignment, which is how the algorithm is used as an exact solver; combined with ε-scaling it gives the complexity bounds quoted in Remark 3.3. The argument is also the template for every ε-relaxed primal–dual method: an approximate optimality certificate maintained by local moves, turned into a global suboptimality bound by weak duality.

The results are classical and proved in the book and in Bertsekas's monographs; they are not open. What this mission adds is a machine-checked account of the algorithm with all of its nondeterminism (ties in the argmins, the order of bidders) quantified explicitly, together with the corrected iteration bound. To the best of the mission's prior-art search, no Lean formalization of the auction algorithm exists on the platform or in Mathlib, which has the assignment problem only implicitly (through permutations and doubly stochastic matrices).

Difficulty

The obvious argument for the goal sums the ε-CS inequality over iii and compares with an arbitrary permutation σ\sigmaσ. The sum telescopes only if the final ξ\xiξ is a bijection, so the proof must carry, through every iteration, the invariant that ξ\xiξ is injective on SSS, and this invariant interacts with the removal of the displaced point in step 2: the set update has to remove exactly the point holding ji1j^1_iji1​, which needs injectivity at the previous step.

Preserving ε-CS for the points that are not bidding relies on prices only ever decreasing, which in turn needs ε≥0\varepsilon\ge 0ε≥0 and the specific form of (3.9); preserving it for the bidder needs the second-best index ji2j^2_iji2​ to realize the minimum over j≠ji1j\neq j^1_ij=ji1​, including in the presence of ties. The printed termination bound is false (see below), so the companion requires reconstructing the counting argument: an object that is still unassigned has never been bid on and keeps price 000, which caps the number of bids on any other object.

Formalization scope

  • [ ⁣[n] ⁣][\![n]\!][[n]] is Fin n; C\mathbf CC is a Matrix (Fin n) (Fin n) ℝ; prices are Fin n → ℝ; min⁡j\min_jminj​ is the infimum over the finite nonempty index set.
  • A state is a structure with fields S : Finset (Fin n), ξ : Fin n → Fin n and g : Fin n → ℝ. Only the values of ξ on S are meaningful; injectivity on S is a property to be proved, not a field.
  • An iteration is a relation between consecutive states (AuctionStep), with the choice of bidder, of ji1j^1_iji1​ and of ji2j^2_iji2​ existential. A run of TTT iterations is a sequence of states starting from S=∅S=\emptysetS=∅, g=0\mathbf g=0g=0; it is terminated when S=[ ⁣[n] ⁣]S=[\![n]\!]S=[[n]] at step TTT. The results hold for every run, whatever the tie-breaking.
  • Costs are the unnormalized sums ∑iCi,σi\sum_i \mathbf C_{i,\sigma_i}∑i​Ci,σi​​, as in the book's proof of Proposition 3.9. Under the 1n\frac1nn1​ normalization of (2.2) the gap nεn\varepsilonnε becomes ε\varepsilonε.
  • Added hypotheses: n≥2n\ge2n≥2 in the goal (the second-best index requires it); ε>0\varepsilon>0ε>0 throughout; C≥0\mathbf C\ge0C≥0 in the corrected Proposition 3.8, which its proof uses.
  • Printed slips. Proposition 3.8 as printed (N=n∥C∥∞/εN=n\|\mathbf C\|_\infty/\varepsilonN=n∥C∥∞​/ε) fails for C=0\mathbf C=0C=0; the companion states the bound the proof gives. Property (b) "can only increase" is stated as non-decrease; property (c) refers to an object index jjj.
  • Trivialization ruled out. The run predicate forces the initial state, the exact update (3.9) and the set update of step 2 at every iteration, and the goal requires S=[ ⁣[n] ⁣]S=[\![n]\!]S=[[n]] at the end; a terminated run exists already for n=2n=2n=2, so the goal is not vacuous.

Contributions welcome: the injectivity invariant of ξ on S as a reusable lemma; the milestones in any order; a proof of termination (the companion) and of the existence of a terminated run for every n≥2n\ge2n≥2.

Selected references

  • G. Peyré and M. Cuturi, Computational Optimal Transport, Foundations and Trends in Machine Learning 11(5–6):355–607, 2019, §3.7. https://doi.org/10.1561/2200000073
  • D. P. Bertsekas, A new algorithm for the assignment problem, Mathematical Programming 21:152–171, 1981. https://doi.org/10.1007/BF01584237
  • D. P. Bertsekas and J. Eckstein, Dual coordinate step methods for linear network flow problems, Mathematical Programming 42:203–243, 1988. https://doi.org/10.1007/BF01589417
  • D. P. Bertsekas, Auction algorithms for network flow problems: A tutorial introduction, Computational Optimization and Applications 1:7–66, 1992. https://doi.org/10.1007/BF00247653
5 thms2 active usersReviewed
🏆Completed
AnalysisNumber Theory·Captain: Xiang Huang

Ramanujan's Notebooks (Berndt)Textbook

Motivation

The notebooks Ramanujan kept in India record identities, evaluations, transformations and general principles, usually presented without proofs. They preserve a working mathematician's collection rather than a textbook arranged around a sequence of prerequisite theorems. The Tata Institute of Fundamental Research published an unedited facsimile edition in 1957, making the manuscripts available for systematic study.

Bruce C. Berndt's Ramanujan's Notebooks, published by Springer in five parts in 1985, 1989, 1991, 1994 and 1998, supplies that study. The volumes examine the entries individually, proving them, correcting them where necessary, or explaining why they are false or lack a rigorous interpretation. Their subject matter ranges from magic squares and combinatorial identities to hypergeometric series, continued fractions, elliptic functions, modular equations, class invariants and asymptotic expansions.

This mission takes the results established in Berndt's treatment as formalization targets. The published arguments provide mathematical reference proofs. The remaining task is to express the results precisely and construct proofs checked by Lean.

Setting

An entry is a source claim identified by its chapter and local entry label in Berndt's series. The collection is organized around one Lean statement per entry that Berndt establishes. Where an entry contains separately identified parts, corollaries or examples, suffixes distinguish the corresponding statements while preserving their common source location. Intermediate steps of a printed proof do not automatically become additional targets.

The mission covers Chapters 1–39. Part I contains Chapters 1–9; Part II, Chapters 10–15; Part III, Chapters 16–21; Part IV, Chapters 22–31; and Part V, Chapters 32–39. The Part IV appendix on the first notebook and the Quarterly Reports treated in Part I also belong to the mission's scope, with their statements incorporated as they are added.

Declarations use the namespace RamanujanNotebooks and names of the form entry_<chapter>_<entry>, such as RamanujanNotebooks.entry_16_19. Shared definitions fix the meaning of recurring objects: q-shifted factorials, theta functions, hypergeometric series, continued-fraction convergents and the special functions used across chapters. Their domains, normalizations and indexing conventions are documented so that different entries refer to the same mathematical objects.

Formalization targets

The series has no single capstone theorem. Its goal item is therefore a representative entry: Chapter 16, Entry 19, Jacobi's triple product identity in Ramanujan's notation. This is in Part III, whose chapter develops q-series and theta functions.

For complex parameters a,ba,ba,b, Ramanujan's general theta function is

f(a,b)=∑n∈Zan(n+1)/2bn(n−1)/2.f(a,b)=\sum_{n\in\mathbb Z} a^{n(n+1)/2}b^{n(n-1)/2}.f(a,b)=n∈Z∑​an(n+1)/2bn(n−1)/2.

Both exponents are nonnegative integers. Under ∣ab∣<1|ab|<1∣ab∣<1, the series converges absolutely, and Entry 19 identifies it with an infinite product. Writing q=abq=abq=ab, the target is

f(a,b)=∏m=0∞(1+aqm)(1+bqm)(1−qm+1),∣ab∣<1.f(a,b)=\prod_{m=0}^{\infty} (1+a q^m)(1+b q^m)(1-q^{m+1}), \qquad |ab|<1.f(a,b)=m=0∏∞​(1+aqm)(1+bqm)(1−qm+1),∣ab∣<1.

Equivalently, with the infinite q-Pochhammer symbol

(z;q)∞=∏m=0∞(1−zqm),(z;q)_\infty=\prod_{m=0}^{\infty}(1-zq^m),(z;q)∞​=m=0∏∞​(1−zqm),

the identity reads

f(a,b)=(−a;ab)∞(−b;ab)∞(ab;ab)∞.f(a,b)=(-a;ab)_\infty(-b;ab)_\infty(ab;ab)_\infty.f(a,b)=(−a;ab)∞​(−b;ab)∞​(ab;ab)∞​.

The Lean statement uses ramanujanTheta and qPochInf, with the hypothesis ‖a * b‖ < 1. Proving this goal establishes the representative identity; completion of the collection is tracked through its member statements, one per entry.

Every entry is a separate statement of this mission, named RamanujanNotebooks.entry_<chapter>_<entry> (with suffixes for parts, corollaries and examples): 3,863 statements for Parts I–V, the Part IV appendix on the first notebook and the Quarterly Reports; the AMS Memoir 477 statements are being added. A chapter's statements are found by searching for its name prefix. The milestone list has one milestone per chapter, in source order, titled like “Part III · Ch. 16 — q-series and theta-functions”; each links one representative result and its description names the chapter's main results.

Statement conventions and source differences

The mathematical reference is what Berndt proves, with the hypotheses his argument requires. A notebook display alone is insufficient when its domain, convergence conditions or branch choices are unstated. Each target identifies its source and records the conditions under which the asserted equality, limit, transformation or asymptotic relation is established.

Corrected statements carry the explicit phrase “Differs from the printed source”. The accompanying note explains the difference and its origin: a correction supplied by Berndt, a restriction required by the proof, or a reading that resolves an ambiguity. A proposed repair supported only by numerical experiments requires further mathematical review before inclusion as a result established by the reference.

Entries that Berndt shows to be false are not stated as theorem targets. Neither are identities treated only formally, without a rigorous version. For example, Chapter 37's Entry 34 manipulates divergent series, while Entries 35–37 are shown false. Chapter 39 also contains formal claims and entries for which the book supplies no definite interpretation. Such omissions preserve the boundary between a proved result and a suggestive manuscript formula.

Numerical checks are recorded in theorem docstrings, including the tested parameters and the kind of comparison performed. They help detect indexing errors, sign errors and unsuitable domains. Agreement at sampled points is evidence about the transcription; it is not a proof of the universally quantified Lean statement.

Significance and status

The mission brings together source-linked statements of known results whose proofs otherwise remain dispersed across Berndt's commentary. Formal proofs can expose exactly which analytic hypotheses an identity needs and make the shared special-function definitions available for later developments. A proof of the triple product, for example, connects the series definition of the general theta function with its product representation, which recurs throughout the theta-function material.

The statements are proof targets. A declaration that type-checks has a meaningful Lean type; that check alone does not establish the proposition. The description makes no claim that the collection already has machine-checked proofs. Progress is measured by proofs of the individual targets with their stated hypotheses.

Difficulty

The entries vary considerably in their prerequisites. Finite algebraic and combinatorial identities can be approached with relatively little analytic infrastructure. Other chapters depend on convergence theory for continued fractions, transformations of theta and elliptic functions, modular forms, or class invariants.

Even a short equality can require substantial work before its expressions have the intended meaning. A divergent series cannot be interpreted as an ordinary sum, and a complex root or logarithm needs an appropriate branch convention. The central challenge is to preserve the object and domain of the reference result while supplying the formal infrastructure needed to prove it.

Formalization scope

Statements use real or complex variables according to the reference, with exceptional values, nonvanishing conditions and convergence ranges explicit. Infinite series are expressed with convergence assertions where necessary; continued fractions are represented through their convergents and limits. Integrals carry the hypotheses needed for their intended interpretation. Lean's total definitions of division, infinite sums and infinite products must not turn an undefined or divergent source expression into a trivial theorem.

Contributions should prove the registered statements using their shared definitions. Reusable lemmas about convergence, special functions and transformations are part of that work. Any suspected statement error should be reported with the declaration name, source location and a specific mathematical objection, so that the source relationship can be reviewed before a replacement is prepared.

Selected references

  • S. Ramanujan, Notebooks, facsimile edition, Tata Institute of Fundamental Research, Bombay, 1957.
  • B. C. Berndt, Ramanujan's Notebooks, Part I, Springer, 1985.
  • B. C. Berndt, Ramanujan's Notebooks, Part II, Springer, 1989.
  • B. C. Berndt, Ramanujan's Notebooks, Part III, Springer, 1991.
  • B. C. Berndt, Ramanujan's Notebooks, Part IV, Springer, 1994.
  • B. C. Berndt, Ramanujan's Notebooks, Part V, Springer, 1998.
45 thms2 active usersReviewed
Graph Theory·Captain: mikedeng1

Steinberg's Conjecture is false: There Exists a Planar Graph with No Cycles of Length Four or Five That Is Not 3-ColorableResearch Paper

Motivation

Deciding whether a planar graph is 3-colorable is NP-complete, so a large part of the theory of planar graph coloring looks for simple local conditions that guarantee 3-colorability. Grötzsch's theorem (1959) is the model result: every triangle-free planar graph is 3-colorable. Forbidding triangles is not the only possibility, and in 1976 Richard Steinberg asked whether forbidding cycles of two other lengths suffices.

Steinberg's Conjecture (1976). Every planar graph with no cycles of length four or five is 3-colorable.

The conjecture drove four decades of work on planar coloring. It was surveyed by Borodin as one of the central problems of the area (Borodin 2013, §7), and it was one of the six graph theory problems ranked with the highest importance in the Open Problem Garden.

Timeline:

  • 1976. Steinberg poses the conjecture (Steinberg 1993 records its history).
  • 1991. Erdős suggests the relaxation: find the smallest kkk such that every planar graph with no cycles of lengths 4,…,k4, \dots, k4,…,k is 3-colorable. Abbott and Zhou show k≤11k \le 11k≤11 (Ars Combin. 32, 1991).
  • 1995. Sanders and Zhao improve this to k≤9k \le 9k≤9 (Graphs Combin. 11, 1995).
  • 2005. Borodin, Glebov, Raspaud and Salavatipour prove k≤7k \le 7k≤7: planar graphs without cycles of lengths 4 to 7 are 3-colorable (JCTB 93).
  • 2007. Voigt shows that the list-coloring analogue fails: there is a planar graph without 4- and 5-cycles that is not 3-choosable (Discrete Math. 307, 2007).
  • 2016. Cohen-Addad, Hebdige, Král', Li and Salgado construct a counterexample, so the conjecture is false (arXiv:1604.05108; J. Combin. Theory Ser. B, 2017).

Setting

All graphs are finite and simple. A cycle of length kkk in a graph HHH is a sequence of k≥3k \ge 3k≥3 pairwise distinct vertices v0,…,vk−1v_0, \dots, v_{k-1}v0​,…,vk−1​ with vivi+1v_i v_{i+1}vi​vi+1​ an edge for each iii (indices mod kkk). HHH has no cycles of length four or five if no cycle of HHH has length 444 or 555; triangles and cycles of length at least six are allowed. A 3-coloring of HHH assigns one of three colors to each vertex so that adjacent vertices get different colors, and HHH is 3-colorable if it has one. The distance dH(u,v)d_H(u,v)dH​(u,v) is the number of edges of a shortest uuu–vvv path. HHH is planar if it can be drawn in the plane without crossing edges.

The paper builds its counterexample in three steps, from three concrete graphs given as drawings.

  1. G1G_1G1​ (Figure 1) has 15 vertices a,…,oa, \dots, oa,…,o and 23 edges. Its contact vertices are aaa, bbb, ccc.
  2. G2G_2G2​ (Figure 2) consists of three copies of G1G_1G1​ glued along contact vertices around a central triangle defdefdef. It has 42 vertices and 72 edges, and its contact vertices are aaa, bbb, ccc.
  3. GGG (Figure 3) consists of four copies of G2G_2G2​ glued at a central vertex aaa, together with the extra vertices bbb, eee, e′e'e′ and twelve extra edges. It has 166 vertices and 300 edges.

In the Lean development these are the definitions G1, G2 and G. The hypothesis "no cycles of length four or five" is the definition NoFourFiveCycle.

Formalization targets

Goal: Theorem 3 (p. 4)

∃ H finite, planar:H has no cycle of length 4 or 5  and  H is not 3-colorable.\exists\, H \text{ finite, planar}:\quad H \text{ has no cycle of length } 4 \text{ or } 5 \ \text{ and } \ H \text{ is not 3-colorable}.∃H finite, planar:H has no cycle of length 4 or 5  and  H is not 3-colorable.

This is the paper's main theorem and exactly the negation of Steinberg's Conjecture. It leaves the witness free, so any counterexample proves it.

Milestones

  1. Lemma 1 (p. 2): G1G_1G1​ has no 4- or 5-cycle; no 3-coloring gives a,b,ca, b, ca,b,c the same color; and d(a,b)=d(a,c)=3d(a,b) = d(a,c) = 3d(a,b)=d(a,c)=3, d(b,c)=4d(b,c) = 4d(b,c)=4.
  2. Lemma 2 (p. 3): G2G_2G2​ has no 4- or 5-cycle; no 3-coloring gives a,b,ca, b, ca,b,c the same color; and the contacts are pairwise at distance 444.
  3. GGG has no cycle of length four or five (proof of Theorem 3, p. 5).
  4. GGG has no 3-coloring (proof of Theorem 3, p. 5).
  5. GGG is planar (§2, p. 2, and Figure 3).
  6. G1G_1G1​ and G2G_2G2​ are planar (§2, p. 2, and Figures 1–2).

Milestones 3–5 together give the goal, with GGG as the witness.

Significance

The result. Theorem 3 settles a 40-year-old problem negatively. It shows that forbidding 4- and 5-cycles is not a local condition that forces 3-colorability, which redirects the Erdős relaxation: the threshold kkk for "no cycles of lengths 4,…,k4, \dots, k4,…,k" lies in {6,7}\{6, 7\}{6,7}, since k≤7k \le 7k≤7 is known and k=5k = 5k=5 is now excluded. The paper notes that the same graph also disproves the Strong Bordeaux Conjecture and the Novosibirsk 3-Color Conjecture.

Formalizing it. The theorem is proved, and the proof is short. As far as is known it has no machine-checked version. Every claim in the proof is a finite statement about explicit graphs, so the work here is to verify the three gadgets and the gluing arguments in Lean, including planarity of an explicit 166-vertex graph, which is asserted in the paper only through its figures. Planarity, cycle structure and coloring of a concrete graph of this size are a useful benchmark for computational verification in Lean.

Difficulty

The obvious approach is brute force: GGG is a fixed finite graph, so in principle each claim can be decided. In practice decide is not workable at this size. Excluding 4- and 5-cycles means quantifying over walks of a 166-vertex graph. Non-3-colorability is a search over 31663^{166}3166 assignments unless it is reduced, as the paper does, through the gadget lemmas. The planarity witness needs explicit coordinates for 166 points and a check of all (3002)\binom{300}{2}(2300​) pairs of segments, in exact arithmetic. The gluing arguments ("a cycle through two copies has length at least six") are where the paper's distance claims are used. Turning those claims into statements about Mathlib walks on unions of embedded copies is the conceptual work.

Formalization scope

Lean representation and conventions:

  • Graphs are Mathlib SimpleGraphs. G1 lives on Fin 15, with a,…,o↦0,…,14a, \dots, o \mapsto 0, \dots, 14a,…,o↦0,…,14. G2 lives on Fin 42, with a,b,c,d,e,f↦0,…,5a, b, c, d, e, f \mapsto 0, \dots, 5a,b,c,d,e,f↦0,…,5, and G lives on Fin 166, with a,b,c,c′,e,e′,d,f,d′,f′↦0,…,9a, b, c, c', e, e', d, f, d', f' \mapsto 0, \dots, 9a,b,c,c′,e,e′,d,f,d′,f′↦0,…,9.
  • Copies. G2 is literally (⨆ k, G1.map (copy2 k)) ⊔ the triangle defdefdef, with explicit embeddings copy2 k : Fin 15 ↪ Fin 42. G is (⨆ k, G2.map (copyG k)) ⊔ the twelve extra edges, with copyG k : Fin 42 ↪ Fin 166. The contact tables are in each definition's statement. A local check confirms the edge counts 23, 72 and 300, and that G agrees edge for edge with an independent transcription of Figure 3.
  • Cycles are Mathlib walks p : H.Walk v v with p.IsCycle, and their length is p.length.
  • 3-colorings are H.Coloring (Fin 3), and 3-colorability is H.Colorable 3. "No 3-coloring gives a,b,ca, b, ca,b,c one color" is ∀ C, ¬ (C a = C b ∧ C b = C c). Colorings in which two of the three share a color are still allowed, as in the paper.
  • Distance is SimpleGraph.dist. Its junk value 000 for unreachable pairs is never hit, because every asserted distance is positive.
  • Planarity is the published straight-line predicate OPG37357.IsPlanar: an injective placement of the vertices in R2\mathbb R^2R2 in which no vertex lies inside an edge segment and edges with four distinct endpoints have disjoint segments. For finite simple graphs it is equivalent to planarity by Fáry's theorem, and it implies topological planarity.
  • The goal's witness is a graph on Fin n. This loses no generality for finite graphs, and the empty graph cannot serve as a trivial witness because it is 3-colorable.

The following trivializing formalizations are ruled out. Closed walks, instead of cycles, would exclude every graph with an edge. Girth is not used: GGG contains triangles. Lemmas 1 and 2 do not assert that aaa and bbb get different colors, which would be false for G1G_1G1​. An infinite or unspecified vertex type is not allowed for the witness.

Welcome contributions: decision procedures or certificates for short cycles and colorings of explicit finite graphs; a straight-line embedding of GGG with rational coordinates; lemmas on cycles and distances in graphs glued from embedded copies, which are reusable for other gadget constructions; and proofs of Lemmas 1–2 by computation or by the paper's arguments.

Selected references

  • V. Cohen-Addad, M. Hebdige, D. Král', Z. Li, E. Salgado, Steinberg's Conjecture is false, J. Combin. Theory Ser. B 122 (2017), 452–456; preprint arXiv:1604.05108v2. https://arxiv.org/abs/1604.05108v2
  • O. V. Borodin, Colorings of plane graphs: A survey, Discrete Math. 313 (2013), 517–539. https://doi.org/10.1016/j.disc.2012.11.011
  • O. V. Borodin, A. N. Glebov, A. Raspaud, M. R. Salavatipour, Planar graphs without cycles of length from 4 to 7 are 3-colorable, J. Combin. Theory Ser. B 93 (2005), 303–331. https://doi.org/10.1016/j.jctb.2004.11.001
  • D. P. Sanders, Y. Zhao, A note on the three color problem, Graphs Combin. 11 (1995), 91–94. (Reference [11] of arXiv:1604.05108v2.)
  • R. Steinberg, The state of the three color problem, in: Quo Vadis, Graph Theory?, Ann. Discrete Math. 55 (1993), 211–248. (Reference [12] of arXiv:1604.05108v2.)
  • M. Voigt, A non-3-choosable planar graph without cycles of length 4 and 5, Discrete Math. 307 (2007), 1013–1015. (Reference [13] of arXiv:1604.05108v2.)
13 thms2 active usersReviewed
Complexity TheoryOperations ResearchOptimization+1·Captain: mikedeng1

A Comment on "Computational Complexity of Stochastic Programming Problems" 2: The Expected Recourse Value of (10) Is 1 − Vol(P(S; ⪯)), and a 1/(2k!)-Accurate Value Counts Linear ExtensionsResearch Paper

Why expected recourse is a counting question

A two-stage stochastic program chooses a first action before uncertainty is observed and then takes a recourse action after the observation. Evaluating the expected optimal recourse value can be difficult even when the recourse problem for each fixed observation is a small linear program. This mission isolates the example in Section 3 of Hanasusanto, Kuhn and Wiesemann's preprint: the second-stage program has no first-stage decision at all, yet sufficiently accurate expected values determine how many ways a finite partial order can be arranged into a total order.

The counting connection has a specific history. Brightwell and Winkler (1991) established the complexity of counting linear extensions and related their number to an order-polytope volume. Hanasusanto, Kuhn and Wiesemann use that relation in their October 2015 preprint to establish Theorem 3's strong #P-hardness claim for approximate expected recourse with random recourse coefficients. The mission addresses the exact mathematical relation and the error threshold that support that claim. The complexity-class and encoding parts are outside its Lean statement.

Finite orders, volumes, and program (10)

Let PPP be a finite partially ordered set with k=∣P∣k=|P|k=∣P∣. A linear extension lists its elements in a total order that respects the partial order. The number of these lists is N(P)N(P)N(P). The unit cube is C=[0,1]PC=[0,1]^PC=[0,1]P. Its order polytope is

O(P)={ξ∈C:ξi≤ξj whenever i≤Pj}.O(P)=\{\xi\in C:\xi_i\le\xi_j\text{ whenever }i\le_P j\}.O(P)={ξ∈C:ξi​≤ξj​ whenever i≤P​j}.

Write V(P)V(P)V(P) for the Lebesgue volume of O(P)O(P)O(P). The paper writes S={1,…,k}S=\{1,\ldots,k\}S={1,…,k} and P(S;⪯)P(S;\preceq)P(S;⪯) for this polytope; changing the names of the elements does not change either the count or the volume.

For a realization ξ∈C\xi\in Cξ∈C, define qP(ξ)q_P(\xi)qP​(ξ) as the optimal objective value of the paper's random-recourse program (10). It maximizes a scalar zzz, subject to 0≤z≤10\le z\le10≤z≤1, nonnegative variables yijy_{ij}yij​, and

z≤∑i,j∈P: i≤Pj(ξi−ξj)yij.z\le\sum_{i,j\in P:\,i\le_P j}(\xi_i-\xi_j)y_{ij}.z≤i,j∈P:i≤P​j∑​(ξi​−ξj​)yij​.

The sum includes reflexive pairs, for which the summand is zero. The expected recourse value is Q(P)=∫CqP(ξ) dξQ(P)=\int_C q_P(\xi)\,d\xiQ(P)=∫C​qP​(ξ)dξ. Lebesgue measure of CCC is one, so this integral is the expectation under the uniform distribution on the cube. The program is feasible for every ξ\xiξ: y=0y=0y=0 and z=0z=0z=0 are allowed. Its objective is bounded by one because z≤1z\le1z≤1. These details give the value a genuine finite meaning at every realization.

Formalization targets

The first target is the exact value of the second stage for every ξ∈C\xi\in Cξ∈C:

qP(ξ)=1C∖O(P)(ξ).q_P(\xi)=\mathbf 1_{C\setminus O(P)}(\xi).qP​(ξ)=1C∖O(P)​(ξ).

Consequently, the expected recourse value satisfies the displayed identity in the proof of Theorem 3:

Q(P)=1−V(P).Q(P)=1-V(P).Q(P)=1−V(P).

The counting target quoted in the proof of Lemma 3 is

N(P)=k! V(P).N(P)=k!\,V(P).N(P)=k!V(P).

Lemma 3's rounding step concerns an approximation ϑ\varthetaϑ of V(P)V(P)V(P). If ∣ϑ−V(P)∣≤ε|\vartheta-V(P)|\le\varepsilon∣ϑ−V(P)∣≤ε and 0≤ε<1/(2k!)0\le\varepsilon<1/(2k!)0≤ε<1/(2k!), then ∣k!ϑ−N(P)∣<1/2|k!\vartheta-N(P)|<1/2∣k!ϑ−N(P)∣<1/2. The mission's main goal uses an approximation of Q(P)Q(P)Q(P), as in Theorem 3. Under the same strict error threshold,

∣ϑ−Q(P)∣≤ε⟹∣k!(1−ϑ)−N(P)∣<12.|\vartheta-Q(P)|\le\varepsilon \quad\Longrightarrow\quad \left|k!(1-\vartheta)-N(P)\right|<\frac12.∣ϑ−Q(P)∣≤ε⟹∣k!(1−ϑ)−N(P)∣<21​.

The target leaves no independent dimension parameter or unspecified oracle value: kkk is the cardinality of the very poset used in program (10), and ϑ\varthetaϑ must approximate that program's expected value. The strict half-unit bound makes N(P)N(P)N(P) the unique nearest integer to k!(1−ϑ)k!(1-\vartheta)k!(1−ϑ).

What the result provides

The theorem shows that an accurate numerical answer to the expected-recourse question contains an exact combinatorial count. This explains why a routine second-stage linear optimization problem can lead to a difficult expectation problem: the expectation records the volume of a polytope whose geometry encodes all linear extensions. The page's threshold specifies precisely how much accuracy is needed to recover the count; a coarser estimate does not support the same rounding conclusion. The original paper also explains why its instance yields strong #P-hardness: the coefficients needed for its random-recourse representation are only −1-1−1, 000, and 111 in the continuation of Theorem 3's proof.

Formalizing the reduction's mathematical claims produces reusable interfaces for order-polytopes, their volumes, and the expectation of this recourse program. It also poses the factorial volume identity as a theorem rather than treating it as a free assumption. The published Prove2Me definition FCP.Order.LinearExtensions already represents the same linear-extension object and is reused here. The five theorem statements in this proposal are open proof obligations; the existence of the published definition is not a claim that these results already have machine-checked proofs. Proofs of the pointwise value, the expectation identity, the volume identity, and the rounding consequences are welcome.

Where the difficulty lies

For a fixed realization, the program's yijy_{ij}yij​ variables have no upper bounds. That feature makes its value jump between zero and one according to whether the order inequalities hold. The pointwise characterization does not by itself settle the expectation: the set where the value changes must be represented measurably, and the integral is over the unit cube with its normalized mass. The factorial relation is a separate geometric statement about the order polytope. Simply counting its defining inequalities gives neither its volume nor the number of linear extensions. These are the substantive steps behind the short rounding calculation.

Formalization scope and conventions

Lean uses a finite type with a PartialOrder in place of the paper's labeled set S={1,…,k}S=\{1,\ldots,k\}S={1,…,k}. The published FCP.Order.LinearExtensions definition counts order-preserving bijections from this type to the positions 0,…,k−10,\ldots,k-10,…,k−1. It has exactly the paper's meaning of a compatible permutation. The cube and order polytope are sets of real-valued functions on that finite type. Volume is volume converted to a real number; expected recourse is the Lebesgue integral over the cube. The cube has mass one, including when PPP is empty, and the results include that edge case.

The reusable cube, order polytope, volume, and linear-extension count form a separate definition module. The paper's second-stage program imports that module and defines only its own feasible levels, optimal value, and expected recourse.

The second-stage program is encoded through its feasible objective levels and their real supremum. Since zero is feasible and every feasible level is at most one, the supremum cannot use Lean's default value for an empty or unbounded real set. Classical decidability selects the comparable pairs in the finite sum. Accuracy means an absolute-error inequality with a nonnegative ε\varepsilonε and a strict threshold ε<1/(2k!)\varepsilon<1/(2k!)ε<1/(2k!). These choices preserve both the page's feasibility and its rounding margin.

The main goal is the correctness of the reduction in Theorem 3. It does not formalize #P, strong #P-hardness, pseudo-polynomial running time, unary encodings, or bit lengths. A formulation that assumes Q(P)=1−V(P)Q(P)=1-V(P)Q(P)=1−V(P) or N(P)=k!V(P)N(P)=k!V(P)N(P)=k!V(P) in the goal would erase the result's content; those are separate milestone theorems. Reusable work includes the finite-order volume identity and measure-theoretic handling of the indicator on the cube. The preprint's Section 3 supplies every object and convention used here.

Selected references

  • G. A. Hanasusanto, D. Kuhn, and W. Wiesemann, A comment on “computational complexity of stochastic programming problems”, Optimization Online preprint 2015/03/4825, version of October 6, 2015, pp. 10–12. Preprint.
  • G. Brightwell and P. Winkler, Counting linear extensions, Order 8(3), 225–242, 1991. DOI.
8 thms2 active usersReviewed
🏆Completed
Graph Theory·Captain: mikedeng1

Generation and Properties of Snarks 4: Every 3-Edge-Colourable Cubic Graph with m Edges Has a Cycle Cover of Total Length at Most 4m/3Research Paper

Motivation

A cycle cover of a graph is a collection of cycles that together use every edge at least once. Covering the edges of a network by closed tours appears in routing and inspection problems (the Chinese postman problem is the closed-walk version), and the minimum total length of a cycle cover is a classical extremal parameter of bridgeless graphs. Alon and Tarsi (Covering multigraphs by simple circuits, SIAM J. Algebraic Discrete Methods 6, 1985, pp. 345–350; reference [2] of the paper) conjectured that every bridgeless graph with mmm edges has a cycle cover of length at most 7m/57m/57m/5 (Conjecture 7.1 of the paper).

The question is closely tied to cycle double covers (CDCs): families of cycles covering every edge exactly twice. The Cycle Double Cover Conjecture of Szekeres and Seymour asserts that every bridgeless graph has one, and it suffices to prove it for cubic graphs. Brinkmann, Goedgebeur, Hägglund and Markström (Generation and properties of snarks, arXiv:1206.6690v3, 2013; J. Combin. Theory Ser. B 103, 2013) generated all snarks on up to 36 vertices and tested these conjectures on them. Section 7 of their paper derives cycle-cover bounds from double covers. For colourable cubic graphs (those with a proper 3-edge-colouring) the argument gives the bound 4m/34m/34m/3, and the authors conjecture (Conjecture 7.4) that 4m/3+o(m)4m/3 + o(m)4m/3+o(m) holds for all snarks. This mission formalizes the colourable bound and the chain of statements behind it.

Setting

All graphs are finite and simple. A graph is cubic if every vertex has degree 3. It is colourable if its edges can be coloured with three colours so that edges sharing a vertex receive different colours.

A cycle is a 2-regular connected graph. Inside a graph GGG a cycle is recorded by its edge set C={v1v2,…,vℓ−1vℓ,vℓv1}C = \{v_1v_2, \dots, v_{\ell-1}v_\ell, v_\ell v_1\}C={v1​v2​,…,vℓ−1​vℓ​,vℓ​v1​}, with v1,…,vℓv_1, \dots, v_\ellv1​,…,vℓ​ distinct and ℓ≥3\ell \ge 3ℓ≥3; its length is ∣C∣=ℓ|C| = \ell∣C∣=ℓ. A 2-regular subgraph of GGG is an edge set DDD such that every vertex lies on none or exactly two edges of DDD: a union of vertex-disjoint cycles, possibly empty and not necessarily spanning. A 2-factor is a spanning 2-regular subgraph. An even subgraph is an edge set SSS such that every vertex lies on an even number of edges of SSS.

A cycle double cover of GGG is a multiset of cycles such that every edge lies in exactly two of them. It is a kkk-CDC if the cycles can be coloured with kkk colours so that cycles sharing an edge get different colours. Each colour class is then an even subgraph, and following the paper the kkk-CDC is written as a family D0,…,Dk−1D_0, \dots, D_{k-1}D0​,…,Dk−1​ of even subgraphs with every edge in exactly two of them, counted with multiplicity.

A cycle cover of GGG is a set F\mathcal FF of cycles of GGG such that every edge lies in at least one of them, and its length is ℓ(F)=∑C∈F∣C∣\ell(\mathcal F) = \sum_{C \in \mathcal F} |C|ℓ(F)=∑C∈F​∣C∣. Throughout, mmm denotes the number of edges of GGG.

Formalization targets

Goal: the 4m/34m/34m/3 bound (§7, p. 24)

For every colourable cubic graph GGG with mmm edges there is a cycle cover F\mathcal FF with

ℓ(F)≤4m3.\ell(\mathcal F) \le \frac{4m}{3}.ℓ(F)≤34m​.

Equivalently, the shortest cycle cover of GGG has length at most 4m/34m/34m/3.

Milestones

  1. Cycle decompositions (§5, p. 15). An edge set SSS is an even subgraph of GGG if and only if it is the union of pairwise edge-disjoint cycles of GGG.
  2. Proposition 5.3 (p. 15). If GGG is a colourable cubic graph and DDD is any 2-regular subgraph of GGG, then GGG has a 4-CDC (D0,D1,D2,D3)(D_0, D_1, D_2, D_3)(D0​,D1​,D2​,D3​) with D0=DD_0 = DD0​=D.
  3. Lemma 7.2 (p. 24). If a cubic graph GGG has a 2-regular subgraph CCC and a CDC D\mathcal DD with C∈DC \in \mathcal DC∈D, then GGG has a cycle cover F\mathcal FF with
ℓ(F)≤2m−∣C∣.\ell(\mathcal F) \le 2m - |C|.ℓ(F)≤2m−∣C∣.

Significance

The bound 4m/34m/34m/3 is far below the Alon–Tarsi bound 7m/57m/57m/5 and is attained up to lower-order terms on the snarks the paper enumerates (Corollary 7.3, which rests on a computer search and is not part of this mission). It isolates the colourable case of Conjecture 7.4, so any proof of that conjecture must at least reproduce it. Proposition 5.3 is a strong form of the Strong Cycle Double Cover Conjecture for colourable cubic graphs: every 2-regular subgraph, not only every cycle, is a colour class of a 4-CDC. Lemma 7.2 is the general device that turns a double cover containing a long 2-regular subgraph into a short cycle cover; the paper applies it again with long cycles of snarks.

On the formal side, none of these objects exists in Mathlib or on the platform: there is no cycle double cover, no cycle cover, and no decomposition of even graphs into cycles (Veblen's theorem). Mathlib has walks, cycles as walks (Walk.IsCycle), Eulerian trails and the predicate IsCycles, but the step from an even edge set to a family of edge-disjoint cycles is missing. The results of this mission are all proved in the paper or classical; none has a machine-checked proof.

Difficulty

The arithmetic of the goal is immediate once the pieces exist: a 3-edge-colouring of a cubic graph on nnn vertices consists of three perfect matchings, two of which form a 2-factor with n=2m/3n = 2m/3n=2m/3 edges, and 2m−2m/3=4m/32m - 2m/3 = 4m/32m−2m/3=4m/3. The work lies elsewhere.

First, Veblen's theorem must be formalized: an even edge set is a union of edge-disjoint cycles. This requires extracting a cycle (a walk with no repeated vertex) from a nonempty even edge set and inducting on the number of edges; the bookkeeping between walks, their edge lists and finite edge sets is where formal proofs of this kind spend their effort. Lemma 7.2 needs it, because the colour classes of a CDC are even subgraphs, while a cycle cover consists of cycles.

Second, Proposition 5.3 needs the passage from a proper 3-edge-colouring (a colouring of the line graph) to three perfect matchings and to the three 2-factors formed by pairs of colours, and then a parity check that the symmetric differences with DDD are even and cover every edge exactly twice. A tempting shortcut fails: the three pairwise unions of colour classes already form a 3-CDC, but a prescribed 2-regular subgraph DDD need not be one of its classes.

Formalization scope

Graphs are SimpleGraph V on a finite type V with decidable equality and decidable adjacency. Cubic is G.IsRegularOfDegree 3. Colourable is G.lineGraph.Colorable 3, a proper vertex colouring of the line graph, never a vertex colouring of G. Edges are Sym2 V, and every subgraph is recorded by its finite edge set. A cycle is the edge set of a closed walk satisfying Walk.IsCycle, of length its number of edges. A kkk-CDC is a function Fin k → Finset (Sym2 V) of even edge sets with every edge of G in exactly two indices, so repeated and empty classes count correctly. A cycle cover is a Finset of cycles covering every edge, of length ∑ C ∈ F, C.card.

"The shortest cycle cover has length at most XXX" is stated as "some cycle cover has length at most XXX"; the two agree because a finite graph has finitely many cycle covers. Bounds are kept in N\mathbb NN without subtraction or division: the goal is 3 ℓ(F)≤4m3\,\ell(\mathcal F) \le 4m3ℓ(F)≤4m, and Lemma 7.2 is ℓ(F)+∣C∣≤2m\ell(\mathcal F) + |C| \le 2mℓ(F)+∣C∣≤2m. Lemma 7.2 is stated for a CDC given as a family of even subgraphs, the form in which the paper applies it (with CCC a 2-factor that is a colour class of a 4-CDC); a CDC of single cycles is a special case. The cubic hypothesis of Lemma 7.2 is kept as printed although the argument does not use it.

The bound becomes trivial if a "cycle" is weakened to an even edge set or to the edge set of a closed walk, since then the single set E(G)E(G)E(G) is a cover of length m≤4m/3m \le 4m/3m≤4m/3. The cycles here are genuine cycles of G.

Out of scope: Corollary 7.3 (the cycle-cover lengths of all snarks on at most 36 vertices) and every other statement resting on the exhaustive enumeration, Conjectures 7.1 and 7.4, and the Strong Cycle Double Cover material of §5.1 and §6.

Reusable infrastructure: cycles as edge sets, even subgraphs, kkk-CDCs, cycle covers and Veblen's theorem are general graph-theoretic objects, useful well beyond this paper (for flows, the Cycle Double Cover Conjecture, and Eulerian subgraph arguments). Proofs of Veblen's theorem and of the passage from a 3-edge-colouring to perfect matchings are particularly welcome.

Selected references

  • G. Brinkmann, J. Goedgebeur, J. Hägglund, K. Markström, Generation and properties of snarks, arXiv:1206.6690v3, 2013; J. Combin. Theory Ser. B 103 (2013). https://arxiv.org/abs/1206.6690
  • N. Alon, M. Tarsi, Covering multigraphs by simple circuits, SIAM J. Algebraic Discrete Methods 6 (1985), no. 3, 345–350; MR 791163. Cited as [2] in https://arxiv.org/abs/1206.6690
10 thms2 active usersReviewed
🏆Completed
Theoretical Computer Science·Captain: xuanji

Deterministic APSP in O(n^2.995561) time on a Word RAMResearch Paper

Motivation

All-pairs shortest paths (APSP) asks for the exact distance between every ordered pair of vertices in an nnn-vertex weighted directed graph. Floyd–Warshall solves it in O(n3)O(n^3)O(n3) time, and for decades no algorithm beat n3−δn^{3-\delta}n3−δ for any constant δ>0\delta>0δ>0 on graphs with polynomially bounded integer weights. In 2026, Alman and Vassilevska Williams (arXiv:2610.06783) gave a deterministic O(n2.99942)O(n^{2.99942})O(n2.99942) algorithm, the campaign's first entry. Later entries tightened the accounting to 2.99832.99832.9983, 2.997912.997912.99791 and 2.9960012.9960012.996001.

This entry records the deterministic exponent 2.9955612.9955612.995561, a saving of about 0.004440.004440.00444 below 333, roughly 11% more than the 2.9960012.9960012.996001 entry.

Setting

The model is the campaign's fixed deterministic word RAM (foundation mission: Truly Subcubic APSP on a Word RAM). A finite program uses add, subtract and multiply modulo 2W2^W2W, indirect load and store, a sign branch, and accept or reject, on words of width W≥b(log⁡2n+1)W \ge b(\log_2 n + 1)W≥b(log2​n+1). Inputs have integer weights of absolute value at most nκn^\kappanκ for a fixed κ\kappaκ, and there are no negative cycles. The machine has no source of randomness; the algorithm behind this entry is deterministic.

Formalization target

The goal is the campaign template with the value 2.9955612.9955612.995561:

TrulySubcubicAPSP.APSP.SolvedInTime 2.995561,\texttt{TrulySubcubicAPSP.APSP.SolvedInTime}\ 2.995561,TrulySubcubicAPSP.APSP.SolvedInTime 2.995561,

which says there is a deterministic word-RAM program that solves APSP in O(n2.995561)O(n^{2.995561})O(n2.995561) steps.

How the bound arises

The algebraic core is the tensor construction of Alman and Vassilevska Williams, which evaluates KKK independent N0×DN_0\times DN0​×D by D×N0D\times N_0D×N0​ integer products in one run and answers requested output entries. Two local refinements sharpen its exponents: pruned encodings (branches with more than mmm copies of the symbol P0P_0P0​ are never materialized) and an exact binomial tail for the box preprocessing, giving

Γ(c,θ)=cH(1/c)−cH((1−θ)/c)−θln⁡9ln⁡4,q(θ)=H(θ)+θln⁡9ln⁡4.\Gamma(c,\theta) = \frac{cH(1/c) - cH((1-\theta)/c) - \theta\ln 9}{\ln 4},\qquad q(\theta) = \frac{H(\theta)+\theta\ln 9}{\ln 4}.Γ(c,θ)=ln4cH(1/c)−cH((1−θ)/c)−θln9​,q(θ)=ln4H(θ)+θln9​.

On top of the deterministic filtering reduction of the 2.9960012.9960012.996001 entry (moduli chosen one small prime factor at a time, with exact modular witness counts certifying positive answers and eliminating blocks of unresolved queries), this entry adds two changes to the counting oracle:

  1. Two-digit target residue. For modulus ppp, the target residue −zab mod p-z_{ab} \bmod p−zab​modp is written as hk+lh k + lhk+l with k=⌈p⌉k=\lceil\sqrt p\rceilk=⌈p​⌉, and the two digits are absorbed into the outer row and column indices. One product of outer dimension n⌈p⌉n\lceil\sqrt p\rceiln⌈p​⌉ and inner dimension spspsp per middle block replaces one product per residue.
  2. Batching middle blocks into the tensor slots. The T=⌈n/s⌉T=\lceil n/s\rceilT=⌈n/s⌉ products, one per middle-vertex block, are assigned to the KKK independent product slots of the tensor construction, so input encodings are shared across different blocks.

With middle blocks of size s=nε/2s=n^{\varepsilon/2}s=nε/2 the encoding cost becomes TNDbT N D^{b}TNDb with b(c)=(c−1)ln⁡3/ln⁡4b(c)=(c-1)\ln 3/\ln 4b(c)=(c−1)ln3/ln4, and all-edges Exact Triangle runs in n3−δ+o(1)n^{3-\delta+o(1)}n3−δ+o(1) with

δ=min⁡{εΓ, 1−ε(b−14), ε(12−q)},\delta = \min\{\varepsilon\Gamma,\ 1-\varepsilon(b-\tfrac14),\ \varepsilon(\tfrac12-q)\},δ=min{εΓ, 1−ε(b−41​), ε(21​−q)},

subject to the batch conditions ε(κ+12)<1\varepsilon(\kappa+\tfrac12)<1ε(κ+21​)<1 and ε(b−14)<1\varepsilon(b-\tfrac14)<1ε(b−41​)<1, where κ(c)=cH(1/c)/ln⁡4\kappa(c)=cH(1/c)/\ln 4κ(c)=cH(1/c)/ln4. Deterministic bit scaling transfers the bound to min-plus product and APSP with polylogarithmic overhead.

The exact rational parameters c=20c = 20c=20, θ=0.113138\theta = 0.113138θ=0.113138 and ε=0.067235\varepsilon = 0.067235ε=0.067235 give δ>0.00443921\delta > 0.00443921δ>0.00443921 (rational interval certificate for log⁡2,log⁡3,…\log 2,\log 3,\dotslog2,log3,… with error below 10−6210^{-62}10−62). Hence APSP runs in n2.99556079+o(1)n^{2.99556079+o(1)}n2.99556079+o(1), and the gap 2.995561−2.99556079>02.995561 - 2.99556079 > 02.995561−2.99556079>0 absorbs the subpolynomial factor.

Significance

This is the strongest deterministic entry so far. Compared with 2.9960012.9960012.996001, the saving below cubic time grows from about 0.00399930.00399930.0039993 to about 0.00443930.00443930.0044393, coming entirely from cheaper input encodings in the counting oracle.

Selected references

  • J. Alman and V. Vassilevska Williams, Truly Subquadratic 3SUM and Truly Subcubic APSP via Triangles in Sparse Lopsided Graphs (2026). https://arxiv.org/abs/2610.06783
  • Deterministic APSP in O(n2.995561)O(n^{2.995561})O(n2.995561): an explicit refinement of the thin-product method, technical note, revised 7 October 2026. This is the source of 2.9955612.9955612.995561 and has not been peer reviewed.
5 thms2 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

A Hybrid Genetic Algorithm for Multidepot and Periodic Vehicle Routing Problems: Biased-Fitness Survivor Selection Never Removes an Elite Individual Outside XResearch Paper

Motivation

Genetic algorithms with local search ("memetic" or hybrid genetic algorithms) are among the most effective heuristics for vehicle routing. Their recurring weakness is premature convergence: selection and local improvement both favour good individuals, so the population fills with near-copies of a few solutions and the search stalls. Vidal, Crainic, Gendreau, Lahrichi and Rei addressed this in their hybrid genetic search with adaptive diversity control (HGSADC) for multi-depot and periodic vehicle routing (CIRRELT-2010-34, 2010; journal version Operations Research 60(3), 2012). Instead of judging an individual by its cost alone, HGSADC ranks it by a Biased Fitness that mixes its cost rank with its rank in contribution to population diversity, and it uses that score to decide which individuals survive.

Trading cost for diversity raises an obvious worry: a very good but unoriginal solution could be discarded. The paper answers it with its only stated result, an elitism property (Section 4.6, an unnumbered Proposition with a three-sentence proof): the best individuals by cost are never discarded, as long as they are not clones. The HGSADC framework has since become the basis of state-of-the-art codes for many routing variants, and this guarantee is the one formal statement on which its population management rests.

Setting

HGSADC keeps two subpopulations (feasible and infeasible) and manages each separately. Everything below concerns one subpopulation; no routing object is involved.

A population is a finite set PPP of individuals, with nbIndiv=∣P∣\mathit{nbIndiv} = |P|nbIndiv=∣P∣. Each individual III has a penalized cost c(I)∈Rc(I)\in\mathbb Rc(I)∈R, its fitness (lower is better); a distance δ(I1,I2)\delta(I_1,I_2)δ(I1​,I2​) to every other individual; and a diversity contribution ΔP(I)\Delta_P(I)ΔP​(I), which in the paper is the mean distance from III to its nclosen_{close}nclose​ nearest neighbours in PPP (higher is better).

The normalized ranks of III relative to the current population are

fitP(I)=#{J∈P: c(J)<c(I)}∣P∣−1,dcP(I)=#{J∈P: ΔP(I)<ΔP(J)}∣P∣−1,\mathit{fit}_P(I)=\frac{\#\{J\in P:\ c(J)<c(I)\}}{|P|-1},\qquad \mathit{dc}_P(I)=\frac{\#\{J\in P:\ \Delta_P(I)<\Delta_P(J)\}}{|P|-1},fitP​(I)=∣P∣−1#{J∈P: c(J)<c(I)}​,dcP​(I)=∣P∣−1#{J∈P: ΔP​(I)<ΔP​(J)}​,

so that the best individual has rank 000 and the worst rank 111. For an integer parameter nbElit\mathit{nbElit}nbElit, the Biased Fitness is (equation (7))

BFP(I)=fitP(I)+(1−nbElit∣P∣−1)×dcP(I).BF_P(I)=\mathit{fit}_P(I)+\Bigl(1-\frac{\mathit{nbElit}}{|P|-1}\Bigr)\times \mathit{dc}_P(I).BFP​(I)=fitP​(I)+(1−∣P∣−1nbElit​)×dcP​(I).

An individual III is a clone in PPP if some other J∈PJ\in PJ∈P has δ(J,I)=0\delta(J,I)=0δ(J,I)=0 or c(J)=c(I)c(J)=c(I)c(J)=c(I). With best\mathit{best}best the current best solution, X(P)X(P)X(P) is the set of individuals of PPP, other than best\mathit{best}best, that have a clone.

Survivor selection. When a subpopulation reaches μ+λ\mu+\lambdaμ+λ individuals, λ\lambdaλ of them are discarded one at a time: if X≠∅X\neq\emptysetX=∅, an individual of maximum BFBFBF in XXX is removed; otherwise an individual of maximum BFBFBF in the whole population. After each removal the distances, XXX, the ranks and BFBFBF are recomputed on the remaining population. An individual is among the nbElit\mathit{nbElit}nbElit best of PPP in terms of fitness when fewer than nbElit\mathit{nbElit}nbElit members of PPP have strictly smaller cost.

Formalization targets

Goal: Section 4.6, Proposition

For every run of the survivor-selection procedure that removes λ\lambdaλ individuals from PPP and ends at P′P'P′, with nbElit+λ≤∣P∣\mathit{nbElit}+\lambda\le|P|nbElit+λ≤∣P∣:

J∈P,J∉X(P),#{K∈P:c(K)<c(J)}<nbElit ⟹ J∈P′.J\in P,\quad J\notin X(P),\quad \#\{K\in P: c(K)<c(J)\}<\mathit{nbElit}\ \Longrightarrow\ J\in P'.J∈P,J∈/X(P),#{K∈P:c(K)<c(J)}<nbElit ⟹ J∈P′.

Milestones: the three sentences of the proof (p. 17)

  1. If X(P)=∅X(P)=\emptysetX(P)=∅, the individual WWW with the worst fitness has fitP(W)=1\mathit{fit}_P(W)=1fitP​(W)=1 and BFP(W)≥1BF_P(W)\ge 1BFP​(W)≥1.
  2. An individual JJJ among the nbElit\mathit{nbElit}nbElit best has
BFP(J)≤nbElit−1∣P∣−1+1−nbElit∣P∣−1<1.BF_P(J)\le\frac{\mathit{nbElit}-1}{|P|-1}+1-\frac{\mathit{nbElit}}{|P|-1}<1.BFP​(J)≤∣P∣−1nbElit−1​+1−∣P∣−1nbElit​<1.
  1. One removal step does not remove an individual J∉X(P)J\notin X(P)J∈/X(P) among the nbElit\mathit{nbElit}nbElit best.

Significance

The result. The Proposition explains what the parameter nbElit\mathit{nbElit}nbElit means: it is the number of top individuals whose survival is guaranteed from one generation to the next, whatever their diversity contribution. It lets the algorithm designer push for diversity through BFBFBF without risking the loss of the best solutions, and it is what makes the "removal zone" BF≥1BF\ge 1BF≥1 of the paper's Figure 4 a meaningful picture. The same Biased Fitness and survivor rule are reused in later HGS variants, so the guarantee transfers to them.

Formalizing it. The proof in the paper is three sentences long, but it leaves several things implicit: what happens with ties in cost or diversity, why "the" worst individual has rank exactly 111, why the coefficient of dc\mathit{dc}dc is nonnegative, and why the one-step argument survives λ\lambdaλ successive removals with everything recomputed. A machine-checked version settles each of these. To our knowledge no formalization of this or any other population-management guarantee for genetic algorithms exists.

Difficulty

The arithmetic of each step is elementary. The difficulty is in reading the statement correctly. "The individual with the worst fitness has rank 1" fails when costs tie; it holds only in the branch X=∅X=\emptysetX=∅, where equal costs are excluded because two individuals with equal cost are both clones and at most one of them is the best solution. The inequality BF≥1BF\ge 1BF≥1 needs nbElit≤∣P∣−1\mathit{nbElit}\le|P|-1nbElit≤∣P∣−1, which the Proposition does not state: it follows from the population sizes (μ+λ\mu+\lambdaμ+λ reduced to μ\muμ, with nbElit=el×μ\mathit{nbElit}=el\times\munbElit=el×μ, el∈[0,1]el\in[0,1]el∈[0,1], Table 1). Without it the Proposition is false: if nbElit≥∣P∣\mathit{nbElit}\ge|P|nbElit≥∣P∣ and X=∅X=\emptysetX=∅, some elite individual must be removed. Finally, the one-step argument must be iterated: the population, its ranks and XXX change after each removal, and one must check that the hypotheses on JJJ persist.

Formalization scope

Individuals are elements of an arbitrary type α\alphaα with decidable equality; populations are Finset α. Costs, distances and diversity contributions are real-valued, and Δ\DeltaΔ is an arbitrary function of (population, individual), which includes the paper's equation (5); the goal is therefore stated for every diversity measure. Explicit readings of loose phrases:

  • "normalized ranks … where the best individual has rank 0 and the worst has rank 1": the number of strictly better individuals divided by ∣P∣−1|P|-1∣P∣−1, in R\mathbb RR (competition ranking; tied individuals share the better rank);
  • "the nbElit best individuals … in terms of fitness": fewer than nbElit\mathit{nbElit}nbElit members with strictly smaller cost;
  • "Update the distance measures and X, and repeat": XXX, ranks and BFBFBF are recomputed on the current population at each of the λ\lambdaλ steps;
  • ties in "maximum Biased Fitness" are broken arbitrarily, and the goal quantifies over every run;
  • the population-size condition nbElit+λ≤∣P∣\mathit{nbElit}+\lambda\le|P|nbElit+λ≤∣P∣ is an explicit hypothesis, taken from Section 4.6 and Table 1;
  • the best solution best\mathit{best}best is a parameter, not required to lie in PPP (for the infeasible subpopulation it is the incumbent feasible solution); JJJ may itself be best\mathit{best}best.

A formalization that freezes the initial Biased Fitness, that takes the ranks as arbitrary functions into [0,1][0,1][0,1], that states the existence of one good run, or whose size hypothesis cannot be met, would not be this Proposition. The supporting definition file contains the ranks, the Biased Fitness, clones, XXX, a removal step and a run of λ\lambdaλ steps; no further library is needed beyond Finset cardinalities. Proofs of the three milestones and of the goal are welcome, as is a formalization of the paper's Hamming distance (6) and diversity contribution (5) as an instance of Δ\DeltaΔ.

Selected references

  • T. Vidal, T. G. Crainic, M. Gendreau, N. Lahrichi, W. Rei, A Hybrid Genetic Algorithm for Multi-Depot and Periodic Vehicle Routing Problems, technical report CIRRELT-2010-34, July 2010. https://www.cirrelt.ca/documentstravail/cirrelt-2010-34.pdf (the version cited throughout; Section 4.6, pp. 16–17).
  • T. Vidal, T. G. Crainic, M. Gendreau, N. Lahrichi, W. Rei, A Hybrid Genetic Algorithm for Multidepot and Periodic Vehicle Routing Problems, Operations Research 60(3):611–624, 2012. https://doi.org/10.1287/opre.1120.1048
  • C. Prins, A simple and effective evolutionary algorithm for the vehicle routing problem, Computers & Operations Research 31(12):1985–2002, 2004. https://doi.org/10.1016/S0305-0548(03)00158-8
  • K. Sörensen, M. Sevaux, MA|PM: memetic algorithms with population management, Computers & Operations Research 33(5):1214–1225, 2006. https://doi.org/10.1016/j.cor.2004.09.011
5 thms2 active usersReviewed
🏆Completed
Group Theory·Captain: mikedeng1

New Proofs of Plünnecke-type Estimates for Product Sets in Groups 2: If |BB| ≤ α|B| and |BbB| ≤ β|B| for All b ∈ B, Then |Bʰ| ≤ α^(8h−17) β^(h−2) |B| for Every h > 2Research Paper

Motivation

Plünnecke-type inequalities turn information about a set and one product (or sum) of it into bounds on all of its iterated products. In an abelian group, Plünnecke's theorem (Plünnecke 1970) and its extension by Ruzsa say that ∣A+A∣≤α∣A∣|A + A| \le \alpha|A|∣A+A∣≤α∣A∣ implies ∣hA∣≤αh∣A∣|hA| \le \alpha^h |A|∣hA∣≤αh∣A∣ for every hhh. Such bounds are a basic tool in additive combinatorics, and their non-abelian analogues are used in the study of growth in groups (for example Helfgott's work on SL2(Z/pZ)\mathrm{SL}_2(\mathbb{Z}/p\mathbb{Z})SL2​(Z/pZ)).

Without commutativity the abelian statement is false. Petridis recalls the standard example (p. 2): let HHH be a subgroup and xxx an element with ∣HxH∣=∣H∣2|HxH| = |H|^2∣HxH∣=∣H∣2, and put A=H∪{x}A = H \cup \{x\}A=H∪{x}; then ∣AA∣≤3∣A∣|AA| \le 3|A|∣AA∣≤3∣A∣ while ∣AAA∣≥(∣A∣−1)2|AAA| \ge (|A|-1)^2∣AAA∣≥(∣A∣−1)2. Small doubling alone therefore says nothing about tripling.

Timeline.

  • 1970. Plünnecke proves the abelian inequality by a graph-theoretic method (Plünnecke 1970); Ruzsa later rediscovers and extends it.
  • 2006. Ruzsa observes that an extra hypothesis is needed in the non-abelian case: in addition to ∣AB∣≤α∣A∣|AB| \le \alpha|A|∣AB∣≤α∣A∣ one must assume ∣AbB∣≤α∣A∣|AbB| \le \alpha|A|∣AbB∣≤α∣A∣ for all b∈Bb \in Bb∈B (Ruzsa, Cardinality questions about sumsets, CRM Proc. Lecture Notes, 2006).
  • 2008. Tao proves the case A=BA = BA=B (Tao 2008): if ∣BB∣≤α∣B∣|BB| \le \alpha|B|∣BB∣≤α∣B∣ and ∣BbB∣≤α∣B∣|BbB| \le \alpha|B|∣BbB∣≤α∣B∣ for every b∈Bb \in Bb∈B, then ∣Bh∣≤αch∣B∣|B^h| \le \alpha^{ch}|B|∣Bh∣≤αch∣B∣ for an absolute constant ccc that is not computed (Theorem 1.3 of the present paper).
  • 2010. Ruzsa asks for an explicit value of ccc (Towards a noncommutative Plünnecke-type inequality, in An Irregular Mind, Bolyai Soc. Math. Stud. 21, 2010).
  • 2011–2012. Petridis gives explicit exponents, ∣Bh∣≤α8h−17βh−2∣B∣|B^h| \le \alpha^{8h-17}\beta^{h-2}|B|∣Bh∣≤α8h−17βh−2∣B∣, so c=9c = 9c=9 suffices (arXiv:1101.3507v3, Theorem 1.6; Combinatorica 32, 2012).

Setting

Let GGG be a group, not necessarily abelian, and let BBB be a finite subset of GGG. Write ∣X∣|X|∣X∣ for the number of elements of a finite set XXX. For finite sets X,Y⊆GX, Y \subseteq GX,Y⊆G the product set is XY={xy:x∈X, y∈Y}XY = \{xy : x \in X,\ y \in Y\}XY={xy:x∈X, y∈Y}, and the inverse set is X−1={x−1:x∈X}X^{-1} = \{x^{-1} : x \in X\}X−1={x−1:x∈X}. For h≥1h \ge 1h≥1, Bh=B⋯BB^h = B \cdots BBh=B⋯B is the product of hhh copies of BBB. For b∈Gb \in Gb∈G, BbB={b1b b2:b1,b2∈B}BbB = \{b_1 b\, b_2 : b_1, b_2 \in B\}BbB={b1​bb2​:b1​,b2​∈B}.

The two hypotheses of the mission, for real numbers α\alphaα and β\betaβ, are

∣BB∣≤α∣B∣and∣BbB∣≤β∣B∣  for every b∈B.|BB| \le \alpha|B| \qquad\text{and}\qquad |BbB| \le \beta|B| \ \text{ for every } b \in B.∣BB∣≤α∣B∣and∣BbB∣≤β∣B∣  for every b∈B.

The first is small doubling; the second says that every two-sided "translate" BbBBbBBbB is small. In an abelian group BbB=bBBBbB = bBBBbB=bBB has the same size as BBBBBB, so the second hypothesis follows from the first with β=α\beta = \alphaβ=α.

The proof uses an auxiliary set: a nonempty A⊆BA \subseteq BA⊆B that grows minimally under right multiplication by BBB, meaning ∣AB∣/∣A∣≤∣ZB∣/∣Z∣|AB|/|A| \le |ZB|/|Z|∣AB∣/∣A∣≤∣ZB∣/∣Z∣ for every nonempty Z⊆BZ \subseteq BZ⊆B.

Formalization targets

Goal: Theorem 1.6 (p. 4)

For every integer h>2h > 2h>2,

∣Bh∣≤α8h−17 βh−2 ∣B∣.|B^h| \le \alpha^{8h-17}\,\beta^{h-2}\,|B|.∣Bh∣≤α8h−17βh−2∣B∣.

Milestones, in the order the proof uses them

  1. Display (6) (p. 9): for A⊆BA \subseteq BA⊆B nonempty and minimally growing, ∣BAB∣≤α2∣B∣|BAB| \le \alpha^2|B|∣BAB∣≤α2∣B∣.
  2. Corollary 4.3 (p. 8): for any finite A,BA, BA,B with ∣BB∣≤α∣B∣|BB| \le \alpha|B|∣BB∣≤α∣B∣ and ∣BAB∣≤α2∣B∣|BAB| \le \alpha^2|B|∣BAB∣≤α2∣B∣,   ∣BA−1AB−1∣≤α6∣B∣\;|BA^{-1}AB^{-1}| \le \alpha^6|B|∣BA−1AB−1∣≤α6∣B∣.
  3. Display (8) (p. 10): for T⊆BT \subseteq BT⊆B with ∣T∣≤α|T| \le \alpha∣T∣≤α,   ∣BTB∣≤αβ∣B∣\;|BTB| \le \alpha\beta|B|∣BTB∣≤αβ∣B∣.
  4. Theorem 4.4 (p. 9): ∣BBB∣≤α7β∣B∣|BBB| \le \alpha^7\beta|B|∣BBB∣≤α7β∣B∣, the case h=3h = 3h=3 of the goal.
  5. Display (9) (p. 10): with AAA as in (6) and T⊆BT \subseteq BT⊆B, ∣T∣≤α|T| \le \alpha∣T∣≤α, B⊆A−1ATB \subseteq A^{-1}ATB⊆A−1AT:   ∣Bh∣≤α6∣BTBh−2∣\;|B^h| \le \alpha^6|BTB^{h-2}|∣Bh∣≤α6∣BTBh−2∣ for h>2h > 2h>2.
  6. Display (10) (p. 10): ∣BTBh−2∣≤αβ∣B−1Bh−2∣|BTB^{h-2}| \le \alpha\beta|B^{-1}B^{h-2}|∣BTBh−2∣≤αβ∣B−1Bh−2∣ for h>2h > 2h>2.
  7. Display (11) (p. 10): ∣B−1Bh−2∣≤α∣Bh−1∣|B^{-1}B^{h-2}| \le \alpha|B^{h-1}|∣B−1Bh−2∣≤α∣Bh−1∣ for h>2h > 2h>2.
  8. Inductive step (p. 11): ∣Bh∣≤α8β∣Bh−1∣|B^h| \le \alpha^8\beta|B^{h-1}|∣Bh∣≤α8β∣Bh−1∣ for h>2h > 2h>2.

Significance

The result. Theorem 1.6 is a non-abelian Plünnecke inequality with explicit, linear-in-hhh exponents. Taking β≤α\beta \le \alphaβ≤α (Tao's setting) gives ∣Bh∣≤α9h∣B∣|B^h| \le \alpha^{9h}|B|∣Bh∣≤α9h∣B∣, so the constant ccc in Tao's theorem can be taken to be 999, answering Ruzsa's request for an explicit value. Bounds of this shape are the standard way to pass from control of a few products of a set to control of all of its products.

Formalizing it. The result is proved on paper; this mission produces a machine-checked proof. Mathlib already contains the abelian Plünnecke–Ruzsa inequality, Ruzsa's triangle inequality and covering lemma for arbitrary groups, and the Plünnecke–Petridis inequality (Proposition 2.1 of the paper), but no non-abelian bound on ∣Bh∣|B^h|∣Bh∣ under the two hypotheses above. The milestone statements (6)–(11) are each short calculations from these tools and are reusable for other non-abelian product-set estimates.

Difficulty

The obvious argument is to iterate the doubling bound, as in the abelian case. This fails: the example A=H∪{x}A = H \cup \{x\}A=H∪{x} shows that ∣BB∣|BB|∣BB∣ does not control ∣BBB∣|BBB|∣BBB∣ in a non-abelian group, so the second hypothesis has to enter, and it controls only products with a single element in the middle. The difficulty is to bring that hypothesis to bear on BhB^hBh, whose factors are all copies of BBB, while losing only a bounded power of α\alphaα and β\betaβ per additional factor and keeping the order of the factors fixed throughout: any step that silently commutes two factors is invalid. The exponents 8h−178h-178h−17 and h−2h-2h−2 are exactly what the paper's bookkeeping yields; a looser chain gives a worse but still linear exponent (the paper notes α9β\alpha^9\betaα9β for ∣BBB∣|BBB|∣BBB∣ via a different route, p. 10).

Formalization scope

All statements live in the namespace PlunneckeType.Tao and use Mathlib's pointwise Finset operations under open scoped Pointwise, in a group {G : Type*} [Group G] [DecidableEq G], never CommGroup.

  • XYXYXY is X * Y, X−1X^{-1}X−1 is X⁻¹, BhB^hBh is B ^ h, and BbBBbBBbB is B * {b} * B, with the single element in the middle. Products keep the order printed in the paper.
  • Cardinalities are #X cast to ℝ; α,β\alpha, \betaα,β are real numbers with no sign hypotheses. If BBB is nonempty the hypotheses force α,β≥1\alpha, \beta \ge 1α,β≥1; if BBB is empty every statement reads 0≤00 \le 00≤0.
  • hhh is a natural number with 2 < h. Under this hypothesis the natural-number exponents 8 * h - 17 and h - 2, and the powers B ^ (h - 1), B ^ (h - 2), are exact. The goal does not claim h=2h = 2h=2, where the printed exponent would be negative.
  • The minimal-growth condition is written cross-multiplied, ∣AB∣ ∣Z∣≤∣ZB∣ ∣A∣|AB|\,|Z| \le |ZB|\,|A|∣AB∣∣Z∣≤∣ZB∣∣A∣ for every nonempty Z⊆BZ \subseteq BZ⊆B, with AAA nonempty: the ratio ∣ZB∣/∣Z∣|ZB|/|Z|∣ZB∣/∣Z∣ is defined only for nonempty sets, and with A=∅A = \emptysetA=∅ the condition would hold vacuously.
  • Theorem 1.6 is stated for a non-commutative Group. A version for commutative groups, or one that adds a hypothesis implying commutativity of the relevant products, is a different and weaker theorem and does not count.

Recorded deviations from the printed text: Theorem 1.6 reads "Let BBB be finite a set" (word order; kept verbatim in the milestone text); the strategy paragraph on p. 9 says "cover the middle copy of BBB by A−1AXA^{-1}AXA−1AX", where the set is A−1ATA^{-1}ATA−1AT; display (11)'s lead-in writes "Y=B−1Y = B-1Y=B−1" for Y=B−1Y = B^{-1}Y=B−1. The Lean statements use the intended mathematics.

Tools solvers will find in Mathlib (Mathlib/Combinatorics/Additive/): Finset.pluennecke_petridis_inequality_mul (Proposition 2.1), Finset.ruzsa_triangle_inequality_mul_mulInv_mul and its variants (Lemma 4.2, up to Finset.card_inv), Finset.ruzsa_covering_mul (Lemma 4.1, after inverting), Finset.card_singleton_mul, Finset.card_mul_singleton. Lemmas 4.1 and 4.2 are cited results of Ruzsa and are not items of this mission. Proofs of any milestone, and any reusable lemmas on non-abelian product sets, are welcome.

Selected references

  • G. Petridis, New proofs of Plünnecke-type estimates for product sets in groups, arXiv:1101.3507v3, 2011; Combinatorica 32 (2012). https://arxiv.org/abs/1101.3507 · https://doi.org/10.1007/s00493-012-2818-5
  • T. Tao, Product set estimates for non-commutative groups, Combinatorica 28 (2008) 547–594. https://arxiv.org/abs/math/0601431
  • H. Plünnecke, Eine zahlentheoretische Anwendung der Graphtheorie, J. Reine Angew. Math. 243 (1970) 171–183. https://doi.org/10.1515/crll.1970.243.171
  • I. Z. Ruzsa, Towards a noncommutative Plünnecke-type inequality, in I. Bárány and J. Solymosi (eds.), An Irregular Mind: Szemerédi is 70, Bolyai Soc. Math. Stud. 21, Springer, 2010 (reference [14] of Petridis).
  • I. Z. Ruzsa, Cardinality questions about sumsets, in A. Granville, M. B. Nathanson and J. Solymosi (eds.), Additive Combinatorics, CRM Proceedings & Lecture Notes, AMS, 2006 (reference [12] of Petridis).
9 thms2 active usersReviewed
🏆Completed
Group Theory·Captain: mikedeng1

New Proofs of Plünnecke-type Estimates for Product Sets in Groups 3: If |AB| ≤ α|A|, |AbB| ≤ β|A| for b ∈ B and |A| ≤ γ|B|, Some S ⊆ A Has |SBʰ| ≤ α^(8h−9) β^(h−1) γ^(4h−5) |S| for h > 1Research Paper

Motivation

Plünnecke–Ruzsa inequalities bound the size of iterated sumsets: if AAA and BBB are finite subsets of an abelian group with ∣A+B∣≤α∣A∣|A+B| \le \alpha|A|∣A+B∣≤α∣A∣, then ∣hB∣≤αh∣A∣|hB| \le \alpha^h|A|∣hB∣≤αh∣A∣ for every hhh, where hB=B+⋯+BhB = B + \dots + BhB=B+⋯+B. They are a basic tool of additive combinatorics, used in Freiman-type structure theorems, sum–product estimates and the study of approximate groups. Plünnecke's original proof went through a graph-theoretic argument; Ruzsa simplified and extended it.

G. Petridis, New proofs of Plünnecke-type estimates for product sets in groups (arXiv:1101.3507v3, 2011; Combinatorica 32, 2012, doi:10.1007/s00493-012-2818-5), gave a short, purely combinatorial proof. Its core (Proposition 2.1, p. 5) is that a subset X⊆AX \subseteq AX⊆A minimising ∣XB∣/∣X∣|XB|/|X|∣XB∣/∣X∣ satisfies ∣CXB∣≤α∣CX∣|CXB| \le \alpha|CX|∣CXB∣≤α∣CX∣ for every finite CCC, in any group.

In a non-abelian group the hypothesis ∣AB∣≤α∣A∣|AB| \le \alpha|A|∣AB∣≤α∣A∣ alone does not control ∣ABh∣|AB^h|∣ABh∣ or ∣Bh∣|B^h|∣Bh∣. Tao (Product set estimates for non-commutative groups, Combinatorica 28, 2008) showed that an extra condition on triple products restores polynomial bounds, without explicit exponents. Petridis' §4 makes Tao's bound explicit for a single set; this mission is §5 of the paper, which treats two sets AAA and BBB of comparable size.

Timeline:

  • 1970: Plünnecke, graph-theoretic inequalities for sumsets in abelian groups.
  • 1989: Ruzsa, simplified proof and the inequality ∣mB−nB∣≤αm+n∣A∣|mB - nB| \le \alpha^{m+n}|A|∣mB−nB∣≤αm+n∣A∣.
  • 2008: Tao, Plünnecke-type estimates in non-commutative groups under a triple-product hypothesis.
  • 2011: Petridis, the minimal-growth argument; explicit non-abelian bounds (Theorems 1.6 and 1.7).

Setting

Let GGG be a group, written multiplicatively and not necessarily commutative. For finite subsets X,Y⊆GX, Y \subseteq GX,Y⊆G write

XY={xy:x∈X, y∈Y},X−1={x−1:x∈X},XY = \{xy : x \in X,\ y \in Y\}, \qquad X^{-1} = \{x^{-1} : x \in X\},XY={xy:x∈X, y∈Y},X−1={x−1:x∈X},

∣X∣|X|∣X∣ for the number of elements, Bh=B⋯BB^h = B \cdots BBh=B⋯B (hhh factors), and AbB=A{b}BAbB = A\{b\}BAbB=A{b}B for b∈Gb \in Gb∈G. The order of factors matters: SBhSB^hSBh multiplies SSS on the left of BhB^hBh.

The three hypotheses of the mission are, for finite A,B⊆GA, B \subseteq GA,B⊆G and real numbers α,β,γ\alpha, \beta, \gammaα,β,γ:

  1. ∣AB∣≤α∣A∣|AB| \le \alpha|A|∣AB∣≤α∣A∣ (small product set);
  2. ∣AbB∣≤β∣A∣|AbB| \le \beta|A|∣AbB∣≤β∣A∣ for every b∈Bb \in Bb∈B (small triple products);
  3. ∣A∣≤γ∣B∣|A| \le \gamma|B|∣A∣≤γ∣B∣ (comparable sizes).

A minimal-growth subset of AAA (with respect to BBB) is a nonempty S⊆AS \subseteq AS⊆A with ∣SB∣/∣S∣≤∣ZB∣/∣Z∣|SB|/|S| \le |ZB|/|Z|∣SB∣/∣S∣≤∣ZB∣/∣Z∣ for every nonempty Z⊆AZ \subseteq AZ⊆A. In Lean this is written cross-multiplied: ∣SB∣ ∣Z∣≤∣ZB∣ ∣S∣|SB|\,|Z| \le |ZB|\,|S|∣SB∣∣Z∣≤∣ZB∣∣S∣.

Formalization targets

Goal: Theorem 1.7 (p. 4)

If AAA is nonempty and (1)–(3) hold, there is a nonempty S⊆AS \subseteq AS⊆A such that for every integer h>1h > 1h>1

∣SBh∣≤α8h−9βh−1γ4h−5 ∣S∣.|SB^{h}| \le \alpha^{8h-9}\beta^{h-1}\gamma^{4h-5}\,|S|.∣SBh∣≤α8h−9βh−1γ4h−5∣S∣.

The same SSS serves every hhh.

Milestones (in the order the proof uses them)

  • (12) (p. 12): for a minimal-growth SSS under (1), ∣CSB∣≤α∣CS∣|CSB| \le \alpha|CS|∣CSB∣≤α∣CS∣ for every finite CCC.
  • Corollary 5.1 (p. 11): if B≠∅B \ne \emptysetB=∅ and ∣CSB∣≤α∣CS∣|CSB| \le \alpha|CS|∣CSB∣≤α∣CS∣ for every finite CCC, then
∣SS−1SS−1∣≤α6(∣S∣∣B∣)3∣S∣.|SS^{-1}SS^{-1}| \le \alpha^{6}\left(\frac{|S|}{|B|}\right)^{3}|S|.∣SS−1SS−1∣≤α6(∣B∣∣S∣​)3∣S∣.
  • (14) (p. 12): under (2), for S⊆AS \subseteq AS⊆A, T⊆BT \subseteq BT⊆B, ∣T∣≤α|T| \le \alpha∣T∣≤α, B≠∅B \ne \emptysetB=∅: ∣STB∣≤αβ∣A∣|STB| \le \alpha\beta|A|∣STB∣≤αβ∣A∣.
  • Proposition 5.2 (p. 12): under (1)–(3), a minimal-growth SSS satisfies ∣SBB∣≤α7βγ3∣S∣|SBB| \le \alpha^{7}\beta\gamma^{3}|S|∣SBB∣≤α7βγ3∣S∣ — the case h=2h = 2h=2 of the goal.
  • Inductive step (proof of Theorem 1.7, p. 13): under the same hypotheses, for every h≥2h \ge 2h≥2,
∣SBh∣≤α8βγ4 ∣SBh−1∣.|SB^{h}| \le \alpha^{8}\beta\gamma^{4}\,|SB^{h-1}|.∣SBh∣≤α8βγ4∣SBh−1∣.

Significance

Theorem 1.7 extends the Plünnecke–Ruzsa inequality to non-abelian groups with explicit exponents, under hypotheses that are checkable on AAA and BBB alone. Bounds of this kind feed into the theory of approximate groups, where polynomial dependence on the doubling constants is what keeps later structure theorems quantitative. The witness SSS is a large-enough piece of AAA on which all powers of BBB grow at a controlled rate, which is the form in which such bounds are used.

The result is proved in the paper. Mathlib formalizes Petridis' Proposition 2.1 (Finset.pluennecke_petridis_inequality_mul, in any group) and the abelian Plünnecke–Ruzsa inequalities (Finset.pluennecke_ruzsa_inequality_*, for commutative groups), but not the non-abelian estimates of §5. This mission adds them: the corollary on SS−1SS−1SS^{-1}SS^{-1}SS−1SS−1, the comparable-size bound for SBBSBBSBB, and the full Theorem 1.7. Companion missions of this series formalize the abelian Theorem 3.1 and the explicit form of Tao's theorem (Theorem 1.6).

Difficulty

The abelian argument iterates ∣CXB∣≤α∣CX∣|CXB| \le \alpha|CX|∣CXB∣≤α∣CX∣ with C=Bh−1C = B^{h-1}C=Bh−1, which needs XBh−1B=Bh−1XBXB^{h-1}B = B^{h-1}XBXBh−1B=Bh−1XB, i.e. commutativity. In a non-abelian group SSS and powers of BBB cannot be reordered, so the bound on ∣CSB∣|CSB|∣CSB∣ does not iterate directly. A second obstacle is that the hypotheses control products of AAA and BBB, while the induction needs control of sets such as SS−1SS−1SS^{-1}SS^{-1}SS−1SS−1 and B−1Bh−1B^{-1}B^{h-1}B−1Bh−1, built from inverses; the hypotheses say nothing directly about such sets, and every passage between them and products of AAA and BBB costs further powers of α\alphaα and γ\gammaγ, which is why the exponents grow like 8h8h8h and 4h4h4h rather than hhh. The abelian bound αh\alpha^hαh should not be expected to transfer unchanged.

Formalization scope

All statements use Mathlib's pointwise Finset algebra under open scoped Pointwise, in {G : Type*} [Group G] [DecidableEq G] — never CommGroup. XYXYXY is X * Y, AbBAbBAbB is A * {b} * B, SBhSB^hSBh is S * B ^ h with B ^ 0 = {1}, X−1X^{-1}X−1 is X⁻¹. Cardinalities are cast to ℝ; α,β,γ\alpha, \beta, \gammaα,β,γ are arbitrary reals, with no sign hypotheses beyond what the page states. Exponents are natural numbers, exact under 1 < h (goal) and 2 ≤ h (inductive step).

Conventions committed to:

  • Nonempty witness. The page says "there exists S⊆AS \subseteq AS⊆A"; every product with ∅\emptyset∅ is empty, so S=∅S = \emptysetS=∅ would make the statement trivially true. The paper's SSS minimises a ratio defined only for nonempty sets, so the goal assumes A≠∅A \ne \emptysetA=∅ and asserts S≠∅S \ne \emptysetS=∅; a formalization without this is ruled out.
  • Minimality is cross-multiplied and ranges over nonempty Z⊆AZ \subseteq AZ⊆A.
  • Division by ∣B∣|B|∣B∣. Corollary 5.1 assumes B≠∅B \ne \emptysetB=∅, since Lean's x/0=0x/0 = 0x/0=0 would make it false otherwise; display (14), stated on its own, also assumes B≠∅B \ne \emptysetB=∅, which the paper's condition (3) supplies.
  • Typos recorded, not encoded. Proposition 5.2 says "sets in a finite group"; it is formalized for finite sets in any group, as in Theorem 1.7. The proof of Theorem 1.7 prints "B⊆A−1ATB \subseteq A^{-1}ATB⊆A−1AT" for B⊆S−1STB \subseteq S^{-1}STB⊆S−1ST and "∣SBh∣⊆∣SS−1STBh−1∣|SB^h| \subseteq |SS^{-1}STB^{h-1}|∣SBh∣⊆∣SS−1STBh−1∣" for an inclusion of sets; neither affects a statement.

Proof tools available in Mathlib: Ruzsa's covering lemma (Lemma 4.1 of the paper, Finset.ruzsa_covering_mul), Ruzsa's triangle inequality (Lemma 4.2, Finset.ruzsa_triangle_inequality_mul_mulInv_mul and siblings, with Finset.card_inv), Proposition 2.1 (Finset.pluennecke_petridis_inequality_mul), and Finset.card_singleton_mul. No new definitions are needed. Proofs of any milestone are welcome; the inequalities (15)–(17) of p. 13 are natural auxiliary lemmas for the inductive step.

Selected references

  • G. Petridis, New proofs of Plünnecke-type estimates for product sets in groups, arXiv:1101.3507v3, 2011; Combinatorica 32 (2012). https://arxiv.org/abs/1101.3507
  • T. Tao, Product set estimates for non-commutative groups, Combinatorica 28 (2008) 547–594. https://arxiv.org/abs/math/0601431
  • I. Z. Ruzsa, An application of graph theory to additive number theory, Scripta Math. 3 (1989) 97–109.
  • H. Plünnecke, Eine zahlentheoretische Anwendung der Graphentheorie, J. Reine Angew. Math. 243 (1970) 171–183. https://doi.org/10.1515/crll.1970.243.171
  • W. T. Gowers, A new way of proving sumset estimates, blog post, 2011. https://gowers.wordpress.com/2011/02/10/a-new-way-of-proving-sumset-estimates/
6 thms2 active usersReviewed
🏆Completed
Representation Theory·Captain: marwahaha

Compatibility entropy and the spectrum of a Thorp sweepOpen Problem

Motivation

Compatibility of independently chosen row and column permutations controls how two families of local symmetries overlap. The source connects a weighted compatibility estimate to Thorp spectral bounds. The source is OpenAI's September 2026 manuscript.

Setting

A row system chooses a permutation in each row of an AAA by DDD array; a column system chooses a permutation in each column. They are compatible when their combined routing remains injective down each column. Nonnegative weights may bias each local permutation.

Formalization targets

WeightedCompatibility⁡(w,v)≤eC0n54/100∏iMθ(wi)∏jMθ(vj),θ=1−L/log⁡n.\operatorname{WeightedCompatibility}(w,v)\le e^{C_0n^{54/100}}\prod_i M_\theta(w_i)\prod_j M_\theta(v_j),\qquad\theta=1-L/\log\sqrt n.WeightedCompatibility(w,v)≤eC0​n54/100i∏​Mθ​(wi​)j∏​Mθ​(vj​),θ=1−L/logn​.

The proposition WeightedCompatibilityTheorem holds. Here, for natural numbers A and D, Rows assigns to each i in Fin A a permutation of Fin D, and Cols assigns to each j in Fin D a permutation of Fin A; a pair (r,c) is Compatible if for every column j the map i ↦ c(r_i(j))(i) is injective. The weightedCompatibility of real weight families w (indexed by i and a permutation of Fin D) and v (indexed by k and a permutation of Fin A) is (AD)! / ((D!)^A (A!)^D) times the uniform mean, over all pairs (r,c), of the indicator of compatibility times ∏_i w_i(r_i) ∏_k v_k(c_k). The marginalFactor for θ and a weight function u is the θ-th power of the uniform mean of u^(1/θ). The stated claim is that there exist reals L, C₀, m₀ > 0 such that for all natural numbers A and D, with n = AD, m = √n and θ = 1 − L/log m, whenever m ≥ m₀, θ > 0, and both A and D lie between m/2 and 2m, then for all nonnegative weight families w and v, weightedCompatibility(A,D,w,v) ≤ exp(C₀ n^(54/100)) · ∏_i marginalFactor(θ, w_i) · ∏_k marginalFactor(θ, v_k).

The goal is OAI.ThorpCompatibility.weightedCompatibility_main. Supporting targets are listed below; they retain their individual hypotheses and are separate statements.

  • remaining main.

Significance

The formal goal is an entropy-type inequality for arbitrary nonnegative local weights in sufficiently large balanced rectangles. It supplies a concrete combinatorial estimate that can support spectral analysis. The manuscript presents a mathematical argument; the attached goal currently has status Open, so the requested contribution is a Lean proof of the displayed formal target.

Difficulty

The compatibility indicator couples all row and column choices. A product of separate marginal expectations loses the injectivity constraint and cannot directly recover the stated exponent.

Formalization scope

The rectangle satisfies n=ADn=ADn=AD, with both side lengths between n/2\sqrt n/2n​/2 and 2n2\sqrt n2n​. The theorem existentially chooses positive L,C0,m0L,C_0,m_0L,C0​,m0​ and assumes positive θ\thetaθ. The marginal factor is the θ\thetaθth power of the uniform mean of the weight to power 1/θ1/\theta1/θ.

The shared definitions are supplied by ThorpRemaining, ThorpWeightedCompatibility. The target uses Lean 4.33.1 with the pinned Mathlib environment. Contributions should preserve the existing statement and develop reusable supporting lemmas in its definitions.

Selected references

  • OpenAI, Compatibility entropy and the spectrum of a Thorp sweep, preprint, September 2026. Manuscript.
  • OpenAI, accompanying Lean statement. Pinned source.
26 thms2 active usersReviewed
🏆Completed
Probability·Captain: marwahaha

Renewal and changes of law for critical honeycomb walksOpen Problem

Motivation

An external force rewards self-avoiding walks whose endpoints move in a chosen direction. The source studies critical honeycomb scaling; the available formal goal supplies existence of the forced free-energy limit. The source is OpenAI's September 2026 manuscript.

Setting

For an nnn-step self-avoiding walk, the endpoint displacement is embedded in the complex plane. Its projection onto eee is the real part of e‾\overline ee times that displacement. The partition sum weights the walk by critical activity to the nnnth power and an exponential force reward.

Formalization targets

1nlog⁡ ⁣∑γ∈SAW⁡n(o)ρnesRe⁡(e‾ Δγ)⟶F(o,e,s),ρ=(2+2)−1/2.\frac1n\log\!\sum_{\gamma\in\operatorname{SAW}_n(o)}\rho^n e^{s\operatorname{Re}(\overline e\,\Delta\gamma)}\longrightarrow F(o,e,s),\qquad\rho=(2+\sqrt2)^{-1/2}.n1​logγ∈SAWn​(o)∑​ρnesRe(eΔγ)⟶F(o,e,s),ρ=(2+2​)−1/2.

For every starting vertex o of the honeycomb lattice, every complex number e and every real number s, the sequence logPartition(o,e,s)(n) converges as n tends to infinity to freeEnergy(o,e,s). Here vertices are triangular-up or triangular-down sites labeled by integer column and row, each up vertex being adjacent to three down vertices and vice versa, with planar positions given in the complex plane. saws(o,n) is the set of self-avoiding walks of n steps from o, meaning vertex lists with no repetition. For such a walk γ, its displacement is the position of its endpoint minus the position of o, and its projection onto e is the real part of conj(e) times the displacement. The partition function is the sum over γ in saws(o,n) of ρ^n exp(s times that projection), with ρ = 1/√(2+√2). logPartition is log of this partition function divided by n, and freeEnergy is defined as the limit of logPartition at infinity, using Lean's limUnder convention. The statement therefore asserts that this limit exists and equals freeEnergy; it is a stated theorem whose proof is admitted in the source.

The goal is OAI.HoneycombForce.logPartition_tendsto.

Significance

The conclusion makes the defined free energy an actual convergent limit for every starting point, direction parameter, and real force. It establishes the thermodynamic quantity underlying later asymptotic questions. The manuscript presents a mathematical argument; the attached goal currently has status Open, so the requested contribution is a Lean proof of the displayed formal target.

Difficulty

Finite sums at each length do not guarantee convergence after normalization. Self-avoidance couples concatenated pieces, so ordinary independent-product arguments are unavailable without additional work.

Formalization scope

The target allows any complex eee and real sss, without a unit-direction restriction. Length counts steps, and walk lists contain n+1n+1n+1 distinct vertices. The spatial exponent, thermal laws, and small-force exponent from the manuscript are not attached conclusions.

The shared definitions are supplied by HoneycombFreeEnergy. The target uses Lean 4.33.1 with the pinned Mathlib environment. Contributions should preserve the existing statement and develop reusable supporting lemmas in its definitions.

Selected references

  • OpenAI, Renewal and changes of law for critical honeycomb walks, preprint, September 2026. Manuscript.
  • OpenAI, accompanying Lean statement. Pinned source.
4 thms2 active usersReviewed
🏆Completed
Captain: marwahaha

A Counterexample to the Infinite Matroid Packing/Covering ConjectureOpen Problem

Motivation

Finite matroid packing and covering principles connect disjoint spanning sets with independent covers. The source seeks a concrete obstruction to extending the unrestricted principle to infinite ground sets. The source is OpenAI's September 2026 manuscript.

Setting

A matroid records independent subsets and their closure. A packing/covering partition divides the common ground set into a part with disjoint spanning sets in restrictions and a part covered by independent sets in contractions. Self-duality means equality with the dual on the same labelled ground set.

Formalization targets

∃M0,M1 on a countably infinite E:Mi∗=Mi,I0∪I1≠E for every independent pair,¬HasPackingCovering⁡(M0,M1).\exists M_0,M_1\text{ on a countably infinite }E:\quad M_i^*=M_i,\quad I_0\cup I_1\ne E\text{ for every independent pair},\quad\neg\operatorname{HasPackingCovering}(M_0,M_1).∃M0​,M1​ on a countably infinite E:Mi∗​=Mi​,I0​∪I1​=E for every independent pair,¬HasPackingCovering(M0​,M1​).

The ground type E = ℤ × D, where D is the type of pairs consisting of a natural number m and a Boolean function on Boolean m-tuples, is countable and infinite, and that there exist two matroids M₀ and M₁ on E, each with ground set all of E, each equal to its own dual, such that no independent set of M₀ and independent set of M₁ have union all of E. Yet the pair fails HasPackingCovering. That predicate asks for a partition of the common ground set into P and C, two disjoint subsets S₀ and S₁ of P that are spanning in the restrictions M₀|P and M₁|P respectively, and subsets I₀ and I₁ of C that are independent in the contractions of M₀ and M₁ onto C (the dual of the restriction of the dual to C), with I₀ ∪ I₁ = C. So the theorem asserts a countably infinite pair of self-dual matroids with no such packing-covering decomposition.

The goal is OAI.InfiniteMatroidCounterexample.main. Supporting targets are listed below; they retain their individual hypotheses and are separate statements.

  • partitional intersection counterexample.
  • separate covering packing counterexamples.

Significance

The goal simultaneously supplies a countable infinite example, failure of a full independent cover, and failure of every mixed partition. Additional attached statements treat partitional matroids, intersection, and the separate packing and covering assertions. The manuscript presents a mathematical argument; the attached goal currently has status Open, so the requested contribution is a Lean proof of the displayed formal target.

Difficulty

Failure of a full independent cover does not by itself exclude a mixed partition. The matroids must satisfy the infinite independence axioms, including maximal extension, throughout the construction.

Formalization scope

The ground type is the fixed product of integers with finite Boolean-function data. Mathlib matroids have ground set equal to the entire type in the goal. The two source definition groups have overlapping declarations and remain separate reference groups, with no aggregate import.

The shared definitions are supplied by InfiniteMatroid, InfiniteMatroidCorollaries. The target uses Lean 4.33.1 with the pinned Mathlib environment. Contributions should preserve the existing statement and develop reusable supporting lemmas in its definitions.

Selected references

  • OpenAI, A Counterexample to the Infinite Matroid Packing/Covering Conjecture, preprint, September 2026. Manuscript.
  • OpenAI, accompanying Lean statement. Pinned source.
59 thms2 active usersReviewed
🏆Completed
Graph Theory·Captain: marwahaha

A logarithmic independence bound for clique-free graphsOpen Problem

Motivation

Excluding a fixed clique should force independent sets larger than those guaranteed by average degree alone. The source asks for the full logarithmic improvement uniformly across graph sizes. The source is OpenAI's September 2026 manuscript.

Setting

An independent set contains no adjacent pair. Write nnn for the number of vertices, d=2∣E∣/nd=2|E|/nd=2∣E∣/n for average degree, and α(G)α(G)α(G) for the largest independent-set size. A graph is clique-free of order rrr when it contains no rrr pairwise adjacent vertices.

Formalization targets

∀r≥4 ∃cr>0:α(G)≥crnlog⁡dd(d≥2, G is Kr-free).\forall r\ge4\ \exists c_r>0:\quad \alpha(G)\ge c_r\frac{n\log d}{d}\qquad(d\ge2,\ G\text{ is }K_r\text{-free}).∀r≥4 ∃cr​>0:α(G)≥cr​dnlogd​(d≥2, G is Kr​-free).

For every natural number r ≥ 4, there is a real constant c > 0 such that the following holds for every finite simple graph G on a vertex type V (a Fintype). Here the average degree d(G) is defined as 2|E(G)|/|V|, twice the number of edges divided by the number of vertices (as a real number). If G contains no clique of size r (it is r-clique-free) and d(G) ≥ 2, then the independence number α(G), the maximum size of an independent set, satisfies α(G) ≥ c · |V| · log(d(G)) / d(G), where log is the natural logarithm of real numbers. The constant c may depend on r but not on G.

The goal is OAI.CliqueFreeLog.logarithmic_independence_bound.

Significance

The bound improves the general inverse-degree scale by a factor of natural logarithmic size. The constant may depend on the forbidden clique but must work for every input graph. The manuscript presents a mathematical argument; the attached goal currently has status Open, so the requested contribution is a Lean proof of the displayed formal target.

Difficulty

The condition forbids ordinary cliques rather than imposing bounded complexity on every neighborhood. Estimates using maximum degree alone do not establish the stated average-degree bound.

Formalization scope

The representation is Mathlib SimpleGraph on a finite type. Real.log is the natural logarithm and the hypothesis d≥2d\ge2d≥2 keeps its argument and the denominator positive. The empty graph is excluded by that hypothesis.

The shared definitions are supplied by CliqueFreeLog. The target uses Lean 4.33.1 with the pinned Mathlib environment. Contributions should preserve the existing statement and develop reusable supporting lemmas in its definitions.

Selected references

  • OpenAI, A logarithmic independence bound for clique-free graphs, preprint, September 2026. Manuscript.
  • OpenAI, accompanying Lean statement. Pinned source.
25 thms2 active usersReviewed
Graph Theory·Captain: marwahaha

A proof of Seymour’s second-neighborhood conjectureOpen Problem

Motivation

An oriented graph may have very uneven outdegrees, yet the second-neighborhood conjecture asks for one vertex whose new two-step reach is at least its immediate outdegree. The source manuscript presents the surrounding research claim.

Setting

An oriented graph is a loopless asymmetric relation r on a finite nonempty vertex type. First neighbors satisfy r(v,w). Second neighbors are vertices w distinct from v, not already first neighbors, but reached by some directed path v→u→w.

Formalization target

Prove that some vertex v satisfies

∣N1+(v)∣≤∣N2+(v)∣.|N_1^+(v)|\le|N_2^+(v)|.∣N1+​(v)∣≤∣N2+​(v)∣.

Every second-neighborhood vertex is counted once, irrespective of how many two-step paths reach it.

The selected formal target is OAI.SeymourSecondNeighborhood.exists_goodVertex.

Significance and status

The statement covers all finite oriented graphs, including disconnected graphs and graphs whose underlying undirected graph is not complete. The published target is currently Open; the manuscript's argument and a checked Lean proof are separate deliverables.

Difficulty

Counting length-two walks overcounts repeated endpoints and may include first neighbors. The conclusion concerns the set of vertices at directed distance exactly two.

Formalization scope

The formal relation need not be supplied with decidability; the finite sets are formed classically. Looplessness and asymmetry are explicit hypotheses, and the vertex type is finite and nonempty. GoodVertex is exactly the finite-cardinality comparison.

Selected references

  • OpenAI, A proof of Seymour’s second-neighborhood conjecture, preprint, 2026. Pinned manuscript.
  • OpenAI, accompanying formal statements, commit adc7f1241b42. Goal source.
7 thms2 active usersReviewed
🏆Completed
Discrete Geometry·Captain: marwahaha

A classification of finite Euclidean Ramsey configurationsOpen Problem

Motivation

Euclidean Ramsey theory asks which finite shapes must occur monochromatically in a sufficiently high dimension. The scale is fixed, so an algebraic criterion must capture exact distances rather than approximate similarity. The source manuscript presents the surrounding research claim.

Setting

A Ramsey configuration a=(aᵢ) has a monochromatic congruent copy under every finite coloring in some dimension depending on the number of colors. Let F be the rational field generated by all coordinates, B=F⊗ℚF, and pᵢ=(1,aᵢ) the augmented coordinate vectors. Multiplication m:B→F sends x⊗y to xy.

Formalization target

For an injective configuration of at least two points affinely spanning ℝᵈ with d≥1, prove

Ramsey⁡(a)  ⟺  FieldCriterion⁡(a).\operatorname{Ramsey}(a)\iff\operatorname{FieldCriterion}(a).Ramsey(a)⟺FieldCriterion(a).

The criterion asks for a matrix P over B with (pᵢ⊗1)ᵀP(1⊗pᵢ)=0 for every i and m(P_{αβ})=δ_{αβ} on the coordinate-coordinate block.

The selected formal target is OAI.EuclideanRamsey.classification.

Significance and status

The criterion is necessary and sufficient for the stated configurations. Available companion targets describe spherical necessity, positive classes and concrete non-Ramsey circle configurations. The published target is currently Open; the manuscript's argument and a checked Lean proof are separate deliverables.

Difficulty

Applying m to the tensor identity loses information because multiplication need not be injective. Equality in the tensor ring, and arbitrary colorings without measurability, are essential.

Formalization scope

The goal uses real Euclidean coordinates and the exact generated intermediate field over ℚ. Congruence preserves all pairwise distances at their original scale. All published companion references are retained as separate groups because they repeat Ramsey definitions. Milestones state their own hypotheses and do not identify every spherical set as Ramsey.

Selected references

  • OpenAI, A classification of finite Euclidean Ramsey configurations, preprint, 2026. Pinned manuscript.
  • OpenAI, accompanying formal statements, commit adc7f1241b42. Goal source.
42 thms2 active usersReviewed
PreviousPage 9 of 26Next

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me