Pratik Patil

EndpointCurvatureInverse.lean

1module23public import SubentropyCertificates.EndpointCurvature4public import SubentropyCertificates.EndpointCurvatureSensitivity56/-! The asymptotic constants for the two genuine inverse functions in Appendix F.1. -/7@[expose] public section8noncomputable section9open Set Filter10open scoped Topology11namespace SubentropyCertificates.EndpointCurvature12open SubentropyCertificates.ClassicalCurve13open SubentropyCertificates.Discrimination14open SubentropyCertificates.AncillaCalibration15open SubentropyCertificates.SpectralContinuity (maximallyMixed)1617private theorem endpoint_pos (m : ℕ) : 0 < uniformError m := by18  have hn : (1 : ℝ) < (m+2 : ℕ) := by exact_mod_cast (by omega : 1 < m+2)19  exact sub_pos.mpr ((div_lt_one (by positivity)).mpr hn)2021/-- The ordinary inverse, for any approach to the endpoint from below through its domain. -/22theorem phiInverse_endpoint_sensitivity {α : Type*} {l : Filter α} (m : ℕ) (q : α → ℝ)23    (hr : ∀ i, q i ∈ curveRange m) (hq : Tendsto q l (𝓝[<] (phi m (uniformError m)))) :24    Tendsto (fun i ↦ (uniformError m-phiInverse m (q i) (hr i))/25        Real.sqrt (phi m (uniformError m)-q i)) l26      (𝓝 (1/Real.sqrt ((m+2 : ℝ)^2 / (2*((m+2 : ℝ)^2-1))))) := by27  have hden : 0 < (m+2 : ℝ)^2-1 := by nlinarith [Nat.cast_nonneg (α:=ℝ) m]28  exact inverse_endpoint_sensitivity (phi m) _ _ (endpoint_pos m) (by positivity) (phi_strictMono m)29    (phi_endpoint_expansion m) q _ (fun i ↦ phiInverse_mem m (q i) (hr i))30    (fun i ↦ phi_phiInverse m (q i) (hr i)) hq3132/-- The inverse calibrated by any maximally mixed ancilla obeys the same square-root law33with its dimension-dependent coefficient. -/34theorem uniform_calibratedPhiInverse_endpoint_sensitivity {α : Type*} {l : Filter α}35    (C : Type*) [Fintype C] [DecidableEq C] [Nonempty C] (m : ℕ) (q : α → ℝ)36    (hr : ∀ i, q i ∈ calibratedCurveRange (maximallyMixed C) m)37    (hq : Tendsto q l (𝓝[<] (calibratedPhi (maximallyMixed C) m (uniformError m)))) :38    Tendsto (fun i ↦ (uniformError m-calibratedPhiInverse (maximallyMixed C) m (q i) (hr i))/39      Real.sqrt (calibratedPhi (maximallyMixed C) m (uniformError m)-q i)) l40      (𝓝 (1/Real.sqrt ((m+2 : ℝ)^2 /41        (2*(m+1 : ℝ)*((m+2 : ℝ)*(Fintype.card C : ℝ)+1))))) := by42  exact inverse_endpoint_sensitivity (calibratedPhi (maximallyMixed C) m) _ _ (endpoint_pos m)43    (by positivity) (calibratedPhi_strictMono _ _) (uniform_calibratedPhi_endpoint_expansion C m)44    q _ (fun i ↦ (calibratedPhiInverse_spec _ m (q i) (hr i)).1)45    (fun i ↦ (calibratedPhiInverse_spec _ m (q i) (hr i)).2) hq4647end SubentropyCertificates.EndpointCurvature

Axioms used

Choose a statement to see which axioms its proof uses.