Kronecker unpacking inverts packing for balanced digits
ProvedIntMul.HvdH.kunpack_kpackinteger-multiplication
Let be even and let be integers with . Then reading balanced base- digits from recovers :
This is the unpacking step (3) of Lemma 2.5 of Harvey–van der Hoeven (see IntMul_HvdH_KronMul).
Preamble
import Definitions.Def_IntMul_HvdH_KronMul
Formal statement
namespace IntMul.HvdH
theorem kunpack_kpack (B : ℤ) (hB : 0 < B) (hBe : Even B) (c : List ℤ)
(hc : ∀ x ∈ c, 2 * |x| < B) : kunpack B c.length (kpack B c) = c := by sorry
end IntMul.HvdHSource
Harvey, van der Hoeven, Integer multiplication in time O(n log n), Annals of Math. 193 (2021), https://hal.science/hal-02070778, Lemma 2.5 (Kronecker substitution)