An explicit two-term obstruction at Wang's ternary 3SUM profile
ProvedThreeSumFuture.fixed_profile_weighted_cache_floor3sumalgorithmsentropy
Fix the exact ternary distribution used in Wang's weighted-cache 3SUM solver. Let and , with natural logarithms. Allow arbitrary real costs on the query digits, arbitrary real costs on the predecessor digits, a real threshold , and nonnegative multipliers . Define
Uniformly over all these choices,
The two terms alone exclude the mission target at this profile. The quantifier over profiles in the full optimization problem requires a further argument.
Preamble
import Mathlib.Analysis.SpecialFunctions.Log.Deriv import Mathlib.Tactic.Linarith import Mathlib.Tactic.NormNum import Mathlib.Tactic.Ring import Mathlib.Tactic.FieldSimp import Mathlib.Tactic.Positivity import Mathlib.Analysis.Convex.SpecificFunctions.Basic import Mathlib.Analysis.Convex.Jensen import Mathlib.Analysis.SpecialFunctions.Log.NegMulLog import Mathlib.LinearAlgebra.Matrix.Notation import Mathlib.Tactic.FinCases open scoped BigOperators
Formal statement
theorem ThreeSumFuture.fixed_profile_weighted_cache_floor (ci co : Fin 3 → ℝ) (τ u v : ℝ) (hu : 0 ≤ u) (hv : 0 ≤ v) :
let π : Fin 3 → ℝ := fun i => ((![(406027953884819/500000000000000), (39662773613067/250000000000000), (14646498889047/500000000000000)] : Fin 3 → ℚ) i : ℝ)
let h := ∑ i, Real.negMulLog (π i)
let g := ∑ i : Fin 3, π i * Real.log (i.val+1)
let b := Real.log (∑ r, Real.exp (-u*co r)) + u*τ
let q := (∑ i, π i*Real.log (∑ r ∈ Finset.univ.filter (fun r : Fin 3 => r ≤ i),
Real.exp (-v*(ci i-co r)))) + v*((∑ i, π i*ci i)-τ)
(19202794081847/10000000000000 : ℝ) ≤ max (2*b/h) ((2*h-g+2*q)/h) := by sorrySource
Jionghan Wang introduced the weighted-cache ledger and the explicit profile in https://github.com/Wang-jiong-han/3sum-weighted-cache/blob/e1ae71db2231f172c6541820e2ce0a54aa14fc64/PROOF.md. The explicit dyadic witness, sharper fixed-profile lower bound, two independent cost vectors, and self-contained proof are contributions to the Prove2Me 3SUM mission.