Documentation

CslibFrontier.Computability.PCP.TwoProverGame.LinearSystemConverse

Perfect strategies give operator solutions in the state #

The converse direction of the characterization of linear constraint system games, perfect strategy ⇒ operator solution, in the form that holds in every commuting-operator model and in the shared state. For tensor-product strategies, including non-projective ones, the converse is Cleve and Mittal, §4, Theorem 1 (arXiv:1209.2729v1, pp. 4–8); for commuting-operator strategies it is Cleve, Liu and Slofstra, §3 (arXiv:1606.02278v1, Proposition 7 and Lemma 8, pp. 5–7), whose argument this file follows.

What is proved here is the state-vector step, for projective strategies: if a projective commuting-operator strategy in a C⋆-algebra wins the game of a linear constraint system with certainty, for a question distribution that asks every variable of every equation with positive probability, then Bob's ±1 observables B_v = F_v(0) - F_v(1) form a state-dependent operator solution (Cslib.PCP.LinearSystem.StateSolution). They are self-adjoint involutions, the observables of each equation commute in the state, B_u B_w ≈ B_w B_u with error 0, and their product over each equation e, in any order, is (-1)^{parity e} in the state (Cslib.PCP.CommutingStrategy.stateSolution). Restricting to the cyclic subspace to obtain an operator solution in an algebra (Lemma 8 of Cleve, Liu and Slofstra) is not formalized here; the projectivity hypothesis is removed for finite-dimensional strategies by Naimark dilation.

The proof:

Main definitions #

Main results #

References #

Perfect strategies #

