A deterministic single-color 3SUM routine below exponent 1.920279408184
OpenThreeSumFuture.colored_kernel_1920279408184For each fixed magnitude exponent , construct a finite deterministic Light program for one coloring of the input positions. The program receives the original integers of absolute value at most , the initialized global workspace and the record for an arbitrary coloring from the existing deterministic family. It must return a Boolean deciding whether one position of each of the three colors forms a zero-sum triple, while preserving the memory below the coloring record. The guarantee is uniform over all valid records, caller states and resource limits, for all input lengths above a fixed cutoff.
The bounds on auxiliary space, intermediate word values and call depth must be polynomial. The uniform count of Light steps must obey eventually for every , for some . The existing coloring driver, finite-input wrapper and compiler can then turn such a routine into a solver for the distinct-position benchmark. The implementation and its asymptotic time estimate are open.
import Definitions.Def_Submission_Weighted_Global_TernaryFastProgramResources import Definitions.Def_Submission_Weighted_Global_TernaryFastProgramBudget set_option autoImplicit false set_option relaxedAutoImplicit false open ThreeSum Light StageBounds open ThreeSum.LightWeightedGlobalFastProgramProof (Receipt scanFree)
theorem ThreeSumFuture.colored_kernel_1920279408184 :
∀ κ : ℕ,
∃ (m b p K cutoff entry : ℕ) (color : Program)
(colorNeed : ℕ → ℕ → Need) (colorTime : ℕ → ℕ) (a : ℝ),
0 < m ∧ 1 < WeightedGlobalCoverScale.outputSize m ∧
1 < b ∧ p.Prime ∧ PolyNeed colorNeed ∧
0 ≤ a ∧ a < ((1.920279408184 : ℚ) : ℝ) ∧ PowerBound colorTime a ∧
let M := WeightedGlobalCoverScale.outputSize m
∀ [Fact p.Prime] {lim : Limits} {n src free : ℕ} (x : Fin n → ℤ) (mem : ℕ → ℤ),
cutoff ≤ n → 0 < n → src + n ≤ free →
Seg mem src (List.ofFn x) → (∀ i, |x i| ≤ ((n ^ κ : ℕ) : ℤ)) →
∀ c < p ^ (LightWeightedGlobalDimensions.dim M b p K n (n ^ κ)),
∀ initialized, Receipt M b p K κ n free c mem initialized →
∀ (i : ℕ) (hi : i < ColorParameters.count (LightColorParametersCosts.width n))
(input : ℕ → ℤ),
Kept initialized input (scanFree M b p K κ n free) →
Seg input (scanFree M b p K κ n free)
(ColorParameters.fields (ColorParameters.parameter hi)) →
∀ depth, (colorNeed n (n ^ κ)).Ok lim (scanFree M b p K κ n free + 6) depth →
Meets lim color entry depth
[src, n, LightWeightedGlobalGlobalPrelude.params free, scanFree M b p K κ n free,
scanFree M b p K κ n free + 6] input (colorTime n)
(fun verdict out =>
(verdict = 0 ∨ verdict = 1) ∧
(verdict = 1 ↔ ColorClassLists.witness (ColorParameters.parameter hi) x) ∧
Kept input out (scanFree M b p K κ n free)) := by sorry