import OAI.Analysis.AncientFlat.Profile.RadialHolderOn import OAI.Analysis.AncientFlat.Regularity.HolderProducts namespace OAI noncomputable section open Set Filter open scoped ContDiff namespace ParabolicCore open ParabolicInterior ParabolicAnnular variable {V : Type} [NormedAddCommGroup V] def outer : Set (V × ℝ) := {p | ‖p.1‖<4 ∧ -257 ne_of_gt (by linarith [hz.2.1] : 0 G (argument z)) rectangle := (hG.of_le (show (1:ℕ∞ω)≤∞ by simp)).comp harg (fun _ hz => argument_nonneg hz) have hGD : ContDiffOn ℝ 1 (derivWithin G (Ici 0)) (Ici 0) := hG.derivWithin (uniqueDiffOn_Ici 0) (by norm_num only [one_add_one_eq_two] exact ENat.natCast_le_of_coe_top_le_withTop le_rfl 2) refine ⟨hGV.pow 2 |>.div contDiffOn_const (by norm_num),?_⟩ have hT : ContDiffOn ℝ 1 (fun z : ℝ × ℝ => z.2) rectangle := contDiff_snd.contDiffOn have hi : ContDiffOn ℝ 1 (fun z : ℝ × ℝ => -z.2⁻¹) rectangle := (hT.inv (fun z hz => ne_of_gt (by linarith [hz.2.1] : 0 argument_nonneg hz))).div hGV (fun z hz => (hκ.trans_le (hpos _ (argument_nonneg hz))).ne')) lemma potential_eq (G : ℝ → ℝ) (p : V × ℝ) : potential G (‖p.1‖,-p.2)=profilePotential G p := by unfold potential profilePotential argument by_cases hy : ‖p.1‖^2/Real.sqrt (-p.2)=0 · simp only [hy,zero_mul,zero_div,mul_zero] · have hpos : 0<‖p.1‖^2/Real.sqrt (-p.2) := lt_of_le_of_ne (by positivity) (Ne.symm hy) rw [derivWithin_of_mem_nhds (Ici_mem_nhds hpos)] lemma profile_core_holder (G : ℝ → ℝ) (κ α : ℝ) (hκ : 0<κ) (hα : 0<α) (hα1 : α<1) (hG : ContDiffOn ℝ ∞ G (Ici 0)) (hpos : ∀ y : ℝ, 0≤y → κ≤G y) : ∃ K : ℝ, 0 (profilePotential G p : ℂ)) K ∧ ∀ p : V × ℝ, p∈outer → κ^2/16≤profilePrincipal G p := by have hk : IsCompact rectangle := isCompact_Icc.prod isCompact_Icc have hkc : Convex ℝ rectangle := (convex_Icc _ _).prod (convex_Icc _ _) have hm : ∀ p∈(outer : Set (V × ℝ)), (‖p.1‖,-p.2)∈rectangle := by intro p hp exact ⟨⟨norm_nonneg _,hp.1.le⟩,⟨by linarith [hp.2.2],by linarith [hp.2.1]⟩⟩ obtain ⟨K1,hK1,ha⟩ := compact_radial_holder_on α hα hα1.le (principal G) rectangle hk hkc (coeff_smooth G κ hκ hG hpos).1 outer hm obtain ⟨K2,hK2,hb⟩ := compact_radial_holder_on α hα hα1.le (potential G) rectangle hk hkc (coeff_smooth G κ hκ hG hpos).2 outer hm have ha' : HolderBound α outer (profilePrincipal (V := V) G) K1 := ha have hb' : HolderBound α outer (fun p : V × ℝ => (profilePotential G p : ℂ)) K2 := by constructor · intro p hp simpa only [←potential_eq G p,Complex.norm_real] using hb.1 p hp · intro p hp q hq simpa only [←potential_eq G p,←potential_eq G q,←Complex.ofReal_sub,Complex.norm_real] using hb.2 p hp q hq refine ⟨K1+K2,by positivity,ha'.mono (by linarith),hb'.mono (by linarith),?_⟩ intro p hp have hGp := hpos (‖p.1‖^2/Real.sqrt (-p.2)) (by positivity) dsimp [profilePrincipal] exact div_le_div_of_nonneg_right ((sq_le_sq₀ hκ.le (hκ.le.trans hGp)).mpr hGp) (by norm_num) end ParabolicCore end end OAI