MixedSegmentRank.lean
1module23public import SubentropyCertificates.MatrixStrongConcavity4public import SubentropyCertificates.MarginalPurity56/-! An interior mixture of two distinct density matrices has rank at least two. -/7@[expose] public section8noncomputable section9set_option backward.isDefEq.respectTransparency false10open Matrix Set11open scoped BigOperators ComplexOrder MatrixOrder1213namespace SubentropyCertificates.ConditionalContinuity14open D5.S3.Quantum.Subentropy.Basic15open D5.S3.Quantum.Subentropy.DensityKernel16open SubentropyCertificates.Subadditivity17open SubentropyCertificates.QuantumEquality18open SubentropyCertificates.StrongConcavity1920variable {D : Type*} [Fintype D] [DecidableEq D]2122omit [DecidableEq D] in23private theorem hsSquared_nonneg_eq_zero (T : Matrix D D ℂ) :24 0 ≤ hsSquared T ∧ (hsSquared T = 0 → T = 0) := by25 have h := Complex.nonneg_iff.mp (Matrix.posSemidef_conjTranspose_mul_self T).trace_nonneg26 exact ⟨h.1, fun hz ↦ trace_conjTranspose_mul_self_eq_zero_iff.mp27 (Complex.ext hz h.2.symm)⟩2829/-- Strong concavity makes the subentropy of an interior mixture of two distinct30normalized marginals positive. A rank-one state would have zero subentropy. -/31theorem segment_rank_gt_one_of_ne (M N : Matrix D D ℂ) (hm : M.PosSemidef) (hn : N.PosSemidef)32 (htm : M.trace = 1) (htn : N.trace = 1) (hne : M ≠ N) {s : ℝ} (hs : s ∈ Ioo 0 1) :33 1 < ((1-s) • M + s • N).rank := by34 let C := (1-s) • M + s • N35 have hs₀ := hs.136 have hs₁ : 0 < 1-s := sub_pos.mpr hs.237 have hC : C.PosSemidef := (hm.smul hs₁.le).add (hn.smul hs₀.le)38 have htC : C.trace = 1 := by simp [C, trace_add, trace_smul, htm, htn, Complex.real_smul]39 have hd : 2 ≤ Fintype.card D := by40 by_contra! hc41 have : Subsingleton D := Fintype.card_le_one_iff_subsingleton.mp (by omega)42 have entry (P : Matrix D D ℂ) (ht : P.trace = 1) (i : D) : P i i = 1 := by43 change ∑ j, P j j = 1 at ht44 rwa [Finset.sum_eq_single i (fun j _ hj ↦ (hj (Subsingleton.elim j i)).elim)45 (fun h ↦ (h (Finset.mem_univ i)).elim)] at ht46 apply hne47 ext i j48 rw [Subsingleton.elim j i, entry M htm, entry N htn]49 have hQ (P : Matrix D D ℂ) (hp : P.PosSemidef) (ht : P.trace = 1) :50 0 ≤ matrixSubentropy P := by51 rw [subentropy_of_spectrum hp.isHermitian]52 exact classical_subentropy_nonneg _ (spectral_prob hp ht)53 have hc := matrix_strong_concavity hd ![1-s, s]54 (by intro i; fin_cases i <;> simp [hs₀.le, hs₁.le])55 (by simp [Fin.sum_univ_two]) ![M, N]56 (by intro i; fin_cases i <;> simp [hm, hn])57 (by intro i; fin_cases i <;> simp [htm, htn])58 simp only [Fin.sum_univ_two, Matrix.cons_val_zero, Matrix.cons_val_one] at hc59 change mu (Fintype.card D) / 2 * ((1-s)*hsSquared (M-C) + s*hsSquared (N-C)) ≤60 matrixSubentropy C - ((1-s)*matrixSubentropy M + s*matrixSubentropy N) at hc61 have hv : 0 < (1-s)*hsSquared (M-C) + s*hsSquared (N-C) := by62 have ha := hsSquared_nonneg_eq_zero (M-C)63 have hb := hsSquared_nonneg_eq_zero (N-C)64 by_contra! hz65 have hleft := (mul_nonneg hs₁.le ha.1).antisymm'66 (by linarith [mul_nonneg hs₀.le hb.1] : (1-s)*hsSquared (M-C) ≤ 0)67 have hright := (mul_nonneg hs₀.le hb.1).antisymm'68 (by linarith [mul_nonneg hs₁.le ha.1] : s*hsSquared (N-C) ≤ 0)69 exact hne ((sub_eq_zero.mp (ha.2 ((mul_eq_zero.mp hleft).resolve_left hs₁.ne'))).trans70 (sub_eq_zero.mp (hb.2 ((mul_eq_zero.mp hright).resolve_left hs₀.ne'))).symm)71 have hmupos : 0 < mu (Fintype.card D)/2 := by linarith [mu_ge_third hd]72 have hpos : 0 < matrixSubentropy C := by73 linarith [mul_pos hmupos hv, mul_nonneg hs₁.le (hQ M hm htm), mul_nonneg hs₀.le (hQ N hn htn)]74 have hnotone := mt (matrixSubentropy_zero_iff_rank_one hC htC).mpr hpos.ne'75 have hp : 0 < C.rank := by76 rw [hC.isHermitian.rank_eq_card_non_zero_eigs, Fintype.card_pos_iff]77 by_contra! he78 have hz : hC.isHermitian.eigenvalues = 0 := funext fun i ↦ by79 by_contra hi80 exact he.false ⟨i, hi⟩81 have hz' := hC.isHermitian.eigenvalues_eq_zero_iff.mp hz82 simp [hz'] at htC83 change 1 < C.rank84 omega8586end SubentropyCertificates.ConditionalContinuity
Axioms used
Choose a statement to see which axioms its proof uses.