A nonzero π½-linear functional on a finite π½-vector space has kernel of index |π½|. Every fibre is a translate of the kernel, and there are |π½| of them
ProvedMIPRE.LowDegree.card_filter_ker_mul_primeA statement of the module MIPRE.Foundations.LowDegree.Anticomm of the MIP* = RE formalization (commit 70cbf1c of vidick/MIPRE-formalization). When is a Pauli-test question tuple anticommuting?. The Pauli basis test samples Ο = (u_X, u_Z, r_X, r_Z) and the two Pauli operators it asks about commute or anticommute according to whether Ξ³(Ο) = tr_{q β 2} \bigl( (r_X Β· ind_m(u_X)) Β· (r_Z Β· ind_m(u_Z)) \bigr) vanishes. The paper's fact:omega-anticomm-prob says each case has probability at least (1 - 3md/q)/2; this file is that fact. ind_m(x) β π½_q^{2^m} is the vector of the subcube indicator polynomials of MIPRE/Foundations/LowDegree/Encoding.lean evaluated at an arbitrary point x, and the dot product of two of them is oneβ¦
A nonzero π½-linear functional on a finite π½-vector space has kernel of index |π½|.
Every fibre is a translate of the kernel, and there are |π½| of them.
Formal statement. In Lean, with the scope shown:
open MIPRE
open MIPRE.LowDegree
open Finset MvPolynomial
variable {F V : Type*} [Field F] [Fintype F] [DecidableEq F] [AddCommGroup V] [Module F V]
theorem MIPRE.LowDegree.card_filter_ker_mul_prime (Ο : V ββ[F] F) (hΟ : Ο β 0) :
#{r β (univ : Finset V) | Ο r = 0} * Fintype.card F = Fintype.card V
Formalization Note MIPRE.LowDegree.card_filter_ker_mul_prime is declared in MIPRE/Foundations/LowDegree/Anticomm.lean, lines 116β139. 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 (there named MIPRE.LowDegree.card_filter_ker_mul'; renamed for the platform, which requires ASCII identifiers). The definitions it mentions are those of the published definition bundles of the module's import closure.
import Mathlib.Algebra.MvPolynomial.CommRing
import Mathlib.Algebra.MvPolynomial.Degrees
import Mathlib.Algebra.MvPolynomial.SchwartzZippel
import Mathlib.Algebra.Polynomial.Roots
import Mathlib.Data.Rat.Cast.Order
import Mathlib.Data.Real.Basic
import Mathlib.FieldTheory.Finite.GaloisField
import Mathlib.RingTheory.Trace.Basic
import Definitions.Def_MIPRE_Foundations_LowDegree_Encoding
import Definitions.Def_MIPRE_Foundations_LowDegree_SchwartzZippel
import Definitions.Def_MIPRE_Foundations_LowDegree_Anticomm
open MIPRE
open MIPRE.LowDegree
open Finset MvPolynomial
variable {F V : Type*} [Field F] [Fintype F] [DecidableEq F] [AddCommGroup V] [Module F V]
[Fintype V] [DecidableEq V]
omit [DecidableEq V]theorem MIPRE.LowDegree.card_filter_ker_mul_prime (Ο : V ββ[F] F) (hΟ : Ο β 0) :
#{r β (univ : Finset V) | Ο r = 0} * Fintype.card F = Fintype.card V := by sorry