CQPathBound.lean
1module23public import SubentropyCertificates.PositiveDefinitePathBound4public import SubentropyCertificates.MaximallyMixedBlocks5public import SubentropyCertificates.BlockSubentropyLimit6public import SubentropyCertificates.PathWeightLimit78/-! The weighted path bound for arbitrary finite CQ states (Theorem 14). -/9@[expose] public section10noncomputable section11set_option backward.isDefEq.respectTransparency false12open Matrix Set Filter13open scoped BigOperators ComplexOrder MatrixOrder Matrix.Norms.L2Operator Topology1415namespace SubentropyCertificates.ConditionalContinuity16open SubentropyCertificates.MixedQubit (traceDistance)1718variable {X D : Type*} [Fintype X] [DecidableEq X] [Fintype D] [DecidableEq D]1920omit [DecidableEq X] [DecidableEq D] in21private theorem nonempty_of_total_trace_one (A : X → Matrix D D ℂ) (ht : (∑ x, A x).trace = 1) :22 Nonempty X ∧ Nonempty D := by23 constructor24 · cases isEmpty_or_nonempty X with25 | inl h => simp at ht26 | inr h => exact h27 · cases isEmpty_or_nonempty D with28 | inl h => simp [Matrix.trace] at ht29 | inr h => exact h3031/-- Theorem 14, equation (cq-path-bound). Both endpoint families need only be positive32semidefinite and normalized. The integral uses the actual marginal at every point on the33original segment, and the distance is that of the full joint CQ states. -/34theorem cq_path_bound (A B : X → Matrix D D ℂ)35 (ha : ∀ x, (A x).PosSemidef) (hb : ∀ x, (B x).PosSemidef)36 (hta : (∑ x, A x).trace = 1) (htb : (∑ x, B x).trace = 1) :37 let d := traceDistance (blockDensity A ha hta) (blockDensity B hb htb)38 let weight := ∫ s in (0 : ℝ)..1, ‖spatialSign (∑ x, blockSegment A B s x)‖39 |blockConditionalQ B - blockConditionalQ A| ≤ d * weight ∧ d * weight ≤ d := by40 obtain ⟨hX, hD⟩ := nonempty_of_total_trace_one A hta41 let U := uniformBlocks X D42 let mix (C : X → Matrix D D ℂ) (e : ℝ) := blockSegment C U e43 let w (C E : X → Matrix D D ℂ) := ∫ s in (0 : ℝ)..1, ‖spatialSign (∑ x, blockSegment C E s x)‖44 let d := traceDistance (blockDensity A ha hta) (blockDensity B hb htb)45 let l := 𝓝[Ioc (0 : ℝ) 1] 046 have : NeBot l := by47 rw [show l = 𝓝[>] (0 : ℝ) from nhdsWithin_Ioc_eq_nhdsGT zero_lt_one]48 infer_instance49 have hu : ∀ x, (U x).PosSemidef := fun x ↦ (uniformBlocks_posDef X D x).posSemidef50 have htu : (∑ x, U x).trace = 1 := uniformBlocks_trace X D51 have hw : Tendsto (fun e ↦ w (mix A e) (mix B e)) l (𝓝 (w A B)) :=52 pathWeight_mix_tendsto A B U ha hb hu hta htb htu53 have hd : Tendsto (fun e : ℝ ↦ (1-e)*d) l (𝓝 d) := by54 have hc : Continuous (fun e : ℝ ↦ (1-e)*d) := by fun_prop55 simpa [l] using (hc.continuousAt (x := 0)).continuousWithinAt56 (s := Ioc (0 : ℝ) 1) |>.tendsto57 have hq := ((blockConditionalQ_mix_tendsto B U hb hu htb htu).sub58 (blockConditionalQ_mix_tendsto A U ha hu hta htu)).abs59 have hi : ∀ᶠ e in l,60 |blockConditionalQ (mix B e) - blockConditionalQ (mix A e)| ≤61 (1-e)*d * w (mix A e) (mix B e) ∧ (1-e)*d * w (mix A e) (mix B e) ≤ (1-e)*d := by62 filter_upwards [self_mem_nhdsWithin] with e he63 have hs := positiveDefinite_cq_path_bound (mix A e) (mix B e)64 (uniformMix_posDef X D A ha he) (uniformMix_posDef X D B hb he)65 (blockSegment_trace A U e hta htu) (blockSegment_trace B U e htb htu)66 have heq := commonMix_traceDistance A B U ha hb hu hta htb htu (Ioc_subset_Icc_self he)67 dsimp only at hs68 rw [heq] at hs69 exact hs70 exact ⟨le_of_tendsto_of_tendsto hq (hd.mul hw) (hi.mono fun _ h ↦ h.1),71 le_of_tendsto_of_tendsto (hd.mul hw) hd (hi.mono fun _ h ↦ h.2)⟩7273end SubentropyCertificates.ConditionalContinuity
Axioms used
Choose a statement to see which axioms its proof uses.