Documentation

CslibFrontier.Computability.PCP.TwoProverGame.PauliBraidingZero

The zero-string term in Pauli braiding consistency #

The parity check sends the point player zero on duplicated pairs. The two equality checks on those same pairs control the parity of the pair answer. This supplies the zero-string contribution missing from the odd-pair consistency checks.

Main results #

def Cslib.PCP.pauliBraidingZeroQuestion {n : ℕ} {Q : Type u_1} (basis : Bool) (dummy : Fin n → Bool) :

The visible question for zero with a dummy in one of the two bases.

Decode the bit checked at zero by the diagonal linearity test. The all-false string is first after sorting, including when the dummy is also zero.

theorem Cslib.PCP.prob_true_le_pauliBraidingDiagonal {n : ℕ} [Nonempty (Fin n)] {Q : Type u_1} {A : Type u_2} {𝒜 : Type u_3} [Fintype A] [Ring 𝒜] [StarRing 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [Algebra ℂ 𝒜] [TopologicalSpace 𝒜] [ContinuousFunctionalCalculus ℝ 𝒜 IsSelfAdjoint] [NonnegSpectrumClass ℝ 𝒜] (G : TwoProverGame Q Q A A) (special : Bool → Q) (decode : Bool → A → Bool) (roles basis : Bool) (S : CommutingStrategy (PauliBraidingQuestion n Q) (PauliBraidingQuestion n Q) (Bool × Bool ⊕ A) (Bool × Bool ⊕ A) 𝒜) (a dummy : Fin n → Bool) :
have game := pauliBraidingDiagonalGame n G special decode roles basis; have logical := bif roles then S.swap else S; have loss := fun (k : Fin 3) => 1 - { seed := PMF.pure (k, a, dummy), query := game.query, accepts := game.accepts }.commutingWinProb S; Quantum.Measurement.prob logical.state (Quantum.Measurement.map pauliBraidingZeroBit (logical.bob (pauliBraidingZeroQuestion basis dummy))) true ≤ loss 0 + loss 1 + loss 2

For either role assignment, the three checks of a diagonal round bound the point player’s probability of a true decoded answer at zero. Malformed answers are decoded as false and still rejected by the verifier.

theorem Cslib.PCP.expect_prob_true_pauliBraidingZero_le {n : ℕ} [Nonempty (Fin n)] {Q : Type u_1} {A : Type u_2} {𝒜 : Type u_3} [Fintype A] [Ring 𝒜] [StarRing 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [Algebra ℂ 𝒜] [TopologicalSpace 𝒜] [ContinuousFunctionalCalculus ℝ 𝒜 IsSelfAdjoint] [NonnegSpectrumClass ℝ 𝒜] (G : TwoProverGame Q Q A A) (special : Bool → Q) (decode : Bool → A → Bool) (roles basis : Bool) (S : CommutingStrategy (PauliBraidingQuestion n Q) (PauliBraidingQuestion n Q) (Bool × Bool ⊕ A) (Bool × Bool ⊕ A) 𝒜) :
have logical := bif roles then S.swap else S; (Finset.univ.expect fun (dummy : Fin n → Bool) => Quantum.Measurement.prob logical.state (Quantum.Measurement.map pauliBraidingZeroBit (logical.bob (pauliBraidingZeroQuestion basis dummy))) true) / ↑(Fintype.card (Fin n → Bool)) ≤ 12 * (1 - (pauliBraidingBranchGame n G special decode 0).commutingWinProb S)

The probability of a true decoded zero answer, averaged over the dummy and weighted by the uniform mass of zero, is at most twelve times the linearity-branch rejection probability.

theorem Cslib.PCP.prob_true_second_le_pauliBraidingZero_tie {n : ℕ} [Nonempty (Fin n)] {Q : Type u_1} {A : Type u_2} {𝒜 : Type u_3} [Fintype A] [Ring 𝒜] [StarRing 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [Algebra ℂ 𝒜] [TopologicalSpace 𝒜] [ContinuousFunctionalCalculus ℝ 𝒜 IsSelfAdjoint] [NonnegSpectrumClass ℝ 𝒜] (G : TwoProverGame Q Q A A) (special : Bool → Q) (decode : Bool → A → Bool) (roles basis : Bool) (S : CommutingStrategy (PauliBraidingQuestion n Q) (PauliBraidingQuestion n Q) (Bool × Bool ⊕ A) (Bool × Bool ⊕ A) 𝒜) (dummy : Fin n → Bool) :
have game := pauliBraidingDiagonalGame n G special decode roles basis; have logical := bif roles then S.swap else S; have question := PauliBraidingQuestion.basis basis (0, 0); have loss := fun (k : Fin 3) => 1 - { seed := PMF.pure (k, 0, dummy), query := game.query, accepts := game.accepts }.commutingWinProb S; Quantum.Measurement.prob logical.state (Quantum.Measurement.map (Sum.elim Prod.snd fun (x : A) => false) (logical.alice question)) true ≤ loss 0 + loss 2

When the pair player receives the duplicated zero string, their second bit can be true only if at least one of the first-coordinate and parity checks rejects. Both checks query zero with the same dummy.

theorem Cslib.PCP.weighted_prob_true_second_pauliBraidingZero_tie_le {n : ℕ} [Nonempty (Fin n)] {Q : Type u_1} {A : Type u_2} {𝒜 : Type u_3} [Fintype A] [Ring 𝒜] [StarRing 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [Algebra ℂ 𝒜] [TopologicalSpace 𝒜] [ContinuousFunctionalCalculus ℝ 𝒜 IsSelfAdjoint] [NonnegSpectrumClass ℝ 𝒜] (G : TwoProverGame Q Q A A) (special : Bool → Q) (decode : Bool → A → Bool) (roles basis : Bool) (S : CommutingStrategy (PauliBraidingQuestion n Q) (PauliBraidingQuestion n Q) (Bool × Bool ⊕ A) (Bool × Bool ⊕ A) 𝒜) :
have logical := bif roles then S.swap else S; have probability := Quantum.Measurement.prob logical.state (Quantum.Measurement.map (Sum.elim Prod.snd fun (x : A) => false) (logical.alice (PauliBraidingQuestion.basis basis (0, 0)))) true; probability / ↑(Fintype.card (Fin n → Bool)) ^ 2 ≤ 12 * (1 - (pauliBraidingBranchGame n G special decode 0).commutingWinProb S)

The second-bit error at the duplicated zero query has the joint uniform weight of zero and its zero dummy. It is controlled by using the same player in the pair role.

theorem Cslib.PCP.expect_prob_true_pauliBraidingConsistencyZero_le {n : ℕ} [Nonempty (Fin n)] {Q : Type u_1} {A : Type u_2} {𝒜 : Type u_3} [Fintype A] [Ring 𝒜] [StarRing 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [Algebra ℂ 𝒜] [TopologicalSpace 𝒜] [ContinuousFunctionalCalculus ℝ 𝒜 IsSelfAdjoint] [NonnegSpectrumClass ℝ 𝒜] (G : TwoProverGame Q Q A A) (special : Bool → Q) (decode : Bool → A → Bool) (roles basis : Bool) (S : CommutingStrategy (PauliBraidingQuestion n Q) (PauliBraidingQuestion n Q) (Bool × Bool ⊕ A) (Bool × Bool ⊕ A) 𝒜) :
have logical := bif roles then S.swap else S; (Finset.univ.expect fun (dummy : Fin n → Bool) => have q := PauliConsistencyQuestion.ofChecked basis 0 dummy; have measure := Quantum.Measurement.map (Sum.elim q.braidingCheckedBit fun (x : A) => false) (logical.bob q.toBraidingQuestion); Quantum.Measurement.prob logical.state measure true) / ↑(Fintype.card (Fin n → Bool)) ≤ 24 * (1 - (pauliBraidingBranchGame n G special decode 0).commutingWinProb S)

Both bases of the consistency decoder at zero are controlled by linearity rejection, including the second coordinate used by the Z-basis decoder on a duplicated query.

theorem Cslib.PCP.expect_norm_pauliBraidingBasisObservable_sub_sq_le {n : ℕ} [Nonempty (Fin n)] {Q : Type u_1} {A : Type u_2} {𝒜 : Type u_3} [Fintype A] [Ring 𝒜] [StarRing 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [Algebra ℂ 𝒜] [StarModule ℂ 𝒜] [SelfAdjointDecompose 𝒜] [TopologicalSpace 𝒜] [ContinuousFunctionalCalculus ℝ 𝒜 IsSelfAdjoint] [NonnegSpectrumClass ℝ 𝒜] [Module ℚ≥0 𝒜] (G : TwoProverGame Q Q A A) (special : Bool → Q) (decode : Bool → A → Bool) (basis : Bool) (S : CommutingStrategy (PauliBraidingQuestion n Q) (PauliBraidingQuestion n Q) (Bool × Bool ⊕ A) (Bool × Bool ⊕ A) 𝒜) :
have a := pauliBraidingBasisObservable S.alice basis; have b := pauliBraidingBasisObservable S.bob basis; (Finset.univ.expect fun (x : Fin n → Bool) => S.state.norm ((Finset.univ.expect fun (y : Fin n → Bool) => a x y) - Finset.univ.expect fun (y : Fin n → Bool) => b x y) ^ 2) ≤ 896 * ↑(BitString.oddPairs (Fin n)).dens * (1 - (pauliBraidingBranchGame n G special decode 2).commutingWinProb S) + 384 * (1 - (pauliBraidingBranchGame n G special decode 0).commutingWinProb S)

The full uniform average of squared consistency distances of the basis observables is controlled by consistency rejection on the nonzero strings and linearity rejection at zero. Both branch scores use the very same commuting strategy.