Documentation

MIPRE.Background.Repetition.TenProofs.QuantumParallelRepetition.Part01

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)
  • questionWeight : X → Y → ℝ
  • 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
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) :
    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) :
      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)
        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
          Instances For
            structure QuantumParallelRepetition.POVM (ι : Type u_5) (d : Type u_6) [Fintype ι] [Fintype d] [DecidableEq d] :
            Type (max u_5 u_6)
            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)
              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) :
                Equations
                Instances For
                  theorem QuantumParallelRepetition.Strategy.jointEffect_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} (S : Strategy G) (x : X) (y : Y) (a : A) (b : B) :
                  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) :
                  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.jointEffect_complete {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.jointEffect x y a b = 1
                    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) :
                    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) :
                      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 : ℕ) :
                      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) :
                        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} [Fintype ι] [DecidableEq ι] {d : ι → Type u_6} [(j : ι) → Fintype (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) :
                          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) :
                            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) :
                              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) :
                                Equations
                                Instances For
                                  theorem QuantumParallelRepetition.mixtureMatchedIndex_injective {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) :
                                  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) :
                                  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] [Fintype J] [DecidableEq J] {G : Game X Y A B} (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) :
                                    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) :
                                      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) :
                                        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) :
                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          Instances For
                                            theorem QuantumParallelRepetition.mixtureJointEffect_compress {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) (y : Y) (a : A) (b : B) :
                                            theorem QuantumParallelRepetition.mixtureBlockMatrix_trace_mul {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) (E : (j : J) → Matrix ((S j).Alice × (S j).Bob) ((S j).Alice × (S j).Bob) ℂ) :
                                            (mixtureBlockMatrix p S * Matrix.blockDiagonal' E).trace = ∑ j : J, p j • ((S j).state.matrix * E j).trace
                                            theorem QuantumParallelRepetition.convexMixtureStrategy_outcomeProbability {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) (x : X) (y : Y) (a : A) (b : B) :
                                            (convexMixtureStrategy p hp h_normalized S).outcomeProbability x y a b = ∑ j : J, p j * (S j).outcomeProbability x y a b
                                            theorem QuantumParallelRepetition.convexMixtureStrategy_winProbability {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) :
                                            (convexMixtureStrategy p hp h_normalized S).winProbability = ∑ j : J, p j * (S j).winProbability
                                            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) :
                                              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) :
                                                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
                                                  • weight : Ω → ℝ
                                                  • weight_nonneg (ω : Ω) : 0 ≤ self.weight ω
                                                  • weight_sum : ∑ ω : Ω, self.weight ω = 1
                                                  Instances For
                                                    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 Ω] [Fintype ι] (wins : ι → Ω → Bool) (D : Finset ι) :
                                                      Equations
                                                      Instances For
                                                        theorem QuantumParallelRepetition.FiniteEventLaw.winEvent_empty {Ω : Type u_1} {ι : Type u_2} [Fintype Ω] [Fintype ι] (wins : ι → Ω → Bool) :
                                                        theorem QuantumParallelRepetition.FiniteEventLaw.winEvent_antitone {Ω : Type u_1} {ι : Type u_2} [Fintype Ω] [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 Ω] [Fintype ι] [DecidableEq ι] (law : FiniteEventLaw Ω) (wins : ι → Ω → Bool) (D : Finset ι) (i : ι) :
                                                        Equations
                                                        Instances For
                                                          theorem QuantumParallelRepetition.FiniteEventLaw.exists_greedy_stopping {ι : Type u_2} [Fintype ι] [DecidableEq ι] (mass : Finset ι → ℝ) {θ η : ℝ} {T : ℕ} (_hθ : 0 < θ) (_hη : 0 < η) (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θ : 0 < θ) (hη : 0 < η) (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)
                                                          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) :
                                                            Equations
                                                            • One or more equations did not get rendered due to their size.
                                                            Instances For
                                                              def QuantumParallelRepetition.strategyWinEvent {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) :
                                                              Equations
                                                              Instances For
                                                                theorem QuantumParallelRepetition.strategyEventLaw_winEvent {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) :
                                                                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)) :
                                                                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θ : 0 < θ) (hη : 0 < η) (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} [Fintype d] [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 ι] [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) :
                                                                  ∑ i : ι, weight i • (F i - M) = 0
                                                                  theorem QuantumParallelRepetition.weighted_positive_matrix_mean {ι : Type u_1} {d : Type u_2} [Fintype ι] [Fintype d] [DecidableEq d] (weight : ι → ℝ) (F : ι → Matrix d d ℂ) (nonnegative : ∀ (i : ι), 0 ≤ weight i) (positive : ∀ (i : ι), (F i).PosSemidef) :
                                                                  (∑ i : ι, weight i • F i).PosSemidef
                                                                  noncomputable def QuantumParallelRepetition.diagonalPurificationGram {d : Type u_1} [Fintype d] [DecidableEq d] (eigenvalue : d → ℝ) (s : ℝ) :
                                                                  Equations
                                                                  Instances For
                                                                    theorem QuantumParallelRepetition.diagonalPurificationGram_integrable {d : Type u_1} [Fintype d] [DecidableEq d] (eigenvalue : d → ℝ) (h_nonneg : ∀ (i : d), 0 ≤ eigenvalue i) :
                                                                    theorem QuantumParallelRepetition.integral_diagonalPurificationGram {d : Type u_1} [Fintype d] [DecidableEq d] (eigenvalue : d → ℝ) (h_nonneg : ∀ (i : d), 0 ≤ eigenvalue i) :
                                                                    ∫ (s : ℝ) in Set.Ioi 0, diagonalPurificationGram eigenvalue s = Matrix.diagonal fun (i : d) => ↑(eigenvalue i)
                                                                    noncomputable def QuantumParallelRepetition.spectralPurificationGram {d : Type u_1} [Fintype d] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) (s : ℝ) :
                                                                    Equations
                                                                    • One or more equations did not get rendered due to their size.
                                                                    Instances For
                                                                      noncomputable def QuantumParallelRepetition.spectralPurificationFilter {d : Type u_1} [Fintype d] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) (s : ℝ) :
                                                                      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) ℂ) :
                                                                        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) :
                                                                          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) :
                                                                            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
                                                                              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
                                                                                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) :
                                                                                  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) :
                                                                                    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 : ℝ → ℝ) :
                                                                                      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)) :
                                                                                        theorem QuantumParallelRepetition.posSemidef_kernel_of_sub_posSemidef {d : Type u_1} [Fintype d] [DecidableEq 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 ι] [DecidableEq ι] [Fintype d] [DecidableEq d] (effect : ι → Matrix d d ℂ) (hpositive : ∀ (a : ι), (effect a).PosSemidef) (a : ι) :
                                                                                        (∑ b : ι, effect b - effect a).PosSemidef
                                                                                        noncomputable def QuantumParallelRepetition.purifiedRefinementCore {ι : Type u_1} {d : Type u_2} {e : Type u_3} [Fintype ι] [Fintype d] [DecidableEq d] [Fintype e] [DecidableEq e] (F : Matrix d d ℂ) (hF : F.PosSemidef) (Γ : Matrix e d ℂ) (effect : ι → Matrix d d ℂ) (a : ι) :
                                                                                        Equations
                                                                                        • One or more equations did not get rendered due to their size.
                                                                                        Instances For
                                                                                          theorem QuantumParallelRepetition.purifiedRefinementCore_posSemidef {ι : Type u_1} {d : Type u_2} {e : Type u_3} [Fintype ι] [Fintype d] [DecidableEq d] [Fintype e] [DecidableEq e] (F : Matrix d d ℂ) (hF : F.PosSemidef) (Γ : Matrix e d ℂ) (effect : ι → Matrix d d ℂ) (hpositive : ∀ (a : ι), (effect a).PosSemidef) (a : ι) :
                                                                                          theorem QuantumParallelRepetition.purifiedRefinementCore_sum {ι : Type u_1} {d : Type u_2} {e : Type u_3} [Fintype ι] [Fintype d] [DecidableEq d] [Fintype e] [DecidableEq e] (F : Matrix d d ℂ) (hF : F.PosSemidef) (Γ : Matrix e d ℂ) (effect : ι → Matrix d d ℂ) (hsum : ∑ a : ι, effect a = F) :
                                                                                          ∑ a : ι, purifiedRefinementCore F hF Γ effect a = purificationRangeProjection F hF Γ
                                                                                          noncomputable def QuantumParallelRepetition.purifiedRefinedEffect {ι : 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 ℂ) (effect : ι → Matrix d d ℂ) (a₀ 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} [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) (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] [Fintype e] [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
                                                                                            theorem QuantumParallelRepetition.purifiedRefinementCore_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 : ι) :
                                                                                            Γ.conjTranspose * purifiedRefinementCore F hF Γ effect a * Γ = effect a
                                                                                            theorem QuantumParallelRepetition.purifiedRefinedEffect_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 * purifiedRefinedEffect F hF Γ effect a₀ a * Γ = effect a
                                                                                            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
                                                                                            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
                                                                                              structure QuantumParallelRepetition.FullSubsetHistory (X : Type u_1) (Y : Type u_2) [Fintype X] [Fintype Y] (n : ℕ) (D L : Finset (Fin n)) :
                                                                                              Type (max u_1 u_2)
                                                                                              • aliceConditioned : ↥D → X
                                                                                              • bobConditioned : ↥D → Y
                                                                                              • aliceRevealed : ↥L → X
                                                                                              • bobRemaining : ↥(fullHistoryRemaining n D L) → Y
                                                                                              Instances For
                                                                                                theorem QuantumParallelRepetition.FullSubsetHistory.ext {X : Type u_1} {Y : Type u_2} {inst✝ : Fintype X} {inst✝¹ : Fintype Y} {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} {inst✝ : Fintype X✝} {inst✝¹ : Fintype Y✝} {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} [Fintype X] [Fintype Y] {n : ℕ} {D L : Finset (Fin n)} (h : FullSubsetHistory X Y n D L) (hidden : ↥(fullHistoryRemaining n D L) → X) :
                                                                                                Fin n → X
                                                                                                Equations
                                                                                                Instances For
                                                                                                  def QuantumParallelRepetition.fullHistoryBobQuestion {X : Type u_1} {Y : Type u_2} [Fintype X] [Fintype Y] {n : ℕ} {D L : Finset (Fin n)} (h : FullSubsetHistory X Y n D L) (hidden : ↥L → Y) :
                                                                                                  Fin n → Y
                                                                                                  Equations
                                                                                                  Instances For
                                                                                                    def QuantumParallelRepetition.fullHistoryQuestionEquiv {X : Type u_1} {Y : Type u_2} [Fintype X] [Fintype Y] {n : ℕ} (D L : Finset (Fin n)) (hL : L ⊆ Finset.univ \ D) :
                                                                                                    FullSubsetHistory X Y n D L × (↥(fullHistoryRemaining n D L) → X) × (↥L → Y) ≃ (Fin n → X) × (Fin n → Y)
                                                                                                    Equations
                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                    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) :
                                                                                                      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) :
                                                                                                        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) :
                                                                                                          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) :
                                                                                                            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) :
                                                                                                              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) :
                                                                                                                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
                                                                                                                  def QuantumParallelRepetition.fullQuestionWinIndicator {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 : Finset (Fin n)) (xs : Fin n → X) (ys : Fin n → Y) (α : ↥D → A) (β : ↥D → B) :
                                                                                                                  Equations
                                                                                                                  Instances For
                                                                                                                    theorem QuantumParallelRepetition.fullHistoryWinIndicator_eq_question {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) (hx : ↥(fullHistoryRemaining n D L) → X) (hy : ↥L → Y) (α : ↥D → A) (β : ↥D → B) :
                                                                                                                    theorem QuantumParallelRepetition.conditionedEffects_postselection_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] [DecidableEq A] [DecidableEq B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (xs : Fin n → X) (ys : Fin n → Y) :
                                                                                                                    ∑ α : ↥D → A, ∑ β : ↥D → B, fullQuestionWinIndicator G D xs ys α β * ((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 : ↥D), G.predicate (xs ↑i) (ys ↑i) (aa ↑i) (bb ↑i) = true then S.outcomeProbability xs ys aa bb else 0
                                                                                                                    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.fullQuestionConditionedBornMass_eq {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)) :
                                                                                                                    ∑ xs : Fin n → X, ∑ ys : Fin n → Y, ∑ α : ↥D → A, ∑ β : ↥D → B, (G.repeat n).questionWeight xs ys * fullQuestionWinIndicator G D xs ys α β * ((bornTracePairing S.state.matrix) (conditionedAliceEffect G n S D α xs)) (conditionedBobEffect G n S D β ys) = (strategyEventLaw (G.repeat n) S).eventMass (FiniteEventLaw.winEvent (repeatedCoordinateWin G n) D)
                                                                                                                    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] [DecidableEq A] [DecidableEq 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)
                                                                                                                    noncomputable def QuantumParallelRepetition.matrixQuadraticCLM {d : Type u_1} [Fintype d] (x : d → ℂ) :
                                                                                                                    Equations
                                                                                                                    Instances For
                                                                                                                      Equations
                                                                                                                      Instances For
                                                                                                                        theorem QuantumParallelRepetition.bochner_integral_posSemidef {α : Type u_1} {d : Type u_2} [MeasurableSpace α] [Fintype d] [DecidableEq 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.spectralEntropyKernel {d : Type u_1} [Fintype d] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) (s : ℝ) :
                                                                                                                        Equations
                                                                                                                        • One or more equations did not get rendered due to their size.
                                                                                                                        Instances For
                                                                                                                          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 : ℝ) :
                                                                                                                          Equations
                                                                                                                          • One or more equations did not get rendered due to their size.
                                                                                                                          Instances For
                                                                                                                            noncomputable def QuantumParallelRepetition.weightedSpectralEntropyJensen {ι : 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 : ℝ) :
                                                                                                                            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.weightedSpectralEntropyJensen_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.weightedSpectralEntropyJensen_eq_shifted_inverse {ι : 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) (normalized : ∑ i : ι, weight i = 1) (mean : ∑ i : ι, weight i • F i = M) {s : ℝ} (hs : 0 < s) :
                                                                                                                              weightedSpectralEntropyJensen weight F M positive hM s = s • (∑ i : ι, weight i • (F i + s • 1)⁻¹ - (M + s • 1)⁻¹)
                                                                                                                              theorem QuantumParallelRepetition.integrated_weighted_spectralPurificationFilter_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 := ⋯; ((∫ (s : ℝ) in Set.Ioi 0, weightedSpectralEntropyJensen weight F M positive hM s) - ∫ (s : ℝ) in Set.Ioi 0, weightedSpectralFilterVariance weight F M positive hM s).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
                                                                                                                              noncomputable def QuantumParallelRepetition.diagonalEntropyKernel {d : Type u_1} [Fintype d] [DecidableEq d] (eigenvalue : d → ℝ) (s : ℝ) :
                                                                                                                              Equations
                                                                                                                              Instances For
                                                                                                                                theorem QuantumParallelRepetition.diagonalEntropyKernel_integrable {d : Type u_1} [Fintype d] [DecidableEq d] (eigenvalue : d → ℝ) (nonnegative : ∀ (i : d), 0 ≤ eigenvalue i) :
                                                                                                                                theorem QuantumParallelRepetition.integral_diagonalEntropyKernel {d : Type u_1} [Fintype d] [DecidableEq d] (eigenvalue : d → ℝ) (nonnegative : ∀ (i : d), 0 ≤ eigenvalue i) :
                                                                                                                                ∫ (s : ℝ) in Set.Ioi 0, diagonalEntropyKernel eigenvalue s = Matrix.diagonal fun (i : d) => ↑(eigenvalue i * Real.log (eigenvalue i))
                                                                                                                                theorem QuantumParallelRepetition.integral_weightedSpectralEntropyJensen_eq_cfc {ι : 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 : ℝ) in Set.Ioi 0, weightedSpectralEntropyJensen weight F M positive hM s = ∑ i : ι, weight i • cfc (fun (z : ℝ) => z * Real.log z) (F i) - cfc (fun (z : ℝ) => z * Real.log z) M
                                                                                                                                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] [DecidableEq dB] (ρ : 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 dA] [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)) :
                                                                                                                                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)) :
                                                                                                                                  theorem QuantumParallelRepetition.leftSpectralBornWeight_nonneg {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) (G : Matrix dB dB ℂ) (hG : G.PosSemidef) (i : dA) :
                                                                                                                                  theorem QuantumParallelRepetition.leftSpectralBornWeight_sum {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) (G : Matrix dB dB ℂ) :
                                                                                                                                  ∑ i : dA, leftSpectralBornWeight ρ F hF G i = ((bornTracePairing ρ.matrix) 1) G
                                                                                                                                  theorem QuantumParallelRepetition.leftSpectralBornWeight_moment {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) (G : Matrix dB dB ℂ) :
                                                                                                                                  ∑ i : dA, leftSpectralBornWeight ρ F hF G i * ⋯.eigenvalues i = ((bornTracePairing ρ.matrix) F) G
                                                                                                                                  theorem QuantumParallelRepetition.leftSpectralBornWeight_entropy {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) (G : Matrix dB dB ℂ) :
                                                                                                                                  ((bornTracePairing ρ.matrix) (cfc (fun (z : ℝ) => z * Real.log z) F)) G = ∑ i : dA, leftSpectralBornWeight ρ F hF G i * (⋯.eigenvalues i * Real.log (⋯.eigenvalues i))
                                                                                                                                  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.leftSpectralBornWeight_negEntropy {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) (G : Matrix dB dB ℂ) :
                                                                                                                                  -((bornTracePairing ρ.matrix) (cfc (fun (z : ℝ) => z * Real.log z) F)) G = ∑ i : dA, leftSpectralBornWeight ρ F hF G i * (⋯.eigenvalues i).negMulLog
                                                                                                                                  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
                                                                                                                                  Equations
                                                                                                                                  Instances For
                                                                                                                                    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) :
                                                                                                                                      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
                                                                                                                                        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 ι] [Fintype d] (v : ι → EuclideanSpace ℂ d) :
                                                                                                                                          EuclideanSpace ℂ (ι → d)
                                                                                                                                          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) :
                                                                                                                                            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} [Fintype κ] [Fintype d] [DecidableEq κ] [DecidableEq d] (τ : κ → ℝ) :
                                                                                                                                              EuclideanSpace ℂ (((_ : κ) × d) × (_ : κ) × d)
                                                                                                                                              Equations
                                                                                                                                              Instances For
                                                                                                                                                theorem QuantumParallelRepetition.sharedThresholdResourceRaw_ne_zero {κ : Type u_1} {d : Type u_2} [Fintype κ] [Fintype d] [DecidableEq κ] [DecidableEq d] (τ : κ → ℝ) (k : κ) (i : d) (hk : τ k ≠ 0) :
                                                                                                                                                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
                                                                                                                                                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} [Fintype κ] [Fintype d] [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} [Fintype κ] [Fintype d] [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] [DecidableEq 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] [DecidableEq 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
                                                                                                                                                  noncomputable def QuantumParallelRepetition.weightedComplexOverlapVector {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] (σ : ι → ℝ) (μ : κ → ℝ) (L : ι → κ → ℂ) :
                                                                                                                                                  Equations
                                                                                                                                                  Instances For
                                                                                                                                                    theorem QuantumParallelRepetition.weightedComplexOverlapVector_norm_sq {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] (σ : ι → ℝ) (μ : κ → ℝ) (hσ : ∀ (i : ι), 0 ≤ σ i) (hμ : ∀ (j : κ), 0 ≤ μ j) (L : ι → κ → ℂ) :
                                                                                                                                                    ‖weightedComplexOverlapVector σ μ L‖ ^ 2 = ∑ i : ι, ∑ j : κ, σ i * μ j * ‖L i j‖ ^ 2
                                                                                                                                                    theorem QuantumParallelRepetition.twoSidedSchmidtSpectralEnergy_le {ι : Type u_1} {κ : Type u_2} {ν : Type u_3} [Fintype ι] [Fintype κ] [Fintype ν] (ψ φ : EuclideanSpace ℂ ν) (hψ : ‖ψ‖ = 1) (hφ : ‖φ‖ = 1) (σ : ι → ℝ) (μ : κ → ℝ) (hσ : ∀ (i : ι), 0 ≤ σ i) (hμ : ∀ (j : κ), 0 ≤ μ j) (hσunit : ∑ i : ι, σ i ^ 2 = 1) (hμunit : ∑ j : κ, μ j ^ 2 = 1) (L R : ι → κ → ℂ) (hLrow : ∀ (i : ι), ∑ j : κ, ‖L i j‖ ^ 2 = 1) (hLcol : ∀ (j : κ), ∑ i : ι, ‖L i j‖ ^ 2 = 1) (hRrow : ∀ (i : ι), ∑ j : κ, ‖R i j‖ ^ 2 = 1) (hRcol : ∀ (j : κ), ∑ i : ι, ‖R i j‖ ^ 2 = 1) (hinner : inner ℂ ψ φ = inner ℂ (weightedComplexOverlapVector σ μ L) (weightedComplexOverlapVector σ μ R)) :
                                                                                                                                                    ∑ i : ι, ∑ j : κ, (σ i - μ j) ^ 2 * ‖L i j‖ ^ 2 ≤ 2 * ‖ψ - φ‖ ^ 2
                                                                                                                                                    Equations
                                                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                                                    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
                                                                                                                                                      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.weightedComplexOverlapVector_inner {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] (σ : ι → ℝ) (μ : κ → ℝ) (hσ : ∀ (i : ι), 0 ≤ σ i) (hμ : ∀ (j : κ), 0 ≤ μ j) (L R : ι → κ → ℂ) :
                                                                                                                                                        inner ℂ (weightedComplexOverlapVector σ μ fun (i : ι) (j : κ) => star (L i j)) (weightedComplexOverlapVector σ μ R) = ∑ i : ι, ∑ j : κ, ↑(σ i) * ↑(μ j) * L i j * R i j
                                                                                                                                                        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
                                                                                                                                                        @[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
                                                                                                                                                        theorem QuantumParallelRepetition.exists_proofHarmonicNumber_ratio_ge (d : ℕ) (hd : 0 < d) {ε : ℝ} (hε : 0 < ε) (hεone : ε ≤ 1) :
                                                                                                                                                        ∃ (n : ℕ), 0 < n ∧ 1 - ε ≤ harmonicNumber n / harmonicNumber (d * n)
                                                                                                                                                        Equations
                                                                                                                                                        Instances For
                                                                                                                                                          theorem QuantumParallelRepetition.diagonalInner_real_eq_sum {N : ℕ} (z w : EuclideanSpace ℂ (Fin N × Fin N)) (hz : ∀ (i j : Fin N), i ≠ j → z.ofLp (i, j) = 0) :
                                                                                                                                                          (inner ℂ z w).re = ∑ i : Fin N, (inner ℂ (z.ofLp (i, i)) (w.ofLp (i, i))).re
                                                                                                                                                          theorem QuantumParallelRepetition.harmonicSchmidtFiber_count_sq_le {n : ℕ} (a x : ℝ) (ha : 0 ≤ a) (hx : 0 ≤ x) :
                                                                                                                                                          ↑{j : Fin n | x ≤ a * (√(↑↑j + 1))⁻¹}.card * x ^ 2 ≤ a ^ 2
                                                                                                                                                          theorem QuantumParallelRepetition.harmonicSchmidtThreshold_card_eq {d n : ℕ} (σ : Fin d → ℝ) (x : ℝ) :
                                                                                                                                                          ↑{q : Fin (d * n) | x ≤ harmonicTensorSchmidtAmplitude σ q}.card = ∑ i : Fin d, ↑{j : Fin n | x ≤ σ i * (√(↑↑j + 1))⁻¹}.card
                                                                                                                                                          theorem QuantumParallelRepetition.harmonicSchmidtThreshold_count_sq_le_one {d n : ℕ} (σ : Fin d → ℝ) (hσ : ∀ (i : Fin d), 0 ≤ σ i) (hunit : ∑ i : Fin d, σ i ^ 2 = 1) (x : ℝ) (hx : 0 ≤ x) :
                                                                                                                                                          ↑{q : Fin (d * n) | x ≤ harmonicTensorSchmidtAmplitude σ q}.card * x ^ 2 ≤ 1
                                                                                                                                                          theorem QuantumParallelRepetition.descendingHarmonicSchmidtAmplitude_rank_sq_le_one {d n : ℕ} (σ : Fin d → ℝ) (hσ : ∀ (i : Fin d), 0 ≤ σ i) (hunit : ∑ i : Fin d, σ i ^ 2 = 1) (k : Fin (d * n)) :
                                                                                                                                                          theorem QuantumParallelRepetition.descendingHarmonicSchmidtAmplitude_le_harmonic {d n : ℕ} (σ : Fin d → ℝ) (hσ : ∀ (i : Fin d), 0 ≤ σ i) (hunit : ∑ i : Fin d, σ i ^ 2 = 1) (k : Fin (d * n)) :
                                                                                                                                                          theorem QuantumParallelRepetition.harmonicTensorSchmidtAmplitude_sq_sum {d n : ℕ} (σ : Fin d → ℝ) (hunit : ∑ i : Fin d, σ i ^ 2 = 1) :
                                                                                                                                                          noncomputable def QuantumParallelRepetition.universalCatalystOverlapTerm {d n : ℕ} (σ : Fin d → ℝ) (k : Fin (d * n)) :
                                                                                                                                                          Equations
                                                                                                                                                          • One or more equations did not get rendered due to their size.
                                                                                                                                                          Instances For
                                                                                                                                                            theorem QuantumParallelRepetition.localUnitaryAction_comp {m : ℕ} (U₁ V₁ U₂ V₂ : ↥(Matrix.unitaryGroup (Fin m) ℂ)) (ψ : EuclideanSpace ℂ (Fin m × Fin m)) :
                                                                                                                                                            localUnitaryAction U₁ V₁ (localUnitaryAction U₂ V₂ ψ) = localUnitaryAction (U₁ * U₂) (V₁ * V₂) ψ
                                                                                                                                                            theorem QuantumParallelRepetition.targetCatalystDoubleSum_reindex {d n : ℕ} (F : Fin (d * n) → Fin (d * n) → ℂ) :
                                                                                                                                                            ∑ i : Fin (d * n), ∑ j : Fin (d * n), F i j = ∑ p : Fin d × Fin n, ∑ q : Fin d × Fin n, F (finProdFinEquiv p) (finProdFinEquiv q)
                                                                                                                                                            theorem QuantumParallelRepetition.universalDiagonalCatalystOverlap_of_harmonic_ratio {d n : ℕ} (hd : 0 < d) (hn : 0 < n) (σ : Fin d → ℝ) (hσ : ∀ (i : Fin d), 0 ≤ σ i) (hunit : ∑ i : Fin d, σ i ^ 2 = 1) (δ : ℝ) (hδ : 0 ≤ δ) (hδone : δ ≤ 1) (hratio : 1 - δ ≤ harmonicNumber n / harmonicNumber (d * n)) :
                                                                                                                                                            theorem QuantumParallelRepetition.universalDiagonalCatalyst_distance {d n : ℕ} (hd : 0 < d) (hn : 0 < n) (σ : Fin d → ℝ) (hσ : ∀ (i : Fin d), 0 ≤ σ i) (hunit : ∑ i : Fin d, σ i ^ 2 = 1) (δ : ℝ) (hδ : 0 ≤ δ) (hδone : δ ≤ 1) (hratio : 1 - δ ≤ harmonicNumber n / harmonicNumber (d * n)) :
                                                                                                                                                            theorem QuantumParallelRepetition.exists_proofUniversalHarmonicCatalyst (d : ℕ) (hd : 0 < d) (ε : ℝ) (hε : 0 < ε) :
                                                                                                                                                            ∃ (n : ℕ), 0 < n ∧ ∀ (ξ : BipartiteUnitVector d), ∃ (U : ↥(Matrix.unitaryGroup (Fin (d * n)) ℂ)) (V : ↥(Matrix.unitaryGroup (Fin (d * n)) ℂ)), ‖localUnitaryAction U V (embezzlementState (d * n)) - tensorEmbezzlementTarget ξ‖ ≤ ε
                                                                                                                                                            noncomputable def QuantumParallelRepetition.spectralPartitionPOVM {κ : Type u_1} {d : Type u_2} [Fintype κ] [Fintype d] [DecidableEq κ] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) (bin : d → κ) :
                                                                                                                                                            POVM κ d
                                                                                                                                                            Equations
                                                                                                                                                            • One or more equations did not get rendered due to their size.
                                                                                                                                                            Instances For
                                                                                                                                                              theorem QuantumParallelRepetition.spectralPartitionPOVM_projective {κ : Type u_1} {d : Type u_2} [Fintype κ] [Fintype d] [DecidableEq κ] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) (bin : d → κ) (k : κ) :
                                                                                                                                                              def QuantumParallelRepetition.bilateralWorkPairEquiv {ι : Type u_1} {d : Type u_2} {e : Type u_3} :
                                                                                                                                                              (ι → d) × (ι → e) ≃ (ι → d × e)
                                                                                                                                                              Equations
                                                                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                                                                              Instances For
                                                                                                                                                                theorem QuantumParallelRepetition.spectralPartitionPOVM_trace_eq_atom_count {κ : Type u_1} {d : Type u_2} [Fintype κ] [Fintype d] [DecidableEq κ] [DecidableEq d] (F : Matrix d d ℂ) (hF : F.PosSemidef) (bin : d → κ) (k : κ) :
                                                                                                                                                                ((spectralPartitionPOVM F hF bin).effect k).trace.re = ∑ i : d, if bin i = k then 1 else 0
                                                                                                                                                                theorem QuantumParallelRepetition.spectralPartitionPOVM_trace_mul_eq_atom_overlap {κ : Type u_1} {d : Type u_2} [Fintype κ] [Fintype d] [DecidableEq κ] [DecidableEq d] (F G : Matrix d d ℂ) (hF : F.PosSemidef) (hG : G.PosSemidef) (binF binG : d → κ) (k : κ) :
                                                                                                                                                                ((spectralPartitionPOVM F hF binF).effect k * (spectralPartitionPOVM G hG binG).effect k).trace.re = ∑ i : d with binF i = k, ∑ j : d with binG j = k, spectralAtomOverlap F G hF hG i j
                                                                                                                                                                theorem QuantumParallelRepetition.spectralPartitionPOVM_weighted_trace_deficit_eq_mismatch {κ : Type u_1} {d : Type u_2} [Fintype κ] [Fintype d] [DecidableEq κ] [DecidableEq d] (F G : Matrix d d ℂ) (hF : F.PosSemidef) (hG : G.PosSemidef) (binF binG : d → κ) (τ : κ → ℝ) :
                                                                                                                                                                ∑ k : κ, τ k ^ 2 * ((spectralPartitionPOVM G hG binG).effect k).trace.re - ∑ k : κ, τ k ^ 2 * ((spectralPartitionPOVM F hF binF).effect k * (spectralPartitionPOVM G hG binG).effect k).trace.re = ∑ i : d, ∑ j : d, if binF i = binG j then 0 else τ (binG j) ^ 2 * spectralAtomOverlap F G hF hG i j
                                                                                                                                                                noncomputable def QuantumParallelRepetition.finiteUniformThresholdGrid (lower upper : ℝ) (N : ℕ) (k : Fin N) :
                                                                                                                                                                Equations
                                                                                                                                                                Instances For
                                                                                                                                                                  noncomputable def QuantumParallelRepetition.finiteUniformThresholdCrossing (lower upper a b : ℝ) (N : ℕ) :
                                                                                                                                                                  Equations
                                                                                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                                                                                  Instances For
                                                                                                                                                                    theorem QuantumParallelRepetition.finiteUniformGrid_interval_card_le (N : ℕ) (offset step lo hi : ℝ) (positive : 0 < step) (ordered : lo ≤ hi) :
                                                                                                                                                                    ↑{k : Fin N | lo ≤ offset + ↑↑k * step ∧ offset + ↑↑k * step ≤ hi}.card ≤ (hi - lo) / step + 1
                                                                                                                                                                    theorem QuantumParallelRepetition.finiteUniformThresholdCrossing_le {lower upper : ℝ} (window : lower < upper) (a b : ℝ) (N : ℕ) (nonempty : 0 < N) :
                                                                                                                                                                    finiteUniformThresholdCrossing lower upper a b N ≤ |a - b| / (upper - lower) + 1 / ↑N
                                                                                                                                                                    Equations
                                                                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                                                                    Instances For
                                                                                                                                                                      theorem QuantumParallelRepetition.dSVProjectorSquaredDifference_trace {d : Type u_1} [Fintype d] [DecidableEq d] (P Q : Matrix d d ℂ) (hP : P * P = P) (hQ : Q * Q = Q) :
                                                                                                                                                                      ((P - Q) * (P - Q)).trace.re = P.trace.re + Q.trace.re - 2 * (P * Q).trace.re
                                                                                                                                                                      theorem QuantumParallelRepetition.dSVCanonicalFailurePrefix_card {d : ℕ} (r : Fin (d + 1)) :
                                                                                                                                                                      {i : Fin d | ↑i < ↑r}.card = ↑r
                                                                                                                                                                      theorem QuantumParallelRepetition.dSVProjectorComplement_posSemidef {d : Type u_1} [Fintype d] [DecidableEq d] (P : Matrix d d ℂ) (positive : P.PosSemidef) (projective : P * P = P) :
                                                                                                                                                                      noncomputable def QuantumParallelRepetition.dSVRankControlledTargetCatalystIndexEquiv {ι : Type u_1} [Fintype ι] (d n : ℕ) :
                                                                                                                                                                      (Fin d × ι) × Fin n ≃ Fin (d * (Fintype.card ι * n))
                                                                                                                                                                      Equations
                                                                                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                                                                                      Instances For