Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lower bound for the relaxed fixed-expansion cost model

Proved
ThreeSum1960614.fixed_model_lower_bound

by Yuxuan Xu · Oct 14, 2026 · Mathlib 0df444a (Lean v4.33.1)

3sumalgorithmsentropyword-ram

For every real tuple (e,b,S,θ,τ,ρ,R)(e,b,S,\theta,\tau,\rho,R)(e,b,S,θ,τ,ρ,R) satisfying the explicitly defined relaxed twelve-cost model at c=232c=232c=232, its common cost upper bound satisfies R>1.96061349120R>1.96061349120R>1.96061349120. The model requires 0<e<10<e<10<e<1, b<0b<0b<0, S>0S>0S>0, 0≤θ≤1/20\le\theta\le1/20≤θ≤1/2, 0≤τ<10\le\tau<10≤τ<1, ρ>0\rho>0ρ>0, S−2b≤γ232(θ)S-2b\le\gamma_{232}(\theta)S−2b≤γ232​(θ), the whole-interval bound H(t)≤ρ(1+γ232(t))H(t)\le\rho(1+\gamma_{232}(t))H(t)≤ρ(1+γ232​(t)), and each ledger charge at most RRR. The quantification covers all such parameter choices. This is only a lower bound for that fixed model, not for 3SUM algorithms or other expansions.

Preamble
import Definitions.Def_ThreeSum1960614_Analysis
import Definitions.Def_TrulySubcubicAPSP_SourceSpecification

set_option autoImplicit false
set_option relaxedAutoImplicit false
open ThreeSum1960614
Formal statement
theorem ThreeSum1960614.fixed_model_lower_bound
    (e b S th terminal ratio R : ℝ)
    (hmodel : ModelFeasible 232 e b S th terminal ratio R) :
    (196061349120 / 100000000000 : ℝ) < R := by sorry
Source
User-supplied 3sum_certificate_1p960614_v3/3sum_certificate_v3/PROOF.md (14 October 2026); Section 7; upstream https://github.com/c0ldzy17/three-sum-lean/tree/2b639655e07421b9ac743de9090459bab473a7c0
Read-back

What the Lean code literally says, in plain math · GPT-6

Read-back: ThreeSum1960614.fixed_model_lower_bound

readback_model: GPT-6

For every seven real numbers e,b,S,θ,u,r,Re,b,S,\theta,u,r,Re,b,S,θ,u,r,R, where θ\thetaθ denotes the argument named th, uuu denotes terminal, and rrr denotes ratio, define the normalized binary entropy, on the arguments in [0,1][0,1][0,1] used here, by H(x)=−(xlog⁡x+(1−x)log⁡(1−x))/log⁡2H(x)=-\bigl(x\log x+(1-x)\log(1-x)\bigr)/\log 2H(x)=−(xlogx+(1−x)log(1−x))/log2, with the endpoint convention 0log⁡0=00\log 0=00log0=0 and with log⁡\loglog the natural logarithm. Suppose all of the following conditions hold:

0<e<1,b<0,0<S,0≤θ≤12,0≤u<1,0<r,S−2b≤232H ⁣(1232)−232H ⁣(1−θ232),for every real t with 0≤t≤12,H(t)≤r(1+232H ⁣(1232)−232H ⁣(1−t232)).\begin{gathered} 0<e<1,\qquad b<0,\qquad 0<S,\\ 0\le\theta\le\frac12,\qquad 0\le u<1,\qquad 0<r,\\ S-2b\le 232H\!\left(\frac1{232}\right)-232H\!\left(\frac{1-\theta}{232}\right),\\ \text{for every real }t\text{ with }0\le t\le\frac12,\quad H(t)\le r\left(1+232H\!\left(\frac1{232}\right)-232H\!\left(\frac{1-t}{232}\right)\right). \end{gathered}0<e<1,b<0,0<S,0≤θ≤21​,0≤u<1,0<r,S−2b≤232H(2321​)−232H(2321−θ​),for every real t with 0≤t≤21​,H(t)≤r(1+232H(2321​)−232H(2321−t​)).​

