CQStrictBound.lean
1module23public import SubentropyCertificates.CommonMarginalStrict4public import SubentropyCertificates.MixedMarginalNorm5public import SubentropyCertificates.MixedSegmentRank67/-! Strictness of the trace distance bound in Theorem 14. -/8@[expose] public section9noncomputable section10set_option backward.isDefEq.respectTransparency false11open Matrix Set12open scoped BigOperators ComplexOrder MatrixOrder Matrix.Norms.L2Operator1314namespace SubentropyCertificates.ConditionalContinuity15open SubentropyCertificates.MixedQubit (traceDistance)16open SubentropyCertificates.CompactStability (traceDistance_nonneg)17open SubentropyCertificates.SpectralContinuity (traceDistance_eq_zero_iff)1819/-- The integral of the marginal coefficient is strictly less than one if it is strictly20less than one at a single point of the segment, including an endpoint. -/21theorem pathWeight_lt_one_of_exists {X D : Type*} [Fintype X] [Fintype D] [DecidableEq D]22 (A B : X → Matrix D D ℂ) (ha : ∀ x, (A x).PosSemidef) (hb : ∀ x, (B x).PosSemidef)23 (hta : (∑ x, A x).trace = 1) (htb : (∑ x, B x).trace = 1)24 (hw : ∃ t ∈ Icc (0 : ℝ) 1, ‖spatialSign (∑ x, blockSegment A B t x)‖ < 1) :25 (∫ t in (0 : ℝ)..1, ‖spatialSign (∑ x, blockSegment A B t x)‖) < 1 := by26 let M (t : ℝ) := ∑ x, blockSegment A B t x27 have hp (t : ℝ) (ht : t ∈ Icc 0 1) : (M t).PosSemidef :=28 (Finset.sum_nonneg fun x _ ↦ (blockSegment_posSemidef A B ha hb ht x).nonneg).posSemidef29 have hc : Continuous M := by unfold M blockSegment; fun_prop30 have hk : ContinuousOn (fun t ↦ ‖spatialSign (M t)‖) (Icc 0 1) :=31 kappa_continuousOn_density.comp hc.continuousOn32 (fun t ht ↦ ⟨hp t ht, blockSegment_trace A B t hta htb⟩)33 have hi := intervalIntegral.integral_lt_integral_of_continuousOn_of_le_of_exists_lt34 (g := fun _ ↦ (1 : ℝ)) zero_lt_one hk continuousOn_const35 (fun t ht ↦ spatialSign_norm_le_one (hp t (Ioc_subset_Icc_self ht))) hw36 simpa using hi3738variable {X D : Type*} [Fintype X] [DecidableEq X] [Fintype D] [DecidableEq D]3940omit [DecidableEq X] in41/-- An interior marginal has rank greater than one exactly when the endpoint marginals42differ or their common value is mixed. Trace one excludes rank zero. -/43theorem interior_marginal_rank_gt_one_iff (A B : X → Matrix D D ℂ)44 (ha : ∀ x, (A x).PosSemidef) (hb : ∀ x, (B x).PosSemidef)45 (hta : (∑ x, A x).trace = 1) (htb : (∑ x, B x).trace = 1)46 {s : ℝ} (hs : s ∈ Ioo 0 1) :47 1 < (∑ x, blockSegment A B s x).rank ↔48 (∑ x, A x) ≠ (∑ x, B x) ∨ 1 < (∑ x, A x).rank := by49 have hm : (∑ x, blockSegment A B s x) = (1-s) • (∑ x, A x) + s • (∑ x, B x) := by50 simp only [blockSegment, Finset.sum_add_distrib, Finset.smul_sum]51 rw [hm]52 by_cases he : (∑ x, A x) = ∑ x, B x53 · rw [← he, ← add_smul, sub_add_cancel, one_smul]54 simp55 · have hp := segment_rank_gt_one_of_ne (∑ x, A x) (∑ x, B x)56 (Finset.sum_nonneg fun x _ ↦ (ha x).nonneg).posSemidef57 (Finset.sum_nonneg fun x _ ↦ (hb x).nonneg).posSemidef hta htb he hs58 exact ⟨fun _ ↦ Or.inl he, fun _ ↦ hp⟩5960omit [DecidableEq X] in61/-- Unless both endpoint marginals are the same pure state, the path coefficient has62integral strictly below one. It suffices to use strictness at the midpoint and continuity. -/63theorem pathWeight_lt_one_of_mixed_interior (A B : X → Matrix D D ℂ)64 (ha : ∀ x, (A x).PosSemidef) (hb : ∀ x, (B x).PosSemidef)65 (hta : (∑ x, A x).trace = 1) (htb : (∑ x, B x).trace = 1)66 (hmix : (∑ x, A x) ≠ (∑ x, B x) ∨ 1 < (∑ x, A x).rank) :67 (∫ s in (0 : ℝ)..1, ‖spatialSign (∑ x, blockSegment A B s x)‖) < 1 := by68 apply pathWeight_lt_one_of_exists A B ha hb hta htb69 have hs : (1/2 : ℝ) ∈ Ioo 0 1 := by constructor <;> norm_num70 have hc := Ioo_subset_Icc_self hs71 refine ⟨1/2, hc, spatialSign_norm_lt_one_of_rank ?_ ?_⟩72 · exact (Finset.sum_nonneg fun x _ ↦73 (blockSegment_posSemidef A B ha hb hc x).nonneg).posSemidef74 · exact (interior_marginal_rank_gt_one_iff A B ha hb hta htb hs).2 hmix7576/-- Theorem 14: for any two distinct finite CQ states, conditional subentropy changes77by strictly less than their joint trace distance. Zero-probability blocks are allowed. -/78theorem cq_subentropy_lt_traceDistance (A B : X → Matrix D D ℂ)79 (ha : ∀ x, (A x).PosSemidef) (hb : ∀ x, (B x).PosSemidef)80 (hta : (∑ x, A x).trace = 1) (htb : (∑ x, B x).trace = 1)81 (hne : blockDensity A ha hta ≠ blockDensity B hb htb) :82 |blockConditionalQ B - blockConditionalQ A| <83 traceDistance (blockDensity A ha hta) (blockDensity B hb htb) := by84 by_cases hmix : (∑ x, A x) ≠ (∑ x, B x) ∨ 1 < (∑ x, A x).rank85 · have hw := pathWeight_lt_one_of_mixed_interior A B ha hb hta htb hmix86 have hd := lt_of_le_of_ne (traceDistance_nonneg (blockDensity A ha hta) (blockDensity B hb htb))87 (fun hz ↦ hne ((traceDistance_eq_zero_iff _ _).mp hz.symm))88 exact (cq_path_bound A B ha hb hta htb).1.trans_lt (by89 simpa only [mul_one] using mul_lt_mul_of_pos_left hw hd)90 · have he : (∑ x, A x) = ∑ x, B x := by91 by_contra h92 exact hmix (Or.inl h)93 exact cq_strict_of_same_marginal A B ha hb hta htb he hne9495end SubentropyCertificates.ConditionalContinuity
Axioms used
Choose a statement to see which axioms its proof uses.