AncillaContinuity.lean
1module23public import SubentropyCertificates.AncillaBlocks4public import SubentropyCertificates.AncillaSpatialSign5public import SubentropyCertificates.AncillaTraceDistance6public import SubentropyCertificates.AncillaRegroup78/-! Corollary 16: continuity after adjoining an independent maximally mixed ancilla. -/9@[expose] public section10noncomputable section11open Matrix Set12open scoped BigOperators ComplexOrder MatrixOrder Matrix.Norms.L2Operator Kronecker13namespace SubentropyCertificates.ConditionalContinuity14open SubentropyCertificates.MixedQubit (traceDistance)15open SubentropyCertificates.CompactStability (traceDistance_nonneg)16open SubentropyCertificates.SpectralContinuity (maximallyMixed)1718variable {X D : Type*} [Fintype X] [DecidableEq X] [Fintype D] [DecidableEq D]1920omit [DecidableEq X] in21/-- Along the entire extended CQ segment the integral of the marginal coefficient is at22most the reciprocal ancilla dimension. The original endpoint marginals may differ. -/23theorem maximallyMixed_ancilla_pathWeight_le (C : Type*) [Fintype C] [DecidableEq C] [Nonempty C]24 (A B : X → Matrix D D ℂ) (ha : ∀ x, (A x).PosSemidef) (hb : ∀ x, (B x).PosSemidef)25 (hta : (∑ x, A x).trace = 1) (htb : (∑ x, B x).trace = 1) :26 let u := maximallyMixed C27 (∫ s in (0 : ℝ)..1, ‖spatialSign (∑ x, blockSegment (ancillaBlocks u A) (ancillaBlocks u B) s x)‖)28 ≤ 1 / (Fintype.card C : ℝ) := by29 let u := maximallyMixed C30 let f (s : ℝ) := ‖spatialSign (∑ x, blockSegment (ancillaBlocks u A) (ancillaBlocks u B) s x)‖31 have h (s : ℝ) (hs : s ∈ Icc 0 1) : f s ≤ 1 / (Fintype.card C : ℝ) := by32 dsimp only [f]33 rw [ancilla_segment_marginal]34 apply spatialSign_norm_tensor_maximallyMixed C35 · exact (Finset.sum_nonneg fun x _ ↦ (blockSegment_posSemidef A B ha hb hs x).nonneg).posSemidef36 · exact blockSegment_trace A B s hta htb37 have hi := intervalIntegral.norm_integral_le_of_norm_le_const (a := 0) (b := 1) (f := f)38 (C := 1 / (Fintype.card C : ℝ)) (by39 intro s hs40 rw [uIoc_of_le zero_le_one] at hs41 simpa only [f, norm_norm] using h s (Ioc_subset_Icc_self hs))42 exact (le_abs_self _).trans (by simpa only [Real.norm_eq_abs, sub_zero, abs_one, mul_one] using hi)4344/-- Corollary 16. Independent maximally mixed extension preserves joint trace distance45and bounds the change in conditional subentropy by the original distance divided by k. -/46theorem cq_maximallyMixed_ancilla_continuity (C : Type*) [Fintype C] [DecidableEq C] [Nonempty C]47 (A B : X → Matrix D D ℂ) (ha : ∀ x, (A x).PosSemidef) (hb : ∀ x, (B x).PosSemidef)48 (hta : (∑ x, A x).trace = 1) (htb : (∑ x, B x).trace = 1) :49 let u := maximallyMixed C50 let A' := ancillaBlocks u A51 let B' := ancillaBlocks u B52 let d := traceDistance (blockDensity A ha hta) (blockDensity B hb htb)53 traceDistance (blockDensity A' (ancillaBlocks_posSemidef u A ha) (ancillaBlocks_trace u A hta))54 (blockDensity B' (ancillaBlocks_posSemidef u B hb) (ancillaBlocks_trace u B htb)) = d ∧55 |blockConditionalQ B' - blockConditionalQ A'| ≤ d / (Fintype.card C : ℝ) := by56 let u := maximallyMixed C57 let A' := ancillaBlocks u A58 let B' := ancillaBlocks u B59 have ha' := ancillaBlocks_posSemidef u A ha60 have hb' := ancillaBlocks_posSemidef u B hb61 have hta' := ancillaBlocks_trace u A hta62 have htb' := ancillaBlocks_trace u B htb63 have hd := (traceDistance_ancilla_regroup C A B ha hb hta htb ha' hb' hta' htb').trans64 (traceDistance_product_maximallyMixed C (blockDensity A ha hta) (blockDensity B hb htb))65 refine ⟨hd, ?_⟩66 have hw := ((cq_continuity_theorem X (D × C)).1 A' B' ha' hb' hta' htb').167 change |blockConditionalQ B' - blockConditionalQ A'| ≤68 traceDistance (blockDensity A' ha' hta') (blockDensity B' hb' htb') * _ at hw69 rw [show traceDistance (blockDensity A' ha' hta') (blockDensity B' hb' htb') = _ from hd] at hw70 have hweight := maximallyMixed_ancilla_pathWeight_le C A B ha hb hta htb71 exact hw.trans (by simpa only [mul_one_div] using72 mul_le_mul_of_nonneg_left hweight (traceDistance_nonneg (blockDensity A ha hta) (blockDensity B hb htb)))7374end SubentropyCertificates.ConditionalContinuity
Axioms used
Choose a statement to see which axioms its proof uses.