Documentation

MIPRE.Background.LIDT.Co.Preliminaries.Defs

Preliminary definitions and statement structures #

This file collects the lightweight statement and definition layer for the preliminaries chapter of the LDT development. It records the paper's consistency, sandwich, and completion statements in a form used by later files. This is the counterpart of MIPRE/Background/LIDT/MIPStarRE/LDT/Preliminaries/Defs.lean in the port of planning/c6b-plan.md (milestone M0, section "Port conventions").

The declarations live in MIPRE.LIDT.Co.Preliminaries, mirroring the vendored MIPStarRE.LDT.Preliminaries. Since dot notation on S : SymModel 𝔓 K only reaches MIPRE.LIDT.Co.SymModel, the model is an ordinary explicit argument here: it takes the place of the vendored state ψ where the vendored declaration has one (agreementProbability ψ π’Ÿ A B is agreementProbability S π’Ÿ A B), and is a new first explicit argument where it has none (diagonalSandwichFamily A B is diagonalSandwichFamily S A B), as for the lifts IdxSubMeas.liftLeft S A of Co/Basic/SubMeasurementFamilies.lean.

Local families (the vendored IdxSubMeas Question Outcome ΞΉ) have their operators in 𝔓, and the placed and sandwich families, which act on the joint space, in K β†’L[β„‚] K. The vendored CompTransferStmt is about a state on a single space ΞΉ, so it takes a vector state V : VecState K (Co/Basic/QuantumState.lean) and joint families.

In the symmetric model both tensor factors are 𝔓, so the "two-space" declarations (heterogeneousDiagonalSandwichFamily, heterogeneousTotalSandwichFamily, ConsSubMeasHeterogeneousStmt) have the same types as their same-space versions; they are kept, with the same bodies, so that the vendored callers of either form port as they stand, and the families agree by rfl (heterogeneousDiagonalSandwichFamily_eq, heterogeneousTotalSandwichFamily_eq).

Main definitions #

New here #

Not ported #

Every declaration of the vendored file has a counterpart here.

References #

In LionSR/MIPStarRE at commit 507e8122, not in this repository:

Consistency and distance statements #

