Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 7 — simplex lower bound

Proved
FriedmannCunningham.simplex_lower_bound

by kmehltretter82 · Nov 2, 2026 · Mathlib 0df444a (Lean v4.33.1)

algorithm-analysisoliver-friedmanntheoretical-computer-science

For every n≥3 the graph-derived linear program has a complete Cunningham simplex execution from the specified basis and order (1), requiring at least 2^n pivots and strictly increasing the objective on every pivot.

Preamble
import Definitions.Def_friedmann_cunningham

set_option autoImplicit false
Formal statement
namespace FriedmannCunningham

/-- Theorem 7: the graph-derived LP, the prescribed order and initial basis,
at least 2^n pivots, and strict objective increase on every pivot. -/
theorem simplex_lower_bound (n : ℕ) (hn : 3 ≤ n) :
    ∃ (T : ℕ) (s : ℕ → FriedmannSimplex.State (rows n) (cols n)),
      s 0 = initialState n hn ∧
      FriedmannSimplex.cunninghamRun (program n) (order n) s T ∧
      2 ^ n ≤ T ∧
      ∀ t, t < T →
        FriedmannSimplex.basicObjective (program n) (s t).basis <
          FriedmannSimplex.basicObjective (program n) (s (t + 1)).basis := by sorry

end FriedmannCunningham
Source
Avis and Friedmann (2017), Theorem 7, §4.4 interpreted via Figure 7 and §§4.2–4.3. https://oliverfriedmann.com/downloads/papers/cunningham_exponential_lower_bound.pdf
Read-back

What the Lean code literally says, in plain math · Codex independent auditor (model identifier unavailable)

