Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Exact parameters and all twelve cost caps

Proved
ThreeSum1960614.quartic_parameter_certificate

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

3sumalgorithmsentropyword-ram

The expansion-232 entropy and multiplicity constants satisfy 4.648781151243719<E232<4.6487811512437204.648781151243719<E_{232}<4.6487811512437204.648781151243719<E232​<4.648781151243720 and 0.001557987216578<κ232<0.0015579872165790.001557987216578<\kappa_{232}<0.0015579872165790.001557987216578<κ232​<0.001557987216579, while H(θ)<0.244168414687344H(\theta)<0.244168414687344H(θ)<0.244168414687344. The initial threshold is below P(θ)P(\theta)P(θ), the terminal threshold is below P(1/2)P(1/2)P(1/2), and 0<e(E232+b)<10<e(E_{232}+b)<10<e(E232​+b)<1. Every one of the twelve exact real costs is strictly below 1.96061388<1.9606141.96061388<1.9606141.96061388<1.960614. These inequalities assert an analytic certificate and do not themselves assert a machine runtime.

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.quartic_parameter_certificate :
    4648781151243719 / 1000000000000000 < E 232 ∧
    E 232 < 4648781151243720 / 1000000000000000 ∧
    1557987216578 / 1000000000000000 < kappa 232 ∧
    kappa 232 < 1557987216579 / 1000000000000000 ∧
    entropy theta < 244168414687344 / 1000000000000000 ∧
    v < phi theta ∧ threshold tau < phi (1 / 2) ∧
    0 < epsilon * (E 232 + beta) ∧ epsilon * (E 232 + beta) < 1 ∧
    (∀ z ∈ costs, z < principal) ∧ principal < (target : ℝ) := by sorry
Source
User-supplied 3sum_certificate_1p960614_v3/3sum_certificate_v3/PROOF.md (14 October 2026); Section 5.1; 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 of ThreeSum1960614.quartic_parameter_certificate

readback_model: GPT-6

This is an unconditional assertion about fixed real numbers, with no hypotheses or free parameters. Write H(x)=(−xln⁡x−(1−x)ln⁡(1−x))/ln⁡2H(x)=\bigl(-x\ln x-(1-x)\ln(1-x)\bigr)/\ln 2H(x)=(−xlnx−(1−x)ln(1−x))/ln2 for binary entropy measured in bits; every argument of HHH used below is strictly between 000 and 111. Define the real constants A=116H(1/232)A=116H(1/232)A=116H(1/232) and B=464H(1/464)−232H(1/232)−1B=464H(1/464)-232H(1/232)-1B=464H(1/464)−232H(1/232)−1, and the real polynomial P(x)=(785174904x+72447023x2+24044466x3+12022459x4)/100000000P(x)=(785174904x+72447023x^2+24044466x^3+12022459x^4)/100000000P(x)=(785174904x+72447023x2+24044466x3+12022459x4)/100000000. The declaration asserts the conjunction of all eleven statements below (the rational number in the last statement is viewed as a real number):

(1)46487811512437191000000000000000<A,(2)A<46487811512437201000000000000000,(3)15579872165781000000000000000<B,(4)B<15579872165791000000000000000,(5)H ⁣(404098991000000000)<2441684146873441000000000000000,(6)1931755701000000000−2(−626560161000000000)<P ⁣(404098991000000000),(7)1931755701000000000−2(−626560161000000000)+13201−1320<P ⁣(12),(8)0<2038896961000000000(A−626560161000000000),(9)2038896961000000000(A−626560161000000000)<1,(10)for every real z occurring in the twelve-entry list L below, z<196061388100000000,(11)196061388100000000<19606141000000.\begin{aligned} (1)\quad &\frac{4648781151243719}{1000000000000000}<A,\\ (2)\quad &A<\frac{4648781151243720}{1000000000000000},\\ (3)\quad &\frac{1557987216578}{1000000000000000}<B,\\ (4)\quad &B<\frac{1557987216579}{1000000000000000},\\ (5)\quad &H\!\left(\frac{40409899}{1000000000}\right)<\frac{244168414687344}{1000000000000000},\\ (6)\quad &\frac{193175570}{1000000000}-2\left(-\frac{62656016}{1000000000}\right)<P\!\left(\frac{40409899}{1000000000}\right),\\ (7)\quad &\frac{\frac{193175570}{1000000000}-2\left(-\frac{62656016}{1000000000}\right)+\frac{13}{20}}{1-\frac{13}{20}}<P\!\left(\frac12\right),\\ (8)\quad &0<\frac{203889696}{1000000000}\left(A-\frac{62656016}{1000000000}\right),\\ (9)\quad &\frac{203889696}{1000000000}\left(A-\frac{62656016}{1000000000}\right)<1,\\ (10)\quad &\text{for every real }z\text{ occurring in the twelve-entry list }\mathcal L\text{ below, }z<\frac{196061388}{100000000},\\ (11)\quad &\frac{196061388}{100000000}<\frac{1960614}{1000000}. \end{aligned}(1)(2)(3)(4)(5)(6)(7)(8)(9)(10)(11)​10000000000000004648781151243719​<A,A<10000000000000004648781151243720​,10000000000000001557987216578​<B,B<10000000000000001557987216579​,H(100000000040409899​)<1000000000000000244168414687344​,1000000000193175570​−2(−100000000062656016​)<P(100000000040409899​),1−2013​1000000000193175570​−2(−100000000062656016​)+2013​​<P(21​),0<1000000000203889696​(A−100000000062656016​),1000000000203889696​(A−100000000062656016​)<1,for every real z occurring in the twelve-entry list L below, z<100000000196061388​,100000000196061388​<10000001960614​.​