structure MIPRE.LIDT.Co.Preliminaries.BipartiteSDDRel {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (S : SymModel 𝔓 K) (π’Ÿ : MIPStarRE.LDT.Distribution Question) (A B : IdxSubMeas Question Outcome 𝔓) (Ξ΄ : ℝ) :

Source-style left/right relation A^x_a βŠ— I β‰ˆ_Ξ΄ I βŠ— B^x_a.

Instances For

    Condition 0 ≀ B ≀ I for the switch-sandwich argument.

    Instances For
      noncomputable def MIPRE.LIDT.Co.Preliminaries.agreementProbability {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (S : SymModel 𝔓 K) (π’Ÿ : MIPStarRE.LDT.Distribution Question) (A B : IdxMeas Question Outcome 𝔓) :

      Agreement probability from prop:simeq-for-measurements.

      Equations
      Instances For
        structure MIPRE.LIDT.Co.Preliminaries.ConsAgreement {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (S : SymModel 𝔓 K) (π’Ÿ : MIPStarRE.LDT.Distribution Question) (A B : IdxMeas Question Outcome 𝔓) (Ξ΄ : ℝ) :

        Conclusion statement for the measurement reformulation of consistency.

        Instances For
          theorem MIPRE.LIDT.Co.Preliminaries.diagonalSandwichFamily_total_le_one {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (S : SymModel 𝔓 K) (A : IdxSubMeas Question Outcome 𝔓) (B : IdxMeas Question Outcome 𝔓) (q : Question) :
          βˆ‘ a : Outcome, S.L ((A q).outcome a) * S.R ((B q).outcome a) ≀ 1

          A diagonal sandwich family has total operator at most the identity.

          theorem MIPRE.LIDT.Co.Preliminaries.totalSandwichFamily_total_le_one {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (S : SymModel 𝔓 K) (A : IdxSubMeas Question Outcome 𝔓) (B : IdxMeas Question Outcome 𝔓) (q : Question) :
          βˆ‘ a : Outcome, S.L (A q).total * S.R ((B q).outcome a) ≀ 1

          A total sandwich family has total operator at most the identity.

          noncomputable def MIPRE.LIDT.Co.Preliminaries.diagonalSandwichFamily {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (S : SymModel 𝔓 K) (A : IdxSubMeas Question Outcome 𝔓) (B : IdxMeas Question Outcome 𝔓) :
          IdxSubMeas Question Outcome (K β†’L[β„‚] K)

          A_a βŠ— B_a, the diagonal bipartite family from prop:cons-sub-meas.

          This same-space version is the specialization used by the existing main-theorem path. The paper-facing two-space version is heterogeneousDiagonalSandwichFamily.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            noncomputable def MIPRE.LIDT.Co.Preliminaries.totalSandwichFamily {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (S : SymModel 𝔓 K) (A : IdxSubMeas Question Outcome 𝔓) (B : IdxMeas Question Outcome 𝔓) :
            IdxSubMeas Question Outcome (K β†’L[β„‚] K)

            A βŠ— B_a, the total bipartite family from prop:cons-sub-meas.

            This same-space version is the specialization used by the existing main-theorem path. The paper-facing two-space version is heterogeneousTotalSandwichFamily.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              noncomputable def MIPRE.LIDT.Co.Preliminaries.heterogeneousDiagonalSandwichFamily {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (S : SymModel 𝔓 K) (A : IdxSubMeas Question Outcome 𝔓) (B : IdxMeas Question Outcome 𝔓) :
              IdxSubMeas Question Outcome (K β†’L[β„‚] K)

              A_a βŠ— B_a for the two-space statement of prop:cons-sub-meas.

              Here A acts on the left tensor factor and B on the right one (S.L and S.R). In the symmetric model both factors are 𝔓, so this is diagonalSandwichFamily by rfl (heterogeneousDiagonalSandwichFamily_eq).

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                noncomputable def MIPRE.LIDT.Co.Preliminaries.heterogeneousTotalSandwichFamily {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (S : SymModel 𝔓 K) (A : IdxSubMeas Question Outcome 𝔓) (B : IdxMeas Question Outcome 𝔓) :
                IdxSubMeas Question Outcome (K β†’L[β„‚] K)

                A βŠ— B_a for the two-space statement of prop:cons-sub-meas.

                The total operator A^x = βˆ‘_a A^x_a remains on the left tensor factor, while the measurement outcome B^x_a remains on the right tensor factor. In the symmetric model this is totalSandwichFamily by rfl (heterogeneousTotalSandwichFamily_eq).

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  theorem MIPRE.LIDT.Co.Preliminaries.heterogeneousDiagonalSandwichFamily_eq {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (S : SymModel 𝔓 K) (A : IdxSubMeas Question Outcome 𝔓) (B : IdxMeas Question Outcome 𝔓) :

                  In the symmetric model the two-space diagonal sandwich family is the same-space one.

                  theorem MIPRE.LIDT.Co.Preliminaries.heterogeneousTotalSandwichFamily_eq {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (S : SymModel 𝔓 K) (A : IdxSubMeas Question Outcome 𝔓) (B : IdxMeas Question Outcome 𝔓) :

                  In the symmetric model the two-space total sandwich family is the same-space one.

                  structure MIPRE.LIDT.Co.Preliminaries.ConsSubMeasStmt {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (S : SymModel 𝔓 K) (π’Ÿ : MIPStarRE.LDT.Distribution Question) (A : IdxSubMeas Question Outcome 𝔓) (B : IdxMeas Question Outcome 𝔓) (Ξ³ : ℝ) :

                  Same-space output statement for prop:cons-sub-meas.

                  The paper-facing two-space output statement is ConsSubMeasHeterogeneousStmt.

                  Instances For
                    structure MIPRE.LIDT.Co.Preliminaries.ConsSubMeasHeterogeneousStmt {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (S : SymModel 𝔓 K) (π’Ÿ : MIPStarRE.LDT.Distribution Question) (A : IdxSubMeas Question Outcome 𝔓) (B : IdxMeas Question Outcome 𝔓) (Ξ³ : ℝ) :

                    Two-space output statement for prop:cons-sub-meas.

                    It records the two estimates A^x_a βŠ— I β‰ˆ_Ξ³ A^x_a βŠ— B^x_a and A^x_a βŠ— B^x_a β‰ˆ_Ξ³ A^x βŠ— B^x_a, and the resulting 4Ξ³ estimate from A^x_a βŠ— I to A^x βŠ— B^x_a.

                    Instances For

                      Sandwich expectations #

                      noncomputable def MIPRE.LIDT.Co.Preliminaries.leftSandwichExpectation {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (S : SymModel 𝔓 K) (π’Ÿ : MIPStarRE.LDT.Distribution Question) (A : IdxProjSubMeas Question Outcome 𝔓) (B : 𝔓) :

                      Averaged left term E_x βˆ‘_a ⟨ψ, (A_a B A_a βŠ— I) ψ⟩.

                      Equations
                      Instances For
                        noncomputable def MIPRE.LIDT.Co.Preliminaries.middleSandwichExpectation {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (S : SymModel 𝔓 K) (π’Ÿ : MIPStarRE.LDT.Distribution Question) (A : IdxProjSubMeas Question Outcome 𝔓) (B : 𝔓) :

                        Averaged middle term E_x βˆ‘_a ⟨ψ, (B βŠ— A_a) ψ⟩.

                        Equations
                        Instances For
                          noncomputable def MIPRE.LIDT.Co.Preliminaries.rightSandwichExpectation {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (S : SymModel 𝔓 K) (π’Ÿ : MIPStarRE.LDT.Distribution Question) (A : IdxProjSubMeas Question Outcome 𝔓) (B : 𝔓) :

                          Averaged right term E_x βˆ‘_a ⟨ψ, (B A_a βŠ— I) ψ⟩.

                          Equations
                          Instances For
                            structure MIPRE.LIDT.Co.Preliminaries.SwitchSandwichStmt {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (S : SymModel 𝔓 K) (π’Ÿ : MIPStarRE.LDT.Distribution Question) (A : IdxProjSubMeas Question Outcome 𝔓) (B : 𝔓) (Ξ΄ : ℝ) :

                            Conclusion statement for prop:switch-sandwich.

                            Instances For
                              structure MIPRE.LIDT.Co.Preliminaries.CompTransferStmt {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Question : Type u_3} {Outcome : Type u_4} [Fintype Outcome] (V : VecState K) (π’Ÿ : MIPStarRE.LDT.Distribution Question) (A : IdxSubMeas Question Outcome (K β†’L[β„‚] K)) (P : IdxProjSubMeas Question Outcome (K β†’L[β„‚] K)) (Ξ΅ : ℝ) :

                              Conclusion statement for prop:completeness-transfer-projective-P.

                              The vendored statement is about a state on a single space, so the state is a vector state V : VecState K (a symmetric model is accepted through its coercion) and A and P are families of joint operators.

                              Instances For

                                Completion #

                                theorem MIPRE.LIDT.Co.Preliminaries.completeAtOutcome_sum_eq_one {R : Type u_1} [Ring R] [StarRing R] [PartialOrder R] {Outcome : Type u_2} [Fintype Outcome] [DecidableEq Outcome] (B : SubMeas Outcome R) (a0 : Outcome) :
                                (βˆ‘ a : Outcome, if a = a0 then B.outcome a + (1 - B.total) else B.outcome a) = 1

                                The completed outcomes sum to the identity.

                                noncomputable def MIPRE.LIDT.Co.Preliminaries.completeAtOutcome {R : Type u_1} [Ring R] [StarRing R] [PartialOrder R] [StarOrderedRing R] {Outcome : Type u_2} [Fintype Outcome] (B : SubMeas Outcome R) (a0 : Outcome) :
                                Measurement Outcome R

                                Canonical completion of B by adjoining the residual I - Ξ£_a B_a to the distinguished outcome a0.

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  structure MIPRE.LIDT.Co.Preliminaries.CompletingToMeasStmt {𝔓 : Type u_1} [CStarAlgebra 𝔓] [PartialOrder 𝔓] [StarOrderedRing 𝔓] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace β„‚ K] [CompleteSpace K] {Outcome : Type u_3} [Fintype Outcome] (S : SymModel 𝔓 K) (A : Measurement Outcome 𝔓) (B : SubMeas Outcome 𝔓) (C : Measurement Outcome 𝔓) (a0 : Outcome) (Ξ΄ ΞΆ : ℝ) :

                                  Analytic conclusion for prop:completing-to-measurement once a witness C has been fixed.

                                  The theorem completingToMeasurement separately records that the chosen witness is the canonical completion completeAtOutcome B a0, so this structure stores only the closeness statement from the paper.

                                  Instances For