QPBT definitions: Palomar / LowDegreeConsistencyBridge
DefinitionQPBT_QPBT_Palomar_LowDegreeConsistencyBridgeqpbt
This bundle bridges compact low-degree consistency data to the registered library domain. It copies parameters, records admissibility, proves conversion round trips, and identifies transported measurements, questions, answer relabeling, and evaluation.
Principal definitions:
MIPStarRE.QPBT.Palomar.postprocessEffect_ofMeasurement: relates compact postprocessing to registered effects.MIPStarRE.QPBT.Palomar.lowDegreeQuestionEquiv_symm_point: identifies corresponding point questions.MIPStarRE.QPBT.Palomar.ldPointValuesOrZero_answerEquiv: preserves the point-answer relabeling map.MIPStarRE.QPBT.Palomar.evalLowDegreePolynomialTuple_eq: identifies compact and registered polynomial evaluation.- The parameter conversion and admissibility declarations establish the bridge domain.
Formalization Credit. This Lean declaration is part of the Quantum Pauli basis test formalization by Ruixuan Deng. The source code was generated by AI agents; Ruixuan Deng is the responsible maintainer.
Mathematical Source. The mathematical source is Ji, Natarajan, Vidick, Wright, and Yuen, MIP*=RE, arXiv:2001.04383v3.
Definition code
-- Generated from QPBT/Palomar/LowDegreeConsistencyBridge.lean by skeleton subtraction.
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_AxisParallelLine
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_DiagonalLine
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_LinePolynomials
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_LowDegreePolynomial
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_OpFamily
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_ParametersBase
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_ParametersFiniteAnswers
import Definitions.Def_LIDT_MIPStarRE_LDT_Basic_QuantumState
import Definitions.Def_LIDT_MIPStarRE_LDT_CommutativityPoints_Defs
import Definitions.Def_LIDT_MIPStarRE_LDT_ExpansionHypercubeGraph_Defs_Core
import Definitions.Def_LIDT_MIPStarRE_LDT_GlobalVariance_Defs_Core
import Definitions.Def_LIDT_MIPStarRE_LDT_MakingMeasurementsProjective_Defs
import Definitions.Def_LIDT_MIPStarRE_LDT_Pasting_Defs_Families
import Definitions.Def_LIDT_MIPStarRE_LDT_Pasting_Defs_Interpolation
import Definitions.Def_LIDT_MIPStarRE_LDT_Tactic_AvgCongr
import Definitions.Def_LIDT_MIPStarRE_LDT_Test_StrategyCore
import Definitions.Def_LIDT_MIPStarRE_Quantum_Measurement
import Definitions.Def_QPBT_QPBT_Algebra_FieldBasis
import Definitions.Def_QPBT_QPBT_Palomar_Bridge
import Definitions.Def_QPBT_QPBT_Palomar_Definitions
import Definitions.Def_QPBT_QPBT_Palomar_LowDegreeGameBridge
import Definitions.Def_QPBT_QPBT_Test_LowDegreeGame
import Definitions.Def_QPBT_QPBT_Test_LowDegreeGameMeasurements
import Mathlib
import Mathlib.Analysis.MeanInequalitiesPow
namespace LIDT.MIPStarRE.LDT
end LIDT.MIPStarRE.LDT
namespace LIDT.MIPStarRE.Quantum
end LIDT.MIPStarRE.Quantum
namespace MIPStarRE.QPBT.Palomar
end MIPStarRE.QPBT.Palomar
/-!
# Exact bridges for compact low-degree consistency
This module identifies the compact effect sums and three low-degree defects
with the corresponding library measurements and consistency defects. It also
gives the inverse numerical-record conversion needed to apply the registered
soundness theorem to compact parameters.
## References
`references/qpbt-paper/06_nonlocal_games_and_mipstar.tex:232-248` and
`references/qpbt-paper/08_classical_and_quantum_low_degree_tests.tex:394-440`.
-/
@[expose] public section
open scoped BigOperators
namespace MIPStarRE.QPBT.Palomar
open LIDT.MIPStarRE.LDT LIDT.MIPStarRE.Quantum
noncomputable section
/-- A compact parameter record carries the registered admissible-size predicate. -/
theorem LowDegreeParams.is_admissible_size (P : _root_.MIPStarRE.QPBT.Palomar.LowDegreeParams) :
_root_.MIPStarRE.QPBT.IsAdmissibleSize P.q :=
P.hq
/-- Copy compact numerical parameters into the registered low-degree domain. -/
def LowDegreeParams.toLdParams (P : _root_.MIPStarRE.QPBT.Palomar.LowDegreeParams) : _root_.MIPStarRE.QPBT.LdParams where
q := P.q
m := P.m
d := P.d
k := P.k
hm := P.hm
hd := P.hd
hk := P.hk
hq := P.is_admissible_size
hdvd := P.hdvd
/-- Compact parameters are recovered exactly after conversion to the library record. -/
@[simp] theorem LowDegreeParams.ofLdParams_toLdParams (P : _root_.MIPStarRE.QPBT.Palomar.LowDegreeParams) :
_root_.MIPStarRE.QPBT.Palomar.LowDegreeParams.ofLdParams P.toLdParams = P := by
cases P
rfl
/-- Library parameters are recovered exactly after conversion to the compact record. -/
@[simp] theorem LowDegreeParams.toLdParams_ofLdParams (P : _root_.MIPStarRE.QPBT.LdParams) :
(_root_.MIPStarRE.QPBT.Palomar.LowDegreeParams.ofLdParams P).toLdParams = P := by
cases P
rfl
/-- Compact postprocessing of a converted library measurement has the original effect. -/
@[simp] theorem postprocessEffect_ofMeasurement {A B I : Type*}
[Fintype A] [DecidableEq A] [Fintype B] [DecidableEq B]
[Fintype I] [DecidableEq I] (M : _root_.LIDT.MIPStarRE.Quantum.Measurement A I)
(f : A → B) (b : B) :
_root_.MIPStarRE.QPBT.Palomar.postprocessEffect (_root_.MIPStarRE.QPBT.Palomar.POVM.ofMeasurement M) f b = (M.postprocess f).effect b :=
rfl
/-- Compact and library point questions agree under the question equivalence. -/
@[simp] theorem lowDegreeQuestionEquiv_symm_point (L : _root_.MIPStarRE.QPBT.LdParams)
(u : Fin L.m → _root_.MIPStarRE.QPBT.ScalarQ L) :
(_root_.MIPStarRE.QPBT.Palomar.lowDegreeQuestionEquiv L).symm (_root_.MIPStarRE.QPBT.ldPointQuestionOf L u) =
_root_.MIPStarRE.QPBT.Palomar.lowDegreePointQuestion (_root_.MIPStarRE.QPBT.Palomar.LowDegreeParams.ofLdParams L) u := by
rfl
/-- The wrong-form-to-zero point map is unchanged by answer relabeling. -/
@[simp] theorem ldPointValuesOrZero_answerEquiv (L : _root_.MIPStarRE.QPBT.LdParams)
(a : _root_.MIPStarRE.QPBT.Palomar.LowDegreeAnswer (_root_.MIPStarRE.QPBT.Palomar.LowDegreeParams.ofLdParams L)
(_root_.MIPStarRE.QPBT.ScalarQ L)) :
_root_.MIPStarRE.QPBT.ldPointValuesOrZero L (_root_.MIPStarRE.QPBT.Palomar.lowDegreeAnswerEquiv L a) =
_root_.MIPStarRE.QPBT.Palomar.lowDegreePointValuesOrZero a := by
rcases a with a | (a | a) <;> rfl
/-- Compact and library polynomial-tuple evaluation are definitionally identical. -/
@[simp] theorem evalLowDegreePolynomialTuple_eq (L : _root_.MIPStarRE.QPBT.LdParams)
(u : Fin L.m → _root_.MIPStarRE.QPBT.ScalarQ L)
(g : _root_.MIPStarRE.QPBT.Palomar.LowDegreePolynomialTuple (_root_.MIPStarRE.QPBT.Palomar.LowDegreeParams.ofLdParams L)
(_root_.MIPStarRE.QPBT.ScalarQ L)) :
_root_.MIPStarRE.QPBT.Palomar.evalLowDegreePolynomialTuple u g = _root_.MIPStarRE.QPBT.evalPolyTupleAt u g :=
rfl
/-- The compact error function is definitionally the registered `deltaLd`. -/
@[simp] theorem deltaLd_eq_library (a b ε : ℝ) (q m d k : ℕ) :
_root_.MIPStarRE.QPBT.Palomar.deltaLd a b ε q m d k = _root_.MIPStarRE.QPBT.deltaLd a b ε q m d k :=
rfl
end
end MIPStarRE.QPBT.Palomar
Source