Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Encoding cost bound from the binomial entropy certificate

Proved
ThreeSumSharpTail.encoding_bound

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

3sumsharp-tailword-ram-costs

For every integer c>10 and m>=1, the encoding factor 10^(cm)/sqrt(M) is at most sqrt(cm+1) times (4^m)^A(c), where M is the exact baseline box count choose(cm,m)*9^(cm-m). This is the pointwise encoding inequality used to show eventual tile fit and absorb preprocessing overheads. The proof uses the lower binomial entropy bound and exact exponential algebra; it makes no program-runtime conclusion by itself.

Preamble
import Definitions.Def_ThreeSumSharpTail_Analysis

set_option autoImplicit false
set_option relaxedAutoImplicit false
Formal statement
theorem ThreeSumSharpTail.encoding_bound (c m : ℕ) (hc : 10 < c) (hm : 1 ≤ m) :
    (10 : ℝ) ^ (c * m) / Real.sqrt (ThreeSumSharpTail.boxCount c m 0 : ℝ) ≤
      Real.sqrt (c * m + 1 : ℝ) * (4 ^ m : ℝ) ^ ThreeSumSharpTail.encodingExponent c := by sorry
Source
Yuxuan Xu, Deterministic Integer 3SUM in O(n^1.999017) Time via a Sharper Binomial-Tail Analysis (13 October 2026), Section 4, equation encodingbound.

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