simplex_lower_bound. For every natural number nnn and every proof of 3≤n3\le n3≤n, Fix a natural n≥3n\ge3n≥3, put m=5(n−1)m=5(n-1)m=5(n−1) and k=10(n−1)k=10(n-1)k=10(n−1), and index rows, in order, by a2,…,an; b2,…,bn−1; c2,…,cn; d2,…,dn; e1,…,ena_2,\ldots,a_n;\ b_2,\ldots,b_{n-1};\ c_2,\ldots,c_n;\ d_2,\ldots,d_n;\ e_1,\ldots,e_na2​,…,an​; b2​,…,bn−1​; c2​,…,cn​; d2​,…,dn​; e1​,…,en​. Each row has two action names v0,v1v^0,v^1v0,v1. The zero-based column order is e11e_1^1e11​; then di0,ei1,bi1,bi0d_i^0,e_i^1,b_i^1,b_i^0di0​,ei1​,bi1​,bi0​ for i=2,…,n−1i=2,\ldots,n-1i=2,…,n−1 in increasing iii; then dn0,en1d_n^0,e_n^1dn0​,en1​; then ci0,ci1c_i^0,c_i^1ci0​,ci1​ for i=2,…,ni=2,\ldots,ni=2,…,n; then ei0e_i^0ei0​ for i=1,…,ni=1,\ldots,ni=1,…,n; then di1d_i^1di1​ for i=2,…,ni=2,\ldots,ni=2,…,n; and finally ai1,ai0a_i^1,a_i^0ai1​,ai0​ for i=n,n−1,…,2i=n,n-1,\ldots,2i=n,n−1,…,2. The rational program P=(A,1,c)P=(A,\mathbf1,c)P=(A,1,c) is specified as follows. Put S=2n+1S=2n+1S=2n+1, ε=S−(2n+2)\varepsilon=S^{-(2n+2)}ε=S−(2n+2), Gi=(−S)2i−1G_i=(-S)^{2i-1}Gi​=(−S)2i−1 and Hi=(−S)2iH_i=(-S)^{2i}Hi​=(−S)2i. To specify the coefficient of an action name vvv in a row, write Xzib=1v=zibX_{z_i^b}=\mathbf1_{v=z_i^b}Xzib​​=1v=zib​​, Ozi=Xzi0+Xzi1O_{z_i}=X_{z_i^0}+X_{z_i^1}Ozi​​=Xzi0​​+Xzi1​​, and Ui=Xai1+Xbi1+Xci1+Xdi1+Xei1U_i=X_{a_i^1}+X_{b_i^1}+X_{c_i^1}+X_{d_i^1}+X_{e_i^1}Ui​=Xai1​​+Xbi1​​+Xci1​​+Xdi1​​+Xei1​​, with indicators for absent action names equal to zero. The a2a_2a2​ coefficient is Oa2−ε(Xb20+Xc20+Xd20+Xe11)O_{a_2}-\varepsilon(X_{b_2^0}+X_{c_2^0}+X_{d_2^0}+X_{e_1^1})Oa2​​−ε(Xb20​​+Xc20​​+Xd20​​+Xe11​​); for aia_iai​, i>2i>2i>2, it is Oai−Xai−10−εUi−1O_{a_i}-X_{a_{i-1}^0}-\varepsilon U_{i-1}Oai​​−Xai−10​​−εUi−1​. The bib_ibi​ coefficient is Obi−Xbi+10−Xdi+10O_{b_i}-X_{b_{i+1}^0}-X_{d_{i+1}^0}Obi​​−Xbi+10​​−Xdi+10​​. The cic_ici​ coefficient is Oci−Xci+10O_{c_i}-X_{c_{i+1}^0}Oci​​−Xci+10​​ for i<ni<ni<n, and Ocn−∑j=0nXej0O_{c_n}-\sum_{j=0}^nX_{e_j^0}Ocn​​−∑j=0n​Xej0​​ for i=ni=ni=n. The did_idi​ coefficient is Odi−(1−ε)Ui/2O_{d_i}-(1-\varepsilon)U_i/2Odi​​−(1−ε)Ui​/2. The e1e_1e1​ coefficient is Oe1−(1−ε)(Xb20+Xc20+Xd20+Xe11)O_{e_1}-(1-\varepsilon)(X_{b_2^0}+X_{c_2^0}+X_{d_2^0}+X_{e_1^1})Oe1​​−(1−ε)(Xb20​​+Xc20​​+Xd20​​+Xe11​​); the eie_iei​ coefficient for i>1i>1i>1 is Oei−(1−ε)Ui/2O_{e_i}-(1-\varepsilon)U_i/2Oei​​−(1−ε)Ui​/2. Every right-hand side is 111. The action cost is Gi+εHiG_i+\varepsilon H_iGi​+εHi​ for ai1,bi1,ci1a_i^1,b_i^1,c_i^1ai1​,bi1​,ci1​, εHi\varepsilon H_iεHi​ for di1,ei1d_i^1,e_i^1di1​,ei1​, 111 for ei0e_i^0ei0​, and 000 for other actions, with the additional term G1+εH1G_1+\varepsilon H_1G1​+εH1​ added to each of b20,c20,d20b_2^0,c_2^0,d_2^0b20​,c20​,d20​. For any column-selection function BBB on the mmm rows, put MB,ir=Ai,B(r)M_{B,ir}=A_{i,B(r)}MB,ir​=Ai,B(r)​, uB=MB−11u_B=M_B^{-1}\mathbf1uB​=MB−1​1 and (xB)j=∑r<m1B(r)=j(uB)r(x_B)_j=\sum_{r<m}\mathbf1_{B(r)=j}(u_B)_r(xB​)j​=∑r<m​1B(r)=j​(uB​)r​, using the total inverse. Call BBB basic feasible when it is injective, det⁡MB≠0\det M_B\ne0detMB​=0, and uB≥0u_B\ge0uB​≥0. A column jjj is improving when it is not selected by BBB and cˉB,j=cj−∑r<mcB(r)(MB−1A⋅j)r>0\bar c_{B,j}=c_j-\sum_{r<m}c_{B(r)}(M_B^{-1}A_{\cdot j})_r>0cˉB,j​=cj​−∑r<m​cB(r)​(MB−1​A⋅j​)r​>0. A pivot entering jjj replaces B(ℓ)B(\ell)B(ℓ) by jjj for some row ℓ\ellℓ having dℓ>0d_\ell>0dℓ​>0 and uB(ℓ)/dℓ≤uB(r)/dru_B(\ell)/d_\ell\le u_B(r)/d_ruB​(ℓ)/dℓ​≤uB​(r)/dr​ for every rrr with dr>0d_r>0dr​>0, where d=MB−1A⋅jd=M_B^{-1}A_{\cdot j}d=MB−1​A⋅j​, and requires both the old and new selections to be basic feasible. The initial policy selects bit 111 at every did_idi​ and at e1e_1e1​, and bit 000 at every other row; the initial stored column is 000, the column of e11e_1^1e11​. Distances from a stored column ℓ\ellℓ to a candidate column jjj are D(ℓ,j)=((j+k−ℓ) mod k)D(\ell,j)=((j+k-\ell)\bmod k)D(ℓ,j)=((j+k−ℓ)modk), including distance zero. There exist a natural number TTT and an all-natural-time sequence of states (Bt,ℓt)(B_t,\ell_t)(Bt​,ℓt​) with the following simultaneous properties: T≥2nT\ge2^nT≥2n; B0B_0B0​ selects the stated initial bits and ℓ0=0\ell_0=0ℓ0​=0; B0B_0B0​ is basic feasible; at every time t<Tt<Tt<T, one enters an improving column jjj of weakly least D(ℓt,j)D(\ell_t,j)D(ℓt​,j) among all improving columns by such a ratio-test pivot to Bt+1B_{t+1}Bt+1​, and ℓt+1=j\ell_{t+1}=jℓt+1​=j because the prescribed column permutation is the identity; BTB_TBT​ is basic feasible and has no improving column; and c⋅xBt<c⋅xBt+1c\cdot x_{B_t}<c\cdot x_{B_{t+1}}c⋅xBt​​<c⋅xBt+1​​ for every t<Tt<Tt<T. The initial selected ranks are reduced modulo kkk as in the definition. The cost TTT counts actual simplex pivots; the sequence after TTT is unrestricted. This is an existence assertion for such a complete run.

Human review
  • Endorsed by Shuze Chen · Nov 3, 2026

    Confirmed by the moderator at approval.

  • Endorsed by kmehltretter82 · Nov 3, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me