Documentation

MIPRE.Background.Repetition.TenProofs.QuantumParallelRepetition.Part06

theorem QuantumParallelRepetition.dSVDensityRationalPublicLogRankPhaseWeightedCrossing_alice_le {N B : ℕ} (positive : 0 < B) (Q : ℕ) (r s : Fin (N + 1)) :
↑↑r * dSVDensityRationalPublicLogRankPhaseWeightedCrossing Q B r s ≤ (↑Q / ↑B + 1) * |↑↑r - ↑↑s| + min ↑↑r ↑↑s / ↑B
theorem QuantumParallelRepetition.exists_proofDSVDensityRationalPublicBucketPhysicalQuantitativeMixedPrefixCleanup_sq {N B : ℕ} (grid : 0 < N) (phases : 0 < B) {Q : ℕ} (fine : 0 < Q) (ε : ℝ) (precision : 0 < ε) :
∃ (n : ℕ), 0 < n ∧ ∃ (A : Fin B → Option ℕ → ↥(Matrix.unitaryGroup (Fin (N * n)) ℂ)) (C : Fin B → Option ℕ → ↥(Matrix.unitaryGroup (Fin (N * n)) ℂ)), ∀ (r s : Fin (N + 1)), ∑ phase : Fin B, dSVDensityRationalPublicLogRankPhaseWeight B phase * ‖localUnitaryAction (A phase (dSVDensityRationalPublicLogRankBucket Q phase r)) (C phase (dSVDensityRationalPublicLogRankBucket Q phase s)) (dSVDensityRationalMixedCanonicalPrefixPureHarmonicTensor n (dSVCanonicalFailurePrefix (dSVDensityRationalPublicBucketPhysicalCommonRank r s))) - √↑↑r • embezzlementState (N * n)‖ ^ 2 ≤ 2 * |↑↑r - ↑↑s| + 4 * ↑↑r * ε ^ 2 + 16 * ↑↑r * (Real.exp ((↑B + 1) / ↑Q) - 1) + 8 * ((↑Q / ↑B + 1) * |↑↑r - ↑↑s| + min ↑↑r ↑↑s / ↑B)
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem QuantumParallelRepetition.exists_proofDSVDensityRationalHeterogeneousCommonStopSpectralGaugeContinuity_sq {d N B : ℕ} (grid : 0 < N) (dimension : 0 < d) (phases : 0 < B) {Q : ℕ} (fine : 0 < Q) (ε : ℝ) (precision : 0 < ε) :
      ∃ (n : ℕ), 0 < n ∧ ∃ (A : Fin B → Option ℕ → ↥(Matrix.unitaryGroup (Fin (N * n)) ℂ)) (C : Fin B → Option ℕ → ↥(Matrix.unitaryGroup (Fin (N * n)) ℂ)), ∀ {S L : ℕ} (width : Fin S → ℝ) (schedule : Fin L → Fin S) (ξ ζ : BipartiteUnitVector d) (k : Fin L), ‖dSVDensityRationalPublicBucketPhysicalCoherentLocalReset Q (width (schedule k)) ξ ζ A C (dSVDensityRationalPublicBucketPhysicalCoherentMixedState (width (schedule k)) n ξ ζ) - dSVDensityRationalPublicBucketPhysicalCoherentTargetState (width (schedule k)) n ξ ζ‖ ^ 2 ≤ (10 + 8 * (↑Q / ↑B)) * dSVDensityRationalPhysicalProjectorCrossHazard N (width (schedule k)) ξ ζ + (4 * ε ^ 2 + 16 * (Real.exp ((↑B + 1) / ↑Q) - 1) + 8 / ↑B) * dSVDensityRationalPhysicalDiagonalBornSuccess grid dimension (width (schedule k)) ξ
      noncomputable def QuantumParallelRepetition.dSVDensityRationalHeterogeneousCommonStopGaugeStageError {d N B : ℕ} (Q : ℕ) (w : ℝ) (n : ℕ) (ξ ζ : BipartiteUnitVector d) (A C : Fin B → Option ℕ → ↥(Matrix.unitaryGroup (Fin (N * n)) ℂ)) :
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def QuantumParallelRepetition.dSVDensityRationalHeterogeneousStoppedCommonStopGaugeError {d N B S L : ℕ} (Q n : ℕ) (width : Fin S → ℝ) (schedule : Fin L → Fin S) (ξ ζ : BipartiteUnitVector d) (A C : Fin B → Option ℕ → ↥(Matrix.unitaryGroup (Fin (N * n)) ℂ)) :
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem QuantumParallelRepetition.dSVDensityRationalHeterogeneousPhysicalDiagonalSurvival_budget {d S L N : ℕ} (grid : 0 < N) (dimension : 0 < d) (width : Fin S → ℝ) (schedule : Fin L → Fin S) (ξ ζ : BipartiteUnitVector d) :
          ∑ k : Fin L, dSVDensityRationalHeterogeneousPhysicalSurvival N width schedule ξ ζ ↑k * dSVDensityRationalPhysicalDiagonalBornSuccess grid dimension (width (schedule k)) ξ ≤ 1
          theorem QuantumParallelRepetition.exists_proofDSVDensityRationalHeterogeneousStoppedCommonStopGaugeErrorBound {d N B : ℕ} (grid : 0 < N) (dimension : 0 < d) (phases : 0 < B) {Q : ℕ} (fine : 0 < Q) (ε : ℝ) (precision : 0 < ε) :
          ∃ (n : ℕ), 0 < n ∧ ∃ (A : Fin B → Option ℕ → ↥(Matrix.unitaryGroup (Fin (N * n)) ℂ)) (C : Fin B → Option ℕ → ↥(Matrix.unitaryGroup (Fin (N * n)) ℂ)), ∀ {S L : ℕ} (width : Fin S → ℝ) (schedule : Fin L → Fin S) (ξ ζ : BipartiteUnitVector d), dSVDensityRationalHeterogeneousStoppedCommonStopGaugeError Q n width schedule ξ ζ A C ≤ (10 + 8 * (↑Q / ↑B)) * dSVDensityRationalHeterogeneousPhysicalStoppedAsynchronousMass N width schedule ξ ζ + (4 * ε ^ 2 + 16 * (Real.exp ((↑B + 1) / ↑Q) - 1) + 8 / ↑B)
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              noncomputable def QuantumParallelRepetition.dSVDensityRationalHeterogeneousStoppedCommonPrefixHazard {d N B S L : ℕ} (Q n : ℕ) (width : Fin S → ℝ) (schedule : Fin L → Fin S) (ξ ζ : BipartiteUnitVector d) (A C : Fin B → Option ℕ → ↥(Matrix.unitaryGroup (Fin (N * n)) ℂ)) :
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem QuantumParallelRepetition.exists_proofDSVDensityRationalHeterogeneousStoppedCommonPrefixHazardBound {d N B : ℕ} (grid : 0 < N) (dimension : 0 < d) (phases : 0 < B) {Q : ℕ} (fine : 0 < Q) (ε : ℝ) (precision : 0 < ε) :
                ∃ (n : ℕ), 0 < n ∧ ∃ (A : Fin B → Option ℕ → ↥(Matrix.unitaryGroup (Fin (N * n)) ℂ)) (C : Fin B → Option ℕ → ↥(Matrix.unitaryGroup (Fin (N * n)) ℂ)), ∀ {S L : ℕ} (width : Fin S → ℝ) (schedule : Fin L → Fin S) (ξ ζ : BipartiteUnitVector d), dSVDensityRationalHeterogeneousStoppedCommonPrefixHazard Q n width schedule ξ ζ A C ≤ (10 + 8 * (↑Q / ↑B)) * dSVDensityRationalHeterogeneousActualAsynchronousFlagMass N width schedule ξ ζ + (4 * ε ^ 2 + 16 * (Real.exp ((↑B + 1) / ↑Q) - 1) + 8 / ↑B)
                theorem QuantumParallelRepetition.unconditionalPublicBucket_exp_sub_one_le {u : ℝ} (nonnegative : 0 ≤ u) (bounded : u ≤ 1) :
                Real.exp u - 1 ≤ (Real.exp 1 - 1) * u
                noncomputable def QuantumParallelRepetition.unconditionalPublicBucketLoss (B Q : ℕ) (asynchronous precision : ℝ) :
                Equations
                Instances For
                  theorem QuantumParallelRepetition.exists_proofUnconditionalPublicBucketBalance (t : ℝ) (positive : 0 < t) (bounded : t ≤ 1) :
                  ∃ (B : ℕ) (Q : ℕ), 0 < B ∧ 0 < Q ∧ 1 / ↑B ≤ t / 2 ∧ ↑Q / ↑B ≤ 3 / t ∧ (↑B + 1) / ↑Q ≤ t ∧ Real.exp ((↑B + 1) / ↑Q) - 1 ≤ (Real.exp 1 - 1) * t ∧ ∀ (asynchronous precision : ℝ), 0 ≤ asynchronous → unconditionalPublicBucketLoss B Q asynchronous precision ≤ 34 / t * asynchronous + 4 * precision ^ 2 + (16 * (Real.exp 1 - 1) + 4) * t
                  theorem QuantumParallelRepetition.exists_proofUnconditionalStoppedCommonPrefixBalancedHazard {d N : ℕ} (grid : 0 < N) (dimension : 0 < d) (t : ℝ) (positive : 0 < t) (bounded : t ≤ 1) (precision : ℝ) (precision_positive : 0 < precision) :
                  ∃ (B : ℕ) (Q : ℕ) (n : ℕ), 0 < B ∧ 0 < Q ∧ 0 < n ∧ ∃ (A : Fin B → Option ℕ → ↥(Matrix.unitaryGroup (Fin (N * n)) ℂ)) (C : Fin B → Option ℕ → ↥(Matrix.unitaryGroup (Fin (N * n)) ℂ)), ∀ {S L : ℕ} (width : Fin S → ℝ) (schedule : Fin L → Fin S) (ξ ζ : BipartiteUnitVector d), dSVDensityRationalHeterogeneousStoppedCommonPrefixHazard Q n width schedule ξ ζ A C ≤ 34 / t * dSVDensityRationalHeterogeneousActualAsynchronousFlagMass N width schedule ξ ζ + 4 * precision ^ 2 + (16 * (Real.exp 1 - 1) + 4) * t
                  theorem QuantumParallelRepetition.unconditionalPrefactor_fourthRoot_sq {a : ℝ} (nonnegative : 0 ≤ a) :
                  (a ^ (1 / 4)) ^ 2 = √a
                  theorem QuantumParallelRepetition.unconditionalPrefactor_fourthRoot_async_le {eta alpha : ℝ} (eta_nonnegative : 0 ≤ eta) (alpha_nonnegative : 0 ≤ alpha) :
                  (64 * √eta + alpha ^ (1 / 3)) ^ (1 / 4) ≤ 4 * eta ^ (1 / 8) + alpha ^ (1 / 12)
                  theorem QuantumParallelRepetition.unconditionalPrefactor_fourthRoot_async_le_twelfth {eta alpha : ℝ} (eta_nonnegative : 0 ≤ eta) (eta_bounded : eta ≤ 1) (alpha_nonnegative : 0 ≤ alpha) :
                  (64 * √eta + alpha ^ (1 / 3)) ^ (1 / 4) ≤ 4 * eta ^ (1 / 12) + alpha ^ (1 / 12)
                  theorem QuantumParallelRepetition.unconditionalPrefactor_smallHazard_twelfthRoot_le {eta alpha : ℝ} (eta_nonnegative : 0 ≤ eta) (alpha_positive : 0 < alpha) (small : 64 * √eta + alpha ^ (1 / 3) ≤ 1) :
                  √(34 / √(64 * √eta + alpha ^ (1 / 3)) * (64 * √eta + alpha ^ (1 / 3)) + 4 * (alpha ^ (1 / 12)) ^ 2 + unconditionalPrefactorBucketCoefficient * √(64 * √eta + alpha ^ (1 / 3))) ≤ (4 * √(34 + unconditionalPrefactorBucketCoefficient) + 2) * (eta ^ (1 / 12) + alpha ^ (1 / 12))
                  theorem QuantumParallelRepetition.unconditionalPrefactor_largeVerifier_twelfthRoot_le {eta alpha : ℝ} (eta_nonnegative : 0 ≤ eta) (alpha_positive : 0 < alpha) (alpha_bounded : alpha ≤ 1) (large : 1 < 64 * √eta + alpha ^ (1 / 3)) :
                  2 ≤ 128 * (eta ^ (1 / 12) + alpha ^ (1 / 12))
                  theorem QuantumParallelRepetition.unconditionalExactSourceScalarClipping (d : ℕ) (dimension : 0 < d) (alpha : ℝ) (alpha_positive : 0 < alpha) (alpha_bounded : alpha ≤ 1) :
                  ∃ (w : ℝ) (N : ℕ), 1 ≤ w ∧ 0 < N ∧ 2 * (w + 1) * (↑d / ↑N) ≤ alpha ^ (1 / 3) ∧ 1 / w + ↑d * w / ↑N ≤ 3 * alpha ^ (1 / 3) / 2 ∧ (∀ (ξ : BipartiteUnitVector d), ‖↑ξ - dSVDensityRationalCanonicalAcceptedTarget w N ξ‖ ^ 2 ≤ 3 * alpha ^ (1 / 3) / 2) ∧ ∀ (ξ ζ : BipartiteUnitVector d), dSVDensityRationalLeftProjectiveThresholdAtomMismatch w N ξ ζ / dSVDensityRationalLeftProjectiveDiagonalMass w N ξ ≤ 8 * √2 * ‖↑ξ - ↑ζ‖ + alpha ^ (1 / 3)
                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    noncomputable def QuantumParallelRepetition.exactLocallySampleableJARounded {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)) (denominator : ℕ) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (t : ExactLocallySampleableTuple X Y A B D) :
                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      noncomputable def QuantumParallelRepetition.exactLocallySampleableJBRounded {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)) (denominator : ℕ) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (t : ExactLocallySampleableTuple X Y A B D) :
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        theorem QuantumParallelRepetition.exactLocallySampleableJA_weightedConditional {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)) (base : ExactHistoryFlag X Y A B D) :
                        theorem QuantumParallelRepetition.exactLocallySampleableJB_weightedConditional {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)) (base : ExactHistoryFlag X Y A B D) :
                        theorem QuantumParallelRepetition.exactLocallySampleableJARounded_weightedConditional {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)) (denominator : ℕ) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) :
                        exactLocallySampleableJARounded G n D denominator numerator ∘ ⇑(exactLocalQuestionHistoryEquiv D) = weightedConditionalJoint (localQuestionWeight G n D) fun (c : LocalQuestionContext X Y D) (r : ExactHistoryFlag X Y A B D) => ↑(numerator (Sum.inl (c.1, c.2.1)) r) / ↑denominator
                        theorem QuantumParallelRepetition.exactLocallySampleableJBRounded_weightedConditional {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)) (denominator : ℕ) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) :
                        exactLocallySampleableJBRounded G n D denominator numerator ∘ ⇑(exactLocalQuestionHistoryEquiv D) = weightedConditionalJoint (localQuestionWeight G n D) fun (c : LocalQuestionContext X Y D) (r : ExactHistoryFlag X Y A B D) => ↑(numerator (Sum.inr (c.1, c.2.2)) r) / ↑denominator
                        theorem QuantumParallelRepetition.exactLocallySampleableJA_rounded_totalVariation_le {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)) (remaining : 0 < (Finset.univ \ D).card) (base : ExactHistoryFlag X Y A B D) (denominator : ℕ) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) {gamma : ℝ} (approximation : ∀ (k : ExactLocalSamplerIndex X Y D), (Pinsker.finiteTotalVariation (exactLocalConditionalFamily D base (exactLocallySampleableLaw G n S D) k) fun (r : ExactHistoryFlag X Y A B D) => ↑(numerator k r) / ↑denominator) < gamma) :
                        theorem QuantumParallelRepetition.exactLocallySampleableJB_rounded_totalVariation_le {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)) (remaining : 0 < (Finset.univ \ D).card) (base : ExactHistoryFlag X Y A B D) (denominator : ℕ) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) {gamma : ℝ} (approximation : ∀ (k : ExactLocalSamplerIndex X Y D), (Pinsker.finiteTotalVariation (exactLocalConditionalFamily D base (exactLocallySampleableLaw G n S D) k) fun (r : ExactHistoryFlag X Y A B D) => ↑(numerator k r) / ↑denominator) < gamma) :
                        theorem QuantumParallelRepetition.exactLocallySampleableRounded_pair_totalVariation {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)) (denominator : ℕ) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) :
                        Pinsker.finiteTotalVariation (exactLocallySampleableJARounded G n D denominator numerator) (exactLocallySampleableJBRounded G n D denominator numerator) = ∑ c : LocalQuestionContext X Y D, localQuestionWeight G n D c * Pinsker.finiteTotalVariation (fun (r : ExactHistoryFlag X Y A B D) => ↑(numerator (Sum.inl (c.1, c.2.1)) r) / ↑denominator) fun (r : ExactHistoryFlag X Y A B D) => ↑(numerator (Sum.inr (c.1, c.2.2)) r) / ↑denominator
                        noncomputable def QuantumParallelRepetition.exactLocallySampleablePermutationMismatch {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)) (denominator : ℕ) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (nonempty : ∀ (k : ExactLocalSamplerIndex X Y D), (ClassicalSampling.rationalMarked denominator (numerator k)).Nonempty) :
                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          theorem QuantumParallelRepetition.exactLocallySampleablePermutationMismatch_le_two_tv {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)) (denominator : ℕ) (positive : 0 < denominator) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (normalized : ∀ (k : ExactLocalSamplerIndex X Y D), ∑ r : ExactHistoryFlag X Y A B D, numerator k r = denominator) (nonempty : ∀ (k : ExactLocalSamplerIndex X Y D), (ClassicalSampling.rationalMarked denominator (numerator k)).Nonempty) :
                          exactLocallySampleablePermutationMismatch G n D denominator numerator nonempty ≤ 2 * Pinsker.finiteTotalVariation (exactLocallySampleableJARounded G n D denominator numerator) (exactLocallySampleableJBRounded G n D denominator numerator)
                          @[reducible, inline]
                          abbrev QuantumParallelRepetition.ExactSourceSharedFlag (X Y A B : Type) [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {n : ℕ} (D : Finset (Fin n)) (denominator : ℕ) :
                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            noncomputable def QuantumParallelRepetition.exactSourceSharedFlagWeight {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {n : ℕ} (D : Finset (Fin n)) (denominator : ℕ) :
                            ExactSourceSharedFlag X Y A B D denominator → ℝ
                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              theorem QuantumParallelRepetition.exactSourceSharedFlagWeight_nonneg {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {n : ℕ} (D : Finset (Fin n)) (denominator : ℕ) (j : ExactSourceSharedFlag X Y A B D denominator) :
                              theorem QuantumParallelRepetition.exactSourceSharedFlagWeight_sum {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {n : ℕ} (D : Finset (Fin n)) (remaining : 0 < (Finset.univ \ D).card) (denominator : ℕ) :
                              ∑ j : ExactSourceSharedFlag X Y A B D denominator, exactSourceSharedFlagWeight D denominator j = 1
                              noncomputable def QuantumParallelRepetition.exactSourceAlicePermutationHistory {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {n : ℕ} (D : Finset (Fin n)) (denominator : ℕ) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (nonempty : ∀ (k : ExactLocalSamplerIndex X Y D), (ClassicalSampling.rationalMarked denominator (numerator k)).Nonempty) (j : ExactSourceSharedFlag X Y A B D denominator) (x : X) :
                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                noncomputable def QuantumParallelRepetition.exactSourceBobPermutationHistory {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {n : ℕ} (D : Finset (Fin n)) (denominator : ℕ) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (nonempty : ∀ (k : ExactLocalSamplerIndex X Y D), (ClassicalSampling.rationalMarked denominator (numerator k)).Nonempty) (j : ExactSourceSharedFlag X Y A B D denominator) (y : Y) :
                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  noncomputable def QuantumParallelRepetition.exactSourcePermutationMatched {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {n : ℕ} (D : Finset (Fin n)) (denominator : ℕ) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (nonempty : ∀ (k : ExactLocalSamplerIndex X Y D), (ClassicalSampling.rationalMarked denominator (numerator k)).Nonempty) (ω : ExactSourceSharedFlag X Y A B D denominator × X × Y) :
                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For
                                    theorem QuantumParallelRepetition.exactSourceSharedFlag_mismatch_eq {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (D : Finset (Fin n)) (denominator : ℕ) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (nonempty : ∀ (k : ExactLocalSamplerIndex X Y D), (ClassicalSampling.rationalMarked denominator (numerator k)).Nonempty) :
                                    (∑ ω : ExactSourceSharedFlag X Y A B D denominator × X × Y, flaggedQuestionWeight G (exactSourceSharedFlagWeight D denominator) ω * if exactSourcePermutationMatched D denominator numerator nonempty ω = true then 0 else 1) = exactLocallySampleablePermutationMismatch G n D denominator numerator nonempty
                                    theorem QuantumParallelRepetition.exactSourceSharedFlag_mismatch_le {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (D : Finset (Fin n)) (denominator : ℕ) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (nonempty : ∀ (k : ExactLocalSamplerIndex X Y D), (ClassicalSampling.rationalMarked denominator (numerator k)).Nonempty) {lam : ℝ} (mismatch : exactLocallySampleablePermutationMismatch G n D denominator numerator nonempty ≤ 4 * lam) :
                                    (∑ ω : ExactSourceSharedFlag X Y A B D denominator × X × Y, flaggedQuestionWeight G (exactSourceSharedFlagWeight D denominator) ω * if exactSourcePermutationMatched D denominator numerator nonempty ω = true then 0 else 1) ≤ 4 * lam
                                    theorem QuantumParallelRepetition.reweightedSeed_reverse_source_prefix_information_budget {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {K : Type u_5} {V : Type u_6} [Fintype K] [Fintype V] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (remaining : 0 < (Finset.univ \ D).card) (positive : 0 < repeatedPostselectionMass G n S D) (seedLaw : Finset (SourceRemainingCoordinate D) → FiniteEventLaw K) (Ω : Finset (SourceRemainingCoordinate D) → Type u_7) [(side : Finset (SourceRemainingCoordinate D)) → Fintype (Ω side)] (projection : (side : Finset (SourceRemainingCoordinate D)) → K × ExactOutcome X Y A B n → Ω side × (Fin side.card → V)) (default : V) :
                                    ∑ side : Finset (SourceRemainingCoordinate D), reversePartitionWeight side * ((∑ k : Fin side.card, reweightedSeedPrefixEntropyIncrement (seedLaw side) G n S D (projection side) default k) / ↑side.card) ≤ 2 * (postselectionLogCost G n S D + answerLogCost D) / ↑(Finset.univ \ D).card
                                    def QuantumParallelRepetition.finiteIndependentProductWeight {ι : Type u_1} {V : Type u_2} [Fintype ι] [Fintype V] (q : ι → V → ℝ) (x : ι → V) :
                                    Equations
                                    Instances For
                                      noncomputable def QuantumParallelRepetition.finiteCoordinateMarginal {ι : Type u_1} {V : Type u_2} [Fintype ι] [Fintype V] (p : (ι → V) → ℝ) (i : ι) :
                                      V → ℝ
                                      Equations
                                      Instances For
                                        theorem QuantumParallelRepetition.finiteIndependentProductWeight_nonneg {ι : Type u_1} {V : Type u_2} [Fintype ι] [Fintype V] (q : ι → V → ℝ) (hq : ∀ (i : ι) (v : V), 0 ≤ q i v) (x : ι → V) :
                                        theorem QuantumParallelRepetition.finiteIndependentProductWeight_sum {ι : Type u_1} {V : Type u_2} [Fintype ι] [Fintype V] (q : ι → V → ℝ) (hq : ∀ (i : ι), ∑ v : V, q i v = 1) :
                                        ∑ x : ι → V, finiteIndependentProductWeight q x = 1
                                        theorem QuantumParallelRepetition.finiteCoordinateMarginal_nonneg {ι : Type u_1} {V : Type u_2} [Fintype ι] [Fintype V] (p : (ι → V) → ℝ) (hp : ∀ (x : ι → V), 0 ≤ p x) (i : ι) (v : V) :
                                        theorem QuantumParallelRepetition.finiteCoordinateMarginal_sum {ι : Type u_1} {V : Type u_2} [Fintype ι] [Fintype V] (p : (ι → V) → ℝ) (i : ι) :
                                        ∑ v : V, finiteCoordinateMarginal p i v = ∑ x : ι → V, p x
                                        theorem QuantumParallelRepetition.finiteJoint_le_coordinateMarginal {ι : Type u_1} {V : Type u_2} [Fintype ι] [Fintype V] (p : (ι → V) → ℝ) (hp : ∀ (x : ι → V), 0 ≤ p x) (x : ι → V) (i : ι) :
                                        theorem QuantumParallelRepetition.finiteCoordinateMarginal_absolute_continuity {ι : Type u_1} {V : Type u_2} [Fintype ι] [Fintype V] (p : (ι → V) → ℝ) (q : ι → V → ℝ) (hac : ∀ (x : ι → V), finiteIndependentProductWeight q x = 0 → p x = 0) (i : ι) (v : V) :
                                        q i v = 0 → finiteCoordinateMarginal p i v = 0
                                        theorem QuantumParallelRepetition.finiteJoint_absolute_continuous_product_marginals {ι : Type u_1} {V : Type u_2} [Fintype ι] [Fintype V] (p : (ι → V) → ℝ) (hp : ∀ (x : ι → V), 0 ≤ p x) (x : ι → V) :
                                        theorem QuantumParallelRepetition.finiteCoordinateMarginal_sum_mul {ι : Type u_1} {V : Type u_2} [Fintype ι] [Fintype V] (p : (ι → V) → ℝ) (i : ι) (f : V → ℝ) :
                                        ∑ x : ι → V, p x * f (x i) = ∑ v : V, finiteCoordinateMarginal p i v * f v
                                        theorem QuantumParallelRepetition.finiteProductMarginal_relativeEntropy_le {ι : Type u_1} {V : Type u_2} [Fintype ι] [Fintype V] (p : (ι → V) → ℝ) (q : ι → V → ℝ) (hp : ∀ (x : ι → V), 0 ≤ p x) (hp_normalized : ∑ x : ι → V, p x = 1) (hq : ∀ (i : ι) (v : V), 0 ≤ q i v) (hq_normalized : ∀ (i : ι), ∑ v : V, q i v = 1) (absolute_continuity : ∀ (x : ι → V), finiteIndependentProductWeight q x = 0 → p x = 0) :
                                        theorem QuantumParallelRepetition.exactIndependentCoordinateQuestion_marginal {M : Type u_5} {Ω : Type u_6} {V : Type u_7} [Fintype M] [DecidableEq M] [Fintype Ω] [Fintype V] (outcome : Ω → ℝ) (question : Ω → M → V) (i : M) (v : V) :
                                        ClassicalInformation.groupedMass (fun (t : ExactForwardSeed M × Ω) => (t.1.coordinate, question t.2 t.1.coordinate)) (fun (t : ExactForwardSeed M × Ω) => exactSeedWeight t.1 * outcome t.2) (i, v) = 1 / ↑(Fintype.card M) * ClassicalInformation.groupedMass (fun (ω : Ω) => question ω i) outcome v
                                        theorem QuantumParallelRepetition.strategyAliceQuestionPrior_marginal {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) :
                                        theorem QuantumParallelRepetition.strategyBobQuestionPrior_marginal {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) (y : Y) :
                                        theorem QuantumParallelRepetition.repeatedAliceQuestionPrior_product {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)) (xs : Fin n → X) :
                                        theorem QuantumParallelRepetition.repeatedBobQuestionPrior_product {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)) (ys : Fin n → Y) :
                                        noncomputable def QuantumParallelRepetition.repeatedAlicePostselectedQuestionLaw {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)) :
                                        (Fin n → X) → ℝ
                                        Equations
                                        • One or more equations did not get rendered due to their size.
                                        Instances For
                                          noncomputable def QuantumParallelRepetition.repeatedBobPostselectedQuestionLaw {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)) :
                                          (Fin n → Y) → ℝ
                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          Instances For
                                            theorem QuantumParallelRepetition.exactGroupedMass_equiv {Ω : Type u_5} {K : Type u_6} {V : Type u_7} [Fintype Ω] [Fintype K] [Fintype V] (equiv : Ω ≃ K) (projection : Ω → V) (mass : Ω → ℝ) (v : V) :
                                            ClassicalInformation.groupedMass (fun (k : K) => projection (equiv.symm k)) (fun (k : K) => mass (equiv.symm k)) v = ClassicalInformation.groupedMass projection mass v
                                            theorem QuantumParallelRepetition.finiteProductMarginal_projection_relativeEntropy_le {Ω : Type u_5} {ι : Type u_6} {V : Type u_7} [Fintype Ω] [Fintype ι] [Fintype V] (posterior prior : Ω → ℝ) (projection : Ω → ι → V) (q : ι → V → ℝ) (budget : ℝ) (posterior_nonnegative : ∀ (ω : Ω), 0 ≤ posterior ω) (posterior_normalized : ∑ ω : Ω, posterior ω = 1) (prior_nonnegative : ∀ (ω : Ω), 0 ≤ prior ω) (absolute_continuity : ∀ (ω : Ω), prior ω = 0 → posterior ω = 0) (coordinate_nonnegative : ∀ (i : ι) (v : V), 0 ≤ q i v) (coordinate_normalized : ∀ (i : ι), ∑ v : V, q i v = 1) (actual_prior : ClassicalInformation.groupedMass projection prior = finiteIndependentProductWeight q) (actual_budget : Pinsker.finiteRelativeEntropy posterior prior ≤ budget) :
                                            theorem QuantumParallelRepetition.finiteCoordinateMarginal_groupedMass {Ω : Type u_5} {ι : Type u_6} {V : Type u_7} [Fintype Ω] [Fintype ι] [Fintype V] (projection : Ω → ι → V) (mass : Ω → ℝ) (i : ι) (v : V) :
                                            finiteCoordinateMarginal (ClassicalInformation.groupedMass projection mass) i v = ClassicalInformation.groupedMass (fun (ω : Ω) => projection ω i) mass v
                                            theorem QuantumParallelRepetition.finiteUniformCoordinate_relativeEntropy {ι : Type u_5} {V : Type u_6} [Fintype ι] [Fintype V] (positive : 0 < Fintype.card ι) (posterior : ι → V → ℝ) (prior : V → ℝ) :
                                            (Pinsker.finiteRelativeEntropy (fun (t : ι × V) => 1 / ↑(Fintype.card ι) * posterior t.1 t.2) fun (t : ι × V) => 1 / ↑(Fintype.card ι) * prior t.2) = 1 / ↑(Fintype.card ι) * ∑ i : ι, Pinsker.finiteRelativeEntropy (posterior i) prior
                                            theorem QuantumParallelRepetition.repeatedAlicePostselectedQuestionLaw_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 : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (positive : 0 < repeatedPostselectionMass G n S D) (xs : Fin n → X) :
                                            theorem QuantumParallelRepetition.repeatedBobPostselectedQuestionLaw_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 : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (positive : 0 < repeatedPostselectionMass G n S D) (ys : Fin n → Y) :
                                            theorem QuantumParallelRepetition.repeatedAlicePostselectedCoordinateMarginal {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)) (j : Fin n) (x : X) :
                                            theorem QuantumParallelRepetition.repeatedBobPostselectedCoordinateMarginal {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)) (j : Fin n) (y : Y) :
                                            theorem QuantumParallelRepetition.sourceRemaining_nonnegative_sum_le {n : ℕ} (D : Finset (Fin n)) (f : Fin n → ℝ) (nonnegative : ∀ (j : Fin n), 0 ≤ f j) :
                                            ∑ i : SourceRemainingCoordinate D, f ↑i ≤ ∑ j : Fin n, f j
                                            theorem QuantumParallelRepetition.exactAliceSourceMarginalInformation_le {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)) (remaining : 0 < (Finset.univ \ D).card) (positive : 0 < repeatedPostselectionMass G n S D) (base : ExactHistoryFlag X Y A B D) :
                                            theorem QuantumParallelRepetition.exactBobSourceMarginalInformation_le {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)) (remaining : 0 < (Finset.univ \ D).card) (positive : 0 < repeatedPostselectionMass G n S D) (base : ExactHistoryFlag X Y A B D) :
                                            theorem QuantumParallelRepetition.exact_source_equation_twenty_three_of_conditioned_reverse_prefix {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {KA : Type u_5} {KB : Type u_6} [Fintype KA] [Fintype KB] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (remaining : 0 < (Finset.univ \ D).card) (positive : 0 < repeatedPostselectionMass G n S D) (base : ExactHistoryFlag X Y A B D) (seedLawA : Finset (SourceRemainingCoordinate D) → FiniteEventLaw KA) (seedLawB : Finset (SourceRemainingCoordinate D) → FiniteEventLaw KB) (ΩA : Finset (SourceRemainingCoordinate D) → Type u_7) (ΩB : Finset (SourceRemainingCoordinate D) → Type u_8) [(side : Finset (SourceRemainingCoordinate D)) → Fintype (ΩA side)] [(side : Finset (SourceRemainingCoordinate D)) → Fintype (ΩB side)] (projectionA : (side : Finset (SourceRemainingCoordinate D)) → KA × ExactOutcome X Y A B n → ΩA side × (Fin side.card → Y)) (projectionB : (side : Finset (SourceRemainingCoordinate D)) → KB × ExactOutcome X Y A B n → ΩB side × (Fin side.card → X)) (defaultY : Y) (defaultX : X) (aliceConditionedReverseIdentification : exactAliceSourceConditionalInformation G n S D base = ∑ side : Finset (SourceRemainingCoordinate D), reversePartitionWeight side * ((∑ k : Fin side.card, reweightedSeedPrefixEntropyIncrement (seedLawA side) G n S D (projectionA side) defaultY k) / ↑side.card)) (bobConditionedReverseIdentification : exactBobSourceConditionalInformation G n S D base = ∑ side : Finset (SourceRemainingCoordinate D), reversePartitionWeight side * ((∑ k : Fin side.card, reweightedSeedPrefixEntropyIncrement (seedLawB side) G n S D (projectionB side) defaultX k) / ↑side.card)) :
                                            noncomputable def QuantumParallelRepetition.exactConditionedReverseAlicePrefixEntropyIncrement {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)) (remaining : 0 < (Finset.univ \ D).card) (side : Finset (SourceRemainingCoordinate D)) (default : Y) (k : Fin side.card) :
                                            Equations
                                            • One or more equations did not get rendered due to their size.
                                            Instances For
                                              noncomputable def QuantumParallelRepetition.exactConditionedReverseBobPrefixEntropyIncrement {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)) (remaining : 0 < (Finset.univ \ D).card) (side : Finset (SourceRemainingCoordinate D)) (default : X) (k : Fin side.card) :
                                              Equations
                                              • One or more equations did not get rendered due to their size.
                                              Instances For
                                                noncomputable def QuantumParallelRepetition.exactConditionedReverseAlicePrefixInformation {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)) (remaining : 0 < (Finset.univ \ D).card) (default : Y) :
                                                Equations
                                                • One or more equations did not get rendered due to their size.
                                                Instances For
                                                  noncomputable def QuantumParallelRepetition.exactConditionedReverseBobPrefixInformation {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)) (remaining : 0 < (Finset.univ \ D).card) (default : X) :
                                                  Equations
                                                  • One or more equations did not get rendered due to their size.
                                                  Instances For
                                                    def QuantumParallelRepetition.ExactReverseAliceConditionalHistoryIdentification {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)) (remaining : 0 < (Finset.univ \ D).card) (base : ExactHistoryFlag X Y A B D) (default : Y) :
                                                    Equations
                                                    • One or more equations did not get rendered due to their size.
                                                    Instances For
                                                      def QuantumParallelRepetition.ExactReverseBobConditionalHistoryIdentification {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)) (remaining : 0 < (Finset.univ \ D).card) (base : ExactHistoryFlag X Y A B D) (default : X) :
                                                      Equations
                                                      • One or more equations did not get rendered due to their size.
                                                      Instances For
                                                        theorem QuantumParallelRepetition.exact_source_equation_twenty_three_of_actual_conditioned_reindex {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)) (remaining : 0 < (Finset.univ \ D).card) (positive : 0 < repeatedPostselectionMass G n S D) (base : ExactHistoryFlag X Y A B D) (defaultY : Y) (defaultX : X) (alice : ExactReverseAliceConditionalHistoryIdentification G n S D remaining base defaultY) (bob : ExactReverseBobConditionalHistoryIdentification G n S D remaining base defaultX) :
                                                        theorem QuantumParallelRepetition.finiteSupportedConditionalHistoryReferenceFirstMarginal_eq {I : Type u_1} {R : Type u_2} {V : Type u_3} [Fintype I] [Fintype R] [Fintype V] (p q : I × R × V → ℝ) (q_nonnegative : ∀ (point : I × R × V), 0 ≤ q point) (absolute_continuity : ∀ (point : I × R × V), q point = 0 → p point = 0) (reference : I → R → V → ℝ) (reference_normalized : ∀ (i : I), ClassicalInformation.jointFirstMarginal p i ≠ 0 → ∀ (r : R), ∑ v : V, reference i r v = 1) (factor : ∀ (i : I), ClassicalInformation.jointFirstMarginal p i ≠ 0 → ∀ (r : R) (v : V), q (i, r, v) = ClassicalInformation.jointFirstMarginal q i * ClassicalInformation.jointFirstMarginal (ClassicalInformation.jointConditional p i) r * reference i r v) (i : I) (supported : ClassicalInformation.jointFirstMarginal p i ≠ 0) :
                                                        theorem QuantumParallelRepetition.finiteSupportedConditionalHistoryReferenceConditional_eq {I : Type u_1} {R : Type u_2} {V : Type u_3} [Fintype I] [Fintype R] [Fintype V] (p q : I × R × V → ℝ) (q_nonnegative : ∀ (point : I × R × V), 0 ≤ q point) (absolute_continuity : ∀ (point : I × R × V), q point = 0 → p point = 0) (reference : I → R → V → ℝ) (reference_normalized : ∀ (i : I), ClassicalInformation.jointFirstMarginal p i ≠ 0 → ∀ (r : R), ∑ v : V, reference i r v = 1) (factor : ∀ (i : I), ClassicalInformation.jointFirstMarginal p i ≠ 0 → ∀ (r : R) (v : V), q (i, r, v) = ClassicalInformation.jointFirstMarginal q i * ClassicalInformation.jointFirstMarginal (ClassicalInformation.jointConditional p i) r * reference i r v) (i : I) (r : R) (supported : ClassicalInformation.jointFirstMarginal p i ≠ 0) (history_supported : ClassicalInformation.jointFirstMarginal (ClassicalInformation.jointConditional p i) r ≠ 0) :
                                                        theorem QuantumParallelRepetition.finiteSupportedConditionalHistoryRelativeEntropy_eq_of_factor {I : Type u_1} {R : Type u_2} {V : Type u_3} [Fintype I] [Fintype R] [Fintype V] (p q : I × R × V → ℝ) (p_nonnegative : ∀ (point : I × R × V), 0 ≤ p point) (q_nonnegative : ∀ (point : I × R × V), 0 ≤ q point) (absolute_continuity : ∀ (point : I × R × V), q point = 0 → p point = 0) (reference : I → R → V → ℝ) (reference_normalized : ∀ (i : I), ClassicalInformation.jointFirstMarginal p i ≠ 0 → ∀ (r : R), ∑ v : V, reference i r v = 1) (factor : ∀ (i : I), ClassicalInformation.jointFirstMarginal p i ≠ 0 → ∀ (r : R) (v : V), q (i, r, v) = ClassicalInformation.jointFirstMarginal q i * ClassicalInformation.jointFirstMarginal (ClassicalInformation.jointConditional p i) r * reference i r v) :
                                                        theorem QuantumParallelRepetition.exactAliceSupportedQuestion_marginal_pos {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)) (remaining : 0 < (Finset.univ \ D).card) (positive : 0 < repeatedPostselectionMass G n S D) (base : ExactHistoryFlag X Y A B D) (i : SourceRemainingCoordinate D) (x : X) (supported : ClassicalInformation.jointFirstMarginal (exactAliceInformationPosterior G n S D) (i, x) ≠ 0) :
                                                        0 < G.marginalX x
                                                        theorem QuantumParallelRepetition.exactBobSupportedQuestion_marginal_pos {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)) (remaining : 0 < (Finset.univ \ D).card) (positive : 0 < repeatedPostselectionMass G n S D) (base : ExactHistoryFlag X Y A B D) (i : SourceRemainingCoordinate D) (y : Y) (supported : ClassicalInformation.jointFirstMarginal (exactBobInformationPosterior G n S D) (i, y) ≠ 0) :
                                                        0 < G.marginalY y
                                                        @[reducible, inline]
                                                        abbrev QuantumParallelRepetition.ExactReverseAliceNextContext (X : Type u_5) (Y : Type u_6) (A : Type u_7) (B : Type u_8) [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {n : ℕ} (D : Finset (Fin n)) (side : Finset (SourceRemainingCoordinate D)) :
                                                        Type (max (max (max u_8 u_7) u_6 u_5) u_6)
                                                        Equations
                                                        • One or more equations did not get rendered due to their size.
                                                        Instances For
                                                          @[reducible, inline]
                                                          abbrev QuantumParallelRepetition.ExactReverseBobNextContext (X : Type u_5) (Y : Type u_6) (A : Type u_7) (B : Type u_8) [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {n : ℕ} (D : Finset (Fin n)) (side : Finset (SourceRemainingCoordinate D)) :
                                                          Type (max (max (max u_8 u_7) u_6 u_5) u_5)
                                                          Equations
                                                          • One or more equations did not get rendered due to their size.
                                                          Instances For
                                                            noncomputable def QuantumParallelRepetition.exactConditionedReverseAliceNextJoint {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)) (remaining : 0 < (Finset.univ \ D).card) (side : Finset (SourceRemainingCoordinate D)) :
                                                            Equations
                                                            • One or more equations did not get rendered due to their size.
                                                            Instances For
                                                              noncomputable def QuantumParallelRepetition.exactConditionedReverseAliceNextPrior {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)) (remaining : 0 < (Finset.univ \ D).card) (side : Finset (SourceRemainingCoordinate D)) :
                                                              Equations
                                                              • One or more equations did not get rendered due to their size.
                                                              Instances For
                                                                noncomputable def QuantumParallelRepetition.exactConditionedReverseBobNextJoint {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)) (remaining : 0 < (Finset.univ \ D).card) (side : Finset (SourceRemainingCoordinate D)) :
                                                                ExactReverseBobNextContext X Y A B D side → ℝ
                                                                Equations
                                                                • One or more equations did not get rendered due to their size.
                                                                Instances For
                                                                  noncomputable def QuantumParallelRepetition.exactConditionedReverseBobNextPrior {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)) (remaining : 0 < (Finset.univ \ D).card) (side : Finset (SourceRemainingCoordinate D)) :
                                                                  ExactReverseBobNextContext X Y A B D side → ℝ
                                                                  Equations
                                                                  • One or more equations did not get rendered due to their size.
                                                                  Instances For
                                                                    theorem QuantumParallelRepetition.groupedMass_product_injective_seed {K : Type u_1} {Ω : Type u_2} {C : Type u_3} {T : Type u_4} [Fintype K] [Fintype Ω] [Fintype C] [Fintype T] [DecidableEq C] [DecidableEq T] (code : K → C) (injective : Function.Injective code) (projection : K → Ω → T) (seedWeight : K → ℝ) (outcomeWeight : Ω → ℝ) (seed : K) (target : T) :
                                                                    ClassicalInformation.groupedMass (fun (q : K × Ω) => (code q.1, projection q.1 q.2)) (fun (q : K × Ω) => seedWeight q.1 * outcomeWeight q.2) (code seed, target) = seedWeight seed * ClassicalInformation.groupedMass (projection seed) outcomeWeight target
                                                                    theorem QuantumParallelRepetition.jointConditional_groupedMass_eq_of_fiber {Ω : Type u_1} {C : Type u_2} {D : Type u_3} {V : Type u_4} [Fintype Ω] [Fintype C] [Fintype D] [Fintype V] [DecidableEq (C × V)] [DecidableEq (D × V)] (mass : Ω → ℝ) (left : Ω → C) (right : Ω → D) (next : Ω → V) (leftTarget : C) (rightTarget : D) (same_fiber : ∀ (outcome : Ω), left outcome = leftTarget ↔ right outcome = rightTarget) :
                                                                    ClassicalInformation.jointConditional (ClassicalInformation.groupedMass (fun (outcome : Ω) => (left outcome, next outcome)) mass) leftTarget = ClassicalInformation.jointConditional (ClassicalInformation.groupedMass (fun (outcome : Ω) => (right outcome, next outcome)) mass) rightTarget
                                                                    noncomputable def QuantumParallelRepetition.exactReverseAliceMarkedHistoryContext {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)) (default : Y) (seed : ExactRemainingSeed D) (outcome : ExactOutcome X Y A B n) :
                                                                    Equations
                                                                    • One or more equations did not get rendered due to their size.
                                                                    Instances For
                                                                      noncomputable def QuantumParallelRepetition.exactReverseBobMarkedHistoryContext {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)) (default : X) (seed : ExactRemainingSeed D) (outcome : ExactOutcome X Y A B n) :
                                                                      Equations
                                                                      • One or more equations did not get rendered due to their size.
                                                                      Instances For
                                                                        theorem QuantumParallelRepetition.exactConditionedAnswerFlag_eq_of_history {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)) (q q' : ExactJointOutcome X Y A B D) (same_history : exactHistoryCode D q = exactHistoryCode D q') :
                                                                        theorem QuantumParallelRepetition.exactReverseAliceMarkedHistoryContext_eq_of_history {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)) (default : Y) (seed : ExactRemainingSeed D) (outcome outcome' : ExactOutcome X Y A B n) (same_history : exactHistoryCode D (seed, outcome) = exactHistoryCode D (seed, outcome')) (same_question : outcome.1 ↑seed.coordinate = outcome'.1 ↑seed.coordinate) :
                                                                        exactReverseAliceMarkedHistoryContext G n S D default seed outcome = exactReverseAliceMarkedHistoryContext G n S D default seed outcome'
                                                                        theorem QuantumParallelRepetition.exactReverseBobMarkedHistoryContext_eq_of_history {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)) (default : X) (seed : ExactRemainingSeed D) (outcome outcome' : ExactOutcome X Y A B n) (same_history : exactHistoryCode D (seed, outcome) = exactHistoryCode D (seed, outcome')) (same_question : outcome.2.1 ↑seed.coordinate = outcome'.2.1 ↑seed.coordinate) :
                                                                        exactReverseBobMarkedHistoryContext G n S D default seed outcome = exactReverseBobMarkedHistoryContext G n S D default seed outcome'
                                                                        theorem QuantumParallelRepetition.exactReverseAlice_history_of_marked_context {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)) (default : Y) (seed : ExactRemainingSeed D) (outcome outcome' : ExactOutcome X Y A B n) (same_context : exactReverseAliceMarkedHistoryContext G n S D default seed outcome = exactReverseAliceMarkedHistoryContext G n S D default seed outcome') :
                                                                        outcome.1 ↑seed.coordinate = outcome'.1 ↑seed.coordinate ∧ exactHistoryCode D (seed, outcome) = exactHistoryCode D (seed, outcome')
                                                                        theorem QuantumParallelRepetition.exactReverseBob_history_of_marked_context {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)) (default : X) (seed : ExactRemainingSeed D) (outcome outcome' : ExactOutcome X Y A B n) (same_context : exactReverseBobMarkedHistoryContext G n S D default seed outcome = exactReverseBobMarkedHistoryContext G n S D default seed outcome') :
                                                                        outcome.2.1 ↑seed.coordinate = outcome'.2.1 ↑seed.coordinate ∧ exactHistoryCode D (seed, outcome) = exactHistoryCode D (seed, outcome')
                                                                        theorem QuantumParallelRepetition.exactReverseAliceMarkedHistoryContext_fiber_iff {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)) (default : Y) (seed : ExactRemainingSeed D) (outcome reference : ExactOutcome X Y A B n) :
                                                                        exactReverseAliceMarkedHistoryContext G n S D default seed outcome = exactReverseAliceMarkedHistoryContext G n S D default seed reference ↔ (outcome.1 ↑seed.coordinate, exactHistoryCode D (seed, outcome)) = (reference.1 ↑seed.coordinate, exactHistoryCode D (seed, reference))
                                                                        theorem QuantumParallelRepetition.exactReverseBobMarkedHistoryContext_fiber_iff {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)) (default : X) (seed : ExactRemainingSeed D) (outcome reference : ExactOutcome X Y A B n) :
                                                                        exactReverseBobMarkedHistoryContext G n S D default seed outcome = exactReverseBobMarkedHistoryContext G n S D default seed reference ↔ (outcome.2.1 ↑seed.coordinate, exactHistoryCode D (seed, outcome)) = (reference.2.1 ↑seed.coordinate, exactHistoryCode D (seed, reference))
                                                                        theorem QuantumParallelRepetition.exactReverseAliceMarkedPosteriorConditional_eq_sourceFiber {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)) (default : Y) (seed : ExactRemainingSeed D) (reference : ExactOutcome X Y A B n) :
                                                                        ClassicalInformation.jointConditional (ClassicalInformation.groupedMass (fun (outcome : ExactOutcome X Y A B n) => (exactReverseAliceMarkedHistoryContext G n S D default seed outcome, outcome.2.1 ↑seed.coordinate)) (repeatedConditionedOutcomeLaw G n S D)) (exactReverseAliceMarkedHistoryContext G n S D default seed reference) = ClassicalInformation.jointConditional (ClassicalInformation.groupedMass (fun (outcome : ExactOutcome X Y A B n) => ((outcome.1 ↑seed.coordinate, exactHistoryCode D (seed, outcome)), outcome.2.1 ↑seed.coordinate)) (repeatedConditionedOutcomeLaw G n S D)) (reference.1 ↑seed.coordinate, exactHistoryCode D (seed, reference))
                                                                        theorem QuantumParallelRepetition.exactReverseBobMarkedPosteriorConditional_eq_sourceFiber {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)) (default : X) (seed : ExactRemainingSeed D) (reference : ExactOutcome X Y A B n) :
                                                                        ClassicalInformation.jointConditional (ClassicalInformation.groupedMass (fun (outcome : ExactOutcome X Y A B n) => (exactReverseBobMarkedHistoryContext G n S D default seed outcome, outcome.1 ↑seed.coordinate)) (repeatedConditionedOutcomeLaw G n S D)) (exactReverseBobMarkedHistoryContext G n S D default seed reference) = ClassicalInformation.jointConditional (ClassicalInformation.groupedMass (fun (outcome : ExactOutcome X Y A B n) => ((outcome.2.1 ↑seed.coordinate, exactHistoryCode D (seed, outcome)), outcome.1 ↑seed.coordinate)) (repeatedConditionedOutcomeLaw G n S D)) (reference.2.1 ↑seed.coordinate, exactHistoryCode D (seed, reference))
                                                                        theorem QuantumParallelRepetition.reweightedSeedPrefixPrior_as_flagged_pushforward {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {K : Type u_5} {Ω : Type u_6} {V : Type u_7} [Fintype K] [Fintype Ω] [Fintype V] {h : ℕ} (seedLaw : FiniteEventLaw K) (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (projection : K × ExactOutcome X Y A B n → Ω × (Fin h → V)) (t : (Ω × ConditionedAnswerFlag A B D) × (Fin h → V)) :
                                                                        reweightedSeedPrefixPrior seedLaw G n S D projection t = ClassicalInformation.groupedMass (fun (q : ConditionedAnswerFlag A B D × K × ExactOutcome X Y A B n) => (((projection q.2).1, q.1), (projection q.2).2)) (fun (q : ConditionedAnswerFlag A B D × K × ExactOutcome X Y A B n) => finiteUniformWeight (ConditionedAnswerFlag A B D) * (reweightedSeedPriorEventLaw seedLaw G n S).weight q.2) t
                                                                        theorem QuantumParallelRepetition.reweightedSeedPrefixPrior_next_flagged_pushforward {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {K : Type u_5} {Ω : Type u_6} {V : Type u_7} [Fintype K] [Fintype Ω] [Fintype V] {h : ℕ} (seedLaw : FiniteEventLaw K) (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (projection : K × ExactOutcome X Y A B n → Ω × (Fin h → V)) (default : V) (k : Fin h) (target : ((Ω × ConditionedAnswerFlag A B D) × (Fin h → V)) × V) :
                                                                        ClassicalInformation.groupedMass (exactPrefixNextCode default k) (reweightedSeedPrefixPrior seedLaw G n S D projection) target = ClassicalInformation.groupedMass (fun (q : ConditionedAnswerFlag A B D × K × ExactOutcome X Y A B n) => exactPrefixNextCode default k (((projection q.2).1, q.1), (projection q.2).2)) (fun (q : ConditionedAnswerFlag A B D × K × ExactOutcome X Y A B n) => finiteUniformWeight (ConditionedAnswerFlag A B D) * (reweightedSeedPriorEventLaw seedLaw G n S).weight q.2) target
                                                                        theorem QuantumParallelRepetition.finiteGroupedExpectation_eq_atom_sum {Ω : Type u_1} {C : Type u_2} [Fintype Ω] [Fintype C] [DecidableEq C] (code : Ω → C) (mass : Ω → ℝ) (value : C → ℝ) :
                                                                        ∑ target : C, ClassicalInformation.groupedMass code mass target * value target = ∑ outcome : Ω, mass outcome * value (code outcome)
                                                                        theorem QuantumParallelRepetition.jointFirstMarginal_groupedContextNext {Ω : Type u_1} {C : Type u_2} {V : Type u_3} [Fintype Ω] [Fintype C] [Fintype V] [DecidableEq C] [DecidableEq (C × V)] (context : Ω → C) (next : Ω → V) (mass : Ω → ℝ) (target : C) :
                                                                        ClassicalInformation.jointFirstMarginal (ClassicalInformation.groupedMass (fun (outcome : Ω) => (context outcome, next outcome)) mass) target = ClassicalInformation.groupedMass context mass target
                                                                        theorem QuantumParallelRepetition.finiteNextInformation_eq_atom_sum {Ω : Type u_1} {C : Type u_2} {V : Type u_3} [Fintype Ω] [Fintype C] [Fintype V] [DecidableEq C] [DecidableEq (C × V)] (context : Ω → C) (next : Ω → V) (mass : Ω → ℝ) (reference : C → V → ℝ) :
                                                                        ∑ target : C, ClassicalInformation.jointFirstMarginal (ClassicalInformation.groupedMass (fun (outcome : Ω) => (context outcome, next outcome)) mass) target * Pinsker.finiteRelativeEntropy (ClassicalInformation.jointConditional (ClassicalInformation.groupedMass (fun (outcome : Ω) => (context outcome, next outcome)) mass) target) (reference target) = ∑ outcome : Ω, mass outcome * Pinsker.finiteRelativeEntropy (ClassicalInformation.jointConditional (ClassicalInformation.groupedMass (fun (source : Ω) => (context source, next source)) mass) (context outcome)) (reference (context outcome))
                                                                        theorem QuantumParallelRepetition.jointAtom_eq_zero_of_firstMarginal_zero {I : Type u_1} {V : Type u_2} [Fintype I] [Fintype V] (mass : I × V → ℝ) (nonnegative : ∀ (point : I × V), 0 ≤ mass point) (index : I) (zero : ClassicalInformation.jointFirstMarginal mass index = 0) (value : V) :
                                                                        mass (index, value) = 0
                                                                        theorem QuantumParallelRepetition.nestedFirstMarginal_mul_conditional {I : Type u_1} {R : Type u_2} {V : Type u_3} [Fintype I] [Fintype R] [Fintype V] (mass : I × R × V → ℝ) (nonnegative : ∀ (point : I × R × V), 0 ≤ mass point) (index : I) (history : R) :
                                                                        ClassicalInformation.jointFirstMarginal mass index * ClassicalInformation.jointFirstMarginal (ClassicalInformation.jointConditional mass index) history = ClassicalInformation.jointFirstMarginal (fun (point : (I × R) × V) => mass (point.1.1, point.1.2, point.2)) (index, history)
                                                                        theorem QuantumParallelRepetition.nestedConditional_eq_flat {I : Type u_1} {R : Type u_2} {V : Type u_3} [Fintype I] [Fintype R] [Fintype V] (mass : I × R × V → ℝ) (nonnegative : ∀ (point : I × R × V), 0 ≤ mass point) (index : I) (history : R) :
                                                                        ClassicalInformation.jointConditional (ClassicalInformation.jointConditional mass index) history = ClassicalInformation.jointConditional (fun (point : (I × R) × V) => mass (point.1.1, point.1.2, point.2)) (index, history)
                                                                        theorem QuantumParallelRepetition.finiteNestedNextInformation_eq_atom_sum {I : Type u_1} {R : Type u_2} {V : Type u_3} [Fintype I] [Fintype R] [Fintype V] (mass : I × R × V → ℝ) (nonnegative : ∀ (point : I × R × V), 0 ≤ mass point) (reference : I → V → ℝ) :
                                                                        ∑ index : I, ClassicalInformation.jointFirstMarginal mass index * ∑ history : R, ClassicalInformation.jointFirstMarginal (ClassicalInformation.jointConditional mass index) history * Pinsker.finiteRelativeEntropy (ClassicalInformation.jointConditional (ClassicalInformation.jointConditional mass index) history) (reference index) = ∑ point : I × R × V, mass point * Pinsker.finiteRelativeEntropy (ClassicalInformation.jointConditional (fun (atom : (I × R) × V) => mass (atom.1.1, atom.1.2, atom.2)) (point.1, point.2.1)) (reference point.1)
                                                                        theorem QuantumParallelRepetition.reweightedSeedPrefixJoint_as_actual_flagged_pushforward {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {K : Type u_5} {Ω : Type u_6} {V : Type u_7} [Fintype K] [Fintype Ω] [Fintype V] {h : ℕ} (seedLaw : FiniteEventLaw K) (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (projection : K × ExactOutcome X Y A B n → Ω × (Fin h → V)) (target : (Ω × ConditionedAnswerFlag A B D) × (Fin h → V)) :
                                                                        reweightedSeedPrefixJoint seedLaw G n S D projection target = ClassicalInformation.groupedMass (fun (point : K × ExactOutcome X Y A B n) => (((projection point).1, repeatedConditionedAnswerFlag G n S D point.2), (projection point).2)) (reweightedSeedPosterior seedLaw G n S D) target
                                                                        theorem QuantumParallelRepetition.exactAliceSourceConditionalInformation_eq_atom_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) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (remaining : 0 < (Finset.univ \ D).card) (positive : 0 < repeatedPostselectionMass G n S D) (base : ExactHistoryFlag X Y A B D) :
                                                                        theorem QuantumParallelRepetition.exactBobSourceConditionalInformation_eq_atom_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) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (remaining : 0 < (Finset.univ \ D).card) (positive : 0 < repeatedPostselectionMass G n S D) (base : ExactHistoryFlag X Y A B D) :
                                                                        theorem QuantumParallelRepetition.exactPermutationOutputUniformPushforward {R : Type u_1} [Fintype R] [DecidableEq R] (denominator : ℕ) (numerator : R → ℕ) (normalized : ∑ r : R, numerator r = denominator) (nonempty : (ClassicalSampling.rationalMarked denominator numerator).Nonempty) (letter : R) :
                                                                        ClassicalInformation.groupedMass (ClassicalInformation.rationalPermutationOutput denominator numerator nonempty) (fun (x : Equiv.Perm (R × Fin denominator)) => 1 / ↑(Fintype.card (Equiv.Perm (R × Fin denominator)))) letter = ↑(numerator letter) / ↑denominator
                                                                        theorem QuantumParallelRepetition.exactPermutationOutputUniformExpectation {R : Type u_1} [Fintype R] [DecidableEq R] (denominator : ℕ) (numerator : R → ℕ) (normalized : ∑ r : R, numerator r = denominator) (nonempty : (ClassicalSampling.rationalMarked denominator numerator).Nonempty) (value : R → ℝ) :
                                                                        ∑ permutation : Equiv.Perm (R × Fin denominator), 1 / ↑(Fintype.card (Equiv.Perm (R × Fin denominator))) * value (ClassicalInformation.rationalPermutationOutput denominator numerator nonempty permutation) = ∑ letter : R, ↑(numerator letter) / ↑denominator * value letter
                                                                        noncomputable def QuantumParallelRepetition.exactSourceAliceSampleTuple {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {n : ℕ} (D : Finset (Fin n)) (denominator : ℕ) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (nonempty : ∀ (k : ExactLocalSamplerIndex X Y D), (ClassicalSampling.rationalMarked denominator (numerator k)).Nonempty) (outcome : ExactSourceSharedFlag X Y A B D denominator × X × Y) :
                                                                        Equations
                                                                        • One or more equations did not get rendered due to their size.
                                                                        Instances For
                                                                          theorem QuantumParallelRepetition.exactSourceAliceSampleTuple_expectation {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (D : Finset (Fin n)) (denominator : ℕ) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (normalized : ∀ (k : ExactLocalSamplerIndex X Y D), ∑ r : ExactHistoryFlag X Y A B D, numerator k r = denominator) (nonempty : ∀ (k : ExactLocalSamplerIndex X Y D), (ClassicalSampling.rationalMarked denominator (numerator k)).Nonempty) (value : ExactLocallySampleableTuple X Y A B D → ℝ) :
                                                                          ∑ outcome : ExactSourceSharedFlag X Y A B D denominator × X × Y, flaggedQuestionWeight G (exactSourceSharedFlagWeight D denominator) outcome * value (exactSourceAliceSampleTuple D denominator numerator nonempty outcome) = ∑ history : ExactLocallySampleableTuple X Y A B D, exactLocallySampleableJARounded G n D denominator numerator history * value history
                                                                          theorem QuantumParallelRepetition.exactSourceAliceSampleTuple_groupedMass {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (D : Finset (Fin n)) (denominator : ℕ) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (normalized : ∀ (k : ExactLocalSamplerIndex X Y D), ∑ r : ExactHistoryFlag X Y A B D, numerator k r = denominator) (nonempty : ∀ (k : ExactLocalSamplerIndex X Y D), (ClassicalSampling.rationalMarked denominator (numerator k)).Nonempty) (history : ExactLocallySampleableTuple X Y A B D) :
                                                                          ClassicalInformation.groupedMass (exactSourceAliceSampleTuple D denominator numerator nonempty) (flaggedQuestionWeight G (exactSourceSharedFlagWeight D denominator)) history = exactLocallySampleableJARounded G n D denominator numerator history
                                                                          noncomputable def QuantumParallelRepetition.exactFiniteFiberLift {Ω : Type u_1} {T : Type u_2} [Fintype Ω] [DecidableEq T] (projection : Ω → T) (original : Ω → ℝ) (target : T → ℝ) (outcome : Ω) :
                                                                          Equations
                                                                          • One or more equations did not get rendered due to their size.
                                                                          Instances For
                                                                            theorem QuantumParallelRepetition.exactFiniteFiberLift_groupedMass {Ω : Type u_1} {T : Type u_2} [Fintype Ω] [DecidableEq T] (projection : Ω → T) (original : Ω → ℝ) (target : T → ℝ) (supported : ∀ (point : T), ClassicalInformation.groupedMass projection original point = 0 → target point = 0) (point : T) :
                                                                            ClassicalInformation.groupedMass projection (exactFiniteFiberLift projection original target) point = target point
                                                                            theorem QuantumParallelRepetition.exactFiniteFiberLift_expectation {Ω : Type u_1} {T : Type u_2} [Fintype Ω] [Fintype T] [DecidableEq T] (projection : Ω → T) (original : Ω → ℝ) (target : T → ℝ) (supported : ∀ (point : T), ClassicalInformation.groupedMass projection original point = 0 → target point = 0) (value : T → ℝ) :
                                                                            ∑ outcome : Ω, exactFiniteFiberLift projection original target outcome * value (projection outcome) = ∑ point : T, target point * value point
                                                                            theorem QuantumParallelRepetition.exactFiniteFiberLift_absolute_groupedMass {Ω : Type u_1} {T : Type u_2} [Fintype Ω] [DecidableEq T] (projection : Ω → T) (original : Ω → ℝ) (target : T → ℝ) (original_nonnegative : ∀ (outcome : Ω), 0 ≤ original outcome) (supported : ∀ (point : T), ClassicalInformation.groupedMass projection original point = 0 → target point = 0) (point : T) :
                                                                            ClassicalInformation.groupedMass projection (fun (outcome : Ω) => |original outcome - exactFiniteFiberLift projection original target outcome|) point = |ClassicalInformation.groupedMass projection original point - target point|
                                                                            theorem QuantumParallelRepetition.exactFiniteFiberLift_totalVariation {Ω : Type u_1} {T : Type u_2} [Fintype Ω] [Fintype T] [DecidableEq T] (projection : Ω → T) (original : Ω → ℝ) (target : T → ℝ) (original_nonnegative : ∀ (outcome : Ω), 0 ≤ original outcome) (supported : ∀ (point : T), ClassicalInformation.groupedMass projection original point = 0 → target point = 0) :
                                                                            theorem QuantumParallelRepetition.existsCommonSupportPreservingRationalApproximations {I : Type u_1} {K : Type u_2} [Fintype I] [DecidableEq I] [Fintype K] (base : I) (probability : K → I → ℝ) (nonnegative : ∀ (index : K) (letter : I), 0 ≤ probability index letter) (normalized : ∀ (index : K), ∑ letter : I, probability index letter = 1) {gamma : ℝ} (gamma_positive : 0 < gamma) :
                                                                            ∃ (denominator : ℕ), 0 < denominator ∧ ∃ (numerator : K → I → ℕ), (∀ (index : K), ∑ letter : I, numerator index letter = denominator) ∧ (∀ (index : K), (Pinsker.finiteTotalVariation (probability index) fun (letter : I) => ↑(numerator index letter) / ↑denominator) < gamma) ∧ ∀ (index : K) (letter : I), 0 < probability index letter → 0 < numerator index letter
                                                                            theorem QuantumParallelRepetition.exactLocallySampleableLaw_absolute_continuous_roundedJA {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (remaining : 0 < (Finset.univ \ D).card) (positive : 0 < repeatedPostselectionMass G n S D) (base : ExactHistoryFlag X Y A B D) (denominator : ℕ) (denominator_positive : 0 < denominator) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (preserves : ∀ (index : ExactLocalSamplerIndex X Y D) (history : ExactHistoryFlag X Y A B D), 0 < exactLocalConditionalFamily D base (exactLocallySampleableLaw G n S D) index history → 0 < numerator index history) (history : ExactLocallySampleableTuple X Y A B D) :
                                                                            exactLocallySampleableJARounded G n D denominator numerator history = 0 → exactLocallySampleableLaw G n S D history = 0
                                                                            theorem QuantumParallelRepetition.exact_exists_support_preserving_local_shared_permutation {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (positive : 0 < repeatedPostselectionMass G n S D) (base : ExactHistoryFlag X Y A B D) {gamma : ℝ} (gamma_positive : 0 < gamma) :
                                                                            ∃ (denominator : ℕ), 0 < denominator ∧ ∃ (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ), (∀ (index : ExactLocalSamplerIndex X Y D), ∑ history : ExactHistoryFlag X Y A B D, numerator index history = denominator) ∧ (∀ (index : ExactLocalSamplerIndex X Y D), (Pinsker.finiteTotalVariation (exactLocalConditionalFamily D base (exactLocallySampleableLaw G n S D) index) fun (history : ExactHistoryFlag X Y A B D) => ↑(numerator index history) / ↑denominator) < gamma) ∧ (∀ (index : ExactLocalSamplerIndex X Y D) (history : ExactHistoryFlag X Y A B D), 0 < exactLocalConditionalFamily D base (exactLocallySampleableLaw G n S D) index history → 0 < numerator index history) ∧ ∃ (nonempty : ∀ (index : ExactLocalSamplerIndex X Y D), (ClassicalSampling.rationalMarked denominator (numerator index)).Nonempty), (∀ (index : ExactLocalSamplerIndex X Y D) (history : ExactHistoryFlag X Y A B D), (ClassicalSampling.uniformPermutationProbability fun (permutation : Equiv.Perm (ExactHistoryFlag X Y A B D × Fin denominator)) => ClassicalInformation.rationalPermutationOutput denominator (numerator index) ⋯ permutation = history) = ↑(numerator index history) / ↑denominator) ∧ ∀ (left right : ExactLocalSamplerIndex X Y D), (ClassicalSampling.uniformPermutationProbability fun (permutation : Equiv.Perm (ExactHistoryFlag X Y A B D × Fin denominator)) => ClassicalInformation.rationalPermutationOutput denominator (numerator left) ⋯ permutation ≠ ClassicalInformation.rationalPermutationOutput denominator (numerator right) ⋯ permutation) ≤ 2 * Pinsker.finiteTotalVariation (fun (history : ExactHistoryFlag X Y A B D) => ↑(numerator left history) / ↑denominator) fun (history : ExactHistoryFlag X Y A B D) => ↑(numerator right history) / ↑denominator
                                                                            noncomputable def QuantumParallelRepetition.exactSourceAliceRefinedPOVM {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] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (r : ExactHistoryFlag X Y A B D) (a₀ : A) (x : X) :
                                                                            Equations
                                                                            Instances For
                                                                              noncomputable def QuantumParallelRepetition.exactSourceBobRefinedPOVM {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 B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (r : ExactHistoryFlag X Y A B D) (b₀ : B) (y : Y) :
                                                                              POVM B (ExactBobLocalIndex G n S D r)
                                                                              Equations
                                                                              Instances For
                                                                                noncomputable def QuantumParallelRepetition.exactSourceJointEffect {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)) (r : ExactHistoryFlag X Y A B D) (a₀ : A) (b₀ : B) (x : X) (y : Y) (a : A) (b : B) :
                                                                                Equations
                                                                                • One or more equations did not get rendered due to their size.
                                                                                Instances For
                                                                                  noncomputable def QuantumParallelRepetition.exactSourceWinningEffect {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)) (r : ExactHistoryFlag X Y A B D) (a₀ : A) (b₀ : B) (x : X) (y : Y) :
                                                                                  Equations
                                                                                  • One or more equations did not get rendered due to their size.
                                                                                  Instances For
                                                                                    noncomputable def QuantumParallelRepetition.exactSourceWinningEffectCLM {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)) (r : ExactHistoryFlag X Y A B D) (a₀ : A) (b₀ : B) (x : X) (y : Y) :
                                                                                    Equations
                                                                                    Instances For
                                                                                      theorem QuantumParallelRepetition.exactSourceJointEffect_quadratic {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)) (r : ExactHistoryFlag X Y A B D) (a₀ : A) (b₀ : B) (x : X) (y : Y) (a : A) (b : B) :
                                                                                      theorem QuantumParallelRepetition.exactSourceWinningEffect_quadratic {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)) (r : ExactHistoryFlag X Y A B D) (a₀ : A) (b₀ : B) (x : X) (y : Y) :
                                                                                      quadraticExpectation (exactSourceWinningEffectCLM G n S D r a₀ b₀ x y) (exactUnnormalizedPsi G n S D r x y) = ∑ a : A, ∑ b : B, if G.predicate x y a b = true then ((bornTracePairing S.state.matrix) (exactAliceCoordinateFilter G n S D r.seed r.history r.aliceAnswer x a)) (exactBobCoordinateFilter G n S D r.seed r.history r.bobAnswer y b) else 0
                                                                                      theorem QuantumParallelRepetition.exactSourceWinningEffect_quadratic_eq_conditional {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)) (r : ExactHistoryFlag X Y A B D) (a₀ : A) (b₀ : B) (x : X) (y : Y) (supported : exactFiberQuestionMass G n D r.seed r.history x y ≠ 0) :
                                                                                      theorem QuantumParallelRepetition.exactSourceNormalizedWinningEffect_eq_conditional {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)) (r : ExactHistoryFlag X Y A B D) (a₀ : A) (b₀ : B) (x : X) (y : Y) (supported : exactFiberQuestionMass G n D r.seed r.history x y ≠ 0) :
                                                                                      noncomputable def QuantumParallelRepetition.exactSourceAcceptedCoordinateMass {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)) (t : ExactLocallySampleableTuple X Y A B D) :
                                                                                      Equations
                                                                                      • One or more equations did not get rendered due to their size.
                                                                                      Instances For
                                                                                        theorem QuantumParallelRepetition.exactSourceAcceptedCoordinateMass_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 : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (positive : 0 < repeatedPostselectionMass G n S D) (t : ExactLocallySampleableTuple X Y A B D) :
                                                                                        theorem QuantumParallelRepetition.exactSourceAcceptedCoordinateMass_le_law {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)) (positive : 0 < repeatedPostselectionMass G n S D) (t : ExactLocallySampleableTuple X Y A B D) :
                                                                                        noncomputable def QuantumParallelRepetition.exactSourceConditionalWinningProbability {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)) (t : ExactLocallySampleableTuple X Y A B D) :
                                                                                        Equations
                                                                                        • One or more equations did not get rendered due to their size.
                                                                                        Instances For
                                                                                          theorem QuantumParallelRepetition.exactSourceAcceptedCoordinateMass_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) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) :
                                                                                          theorem QuantumParallelRepetition.exactSourceConditionalWinningProbability_expectation {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)) (positive : 0 < repeatedPostselectionMass G n S D) :
                                                                                          theorem QuantumParallelRepetition.exactRepeatedConditionedCoordinateWin {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)) (i : Fin n) :
                                                                                          theorem QuantumParallelRepetition.exactSource_failure_sum_lt_of_uniform {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)) (remaining : 0 < (Finset.univ \ D).card) (positive : 0 < repeatedPostselectionMass G n S D) {δ : ℝ} (failure : uniformRemainingFailure (strategyEventLaw (G.repeat n) S) (repeatedCoordinateWin G n) D < δ) :
                                                                                          theorem QuantumParallelRepetition.exactSourceConditionalWinningProbability_gt_of_uniform_failure {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)) (remaining : 0 < (Finset.univ \ D).card) (positive : 0 < repeatedPostselectionMass G n S D) {δ : ℝ} (failure : uniformRemainingFailure (strategyEventLaw (G.repeat n) S) (repeatedCoordinateWin G n) D < δ) :
                                                                                          noncomputable def QuantumParallelRepetition.exactSourceAliceFlagCoupling {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (denominator : ℕ) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (nonempty : ∀ (index : ExactLocalSamplerIndex X Y D), (ClassicalSampling.rationalMarked denominator (numerator index)).Nonempty) :
                                                                                          ExactSourceSharedFlag X Y A B D denominator × X × Y → ℝ
                                                                                          Equations
                                                                                          • One or more equations did not get rendered due to their size.
                                                                                          Instances For
                                                                                            theorem QuantumParallelRepetition.exactSourceAliceFlagCoupling_supported {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (remaining : 0 < (Finset.univ \ D).card) (positive : 0 < repeatedPostselectionMass G n S D) (base : ExactHistoryFlag X Y A B D) (denominator : ℕ) (denominator_positive : 0 < denominator) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (normalized : ∀ (index : ExactLocalSamplerIndex X Y D), ∑ history : ExactHistoryFlag X Y A B D, numerator index history = denominator) (preserves : ∀ (index : ExactLocalSamplerIndex X Y D) (history : ExactHistoryFlag X Y A B D), 0 < exactLocalConditionalFamily D base (exactLocallySampleableLaw G n S D) index history → 0 < numerator index history) (nonempty : ∀ (index : ExactLocalSamplerIndex X Y D), (ClassicalSampling.rationalMarked denominator (numerator index)).Nonempty) (history : ExactLocallySampleableTuple X Y A B D) :
                                                                                            ClassicalInformation.groupedMass (exactSourceAliceSampleTuple D denominator numerator nonempty) (flaggedQuestionWeight G (exactSourceSharedFlagWeight D denominator)) history = 0 → exactLocallySampleableLaw G n S D history = 0
                                                                                            theorem QuantumParallelRepetition.exactSourceAliceFlagCoupling_expectation {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (remaining : 0 < (Finset.univ \ D).card) (positive : 0 < repeatedPostselectionMass G n S D) (base : ExactHistoryFlag X Y A B D) (denominator : ℕ) (denominator_positive : 0 < denominator) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (normalized : ∀ (index : ExactLocalSamplerIndex X Y D), ∑ history : ExactHistoryFlag X Y A B D, numerator index history = denominator) (preserves : ∀ (index : ExactLocalSamplerIndex X Y D) (history : ExactHistoryFlag X Y A B D), 0 < exactLocalConditionalFamily D base (exactLocallySampleableLaw G n S D) index history → 0 < numerator index history) (nonempty : ∀ (index : ExactLocalSamplerIndex X Y D), (ClassicalSampling.rationalMarked denominator (numerator index)).Nonempty) (value : ExactLocallySampleableTuple X Y A B D → ℝ) :
                                                                                            ∑ outcome : ExactSourceSharedFlag X Y A B D denominator × X × Y, exactSourceAliceFlagCoupling G n S D denominator numerator nonempty outcome * value (exactSourceAliceSampleTuple D denominator numerator nonempty outcome) = ∑ history : ExactLocallySampleableTuple X Y A B D, exactLocallySampleableLaw G n S D history * value history
                                                                                            theorem QuantumParallelRepetition.exactSourceAliceFlagCoupling_sum {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (remaining : 0 < (Finset.univ \ D).card) (positive : 0 < repeatedPostselectionMass G n S D) (base : ExactHistoryFlag X Y A B D) (denominator : ℕ) (denominator_positive : 0 < denominator) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (normalized : ∀ (index : ExactLocalSamplerIndex X Y D), ∑ history : ExactHistoryFlag X Y A B D, numerator index history = denominator) (preserves : ∀ (index : ExactLocalSamplerIndex X Y D) (history : ExactHistoryFlag X Y A B D), 0 < exactLocalConditionalFamily D base (exactLocallySampleableLaw G n S D) index history → 0 < numerator index history) (nonempty : ∀ (index : ExactLocalSamplerIndex X Y D), (ClassicalSampling.rationalMarked denominator (numerator index)).Nonempty) :
                                                                                            ∑ outcome : ExactSourceSharedFlag X Y A B D denominator × X × Y, exactSourceAliceFlagCoupling G n S D denominator numerator nonempty outcome = 1
                                                                                            theorem QuantumParallelRepetition.exactSourceAliceFlagCoupling_totalVariation {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (remaining : 0 < (Finset.univ \ D).card) (positive : 0 < repeatedPostselectionMass G n S D) (base : ExactHistoryFlag X Y A B D) (denominator : ℕ) (denominator_positive : 0 < denominator) (numerator : ExactLocalSamplerIndex X Y D → ExactHistoryFlag X Y A B D → ℕ) (normalized : ∀ (index : ExactLocalSamplerIndex X Y D), ∑ history : ExactHistoryFlag X Y A B D, numerator index history = denominator) (preserves : ∀ (index : ExactLocalSamplerIndex X Y D) (history : ExactHistoryFlag X Y A B D), 0 < exactLocalConditionalFamily D base (exactLocallySampleableLaw G n S D) index history → 0 < numerator index history) (nonempty : ∀ (index : ExactLocalSamplerIndex X Y D), (ClassicalSampling.rationalMarked denominator (numerator index)).Nonempty) :
                                                                                            noncomputable def QuantumParallelRepetition.exactFairWinningOutcomeBornMass {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)) (history : ExactHistoryFlag X Y A B D) (x : X) (y : Y) :
                                                                                            Equations
                                                                                            • One or more equations did not get rendered due to their size.
                                                                                            Instances For
                                                                                              theorem QuantumParallelRepetition.exactSourceAcceptedCoordinateMass_eq_seeded_fair_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) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (positive : 0 < repeatedPostselectionMass G n S D) (history : ExactHistoryFlag X Y A B D) (x : X) (y : Y) :
                                                                                              theorem QuantumParallelRepetition.exactSourceConditionalWinningProbability_eq_fine_born_ratio {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)) (positive : 0 < repeatedPostselectionMass G n S D) (history : ExactHistoryFlag X Y A B D) (accepted : exactHistoryAccepted G n D history) (x : X) (y : Y) :
                                                                                              theorem QuantumParallelRepetition.exactFineCoordinateWinningBorn_collapse {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)) (aliceAnswer : ↥D → A) (bobAnswer : ↥D → B) (xs : Fin n → X) (ys : Fin n → Y) (coordinate : Fin n) (x : X) (y : Y) :
                                                                                              (∑ a : A, ∑ b : B, if G.predicate x y a b = true then ((bornTracePairing S.state.matrix) (conditionedAliceCoordinateEffect G n S D aliceAnswer xs coordinate a)) (conditionedBobCoordinateEffect G n S D bobAnswer ys coordinate b) else 0) = ∑ aa : Fin n → A, ∑ bb : Fin n → B, if (∀ (j : Fin n) (member : j ∈ D), aa j = aliceAnswer ⟨j, member⟩) ∧ (∀ (j : Fin n) (member : j ∈ D), bb j = bobAnswer ⟨j, member⟩) ∧ G.predicate x y (aa coordinate) (bb coordinate) = true then S.outcomeProbability xs ys aa bb else 0
                                                                                              noncomputable def QuantumParallelRepetition.exactFairCoordinateRefinedWinningBornMass {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)) (history : ExactHistoryFlag X Y A B D) (x : X) (y : Y) :
                                                                                              Equations
                                                                                              • One or more equations did not get rendered due to their size.
                                                                                              Instances For
                                                                                                theorem QuantumParallelRepetition.exactFairWinningOutcomeBornMass_eq_refined {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)) (history : ExactHistoryFlag X Y A B D) (x : X) (y : Y) :
                                                                                                theorem QuantumParallelRepetition.exactFairWinningOutcomeBornMass_eq_fiber_conditional {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)) (history : ExactHistoryFlag X Y A B D) (x : X) (y : Y) (supported : exactFiberQuestionMass G n D history.seed history.history x y ≠ 0) :
                                                                                                exactFairWinningOutcomeBornMass G n S D history x y = exactFiberQuestionMass G n D history.seed history.history x y * exactJointConditionalWinningMass G n S D history.seed history.history history.aliceAnswer history.bobAnswer x y
                                                                                                theorem QuantumParallelRepetition.exactSourceConditionalWinningProbability_eq_normalized_verifier {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)) (positive : 0 < repeatedPostselectionMass G n S D) (history : ExactHistoryFlag X Y A B D) (accepted : exactHistoryAccepted G n D history) (a₀ : A) (b₀ : B) (x : X) (y : Y) (supported : exactFiberQuestionMass G n D history.seed history.history x y ≠ 0) :
                                                                                                theorem QuantumParallelRepetition.exactLocallySampleableLaw_coordinate_eq_of_ne_zero {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (t : ExactLocallySampleableTuple X Y A B D) (supported : exactLocallySampleableLaw G n S D t ≠ 0) :
                                                                                                t.1 = t.2.2.2.seed.coordinate
                                                                                                theorem QuantumParallelRepetition.exactLocallySampleableLaw_accepted_of_ne_zero {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (t : ExactLocallySampleableTuple X Y A B D) (supported : exactLocallySampleableLaw G n S D t ≠ 0) :
                                                                                                exactHistoryAccepted G n D t.2.2.2
                                                                                                theorem QuantumParallelRepetition.exactLocallySampleableLaw_fiber_ne_zero_of_ne_zero {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (t : ExactLocallySampleableTuple X Y A B D) (supported : exactLocallySampleableLaw G n S D t ≠ 0) :
                                                                                                exactFiberQuestionMass G n D t.2.2.2.seed t.2.2.2.history t.2.1 t.2.2.1 ≠ 0
                                                                                                theorem QuantumParallelRepetition.exactLocallySampleableLaw_psi_ne_zero_of_ne_zero {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (t : ExactLocallySampleableTuple X Y A B D) (supported : exactLocallySampleableLaw G n S D t ≠ 0) :
                                                                                                exactUnnormalizedPsi G n S D t.2.2.2 t.2.1 t.2.2.1 ≠ 0
                                                                                                def QuantumParallelRepetition.dependentBlockPOVM {R : Type u_1} {C : Type u_2} [Fintype R] [DecidableEq R] [Fintype C] {ι : R → Type u_3} [(r : R) → Fintype (ι r)] [(r : R) → DecidableEq (ι r)] (P : (r : R) → POVM C (ι r)) :
                                                                                                POVM C ((r : R) × ι r)
                                                                                                Equations
                                                                                                Instances For
                                                                                                  def QuantumParallelRepetition.reindexedPOVM {C : Type u_1} {d : Type u_2} {e : Type u_3} [Fintype C] [Fintype d] [Fintype e] [DecidableEq d] [DecidableEq e] (basis : d ≃ e) (P : POVM C d) :
                                                                                                  POVM C e
                                                                                                  Equations
                                                                                                  Instances For
                                                                                                    def QuantumParallelRepetition.twoBlockPOVM {C d e : Type} [Fintype C] [DecidableEq C] [Fintype d] [Fintype e] [DecidableEq d] [DecidableEq e] (P : POVM C d) (Q : POVM C e) :
                                                                                                    POVM C (d ⊕ e)
                                                                                                    Equations
                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                    Instances For
                                                                                                      def QuantumParallelRepetition.deterministicOutcomePOVM {C : Type u_1} {d : Type u_2} [Fintype C] [DecidableEq C] [Fintype d] [DecidableEq d] (default : C) :
                                                                                                      POVM C d
                                                                                                      Equations
                                                                                                      Instances For
                                                                                                        def QuantumParallelRepetition.pOVMChangeDecidableEq {C : Type u_1} {d : Type u_2} [Fintype C] [Fintype d] (source target : DecidableEq d) (P : POVM C d) :
                                                                                                        POVM C d
                                                                                                        Equations
                                                                                                        Instances For
                                                                                                          noncomputable def QuantumParallelRepetition.exactSourceAlicePaddedPOVM {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [DecidableEq A] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (r : ExactHistoryFlag X Y A B D) (a₀ : A) (x : X) :
                                                                                                          Equations
                                                                                                          • One or more equations did not get rendered due to their size.
                                                                                                          Instances For
                                                                                                            noncomputable def QuantumParallelRepetition.exactSourceBobPaddedPOVM {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [DecidableEq B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (r : ExactHistoryFlag X Y A B D) (b₀ : B) (y : Y) :
                                                                                                            Equations
                                                                                                            • One or more equations did not get rendered due to their size.
                                                                                                            Instances For
                                                                                                              noncomputable def QuantumParallelRepetition.exactSourceGlobalAlicePOVM {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [DecidableEq A] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (a₀ : A) (x : X) :
                                                                                                              Equations
                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                              Instances For
                                                                                                                noncomputable def QuantumParallelRepetition.exactSourceGlobalBobPOVM {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [DecidableEq B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (b₀ : B) (y : Y) :
                                                                                                                Equations
                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                Instances For
                                                                                                                  noncomputable def QuantumParallelRepetition.exactSourceGlobalCatalystAlicePOVM {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [DecidableEq A] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (e : ℕ) (a₀ : A) (x : X) :
                                                                                                                  Equations
                                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                                  Instances For
                                                                                                                    noncomputable def QuantumParallelRepetition.exactSourceGlobalCatalystBobPOVM {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [DecidableEq B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (e : ℕ) (b₀ : B) (y : Y) :
                                                                                                                    Equations
                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                    Instances For
                                                                                                                      @[simp]
                                                                                                                      theorem QuantumParallelRepetition.twoBlockPOVM_effect_inl {C d e : Type} [Fintype C] [DecidableEq C] [Fintype d] [Fintype e] [DecidableEq d] [DecidableEq e] (P : POVM C d) (Q : POVM C e) (c : C) (i j : d) :
                                                                                                                      (twoBlockPOVM P Q).effect c (Sum.inl i) (Sum.inl j) = P.effect c i j
                                                                                                                      @[simp]
                                                                                                                      theorem QuantumParallelRepetition.twoBlockPOVM_effect_inr {C d e : Type} [Fintype C] [DecidableEq C] [Fintype d] [Fintype e] [DecidableEq d] [DecidableEq e] (P : POVM C d) (Q : POVM C e) (c : C) (i j : e) :
                                                                                                                      (twoBlockPOVM P Q).effect c (Sum.inr i) (Sum.inr j) = Q.effect c i j
                                                                                                                      @[simp]
                                                                                                                      theorem QuantumParallelRepetition.dependentBlockPOVM_effect_same {R : Type u_1} {C : Type u_2} [Fintype R] [DecidableEq R] [Fintype C] {ι : R → Type u_3} [(r : R) → Fintype (ι r)] [(r : R) → DecidableEq (ι r)] (P : (r : R) → POVM C (ι r)) (r : R) (c : C) (i j : ι r) :
                                                                                                                      (dependentBlockPOVM P).effect c ⟨r, i⟩ ⟨r, j⟩ = (P r).effect c i j
                                                                                                                      @[simp]
                                                                                                                      theorem QuantumParallelRepetition.exactSourceGlobalAlicePOVM_effect {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [DecidableEq A] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (r : ExactHistoryFlag X Y A B D) (a₀ a : A) (x : X) (i j : ExactAliceLocalIndex G n S D r) :
                                                                                                                      @[simp]
                                                                                                                      theorem QuantumParallelRepetition.exactSourceGlobalBobPOVM_effect {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [DecidableEq B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (r : ExactHistoryFlag X Y A B D) (b₀ b : B) (y : Y) (i j : ExactBobLocalIndex G n S D r) :
                                                                                                                      theorem QuantumParallelRepetition.finiteSum_injective_support {d : Type u_1} {e : Type u_2} {K : Type u_3} [Fintype d] [Fintype e] [AddCommMonoid K] (f : d → e) (injective : Function.Injective f) (g : e → K) (supported : ∀ (j : e), (∀ (i : d), f i ≠ j) → g j = 0) :
                                                                                                                      ∑ j : e, g j = ∑ i : d, g (f i)
                                                                                                                      theorem QuantumParallelRepetition.matrixQuadraticExpectation_injective {d : Type u_1} {e : Type u_2} [Fintype d] [Fintype e] [DecidableEq d] [DecidableEq e] (f : d → e) (injective : Function.Injective f) (M : Matrix e e ℂ) (N : Matrix d d ℂ) (v : EuclideanSpace ℂ e) (z : EuclideanSpace ℂ d) (included : ∀ (i : d), v.ofLp (f i) = z.ofLp i) (supported : ∀ (j : e), (∀ (i : d), f i ≠ j) → v.ofLp j = 0) (compressed : ∀ (i j : d), M (f i) (f j) = N i j) :
                                                                                                                      theorem QuantumParallelRepetition.exactSourceGlobalJointBasis_vector {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (r : ExactHistoryFlag X Y A B D) (z : EuclideanSpace ℂ (ExactAliceLocalIndex G n S D r × ExactBobLocalIndex G n S D r)) (i : ExactAliceLocalIndex G n S D r × ExactBobLocalIndex G n S D r) :
                                                                                                                      theorem QuantumParallelRepetition.exactSourceGlobalJointBasis_support {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (r : ExactHistoryFlag X Y A B D) (z : EuclideanSpace ℂ (ExactAliceLocalIndex G n S D r × ExactBobLocalIndex G n S D r)) (j : ExactGlobalHistoryLocalIndex G n S D × ExactGlobalHistoryLocalIndex G n S D) (outside : ∀ (i : ExactAliceLocalIndex G n S D r × ExactBobLocalIndex G n S D r), exactSourceGlobalJointBasis G n S D r i ≠ j) :
                                                                                                                      (exactGlobalHistoryVector G n S D r (exactPaddedVector G n S D r z)).ofLp j = 0
                                                                                                                      noncomputable def QuantumParallelRepetition.exactSourceGlobalWinningEffect {X Y A B : Type} [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)) (a₀ : A) (b₀ : B) (x : X) (y : Y) :
                                                                                                                      Equations
                                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                                      Instances For
                                                                                                                        theorem QuantumParallelRepetition.exactSourceGlobalWinningEffect_compression {X Y A B : Type} [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)) (r : ExactHistoryFlag X Y A B D) (a₀ : A) (b₀ : B) (x : X) (y : Y) (i j : ExactAliceLocalIndex G n S D r × ExactBobLocalIndex G n S D r) :
                                                                                                                        exactSourceGlobalWinningEffect G n S D a₀ b₀ x y (exactSourceGlobalJointBasis G n S D r i) (exactSourceGlobalJointBasis G n S D r j) = exactSourceWinningEffect G n S D r a₀ b₀ x y i j
                                                                                                                        theorem QuantumParallelRepetition.exactSourceGlobalWinningEffect_quadratic {X Y A B : Type} [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)) (r : ExactHistoryFlag X Y A B D) (a₀ : A) (b₀ : B) (x : X) (y : Y) (z : EuclideanSpace ℂ (ExactAliceLocalIndex G n S D r × ExactBobLocalIndex G n S D r)) :
                                                                                                                        @[simp]
                                                                                                                        theorem QuantumParallelRepetition.exactSourceGlobalCatalystBobPOVM_effect {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] [DecidableEq B] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (e : ℕ) (b₀ b : B) (y : Y) (i j : ExactGlobalHistoryLocalIndex G n S D) (k l : Fin e) :
                                                                                                                        theorem QuantumParallelRepetition.reweightedSeedPrefixEntropyIncrement_eq_actual_atom_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] {K : Type u_5} {Ω : Type u_6} {V : Type u_7} [Fintype K] [Fintype Ω] [Fintype V] {h : ℕ} (seedLaw : FiniteEventLaw K) (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (D : Finset (Fin n)) (positive : 0 < repeatedPostselectionMass G n S D) (projection : K × ExactOutcome X Y A B n → Ω × (Fin h → V)) (default : V) (k : Fin h) :
                                                                                                                        reweightedSeedPrefixEntropyIncrement seedLaw G n S D projection default k = ∑ point : K × ExactOutcome X Y A B n, reweightedSeedPosterior seedLaw G n S D point * Pinsker.finiteRelativeEntropy (ClassicalInformation.jointConditional (ClassicalInformation.groupedMass (exactPrefixNextCode default k) (reweightedSeedPrefixJoint seedLaw G n S D projection)) (finitePrefixMask default k.castSucc (((projection point).1, repeatedConditionedAnswerFlag G n S D point.2), (projection point).2))) (ClassicalInformation.jointConditional (ClassicalInformation.groupedMass (exactPrefixNextCode default k) (reweightedSeedPrefixPrior seedLaw G n S D projection)) (finitePrefixMask default k.castSucc (((projection point).1, repeatedConditionedAnswerFlag G n S D point.2), (projection point).2)))
                                                                                                                        theorem QuantumParallelRepetition.exactStrategyQuestionCodeGroupedMass {X : Type u_1} {Y : Type u_2} {A : Type u_3} {B : Type u_4} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {C : Type u_5} [Fintype C] [DecidableEq C] (G : Game X Y A B) (n : ℕ) (S : Strategy (G.repeat n)) (code : (Fin n → X) → (Fin n → Y) → C) (target : C) :
                                                                                                                        ClassicalInformation.groupedMass (fun (outcome : ExactOutcome X Y A B n) => code outcome.1 outcome.2.1) (strategyEventLaw (G.repeat n) S).weight target = ∑ xs : Fin n → X, ∑ ys : Fin n → Y, if code xs ys = target then (G.repeat n).questionWeight xs ys else 0
                                                                                                                        theorem QuantumParallelRepetition.exactRepeatedQuestionWeight_splitAt_bob {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) (xs : Fin n → X) (y : Y) (tail : { j : Fin n // j ≠ i } → Y) :
                                                                                                                        (G.repeat n).questionWeight xs ((Equiv.funSplitAt i Y).symm (y, tail)) = G.questionWeight (xs i) y * ∏ j ∈ Finset.univ.erase i, G.questionWeight (xs j) ((Equiv.funSplitAt i Y).symm (y, tail) j)
                                                                                                                        theorem QuantumParallelRepetition.exactRepeatedQuestionTail_splitAt_bob {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) (xs : Fin n → X) (y y' : Y) (tail : { j : Fin n // j ≠ i } → Y) :
                                                                                                                        ∏ j ∈ Finset.univ.erase i, G.questionWeight (xs j) ((Equiv.funSplitAt i Y).symm (y, tail) j) = ∏ j ∈ Finset.univ.erase i, G.questionWeight (xs j) ((Equiv.funSplitAt i Y).symm (y', tail) j)