From admissible sharp-tail parameters to the shared 3SUM specification
ProvedThreeSumSharpTail.admissible_parameters_solve_3sumLet be an integer, , and let be rational with and . Suppose
Then deterministic integer 3SUM satisfies the campaign's exact shared predicate EndStatement.ThreeSum.SolvedInTime r. This is the combined consequence of Propositions 4.1 and 5.1, not a verbatim separate proposition in the manuscript. Its proof must construct the word-RAM program and establish correctness and all costs using the inherited algorithms and reductions. No inner-algorithm oracle or correctness assumption is supplied as a hypothesis. The uniform word-width requirement in the shared specification is part of the formalization obligation.
import Definitions.Def_ThreeSumSharpTail_Analysis import Definitions.Def_TrulySubcubicAPSP_SourceSpecification set_option autoImplicit false set_option relaxedAutoImplicit false open scoped BigOperators
theorem ThreeSumSharpTail.admissible_parameters_solve_3sum
(c : ℕ) (θ : ℝ) (a s r : ℚ) (hc : 10 < c)
(hθ0 : 0 < θ) (hθ9 : θ < 9 / 10)
(ha0 : 0 < a) (ha1 : a < 1) (hs0 : 0 < s) (hs1 : s < 1)
(henc : (a : ℝ) * (ThreeSumSharpTail.encodingExponent c + ThreeSumSharpTail.sharpSaving c θ) < 1)
(hprep : (s : ℝ) < ThreeSumSharpTail.sharpSaving c θ)
(hquery : (s : ℝ) < 1 / 2 - ThreeSumSharpTail.queryExponent θ)
(hprime : Real.log 7 / Real.log 2 + 3 * (a : ℝ) / 2 < 3 - (a : ℝ) * s / 2)
(hbuild : 2 + (a : ℝ) * (1 + (s : ℝ) / 2) < 3 - (a : ℝ) * s / 2)
(hr : 2 - a * s / 4 < r) :
EndStatement.ThreeSum.SolvedInTime r := by sorryRead-back
What the Lean code literally says, in plain math · gpt-6
For every natural number , real number , and rational numbers , assume , , , and . Define , with the total real logarithm taking value at zero and the logarithm of the absolute value at negative arguments, , , and . Also assume the five strict real inequalities , , , , and , where natural and rational parameters are cast to the reals, together with the strict rational inequality . The conclusion is the following quantified assertion about a specified machine: for every natural number , there exist a finite instruction list , a natural number , a function , and a natural number such that for every natural , where is the reduced rational representation with integer numerator and positive natural denominator . For every natural , every integer sequence satisfying at every position, and every natural word width , with the integer logarithm taken to be at , running this same from instruction position halts within steps with acceptance if and only if there exist three pairwise distinct positions in with as integers. Memory consists of -bit words at all integer addresses; initially address contains modulo , addresses through contain the corresponding inputs modulo , and every other address contains zero. An instruction may write the constant to a fixed integer address, add, subtract, or multiply words at two fixed addresses into another fixed address modulo , load through an address read as a signed word, store through an address read as a signed word, jump to a specified natural instruction position if a fixed cell is negative when read as a signed word, accept, or reject. Indirect load writes into a fixed cell; indirect store reads its source from a fixed cell. Each instruction takes one step, writing proceeds to the next instruction, a non-taken conditional branch also proceeds to the next instruction, and executing beyond the finite list rejects. A halting instruction counts toward the time bound; with zero steps there is no verdict. There is no further condition on the final memory. The witnesses may depend on and the initially fixed parameters but must work uniformly for every eligible , input, and , with no upper bound on . The correctness requirement includes , for which no three distinct positions exist and the verdict must be rejection; the polynomial inequality only constrains . For the input magnitude condition is vacuous, and natural powers use . The definition does not require or , so if a chosen is zero the quantifier includes zero-width words. Under the parameter hypotheses , so the numerator truncation in the time bound does not alter . No claim is made for parameter choices failing any hypothesis, and no upper bound on is imposed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.