MarginalBounds.lean
1module23public import D5.S3.Quantum.Subentropy.Subadditivity45/-! Marginal lower bounds for the joint subentropy. Reshaping a square root of6the state gives a purification. Subadditivity on a complementary pair and the7rectangular Gram identity yield both lower bounds. -/8@[expose] public section9noncomputable section10set_option autoImplicit false11set_option backward.isDefEq.respectTransparency false12open Matrix MeasureTheory13open scoped BigOperators ComplexOrder MatrixOrder14namespace SubentropyCertificates.Subadditivity15open D5.S3.Quantum.Foundation.FiniteStateChannel16open D5.S3.Quantum.Information.PartialTraceMutualInformation17open D5.S3.Quantum.Subentropy.Basic18open D5.S3.Quantum.Subentropy.Subadditivity1920private theorem matrixSubentropy_transpose {D : Type*} [Fintype D] [DecidableEq D]21 (M : Matrix D D ℂ) : matrixSubentropy M.transpose = matrixSubentropy M := by22 unfold matrixSubentropy subentropyKernel23 apply integral_congr_ae24 apply Filter.Eventually.of_forall25 intro t26 have hd := Matrix.det_transpose (1 + (t⁻¹ : ℝ) • M)27 rw [Matrix.transpose_add, Matrix.transpose_one, Matrix.transpose_smul] at hd28 exact congrArg (fun z : ℂ => t / (1 + t) - z.re⁻¹) hd2930variable {X B C : Type*} [Fintype X] [DecidableEq X] [Fintype B] [DecidableEq B]31 [Fintype C] [DecidableEq C]3233private theorem left_bound_of_factor (R : Matrix (X × B) C ℂ)34 (ht : (R.conjTranspose * R).trace = 1) :35 matrixSubentropy (partialTraceLeft (R * R.conjTranspose)) ≤36 matrixSubentropy (partialTraceRight (R * R.conjTranspose)) +37 matrixSubentropy (R.conjTranspose * R) := by38 let V : Matrix B (X × C) ℂ := fun b i => R (i.1,b) i.239 let G := V.conjTranspose * V40 have hrow : V * V.conjTranspose = partialTraceLeft (R * R.conjTranspose) := by41 ext b d42 simp [partialTraceLeft, Matrix.mul_apply, V, Fintype.sum_prod_type]43 have hC : partialTraceLeft G = R.conjTranspose * R := by44 ext c d45 simp [partialTraceLeft, G, V, Matrix.mul_apply, Fintype.sum_prod_type]46 have hX : partialTraceRight G = (partialTraceRight (R * R.conjTranspose)).transpose := by47 ext x y48 simp only [partialTraceRight, G, V, Matrix.mul_apply, Matrix.conjTranspose_apply,49 Matrix.transpose_apply]50 rw [Finset.sum_comm]51 apply Finset.sum_congr rfl52 intro b _53 apply Finset.sum_congr rfl54 intro c _55 ring56 have htr : G.trace = 1 := by rw [← trace_partialTraceLeft G, hC, ht]57 let σ : DensityState (X × C) := ⟨CStarMatrix.ofMatrix G,58 map_nonneg CStarMatrix.ofMatrixStarAlgEquiv (Matrix.posSemidef_conjTranspose_mul_self V).nonneg, htr⟩59 have h := subentropy_subadditive σ60 change matrixSubentropy G ≤ matrixSubentropy (partialTraceRight G) +61 matrixSubentropy (partialTraceLeft G) at h62 rw [hX, hC, matrixSubentropy_transpose] at h63 rwa [← hrow, ← matrixSubentropy_rectangular_gram V]6465theorem marginal_subentropy_bounds (ρ : DensityState (X × B)) :66 subentropy (marginalLeft ρ) ≤ subentropy (marginalRight ρ) + subentropy ρ ∧67 subentropy (marginalRight ρ) ≤ subentropy (marginalLeft ρ) + subentropy ρ := by68 let M := CStarMatrix.ofMatrix.symm ρ.169 let R := CFC.sqrt M70 have hstar : R.conjTranspose = R := (CFC.sqrt_nonneg M).isSelfAdjoint.star_eq71 have hsq : R * R = M := CFC.sqrt_mul_sqrt_self _ (density_posSemidef ρ).nonneg72 have ht : (R.conjTranspose * R).trace = 1 := by rw [hstar, hsq]; exact ρ.2.273 let S : Matrix (B × X) (X × B) ℂ := fun i j => R (i.2,i.1) j74 have hs : S.conjTranspose * S = R.conjTranspose * R := by75 ext i j76 simp only [Matrix.mul_apply, Matrix.conjTranspose_apply, S, Fintype.sum_prod_type]77 rw [Finset.sum_comm]78 have hl : partialTraceLeft (S * S.conjTranspose) = partialTraceRight (R * R.conjTranspose) := rfl79 have hr : partialTraceRight (S * S.conjTranspose) = partialTraceLeft (R * R.conjTranspose) := rfl80 have h₁ := left_bound_of_factor R ht81 have h₂ := left_bound_of_factor S (by rw [hs]; exact ht)82 rw [hl, hr, hs] at h₂83 rw [hstar, hsq] at h₁ h₂84 exact ⟨h₁, h₂⟩8586end SubentropyCertificates.Subadditivity
Axioms used
Choose a statement to see which axioms its proof uses.