theorem Cslib.PCP.TwoProverGame.sum_accepts_eq_one_of_commutingWinProb_eq_one {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {𝒜 : Type u_5} [Finite X] [Finite Y] [Fintype A] [Fintype B] (G : TwoProverGame X Y A B) [Ring 𝒜] [StarRing 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [Algebra ℂ 𝒜] [TopologicalSpace 𝒜] [ContinuousFunctionalCalculus ℝ 𝒜 IsSelfAdjoint] [NonnegSpectrumClass ℝ 𝒜] [(x : X) → (y : Y) → (a : A) → (b : B) → Decidable (G.accepts x y a b)] {S : CommutingStrategy X Y A B 𝒜} (h : G.commutingWinProb S = 1) {x : X} {y : Y} (hq : G.questions (x, y) ≠ 0) :
(∑ a : A, ∑ b : B, if G.accepts x y a b then S.prob x y a b else 0) = 1

A strategy that wins with certainty wins every question of positive probability with certainty.

theorem Cslib.PCP.TwoProverGame.commutingProb_eq_zero_of_not_accepts {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {𝒜 : Type u_5} [Finite X] [Finite Y] [Fintype A] [Fintype B] (G : TwoProverGame X Y A B) [Ring 𝒜] [StarRing 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [Algebra ℂ 𝒜] [TopologicalSpace 𝒜] [ContinuousFunctionalCalculus ℝ 𝒜 IsSelfAdjoint] [NonnegSpectrumClass ℝ 𝒜] {S : CommutingStrategy X Y A B 𝒜} (h : G.commutingWinProb S = 1) {x : X} {y : Y} (hq : G.questions (x, y) ≠ 0) {a : A} {b : B} (hrej : ¬G.accepts x y a b) :
S.prob x y a b = 0

A strategy that wins with certainty never gives a rejected answer to a question of positive probability.

State-dependent operator solutions #

structure Cslib.PCP.LinearSystem.StateSolution {V : Type u_1} {E : Type u_2} (L : LinearSystem V E) {𝒜 : Type u_3} [CStarAlgebra 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] (φ : Quantum.AlgState 𝒜) :
Type (max u_1 u_3)

A state-dependent operator solution of a linear constraint system: ±1 observables whose observables in each equation commute in the state φ, and whose product over each equation e, in any order, is (-1)^{parity e} in the state.

Alice's measurements in the strategy of an operator solution are projective.

theorem Cslib.PCP.CommutingStrategy.sum_approx_zero {𝒜 : Type u_3} [CStarAlgebra 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] {φ : Quantum.AlgState 𝒜} {ι : Type u_4} (s : Finset ι) (f : ι → 𝒜) (h : ∀ i ∈ s, φ.Approx 0 (f i) 0) :
φ.Approx 0 (∑ i ∈ s, f i) 0

A finite sum of operators 0-close to 0 is 0-close to 0.

theorem Cslib.PCP.CommutingStrategy.list_prod_approx {V : Type u_1} {𝒜 : Type u_3} [CStarAlgebra 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] {φ : Quantum.AlgState 𝒜} (Bo Al : V → 𝒜) (l : List V) (hagree : ∀ v ∈ l, φ.Approx 0 (Bo v) (Al v)) (hcomm : ∀ u ∈ l, ∀ w ∈ l, Commute (Bo u) (Al w)) :

Transfer of products: if each B_v agrees with A_v and commutes with every A_w, the product of the B_v along a list agrees with the product of the A_v along the reversed list.

noncomputable def Cslib.PCP.CommutingStrategy.marginalObservable {V : Type u_1} {E : Type u_2} {𝒜 : Type u_3} [CStarAlgebra 𝒜] [PartialOrder 𝒜] [Fintype V] [DecidableEq V] (S : CommutingStrategy E V (V → Bool) Bool 𝒜) (e : E) (v : V) :
𝒜

Alice's marginal observable A_{e,v} = ∑_a σ_{a_v} E_e(a) of the variable v in the equation e.

theorem Cslib.PCP.CommutingStrategy.marginalObservable_eq {V : Type u_1} {E : Type u_2} {𝒜 : Type u_3} [CStarAlgebra 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [Fintype V] [DecidableEq V] (S : CommutingStrategy E V (V → Bool) Bool 𝒜) (e : E) (v : V) :
S.marginalObservable e v = (Quantum.Measurement.map (fun (a : V → Bool) => a v) (S.alice e)).observable
theorem Cslib.PCP.CommutingStrategy.list_prod_marginalObservable {V : Type u_1} {E : Type u_2} {𝒜 : Type u_3} [CStarAlgebra 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [Fintype V] [DecidableEq V] {S : CommutingStrategy E V (V → Bool) Bool 𝒜} (e : E) (hA : (S.alice e).IsProjective) (l : List V) :
(List.map (S.marginalObservable e) l).prod = ∑ a : V → Bool, (List.map (fun (v : V) => ↑(BitString.signVal (a v))) l).prod • (S.alice e).effect a

Products of marginal observables of a projective measurement multiply pointwise.

theorem Cslib.PCP.CommutingStrategy.effect_approx_zero_of_not_satisfies {V : Type u_1} {E : Type u_2} {𝒜 : Type u_3} [CStarAlgebra 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [Fintype V] [DecidableEq V] {S : CommutingStrategy E V (V → Bool) Bool 𝒜} [Finite E] (L : LinearSystem V E) {μ : PMF (E × V)} (hne : ∀ (e : E), ∃ (v : V), μ (e, v) ≠ 0) (h : (L.game μ).commutingWinProb S = 1) {e : E} {a : V → Bool} (ha : ¬L.Satisfies e a) :
S.state.Approx 0 ((S.alice e).effect a) 0

In a perfect strategy, Alice never answers an assignment violating her equation.

theorem Cslib.PCP.CommutingStrategy.marginalObservable_approx {V : Type u_1} {E : Type u_2} {𝒜 : Type u_3} [CStarAlgebra 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [Fintype V] [DecidableEq V] {S : CommutingStrategy E V (V → Bool) Bool 𝒜} [Finite E] (L : LinearSystem V E) {μ : PMF (E × V)} (hμ : ∀ (e : E), ∀ v ∈ L.support e, μ (e, v) ≠ 0) (h : (L.game μ).commutingWinProb S = 1) {e : E} {v : V} (hv : v ∈ L.support e) :

In a perfect strategy, Alice's marginal observable of a variable of her equation agrees perfectly with Bob's observable.

theorem Cslib.PCP.CommutingStrategy.commute_observable_marginalObservable {V : Type u_1} {E : Type u_2} {𝒜 : Type u_3} [CStarAlgebra 𝒜] [PartialOrder 𝒜] [Fintype V] [DecidableEq V] {S : CommutingStrategy E V (V → Bool) Bool 𝒜} (e : E) (u w : V) :

Bob's observables commute with Alice's marginal observables.

noncomputable def Cslib.PCP.CommutingStrategy.stateSolution {V : Type u_1} {E : Type u_2} {𝒜 : Type u_3} [CStarAlgebra 𝒜] [PartialOrder 𝒜] [StarOrderedRing 𝒜] [Fintype V] [DecidableEq V] [Finite E] (L : LinearSystem V E) {μ : PMF (E × V)} (S : CommutingStrategy E V (V → Bool) Bool 𝒜) (hne : ∀ (e : E), ∃ (v : V), μ (e, v) ≠ 0) (hμ : ∀ (e : E), ∀ v ∈ L.support e, μ (e, v) ≠ 0) (hA : ∀ (e : E), (S.alice e).IsProjective) (hB : ∀ (v : V), (S.bob v).IsProjective) (h : (L.game μ).commutingWinProb S = 1) :

Perfect strategies give operator solutions in the state Cleve, Liu and Slofstra, §3, Proposition 7: if a projective commuting-operator strategy wins the game of a linear constraint system with certainty, for a question distribution asking every equation and every variable of it with positive probability, then Bob's ±1 observables form an operator solution in the shared state.