Buckets:
| import OAI.Analysis.LienardCycles.PositiveEndpoints | |
| namespace OAI | |
| universe uP | |
| open scoped Topology NNReal ContDiff Manifold | |
| open Filter Set | |
| open Set Filter Metric MeasureTheory | |
| open scoped Topology NNReal ContDiff | |
| open Set Filter MeasureTheory | |
| open scoped Topology | |
| open Set Filter Metric | |
| open Set Filter | |
| open scoped Topology ContDiff | |
| open Set Filter | |
| open scoped Topology ContDiff | |
| namespace QuinticLienard.PositiveEndpoints | |
| open ScalarArcs ArcEndpoints ArcFamilies | |
| variable {P : Type uP} [NormedAddCommGroup P] [NormedSpace ℝ P] [FiniteDimensional ℝ P] | |
| theorem endpoints_and_witness (Φ : P × ℝ → ℝ) (hΦ : ∀ q : P × ℝ, 0 < q.2 → ContDiffAt ℝ ω Φ q) | |
| (hloc : ∀ x : State P, 0 < x.2.1 → ∃ f : State P × ℝ → State P, | |
| ContDiffAt ℝ ω f (x,0) ∧ ∀ᶠ q in 𝓝 (x,(0:ℝ)), | |
| f (q.1,0) = q.1 ∧ HasDerivAt (fun s => f (q.1,s)) (field Φ (f q)) q.2) | |
| {p : P} {t h : ℝ} (hh : 0 < h) (hht : h < t) : | |
| ContDiffAt ℝ ω (lowerFamily Φ) ((p,t),h) ∧ | |
| ContDiffAt ℝ ω (upperFamily Φ) ((p,t),h) ∧ | |
| ∃ w : (P × ℝ) × ℝ → ℝ, | |
| (∀ q, Continuous (fun y => w (q,y))) ∧ | |
| (∀ q, w (q,Φ q) = q.2) ∧ | |
| (∀ y ∈ Icc (lowerFamily Φ ((p,t),h)) (upperFamily Φ ((p,t),h)), | |
| ContDiffAt ℝ ω w ((p,t),y)) ∧ | |
| (∀ y ∈ Icc (lowerFamily Φ ((p,t),h)) (upperFamily Φ ((p,t),h)), | |
| ∀ᶠ q in 𝓝 ((p,t),y), | |
| HasDerivAt (fun s => w (q.1,s)) (Φ (q.1.1,w q)-q.2) q.2) ∧ | |
| ∀ᶠ q in 𝓝 ((p,t),h), | |
| IsArch (fun x => Φ (q.1.1,x)) (fun y => w (q.1,y)) | |
| q.2 q.1.2 (lowerFamily Φ q) (upperFamily Φ q) := by | |
| have hφ (p : P) : ContDiffOn ℝ 1 (fun x => Φ (p,x)) (Ioi 0) := by | |
| intro x hx | |
| exact (((hΦ (p,x) hx).comp x (contDiffAt_const.prodMk contDiffAt_id)).of_le (by simp)).contDiffWithinAt | |
| obtain ⟨u,a₀,b₀,hu⟩ := positive_arch_exists (hφ p) (show 0<h/2 by linarith) (show h/2<t by linarith) | |
| obtain ⟨a,b,ha,hb,harch⟩ := hu.subarch_positive (hφ p) (show 0<h/2 by linarith) (show h/2<h by linarith) hht | |
| let U : Set (State P) := {x | 0<x.2.1} | |
| have hU : IsOpen U := isOpen_lt continuous_const continuous_snd.fst | |
| have hV : ContDiffOn ℝ 1 (field Φ) U := by | |
| intro x hx | |
| have hd : ContDiffAt ℝ ω (field Φ) x := | |
| contDiffAt_const.prodMk ((((hΦ (x.1,x.2.1) hx).comp x | |
| (contDiffAt_fst.prodMk contDiffAt_snd.fst)).sub contDiffAt_snd.snd).prodMk contDiffAt_const) | |
| exact (hd.of_le (by simp)).contDiffWithinAt | |
| obtain ⟨w,hwc,hwpeak,hwmatch,hwd,hwe⟩ := peak_family Φ hU hV | |
| (fun x hx => hloc x hx) (hΦ (p,t) (hh.trans hht)) hu.lower_lt_peak hu.peak_lt_upper | |
| hu.continuous hu.peak hu.equation (fun y hy => (show 0<h/2 by linarith).trans_le (hu.range_mem y hy).1) | |
| let A := (a₀+a)/2 | |
| let B := (b+b₀)/2 | |
| have hA : a₀ < A ∧ A < a := by dsimp [A]; constructor <;> linarith | |
| have hB : b < B ∧ B < b₀ := by dsimp [B]; constructor <;> linarith | |
| have hsub : Icc A B ⊆ Ioo a₀ b₀ := | |
| fun _ hy => ⟨hA.1.trans_le hy.1,hy.2.trans_lt hB.2⟩ | |
| have hpos (y : ℝ) (hy : y ∈ Icc A B) : 0 < w ((p,t),y) := by | |
| rw [hwmatch y (Ioo_subset_Icc_self (hsub hy))] | |
| exact (show 0<h/2 by linarith).trans_le (hu.range_mem y (Ioo_subset_Icc_self (hsub hy))).1 | |
| have hwb : IsArch (fun x => Φ (p,x)) (fun y => w ((p,t),y)) h t a b := by | |
| apply IsArch.of_positive_solution_and_hits (hφ p) (hwc (p,t)) | |
| (fun y hy => (hwe y (hsub ⟨hA.2.le.trans hy.1,hy.2.trans hB.1.le⟩)).self_of_nhds) | |
| (fun y hy => hpos y ⟨hA.2.le.trans hy.1,hy.2.trans hB.1.le⟩) | |
| harch.lower_lt_peak harch.peak_lt_upper (hwpeak (p,t)) | |
| · rw [hwmatch a ⟨ha.le,(harch.lower_lt_peak.trans hu.peak_lt_upper).le⟩] | |
| exact harch.lower | |
| · rw [hwmatch b ⟨(hu.lower_lt_peak.trans harch.peak_lt_upper).le,hb.le⟩] | |
| exact harch.upper | |
| obtain ⟨l,r,hld,hrd,_,_,he⟩ := actual_endpoint_families_positive Φ hφ hwc hwpeak | |
| (fun y hy => hwd y (Ioo_subset_Icc_self (hsub hy))) | |
| (fun y hy => hwe y (hsub hy)) hpos hwb hA.2 hB.1 (hΦ (p,t) (hh.trans hht)).continuousAt | |
| have hlr := canonical_of_positive_arch hwb (hφ p) hh hht | |
| change lowerFamily Φ ((p,t),h) = a ∧ upperFamily Φ ((p,t),h) = b at hlr | |
| have hinc : Icc (lowerFamily Φ ((p,t),h)) (upperFamily Φ ((p,t),h)) ⊆ | |
| Ioo a₀ b₀ := by | |
| rw [hlr.1,hlr.2] | |
| exact fun _ hy => ⟨ha.trans_le hy.1,hy.2.trans_lt hb⟩ | |
| have ht : ∀ᶠ q : (P × ℝ) × ℝ in 𝓝 ((p,t),h), q.2 < q.1.2 := | |
| continuousAt_snd.eventually_lt continuousAt_fst.snd hht | |
| have hp : ∀ᶠ q : (P × ℝ) × ℝ in 𝓝 ((p,t),h), 0<q.2 := | |
| continuousAt_const.eventually_lt continuousAt_snd hh | |
| have hcanon : ∀ᶠ q in 𝓝 ((p,t),h), lowerFamily Φ q=l q ∧ upperFamily Φ q=r q := by | |
| filter_upwards [he,ht,hp] with q hq hqt hqp | |
| exact canonical_of_positive_arch hq (hφ q.1.1) hqp hqt | |
| refine ⟨hld.congr_of_eventuallyEq (hcanon.mono fun _ h => h.1), | |
| hrd.congr_of_eventuallyEq (hcanon.mono fun _ h => h.2), | |
| w,hwc,hwpeak,fun y hy => hwd y (Ioo_subset_Icc_self (hinc hy)), | |
| fun y hy => hwe y (hinc hy),?_⟩ | |
| filter_upwards [he,hcanon] with q hq hqc | |
| rwa [hqc.1,hqc.2] | |
| end QuinticLienard.PositiveEndpoints | |
| end OAI | |
Xet Storage Details
- Size:
- 5.22 kB
- Xet hash:
- 483f880d4921761466590ee20a1dd44aae804879002e4733b049a10d5e18284d
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.