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 · 348 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

Open282Completed348All630
🏆Completed
Mechanism Design·Captain: Shuze Chen

Algorithmic Game Theory V: Stable Matching and Trading without MoneyTextbook

Algorithmic Game Theory V: Stable Matching and Trading without Money

Motivation

When money is off the table and the Gibbard–Satterthwaite theorem (Mission III of this series) blocks general strategyproof choice, restricted preference domains reopen the door. The two great examples both come from allocation: Shapley–Scarf's housing market (1974), where Gale's Top Trading Cycle algorithm finds the unique core allocation and Roth (1982) showed the mechanism is strategy-proof; and the Gale–Shapley marriage market (1962), where deferred acceptance produces a stable matching, the men-optimal one, which Dubins–Freedman (1981) and Roth (1982) showed cannot be manipulated by any man. This machinery runs the US medical residency match and school choice systems worldwide, and the 2012 Nobel memorial prize to Roth and Shapley cites exactly the results of this mission. Chapter 10 (Schummer–Vohra, "Mechanism Design without Money") of Nisan–Roughgarden–Tardos–Vazirani (eds.), Algorithmic Game Theory (Cambridge, 2007) is the source text; its single-peaked §10.2 is left to a possible later mission, since it needs its own preference-domain machinery.

Setting

Marriage market (§10.4): finite sets MMM of men and WWW of women, each agent holding a strict preference ordering over the opposite side (the preference-profile vocabulary of Mission III; P i a bP\,i\,a\,bPiab reads "iii strictly prefers aaa to bbb"). Following the book's dummy-partner convention, ∣M∣=∣W∣|M| = |W|∣M∣=∣W∣ and a matching is a bijection μ:M≃W\mu : M \simeq Wμ:M≃W. A pair (m,w)(m, w)(m,w) blocks μ\muμ if each prefers the other to their assigned partner; μ\muμ is stable if no pair blocks it. A stable μ\muμ is male-optimal if every man weakly prefers it to every stable alternative. A coalition dominates μ\muμ if it can rematch within itself with every member strictly better off; the core is the set of undominated matchings.

Housing market (§10.3): a finite set NNN of agents, agent iii owning house iii, each with a strict preference over all houses; an allocation is a permutation of NNN. A coalition blocks an allocation if it can redistribute the houses its members own so that all are weakly and someone strictly better off.

Formalization targets

Goal (capstone) — Theorem 10.13

Any mechanism selecting the male-optimal stable matching is strategy-proof for the men: no man can misreport his ordering and obtain a wife he truly prefers.

Theorem 10.10 — existence

Every marriage market has a stable matching.

Theorem 10.11 / Gale–Shapley 1962 — male-optimality

Some stable matching is weakly best for every man simultaneously. This man-by-man form is Gale–Shapley's optimal assignment (1962, Theorem 2); the book's Theorem 10.11 phrases male-optimality as the absence of a stable alternative making every man weakly and some man strictly better off, which is equivalent for finite strict markets — the equivalence being a (short) theorem, the attribution follows Gale–Shapley.

Theorem 10.12 — the core

A matching is stable iff it is in the core of the matching game.

Theorems 10.6 and 10.7 — housing

The core of the housing market is a single allocation, and the mechanism selecting it is strategy-proof.

Significance

These are the foundational theorems of market design — the branch of mechanism design with the strongest record of deployed systems — and none of them exists in Lean. The mission also settles a methodological point for the series: algorithm-defined objects (deferred acceptance, top trading cycles) enter through the properties that characterize their outputs — male-optimality, core membership — so the theorems are statements about all mechanisms with the given property, and any construction of the algorithm proves the existence milestones. The matching vocabulary (bijections as matchings, blocking, stability, domination) is reusable for the college-admissions and roommates variants beyond this mission.

Difficulty

