Lemma 19 with the base witnesses
ProvedNLogN.KFM.lemma19_baseLemma 19 with the base witnesses. A is the base map of Proposition 4.7, and B₀ = P_s B P_t⁻¹ for the base B. The identity has no permutation inside B₀, and the permutation-free procedure B0approx approximates 2^p B₀ within the base Bapprox error.
The following holds (Lean statement, in the scope of module Solutions.KFMR19):
theorem NLogN.KFM.lemma19_base (p s t α : ℕ) [NeZero s] [NeZero t] (hst : s < t) (hcop : Nat.Coprime s t)
(hα : 2 ≤ α) (hαp : α ^ 2 ≤ p) (hx : s ≤ α ^ 2 * (t - s))
(hp : 100 * (IntMul.HvdH.jIter p s t α * (10 * IntMul.HvdH.eWidth p α + 12) + 1) ≤ 2 ^ p) :
∃ (A : (ZMod s → ℂ) →L[ℂ] (ZMod t → ℂ)) (B₀ : (ZMod t → ℂ) →L[ℂ] (ZMod s → ℂ)),
‖A‖ ≤ 1 ∧ ‖B₀‖ ≤ 1 ∧
(∀ u, IntMul.OpenAI.RH.permS s t ((s : ℂ)⁻¹ • ZMod.dft u) =
(2 : ℂ) ^ (2 * α ^ 2) • B₀ (IntMul.OpenAI.RH.permT s t ((t : ℂ)⁻¹ • ZMod.dft (A u)))) ∧
(∀ U : ℕ → ℤ × ℤ, (∀ i, ‖IntMul.HvdH.P47.toC (U i)‖ ≤ 2 ^ p) → ∀ k : ZMod t,
‖IntMul.HvdH.P47.toC (IntMul.HvdH.Sapprox p s t α U k.val) -
2 ^ p * A (fun j => IntMul.HvdH.P47.toC (U j.val) / 2 ^ p) k‖
≤ 6 * IntMul.HvdH.sWidth p α + 4) ∧
(∀ W : ℕ → ℤ × ℤ, (∀ i, ‖IntMul.HvdH.P47.toC (W i)‖ ≤ 2 ^ p) → ∀ l : ZMod s,
‖IntMul.HvdH.P47.toC (B0approx p s t α W l.val) -
2 ^ p * B₀ (fun k => IntMul.HvdH.P47.toC (W k.val) / 2 ^ p) l‖
≤ IntMul.HvdH.jIter p s t α * (10 * IntMul.HvdH.eWidth p α + 12) + 4)
Context. The lemma belongs to the part Item 12 (math side): Lemma 19/20 with the base witnesses and a permutation-free B̃₀: The resampling identities of Resample19/ResampleTensor/ResampleFinal are existential in
the maps A, B₀. The machine computes the base thread's fixed-point maps Sapprox and
Bapprox. This file pins the witnesses to those maps.
Formalization Note. This lemma belongs to the item-language (IL) layer of the integer-multiplication-kappa campaign: tape-level programs (register programs over 64 item stacks of the NLogN multitape framework, definition bundles IntMul_HvdH_M_Defs1–IntMul_HvdH_M_Defs8) that implement the data-movement primitives of the OpenAI preprint Integer multiplication below (field moves, row split/merge, shifts, the uniform Proposition 11 interchange, Lemma 12 with fine -per-element costs, Gaussian record primitives, Proposition 14 pieces) with exact list denotations from the array-model bundles IntMul_Kappa_K_Defs* and explicit cost bounds. All names refer to the definition bundles up to IntMul_Kappa_K_Defs18.
-- OpenAI-preprint / κ-improvement development (integer-multiplication-kappa), generated by skeleton subtraction. import Definitions.Def_IntMul_Kappa_K_Defs18 set_option autoImplicit false set_option relaxedAutoImplicit false set_option maxHeartbeats 1000000 open Complex open NLogN open NLogN.KFM open IntMul.OpenAI.RT
theorem NLogN.KFM.lemma19_base (p s t α : ℕ) [NeZero s] [NeZero t] (hst : s < t) (hcop : Nat.Coprime s t)
(hα : 2 ≤ α) (hαp : α ^ 2 ≤ p) (hx : s ≤ α ^ 2 * (t - s))
(hp : 100 * (IntMul.HvdH.jIter p s t α * (10 * IntMul.HvdH.eWidth p α + 12) + 1) ≤ 2 ^ p) :
∃ (A : (ZMod s → ℂ) →L[ℂ] (ZMod t → ℂ)) (B₀ : (ZMod t → ℂ) →L[ℂ] (ZMod s → ℂ)),
‖A‖ ≤ 1 ∧ ‖B₀‖ ≤ 1 ∧
(∀ u, IntMul.OpenAI.RH.permS s t ((s : ℂ)⁻¹ • ZMod.dft u) =
(2 : ℂ) ^ (2 * α ^ 2) • B₀ (IntMul.OpenAI.RH.permT s t ((t : ℂ)⁻¹ • ZMod.dft (A u)))) ∧
(∀ U : ℕ → ℤ × ℤ, (∀ i, ‖IntMul.HvdH.P47.toC (U i)‖ ≤ 2 ^ p) → ∀ k : ZMod t,
‖IntMul.HvdH.P47.toC (IntMul.HvdH.Sapprox p s t α U k.val) -
2 ^ p * A (fun j => IntMul.HvdH.P47.toC (U j.val) / 2 ^ p) k‖
≤ 6 * IntMul.HvdH.sWidth p α + 4) ∧
(∀ W : ℕ → ℤ × ℤ, (∀ i, ‖IntMul.HvdH.P47.toC (W i)‖ ≤ 2 ^ p) → ∀ l : ZMod s,
‖IntMul.HvdH.P47.toC (B0approx p s t α W l.val) -
2 ^ p * B₀ (fun k => IntMul.HvdH.P47.toC (W k.val) / 2 ^ p) l‖
≤ IntMul.HvdH.jIter p s t α * (10 * IntMul.HvdH.eWidth p α + 12) + 4) := by sorry