Documentation

MIPRE.Background.Repetition.CommutingRepetition.Resolver.BlockArena

@[reducible, inline]
abbrev CommutingRepetition.BlockArena.RowA {I A : Type} (kA : IA) :

Alice's factor rows (i, a, k).

Equations
Instances For
    @[reducible, inline]
    abbrev CommutingRepetition.BlockArena.ColB {J B : Type} (kB : JB) :

    Bob's factor columns (j, b, l).

    Equations
    Instances For
      @[reducible, inline]
      abbrev CommutingRepetition.BlockArena.Idx {I J A B : Type} (kA : IA) (kB : JB) :

      The block index set: the source e₀, Alice's rows, Bob's columns.

      Equations
      Instances For
        def CommutingRepetition.BlockArena.colVec {M : StdTracialAlgebra} {I J A B : Type} [DecidableEq I] (kA : IA) (kB : JB) (xA : RowA kAM.A) (i : I) :
        Idx kA kBM.A

        The Alice column of i as a vector: the factors of i, zero elsewhere.

        Equations
        Instances For
          def CommutingRepetition.BlockArena.rowVec {M : StdTracialAlgebra} {I J A B : Type} [DecidableEq J] (kA : IA) (kB : JB) (yB : ColB kBM.A) (j : J) :
          Idx kA kBM.A

          The Bob row of j as a vector: the adjoint factors of j, zero elsewhere.

          Equations
          Instances For
            def CommutingRepetition.BlockArena.labelA {I J A B : Type} [DecidableEq I] (kA : IA) (kB : JB) (a₀ : A) (i : I) :
            Idx kA kBA

            The answer label of an index for Alice's POVM at i: the factor's answer on the rows of i, the fallback a₀ everywhere else.

            Equations
            Instances For
              def CommutingRepetition.BlockArena.labelB {I J A B : Type} [DecidableEq J] (kA : IA) (kB : JB) (b₀ : B) (j : J) :
              Idx kA kBB
              Equations
              Instances For
                def CommutingRepetition.BlockArena.rankOne {M : StdTracialAlgebra} {I J A B : Type} (kA : IA) (kB : JB) (a b : Idx kA kBM.A) (σ : M.A) :
                Matrix (Idx kA kB) (Idx kA kB) M.A

                A rank-one block a σ bᵀ.

                Equations
                Instances For
                  def CommutingRepetition.BlockArena.branchMat {M : StdTracialAlgebra} {I J A B : Type} [DecidableEq I] [DecidableEq J] (kA : IA) (kB : JB) (xA : RowA kAM.A) (yB : ColB kBM.A) (σ : M.A) (i : I) (j : J) :
                  Matrix (Idx kA kB) (Idx kA kB) M.A

                  The rank-one block c_i (σ e₀₀) d_j: entries x_r σ y_s*.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    def CommutingRepetition.BlockArena.proj {M : StdTracialAlgebra} {I J A B : Type} [DecidableEq I] [DecidableEq J] [DecidableEq A] [DecidableEq B] (kA : IA) (kB : JB) (P : Idx kA kBProp) [DecidablePred P] :
                    Matrix (Idx kA kB) (Idx kA kB) M.A

                    A 0/1 diagonal projection.

                    Equations
                    Instances For

                      The trace computation #

                      theorem CommutingRepetition.BlockArena.sum_diag_trace {M : StdTracialAlgebra} {I J A B : Type} [Fintype I] [Fintype J] [Fintype A] [Fintype B] [DecidableEq I] [DecidableEq J] [DecidableEq A] [DecidableEq B] (kA : IA) (kB : JB) (σ : M.A) (a b : Idx kA kBM.A) (PA PB : Idx kA kBProp) [DecidablePred PA] [DecidablePred PB] :
                      q : Idx kA kB, M.τ ((star (rankOne kA kB a b σ) * (proj kA kB PA * rankOne kA kB a b σ * proj kA kB PB)) q q) = M.τ (star σ * ((∑ p : Idx kA kB, if PA p then star (a p) * a p else 0) * σ * q : Idx kA kB, if PB q then b q * star (b q) else 0))

                      The core computation (eqs branch-norm-computation, branch-weight-computation): the diagonal trace of X* (P X P') for the rank-one block X = a σ bᵀ.

                      The block sums #

                      theorem CommutingRepetition.BlockArena.sum_colVec {M : StdTracialAlgebra} {I J A B : Type} [Fintype I] [Fintype J] [Fintype A] [Fintype B] [DecidableEq I] [DecidableEq J] [DecidableEq A] [DecidableEq B] (kA : IA) (kB : JB) (xA : RowA kAM.A) (F : IAM.A) (a₀ : A) (i : I) (P : AProp) [DecidablePred P] (hxA : ∀ (i : I) (a : A), F i a = k : Fin (kA i a), star (xA i, a, k) * xA i, a, k) :
                      (∑ p : Idx kA kB, if P (labelA kA kB a₀ i p) then star (colVec kA kB xA i p) * colVec kA kB xA i p else 0) = a : A, if P a then F i a else 0

                      The Alice column square, restricted to an answer predicate on the block labels.

                      theorem CommutingRepetition.BlockArena.sum_rowVec {M : StdTracialAlgebra} {I J A B : Type} [Fintype I] [Fintype J] [Fintype A] [Fintype B] [DecidableEq I] [DecidableEq J] [DecidableEq A] [DecidableEq B] (kA : IA) (kB : JB) (yB : ColB kBM.A) (G : JBM.A) (b₀ : B) (j : J) (P : BProp) [DecidablePred P] (hyB : ∀ (j : J) (b : B), G j b = l : Fin (kB j b), star (yB j, b, l) * yB j, b, l) :
                      (∑ q : Idx kA kB, if P (labelB kA kB b₀ j q) then rowVec kA kB yB j q * star (rowVec kA kB yB j q) else 0) = b : B, if P b then G j b else 0

                      The Bob row square, restricted to an answer predicate.

                      theorem CommutingRepetition.BlockArena.sum_proj_labelA {M : StdTracialAlgebra} {I J A B : Type} [Fintype I] [Fintype J] [Fintype A] [Fintype B] [DecidableEq I] [DecidableEq J] [DecidableEq A] [DecidableEq B] (kA : IA) (kB : JB) (a₀ : A) (i : I) :
                      (∑ a : A, proj kA kB fun (p : Idx kA kB) => labelA kA kB a₀ i p = a) = 1

                      The 0/1 projections onto the labels of i form a partition of unity.

                      theorem CommutingRepetition.BlockArena.sum_proj_labelB {M : StdTracialAlgebra} {I J A B : Type} [Fintype I] [Fintype J] [Fintype A] [Fintype B] [DecidableEq I] [DecidableEq J] [DecidableEq A] [DecidableEq B] (kA : IA) (kB : JB) (b₀ : B) (j : J) :
                      (∑ b : B, proj kA kB fun (q : Idx kA kB) => labelB kA kB b₀ j q = b) = 1
                      theorem CommutingRepetition.BlockArena.proj_star_mul_self {M : StdTracialAlgebra} {I J A B : Type} [Fintype I] [Fintype J] [Fintype A] [Fintype B] [DecidableEq I] [DecidableEq J] [DecidableEq A] [DecidableEq B] (kA : IA) (kB : JB) (P : Idx kA kBProp) [DecidablePred P] :
                      star (proj kA kB P) * proj kA kB P = proj kA kB P

                      A 0/1 projection is a hermitian square of itself.

                      theorem CommutingRepetition.BlockArena.proj_true {M : StdTracialAlgebra} {I J A B : Type} [Fintype I] [Fintype J] [Fintype A] [Fintype B] [DecidableEq I] [DecidableEq J] [DecidableEq A] [DecidableEq B] (kA : IA) (kB : JB) :
                      (proj kA kB fun (x : Idx kA kB) => True) = 1

                      The arena #

                      @[reducible, inline]
                      abbrev CommutingRepetition.BlockArena.dim {I J A B : Type} [Fintype I] [Fintype J] [Fintype A] [Fintype B] (kA : IA) (kB : JB) :

                      The amplification dimension.

                      Equations
                      Instances For
                        instance CommutingRepetition.BlockArena.instNeZeroNatDim {I J A B : Type} [Fintype I] [Fintype J] [Fintype A] [Fintype B] (kA : IA) (kB : JB) :
                        NeZero (dim kA kB)
                        @[reducible, inline]
                        noncomputable abbrev CommutingRepetition.BlockArena.N {M : StdTracialAlgebra} {I J A B : Type} [Fintype I] [Fintype J] [Fintype A] [Fintype B] (kA : IA) (kB : JB) :

                        The block algebra N = M_d(M).

                        Equations
                        Instances For
                          noncomputable def CommutingRepetition.BlockArena.emb {M : StdTracialAlgebra} {I J A B : Type} [Fintype I] [Fintype J] [Fintype A] [Fintype B] (kA : IA) (kB : JB) (X : Matrix (Idx kA kB) (Idx kA kB) M.A) :
                          (N kA kB).A

                          The reindexing of block matrices into N.

                          Equations
                          Instances For
                            theorem CommutingRepetition.BlockArena.emb_mul {M : StdTracialAlgebra} {I J A B : Type} [Fintype I] [Fintype J] [Fintype A] [Fintype B] [DecidableEq I] [DecidableEq J] [DecidableEq A] [DecidableEq B] (kA : IA) (kB : JB) (X Y : Matrix (Idx kA kB) (Idx kA kB) M.A) :
                            emb kA kB (X * Y) = emb kA kB X * emb kA kB Y
                            theorem CommutingRepetition.BlockArena.emb_star {M : StdTracialAlgebra} {I J A B : Type} [Fintype I] [Fintype J] [Fintype A] [Fintype B] [DecidableEq I] [DecidableEq J] [DecidableEq A] [DecidableEq B] (kA : IA) (kB : JB) (X : Matrix (Idx kA kB) (Idx kA kB) M.A) :
                            emb kA kB (star X) = star (emb kA kB X)
                            theorem CommutingRepetition.BlockArena.emb_one {M : StdTracialAlgebra} {I J A B : Type} [Fintype I] [Fintype J] [Fintype A] [Fintype B] [DecidableEq I] [DecidableEq J] [DecidableEq A] [DecidableEq B] (kA : IA) (kB : JB) :
                            emb kA kB 1 = 1
                            theorem CommutingRepetition.BlockArena.emb_sum {M : StdTracialAlgebra} {I J A B : Type} [Fintype I] [Fintype J] [Fintype A] [Fintype B] [DecidableEq I] [DecidableEq J] [DecidableEq A] [DecidableEq B] (kA : IA) (kB : JB) {ι : Type} (s : Finset ι) (f : ιMatrix (Idx kA kB) (Idx kA kB) M.A) :
                            emb kA kB (∑ xs, f x) = xs, emb kA kB (f x)
                            theorem CommutingRepetition.BlockArena.τ_emb {M : StdTracialAlgebra} {I J A B : Type} [Fintype I] [Fintype J] [Fintype A] [Fintype B] [DecidableEq I] [DecidableEq J] [DecidableEq A] [DecidableEq B] (kA : IA) (kB : JB) (X : Matrix (Idx kA kB) (Idx kA kB) M.A) :
                            (N kA kB).τ (emb kA kB X) = (↑(dim kA kB))⁻¹ * p : Idx kA kB, M.τ (X p p)

                            The trace of N on an embedded block matrix: d⁻¹ ∑_p τ(X p p).

                            noncomputable def CommutingRepetition.BlockArena.arena {M : StdTracialAlgebra} {I J A B : Type} [Fintype I] [Fintype J] [Fintype A] [Fintype B] [DecidableEq I] [DecidableEq J] [DecidableEq A] [DecidableEq B] (kA : IA) (kB : JB) (xA : RowA kAM.A) (yB : ColB kBM.A) (F : IAM.A) (G : JBM.A) (a₀ : A) (b₀ : B) (hxA : ∀ (i : I) (a : A), F i a = k : Fin (kA i a), star (xA i, a, k) * xA i, a, k) (hyB : ∀ (j : J) (b : B), G j b = l : Fin (kB j b), star (yB j, b, l) * yB j, b, l) :

                            The block arena.

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