Lemma 16 (error) on the paper's layout L
ProvedGlueError.lemma16_error_paperLemma 16 (error) on the paper's layout L.
The following holds (Lean statement, in the scope of module Solutions.GlueError):
theorem GlueError.lemma16_error_paper (p : ℕ) (hK : 0 < K) (hℓ : 1 ≤ ℓ) (hy : y ^ (2 ^ ℓ) = -1)
{xs : List R} (hlen : xs.length = vol (binSh (tgtL D ℓ K long).length))
(hdisk : ∀ k, ‖C.co (xs.getD k 0)‖ ≤ 1)
{v : List ℕ} (hv : Valid (binSh (tgtL D ℓ K long).length) v) :
‖C.co ((procQ C p (paperLayout D ℓ K long hK hℓ) ℓ (partAxes (al D ℓ long))
(paperSel D ℓ K long hK hℓ) ℓ xs).getD (encode (binSh (tgtL D ℓ K long).length) v) 0 -
Fm y ℓ (al D ℓ long) (fn (paperLayout D ℓ K long hK hℓ) xs)
(revV (al D ℓ long) ((paperLayout D ℓ K long hK hℓ).coord v)))‖ <
ℓ * (Real.sqrt 2 * 2⁻¹ ^ p)
Context. The lemma belongs to the part Glue 2b: Lemma 16 error bound, with the approximation hypotheses discharged by Proposition 14: Records live in a commutative ℂ-algebra R with a coefficient model C (R_r is one,
rrModel); the size of a record is the sup of its coefficient moduli.
Formalization Note. This lemma belongs to the Lean formalization (integer-multiplication-kappa campaign) of the OpenAI preprint Integer multiplication below : the array model of tape data (mixed-radix arrays and pull maps), the interchange networks of §3–4 (Propositions 7, 8, 11, Lemmas 9–12), the butterfly layers of §5 (Lemma 13, Proposition 14), the synthesis of §6–7 (Lemma 16, Proposition 18), the resampling and parameter choices of §8–9, and the final glue IntMul.OpenAI.Glue.kappaBound_of_machine, which derives the platform bound KappaBound (1/2^182) (from Def_IntMul_MultitapeModel) for any correct multitape machine meeting the paper's time recurrence. All names refer to the definition bundles IntMul_Kappa_K_Defs1–IntMul_Kappa_K_Defs9.
-- OpenAI-preprint / κ-improvement development (integer-multiplication-kappa), generated by skeleton subtraction.
import Definitions.Def_IntMul_Kappa_K_Defs9
set_option autoImplicit false
set_option relaxedAutoImplicit false
set_option maxHeartbeats 1000000
set_option linter.unusedSectionVars false
set_option linter.unusedSimpArgs false
open GlueError
open Finset Butterfly AModel Synth GlueLayout GlueP14
variable {R : Type*} [CommRing R] [Algebra ℂ R] {y : Rˣ} {r : ℕ}
variable (C : CoeffModel y r)
variable {C}
variable {D : ℕ} {sh : Shape} {ι : Type} [Fintype ι] [DecidableEq ι]
variable (D ℓ K : ℕ) [NeZero D] (long : Fin D → Bool)
theorem GlueError.lemma16_error_paper (p : ℕ) (hK : 0 < K) (hℓ : 1 ≤ ℓ) (hy : y ^ (2 ^ ℓ) = -1)
{xs : List R} (hlen : xs.length = vol (binSh (tgtL D ℓ K long).length))
(hdisk : ∀ k, ‖C.co (xs.getD k 0)‖ ≤ 1)
{v : List ℕ} (hv : Valid (binSh (tgtL D ℓ K long).length) v) :
‖C.co ((procQ C p (paperLayout D ℓ K long hK hℓ) ℓ (partAxes (al D ℓ long))
(paperSel D ℓ K long hK hℓ) ℓ xs).getD (encode (binSh (tgtL D ℓ K long).length) v) 0 -
Fm y ℓ (al D ℓ long) (fn (paperLayout D ℓ K long hK hℓ) xs)
(revV (al D ℓ long) ((paperLayout D ℓ K long hK hℓ).coord v)))‖ <
ℓ * (Real.sqrt 2 * 2⁻¹ ^ p) := by sorry