math / data /lean /OAI /MathematicalPhysics /DefocusingNLS /Certificates /ContinuousHalfLineBound.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
1.89 kB
import Mathlib.Topology.ContinuousMap.Bounded.Normed
import Mathlib.Topology.Instances.Real.Lemmas
import Mathlib.Analysis.Normed.Group.Tannery
namespace OAI
/-! Bounded extensions of continuous functions with a bounded tail. -/
open Filter Set
open scoped BoundedContinuousFunction
namespace DefocusingNLS
variable {E : Type*} [NormedAddCommGroup E]
theorem continuous_halfLine_bound (f : ℝ β†’ E) (hf : Continuous f)
(h : βˆƒ C : ℝ, βˆ€αΆ  t in atTop, β€–f tβ€– ≀ C) :
βˆƒ M : ℝ, βˆ€ t, 0 ≀ t β†’ β€–f tβ€– ≀ M := by
obtain ⟨C,hC⟩ := h
obtain ⟨T,hT⟩ := eventually_atTop.mp hC
obtain ⟨D,hD⟩ := (isCompact_Icc : IsCompact (Icc (0 : ℝ) (max T 0))).exists_bound_of_continuousOn
hf.continuousOn
refine ⟨max C D,?_⟩
intro t ht
by_cases hTt : T ≀ t
Β· exact (hT t hTt).trans (le_max_left _ _)
· exact (hD t ⟨ht,(le_of_lt (lt_of_not_ge hTt)).trans (le_max_left _ _)⟩).trans
(le_max_right _ _)
theorem exists_bounded_extension_nonneg (f : ℝ β†’ E) (hf : Continuous f)
(h : βˆƒ C : ℝ, βˆ€αΆ  t in atTop, β€–f tβ€– ≀ C) :
βˆƒ F : ℝ →ᡇ E, βˆ€ t, 0 ≀ t β†’ F t=f t := by
obtain ⟨M,hM⟩ := continuous_halfLine_bound f hf h
let F : ℝ →ᡇ E := BoundedContinuousFunction.ofNormedAddCommGroup
(fun t => f (max t 0)) (hf.comp (continuous_id.max continuous_const)) M
(fun t => hM _ (le_max_right t 0))
refine ⟨F,?_⟩
intro t ht
change f (max t 0)=f t
rw [max_eq_left ht]
theorem continuous_tendsto_halfLine_bounded (f : ℝ β†’ E) (hf : Continuous f)
(a : E) (ha : Tendsto f atTop (nhds a)) :
βˆƒ F : ℝ →ᡇ E, βˆ€ t, 0 ≀ t β†’ F t=f t := by
apply exists_bounded_extension_nonneg f hf
refine βŸ¨β€–aβ€–+1,?_⟩
filter_upwards [ha.norm.eventually (gt_mem_nhds (show β€–aβ€–<β€–aβ€–+1 by linarith))] with t ht
exact ht.le
end DefocusingNLS
end OAI