Documentation

LeanPool.QuantumParallelRepetition.Part07

Quantum parallel repetition, part 07 #

The finite outcome encoding for DSV density rational heterogeneous actual common stop scheduled.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem QuantumParallelRepetition.dSVDensityRationalHeterogeneousActualCommonStopScheduledOutcome_before {S N d L : } (width : Fin S) (schedule : Fin LFin S) (ξ ζ : BipartiteUnitVector d) (j : Fin L) (i : Fin (L + 1)) (before : i < j) :
    theorem QuantumParallelRepetition.dSVDensityRationalPureMatchedFlagIndicator_sum {L : } (a b : Fin (L + 1)) :
    (∑ flag : Fin (L + 1), if a = flag b = flag then 1 else 0) = if a = b then 1 else 0
    theorem QuantumParallelRepetition.dSVDensityRationalHeterogeneousActualPhysical_firstHitProduct {L : } (continuation : ) (success : ) (j : Fin L) :
    (∏ i : Fin (L + 1), if i < j then continuation i else if i = j then success else 1) = dSVHeterogeneousRealPrefix continuation j * success
    theorem QuantumParallelRepetition.dSVDensityRationalHeterogeneousActualPhysicalFlagMass_succ_succ_eq_stage {S d N L : } (grid : 0 < N) (dimension : 0 < d) (width : Fin S) (schedule : Fin LFin S) (ξ ζ : BipartiteUnitVector d) (j : Fin L) :
    theorem QuantumParallelRepetition.exists_proofDSVDensityRationalPublicBucketPhysicalRawRankCleanup_sq {Ω : Type u_1} {I : Type u_2} [DecidableEq I] {N : } (grid : 0 < N) (bucket : ΩFin (N + 1)I) (representative : ΩIFin (N + 1)) (ε : ) (precision : 0 < ε) :
    ∃ (n : ), 0 < n ∃ (A : ΩI(Matrix.unitaryGroup (Fin (N * n)) )) (B : ΩI(Matrix.unitaryGroup (Fin (N * n)) )), ∀ (phase : Ω) (r s : Fin (N + 1)), localUnitaryAction (A phase (bucket phase r)) (B phase (bucket phase s)) (dSVDensityRationalMixedCanonicalPrefixPureHarmonicTensor n (dSVCanonicalFailurePrefix r)) - r embezzlementState (N * n) ^ 2 r * (2 * ε ^ 2 + 8 * |r - (representative phase (bucket phase r))| / (max 1 (min r (representative phase (bucket phase r)))) + 4 * if bucket phase r = bucket phase s then 0 else 1)
    noncomputable def QuantumParallelRepetition.dSVDensityRationalPublicBucketPhysicalCoherentMixedState {d N B : } (w : ) (n : ) (ξ ζ : BipartiteUnitVector d) :
    EuclideanSpace (((_ : Fin B × Fin d) × Fin (N * n)) × (_ : Fin B × Fin d) × Fin (N * n))

    The quantum state representing DSV density rational public bucket physical coherent mixed.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def QuantumParallelRepetition.dSVDensityRationalPublicBucketPhysicalCoherentTargetState {d N B : } (w : ) (n : ) (ξ ζ : BipartiteUnitVector d) :
      EuclideanSpace (((_ : Fin B × Fin d) × Fin (N * n)) × (_ : Fin B × Fin d) × Fin (N * n))

      The quantum state representing DSV density rational public bucket physical coherent target.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def QuantumParallelRepetition.dSVDensityRationalPublicBucketPhysicalCoherentLocalReset {d N B n : } (Q : ) (w : ) (ξ ζ : BipartiteUnitVector d) (A C : Fin BOption (Matrix.unitaryGroup (Fin (N * n)) )) (z : EuclideanSpace (((_ : Fin B × Fin d) × Fin (N * n)) × (_ : Fin B × Fin d) × Fin (N * n))) :
        EuclideanSpace (((_ : Fin B × Fin d) × Fin (N * n)) × (_ : Fin B × Fin d) × Fin (N * n))

        The DSV density rational public bucket physical coherent local reset construction used in the quantum parallel-repetition argument.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem QuantumParallelRepetition.dSVDensityRationalPublicShiftedResidue_sum {B : } (positive : 0 < B) (a : ) :
          phase : Fin B, (a + phase) % B = phase : Fin B, phase
          theorem QuantumParallelRepetition.dSVDensityRationalPublicShiftedQuotient_sum {B : } (positive : 0 < B) (a : ) :
          phase : Fin B, (a + phase) / B = a
          theorem QuantumParallelRepetition.dSVDensityRationalPublicShiftedQuotient_real_sum {B : } (positive : 0 < B) (a : ) :
          phase : Fin B, ↑((a + phase) / B) = a
          theorem QuantumParallelRepetition.dSVDensityRationalPublicShiftedBucketMismatch_sum_le {B : } (positive : 0 < B) (a b : ) :
          (∑ phase : Fin B, if (a + phase) / B = (b + phase) / B then 0 else 1) |a - b|
          theorem QuantumParallelRepetition.dSVDensityRationalPublicShiftedBucketMismatch_average_le {B : } (positive : 0 < B) (a b : ) :
          (∑ phase : Fin B, 1 / B * if (a + phase) / B = (b + phase) / B then 0 else 1) |a - b| / B
          theorem QuantumParallelRepetition.dSVDensityRationalPublicLogRankBucketRepresentative_rank_ratio_lt {N B Q : } (positive_Q : 0 < Q) (phase : Fin B) (r : Fin (N + 1)) (nonzero : r 0) :
          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 BOption (Matrix.unitaryGroup (Fin (N * n)) )) (C : Fin BOption (Matrix.unitaryGroup (Fin (N * n)) )), ∀ {S L : } (width : Fin S) (schedule : Fin LFin 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 BOption (Matrix.unitaryGroup (Fin (N * n)) )) :

          The DSV density rational heterogeneous common stop gauge stage error construction used in the quantum parallel-repetition argument.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem QuantumParallelRepetition.dSVDensityRationalHeterogeneousPhysicalDiagonalSurvival_budget {d S L N : } (grid : 0 < N) (dimension : 0 < d) (width : Fin S) (schedule : Fin LFin S) (ξ ζ : BipartiteUnitVector d) :
            k : Fin L, dSVDensityRationalHeterogeneousPhysicalSurvival N width schedule ξ ζ k * dSVDensityRationalPhysicalDiagonalBornSuccess grid dimension (width (schedule k)) ξ 1

            The state vector representing DSV density rational heterogeneous stopped common prefix failure.

            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 LFin S) (ξ ζ : BipartiteUnitVector d) (A C : Fin BOption (Matrix.unitaryGroup (Fin (N * n)) )) :

              The DSV density rational heterogeneous stopped common prefix hazard construction used in the quantum parallel-repetition argument.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem QuantumParallelRepetition.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 BOption (Matrix.unitaryGroup (Fin (N * n)) )) (C : Fin BOption (Matrix.unitaryGroup (Fin (N * n)) )), ∀ {S L : } (width : Fin S) (schedule : Fin LFin 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
                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 BOption (Matrix.unitaryGroup (Fin (N * n)) )) (C : Fin BOption (Matrix.unitaryGroup (Fin (N * n)) )), ∀ {S L : } (width : Fin S) (schedule : Fin LFin 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

                The unconditional prefactor bucket coefficient construction used in the quantum parallel- repetition argument.

                Equations
                Instances For
                  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)
                  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 DExactHistoryFlag X Y A B D) (t : ExactLocallySampleableTuple X Y A B D) :

                  The exact locally sampleable ja rounded construction used in the quantum parallel-repetition argument.

                  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 DExactHistoryFlag X Y A B D) (t : ExactLocallySampleableTuple X Y A B D) :

                    The exact locally sampleable jb rounded construction used in the quantum parallel-repetition argument.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      theorem QuantumParallelRepetition.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 DExactHistoryFlag 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 DExactHistoryFlag 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 DExactHistoryFlag 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 DExactHistoryFlag X Y A B D) (nonempty : ∀ (k : ExactLocalSamplerIndex X Y D), (ClassicalSampling.rationalMarked denominator (numerator k)).Nonempty) :

                      The exact locally sampleable permutation mismatch construction used in the quantum parallel- repetition argument.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        theorem QuantumParallelRepetition.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 DExactHistoryFlag 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 : ) :

                        The type used to represent exact source shared flag in the exact sampling construction.

                        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

                          The probability weight for exact source shared flag.

                          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 DExactHistoryFlag 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) :

                            The transcript representation for exact source alice permutation.

                            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 DExactHistoryFlag 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) :

                              The transcript representation for exact source bob permutation.

                              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 DExactHistoryFlag 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) :

                                The exact source permutation matched construction used in the quantum parallel-repetition argument.

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  theorem QuantumParallelRepetition.exactSourcePermutationMatched_eq_true_iff {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {n : } (D : Finset (Fin n)) (denominator : ) (numerator : ExactLocalSamplerIndex X Y DExactHistoryFlag 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) :
                                  exactSourcePermutationMatched D denominator numerator nonempty ω = true exactSourceAlicePermutationHistory D denominator numerator nonempty ω.1 ω.2.1 = exactSourceBobPermutationHistory D denominator numerator nonempty ω.1 ω.2.2

                                  The Boolean shared-permutation test reflects equality of the two decoded histories.

                                  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 DExactHistoryFlag 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 DExactHistoryFlag 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.cardV)) (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
                                  theorem QuantumParallelRepetition.exactIndependentCoordinateQuestion_marginal {M : Type u_5} {Ω : Type u_6} {V : Type u_7} [Fintype M] [DecidableEq M] [Fintype Ω] (outcome : Ω) (question : ΩMV) (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.exactGroupedMass_equiv {Ω : Type u_5} {K : Type u_6} {V : Type u_7} [Fintype Ω] [Fintype K] (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.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.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.cardY)) (projectionB : (side : Finset (SourceRemainingCoordinate D)) → KB × ExactOutcome X Y A B nΩB side × (Fin side.cardX)) (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) :

                                  The information increment contributed by exact conditioned reverse alice prefix entropy.

                                  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) :

                                    The information increment contributed by exact conditioned reverse bob prefix entropy.

                                    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) :

                                      The exact conditioned reverse alice prefix information construction used in the quantum parallel-repetition argument.

                                      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) :

                                        The exact conditioned reverse bob prefix information construction used in the quantum parallel- repetition argument.

                                        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) :

                                          The exact reverse alice conditional history identification construction used in the quantum parallel-repetition argument.

                                          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) :

                                            The exact reverse bob conditional history identification construction used in the quantum parallel-repetition argument.

                                            Equations
                                            • One or more equations did not get rendered due to their size.
                                            Instances For
                                              theorem QuantumParallelRepetition.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 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 = 0p point = 0) (reference : IRV) (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 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 = 0p point = 0) (reference : IRV) (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 = 0p point = 0) (reference : IRV) (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) {n : } (D : Finset (Fin n)) (side : Finset (SourceRemainingCoordinate D)) :
                                              Type (max (max (max u_8 u_7) u_6 u_5) u_6)

                                              The type used to represent exact reverse alice next context in the exact sampling construction.

                                              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) {n : } (D : Finset (Fin n)) (side : Finset (SourceRemainingCoordinate D)) :
                                                Type (max (max (max u_8 u_7) u_6 u_5) u_5)

                                                The type used to represent exact reverse bob next context in the exact sampling construction.

                                                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)) :

                                                  The exact conditioned reverse alice next joint construction used in the quantum parallel- repetition argument.

                                                  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)) :

                                                    The exact conditioned reverse alice next prior construction used in the quantum parallel- repetition argument.

                                                    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

                                                      The exact conditioned reverse bob next joint construction used in the quantum parallel- repetition argument.

                                                      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

                                                        The exact conditioned reverse bob next prior construction used in the quantum parallel- repetition argument.

                                                        Equations
                                                        • One or more equations did not get rendered due to their size.
                                                        Instances For
                                                          theorem QuantumParallelRepetition.groupedMass_product_injective_seed {K : Type u_1} {Ω : Type u_2} {C : Type u_3} {T : Type u_4} [Fintype K] [Fintype Ω] [DecidableEq C] [DecidableEq T] (code : KC) (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 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) :

                                                          The data context recording exact reverse alice marked history.

                                                          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) :

                                                            The data context recording exact reverse bob marked history.

                                                            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] {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 hV)) (t : (Ω × ConditionedAnswerFlag A B D) × (Fin hV)) :
                                                              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 hV)) (default : V) (k : Fin h) (target : ((Ω × ConditionedAnswerFlag A B D) × (Fin hV)) × 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 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 × V)] (context : ΩC) (next : ΩV) (mass : Ω) (reference : CV) :
                                                              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 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 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 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 : IV) :
                                                              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] {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 hV)) (target : (Ω × ConditionedAnswerFlag A B D) × (Fin hV)) :
                                                              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) :