import OAI.Analysis.AncientFlat.Profile.AnnularProfileCore namespace OAI noncomputable section open Set Filter open scoped ContDiff Topology namespace ParabolicAnnular lemma neg_half_rpow {u : ℝ} (hu : 0≤u) : u^(-(1:ℝ)/2)=(Real.sqrt u)⁻¹ := by rw [show -(1:ℝ)/2=-(1/2:ℝ) by ring,Real.rpow_neg hu,←Real.sqrt_eq_rpow] lemma compactification_deriv (G H : ℝ → ℝ) (hG : ContDiffOn ℝ ∞ G (Ici 0)) (hmatch : ∀ u : ℝ, 0 G ((Real.sqrt v)⁻¹) := by filter_upwards [Ioi_mem_nhds hu] with v hv rw [hmatch v hv,neg_half_rpow hv.le] have hH := hd.congr_of_eventuallyEq he rw [derivWithin_of_mem_nhds (Ici_mem_nhds hu),hH.deriv] field_simp end ParabolicAnnular end end OAI