Suppose also that every real number zzz belonging to the twelve-entry ledger is at most RRR; fully expanded, this means that each of the following twelve inequalities holds, in the ledger's order:

1.2e(116H ⁣(1232))≤R,2.1+e(116H ⁣(1232)−b)≤R,3.2−eS≤R,4.2−e(12+b−H(θ))≤R,5.2−e(12−b−(464H ⁣(1464)−232H ⁣(1232)−1)−r(1+S−2b))≤R,6.2−e(u−12−b−(464H ⁣(1464)−232H ⁣(1232)−1))≤R,7.e 85(116H ⁣(1232)+12)≤R,8.2+e(45−25(116H ⁣(1232))−2b)≤R,9.1+e(12−b)≤R,10.2−e(116H ⁣(1232)+b)≤R,11.2−2e(116H ⁣(1232)+b)≤R,12.1≤R.\begin{aligned} 1.\quad &2e\left(116H\!\left(\frac1{232}\right)\right)\le R,\\ 2.\quad &1+e\left(116H\!\left(\frac1{232}\right)-b\right)\le R,\\ 3.\quad &2-eS\le R,\\ 4.\quad &2-e\left(\frac12+b-H(\theta)\right)\le R,\\ 5.\quad &2-e\left(\frac12-b-\left(464H\!\left(\frac1{464}\right)-232H\!\left(\frac1{232}\right)-1\right)-r(1+S-2b)\right)\le R,\\ 6.\quad &2-e\left(u-\frac12-b-\left(464H\!\left(\frac1{464}\right)-232H\!\left(\frac1{232}\right)-1\right)\right)\le R,\\ 7.\quad &e\,\frac85\left(116H\!\left(\frac1{232}\right)+\frac12\right)\le R,\\ 8.\quad &2+e\left(\frac45-\frac25\left(116H\!\left(\frac1{232}\right)\right)-2b\right)\le R,\\ 9.\quad &1+e\left(\frac12-b\right)\le R,\\ 10.\quad &2-e\left(116H\!\left(\frac1{232}\right)+b\right)\le R,\\ 11.\quad &2-2e\left(116H\!\left(\frac1{232}\right)+b\right)\le R,\\ 12.\quad &1\le R. \end{aligned}1.2.3.4.5.6.7.8.9.10.11.12.​2e(116H(2321​))≤R,1+e(116H(2321​)−b)≤R,2−eS≤R,2−e(21​+b−H(θ))≤R,2−e(21​−b−(464H(4641​)−232H(2321​)−1)−r(1+S−2b))≤R,2−e(u−21​−b−(464H(4641​)−232H(2321​)−1))≤R,e58​(116H(2321​)+21​)≤R,2+e(54​−52​(116H(2321​))−2b)≤R,1+e(21​−b)≤R,2−e(116H(2321​)+b)≤R,2−2e(116H(2321​)+b)≤R,1≤R.​

Then the theorem asserts the strict lower bound 196061349120100000000000<R\frac{196061349120}{100000000000}<R100000000000196061349120​<R. The natural-number parameter of the feasibility predicate is fixed to 232232232, rather than quantified. The quantifiers over ttt include both t=0t=0t=0 and t=12t=\frac12t=21​; the permitted parameter values include θ=0\theta=0θ=0, θ=12\theta=\frac12θ=21​, and u=0u=0u=0. The values e=0e=0e=0, e=1e=1e=1, b=0b=0b=0, S=0S=0S=0, u=1u=1u=1, and r=0r=0r=0 are excluded by strict hypotheses. No integrality assumptions or further bounds on these seven real parameters are imposed; in particular, RRR is quantified over all real numbers before the hypotheses are applied. Every ledger bound and both entropy comparison bounds are non-strict, whereas the asserted bound on RRR is strict.

Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Yuxuan Xu · Oct 14, 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