cfahlgren1/math / lean /OAI /Analysis /LienardCycles /ArcEndpoints.lean
cfahlgren1's picture
download
raw
5.65 kB
import OAI.Analysis.LienardCycles.ArcFamilies
namespace OAI
universe uP
open Set Filter MeasureTheory
open Set Filter Metric
open scoped Topology NNReal ContDiff Manifold
open Filter Set
open Set Filter Metric MeasureTheory
open scoped Topology NNReal ContDiff
open Set Filter
open scoped Topology ContDiff
open Set Filter
open scoped Topology ContDiff
namespace QuinticLienard.ArcEndpoints
open PartialCalculus ScalarArcs
variable {P : Type uP} [NormedAddCommGroup P] [NormedSpace ℝ P] [CompleteSpace P]
lemma level_hit {w : P × ℝ → ℝ} {p : P} {y h d : ℝ}
(hw : ContDiffAt ℝ ω w (p,y)) (hd : HasDerivAt (fun s => w (p,s)) d y)
(hu : w (p,y) = h) (hne : d ≠ 0) :
∃ Y : P × ℝ → ℝ, ContDiffAt ℝ ω Y (p,h) ∧ Y (p,h) = y ∧
∀ᶠ q in 𝓝 (p,h), w (q.1,Y q) = q.2 := by
let f : (P × ℝ) × ℝ → ℝ := fun q => w (q.1.1,q.2)-q.1.2
have hf : ContDiffAt ℝ ω f ((p,h),y) :=
(hw.comp ((p,h),y) (contDiffAt_fst.fst.prodMk contDiffAt_snd)).sub contDiffAt_fst.snd
obtain ⟨Y,hY,hY0,he,_⟩ := transverse_hit hf (hd.sub_const h) hne
refine ⟨Y,hY,hY0,?_⟩
filter_upwards [he] with q hq
change w (q.1,Y q)-q.2 = w (p,y)-h at hq
rw [hu,sub_self,sub_eq_zero] at hq
exact hq
theorem actual_endpoint_families (Φ : P × ℝ → ℝ)
(hΦ : ∀ p, ContDiff ℝ 1 (fun x => Φ (p,x)))
{w : (P × ℝ) × ℝ → ℝ} {p : P} {t h a b A B : ℝ}
(hwc : ∀ q, Continuous (fun y => w (q,y)))
(hpeak : ∀ q, w (q,Φ q) = q.2)
(hw : ∀ y ∈ Icc A B, ContDiffAt ℝ ω w ((p,t),y))
(he : ∀ y ∈ Icc A B, ∀ᶠ q in 𝓝 ((p,t),y),
HasDerivAt (fun s => w (q.1,s)) (Φ (q.1.1,w q)-q.2) q.2)
(hu : IsArch (fun x => Φ (p,x)) (fun y => w ((p,t),y)) h t a b)
(hA : A < a) (hB : b < B) (hΦp : ContinuousAt Φ (p,t)) :
∃ l r : (P × ℝ) × ℝ → ℝ,
ContDiffAt ℝ ω l ((p,t),h) ∧ ContDiffAt ℝ ω r ((p,t),h) ∧
l ((p,t),h) = a ∧ r ((p,t),h) = b ∧
∀ᶠ q in 𝓝 ((p,t),h),
IsArch (fun x => Φ (q.1.1,x)) (fun y => w (q.1,y))
q.2 q.1.2 (l q) (r q) := by
have hab : a < b := hu.lower_lt_peak.trans hu.peak_lt_upper
have haAB : a ∈ Icc A B := ⟨hA.le,(hab.trans hB).le⟩
have hbAB : b ∈ Icc A B := ⟨(hA.trans hab).le,hB.le⟩
have had : HasDerivAt (fun y => w ((p,t),y)) (Φ (p,h)-a) a := by
simpa only [hu.lower] using hu.equation a ⟨le_rfl,hab.le⟩
have hbd : HasDerivAt (fun y => w ((p,t),y)) (Φ (p,h)-b) b := by
simpa only [hu.upper] using hu.equation b ⟨hab.le,le_rfl⟩
obtain ⟨l,hld,hl0,hle⟩ := level_hit (hw a haAB) had hu.lower (by
have hh := hu.lower_transverse
exact ne_of_gt (sub_pos.mpr hh))
obtain ⟨r,hrd,hr0,hre⟩ := level_hit (hw b hbAB) hbd hu.upper (by
have hh := hu.upper_transverse
exact ne_of_lt (sub_neg.mpr hh))
have hode : ∀ᶠ q in 𝓝 (p,t), ∀ y ∈ Icc A B,
HasDerivAt (fun s => w (q,s)) (Φ (q.1,w (q,y))-y) y :=
isCompact_Icc.eventually_forall_of_forall_eventually he
have hpcont : ContinuousAt (fun q : (P × ℝ) × ℝ => Φ q.1) ((p,t),h) :=
ContinuousAt.comp (f := Prod.fst) (g := Φ) (x := ((p,t),h)) hΦp continuousAt_fst
have hnear : ∀ᶠ q in 𝓝 ((p,t),h),
A < l q ∧ l q < Φ q.1 ∧ Φ q.1 < r q ∧ r q < B := by
have ha' : A < l ((p,t),h) := by simpa only [hl0] using hA
have hl' : l ((p,t),h) < Φ ((p,t),h).1 := by simpa only [hl0] using hu.lower_lt_peak
have hr' : Φ ((p,t),h).1 < r ((p,t),h) := by simpa only [hr0] using hu.peak_lt_upper
have hb' : r ((p,t),h) < B := by simpa only [hr0] using hB
filter_upwards [continuousAt_const.eventually_lt hld.continuousAt ha',
hld.continuousAt.eventually_lt hpcont hl',
hpcont.eventually_lt hrd.continuousAt hr',
hrd.continuousAt.eventually_lt continuousAt_const hb'] with q h₁ h₂ h₃ h₄
exact ⟨h₁,h₂,h₃,h₄⟩
refine ⟨l,r,hld,hrd,hl0,hr0,?_⟩
filter_upwards [hle,hre,hnear,continuousAt_fst.eventually hode] with q hl hr hq ho
apply IsArch.of_solution_and_hits (hΦ q.1.1) (hwc q.1)
(fun y hy => ho y ⟨hq.1.le.trans hy.1,hy.2.trans hq.2.2.2.le⟩)
hq.2.1 hq.2.2.1 (hpeak q.1) hl hr
noncomputable def lowerFamily (Φ : P × ℝ → ℝ) (q : (P × ℝ) × ℝ) : ℝ :=
lower (fun x => Φ (q.1.1,x)) q.2 q.1.2
noncomputable def upperFamily (Φ : P × ℝ → ℝ) (q : (P × ℝ) × ℝ) : ℝ :=
upper (fun x => Φ (q.1.1,x)) q.2 q.1.2
omit [CompleteSpace P] in
theorem canonical_endpoints_contDiffAt (Φ : P × ℝ → ℝ)
(hΦ : ∀ p, ContDiff ℝ 1 (fun x => Φ (p,x)))
{p : P} {t h : ℝ} (hht : h < t)
{l r : (P × ℝ) × ℝ → ℝ}
(hl : ContDiffAt ℝ ω l ((p,t),h)) (hr : ContDiffAt ℝ ω r ((p,t),h))
(he : ∀ᶠ q in 𝓝 ((p,t),h),
∃ u, IsArch (fun x => Φ (q.1.1,x)) u q.2 q.1.2 (l q) (r q)) :
ContDiffAt ℝ ω (lowerFamily Φ) ((p,t),h) ∧
ContDiffAt ℝ ω (upperFamily Φ) ((p,t),h) := by
have ht : ∀ᶠ q : (P × ℝ) × ℝ in 𝓝 ((p,t),h), q.2 < q.1.2 :=
continuousAt_snd.eventually_lt continuousAt_fst.snd hht
have heq : ∀ᶠ q in 𝓝 ((p,t),h), lowerFamily Φ q = l q ∧ upperFamily Φ q = r q := by
filter_upwards [he,ht] with q hq hqt
obtain ⟨u,hu⟩ := hq
obtain ⟨ψ,K,B,hs,hK,_,hψ⟩ := entire_profile_extension (hΦ q.1.1) hqt
have hc := chosen_arch (entire_arch_exists (hΦ q.1.1) hqt)
have hh := hc.unique hu hK hψ
exact ⟨hh.1,hh.2.1⟩
exact ⟨hl.congr_of_eventuallyEq (heq.mono fun _ h => h.1),
hr.congr_of_eventuallyEq (heq.mono fun _ h => h.2)⟩
end QuinticLienard.ArcEndpoints
end OAI

Xet Storage Details

Size:
5.65 kB
·
Xet hash:
5d1272a88f9cb44228c9ac0af90d58afb74c729404b276456c62aaa791739c45

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.