Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Full dimension host call factors preserve the desired saving

Proved
ThreeSumSharpTail.full_d_call_balance

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

3sumsharp-tailword-ram-costs

If D,n>=1, 0<=s<=1/2, D^(s/2)<=g<=2D^(s/2), and D^(1+s)<=n, then the full dimension preprocessing, query, overhead, construction and scan factors are bounded respectively by 2D^(-s/2), 2D^(-s/2), 2D^(-s/2), 2nD^(-s/2), and D^(-s/2). This is an elementary real-power balance lemma, without any additional program or runtime assumption.

Preamble
import Mathlib
set_option autoImplicit false
set_option relaxedAutoImplicit false
Formal statement
theorem ThreeSumSharpTail.full_d_call_balance (D n g s : ℝ)
    (hD : 1 ≤ D) (_hn : 1 ≤ n) (hs0 : 0 ≤ s) (hsHalf : s ≤ 1 / 2)
    (hgLo : D ^ (s / 2) ≤ g) (hgHi : g ≤ 2 * D ^ (s / 2))
    (hbuild : D ^ (1 + s) ≤ n) :
    g / D ^ s ≤ 2 * D ^ (-s / 2) ∧
    g * D ^ (1 / 2 - s) / Real.sqrt D ≤ 2 * D ^ (-s / 2) ∧
    g / Real.sqrt D ≤ 2 * D ^ (-s / 2) ∧
    g * D ≤ 2 * n * D ^ (-s / 2) ∧
    1 / g ≤ D ^ (-s / 2) := by sorry
Source
Derived auxiliary algebraic bounds for Xu, Deterministic Integer 3SUM in O(n^1.999017) Time via a Sharper Binomial-Tail Analysis, Sections 3-4, composed with the full-D Theorem 17 host.

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