Rational switch parameter preserving strict certificate margins
ProvedThreeSumSharpTail.rational_theta_certificate3sumsharp-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 sorrySource
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.