Existence (10.10) is the real formalization work: whether by formalizing deferred acceptance and its termination or by another route (e.g. Adachi's fixed-point formulation, which the book sketches as Theorem 10.14 via Tarski), the solver must build the proposal machinery. Male-optimality (10.11) rides on the same construction with the "no man is ever rejected by an achievable wife" invariant. The core equivalence (10.12) is deliberately light — a transposition embeds a blocking pair as a two-agent coalition. Housing uniqueness (10.6) needs the cycle-peeling induction of TTC. The two strategyproofness results are the subtle ones: both known proof routes (Dubins–Freedman's combinatorial argument, or Roth's via the blocking lemma) require careful bookkeeping of which coalitions can improve under a misreport, and the mechanism is pinned only by its defining property, so proofs must use optimality/core facts rather than algorithm internals.

Formalization scope

Preferences are strict total orders as in Mission III (IsPrefProfile), oriented "first argument preferred". Matchings are Equivs; the book's ∣M∣=∣W∣|M| = |W|∣M∣=∣W∣ convention enters the existence statements as the hypothesis Nonempty (M ≃ W) and nothing else about cardinalities is assumed. Domination and house-blocking quantify a rematching Equiv together with the improving coalition, coalitions being sets closed under the rematching — single-agent and pair coalitions are special cases, so no separate pair-blocking clause is needed in the core theorems. Mechanisms in the strategyproofness results are arbitrary functions constrained only by their defining property (male-optimal selection; core selection), quantified before the misreport — nothing may be chosen with hindsight. Both sides keep finiteness only where used: the core equivalence (10.12) holds for arbitrary types and carries no Fintype.

Selected references

  • D. Gale, L. S. Shapley, College admissions and the stability of marriage, Amer. Math. Monthly 69 (1962), 9–15. DOI
  • L. Shapley, H. Scarf, On cores and indivisibility, J. Math. Econ. 1 (1974), 23–37. DOI
  • L. E. Dubins, D. A. Freedman, Machiavelli and the Gale–Shapley algorithm, Amer. Math. Monthly 88 (1981), 485–494. DOI
  • A. E. Roth, The economics of matching: stability and incentives, Math. Oper. Res. 7 (1982), 617–628. DOI
  • A. E. Roth, Incentive compatibility in a market with indivisible goods, Econ. Letters 9 (1982), 127–132. DOI
  • N. Nisan, T. Roughgarden, É. Tardos, V. V. Vazirani (eds.), Algorithmic Game Theory, Cambridge University Press, 2007, Chapter 10. DOI
9 thms3 active usersReviewed
🏆Completed
Complexity Theory·Captain: marwahaha

Block Sensitivity vs. Sensitivity: Classical Quadratic BoundResearch Paper

Certify the classical quadratic separation between sensitivity and block sensitivity: α≥2\alpha\ge2α≥2.

For a total Boolean function f:{0,1}n→{0,1}f:\{0,1\}^n\to\{0,1\}f:{0,1}n→{0,1}, write xBx^BxB for the input obtained by flipping the coordinates in BBB. Its sensitivity is s(f)=max⁡x∣{i:f(x{i})≠f(x)}∣s(f)=\max_x|\{i:f(x^{\{i\}})\ne f(x)\}|s(f)=maxx​∣{i:f(x{i})=f(x)}∣. Its block sensitivity bs(f)bs(f)bs(f) is the largest number of pairwise disjoint nonempty sets BBB that satisfy f(xB)≠f(x)f(x^B)\ne f(x)f(xB)=f(x) at a common input xxx.

The goal is to prove that for every ε>0\varepsilon>0ε>0 and every integer S≥2S\ge2S≥2, there is a total Boolean function with

s(f)≥S,bs(f)≥s(f)2−ε.s(f)\ge S,\qquad bs(f)\ge s(f)^{2-\varepsilon}.s(f)≥S,bs(f)≥s(f)2−ε.

The construction milestone is Rubinstein’s quadratic separation: for each integer m≥1m\ge1m≥1, there is a function on (2m)2(2m)^2(2m)2 bits with

s(f)=2m,bs(f)=2m2.s(f)=2m,\qquad bs(f)=2m^2.s(f)=2m,bs(f)=2m2.

These exact bounds imply the goal because bs(f)=s(f)2/2bs(f)=s(f)^2/2bs(f)=s(f)2/2 and sensitivity grows without bound. This is a known theorem; the task is to formalize it using the campaign’s shared definitions.

The main combinatorial work is controlling sensitivity at every input and proving the matching block-sensitivity bounds. Lean represents functions as (Fin n → Bool) → Bool; both measures are maxima over all inputs. The goal reuses SensitivityCampaign.AchievesExponent, so it has exactly the same meaning as the campaign’s stronger targets. No composition theorem is required for this family argument.

References: David Rubinstein, Sensitivity vs. block sensitivity of Boolean functions, Combinatorica 15 (1995), 297–299, DOI. The statement and construction are also recalled in Theorem 1 of Madars Virza, Sensitivity versus block sensitivity of Boolean functions (2010), arXiv:1008.0521.

4 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryMechanism DesignOperations Research·Captain: mikedeng1

Combinatorial Auctions with Interdependent Valuations: SOS to the Rescue 3: The k-HL Mechanism Is Ex-Post IC-IR and a (k+3)-Approximation to Welfare with k Signal ValuesResearch Paper

Motivation

In many auctions a bidder's value for what she wins depends on information held by others. The value of an oil lease, a spectrum licence or a piece of art to one bidder depends on survey data, market forecasts or expert opinions that other bidders hold privately. The model of interdependent values (Milgrom and Weber, 1982) captures this: each agent iii holds a private signal sis_isi​, and every agent's value is a publicly known function of the whole signal profile s=(s1,…,sn)\mathbf s=(s_1,\dots,s_n)s=(s1​,…,sn​).

With interdependent values, maximizing welfare in ex-post equilibrium is impossible unless the valuations satisfy the single-crossing condition (Maskin, 1992; Dasgupta and Maskin, 2000), and even single crossing does not suffice beyond single-item auctions with single-dimensional signals. Without any condition, there are valuations for which no deterministic mechanism achieves a bounded approximation ratio and no randomized mechanism does better than a factor nnn (Eden, Feldman, Fiat and Goldner, ACM EC 2018; Examples 1.2–1.3 of the source). Eden, Feldman, Fiat, Goldner and Karlin (arXiv:1903.08384v2, 2019) introduce submodularity over signals (SOS): raising one signal increases a value by less when the other signals are higher. They show that SOS valuations admit constant-factor, or signal-space-dependent, approximations in settings where single crossing fails, including combinatorial auctions. This mission formalizes their Theorem 6.1, the case of combinatorial auctions with single-dimensional signals taking kkk values.

Timeline. Milgrom–Weber (1982) introduce the interdependent values model. Maskin (1992) and Dasgupta–Maskin (2000) show that single crossing makes efficient auctions truthful. Jehiel–Moldovanu (2001) show that efficient implementation fails generically with multidimensional signals. Eden–Feldman–Fiat–Goldner (2018) give approximations under a relaxed, ccc-single-crossing condition, with ratios depending on ccc and nnn. Eden–Feldman–Fiat–Goldner–Karlin (2019; Mathematics of Operations Research, 2024) introduce SOS and prove Theorems 4.1, 5.1, 6.1 and 6.5.

Setting

There are nnn agents and mmm items, and k≥1k\ge1k≥1 signal values. Each agent iii has a signal si∈{0,1,…,k−1}s_i\in\{0,1,\dots,k-1\}si​∈{0,1,…,k−1}, and {0,…,k−1}n\{0,\dots,k-1\}^n{0,…,k−1}n is the grid. Agent iii's value for a bundle T⊆[m]T\subseteq[m]T⊆[m] at the profile s\mathbf ss is viT(s)≥0v_{iT}(\mathbf s)\ge0viT​(s)≥0; the empty bundle is worth 000, and for nonempty TTT, viTv_{iT}viT​ is weakly increasing in every signal and strictly increasing in sis_isi​. We write (s−i,xi)(\mathbf s_{-i},x_i)(s−i​,xi​) for the profile with agent iii's signal replaced by xxx, and (sA,0B)(\mathbf s_A,\mathbf 0_B)(sA​,0B​) for the profile that keeps the signals of the agents in AAA and sets those in BBB to 000.

A function www of the profile is SOS if for every coordinate jjj, all x,δ≥0x,\delta\ge0x,δ≥0 with x+δ≤k−1x+\delta\le k-1x+δ≤k−1, and grid profiles with s−j′≤s−j\mathbf s'_{-j}\le\mathbf s_{-j}s−j′​≤s−j​ coordinatewise,

w(s−j,x+δ)−w(s−j,x)  ≤  w(s−j′,x+δ)−w(s−j′,x).w(\mathbf s_{-j},x+\delta)-w(\mathbf s_{-j},x)\;\le\;w(\mathbf s'_{-j},x+\delta)-w(\mathbf s'_{-j},x).w(s−j​,x+δ)−w(s−j​,x)≤w(s−j′​,x+δ)−w(s−j′​,x).

The setting is SOS when every viTv_{iT}viT​ is.

A feasible allocation gives disjoint bundles T1,…,TnT_1,\dots,T_nT1​,…,Tn​; its welfare at s\mathbf ss is ∑iviTi(s)\sum_i v_{iT_i}(\mathbf s)∑i​viTi​​(s). A deterministic mechanism maps reported profiles to an allocation and payments. Agent iii's utility is her value, at the true profile, for the bundle she receives at the reported profile, minus her payment. The mechanism is ex-post IC if truthful reporting maximizes each agent's utility whenever the others report truthfully, and ex-post IR if that utility is nonnegative. A randomized mechanism is universally ex-post IC-IR if every deterministic mechanism in its support is.

The mechanism k-HL runs, with probability pRT=k−1k+3p_{RT}=\frac{k-1}{k+3}pRT​=k+3k−1​, Random Threshold: choose ℓ\ellℓ uniformly in {1,…,k−1}\{1,\dots,k-1\}{1,…,k−1}, call N≥ℓ={i:si≥ℓ}N_{\ge\ell}=\{i:s_i\ge\ell\}N≥ℓ​={i:si​≥ℓ} the high agents, allocate to them a feasible allocation maximizing ∑i∈N≥ℓviSi(sN<ℓ,ℓN≥ℓ)\sum_{i\in N_{\ge\ell}}v_{iS_i}(\mathbf s_{N_{<\ell}},\ell_{N_{\ge\ell}})∑i∈N≥ℓ​​viSi​​(sN<ℓ​​,ℓN≥ℓ​​), and charge agent iii receiving Tˉi\bar T_iTˉi​ the price viTˉi(s−i,si=ℓ−1)v_{i\bar T_i}(\mathbf s_{-i},s_i=\ell-1)viTˉi​​(s−i​,si​=ℓ−1). Otherwise it runs Random Sampling: split the agents uniformly at random into AAA and BBB, allocate to BBB a feasible allocation maximizing ∑i∈BviSi(sA,0B)\sum_{i\in B}v_{iS_i}(\mathbf s_A,\mathbf 0_B)∑i∈B​viSi​​(sA​,0B​), and charge nothing. In the Lean development (namespace InterdepSOS.KHL) these are rtAlloc, rtPay, rsAlloc and khlWelfare.

Formalization targets

Goal: Theorem 6.1 (p. 20)

For SOS valuations with kkk signal values, every Random Threshold component and every Random Sampling component is ex-post IC and IR, and for every grid profile s\mathbf ss and every feasible allocation T∗T^*T∗,

∑iviTi∗(s)  ≤  (k+3) E[welfare of k-HL at s],\sum_i v_{iT^*_i}(\mathbf s)\;\le\;(k+3)\,\mathbb E\bigl[\text{welfare of k-HL at }\mathbf s\bigr],i∑​viTi∗​​(s)≤(k+3)E[welfare of k-HL at s],

where the expectation is over ℓ\ellℓ, over (A,B)(A,B)(A,B) and over the coin choosing between the two mechanisms, and welfare is measured with true values at the truthful profile.

Milestones

  1. Displays (6)–(7): the welfare of any allocation is at most OTHER+SELF\mathsf{OTHER}+\mathsf{SELF}OTHER+SELF, where OTHER=∑iviTi(s−i,0i)\mathsf{OTHER}=\sum_i v_{iT_i}(\mathbf s_{-i},0_i)OTHER=∑i​viTi​​(s−i​,0i​) and SELF=∑ℓ=1k−1∑i:si=ℓviTi(0−i,si)\mathsf{SELF}=\sum_{\ell=1}^{k-1}\sum_{i:s_i=\ell}v_{iT_i}(\mathbf 0_{-i},s_i)SELF=∑ℓ=1k−1​∑i:si​=ℓ​viTi​​(0−i​,si​).
  2. Random Sampling is ex-post IC-IR for every partition.
  3. Random Threshold is ex-post IC-IR for every threshold.
  4. Lemma 6.2: SELF≤(k−1) E[welfare of Random Threshold]\mathsf{SELF}\le(k-1)\,\mathbb E[\text{welfare of Random Threshold}]SELF≤(k−1)E[welfare of Random Threshold].
  5. Lemma 6.3: OTHER≤4 E[welfare of Random Sampling]\mathsf{OTHER}\le4\,\mathbb E[\text{welfare of Random Sampling}]OTHER≤4E[welfare of Random Sampling].

Significance

Theorem 6.1 is the paper's answer for general combinatorial auctions with single-dimensional signals and arbitrary bundle valuations, a setting where single crossing gives nothing and where the random-sampling technique of the single-parameter case (Theorem 4.1) is not enough on its own: Random Sampling alone covers only the contribution of the other agents' signals. The ratio k+3k+3k+3 depends on the size of the signal space but not on the number of agents or items. The same decomposition, with Random Threshold replaced by a bucketing mechanism, yields the (2log⁡2k+4)(2\log_2k+4)(2log2​k+4)-approximation for strong-SOS valuations (Theorem 6.5), so milestones 1 and 5 are shared by both results.

The result is proved in the paper; no machine-checked version is known to exist. A formalization fixes the incentive argument precisely (which data the allocation may depend on, how ties are broken) and makes the uniform averages over thresholds and partitions explicit. The development reuses the Key Lemma 3.1 of the paper, which is posed in a sibling mission of this series.

Difficulty

Two points resist a direct argument. First, incentive compatibility of Random Threshold requires that a high agent who changes her report within {ℓ,…,k−1}\{\ell,\dots,k-1\}{ℓ,…,k−1} leaves the allocation unchanged, and this is true only if the argmax rule sees the reports through the proxy data (sN<ℓ,ℓN≥ℓ)(\mathbf s_{N_{<\ell}},\ell_{N_{\ge\ell}})(sN<ℓ​​,ℓN≥ℓ​​) alone: an argmax rule that breaks ties using the full report profile can make a high agent's bundle, and hence her utility, depend on her report. The formalization must therefore state precisely what the allocation rule may depend on. Second, the welfare bound for Random Sampling rests on the Key Lemma 3.1 (zeroing a uniformly random half of the other signals keeps, in expectation, half of an SOS value), which here has to hold on the discrete grid {0,…,k−1}n\{0,\dots,k-1\}^n{0,…,k−1}n, with SOS assumed only there; the expectations over partitions and thresholds are finite averages whose bookkeeping (agents in AAA receive nothing, agents outside N≥ℓN_{\ge\ell}N≥ℓ​ receive nothing) must match the mechanism exactly.

Formalization scope

Agents are Fin n, items Fin m, bundles Finset (Fin m), signals natural numbers with the grid condition InGrid k s. All hypotheses on valuations (nonnegativity, monotonicity, strict monotonicity in the own signal, SOS) are imposed on grid profiles only, with the shifted coordinate staying below kkk; a condition on all of Nn\mathbb N^nNn would be stronger than the paper's. The empty bundle is worth 000 and the monotonicity clauses concern nonempty bundles. Allocations are maps Fin n → Finset (Fin m) with pairwise disjoint values; agents outside the eligible set receive ∅\emptyset∅.

The argmax allocations are produced by arbitrary selectors, functions of the threshold (or of BBB) and of the proxy profile, required to return a feasible maximizer of the proxy welfare; the theorems quantify over all such selectors. Expectations are finite uniform averages, 1k−1∑ℓ=1k−1\frac1{k-1}\sum_{\ell=1}^{k-1}k−11​∑ℓ=1k−1​ and 2−n∑B⊆[n]2^{-n}\sum_{B\subseteq[n]}2−n∑B⊆[n]​, never an existential or universal quantifier over ℓ\ellℓ or BBB. The ratio is stated against every feasible allocation, with welfare at true values, never with proxy values and never through a supremum. IC and IR are stated for every component of the mixture, with the paper's explicit payments. Random Sampling zeroes the signals of all of BBB, the agent's own included (the page's "vij(sA,0B)v_{ij}(\mathbf s_A,\mathbf 0_B)vij​(sA​,0B​)" is read as viT(sA,0B)v_{iT}(\mathbf s_A,\mathbf 0_B)viT​(sA​,0B​)). For k=1k=1k=1, pRT=0p_{RT}=0pRT​=0 and the threshold average is the empty sum.

Lemmas 6.2 and 6.3 and displays (6)–(7) are stated for every feasible allocation (every assignment, for (6)–(7)), which is stronger than the paper's statements for a welfare-maximizing T∗T^*T∗.

Needed infrastructure: the Key Lemma 3.1 on the discrete grid, finite averages over subsets, and a lemma that a maximizer over a subfamily of allocations dominates any restriction of a feasible allocation. Contributions of proofs of the milestones in any order are welcome; the IC-IR milestones are independent of the welfare milestones.

The source is the arXiv preprint arXiv:1903.08384v2; the Mathematics of Operations Research (2024) version is not the cited source, and its numbering may differ.

Selected references

  • A. Eden, M. Feldman, A. Fiat, K. Goldner, A. R. Karlin, Combinatorial Auctions with Interdependent Valuations: SOS to the Rescue, arXiv:1903.08384v2, 2019. https://arxiv.org/abs/1903.08384v2
  • A. Eden, M. Feldman, A. Fiat, K. Goldner, Interdependent Values without Single-Crossing, ACM EC 2018 (cited as [Eden et al., 2018] in the source).
  • E. Maskin, Auctions and Privatization, in H. Siebert (ed.), Privatization, 1992 (cited as [Maskin, 1992] in the source).
  • P. Milgrom, R. Weber, A Theory of Auctions and Competitive Bidding, Econometrica 50(5), 1982. https://doi.org/10.2307/1911865
  • P. Dasgupta, E. Maskin, Efficient Auctions, Quarterly Journal of Economics 115(2), 2000. https://doi.org/10.1162/003355300554737
  • P. Jehiel, B. Moldovanu, Efficient Design with Interdependent Valuations, Econometrica 69(5), 2001. https://doi.org/10.1111/1468-0262.00248
9 thms2 active usersReviewed
🏆Completed
Linear OptimizationOperations Research·Captain: mikedeng1

Secretaries with Advice 3: A Closed Form for the Backward-Induction Dual Solution of the Secretary-with-Samples LPResearch Paper

Motivation

In the secretary problem nnn candidates arrive one at a time in uniformly random order; at each arrival the decision maker sees only how the current candidate compares with the earlier ones and must accept or reject irrevocably, aiming to accept the best candidate overall. Dütting, Lattanzi, Paes Leme and Vassilvitskii, Secretaries with Advice (arXiv:2011.06726), study a family of variants in which each candidate also carries a signal about its quality, and show that for many of them the optimal stopping rule is the solution of a finite factor-revealing linear program whose dual can be solved greedily by backward induction.

One of their main examples is the secretary problem with samples: before the nnn candidates arrive, kkk further elements of the same random order are revealed as a sample, and a candidate's signal is the number of sample elements smaller than it. This model interpolates between the classical problem (k=0k=0k=0, optimal success probability tending to 1/e1/e1/e) and, as k→∞k\to\inftyk→∞, the full-information problem of Gilbert and Mosteller (1966). The paper's Theorem 17 gives the optimal dual solution of this LP in closed form.

Setting

Fix natural numbers n≥1n\ge 1n≥1 (secretaries) and k≥0k\ge 0k≥0 (samples). Rounds are i=1,…,ni=1,\dots,ni=1,…,n; signals are s∈{0,1,…,k}s\in\{0,1,\dots,k\}s∈{0,1,…,k}. The dual LP of §5 has the coefficients

a(i,s)=1k+1∏t=1n−1s+tk+t+1,c(j,s′,i,s)=1s′+1∏t=1i−1s+ts′+t+1  (s′≥s),a(i,s)=\frac{1}{k+1}\prod_{t=1}^{n-1}\frac{s+t}{k+t+1},\qquad c(j,s',i,s)=\frac{1}{s'+1}\prod_{t=1}^{i-1}\frac{s+t}{s'+t+1}\ \ (s'\ge s),a(i,s)=k+11​t=1∏n−1​k+t+1s+t​,c(j,s′,i,s)=s′+11​t=1∏i−1​s′+t+1s+t​  (s′≥s),

with c(j,s′,i,s)=0c(j,s',i,s)=0c(j,s′,i,s)=0 for s′<ss'<ss′<s, and reads

min⁡∑i∑su(i,s)s.t.u(i,s)+∑j>i∑s′≥su(j,s′) c(j,s′,i,s)≥a(i,s),u(i,s)≥0.\min\sum_{i}\sum_{s}u(i,s)\quad\text{s.t.}\quad u(i,s)+\sum_{j>i}\sum_{s'\ge s}u(j,s')\,c(j,s',i,s)\ge a(i,s),\quad u(i,s)\ge 0 .mini∑​s∑​u(i,s)s.t.u(i,s)+j>i∑​s′≥s∑​u(j,s′)c(j,s′,i,s)≥a(i,s),u(i,s)≥0.

The greedy solution (equation (8) of the paper) sets u(n,s)=a(n,s)u(n,s)=a(n,s)u(n,s)=a(n,s) and, going backwards,

u(i,s)=max⁡{0, a(i,s)−∑j>i∑s′u(j,s′) c(j,s′,i,s)}(i<n).u(i,s)=\max\Bigl\{0,\ a(i,s)-\sum_{j>i}\sum_{s'}u(j,s')\,c(j,s',i,s)\Bigr\}\qquad(i<n).u(i,s)=max{0, a(i,s)−j>i∑​s′∑​u(j,s′)c(j,s′,i,s)}(i<n).

The un-clipped recursion v(i,s)v(i,s)v(i,s) is the same backward induction with the max⁡{0,⋅}\max\{0,\cdot\}max{0,⋅} removed. In Lean, the generic recursion (8) is greedyDual (and unclippedDual) over an arbitrary finite signal type, and the samples instance is samplesGreedy n k i s (resp. samplesUnclipped) with s : Fin (k + 1). Products ∏t=ab\prod_{t=a}^{b}∏t=ab​ with b<ab<ab<a equal 111.

Formalization targets

Goal: Theorem 17

For every 1≤i≤n1\le i\le n1≤i≤n and 0≤s≤k0\le s\le k0≤s≤k: u(n,s)=a(n,s)u(n,s)=a(n,s)u(n,s)=a(n,s), and for i<ni<ni<n

u(i,s)=max⁡{0,1k+1∏t=1i−1s+tk+t+1(∏t=in−1s+tk+t+1−∑j=1n−i(n−ij)1j∏ℓ=1j(k−s+ℓ)∏ℓ=1n−i−j(s+i−1+ℓ)∏t=in−1(k+t+1))}.u(i,s)=\max\left\{0,\frac{1}{k+1}\prod_{t=1}^{i-1}\frac{s+t}{k+t+1}\left(\prod_{t=i}^{n-1}\frac{s+t}{k+t+1}-\frac{\sum_{j=1}^{n-i}\binom{n-i}{j}\frac1j\prod_{\ell=1}^{j}(k-s+\ell)\prod_{\ell=1}^{n-i-j}(s+i-1+\ell)}{\prod_{t=i}^{n-1}(k+t+1)}\right)\right\}.u(i,s)=max{0,k+11​t=1∏i−1​k+t+1s+t​(t=i∏n−1​k+t+1s+t​−∏t=in−1​(k+t+1)∑j=1n−i​(jn−i​)j1​∏ℓ=1j​(k−s+ℓ)∏ℓ=1n−i−j​(s+i−1+ℓ)​)}.

Milestones (the steps of the paper's proof)

  1. Reduction (p. 17): if v(i′,⋅)v(i',\cdot)v(i′,⋅) has the closed form for all i′>ii'>ii′>i, then v(i,s)=a(n,s)−1k+1∏t=1n−11k+t+1∏t=1i−1(s+t)∑s′=skT(i,s′)v(i,s)=a(n,s)-\frac{1}{k+1}\prod_{t=1}^{n-1}\frac{1}{k+t+1}\prod_{t=1}^{i-1}(s+t)\sum_{s'=s}^{k}T(i,s')v(i,s)=a(n,s)−k+11​∏t=1n−1​k+t+11​∏t=1i−1​(s+t)∑s′=sk​T(i,s′), with T(i,s′)T(i,s')T(i,s′) an explicit double sum.
  2. Two forms of TTT (pp. 17–18): the double sum collapses to ∑j=1n−i−1(n−i)(n−i−1j)1j(j+1)∏ℓ≤j(k−s′+ℓ)∏t=i+1n−j−1(s′+t)\sum_{j=1}^{n-i-1}(n-i)\binom{n-i-1}{j}\frac{1}{j(j+1)}\prod_{\ell\le j}(k-s'+\ell)\prod_{t=i+1}^{n-j-1}(s'+t)∑j=1n−i−1​(n−i)(jn−i−1​)j(j+1)1​∏ℓ≤j​(k−s′+ℓ)∏t=i+1n−j−1​(s′+t).
  3. Key identity (p. 18): ∑s′=skT(i,s′)=∑j=1n−i(n−ij)1j∏ℓ=1j(k−s+ℓ)∏t=in−j−1(s+t)\sum_{s'=s}^{k}T(i,s')=\sum_{j=1}^{n-i}\binom{n-i}{j}\frac1j\prod_{\ell=1}^{j}(k-s+\ell)\prod_{t=i}^{n-j-1}(s+t)∑s′=sk​T(i,s′)=∑j=1n−i​(jn−i​)j1​∏ℓ=1j​(k−s+ℓ)∏t=in−j−1​(s+t).
  4. Base case s=ks=ks=k (p. 18) and 5. inductive step s+1→ss+1\to ss+1→s (Appendix B, pp. 26–28) of the key identity.
  5. Un-clipped closed form (pp. 17–19): v(i,s)v(i,s)v(i,s) equals the expression inside the max, for all 1≤i≤n1\le i\le n1≤i≤n.

Significance

Theorem 16 of the paper shows that the greedy dual solution is optimal and that the optimal policy for secretaries with samples is a threshold policy in the signal: accept a best-so-far candidate in round iii iff its signal is large enough. Theorem 17 makes this solution explicit, so the optimal thresholds can be read off from the sign of a closed-form expression rather than computed by running the backward recursion, and it is the discrete precursor of the paper's Corollary 18, which recovers the Gilbert–Mosteller full-information thresholds in the limit k→∞k\to\inftyk→∞.

The identities are proved in the paper by explicit manipulation of finite sums and products of binomials. No machine-checked version exists. A formal proof checks the long index computations of the proof and of Appendix B, and closes a gap: the paper proves the identity for the un-clipped recursion only ("for the proof we can ignore the max⁡{0,⋅}\max\{0,\cdot\}max{0,⋅}") and does not argue why the clipped greedy solution has the same form. The goal as stated here, with the maximum, is the statement the paper asserts.

Difficulty

The identities are rational-function identities in sss, kkk and the round indices, with sums whose ranges depend on the summation variables and products whose ranges may be empty. The natural first idea, induction on n−in-in−i directly on the formula, requires the key identity for ∑s′=skT(i,s′)\sum_{s'=s}^{k}T(i,s')∑s′=sk​T(i,s′), a double sum over s′s's′ and jjj of products of rising factorials; the paper handles it by a second backward induction over sss, and both the base case and the step re-index sums with shifted bounds and boundary terms such as (n−i−1)!(n-i-1)!(n−i−1)! and 1n−i∏ℓ=1n−i(k−s+ℓ)\frac{1}{n-i}\prod_{\ell=1}^{n-i}(k-s+\ell)n−i1​∏ℓ=1n−i​(k−s+ℓ).

The passage from the un-clipped to the clipped recursion is a separate difficulty: once u(j,s′)u(j,s')u(j,s′) is clipped to 000 at a later round, the sums used at earlier rounds differ from those of the un-clipped recursion, and the closed form survives only because the clipped entries do not affect the relevant sums. That argument is not in the paper.

Formalization scope

  • Rounds are natural numbers 1≤i≤n1\le i\le n1≤i≤n (1-based, as printed); signals are Fin (k + 1) in the recursion and naturals s≤ks\le ks≤k in the formulas. All arithmetic is in R\mathbb RR; naturals are cast before k−sk-sk−s, and the natural differences n−in-in−i, n−i−jn-i-jn−i−j, n−j−1n-j-1n−j−1 appear only where the ranges keep them non-truncated.
  • Products and sums are over Finset.Icc a b, empty when b<ab<ab<a, matching the paper's convention.
  • The recursion is defined by well-founded recursion on n−in-in−i and sums over all later rounds j∈{i+1,…,n}j\in\{i+1,\dots,n\}j∈{i+1,…,n} and all signals; c=0c=0c=0 for s′<ss'<ss′<s encodes the paper's ∑s′≥s\sum_{s'\ge s}∑s′≥s​.
  • The goal keeps the max⁡{0,⋅}\max\{0,\cdot\}max{0,⋅}. Stating instead the identity for the un-clipped recursion would be a different (weaker-content) theorem; it is milestone 6.
  • No probability model appears: the coefficients are taken as given by their formulas on p. 15. Their probabilistic derivation, the optimality of the greedy solution (Theorem 16), the running time of the LP algorithm, the "natural interpretation" paragraph, Corollary 18 and the plots are out of scope.
  • The generic recursion greedyDual is reusable for any instance of the paper's factor-revealing LP (the binary-classifier model of §6 included). General lemmas about sums of rising factorials (ascPochhammer) and binomial re-indexing developed for the milestones are welcome contributions.

Selected references

  • P. Dütting, S. Lattanzi, R. Paes Leme, S. Vassilvitskii, Secretaries with Advice, arXiv:2011.06726v1, 2020; Mathematics of Operations Research, 2024. https://arxiv.org/abs/2011.06726
  • J. P. Gilbert, F. Mosteller, Recognizing the Maximum of a Sequence, Journal of the American Statistical Association 61(313), 1966. https://doi.org/10.1080/01621459.1966.10502008
  • T. S. Ferguson, Who Solved the Secretary Problem?, Statistical Science 4(3), 1989. https://doi.org/10.1214/ss/1177012493
10 thms2 active usersReviewed
🏆Completed
Theoretical Computer Science·Captain: Yuxuan Xu

Deterministic Integer 3SUM 1.960614: Quartic Switch and Complete Program ExtensionResearch Paper

Verified completion - 15 October 2026

The original exact goal EndStatement.ThreeSum.SolvedInTime 1.960614 is Proved on Prove2Me. All seven original milestones are complete. The complete machine extension has 481 accepted theorem proofs and reuses 110 proved theorem nodes; its accepted dependencies connect to the original main reduction. The independent fixed-model lower bound remains separate from the algorithm proof. Scientific priority and global optimality are not asserted by these formal verification results.

Why improve the deterministic integer 3SUM exponent?

3SUM asks whether three entries at distinct positions in an integer input sum to zero. Its familiar quadratic algorithm makes it a benchmark for studying how much arithmetic structure can reduce the cost of an exhaustive search. The relevant comparison is the exponent of input size in a precisely specified machine model. An improvement to that exponent is an asymptotic statement; it need not provide better measured running times at accessible input sizes.

Alman and Vassilevska Williams, 2026 developed a deterministic truly subquadratic framework for polynomially bounded integer 3SUM. The c0ldzy17 source snapshot, dated 11 October 2026, develops a subsequent deterministic construction with a formally stated 1.962 target. The author-supplied certificate package 3sum_certificate_1p960614_v3, dated 14 October 2026, studies a further parameter and switch refinement. It contains mathematical arguments and exact rational checks, and explicitly leaves the complete modified machine-program theorem unproved. This mission studies that remaining extension together with its supporting certificates.

Inputs, word instructions and analytic quantities

An input of size nnn is an integer-valued function on the positions 0,…,n−10,\ldots,n-10,…,n−1. For each fixed natural number κ\kappaκ, every value has absolute value at most nκn^\kappanκ. A YES instance has pairwise distinct positions i,j,ki,j,ki,j,k satisfying xi+xj+xk=0x_i+x_j+x_k=0xi​+xj​+xk​=0. Equal values at different positions are allowed. The problem asks for a decision, so a successful algorithm need not return the positions. Inputs of size less than three are NO instances.

The word RAM is the existing campaign foundation specification. A program is a finite list of instructions for constants, arithmetic, direct and indirect memory access, branching, acceptance and rejection. Words have a fixed width and a signed integer interpretation. For each fixed κ\kappaκ, one program, one word-width constant and one time function must work for every input size and every sufficiently large word width. The mission retains that specification without introducing an alternative computation model.

The supporting binary entropy is measured in bits:

H(t)=−tlog⁡t−(1−t)log⁡(1−t)log⁡2,H(0)=H(1)=0.H(t)=\frac{-t\log t-(1-t)\log(1-t)}{\log2},\qquad H(0)=H(1)=0.H(t)=log2−tlogt−(1−t)log(1−t)​,H(0)=H(1)=0.

For an integer expansion c≥3c\ge3c≥3, write

Ec=c2H(1/c),κc=2cH(1/(2c))−cH(1/c)−1,γc(t)=cH(1/c)−cH((1−t)/c).E_c=\frac c2H(1/c),\quad \kappa_c=2cH(1/(2c))-cH(1/c)-1,\quad \gamma_c(t)=cH(1/c)-cH((1-t)/c).Ec​=2c​H(1/c),κc​=2cH(1/(2c))−cH(1/c)−1,γc​(t)=cH(1/c)−cH((1−t)/c).

These are analytic quantities used to describe local encoding and reporting costs. The source's twelve charges also depend on a representation-scale parameter eee, a band shift bbb, a box saving SSS, an initial threshold θ\thetaθ, a terminal fraction τ\tauτ, and a uniform entropy coefficient ρ\rhoρ.

Formalization targets

The campaign goal is the exact proposition

EndStatement.ThreeSum.SolvedInTime  (1.960614).\texttt{EndStatement.ThreeSum.SolvedInTime}\;(1.960614).EndStatement.ThreeSum.SolvedInTime(1.960614).

For 1.960614=980307/5000001.960614=980307/5000001.960614=980307/500000, its time requirement is

∃K∈N  ∀n≥2,T(n)500000≤Kn980307.\exists K\in\mathbb N\;\forall n\ge2,\quad T(n)^{500000}\le K n^{980307}.∃K∈N∀n≥2,T(n)500000≤Kn980307.

Correctness and termination still cover all input sizes. The integer-size exponent includes κ=0\kappa=0κ=0, and the same program must be correct for every word width above its specified threshold.

The primary certificate uses c=232c=232c=232 and the rational quartic

P(t)=7.85174904t+0.72447023t2+0.24044466t3+0.12022459t4.P(t)=7.85174904t+0.72447023t^2+0.24044466t^3+0.12022459t^4.P(t)=7.85174904t+0.72447023t2+0.24044466t3+0.12022459t4.

Supporting targets establish its validity on [0,1/2][0,1/2][0,1/2], its derivative and tangent bounds, and the uniform inequality H(t)<0.27905030(1+P(t))H(t)<0.27905030(1+P(t))H(t)<0.27905030(1+P(t)). The fixed parameters are e=0.203889696e=0.203889696e=0.203889696, b=−0.062656016b=-0.062656016b=−0.062656016, S=0.193175570S=0.193175570S=0.193175570, θ=0.040409899\theta=0.040409899θ=0.040409899, and τ=13/20\tau=13/20τ=13/20. The parameter theorem bounds every one of the twelve costs strictly below 1.96061388<1.9606141.96061388<1.9606141.96061388<1.960614. Integer scheduling and general local-cover identities are separate milestones. A further independent milestone proves R>1.96061349120R>1.96061349120R>1.96061349120 for the explicitly defined relaxed fixed-expansion cost model. That model bound concerns its admissible parameter tuples; it is not a lower bound for 3SUM itself.

What these results establish

The supplied certificate demonstrates that a quartic switch already suffices for the proposed 1.960614 cost target. It also separates a uniform analytic inequality from a numerical experiment: the statement quantifies over the full closed interval. Its finite scheduling statement uses integer comparisons and accounts for the rounding error at every admissible level, rather than requiring executable logarithms.

Formalization adds checked statements about these continuous and finite objects and a reusable dependency structure. The full campaign goal requires an additional result: the actual modified program must obey the certified costs, and its operational correctness must reach the foundation specification. The upstream parameter certificate likewise distinguishes its exponent ledger from its separate implementation obligations. An exact rational checker passing is evidence for the numerical certificates; it does not establish the full new machine theorem.

Why the program extension remains substantive

Changing expansion from 256 to 232 changes the local universe and the vertex, output and degree counts together. The representation scale, band denominator and polynomial switch also change. Consequently, the original fixed-parameter runtime result cannot simply be invoked after replacing a few numerical constants. The new local construction, global encoding, sparse queries, reporting and arithmetic operations must share consistent parameters and a complete cost account.

The small gap between the principal cost cap and the target must absorb the proved subpolynomial overheads, including exceptional-size handling and the conversion to word instructions. The machine bridge has now been proved in this mission. Its accepted dependency tree connects the modified program and its runtime analysis to the unchanged campaign specification. Its statement has no assumed solver callback or unproved runtime contract. The fixed-model lower-bound milestone is an independent analytic root, and is not used to justify a faster algorithm.

Formalization scope and source boundaries

The campaign pins Lean 4.33.1 and Mathlib revision 0df444a360eaa60ab8c11dca51a86af692955474. Entropy and its derived quantities are real-valued; the final exponent is rational; finite subset counts and cleared switch comparisons use natural numbers. Theorems explicitly restrict logarithmic arguments and denominators to their intended domains. Natural-number subtraction in the switch is used only below the final level, with positive even microblock size.

The local-cover milestone covers every natural c≥3c\ge3c≥3 and positive half-block size. The cost-model milestone quantifies over all tuples satisfying its written assumptions and includes a whole-interval entropy constraint. Neither finite testing nor a floating-point optimizer substitutes for these universal statements. The initial package includes no Lean proof of the new machine goal, and the mission does not represent it as an established record.

The underlying algorithms and formal infrastructure retain their attribution to Alman and Vassilevska Williams; Björklund, Husfeldt, Kaski and Koivisto; Swapnil Jain; c0ldzy17; Anthropic; Jihoon Hyun; and Lean/Mathlib, as documented by the upstream source. The certificate development and this formalization use AI assistance. Scientific priority and global optimality are outside the mission's claims.

Selected references

  • Author-supplied 3SUM: Positive-Coefficient Entropy Switch, 1.960614 Cost Certificate and Fixed-Model Lower Bound, certificate package v3, 14 October 2026. Exact source: 3sum_certificate_1p960614_v3/3sum_certificate_v3/PROOF.md, Sections 0–8; certificates/c232_quartic.json; verify_certificate.py. This is a supplied research artifact, not a claimed public publication.
  • c0ldzy17, Deterministic 3SUM in O(n^1.962): method and proof, source documentation, 2026. Pinned METHOD.md, Parameters.lean, and LocalCoverBounds.lean.
  • Josh Alman and Virginia Vassilevska Williams, Truly Subquadratic 3SUM and Truly Subcubic APSP via Triangles in Sparse Lopsided Graphs, arXiv preprint, 2026. arXiv:2610.06783v1.
  • Anthropic, Truly Subquadratic 3SUM and Truly Subcubic APSP, Lean formalization, 2026. Pinned formal-math source. The campaign imports its shared word-RAM statement.

Source code and complete Lean formalization: GitHub repository. Fixed source revision: 8c25c0325de5.

84 thms2 active usersReviewed
🏆Completed
Information Theory·Captain: chaikon

Essential Coding Theory I: Generalized Hamming BoundTextbook

Motivation

An error-correcting code stores or transmits messages as words over a finite alphabet, adding redundancy so that the original word can be recovered after some symbols are corrupted. The basic question of coding theory is the trade-off between the amount of redundancy and the number of errors that can be corrected. The Hamming bound (also called the sphere-packing bound) is the first and most widely taught upper limit on this trade-off. It is due to R. W. Hamming (1950), who introduced the Hamming distance and the Hamming codes in the same paper (Hamming 1950).

This mission formalizes the bound as it is stated in Theorem 1.7.2 of the textbook Essential Coding Theory by V. Guruswami, A. Rudra and M. Sudan (web draft, §1.7, p. 21). It is the first mission of a series following that book. The result is used throughout the book to define perfect codes (Definition 1.7.3) and as the baseline against which later bounds (Singleton, Plotkin, Elias–Bassalygo, the linear-programming bound) are compared.

Setting

Let α\alphaα be a finite alphabet with q=∣α∣q = |\alpha|q=∣α∣ symbols, and let n≥0n \ge 0n≥0. A word of length nnn is a function {0,…,n−1}→α\{0, \dots, n-1\} \to \alpha{0,…,n−1}→α, and αn\alpha^nαn is the set of all qnq^nqn words. A code of block length nnn is a subset C⊆αnC \subseteq \alpha^nC⊆αn; its elements are codewords.

The Hamming distance Δ(u,v)\Delta(u, v)Δ(u,v) between two words is the number of coordinates in which they differ. The dimension of CCC is the real number k=log⁡q∣C∣k = \log_q |C|k=logq​∣C∣ (Definition 1.2.3 of the book). The book calls CCC an (n,k,d)q(n, k, d)_q(n,k,d)q​ code when its minimum distance min⁡c1≠c2∈CΔ(c1,c2)\min_{c_1 \ne c_2 \in C} \Delta(c_1, c_2)minc1​=c2​∈C​Δ(c1​,c2​) equals ddd (Definitions 1.4.1 and 1.7.1).

The Hamming ball of radius eee around a word xxx is B(x,e)={y∈αn:Δ(x,y)≤e}B(x, e) = \{ y \in \alpha^n : \Delta(x, y) \le e \}B(x,e)={y∈αn:Δ(x,y)≤e} (Definition 1.6.1).

Formalization targets

Milestone: volume of a Hamming ball

For every word x∈αnx \in \alpha^nx∈αn and every radius e≥0e \ge 0e≥0,

∣B(x,e)∣=∑i=0e(ni)(q−1)i.|B(x, e)| = \sum_{i=0}^{e} \binom{n}{i} (q-1)^i.∣B(x,e)∣=i=0∑e​(in​)(q−1)i.

This is equation (1.18) in the book.

Goal: the generalized Hamming bound

If any two distinct codewords of C⊆αnC \subseteq \alpha^nC⊆αn are at Hamming distance at least ddd, then

log⁡q∣C∣  ≤  n−log⁡q(∑i=0⌊(d−1)/2⌋(ni)(q−1)i).\log_q |C| \;\le\; n - \log_q \Bigl( \sum_{i=0}^{\lfloor (d-1)/2 \rfloor} \binom{n}{i} (q-1)^i \Bigr).logq​∣C∣≤n−logq​(i=0∑⌊(d−1)/2⌋​(in​)(q−1)i).

The hypothesis is "minimum distance at least ddd" rather than "exactly ddd". Every (n,k,d)q(n, k, d)_q(n,k,d)q​ code satisfies it, so the goal contains the book's Theorem 1.7.2 as stated.

Significance

The result itself. The bound says that a code correcting ⌊(d−1)/2⌋\lfloor (d-1)/2 \rfloor⌊(d−1)/2⌋ errors can have at most qn/Volq(⌊(d−1)/2⌋,n)q^n / \mathrm{Vol}_q(\lfloor (d-1)/2 \rfloor, n)qn/Volq​(⌊(d−1)/2⌋,n) codewords, so its rate is at most 1−log⁡qVolq/n1 - \log_q \mathrm{Vol}_q / n1−logq​Volq​/n. Codes meeting it with equality are the perfect codes: the Hamming codes, the binary repetition codes of odd length, and the two Golay codes. The bound's asymptotic form, R≤1−Hq(δ/2)R \le 1 - H_q(\delta/2)R≤1−Hq​(δ/2), is one of the standard upper bounds on the rate–distance trade-off and is the reference point for the stronger bounds later in the book.

Formalizing it. The theorem has been proved since 1950 and appears in every coding theory text. Mathlib has the Hamming distance (hammingDist) but no notion of a code's distance, no Hamming-ball cardinality formula, and no sphere-packing bound. This mission supplies those, with the dimension stated through the real logarithm exactly as in the book, so later missions in the series can cite it.

Difficulty

The mathematics is elementary. The work lies in the counting step: showing that exactly (ni)(q−1)i\binom{n}{i}(q-1)^i(in​)(q−1)i words lie at distance exactly iii from a fixed word. This identity has no ready-made counterpart in Mathlib, and the alphabet carries no algebraic structure, so translating every ball to a ball around a fixed word is not available. The final step, taking log⁡q\log_qlogq​ of both sides, must also handle the conventions of the real logarithm on degenerate inputs.

Formalization scope

  • The alphabet is an arbitrary type α with [Fintype α] [DecidableEq α], and qqq is Fintype.card α. Words are functions Fin n → α, and Δ\DeltaΔ is Mathlib's hammingDist.
  • A code is a Finset (Fin n → α). The distance hypothesis quantifies over pairs of distinct codewords.
  • The dimension is Real.logb q |C|, a real number. The ball volume is the natural-number sum ∑i=0⌊(d−1)/2⌋(ni)(q−1)i\sum_{i=0}^{\lfloor (d-1)/2 \rfloor} \binom{n}{i}(q-1)^i∑i=0⌊(d−1)/2⌋​(in​)(q−1)i, cast to R\mathbb{R}R, where ⌊(d−1)/2⌋\lfloor (d-1)/2 \rfloor⌊(d−1)/2⌋ is computed in N\mathbb{N}N as (d - 1) / 2.
  • No hypotheses q≥2q \ge 2q≥2 or C≠∅C \ne \emptysetC=∅ are imposed. The book assumes them tacitly. Under Lean's conventions log⁡qx=0\log_q x = 0logq​x=0 when q≤1q \le 1q≤1 or x=0x = 0x=0, and the statement remains true in those cases. It is therefore at least as strong as the book's version, and these degenerate cases are not a trivialization: for q≥2q \ge 2q≥2 and C≠∅C \ne \emptysetC=∅ the goal is equivalent to the sphere-packing inequality ∣C∣⋅Vol≤qn|C| \cdot \mathrm{Vol} \le q^n∣C∣⋅Vol≤qn.
  • No custom definitions are needed. The ball-volume formula is reusable for any later bound that counts Hamming balls (Gilbert–Varshamov, Elias–Bassalygo). Contributions of alternative counting proofs are welcome.

Selected references

  • V. Guruswami, A. Rudra and M. Sudan, Essential Coding Theory, draft textbook, §1.6–1.7, Theorem 1.7.2, p. 21. https://cse.buffalo.edu/faculty/atri/courses/coding-theory/book/web-coding-book.pdf
  • R. W. Hamming, Error detecting and error correcting codes, Bell System Technical Journal 29(2), 147–160, 1950. https://doi.org/10.1002/j.1538-7305.1950.tb00463.x
  • The Mathlib Community, hammingDist, Mathlib.InformationTheory.Hamming. https://leanprover-community.github.io/mathlib4_docs/Mathlib/InformationTheory/Hamming.html
2 thms2 active usersReviewed
🏆Completed
Theoretical Computer Science·Captain: Yuxuan Xu

Deterministic Integer 3SUM in O(n^1.999017): Sharp Binomial-Tail AnalysisResearch Paper

Why sharpen the integer 3SUM exponent?

3SUM asks whether an input sequence contains three entries at different positions whose sum is zero. The classical quadratic running time makes it a benchmark for fine-grained algorithm design: even a small fixed improvement in the exponent changes its asymptotic complexity. The setting here is polynomially bounded integers and a deterministic word RAM; the input-size exponent, rather than an experimental speedup, is the quantity being studied.

Alman and Vassilevska Williams (2026) give a deterministic truly subquadratic integer 3SUM algorithm through thin matrix products and reductions involving Exact Triangle. Xu's manuscript, Deterministic Integer 3SUM in O(n^1.999017) Time via a Sharper Binomial-Tail Analysis, dated 13 October 2026, refines the analysis of that framework. Its claimed bound is the formalization target here. The Hexagon link identifies the author's submission page, which may require authentication; it is not presented as a public article identifier or evidence of peer review.

Inputs, machine model, and analytic quantities

An input of size nnn is a function x:{0,…,n−1}→Zx:\{0,\ldots,n-1\}\to\mathbb Zx:{0,…,n−1}→Z. For a fixed natural number κ\kappaκ, every entry obeys ∣xi∣≤nκ|x_i|\le n^\kappa∣xi​∣≤nκ. Acceptance means that there are pairwise distinct indices i,j,ki,j,ki,j,k with xi+xj+xk=0x_i+x_j+x_k=0xi​+xj​+xk​=0. Repeated values at different positions are allowed. This is a decision problem, so the algorithm need not return a witness triple.

The word-RAM specification is the campaign's existing EndStatement definition, imported from its foundation mission. For each fixed κ\kappaκ, one finite deterministic program, one word-width threshold constant, and one time-bound function must work for all input sizes and all word widths above that threshold. Words have finite signed interpretations; arithmetic, indirect memory access, branching, acceptance, and rejection are defined operationally. The result concerns this exact model.

For the supporting analysis, let H(u)=−ulog⁡u−(1−u)log⁡(1−u)H(u)=-u\log u-(1-u)\log(1-u)H(u)=−ulogu−(1−u)log(1−u), with endpoint values H(0)=H(1)=0H(0)=H(1)=0H(0)=H(1)=0. All logarithms are natural. For an integer c>10c>10c>10, a positive integer mmm, and 0<θ<0.90<\theta<0.90<θ<0.9, set L=cmL=cmL=cm, D=4mD=4^mD=4m, t=⌈θm⌉t=\lceil\theta m\rceilt=⌈θm⌉, and

βd=(Lm−d)9L−m+d,M=β0.\beta_d=\binom L{m-d}9^{L-m+d},\qquad M=\beta_0.βd​=(m−dL​)9L−m+d,M=β0​.

The sharp preprocessing saving, query exponent, and encoding exponent are

γ∗(c,θ)=cH(1/c)−cH((1−θ)/c)−θlog⁡9log⁡4,\gamma_*(c,\theta)=\frac{cH(1/c)-cH((1-\theta)/c)-\theta\log9}{\log4},γ∗​(c,θ)=log4cH(1/c)−cH((1−θ)/c)−θlog9​, q(θ)=H(θ)+θlog⁡9log⁡4,A(c)=clog⁡10−cH(1/c)/2−(c−1)log⁡3log⁡4.q(\theta)=\frac{H(\theta)+\theta\log9}{\log4},\qquad A(c)=\frac{c\log10-cH(1/c)/2-(c-1)\log3}{\log4}.q(θ)=log4H(θ)+θlog9​,A(c)=log4clog10−cH(1/c)/2−(c−1)log3​.

These auxiliary definitions describe costs; they neither redefine 3SUM nor assume the existence of a fast algorithm.

Formalization targets

The campaign goal is the exact fixed bound

EndStatement.ThreeSum.SolvedInTime  1.999017.\texttt{EndStatement.ThreeSum.SolvedInTime}\;1.999017.EndStatement.ThreeSum.SolvedInTime1.999017.

The first supporting milestone is the two-sided binomial entropy estimate. The second is the manuscript's normalized tail bound

1M∑d=tmβd≤cm+11−9/(c−1)D−γ∗(c,θ).\frac1M\sum_{d=t}^m\beta_d\le\frac{cm+1}{1-9/(c-1)}D^{-\gamma_*(c,\theta)}.M1​d=t∑m​βd​≤1−9/(c−1)cm+1​D−γ∗​(c,θ).

A further milestone establishes strict improvement over the earlier preprocessing saving γ(c,θ)=θlog⁡((c−1)/9)/log⁡4\gamma(c,\theta)=\theta\log((c-1)/9)/\log4γ(c,θ)=θlog((c−1)/9)/log4 at fixed parameters. The algorithmic milestone combines the manuscript's Propositions 4.1 and 5.1: admissible sharp-tail parameters must yield a program satisfying the shared 3SUM specification, not merely a numerical inequality.

The final supporting milestone certifies the exact choice

c=21,θ=0.11202,a=0.05665,s=0.06945.c=21,\qquad\theta=0.11202,\qquad a=0.05665,\qquad s=0.06945.c=21,θ=0.11202,a=0.05665,s=0.06945.

It includes the preprocessing, query, encoding, prime-selection, and instance-construction inequalities, together with

2−as/4=1.999016414375,1.999017−(2−as/4)=0.000000585625>0.2-as/4=1.999016414375,\qquad1.999017-(2-as/4)=0.000000585625>0.2−as/4=1.999016414375,1.999017−(2−as/4)=0.000000585625>0.

Every terminating decimal denotes an exact rational number. The target is the fixed big-OOO exponent 1.999017; the smaller cutoff is accompanied by residual asymptotic losses in the manuscript and is not asserted as the same fixed bound.

What completing this mission would establish

A complete proof would certify the manuscript's improved integer 3SUM bound in the campaign's common machine model. The gain is an analysis refinement of the inherited algorithm and reductions. It does not claim a new algorithmic framework, optimal parameters, global optimality, or priority over all other work.

The manuscript also gives an auxiliary O(n1.999073)O(n^{1.999073})O(n1.999073) bound by retuning the previous estimate. That weaker result is background, not this mission's campaign value. The existing upstream formalization is prior work; it does not automatically certify either refinement. The supplied rational interval verifier checks the parameter inequalities, but those checks alone do not prove a word-RAM running-time theorem. The main goal and the newly drafted supporting statements remain open Lean proof obligations.

Where the difficulty lies

A better tail estimate is insufficient unless every other cost remains within the final budget. Shared encoding work, all queries, deterministic prime selection, witness scanning, and instance construction must be included. The word-size and address bounds must remain valid after changing parameters. Ceiling operations, restricting DDD to powers of four, and bounded-size exceptions must also be handled.

The central formalization burden is the connection between the analytic estimates and an actual deterministic program. Assuming an oracle with the desired running time would remove that burden and would not establish the stated target. Likewise, checking a finite range of sizes or a floating-point optimizer's output cannot establish the universal algorithmic statement.

Formalization scope and conventions

The environment is Lean 4.33.1 with Mathlib revision 0df444a360eaa60ab8c11dca51a86af692955474. The foundation reference and the campaign goal's import are retained. Supporting definitions use real logarithms, real powers, natural binomial coefficients, finite sums, and a natural ceiling. Domain hypotheses exclude invalid entropy-tail regimes; endpoint binomial cases are included explicitly.

For r=1999017/1000000r=1999017/1000000r=1999017/1000000, the shared time predicate means that there exists K∈NK\in\mathbb NK∈N such that T(n)1000000≤Kn1999017T(n)^{1000000}\le K n^{1999017}T(n)1000000≤Kn1999017 for every n≥2n\ge2n≥2. Correctness and termination still cover every input size, including n<3n<3n<3. The manuscript's κ≥1\kappa\ge1κ≥1 convention must be extended to the campaign's κ=0\kappa=0κ=0 case, and its word-size analysis must justify uniform correctness at every sufficiently large word width. Both are explicit interface obligations.

Reusable contributions include entropy and tail estimates, rigorous logarithm enclosures, and parameterized cost-to-program results. Existing compatible library results should be reused where available. The manuscript and metadata were prepared with AI assistance; this mission makes no claim of completed human review or completed formal verification of the improved bound.

Selected references

  • Yuxuan Xu, Deterministic Integer 3SUM in O(n^1.999017) Time via a Sharper Binomial-Tail Analysis, manuscript, 13 October 2026. Author-supplied Hexagon submission page. Target: Theorem 1.1; supporting analysis: Sections 3–6.
  • Josh Alman and Virginia Vassilevska Williams, Truly Subquadratic 3SUM and Truly Subcubic APSP via Triangles in Sparse Lopsided Graphs, arXiv preprint, 2026. arXiv:2610.06783v1. Inherited ingredients: Section 4, Lemma 29, Theorem 30, Corollary 31, and the deterministic reductions cited in Xu's Section 2.
  • Anthropic, Truly Subquadratic 3SUM and Truly Subcubic APSP: a Lean 4 formalization, source repository, 2026. Pinned source at commit e1a4e6508154ea59f030480661590a9fe3018011. Its EndStatement.lean supplies the shared specification, not a proof of this mission's new exponent.
8 thms2 active usersReviewed
🏆Completed
Theoretical Computer Science·Captain: wurtle

3SUM in O(n^1.962) Time on a Word RAMResearch Paper

This entry records a deterministic O(n1.962)O(n^{1.962})O(n1.962) bound for 3SUM on polynomially bounded integers, using the campaign's shared word-RAM model with O(log⁡n)O(\log n)O(logn)-bit words. Three distinct input positions must sum to zero; repeated values are allowed. The exact exponent is 981/500981/500981/500.

References

  • Source repository: complete Lean proof and verification record
49 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryEconomics·Captain: Lucas

Stable Matching Problem (Wikipedia) I: The Gale–Shapley AlgorithmTextbook

Motivation

The stable matching problem asks for a pairing between two equally sized groups in which no two participants would both rather be matched with each other than with their assigned partners. It was posed and solved by Gale and Shapley in 1962 in the context of college admissions and marriage (Gale–Shapley 1962). Their deferred acceptance algorithm underlies centralized clearinghouses such as the assignment of graduating medical students to hospital residencies, and the theory of stable allocations was recognized by the 2012 Nobel Memorial Prize in Economic Sciences awarded to Shapley and Roth.

Timeline of the results targeted here:

  • 1962 — Gale and Shapley: a stable matching always exists, and the men-proposing deferred acceptance algorithm finds one; its outcome is the best stable matching for every man.
  • 1971 — McVitie and Wilson: the men-optimal stable matching is simultaneously the worst stable matching for every woman.
  • 1981–1982 — Dubins–Freedman and Roth: the men-proposing algorithm is strategy-proof (indeed group strategy-proof) for men, while women can gain by misreporting.
  • 1987 — Gusfield (after Knuth and Conway): the stable matchings of an instance form a finite distributive lattice.

Setting

Fix n≥0n \ge 0n≥0. There are nnn men and nnn women, both indexed by Fin n\mathrm{Fin}\,nFinn. Each man mmm ranks all women strictly: manRankm(w)∈Fin n\mathrm{manRank}_m(w) \in \mathrm{Fin}\,nmanRankm​(w)∈Finn is the position of www in mmm's list, position 000 being most preferred; symmetrically each woman www has womanRankw\mathrm{womanRank}_wwomanRankw​. Both are bijections. A matching is a bijection μ\muμ from men to women. A pair (m,w)(m, w)(m,w) blocks μ\muμ if manRankm(w)<manRankm(μ(m))\mathrm{manRank}_m(w) < \mathrm{manRank}_m(\mu(m))manRankm​(w)<manRankm​(μ(m)) and womanRankw(m)<womanRankw(μ−1(w))\mathrm{womanRank}_w(m) < \mathrm{womanRank}_w(\mu^{-1}(w))womanRankw​(m)<womanRankw​(μ−1(w)); μ\muμ is stable if no pair blocks it.

The Gale–Shapley algorithm runs in rounds. A state records, for every man, how many women he has proposed to so far, and for every woman, her current provisional fiancé (if any). In each round every unengaged man proposes to the most preferred woman he has not yet proposed to, and every woman keeps the most preferred among her current fiancé and this round's suitors, rejecting the others. The Gale–Shapley outcome is the matching read off from the state after n2n^2n2 rounds.

Formalization targets

Goal: the algorithm produces a stable matching

∀I, ∃μ, μ is the Gale–Shapley outcome of I ∧ μ is stable for I.\forall I,\ \exists \mu,\ \mu \text{ is the Gale–Shapley outcome of } I \ \wedge\ \mu \text{ is stable for } I.∀I, ∃μ, μ is the Gale–Shapley outcome of I ∧ μ is stable for I.

This contains termination (all men are engaged after n2n^2n2 rounds), the fact that the final engagements form a bijection, and stability.

Milestones

  1. Termination: after n2n^2n2 rounds every man is engaged.
  2. Existence: every instance has a stable matching.
  3. Man-optimality: for the Gale–Shapley outcome μ0\mu_0μ0​ and every stable μ\muμ, manRankm(μ0(m))≤manRankm(μ(m))\mathrm{manRank}_m(\mu_0(m)) \le \mathrm{manRank}_m(\mu(m))manRankm​(μ0​(m))≤manRankm​(μ(m)) for every man mmm.
  4. Woman-pessimality: womanRankw(μ−1(w))≤womanRankw(μ0−1(w))\mathrm{womanRank}_w(\mu^{-1}(w)) \le \mathrm{womanRank}_w(\mu_0^{-1}(w))womanRankw​(μ−1(w))≤womanRankw​(μ0−1​(w)) for every woman www.
  5. Truthfulness for men: no single man obtains a strictly better partner (by his true list) by misreporting.
  6. Group strategy-proofness for men: no nonempty coalition of men can misreport so that all its members are strictly better off.
  7. Weak coalitional manipulation: some coalition can misreport so that some members are strictly better off and the rest keep their partners.
  8. Women can manipulate: some woman can obtain a strictly better partner by misreporting.
  9. The 3×3 example: the instance A:YXZA: YXZA:YXZ, B:ZYXB: ZYXB:ZYX, C:XZYC: XZYC:XZY, X:BACX: BACX:BAC, Y:CBAY: CBAY:CBA, Z:ACBZ: ACBZ:ACB has exactly the three stable matchings (AY,BZ,CX)(AY,BZ,CX)(AY,BZ,CX), (AX,BY,CZ)(AX,BY,CZ)(AX,BY,CZ), (AZ,BX,CY)(AZ,BX,CY)(AZ,BX,CY).
  10. Lattice structure: the stable matchings of any instance form a distributive lattice under "every man weakly prefers".

Significance

Existence of stable matchings is the foundation of two-sided matching theory, and the algorithmic proof is constructive. Man-optimality and woman-pessimality show that the proposing side is systematically favored, which is the reason the choice of proposing side matters in practice, as in the 1995 redesign of the residency match. The incentive results (milestones 5–8) explain why participants on the proposing side can safely report their true preferences while the receiving side cannot, and the lattice structure underlies efficient algorithms for enumerating and optimizing over stable matchings.

All results in this mission are classical and proved in the literature. The work here is formalization: a precise model of the round-based algorithm, machine-checked proofs of its correctness and optimality, and the incentive properties, which are usually argued informally.

Difficulty

The goal requires reasoning about an iterated state transformer rather than an abstract existence statement. The step that is usually waved away is the invariant that an unengaged man still has a woman left to propose to, which is what makes the n2n^2n2 bound and the bijectivity of the final engagements work. Man-optimality needs the invariant that no man is ever rejected by a woman who is his partner in some stable matching, which is not visible from the output alone. Group strategy-proofness is substantially harder than individual truthfulness: the known proofs go through a "blocking lemma" about matchings that are weakly preferred by all men.

Formalization scope

Men and women are Fin n; preferences are strict total orders given as rank bijections Fin n ≃ Fin n; matchings are bijections Fin n ≃ Fin n. The algorithm is the round-based version described in the source: all unengaged men propose simultaneously in each round. The algorithm's output is fixed as the state after exactly n2n^2n2 rounds; termination within that bound is itself a milestone, so a wrong bound would make the goal false rather than vacuous. The case n=0n = 0n=0 is included and is trivial. Incentive results compare Gale–Shapley outcomes of two instances that differ only in the lists of the deviating participants, with gains measured by the deviators' true lists.

The definitions are reusable for further missions on the same article (rural hospitals theorem, hospitals/residents problem). Contributions welcome: invariants of the algorithm, the blocking lemma, and alternative proofs of existence.

Selected references

  • D. Gale, L. S. Shapley, College Admissions and the Stability of Marriage, American Mathematical Monthly 69(1), 1962, 9–14. https://doi.org/10.2307/2312726
  • D. G. McVitie, L. B. Wilson, The stable marriage problem, Communications of the ACM 14(7), 1971, 486–490. https://doi.org/10.1145/362619.362631
  • L. E. Dubins, D. A. Freedman, Machiavelli and the Gale–Shapley Algorithm, American Mathematical Monthly 88(7), 1981, 485–494. https://doi.org/10.2307/2321753
  • A. E. Roth, The Economics of Matching: Stability and Incentives, Mathematics of Operations Research 7(4), 1982, 617–628. https://doi.org/10.1287/moor.7.4.617
  • D. Gusfield, Three fast algorithms for four problems in stable marriage, SIAM Journal on Computing 16(1), 1987, 111–128. https://doi.org/10.1137/0216010
  • Wikipedia, Stable matching problem. https://en.wikipedia.org/wiki/Stable_matching_problem
12 thms2 active usersReviewed
🏆Completed
Group TheoryNumber Theory·Captain: Lucas

Landau's Function: Growth of the Maximal Order of a PermutationResearch Paper

Motivation

How large can the order of a single permutation of nnn objects be? The answer, Landau's function g(n)g(n)g(n), is a basic invariant of the symmetric group SnS_nSn​: it is the maximum number of times a permutation can be iterated before it returns to the identity. Because the order of a permutation is the least common multiple of its cycle lengths, g(n)g(n)g(n) is also the largest least common multiple of the parts of a partition of nnn, which ties the question to the distribution of prime numbers.

Timeline.

  • 1902–1903. E. Landau proved that ln⁡g(n)∼nln⁡n\ln g(n)\sim\sqrt{n\ln n}lng(n)∼nlnn​.
  • 1968. J.-L. Nicolas showed that ggg is constant on arbitrarily long runs of consecutive integers.
  • 1984. J.-P. Massias proved the explicit bound ln⁡g(n)≤1.05313836nln⁡n\ln g(n)\le 1.05313836\sqrt{n\ln n}lng(n)≤1.05313836nlnn​ for all n≥1n\ge 1n≥1.
  • 1988. Massias, Nicolas and Robin obtained a three-term asymptotic expansion of ln⁡g(n)\ln g(n)lng(n), its expression through the inverse logarithmic integral, and the equivalence of a one-sided inequality with the Riemann hypothesis.
  • 2002. K. Ford's bounds for the Riemann zeta function give the error term xexp⁡(−c(ln⁡x)3/5(ln⁡ln⁡x)−1/5)x\exp(-c(\ln x)^{3/5}(\ln\ln x)^{-1/5})xexp(−c(lnx)3/5(lnlnx)−1/5) in the prime number theorem, which can be fed into the 1988 result.

Setting

For a natural number nnn, let SnS_nSn​ be the group of all permutations of an nnn-element set. The order of σ∈Sn\sigma\in S_nσ∈Sn​ is the least k≥1k\ge 1k≥1 with σk=id\sigma^k=\mathrm{id}σk=id. Landau's function is

g(n)=max⁡σ∈Snord⁡(σ).g(n)=\max_{\sigma\in S_n}\operatorname{ord}(\sigma).g(n)=σ∈Sn​max​ord(σ).

A partition of nnn is a multiset of positive integers summing to nnn. The prime counting function π(x)\pi(x)π(x) is the number of primes p≤xp\le xp≤x, the (offset) logarithmic integral is Li(x)=∫2xdtln⁡t\mathrm{Li}(x)=\int_2^x\frac{dt}{\ln t}Li(x)=∫2x​lntdt​, and Li−1\mathrm{Li}^{-1}Li−1 is its inverse on [2,∞)[2,\infty)[2,∞). Throughout, ln⁡\lnln is the natural logarithm.

Formalization targets

Goal: Landau's theorem (1902)

lim⁡n→∞ln⁡g(n)nln⁡n=1.\lim_{n\to\infty}\frac{\ln g(n)}{\sqrt{n\ln n}}=1.n→∞lim​nlnn​lng(n)​=1.

Supporting milestones

  1. Partition characterization: g(n)=max⁡{lcm⁡(λ):λ⊢n}g(n)=\max\{\operatorname{lcm}(\lambda):\lambda\vdash n\}g(n)=max{lcm(λ):λ⊢n}.
  2. Initial values g(0),…,g(8)=1,1,2,3,4,6,6,12,15g(0),\dots,g(8)=1,1,2,3,4,6,6,12,15g(0),…,g(8)=1,1,2,3,4,6,6,12,15.
  3. Nicolas (1968): for every mmm there is nnn with g(n)=g(n+1)=⋯=g(n+m)g(n)=g(n+1)=\dots=g(n+m)g(n)=g(n+1)=⋯=g(n+m).
  4. Massias–Nicolas–Robin (1988): ln⁡g(n)=nln⁡n(1+ln⁡ln⁡n−12ln⁡n−(ln⁡ln⁡n)2−6ln⁡ln⁡n+98(ln⁡n)2+O((ln⁡ln⁡nln⁡n)3))\ln g(n)=\sqrt{n\ln n}\Bigl(1+\frac{\ln\ln n-1}{2\ln n}-\frac{(\ln\ln n)^2-6\ln\ln n+9}{8(\ln n)^2}+O\bigl((\tfrac{\ln\ln n}{\ln n})^3\bigr)\Bigr)lng(n)=nlnn​(1+2lnnlnlnn−1​−8(lnn)2(lnlnn)2−6lnlnn+9​+O((lnnlnlnn​)3)).
  5. Ford (2002): π(x)−Li(x)=O(xexp⁡(−c(ln⁡x)3/5(ln⁡ln⁡x)−1/5))\pi(x)-\mathrm{Li}(x)=O\bigl(x\exp(-c(\ln x)^{3/5}(\ln\ln x)^{-1/5})\bigr)π(x)−Li(x)=O(xexp(−c(lnx)3/5(lnlnx)−1/5)) for some c>0c>0c>0.
  6. Massias–Nicolas–Robin (1988): if π(x)−Li(x)=O(R(x))\pi(x)-\mathrm{Li}(x)=O(R(x))π(x)−Li(x)=O(R(x)) with R(x)=xexp⁡(−c(ln⁡x)3/5(ln⁡ln⁡x)−1/5)R(x)=x\exp(-c(\ln x)^{3/5}(\ln\ln x)^{-1/5})R(x)=xexp(−c(lnx)3/5(lnlnx)−1/5), then ln⁡g(n)=Li−1(n)+O(R(nln⁡n)ln⁡n)\ln g(n)=\sqrt{\mathrm{Li}^{-1}(n)}+O\bigl(R(\sqrt{n\ln n})\ln n\bigr)lng(n)=Li−1(n)​+O(R(nlnn​)lnn).
  7. Riemann hypothesis criterion: ln⁡g(n)<Li−1(n)\ln g(n)<\sqrt{\mathrm{Li}^{-1}(n)}lng(n)<Li−1(n)​ for all large nnn   ⟺  \iff⟺ RH.
  8. g(n)≤en/eg(n)\le e^{n/e}g(n)≤en/e for all nnn, with equality only at n=0n=0n=0.
  9. Massias (1984): g(n)≤exp⁡(1.05314nln⁡n)g(n)\le\exp(1.05314\sqrt{n\ln n})g(n)≤exp(1.05314nlnn​).

Significance

Landau's theorem pins down the growth rate of the largest element order in SnS_nSn​, which bounds, for example, how long any fixed shuffle of nnn cards can be repeated before the deck returns to its starting order. The refined statements quantify the second-order behaviour and connect it to the error term in the prime number theorem; the criterion in milestone 7 is one of the known elementary reformulations of the Riemann hypothesis, and is included as a faithful statement of the source, not as an expected deliverable. The other results are proved in the literature; formalizing them requires building the partition/lcm description of element orders in SnS_nSn​ and quantitative prime-counting estimates on top of Mathlib.

Difficulty

The order of a permutation is easy to compute from its cycle type, but maximizing an lcm over all partitions is a non-linear optimization: the optimum uses prime powers whose sizes are dictated by the distribution of primes, so even the leading-order asymptotics need Chebyshev-type or prime number theorem estimates, and the refined milestones need the prime number theorem with an explicit error term.

Formalization scope

  • SnS_nSn​ is Equiv.Perm (Fin n); g(n)g(n)g(n) is the supremum of orderOf σ over the finite group (a natural number; g(0)=1g(0)=1g(0)=1).
  • Partitions are Mathlib's Nat.Partition n; the lcm of a partition is the Multiset.lcm of its parts.
  • Real logarithms use Real.log (which returns 000 at 000 and is defined for negative input); all asymptotic statements are about n→∞n\to\inftyn→∞, so the values at small nnn are irrelevant there. The bounds in milestones 8–9 are stated for every nnn and are true at n=0,1n=0,1n=0,1.
  • π(x)\pi(x)π(x) for real xxx is Nat.primeCounting ⌊x⌋₊; Li\mathrm{Li}Li is the offset logarithmic integral ∫2xdt/ln⁡t\int_2^x dt/\ln t∫2x​dt/lnt; Li−1(y)\mathrm{Li}^{-1}(y)Li−1(y) is the least x≥2x\ge2x≥2 with Li(x)≥y\mathrm{Li}(x)\ge yLi(x)≥y, which for y≥0y\ge0y≥0 is the inverse function value. Replacing Li\mathrm{Li}Li by the full integral li\mathrm{li}li changes the inverse by O(ln⁡n)O(\ln n)O(lnn) and does not affect any of the asymptotic statements.
  • The Riemann hypothesis is Mathlib's RiemannHypothesis.

Contributions of reusable infrastructure (cycle-type lcm, prime-counting error terms, the logarithmic integral) are welcome.

Selected references

  • E. Landau, Über die Maximalordnung der Permutationen gegebenen Grades, Arch. Math. Phys. Ser. 3, vol. 5, 1903.
  • J.-L. Nicolas, Sur l'ordre maximum d'un élément dans le groupe SnS_nSn​ des permutations, Acta Arithmetica 14 (1968), 315–332.
  • J.-P. Massias, Majoration explicite de l'ordre maximum d'un élément du groupe symétrique, Ann. Fac. Sci. Toulouse Math. (5) 6 (1984), 269–281.
  • J.-P. Massias, J.-L. Nicolas, G. Robin, Évaluation asymptotique de l'ordre maximum d'un élément du groupe symétrique, Acta Arithmetica 50 (1988), 221–242.
  • K. Ford, Vinogradov's integral and bounds for the Riemann zeta function, Proc. London Math. Soc. 85 (2002), 565–633. https://doi.org/10.1112/S0024611502013655
  • W. Miller, The maximum order of an element of a finite symmetric group, Amer. Math. Monthly 94 (1987), 497–506.
  • OEIS A000793. https://oeis.org/A000793
13 thms2 active usersReviewed
🏆Completed
Graph TheoryLinear algebra·Captain: mikedeng1

Three Conjectures in Extremal Spectral Graph Theory 2: For Large n, K₂ + Pₙ₋₂ Is the Unique Planar Graph on n Vertices of Maximum Spectral Radius (Boots–Royle / Cao–Vince Conjecture)Research Paper

Motivation

The spectral radius of a graph, the largest eigenvalue of its adjacency matrix, measures how densely and how unevenly the edges of the graph are distributed. Asking which graph in a class maximizes it is a spectral analogue of the extremal question "which graph in the class has the most edges". For planar graphs the question has a long history in spectral graph theory, going back at least to Schwenk and Wilson. It also arose in geography, where the spectral radius serves as a measure of the connectivity of planar networks. To compare real networks with a theoretical upper bound, geographers wanted the planar graph of maximum spectral radius (arXiv:1606.01916v2, p. 3).

Timeline, as recorded by Tait and Tobin (pp. 1–3):

  • 1978, Schwenk and Wilson: early study of the eigenvalues of planar graphs.
  • 1991, Boots and Royle, and independently 1993, Cao and Vince: conjecture that the planar graph on n≥9n \ge 9n≥9 vertices of maximum spectral radius is P2+Pn−2P_2 + P_{n-2}P2​+Pn−2​ (Conjecture 1 of the paper). The conjecture is false for n∈{7,8}n \in \{7, 8\}n∈{7,8}, so some lower bound on nnn is necessary (p. 2).
  • 1988–2000: successive improvements of the upper bound on the spectral radius of planar graphs, by Hong (1988, 1995, 1998), Cao and Vince (1993), Guiduli (1996) and Ellingham and Zha (2000). These bounds do not identify the extremal graph.
  • 2010, Dvořák and Mohar: an upper bound on the spectral radius of planar graphs of given maximum degree.
  • Guiduli and Hayes were reported by Ellingham and Zha to have proved the conjecture for large nnn. The preprint never appeared (p. 3).
  • 2017, Tait and Tobin: proof of the conjecture for all sufficiently large nnn (Theorem 15).

Setting

All graphs are finite and simple. A graph on nnn vertices has vertex set {0,1,…,n−1}\{0, 1, \dots, n-1\}{0,1,…,n−1}. Its adjacency matrix A(G)A(G)A(G) is the n×nn \times nn×n real matrix with entry 111 in position (u,w)(u, w)(u,w) when u∼wu \sim wu∼w and 000 otherwise. Its eigenvalues are real, and the largest is the spectral radius λ1(G)\lambda_1(G)λ1​(G).

A graph is planar if it can be drawn in the plane with vertices as distinct points and edges as simple arcs joining their ends, such that an arc meets no vertex other than its ends and two arcs meet only at common ends.

For graphs GGG and HHH on disjoint vertex sets, the join G+HG + HG+H is the graph on the union of the two vertex sets that keeps every edge of GGG and of HHH and adds every edge between a vertex of GGG and a vertex of HHH. Write K2K_2K2​ for a single edge, PmP_mPm​ for the path on mmm vertices, and K2+Pn−2K_2 + P_{n-2}K2​+Pn−2​ for their join: two adjacent vertices, both joined to every vertex of a path on the remaining n−2n - 2n−2 vertices. The paper also writes it P2+Pn−2P_2 + P_{n-2}P2​+Pn−2​.

A planar graph GGG on nnn vertices is a planar spectral maximizer if λ1(G′)≤λ1(G)\lambda_1(G') \le \lambda_1(G)λ1​(G′)≤λ1​(G) for every planar graph G′G'G′ on the same nnn vertices.

The milestones refer to a leading eigenvector v\mathbf vv of a maximizer, scaled so that every entry is positive and the largest entry is 111, and to a vertex xxx with vx=1\mathbf v_x = 1vx​=1. For a parameter ε>0\varepsilon > 0ε>0 they use the sets L={z:vz>ε}L = \{z : \mathbf v_z > \varepsilon\}L={z:vz​>ε} and S=V(G)∖LS = V(G) \setminus LS=V(G)∖L, the edge counts e(X)e(X)e(X) (edges inside XXX) and e(X,Y)e(X, Y)e(X,Y) (edges between XXX and YYY), and a second vertex www with vw>1−24ε\mathbf v_w > 1 - 24\varepsilonvw​>1−24ε that is adjacent to all but 94εn94\varepsilon n94εn vertices of SSS.

Formalization targets

Goal: Theorem 15

∃N0 ∀n≥N0 ∀G on n vertices:G is a planar spectral maximizer  ⟺  G≅K2+Pn−2.\exists N_0\ \forall n \ge N_0\ \forall G \text{ on } n \text{ vertices}: \quad G \text{ is a planar spectral maximizer} \iff G \cong K_2 + P_{n-2}.∃N0​ ∀n≥N0​ ∀G on n vertices:G is a planar spectral maximizer⟺G≅K2​+Pn−2​.

The threshold N0N_0N0​ is not fixed. The paper proves the statement only for nnn beyond an unspecified bound, and the conjecture's bound n≥9n \ge 9n≥9 remains open. The equivalence encodes "the unique maximizer is K2+Pn−2K_2 + P_{n-2}K2​+Pn−2​": every maximizer is isomorphic to it, and it is itself a maximizer.

Milestones, in the order of the proof

  1. If HHH is a proper spanning subgraph of a connected graph GGG, then λ1(H)<λ1(G)\lambda_1(H) < \lambda_1(G)λ1​(H)<λ1​(G) (§1.2, already proved on the platform).
  2. A planar graph on n≥3n \ge 3n≥3 vertices has no K3,3K_{3,3}K3,3​ subgraph and at most 3n−63n - 63n−6 edges, and each of its bipartite subgraphs has at most 2n−42n - 42n−4 edges (p. 8).
  3. Lemma 8: 2n−4<λ1<6n\sqrt{2n-4} < \lambda_1 < \sqrt{6n}2n−4​<λ1​<6n​.
  4. The counts ∣L∣≤32n−4/ε|L| \le 3\sqrt{2n-4}/\varepsilon∣L∣≤32n−4​/ε, e(S,L)≤2n−4e(S, L) \le 2n - 4e(S,L)≤2n−4, e(S)≤3n−6e(S) \le 3n - 6e(S)≤3n−6, e(L)≤92n−4/εe(L) \le 9\sqrt{2n-4}/\varepsilone(L)≤92n−4​/ε (p. 8).
  5. Lemma 9: ∑z∈Lvz≤ε2n−4+18/ε\sum_{z \in L} \mathbf v_z \le \varepsilon\sqrt{2n-4} + 18/\varepsilon∑z∈L​vz​≤ε2n−4​+18/ε and ∑z∈Svz≤(1+3ε)2n−4\sum_{z \in S} \mathbf v_z \le (1 + 3\varepsilon)\sqrt{2n-4}∑z∈S​vz​≤(1+3ε)2n−4​.
  6. Eq. (7): ∑y∼u, y∈Svy≥(vu−ε)2n−4−18/ε\sum_{y \sim u,\, y \in S} \mathbf v_y \ge (\mathbf v_u - \varepsilon)\sqrt{2n-4} - 18/\varepsilon∑y∼u,y∈S​vy​≥(vu​−ε)2n−4​−18/ε for u∈Lu \in Lu∈L.
  7. Lemma 10: vz>1/6n\mathbf v_z > 1/\sqrt{6n}vz​>1/6n​ for every vertex zzz.
  8. ∣{y∈S:y≁x}∣≤14εn|\{y \in S : y \not\sim x\}| \le 14\varepsilon n∣{y∈S:y∼x}∣≤14εn (p. 10).
  9. Lemma 11: a vertex w∈Lw \in Lw∈L, w≠xw \ne xw=x, with vw>1−24ε\mathbf v_w > 1 - 24\varepsilonvw​>1−24ε and ∣{y∈S:y≁w}∣≤94εn|\{y \in S : y \not\sim w\}| \le 94\varepsilon n∣{y∈S:y∼w}∣≤94εn.
  10. Lemma 12: vu<1/10\mathbf v_u < 1/10vu​<1/10 for every u∉{x,w}u \notin \{x, w\}u∈/{x,w}.
  11. Lemma 13: x∼wx \sim wx∼w.
  12. Lemma 14: every vertex other than xxx and www is adjacent to both.
  13. A planar graph with two distinct vertices adjacent to all other vertices is a spanning subgraph of K2+Pn−2K_2 + P_{n-2}K2​+Pn−2​ (proof of Theorem 15, p. 13).

Significance

The result. Theorem 15 settles the Boots–Royle / Cao–Vince conjecture for all large nnn. It identifies the planar graph of maximum spectral radius exactly, so the theoretical upper bound that the geographic application asks for is λ1(K2+Pn−2)\lambda_1(K_2 + P_{n-2})λ1​(K2​+Pn−2​). Along the way, Lemmas 8–14 describe the eigenvector of the extremal graph: two vertices carry almost all of the eigenvector weight, and every other entry is below 1/101/101/10. The same method proves the outerplanar analogue (Theorem 7, the companion mission of this series).

Formalizing it. The theorem is proved on paper and has no machine-checked proof. Formalizing it needs several pieces that are absent from Mathlib or the platform and are reusable: the edge bound 3n−63n - 63n−6 and the bipartite bound 2n−42n - 42n−4 for topologically planar graphs, the non-planarity of K3,3K_{3,3}K3,3​ and K5K_5K5​ and of their subdivisions, Rayleigh-quotient comparison of spectral radii, and the face structure of maximal planar graphs. Each milestone is a self-contained target.

Difficulty

Counting edges does not separate the candidates. A maximizer can be taken to be a maximal planar graph, so it has exactly 3n−63n - 63n−6 edges. Every maximal planar graph on nnn vertices has the same number of edges, and the standard lower bound λ1≥2∣E∣/n\lambda_1 \ge 2|E|/nλ1​≥2∣E∣/n is the same for all of them. The extremal graph is pinned down only through its eigenvector. One has to show that the weight concentrates on two vertices, which are then forced to be adjacent to each other (Lemma 13) and to every other vertex (Lemma 14). Lemma 13 is the step specific to planarity. It uses the triangular faces of a maximal planar graph to find an edge switch that keeps the graph planar. In the formal setting, planarity is topological, so every planarity fact of the argument (the edge counts, the K3,3K_{3,3}K3,3​ and K5K_5K5​ obstructions, the faces of a triangulation) has to be derived from the drawing.

Formalization scope

  • Graphs are SimpleGraph (Fin n). "GGG is K2+Pn−2K_2 + P_{n-2}K2​+Pn−2​" is a graph isomorphism G ≃g bookPath n, where bookPath n lives on Fin 2 ⊕ Fin (n - 2). It is not an equality on a fixed labelling.
  • λ1\lambda_1λ1​ is the published WangKangXue.SpectralTuran.specRad, the largest eigenvalue of the real adjacency matrix.
  • Planarity is the published topological RobertsonSeymour1986.GM5.IsPlanar: a drawing by simple arcs. It is not replaced by K5K_5K5​/K3,3K_{3,3}K3,3​-minor-freeness or by an edge count, either of which would change the class the maximum ranges over.
  • Extremality is IsSpecMax IsPlanar G: GGG is planar and λ1(G′)≤λ1(G)\lambda_1(G') \le \lambda_1(G)λ1​(G′)≤λ1​(G) for every planar G′G'G′ on Fin n. Every milestone from Lemma 8 to Lemma 14 assumes it. These lemmas are false for an arbitrary planar graph, so a statement that drops the hypothesis, or replaces it by a property implying the conclusion, is not acceptable.
  • The eigenvector is universally quantified: every v\mathbf vv with Av=λ1vA\mathbf v = \lambda_1 \mathbf vAv=λ1​v, all entries positive, all entries at most 111, and every xxx with vx=1\mathbf v_x = 1vx​=1. Such a vector exists because the maximizer is connected (Perron–Frobenius). A statement that only asserts the existence of some eigenvector is weaker and is ruled out.
  • Quantifiers. "For nnn sufficiently large" is ∃N ∀n≥N\exists N\ \forall n \ge N∃N ∀n≥N, and NNN may depend on ε\varepsilonε. Milestones 4–8 hold for every ε>0\varepsilon > 0ε>0. Lemmas 11–14 hold for 0<ε<ε00 < \varepsilon < \varepsilon_00<ε<ε0​ with an unspecified ε0\varepsilon_0ε0​, because the paper chooses ε\varepsilonε small. The quantifier on ε\varepsilonε is always outermost, so ε\varepsilonε never depends on nnn or GGG. Lemmas 12–14 hold for every vertex www satisfying the conclusion of Lemma 11 (the predicate IsSecondHub), with the constants 242424 and 949494.
  • Added hypotheses. n≥3n \ge 3n≥3 in the planar facts and in Lemma 8, where the paper's standing "nnn large enough" is needed only to that extent. The page names the vertex of Lemma 12 vvv, the same letter as the eigenvector; it is renamed uuu. Lemma 14's set AAA is stated in unfolded form.
  • Infrastructure that a complete development needs: Euler's formula for topologically planar graphs, the non-planarity of K3,3K_{3,3}K3,3​ and K5K_5K5​, Perron–Frobenius for connected graphs, and the Rayleigh quotient. Proofs of the planar facts (milestone 2) are reusable well beyond this mission. Contributions toward any of them are welcome.

Selected references

  • M. Tait and J. Tobin, Three conjectures in extremal spectral graph theory, J. Combin. Theory Ser. B (2017). Preprint arXiv:1606.01916v2. https://arxiv.org/abs/1606.01916, DOI https://doi.org/10.1016/j.jctb.2017.04.006
  • B. N. Boots and G. F. Royle, A conjecture on the maximum value of the principal eigenvalue of a planar graph, Geographical Analysis 23(3) (1991), 276–282.
  • D. Cao and A. Vince, The spectral radius of a planar graph, Linear Algebra Appl. 187 (1993), 251–257.
  • A. J. Schwenk and R. J. Wilson, On the eigenvalues of a graph, in: Selected Topics in Graph Theory, Academic Press, 1978, 307–336.
  • Hong Yuan, A bound on the spectral radius of graphs, Linear Algebra Appl. 108 (1988), 135–139.
  • M. N. Ellingham and X. Zha, The spectral radius of graphs on surfaces, J. Combin. Theory Ser. B 78(1) (2000), 45–56.
  • Z. Dvořák and B. Mohar, Spectral radius of finite and infinite planar graphs and of graphs of bounded genus, J. Combin. Theory Ser. B 100(6) (2010), 729–739.

Bibliographic data as given in the bibliography of Tait and Tobin (pp. 21–23).

21 thms2 active usersReviewed
🏆Completed
Linear algebraOptimizationTheoretical Computer Science·Captain: mikedeng1

Optimal Approximation for Submodular and Supermodular Optimization with Bounded Curvature II: Column-Subset Selection Has Total Curvature at Most 1 − 1/κ(A)²Research Paper

Why column-subset selection and curvature

The column-subset selection problem (CSSP) asks for kkk columns of a real matrix AAA whose span approximates all of AAA as well as possible in squared Frobenius norm. It is a basic primitive of low-rank approximation, feature selection and numerical linear algebra, studied both for its exact complexity and for approximation algorithms (see Boutsidis, Drineas and Magdon-Ismail, doi:10.1137/12086755X, cited as [2] in the source paper).

Sviridenko, Vondrák and Ward study submodular maximization and supermodular minimization when the objective has bounded total curvature, a parameter c∈[0,1]c \in [0,1]c∈[0,1] introduced by Conforti and Cornuéjols that measures how far a monotone set function is from being linear. Their guarantees improve as ccc decreases. Section 8 of the paper applies this to CSSP: it bounds the curvature of the CSSP objective in terms of the condition number of AAA, so that a well-conditioned matrix has small curvature. This mission formalizes that bound (Lemma 8.2) and the steps of its proof.

Setting

Let AAA be a real m×nm \times nm×n matrix with columns c1,…,cn∈Rmc_1, \dots, c_n \in \mathbb{R}^mc1​,…,cn​∈Rm, so that Ax=∑ixiciAx = \sum_i x_i c_iAx=∑i​xi​ci​ for x∈Rnx \in \mathbb{R}^nx∈Rn, and let ∥⋅∥\|\cdot\|∥⋅∥ be the Euclidean norm. For S⊆[n]S \subseteq [n]S⊆[n] write projS(x)\mathrm{proj}_S(x)projS​(x) for the orthogonal projection of xxx onto span{ci:i∈S}\mathrm{span}\{c_i : i \in S\}span{ci​:i∈S}, the point of that subspace nearest to xxx (proj∅=0\mathrm{proj}_\emptyset = 0proj∅​=0). The CSSP objective is

fA(S)=∑i=1n∥ci−projS(ci)∥2,f^A(S) = \sum_{i=1}^n \|c_i - \mathrm{proj}_S(c_i)\|^2 ,fA(S)=i=1∑n​∥ci​−projS​(ci​)∥2,

the squared Frobenius distance from AAA to the nearest matrix whose columns lie in the span of the selected columns.

For a set function fff on a finite set XXX, the marginal value of iii at AAA is fA(i)=f(A+i)−f(A)f_A(i) = f(A+i) - f(A)fA​(i)=f(A+i)−f(A). The function fff is monotone decreasing if every fA(i)≤0f_A(i) \le 0fA​(i)≤0. Following (1.1) of the paper, a monotone decreasing fff has total curvature at most ccc when, for every j∈Xj \in Xj∈X,

fX−j(j)≤(1−c) f∅(j),f_{X-j}(j) \le (1-c)\, f_\emptyset(j),fX−j​(j)≤(1−c)f∅​(j),

i.e. the last marginal of jjj is at least a (1−c)(1-c)(1−c) fraction of its first marginal in absolute value.

When the columns of AAA are linearly independent, the condition number is

κ(A)=sup⁡∥x∥=1∥Ax∥inf⁡∥x∥=1∥Ax∥∈[1,∞).\kappa(A) = \frac{\sup_{\|x\|=1}\|Ax\|}{\inf_{\|x\|=1}\|Ax\|} \in [1, \infty).κ(A)=inf∥x∥=1​∥Ax∥sup∥x∥=1​∥Ax∥​∈[1,∞).

Formalization targets

Goal: Lemma 8.2 (p. 11)

For AAA with linearly independent columns,

f[n]−jA(j)≤1κ2(A) f∅A(j)for all j∈[n],i.e.c(fA)≤1−1κ2(A).f^A_{[n]-j}(j) \le \frac{1}{\kappa^2(A)}\, f^A_\emptyset(j) \quad \text{for all } j \in [n], \qquad \text{i.e.}\quad c(f^A) \le 1 - \frac{1}{\kappa^2(A)} .f[n]−jA​(j)≤κ2(A)1​f∅A​(j)for all j∈[n],i.e.c(fA)≤1−κ2(A)1​.

Milestones

  1. The identity fA(S)=∑i(∥ci∥2−∥projS(ci)∥2)f^A(S) = \sum_i (\|c_i\|^2 - \|\mathrm{proj}_S(c_i)\|^2)fA(S)=∑i​(∥ci​∥2−∥projS​(ci​)∥2) (p. 11).
  2. Lemma 8.1, monotone part: S↦∥projS(v)∥2S \mapsto \|\mathrm{proj}_S(v)\|^2S↦∥projS​(v)∥2 is monotone increasing (p. 11).
  3. fAf^AfA is monotone decreasing (p. 11).
  4. ∣f∅A(i)∣=∑j∥proj{i}(cj)∥2|f^A_\emptyset(i)| = \sum_j \|\mathrm{proj}_{\{i\}}(c_j)\|^2∣f∅A​(i)∣=∑j​∥proj{i}​(cj​)∥2 (p. 11).
  5. Some unit xxx has ∥Ax∥≥∣f∅A(i)∣\|Ax\| \ge \sqrt{|f^A_\emptyset(i)|}∥Ax∥≥∣f∅A​(i)∣​ (p. 12).
  6. ∣f[n]−iA(i)∣=∥ci−proj[n]−i(ci)∥2|f^A_{[n]-i}(i)| = \|c_i - \mathrm{proj}_{[n]-i}(c_i)\|^2∣f[n]−iA​(i)∣=∥ci​−proj[n]−i​(ci​)∥2 (p. 12).
  7. Some unit x′x'x′ has ∥Ax′∥≤∣f[n]−iA(i)∣\|Ax'\| \le \sqrt{|f^A_{[n]-i}(i)|}∥Ax′∥≤∣f[n]−iA​(i)∣​ (p. 12).
  8. κ2(A)≥f∅A(i)/f[n]−iA(i)\kappa^2(A) \ge f^A_\emptyset(i)/f^A_{[n]-i}(i)κ2(A)≥f∅A​(i)/f[n]−iA​(i) for each iii, under independence (p. 12).

Items 1–7 hold for arbitrary columns; only item 8 and the goal assume independence.

Significance

Lemma 8.2 turns a spectral quantity into a combinatorial one. With it, any curvature-dependent guarantee for monotone decreasing set functions can be stated for CSSP in terms of κ(A)\kappa(A)κ(A). The paper's Lemma 8.3 shows the bound is asymptotically tight, so 1−Θ(1/κ2)1 - \Theta(1/\kappa^2)1−Θ(1/κ2) is the right order of the curvature.

There is a caveat that the formalization makes explicit. The paper deduces from Lemma 8.1 that fAf^AfA is supermodular, and on that basis quotes its supermodular-minimization algorithm for CSSP with factor 1+(κ2−1)e−1+κ2O(ϵ)1 + (\kappa^2 - 1)e^{-1} + \kappa^2 O(\epsilon)1+(κ2−1)e−1+κ2O(ϵ) (p. 12). Both the submodularity half of Lemma 8.1 and the supermodularity of fAf^AfA are false as printed. With c1=e1c_1 = e_1c1​=e1​, c2=e1+e2c_2 = e_1 + e_2c2​=e1​+e2​ and v=e2v = e_2v=e2​ in R2\mathbb{R}^2R2, the function F(S)=∥projS(v)∥2F(S) = \|\mathrm{proj}_S(v)\|^2F(S)=∥projS​(v)∥2 has F({1,2})+F(∅)=1>12=F({1})+F({2})F(\{1,2\}) + F(\emptyset) = 1 > \tfrac12 = F(\{1\}) + F(\{2\})F({1,2})+F(∅)=1>21​=F({1})+F({2}). With columns e1,e1+e2,2e2e_1, e_1+e_2, 2e_2e1​,e1​+e2​,2e2​, fA({1})+fA({2})=152>7=fA({1,2})+fA(∅)f^A(\{1\}) + f^A(\{2\}) = \tfrac{15}{2} > 7 = f^A(\{1,2\}) + f^A(\emptyset)fA({1})+fA({2})=215​>7=fA({1,2})+fA(∅). A small perturbation gives a counterexample with independent columns. This is the "suppressor variable" phenomenon of regression. The curvature bound itself does not depend on supermodularity and is true, so it is the goal here. The approximation factor for CSSP is not posed, because it rests on the false claim and is stated with O(ϵ)O(\epsilon)O(ϵ).

As far as is known, none of these statements has a machine-checked proof. The results are proved on paper, except the two false claims above. The mission adds a formal proof of the curvature–conditioning bound, and makes explicit which parts of §8 survive.

Difficulty

The individual steps are short linear algebra, but they rest on infrastructure that has to be assembled: orthogonal projections onto spans of finite column families, the Pythagorean identities that relate fAf^AfA to projections, and the variational characterization of sup⁡\supsup and inf⁡\infinf of ∥Ax∥\|Ax\|∥Ax∥ over the unit sphere.

The paper's own route to the large unit vector (milestone 5) does not work as printed. It sets xj∝∥proj{i}(cj)∥x_j \propto \|\mathrm{proj}_{\{i\}}(c_j)\|xj​∝∥proj{i}​(cj​)∥ and uses ci⋅cj=∥ci∥ ∥proj{i}(cj)∥c_i \cdot c_j = \|c_i\|\,\|\mathrm{proj}_{\{i\}}(c_j)\|ci​⋅cj​=∥ci​∥∥proj{i}​(cj​)∥, which is false when ci⋅cj<0c_i \cdot c_j < 0ci​⋅cj​<0, so the signs of the inner products have to be accounted for. In the final step, the ratio f∅A(i)/f[n]−iA(i)f^A_\emptyset(i)/f^A_{[n]-i}(i)f∅A​(i)/f[n]−iA​(i) is a quotient of two negative numbers. Comparing it with κ2\kappa^2κ2 requires the supremum to be finite and the infimum to be strictly positive, which is exactly what independence of the columns provides.

Formalization scope

  • Columns are a family c : Fin n → EuclideanSpace ℝ (Fin m), and AxAxAx is ∑ j, x j • c j. Subsets of [n][n][n] are Finset (Fin n). [n]−i[n] - i[n]−i is Finset.univ.erase i and S+iS + iS+i is insert i S.
  • projS\mathrm{proj}_SprojS​ is Mathlib's Submodule.starProjection onto Submodule.span ℝ (c '' S), which is finite-dimensional, so the argmin of the page exists and is unique.
  • κ(A)\kappa(A)κ(A) is a real quotient of ⨆ and ⨅ of ∥Ax∥\|Ax\|∥Ax∥ over the unit-sphere subtype of Rn\mathbb{R}^nRn. It is used only under LinearIndependent ℝ c, the page's "non-singular", where both are finite and positive. The page's κ=∞\kappa = \inftyκ=∞ for dependent columns is not encoded.
  • Monotonicity is the marginal form of §2.1. Curvature is the product form above, which agrees with the ratio of (1.1) whenever f∅(j)≠0f_\emptyset(j) \ne 0f∅​(j)=0 and avoids Lean's x/0=0x/0 = 0x/0=0.
  • For n=0n = 0n=0 the goal has no jjj and is empty, as on the page.
  • A trivializing reading is ruled out by the encoding: had κ\kappaκ evaluated to a junk value 000, the goal would reduce to monotonicity. Under independence the supremum and infimum are genuine, so the bound 1−1/κ21 - 1/\kappa^21−1/κ2 is the paper's.
  • Not in scope: Lemma 8.3 (stated with O(⋅)O(\cdot)O(⋅)), the CSSP approximation factor, and the false submodularity and supermodularity claims.

Useful infrastructure that would be reusable beyond this mission includes Pythagoras for starProjection, monotonicity of projection norms under inclusion of subspaces, and extremal characterizations of sup⁡∥x∥=1∥Ax∥\sup_{\|x\|=1}\|Ax\|sup∥x∥=1​∥Ax∥ and inf⁡∥x∥=1∥Ax∥\inf_{\|x\|=1}\|Ax\|inf∥x∥=1​∥Ax∥. Contributions of any of the milestones, or of these general lemmas, are welcome.

Selected references

  • M. Sviridenko, J. Vondrák, J. Ward, Optimal approximation for submodular and supermodular optimization with bounded curvature, SODA 2015 (version of Oct. 9, 2014); journal version Math. Oper. Res. 42(4), 2017. https://doi.org/10.1287/moor.2016.0842
  • M. Conforti, G. Cornuéjols, Submodular set functions, matroids and the greedy algorithm: tight worst-case bounds and some generalizations of the Rado–Edmonds theorem, Discrete Appl. Math. 7(3), 1984. https://doi.org/10.1016/0166-218X(84)90003-9
  • C. Boutsidis, P. Drineas, M. Magdon-Ismail, Near-optimal column-based matrix reconstruction, SIAM J. Comput. 43(2), 2014. https://doi.org/10.1137/12086755X
  • A. Das, D. Kempe, Submodular meets spectral: greedy algorithms for subset selection, sparse approximation and dictionary selection, ICML 2011. https://arxiv.org/abs/1102.3975
11 thms2 active usersReviewed
🏆Completed
Graph TheoryLinear algebra·Captain: mikedeng1

Three Conjectures in Extremal Spectral Graph Theory 1: For Large n, K₁ + Pₙ₋₁ Is the Unique Outerplanar Graph on n Vertices of Maximum Spectral Radius (Cvetković–Rowlinson Conjecture)Research Paper

Motivation

The spectral radius λ1(G)\lambda_1(G)λ1​(G) of a graph GGG, the largest eigenvalue of its adjacency matrix, is a standard measure of how densely and how centrally a graph is connected. A classical theme of spectral graph theory asks, for a natural family of graphs, which member of the family on nnn vertices maximizes λ1\lambda_1λ1​. For planar graphs this question was raised by geographers comparing road and transport networks, and for outerplanar graphs it was posed by Cvetković and Rowlinson in their 1990 survey of the largest eigenvalue of a graph, where they relate it to the study of subfamilies of Hamiltonian graphs.

Conjecture (Cvetković–Rowlinson, 1990). The outerplanar graph on nnn vertices of maximum spectral radius is K1+Pn−1K_1 + P_{n-1}K1​+Pn−1​.

Timeline:

  • 1990. Cvetković and Rowlinson state the conjecture (Linear and Multilinear Algebra 28).
  • 1990. Rowlinson makes partial progress, on the index of certain outerplanar graphs (Ars Combinatoria 29).
  • 1993. Cao and Vince work on the spectral radius of planar graphs and the related conjecture (Linear Algebra Appl. 187).
  • 2001. Zhou, Lin and Hu study the spectral radius of Hamiltonian planar and outerplanar graphs (Tsinghua Science and Technology 6).
  • 2017. Tait and Tobin prove the conjecture for all sufficiently large nnn (arXiv:1606.01916, J. Combin. Theory Ser. B, doi:10.1016/j.jctb.2017.04.006), Theorem 7.

This mission formalizes Section 2 of Tait and Tobin.

Setting

All graphs are finite and simple. An nnn-vertex graph GGG has vertex set V(G)={0,…,n−1}V(G) = \{0, \dots, n-1\}V(G)={0,…,n−1}, adjacency matrix A(G)A(G)A(G), and spectral radius λ1(G)\lambda_1(G)λ1​(G), the largest eigenvalue of the real symmetric matrix A(G)A(G)A(G). Write dud_udu​ for the degree of a vertex uuu and N(u)N(u)N(u) for its neighbourhood.

A plane drawing of GGG places the vertices at distinct points of R2\mathbb R^2R2 and each edge as a simple arc between its ends; an arc passes through no other vertex, and two arcs meet only at a common end. The union of the vertex points and arcs is a compact set, so its complement has exactly one unbounded connected component, the outer face. A graph is outerplanar if it has a plane drawing in which every vertex lies on the boundary of the outer face.

The join G+HG + HG+H of two graphs is their disjoint union together with all edges between them. The fan K1+Pn−1K_1 + P_{n-1}K1​+Pn−1​ is a single vertex joined to every vertex of a path on n−1n-1n−1 vertices; it is outerplanar and has 2n−32n-32n−3 edges.

An outerplanar graph GGG on nnn vertices is a spectral maximizer if λ1(G′)≤λ1(G)\lambda_1(G') \le \lambda_1(G)λ1​(G′)≤λ1​(G) for every outerplanar graph G′G'G′ on the same nnn vertices.

Several milestones refer to a Perron vector: an eigenvector v\mathbf vv of A(G)A(G)A(G) for λ1\lambda_1λ1​ with all entries positive, normalized so that its maximum entry is 111, together with a vertex xxx with vx=1\mathbf v_x = 1vx​=1. For a connected graph such a vector exists by the Perron–Frobenius theorem.

Formalization targets

Goal: Theorem 7

There is NNN such that for every n≥Nn \ge Nn≥N and every graph GGG on nnn vertices,

G is an outerplanar spectral maximizer  ⟺  G≅K1+Pn−1.G \text{ is an outerplanar spectral maximizer} \iff G \cong K_1 + P_{n-1}.G is an outerplanar spectral maximizer⟺G≅K1​+Pn−1​.

The forward direction is the paper's Theorem 7; the converse says that the fan is the maximizer, as the conjecture reads. The threshold NNN is left unspecified, as in the paper.

Milestones

The milestones follow the proof in Section 2, in order:

  1. a strict subgraph of a connected graph has strictly smaller λ1\lambda_1λ1​ (already proved on the platform);
  2. an outerplanar graph on n≥2n \ge 2n≥2 vertices has at most 2n−32n-32n−3 edges and no K2,3K_{2,3}K2,3​ subgraph;
  3. Lemma 3: for n≥3n \ge 3n≥3 a spectral maximizer has λ1>n−1\lambda_1 > \sqrt{n-1}λ1​>n−1​;
  4. Lemma 4: du>vun−11nd_u > \mathbf v_u n - 11\sqrt ndu​>vu​n−11n​ for every vertex uuu;
  5. Lemma 5: for nnn large, dx>n−11nd_x > n - 11\sqrt ndx​>n−11n​ and vu<C1/n\mathbf v_u < C_1/\sqrt nvu​<C1​/n​ for every u≠xu \ne xu=x, with an absolute constant C1C_1C1​;
  6. Lemma 6: for nnn large, ∑z∈Bvz<C2/n\sum_{z\in B}\mathbf v_z < C_2/\sqrt n∑z∈B​vz​<C2​/n​, where B=V(G)∖(N(x)∪{x})B = V(G)\setminus(N(x)\cup\{x\})B=V(G)∖(N(x)∪{x});
  7. for nnn large, B=∅B = \emptysetB=∅: xxx is adjacent to every other vertex;
  8. an outerplanar graph with a vertex adjacent to all others is a spanning subgraph of K1+Pn−1K_1 + P_{n-1}K1​+Pn−1​.

Significance

The theorem settles, for all large nnn, a conjecture that had been open since 1990 and had resisted several partial attacks. The same paper settles, in the same framework, the planar analogue (the Boots–Royle and Cao–Vince conjecture, K2+Pn−2K_2 + P_{n-2}K2​+Pn−2​) and a conjecture on spectral irregularity. The outerplanar case is the shortest of the three.

On the formal side, the result is proved on paper but has no machine-checked proof. Completing the mission produces a formal theory of outerplanar plane drawings (edge bound, K2,3K_{2,3}K2,3​-freeness, outerplanarity of the fan), eigenvector estimates for extremal graphs, and the full extremal theorem. The edge bound and the K2,3K_{2,3}K2,3​ exclusion are reusable for any later work on outerplanar or series–parallel graphs. Determining the exact threshold NNN, or proving the statement for every n≥2n \ge 2n≥2, would be a strengthening beyond the paper.

Difficulty

There are two separate difficulties. The first is topological: the facts about outerplanar graphs that the spectral argument uses (at most 2n−32n-32n−3 edges, no K2,3K_{2,3}K2,3​ subgraph, no cycle in G−xG - xG−x when xxx dominates, outerplanarity of the fan) are folklore on paper but require a Jordan-curve-type argument about plane drawings, of which Mathlib currently contains very little. The second is spectral: the edge-switching step that proves B=∅B = \emptysetB=∅ compares λ1\lambda_1λ1​ of two graphs through the Rayleigh quotient, and needs a positive Perron vector and the variational characterization of the largest eigenvalue for symmetric matrices. A purely combinatorial edge-maximization argument does not work: the fan is not the only outerplanar graph with 2n−32n-32n−3 edges, so maximizing the number of edges does not identify the spectral maximizer.

Formalization scope

  • Graphs are SimpleGraph (Fin n); λ1\lambda_1λ1​ is the published WangKangXue.SpectralTuran.specRad, the largest eigenvalue of G.adjMatrix ℝ.
  • Outerplanarity is topological: a published RobertsonSeymour1986.GM5.PlaneDrawing with every vertex point in the closure of the unbounded component of the complement of the drawing. It is not replaced by a forbidden-minor characterization; such characterizations are theorems about outerplanarity, and would change which graphs compete in the maximization.
  • Extremality is IsSpecMax IsOuterplanar G: GGG is outerplanar and no outerplanar graph on the same vertex set has larger λ1\lambda_1λ1​. It is never weakened to a comparison with the fan.
  • "GGG is K1+Pn−1K_1 + P_{n-1}K1​+Pn−1​" is a graph isomorphism G ≃g fan n, with the fan on Fin 1 ⊕ Fin (n - 1).
  • Perron-vector statements quantify over every positive eigenvector for λ1\lambda_1λ1​ with maximum entry 111 and every vertex xxx with vx=1\mathbf v_x = 1vx​=1; existential quantification over v\mathbf vv would be weaker.
  • "For some absolute constant" is an existential quantifier placed before the threshold, the graph and the vector; "for nnn sufficiently large" is ∃ N, ∀ n ≥ N.
  • Added hypotheses, each forced by a degenerate case: n≥2n \ge 2n≥2 for the edge bound (the bound 2n−32n-32n−3 is negative below), n≥3n \ge 3n≥3 for Lemma 3 (it fails for n=2n = 2n=2, where the maximizer K2K_2K2​ has λ1=1=n−1\lambda_1 = 1 = \sqrt{n-1}λ1​=1=n−1​).

A complete development needs the Perron–Frobenius theorem for symmetric nonnegative matrices and the Rayleigh quotient characterization of λ1\lambda_1λ1​, both of general use; the theory of outerplanar drawings; and the counting arguments of the lemmas. Contributions to any of these layers are welcome, as are independent proofs of the outerplanar facts from the drawing definition.

Selected references

  • M. Tait and J. Tobin, Three conjectures in extremal spectral graph theory, J. Combin. Theory Ser. B (2017), https://doi.org/10.1016/j.jctb.2017.04.006; preprint arXiv:1606.01916v2, https://arxiv.org/abs/1606.01916
  • D. Cvetković and P. Rowlinson, The largest eigenvalue of a graph: a survey, Linear and Multilinear Algebra 28 (1990), 3–33.
  • P. Rowlinson, On the index of certain outerplanar graphs, Ars Combinatoria 29 (1990), 221–225.
  • D. Cao and A. Vince, The spectral radius of a planar graph, Linear Algebra Appl. 187 (1993), 251–257.
  • J. Zhou, C. Lin and G. Hu, Spectral radius of Hamiltonian planar graphs and outerplanar graphs, Tsinghua Science and Technology 6 (2001), 350–354.
12 thms2 active usersReviewed
🏆Completed
ProbabilityStochastic Systems·Captain: mikedeng1

Separation of Time-Scales and Model Reduction for Stochastic Reaction Networks 2: Positive Combinations Preserve the Balance Condition When Production and Consumption Sets Are DisjointResearch Paper

Multiscale reaction networks and the balance condition

Stochastic models of chemical reaction networks in cell biology routinely combine species present in a handful of copies with species present in thousands, and rate constants that differ by orders of magnitude. Simulating such a system exactly is expensive, and model reduction replaces it with a lower-dimensional limit. A systematic approach, developed by Ball, Kurtz, Popovic and Rempala (2006) and by Kang and Kurtz (arXiv:1011.1672), normalizes species numbers and rate constants by powers of a large parameter NNN and derives limits as N→∞N\to\inftyN→∞ on several time-scales.

For such limits to exist, the normalized species numbers must stay of order one. For a single species this is the species balance condition: either the fastest reaction producing it is as fast as the fastest reaction consuming it, or the time-scale considered is short enough that the imbalance does not show. Kang and Kurtz observed (arXiv:1011.1672v1, §3.2, p. 9) that this is not enough: a collection of species can be produced collectively at a different order of magnitude from the rate at which it is consumed, even when every member is balanced. They therefore impose a balance condition on every nonnegative linear combination of species, which is infinitely many conditions. Section 3.4 of their paper proves combinatorial lemmas that reduce the work of checking them. This mission formalizes the lemmas on positive combinations of two weight vectors.

Setting

A reaction network has s0s_0s0​ species S1,…,Ss0S_1,\dots,S_{s_0}S1​,…,Ss0​​ and r0r_0r0​ reactions. Reaction kkk consumes νik∈N\nu_{ik}\in\mathbb Nνik​∈N molecules of SiS_iSi​ and produces νik′∈N\nu'_{ik}\in\mathbb Nνik′​∈N; its net change is the vector ζk=νk′−νk\zeta_k=\nu'_k-\nu_kζk​=νk′​−νk​. Each species carries a scaling exponent αi≥0\alpha_i\ge0αi​≥0 and each reaction an exponent βk∈R\beta_k\in\mathbb Rβk​∈R; put

ρk=βk+νk⋅α=βk+∑iνikαi,\rho_k=\beta_k+\nu_k\cdot\alpha=\beta_k+\sum_i\nu_{ik}\alpha_i,ρk​=βk​+νk​⋅α=βk​+i∑​νik​αi​,

the order of magnitude (as a power of NNN) of the rate of reaction kkk.

A weight vector θ∈[0,∞)s0\theta\in[0,\infty)^{s_0}θ∈[0,∞)s0​ describes the linear combination θ⋅X=∑iθiXi\theta\cdot X=\sum_i\theta_iX_iθ⋅X=∑i​θi​Xi​. Its sign sets (Definition 3.1) are

Γθ+={k:θ⋅ζk>0},Γθ−={k:θ⋅ζk<0},\Gamma^+_\theta=\{k:\theta\cdot\zeta_k>0\},\qquad\Gamma^-_\theta=\{k:\theta\cdot\zeta_k<0\},Γθ+​={k:θ⋅ζk​>0},Γθ−​={k:θ⋅ζk​<0},

the reactions that increase and decrease θ⋅X\theta\cdot Xθ⋅X. Maxima max⁡k∈Sρk\max_{k\in S}\rho_kmaxk∈S​ρk​ are taken in R∪{−∞}\mathbb R\cup\{-\infty\}R∪{−∞}, with max⁡k∈∅ρk=−∞\max_{k\in\emptyset}\rho_k=-\inftymaxk∈∅​ρk​=−∞, and a∨ba\vee ba∨b is the maximum.

Fix a time-scale exponent γ∈R\gamma\in\mathbb Rγ∈R. Condition 3.2 holds for θ\thetaθ if either the balance equation

max⁡k∈Γθ−ρk=max⁡k∈Γθ+ρk(3.7)\max_{k\in\Gamma^-_\theta}\rho_k=\max_{k\in\Gamma^+_\theta}\rho_k\tag{3.7}k∈Γθ−​max​ρk​=k∈Γθ+​max​ρk​(3.7)

or the time-scale constraint

γ≤γθ≡max⁡i:θi>0αi−max⁡k∈Γθ+∪Γθ−ρk(3.8)\gamma\le\gamma_\theta\equiv\max_{i:\theta_i>0}\alpha_i-\max_{k\in\Gamma^+_\theta\cup\Gamma^-_\theta}\rho_k\tag{3.8}γ≤γθ​≡i:θi​>0max​αi​−k∈Γθ+​∪Γθ−​max​ρk​(3.8)

holds, with γθ=+∞\gamma_\theta=+\inftyγθ​=+∞ when Γθ+∪Γθ−=∅\Gamma^+_\theta\cup\Gamma^-_\theta=\emptysetΓθ+​∪Γθ−​=∅.

Formalization targets

Goal: Lemma 3.8 (p. 18)

Let θ1,θ2∈[0,∞)s0\theta^1,\theta^2\in[0,\infty)^{s_0}θ1,θ2∈[0,∞)s0​, c1,c2>0c_1,c_2>0c1​,c2​>0, and suppose

Γθ1+∩Γθ2−=∅orΓθ1−∩Γθ2+=∅.\Gamma^+_{\theta^1}\cap\Gamma^-_{\theta^2}=\emptyset\quad\text{or}\quad\Gamma^-_{\theta^1}\cap\Gamma^+_{\theta^2}=\emptyset.Γθ1+​∩Γθ2−​=∅orΓθ1−​∩Γθ2+​=∅.

Then (i) if Condition 3.2 holds for θ1\theta^1θ1 and θ2\theta^2θ2, it holds for c1θ1+c2θ2c_1\theta^1+c_2\theta^2c1​θ1+c2​θ2; and (ii) if (3.7) holds for θ1\theta^1θ1 and θ2\theta^2θ2, it holds for c1θ1+c2θ2c_1\theta^1+c_2\theta^2c1​θ1+c2​θ2.

Milestones, in the order the paper uses them

  1. (3.16)–(3.17) (p. 15): Γc1θ1+c2θ2±⊆Γθ1±∪Γθ2±\Gamma^\pm_{c_1\theta^1+c_2\theta^2}\subseteq\Gamma^\pm_{\theta^1}\cup\Gamma^\pm_{\theta^2}Γc1​θ1+c2​θ2±​⊆Γθ1±​∪Γθ2±​, hence
max⁡k∈Γc1θ1+c2θ2±ρk≤max⁡k∈Γθ1±ρk∨max⁡k∈Γθ2±ρk.\max_{k\in\Gamma^\pm_{c_1\theta^1+c_2\theta^2}}\rho_k\le\max_{k\in\Gamma^\pm_{\theta^1}}\rho_k\vee\max_{k\in\Gamma^\pm_{\theta^2}}\rho_k.k∈Γc1​θ1+c2​θ2±​max​ρk​≤k∈Γθ1±​max​ρk​∨k∈Γθ2±​max​ρk​.
  1. Lemma 3.5 (p. 17): (3.8) for θ1,…,θm\theta^1,\dots,\theta^mθ1,…,θm implies (3.8) for ∑jcjθj\sum_jc_j\theta^j∑j​cj​θj, cj>0c_j>0cj​>0.
  2. Lemma 3.6 (p. 17): if max⁡Γθ1−ρ=max⁡Γθ1+ρ>max⁡Γθ2+∪Γθ2−ρ\max_{\Gamma^-_{\theta^1}}\rho=\max_{\Gamma^+_{\theta^1}}\rho>\max_{\Gamma^+_{\theta^2}\cup\Gamma^-_{\theta^2}}\rhomaxΓθ1−​​ρ=maxΓθ1+​​ρ>maxΓθ2+​∪Γθ2−​​ρ, then (3.7) holds for c1θ1+c2θ2c_1\theta^1+c_2\theta^2c1​θ1+c2​θ2.
  3. Lemma 3.7 (p. 18): (3.7) for θ1\theta^1θ1 and (3.8) for θ2\theta^2θ2 give Condition 3.2 for c1θ1+c2θ2c_1\theta^1+c_2\theta^2c1​θ1+c2​θ2.
  4. (3.35)–(3.36) (p. 19): if Γθ1−∩Γθ2+=∅\Gamma^-_{\theta^1}\cap\Gamma^+_{\theta^2}=\emptysetΓθ1−​∩Γθ2+​=∅, then
max⁡Γθ1−ρ≤max⁡Γc1θ1+c2θ2−ρ≤max⁡Γθ1−ρ∨max⁡Γθ2−ρ,max⁡Γθ2+ρ≤max⁡Γc1θ1+c2θ2+ρ≤max⁡Γθ1+ρ∨max⁡Γθ2+ρ.\max_{\Gamma^-_{\theta^1}}\rho\le\max_{\Gamma^-_{c_1\theta^1+c_2\theta^2}}\rho\le\max_{\Gamma^-_{\theta^1}}\rho\vee\max_{\Gamma^-_{\theta^2}}\rho,\quad\max_{\Gamma^+_{\theta^2}}\rho\le\max_{\Gamma^+_{c_1\theta^1+c_2\theta^2}}\rho\le\max_{\Gamma^+_{\theta^1}}\rho\vee\max_{\Gamma^+_{\theta^2}}\rho.Γθ1−​max​ρ≤Γc1​θ1+c2​θ2−​max​ρ≤Γθ1−​max​ρ∨Γθ2−​max​ρ,Γθ2+​max​ρ≤Γc1​θ1+c2​θ2+​max​ρ≤Γθ1+​max​ρ∨Γθ2+​max​ρ.

Companion results

  • Remark 3.9 (p. 18): if no reaction that consumes a species in the support of θ1\theta^1θ1 produces a species in the support of θ2\theta^2θ2, then Γθ1−∩Γθ2+=∅\Gamma^-_{\theta^1}\cap\Gamma^+_{\theta^2}=\emptysetΓθ1−​∩Γθ2+​=∅.
  • Lemma 3.10 (p. 19): if (3.7) holds for θ1\theta^1θ1, θ2\theta^2θ2 and for θ1−θ1⋅ζkθ2⋅ζkθ2\theta^1-\frac{\theta^1\cdot\zeta_k}{\theta^2\cdot\zeta_k}\theta^2θ1−θ2⋅ζk​θ1⋅ζk​​θ2 for every k∈(Γθ1+∩Γθ2−)∪(Γθ1−∩Γθ2+)k\in(\Gamma^+_{\theta^1}\cap\Gamma^-_{\theta^2})\cup(\Gamma^-_{\theta^1}\cap\Gamma^+_{\theta^2})k∈(Γθ1+​∩Γθ2−​)∪(Γθ1−​∩Γθ2+​), then (3.7) holds for c1θ1+c2θ2c_1\theta^1+c_2\theta^2c1​θ1+c2​θ2 for all c1,c2>0c_1,c_2>0c1​,c2​>0.

Significance

Condition 3.2 must hold for every θ∈[0,∞)s0\theta\in[0,\infty)^{s_0}θ∈[0,∞)s0​ before the limit theorems of the paper's Sections 4–5 apply. Lemma 3.8, together with the decomposition over strongly connected components (Lemma 3.4, the subject of the first mission of this series), turns that infinite family into finitely many checks for many networks: once the condition is known for some generating vectors, it propagates to their positive combinations whenever the sign sets do not conflict. Remark 3.9 gives a condition on the stoichiometry alone under which they do not conflict, and Lemma 3.10 reduces checking balance along a ray of combinations to finitely many breakpoints.

The results are proved in the paper (arXiv:1011.1672v1, pp. 15–19; published in Ann. Appl. Probab. 23(2), 2013), but none is formalized anywhere to our knowledge. The printed proof of Lemma 3.10 is a sketch that treats only the first breakpoint of the ray θ1+cθ2\theta^1+c\theta^2θ1+cθ2; a machine-checked proof would settle it in full. The definitions of the sign sets, the balance equation and the time-scale constraint are reusable for the other missions of this series.

Difficulty

The proofs are elementary, and the work lies in the bookkeeping. Every statement mixes three conventions: maxima over sets that can be empty (value −∞-\infty−∞), a time-scale constant that can be +∞+\infty+∞, and strict versus weak sign conditions on θ⋅ζk\theta\cdot\zeta_kθ⋅ζk​. Lemma 3.8 is a case analysis on which disjunct of Condition 3.2 holds for each of θ1\theta^1θ1 and θ2\theta^2θ2; the obvious idea of applying (3.16)–(3.17) alone fails in the case where both vectors are balanced at the same level ((3.34) in the paper), where only upper bounds are available. That case needs the disjointness hypothesis to get the matching lower bounds (3.35)–(3.36). Lemma 3.10 needs an argument along the whole ray θ1+cθ2\theta^1+c\theta^2θ1+cθ2, c>0c>0c>0: the sign pattern of (θ1+cθ2)⋅ζk(\theta^1+c\theta^2)\cdot\zeta_k(θ1+cθ2)⋅ζk​ changes at finitely many values of ccc, and balance has to be tracked through each change, not only the first.

Formalization scope

Species are Fin s and reactions Fin r (0-based indices; s0,r0s_0,r_0s0​,r0​ are arbitrary naturals). ν k i is νik\nu_{ik}νik​; ζik\zeta_{ik}ζik​, ρk\rho_kρk​ and θ⋅ζk\theta\cdot\zeta_kθ⋅ζk​ are real numbers, and ρ\rhoρ is defined from ν,α,β\nu,\alpha,\betaν,α,β rather than taken as a free parameter. A combination c1θ1+c2θ2c_1\theta^1+c_2\theta^2c1​θ1+c2​θ2 is c₁ • θ₁ + c₂ • θ₂ on Fin s → ℝ. Maxima are Finset.sup into WithBot ℝ, so the maximum over the empty set is ⊥=−∞\bot=-\infty⊥=−∞ and ∨\vee∨ is ⊔. γθ\gamma_\thetaγθ​ is an EReal defined by cases: +∞+\infty+∞ if Γθ+∪Γθ−=∅\Gamma^+_\theta\cup\Gamma^-_\theta=\emptysetΓθ+​∪Γθ−​=∅, otherwise the difference of the two maxima computed in R\mathbb RR (or −∞-\infty−∞ if no θi\theta_iθi​ is positive). Every statement carries the paper's standing assumptions α≥0\alpha\ge0α≥0, θ1,θ2≥0\theta^1,\theta^2\ge0θ1,θ2≥0 and c1,c2>0c_1,c_2>0c1​,c2​>0.

These choices rule out the trivializing encodings: a real-valued maximum with a default value of 000 on the empty set would make the balance equation hold spuriously; a subtraction in EReal would turn −∞−(−∞)-\infty-(-\infty)−∞−(−∞) into −∞-\infty−∞; and dropping θ≥0\theta\ge0θ≥0 or c1,c2>0c_1,c_2>0c1​,c2​>0 would change which reactions lie in the sign sets of the combination. In Lemma 3.8 the disjointness of the sign sets is a disjunction, as printed, and the second paragraph's "Condition 3.7" is read as the balance equation (3.7).

The development needs only finite sets, finite sums and order on R∪{±∞}\mathbb R\cup\{\pm\infty\}R∪{±∞}; no probability theory is involved. Lemmas about Finset.sup into WithBot ℝ over unions and subsets are reusable. Proofs of the milestones, of the goal, and of Lemma 3.10 are all welcome.

Selected references

  • H.-W. Kang and T. G. Kurtz, Separation of time-scales and model reduction for stochastic reaction networks, arXiv:1011.1672v1, 2010; Ann. Appl. Probab. 23(2), 2013. https://arxiv.org/abs/1011.1672, https://doi.org/10.1214/12-AAP841
  • K. Ball, T. G. Kurtz, L. Popovic and G. Rempala, Asymptotic analysis of multiscale approximations to reaction networks, Ann. Appl. Probab. 16(4):1925–1961, 2006. https://doi.org/10.1214/105051606000000420
  • Y. Cao, D. T. Gillespie and L. R. Petzold, The slow-scale stochastic simulation algorithm, J. Chem. Phys. 122(1):014116, 2005. https://doi.org/10.1063/1.1824902
8 thms2 active usersReviewed
🏆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
🏆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
🏆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
🏆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
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
PreviousPage 7 of 14Next

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