Here L\mathcal LL is exactly the following ordered list of twelve real values, with every constant written as an exact fraction:

L1=22038896961000000000A,L2=1+2038896961000000000(A+626560161000000000),L3=2−20388969610000000001931755701000000000,L4=2−2038896961000000000(12−626560161000000000−H ⁣(404098991000000000)),L5=2−2038896961000000000(12+626560161000000000−B−279050310000000(1+1931755701000000000+2626560161000000000)),L6=2−2038896961000000000(1320−12+626560161000000000−B),L7=203889696100000000085(A+12),L8=2+2038896961000000000(45−25A+2626560161000000000),L9=1+2038896961000000000(12+626560161000000000),L10=2−2038896961000000000(A−626560161000000000),L11=2−22038896961000000000(A−626560161000000000),L12=1,L=(L1,L2,…,L12).\begin{aligned} L_1&=2\frac{203889696}{1000000000}A,\\ L_2&=1+\frac{203889696}{1000000000}\left(A+\frac{62656016}{1000000000}\right),\\ L_3&=2-\frac{203889696}{1000000000}\frac{193175570}{1000000000},\\ L_4&=2-\frac{203889696}{1000000000}\left(\frac12-\frac{62656016}{1000000000}-H\!\left(\frac{40409899}{1000000000}\right)\right),\\ L_5&=2-\frac{203889696}{1000000000}\left(\frac12+\frac{62656016}{1000000000}-B-\frac{2790503}{10000000}\left(1+\frac{193175570}{1000000000}+2\frac{62656016}{1000000000}\right)\right),\\ L_6&=2-\frac{203889696}{1000000000}\left(\frac{13}{20}-\frac12+\frac{62656016}{1000000000}-B\right),\\ L_7&=\frac{203889696}{1000000000}\frac85\left(A+\frac12\right),\\ L_8&=2+\frac{203889696}{1000000000}\left(\frac45-\frac25A+2\frac{62656016}{1000000000}\right),\\ L_9&=1+\frac{203889696}{1000000000}\left(\frac12+\frac{62656016}{1000000000}\right),\\ L_{10}&=2-\frac{203889696}{1000000000}\left(A-\frac{62656016}{1000000000}\right),\\ L_{11}&=2-2\frac{203889696}{1000000000}\left(A-\frac{62656016}{1000000000}\right),\\ L_{12}&=1, \qquad\mathcal L=(L_1,L_2,\ldots,L_{12}). \end{aligned}L1​L2​L3​L4​L5​L6​L7​L8​L9​L10​L11​L12​​=21000000000203889696​A,=1+1000000000203889696​(A+100000000062656016​),=2−1000000000203889696​1000000000193175570​,=2−1000000000203889696​(21​−100000000062656016​−H(100000000040409899​)),=2−1000000000203889696​(21​+100000000062656016​−B−100000002790503​(1+1000000000193175570​+2100000000062656016​)),=2−1000000000203889696​(2013​−21​+100000000062656016​−B),=1000000000203889696​58​(A+21​),=2+1000000000203889696​(54​−52​A+2100000000062656016​),=1+1000000000203889696​(21​+100000000062656016​),=2−1000000000203889696​(A−100000000062656016​),=2−21000000000203889696​(A−100000000062656016​),=1,L=(L1​,L2​,…,L12​).​

The quantifier in (10) ranges over membership in this fixed list, so it asserts the strict bound for each of these twelve entries; the list is nonempty and includes the value 111. All divisions here have nonzero denominators, including 1−13/20=7/201-13/20=7/201−13/20=7/20 in (7), and none of the assertions is conditional on a choice of an input, a natural-number parameter, or an entropy argument.

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