Lemma evalBits_oneBits of the MIP* = RE formalization
ProvedMIPRE.LowDegree.BinaryPolynomial.evalBits_oneBitsmip-remipre-formalizationverifiers
A statement of the module MIPRE.Foundations.LowDegree.BinaryConstants of the MIP* = RE formalization (commit 70cbf1c of vidick/MIPRE-formalization). # Fixed-width zero and one for binary polynomial quotients
Formal statement. In Lean, with the scope shown:
open MIPRE
open MIPRE.LowDegree
open MIPRE.LowDegree.BinaryPolynomial
open MIPRE.Cost
variable {R : Type*} [CommRing R]
theorem MIPRE.LowDegree.BinaryPolynomial.evalBits_oneBits (z : R) (p : BitStr) (hp : p ≠ []) : evalBits z (oneBits p) = 1
Formalization Note MIPRE.LowDegree.BinaryPolynomial.evalBits_oneBits is declared in MIPRE/Foundations/LowDegree/BinaryConstants.lean, lines 31–32. The binders, hypotheses and conclusion are exactly those of the Lean statement above; the uploaded statement elaborates to the same type as the declaration in the repository. The definitions it mentions are those of the published definition bundles of the module's import closure.
Preamble
import Mathlib.Algebra.CharP.Two
import Mathlib.Algebra.MvPolynomial.CommRing
import Mathlib.Algebra.MvPolynomial.Degrees
import Mathlib.Algebra.Polynomial.Eval.Defs
import Mathlib.Algebra.Polynomial.Monic
import Mathlib.Data.List.Basic
import Mathlib.Data.Nat.Bits
import Mathlib.Data.Nat.Notation
import Mathlib.Data.Nat.Size
import Mathlib.Data.ZMod.Basic
import Definitions.Def_MIPRE_Foundations_Cost_Basic_B
import Definitions.Def_MIPRE_Foundations_Cost_Encoding_B
import Definitions.Def_MIPRE_Foundations_Cost_PolyTime
import Definitions.Def_MIPRE_Foundations_Cost_Closure
import Definitions.Def_MIPRE_Foundations_Cost_Loops_B
import Definitions.Def_MIPRE_Foundations_Cost_Fold
import Definitions.Def_MIPRE_Foundations_LowDegree_Encoding
import Definitions.Def_MIPRE_Foundations_LowDegree_BinaryRepresentation
import Definitions.Def_MIPRE_Foundations_LowDegree_BinaryPolynomial
import Definitions.Def_MIPRE_Foundations_LowDegree_BinaryConstants
open MIPRE
open MIPRE.LowDegree
open MIPRE.LowDegree.BinaryPolynomial
open MIPRE.Cost
variable {R : Type*} [CommRing R]Formal statement
theorem MIPRE.LowDegree.BinaryPolynomial.evalBits_oneBits (z : R) (p : BitStr) (hp : p ≠ []) : evalBits z (oneBits p) = 1 := by sorry
Source