Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Full dimension scan, prime and construction costs preserve the saving

Proved
ThreeSumSharpTail.full_d_extra_total

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

3sumsharp-tailword-ram-costs

For n>=3, 1<=D<=n^a, 0<=s<=1/2, D^(s/2)<=g<=2D^(s/2), a(1+s)<=1 and log_2(7)+3a/2<=3-as/2, the actual scan, prime-selection and instance-construction time functions of the full-D host are bounded by 4C kappa n^3 D^(-s/2) log^2 n whenever C>=0 and kappa>=1.

Preamble
import Definitions.Def_APSPSource_ThreeSumApsp_Sec3_Parameters
import Theorems.Thm_ThreeSumSharpTail_full_d_call_balance
import Mathlib
open ThreeSumApsp
Formal statement
theorem ThreeSumSharpTail.full_d_extra_total (n D g : ℕ) (a s κ C : ℝ)
    (hn : 3 ≤ n) (hD : 1 ≤ D) (hDa : (D : ℝ) ≤ (n : ℝ) ^ a)
    (hs0 : 0 ≤ s) (hsHalf : s ≤ 1 / 2)
    (hgLo : (D : ℝ) ^ (s / 2) ≤ g) (hgHi : (g : ℝ) ≤ 2 * (D : ℝ) ^ (s / 2))
    (hbuild : a * (1 + s) ≤ 1)
    (hprime : Real.logb 2 7 + 3 * a / 2 ≤ 3 - a * s / 2)
    (hκ : 1 ≤ κ) (hC : 0 ≤ C) :
    C * (termScans n g κ + termPrime strassen n D + termBuild n D g) ≤
      4 * C * (κ * ((n : ℝ) ^ 3 * (D : ℝ) ^ (-s / 2) * Real.log n ^ 2)) := by sorry
Source
Derived bound for the actual termScans, termPrime and termBuild functions in the pinned full-D Theorem 17 interface. The certificate strict prime/build margins imply its hypotheses.

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