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 L → Fin 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 L → Fin 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 : Ω → I → Fin (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 B → Option ℕ → ↥(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 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)) ℂ)) :

          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 L → Fin S) (ξ ζ : BipartiteUnitVector d) :
            ∑ k : Fin L, dSVDensityRationalHeterogeneousPhysicalSurvival N width schedule ξ ζ ↑k * dSVDensityRationalPhysicalDiagonalBornSuccess grid dimension (width (schedule k)) ξ ≤ 1

            The joint failure vector at a stage preceding the stopping position.

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

              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 L → Fin S) (ξ ζ : BipartiteUnitVector d) (A C : Fin B → Option ℕ → ↥(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 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
                  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

                  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 D → ExactHistoryFlag 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 D → ExactHistoryFlag 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 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) :

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

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

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

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

                                  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 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) :
                                    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 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
                                    theorem QuantumParallelRepetition.exactIndependentCoordinateQuestion_marginal {M : Type u_5} {Ω : Type u_6} {V : Type u_7} [Fintype M] [DecidableEq M] [Fintype Ω] (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.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.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) :

                                    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 = 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 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) {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 : 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 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 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 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 : 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 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 : 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] {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) :