Pratik Patil

ConditionalDerivativeBound.lean

1module23public import SubentropyCertificates.HalfTracePairing4public import SubentropyCertificates.PositiveBlockSegment5public import SubentropyCertificates.ProjectionAlignment67/-! A trace-zero perturbation of a normalized CQ state gains a factor of one half. -/8@[expose] public section9noncomputable section10set_option backward.isDefEq.respectTransparency false11open Matrix12open scoped BigOperators ComplexOrder MatrixOrder Matrix.Norms.L2Operator1314namespace SubentropyCertificates.ConditionalContinuity15open SubentropyCertificates.MixedQubit (traceDistance)16open SubentropyCertificates.SpectralContinuity (traceDistance_comm)1718variable {X D : Type*} [Fintype X] [DecidableEq X] [Fintype D] [DecidableEq D]1920/-- The trace pairing with the conditional gradient costs at most κ times half the trace norm21of the joint perturbation. Only the total trace of all the blocks must vanish. -/22theorem conditionalGradient_pairing_bound (A H : X → Matrix D D ℂ)23    (ha : ∀ x, (A x).PosSemidef) (hh : ∀ x, (H x).IsHermitian) (hz : (∑ x, H x).trace = 0) :24    |∑ x, (((spatialSign (∑ y, A y) - blockSpatialSign A x) * H x).trace).re| ≤25      ‖spatialSign (∑ x, A x)‖ * ((∑ i, |(blockHermitian H hh).eigenvalues i|) / 2) := by26  apply block_pairing_half_bound _ H _ (norm_nonneg _) _ _ hh hz27  · exact fun x ↦ (spatialSign_block_gradient_order A ha x).128  · exact fun x ↦ (spatialSign_block_gradient_order A ha x).2.1.trans29      (spatialSign_block_gradient_order A ha x).2.23031/-- The derivative of conditional subentropy itself at a positive definite normalized family,32in an arbitrary Hermitian direction of total trace zero. -/33theorem conditionalSubentropy_derivative_bound [Nonempty X] (A H : X → Matrix D D ℂ)34    (ha : ∀ x, (A x).PosDef) (ht : (∑ x, A x).trace = 1)35    (hh : ∀ x, (H x).IsHermitian) (hz : (∑ x, H x).trace = 0) :36    |deriv (fun s : ℝ ↦ blockConditionalQ (fun x ↦ A x + s • H x)) 0| ≤37      ‖spatialSign (∑ x, A x)‖ * ((∑ i, |(blockHermitian H hh).eigenvalues i|) / 2) := by38  unfold blockConditionalQ39  rw [(conditionalSubentropy_gradient A H ha ht hh hz).deriv]40  exact conditionalGradient_pairing_bound A H (fun x ↦ (ha x).posSemidef) hh hz4142private theorem sum_abs_congr {J : Type*} [Fintype J] [DecidableEq J] {M N : Matrix J J ℂ}43    (hm : M.IsHermitian) (hn : N.IsHermitian) (he : M = N) :44    (∑ i, |hm.eigenvalues i|) = ∑ i, |hn.eigenvalues i| := by45  subst N46  rfl4748/-- For the direction from A to B, half the trace norm of the joint perturbation is the49project's trace distance between the two CQ density states. -/50theorem blockDifference_half_eq_traceDistance (A B : X → Matrix D D ℂ)51    (ha : ∀ x, (A x).PosSemidef) (hb : ∀ x, (B x).PosSemidef)52    (hta : (∑ x, A x).trace = 1) (htb : (∑ x, B x).trace = 1) :53    (∑ i, |(blockHermitian (fun x ↦ B x - A x)54      (fun x ↦ (hb x).isHermitian.sub (ha x).isHermitian)).eigenvalues i|) / 2 =55      traceDistance (blockDensity A ha hta) (blockDensity B hb htb) := by56  rw [traceDistance_comm]57  unfold traceDistance58  congr 159  apply sum_abs_congr60  exact blockDiagonal_sub B A6162end SubentropyCertificates.ConditionalContinuity

Axioms used

Choose a statement to see which axioms its proof uses.