UniformInverseLimit.lean
1module23public import SubentropyCertificates.UniformAncillaCurveLimit4public import SubentropyCertificates.CalibratedInverse5public import SubentropyCertificates.QuadraticDiscrimination67/-! Convergence of the calibrated inverse on the closed quadratic range in Corollary 26. -/8@[expose] public section9noncomputable section10open Filter Set11open scoped BigOperators Topology1213namespace SubentropyCertificates.AncillaLimit14open D5.S3.Quantum.Foundation.FiniteStateChannel (DensityState)15open D5.S3.Quantum.Information.PartialTraceMutualInformation (productState)16open D5.S3.Quantum.Subentropy.ClassicalQuantumGram (conditionalSubentropy)17open SubentropyCertificates.AncillaCalibration18open SubentropyCertificates.ClassicalCurve (uniformError)19open SubentropyCertificates.Quadratic (curve radius inverse statistic)20open SubentropyCertificates.SpectralContinuity (maximallyMixed)2122/-- At every admissible error u, scaled arguments tending to g(u) have inverse values23tending to u. Interval bounds supply the outer side of the bracket at the endpoints. -/24theorem uniform_inverse_at_curve_tendsto (m : ℕ) (q : ℕ → ℝ)25 (hq : ∀ k, q k ∈ calibratedCurveRange (maximallyMixed (Fin (k + 1))) m)26 {u : ℝ} (hu : u ∈ Icc 0 (uniformError m))27 (hlim : Tendsto (fun k : ℕ ↦ ((k + 1 : ℕ) : ℝ) * q k) atTop (𝓝 (curve m u))) :28 Tendsto (fun k ↦ calibratedPhiInverse (maximallyMixed (Fin (k + 1))) m (q k) (hq k))29 atTop (𝓝 u) := by30 let ν := fun k : ℕ ↦ maximallyMixed (Fin (k + 1))31 let x := fun k ↦ calibratedPhiInverse (ν k) m (q k) (hq k)32 have hx (k) := calibratedPhiInverse_spec (ν k) m (q k) (hq k)33 have mono : StrictMonoOn (curve m) (Icc 0 (uniformError m)) := by34 simpa only [Quadratic.radius_eq] using Quadratic.curve_strict m35 change Tendsto x atTop (𝓝 u)36 apply tendsto_order.mpr37 constructor38 · intro a ha39 by_cases hneg : a < 040 · exact .of_forall fun k ↦ hneg.trans_le (hx k).1.141 have hmem : a ∈ Icc 0 (uniformError m) := ⟨le_of_not_gt hneg, ha.le.trans hu.2⟩42 have hlt := (uniform_ancilla_curve_tendsto m hmem).eventually_lt hlim (mono hmem hu ha)43 filter_upwards [hlt] with k hk44 have hc : calibratedPhi (ν k) m a < q k := (mul_lt_mul_iff_right₀ (by positivity :45 0 < ((k + 1 : ℕ) : ℝ))).mp hk46 rw [← (hx k).2] at hc47 exact ((calibratedPhi_strictMono (ν k) m).lt_iff_lt hmem (hx k).1).mp hc48 · intro b hb49 by_cases hout : uniformError m < b50 · exact .of_forall fun k ↦ (hx k).1.2.trans_lt hout51 have hmem : b ∈ Icc 0 (uniformError m) := ⟨hu.1.trans hb.le, le_of_not_gt hout⟩52 have hlt := hlim.eventually_lt (uniform_ancilla_curve_tendsto m hmem) (mono hu hmem hb)53 filter_upwards [hlt] with k hk54 have hc : q k < calibratedPhi (ν k) m b := (mul_lt_mul_iff_right₀ (by positivity :55 0 < ((k + 1 : ℕ) : ℝ))).mp hk56 rw [← (hx k).2] at hc57 exact ((calibratedPhi_strictMono (ν k) m).lt_iff_lt (hx k).1 hmem).mp hc5859/-- The two endpoint limits hold for arbitrary sequences of admissible arguments,60including sequences whose terms are all strictly inside the respective curve ranges. -/61theorem uniform_inverse_endpoint_limits (m : ℕ) (q : ℕ → ℝ)62 (hq : ∀ k, q k ∈ calibratedCurveRange (maximallyMixed (Fin (k + 1))) m) :63 let z := fun k : ℕ ↦ ((k + 1 : ℕ) : ℝ) * q k64 let x := fun k ↦ calibratedPhiInverse (maximallyMixed (Fin (k + 1))) m (q k) (hq k)65 (Tendsto z atTop (𝓝 0) → Tendsto x atTop (𝓝 0)) ∧66 (Tendsto z atTop (𝓝 (radius m / 2)) → Tendsto x atTop (𝓝 (uniformError m))) := by67 have hr := Quadratic.radius_pos m68 have hu : 0 ≤ uniformError m := (Quadratic.radius_eq m) ▸ hr.le69 have he : curve m (uniformError m) = radius m / 2 := by70 rw [← Quadratic.radius_eq, curve]71 field_simp [hr.ne']72 ring73 constructor74 · intro h75 apply uniform_inverse_at_curve_tendsto m q hq76 (show (0 : ℝ) ∈ Icc 0 (uniformError m) from ⟨le_rfl, hu⟩)77 simpa only [curve, zero_pow (by decide : 2 ≠ 0), zero_div, sub_zero] using h78 · intro h79 apply uniform_inverse_at_curve_tendsto m q hq80 (show uniformError m ∈ Icc 0 (uniformError m) from ⟨hu, le_rfl⟩)81 rwa [he]8283variable {X B : Type*} [Fintype X] [DecidableEq X] [Fintype B] [DecidableEq B]8485/-- The calibrated inverse evaluated at the actual conditional subentropy of an ensemble86after adjoining the maximally mixed ancillary state of dimension k+1. -/87def ensembleCalibratedInverse (m : ℕ) (hn : Fintype.card X = m + 2) (p : X → ℝ)88 (hp : ∀ x, 0 ≤ p x) (hs : ∑ x, p x = 1) (ρ : X → DensityState B) (k : ℕ) : ℝ :=89 let ν := maximallyMixed (Fin (k + 1))90 calibratedPhiInverse ν m (conditionalSubentropy p hp hs (fun x ↦ productState (ρ x) ν))91 (conditional_product_mem_calibratedRange ν m hn p hp hs ρ)9293/-- The limit of the calibrated inverse is the inverse quadratic evaluated at the94original ensemble's purity statistic. The statistic may take either endpoint value. -/95theorem uniform_ancilla_inverse_tendsto (m : ℕ) (hn : Fintype.card X = m + 2) (p : X → ℝ)96 (hp : ∀ x, 0 ≤ p x) (hs : ∑ x, p x = 1) (ρ : X → DensityState B) :97 Tendsto (ensembleCalibratedInverse m hn p hp hs ρ) atTop98 (𝓝 (inverse m (statistic p hp hs ρ))) := by99 let c := statistic p hp hs ρ100 have h := (Quadratic.complementary_quadratic_bound m hn p hp hs ρ).1101 have hc : c ∈ Icc 0 (radius m / 2) := ⟨h.1, h.2.1.trans (Quadratic.curve_le_max m _)⟩102 obtain ⟨hu, hv⟩ := Quadratic.inverse_spec m c hc103 rw [Quadratic.radius_eq] at hu104 apply uniform_inverse_at_curve_tendsto m _ (fun k ↦105 conditional_product_mem_calibratedRange (maximallyMixed (Fin (k + 1))) m hn p hp hs ρ) hu106 rw [hv]107 exact uniform_ancilla_conditional_tendsto p hp hs ρ108109end SubentropyCertificates.AncillaLimit
Axioms used
Choose a statement to see which axioms its proof uses.