Pratik Patil

CalibratedPinching.lean

1module23public import SubentropyCertificates.CalibratedDefinitions4import all SubentropyCertificates.MarginalEigenbasisTable56/-! Convexity of the pinching gain after tensoring with an independent ancillary state. -/7@[expose] public section8noncomputable section9open Matrix10open scoped BigOperators ComplexOrder MatrixOrder Kronecker1112namespace SubentropyCertificates.AncillaCalibration13open D5.S3.Quantum.Foundation.FiniteStateChannel (DensityState)14open D5.S3.Quantum.Information.PartialTraceMutualInformation (density_posSemidef)15open D5.S3.Quantum.Subentropy.Basic (matrixSubentropy)16open D5.S3.Quantum.Subentropy.ClassicalQuantumGram (blockPinch)17open D5.S3.Quantum.Subentropy.PinchingGap (actual_pinching_gap_laws)18open SubentropyCertificates.BinarySpectra (densityMatrix)1920variable {X B C : Type*} [Fintype X] [DecidableEq X] [Fintype B] [DecidableEq B]21  [Fintype C] [DecidableEq C]2223/-- Tensoring with a fixed density is affine and leaves the label register unchanged.24Thus pinching the enlarged matrix gives a nonnegative gain convex in the original matrix. -/25theorem calibrated_gap_laws (ν : DensityState C) (i₀ : X × (B × C)) :26    ConvexOn ℝ {G : Matrix (X × B) (X × B) ℂ | G.PosSemidef ∧ G.trace = 1} (calibratedGap ν) ∧27    ∀ G : Matrix (X × B) (X × B) ℂ, G.PosSemidef → G.trace = 1 → 0 ≤ calibratedGap ν G := by28  let e := (Equiv.prodAssoc X B C).symm29  let extend (G : Matrix (X × B) (X × B) ℂ) := (G ⊗ₖ densityMatrix ν).submatrix e e30  let gain (H : Matrix (X × (B × C)) (X × (B × C)) ℂ) :=31    matrixSubentropy (blockPinch H) - matrixSubentropy H32  have hstate (G : Matrix (X × B) (X × B) ℂ) (hG : G.PosSemidef) (ht : G.trace = 1) :33      (extend G).PosSemidef ∧ (extend G).trace = 1 := by34    refine ⟨(hG.kronecker (density_posSemidef ν)).submatrix e, ?_⟩35    rw [show (extend G).trace = (G ⊗ₖ densityMatrix ν).trace from36      QubitDeficit.reindex_trace _ e, Matrix.trace_kronecker, ht, one_mul]37    exact ν.2.238  have hgain (G : Matrix (X × B) (X × B) ℂ) : gain (extend G) = calibratedGap ν G := by39    have hpinch : blockPinch (extend G) = extend (blockPinch G) := by40      ext ⟨x,b,c⟩ ⟨y,d,f⟩41      change (if x = y then G (x,b) (y,d) * densityMatrix ν c f else 0) =42        (if x = y then G (x,b) (y,d) else 0) * densityMatrix ν c f43      by_cases h : x = y <;> simp [h]44    simp only [gain, hpinch, extend, QubitDeficit.reindex_subentropy, calibratedGap]45  constructor46  · refine ⟨(actual_pinching_gap_laws (i₀.1, i₀.2.1)).1.1, ?_⟩47    intro A hA B' hB a b ha hb hab48    have h := (actual_pinching_gap_laws i₀).1.2 (hstate A hA.1 hA.2) (hstate B' hB.1 hB.2)49      ha hb hab50    change gain (a • extend A + b • extend B') ≤ a • gain (extend A) + b • gain (extend B') at h51    have hlin : extend (a • A + b • B') = a • extend A + b • extend B' := by52      simp only [extend, Matrix.add_kronecker, Matrix.smul_kronecker, Matrix.submatrix_add,53        Matrix.submatrix_smul]54      rfl55    simpa only [← hlin, hgain] using h56  · intro G hG ht57    rw [← hgain]58    exact (actual_pinching_gap_laws i₀).2 _ (hstate G hG ht).1 (hstate G hG ht).25960end SubentropyCertificates.AncillaCalibration

Axioms used

Choose a statement to see which axioms its proof uses.