Additive bound for the cost of the Fermat-ring convolution program
ProvedNLogN.FW.fwCost_le_addharvey-van-der-hoeven-tminteger-multiplicationturing-machines
For HvdH parameters with and and all , with ,
So the Fermat-ring convolution costs machine steps plus one recursive multiplication per Fermat-ring coefficient.
Formalization Note. fwCost is the explicit cost of fwP (sum of the encoding, transform-pass, pointwise-product, decoding and move costs encCost, passCost, pmCost, dcCost).
Preamble
-- Harvey–van der Hoeven multitape-TM development (NLogN), generated by skeleton subtraction. import Definitions.Def_IntMul_HvdH_M_Defs4 set_option autoImplicit false set_option relaxedAutoImplicit false set_option maxHeartbeats 1000000 open NLogN open NLogN.FW open IntMul IntMul.HvdH NLogN
Formal statement
theorem NLogN.FW.fwCost_le_add (q : Ref.Params) (kb Φm : ℕ) (hP : 1 ≤ q.P) (hK1 : 1 ≤ q.K) :
fwCost q kb Φm ≤ 10 ^ 9 * q.K * (2 ^ q.logOuter * q.r * (q.P + 1) * (q.e + kb + 1) +
2 ^ q.logOuter * (kb + 1) ^ 2) + 2 ^ q.logOuter * Φm := by sorrySource
D. Harvey, J. van der Hoeven, Integer multiplication in time O(n log n), Ann. of Math. 193 (2021), 563–617 (Theorem 1.1: multitape Turing machine multiplication in O(n log n)). Lemma `NLogN.FW.fwCost_le_add` of the Lean development NLogN/HFW11.lean (lines 32–42), written for the prove2.me integer-multiplication campaign.