Buckets:
cfahlgren1/math / lean /OAI /MathematicalPhysics /NavierStokes /VelocityDetection /PeriodicMildPeriodicData.lean
Lean 4 · 20
declarations fullstatements
| import OAI.MathematicalPhysics.NavierStokes.VelocityDetection.PeriodicMildMild | |
| import OAI.MathematicalPhysics.NavierStokes.VelocityDetection.PeriodicSpaceOfPeriodicCurve | |
| namespace OAI | |
| noncomputable section | |
| namespace VelocityDetection.PeriodicMild | |
| open Set Function Filter MeasureTheory | |
| open scoped Topology ContDiff ZeroAtInfty BigOperators | |
| open PeriodicSpace.Jets WeakVolterra | |
| structure PeriodicData where | |
| scalar : ScalarField 2 | |
| smooth : ContDiff ℝ ∞ (uncurry scalar) | |
| periodic : ∀ t, FactorsThrough (scalar t) PeriodicSpace.cover | |
| end VelocityDetection.PeriodicMild | |
| end | |
| noncomputable section | |
| namespace VelocityDetection.PeriodicMild.PeriodicData | |
| open Set Function Filter MeasureTheory | |
| open scoped Topology ContDiff ZeroAtInfty BigOperators | |
| open PeriodicSpace.Jets WeakVolterra | |
| def jets (d : PeriodicData) (a : ℕ) (t : ℝ) : E a := | |
| ofPeriodicCurve a d.smooth d.periodic t | |
| theorem jets_value (d : PeriodicData) (a : ℕ) (t : ℝ) : | |
| value (d.jets a t) = d.scalar t := value_ofPeriodicCurve _ _ _ _ | |
| theorem continuous_jets (d : PeriodicData) (a : ℕ) : Continuous (d.jets a) := | |
| continuous_ofPeriodicCurve a d.smooth d.periodic | |
| theorem restrict_jets (d : PeriodicData) {a b : ℕ} (hab : a ≤ b) (t : ℝ) : | |
| restrict hab (d.jets b t) = d.jets a t := | |
| restrict_ofPeriodicCurve hab d.smooth d.periodic t | |
| def curve (d : PeriodicData) (T : ℝ) (a : ℕ) : TimeCurve T a := | |
| ⟨fun t => d.jets a t.val, (d.continuous_jets a).comp continuous_subtype_val⟩ | |
| theorem curve_apply (d : PeriodicData) (T : ℝ) (a : ℕ) (t : Icc (0 : ℝ) T) : | |
| d.curve T a t = d.jets a t.val := rfl | |
| theorem lower_curve (d : PeriodicData) (T : ℝ) {a b : ℕ} (hab : a ≤ b) : | |
| lowerCurve hab (d.curve T b) = d.curve T a := by | |
| apply ContinuousMap.ext | |
| intro t | |
| exact d.restrict_jets hab t.val | |
| theorem short_curve (d : PeriodicData) {S T : ℝ} (hST : S ≤ T) (a : ℕ) : | |
| shortCurve hST (d.curve T a) = d.curve S a := rfl | |
| end VelocityDetection.PeriodicMild.PeriodicData | |
| end | |
| noncomputable section | |
| namespace VelocityDetection.PeriodicMild | |
| open Set Function Filter MeasureTheory | |
| open scoped Topology ContDiff ZeroAtInfty BigOperators | |
| open PeriodicSpace.Jets WeakVolterra | |
| variable {ν : ℝ} (hν : 0 < ν) (W : Fin 2 → PeriodicData) (g : PeriodicData) | |
| def finiteSolution {T : ℝ} (hT : 0 ≤ T) (a : ℕ) : TimeCurve T a := | |
| evolution hT hν (fun i => (W i).curve T a) (g.curve T a) | |
| theorem lower_finiteSolution {T : ℝ} (hT : 0 ≤ T) {a b : ℕ} (hab : a ≤ b) : | |
| lowerCurve hab (finiteSolution hν W g hT b) = finiteSolution hν W g hT a := by | |
| simp only [finiteSolution, lower_evolution, PeriodicData.lower_curve] | |
| theorem short_finiteSolution {S T : ℝ} (hS : 0 ≤ S) (hT : 0 ≤ T) | |
| (hST : S ≤ T) (a : ℕ) : | |
| shortCurve hST (finiteSolution hν W g hT a) = finiteSolution hν W g hS a := by | |
| have hh := short_evolution hS hT hST hν (fun i => (W i).curve T a) (g.curve T a) | |
| simpa only [finiteSolution, PeriodicData.short_curve] using hh | |
| theorem finiteSolution_agree {S T t : ℝ} (hS : 0 ≤ S) (hT : 0 ≤ T) | |
| (htS : t ∈ Icc 0 S) (htT : t ∈ Icc 0 T) (a : ℕ) : | |
| finiteSolution hν W g hS a ⟨t,htS⟩ = finiteSolution hν W g hT a ⟨t,htT⟩ := by | |
| rcases le_total S T with hST | hTS | |
| · have hh := congrArg (fun q : TimeCurve S a => q ⟨t,htS⟩) | |
| (short_finiteSolution hν W g hS hT hST a) | |
| exact hh.symm | |
| · have hh := congrArg (fun q : TimeCurve T a => q ⟨t,htT⟩) | |
| (short_finiteSolution hν W g hT hS hTS a) | |
| exact hh | |
| def globalJets (a : ℕ) (t : ℝ) : E a := | |
| finiteSolution hν W g (show 0 ≤ max t 0 + 1 by positivity) a | |
| ⟨max t 0, le_max_right _ _, by linarith⟩ | |
| theorem globalJets_eq_finite {T t : ℝ} (hT : 0 ≤ T) (ht : t ∈ Icc 0 T) (a : ℕ) : | |
| globalJets hν W g a t = finiteSolution hν W g hT a ⟨t,ht⟩ := by | |
| have hh := finiteSolution_agree hν W g | |
| (show 0 ≤ max t 0 + 1 by positivity) hT | |
| (show max t 0 ∈ Icc 0 (max t 0 + 1) from ⟨le_max_right _ _, by linarith⟩) | |
| (show max t 0 ∈ Icc 0 T by simpa only [max_eq_left ht.1] using ht) a | |
| simpa only [globalJets, max_eq_left ht.1] using hh | |
| theorem restrict_globalJets {a b : ℕ} (hab : a ≤ b) (t : ℝ) : | |
| restrict hab (globalJets hν W g b t) = globalJets hν W g a t := by | |
| exact congrArg (fun q => q ⟨max t 0, le_max_right _ _, by linarith⟩) | |
| (lower_finiteSolution hν W g (show 0 ≤ max t 0 + 1 by positivity) hab) | |
| theorem continuousOn_globalJets (a : ℕ) : ContinuousOn (globalJets hν W g a) (Ici (0 : ℝ)) := by | |
| intro t ht | |
| change 0 ≤ t at ht | |
| let T := t + 1 | |
| have hT : 0 ≤ T := by dsimp [T]; linarith [ht] | |
| have hn : Iio T ∈ 𝓝 t := Iio_mem_nhds (by dsimp [T]; linarith) | |
| have he : globalJets hν W g a =ᶠ[𝓝[Ici (0 : ℝ)] t] | |
| extend hT (finiteSolution hν W g hT a) := by | |
| filter_upwards [self_mem_nhdsWithin, mem_nhdsWithin_of_mem_nhds hn] with r hr hTr | |
| rw [globalJets_eq_finite hν W g hT ⟨hr, le_of_lt hTr⟩, | |
| extend_of_mem hT _ ⟨hr, le_of_lt hTr⟩] | |
| apply (continuous_extend hT (finiteSolution hν W g hT a)).continuousWithinAt.congr_of_eventuallyEq | |
| he ?_ | |
| rw [globalJets_eq_finite hν W g hT ⟨ht, by dsimp [T]; linarith⟩, | |
| extend_of_mem hT _ ⟨ht, by dsimp [T]; linarith⟩] | |
| def scalar : ScalarField 2 := fun t => value (globalJets hν W g 0 t) | |
| theorem value_globalJets (a : ℕ) (t : ℝ) : | |
| value (globalJets hν W g a t) = scalar hν W g t := by | |
| have hh := congrArg value (restrict_globalJets hν W g (Nat.zero_le a) t) | |
| exact hh | |
| theorem contDiff_scalar_space (t : ℝ) : ContDiff ℝ ∞ (scalar hν W g t) := by | |
| rw [contDiff_infty] | |
| intro a | |
| rw [← value_globalJets hν W g a t] | |
| exact contDiff_value _ | |
| end VelocityDetection.PeriodicMild | |
| end | |
| end OAI | |
Outline
- structure
PeriodicData12 - def
jets26 - theorem
jets_value29 - theorem
continuous_jets32 - theorem
restrict_jets35 - def
curve39 - theorem
curve_apply42 - theorem
lower_curve45 - theorem
short_curve51 - def
finiteSolution64 - theorem
lower_finiteSolution67 - theorem
short_finiteSolution71 - theorem
finiteSolution_agree77 - def
globalJets88 - theorem
globalJets_eq_finite92 - theorem
restrict_globalJets100 - theorem
continuousOn_globalJets105 - def
scalar121 - theorem
value_globalJets123 - theorem
contDiff_scalar_space128
Xet Storage Details
- Size:
- 5.83 kB
- Xet hash:
- a69d6b782bcff20f2289bbdf508ed422eb19e82a4ae221ce42a2fa28e8a15076
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.