Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Rational switch parameter preserving strict certificate margins

Proved
ThreeSumSharpTail.rational_theta_certificate

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

3sumsharp-tailword-ram-costs

Fix an integer c>10, real theta in (0,9/10), and rational a,s. If a(A(c)+Gamma(c,theta))<1, s<Gamma(c,theta), and s<1/2-q(theta), then there is a rational eta in (0,9/10) satisfying the same three strict inequalities. This gives a finite rational switch parameter for the program while preserving the encoding, preprocessing and query margins.

Preamble
import Definitions.Def_ThreeSumSharpTail_Analysis
set_option autoImplicit false
set_option relaxedAutoImplicit false
open ThreeSumSharpTail
Formal statement
theorem ThreeSumSharpTail.rational_theta_certificate (c : ℕ) (θ : ℝ) (a s : ℚ)
    (hc : 10 < c) (hθ0 : 0 < θ) (hθ9 : θ < 9 / 10)
    (henc : (a : ℝ) * (encodingExponent c + sharpSaving c θ) < 1)
    (hprep : (s : ℝ) < sharpSaving c θ)
    (hquery : (s : ℝ) < 1 / 2 - queryExponent θ) :
    ∃ η : ℚ, 0 < (η : ℝ) ∧ (η : ℝ) < 9 / 10 ∧
      (a : ℝ) * (encodingExponent c + sharpSaving c (η : ℝ)) < 1 ∧
      (s : ℝ) < sharpSaving c (η : ℝ) ∧
      (s : ℝ) < 1 / 2 - queryExponent (η : ℝ) := by sorry
Source
Derived parameter selection lemma for Xu, Deterministic Integer 3SUM in O(n^1.999017) Time via a Sharper Binomial-Tail Analysis, Sections 3-4. Continuity and rational density justify the finite program implementation of the real switch parameter.

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