PositiveDefinitePathBound.lean
1module23public import SubentropyCertificates.ConditionalDerivativeBound4public import SubentropyCertificates.SpatialSignContinuity5public import SubentropyCertificates.PathIntegralComparison6public import SubentropyCertificates.TraceDistanceContinuity78/-! The path bound of Theorem 14 for CQ states with positive definite endpoint blocks. -/9@[expose] public section10noncomputable section11set_option backward.isDefEq.respectTransparency false12open Matrix Set13open scoped BigOperators ComplexOrder MatrixOrder Matrix.Norms.L2Operator1415namespace SubentropyCertificates.ConditionalContinuity16open SubentropyCertificates.MixedQubit (traceDistance)17open SubentropyCertificates.CompactStability (traceDistance_nonneg)1819variable {X D : Type*} [Fintype X] [DecidableEq X] [Fintype D] [DecidableEq D] [Nonempty X]2021/-- The coefficient in Theorem 14 is continuous on the closed segment of positive definite22blocks. It uses only the quantum marginal at each parameter. -/23theorem blockSegment_kappa_continuousOn (A B : X → Matrix D D ℂ)24 (ha : ∀ x, (A x).PosDef) (hb : ∀ x, (B x).PosDef) :25 ContinuousOn (fun s : ℝ ↦ ‖spatialSign (∑ x, blockSegment A B s x)‖) (Icc 0 1) := by26 have hm : Continuous (fun s : ℝ ↦ ∑ x, blockSegment A B s x) := by27 unfold blockSegment28 fun_prop29 exact (spatialSign_continuousOn_posDef.comp hm.continuousOn30 (fun s hs ↦ sum_blocks_posDef _ (blockSegment_posDef A B ha hb hs))).norm3132/-- The positive definite case of the two inequalities in the path bound. The distance is33the trace distance of the full CQ states; κ is evaluated at the marginal of each mixture. -/34theorem positiveDefinite_cq_path_bound (A B : X → Matrix D D ℂ)35 (ha : ∀ x, (A x).PosDef) (hb : ∀ x, (B x).PosDef)36 (hta : (∑ x, A x).trace = 1) (htb : (∑ x, B x).trace = 1) :37 let d := traceDistance (blockDensity A (fun x ↦ (ha x).posSemidef) hta)38 (blockDensity B (fun x ↦ (hb x).posSemidef) htb)39 let weight := ∫ s in (0 : ℝ)..1, ‖spatialSign (∑ x, blockSegment A B s x)‖40 |blockConditionalQ B - blockConditionalQ A| ≤ d * weight ∧ d * weight ≤ d := by41 let H := fun x ↦ B x - A x42 let k := fun s : ℝ ↦ ‖spatialSign (∑ x, blockSegment A B s x)‖43 let v := fun s : ℝ ↦ ∑ x, (((spatialSign (∑ y, blockSegment A B s y) -44 blockSpatialSign (blockSegment A B s) x) * H x).trace).re45 let f := fun s ↦ blockConditionalQ (blockSegment A B s)46 let d := traceDistance (blockDensity A (fun x ↦ (ha x).posSemidef) hta)47 (blockDensity B (fun x ↦ (hb x).posSemidef) htb)48 have hd : 0 ≤ d := traceDistance_nonneg _ _49 have hh : ∀ x, (H x).IsHermitian := fun x ↦ (hb x).isHermitian.sub (ha x).isHermitian50 have hz : (∑ x, H x).trace = 0 := by simp [H, Finset.sum_sub_distrib, hta, htb]51 have he : (∑ i, |(blockHermitian H hh).eigenvalues i|) / 2 = d :=52 blockDifference_half_eq_traceDistance A B _ _ hta htb53 have hk : ContinuousOn k (Icc 0 1) := blockSegment_kappa_continuousOn A B ha hb54 have hf : ∀ s ∈ Icc (0 : ℝ) 1, HasDerivAt f (v s) s :=55 fun _ hs ↦ blockSegment_hasDerivAt A B ha hb hta htb hs56 have hv (s : ℝ) (hs : s ∈ Icc 0 1) : |v s| ≤ k s * d := by57 rw [← he]58 exact conditionalGradient_pairing_bound _ H59 (fun x ↦ (blockSegment_posDef A B ha hb hs x).posSemidef) hh hz60 constructor61 · have hi := abs_sub_le_integral_of_deriv_bound f v k d hk hf hv62 have h₀ : blockSegment A B 0 = A := by funext x; simp [blockSegment]63 have h₁ : blockSegment A B 1 = B := by funext x; simp [blockSegment]64 simpa only [f, h₀, h₁] using hi65 · apply weighted_path_integral_le k hd hk66 intro s hs67 exact spatialSign_norm_le_one (sum_blocks_posDef _ (blockSegment_posDef A B ha hb hs)).posSemidef6869end SubentropyCertificates.ConditionalContinuity
Axioms used
Choose a statement to see which axioms its proof uses.