Documentation

CslibFrontier.Computability.PCP.TwoProverGame.Sequential

Sequential questions to one player #

A commuting strategy with projective Alice measurements can accept a tuple of Alice questions and return the full sequential transcript. The probability of an event involving one coordinate of that transcript and Bob's answer increases by at most twice the square root of Alice's prefix commutator defect.

noncomputable def Cslib.PCP.CommutingStrategy.sequential {A : Type u_1} {X : Type u_2} {Y : Type u_3} {α : Type u_4} {β : Type u_5} [Fintype α] [Fintype β] [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] (S : CommutingStrategy X Y α β A) (k : ℕ) (hM : ∀ (x : X), (S.alice x).IsProjective) :
CommutingStrategy (Fin k → X) Y (Fin k → α) β A

Ask Alice all the questions of the input tuple in order, and ask Bob his original question.

theorem Cslib.PCP.CommutingStrategy.sequential_event_le {A : Type u_1} {X : Type u_2} {Y : Type u_3} {α : Type u_4} {β : Type u_5} [Fintype α] [Fintype β] [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [TopologicalSpace A] [ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] [NonnegSpectrumClass ℝ A] [StarModule ℂ A] [SelfAdjointDecompose A] (S : CommutingStrategy X Y α β A) {k : ℕ} (hM : ∀ (x : X), (S.alice x).IsProjective) (xs : Fin k → X) (i : Fin k) (y : Y) (p : α → β → Prop) :
(((S.sequential k hM).answers xs y).toOuterMeasure {ab : (Fin k → α) × β | p (ab.1 i) ab.2}).toReal ≤ ((S.answers (xs i) y).toOuterMeasure {ab : α × β | p ab.1 ab.2}).toReal + 2 * √(Quantum.Measurement.prefixCommutatorDefect S.state (fun (j : Fin k) => S.alice (xs j)) i)

Compare an event testing coordinate i of Alice's transcript and Bob's answer with the same event when only the i-th question is asked.

theorem Cslib.PCP.CommutingStrategy.average_sequential_event_le {A : Type u_1} {X : Type u_2} {Y : Type u_3} {α : Type u_4} {β : Type u_5} [Fintype α] [Fintype β] [Ring A] [StarRing A] [PartialOrder A] [StarOrderedRing A] [Algebra ℂ A] [TopologicalSpace A] [ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] [NonnegSpectrumClass ℝ A] [StarModule ℂ A] [SelfAdjointDecompose A] [Fintype X] [Nonempty X] [Fintype Y] [Nonempty Y] (S : CommutingStrategy X Y α β A) {k : ℕ} (hM : ∀ (x : X), (S.alice x).IsProjective) (i : Fin k) (p : X → Y → α → β → Prop) :
(Finset.univ.expect fun (y : Y) => Finset.univ.expect fun (xs : Fin k → X) => (((S.sequential k hM).answers xs y).toOuterMeasure {ab : (Fin k → α) × β | p (xs i) y (ab.1 i) ab.2}).toReal) ≤ (Finset.univ.expect fun (y : Y) => Finset.univ.expect fun (x : X) => ((S.answers x y).toOuterMeasure {ab : α × β | p x y ab.1 ab.2}).toReal) + 2 * √(Finset.univ.expect fun (xs : Fin k → X) => Quantum.Measurement.prefixCommutatorDefect S.state (fun (j : Fin k) => S.alice (xs j)) i)

Under independent uniform questions, the average transcript error is bounded by the isolated error plus twice the square root of the average prefix defect.