Multiplication of polynomials over on coefficient lists has a polynomial realizer
ProvedOPI.W6.IsPR.mulL_prlean-formalizationquantum-algorithmstwo-fold-opi-construction
Polynomials over are represented by lists of natural numbers, constant coefficient first. adds two lists coefficientwise modulo (keeping the tail of the longer one), and multiplies every entry by modulo . The product is computed by Horner's scheme:
which represents the product of the two polynomials.
means that has a polynomial realizer: a program of the underlying machine model whose running charge and output size are bounded by a monotone polynomial in the input size (natural numbers coded in unary).
Statement. The map has a polynomial realizer.
Followed by reduction modulo , this realizes multiplication in on coordinates, used by the generator for all of its field computations.
Preamble
import Definitions.Def_TwoFoldOPI_CL_Part03
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Circuit
import Definitions.Def_QAlgorithms_Defs_GradientMethods
import Definitions.Def_QAlgorithms_Defs_OPIOraclePrograms
import Definitions.Def_QAlgorithms_Defs_OPIUniformity
import Definitions.Def_QAlgorithms_Defs_Fourier
import Definitions.Def_TwoFoldOPI_elemBits
import Definitions.Def_TwoFoldOPI_schurSquare
import Definitions.Def_TwoFoldOPI_schurFailureSum
import Definitions.Def_CodingTheory
import Definitions.Def_OAIThreeMachineSched01
import Definitions.Def_CookLevin_Cost
import Definitions.Def_TwoFoldOPI_codeOf
import Definitions.Def_TwoFoldOPI_solves
import Definitions.Def_TwoFoldOPI_Input
import Definitions.Def_TwoFoldOPI_CLSerializableF
open OPI.W6.IsPR
open OAI.ThreeMachine.StackCompiler OPI.FM
variable {α : Type} [Coding α]
Formal statement
theorem OPI.W6.IsPR.mulL_pr : IsPR (fun x : ℕ × List ℕ × List ℕ => mulL x.1 x.2.1 x.2.2) := by sorry
Source
Formalization of Theorem 7.4 (algorithmic part), repository https://github.com/sragavan99/lean-prove2me-fills/blob/f7224a159e790347c1a83c5ac23c63e5094a6a2c/WorkInProgress/QuantumOPIVariants/OPI/PRField.lean#L164-L183