Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Exact integer multiplication with saving κ = 1/2^154

Proved
IntMul.Kappa.campaign_bound_inv_two_pow_154

by marwahaha · Oct 19, 2026 · Mathlib 0df444a (Lean v4.33.1)

complexity-theoryinteger-multiplicationturing-machines

There exists one deterministic multitape Turing machine, with fixed finite alphabet and tape count, that correctly multiplies every pair of n-bit inputs for all n ≥ 1, with worst-case time O(n L(n)^(1−κ)) for κ = 1/2^154, where L(n) = max(ceil(log₂ n), 1). This is the full bound with no assumed algorithmic or analytic framework.

Preamble
import Definitions.Def_IntMul_MultitapeModel
Formal statement
namespace IntMul.Kappa

theorem campaign_bound_inv_two_pow_154 : KappaBound ((1 / 2 ^ 154) : ℝ) := by
  sorry

end IntMul.Kappa
Source
OpenAI, Integer multiplication below n log n, preprint, 23 September 2026, https://github.com/openai/math/tree/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Integer-multiplication-below-n-log-n-September-23-2026, §8 (Table 1, eq. (fixed-parameters), margin list (margin-list)); parameters from D. Colkitt et al., integer-mult-bounds, patch frozen-154, https://github.com/CrocSwap/integer-mult-bounds/blob/main/patches/frozen-154.patch
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Machine model. A multitape machine is a deterministic Turing machine with a finite alphabet containing five distinct symbols (blank, start marker, 000, 111, #\##); finitely many states, with distinct start and halting states and the halting state frozen once reached; and k≥2k \ge 2k≥2 one-way-infinite tapes, tape 0 the read-only input tape and tape 1 the output tape. The start marker sits only in cell 0 of each tape, is never erased, and is never moved left of.

Multiplying within TTT steps. "MMM multiplies nnn-bit integers within TTT steps", for a real TTT, means: for all bit strings x,yx, yx,y of length exactly nnn (most-significant bit first, leading zeros allowed), start MMM with input x#yx\#yx#y and all other tapes empty; then for some natural t≤Tt \le Tt≤T, after ttt steps MMM is in the halting state and the output tape holds exactly the 2n2n2n-bit, zero-padded binary representation of val(x)⋅val(y)\mathrm{val}(x)\cdot\mathrm{val}(y)val(x)⋅val(y), followed only by blanks.

The assertion. KappaBound(1/2154)\mathrm{KappaBound}(1/2^{154})KappaBound(1/2154): there exists a multitape machine MMM such that

  1. for every n≥1n \ge 1n≥1 there is some real TTT such that MMM multiplies nnn-bit integers within TTT steps, so MMM is correct and halts on every input of every positive length; and
  2. there exist a real c>0c > 0c>0 and a natural n0n_0n0​ such that for every nnn with n≥n0n \ge n_0n≥n0​ and n≥1n \ge 1n≥1, MMM multiplies nnn-bit integers within
c⋅n⋅(lg n) 1−2−154c\cdot n\cdot(\mathrm{lg}\,n)^{\,1 - 2^{-154}}c⋅n⋅(lgn)1−2−154

steps, where lg n=max⁡(⌈log⁡2n⌉,1)≥1\mathrm{lg}\,n = \max(\lceil\log_2 n\rceil, 1) \ge 1lgn=max(⌈log2​n⌉,1)≥1.

Since the base is at least 1, the real power is well-behaved. The bound is asymptotic (ccc and n0n_0n0​ are existential), the exponent is the exact literal 1−2−1541 - 2^{-154}1−2−154, and the correctness clause covers all n≥1n \ge 1n≥1, not only n≥n0n \ge n_0n≥n0​.

Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

  • Endorsed by marwahaha · Oct 20, 2026

    Confirmed by the mission captain (proposal self-audit).

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