Pratik Patil

PathWeightLimit.lean

1module23public import SubentropyCertificates.CommonMixTraceDistance4public import SubentropyCertificates.SpatialSignContinuity5import Mathlib.MeasureTheory.Integral.DominatedConvergence67/-! Convergence of the marginal path weight when both endpoints are mixed with a common state. -/8@[expose] public section9noncomputable section10open Matrix Set Filter MeasureTheory11open scoped BigOperators ComplexOrder MatrixOrder Matrix.Norms.L2Operator Topology1213namespace SubentropyCertificates.ConditionalContinuity1415variable {X D : Type*} [Fintype X] [Fintype D] [DecidableEq D]1617/-- The marginal coefficient is continuous on density matrices, including singular states. -/18theorem kappa_continuousOn_density :19    ContinuousOn (fun M : Matrix D D ℂ ↦ ‖spatialSign M‖) {M | M.PosSemidef ∧ M.trace = 1} := by20  intro M hM21  have hn : M ≠ 0 := by22    intro hz23    simpa [hz] using hM.224  exact ((spatialSign_continuousWithinAt_posSemidef hM.1 hn).mono fun _ h ↦ h.1).norm2526/-- The integral of the marginal operator norm along the jointly mixed segment converges to27the original path weight as the common mixing parameter tends to zero from above. -/28theorem pathWeight_mix_tendsto (A B U : X → Matrix D D ℂ)29    (ha : ∀ x, (A x).PosSemidef) (hb : ∀ x, (B x).PosSemidef) (hu : ∀ x, (U x).PosSemidef)30    (hta : (∑ x, A x).trace = 1) (htb : (∑ x, B x).trace = 1) (htu : (∑ x, U x).trace = 1) :31    Tendsto (fun e : ℝ ↦ ∫ s in (0 : ℝ)..1,32        ‖spatialSign (∑ x, blockSegment (blockSegment A U e) (blockSegment B U e) s x)‖)33      (𝓝[Ioc (0 : ℝ) 1] 0) (𝓝 (∫ s in (0 : ℝ)..1, ‖spatialSign (∑ x, blockSegment A B s x)‖)) := by34  let M (p : ℝ × ℝ) := ∑ x, blockSegment (blockSegment A U p.1) (blockSegment B U p.1) p.2 x35  have hm : Continuous M := by unfold M blockSegment; fun_prop36  let I := Icc (0 : ℝ) 137  have hM : MapsTo M (I ×ˢ I) {N | N.PosSemidef ∧ N.trace = 1} := by38    intro p hp39    have hA := blockSegment_posSemidef A U ha hu hp.140    have hB := blockSegment_posSemidef B U hb hu hp.141    exact ⟨(Finset.sum_nonneg fun x _ ↦ (blockSegment_posSemidef _ _ hA hB hp.2 x).nonneg).posSemidef,42      blockSegment_trace _ _ _ (blockSegment_trace A U p.1 hta htu)43        (blockSegment_trace B U p.1 htb htu)⟩44  let F (e s : ℝ) := ‖spatialSign (M (e, s))‖45  have hc : ContinuousOn (fun p ↦ ‖spatialSign (M p)‖) (I ×ˢ I) :=46    kappa_continuousOn_density.comp hm.continuousOn hM47  have hz (s : ℝ) : F 0 s = ‖spatialSign (∑ x, blockSegment A B s x)‖ := by48    simp [F, M, blockSegment]49  change Tendsto (fun e ↦ ∫ s in (0 : ℝ)..1, F e s) _ _50  apply intervalIntegral.tendsto_integral_filter_of_dominated_convergence (fun _ ↦ (1 : ℝ))51  · filter_upwards [self_mem_nhdsWithin] with e he52    have hc' : ContinuousOn (F e) I :=53      hc.comp (continuous_const.prodMk continuous_id).continuousOn54        (fun _ hs ↦ ⟨Ioc_subset_Icc_self he, hs⟩)55    rw [uIoc_of_le zero_le_one]56    exact (hc'.mono Ioc_subset_Icc_self).aestronglyMeasurable measurableSet_Ioc57  · filter_upwards [self_mem_nhdsWithin] with e he58    filter_upwards with s59    intro hs60    rw [uIoc_of_le zero_le_one] at hs61    have h := (hM (show (e, s) ∈ I ×ˢ I from ⟨Ioc_subset_Icc_self he, Ioc_subset_Icc_self hs⟩)).162    exact (Real.norm_of_nonneg (norm_nonneg _)).le.trans (spatialSign_norm_le_one h)63  · exact intervalIntegrable_const64  · filter_upwards with s65    intro hs66    rw [uIoc_of_le zero_le_one] at hs67    have hc' : ContinuousOn (fun e ↦ F e s) I :=68      hc.comp (continuous_id.prodMk continuous_const).continuousOn69        (fun _ he ↦ ⟨he, Ioc_subset_Icc_self hs⟩)70    rw [← hz]71    exact (hc' 0 (show 0 ∈ I from ⟨le_rfl, zero_le_one⟩)).mono Ioc_subset_Icc_self7273end SubentropyCertificates.ConditionalContinuity

Axioms used

Choose a statement to see which axioms its proof uses.