import Mathlib namespace OAI noncomputable section open Set Filter open scoped Topology ZeroAtInfty BoundedContinuousFunction namespace ParametrixDilation variable {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] def dilHomeo (t : ℝ) : V ≃ₜ V := Homeomorph.smulOfNeZero (Real.exp (-t/4)) (Real.exp_ne_zero _) @[simp] lemma dilHomeo_apply (t : ℝ) (x : V) : dilHomeo t x=Real.exp (-t/4) • x := rfl def dilMap (t : ℝ) : C(V,V) := ⟨dilHomeo t,(dilHomeo t).continuous⟩ def dil (t : ℝ) : C₀(V,ℂ) →L[ℂ] C₀(V,ℂ) := (ZeroAtInftyContinuousMap.compLinearMap (R := ℂ) (dilHomeo (V := V) t).toCocompactMap).mkContinuous 1 (fun f => by change ‖f.toBCF.compContinuous (dilMap (V := V) t)‖≤1*‖f.toBCF‖ simpa only [one_mul] using f.toBCF.norm_compContinuous_le (dilMap (V := V) t)) @[simp] lemma dil_apply (t : ℝ) (f : C₀(V,ℂ)) (x : V) : dil t f x=f (Real.exp (-t/4) • x) := rfl lemma norm_dil_le (t : ℝ) (f : C₀(V,ℂ)) : ‖dil t f‖≤‖f‖ := by change ‖f.toBCF.compContinuous (dilMap (V := V) t)‖≤‖f.toBCF‖ exact f.toBCF.norm_compContinuous_le _ lemma opNorm_dil_le (t : ℝ) : ‖dil (V := V) t‖≤1 := by let : NormedAddCommGroup C₀(V,ℂ) := inferInstance let : NormedSpace ℂ C₀(V,ℂ) := inferInstance apply (dil (V := V) t).opNorm_le_bound zero_le_one intro f simpa only [one_mul] using norm_dil_le t f @[simp] lemma dil_zero : dil (V := V) 0=ContinuousLinearMap.id ℂ C₀(V,ℂ) := by ext f x simp lemma dil_add (s t : ℝ) : dil (V := V) (s+t)=(dil s).comp (dil t) := by ext f x simp only [dil_apply,ContinuousLinearMap.comp_apply] rw [smul_smul,←Real.exp_add] congr 3 ring lemma dil_comm (s t : ℝ) (f : C₀(V,ℂ)) : dil s (dil t f)=dil t (dil s f) := by rw [←ContinuousLinearMap.comp_apply,←dil_add,add_comm, dil_add] rfl lemma norm_dil (t : ℝ) (f : C₀(V,ℂ)) : ‖dil t f‖=‖f‖ := by apply le_antisymm (norm_dil_le t f) calc ‖f‖=‖dil (-t) (dil t f)‖ := by rw [←ContinuousLinearMap.comp_apply,←dil_add]; simp _≤‖dil t f‖ := norm_dil_le _ _ lemma tends_dil_zero (f : C₀(V,ℂ)) : Tendsto (fun t : ℝ => dil t f) (𝓝 0) (𝓝 f) := by apply Metric.tendsto_nhds.mpr intro ε hε obtain ⟨R,hR⟩ := Metric.closedBall_compl_subset_of_mem_cocompact ((zero_at_infty f).eventually (Metric.ball_mem_nhds (0:ℂ) (by linarith : 0<ε/4))) (0:V) let M : ℝ := max R 1 have hM : 0 Real.exp (-t/4)) (𝓝 0) (𝓝 1) := by convert (Real.continuous_exp.comp (continuous_neg.div_const 4)).tendsto (0:ℝ) using 1 <;> first | rfl | simp have hevent := hexp.eventually (Metric.ball_mem_nhds (1:ℝ) (lt_min (by norm_num : (0:ℝ)<1/2) (div_pos hδ (by positivity : 0<2*M+1)))) filter_upwards [hevent] with t ht have hc : |Real.exp (-t/4)-1|< min (1/2) (δ/(2*M+1)) := by simpa only [Metric.mem_ball,Real.dist_eq] using ht have hc1 : (1:ℝ)/2 dil t f) := by apply continuous_iff_continuousAt.mpr intro t have ht : Tendsto (fun r : ℝ => r-t) (𝓝 t) (𝓝 0) := by convert ((continuous_id.sub continuous_const).tendsto t : Tendsto (fun r : ℝ => r-t) (𝓝 t) (𝓝 (t-t))) using 1 <;> first | rfl | simp have h := (tends_dil_zero (dil t f)).comp ht change Tendsto (fun r => dil r f) (𝓝 t) (𝓝 (dil t f)) convert h using 1 ext r x change dil r f x=dil (r-t) (dil t f) x rw [←ContinuousLinearMap.comp_apply,←dil_add,sub_add_cancel] end ParametrixDilation end end OAI