Documentation

LeanPool.QuantumParallelRepetition.Part01

Quantum parallel repetition, part 01 #

@[instance_reducible]

The local matrix norm instance used while elaborating part one.

Equations
Instances For
    @[instance_reducible]

    The local matrix norm instance used while elaborating part one.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      structure QuantumParallelRepetition.Game (X : Type u_5) (Y : Type u_6) (A : Type u_7) (B : Type u_8) [Fintype X] [Fintype Y] [Fintype A] [Fintype B] :
      Type (max (max (max u_5 u_6) u_7) u_8)

      A finite two-player nonlocal game with a question distribution and winning predicate.

      • questionWeight : X → Y → ℝ

        The probability weight assigned to a pair of questions.

      • weight_nonneg (x : X) (y : Y) : 0 ≤ self.questionWeight x y
      • weight_normalized : ∑ x : X, ∑ y : Y, self.questionWeight x y = 1
      • predicate : X → Y → A → B → Bool

        The Boolean predicate deciding whether a pair of answers wins.

      Instances For
        def QuantumParallelRepetition.Game.marginalX {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (x : X) :

        The first-question marginal of a game.

        Equations
        Instances For
          def QuantumParallelRepetition.Game.marginalY {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (y : Y) :

          The second-question marginal of a game.

          Equations
          Instances For
            theorem QuantumParallelRepetition.Game.marginalX_nonneg {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (x : X) :
            theorem QuantumParallelRepetition.Game.marginalY_nonneg {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (y : Y) :
            theorem QuantumParallelRepetition.Game.marginalX_normalized {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) :
            ∑ x : X, G.marginalX x = 1
            theorem QuantumParallelRepetition.Game.marginalY_normalized {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) :
            ∑ y : Y, G.marginalY y = 1
            def QuantumParallelRepetition.Game.repeat {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) :
            Game (Fin n → X) (Fin n → Y) (Fin n → A) (Fin n → B)

            The coordinatewise repeated game.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              @[simp]
              theorem QuantumParallelRepetition.Game.repeat_questionWeight {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (xs : Fin n → X) (ys : Fin n → Y) :
              (G.repeat n).questionWeight xs ys = ∏ i : Fin n, G.questionWeight (xs i) (ys i)
              @[simp]
              theorem QuantumParallelRepetition.Game.repeat_predicate_eq_true {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (xs : Fin n → X) (ys : Fin n → Y) (as : Fin n → A) (bs : Fin n → B) :
              (G.repeat n).predicate xs ys as bs = true ↔ ∀ (i : Fin n), G.predicate (xs i) (ys i) (as i) (bs i) = true

              A finite-dimensional positive semidefinite matrix of trace one.

              Instances For
                structure QuantumParallelRepetition.POVM (ι : Type u_5) (d : Type u_6) [Fintype ι] [Fintype d] [DecidableEq d] :
                Type (max u_5 u_6)

                A finite-outcome positive operator-valued measurement.

                • effect : ι → Matrix d d ℂ

                  The positive operator associated with a measurement outcome.

                • positive (i : ι) : (self.effect i).PosSemidef
                • complete : ∑ i : ι, self.effect i = 1
                Instances For
                  structure QuantumParallelRepetition.Strategy {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (_G : Game X Y A B) :
                  Type (max (max (max (max 1 u_1) u_2) u_3) u_4)

                  A finite-dimensional entangled strategy for a nonlocal game.

                  Instances For
                    def QuantumParallelRepetition.Strategy.jointEffect {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {G : Game X Y A B} (S : Strategy G) (x : X) (y : Y) (a : A) (b : B) :

                    The tensor product of Alice's and Bob's effects for a joint outcome.

                    Equations
                    Instances For
                      def QuantumParallelRepetition.Strategy.outcomeProbability {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {G : Game X Y A B} (S : Strategy G) (x : X) (y : Y) (a : A) (b : B) :

                      The Born probability of a question-and-answer outcome.

                      Equations
                      Instances For
                        theorem QuantumParallelRepetition.Strategy.outcomeProbability_nonneg {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {G : Game X Y A B} (S : Strategy G) (x : X) (y : Y) (a : A) (b : B) :
                        theorem QuantumParallelRepetition.Strategy.outcomeProbability_normalized {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {G : Game X Y A B} (S : Strategy G) (x : X) (y : Y) :
                        ∑ a : A, ∑ b : B, S.outcomeProbability x y a b = 1
                        def QuantumParallelRepetition.Strategy.winProbability {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {G : Game X Y A B} (S : Strategy G) :

                        The winning probability of the strategy.

                        Equations
                        Instances For
                          theorem QuantumParallelRepetition.Strategy.winProbability_nonneg {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {G : Game X Y A B} (S : Strategy G) :
                          theorem QuantumParallelRepetition.Strategy.winProbability_le_one {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {G : Game X Y A B} (S : Strategy G) :
                          noncomputable def QuantumParallelRepetition.entangledValue {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) :

                          The supremal winning probability over finite-dimensional entangled strategies.

                          Equations
                          Instances For
                            theorem QuantumParallelRepetition.entangledValue_le_one {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) :
                            theorem QuantumParallelRepetition.entangledValue_nonneg {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) :
                            noncomputable def QuantumParallelRepetition.repeatedEntangledValue {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) :

                            The entangled value of a coordinatewise repeated game.

                            Equations
                            Instances For

                              The quadratic expectation construction used in the quantum parallel-repetition argument.

                              Equations
                              Instances For
                                theorem QuantumParallelRepetition.weighted_real_cauchy {ι : Type u_2} [Fintype ι] (weight f g : ι → ℝ) (h_weight : ∀ (i : ι), 0 ≤ weight i) :
                                ∑ i : ι, weight i * f i * g i ≤ √(∑ i : ι, weight i * f i ^ 2) * √(∑ i : ι, weight i * g i ^ 2)
                                def QuantumParallelRepetition.Strategy.winningEffect {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {G : Game X Y A B} (S : Strategy G) (x : X) (y : Y) :

                                The measurement effect for winning.

                                Equations
                                Instances For
                                  theorem QuantumParallelRepetition.Strategy.winningEffect_born {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {G : Game X Y A B} (S : Strategy G) (x : X) (y : Y) :
                                  (S.state.matrix * S.winningEffect x y).trace.re = ∑ a : A, ∑ b : B, if G.predicate x y a b = true then S.outcomeProbability x y a b else 0
                                  theorem QuantumParallelRepetition.Strategy.winProbability_eq_winningEffect_born {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {G : Game X Y A B} (S : Strategy G) :
                                  S.winProbability = ∑ x : X, ∑ y : Y, G.questionWeight x y * (S.state.matrix * S.winningEffect x y).trace.re
                                  theorem QuantumParallelRepetition.posSemidef_blockDiagonal' {ι : Type u_5} [Finite ι] [DecidableEq ι] {d : ι → Type u_6} [∀ (j : ι), Finite (d j)] (M : (j : ι) → Matrix (d j) (d j) ℂ) (hM : ∀ (j : ι), (M j).PosSemidef) :
                                  @[reducible, inline]
                                  abbrev QuantumParallelRepetition.mixtureAlice {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {J : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {G : Game X Y A B} (S : J → Strategy G) :

                                  Alice's direct-sum index, retaining the chosen component of the mixture.

                                  Equations
                                  Instances For
                                    @[reducible, inline]
                                    abbrev QuantumParallelRepetition.mixtureBob {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {J : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {G : Game X Y A B} (S : J → Strategy G) :

                                    Bob's direct-sum index, retaining the chosen component of the mixture.

                                    Equations
                                    Instances For
                                      @[reducible, inline]
                                      abbrev QuantumParallelRepetition.mixtureMatched {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {J : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {G : Game X Y A B} (S : J → Strategy G) :

                                      Joint indices whose two players use the same mixture component.

                                      Equations
                                      Instances For
                                        def QuantumParallelRepetition.mixtureMatchedIndex {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {J : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {G : Game X Y A B} (S : J → Strategy G) :

                                        Embed matching component indices into the product of the two direct sums.

                                        Equations
                                        Instances For
                                          def QuantumParallelRepetition.mixtureEmbedding {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {J : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [DecidableEq J] {G : Game X Y A B} (S : J → Strategy G) :

                                          The matrix embedding the matching component blocks into the joint space.

                                          Equations
                                          Instances For
                                            theorem QuantumParallelRepetition.mixtureEmbedding_isometry {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {J : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [Fintype J] [DecidableEq J] {G : Game X Y A B} (S : J → Strategy G) :
                                            noncomputable def QuantumParallelRepetition.mixtureBlockMatrix {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {J : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [DecidableEq J] {G : Game X Y A B} (p : J → ℝ) (S : J → Strategy G) :

                                            The block-diagonal state matrix weighted by the mixture probabilities.

                                            Equations
                                            Instances For
                                              theorem QuantumParallelRepetition.mixtureBlockMatrix_posSemidef {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {J : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [DecidableEq J] {G : Game X Y A B} [Finite J] (p : J → ℝ) (hp : ∀ (j : J), 0 ≤ p j) (S : J → Strategy G) :
                                              theorem QuantumParallelRepetition.mixtureBlockMatrix_trace {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {J : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [Fintype J] [DecidableEq J] {G : Game X Y A B} (p : J → ℝ) (S : J → Strategy G) :
                                              (mixtureBlockMatrix p S).trace = ↑(∑ j : J, p j)
                                              noncomputable def QuantumParallelRepetition.mixtureDensityMatrix {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {J : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [Fintype J] [DecidableEq J] {G : Game X Y A B} (p : J → ℝ) (hp : ∀ (j : J), 0 ≤ p j) (h_normalized : ∑ j : J, p j = 1) (S : J → Strategy G) :

                                              The density matrix of the mixture, supported on matching component blocks.

                                              Equations
                                              • One or more equations did not get rendered due to their size.
                                              Instances For
                                                def QuantumParallelRepetition.mixtureAlicePOVM {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {J : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [Fintype J] [DecidableEq J] {G : Game X Y A B} (S : J → Strategy G) (x : X) :

                                                Alice's measurement acting separately on each mixture component.

                                                Equations
                                                Instances For
                                                  def QuantumParallelRepetition.mixtureBobPOVM {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {J : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [Fintype J] [DecidableEq J] {G : Game X Y A B} (S : J → Strategy G) (y : Y) :

                                                  Bob's measurement acting separately on each mixture component.

                                                  Equations
                                                  Instances For
                                                    noncomputable def QuantumParallelRepetition.convexMixtureStrategy {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {J : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [Fintype J] [DecidableEq J] {G : Game X Y A B} (p : J → ℝ) (hp : ∀ (j : J), 0 ≤ p j) (h_normalized : ∑ j : J, p j = 1) (S : J → Strategy G) :

                                                    A strategy that shares a component label and plays that component's strategy.

                                                    Equations
                                                    • One or more equations did not get rendered due to their size.
                                                    Instances For

                                                      The matrix representation of pure density.

                                                      Equations
                                                      Instances For
                                                        def QuantumParallelRepetition.pureVectorStrategy {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {dA dB : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [Fintype dA] [Fintype dB] [DecidableEq dA] [DecidableEq dB] (G : Game X Y A B) (z : EuclideanSpace ℂ (dA × dB)) (hz : ‖z‖ = 1) (PA : X → POVM A dA) (PB : Y → POVM B dB) :

                                                        The strategy implementing pure vector.

                                                        Equations
                                                        • One or more equations did not get rendered due to their size.
                                                        Instances For
                                                          theorem QuantumParallelRepetition.pureVectorStrategy_outcomeProbability {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {dA dB : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [Fintype dA] [Fintype dB] [DecidableEq dA] [DecidableEq dB] (G : Game X Y A B) (z : EuclideanSpace ℂ (dA × dB)) (hz : ‖z‖ = 1) (PA : X → POVM A dA) (PB : Y → POVM B dB) (x : X) (y : Y) (a : A) (b : B) :
                                                          (pureVectorStrategy G z hz PA PB).outcomeProbability x y a b = quadraticExpectation (Matrix.toEuclideanCLM (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) ((PA x).effect a) ((PB y).effect b))) z
                                                          noncomputable def QuantumParallelRepetition.pureFlaggedStrategy {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {dA dB J : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [Fintype dA] [Fintype dB] [DecidableEq dA] [DecidableEq dB] [Fintype J] [DecidableEq J] (G : Game X Y A B) (p : J → ℝ) (hp : ∀ (j : J), 0 ≤ p j) (h_normalized : ∑ j : J, p j = 1) (z : J → EuclideanSpace ℂ (dA × dB)) (hz : ∀ (j : J), ‖z j‖ = 1) (PA : J → X → POVM A dA) (PB : J → Y → POVM B dB) :

                                                          The strategy implementing pure flagged.

                                                          Equations
                                                          • One or more equations did not get rendered due to their size.
                                                          Instances For
                                                            theorem QuantumParallelRepetition.pureFlaggedStrategy_winProbability {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {dA dB J : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [Fintype dA] [Fintype dB] [DecidableEq dA] [DecidableEq dB] [Fintype J] [DecidableEq J] (G : Game X Y A B) (p : J → ℝ) (hp : ∀ (j : J), 0 ≤ p j) (h_normalized : ∑ j : J, p j = 1) (z : J → EuclideanSpace ℂ (dA × dB)) (hz : ∀ (j : J), ‖z j‖ = 1) (PA : J → X → POVM A dA) (PB : J → Y → POVM B dB) :
                                                            (pureFlaggedStrategy G p hp h_normalized z hz PA PB).winProbability = ∑ j : J, p j * (pureVectorStrategy G (z j) ⋯ (PA j) (PB j)).winProbability

                                                            A normalized nonnegative probability law on a finite sample space.

                                                            • weight : Ω → ℝ

                                                              The probability weight of a sample point.

                                                            • weight_nonneg (ω : Ω) : 0 ≤ self.weight ω
                                                            • weight_sum : ∑ ω : Ω, self.weight ω = 1
                                                            Instances For

                                                              The probability mass of a finite event.

                                                              Equations
                                                              Instances For
                                                                theorem QuantumParallelRepetition.FiniteEventLaw.eventMass_mono {Ω : Type u_1} [Fintype Ω] (law : FiniteEventLaw Ω) {s t : Finset Ω} (h : s ⊆ t) :
                                                                law.eventMass s ≤ law.eventMass t
                                                                def QuantumParallelRepetition.FiniteEventLaw.winEvent {Ω : Type u_1} {ι : Type u_2} [Fintype Ω] (wins : ι → Ω → Bool) (D : Finset ι) :

                                                                The event on which every selected coordinate wins.

                                                                Equations
                                                                Instances For
                                                                  theorem QuantumParallelRepetition.FiniteEventLaw.mem_winEvent_iff {Ω : Type u_1} {ι : Type u_2} [Fintype Ω] (wins : ι → Ω → Bool) (D : Finset ι) (ω : Ω) :
                                                                  ω ∈ winEvent wins D ↔ ∀ i ∈ D, wins i ω = true

                                                                  Membership in a finite-law win event is pointwise winning at every selected index.

                                                                  theorem QuantumParallelRepetition.FiniteEventLaw.winEvent_empty {Ω : Type u_1} {ι : Type u_2} [Fintype Ω] (wins : ι → Ω → Bool) :
                                                                  theorem QuantumParallelRepetition.FiniteEventLaw.winEvent_antitone {Ω : Type u_1} {ι : Type u_2} [Fintype Ω] (wins : ι → Ω → Bool) {D E : Finset ι} (h : D ⊆ E) :
                                                                  winEvent wins E ⊆ winEvent wins D
                                                                  theorem QuantumParallelRepetition.FiniteEventLaw.allWinMass_le_partial {Ω : Type u_1} {ι : Type u_2} [Fintype Ω] [Fintype ι] (law : FiniteEventLaw Ω) (wins : ι → Ω → Bool) (D : Finset ι) :
                                                                  def QuantumParallelRepetition.FiniteEventLaw.failureMass {Ω : Type u_1} {ι : Type u_2} [Fintype Ω] [DecidableEq ι] (law : FiniteEventLaw Ω) (wins : ι → Ω → Bool) (D : Finset ι) (i : ι) :

                                                                  The conditional mass of failure at a selected coordinate.

                                                                  Equations
                                                                  Instances For
                                                                    theorem QuantumParallelRepetition.FiniteEventLaw.exists_greedy_stopping {ι : Type u_2} [Fintype ι] [DecidableEq ι] (mass : Finset ι → ℝ) {θ η : ℝ} {T : ℕ} (hη_one : η ≤ 1) (hT : T ≤ Fintype.card ι) (hempty : mass ∅ = 1) (hfloor : ∀ (D : Finset ι), θ ≤ mass D) (h_terminal : (1 - η) ^ T < θ) :
                                                                    ∃ (D : Finset ι), D.card < T ∧ θ ≤ mass D ∧ ∑ i ∈ Finset.univ \ D, (mass D - mass (insert i D)) < ↑(Finset.univ \ D).card * (η * mass D)
                                                                    theorem QuantumParallelRepetition.FiniteEventLaw.exists_conditioned_win_set {Ω : Type u_1} {ι : Type u_2} [Fintype Ω] [Fintype ι] [DecidableEq ι] (law : FiniteEventLaw Ω) (wins : ι → Ω → Bool) {θ η : ℝ} {T : ℕ} (hη_one : η ≤ 1) (hT : T ≤ Fintype.card ι) (hwin : θ ≤ law.eventMass (winEvent wins Finset.univ)) (h_terminal : (1 - η) ^ T < θ) :
                                                                    ∃ (D : Finset ι), D.card < T ∧ θ ≤ law.eventMass (winEvent wins D) ∧ ∑ i ∈ Finset.univ \ D, law.failureMass wins D i < ↑(Finset.univ \ D).card * (η * law.eventMass (winEvent wins D))
                                                                    @[reducible, inline]
                                                                    abbrev QuantumParallelRepetition.StrategyOutcome (X : Type u_5) (Y : Type u_6) (A : Type u_7) (B : Type u_8) :
                                                                    Type (max u_5 (max u_8 u_7) u_6)

                                                                    The type used to represent strategy outcome in the exact sampling construction.

                                                                    Equations
                                                                    Instances For
                                                                      def QuantumParallelRepetition.strategyEventLaw {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (S : Strategy G) :

                                                                      The finite probability law for strategy event.

                                                                      Equations
                                                                      • One or more equations did not get rendered due to their size.
                                                                      Instances For
                                                                        def QuantumParallelRepetition.repeatedCoordinateWin {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (i : Fin n) (ω : StrategyOutcome (Fin n → X) (Fin n → Y) (Fin n → A) (Fin n → B)) :

                                                                        The repeated coordinate win construction used in the quantum parallel-repetition argument.

                                                                        Equations
                                                                        Instances For
                                                                          theorem QuantumParallelRepetition.repeatedStrategy_exists_greedy_conditioning {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) {θ η : ℝ} {T : ℕ} (hη_one : η ≤ 1) (hT : T ≤ n) (hwin : θ ≤ S.winProbability) (h_terminal : (1 - η) ^ T < θ) :
                                                                          theorem QuantumParallelRepetition.negMulLog_rescale {W p : ℝ} (hW : 0 < W) (hp : 0 < p) :
                                                                          W * (p / W).negMulLog = p * Real.log (W / p)
                                                                          theorem QuantumParallelRepetition.finite_weighted_entropy_le {ι : Type u_1} (s : Finset ι) (w h : ι → ℝ) {W p : ℝ} (hw : ∀ i ∈ s, 0 ≤ w i) (hh : ∀ i ∈ s, 0 ≤ h i) (hW : 0 < W) (hp : 0 < p) (hw_sum : ∑ i ∈ s, w i = W) (hp_sum : ∑ i ∈ s, w i * h i = p) :
                                                                          ∑ i ∈ s, w i * (h i).negMulLog ≤ p * Real.log (W / p)
                                                                          theorem QuantumParallelRepetition.finite_weighted_entropy_le_of_weight_bound {ι : Type u_1} (s : Finset ι) (w h : ι → ℝ) {W N p : ℝ} (hw : ∀ i ∈ s, 0 ≤ w i) (hh : ∀ i ∈ s, 0 ≤ h i) (hW : 0 < W) (hp : 0 < p) (hw_sum : ∑ i ∈ s, w i = W) (hp_sum : ∑ i ∈ s, w i * h i = p) (hWN : W ≤ N) :
                                                                          ∑ i ∈ s, w i * (h i).negMulLog ≤ p * Real.log (N / p)
                                                                          theorem QuantumParallelRepetition.noncommutative_resolvent_identity {R : Type u_1} [Ring R] (F M S RF RM : R) (hF : RF * (F + S) = 1) (hM : (M + S) * RM = 1) :
                                                                          RF - RM = RF * (M - F) * RM
                                                                          theorem QuantumParallelRepetition.noncommutative_filtered_resolvent_identity {R : Type u_1} [Ring R] (F M S RF RM : R) (hF_left : (F + S) * RF = 1) (hF_right : RF * (F + S) = 1) (hM_left : (M + S) * RM = 1) :
                                                                          F * RF - M * RM = S * (RF * (F - M) * RM)
                                                                          theorem QuantumParallelRepetition.noncommutative_resolvent_second_order {R : Type u_1} [Ring R] (F M S RF RM : R) (hF_left : (F + S) * RF = 1) (hF_right : RF * (F + S) = 1) (hM_left : (M + S) * RM = 1) (hM_right : RM * (M + S) = 1) :
                                                                          RF = RM - RM * (F - M) * RM + RM * (F - M) * RF * (F - M) * RM
                                                                          theorem QuantumParallelRepetition.noncommutative_weighted_resolvent_second_order {ι : Type u_1} {R : Type u_2} [Fintype ι] [Ring R] (weight F : ι → R) (M S : R) (RF : ι → R) (RM : R) (normalized : ∑ i : ι, weight i = 1) (centered : ∑ i : ι, weight i * (F i - M) = 0) (commute_mean : ∀ (i : ι), weight i * RM = RM * weight i) (hF_left : ∀ (i : ι), (F i + S) * RF i = 1) (hF_right : ∀ (i : ι), RF i * (F i + S) = 1) (hM_left : (M + S) * RM = 1) (hM_right : RM * (M + S) = 1) :
                                                                          ∑ i : ι, weight i * RF i - RM = (RM * ∑ i : ι, weight i * ((F i - M) * RF i * (F i - M))) * RM
                                                                          theorem QuantumParallelRepetition.shifted_posSemidef_matrix_posDef {d : Type u_1} [DecidableEq d] {F : Matrix d d ℂ} (hF : F.PosSemidef) {s : ℝ} (hs : 0 < s) :
                                                                          (F + s • 1).PosDef
                                                                          theorem QuantumParallelRepetition.matrix_weighted_centered {ι : Type u_1} {d : Type u_2} [Fintype ι] (weight : ι → ℝ) (F : ι → Matrix d d ℂ) (M : Matrix d d ℂ) (normalized : ∑ i : ι, weight i = 1) (mean : ∑ i : ι, weight i • F i = M) :
                                                                          ∑ i : ι, weight i • (F i - M) = 0
                                                                          theorem QuantumParallelRepetition.weighted_positive_matrix_mean {ι : Type u_1} {d : Type u_2} [Fintype ι] (weight : ι → ℝ) (F : ι → Matrix d d ℂ) (nonnegative : ∀ (i : ι), 0 ≤ weight i) (positive : ∀ (i : ι), (F i).PosSemidef) :
                                                                          (∑ i : ι, weight i • F i).PosSemidef

                                                                          The continuous linear map implementing spectral conjugation.

                                                                          Equations
                                                                          Instances For
                                                                            noncomputable def QuantumParallelRepetition.spectralPurificationFilter {d : Type u_1} [Fintype d] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) (s : ℝ) :

                                                                            The spectral filter for spectral purification.

                                                                            Equations
                                                                            • One or more equations did not get rendered due to their size.
                                                                            Instances For
                                                                              def QuantumParallelRepetition.bornTracePairing {dA : Type u_1} {dB : Type u_2} [Fintype dA] [Fintype dB] (ρ : Matrix (dA × dB) (dA × dB) ℂ) :

                                                                              The born trace pairing construction used in the quantum parallel-repetition argument.

                                                                              Equations
                                                                              • One or more equations did not get rendered due to their size.
                                                                              Instances For
                                                                                theorem QuantumParallelRepetition.Game.questionWeight_le_marginalX {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (x : X) (y : Y) :
                                                                                theorem QuantumParallelRepetition.Game.questionWeight_le_marginalY {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (x : X) (y : Y) :
                                                                                noncomputable def QuantumParallelRepetition.Game.conditionalYGivenX {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (x : X) (y : Y) :

                                                                                The conditional y given x construction used in the quantum parallel-repetition argument.

                                                                                Equations
                                                                                Instances For
                                                                                  noncomputable def QuantumParallelRepetition.Game.conditionalXGivenY {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (y : Y) (x : X) :

                                                                                  The conditional x given y construction used in the quantum parallel-repetition argument.

                                                                                  Equations
                                                                                  Instances For
                                                                                    theorem QuantumParallelRepetition.Game.conditionalYGivenX_nonneg {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (x : X) (y : Y) :
                                                                                    theorem QuantumParallelRepetition.Game.conditionalXGivenY_nonneg {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (y : Y) (x : X) :
                                                                                    theorem QuantumParallelRepetition.Game.marginalX_mul_conditionalYGivenX {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (x : X) (y : Y) :
                                                                                    theorem QuantumParallelRepetition.Game.marginalY_mul_conditionalXGivenY {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (x : X) (y : Y) :
                                                                                    theorem QuantumParallelRepetition.Game.conditionalYGivenX_sum {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (x : X) (hx : 0 < G.marginalX x) :
                                                                                    ∑ y : Y, G.conditionalYGivenX x y = 1
                                                                                    theorem QuantumParallelRepetition.Game.conditionalXGivenY_sum {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (y : Y) (hy : 0 < G.marginalY y) :
                                                                                    ∑ x : X, G.conditionalXGivenY y x = 1
                                                                                    noncomputable def QuantumParallelRepetition.conditionalBobAverage {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {V : Type u_6} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [AddCommGroup V] [Module ℝ V] (G : Game X Y A B) (K : Y → V) (x : X) :
                                                                                    V

                                                                                    The finite average of conditional bob.

                                                                                    Equations
                                                                                    Instances For
                                                                                      noncomputable def QuantumParallelRepetition.conditionalAliceAverage {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {U : Type u_5} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [AddCommGroup U] [Module ℝ U] (G : Game X Y A B) (H : X → U) (y : Y) :
                                                                                      U

                                                                                      The finite average of conditional alice.

                                                                                      Equations
                                                                                      Instances For
                                                                                        theorem QuantumParallelRepetition.alice_mixed_history_pairing {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {U : Type u_5} {V : Type u_6} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [AddCommGroup U] [Module ℝ U] [AddCommGroup V] [Module ℝ V] (G : Game X Y A B) (pair : U →ₗ[ℝ] V →ₗ[ℝ] ℝ) (H : X → U) (K : Y → V) :
                                                                                        ∑ x : X, G.marginalX x * (pair (H x)) (conditionalBobAverage G K x) = ∑ x : X, ∑ y : Y, G.questionWeight x y * (pair (H x)) (K y)
                                                                                        theorem QuantumParallelRepetition.bob_mixed_history_pairing {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {U : Type u_5} {V : Type u_6} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [AddCommGroup U] [Module ℝ U] [AddCommGroup V] [Module ℝ V] (G : Game X Y A B) (pair : U →ₗ[ℝ] V →ₗ[ℝ] ℝ) (H : X → U) (K : Y → V) :
                                                                                        ∑ y : Y, G.marginalY y * (pair (conditionalAliceAverage G H y)) (K y) = ∑ x : X, ∑ y : Y, G.questionWeight x y * (pair (H x)) (K y)
                                                                                        theorem QuantumParallelRepetition.alice_reveal_increment {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} {U : Type u_5} {V : Type u_6} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [AddCommGroup U] [Module ℝ U] [AddCommGroup V] [Module ℝ V] (G : Game X Y A B) (pair : U →ₗ[ℝ] V →ₗ[ℝ] ℝ) (H : X → U) (M : Y → U) (K : Y → V) (f : U → U) :
                                                                                        ∑ x : X, G.marginalX x * (pair (f (H x))) (conditionalBobAverage G K x) - ∑ y : Y, G.marginalY y * (pair (f (M y))) (K y) = ∑ y : Y, G.marginalY y * (pair (conditionalAliceAverage G (fun (x : X) => f (H x)) y - f (M y))) (K y)
                                                                                        noncomputable def QuantumParallelRepetition.conditionedAliceEffect {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (α : ↥D → A) (xs : Fin n → X) :

                                                                                        The measurement effect for conditioned alice.

                                                                                        Equations
                                                                                        Instances For
                                                                                          noncomputable def QuantumParallelRepetition.conditionedBobEffect {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (β : ↥D → B) (ys : Fin n → Y) :

                                                                                          The measurement effect for conditioned bob.

                                                                                          Equations
                                                                                          Instances For
                                                                                            theorem QuantumParallelRepetition.conditionedAliceEffect_positive {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (α : ↥D → A) (xs : Fin n → X) :
                                                                                            theorem QuantumParallelRepetition.conditionedBobEffect_positive {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (β : ↥D → B) (ys : Fin n → Y) :
                                                                                            theorem QuantumParallelRepetition.conditionedAliceEffect_complement_positive {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (α : ↥D → A) (xs : Fin n → X) :
                                                                                            theorem QuantumParallelRepetition.conditionedBobEffect_complement_positive {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (β : ↥D → B) (ys : Fin n → Y) :
                                                                                            theorem QuantumParallelRepetition.history_forward_telescope (E : ℕ → ℝ) (m : ℕ) :
                                                                                            ∑ k ∈ Finset.range m, (E (k + 1) - E k) = E m - E 0
                                                                                            noncomputable def QuantumParallelRepetition.spectralSupportFunctional {d : Type u_1} [Fintype d] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) (f : ℝ → ℝ) :

                                                                                            The spectral support functional construction used in the quantum parallel-repetition argument.

                                                                                            Equations
                                                                                            Instances For
                                                                                              theorem QuantumParallelRepetition.spectralSupportFunctional_congr {d : Type u_1} [Fintype d] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) {f g : ℝ → ℝ} (h : ∀ (i : d), f (⋯.eigenvalues i) = g (⋯.eigenvalues i)) :
                                                                                              noncomputable def QuantumParallelRepetition.spectralSupportInverse {d : Type u_1} [Fintype d] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) :

                                                                                              Apply reciprocal eigenvalues to a positive matrix, with zero on its kernel.

                                                                                              Equations
                                                                                              Instances For
                                                                                                noncomputable def QuantumParallelRepetition.spectralSupportSqrt {d : Type u_1} [Fintype d] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) :

                                                                                                The positive square-root construction for spectral support.

                                                                                                Equations
                                                                                                Instances For
                                                                                                  theorem QuantumParallelRepetition.posSemidef_kernel_of_sub_posSemidef {d : Type u_1} [Fintype d] {F A : Matrix d d ℂ} (hA : A.PosSemidef) (hsub : (F - A).PosSemidef) {x : d → ℂ} (hx : F.mulVec x = 0) :
                                                                                                  A.mulVec x = 0
                                                                                                  theorem QuantumParallelRepetition.refinement_complement_posSemidef {ι : Type u_1} {d : Type u_2} [Fintype ι] (effect : ι → Matrix d d ℂ) (hpositive : ∀ (a : ι), (effect a).PosSemidef) (a : ι) :
                                                                                                  (∑ b : ι, effect b - effect a).PosSemidef
                                                                                                  noncomputable def QuantumParallelRepetition.purificationRangeProjection {d : Type u_1} {e : Type u_2} [Fintype d] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) (Γ : Matrix e d ℂ) :

                                                                                                  The matrix Γ F⁻¹ Γᴴ formed using the inverse on the support of F.

                                                                                                  Equations
                                                                                                  Instances For
                                                                                                    noncomputable def QuantumParallelRepetition.purifiedRefinementCore {ι : Type u_1} {d : Type u_2} {e : Type u_3} [Fintype d] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) (Γ : Matrix e d ℂ) (effect : ι → Matrix d d ℂ) (a : ι) :

                                                                                                    Transport an effect through the purification map and the support inverse.

                                                                                                    Equations
                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                    Instances For
                                                                                                      noncomputable def QuantumParallelRepetition.purifiedRefinedEffect {ι : Type u_1} {d : Type u_2} {e : Type u_3} [DecidableEq ι] [Fintype d] [DecidableEq d] [DecidableEq e] (F : Matrix d d ℂ) (hF : F.PosSemidef) (Γ : Matrix e d ℂ) (effect : ι → Matrix d d ℂ) (a₀ a : ι) :

                                                                                                      Complete the transported effects by assigning the unused range to outcome a₀.

                                                                                                      Equations
                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                      Instances For
                                                                                                        theorem QuantumParallelRepetition.purifiedRefinedEffect_posSemidef {ι : Type u_1} {d : Type u_2} {e : Type u_3} [DecidableEq ι] [Fintype d] [DecidableEq d] [Fintype e] [DecidableEq e] (F : Matrix d d ℂ) (hF : F.PosSemidef) (Γ : Matrix e d ℂ) (hΓ : Γ.conjTranspose * Γ = F) (effect : ι → Matrix d d ℂ) (hpositive : ∀ (a : ι), (effect a).PosSemidef) (a₀ a : ι) :
                                                                                                        (purifiedRefinedEffect F hF Γ effect a₀ a).PosSemidef
                                                                                                        theorem QuantumParallelRepetition.purifiedRefinedEffect_complete {ι : Type u_1} {d : Type u_2} {e : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype d] [DecidableEq d] [DecidableEq e] (F : Matrix d d ℂ) (hF : F.PosSemidef) (Γ : Matrix e d ℂ) (effect : ι → Matrix d d ℂ) (hsum : ∑ a : ι, effect a = F) (a₀ : ι) :
                                                                                                        ∑ a : ι, purifiedRefinedEffect F hF Γ effect a₀ a = 1
                                                                                                        noncomputable def QuantumParallelRepetition.purifiedRefinedPOVM {ι : Type u_1} {d : Type u_2} {e : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype d] [DecidableEq d] [Fintype e] [DecidableEq e] (F : Matrix d d ℂ) (hF : F.PosSemidef) (Γ : Matrix e d ℂ) (hΓ : Γ.conjTranspose * Γ = F) (effect : ι → Matrix d d ℂ) (hpositive : ∀ (a : ι), (effect a).PosSemidef) (hsum : ∑ a : ι, effect a = F) (a₀ : ι) :
                                                                                                        POVM ι e

                                                                                                        The positive operator-valued measurement implementing purified refined.

                                                                                                        Equations
                                                                                                        Instances For
                                                                                                          theorem QuantumParallelRepetition.purifiedRefinedPOVM_compression {ι : Type u_1} {d : Type u_2} {e : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype d] [DecidableEq d] [Fintype e] [DecidableEq e] (F : Matrix d d ℂ) (hF : F.PosSemidef) (Γ : Matrix e d ℂ) (hΓ : Γ.conjTranspose * Γ = F) (effect : ι → Matrix d d ℂ) (hpositive : ∀ (a : ι), (effect a).PosSemidef) (hsum : ∑ a : ι, effect a = F) (a₀ a : ι) :
                                                                                                          Γ.conjTranspose * (purifiedRefinedPOVM F hF Γ hΓ effect hpositive hsum a₀).effect a * Γ = effect a

                                                                                                          The set of coordinates remaining after full history.

                                                                                                          Equations
                                                                                                          Instances For
                                                                                                            structure QuantumParallelRepetition.FullSubsetHistory (X : Type u_1) (Y : Type u_2) (n : ℕ) (D L : Finset (Fin n)) :
                                                                                                            Type (max u_1 u_2)

                                                                                                            A partial transcript split into conditioned, revealed, and remaining coordinates.

                                                                                                            • aliceConditioned : ↥D → X

                                                                                                              Alice's questions on conditioned coordinates.

                                                                                                            • bobConditioned : ↥D → Y

                                                                                                              Bob's questions on conditioned coordinates.

                                                                                                            • aliceRevealed : ↥L → X

                                                                                                              Alice's questions on revealed coordinates.

                                                                                                            • bobRemaining : ↥(fullHistoryRemaining n D L) → Y

                                                                                                              Bob's questions on the remaining coordinates.

                                                                                                            Instances For
                                                                                                              theorem QuantumParallelRepetition.FullSubsetHistory.ext {X : Type u_1} {Y : Type u_2} {n : ℕ} {D L : Finset (Fin n)} {x y : FullSubsetHistory X Y n D L} (aliceConditioned : x.aliceConditioned = y.aliceConditioned) (bobConditioned : x.bobConditioned = y.bobConditioned) (aliceRevealed : x.aliceRevealed = y.aliceRevealed) (bobRemaining : x.bobRemaining = y.bobRemaining) :
                                                                                                              x = y
                                                                                                              @[instance_reducible]
                                                                                                              instance QuantumParallelRepetition.instFintypeFullSubsetHistory {X✝ : Type u_1} {Y✝ : Type u_2} {n✝ : ℕ} {D✝ L✝ : Finset (Fin n✝)} [Fintype X✝] [Fintype Y✝] :
                                                                                                              Fintype (FullSubsetHistory X✝ Y✝ n✝ D✝ L✝)
                                                                                                              Equations
                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                              def QuantumParallelRepetition.fullHistoryAliceQuestion {X : Type u_1} {Y : Type u_2} {n : ℕ} {D L : Finset (Fin n)} (h : FullSubsetHistory X Y n D L) (hidden : ↥(fullHistoryRemaining n D L) → X) :
                                                                                                              Fin n → X

                                                                                                              The full history alice question construction used in the quantum parallel-repetition argument.

                                                                                                              Equations
                                                                                                              Instances For
                                                                                                                def QuantumParallelRepetition.fullHistoryBobQuestion {X : Type u_1} {Y : Type u_2} {n : ℕ} {D L : Finset (Fin n)} (h : FullSubsetHistory X Y n D L) (hidden : ↥L → Y) :
                                                                                                                Fin n → Y

                                                                                                                The full history bob question construction used in the quantum parallel-repetition argument.

                                                                                                                Equations
                                                                                                                Instances For
                                                                                                                  def QuantumParallelRepetition.fullHistoryWeight {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) {n : ℕ} {D L : Finset (Fin n)} (h : FullSubsetHistory X Y n D L) :

                                                                                                                  The probability weight for full history.

                                                                                                                  Equations
                                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                                  Instances For
                                                                                                                    noncomputable def QuantumParallelRepetition.fullHistoryHiddenAliceWeight {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) {n : ℕ} {D L : Finset (Fin n)} (h : FullSubsetHistory X Y n D L) (hidden : ↥(fullHistoryRemaining n D L) → X) :

                                                                                                                    The probability weight for full history hidden alice.

                                                                                                                    Equations
                                                                                                                    Instances For
                                                                                                                      noncomputable def QuantumParallelRepetition.fullHistoryHiddenBobWeight {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) {n : ℕ} {D L : Finset (Fin n)} (h : FullSubsetHistory X Y n D L) (hidden : ↥L → Y) :

                                                                                                                      The probability weight for full history hidden bob.

                                                                                                                      Equations
                                                                                                                      Instances For
                                                                                                                        theorem QuantumParallelRepetition.fullHistoryWeight_nonneg {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) {n : ℕ} {D L : Finset (Fin n)} (h : FullSubsetHistory X Y n D L) :
                                                                                                                        theorem QuantumParallelRepetition.fullHistoryHiddenAliceWeight_nonneg {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) {n : ℕ} {D L : Finset (Fin n)} (h : FullSubsetHistory X Y n D L) (hidden : ↥(fullHistoryRemaining n D L) → X) :
                                                                                                                        theorem QuantumParallelRepetition.fullHistoryHiddenBobWeight_nonneg {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) {n : ℕ} {D L : Finset (Fin n)} (h : FullSubsetHistory X Y n D L) (hidden : ↥L → Y) :
                                                                                                                        theorem QuantumParallelRepetition.fullHistoryWeight_mul_hidden {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) {n : ℕ} (D L : Finset (Fin n)) (hL : L ⊆ Finset.univ \ D) (h : FullSubsetHistory X Y n D L) (hx : ↥(fullHistoryRemaining n D L) → X) (hy : ↥L → Y) :
                                                                                                                        noncomputable def QuantumParallelRepetition.fullHistoryAliceFilter {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D L : Finset (Fin n)) (h : FullSubsetHistory X Y n D L) (α : ↥D → A) :

                                                                                                                        The spectral filter for full history alice.

                                                                                                                        Equations
                                                                                                                        • One or more equations did not get rendered due to their size.
                                                                                                                        Instances For
                                                                                                                          noncomputable def QuantumParallelRepetition.fullHistoryBobFilter {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D L : Finset (Fin n)) (h : FullSubsetHistory X Y n D L) (β : ↥D → B) :

                                                                                                                          The spectral filter for full history bob.

                                                                                                                          Equations
                                                                                                                          • One or more equations did not get rendered due to their size.
                                                                                                                          Instances For
                                                                                                                            theorem QuantumParallelRepetition.fullHistoryAliceFilter_posSemidef {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D L : Finset (Fin n)) (h : FullSubsetHistory X Y n D L) (α : ↥D → A) :
                                                                                                                            theorem QuantumParallelRepetition.fullHistoryBobFilter_posSemidef {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D L : Finset (Fin n)) (h : FullSubsetHistory X Y n D L) (β : ↥D → B) :
                                                                                                                            def QuantumParallelRepetition.fullHistoryWinIndicator {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) {n : ℕ} {D L : Finset (Fin n)} (h : FullSubsetHistory X Y n D L) (α : ↥D → A) (β : ↥D → B) :

                                                                                                                            The indicator function for full history win.

                                                                                                                            Equations
                                                                                                                            Instances For
                                                                                                                              theorem QuantumParallelRepetition.fullHistoryWinIndicator_nonneg {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) {n : ℕ} {D L : Finset (Fin n)} (h : FullSubsetHistory X Y n D L) (α : ↥D → A) (β : ↥D → B) :
                                                                                                                              theorem QuantumParallelRepetition.conditionedAnswerMatches_iff {T : Type u_5} {n : ℕ} (D : Finset (Fin n)) (answer : Fin n → T) (α : ↥D → T) :
                                                                                                                              (∀ (i : Fin n) (hi : i ∈ D), answer i = α ⟨i, hi⟩) ↔ α = fun (i : ↥D) => answer ↑i
                                                                                                                              theorem QuantumParallelRepetition.conditionedEffects_born_expansion {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (α : ↥D → A) (β : ↥D → B) (xs : Fin n → X) (ys : Fin n → Y) :
                                                                                                                              ((bornTracePairing S.state.matrix) (conditionedAliceEffect G n S D α xs)) (conditionedBobEffect G n S D β ys) = ∑ aa : Fin n → A, ∑ bb : Fin n → B, if ∀ (i : Fin n) (hi : i ∈ D), aa i = α ⟨i, hi⟩ then if ∀ (i : Fin n) (hi : i ∈ D), bb i = β ⟨i, hi⟩ then S.outcomeProbability xs ys aa bb else 0 else 0
                                                                                                                              theorem QuantumParallelRepetition.finite_sum_four_swap {I : Type u_5} {J : Type u_6} {K : Type u_7} {T : Type u_8} [Fintype I] [Fintype J] [Fintype K] [Fintype T] (f : I → J → K → T → ℝ) :
                                                                                                                              ∑ i : I, ∑ j : J, ∑ k : K, ∑ t : T, f i j k t = ∑ k : K, ∑ t : T, ∑ i : I, ∑ j : J, f i j k t
                                                                                                                              theorem QuantumParallelRepetition.repeated_partialWinMass_expansion {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) :
                                                                                                                              (strategyEventLaw (G.repeat n) S).eventMass (FiniteEventLaw.winEvent (repeatedCoordinateWin G n) D) = ∑ xs : Fin n → X, ∑ ys : Fin n → Y, ∑ aa : Fin n → A, ∑ bb : Fin n → B, (G.repeat n).questionWeight xs ys * if ∀ (i : ↥D), G.predicate (xs ↑i) (ys ↑i) (aa ↑i) (bb ↑i) = true then S.outcomeProbability xs ys aa bb else 0
                                                                                                                              theorem QuantumParallelRepetition.fullHistoryFilters_born_expansion {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D L : Finset (Fin n)) (h : FullSubsetHistory X Y n D L) (α : ↥D → A) (β : ↥D → B) :
                                                                                                                              theorem QuantumParallelRepetition.fullSubsetHistory_mass_eq_postselection {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D L : Finset (Fin n)) (hL : L ⊆ Finset.univ \ D) :
                                                                                                                              ∑ h : FullSubsetHistory X Y n D L, ∑ α : ↥D → A, ∑ β : ↥D → B, fullHistoryWeight G h * fullHistoryWinIndicator G h α β * ((bornTracePairing S.state.matrix) (fullHistoryAliceFilter G n S D L h α)) (fullHistoryBobFilter G n S D L h β) = (strategyEventLaw (G.repeat n) S).eventMass (FiniteEventLaw.winEvent (repeatedCoordinateWin G n) D)
                                                                                                                              theorem QuantumParallelRepetition.bochner_integral_posSemidef {α : Type u_1} {d : Type u_2} [MeasurableSpace α] [Fintype d] {μ : MeasureTheory.Measure α} {f : α → Matrix d d ℂ} (hf : MeasureTheory.Integrable f μ) (hpos : ∀ᵐ (t : α) ∂μ, (f t).PosSemidef) :
                                                                                                                              (∫ (t : α), f t ∂μ).PosSemidef
                                                                                                                              theorem QuantumParallelRepetition.shifted_inverse_square_contraction {d : Type u_1} [Fintype d] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) {s : ℝ} (hs : 0 < s) :
                                                                                                                              (s • (F + s • 1)⁻¹ - s ^ 2 • ((F + s • 1)⁻¹ * (F + s • 1)⁻¹)).PosSemidef
                                                                                                                              theorem QuantumParallelRepetition.spectralPurificationFilter_sub_gram {d : Type u_1} [Fintype d] [DecidableEq d] (F M : Matrix d d ℂ) (hF : F.PosSemidef) (hM : M.PosSemidef) {s : ℝ} (hs : 0 < s) :
                                                                                                                              star (spectralPurificationFilter F hF s - spectralPurificationFilter M hM s) * (spectralPurificationFilter F hF s - spectralPurificationFilter M hM s) = s ^ 2 • ((M + s • 1)⁻¹ * (F - M) * ((F + s • 1)⁻¹ * (F + s • 1)⁻¹) * (F - M) * (M + s • 1)⁻¹)
                                                                                                                              theorem QuantumParallelRepetition.weighted_shifted_inverse_second_order {ι : Type u_1} {d : Type u_2} [Fintype ι] [Fintype d] [DecidableEq d] (weight : ι → ℝ) (F : ι → Matrix d d ℂ) (M : Matrix d d ℂ) (normalized : ∑ i : ι, weight i = 1) (mean : ∑ i : ι, weight i • F i = M) (positive : ∀ (i : ι), (F i).PosSemidef) (hM : M.PosSemidef) {s : ℝ} (hs : 0 < s) :
                                                                                                                              ∑ i : ι, weight i • (F i + s • 1)⁻¹ - (M + s • 1)⁻¹ = ((M + s • 1)⁻¹ * ∑ i : ι, weight i • ((F i - M) * (F i + s • 1)⁻¹ * (F i - M))) * (M + s • 1)⁻¹
                                                                                                                              theorem QuantumParallelRepetition.weighted_spectralPurificationFilter_variance_le_inverse_jensen {ι : Type u_1} {d : Type u_2} [Fintype ι] [Fintype d] [DecidableEq d] (weight : ι → ℝ) (F : ι → Matrix d d ℂ) (M : Matrix d d ℂ) (nonnegative : ∀ (i : ι), 0 ≤ weight i) (normalized : ∑ i : ι, weight i = 1) (mean : ∑ i : ι, weight i • F i = M) (positive : ∀ (i : ι), (F i).PosSemidef) {s : ℝ} (hs : 0 < s) :
                                                                                                                              have hM := ⋯; (s • (∑ i : ι, weight i • (F i + s • 1)⁻¹ - (M + s • 1)⁻¹) - ∑ i : ι, weight i • (star (spectralPurificationFilter (F i) ⋯ s - spectralPurificationFilter M hM s) * (spectralPurificationFilter (F i) ⋯ s - spectralPurificationFilter M hM s))).PosSemidef
                                                                                                                              theorem QuantumParallelRepetition.matrix_memLp_two_mul_integrable {α : Type u_1} {d : Type u_2} [MeasurableSpace α] [Fintype d] {μ : MeasureTheory.Measure α} {f g : α → Matrix d d ℂ} (hf : MeasureTheory.MemLp f 2 μ) (hg : MeasureTheory.MemLp g 2 μ) :
                                                                                                                              MeasureTheory.Integrable (fun (t : α) => f t * g t) μ
                                                                                                                              noncomputable def QuantumParallelRepetition.weightedSpectralFilterVariance {ι : Type u_1} {d : Type u_2} [Fintype ι] [Fintype d] [DecidableEq d] (weight : ι → ℝ) (F : ι → Matrix d d ℂ) (M : Matrix d d ℂ) (positive : ∀ (i : ι), (F i).PosSemidef) (hM : M.PosSemidef) (s : ℝ) :

                                                                                                                              The weighted spectral filter variance construction used in the quantum parallel-repetition argument.

                                                                                                                              Equations
                                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                                              Instances For
                                                                                                                                theorem QuantumParallelRepetition.weightedSpectralFilterVariance_integrable {ι : Type u_1} {d : Type u_2} [Fintype ι] [Fintype d] [DecidableEq d] (weight : ι → ℝ) (F : ι → Matrix d d ℂ) (M : Matrix d d ℂ) (positive : ∀ (i : ι), (F i).PosSemidef) (hM : M.PosSemidef) :
                                                                                                                                theorem QuantumParallelRepetition.scalar_entropy_resolvent_integral {z : ℝ} (hz : 0 ≤ z) :
                                                                                                                                ∫ (s : ℝ) in Set.Ioi 0, z / (1 + s) - z / (z + s) = z * Real.log z
                                                                                                                                theorem QuantumParallelRepetition.exact_matrix_log_entropy_filter_jensen {ι : Type u_1} {d : Type u_2} [Fintype ι] [Fintype d] [DecidableEq d] (weight : ι → ℝ) (F : ι → Matrix d d ℂ) (M : Matrix d d ℂ) (nonnegative : ∀ (i : ι), 0 ≤ weight i) (normalized : ∑ i : ι, weight i = 1) (mean : ∑ i : ι, weight i • F i = M) (positive : ∀ (i : ι), (F i).PosSemidef) :
                                                                                                                                have hM := ⋯; (∑ i : ι, weight i • cfc (fun (z : ℝ) => z * Real.log z) (F i) - cfc (fun (z : ℝ) => z * Real.log z) M - ∫ (s : ℝ) in Set.Ioi 0, weightedSpectralFilterVariance weight F M positive hM s).PosSemidef
                                                                                                                                theorem QuantumParallelRepetition.Game.conditionalYGivenX_sum_le_one {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (x : X) :
                                                                                                                                ∑ y : Y, G.conditionalYGivenX x y ≤ 1
                                                                                                                                theorem QuantumParallelRepetition.Game.conditionalXGivenY_sum_le_one {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (y : Y) :
                                                                                                                                ∑ x : X, G.conditionalXGivenY y x ≤ 1
                                                                                                                                theorem QuantumParallelRepetition.fullHistoryHiddenAliceWeight_sum_le_one {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) {n : ℕ} {D L : Finset (Fin n)} (h : FullSubsetHistory X Y n D L) :
                                                                                                                                ∑ hidden : ↥(fullHistoryRemaining n D L) → X, fullHistoryHiddenAliceWeight G h hidden ≤ 1
                                                                                                                                theorem QuantumParallelRepetition.fullHistoryHiddenBobWeight_sum_le_one {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) {n : ℕ} {D L : Finset (Fin n)} (h : FullSubsetHistory X Y n D L) :
                                                                                                                                ∑ hidden : ↥L → Y, fullHistoryHiddenBobWeight G h hidden ≤ 1
                                                                                                                                theorem QuantumParallelRepetition.fullHistoryAliceFilter_complement_posSemidef {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D L : Finset (Fin n)) (h : FullSubsetHistory X Y n D L) (α : ↥D → A) :
                                                                                                                                theorem QuantumParallelRepetition.fullHistoryBobFilter_complement_posSemidef {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D L : Finset (Fin n)) (h : FullSubsetHistory X Y n D L) (β : ↥D → B) :
                                                                                                                                (1 - fullHistoryBobFilter G n S D L h β).PosSemidef
                                                                                                                                theorem QuantumParallelRepetition.matrixLogEntropy_nonpos_of_contraction {d : Type u_5} [Fintype d] [DecidableEq d] {F : Matrix d d ℂ} (hF : F.PosSemidef) (hcomplement : (1 - F).PosSemidef) :
                                                                                                                                (-cfc (fun (z : ℝ) => z * Real.log z) F).PosSemidef
                                                                                                                                theorem QuantumParallelRepetition.matrixLogEntropy_born_nonpos_left {dA : Type u_5} {dB : Type u_6} [Fintype dA] [Fintype dB] [DecidableEq dA] (ρ : DensityMatrix (dA × dB)) (F : Matrix dA dA ℂ) (G : Matrix dB dB ℂ) (hF : F.PosSemidef) (hFcomplement : (1 - F).PosSemidef) (hG : G.PosSemidef) :
                                                                                                                                ((bornTracePairing ρ.matrix) (cfc (fun (z : ℝ) => z * Real.log z) F)) G ≤ 0
                                                                                                                                theorem QuantumParallelRepetition.matrixLogEntropy_born_nonpos_right {dA : Type u_5} {dB : Type u_6} [Fintype dA] [Fintype dB] [DecidableEq dB] (ρ : DensityMatrix (dA × dB)) (F : Matrix dA dA ℂ) (G : Matrix dB dB ℂ) (hF : F.PosSemidef) (hG : G.PosSemidef) (hGcomplement : (1 - G).PosSemidef) :
                                                                                                                                ((bornTracePairing ρ.matrix) F) (cfc (fun (z : ℝ) => z * Real.log z) G) ≤ 0
                                                                                                                                noncomputable def QuantumParallelRepetition.fullHistoryAliceEntropyPotential {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D L : Finset (Fin n)) :

                                                                                                                                The potential function controlling full history alice entropy.

                                                                                                                                Equations
                                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                                Instances For
                                                                                                                                  theorem QuantumParallelRepetition.fullHistoryAliceEntropyPotential_nonpos {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D L : Finset (Fin n)) :
                                                                                                                                  noncomputable def QuantumParallelRepetition.positiveMatrixSpectralAtom {d : Type u_1} [Fintype d] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) (i : d) :

                                                                                                                                  The finite atom representing positive matrix spectral.

                                                                                                                                  Equations
                                                                                                                                  Instances For
                                                                                                                                    theorem QuantumParallelRepetition.bornTracePairing_one_le_one {dA : Type u_1} {dB : Type u_2} [Fintype dA] [Fintype dB] [DecidableEq dA] [DecidableEq dB] (ρ : DensityMatrix (dA × dB)) (G : Matrix dB dB ℂ) (hGcomplement : (1 - G).PosSemidef) :
                                                                                                                                    theorem QuantumParallelRepetition.positiveContraction_eigenvalue_le_one {d : Type u_1} [Fintype d] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) (hcomplement : (1 - F).PosSemidef) (i : d) :
                                                                                                                                    theorem QuantumParallelRepetition.matrixLogEntropy_born_lower_bound_left {dA : Type u_1} {dB : Type u_2} [Fintype dA] [Fintype dB] [DecidableEq dA] [DecidableEq dB] (ρ : DensityMatrix (dA × dB)) (F : Matrix dA dA ℂ) (hF : F.PosSemidef) (hFcomplement : (1 - F).PosSemidef) (G : Matrix dB dB ℂ) (hG : G.PosSemidef) (hGcomplement : (1 - G).PosSemidef) :
                                                                                                                                    -((bornTracePairing ρ.matrix) (cfc (fun (z : ℝ) => z * Real.log z) F)) G ≤ (((bornTracePairing ρ.matrix) F) G).negMulLog

                                                                                                                                    The quantum state representing raw embezzlement.

                                                                                                                                    Equations
                                                                                                                                    Instances For

                                                                                                                                      The harmonic number construction used in the quantum parallel-repetition argument.

                                                                                                                                      Equations
                                                                                                                                      Instances For
                                                                                                                                        @[reducible, inline]

                                                                                                                                        The type used to represent bipartite unit vector in the exact sampling construction.

                                                                                                                                        Equations
                                                                                                                                        Instances For
                                                                                                                                          noncomputable def QuantumParallelRepetition.spectralAtomOverlap {d : Type u_1} [Fintype d] [DecidableEq d] (F G : Matrix d d ℂ) (hF : F.PosSemidef) (hG : G.PosSemidef) (i j : d) :

                                                                                                                                          The overlap quantity for spectral atom.

                                                                                                                                          Equations
                                                                                                                                          • One or more equations did not get rendered due to their size.
                                                                                                                                          Instances For
                                                                                                                                            theorem QuantumParallelRepetition.spectralAtomOverlap_nonneg {d : Type u_1} [Fintype d] [DecidableEq d] (F G : Matrix d d ℂ) (hF : F.PosSemidef) (hG : G.PosSemidef) (i j : d) :
                                                                                                                                            0 ≤ spectralAtomOverlap F G hF hG i j
                                                                                                                                            theorem QuantumParallelRepetition.spectralAtomSum_mul_self {d : Type u_1} [Fintype d] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) (s : Finset d) :
                                                                                                                                            (∑ i ∈ s, positiveMatrixSpectralAtom F hF i) * ∑ i ∈ s, positiveMatrixSpectralAtom F hF i = ∑ i ∈ s, positiveMatrixSpectralAtom F hF i

                                                                                                                                            The finite outcome encoding for coherent binary joint.

                                                                                                                                            Equations
                                                                                                                                            Instances For
                                                                                                                                              theorem QuantumParallelRepetition.coherentBinaryJointOutcome_norm_sq {d : Type u_1} {e : Type u_2} [Fintype d] [Fintype e] [DecidableEq d] [DecidableEq e] (P : POVM Bool d) (Q : POVM Bool e) (hP : ∀ (c : Bool), P.effect c * P.effect c = P.effect c) (hQ : ∀ (c : Bool), Q.effect c * Q.effect c = Q.effect c) (z : EuclideanSpace ℂ (d × e)) (hz : ‖z‖ = 1) (a b : Bool) :
                                                                                                                                              ‖coherentBinaryJointOutcome P Q z a b‖ ^ 2 = ((pureDensityMatrix z hz).matrix * Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (P.effect a) (Q.effect b)).trace.re
                                                                                                                                              def QuantumParallelRepetition.finiteTensorVector {ι : Type u_1} {d : Type u_2} [Fintype ι] (v : ι → EuclideanSpace ℂ d) :
                                                                                                                                              EuclideanSpace ℂ (ι → d)

                                                                                                                                              The state vector representing finite tensor.

                                                                                                                                              Equations
                                                                                                                                              Instances For
                                                                                                                                                theorem QuantumParallelRepetition.finiteTensorVector_norm {ι : Type u_1} {d : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype d] (v : ι → EuclideanSpace ℂ d) (hv : ∀ (i : ι), ‖v i‖ = 1) :
                                                                                                                                                theorem QuantumParallelRepetition.spectralAtomOverlap_sum_right {d : Type u_1} [Fintype d] [DecidableEq d] (F G : Matrix d d ℂ) (hF : F.PosSemidef) (hG : G.PosSemidef) (i : d) :
                                                                                                                                                ∑ j : d, spectralAtomOverlap F G hF hG i j = 1
                                                                                                                                                theorem QuantumParallelRepetition.spectralAtomOverlap_sum_left {d : Type u_1} [Fintype d] [DecidableEq d] (F G : Matrix d d ℂ) (hF : F.PosSemidef) (hG : G.PosSemidef) (j : d) :
                                                                                                                                                ∑ i : d, spectralAtomOverlap F G hF hG i j = 1
                                                                                                                                                theorem QuantumParallelRepetition.positiveDensity_eigenvalues_sum {d : Type u_1} [Fintype d] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) (htrace : F.trace = 1) :
                                                                                                                                                ∑ i : d, ⋯.eigenvalues i = 1
                                                                                                                                                theorem QuantumParallelRepetition.spectralAtomOverlap_schmidtMass_le_one {d : Type u_1} [Fintype d] [DecidableEq d] (F G : Matrix d d ℂ) (hF : F.PosSemidef) (hG : G.PosSemidef) (hFtrace : F.trace = 1) (hGtrace : G.trace = 1) :
                                                                                                                                                ∑ i : d, ∑ j : d, √(⋯.eigenvalues i) * √(⋯.eigenvalues j) * spectralAtomOverlap F G hF hG i j ≤ 1
                                                                                                                                                def QuantumParallelRepetition.binaryBornProbability {d : Type u_1} {e : Type u_2} [Fintype d] [Fintype e] [DecidableEq d] [DecidableEq e] (ρ : DensityMatrix (d × e)) (P : POVM Bool d) (Q : POVM Bool e) (a b : Bool) :

                                                                                                                                                The probability of binary born.

                                                                                                                                                Equations
                                                                                                                                                Instances For
                                                                                                                                                  theorem QuantumParallelRepetition.binaryBornProbability_normalized {d : Type u_1} {e : Type u_2} [Fintype d] [Fintype e] [DecidableEq d] [DecidableEq e] (ρ : DensityMatrix (d × e)) (P : POVM Bool d) (Q : POVM Bool e) :
                                                                                                                                                  ∑ a : Bool, ∑ b : Bool, binaryBornProbability ρ P Q a b = 1
                                                                                                                                                  theorem QuantumParallelRepetition.unitVector_distance_of_real_overlap {ι : Type u_1} [Fintype ι] (z w : EuclideanSpace ℂ ι) (hz : ‖z‖ = 1) (hw : ‖w‖ = 1) (ε : ℝ) (hε : 0 ≤ ε) (hoverlap : 1 - ε ≤ (inner ℂ z w).re) :
                                                                                                                                                  ‖z - w‖ ≤ √(2 * ε)
                                                                                                                                                  def QuantumParallelRepetition.sharedThresholdResourceRaw {κ : Type u_1} {d : Type u_2} [DecidableEq κ] [DecidableEq d] (τ : κ → ℝ) :
                                                                                                                                                  EuclideanSpace ℂ (((_ : κ) × d) × (_ : κ) × d)

                                                                                                                                                  The shared threshold resource raw construction used in the quantum parallel-repetition argument.

                                                                                                                                                  Equations
                                                                                                                                                  Instances For
                                                                                                                                                    theorem QuantumParallelRepetition.sharedThresholdResourceRaw_ne_zero {κ : Type u_1} {d : Type u_2} [DecidableEq κ] [DecidableEq d] (τ : κ → ℝ) (k : κ) (i : d) (hk : τ k ≠ 0) :
                                                                                                                                                    noncomputable def QuantumParallelRepetition.sharedThresholdResource {κ : Type u_1} {d : Type u_2} [Fintype κ] [Fintype d] [DecidableEq κ] [DecidableEq d] (τ : κ → ℝ) :
                                                                                                                                                    EuclideanSpace ℂ (((_ : κ) × d) × (_ : κ) × d)

                                                                                                                                                    The auxiliary resource for shared threshold.

                                                                                                                                                    Equations
                                                                                                                                                    Instances For
                                                                                                                                                      theorem QuantumParallelRepetition.sharedThresholdResource_norm {κ : Type u_1} {d : Type u_2} [Fintype κ] [Fintype d] [DecidableEq κ] [DecidableEq d] (τ : κ → ℝ) (k : κ) (i : d) (hk : τ k ≠ 0) :
                                                                                                                                                      def QuantumParallelRepetition.transposePOVM {ι : Type u_1} {d : Type u_2} [Fintype ι] [Fintype d] [DecidableEq d] (P : POVM ι d) :
                                                                                                                                                      POVM ι d

                                                                                                                                                      The positive operator-valued measurement implementing transpose.

                                                                                                                                                      Equations
                                                                                                                                                      Instances For
                                                                                                                                                        theorem QuantumParallelRepetition.transposePOVM_projective {ι : Type u_1} {d : Type u_2} [Fintype ι] [Fintype d] [DecidableEq d] (P : POVM ι d) (hP : ∀ (b : ι), P.effect b * P.effect b = P.effect b) (b : ι) :
                                                                                                                                                        theorem QuantumParallelRepetition.sharedThresholdResourceRaw_eq_vec {κ : Type u_1} {d : Type u_2} [DecidableEq κ] [DecidableEq d] (τ : κ → ℝ) :
                                                                                                                                                        sharedThresholdResourceRaw τ = WithLp.toLp 2 (Matrix.diagonal fun (q : (_ : κ) × d) => ↑(τ q.fst)).vec
                                                                                                                                                        theorem QuantumParallelRepetition.sharedThresholdResourceRaw_local_action {κ : Type u_1} {d : Type u_2} [Fintype κ] [Fintype d] [DecidableEq κ] [DecidableEq d] (τ : κ → ℝ) (A B : Matrix ((_ : κ) × d) ((_ : κ) × d) ℂ) :
                                                                                                                                                        WithLp.toLp 2 ((Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) A B.transpose).mulVec (sharedThresholdResourceRaw τ).ofLp) = WithLp.toLp 2 ((B.transpose * Matrix.diagonal fun (q : (_ : κ) × d) => ↑(τ q.fst)) * A.transpose).vec
                                                                                                                                                        theorem QuantumParallelRepetition.sharedThresholdDiagonal_eq_block {κ : Type u_1} {d : Type u_2} [DecidableEq κ] [DecidableEq d] (τ : κ → ℝ) :
                                                                                                                                                        (Matrix.diagonal fun (q : (_ : κ) × d) => ↑(τ q.fst)) = Matrix.blockDiagonal' fun (k : κ) => ↑(τ k) • 1
                                                                                                                                                        theorem QuantumParallelRepetition.projectorProduct_hilbertSchmidt_trace {d : Type u_1} [Fintype d] (A B : Matrix d d ℂ) (hA : A.PosSemidef) (hB : B.PosSemidef) (hAA : A * A = A) (hBB : B * B = B) :
                                                                                                                                                        ((A * B).conjTranspose * (A * B)).trace = (A * B).trace
                                                                                                                                                        theorem QuantumParallelRepetition.weightedProjectorProduct_hilbertSchmidt_trace {d : Type u_1} [Fintype d] (t : ℝ) (A B : Matrix d d ℂ) (hA : A.PosSemidef) (hB : B.PosSemidef) (hAA : A * A = A) (hBB : B * B = B) :
                                                                                                                                                        ((↑t • (A * B)).conjTranspose * ↑t • (A * B)).trace.re = t ^ 2 * (A * B).trace.re
                                                                                                                                                        theorem QuantumParallelRepetition.sharedThresholdResourceRaw_block_action_norm_sq {κ : Type u_1} {d : Type u_2} [Fintype κ] [Fintype d] [DecidableEq κ] [DecidableEq d] (τ : κ → ℝ) (A B : κ → Matrix d d ℂ) (hA : ∀ (k : κ), (A k).PosSemidef) (hB : ∀ (k : κ), (B k).PosSemidef) (hAA : ∀ (k : κ), A k * A k = A k) (hBB : ∀ (k : κ), B k * B k = B k) :
                                                                                                                                                        theorem QuantumParallelRepetition.sharedThresholdResource_block_action_norm_sq {κ : Type u_1} {d : Type u_2} [Fintype κ] [Fintype d] [DecidableEq κ] [DecidableEq d] (τ : κ → ℝ) (A B : κ → Matrix d d ℂ) (hA : ∀ (k : κ), (A k).PosSemidef) (hB : ∀ (k : κ), (B k).PosSemidef) (hAA : ∀ (k : κ), A k * A k = A k) (hBB : ∀ (k : κ), B k * B k = B k) :
                                                                                                                                                        ‖WithLp.toLp 2 ((Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (Matrix.blockDiagonal' A) (Matrix.blockDiagonal' B).transpose).mulVec (sharedThresholdResource τ).ofLp)‖ ^ 2 = (∑ k : κ, τ k ^ 2 * (A k * B k).trace.re) / (↑(Fintype.card d) * ∑ k : κ, τ k ^ 2)
                                                                                                                                                        theorem QuantumParallelRepetition.doublyStochasticSchmidtMass_le_one {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] (σ : ι → ℝ) (μ : κ → ℝ) (w : ι → κ → ℝ) (hσunit : ∑ i : ι, σ i ^ 2 = 1) (hμunit : ∑ j : κ, μ j ^ 2 = 1) (hw : ∀ (i : ι) (j : κ), 0 ≤ w i j) (hrow : ∀ (i : ι), ∑ j : κ, w i j = 1) (hcol : ∀ (j : κ), ∑ i : ι, w i j = 1) :
                                                                                                                                                        ∑ i : ι, ∑ j : κ, σ i * μ j * w i j ≤ 1
                                                                                                                                                        theorem QuantumParallelRepetition.doublyStochasticSchmidtEnergy_eq {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] (σ : ι → ℝ) (μ : κ → ℝ) (w : ι → κ → ℝ) (hσunit : ∑ i : ι, σ i ^ 2 = 1) (hμunit : ∑ j : κ, μ j ^ 2 = 1) (hrow : ∀ (i : ι), ∑ j : κ, w i j = 1) (hcol : ∀ (j : κ), ∑ i : ι, w i j = 1) :
                                                                                                                                                        ∑ i : ι, ∑ j : κ, (σ i - μ j) ^ 2 * w i j = 2 - 2 * ∑ i : ι, ∑ j : κ, σ i * μ j * w i j

                                                                                                                                                        The target object for tensor embezzlement.

                                                                                                                                                        Equations
                                                                                                                                                        • One or more equations did not get rendered due to their size.
                                                                                                                                                        Instances For

                                                                                                                                                          The operator action for local unitary.

                                                                                                                                                          Equations
                                                                                                                                                          Instances For
                                                                                                                                                            theorem QuantumParallelRepetition.unitary_row_norm_sq_sum {d : Type u_1} [Fintype d] [DecidableEq d] (U : ↥(Matrix.unitaryGroup d ℂ)) (i : d) :
                                                                                                                                                            ∑ j : d, ‖↑U i j‖ ^ 2 = 1
                                                                                                                                                            theorem QuantumParallelRepetition.unitary_col_norm_sq_sum {d : Type u_1} [Fintype d] [DecidableEq d] (U : ↥(Matrix.unitaryGroup d ℂ)) (j : d) :
                                                                                                                                                            ∑ i : d, ‖↑U i j‖ ^ 2 = 1

                                                                                                                                                            The overlap quantity for unitary basis.

                                                                                                                                                            Equations
                                                                                                                                                            Instances For

                                                                                                                                                              The quantum state representing diagonal schmidt.

                                                                                                                                                              Equations
                                                                                                                                                              Instances For
                                                                                                                                                                theorem QuantumParallelRepetition.schmidtVector_norm_sq {d : ℕ} (σ : Fin d → ℝ) (U V : ↥(Matrix.unitaryGroup (Fin d) ℂ)) :
                                                                                                                                                                ‖schmidtVector σ U V‖ ^ 2 = ∑ i : Fin d, σ i ^ 2
                                                                                                                                                                theorem QuantumParallelRepetition.schmidtVector_apply {d : ℕ} (σ : Fin d → ℝ) (U V : ↥(Matrix.unitaryGroup (Fin d) ℂ)) (a b : Fin d) :
                                                                                                                                                                (schmidtVector σ U V).ofLp (a, b) = ∑ i : Fin d, ↑(σ i) * ↑U a i * ↑V b i
                                                                                                                                                                theorem QuantumParallelRepetition.schmidtVector_eq_vec {d : ℕ} (σ : Fin d → ℝ) (U V : ↥(Matrix.unitaryGroup (Fin d) ℂ)) :
                                                                                                                                                                schmidtVector σ U V = WithLp.toLp 2 ((↑V * Matrix.diagonal fun (i : Fin d) => ↑(σ i)) * (↑U).transpose).vec
                                                                                                                                                                theorem QuantumParallelRepetition.weightedSchmidtMatrixTrace {d : Type u_1} [Fintype d] [DecidableEq d] (σ μ : d → ℝ) (L R : Matrix d d ℂ) :
                                                                                                                                                                ((L.transpose * Matrix.diagonal fun (i : d) => ↑(σ i)) * R * Matrix.diagonal fun (j : d) => ↑(μ j)).trace = ∑ i : d, ∑ j : d, ↑(σ i) * ↑(μ j) * L i j * R i j
                                                                                                                                                                theorem QuantumParallelRepetition.schmidtVector_inner {d : ℕ} (σ μ : Fin d → ℝ) (U V X Y : ↥(Matrix.unitaryGroup (Fin d) ℂ)) :
                                                                                                                                                                inner ℂ (schmidtVector σ U V) (schmidtVector μ X Y) = ∑ i : Fin d, ∑ j : Fin d, ↑(σ i) * ↑(μ j) * ((↑U).conjTranspose * ↑X) i j * ((↑V).conjTranspose * ↑Y) i j
                                                                                                                                                                @[simp]
                                                                                                                                                                theorem QuantumParallelRepetition.unitaryBasisOverlap_apply {d : Type u_1} [Fintype d] [DecidableEq d] (U V : ↥(Matrix.unitaryGroup d ℂ)) (i j : d) :
                                                                                                                                                                ↑(unitaryBasisOverlap U V) i j = ((↑U).conjTranspose * ↑V) i j
                                                                                                                                                                theorem QuantumParallelRepetition.schmidtVector_spectralEnergy_le {d : ℕ} (σ μ : Fin d → ℝ) (hσ : ∀ (i : Fin d), 0 ≤ σ i) (hμ : ∀ (j : Fin d), 0 ≤ μ j) (hσunit : ∑ i : Fin d, σ i ^ 2 = 1) (hμunit : ∑ j : Fin d, μ j ^ 2 = 1) (U V X Y : ↥(Matrix.unitaryGroup (Fin d) ℂ)) :
                                                                                                                                                                ∑ i : Fin d, ∑ j : Fin d, (σ i - μ j) ^ 2 * ‖↑(unitaryBasisOverlap U X) i j‖ ^ 2 ≤ 2 * ‖schmidtVector σ U V - schmidtVector μ X Y‖ ^ 2
                                                                                                                                                                theorem QuantumParallelRepetition.linearMap_exists_singularBases {d : ℕ} (T : EuclideanSpace ℂ (Fin d) →ₗ[ℂ] EuclideanSpace ℂ (Fin d)) :
                                                                                                                                                                ∃ (σ : Fin d → ℝ) (u : OrthonormalBasis (Fin d) ℂ (EuclideanSpace ℂ (Fin d))) (v : OrthonormalBasis (Fin d) ℂ (EuclideanSpace ℂ (Fin d))), (∀ (i : Fin d), 0 ≤ σ i) ∧ ∀ (i : Fin d), T (v i) = ↑(σ i) • u i

                                                                                                                                                                The unitary operator implementing orthonormal basis.

                                                                                                                                                                Equations
                                                                                                                                                                Instances For

                                                                                                                                                                  The unitary operator implementing conjugate.

                                                                                                                                                                  Equations
                                                                                                                                                                  Instances For
                                                                                                                                                                    @[simp]
                                                                                                                                                                    theorem QuantumParallelRepetition.conjugateUnitary_apply {d : ℕ} (U : ↥(Matrix.unitaryGroup (Fin d) ℂ)) (i j : Fin d) :
                                                                                                                                                                    ↑(conjugateUnitary U) i j = star (↑U i j)
                                                                                                                                                                    theorem QuantumParallelRepetition.exists_proofSchmidtDecomposition {d : ℕ} (ξ : EuclideanSpace ℂ (Fin d × Fin d)) :
                                                                                                                                                                    ∃ (σ : Fin d → ℝ) (U : ↥(Matrix.unitaryGroup (Fin d) ℂ)) (V : ↥(Matrix.unitaryGroup (Fin d) ℂ)), (∀ (i : Fin d), 0 ≤ σ i) ∧ ξ = schmidtVector σ U V
                                                                                                                                                                    theorem QuantumParallelRepetition.exists_proofUnitSchmidtDecomposition {d : ℕ} (ξ : BipartiteUnitVector d) :
                                                                                                                                                                    ∃ (σ : Fin d → ℝ) (U : ↥(Matrix.unitaryGroup (Fin d) ℂ)) (V : ↥(Matrix.unitaryGroup (Fin d) ℂ)), (∀ (i : Fin d), 0 ≤ σ i) ∧ ∑ i : Fin d, σ i ^ 2 = 1 ∧ ↑ξ = schmidtVector σ U V