Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

Merge main (74d1676) into s1-ns-mean-1; restore three used declarations
Browse filesConflicts in MeanChartCompatibility.lean and MeanRankUpdate.lean resolved as main's file less the declarations this pull request deletes; nothing main deleted is brought back. The build of the previous head stopped at NavierStokes/MeanResidual.lean:448: AngularInvariant.angularContinuous is used there by dot notation, and the same file also calls AngularContinuous.div_radius and AngularContinuous.div_r. All three are restored, so the diff now deletes 140 declarations, 1648 lines. The route note says the deletion is screened by a build of the head, and that grep alone did not see the dot-notation use. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main maintainer-statement p1-ns-physical s1-euler-angle-9 s1-euler-canonical-8 s1-euler-correction-9 s1-euler-cylinder-8 s1-euler-inviscid-8 s1-euler-mean-8 s1-euler-packet-8 s1-euler-transverse-9 s1-ns-actual-8 s1-ns-annular-8 s1-ns-assembled-7 s1-ns-axisymmetric-8 s1-ns-base-8 s1-ns-common-8 s1-ns-common-9 s1-ns-constructed-8 s1-ns-copy-8 s1-ns-curl-9 s1-ns-error-9 s1-ns-five-8 s1-ns-flat-8 s1-ns-graph-9 s1-ns-harmonic-11 s1-ns-harmonic-7 s1-ns-joint-8 s1-ns-linear-7 s1-ns-mean-1 s1-ns-mean-8 s1-ns-particular-10 s1-ns-particular-8 s1-ns-partitioned-8 s1-ns-periodic-8 s1-ns-periodic-9 s1-ns-periodized-8 s1-ns-periodized-9 s1-ns-physical-8 s1-ns-positive-8 s1-ns-pressure-9 s1-ns-primary-8 s1-ns-radial-9 s1-ns-reserved-8 s1-ns-signed-8 s1-ns-smooth-8 s1-ns-state-8 s1-ns-temporal-8 s1-ns-uniform-8 s1-ns-wave-11 s1-ns-wave-8 s1-ns-weighted-10 s1-ns-weighted-12 s1-ns-weighted-8 s1-ns-weighted-9 s2-build-profile-files s2-euler-all-1 s2-euler-base-1 s2-euler-bounded-1 s2-euler-child-1 s2-euler-coefficient-1 s2-euler-correction-1 s2-euler-cylinder-1 s2-euler-dirichlet-1 s2-euler-div-1 s2-euler-drift-1 s2-euler-euler-1 s2-euler-field-1 s2-euler-finite-1 s2-euler-flow-1 s2-euler-gaussian-1 s2-euler-gevrey-1 s2-euler-h6-1 s2-euler-heat-1 s2-euler-initial-1 s2-euler-integral-1 s2-euler-linear-1 s2-euler-local-1 s2-euler-logarithmic-1 s2-euler-mean-1 s2-euler-metric-1 s2-euler-mixed-1 s2-euler-operator-1 s2-euler-ordinary-1 s2-euler-ordinary-2 s2-euler-packet-1 s2-euler-parameter-1 s2-euler-parent-1 s2-euler-radial-1 s2-euler-small-1 s2-euler-sobolev-1 s2-euler-squared-1 s2-euler-static-1 s2-euler-terminal-1 s2-euler-time-1 s2-euler-transport-1 s2-euler-transverse-1 s2-euler-unshifted-1 s2-euler-vorticity-1 s2-euler-weighted-1 s2-instances-1 s2-ns-activation-1 s2-ns-actual-1 s2-ns-aligned-1 s2-ns-angular-1 s2-ns-annular-1 s2-ns-axis-1 s2-ns-base-1 s2-ns-chart-1 s2-ns-closed-1 s2-ns-common-1 s2-ns-cone-1 s2-ns-coordinate-1 s2-ns-corrected-1 s2-ns-correction-1 s2-ns-covariance-1 s2-ns-current-1 s2-ns-cylindrical-1 s2-ns-diophantine-1 s2-ns-direct-1 s2-ns-extended-1 s2-ns-five-1 s2-ns-flat-1 s2-ns-future-1 s2-ns-gauge-1 s2-ns-gaussian-1 s2-ns-global-1 s2-ns-glued-1 s2-ns-growing-1 s2-ns-heat-1 s2-ns-initial-1 s2-ns-label-1 s2-ns-local-1 s2-ns-loop-1 s2-ns-matching-1 s2-ns-mean-1 s2-ns-modulated-1 s2-ns-moment-1 s2-ns-moving-1 s2-ns-native-1 s2-ns-natural-1 s2-ns-normal-1 s2-ns-outgoing-1 s2-ns-outgoing-2 s2-ns-parametric-1 s2-ns-periodic-1 s2-ns-periodized-1 s2-ns-phase-1 s2-ns-physical-1 s2-ns-polar-1 s2-ns-positive-1 s2-ns-pressure-1 s2-ns-primary-1 s2-ns-profile-1 s2-ns-pulse-1 s2-ns-r3-1 s2-ns-r3-folder-1 s2-ns-reference-1 s2-ns-renormalized-1 s2-ns-repair-1 s2-ns-reserved-1 s2-ns-reset-1 s2-ns-residual-1 s2-ns-scaled-1 s2-ns-scaled-2 s2-ns-scaling-1 s2-ns-shape-1 s2-ns-shaped-1 s2-ns-signed-1 s2-ns-similarity-1 s2-ns-slot-1 s2-ns-slow-1 s2-ns-smooth-1 s2-ns-spatial-1 s2-ns-squared-1 s2-ns-stress-1 s2-ns-tail-1 s2-ns-temporal-1 s2-ns-terminal-1 s2-ns-transition-1 s2-ns-uniform-1 s2-ns-variable-1 s2-ns-viscous-1 s2-ns-volterra-1 s2-ns-volterra-2 s5-cap-1 s5-euler-all-1 s5-euler-base-1 s5-euler-bounded-1 s5-euler-canonical-1 s5-euler-coefficient-1 s5-euler-compact-1 s5-euler-continuous-1 s5-euler-correction-1 s5-euler-cylinder-1 s5-euler-drift-1 s5-euler-duhamel-1 s5-euler-elapsed-1 s5-euler-elapsed-2 s5-euler-euler-1 s5-euler-external-1 s5-euler-field-1 s5-euler-fixed-1 s5-euler-gained-1 s5-euler-gaussian-1 s5-euler-gevrey-1 s5-euler-graph-1 s5-euler-h5-1 s5-euler-h6-1 s5-euler-heat-1 s5-euler-inviscid-1 s5-euler-lifted-1 s5-euler-linear-1 s5-euler-lp-1 s5-euler-mean-1 s5-euler-mixed-1 s5-euler-ordinary-1 s5-euler-packet-1 s5-euler-parameter-1 s5-euler-parent-1 s5-euler-physical-1 s5-euler-projected-1 s5-euler-quadratic-1 s5-euler-regularized-1 s5-euler-small-1 s5-euler-smooth-1 s5-euler-sobolev-1 s5-euler-source-1 s5-euler-stage-1 s5-euler-static-1 s5-euler-terminal-1 s5-euler-time-1 s5-euler-top-1 s5-euler-transverse-1 s5-euler-weighted-1 s5-euler-whole-1 s5-ns-actual-1 s5-ns-axis-1 s5-ns-generic-1 s5-ns-label-1 s5-ns-local-1 s5-ns-mean-1 s5-ns-moment-1 s5-ns-particular-1 s5-ns-periodic-1 s5-ns-periodize-1 s5-ns-positive-1 s5-ns-r3-folder-1 s5-ns-reference-1 s5-ns-sharp-1 s5-ns-smooth-1 s5-ns-torus-1 s5-ns-valid-1 s5-ns-whole-1 s5-ns-within-1
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −14 Euler/AllOrderCorrectionFamily.lean View file
| @@ -30,13 +30,6 @@ theorem solution_divergence {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budg | ||
| 30 | 30 | value period (solution period hT A B q hq t) ∈ divergenceFreeSpace period A.κ A.direction := |
| 31 | 31 | (Classical.choose_spec (finite_exists period hT A B q hq)).2.1 t |
| 32 | 32 | |
| 33 | -/-- Every retained cutoff of the constructed correction has the proved common energy bound. -/ | |
| 34 | -theorem solution_energy {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 35 | - (q : ℕ) (hq : 6 ≤ q) (P : ℕ) (hPN : P ≤ q-4) (hP : P+6 ≤ q+1) (t : Icc (0 : ℝ) T) : | |
| 36 | - energyNorm period P hP (B.radius t) (B.metric.operatorPath period t) | |
| 37 | - (solution period hT A B q hq t) ≤ B.delta/2 := | |
| 38 | - (Classical.choose_spec (finite_exists period hT A B q hq)).2.2.1 P hPN hP t | |
| 39 | - | |
| 40 | 33 | /-- The constructed correction satisfies the actual nonlinear projected-pressure equation at every interior time. -/ |
| 41 | 34 | theorem solution_hasDerivAt {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 42 | 35 | (q : ℕ) (hq : 6 ≤ q) (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| @@ -71,11 +64,4 @@ theorem solution_compatible {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budg | ||
| 71 | 64 | · exact solution_divergence period hT A B (q+1) (hq.trans (Nat.le_succ q)) |
| 72 | 65 | · exact solution_divergence period hT A B q hq |
| 73 | 66 | |
| 74 | -/-- Adjacent finite-order solutions have exactly the same underlying L² field. -/ | |
| 75 | -theorem solution_value_succ {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 76 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 77 | - value period (solution period hT A B (q+1) (hq.trans (Nat.le_succ q)) t) = | |
| 78 | - value period (solution period hT A B q hq t) := | |
| 79 | - congrArg (fun f => value period (f t)) (solution_compatible period hT A B q hq) | |
| 80 | - | |
| 81 | 67 | end EulerAllOrderCorrectionFamily |
+0 −114 Euler/AllOrderDriftCorrection.lean View file
| @@ -33,12 +33,6 @@ open scoped ContDiff | ||
| 33 | 33 | variable (period : ℝ) [Fact (0 < period)] |
| 34 | 34 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 35 | 35 | |
| 36 | -/-- The drift-aware finite solutions coincide under the actual Sobolev restriction. -/ | |
| 37 | -theorem Budget.solution_compatible (B : Budget period hT A) (q : ℕ) (hq : 6 ≤ q) : | |
| 38 | - (truncateOperator period (q+1)).compLeftContinuous ℝ (Icc (0 : ℝ) T) | |
| 39 | - (B.solution period (q+1) (hq.trans (Nat.le_succ q))) = B.solution period q hq := | |
| 40 | - (B.family period).compatible period (B.comparisonData period) q hq | |
| 41 | - | |
| 42 | 36 | /-- The common continuous L² correction constructed by the small-drift solver. -/ |
| 43 | 37 | def Budget.commonPath (B : Budget period hT A) : C(Icc (0 : ℝ) T, LiftL2 period) := |
| 44 | 38 | (B.family period).commonPath period |
| @@ -59,28 +53,10 @@ theorem Budget.commonPath_divergence (B : Budget period hT A) (t : Icc (0 : ℝ) | ||
| 59 | 53 | B.commonPath period t ∈ divergenceFreeSpace period A.κ A.direction := |
| 60 | 54 | (B.family period).commonPath_divergence period t |
| 61 | 55 | |
| 62 | -/-- The common L² path satisfies the actual projected correction equation. -/ | |
| 63 | -theorem Budget.commonPath_hasDerivAt (B : Budget period hT A) | |
| 64 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 65 | - HasDerivAt (extendPath T hT.le (B.commonPath period)) | |
| 66 | - (value period (((A.atOrder period 6).coefficients period le_rfl).apply | |
| 67 | - ⟨t, ht.1.le, ht.2.le⟩ | |
| 68 | - (B.solution period 6 le_rfl ⟨t, ht.1.le, ht.2.le⟩))) t := | |
| 69 | - (B.family period).commonPath_hasDerivAt period t ht | |
| 70 | - | |
| 71 | -/-- An actual strong spatial jet of every order for the constructed common field. -/ | |
| 72 | -def Budget.commonJet (B : Budget period hT A) (n : ℕ) (t : Icc (0 : ℝ) T) : | |
| 73 | - SpatialJet period standardDirection n (B.commonPath period t) := | |
| 74 | - (B.family period).commonJet period (B.comparisonData period) n t | |
| 75 | - | |
| 76 | 56 | /-- The common correction, with genuine continuous Sobolev realizations at all orders. -/ |
| 77 | 57 | def Budget.fieldTower (B : Budget period hT A) : FieldTower period T := |
| 78 | 58 | (B.family period).fieldTower period (B.comparisonData period) |
| 79 | 59 | |
| 80 | -/-- The tower's underlying field is exactly the constructed common correction. -/ | |
| 81 | -theorem Budget.fieldTower_field (B : Budget period hT A) : | |
| 82 | - (B.fieldTower period).field = B.commonPath period := rfl | |
| 83 | - | |
| 84 | 60 | /-- Every Sobolev realization of the common correction has zero initial data. -/ |
| 85 | 61 | theorem Budget.fieldTower_initial (B : Budget period hT A) (q : ℕ) : |
| 86 | 62 | (B.fieldTower period).realization q ⟨0, le_rfl, hT.le⟩ = 0 := by |
| @@ -182,100 +158,10 @@ theorem Budget.pointField_smooth (B : Budget period hT A) | ||
| 182 | 158 | ContDiff ℝ ∞ (localFieldLift period (B.pointField period t) x) := |
| 183 | 159 | (B.family period).pointField_smooth period (B.comparisonData period) t x |
| 184 | 160 | |
| 185 | -/-- Its lifted divergence vanishes pointwise. -/ | |
| 186 | -theorem Budget.pointField_divergence (B : Budget period hT A) | |
| 187 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 188 | - (∑ i : Fin 3, (fieldDerivative period (coordinateDirection A.κ A.direction i) | |
| 189 | - (B.pointField period t) x) i) = 0 := | |
| 190 | - (B.family period).pointField_divergence period (B.comparisonData period) t x | |
| 191 | - | |
| 192 | 161 | /-- Odd input data give an odd common correction by the proved PDE uniqueness. -/ |
| 193 | 162 | theorem Budget.commonPath_odd (B : Budget period hT A) (P : ParityData period A) |
| 194 | 163 | (t : Icc (0 : ℝ) T) : |
| 195 | 164 | -reflection period (B.commonPath period t) = B.commonPath period t := |
| 196 | 165 | (B.family period).commonPath_odd period (B.comparisonData period) P t |
| 197 | 166 | |
| 198 | -/-- The actual common Sobolev realizations retain the prescribed odd parity. -/ | |
| 199 | -theorem Budget.fieldTower_odd (B : Budget period hT A) (P : ParityData period A) | |
| 200 | - (q : ℕ) (t : Icc (0 : ℝ) T) : | |
| 201 | - oddReflection period q ((B.fieldTower period).realization q t) = | |
| 202 | - (B.fieldTower period).realization q t := | |
| 203 | - (B.family period).fieldTower_odd period (B.comparisonData period) P q t | |
| 204 | - | |
| 205 | -/-- The canonical spatially smooth correction is pointwise odd for odd input data. -/ | |
| 206 | -theorem Budget.pointField_odd (B : Budget period hT A) (P : ParityData period A) | |
| 207 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 208 | - B.pointField period t (-x) = -B.pointField period t x := | |
| 209 | - (B.family period).pointField_odd period (B.comparisonData period) P t x | |
| 210 | - | |
| 211 | -/-- The actual pointwise time derivative, obtained from the constructed Sobolev source. -/ | |
| 212 | -def Budget.pointTimeDerivative (B : Budget period hT A) | |
| 213 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := | |
| 214 | - (B.family period).pointTimeDerivative period t x | |
| 215 | - | |
| 216 | -/-- The correction's actual first time derivative is jointly continuous. -/ | |
| 217 | -theorem Budget.pointTimeDerivative_joint_continuous (B : Budget period hT A) : | |
| 218 | - Continuous (B.pointTimeDerivative period).uncurry := | |
| 219 | - (B.family period).pointTimeDerivative_joint_continuous period | |
| 220 | - | |
| 221 | -/-- The actual time derivative equals the raw source and the signed pressure term. -/ | |
| 222 | -theorem Budget.pointTimeDerivative_eq_pressure (B : Budget period hT A) | |
| 223 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 224 | - B.pointTimeDerivative period t x = -(B.family period).pointRawSource period t x - | |
| 225 | - (A.metric.coefficient t).coefficient x ((B.family period).pointPressure period t x) := | |
| 226 | - (B.family period).pointTimeDerivative_eq_pressure period t x | |
| 227 | - | |
| 228 | -/-- The canonical common field has its genuine first time derivative at interior times. -/ | |
| 229 | -theorem Budget.pointField_hasDerivAt (B : Budget period hT A) | |
| 230 | - (x : LiftDomain period) (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 231 | - HasDerivAt (fun r => B.pointField period (projIcc 0 T hT.le r) x) | |
| 232 | - (B.pointTimeDerivative period ⟨t, ht.1.le, ht.2.le⟩ x) t := | |
| 233 | - (B.family period).pointField_hasDerivAt period x t ht | |
| 234 | - | |
| 235 | -/-- The pointwise correction equation contains the actual raw source and signed pressure. -/ | |
| 236 | -theorem Budget.pointField_hasDerivAt_pressure (B : Budget period hT A) | |
| 237 | - (x : LiftDomain period) (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 238 | - HasDerivAt (fun r => B.pointField period (projIcc 0 T hT.le r) x) | |
| 239 | - (-(B.family period).pointRawSource period ⟨t, ht.1.le, ht.2.le⟩ x - | |
| 240 | - (A.metric.coefficient ⟨t, ht.1.le, ht.2.le⟩).coefficient x | |
| 241 | - ((B.family period).pointPressure period ⟨t, ht.1.le, ht.2.le⟩ x)) t := | |
| 242 | - (B.family period).pointField_hasDerivAt_pressure period x t ht | |
| 243 | - | |
| 244 | -/-- Genuine coherent input bounds, with radius loss determined only by the actual | |
| 245 | -transport drift, construct one smooth spatial correction with all-cutoff energy | |
| 246 | -bounds and its actual finite-Sobolev evolution. Finite existence, compatibility, | |
| 247 | -energy estimates and the correction equation are conclusions here. -/ | |
| 248 | -theorem exists_smooth_lifted_correction (B : Budget period hT A) : | |
| 249 | - ∃ (E : FieldTower period T) | |
| 250 | - (g v : Icc (0 : ℝ) T → LiftDomain period → Vector3), | |
| 251 | - E.field ⟨0, le_rfl, hT.le⟩ = 0 ∧ | |
| 252 | - (∀ t, E.field t ∈ divergenceFreeSpace period A.κ A.direction) ∧ | |
| 253 | - Continuous g.uncurry ∧ | |
| 254 | - (∀ t x, ContDiff ℝ ∞ (localFieldLift period (g t) x)) ∧ | |
| 255 | - (∀ t, (E.field t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g t) ∧ | |
| 256 | - (∀ t x, (∑ i : Fin 3, (fieldDerivative period | |
| 257 | - (coordinateDirection A.κ A.direction i) (g t) x) i) = 0) ∧ | |
| 258 | - Continuous v.uncurry ∧ | |
| 259 | - (∀ x t (ht : t ∈ Ioo 0 T), | |
| 260 | - HasDerivAt (fun r => g (projIcc 0 T hT.le r) x) | |
| 261 | - (v ⟨t, ht.1.le, ht.2.le⟩ x) t) ∧ | |
| 262 | - (∀ (P : ℕ) t, | |
| 263 | - energyNorm period P (by omega : P+6 ≤ (P+6)+1) | |
| 264 | - (B.radius t) (B.metric.operatorPath period t) (E.realization ((P+6)+1) t) ≤ | |
| 265 | - 2*(B.spatial (P+6) (by omega)).full.residual* | |
| 266 | - Real.exp (3*B.growthCoefficient*t.val) ∧ | |
| 267 | - energyNorm period P (by omega : P+6 ≤ (P+6)+1) | |
| 268 | - (B.radius t) (B.metric.operatorPath period t) (E.realization ((P+6)+1) t) ≤ | |
| 269 | - B.delta/2) ∧ | |
| 270 | - ∀ (q : ℕ) (hq : 6 ≤ q) t (ht : t ∈ Ioo 0 T), | |
| 271 | - HasDerivAt (extendPath T hT.le (E.realization q)) | |
| 272 | - (((A.atOrder period q).coefficients period hq).apply | |
| 273 | - ⟨t, ht.1.le, ht.2.le⟩ (E.realization (q+1) ⟨t, ht.1.le, ht.2.le⟩)) t := by | |
| 274 | - exact ⟨B.fieldTower period, B.pointField period, B.pointTimeDerivative period, | |
| 275 | - B.commonPath_initial period, | |
| 276 | - B.commonPath_divergence period, B.pointField_joint_continuous period, | |
| 277 | - B.pointField_smooth period, B.pointField_ae period, B.pointField_divergence period, | |
| 278 | - B.pointTimeDerivative_joint_continuous period, B.pointField_hasDerivAt period, | |
| 279 | - B.fieldTower_energy period, B.fieldTower_hasDerivAt period⟩ | |
| 280 | - | |
| 281 | 167 | end EulerAllOrderDriftCorrection |
+0 −29 Euler/AllOrderDriftEquation.lean View file
| @@ -136,33 +136,4 @@ theorem Budget.correctedFieldTower_hasDerivAt (B : Budget period hT A) | ||
| 136 | 136 | rw [hp] at hsum |
| 137 | 137 | exact hsum |
| 138 | 138 | |
| 139 | -/-- A single coherent exact lifted solution and total pressure are constructed | |
| 140 | -from the drift budget and the literal approximate residual identity. -/ | |
| 141 | -theorem exists_exact_lifted_solution (B : Budget period hT A) | |
| 142 | - (R : ApproximationResidual period hT A) : | |
| 143 | - ∃ (Z Q : FieldTower period T), | |
| 144 | - (∀ q, Z.realization q ⟨0, le_rfl, hT.le⟩ = | |
| 145 | - A.approximation.realization q ⟨0, le_rfl, hT.le⟩) ∧ | |
| 146 | - (∀ t, Z.field t ∈ divergenceFreeSpace period A.κ A.direction) ∧ | |
| 147 | - (∀ t, Q.field t ∈ gradientSpace period A.κ A.direction) ∧ | |
| 148 | - (∀ (P : ℕ) t, | |
| 149 | - energyNorm period P (by omega : P+6 ≤ (P+6)+1) | |
| 150 | - (B.radius t) (B.metric.operatorPath period t) | |
| 151 | - (Z.realization ((P+6)+1) t - A.approximation.realization ((P+6)+1) t) ≤ | |
| 152 | - 2*(B.spatial (P+6) (by omega)).full.residual* | |
| 153 | - Real.exp (3*B.growthCoefficient*t.val) ∧ | |
| 154 | - energyNorm period P (by omega : P+6 ≤ (P+6)+1) | |
| 155 | - (B.radius t) (B.metric.operatorPath period t) | |
| 156 | - (Z.realization ((P+6)+1) t - A.approximation.realization ((P+6)+1) t) ≤ B.delta/2) ∧ | |
| 157 | - ∀ (q : ℕ) (hq : 6 ≤ q) t (ht : t ∈ Ioo 0 T), | |
| 158 | - HasDerivAt (extendPath T hT.le (Z.realization q)) | |
| 159 | - (-nonlinearity period (A.atOrder period q) hq ⟨t, ht.1.le, ht.2.le⟩ | |
| 160 | - (Z.realization (q+1) ⟨t, ht.1.le, ht.2.le⟩) - | |
| 161 | - coefficientSobolevOperator period (A.metric.jet q ⟨t, ht.1.le, ht.2.le⟩) | |
| 162 | - (Q.realization q ⟨t, ht.1.le, ht.2.le⟩)) t := by | |
| 163 | - exact ⟨B.correctedFieldTower period, B.correctedPressureTower period R, | |
| 164 | - B.correctedFieldTower_initial period, B.correctedFieldTower_divergence period, | |
| 165 | - B.correctedPressureTower_gradient period R, B.correctedFieldTower_error_energy period, | |
| 166 | - B.correctedFieldTower_hasDerivAt period R⟩ | |
| 167 | - | |
| 168 | 139 | end EulerAllOrderDriftCorrection |
+0 −42 Euler/AllOrderDriftGraph.lean View file
| @@ -17,18 +17,6 @@ variable (P : ℝ) [Fact (0 < P)] | ||
| 17 | 17 | (B : Budget P hT A) |
| 18 | 18 | (θ : Vector3 → AddCircle P) (hθ : Continuous θ) |
| 19 | 19 | |
| 20 | -def Budget.graphCorrectionWordPath (n : ℕ) (w : Fin n → Fin 4) : | |
| 21 | - C(Icc (0 : ℝ) T,Lp Vector3 2 (volume : Measure Vector3)) := | |
| 22 | - (B.fieldTower P).canonicalGraphWordPath θ hθ n w | |
| 23 | - | |
| 24 | -def Budget.graphTimeDerivativeWordPath (n : ℕ) (w : Fin n → Fin 4) : | |
| 25 | - C(Icc (0 : ℝ) T,Lp Vector3 2 (volume : Measure Vector3)) := | |
| 26 | - (B.timeDerivativeTower P).canonicalGraphWordPath θ hθ n w | |
| 27 | - | |
| 28 | -def Budget.graphPressureWordPath (n : ℕ) (w : Fin n → Fin 4) : | |
| 29 | - C(Icc (0 : ℝ) T,Lp Vector3 2 (volume : Measure Vector3)) := | |
| 30 | - (B.pressureTower P).canonicalGraphWordPath θ hθ n w | |
| 31 | - | |
| 32 | 20 | theorem Budget.correctionTower_pointField (t : Icc (0 : ℝ) T) : |
| 33 | 21 | (B.fieldTower P).pointField t = B.pointField P t := |
| 34 | 22 | (B.fieldTower P).pointField_unique t (B.pointField P t) |
| @@ -39,34 +27,4 @@ theorem Budget.pressureTower_pointField (t : Icc (0 : ℝ) T) : | ||
| 39 | 27 | (B.pressureTower P).pointField_unique t (B.pointPressure P t) |
| 40 | 28 | (Continuous.uncurry_left t (B.pointPressure_joint_continuous P)) (B.pointPressure_ae P t) |
| 41 | 29 | |
| 42 | -theorem Budget.graphCorrectionWordPath_ae (n : ℕ) (w : Fin n → Fin 4) | |
| 43 | - (t : Icc (0 : ℝ) T) : | |
| 44 | - (B.graphCorrectionWordPath P θ hθ n w t : Vector3 → Vector3) =ᵐ[volume] | |
| 45 | - fun x => iteratedFieldDerivative P w (B.pointField P t) (x,θ x) := by | |
| 46 | - simpa only [Budget.graphCorrectionWordPath,B.correctionTower_pointField P t] using | |
| 47 | - (B.fieldTower P).canonicalGraphWordPath_ae θ hθ n w t | |
| 48 | - | |
| 49 | -theorem Budget.graphPressureWordPath_ae (n : ℕ) (w : Fin n → Fin 4) | |
| 50 | - (t : Icc (0 : ℝ) T) : | |
| 51 | - (B.graphPressureWordPath P θ hθ n w t : Vector3 → Vector3) =ᵐ[volume] | |
| 52 | - fun x => iteratedFieldDerivative P w (B.pointPressure P t) (x,θ x) := by | |
| 53 | - simpa only [Budget.graphPressureWordPath,B.pressureTower_pointField P t] using | |
| 54 | - (B.pressureTower P).canonicalGraphWordPath_ae θ hθ n w t | |
| 55 | - | |
| 56 | -theorem Budget.graphCorrectionWordPath_hasDerivAt (n : ℕ) (w : Fin n → Fin 4) | |
| 57 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 58 | - HasDerivAt (extendPath T hT.le (B.graphCorrectionWordPath P θ hθ n w)) | |
| 59 | - (B.graphTimeDerivativeWordPath P θ hθ n w ⟨t,ht.1.le,ht.2.le⟩) t := | |
| 60 | - (B.fieldTower P).canonicalGraphWordPath_hasDerivAt θ hθ (B.timeDerivativeTower P) | |
| 61 | - hT.le n w (n+6) (by omega) t ht | |
| 62 | - (B.fieldTower_hasDerivAt_timeDerivativeTower P (n+6) (by omega) t ht) | |
| 63 | - | |
| 64 | -theorem Budget.graphCorrectionWordPath_initial (n : ℕ) (w : Fin n → Fin 4) : | |
| 65 | - B.graphCorrectionWordPath P θ hθ n w ⟨0,le_rfl,hT.le⟩ = 0 := by | |
| 66 | - have h := (B.fieldTower P).canonicalGraphWordPath_norm_sq_le θ hθ n w ⟨0,le_rfl,hT.le⟩ | |
| 67 | - rw [B.fieldTower_initial P (n+1),norm_zero,zero_pow (by norm_num : (2 : ℕ) ≠ 0),mul_zero] at h | |
| 68 | - apply norm_eq_zero.mp | |
| 69 | - change ‖(B.fieldTower P).canonicalGraphWordPath θ hθ n w ⟨0,le_rfl,hT.le⟩‖ = 0 | |
| 70 | - nlinarith [norm_nonneg ((B.fieldTower P).canonicalGraphWordPath θ hθ n w ⟨0,le_rfl,hT.le⟩)] | |
| 71 | - | |
| 72 | 30 | end EulerAllOrderDriftCorrection |
+0 −36 Euler/AllOrderDriftPointwiseBounds.lean View file
| @@ -16,40 +16,4 @@ open Set Finset EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerAllOrder | ||
| 16 | 16 | variable (P : ℝ) [Fact (0 < P)] |
| 17 | 17 | {T : ℝ} {hT : 0 < T} {A : Data P T} (B : Budget P hT A) |
| 18 | 18 | |
| 19 | -/-- The canonical representative of the actual derivative tower is the | |
| 20 | -same time derivative already selected by the finite PDE construction. -/ | |
| 21 | -theorem Budget.timeDerivativeTower_pointField (t : Icc (0 : ℝ) T) : | |
| 22 | - (B.timeDerivativeTower P).pointField t = B.pointTimeDerivative P t := by | |
| 23 | - funext x | |
| 24 | - rw [(B.timeDerivativeTower P).pointField_eq_high 6 (by omega) t x, | |
| 25 | - ← B.source_eq_timeDerivativeTower P 6 le_rfl t, | |
| 26 | - ← B.solution_eq_realization P 6 le_rfl] | |
| 27 | - rfl | |
| 28 | - | |
| 29 | -theorem Budget.pointField_wordSum_bound (n : ℕ) (t : Icc (0 : ℝ) T) (x : LiftDomain P) : | |
| 30 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative P w (B.pointField P t) x‖) ≤ | |
| 31 | - (sobolevEmbeddingConstant P 3*B.correctionSize P)*(B.reducedRadius P)⁻¹^n*(n.factorial : ℝ)^2 := by | |
| 32 | - have h := (B.fieldTower P).pointField_wordSum_gevrey (n+6) 6 n n (by omega) (by omega) le_rfl | |
| 33 | - (B.reducedRadius P) (B.correctionSize P) (B.reducedRadius_pos P) t | |
| 34 | - (B.fieldTower_reducedNorm P (n+6) n (by omega) t) x | |
| 35 | - simpa only [B.correctionTower_pointField P t] using h | |
| 36 | - | |
| 37 | -theorem Budget.pointPressure_wordSum_bound (n : ℕ) (t : Icc (0 : ℝ) T) (x : LiftDomain P) : | |
| 38 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative P w (B.pointPressure P t) x‖) ≤ | |
| 39 | - (sobolevEmbeddingConstant P 3*(B.pressureCost P (n+6) (by omega)*B.delta))* | |
| 40 | - (B.reducedRadius P)⁻¹^n*(n.factorial : ℝ)^2 := by | |
| 41 | - have h := (B.pressureTower P).pointField_wordSum_gevrey (n+6) 6 n n (by omega) (by omega) le_rfl | |
| 42 | - (B.reducedRadius P) (B.pressureCost P (n+6) (by omega)*B.delta) (B.reducedRadius_pos P) t | |
| 43 | - (B.pressureTower_reducedNorm_delta P (n+6) (by omega) n (by omega) (n+6) (by omega) t) x | |
| 44 | - simpa only [B.pressureTower_pointField P t] using h | |
| 45 | - | |
| 46 | -theorem Budget.pointTimeDerivative_wordSum_bound (n : ℕ) (t : Icc (0 : ℝ) T) (x : LiftDomain P) : | |
| 47 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative P w (B.pointTimeDerivative P t) x‖) ≤ | |
| 48 | - (sobolevEmbeddingConstant P 3*(B.timeDerivativeCost P (n+6) (by omega)*B.delta))* | |
| 49 | - (B.reducedRadius P)⁻¹^n*(n.factorial : ℝ)^2 := by | |
| 50 | - have h := (B.timeDerivativeTower P).pointField_wordSum_gevrey (n+6) 6 n n (by omega) (by omega) le_rfl | |
| 51 | - (B.reducedRadius P) (B.timeDerivativeCost P (n+6) (by omega)*B.delta) (B.reducedRadius_pos P) t | |
| 52 | - (B.timeDerivativeTower_reducedNorm_delta P (n+6) (by omega) n (by omega) (n+6) (by omega) t) x | |
| 53 | - simpa only [B.timeDerivativeTower_pointField P t] using h | |
| 54 | - | |
| 55 | 19 | end EulerAllOrderDriftCorrection |
+0 −115 Euler/AllOrderDriftPressure.lean View file
| @@ -21,28 +21,10 @@ def Budget.commonPressure (B : Budget period hT A) : | ||
| 21 | 21 | C(Icc (0 : ℝ) T, LiftL2 period) := |
| 22 | 22 | (B.family period).commonPressure period |
| 23 | 23 | |
| 24 | -/-- Every constructed finite signed pressure realizes this same common L² pressure. -/ | |
| 25 | -theorem Budget.signedPressurePath_value_common (B : Budget period hT A) | |
| 26 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 27 | - value period ((B.family period).signedPressurePath period q hq t) = | |
| 28 | - B.commonPressure period t := | |
| 29 | - (B.family period).signedPressurePath_value_common period (B.comparisonData period) q hq t | |
| 30 | - | |
| 31 | -/-- The constructed pressure lies in the genuine closed lifted gradient space. -/ | |
| 32 | -theorem Budget.commonPressure_gradient (B : Budget period hT A) (t : Icc (0 : ℝ) T) : | |
| 33 | - B.commonPressure period t ∈ gradientSpace period A.κ A.direction := | |
| 34 | - (B.family period).commonPressure_gradient period t | |
| 35 | - | |
| 36 | 24 | /-- Actual continuous Sobolev realizations at every order of the same constructed pressure. -/ |
| 37 | 25 | def Budget.pressureTower (B : Budget period hT A) : FieldTower period T := |
| 38 | 26 | (B.family period).pressureTower period (B.comparisonData period) |
| 39 | 27 | |
| 40 | -/-- The all-order tower represents exactly the pressure selected from the finite construction. -/ | |
| 41 | -theorem Budget.pressureTower_value (B : Budget period hT A) | |
| 42 | - (q : ℕ) (t : Icc (0 : ℝ) T) : | |
| 43 | - value period ((B.pressureTower period).realization q t) = B.commonPressure period t := | |
| 44 | - (B.pressureTower period).value_eq q t | |
| 45 | - | |
| 46 | 28 | /-- Evaluating the genuine finite-order pressure solver on the constructed correction |
| 47 | 29 | gives exactly the corresponding realization of the common pressure tower. -/ |
| 48 | 30 | theorem Budget.pressure_eq_realization (B : Budget period hT A) |
| @@ -74,38 +56,11 @@ theorem Budget.pointPressure_smooth (B : Budget period hT A) | ||
| 74 | 56 | ContDiff ℝ ∞ (localFieldLift period (B.pointPressure period t) x) := |
| 75 | 57 | (B.family period).pointPressure_smooth period (B.comparisonData period) t x |
| 76 | 58 | |
| 77 | -/-- The actual graph pressure-gradient vector field of the constructed correction. -/ | |
| 78 | -def Budget.graphPressure (B : Budget period hT A) (k : ℝ) | |
| 79 | - (t : Icc (0 : ℝ) T) (x : Vector3) : Vector3 := | |
| 80 | - A.κ • B.pointPressure period t (cylinderGraph period k A.direction x) | |
| 81 | - | |
| 82 | -/-- The actual graph vector field is jointly continuous in time and space. -/ | |
| 83 | -theorem Budget.graphPressure_joint_continuous (B : Budget period hT A) (k : ℝ) : | |
| 84 | - Continuous (B.graphPressure period k).uncurry := | |
| 85 | - (B.family period).graphPressure_joint_continuous period k | |
| 86 | - | |
| 87 | -/-- Reciprocal-frequency graph restriction of the actual pressure has a genuine smooth potential. -/ | |
| 88 | -theorem Budget.graphPressure_has_potential (B : Budget period hT A) | |
| 89 | - (k : ℝ) (hk : k * A.κ = 1) (t : Icc (0 : ℝ) T) : | |
| 90 | - ∃ q : Vector3 → ℝ, ContDiff ℝ ∞ q ∧ | |
| 91 | - ∀ x, gradient q x = B.graphPressure period k t x := | |
| 92 | - (B.family period).graphPressure_has_potential period (B.comparisonData period) k hk t | |
| 93 | - | |
| 94 | 59 | /-- The scalar graph pressure constructed by radial integration, with its additive gauge fixed at zero. -/ |
| 95 | 60 | def Budget.normalizedGraphPotential (B : Budget period hT A) (k : ℝ) |
| 96 | 61 | (t : Icc (0 : ℝ) T) (x : Vector3) : ℝ := |
| 97 | 62 | (B.family period).normalizedGraphPotential period k t x |
| 98 | 63 | |
| 99 | -/-- The constructed scalar pressure vanishes at the origin at every time. -/ | |
| 100 | -theorem Budget.normalizedGraphPotential_zero (B : Budget period hT A) | |
| 101 | - (k : ℝ) (t : Icc (0 : ℝ) T) : B.normalizedGraphPotential period k t 0 = 0 := | |
| 102 | - (B.family period).normalizedGraphPotential_zero period k t | |
| 103 | - | |
| 104 | -/-- Fixing the gauge by the same radial formula at every time preserves joint continuity. -/ | |
| 105 | -theorem Budget.normalizedGraphPotential_joint_continuous (B : Budget period hT A) (k : ℝ) : | |
| 106 | - Continuous (B.normalizedGraphPotential period k).uncurry := | |
| 107 | - (B.family period).normalizedGraphPotential_joint_continuous period k | |
| 108 | - | |
| 109 | 64 | /-- The actual normalized scalar pressure is spatially smooth on each time slice. -/ |
| 110 | 65 | theorem Budget.normalizedGraphPotential_smooth (B : Budget period hT A) |
| 111 | 66 | (k : ℝ) (hk : k * A.κ = 1) (t : Icc (0 : ℝ) T) : |
| @@ -119,74 +74,4 @@ theorem Budget.normalizedGraphPotential_gradient (B : Budget period hT A) | ||
| 119 | 74 | A.κ • B.pointPressure period t (cylinderGraph period k A.direction x) := |
| 120 | 75 | (B.family period).normalizedGraphPotential_gradient period (B.comparisonData period) k hk t x |
| 121 | 76 | |
| 122 | -/-- No second normalized smooth potential can represent the same actual graph pressure. -/ | |
| 123 | -theorem Budget.normalizedGraphPotential_unique (B : Budget period hT A) | |
| 124 | - (k : ℝ) (t : Icc (0 : ℝ) T) (q : Vector3 → ℝ) | |
| 125 | - (hq : ContDiff ℝ ∞ q) | |
| 126 | - (hgrad : ∀ x, gradient q x = B.graphPressure period k t x) (hq0 : q 0 = 0) : | |
| 127 | - B.normalizedGraphPotential period k t = q := | |
| 128 | - (B.family period).normalizedGraphPotential_unique period k t q hq hgrad hq0 | |
| 129 | - | |
| 130 | -/-- Prescribed odd data produce an odd actual common pressure gradient. -/ | |
| 131 | -theorem Budget.commonPressure_odd (B : Budget period hT A) (P : ParityData period A) | |
| 132 | - (t : Icc (0 : ℝ) T) : | |
| 133 | - -reflection period (B.commonPressure period t) = B.commonPressure period t := | |
| 134 | - (B.family period).commonPressure_odd period (B.comparisonData period) P t | |
| 135 | - | |
| 136 | -/-- Oddness holds pointwise for the canonical pressure representative. -/ | |
| 137 | -theorem Budget.pointPressure_odd (B : Budget period hT A) (P : ParityData period A) | |
| 138 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 139 | - B.pointPressure period t (-x) = -B.pointPressure period t x := | |
| 140 | - (B.family period).pointPressure_odd period (B.comparisonData period) P t x | |
| 141 | - | |
| 142 | -/-- The signed pressure gradient remains odd after physical phase-graph restriction. -/ | |
| 143 | -theorem Budget.graphPressure_odd (B : Budget period hT A) (P : ParityData period A) | |
| 144 | - (k : ℝ) (t : Icc (0 : ℝ) T) (x : Vector3) : | |
| 145 | - B.graphPressure period k t (-x) = -B.graphPressure period k t x := | |
| 146 | - (B.family period).graphPressure_odd period (B.comparisonData period) P k t x | |
| 147 | - | |
| 148 | -/-- The same canonical normalization makes the scalar graph pressure exactly even. -/ | |
| 149 | -theorem Budget.normalizedGraphPotential_even (B : Budget period hT A) (P : ParityData period A) | |
| 150 | - (k : ℝ) (t : Icc (0 : ℝ) T) (x : Vector3) : | |
| 151 | - B.normalizedGraphPotential period k t (-x) = B.normalizedGraphPotential period k t x := | |
| 152 | - (B.family period).normalizedGraphPotential_even period (B.comparisonData period) P k t x | |
| 153 | - | |
| 154 | -/-- The all-order drift-aware input budget constructs a common actual pressure, | |
| 155 | -a jointly continuous smooth spatial representative, and a canonically normalized | |
| 156 | -smooth scalar graph potential. No correction solution or pressure is assumed. -/ | |
| 157 | -theorem exists_normalized_pressure (B : Budget period hT A) (k : ℝ) (hk : k * A.κ = 1) : | |
| 158 | - ∃ (p : Icc (0 : ℝ) T → LiftDomain period → Vector3) | |
| 159 | - (Q : Icc (0 : ℝ) T → Vector3 → ℝ), | |
| 160 | - (∀ t, (B.commonPressure period t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] p t) ∧ | |
| 161 | - Continuous p.uncurry ∧ | |
| 162 | - (∀ t x, ContDiff ℝ ∞ (localFieldLift period (p t) x)) ∧ | |
| 163 | - Continuous Q.uncurry ∧ (∀ t, Q t 0 = 0) ∧ | |
| 164 | - (∀ t, ContDiff ℝ ∞ (Q t)) ∧ | |
| 165 | - ∀ t x, gradient (Q t) x = A.κ • p t (cylinderGraph period k A.direction x) := | |
| 166 | - ⟨B.pointPressure period, B.normalizedGraphPotential period k, | |
| 167 | - B.pointPressure_ae period, B.pointPressure_joint_continuous period, | |
| 168 | - B.pointPressure_smooth period, B.normalizedGraphPotential_joint_continuous period k, | |
| 169 | - B.normalizedGraphPotential_zero period k, B.normalizedGraphPotential_smooth period k hk, | |
| 170 | - B.normalizedGraphPotential_gradient period k hk⟩ | |
| 171 | - | |
| 172 | -/-- With parity of the prescribed data, the same constructed pressure representative | |
| 173 | -is odd and its canonically normalized scalar graph potential is even. -/ | |
| 174 | -theorem exists_odd_normalized_pressure (B : Budget period hT A) (P : ParityData period A) | |
| 175 | - (k : ℝ) (hk : k * A.κ = 1) : | |
| 176 | - ∃ (p : Icc (0 : ℝ) T → LiftDomain period → Vector3) | |
| 177 | - (Q : Icc (0 : ℝ) T → Vector3 → ℝ), | |
| 178 | - (∀ t, (B.commonPressure period t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] p t) ∧ | |
| 179 | - Continuous p.uncurry ∧ | |
| 180 | - (∀ t x, ContDiff ℝ ∞ (localFieldLift period (p t) x)) ∧ | |
| 181 | - (∀ t x, p t (-x) = -p t x) ∧ | |
| 182 | - Continuous Q.uncurry ∧ (∀ t, Q t 0 = 0) ∧ | |
| 183 | - (∀ t, ContDiff ℝ ∞ (Q t)) ∧ (∀ t x, Q t (-x) = Q t x) ∧ | |
| 184 | - ∀ t x, gradient (Q t) x = A.κ • p t (cylinderGraph period k A.direction x) := | |
| 185 | - ⟨B.pointPressure period, B.normalizedGraphPotential period k, | |
| 186 | - B.pointPressure_ae period, B.pointPressure_joint_continuous period, | |
| 187 | - B.pointPressure_smooth period, B.pointPressure_odd period P, | |
| 188 | - B.normalizedGraphPotential_joint_continuous period k, B.normalizedGraphPotential_zero period k, | |
| 189 | - B.normalizedGraphPotential_smooth period k hk, B.normalizedGraphPotential_even period P k, | |
| 190 | - B.normalizedGraphPotential_gradient period k hk⟩ | |
| 191 | - | |
| 192 | 77 | end EulerAllOrderDriftCorrection |
+0 −31 Euler/AllOrderDriftPressureBounds.lean View file
| @@ -80,13 +80,6 @@ theorem Budget.sourceSize_le_delta (B : Budget period hT A) (q : ℕ) (hq : 6 | ||
| 80 | 80 | congr 1 <;> ring |
| 81 | 81 | · rfl |
| 82 | 82 | |
| 83 | -theorem Budget.sourceCost_nonneg (B : Budget period hT A) (q : ℕ) (hq : 6 ≤ q) : | |
| 84 | - 0 ≤ B.sourceCost period q hq := by | |
| 85 | - exact sourceBound_nonneg period (B.spatial q hq).full.B0_nonneg (B.spatial q hq).full.B1_nonneg | |
| 86 | - (B.spatial q hq).full.A0_nonneg (B.spatial q hq).full.A2_nonneg (by norm_num) | |
| 87 | - (B.baseCorrectionSize_nonneg period) | |
| 88 | - (mul_nonneg (div_nonneg (by norm_num) B.radius_pos.le) (B.baseCorrectionSize_nonneg period)) | |
| 89 | - | |
| 90 | 83 | private theorem tower_weightedNorm_eq (F : FieldTower period T) (s u N : ℕ) |
| 91 | 84 | (hs : N+6 ≤ s) (hu : N+6 ≤ u) (r : ℝ) (t : Icc (0 : ℝ) T) : |
| 92 | 85 | weightedNorm period 6 N r (F.realization s t) = |
| @@ -94,30 +87,6 @@ private theorem tower_weightedNorm_eq (F : FieldTower period T) (s u N : ℕ) | ||
| 94 | 87 | apply weightedNorm_unique period 6 N r _ _ _ hs hu |
| 95 | 88 | rw [F.value_eq, F.value_eq] |
| 96 | 89 | |
| 97 | -/-- The common raw source is bounded at the fixed smaller radius, using | |
| 98 | -only the actual correction and derivative bounds already proved. -/ | |
| 99 | -theorem Budget.rawSourceTower_reducedNorm (B : Budget period hT A) | |
| 100 | - (q : ℕ) (hq : 6 ≤ q) (N : ℕ) (hNq : N+4 ≤ q) | |
| 101 | - (s : ℕ) (hs : N+6 ≤ s) (t : Icc (0 : ℝ) T) : | |
| 102 | - weightedNorm period 6 N (B.reducedRadius period) ((B.rawSourceTower period).realization s t) ≤ | |
| 103 | - B.sourceSize period q hq := by | |
| 104 | - have hrR : B.reducedRadius period ≤ B.radius t := by | |
| 105 | - have h := B.reducedRadius_le_half period t | |
| 106 | - have hp := (B.spatial q hq).full.radius_pos t | |
| 107 | - linarith | |
| 108 | - have h := rawSource_smallerRadius_bound period (B.spatial q hq).full N (by omega) (by omega) | |
| 109 | - t (B.reducedRadius period) (B.reducedRadius_pos period) hrR | |
| 110 | - (B.correctionSize period) ((8/B.initialRadius)*B.correctionSize period) | |
| 111 | - ((B.fieldTower period).realization (q+3) t) | |
| 112 | - (B.fieldTower_reducedNorm period (q+3) N (by omega) t) | |
| 113 | - (B.fieldTower_reducedDerivativeNorm period (q+2) N (by omega) t) | |
| 114 | - change weightedNorm period 6 N (B.reducedRadius period) | |
| 115 | - ((A.atOrder period (q+2)).rawSource period (by omega) t | |
| 116 | - ((B.fieldTower period).realization (q+3) t)) ≤ B.sourceSize period q hq at h | |
| 117 | - rw [B.rawSource_eq_realization period (q+2) (by omega)] at h | |
| 118 | - rw [tower_weightedNorm_eq period (B.rawSourceTower period) s (q+2) N hs (by omega)] | |
| 119 | - exact h | |
| 120 | - | |
| 121 | 90 | /-- The pressure is the actual common signed pressure obtained from the |
| 122 | 91 | coercive elliptic inverse, with an explicit smaller-radius bound. -/ |
| 123 | 92 | theorem Budget.pressureTower_reducedNorm (B : Budget period hT A) |
+0 −19 Euler/AllOrderDriftRadiusBounds.lean View file
| @@ -51,25 +51,6 @@ theorem Budget.correctionSize_nonneg (B : Budget period hT A) : 0 ≤ B.correcti | ||
| 51 | 51 | dsimp [Budget.correctionSize] |
| 52 | 52 | positivity |
| 53 | 53 | |
| 54 | -/-- The actual common correction retains the quantitative residual energy | |
| 55 | -of any finite realization containing the requested words. -/ | |
| 56 | -theorem Budget.fieldTower_weightedNorm_residual (B : Budget period hT A) | |
| 57 | - (q : ℕ) (hq : 6 ≤ q) (N : ℕ) (hN : N ≤ q-4) (hNq : N+6 ≤ q+1) | |
| 58 | - (s : ℕ) (hs : N+6 ≤ s) (t : Icc (0 : ℝ) T) : | |
| 59 | - weightedNorm period 6 N (B.radius t) ((B.fieldTower period).realization s t) ≤ | |
| 60 | - metricAmplification B.metric.c * | |
| 61 | - (2*(B.spatial q hq).full.residual*Real.exp (3*B.growthCoefficient*t.val)) := by | |
| 62 | - have hv : value period ((B.fieldTower period).realization s t) = | |
| 63 | - value period (B.solution period q hq t) := by | |
| 64 | - rw [(B.fieldTower period).value_eq] | |
| 65 | - exact (B.solution_value_common period q hq t).symm | |
| 66 | - rw [weightedNorm_unique period 6 N (B.radius t) _ _ hv hs hNq] | |
| 67 | - have h := weightedNorm_le_energy period N hNq (B.radius t) | |
| 68 | - ((B.spatial q hq).full.radius_pos t) (B.metric.operatorPath period t) | |
| 69 | - (B.solution period q hq t) B.metric.c B.metric.c_pos (B.metric.operator_coercive period t) | |
| 70 | - exact h.trans (mul_le_mul_of_nonneg_left (B.solution_energy period q hq N hN hNq t).1 | |
| 71 | - (zero_le_one.trans (metricAmplification_one_le B.metric.c_pos))) | |
| 72 | - | |
| 73 | 54 | /-- At every finite cutoff, the norm bounds the one constructed common field. -/ |
| 74 | 55 | theorem Budget.fieldTower_weightedNorm_delta (B : Budget period hT A) |
| 75 | 56 | (s N : ℕ) (hN : N+6 ≤ s) (t : Icc (0 : ℝ) T) : |
+0 −81 Euler/AllOrderDriftResidualBounds.lean View file
| @@ -34,43 +34,6 @@ theorem Budget.residualEnvelope_le_target (B : Budget period hT A) | ||
| 34 | 34 | (show 0 ≤ 2*(B.spatial q hq).full.residual by have := (B.spatial q hq).full.residual_pos; positivity)).trans |
| 35 | 35 | (B.small q hq) |
| 36 | 36 | |
| 37 | -/-- Both the correction and its genuine first spatial derivatives retain | |
| 38 | -the quantitative residual bound at the fixed smaller radius. -/ | |
| 39 | -theorem Budget.fieldTower_reducedNorms_residual (B : Budget period hT A) | |
| 40 | - (q : ℕ) (hq : 6 ≤ q) (N : ℕ) (hNq : N+6 ≤ q) | |
| 41 | - (s : ℕ) (hs : N+6 ≤ s) (t : Icc (0 : ℝ) T) : | |
| 42 | - weightedNorm period 6 N (B.reducedRadius period) ((B.fieldTower period).realization s t) ≤ | |
| 43 | - metricAmplification B.metric.c*B.residualEnvelope period q hq t ∧ | |
| 44 | - (∑ i : Fin 4, weightedNorm period 6 N (B.reducedRadius period) | |
| 45 | - (derivativeOperator period s i ((B.fieldTower period).realization (s+1) t))) ≤ | |
| 46 | - (8/B.initialRadius)*(metricAmplification B.metric.c*B.residualEnvelope period q hq t) := by | |
| 47 | - have hR := (B.spatial q hq).full.radius_pos t | |
| 48 | - have hrR : B.reducedRadius period ≤ B.radius t := by | |
| 49 | - have h := B.reducedRadius_le_half period t | |
| 50 | - linarith | |
| 51 | - have hfrac : 4/B.radius t ≤ 8/B.initialRadius := by | |
| 52 | - apply (div_le_div_iff₀ hR B.radius_pos).mpr | |
| 53 | - linarith [(B.radius_bounds period t).1] | |
| 54 | - have hE : 0 ≤ metricAmplification B.metric.c*B.residualEnvelope period q hq t := | |
| 55 | - mul_nonneg (zero_le_one.trans (metricAmplification_one_le B.metric.c_pos)) | |
| 56 | - (B.residualEnvelope_nonneg period q hq t) | |
| 57 | - constructor | |
| 58 | - · exact (weightedNorm_mono_radius period 6 N (B.reducedRadius_pos period).le hrR _).trans | |
| 59 | - (B.fieldTower_weightedNorm_residual period q hq N (by omega) (by omega) s hs t) | |
| 60 | - · calc | |
| 61 | - _ ≤ ∑ i : Fin 4, weightedNorm period 6 N (B.radius t/2) | |
| 62 | - (derivativeOperator period s i ((B.fieldTower period).realization (s+1) t)) := | |
| 63 | - sum_le_sum fun i _ => weightedNorm_mono_radius period 6 N | |
| 64 | - (B.reducedRadius_pos period).le (B.reducedRadius_le_half period t) _ | |
| 65 | - _ ≤ (4/B.radius t)*weightedNorm period 6 (N+1) (B.radius t) | |
| 66 | - ((B.fieldTower period).realization (s+1) t) := | |
| 67 | - weightedNorm_derivative_half period 6 N hs (B.radius t) hR _ | |
| 68 | - _ ≤ (4/B.radius t)*(metricAmplification B.metric.c*B.residualEnvelope period q hq t) := | |
| 69 | - mul_le_mul_of_nonneg_left | |
| 70 | - (B.fieldTower_weightedNorm_residual period q hq (N+1) (by omega) (by omega) (s+1) (by omega) t) | |
| 71 | - (by positivity) | |
| 72 | - _ ≤ _ := mul_le_mul_of_nonneg_right hfrac hE | |
| 73 | - | |
| 74 | 37 | /-- The fixed polynomial cost when the solver's residual envelope is retained. -/ |
| 75 | 38 | def Budget.residualSourceCost (B : Budget period hT A) (q : ℕ) (hq : 6 ≤ q) : ℝ := |
| 76 | 39 | let S := (B.spatial q hq).full |
| @@ -104,48 +67,4 @@ private theorem sourceBound_residual (B : Budget period hT A) | ||
| 104 | 67 | · congr 1 <;> ring |
| 105 | 68 | · rfl |
| 106 | 69 | |
| 107 | -/-- The constructed pressure and actual time derivative satisfy the | |
| 108 | -sharper residual-envelope estimates, without assuming either bound. -/ | |
| 109 | -theorem Budget.pressure_time_reducedNorms_residual (B : Budget period hT A) | |
| 110 | - (q : ℕ) (hq : 6 ≤ q) (N : ℕ) (hNq : N+6 ≤ q) | |
| 111 | - (s : ℕ) (hs : N+6 ≤ s) (t : Icc (0 : ℝ) T) : | |
| 112 | - weightedNorm period 6 N (B.reducedRadius period) ((B.pressureTower period).realization s t) ≤ | |
| 113 | - (2*(B.spatial q hq).full.M*B.residualSourceCost period q hq)*B.residualEnvelope period q hq t ∧ | |
| 114 | - weightedNorm period 6 N (B.reducedRadius period) ((B.timeDerivativeTower period).realization s t) ≤ | |
| 115 | - ((1+2*(B.spatial q hq).full.M*(448*(B.spatial q hq).full.B+1))* | |
| 116 | - B.residualSourceCost period q hq)*B.residualEnvelope period q hq t := by | |
| 117 | - have hrR : B.reducedRadius period ≤ B.radius t := by | |
| 118 | - have h := B.reducedRadius_le_half period t | |
| 119 | - have hp := (B.spatial q hq).full.radius_pos t | |
| 120 | - linarith | |
| 121 | - have he := (B.fieldTower_reducedNorms_residual period q hq N hNq (q+3) (by omega) t).1 | |
| 122 | - have hde := (B.fieldTower_reducedNorms_residual period q hq N hNq (q+2) (by omega) t).2 | |
| 123 | - have hcost := sourceBound_residual period B q hq t | |
| 124 | - have hM := zero_le_one.trans (B.spatial q hq).full.M_one_le | |
| 125 | - have hB := (B.spatial q hq).full.B_nonneg | |
| 126 | - have hp := pressure_smallerRadius_bound period (B.spatial q hq).full N (by omega) (by omega) | |
| 127 | - t (B.reducedRadius period) (B.reducedRadius_pos period) hrR _ _ _ he hde | |
| 128 | - have ht := timeSource_smallerRadius_bound period (B.spatial q hq).full N (by omega) (by omega) | |
| 129 | - t (B.reducedRadius period) (B.reducedRadius_pos period) hrR _ _ _ he hde | |
| 130 | - have hp' := hp.trans (mul_le_mul_of_nonneg_left hcost (by positivity : 0 ≤ 2*(B.spatial q hq).full.M)) | |
| 131 | - have ht' := ht.trans (mul_le_mul_of_nonneg_left hcost | |
| 132 | - (by positivity : 0 ≤ 1+2*(B.spatial q hq).full.M*(448*(B.spatial q hq).full.B+1))) | |
| 133 | - change weightedNorm period 6 N (B.reducedRadius period) | |
| 134 | - ((A.atOrder period (q+2)).pressure period (by omega) t | |
| 135 | - ((B.fieldTower period).realization (q+3) t)) ≤ _ at hp' | |
| 136 | - rw [← B.solution_eq_realization period (q+2) (by omega), B.pressure_eq_realization] at hp' | |
| 137 | - change weightedNorm period 6 N (B.reducedRadius period) | |
| 138 | - (((A.atOrder period (q+2)).coefficients period (by omega)).apply t | |
| 139 | - ((B.fieldTower period).realization (q+3) t)) ≤ _ at ht' | |
| 140 | - rw [B.source_eq_timeDerivativeTower period (q+2) (by omega)] at ht' | |
| 141 | - constructor | |
| 142 | - · rw [weightedNorm_unique period 6 N (B.reducedRadius period) _ | |
| 143 | - ((B.pressureTower period).realization (q+2) t) | |
| 144 | - (by rw [(B.pressureTower period).value_eq, (B.pressureTower period).value_eq]) hs (by omega)] | |
| 145 | - exact hp'.trans_eq (by ring) | |
| 146 | - · rw [weightedNorm_unique period 6 N (B.reducedRadius period) _ | |
| 147 | - ((B.timeDerivativeTower period).realization (q+2) t) | |
| 148 | - (by rw [(B.timeDerivativeTower period).value_eq, (B.timeDerivativeTower period).value_eq]) hs (by omega)] | |
| 149 | - exact ht'.trans_eq (by ring) | |
| 150 | - | |
| 151 | 70 | end EulerAllOrderDriftCorrection |
+0 −76 Euler/AllOrderLiftedCorrection.lean View file
| @@ -16,80 +16,4 @@ open scoped Topology ContDiff | ||
| 16 | 16 | |
| 17 | 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | 18 | |
| 19 | -/-- The independently constructed finite-order corrections all represent the same actual L² field. -/ | |
| 20 | -theorem solution_value_base {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 21 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 22 | - value period (solution period hT A B q hq t) = value period (solution period hT A B 6 le_rfl t) := by | |
| 23 | - exact Nat.le_induction (P := fun n hn => value period (solution period hT A B n hn t) = | |
| 24 | - value period (solution period hT A B 6 le_rfl t)) rfl | |
| 25 | - (fun n hn ih => (solution_value_succ period hT A B n hn t).trans ih) q hq | |
| 26 | - | |
| 27 | -/-- The common continuous L² path constructed from the genuine finite-order nonlinear solves. -/ | |
| 28 | -def commonPath {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) : | |
| 29 | - C(Icc (0 : ℝ) T,LiftL2 period) := | |
| 30 | - (valueOperator period 7).compLeftContinuous ℝ (Icc (0 : ℝ) T) (solution period hT A B 6 le_rfl) | |
| 31 | - | |
| 32 | -/-- Every finite-order constructed path realizes the common actual L² path. -/ | |
| 33 | -theorem solution_value_common {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 34 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 35 | - value period (solution period hT A B q hq t)=commonPath period hT A B t := | |
| 36 | - solution_value_base period hT A B q hq t | |
| 37 | - | |
| 38 | -/-- The common constructed correction has zero initial trace. -/ | |
| 39 | -theorem commonPath_initial {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) : | |
| 40 | - commonPath period hT A B ⟨0,le_rfl,hT.le⟩=0 := by | |
| 41 | - change value period (solution period hT A B 6 le_rfl ⟨0,le_rfl,hT.le⟩)=0 | |
| 42 | - rw [solution_initial] | |
| 43 | - rfl | |
| 44 | - | |
| 45 | -/-- The common path belongs to the genuine closed lifted divergence-free subspace. -/ | |
| 46 | -theorem commonPath_divergence {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 47 | - (t : Icc (0 : ℝ) T) : commonPath period hT A B t ∈ divergenceFreeSpace period A.κ A.direction := | |
| 48 | - solution_divergence period hT A B 6 le_rfl t | |
| 49 | - | |
| 50 | -/-- An actual strong derivative jet of any prescribed order for the common nonlinear solution. -/ | |
| 51 | -def commonJet {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 52 | - (n : ℕ) (t : Icc (0 : ℝ) T) : SpatialJet period standardDirection n (commonPath period hT A B t) := by | |
| 53 | - rw [← solution_value_common period hT A B (n+6) (by omega) t] | |
| 54 | - exact EulerH6Pressure.SpatialJet.restrict | |
| 55 | - (toJet period (solution period hT A B (n+6) (by omega) t)) n (by omega) | |
| 56 | - | |
| 57 | -/-- Every external cutoff of the common solution retains the actual uniform Gevrey metric bound. -/ | |
| 58 | -theorem commonPath_energy {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 59 | - (P : ℕ) (t : Icc (0 : ℝ) T) : | |
| 60 | - energyNorm period P (by omega : P+6 ≤ (P+6)+1) (B.radius t) (B.metric.operatorPath period t) | |
| 61 | - (solution period hT A B (P+6) (by omega) t) ≤ B.delta/2 := | |
| 62 | - solution_energy period hT A B (P+6) (by omega) P (by omega) (by omega) t | |
| 63 | - | |
| 64 | -/-- The common L² path satisfies the actual nonlinear inviscid correction equation. -/ | |
| 65 | -theorem commonPath_hasDerivAt {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 66 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 67 | - HasDerivAt (EulerVolterraConvolution.extendPath T hT.le (commonPath period hT A B)) | |
| 68 | - (value period (((A.atOrder period 6).coefficients period le_rfl).apply | |
| 69 | - ⟨t,ht.1.le,ht.2.le⟩ (solution period hT A B 6 le_rfl ⟨t,ht.1.le,ht.2.le⟩))) t := | |
| 70 | - solution_hasDerivAt period hT A B 6 le_rfl t ht | |
| 71 | - | |
| 72 | -/-- Actual coherent all-order data and their concrete budgets construct a common inviscid correction with genuine jets at every order and spatially smooth, pointwise divergence-free representatives. | |
| 73 | -No correction solution, energy estimate, convergence, or all-order compatibility is assumed. -/ | |
| 74 | -theorem exists_smooth_lifted_correction {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) : | |
| 75 | - ∃ (U : C(Icc (0 : ℝ) T,LiftL2 period)) (g : Icc (0 : ℝ) T → LiftDomain period → Vector3), | |
| 76 | - U ⟨0,le_rfl,hT.le⟩=0 ∧ | |
| 77 | - (∀ n t, Nonempty (SpatialJet period standardDirection n (U t))) ∧ | |
| 78 | - (∀ q hq t, value period (solution period hT A B q hq t)=U t) ∧ | |
| 79 | - (∀ t x, ContDiff ℝ ∞ (localFieldLift period (g t) x)) ∧ | |
| 80 | - (∀ t, (U t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g t) ∧ | |
| 81 | - (∀ t x, (∑ i : Fin 3, (fieldDerivative period (coordinateDirection A.κ A.direction i) (g t) x) i)=0) ∧ | |
| 82 | - ∀ t (ht : t ∈ Ioo 0 T), HasDerivAt (extendPath T hT.le U) | |
| 83 | - (value period (((A.atOrder period 6).coefficients period le_rfl).apply | |
| 84 | - ⟨t,ht.1.le,ht.2.le⟩ (solution period hT A B 6 le_rfl ⟨t,ht.1.le,ht.2.le⟩))) t := by | |
| 85 | - have hs (t : Icc (0 : ℝ) T) := exists_smooth_representative period (commonPath period hT A B t) | |
| 86 | - (fun n => commonJet period hT A B n t) | |
| 87 | - choose g hg ha using hs | |
| 88 | - refine ⟨commonPath period hT A B,g,commonPath_initial period hT A B, | |
| 89 | - (fun n t => ⟨commonJet period hT A B n t⟩),solution_value_common period hT A B,hg,ha,?_, | |
| 90 | - commonPath_hasDerivAt period hT A B⟩ | |
| 91 | - intro t | |
| 92 | - exact divergenceFree_classical_divergence_zero period A.κ A.direction (commonPath period hT A B t) | |
| 93 | - (commonPath_divergence period hT A B t) (g t) (ha t) (hg t) | |
| 94 | - | |
| 95 | 19 | end EulerAllOrderLiftedCorrection |
+0 −36 Euler/AllOrderSmoothPressure.lean View file
| @@ -23,40 +23,4 @@ def pressureJet {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT | ||
| 23 | 23 | exact EulerH6Pressure.SpatialJet.restrict |
| 24 | 24 | (toJet period (signedPressurePath period hT A B (n+6) (by omega) t)) n (by omega) |
| 25 | 25 | |
| 26 | -/-- The common nonlinear correction satisfies its actual signed-pressure equation in L². -/ | |
| 27 | -theorem commonPath_pressure_equation {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 28 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 29 | - HasDerivAt (extendPath T hT.le (commonPath period hT A B)) | |
| 30 | - (-value period (rawSourcePath period hT A B 6 le_rfl ⟨t,ht.1.le,ht.2.le⟩)- | |
| 31 | - (A.metric.coefficient ⟨t,ht.1.le,ht.2.le⟩).operator | |
| 32 | - (commonPressure period hT A B ⟨t,ht.1.le,ht.2.le⟩)) t := by | |
| 33 | - have h := commonPath_hasDerivAt period hT A B t ht | |
| 34 | - rw [(A.atOrder period 6).source_value period le_rfl] at h | |
| 35 | - exact h | |
| 36 | - | |
| 37 | -/-- The constructed signed pressure has a genuine smooth spatial representative at every time. -/ | |
| 38 | -theorem exists_smooth_signed_pressure {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) : | |
| 39 | - ∃ p : Icc (0 : ℝ) T → LiftDomain period → Vector3, | |
| 40 | - (∀ t x, ContDiff ℝ ∞ (localFieldLift period (p t) x)) ∧ | |
| 41 | - ∀ t, (commonPressure period hT A B t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] p t := by | |
| 42 | - have h (t : Icc (0 : ℝ) T) := exists_smooth_representative period (commonPressure period hT A B t) | |
| 43 | - (fun n => pressureJet period hT A B n t) | |
| 44 | - choose p hp ha using h | |
| 45 | - exact ⟨p,hp,ha⟩ | |
| 46 | - | |
| 47 | -/-- The actual signed correction pressure yields a smooth scalar potential on every reciprocal-frequency graph. | |
| 48 | -The common pressure, all its strong jets, its smooth representative and its closed-gradient property are constructed internally. -/ | |
| 49 | -theorem exists_smooth_pressure_graph {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 50 | - (k : ℝ) (hk : k*A.κ=1) : | |
| 51 | - ∃ (p : Icc (0 : ℝ) T → LiftDomain period → Vector3) (Q : Icc (0 : ℝ) T → Vector3 → ℝ), | |
| 52 | - (∀ t x, ContDiff ℝ ∞ (localFieldLift period (p t) x)) ∧ | |
| 53 | - (∀ t, (commonPressure period hT A B t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] p t) ∧ | |
| 54 | - (∀ t, ContDiff ℝ ∞ (Q t)) ∧ | |
| 55 | - ∀ t x, gradient (Q t) x=A.κ • p t (cylinderGraph period k A.direction x) := by | |
| 56 | - obtain ⟨p,hp,ha⟩ := exists_smooth_signed_pressure period hT A B | |
| 57 | - have hQ (t : Icc (0 : ℝ) T) := gradientSpace_has_graph_potential period A.κ k hk A.direction | |
| 58 | - (commonPressure period hT A B t) (commonPressure_gradient period hT A B t) (p t) (ha t) (hp t) | |
| 59 | - choose Q hQs hQ using hQ | |
| 60 | - exact ⟨p,Q,hp,ha,hQs,hQ⟩ | |
| 61 | - | |
| 62 | 26 | end EulerAllOrderSmoothPressure |
+0 −7 Euler/AnglePrimitiveParity.lean View file
| @@ -10,13 +10,6 @@ open MeasureTheory | ||
| 10 | 10 | |
| 11 | 11 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 12 | 12 | |
| 13 | -omit [CompleteSpace E] in | |
| 14 | -theorem primitive_neg (P : ℝ) (f : ℝ → E) : | |
| 15 | - primitive P (fun θ => -f θ)=fun θ => -primitive P f θ := by | |
| 16 | - funext θ | |
| 17 | - simp only [primitive, rawPrimitive, intervalIntegral.integral_neg, smul_neg] | |
| 18 | - abel | |
| 19 | - | |
| 20 | 13 | /-- Reflection of the argument contributes one minus sign to a primitive. -/ |
| 21 | 14 | theorem primitive_reflection (P : ℝ) (hP : P ≠ 0) (f : ℝ → E) (hf : Continuous f) |
| 22 | 15 | (hper : Function.Periodic f P) (hmean : ∫ θ in 0..P, f θ=0) : |
+0 −25 Euler/AnglePrimitiveSpatialRegularity.lean View file
| @@ -40,30 +40,5 @@ section Continuous | ||
| 40 | 40 | |
| 41 | 41 | variable {Y : Type*} [TopologicalSpace Y] [FirstCountableTopology Y] [LocallyCompactSpace Y] |
| 42 | 42 | |
| 43 | -omit [CompleteSpace E] in | |
| 44 | -theorem rawPrimitive_joint_continuous (F : Y × ℝ → E) (hF : Continuous F) : | |
| 45 | - Continuous (fun p : Y × ℝ => rawPrimitive (fun θ => F (p.1,θ)) p.2) := by | |
| 46 | - have hG : Continuous (fun z : (Y × ℝ) × ℝ => F (z.1.1,z.1.2*z.2)) := | |
| 47 | - hF.comp (continuous_fst.fst.prodMk (continuous_fst.snd.mul continuous_snd)) | |
| 48 | - have hi := continuous_parametric_integral_of_continuous | |
| 49 | - (μ := volume) (f := fun p : Y × ℝ => fun s : ℝ => F (p.1,p.2*s)) hG | |
| 50 | - (isCompact_Icc : IsCompact (Icc (0 : ℝ) 1)) | |
| 51 | - have hi' : Continuous (fun p : Y × ℝ => ∫ s in (0 : ℝ)..1, F (p.1,p.2*s)) := by | |
| 52 | - simpa only [intervalIntegral.integral_of_le (zero_le_one : (0 : ℝ) ≤ 1), | |
| 53 | - integral_Icc_eq_integral_Ioc] using hi | |
| 54 | - simpa only [rawPrimitive_fixed_interval, Pi.smul_def'] using continuous_snd.smul hi' | |
| 55 | - | |
| 56 | -omit [CompleteSpace E] in | |
| 57 | -theorem primitive_joint_continuous (P : ℝ) (hP : 0 ≤ P) (F : Y × ℝ → E) | |
| 58 | - (hF : Continuous F) : | |
| 59 | - Continuous (fun p : Y × ℝ => primitive P (fun θ => F (p.1,θ)) p.2) := by | |
| 60 | - have hr := rawPrimitive_joint_continuous F hF | |
| 61 | - have hm := continuous_parametric_integral_of_continuous | |
| 62 | - (μ := volume) (f := fun y : Y => fun s : ℝ => rawPrimitive (fun θ => F (y,θ)) s) | |
| 63 | - hr (isCompact_Icc : IsCompact (Icc (0 : ℝ) P)) | |
| 64 | - have hm' : Continuous (fun y : Y => ∫ s in (0 : ℝ)..P, rawPrimitive (fun θ => F (y,θ)) s) := by | |
| 65 | - simpa only [intervalIntegral.integral_of_le hP, integral_Icc_eq_integral_Ioc] using hm | |
| 66 | - exact hr.sub (continuous_const.smul (hm'.comp continuous_fst)) | |
| 67 | - | |
| 68 | 43 | end Continuous |
| 69 | 44 | end EulerAngleMeanZeroPrimitive |
+0 −13 Euler/AnglePrimitiveTranslation.lean View file
| @@ -10,17 +10,4 @@ open MeasureTheory | ||
| 10 | 10 | |
| 11 | 11 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 12 | 12 | |
| 13 | -theorem primitive_translate (P : ℝ) (hP : P ≠ 0) (f : ℝ → E) (hf : Continuous f) | |
| 14 | - (hper : Function.Periodic f P) (hmean : ∫ θ in 0..P, f θ=0) (a : ℝ) : | |
| 15 | - primitive P (fun θ => f (θ+a))=fun θ => primitive P f (θ+a) := by | |
| 16 | - symm | |
| 17 | - apply primitive_unique P hP (fun θ => f (θ+a)) (hf.comp (continuous_id.add continuous_const)) | |
| 18 | - · intro θ | |
| 19 | - simpa only [one_smul, Function.comp_def, id_eq] using | |
| 20 | - (primitive_hasDerivAt P f hf (θ+a)).scomp θ ((hasDerivAt_id θ).add_const a) | |
| 21 | - · rw [intervalIntegral.integral_comp_add_right] | |
| 22 | - have h := (primitive_periodic P f hf hper hmean).intervalIntegral_add_eq a 0 | |
| 23 | - rw [zero_add] at h | |
| 24 | - rw [zero_add, add_comm P a, h, primitive_mean_zero P hP f hf] | |
| 25 | - | |
| 26 | 13 | end EulerAngleMeanZeroPrimitive |
+0 −31 Euler/AsymmetricTransport.lean View file
| @@ -39,35 +39,4 @@ theorem asymmetricTransport_eq {s : ℕ} (hs : 6 ≤ s) | ||
| 39 | 39 | asymmetricTransport period hs L hL (truncateOperator period s u) v = transportBilinear period hs L hL u v := by |
| 40 | 40 | rw [asymmetricTransport_apply, transportBilinear_apply] |
| 41 | 41 | |
| 42 | -/-- The background-drift expression is the same actual asymmetric transport operator. -/ | |
| 43 | -theorem asymmetricTransport_eq_background {s : ℕ} (hs : 6 ≤ s) | |
| 44 | - (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) | |
| 45 | - (u : SobolevSpace period s) (v : SobolevSpace period (s+1)) : | |
| 46 | - asymmetricTransport period hs L hL u v = backgroundDrift period hs L hL v u := by | |
| 47 | - rw [asymmetricTransport_apply] | |
| 48 | - rfl | |
| 49 | - | |
| 50 | -/-- The genuine asymmetric transport bound needed to multiply a bounded Hs path with an L²-time H^(s+1) path. -/ | |
| 51 | -theorem asymmetricTransport_bound {s : ℕ} (hs : 6 ≤ s) | |
| 52 | - (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) | |
| 53 | - (u : SobolevSpace period s) (v : SobolevSpace period (s+1)) : | |
| 54 | - ‖asymmetricTransport period hs L hL u v‖ ≤ 4*sobolevProductConstant period s*‖u‖*‖v‖ := by | |
| 55 | - rw [asymmetricTransport_apply] | |
| 56 | - have h := (norm_sum_le _ _).trans (Finset.sum_le_sum (s := (Finset.univ : Finset (Fin 4))) (fun i _ => | |
| 57 | - (productHq_norm period hs (L i) (hL i) u (derivativeOperator period s i v)).trans | |
| 58 | - (mul_le_mul_of_nonneg_left (derivativeOperator_bound period i v) | |
| 59 | - (mul_nonneg (sobolevProductConstant_nonneg period s) (norm_nonneg u))))) | |
| 60 | - exact h.trans_eq (by simp only [Finset.sum_const, Finset.card_univ, Fintype.card_fin, nsmul_eq_mul]; ring) | |
| 61 | - | |
| 62 | -/-- Operator-norm control of the actual asymmetric transport bilinear map. -/ | |
| 63 | -theorem asymmetricTransport_norm {s : ℕ} (hs : 6 ≤ s) | |
| 64 | - (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) : | |
| 65 | - ‖asymmetricTransport period hs L hL‖ ≤ 4*sobolevProductConstant period s := by | |
| 66 | - apply ContinuousLinearMap.opNorm_le_bound _ (mul_nonneg (by norm_num) (sobolevProductConstant_nonneg period s)) | |
| 67 | - intro u | |
| 68 | - apply ContinuousLinearMap.opNorm_le_bound _ (mul_nonneg (mul_nonneg (by norm_num) | |
| 69 | - (sobolevProductConstant_nonneg period s)) (norm_nonneg u)) | |
| 70 | - intro v | |
| 71 | - exact asymmetricTransport_bound period hs L hL u v | |
| 72 | - | |
| 73 | 42 | end EulerAsymmetricTransport |
+0 −7 Euler/BaseEulerDatum.lean View file
| @@ -69,13 +69,6 @@ def field (L : Space →L[ℝ] Space) : SmoothL2Field Space where | ||
| 69 | 69 | integrable n := ((velocity_smooth L).continuous_iteratedFDeriv (m := n) (by simp)).memLp_of_hasCompactSupport |
| 70 | 70 | ((velocity_compact L).iteratedFDeriv n) |
| 71 | 71 | |
| 72 | -theorem velocity_memLp (L : Space →L[ℝ] Space) : MemLp (velocity L) 2 volume := | |
| 73 | - (velocity_smooth L).continuous.memLp_of_hasCompactSupport (velocity_compact L) | |
| 74 | - | |
| 75 | -theorem field_solenoidal (L : Space →L[ℝ] Space) : | |
| 76 | - (velocity_memLp L).toLp (velocity L) ∈ solenoidalSpace := | |
| 77 | - smooth_mem_solenoidal (velocity L) (velocity_smooth L) (velocity_memLp L) (velocity_divergence L) | |
| 78 | - | |
| 79 | 72 | def linear (β : ℝ) : Space →L[ℝ] Space := |
| 80 | 73 | (EuclideanSpace.proj 1).smulRight (EuclideanSpace.single 0 1+β • EuclideanSpace.single 2 1) |
| 81 | 74 | |
+0 −32 Euler/BaseEulerInput.lean View file
| @@ -34,21 +34,11 @@ def solutionLabelData : LabelData (solutionParent β hβ ell hell hell1) := | ||
| 34 | 34 | uniformL2Amplitude_nonneg (by norm_num) (field_uniform_jet β hβ) |
| 35 | 35 | (velocity_divergence (linear β)) ell hell hell1 |
| 36 | 36 | |
| 37 | -def solutionInverse : ParticleInverse (solutionParent β hβ ell hell hell1) := | |
| 38 | - EulerStaticEuler.baseInverse 1 (field (linear β)) uniformL2Amplitude 1024 | |
| 39 | - uniformL2Amplitude_nonneg (by norm_num) (field_uniform_jet β hβ) | |
| 40 | - (velocity_divergence (linear β)) ell hell hell1 | |
| 41 | - | |
| 42 | 37 | def solutionEvolution : Evolution (solutionParent β hβ ell hell hell1) := |
| 43 | 38 | EulerStaticEuler.baseEvolution 1 (field (linear β)) uniformL2Amplitude 1024 |
| 44 | 39 | uniformL2Amplitude_nonneg (by norm_num) (field_uniform_jet β hβ) |
| 45 | 40 | (velocity_divergence (linear β)) ell hell hell1 |
| 46 | 41 | |
| 47 | -theorem solutionParent_time : (solutionParent β hβ ell hell hell1).T=solutionTime := rfl | |
| 48 | - | |
| 49 | -theorem solutionLabelData_constant : | |
| 50 | - (solutionLabelData β hβ ell hell hell1).K=solutionLabelConstant := rfl | |
| 51 | - | |
| 52 | 42 | theorem solutionOddData : OddData (solutionParent β hβ ell hell hell1) := |
| 53 | 43 | EulerStaticEuler.baseOddData 1 (field (linear β)) uniformL2Amplitude 1024 |
| 54 | 44 | uniformL2Amplitude_nonneg (by norm_num) (field_uniform_jet β hβ) |
| @@ -61,28 +51,6 @@ theorem solution_initial_velocity (x : Space) : | ||
| 61 | 51 | uniformL2Amplitude_nonneg (by norm_num) (field_uniform_jet β hβ) |
| 62 | 52 | (velocity_divergence (linear β)) ell hell hell1 x |
| 63 | 53 | |
| 64 | -theorem solution_initial_gradient : | |
| 65 | - fderiv ℝ ((solutionParent β hβ ell hell hell1).velocity.field | |
| 66 | - ⟨0,le_rfl,solutionTime_pos.le⟩ : Space → Space) 0=linear β := by | |
| 67 | - have he : ((solutionParent β hβ ell hell hell1).velocity.field | |
| 68 | - ⟨0,le_rfl,solutionTime_pos.le⟩ : Space → Space)=velocity (linear β) := | |
| 69 | - funext (solution_initial_velocity β hβ ell hell hell1) | |
| 70 | - rw [he] | |
| 71 | - exact velocity_fderiv_plateau _ (linear_trace β) 0 (by simp) | |
| 72 | - | |
| 73 | -theorem solution_initial_support : | |
| 74 | - tsupport ((solutionParent β hβ ell hell hell1).velocity.field | |
| 75 | - ⟨0,le_rfl,solutionTime_pos.le⟩ : Space → Space) ⊆ Metric.closedBall 0 2 := by | |
| 76 | - have he : ((solutionParent β hβ ell hell hell1).velocity.field | |
| 77 | - ⟨0,le_rfl,solutionTime_pos.le⟩ : Space → Space)=velocity (linear β) := | |
| 78 | - funext (solution_initial_velocity β hβ ell hell hell1) | |
| 79 | - rw [he] | |
| 80 | - exact velocity_support _ | |
| 81 | - | |
| 82 | -theorem solution_origin_fixed (t : Icc (0 : ℝ) solutionTime) : | |
| 83 | - (solutionParent β hβ ell hell hell1).position t 0=0 := | |
| 84 | - (solutionOddData β hβ ell hell hell1).position_zero t | |
| 85 | - | |
| 86 | 54 | omit β hβ ell hell hell1 in |
| 87 | 55 | theorem solutionLabelConstant_one : 1 ≤ solutionLabelConstant := |
| 88 | 56 | (solutionLabelData 0 (by norm_num) 1 zero_lt_one le_rfl).K_one |
+0 −20 Euler/BaseEulerSign.lean View file
| @@ -58,24 +58,4 @@ theorem source_numerator_pos (ξ : U) (hξ : ‖ξ‖=1) (x : Space) | ||
| 58 | 58 | rw [G.strain_apply,comp_apply,G.inverse_initial] |
| 59 | 59 | exact h0 |
| 60 | 60 | |
| 61 | -theorem source_numerator_pos_on (T : ℝ) (hT : 0 < T) (hTG : T ≤ G.T) | |
| 62 | - (hguard : T ≤ guardTime G.T L.K) (ξ : U) (hξ : ‖ξ‖=1) (x : Space) | |
| 63 | - (h0 : ⟪m,G.initialStrain.field x (R ξ : Space)⟫_ℝ=1) | |
| 64 | - (t : Icc (0 : ℝ) T) : | |
| 65 | - 1/2 ≤ ⟪((G.restrictTime T hT hTG).transverseData m hm R S hS).normal.field t x, | |
| 66 | - (G.restrictTime T hT hTG).strain.field t x | |
| 67 | - (EulerPacketForwardFactorization.uncutVelocity | |
| 68 | - ((G.restrictTime T hT hTG).transverseData m hm R S hS) ξ t x)⟫_ℝ := by | |
| 69 | - apply source_numerator_pos (L.restrictTime T hT hTG) m hm R S hS ξ hξ x _ _ _ t | |
| 70 | - · rw [G.restrictTime_initialStrain] | |
| 71 | - exact h0 | |
| 72 | - · have hh := (mul_le_mul_of_nonneg_left hguard (coefficientCost_nonneg L.K)).trans | |
| 73 | - (guardTime_small G.T L.K).1 | |
| 74 | - exact hh.trans (by norm_num) | |
| 75 | - · have hr : 0 ≤ firstSignRate (coefficientCost L.K) (coefficientCost L.K) := by | |
| 76 | - unfold firstSignRate | |
| 77 | - positivity [coefficientCost_nonneg L.K] | |
| 78 | - have hh := (mul_le_mul_of_nonneg_left hguard hr).trans (guardTime_small G.T L.K).2 | |
| 79 | - exact hh.trans (by norm_num) | |
| 80 | - | |
| 81 | 61 | end EulerBaseEulerGuards |
+0 −61 Euler/BaseEulerState.lean View file
| @@ -38,9 +38,6 @@ def initialParent : Parent := | ||
| 38 | 38 | def initialLabelData : LabelData (initialParent β hβ ell hell hell1) := |
| 39 | 39 | (solutionLabelData β hβ ell hell hell1).restrictTime initialTime initialTime_pos initialTime_le |
| 40 | 40 | |
| 41 | -def initialInverse : ParticleInverse (initialParent β hβ ell hell hell1) := | |
| 42 | - (solutionInverse β hβ ell hell hell1).restrictTime initialTime initialTime_pos initialTime_le | |
| 43 | - | |
| 44 | 41 | def initialEvolution : Evolution (initialParent β hβ ell hell hell1) := |
| 45 | 42 | (solutionEvolution β hβ ell hell hell1).restrictTime initialTime initialTime_pos initialTime_le |
| 46 | 43 | |
| @@ -53,30 +50,11 @@ theorem initialOddData : OddData (initialParent β hβ ell hell hell1) := | ||
| 53 | 50 | def initialLowBounds : LowBounds (initialParent β hβ ell hell hell1) := |
| 54 | 51 | lowBounds (solutionLabelData β hβ ell hell hell1) |
| 55 | 52 | |
| 56 | -theorem initialLowBounds_values : | |
| 57 | - (initialLowBounds β hβ ell hell hell1).Be=initialCoefficientCost ∧ | |
| 58 | - (initialLowBounds β hβ ell hell hell1).Bc=0 ∧ | |
| 59 | - (initialLowBounds β hβ ell hell hell1).L=0 ∧ | |
| 60 | - (initialLowBounds β hβ ell hell hell1).r=0 ∧ | |
| 61 | - (initialLowBounds β hβ ell hell hell1).K=initialCoefficientCost := | |
| 62 | - ⟨rfl,rfl,rfl,rfl,rfl⟩ | |
| 63 | - | |
| 64 | -theorem initialParent_time : (initialParent β hβ ell hell hell1).T=initialTime := rfl | |
| 65 | - | |
| 66 | -theorem initialLabelData_constant : | |
| 67 | - (initialLabelData β hβ ell hell hell1).K=solutionLabelConstant := rfl | |
| 68 | - | |
| 69 | 53 | theorem initial_velocity (x : Space) : |
| 70 | 54 | (initialParent β hβ ell hell hell1).velocity.field ⟨0,le_rfl,initialTime_pos.le⟩ x= |
| 71 | 55 | velocity (linear β) x := |
| 72 | 56 | solution_initial_velocity β hβ ell hell hell1 x |
| 73 | 57 | |
| 74 | -theorem initial_velocity_support : | |
| 75 | - tsupport ((initialParent β hβ ell hell hell1).velocity.field | |
| 76 | - ⟨0,le_rfl,initialTime_pos.le⟩ : Space → Space) ⊆ Metric.closedBall 0 2 := by | |
| 77 | - rw [funext (initial_velocity β hβ ell hell hell1)] | |
| 78 | - exact velocity_support _ | |
| 79 | - | |
| 80 | 58 | theorem solution_initialStrain (x : Space) (hx : ‖ell • x‖ < 1) : |
| 81 | 59 | (solutionParent β hβ ell hell hell1).initialStrain.field x=linear β := by |
| 82 | 60 | rw [Parent.initialStrain_apply,Parent.first_apply] |
| @@ -101,48 +79,9 @@ theorem initial_curvature_bound (t : Icc (0 : ℝ) initialTime) (x : Space) : | ||
| 101 | 79 | ‖(initialParent β hβ ell hell hell1).curvature.field t x‖ ≤ initialCoefficientCost := |
| 102 | 80 | curvature_norm (initialLabelData β hβ ell hell hell1) t x |
| 103 | 81 | |
| 104 | -theorem initial_origin_fixed (t : Icc (0 : ℝ) initialTime) : | |
| 105 | - (initialParent β hβ ell hell hell1).position t 0=0 := | |
| 106 | - (initialOddData β hβ ell hell hell1).position_zero t | |
| 107 | - | |
| 108 | 82 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 109 | 83 | (R : U ≃ₗᵢ[ℝ] referencePlane (EuclideanSpace.single 0 1 : Space)) |
| 110 | 84 | (ξ : U) (hξ : (R ξ : Space)=EuclideanSpace.single 1 1) |
| 111 | 85 | (S : Set Space) (hS : IsCompact S) |
| 112 | 86 | |
| 113 | -include hξ in | |
| 114 | -theorem initial_pressure_numerator (t : Icc (0 : ℝ) initialTime) | |
| 115 | - (x : Space) (hx : ‖ell • x‖ < 1) : | |
| 116 | - 1/2 ≤ ⟪((initialParent β hβ ell hell hell1).transverseData | |
| 117 | - (EuclideanSpace.single 0 1) (by simp) R S hS).normal.field t x, | |
| 118 | - (initialParent β hβ ell hell hell1).strain.field t x | |
| 119 | - (EulerPacketForwardFactorization.uncutVelocity | |
| 120 | - ((initialParent β hβ ell hell hell1).transverseData | |
| 121 | - (EuclideanSpace.single 0 1) (by simp) R S hS) ξ t x)⟫_ℝ := by | |
| 122 | - have hξnorm : ‖ξ‖=1 := by | |
| 123 | - have hn : ‖(R ξ : Space)‖=1 := by rw [hξ]; simp | |
| 124 | - exact (R.norm_map ξ).symm.trans hn | |
| 125 | - apply source_numerator_pos (initialLabelData β hβ ell hell hell1) | |
| 126 | - (EuclideanSpace.single 0 1) (by simp) R S hS ξ hξnorm x _ _ _ t | |
| 127 | - · rw [initialStrain_plateau β hβ ell hell hell1 x hx,hξ,linear_q] | |
| 128 | - simp [EuclideanSpace.inner_single_left,PiLp.add_apply,PiLp.smul_apply] | |
| 129 | - · exact initialTime_small.1.trans (by norm_num) | |
| 130 | - · exact initialTime_small.2.trans (by norm_num) | |
| 131 | - | |
| 132 | -include hξ in | |
| 133 | -theorem initial_pressure_numerator_on_support (t : Icc (0 : ℝ) initialTime) | |
| 134 | - (x : Space) (hx : x ∈ tsupport EulerSpatialCutoffs.innerCutoff) : | |
| 135 | - 1/2 ≤ ⟪((initialParent β hβ ell hell hell1).transverseData | |
| 136 | - (EuclideanSpace.single 0 1) (by simp) R S hS).normal.field t x, | |
| 137 | - (initialParent β hβ ell hell hell1).strain.field t x | |
| 138 | - (EulerPacketForwardFactorization.uncutVelocity | |
| 139 | - ((initialParent β hβ ell hell hell1).transverseData | |
| 140 | - (EuclideanSpace.single 0 1) (by simp) R S hS) ξ t x)⟫_ℝ := by | |
| 141 | - apply initial_pressure_numerator β hβ ell hell hell1 R ξ hξ S hS t x | |
| 142 | - have hn : ‖x‖ < (1/2 : ℝ) := by | |
| 143 | - simpa only [Metric.mem_ball,dist_zero_right] using EulerSpatialCutoffs.innerCutoff_support hx | |
| 144 | - rw [norm_smul,Real.norm_eq_abs,abs_of_pos hell] | |
| 145 | - have hb := mul_le_mul_of_nonneg_right hell1 (norm_nonneg x) | |
| 146 | - nlinarith | |
| 147 | - | |
| 148 | 87 | end EulerBaseDatum |
+0 −46 Euler/BaseEulerUniform.lean View file
| @@ -28,11 +28,6 @@ theorem velocityAmplitude_le_uniform (β : ℝ) (hβ : |β| ≤ 1) : | ||
| 28 | 28 | gcongr |
| 29 | 29 | _ ≤ uniformAmplitude := by unfold uniformAmplitude; linarith |
| 30 | 30 | |
| 31 | -theorem velocity_uniform_sup (β : ℝ) (hβ : |β| ≤ 1) : | |
| 32 | - HasSupBound (velocity (linear β)) uniformAmplitude 1024 := | |
| 33 | - (velocity_sup_bound (linear β)).mono (velocityAmplitude_nonneg _) (by norm_num) | |
| 34 | - (velocityAmplitude_le_uniform β hβ) le_rfl | |
| 35 | - | |
| 36 | 31 | def uniformL2Amplitude : ℝ := uniformAmplitude*volumeFactor |
| 37 | 32 | |
| 38 | 33 | theorem uniformL2Amplitude_nonneg : 0 ≤ uniformL2Amplitude := |
| @@ -44,45 +39,4 @@ theorem field_uniform_jet (β : ℝ) (hβ : |β| ≤ 1) : | ||
| 44 | 39 | (mul_nonneg (velocityAmplitude_nonneg _) volumeFactor_nonneg) (by norm_num) |
| 45 | 40 | (mul_le_mul_of_nonneg_right (velocityAmplitude_le_uniform β hβ) volumeFactor_nonneg) le_rfl |
| 46 | 41 | |
| 47 | -def uniformLabelBound : ℝ := | |
| 48 | - 1+sobolevCoefficientAmplitude (Fin 3) 6 1024 uniformL2Amplitude+ | |
| 49 | - sobolevCoefficientRadius (Fin 3) 1024 | |
| 50 | - | |
| 51 | -theorem uniformLabelBound_one : 1 ≤ uniformLabelBound := by | |
| 52 | - have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 3) 6 1024 uniformL2Amplitude | |
| 53 | - (by norm_num) uniformL2Amplitude_nonneg | |
| 54 | - have hr := sobolevCoefficientRadius_nonneg (ι := Fin 3) 1024 (by norm_num) | |
| 55 | - unfold uniformLabelBound | |
| 56 | - linarith | |
| 57 | - | |
| 58 | -theorem field_uniform_label (β : ℝ) (hβ : |β| ≤ 1) : | |
| 59 | - HasLabelBound uniformLabelBound (field (linear β)) := by | |
| 60 | - have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 3) 6 1024 uniformL2Amplitude | |
| 61 | - (by norm_num) uniformL2Amplitude_nonneg | |
| 62 | - have hr := sobolevCoefficientRadius_nonneg (ι := Fin 3) 1024 (by norm_num) | |
| 63 | - apply SmoothL2Field.hasLabelBound_of_jet_bound (field (linear β)) uniformL2Amplitude | |
| 64 | - 1024 uniformLabelBound uniformL2Amplitude_nonneg (by norm_num) (field_uniform_jet β hβ) | |
| 65 | - · unfold uniformLabelBound | |
| 66 | - linarith | |
| 67 | - · unfold uniformLabelBound | |
| 68 | - linarith | |
| 69 | - | |
| 70 | -theorem field_uniform_Hq (β : ℝ) (hβ : |β| ≤ 1) (q n : ℕ) : | |
| 71 | - classicalBlockSize direction q (field (linear β)).toLp | |
| 72 | - (field (linear β)).translation_contDiff n ≤ | |
| 73 | - sobolevCoefficientAmplitude (Fin 3) q 1024 uniformL2Amplitude* | |
| 74 | - (sobolevCoefficientRadius (Fin 3) 1024)^n*(n.factorial : ℝ)^2 := | |
| 75 | - SmoothL2Field.classicalBlockSize_of_jet_bound direction (by intro i; simp [direction]) q | |
| 76 | - (field (linear β)) uniformL2Amplitude 1024 uniformL2Amplitude_nonneg (by norm_num) | |
| 77 | - (field_uniform_jet β hβ) n | |
| 78 | - | |
| 79 | -theorem beta_bound (x₀ : ℝ) (hx : 1 ≤ x₀) : |(x₀^2)⁻¹| ≤ 1 := by | |
| 80 | - have hpow : (1 : ℝ) ≤ x₀^2 := one_le_pow₀ hx | |
| 81 | - rw [abs_of_nonneg (inv_nonneg.mpr (sq_nonneg x₀))] | |
| 82 | - exact inv_le_one_of_one_le₀ hpow | |
| 83 | - | |
| 84 | -theorem initial_gradient (x₀ : ℝ) : | |
| 85 | - fderiv ℝ (field (linear ((x₀^2)⁻¹))).field 0=linear ((x₀^2)⁻¹) := | |
| 86 | - velocity_fderiv_plateau _ (linear_trace _) 0 (by simp) | |
| 87 | - | |
| 88 | 42 | end EulerBaseDatum |
+0 −16 Euler/BaseFirstPacketSupport.lean View file
| @@ -50,9 +50,6 @@ theorem initial_support : | ||
| 50 | 50 | (packetBase_initial_support β hβ ell hell hell1 T hT hTB) |
| 51 | 51 | (hd.trans (Metric.closedBall_subset_closedBall (by linarith only [hell1]))) |
| 52 | 52 | |
| 53 | -theorem initial_compact : HasCompactSupport (fun x => F.state.evolution.velocity (0,x)) := | |
| 54 | - (isCompact_closedBall (0 : Space) 2).of_isClosed_subset (isClosed_tsupport _) F.initial_support | |
| 55 | - | |
| 56 | 53 | end FirstPacketChoice |
| 57 | 54 | end EulerBaseDatum |
| 58 | 55 | |
| @@ -66,17 +63,4 @@ theorem firstStage_initial_support : | ||
| 66 | 63 | tsupport (fun x => S.firstStage.state.evolution.velocity (0,x)) ⊆ Metric.closedBall 0 2 := |
| 67 | 64 | (S.first.packet S.j_one).initial_support |
| 68 | 65 | |
| 69 | -theorem firstStage_initial_compact : | |
| 70 | - HasCompactSupport (fun x => S.firstStage.state.evolution.velocity (0,x)) := | |
| 71 | - (isCompact_closedBall (0 : Space) 2).of_isClosed_subset (isClosed_tsupport _) S.firstStage_initial_support | |
| 72 | - | |
| 73 | -theorem firstStage_initial_field_support : | |
| 74 | - tsupport (S.firstStage.state.regularity.velocity S.firstStage.parent.zeroTime).field ⊆ | |
| 75 | - Metric.closedBall 0 2 := by | |
| 76 | - have he : (S.firstStage.state.regularity.velocity S.firstStage.parent.zeroTime).field= | |
| 77 | - fun x => S.firstStage.state.evolution.velocity (0,x) := | |
| 78 | - funext (fun x => (S.firstStage.state.regularity.velocity_match S.firstStage.parent.zeroTime x).symm) | |
| 79 | - rw [he] | |
| 80 | - exact S.firstStage_initial_support | |
| 81 | - | |
| 82 | 66 | end EulerPacketInductionScales.Scales |
+0 −8 Euler/BaseInductionStage.lean View file
| @@ -93,12 +93,4 @@ def firstStage : Stage S 0 := by | ||
| 93 | 93 | rw [htilt] |
| 94 | 94 | norm_num |
| 95 | 95 | |
| 96 | -theorem firstStage_time : S.firstStage.time=0 := rfl | |
| 97 | - | |
| 98 | -theorem firstStage_horizon : S.firstStage.parent.T=baseHorizon S.J S.X := rfl | |
| 99 | - | |
| 100 | -theorem firstStage_coupling : S.firstStage.frame.a=1 := | |
| 101 | - ((S.first.packet S.j_one).initialFrame_parameters firstNormal firstNormal_unit firstFrame | |
| 102 | - support compact).1 | |
| 103 | - | |
| 104 | 96 | end EulerPacketInductionScales.Scales |
+0 −4 Euler/BaseLiteralFirstPacket.lean View file
| @@ -61,10 +61,6 @@ def state (hJ : 1 ≤ J) : SmoothState (H.parent hJ) := (H.packet hJ).state | ||
| 61 | 61 | theorem state_label (hJ : 1 ≤ J) : (H.state hJ).labels.K=(X^D)^80 := |
| 62 | 62 | (H.packet hJ).state_label_constant |
| 63 | 63 | |
| 64 | -theorem parent_time (hJ : 1 ≤ J) : (H.parent hJ).T=baseHorizon J X := rfl | |
| 65 | - | |
| 66 | -theorem parent_scale (hJ : 1 ≤ J) : (H.parent hJ).ell=supportScale J X 0 := rfl | |
| 67 | - | |
| 68 | 64 | def lowBounds (hJ : 1 ≤ J) : LowBounds (H.parent hJ) := |
| 69 | 65 | FirstPacketChoice.lowBounds (X^(-2 : ℝ)) H.tilt_bound (baseRadius X) H.core_pos H.core_one |
| 70 | 66 | (baseHorizon J X) (H.time_pos hJ) H.local_time |
+0 −5 Euler/BasePacketFrequencyCost.lean View file
| @@ -38,11 +38,6 @@ theorem firstParameterSize_literal (J : ℕ) (hJ : 1 ≤ J) (X : ℝ) (hX : 1 | ||
| 38 | 38 | def firstFrequencyConstant : ℝ := frequencyConstant*(7+solutionLabelConstant)^frequencyPower |
| 39 | 39 | def firstFrequencyPower : ℕ := 1010*frequencyPower |
| 40 | 40 | |
| 41 | -theorem firstFrequencyConstant_pos : 0 < firstFrequencyConstant := by | |
| 42 | - have hK := solutionLabelConstant_one | |
| 43 | - unfold firstFrequencyConstant | |
| 44 | - exact mul_pos frequencyConstant_pos (pow_pos (by linarith) _) | |
| 45 | - | |
| 46 | 41 | theorem first_frequency_cost_bound (J : ℕ) (hJ : 1 ≤ J) (X : ℝ) (hX : 1 ≤ X) : |
| 47 | 42 | EulerPacketInitializedOutputCost.uniformConstant* |
| 48 | 43 | (profileEnvelope (firstParameterSize (baseHorizon J X) (X^(-1010 : ℝ)) (X^1000)))^ |
+0 −9 Euler/BasePacketSetup.lean View file
| @@ -66,12 +66,6 @@ def packetBaseState : SmoothState (packetBaseParent β hβ ell hell hell1 T hT h | ||
| 66 | 66 | def packetBaseLowBounds : LowBounds (packetBaseParent β hβ ell hell hell1 T hT hTB) := |
| 67 | 67 | (initialLowBounds β hβ ell hell hell1).restrictTime T hT hTB |
| 68 | 68 | |
| 69 | -theorem packetBase_label_constant : | |
| 70 | - (packetBaseState β hβ ell hell hell1 T hT hTB).labels.K=solutionLabelConstant := rfl | |
| 71 | - | |
| 72 | -theorem packetBase_boundary_zero : | |
| 73 | - (packetBaseLowBounds β hβ ell hell hell1 T hT hTB).L=0 := rfl | |
| 74 | - | |
| 75 | 69 | include hTB in |
| 76 | 70 | theorem packetBase_short : initialCoefficientCost*T ≤ 1/2 := |
| 77 | 71 | ((mul_le_mul_of_nonneg_left hTB initialCoefficientCost_nonneg).trans initialTime_small.1).trans |
| @@ -121,9 +115,6 @@ def firstPacketInputs : | ||
| 121 | 115 | (fun x hx => le_of_lt (by simpa only [Metric.mem_ball,dist_zero_right] using hx)) |
| 122 | 116 | (packetBase_short T hTB) T⁻¹ (hTB.trans initialTime_le_one) le_rfl |
| 123 | 117 | |
| 124 | -theorem firstPacketInputs_growth : | |
| 125 | - (firstPacketInputs β hβ ell hell hell1 T hT hTB).linear.g=1 := rfl | |
| 126 | - | |
| 127 | 118 | theorem firstPacket_pressure_numerator (t : Icc (0 : ℝ) T) |
| 128 | 119 | (x : Space) (hx : x ∈ support) : |
| 129 | 120 | 1/2 ≤ ⟪((packetBaseParent β hβ ell hell hell1 T hT hTB).transverseData |
+0 −7 Euler/BaseStaticEuler.lean View file
| @@ -99,13 +99,6 @@ def baseParent : Parent := (baseInput P u C R hC hR hu hdiv).parent ell hell hel | ||
| 99 | 99 | def baseLabelData : LabelData (baseParent P u C R hC hR hu hdiv ell hell hell1) := |
| 100 | 100 | (baseL2Data P u C R hC hR hu hdiv).labelData ell hell hell1 |
| 101 | 101 | |
| 102 | -theorem baseLabelData_constant : | |
| 103 | - (baseLabelData P u C R hC hR hu hdiv ell hell hell1).K=baseLabelConstant P C R hC hR := rfl | |
| 104 | - | |
| 105 | -include u hu hdiv ell hell hell1 in | |
| 106 | -theorem baseLabelConstant_one : 1 ≤ baseLabelConstant P C R hC hR := | |
| 107 | - (baseLabelData P u C R hC hR hu hdiv ell hell hell1).K_one | |
| 108 | - | |
| 109 | 102 | def baseInverse : ParticleInverse (baseParent P u C R hC hR hu hdiv ell hell hell1) := |
| 110 | 103 | (baseInput P u C R hC hR hu hdiv).particleInverse ell hell hell1 |
| 111 | 104 | |
+0 −9 Euler/BaseWordMetric.lean View file
| @@ -50,13 +50,4 @@ theorem sobolevNorm_le_baseWordMetric {s : ℕ} {f : LiftL2 period} | ||
| 50 | 50 | have hh := mul_le_mul_of_nonneg_left hn (Real.sqrt_nonneg (Fintype.card (BaseWord s) : ℝ)) |
| 51 | 51 | exact hsum.trans (hh.trans_eq (by ring)) |
| 52 | 52 | |
| 53 | -/-- The metric root is controlled by the actual base Sobolev sum with no extra word-count factor. -/ | |
| 54 | -theorem baseWordMetric_le_sobolevNorm {s : ℕ} {f : LiftL2 period} | |
| 55 | - (K : LiftL2 period →L[ℝ] LiftL2 period) (J : SpatialJet period standardDirection s f) : | |
| 56 | - baseWordMetricNorm period K J ≤ Real.sqrt ‖K‖ * J.sobolevNorm := by | |
| 57 | - have h := familyMetricNorm_upper K (baseWordValues period J) | |
| 58 | - have hn := familyNorm_le_sum_norm (baseWordValues period J) | |
| 59 | - rw [sum_baseWordValues_norm period J] at hn | |
| 60 | - exact h.trans (mul_le_mul_of_nonneg_left hn (Real.sqrt_nonneg _)) | |
| 61 | - | |
| 62 | 53 | end EulerBaseWordMetric |
+0 −24 Euler/BoundedFieldCalculus.lean View file
| @@ -84,17 +84,6 @@ def bilinearMap (B : E →L[ℝ] F →L[ℝ] G) : (α →ᵇ E) →L[ℝ] (α | ||
| 84 | 84 | @[simp] theorem bilinearMap_apply (B : E →L[ℝ] F →L[ℝ] G) (f : α →ᵇ E) (g : α →ᵇ F) (x : α) : |
| 85 | 85 | bilinearMap B f g x = B (f x) (g x) := rfl |
| 86 | 86 | |
| 87 | -theorem bilinearMap_norm (B : E →L[ℝ] F →L[ℝ] G) : ‖bilinearMap (α := α) B‖ ≤ ‖B‖ := | |
| 88 | - (bilinearLinear B).mkContinuous₂_norm_le (norm_nonneg B) (bilinearValue_norm B) | |
| 89 | - | |
| 90 | -/-- Pointwise postcomposition preserves the coefficient map's norm bound. -/ | |
| 91 | -theorem postcomposition_norm (L : E →L[ℝ] F) : ‖L.compLeftContinuousBounded α‖ ≤ ‖L‖ := by | |
| 92 | - apply opNorm_le_bound _ (norm_nonneg L) | |
| 93 | - intro f | |
| 94 | - apply (BoundedContinuousFunction.norm_le (mul_nonneg (norm_nonneg L) (norm_nonneg f))).2 | |
| 95 | - intro x | |
| 96 | - exact (L.le_opNorm (f x)).trans (mul_le_mul_of_nonneg_left (f.norm_coe_le_norm x) (norm_nonneg L)) | |
| 97 | - | |
| 98 | 87 | end Bilinear |
| 99 | 88 | |
| 100 | 89 | section Composition |
| @@ -123,9 +112,6 @@ private local instance : NormedSpace ℝ ((α →ᵇ U →L[ℝ] E) →L[ℝ] ( | ||
| 123 | 112 | def compositionMap : (α →ᵇ E →L[ℝ] F) →L[ℝ] (α →ᵇ U →L[ℝ] E) →L[ℝ] (α →ᵇ U →L[ℝ] F) := |
| 124 | 113 | bilinearMap (compL ℝ U E F) |
| 125 | 114 | |
| 126 | -theorem compositionMap_norm : ‖compositionMap (α := α) (U := U) (E := E) (F := F)‖ ≤ 1 := | |
| 127 | - (bilinearMap_norm (compL ℝ U E F)).trans (norm_compL_le ℝ U E F) | |
| 128 | - | |
| 129 | 115 | @[simp] theorem compositionMap_apply (A : α →ᵇ E →L[ℝ] F) (B : α →ᵇ U →L[ℝ] E) (x : α) : |
| 130 | 116 | compositionMap A B x = (A x).comp (B x) := rfl |
| 131 | 117 | |
| @@ -214,16 +200,6 @@ def adjointMap : (α →ᵇ U →L[ℝ] E) →L[ℝ] (α →ᵇ E →L[ℝ] U) : | ||
| 214 | 200 | |
| 215 | 201 | @[simp] theorem adjointMap_apply (A : α →ᵇ U →L[ℝ] E) (x : α) : adjointMap A x = (A x).adjoint := rfl |
| 216 | 202 | |
| 217 | -theorem adjointMap_norm : ‖adjointMap (α := α) (U := U) (E := E)‖ ≤ 1 := by | |
| 218 | - apply opNorm_le_bound _ zero_le_one | |
| 219 | - intro A | |
| 220 | - rw [one_mul] | |
| 221 | - apply (BoundedContinuousFunction.norm_le (norm_nonneg A)).2 | |
| 222 | - intro x | |
| 223 | - change ‖(A x).adjoint‖ ≤ ‖A‖ | |
| 224 | - rw [LinearIsometryEquiv.norm_map] | |
| 225 | - exact A.norm_coe_le_norm x | |
| 226 | - | |
| 227 | 203 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 228 | 204 | |
| 229 | 205 | private local instance : NormedAddCommGroup (C(K,α →ᵇ U →L[ℝ] E)) := inferInstance |
+0 −4 Euler/BoundedFieldMultilinear.lean View file
| @@ -80,8 +80,4 @@ def multilinearMap (L : ContinuousMultilinearMap ℝ V W) : | ||
| 80 | 80 | (f : ∀ i, α →ᵇ V i) (x : α) : |
| 81 | 81 | multilinearMap L f x = L (fun i => f i x) := rfl |
| 82 | 82 | |
| 83 | -theorem multilinearMap_norm (L : ContinuousMultilinearMap ℝ V W) : | |
| 84 | - ‖multilinearMap (α := α) L‖ ≤ ‖L‖ := | |
| 85 | - (multilinearAlgebra L).mkContinuous_norm_le (norm_nonneg L) (multilinearValue_norm L) | |
| 86 | - | |
| 87 | 83 | end EulerBoundedFieldCalculus |
+0 −4 Euler/BoundedFieldPullback.lean View file
| @@ -21,10 +21,6 @@ def pullback (A : E →ᵇ V) (d : E →ᵇ E) : E →ᵇ V := | ||
| 21 | 21 | @[simp] theorem pullback_apply (A : E →ᵇ V) (d : E →ᵇ E) (x : E) : |
| 22 | 22 | pullback A d x = A (x+d x) := rfl |
| 23 | 23 | |
| 24 | -theorem pullback_norm (A : E →ᵇ V) (d : E →ᵇ E) : | |
| 25 | - ‖pullback A d‖ ≤ ‖A‖ := | |
| 26 | - BoundedContinuousFunction.norm_ofNormedAddCommGroup_le _ (norm_nonneg A) _ | |
| 27 | - | |
| 28 | 24 | theorem pullback_sub_norm (A B : E →ᵇ V) (d e : E →ᵇ E) |
| 29 | 25 | (L : ℝ≥0) (hL : LipschitzWith L A) : |
| 30 | 26 | ‖pullback A d - pullback B e‖ ≤ ‖A-B‖ + L * ‖d-e‖ := by |
+0 −5 Euler/BoundedFlowContinuity.lean View file
| @@ -90,9 +90,4 @@ theorem backward_joint_continuous : Continuous (Function.uncurry V.backward) := | ||
| 90 | 90 | V.flow_joint_continuous.comp |
| 91 | 91 | (continuous_fst.prodMk (continuous_const.prodMk continuous_snd)) |
| 92 | 92 | |
| 93 | -theorem forward_displacement (t : ℝ) (x : E) : | |
| 94 | - dist (V.forward t x) x ≤ V.speedBound*|t| := by | |
| 95 | - simpa only [forward, V.flow_initial, Real.dist_eq, sub_zero] using | |
| 96 | - (V.flow_lipschitz_time 0 x).dist_le_mul t 0 | |
| 97 | - | |
| 98 | 93 | end EulerBoundedLipschitzFlow.Data |
+0 −6 Euler/BoundedPathFamily.lean View file
| @@ -49,10 +49,4 @@ def boundedPath : C(Icc (0 : ℝ) T,X →ᵇ V) where | ||
| 49 | 49 | @[simp] theorem boundedPath_apply (t : Icc (0 : ℝ) T) (x : X) : |
| 50 | 50 | boundedPath T hT f q hf C D hC hD hq hd t x = f x t := rfl |
| 51 | 51 | |
| 52 | -theorem boundedPath_norm (hCnonneg : 0 ≤ C) : | |
| 53 | - ‖boundedPath T hT f q hf C D hC hD hq hd‖ ≤ C := by | |
| 54 | - apply (ContinuousMap.norm_le _ hCnonneg).2 | |
| 55 | - intro t | |
| 56 | - exact (BoundedContinuousFunction.norm_le hCnonneg).2 (hC t) | |
| 57 | - | |
| 58 | 52 | end EulerBoundedPathFamily |
+0 −8 Euler/ChildParticleFieldBounds.lean View file
| @@ -247,13 +247,5 @@ theorem childAcceleration_apply (x : Space) : | ||
| 247 | 247 | fderiv ℝ (fderiv ℝ G.parentDisplacement.field) (G.inner x) (G.velocity.field x) (G.velocity.field x)+ |
| 248 | 248 | G.acceleration.field x+fderiv ℝ G.parentDisplacement.field (G.inner x) (G.acceleration.field x) := rfl |
| 249 | 249 | |
| 250 | -theorem child_label_bounds (K : ℝ) | |
| 251 | - (ha : EulerParameterWordGevrey.sobolevCoefficientAmplitude (Fin 3) 6 G.radius G.amplitude ≤ K) | |
| 252 | - (hr : EulerParameterWordGevrey.sobolevCoefficientRadius (Fin 3) G.radius ≤ K) : | |
| 253 | - HasLabelBound K G.childDisplacement ∧ HasLabelBound K G.childVelocity ∧ HasLabelBound K G.childAcceleration := | |
| 254 | - ⟨hasLabelBound_of_jet_bound _ _ _ K G.amplitude_nonneg G.radius_nonneg G.childDisplacement_bound ha hr, | |
| 255 | - hasLabelBound_of_jet_bound _ _ _ K G.amplitude_nonneg G.radius_nonneg G.childVelocity_bound ha hr, | |
| 256 | - hasLabelBound_of_jet_bound _ _ _ K G.amplitude_nonneg G.radius_nonneg G.childAcceleration_bound ha hr⟩ | |
| 257 | - | |
| 258 | 250 | end Data |
| 259 | 251 | end EulerChildParticleFieldBounds |
+0 −48 Euler/ChildParticleFieldTime.lean View file
| @@ -55,53 +55,5 @@ theorem childAcceleration (t : Icc (0 : ℝ) T) (x : Space) : | ||
| 55 | 55 | |
| 56 | 56 | variable {hT : 0 ≤ T} |
| 57 | 57 | |
| 58 | -theorem displacement_hasDerivWithinAt | |
| 59 | - (hP : SmoothTimeField.TimeDerivative T hT P P₁) | |
| 60 | - (hD : SmoothTimeField.TimeDerivative T hT D D₁) | |
| 61 | - (t : Icc (0 : ℝ) T) (x : Space) : | |
| 62 | - HasDerivWithinAt (fun s => (G (projIcc 0 T hT s)).childDisplacement.field x) | |
| 63 | - ((G t).childVelocity.field x) (Icc (0 : ℝ) T) t := by | |
| 64 | - have he : (fun s => (G (projIcc 0 T hT s)).childDisplacement.field x) = | |
| 65 | - (fun s => (EulerChildParticleTime.displacement P D).realField T hT s x) := by | |
| 66 | - funext s | |
| 67 | - exact H.childDisplacement (projIcc 0 T hT s) x | |
| 68 | - rw [he,H.childVelocity] | |
| 69 | - exact displacement_time hP hD t x | |
| 70 | - | |
| 71 | -theorem velocity_hasDerivWithinAt | |
| 72 | - (hP : SmoothTimeField.TimeDerivative T hT P P₁) | |
| 73 | - (hP₁ : SmoothTimeField.TimeDerivative T hT P₁ P₂) | |
| 74 | - (hD : SmoothTimeField.TimeDerivative T hT D D₁) | |
| 75 | - (hD₁ : SmoothTimeField.TimeDerivative T hT D₁ D₂) | |
| 76 | - (t : Icc (0 : ℝ) T) (x : Space) : | |
| 77 | - HasDerivWithinAt (fun s => (G (projIcc 0 T hT s)).childVelocity.field x) | |
| 78 | - ((G t).childAcceleration.field x) (Icc (0 : ℝ) T) t := by | |
| 79 | - have he : (fun s => (G (projIcc 0 T hT s)).childVelocity.field x) = | |
| 80 | - (fun s => (EulerChildParticleTime.velocity P P₁ D D₁).realField T hT s x) := by | |
| 81 | - funext s | |
| 82 | - exact H.childVelocity (projIcc 0 T hT s) x | |
| 83 | - rw [he,H.childAcceleration] | |
| 84 | - exact velocity_time hP hP₁ hD hD₁ t x | |
| 85 | - | |
| 86 | -theorem composition_hasDerivWithinAt | |
| 87 | - (hP : SmoothTimeField.TimeDerivative T hT P P₁) | |
| 88 | - (hD : SmoothTimeField.TimeDerivative T hT D D₁) | |
| 89 | - (t : Icc (0 : ℝ) T) (x : Space) : | |
| 90 | - HasDerivWithinAt (fun s => | |
| 91 | - let F := G (projIcc 0 T hT s) | |
| 92 | - (x+F.displacement.field x)+F.parentDisplacement.field (x+F.displacement.field x)) | |
| 93 | - ((G t).childVelocity.field x) (Icc (0 : ℝ) T) t := by | |
| 94 | - have h := (H.displacement_hasDerivWithinAt hP hD t x).const_add x | |
| 95 | - have he : (fun s => x+(G (projIcc 0 T hT s)).childDisplacement.field x) = | |
| 96 | - (fun s => | |
| 97 | - let F := G (projIcc 0 T hT s) | |
| 98 | - (x+F.displacement.field x)+F.parentDisplacement.field (x+F.displacement.field x)) := by | |
| 99 | - funext s | |
| 100 | - rw [EulerChildParticleFieldBounds.Data.childDisplacement_apply] | |
| 101 | - simp only [EulerChildParticleFieldBounds.Data.inner] | |
| 102 | - abel | |
| 103 | - rw [← he] | |
| 104 | - exact h | |
| 105 | - | |
| 106 | 58 | end Representation |
| 107 | 59 | end EulerChildParticleTime |
+0 −22 Euler/CoefficientJetPressureBounds.lean View file
| @@ -41,13 +41,6 @@ def TreeBound {s : ℕ} {A : SmoothCoefficient P} (K : CoefficientJet P dirs s A | ||
| 41 | 41 | | .zero A => (A.bound : ℝ) ≤ B |
| 42 | 42 | | .succ _ lower _ => (A.bound : ℝ) ≤ B ∧ ∀ i, TreeBound (lower i) B |
| 43 | 43 | |
| 44 | -omit [Fact (0 < P)] in | |
| 45 | -theorem TreeBound.root {s : ℕ} {A : SmoothCoefficient P} {K : CoefficientJet P dirs s A} | |
| 46 | - {B : ℝ} (hK : TreeBound K B) : (A.bound : ℝ) ≤ B := by | |
| 47 | - cases K with | |
| 48 | - | zero => exact hK | |
| 49 | - | succ => exact hK.1 | |
| 50 | - | |
| 51 | 44 | omit [Fact (0 < P)] in |
| 52 | 45 | theorem treeBound_of_levels {s : ℕ} {A : SmoothCoefficient P} (K : CoefficientJet P dirs s A) |
| 53 | 46 | (B : ℝ) (hb : ∀ n, n ≤ s → boundLevel P K n ≤ B) : TreeBound K B := by |
| @@ -76,21 +69,6 @@ theorem TreeBound.truncate {s : ℕ} {A : SmoothCoefficient P} | ||
| 76 | 69 | | succ dA lower hd => |
| 77 | 70 | exact ⟨hK.1,fun i => ih (hK.2 i)⟩ |
| 78 | 71 | |
| 79 | -omit [Fact (0 < P)] in | |
| 80 | -theorem TreeBound.restrict {s : ℕ} {A : SmoothCoefficient P} | |
| 81 | - {K : CoefficientJet P dirs s A} {B : ℝ} (hK : TreeBound K B) | |
| 82 | - (q : ℕ) (hq : q ≤ s) : TreeBound (EulerH6Pressure.CoefficientJet.restrict K q hq) B := by | |
| 83 | - induction q generalizing s A with | |
| 84 | - | zero => | |
| 85 | - rw [EulerH6Pressure.CoefficientJet.restrict,TreeBound] | |
| 86 | - exact hK.root | |
| 87 | - | succ q ih => | |
| 88 | - cases K with | |
| 89 | - | zero => omega | |
| 90 | - | succ dA lower hd => | |
| 91 | - rw [EulerH6Pressure.CoefficientJet.restrict,TreeBound] | |
| 92 | - exact ⟨hK.1,fun i => ih (hK.2 i) (by omega)⟩ | |
| 93 | - | |
| 94 | 72 | omit [Fact (0 < P)] in |
| 95 | 73 | theorem TreeBound.productConstant_le {s : ℕ} {A : SmoothCoefficient P} |
| 96 | 74 | {K : CoefficientJet P dirs s A} {B : ℝ} (hK : TreeBound K B) : |
+0 −7 Euler/CoefficientPathBounds.lean View file
| @@ -77,13 +77,6 @@ theorem coefficientJet_boundLevel_le_words (s n : ℕ) (t : K) : | ||
| 77 | 77 | rw [he] at hh |
| 78 | 78 | exact hh |
| 79 | 79 | |
| 80 | -theorem coefficientJet_boundLevel_le_tensor (s n : ℕ) (t : K) : | |
| 81 | - boundLevel P (coefficientJet P A hA s t) n ≤ | |
| 82 | - (4 : ℝ)^n*‖iteratedFDeriv ℝ n (translateCoefficientPath A) 0‖ := by | |
| 83 | - have hh := wordSum_le coefficientDirections coefficientDirections_norm (translateCoefficientPath A) n 0 | |
| 84 | - norm_num only [Fintype.card_fin] at hh | |
| 85 | - exact (coefficientJet_boundLevel_le_words P A hA s n t).trans hh | |
| 86 | - | |
| 87 | 80 | theorem coefficientJet_block_le_words (s q n : ℕ) (t : K) : |
| 88 | 81 | EulerH6Pressure.coefficientBlock P (coefficientJet P A hA s t) q n ≤ |
| 89 | 82 | EulerParameterWordGevrey.coefficientBlock coefficientDirections q (translateCoefficientPath A) n 0 := by |
+0 −62 Euler/CommonPressureRepresentative.lean View file
| @@ -15,46 +15,6 @@ open scoped ContDiff | ||
| 15 | 15 | |
| 16 | 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | 17 | |
| 18 | -/-- The canonical pointwise pressure, obtained by bounded evaluation of its actual continuous H3 realization. -/ | |
| 19 | -def pointPressure {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 20 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := | |
| 21 | - pointEvaluation period x (restrictOperator period (by omega : 3 ≤ 6) | |
| 22 | - (signedPressurePath period hT A B 6 le_rfl t)) | |
| 23 | - | |
| 24 | -/-- The canonical pointwise pressure represents the constructed common L² pressure. -/ | |
| 25 | -theorem pointPressure_ae {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 26 | - (t : Icc (0 : ℝ) T) : | |
| 27 | - (commonPressure period hT A B t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] | |
| 28 | - pointPressure period hT A B t := | |
| 29 | - representative_ae period (restrictOperator period (by omega : 3 ≤ 6) | |
| 30 | - (signedPressurePath period hT A B 6 le_rfl t)) | |
| 31 | - | |
| 32 | -/-- The canonical pressure is jointly continuous in time and the actual cylinder point. -/ | |
| 33 | -theorem pointPressure_joint_continuous {T : ℝ} (hT : 0 < T) (A : Data period T) | |
| 34 | - (B : Budget period hT A) : | |
| 35 | - Continuous (fun p : Icc (0 : ℝ) T × LiftDomain period => pointPressure period hT A B p.1 p.2) := | |
| 36 | - path_representative_joint_continuous period | |
| 37 | - ((restrictOperator period (by omega : 3 ≤ 6)).compLeftContinuous ℝ (Icc (0 : ℝ) T) | |
| 38 | - (signedPressurePath period hT A B 6 le_rfl)) | |
| 39 | - | |
| 40 | -/-- The canonical pressure is continuous on each spatial slice. -/ | |
| 41 | -theorem pointPressure_continuous {T : ℝ} (hT : 0 < T) (A : Data period T) | |
| 42 | - (B : Budget period hT A) (t : Icc (0 : ℝ) T) : | |
| 43 | - Continuous (pointPressure period hT A B t) := | |
| 44 | - representative_continuous period (restrictOperator period (by omega : 3 ≤ 6) | |
| 45 | - (signedPressurePath period hT A B 6 le_rfl t)) | |
| 46 | - | |
| 47 | -/-- These same canonical representatives are smooth in every spatial coordinate. -/ | |
| 48 | -theorem pointPressure_smooth {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 49 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 50 | - ContDiff ℝ ∞ (localFieldLift period (pointPressure period hT A B t) x) := by | |
| 51 | - obtain ⟨g, hg, ha⟩ := exists_smooth_representative period (commonPressure period hT A B t) | |
| 52 | - (fun n => pressureJet period hT A B n t) | |
| 53 | - have he : pointPressure period hT A B t = g := | |
| 54 | - representative_eq period _ g (smoothField_continuous period g hg) ha | |
| 55 | - rw [he] | |
| 56 | - exact hg x | |
| 57 | - | |
| 58 | 18 | omit [Fact (0 < period)] in |
| 59 | 19 | /-- The physical phase graph is a continuous map into the periodic cylinder. -/ |
| 60 | 20 | theorem cylinderGraph_continuous (k : ℝ) (m : Vector3) : |
| @@ -63,26 +23,4 @@ theorem cylinderGraph_continuous (k : ℝ) (m : Vector3) : | ||
| 63 | 23 | exact continuous_id.prodMk ((AddCircle.continuous_mk' period).comp |
| 64 | 24 | (continuous_const.mul (continuous_const.inner continuous_id))) |
| 65 | 25 | |
| 66 | -/-- The genuine signed graph pressure-gradient vector field. -/ | |
| 67 | -def graphPressure {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 68 | - (k : ℝ) (t : Icc (0 : ℝ) T) (x : Vector3) : Vector3 := | |
| 69 | - A.κ • pointPressure period hT A B t (cylinderGraph period k A.direction x) | |
| 70 | - | |
| 71 | -/-- The actual graph pressure-gradient field is jointly continuous in time and space. -/ | |
| 72 | -theorem graphPressure_joint_continuous {T : ℝ} (hT : 0 < T) (A : Data period T) | |
| 73 | - (B : Budget period hT A) (k : ℝ) : | |
| 74 | - Continuous (graphPressure period hT A B k).uncurry := | |
| 75 | - ((pointPressure_joint_continuous period hT A B).comp | |
| 76 | - (continuous_fst.prodMk ((cylinderGraph_continuous period k A.direction).comp continuous_snd))).const_smul A.κ | |
| 77 | - | |
| 78 | -/-- Each actual canonical graph field has a genuine smooth potential by the proved lifted gradient-space reconstruction. -/ | |
| 79 | -theorem graphPressure_has_potential {T : ℝ} (hT : 0 < T) (A : Data period T) | |
| 80 | - (B : Budget period hT A) (k : ℝ) (hk : k * A.κ = 1) (t : Icc (0 : ℝ) T) : | |
| 81 | - ∃ q : Vector3 → ℝ, ContDiff ℝ ∞ q ∧ | |
| 82 | - ∀ x, gradient q x = graphPressure period hT A B k t x := | |
| 83 | - gradientSpace_has_graph_potential period A.κ k hk A.direction | |
| 84 | - (commonPressure period hT A B t) (commonPressure_gradient period hT A B t) | |
| 85 | - (pointPressure period hT A B t) (pointPressure_ae period hT A B t) | |
| 86 | - (pointPressure_smooth period hT A B t) | |
| 87 | - | |
| 88 | 26 | end EulerCommonPressureRepresentative |
+0 −32 Euler/CompactProjectedPairing.lean View file
| @@ -32,36 +32,4 @@ theorem inner_projectedRhs (φ : L2) (hφ : φ ∈ solenoidalSpace) | ||
| 32 | 32 | ⟪φ, (projectedRhs A).toLp⟫_ℝ = -⟪φ, (advectionField A A).toLp⟫_ℝ := by |
| 33 | 33 | rw [projectedRhs_toLp, inner_neg_right, inner_solenoidalProjection _ _ hφ] |
| 34 | 34 | |
| 35 | -/-- Integral form of the projected pairing for an arbitrary solenoidal | |
| 36 | -`L²` representative. -/ | |
| 37 | -theorem inner_projectedRhs_eq_integral (φ : Space → Space) | |
| 38 | - (hLp : MemLp φ 2 (volume : Measure Space)) | |
| 39 | - (hφ : hLp.toLp φ ∈ solenoidalSpace) (A : SmoothL2Field Space) : | |
| 40 | - ⟪hLp.toLp φ, (projectedRhs A).toLp⟫_ℝ = | |
| 41 | - -∫ x, ⟪φ x, fderiv ℝ A.field x (A.field x)⟫_ℝ := by | |
| 42 | - rw [inner_projectedRhs _ hφ, MeasureTheory.L2.inner_def] | |
| 43 | - congr 1 | |
| 44 | - apply integral_congr_ae | |
| 45 | - filter_upwards [hLp.coeFn_toLp, (advectionField A A).toLp_ae] with x hφx hAx | |
| 46 | - rw [hφx, hAx, advectionField_field] | |
| 47 | - | |
| 48 | -/-- Smooth divergence-free `L²` tests remove the pressure projection. -/ | |
| 49 | -theorem smooth_inner_projectedRhs_eq_integral (φ : Space → Space) | |
| 50 | - (hs : ContDiff ℝ ∞ φ) (hLp : MemLp φ 2 (volume : Measure Space)) | |
| 51 | - (hdiv : ∀ x, divergence φ x = 0) (A : SmoothL2Field Space) : | |
| 52 | - ⟪hLp.toLp φ, (projectedRhs A).toLp⟫_ℝ = | |
| 53 | - -∫ x, ⟪φ x, fderiv ℝ A.field x (A.field x)⟫_ℝ := | |
| 54 | - inner_projectedRhs_eq_integral φ hLp (smooth_mem_solenoidal φ hs hLp hdiv) A | |
| 55 | - | |
| 56 | -/-- In particular, every compactly supported smooth divergence-free test | |
| 57 | -has the projected Euler pairing required by the Comparator bridge. -/ | |
| 58 | -theorem compact_inner_projectedRhs_eq_integral (φ : Space → Space) | |
| 59 | - (hs : ContDiff ℝ ∞ φ) (hc : HasCompactSupport φ) | |
| 60 | - (hdiv : ∀ x, divergence φ x = 0) (A : SmoothL2Field Space) : | |
| 61 | - ⟪(hs.continuous.memLp_of_hasCompactSupport hc).toLp φ, | |
| 62 | - (projectedRhs A).toLp⟫_ℝ = | |
| 63 | - -∫ x, ⟪φ x, fderiv ℝ A.field x (A.field x)⟫_ℝ := | |
| 64 | - smooth_inner_projectedRhs_eq_integral φ hs | |
| 65 | - (hs.continuous.memLp_of_hasCompactSupport hc) hdiv A | |
| 66 | - | |
| 67 | 35 | end EulerCompactProjectedPairing |
+0 −18 Euler/CompactSolenoidalDensity.lean View file
| @@ -152,14 +152,6 @@ theorem compactSolenoidalTests_representation (u : solenoidalSpace) | ||
| 152 | 152 | rw [← hf] |
| 153 | 153 | exact testValue_ae (curlTest f) |
| 154 | 154 | |
| 155 | -/-- A bundled compact smooth solenoidal test has the prescribed L² class. -/ | |
| 156 | -theorem compactSolenoidalTests_testValue (u : solenoidalSpace) | |
| 157 | - (hu : u ∈ compactSolenoidalTests) : | |
| 158 | - ∃ f : Test, (∀ x, divergence (f : Space → Space) x = 0) ∧ | |
| 159 | - testValue f = (u : L2) := by | |
| 160 | - obtain ⟨f, hf⟩ := hu | |
| 161 | - exact ⟨curlTest f, divergence_curl _ ((contDiff_piLp 2).mp f.smooth), hf⟩ | |
| 162 | - | |
| 163 | 155 | /-- The compact test fields form a dense subset of the actual solenoidal L² space. -/ |
| 164 | 156 | theorem compactSolenoidalTests_dense : Dense compactSolenoidalTests := by |
| 165 | 157 | apply Subtype.dense_iff.mpr |
| @@ -179,14 +171,4 @@ theorem compactSolenoidalTests_dense : Dense compactSolenoidalTests := by | ||
| 179 | 171 | exact ⟨⟨x, hxS⟩, hx, rfl⟩ |
| 180 | 172 | rw [himage, closure_compactCurlGenerators] |
| 181 | 173 | |
| 182 | -/-- Pairings against compact smooth solenoidal tests determine a solenoidal field. -/ | |
| 183 | -theorem solenoidal_eq_zero_of_compact_test_pairing_zero | |
| 184 | - (u : L2) (hu : u ∈ solenoidalSpace) | |
| 185 | - (htest : ∀ f : Test, (∀ x, divergence (f : Space → Space) x = 0) → | |
| 186 | - ⟪u, testValue f⟫_ℝ = 0) : u = 0 := by | |
| 187 | - apply weakHarmonicOn_univ_eq_zero u | |
| 188 | - apply weakHarmonicOn_univ_of_compactCurl_pairing_zero u hu | |
| 189 | - intro f | |
| 190 | - exact htest (curlTest f) (divergence_curl _ ((contDiff_piLp 2).mp f.smooth)) | |
| 191 | - | |
| 192 | 174 | end Euler.ComparatorBridge |
+0 −8 Euler/ComparatorLocalCompactVorticity.lean View file
| @@ -171,12 +171,4 @@ theorem local_compact_vorticity_of_truncationFamily | ||
| 171 | 171 | Metric.isClosed_closedBall |
| 172 | 172 | |
| 173 | 173 | |
| 174 | -/-- Compact initial vorticity stays in one compact ball for a positive time | |
| 175 | -for every Comparator solution. The auxiliary global trajectories are those | |
| 176 | -of the explicitly constructed finite-energy solenoidal truncations. -/ | |
| 177 | -theorem local_compact_vorticity (hc : HasCompactSupport (vectorCurl u₀)) : | |
| 178 | - ∃ δ B : ℝ, 0 < δ ∧ ∀ t ∈ Icc 0 δ, | |
| 179 | - tsupport (vectorCurl (v · t)) ⊆ Metric.closedBall (0 : Space) B := | |
| 180 | - h.local_compact_vorticity_of_truncationFamily h.finiteEnergyTruncationFamily hc | |
| 181 | - | |
| 182 | 174 | end Euler.EulerExistenceAndSmoothnessR3 |
+0 −5 Euler/ComparatorMaximalFields.lean View file
| @@ -33,11 +33,6 @@ theorem maximalPressureExtension_eq (t : L.Time) : | ||
| 33 | 33 | theorem maximalVelocityExtension_initial : (maximalVelocityExtension L · 0) = A.field := |
| 34 | 34 | (maximalVelocityExtension_eq L L.initialTime).trans L.maximalVelocity_initial |
| 35 | 35 | |
| 36 | -theorem maximalVelocityExtension_memLp (t : ℝ) (ht : t ∈ Ico 0 L.duration) : | |
| 37 | - MemLp (maximalVelocityExtension L · t) 2 volume := by | |
| 38 | - rw [maximalVelocityExtension_eq L ⟨t, ht⟩] | |
| 39 | - exact (L.maximalField ⟨t, ht⟩).memLp | |
| 40 | - | |
| 41 | 36 | theorem maximalVelocityExtension_divergence (t : ℝ) (ht : t ∈ Ico 0 L.duration) |
| 42 | 37 | (x : Space) : Euler.divergence (maximalVelocityExtension L · t) x = 0 := by |
| 43 | 38 | rw [maximalVelocityExtension_eq L ⟨t, ht⟩] |
+0 −17 Euler/ConstantCorrectionData.lean View file
| @@ -79,23 +79,6 @@ theorem jet_zero_weightedCoefficient (q b N : ℕ) (ρ : ℝ) : | ||
| 79 | 79 | weightedCoefficient P (jet P (0 : Space →L[ℝ] Space) q) b N ρ=0 := by |
| 80 | 80 | simp only [weightedCoefficient,jet_zero_coefficientBlock,mul_zero,Finset.sum_const_zero] |
| 81 | 81 | |
| 82 | -theorem coefficient_operator_id : | |
| 83 | - (coefficient P (ContinuousLinearMap.id ℝ Space)).operator=ContinuousLinearMap.id ℝ (LiftL2 P) := by | |
| 84 | - apply ContinuousLinearMap.ext | |
| 85 | - intro u | |
| 86 | - apply Lp.ext | |
| 87 | - filter_upwards [(coefficient P (ContinuousLinearMap.id ℝ Space)).operator_ae u] with x hx | |
| 88 | - exact hx | |
| 89 | - | |
| 90 | -theorem coefficient_operator_zero : | |
| 91 | - (coefficient P (0 : Space →L[ℝ] Space)).operator=0 := by | |
| 92 | - apply ContinuousLinearMap.ext | |
| 93 | - intro u | |
| 94 | - apply Lp.ext | |
| 95 | - filter_upwards [(coefficient P (0 : Space →L[ℝ] Space)).operator_ae u, | |
| 96 | - Lp.coeFn_zero Space 2 (liftMeasure P)] with x hx hz | |
| 97 | - exact hx.trans hz.symm | |
| 98 | - | |
| 99 | 82 | def tower (T : ℝ) (A : Space →L[ℝ] Space) : CoefficientTower P T where |
| 100 | 83 | coefficient _ := coefficient P A |
| 101 | 84 | jet q _ := jet P A q |
+0 −26 Euler/ConstantEulerGraph.lean View file
| @@ -42,15 +42,6 @@ theorem velocity_hasFDerivAt (t : ℝ) (ht : t ∈ Ioo 0 T) (x : Space) : | ||
| 42 | 42 | inclusion.hasFDerivAt |
| 43 | 43 | exact hu.comp (t,x) hi |
| 44 | 44 | |
| 45 | -theorem velocity_joint_continuous : Continuous (velocity S) := by | |
| 46 | - have hc : Continuous (projIcc 0 T hT.le) := continuous_projIcc | |
| 47 | - change Continuous (fun q : ℝ × Space => S.velocity.pointField | |
| 48 | - (projIcc 0 T hT.le q.1) (coveringMap P (q.2,0))) | |
| 49 | - exact S.velocity.pointField_joint_continuous.comp | |
| 50 | - ((hc.comp continuous_fst).prodMk | |
| 51 | - ((EulerLiftedGradientSpace.coveringMap_isOpenQuotient P).continuous.comp | |
| 52 | - (continuous_snd.prodMk continuous_const))) | |
| 53 | - | |
| 54 | 45 | theorem force_joint_continuous : Continuous (force S) := by |
| 55 | 46 | have hc : Continuous (projIcc 0 T hT.le) := continuous_projIcc |
| 56 | 47 | change Continuous (fun q : ℝ × Space => S.pressure.pointField |
| @@ -60,14 +51,6 @@ theorem force_joint_continuous : Continuous (force S) := by | ||
| 60 | 51 | ((EulerLiftedGradientSpace.coveringMap_isOpenQuotient P).continuous.comp |
| 61 | 52 | (continuous_snd.prodMk continuous_const))) |
| 62 | 53 | |
| 63 | -theorem pressure_joint_continuous : Continuous (pressure S) := by | |
| 64 | - have hc : Continuous (projIcc 0 T hT.le) := continuous_projIcc | |
| 65 | - change Continuous (fun q : ℝ × Space => S.graphPotential 1 (projIcc 0 T hT.le q.1) q.2) | |
| 66 | - have hi : Continuous (fun q : ℝ × Space => (projIcc 0 T hT.le q.1,q.2)) := | |
| 67 | - (hc.comp continuous_fst).prodMk continuous_snd | |
| 68 | - have hh := (S.graphPotential_joint_continuous 1).comp hi | |
| 69 | - exact hh | |
| 70 | - | |
| 71 | 54 | theorem pressure_smooth (t : ℝ) : ContDiff ℝ ∞ (fun x => pressure S (t,x)) := |
| 72 | 55 | S.rawGraphPotential_smooth 1 (by norm_num [data]) t |
| 73 | 56 | |
| @@ -76,9 +59,6 @@ theorem pressure_gradient (t : ℝ) (x : Space) : | ||
| 76 | 59 | have h := S.rawGraphPotential_gradient 1 (by norm_num [data]) t x |
| 77 | 60 | simpa only [data,pressure,force,one_smul,inner_zero_left,mul_zero] using h |
| 78 | 61 | |
| 79 | -theorem pressure_zero (t : ℝ) : pressure S (t,0)=0 := | |
| 80 | - S.graphPotential_zero 1 (projIcc 0 T hT.le t) | |
| 81 | - | |
| 82 | 62 | theorem velocity_divergence (t : ℝ) (x : Space) : |
| 83 | 63 | divergence (fun y => velocity S (t,y)) x=0 := by |
| 84 | 64 | rw [divergence_eq_coordinate_sum] |
| @@ -124,10 +104,4 @@ theorem velocity_smooth (t : ℝ) : ContDiff ℝ ∞ (fun x => velocity S (t,x)) | ||
| 124 | 104 | simpa only [cylinderGraph,inner_zero_left,mul_zero,velocity,ExactLiftedPacket.rawVelocity, |
| 125 | 105 | FieldTower.rawField,coveringMap] using h |
| 126 | 106 | |
| 127 | -theorem force_smooth (t : ℝ) : ContDiff ℝ ∞ (fun x => force S (t,x)) := by | |
| 128 | - have h := S.pressure.physicalPointField_smooth 1 0 (projIcc 0 T hT.le t) | |
| 129 | - change ContDiff ℝ ∞ (fun x => S.pressure.pointField (projIcc 0 T hT.le t) (cylinderGraph P 1 0 x)) at h | |
| 130 | - simpa only [cylinderGraph,inner_zero_left,mul_zero,force,ExactLiftedPacket.rawPressure, | |
| 131 | - FieldTower.rawField,coveringMap] using h | |
| 132 | - | |
| 133 | 107 | end EulerConstantEuler |
+0 −32 Euler/ContinuousAccelerationForcing.lean View file
| @@ -33,36 +33,4 @@ theorem forcing_contDiff (Q Q₁ : P → C(K,U →L[ℝ] E)) (f : P → C(K,E)) | ||
| 33 | 33 | contDiff_apply (fun x => adjointMap (Q x)) _ (contDiff_adjoint Q hQ) |
| 34 | 34 | (hf.sub ((contDiff_apply Q₁ v hQ₁ hv).const_smul (2 : ℝ))) |
| 35 | 35 | |
| 36 | -/-- One fixed amplitude controls the genuine derivatives at every order. -/ | |
| 37 | -theorem forcing_bound (Q Q₁ : P → C(K,U →L[ℝ] E)) (f : P → C(K,E)) (v : P → C(K,U)) | |
| 38 | - (hQ : ContDiff ℝ ∞ Q) (hQ₁ : ContDiff ℝ ∞ Q₁) | |
| 39 | - (hf : ContDiff ℝ ∞ f) (hv : ContDiff ℝ ∞ v) | |
| 40 | - (R C₀ C₁ F V : ℝ) (hR : 0 ≤ R) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) | |
| 41 | - (hF : 0 ≤ F) (hV : 0 ≤ V) (d : ℕ) | |
| 42 | - (hbQ : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C₀*majorant R 0 n) | |
| 43 | - (hbQ₁ : ∀ n x, ‖iteratedFDeriv ℝ n Q₁ x‖ ≤ C₁*majorant R 0 n) | |
| 44 | - (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ F*majorant R d n) | |
| 45 | - (hbv : ∀ n x, ‖iteratedFDeriv ℝ n v x‖ ≤ V*majorant R d n) | |
| 46 | - (n : ℕ) (x : P) : | |
| 47 | - ‖iteratedFDeriv ℝ n (forcing Q Q₁ f v) x‖ ≤ (3*C₀*(F+6*C₁*V))*majorant R d n := by | |
| 48 | - let w := fun y => multiplier (Q₁ y) (v y) | |
| 49 | - have hw : ContDiff ℝ ∞ w := contDiff_apply Q₁ v hQ₁ hv | |
| 50 | - have hbw (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ j w y‖ ≤ (3*C₁*V)*majorant R d j := by | |
| 51 | - simpa only [Nat.zero_add] using apply_bound Q₁ v hQ₁ hv R C₁ V hR hC₁ hV 0 d hbQ₁ hbv j y | |
| 52 | - have hb2w (j : ℕ) (y : P) : | |
| 53 | - ‖iteratedFDeriv ℝ j (fun z => (2 : ℝ) • w z) y‖ ≤ (6*C₁*V)*majorant R d j := by | |
| 54 | - rw [iteratedFDeriv_const_smul_apply' (hw.contDiffAt.of_le (by simp)), norm_smul] | |
| 55 | - norm_num only [Real.norm_ofNat] | |
| 56 | - nlinarith [hbw j y] | |
| 57 | - let r := fun y => f y - (2 : ℝ) • w y | |
| 58 | - have hr : ContDiff ℝ ∞ r := hf.sub (hw.const_smul (2 : ℝ)) | |
| 59 | - have hbr := sub_bound f (fun y => (2 : ℝ) • w y) hf (hw.const_smul (2 : ℝ)) | |
| 60 | - R F (6*C₁*V) d hbf hb2w | |
| 61 | - have h := apply_bound (fun y => adjointMap (Q y)) r (contDiff_adjoint Q hQ) hr | |
| 62 | - R C₀ (F+6*C₁*V) hR hC₀ (by positivity) 0 d | |
| 63 | - (EulerContinuousPathComposition.adjoint_bound Q hQ R C₀ hR hC₀ 0 hbQ) hbr n x | |
| 64 | - simp only [Nat.zero_add] at h | |
| 65 | - convert h using 1 | |
| 66 | - rfl | |
| 67 | - | |
| 68 | 36 | end EulerContinuousAccelerationForcing |
+0 −31 Euler/ContinuousAccelerationGevrey.lean View file
| @@ -47,35 +47,4 @@ theorem acceleration_contDiff {n : ℕ∞ω} | ||
| 47 | 47 | (solve_contDiff T c hc Q hLower (forcing Q Q₁ f v) hQ |
| 48 | 48 | (forcing_contDiff Q Q₁ f v hQ hQ₁ hf hv)) |
| 49 | 49 | |
| 50 | -/-- The actual continuous acceleration has one factorial shift relative to | |
| 51 | -its velocity and forcing data, with a polynomial radius condition. -/ | |
| 52 | -theorem acceleration_gevrey | |
| 53 | - (hQ : ContDiff ℝ ∞ Q) (hQ₁ : ContDiff ℝ ∞ Q₁) | |
| 54 | - (hv : ContDiff ℝ ∞ v) (hf : ContDiff ℝ ∞ f) | |
| 55 | - (Rc R C₀ C₁ Cf Cv : ℝ) (hRc : 0 ≤ Rc) (hR : 0 ≤ R) (hRcR : Rc ≤ R) | |
| 56 | - (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) (hCf : 0 ≤ Cf) (hCv : 0 ≤ Cv) | |
| 57 | - (hstrong : 2*gramCost c C₀ (3*C₀*(Cf+6*C₁*Cv))*(Rc+1) ≤ R) | |
| 58 | - (hQb : ∀ n x, ‖iteratedFDeriv ℝ n Q x‖ ≤ C₀*majorant Rc 0 n) | |
| 59 | - (hQ₁b : ∀ n x, ‖iteratedFDeriv ℝ n Q₁ x‖ ≤ C₁*majorant Rc 0 n) | |
| 60 | - (d : ℕ) | |
| 61 | - (hfb : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ Cf*majorant R d n) | |
| 62 | - (hvb : ∀ n x, ‖iteratedFDeriv ℝ n v x‖ ≤ Cv*majorant R d n) | |
| 63 | - (n : ℕ) (x : P) : | |
| 64 | - ‖iteratedFDeriv ℝ n | |
| 65 | - (fun y => accelerationPath T (Q y) (Q₁ y) c hc (hLower y) (v y) (f y)) x‖ ≤ | |
| 66 | - majorant R (d+1) n := by | |
| 67 | - have hbQR (k y) : ‖iteratedFDeriv ℝ k Q y‖ ≤ C₀*majorant R 0 k := | |
| 68 | - (hQb k y).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 k) hC₀) | |
| 69 | - have hbQ₁R (k y) : ‖iteratedFDeriv ℝ k Q₁ y‖ ≤ C₁*majorant R 0 k := | |
| 70 | - (hQ₁b k y).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 k) hC₁) | |
| 71 | - let g := forcing Q Q₁ f v | |
| 72 | - have hg : ContDiff ℝ ∞ g := forcing_contDiff Q Q₁ f v hQ hQ₁ hf hv | |
| 73 | - have hgb : ∀ k y, ‖iteratedFDeriv ℝ k g y‖ ≤ (3*C₀*(Cf+6*C₁*Cv))*majorant R d k := | |
| 74 | - forcing_bound Q Q₁ f v hQ hQ₁ hf hv R C₀ C₁ Cf Cv hR hC₀ hC₁ hCf hCv d | |
| 75 | - hbQR hbQ₁R hfb hvb | |
| 76 | - have hs := EulerContinuousGramGevrey.solution_gevrey T Q c hc hLower hQ | |
| 77 | - Rc C₀ hRc hC₀ hQb g hg (3*C₀*(Cf+6*C₁*Cv)) R (by positivity) hstrong d hgb n x | |
| 78 | - exact (congrArg (fun g : P → C(Icc (0 : ℝ) T,U) => ‖iteratedFDeriv ℝ n g x‖) | |
| 79 | - (acceleration_eq_solve T Q Q₁ c hc hLower v f)).trans_le hs | |
| 80 | - | |
| 81 | 50 | end EulerContinuousAccelerationGevrey |
+0 −7 Euler/ContinuousBoundedTensor.lean View file
| @@ -140,13 +140,6 @@ def tensorPathMap (n : ℕ) : | ||
| 140 | 140 | (t : K) (x : X) (v : Fin n → E) : tensorPathMap n A t x v = A v t x := |
| 141 | 141 | tensorPath_apply n A t x v |
| 142 | 142 | |
| 143 | -theorem tensorPathMap_norm_le (n : ℕ) : | |
| 144 | - ‖tensorPathMap (K := K) (X := X) (E := E) (V := V) n‖ ≤ 1 := by | |
| 145 | - apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one | |
| 146 | - intro A | |
| 147 | - change ‖tensorPath n A‖ ≤ 1 * ‖A‖ | |
| 148 | - simpa only [one_mul] using tensorPath_norm_le n A | |
| 149 | - | |
| 150 | 143 | theorem tensorPath_iteratedFDeriv (f : E → C(K, X →ᵇ V)) (hf : ContDiff ℝ ∞ f) |
| 151 | 144 | (n : ℕ) (a : E) (t : K) (x : X) : |
| 152 | 145 | tensorPathMap n (iteratedFDeriv ℝ n f a) t x = |
+0 −6 Euler/ContinuousForcingTranslation.lean View file
| @@ -78,10 +78,4 @@ genuinely smooth translation orbit in the uniform time norm. -/ | ||
| 78 | 78 | theorem forcing_translation_contDiff : ContDiff ℝ ∞ (fun a : Space => translate a f) := |
| 79 | 79 | (forcingFamily A hA f hf).contDiff_field |
| 80 | 80 | |
| 81 | -/-- Every actual orbit derivative is controlled by the original uniform-time | |
| 82 | -ordinary L² spatial derivative with constant one. -/ | |
| 83 | -theorem forcing_translation_jet_bound (n : ℕ) (a : Space) : | |
| 84 | - ‖iteratedFDeriv ℝ n (fun b : Space => translate b f) a‖ ≤ ‖spatialJetPath A hA n‖ := | |
| 85 | - (forcingFamily A hA f hf).norm_iteratedFDeriv_field_le n a | |
| 86 | - | |
| 87 | 81 | end EulerContinuousForcing |
+0 −32 Euler/ContinuousGramAcceleration.lean View file
| @@ -44,38 +44,6 @@ theorem accelerationPath_equation (v : C(Icc (0 : ℝ) T, U)) | ||
| 44 | 44 | (Q t).adjoint (f t-(2 : ℝ) • Q₁ t (v t)) := |
| 45 | 45 | gram_inverse_apply (Q t) c hc (hQ t) _ |
| 46 | 46 | |
| 47 | -/-- The continuous acceleration has the same explicit coefficient bound as the L² inverse. -/ | |
| 48 | -theorem accelerationPath_norm (v : C(Icc (0 : ℝ) T, U)) | |
| 49 | - (f : C(Icc (0 : ℝ) T, E)) : | |
| 50 | - ‖accelerationPath T Q Q₁ c hc hQ v f‖ ≤ | |
| 51 | - c⁻¹*‖Q‖*(‖f‖+2*‖Q₁‖*‖v‖) := by | |
| 52 | - apply (ContinuousMap.norm_le _ (by positivity)).2 | |
| 53 | - intro t | |
| 54 | - have hQv : ‖Q₁ t (v t)‖ ≤ ‖Q₁‖*‖v‖ := | |
| 55 | - ((Q₁ t).le_opNorm _).trans | |
| 56 | - (mul_le_mul (Q₁.norm_coe_le_norm t) (v.norm_coe_le_norm t) (norm_nonneg (v t)) (norm_nonneg Q₁)) | |
| 57 | - have hr : ‖f t-(2 : ℝ) • Q₁ t (v t)‖ ≤ ‖f‖+2*‖Q₁‖*‖v‖ := by | |
| 58 | - calc | |
| 59 | - _ ≤ ‖f t‖+‖(2 : ℝ) • Q₁ t (v t)‖ := norm_sub_le _ _ | |
| 60 | - _ = ‖f t‖+2*‖Q₁ t (v t)‖ := by norm_num only [norm_smul, Real.norm_ofNat] | |
| 61 | - _ ≤ ‖f‖+2*(‖Q₁‖*‖v‖) := | |
| 62 | - add_le_add (f.norm_coe_le_norm t) (mul_le_mul_of_nonneg_left hQv (by norm_num)) | |
| 63 | - _ = _ := by ring | |
| 64 | - have hAdj : ‖(Q t).adjoint‖ ≤ ‖Q‖ := by | |
| 65 | - simpa only [LinearIsometryEquiv.norm_map] using Q.norm_coe_le_norm t | |
| 66 | - calc | |
| 67 | - _ ≤ ‖gramInverse (Q t) c hc (hQ t)‖ * | |
| 68 | - ‖(Q t).adjoint (f t-(2 : ℝ) • Q₁ t (v t))‖ := | |
| 69 | - (gramInverse (Q t) c hc (hQ t)).le_opNorm _ | |
| 70 | - _ ≤ c⁻¹*(‖Q‖*‖f t-(2 : ℝ) • Q₁ t (v t)‖) := | |
| 71 | - mul_le_mul (gramInverse_norm (Q t) c hc (hQ t)) | |
| 72 | - (((Q t).adjoint.le_opNorm _).trans | |
| 73 | - (mul_le_mul_of_nonneg_right hAdj (norm_nonneg _))) | |
| 74 | - (norm_nonneg _) (inv_nonneg.mpr hc.le) | |
| 75 | - _ ≤ c⁻¹*(‖Q‖*(‖f‖+2*‖Q₁‖*‖v‖)) := | |
| 76 | - mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left hr (norm_nonneg Q)) (inv_nonneg.mpr hc.le) | |
| 77 | - _ = _ := by ring | |
| 78 | - | |
| 79 | 47 | /-- Every genuine L² strong acceleration with the given continuous data is |
| 80 | 48 | almost everywhere this constructed continuous path. -/ |
| 81 | 49 | theorem accelerationPath_ae (hT : 0 ≤ T) (v a : TimeLp T U) (f : TimeLp T E) |
+0 −25 Euler/ContinuousGramGevrey.lean View file
| @@ -120,29 +120,4 @@ theorem inversePath_gevrey (R : ℝ) (hR : 2*gramCost c C 1*(Rc+1) ≤ R) (n : | ||
| 120 | 120 | (by positivity) zero_le_one hM hMC hMD hRc hR hI hApos 0 |
| 121 | 121 | (const_bound onePath R 1 hR0 hone) n x |
| 122 | 122 | |
| 123 | -/-- The actual continuous solution has the same one-shift inverse estimate. -/ | |
| 124 | -theorem solution_gevrey (f : P → C(Icc (0 : ℝ) T,U)) (hf : ContDiff ℝ ∞ f) | |
| 125 | - (D R : ℝ) (hD : 0 ≤ D) (hR : 2*gramCost c C D*(Rc+1) ≤ R) | |
| 126 | - (d : ℕ) (hbf : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ D*majorant R d n) | |
| 127 | - (n : ℕ) (x : P) : | |
| 128 | - ‖iteratedFDeriv ℝ n (fun y => solve T (Q y) c hc (hLower y) (f y)) x‖ ≤ | |
| 129 | - majorant R (d+1) n := by | |
| 130 | - let A := fun y => multiplier (gramPath T (Q y)) | |
| 131 | - let V := fun y => solve T (Q y) c hc (hLower y) (f y) | |
| 132 | - let I := fun y => solve T (Q y) c hc (hLower y) | |
| 133 | - have hB := gramPath_contDiff T Q hQ | |
| 134 | - have hA : ContDiff ℝ ∞ A := contDiff_multiplier (fun y => gramPath T (Q y)) hB | |
| 135 | - have hV : ContDiff ℝ ∞ V := solve_contDiff T c hc Q hLower f hQ hf | |
| 136 | - have hAall := multiplier_bound (fun y => gramPath T (Q y)) hB Rc (3*C^2) hRc | |
| 137 | - (by positivity) 0 (gramPath_bound T Q hQ Rc C hRc hC hbQ) | |
| 138 | - have hApos (j : ℕ) (y : P) : ‖iteratedFDeriv ℝ (j+1) A y‖ ≤ | |
| 139 | - (3*C^2)*(Rc^(j+1)*((j+1).factorial : ℝ)^2) := by | |
| 140 | - simpa only [majorant, Nat.add_zero] using hAall (j+1) y | |
| 141 | - obtain ⟨hM, hMC, hMD⟩ := cost_bounds c C D hc hD | |
| 142 | - exact EulerBoundedInverseGevrey.solution_gevrey A V f hA hV hf | |
| 143 | - (fun y => solve_equation T (Q y) c hc (hLower y) (f y)) I | |
| 144 | - (fun y => solve_left_inverse T (Q y) c hc (hLower y)) | |
| 145 | - c⁻¹ (3*C^2) D (gramCost c C D) Rc R (by positivity) hD hM hMC hMD hRc hR | |
| 146 | - (fun y => solve_norm T (Q y) c hc (hLower y)) hApos d hbf n x | |
| 147 | - | |
| 148 | 123 | end EulerContinuousGramGevrey |
+0 −5 Euler/ContinuousSpatialFamily.lean View file
| @@ -229,11 +229,6 @@ private theorem norm_iteratedFDeriv_field_aux (n : ℕ) : | ||
| 229 | 229 | (derivativeBundling_norm_le_one (K := K) (V := V)) (norm_nonneg _)).trans |
| 230 | 230 | (by simpa only [one_mul, derivative_bound] using ih (Space →L[ℝ] V) A.derivative a)) |
| 231 | 231 | |
| 232 | -/-- The original pointwise uniform derivative bound holds without any additional factor. -/ | |
| 233 | -theorem norm_iteratedFDeriv_field_le (A : SpatialFamily K V) (n : ℕ) (a : Space) : | |
| 234 | - ‖iteratedFDeriv ℝ n A.field a‖ ≤ A.bound n := | |
| 235 | - norm_iteratedFDeriv_field_aux n V A a | |
| 236 | - | |
| 237 | 232 | end SpatialFamily |
| 238 | 233 | |
| 239 | 234 | end EulerContinuousSpatialFamily |
+0 −6 Euler/ContinuousTimeIntegral.lean View file
| @@ -91,12 +91,6 @@ def integral : C(Icc (0 : ℝ) T,E) →L[ℝ] C(Icc (0 : ℝ) T,E) := | ||
| 91 | 91 | @[simp] theorem integral_apply (f : C(Icc (0 : ℝ) T,E)) (t : Icc (0 : ℝ) T) : |
| 92 | 92 | integral T hT f t = realIntegral T hT f t := rfl |
| 93 | 93 | |
| 94 | -/-- The exact operator bound for the initial primitive. -/ | |
| 95 | -theorem integral_norm : ‖integral (E := E) T hT‖ ≤ T := by | |
| 96 | - apply opNorm_le_bound _ hT | |
| 97 | - intro f | |
| 98 | - exact integralLinear_bound T hT f | |
| 99 | - | |
| 100 | 94 | @[simp] theorem integral_initial (f : C(Icc (0 : ℝ) T,E)) : |
| 101 | 95 | integral T hT f ⟨0,le_rfl,hT⟩ = 0 := by |
| 102 | 96 | exact intervalIntegral.integral_same |
+0 −7 Euler/ContinuousTimeWeight.lean View file
| @@ -66,13 +66,6 @@ theorem normalize_norm_le (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) | ||
| 66 | 66 | _ ≤ (g t)⁻¹ * (D*g t) := mul_le_mul_of_nonneg_left (hf t) (inv_nonneg.mpr (hg t).le) |
| 67 | 67 | _ = D := by field_simp [(hg t).ne'] |
| 68 | 68 | |
| 69 | -/-- Scalar normalization commutes with every coefficient multiplier. -/ | |
| 70 | -theorem normalize_multiplier (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) | |
| 71 | - (A : C(K,E →L[ℝ] E)) (f : C(K,E)) : | |
| 72 | - normalize g hg (multiplier A f) = multiplier A (normalize g hg f) := by | |
| 73 | - ext t | |
| 74 | - simp only [normalize_apply, multiplier_apply, map_smul] | |
| 75 | - | |
| 76 | 69 | /-- Scalar weighting commutes with every coefficient multiplier. -/ |
| 77 | 70 | theorem weight_multiplier (g : C(K,ℝ)) (A : C(K,E →L[ℝ] E)) (f : C(K,E)) : |
| 78 | 71 | weight g (multiplier A f) = multiplier A (weight g f) := by |
+0 −31 Euler/CorrectionAssemblyCommon.lean View file
| @@ -47,28 +47,6 @@ def FiniteFamily.commonJet (F : FiniteFamily period hT A) (C : ComparisonData pe | ||
| 47 | 47 | exact EulerH6Pressure.SpatialJet.restrict |
| 48 | 48 | (toJet period (F.solution (n+6) (by omega) t)) n (by omega) |
| 49 | 49 | |
| 50 | -/-- The common L² path satisfies the actual nonlinear inviscid equation. -/ | |
| 51 | -theorem FiniteFamily.commonPath_hasDerivAt (F : FiniteFamily period hT A) | |
| 52 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 53 | - HasDerivAt (extendPath T hT.le (F.commonPath period)) | |
| 54 | - (value period (((A.atOrder period 6).coefficients period le_rfl).apply | |
| 55 | - ⟨t, ht.1.le, ht.2.le⟩ (F.solution 6 le_rfl ⟨t, ht.1.le, ht.2.le⟩))) t := | |
| 56 | - F.equation 6 le_rfl t ht | |
| 57 | - | |
| 58 | -/-- Every other genuine finite-order correction realizes this same common field. | |
| 59 | -Consequently bounds proved for any particular finite solver may be transferred to the assembled solution. -/ | |
| 60 | -theorem FiniteFamily.realizes_common (F : FiniteFamily period hT A) (C : ComparisonData period hT A) | |
| 61 | - (q : ℕ) (hq : 6 ≤ q) (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) | |
| 62 | - (hi : u ⟨0, le_rfl, hT.le⟩ = 0) | |
| 63 | - (hd : ∀ t, value period (u t) ∈ divergenceFreeSpace period A.κ A.direction) | |
| 64 | - (hu : ∀ t (ht : t ∈ Ioo 0 T), | |
| 65 | - HasDerivAt (fun r => value period (extendPath T hT.le u r)) | |
| 66 | - (value period (((A.atOrder period q).coefficients period hq).apply | |
| 67 | - ⟨t, ht.1.le, ht.2.le⟩ (u ⟨t, ht.1.le, ht.2.le⟩))) t) | |
| 68 | - (t : Icc (0 : ℝ) T) : value period (u t) = F.commonPath period t := by | |
| 69 | - rw [F.unique_at_order period C q hq u hi hd hu] | |
| 70 | - exact F.value_common period C q hq t | |
| 71 | - | |
| 72 | 50 | /-- Bounded H3 evaluation fixes a canonical actual pointwise representative of the common correction. -/ |
| 73 | 51 | def FiniteFamily.pointField (F : FiniteFamily period hT A) |
| 74 | 52 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
| @@ -97,13 +75,4 @@ theorem FiniteFamily.pointField_smooth (F : FiniteFamily period hT A) (C : Compa | ||
| 97 | 75 | rw [he] |
| 98 | 76 | exact hg x |
| 99 | 77 | |
| 100 | -/-- The canonical smooth field has pointwise zero lifted divergence. -/ | |
| 101 | -theorem FiniteFamily.pointField_divergence (F : FiniteFamily period hT A) (C : ComparisonData period hT A) | |
| 102 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 103 | - (∑ i : Fin 3, (fieldDerivative period (coordinateDirection A.κ A.direction i) | |
| 104 | - (F.pointField period t) x) i) = 0 := | |
| 105 | - divergenceFree_classical_divergence_zero period A.κ A.direction (F.commonPath period t) | |
| 106 | - (F.commonPath_divergence period t) (F.pointField period t) (F.pointField_ae period t) | |
| 107 | - (F.pointField_smooth period C t) x | |
| 108 | - | |
| 109 | 78 | end EulerCorrectionAssembly |
+0 −23 Euler/CorrectionAssemblyCompatibility.lean View file
| @@ -54,27 +54,4 @@ theorem FiniteFamily.value_base (F : FiniteFamily period hT A) (C : ComparisonDa | ||
| 54 | 54 | value period (F.solution 6 le_rfl t)) rfl |
| 55 | 55 | (fun n hn ih => (F.value_succ period C n hn t).trans ih) q hq |
| 56 | 56 | |
| 57 | -/-- Every other actual finite-order correction with zero trace and the same genuine PDE and divergence condition equals the supplied finite correction. | |
| 58 | -No comparison estimate or compatibility is assumed. -/ | |
| 59 | -theorem FiniteFamily.unique_at_order (F : FiniteFamily period hT A) (C : ComparisonData period hT A) | |
| 60 | - (q : ℕ) (hq : 6 ≤ q) (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) | |
| 61 | - (hi : u ⟨0, le_rfl, hT.le⟩ = 0) | |
| 62 | - (hd : ∀ t, value period (u t) ∈ divergenceFreeSpace period A.κ A.direction) | |
| 63 | - (hu : ∀ t (ht : t ∈ Ioo 0 T), | |
| 64 | - HasDerivAt (fun r => value period (extendPath T hT.le u r)) | |
| 65 | - (value period (((A.atOrder period q).coefficients period hq).apply | |
| 66 | - ⟨t, ht.1.le, ht.2.le⟩ (u ⟨t, ht.1.le, ht.2.le⟩))) t) : | |
| 67 | - u = F.solution q hq := by | |
| 68 | - apply inviscid_correction_unique period hq T hT.le (A.atOrder period q) | |
| 69 | - (C.stabilityBudget period q) u (F.solution q hq) | |
| 70 | - · rw [hi, F.initial] | |
| 71 | - · exact hu | |
| 72 | - · exact F.equation q hq | |
| 73 | - · intro t | |
| 74 | - change value period (A.approximation.realization (q+1) t) ∈ _ | |
| 75 | - rw [A.approximation.value_eq] | |
| 76 | - exact C.divergence t | |
| 77 | - · exact hd | |
| 78 | - · exact F.divergence q hq | |
| 79 | - | |
| 80 | 57 | end EulerCorrectionAssembly |
+0 −15 Euler/CorrectionAssemblyData.lean View file
| @@ -76,19 +76,4 @@ structure FiniteFamily {T : ℝ} (hT : 0 < T) (A : Data period T) where | ||
| 76 | 76 | (value period (((A.atOrder period q).coefficients period hq).apply |
| 77 | 77 | ⟨t, ht.1.le, ht.2.le⟩ (solution q hq ⟨t, ht.1.le, ht.2.le⟩))) t |
| 78 | 78 | |
| 79 | -/-- Choose an actual finite correction family from proved finite-existence statements. | |
| 80 | -This is an assembly helper conditional on finite existence, not an independent source existence theorem. -/ | |
| 81 | -def finiteFamilyOfExists {T : ℝ} (hT : 0 < T) (A : Data period T) | |
| 82 | - (H : ∀ q (hq : 6 ≤ q), ∃ e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1)), | |
| 83 | - e ⟨0, le_rfl, hT.le⟩ = 0 ∧ | |
| 84 | - (∀ t, value period (e t) ∈ divergenceFreeSpace period A.κ A.direction) ∧ | |
| 85 | - ∀ t (ht : t ∈ Ioo 0 T), | |
| 86 | - HasDerivAt (fun r => value period (extendPath T hT.le e r)) | |
| 87 | - (value period (((A.atOrder period q).coefficients period hq).apply | |
| 88 | - ⟨t, ht.1.le, ht.2.le⟩ (e ⟨t, ht.1.le, ht.2.le⟩))) t) : FiniteFamily period hT A where | |
| 89 | - solution q hq := Classical.choose (H q hq) | |
| 90 | - initial q hq := (Classical.choose_spec (H q hq)).1 | |
| 91 | - divergence q hq := (Classical.choose_spec (H q hq)).2.1 | |
| 92 | - equation q hq := (Classical.choose_spec (H q hq)).2.2 | |
| 93 | - | |
| 94 | 79 | end EulerCorrectionAssembly |
+0 −27 Euler/CorrectionAssemblyParity.lean View file
| @@ -80,17 +80,6 @@ theorem continuous_representative_odd (u : LiftL2 period) (g : LiftDomain period | ||
| 80 | 80 | rfl |
| 81 | 81 | exact congrFun (MeasureTheory.Measure.eq_of_ae_eq ha (hg.comp continuous_neg) hg.neg) |
| 82 | 82 | |
| 83 | -/-- The canonical smooth correction is odd at every spatial and angular point. -/ | |
| 84 | -theorem FiniteFamily.pointField_odd (F : FiniteFamily period hT A) | |
| 85 | - (C : ComparisonData period hT A) (P : ParityData period A) | |
| 86 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 87 | - F.pointField period t (-x) = -F.pointField period t x := by | |
| 88 | - have hc : Continuous (F.pointField period t) := | |
| 89 | - EulerMetricTransport.smoothField_continuous period (F.pointField period t) | |
| 90 | - (F.pointField_smooth period C t) | |
| 91 | - exact continuous_representative_odd period (F.commonPath period t) (F.pointField period t) | |
| 92 | - (F.commonPath_odd period C P t) hc (F.pointField_ae period t) x | |
| 93 | - | |
| 94 | 83 | /-- The actual signed coercive pressure is odd at every finite Sobolev order. -/ |
| 95 | 84 | theorem FiniteFamily.signedPressurePath_odd (F : FiniteFamily period hT A) |
| 96 | 85 | (C : ComparisonData period hT A) (P : ParityData period A) |
| @@ -111,20 +100,4 @@ theorem FiniteFamily.commonPressure_odd (F : FiniteFamily period hT A) | ||
| 111 | 100 | rw [value_oddReflection] at h |
| 112 | 101 | exact h |
| 113 | 102 | |
| 114 | -/-- Every realization of the assembled correction tower is odd. -/ | |
| 115 | -theorem FiniteFamily.fieldTower_odd (F : FiniteFamily period hT A) | |
| 116 | - (C : ComparisonData period hT A) (P : ParityData period A) | |
| 117 | - (q : ℕ) (t : Icc (0 : ℝ) T) : | |
| 118 | - oddReflection period q ((F.fieldTower period C).realization q t) = | |
| 119 | - (F.fieldTower period C).realization q t := | |
| 120 | - fieldTower_realization_odd period (F.fieldTower period C) (F.commonPath_odd period C P) q t | |
| 121 | - | |
| 122 | -/-- Every realization of the actual assembled signed pressure tower is odd. -/ | |
| 123 | -theorem FiniteFamily.pressureTower_odd (F : FiniteFamily period hT A) | |
| 124 | - (C : ComparisonData period hT A) (P : ParityData period A) | |
| 125 | - (q : ℕ) (t : Icc (0 : ℝ) T) : | |
| 126 | - oddReflection period q ((F.pressureTower period C).realization q t) = | |
| 127 | - (F.pressureTower period C).realization q t := | |
| 128 | - fieldTower_realization_odd period (F.pressureTower period C) (F.commonPressure_odd period C P) q t | |
| 129 | - | |
| 130 | 103 | end EulerCorrectionAssembly |
+0 −11 Euler/CorrectionAssemblyPressure.lean View file
| @@ -91,15 +91,4 @@ def FiniteFamily.pressureJet (F : FiniteFamily period hT A) (C : ComparisonData | ||
| 91 | 91 | exact EulerH6Pressure.SpatialJet.restrict |
| 92 | 92 | (toJet period (F.signedPressurePath period (n+6) (by omega) t)) n (by omega) |
| 93 | 93 | |
| 94 | -/-- The common correction satisfies the literal equation with its reconstructed actual signed pressure. -/ | |
| 95 | -theorem FiniteFamily.commonPath_pressure_equation (F : FiniteFamily period hT A) | |
| 96 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 97 | - HasDerivAt (extendPath T hT.le (F.commonPath period)) | |
| 98 | - (-value period (F.rawSourcePath period 6 le_rfl ⟨t, ht.1.le, ht.2.le⟩) - | |
| 99 | - (A.metric.coefficient ⟨t, ht.1.le, ht.2.le⟩).operator | |
| 100 | - (F.commonPressure period ⟨t, ht.1.le, ht.2.le⟩)) t := by | |
| 101 | - have h := F.commonPath_hasDerivAt period t ht | |
| 102 | - rw [(A.atOrder period 6).source_value period le_rfl] at h | |
| 103 | - exact h | |
| 104 | - | |
| 105 | 94 | end EulerCorrectionAssembly |
+0 −49 Euler/CorrectionAssemblyPressureParity.lean View file
| @@ -9,24 +9,12 @@ namespace EulerGraphPressurePotential | ||
| 9 | 9 | |
| 10 | 10 | open EulerLiftedGradientSpace |
| 11 | 11 | |
| 12 | -/-- The physical phase graph respects joint spatial and angular reflection. -/ | |
| 13 | -theorem cylinderGraph_neg (period k : ℝ) (m x : Vector3) : | |
| 14 | - cylinderGraph period k m (-x) = -cylinderGraph period k m x := by | |
| 15 | - simp [cylinderGraph] | |
| 16 | - | |
| 17 | 12 | end EulerGraphPressurePotential |
| 18 | 13 | |
| 19 | 14 | namespace EulerCanonicalGraphPotential |
| 20 | 15 | |
| 21 | 16 | open EulerLiftedGradientSpace |
| 22 | 17 | |
| 23 | -/-- The canonical radial scalar potential of an odd vector field is even. | |
| 24 | -This identity does not need a choice of additive gauge or a potential-existence assumption. -/ | |
| 25 | -theorem radialPotential_even (V : Vector3 → Vector3) | |
| 26 | - (hV : ∀ x, V (-x) = -V x) (x : Vector3) : | |
| 27 | - radialPotential V (-x) = radialPotential V x := by | |
| 28 | - simp only [radialPotential, smul_neg, hV, inner_neg_neg] | |
| 29 | - | |
| 30 | 18 | end EulerCanonicalGraphPotential |
| 31 | 19 | |
| 32 | 20 | namespace EulerCorrectionAssembly |
| @@ -49,41 +37,4 @@ theorem FiniteFamily.pointPressure_odd (F : FiniteFamily period hT A) | ||
| 49 | 37 | (Continuous.uncurry_left t (F.pointPressure_joint_continuous period)) |
| 50 | 38 | (F.pointPressure_ae period t) x |
| 51 | 39 | |
| 52 | -/-- The actual signed pressure-gradient vector on the physical phase graph is odd. -/ | |
| 53 | -theorem FiniteFamily.graphPressure_odd (F : FiniteFamily period hT A) | |
| 54 | - (C : ComparisonData period hT A) (P : ParityData period A) (k : ℝ) | |
| 55 | - (t : Icc (0 : ℝ) T) (x : Vector3) : | |
| 56 | - F.graphPressure period k t (-x) = -F.graphPressure period k t x := by | |
| 57 | - unfold FiniteFamily.graphPressure | |
| 58 | - rw [cylinderGraph_neg, F.pointPressure_odd period C P, smul_neg] | |
| 59 | - | |
| 60 | -/-- The origin-normalized scalar pressure is even at every time. | |
| 61 | -In particular parity is an exact identity, not merely equality modulo a constant. -/ | |
| 62 | -theorem FiniteFamily.normalizedGraphPotential_even (F : FiniteFamily period hT A) | |
| 63 | - (C : ComparisonData period hT A) (P : ParityData period A) (k : ℝ) | |
| 64 | - (t : Icc (0 : ℝ) T) (x : Vector3) : | |
| 65 | - F.normalizedGraphPotential period k t (-x) = | |
| 66 | - F.normalizedGraphPotential period k t x := | |
| 67 | - radialPotential_even _ (F.graphPressure_odd period C P k t) x | |
| 68 | - | |
| 69 | -/-- Any smooth potential of the same graph field agrees with the canonical | |
| 70 | -radial potential after subtracting its value at the origin. -/ | |
| 71 | -theorem FiniteFamily.normalizedGraphPotential_eq_sub (F : FiniteFamily period hT A) | |
| 72 | - (k : ℝ) (t : Icc (0 : ℝ) T) (q : Vector3 → ℝ) | |
| 73 | - (hq : ContDiff ℝ ∞ q) | |
| 74 | - (hgrad : ∀ x, gradient q x = F.graphPressure period k t x) (x : Vector3) : | |
| 75 | - F.normalizedGraphPotential period k t x = q x - q 0 := | |
| 76 | - radialPotential_eq_sub _ | |
| 77 | - (Continuous.uncurry_left t (F.graphPressure_joint_continuous period k)) q hq hgrad x | |
| 78 | - | |
| 79 | -/-- The constructed scalar pressure is the unique smooth potential of its | |
| 80 | -graph field with the prescribed zero value at the origin. -/ | |
| 81 | -theorem FiniteFamily.normalizedGraphPotential_unique (F : FiniteFamily period hT A) | |
| 82 | - (k : ℝ) (t : Icc (0 : ℝ) T) (q : Vector3 → ℝ) | |
| 83 | - (hq : ContDiff ℝ ∞ q) | |
| 84 | - (hgrad : ∀ x, gradient q x = F.graphPressure period k t x) (hq0 : q 0 = 0) : | |
| 85 | - F.normalizedGraphPotential period k t = q := by | |
| 86 | - funext x | |
| 87 | - rw [F.normalizedGraphPotential_eq_sub period k t q hq hgrad x, hq0, sub_zero] | |
| 88 | - | |
| 89 | 40 | end EulerCorrectionAssembly |
+0 −5 Euler/CorrectionAssemblyReconstruction.lean View file
| @@ -74,11 +74,6 @@ def FiniteFamily.normalizedGraphPotential (F : FiniteFamily period hT A) (k : | ||
| 74 | 74 | (t : Icc (0 : ℝ) T) (x : Vector3) : ℝ := |
| 75 | 75 | radialPotential (F.graphPressure period k t) x |
| 76 | 76 | |
| 77 | -/-- The reconstructed scalar pressure has zero value at the origin at every time. -/ | |
| 78 | -theorem FiniteFamily.normalizedGraphPotential_zero (F : FiniteFamily period hT A) (k : ℝ) | |
| 79 | - (t : Icc (0 : ℝ) T) : F.normalizedGraphPotential period k t 0 = 0 := | |
| 80 | - radialPotential_zero _ | |
| 81 | - | |
| 82 | 77 | /-- The normalized scalar pressure is jointly continuous, including both endpoint time slices. -/ |
| 83 | 78 | theorem FiniteFamily.normalizedGraphPotential_joint_continuous (F : FiniteFamily period hT A) (k : ℝ) : |
| 84 | 79 | Continuous (F.normalizedGraphPotential period k).uncurry := |
+0 −10 Euler/CorrectionAssemblySourceTower.lean View file
| @@ -82,19 +82,9 @@ open Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerAllOrderCorrect | ||
| 82 | 82 | variable (period : ℝ) [Fact (0 < period)] |
| 83 | 83 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 84 | 84 | |
| 85 | -def Budget.rawSourceTower (B : Budget period hT A) : FieldTower period T := | |
| 86 | - (B.family period).rawSourceTower period (B.comparisonData period) | |
| 87 | - | |
| 88 | 85 | def Budget.timeDerivativeTower (B : Budget period hT A) : FieldTower period T := |
| 89 | 86 | (B.family period).timeDerivativeTower period (B.comparisonData period) |
| 90 | 87 | |
| 91 | -theorem Budget.rawSource_eq_realization (B : Budget period hT A) | |
| 92 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 93 | - (A.atOrder period q).rawSource period hq t ((B.fieldTower period).realization (q+1) t) = | |
| 94 | - (B.rawSourceTower period).realization q t := by | |
| 95 | - rw [← B.solution_eq_realization period q hq] | |
| 96 | - exact (B.family period).rawSourcePath_eq_realization period (B.comparisonData period) q hq t | |
| 97 | - | |
| 98 | 88 | theorem Budget.source_eq_timeDerivativeTower (B : Budget period hT A) |
| 99 | 89 | (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 100 | 90 | ((A.atOrder period q).coefficients period hq).apply t |
+0 −40 Euler/CorrectionAssemblyTime.lean View file
| @@ -28,44 +28,4 @@ def FiniteFamily.pointTimeDerivative (F : FiniteFamily period hT A) | ||
| 28 | 28 | pointEvaluation period x (restrictOperator period (by omega : 3 ≤ 6) |
| 29 | 29 | (((A.atOrder period 6).coefficients period le_rfl).apply t (F.solution 6 le_rfl t))) |
| 30 | 30 | |
| 31 | -/-- The actual pointwise time derivative is jointly continuous in time and space. -/ | |
| 32 | -theorem FiniteFamily.pointTimeDerivative_joint_continuous (F : FiniteFamily period hT A) : | |
| 33 | - Continuous (F.pointTimeDerivative period).uncurry := | |
| 34 | - path_representative_joint_continuous period | |
| 35 | - ((restrictOperator period (by omega : 3 ≤ 6)).compLeftContinuous ℝ (Icc (0 : ℝ) T) | |
| 36 | - (sourcePath ((A.atOrder period 6).coefficients period le_rfl) (F.solution 6 le_rfl))) | |
| 37 | - | |
| 38 | -/-- The pointwise time derivative is the literal raw-source and signed-pressure expression. -/ | |
| 39 | -theorem FiniteFamily.pointTimeDerivative_eq_pressure (F : FiniteFamily period hT A) | |
| 40 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 41 | - F.pointTimeDerivative period t x = -F.pointRawSource period t x - | |
| 42 | - (A.metric.coefficient t).coefficient x (F.pointPressure period t x) := by | |
| 43 | - unfold FiniteFamily.pointTimeDerivative | |
| 44 | - rw [EulerInviscidSobolevEvolution.CorrectionData.source_sobolev] | |
| 45 | - simp only [map_sub, map_neg] | |
| 46 | - rw [pointEvaluation_coefficient period (by omega : 3 ≤ 6) ((A.atOrder period 6).metric.coefficient t) | |
| 47 | - ((A.atOrder period 6).metric.jet t)] | |
| 48 | - rfl | |
| 49 | - | |
| 50 | -/-- The canonical common field has its genuine pointwise first time derivative at every interior time. -/ | |
| 51 | -theorem FiniteFamily.pointField_hasDerivAt (F : FiniteFamily period hT A) | |
| 52 | - (x : LiftDomain period) (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 53 | - HasDerivAt (fun r => F.pointField period (projIcc 0 T hT.le r) x) | |
| 54 | - (F.pointTimeDerivative period ⟨t, ht.1.le, ht.2.le⟩ x) t := by | |
| 55 | - have hd := sobolev_hasDerivAt period T hT.le | |
| 56 | - ((A.atOrder period 6).coefficients period le_rfl) (F.solution 6 le_rfl) | |
| 57 | - (F.equation 6 le_rfl) t ht | |
| 58 | - have he := (((pointEvaluation period x).comp (restrictOperator period (by omega : 3 ≤ 6))).hasFDerivAt).comp_hasDerivAt t hd | |
| 59 | - simpa only [Function.comp_def, ContinuousLinearMap.comp_apply, restrictOperator_truncate, | |
| 60 | - FiniteFamily.pointField, FiniteFamily.pointTimeDerivative, extendPath] using he | |
| 61 | - | |
| 62 | -/-- The actual pointwise correction equation uses the reconstructed signed pressure and literal matrix multiplication. -/ | |
| 63 | -theorem FiniteFamily.pointField_hasDerivAt_pressure (F : FiniteFamily period hT A) | |
| 64 | - (x : LiftDomain period) (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 65 | - HasDerivAt (fun r => F.pointField period (projIcc 0 T hT.le r) x) | |
| 66 | - (-F.pointRawSource period ⟨t, ht.1.le, ht.2.le⟩ x - | |
| 67 | - (A.metric.coefficient ⟨t, ht.1.le, ht.2.le⟩).coefficient x | |
| 68 | - (F.pointPressure period ⟨t, ht.1.le, ht.2.le⟩ x)) t := by | |
| 69 | - simpa only [F.pointTimeDerivative_eq_pressure period] using F.pointField_hasDerivAt period x t ht | |
| 70 | - | |
| 71 | 31 | end EulerCorrectionAssembly |
+0 −6 Euler/CorrectionOperators.lean View file
| @@ -30,12 +30,6 @@ def linearize (B : X →L[ℝ] X →L[ℝ] Y) (C : X →L[ℝ] Y) (z : X) : X | ||
| 30 | 30 | @[simp] theorem linearize_apply (B : X →L[ℝ] X →L[ℝ] Y) (C : X →L[ℝ] Y) (z e : X) : |
| 31 | 31 | linearize B C z e = B z e + B e z + C e := rfl |
| 32 | 32 | |
| 33 | -/-- The correction source is exactly the difference of the full quadratic equations. -/ | |
| 34 | -theorem quadratic_correction_identity (B : X →L[ℝ] X →L[ℝ] Y) (C : X →L[ℝ] Y) (z e : X) : | |
| 35 | - C (z+e) + B (z+e) (z+e) - (C z + B z z) = linearize B C z e + B e e := by | |
| 36 | - simp only [linearize_apply, map_add, add_apply] | |
| 37 | - abel | |
| 38 | - | |
| 39 | 33 | /-- Continuous data give continuous linearized operators. -/ |
| 40 | 34 | theorem linearize_continuous {T : Type*} [TopologicalSpace T] |
| 41 | 35 | (B : T → X →L[ℝ] X →L[ℝ] Y) (C : T → X →L[ℝ] Y) (z : T → X) |
+0 −14 Euler/CorrectionParity.lean View file
| @@ -36,20 +36,6 @@ theorem value_oddReflection {q : ℕ} (u : SobolevSpace period q) : | ||
| 36 | 36 | change -value period (sobolevReflection period q u) = _ |
| 37 | 37 | rw [value_sobolevReflection] |
| 38 | 38 | |
| 39 | -/-- Actual almost-everywhere odd parity is precisely a fixed point of signed reflection. -/ | |
| 40 | -theorem oddReflection_fixed_of_ae {q : ℕ} (u : SobolevSpace period q) | |
| 41 | - (hu : ∀ᵐ x ∂liftMeasure period, value period u (-x) = -value period u x) : | |
| 42 | - oddReflection period q u = u := by | |
| 43 | - apply value_injective period | |
| 44 | - rw [value_oddReflection] | |
| 45 | - have hh : reflection period (value period u) = -value period u := by | |
| 46 | - apply Lp.ext | |
| 47 | - filter_upwards [reflection_ae period (value period u), Lp.coeFn_neg (value period u), hu] | |
| 48 | - with x h1 h2 h3 | |
| 49 | - rw [h1, h2] | |
| 50 | - exact h3 | |
| 51 | - rw [hh, neg_neg] | |
| 52 | - | |
| 53 | 39 | /-- Signed reflection commutes with restriction to the next Sobolev order. -/ |
| 54 | 40 | theorem truncate_oddReflection {q : ℕ} (u : SobolevSpace period (q+1)) : |
| 55 | 41 | truncateOperator period q (oddReflection period (q+1) u) = |
+0 −51 Euler/CorrectionResidualCancellation.lean View file
| @@ -52,55 +52,4 @@ theorem residual_cancellation {q : ℕ} {T : Type*} [TopologicalSpace T] | ||
| 52 | 52 | rw [rawSource_eq_residual_increment period D hq t e,map_add] |
| 53 | 53 | abel |
| 54 | 54 | |
| 55 | -/-- The actual continuous corrected path is the prescribed approximation plus the constructed error. -/ | |
| 56 | -def correctedPath {q : ℕ} {T : ℝ} (D : CorrectionData period q (Icc (0 : ℝ) T)) | |
| 57 | - (e : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) : | |
| 58 | - C(Icc (0 : ℝ) T,SobolevSpace period (q+1)) := D.approximation+e | |
| 59 | - | |
| 60 | -/-- A zero initial correction preserves the actual initial field. -/ | |
| 61 | -theorem correctedPath_initial {q : ℕ} (T : ℝ) (hT : 0 ≤ T) | |
| 62 | - (D : CorrectionData period q (Icc (0 : ℝ) T)) | |
| 63 | - (e : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) (he : e ⟨0,le_rfl,hT⟩=0) : | |
| 64 | - correctedPath period D e ⟨0,le_rfl,hT⟩=D.approximation ⟨0,le_rfl,hT⟩ := by | |
| 65 | - change D.approximation ⟨0,le_rfl,hT⟩+e ⟨0,le_rfl,hT⟩=_ | |
| 66 | - rw [he,add_zero] | |
| 67 | - | |
| 68 | -/-- The corrected path retains the genuine lifted divergence constraint by addition in its closed subspace. -/ | |
| 69 | -theorem correctedPath_divergenceFree {q : ℕ} {T : ℝ} | |
| 70 | - (D : CorrectionData period q (Icc (0 : ℝ) T)) | |
| 71 | - (e : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) | |
| 72 | - (hz : ∀ t, value period (D.approximation t) ∈ divergenceFreeSpace period D.κ D.direction) | |
| 73 | - (he : ∀ t, value period (e t) ∈ divergenceFreeSpace period D.κ D.direction) (t : Icc (0 : ℝ) T) : | |
| 74 | - value period (correctedPath period D e t) ∈ divergenceFreeSpace period D.κ D.direction := | |
| 75 | - (divergenceFreeSpace period D.κ D.direction).add_mem (hz t) (he t) | |
| 76 | - | |
| 77 | -/-- Adding a genuine approximate pressure to the actual correction pressure preserves membership in the lifted gradient space. -/ | |
| 78 | -theorem corrected_pressure_mem_gradient {q : ℕ} {T : Type*} [TopologicalSpace T] | |
| 79 | - (D : CorrectionData period q T) (hq : 6 ≤ q) (t : T) | |
| 80 | - (e : SobolevSpace period (q+1)) (pa : SobolevSpace period q) | |
| 81 | - (hpa : value period pa ∈ gradientSpace period D.κ D.direction) : | |
| 82 | - value period (pa+D.pressure period hq t e) ∈ gradientSpace period D.κ D.direction := | |
| 83 | - (gradientSpace period D.κ D.direction).add_mem hpa (D.pressure_mem_gradient period hq t e) | |
| 84 | - | |
| 85 | -/-- Actual approximate and correction derivatives give the zero-residual nonlinear equation for their sum, with the sum of their genuine pressures. -/ | |
| 86 | -theorem correctedPath_hasDerivAt {q : ℕ} (hq : 6 ≤ q) (T : ℝ) (hT : 0 ≤ T) | |
| 87 | - (D : CorrectionData period q (Icc (0 : ℝ) T)) | |
| 88 | - (e : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) | |
| 89 | - (pa : C(Icc (0 : ℝ) T,SobolevSpace period q)) (t : ℝ) (ht : t ∈ Ioo 0 T) | |
| 90 | - (hz : HasDerivAt (fun r => truncateOperator period q (extendPath T hT D.approximation r)) | |
| 91 | - (D.residual ⟨t,ht.1.le,ht.2.le⟩- | |
| 92 | - nonlinearity period D hq ⟨t,ht.1.le,ht.2.le⟩ (D.approximation ⟨t,ht.1.le,ht.2.le⟩)- | |
| 93 | - coefficientSobolevOperator period (D.metric.jet ⟨t,ht.1.le,ht.2.le⟩) (pa ⟨t,ht.1.le,ht.2.le⟩)) t) | |
| 94 | - (he : HasDerivAt (fun r => truncateOperator period q (extendPath T hT e r)) | |
| 95 | - (-D.rawSource period hq ⟨t,ht.1.le,ht.2.le⟩ (e ⟨t,ht.1.le,ht.2.le⟩)- | |
| 96 | - coefficientSobolevOperator period (D.metric.jet ⟨t,ht.1.le,ht.2.le⟩) | |
| 97 | - (D.pressure period hq ⟨t,ht.1.le,ht.2.le⟩ (e ⟨t,ht.1.le,ht.2.le⟩))) t) : | |
| 98 | - HasDerivAt (fun r => truncateOperator period q (extendPath T hT (correctedPath period D e) r)) | |
| 99 | - (-nonlinearity period D hq ⟨t,ht.1.le,ht.2.le⟩ (correctedPath period D e ⟨t,ht.1.le,ht.2.le⟩)- | |
| 100 | - coefficientSobolevOperator period (D.metric.jet ⟨t,ht.1.le,ht.2.le⟩) | |
| 101 | - (pa ⟨t,ht.1.le,ht.2.le⟩+D.pressure period hq ⟨t,ht.1.le,ht.2.le⟩ (e ⟨t,ht.1.le,ht.2.le⟩))) t := by | |
| 102 | - have h := (hz.add he).congr_deriv | |
| 103 | - (residual_cancellation period D hq ⟨t,ht.1.le,ht.2.le⟩ (e ⟨t,ht.1.le,ht.2.le⟩) (pa ⟨t,ht.1.le,ht.2.le⟩)) | |
| 104 | - convert h using 1 <;> rfl | |
| 105 | - | |
| 106 | 55 | end EulerCorrectionResidualCancellation |
+0 −21 Euler/CorrectionSmoothTimeField.lean View file
| @@ -39,25 +39,4 @@ theorem Budget.correctionCoefficient_timeDerivative (B : Budget P hT A) : | ||
| 39 | 39 | (B.fieldTower P).toSmoothTimeField_timeDerivative_of_interior (B.timeDerivativeTower P) |
| 40 | 40 | hT.le 6 (by norm_num) (B.fieldTower_hasDerivAt_timeDerivativeTower P 6 le_rfl) |
| 41 | 41 | |
| 42 | -theorem Budget.correctionCoefficient_jet_bound (B : Budget P hT A) (n : ℕ) : | |
| 43 | - ‖(B.correctionCoefficient P).jet n‖ ≤ | |
| 44 | - (sobolevEmbeddingConstant P 3 * B.correctionSize P) * | |
| 45 | - (‖coordinateEquiv.symm.toContinuousLinearMap‖ * (B.reducedRadius P)⁻¹)^n * | |
| 46 | - (n.factorial : ℝ)^2 := | |
| 47 | - (B.fieldTower P).toSmoothTimeField_jet_weighted n (B.reducedRadius P) | |
| 48 | - (B.correctionSize P) (B.reducedRadius_pos P) (B.correctionSize_nonneg P) | |
| 49 | - (B.fieldTower_reducedNorm P (n+6) n le_rfl) | |
| 50 | - | |
| 51 | -theorem Budget.correctionDerivativeCoefficient_jet_bound (B : Budget P hT A) | |
| 52 | - (C : ℝ) (hC : 0 ≤ C) | |
| 53 | - (hb : ∀ (n : ℕ) (t : Icc (0 : ℝ) T), | |
| 54 | - EulerSobolevGevreyOperators.weightedNorm P 6 n (B.reducedRadius P) | |
| 55 | - ((B.timeDerivativeTower P).realization (n+6) t) ≤ C) (n : ℕ) : | |
| 56 | - ‖(B.correctionDerivativeCoefficient P).jet n‖ ≤ | |
| 57 | - (sobolevEmbeddingConstant P 3 * C) * | |
| 58 | - (‖coordinateEquiv.symm.toContinuousLinearMap‖ * (B.reducedRadius P)⁻¹)^n * | |
| 59 | - (n.factorial : ℝ)^2 := | |
| 60 | - (B.timeDerivativeTower P).toSmoothTimeField_jet_weighted n (B.reducedRadius P) | |
| 61 | - C (B.reducedRadius_pos P) hC (hb n) | |
| 62 | - | |
| 63 | 42 | end EulerAllOrderDriftCorrection |
+0 −17 Euler/CorrectionTimeRestriction.lean View file
| @@ -35,21 +35,4 @@ def CorrectionData.comp {q : ℕ} {T U : Type*} [TopologicalSpace T] [Topologica | ||
| 35 | 35 | approximation := D.approximation.comp f |
| 36 | 36 | residual := D.residual.comp f |
| 37 | 37 | |
| 38 | -/-- The restricted correction source is the original actual source at the restricted time. -/ | |
| 39 | -theorem CorrectionData.comp_source {q : ℕ} {T U : Type*} [TopologicalSpace T] [TopologicalSpace U] | |
| 40 | - (D : CorrectionData period q T) (f : C(U,T)) (hq : 6 ≤ q) | |
| 41 | - (t : U) (u : SobolevSpace period (q+1)) : | |
| 42 | - ((D.comp period f).coefficients period hq).apply t u = | |
| 43 | - (D.coefficients period hq).apply (f t) u := rfl | |
| 44 | - | |
| 45 | -/-- Restricting the concrete data gives precisely the same nonlinear mild equation on a shorter interval. -/ | |
| 46 | -theorem CorrectionData.comp_quadraticDuhamel {q : ℕ} (hq : 6 ≤ q) | |
| 47 | - (ν : ℝ) (hν : 0 < ν) {T S : ℝ} (hT : 0 ≤ T) (hTS : T ≤ S) | |
| 48 | - (D : CorrectionData period q (Icc (0 : ℝ) S)) | |
| 49 | - (u₀ : SobolevSpace period (q+1)) (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) | |
| 50 | - (t : Icc (0 : ℝ) T) : | |
| 51 | - quadraticDuhamel period ν hν hT le_rfl | |
| 52 | - ((D.comp period (timeInclusion hTS)).coefficients period hq) u₀ u t = | |
| 53 | - quadraticDuhamel period ν hν hT hTS (D.coefficients period hq) u₀ u t := rfl | |
| 54 | - | |
| 55 | 38 | end EulerCorrectionOperators |
+0 −64 Euler/CylinderActionWords.lean View file
| @@ -46,68 +46,4 @@ theorem path_block_constant {ι : Type*} [Fintype ι] (directions : ι → LiftT | ||
| 46 | 46 | |
| 47 | 47 | end Path |
| 48 | 48 | |
| 49 | -def timeTranslateIsometry (T : ℝ) (a : LiftTangent) : | |
| 50 | - TimeLp T (CylinderL2 P V) →ₗᵢ[ℝ] TimeLp T (CylinderL2 P V) := | |
| 51 | - timeLiftIsometry T (translate P a) | |
| 52 | - | |
| 53 | -theorem timeTranslateIsometry_add (T : ℝ) (a b : LiftTangent) (f : TimeLp T (CylinderL2 P V)) : | |
| 54 | - timeTranslateIsometry P T a (timeTranslateIsometry P T b f) = timeTranslateIsometry P T (a+b) f := by | |
| 55 | - apply Lp.ext | |
| 56 | - filter_upwards [timeLift_ae T (translate P a).toContinuousLinearMap (timeTranslateIsometry P T b f), | |
| 57 | - timeLift_ae T (translate P b).toContinuousLinearMap f, | |
| 58 | - timeLift_ae T (translate P (a+b)).toContinuousLinearMap f] with t ha hb hab | |
| 59 | - change timeTranslateIsometry P T a (timeTranslateIsometry P T b f) t = _ at ha | |
| 60 | - change timeTranslateIsometry P T b f t = _ at hb | |
| 61 | - change timeTranslateIsometry P T (a+b) f t = _ at hab | |
| 62 | - rw [ha,hb,hab] | |
| 63 | - exact translate_add P a b (f t) | |
| 64 | - | |
| 65 | -theorem timeTranslateIsometry_zero (T : ℝ) (f : TimeLp T (CylinderL2 P V)) : | |
| 66 | - timeTranslateIsometry P T 0 f = f := by | |
| 67 | - apply Lp.ext | |
| 68 | - filter_upwards [timeLift_ae T (translate P 0).toContinuousLinearMap f] with t ht | |
| 69 | - change timeTranslateIsometry P T 0 f t = _ at ht | |
| 70 | - rw [ht] | |
| 71 | - exact translate_zero P (f t) | |
| 72 | - | |
| 73 | -theorem time_block_constant {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q : ℕ) | |
| 74 | - (T : ℝ) (f : TimeLp T (CylinderL2 P V)) | |
| 75 | - (hf : ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap f)) | |
| 76 | - (n : ℕ) (a : LiftTangent) : | |
| 77 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap f) n a = | |
| 78 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap f) n 0 := | |
| 79 | - EulerIsometricAction.block_orbit_constant (X := LiftTangent) | |
| 80 | - (E := TimeLp T (CylinderL2 P V)) (ι := ι) (timeTranslateIsometry (V := V) P T) | |
| 81 | - (fun a b u => timeTranslateIsometry_add P T a b u) | |
| 82 | - (fun u => timeTranslateIsometry_zero P T u) directions q f hf n a | |
| 83 | - | |
| 84 | -theorem pathLp_orbit_contDiff (T : ℝ) (hT : 0 ≤ T) (f : C(Icc (0 : ℝ) T,CylinderL2 P V)) | |
| 85 | - (hf : ContDiff ℝ ∞ (fun a => pathTranslate P a f)) : | |
| 86 | - ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap (pathLp T hT f)) := by | |
| 87 | - have he : (fun a => timeLift T (translate P a).toContinuousLinearMap (pathLp T hT f)) = | |
| 88 | - (pathLpOperator T hT) ∘ (fun a => pathTranslate P a f) := by | |
| 89 | - funext a | |
| 90 | - convert (pathLp_timeLift T hT (translate P a).toContinuousLinearMap f).symm using 1 | |
| 91 | - rfl | |
| 92 | - rw [he] | |
| 93 | - exact (pathLpOperator (E := CylinderL2 P V) T hT).contDiff.comp hf | |
| 94 | - | |
| 95 | -/-- The actual Ctime-to-time-L² inclusion preserves all mixed word blocks | |
| 96 | -with exactly the square-root time length factor. -/ | |
| 97 | -theorem pathLp_block_le {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q : ℕ) | |
| 98 | - (T : ℝ) (hT : 0 ≤ T) (f : C(Icc (0 : ℝ) T,CylinderL2 P V)) | |
| 99 | - (hf : ContDiff ℝ ∞ (fun a => pathTranslate P a f)) (n : ℕ) (a : LiftTangent) : | |
| 100 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap (pathLp T hT f)) n a ≤ | |
| 101 | - Real.sqrt T*block directions q (fun b => pathTranslate P b f) n a := by | |
| 102 | - have he : (fun b => timeLift T (translate P b).toContinuousLinearMap (pathLp T hT f)) = | |
| 103 | - (pathLpOperator T hT) ∘ (fun b => pathTranslate P b f) := by | |
| 104 | - funext b | |
| 105 | - convert (pathLp_timeLift T hT (translate P b).toContinuousLinearMap f).symm using 1 | |
| 106 | - rfl | |
| 107 | - rw [he] | |
| 108 | - exact (block_comp_clm_le directions q (pathLpOperator (E := CylinderL2 P V) T hT) _ hf n a).trans | |
| 109 | - (mul_le_mul_of_nonneg_right | |
| 110 | - (EulerMeanTimeContinuousTranslation.pathLpOperator_norm_sqrt T hT) | |
| 111 | - (block_nonneg directions q _ n a)) | |
| 112 | - | |
| 113 | 49 | end EulerLpCylinderTranslation |
+0 −12 Euler/CylinderAngleAverage.lean View file
| @@ -81,12 +81,6 @@ omit [CompleteSpace V] in | ||
| 81 | 81 | @[simp] theorem average_apply (u : CylinderL2 P V) : |
| 82 | 82 | average P u = averageIntegral P u := rfl |
| 83 | 83 | |
| 84 | -omit [CompleteSpace V] in | |
| 85 | -theorem average_norm : ‖average (V := V) P‖ ≤ 1 := | |
| 86 | - opNorm_le_bound _ zero_le_one (fun u => by | |
| 87 | - change ‖averageIntegral P u‖ ≤ (1 : ℝ)*‖u‖ | |
| 88 | - simpa only [one_mul] using averageIntegral_norm P u) | |
| 89 | - | |
| 90 | 84 | theorem average_translation (a : LiftTangent) (u : CylinderL2 P V) : |
| 91 | 85 | average P (translate P a u) = translate P a (average P u) := by |
| 92 | 86 | change P⁻¹ • (∫ s in (0 : ℝ)..P, angleCurve P (translate P a u) s) = |
| @@ -203,12 +197,6 @@ def supportedAverage : Supported P V S hS →L[ℝ] Supported P V S hS := | ||
| 203 | 197 | @[simp] theorem supportedAverage_coe (u : Supported P V S hS) : |
| 204 | 198 | (supportedAverage P S hS u : CylinderL2 P V) = average P (u : CylinderL2 P V) := rfl |
| 205 | 199 | |
| 206 | -theorem supportedAverage_norm : ‖supportedAverage (V := V) P S hS‖ ≤ 1 := by | |
| 207 | - apply opNorm_le_bound _ zero_le_one | |
| 208 | - intro u | |
| 209 | - change ‖averageIntegral P (u : CylinderL2 P V)‖ ≤ (1 : ℝ)*‖(u : CylinderL2 P V)‖ | |
| 210 | - simpa only [one_mul] using averageIntegral_norm P (u : CylinderL2 P V) | |
| 211 | - | |
| 212 | 200 | end Supported |
| 213 | 201 | |
| 214 | 202 | end EulerCylinderAngleAverage |
+0 −12 Euler/CylinderAngleAverageEvolution.lean View file
| @@ -50,18 +50,6 @@ omit [CompactSpace K] in | ||
| 50 | 50 | @[simp] theorem supportedPathAverage_apply (p : C(K,Supported P V S hS)) (t : K) : |
| 51 | 51 | supportedPathAverage P S hS p t = supportedAverage P S hS (p t) := rfl |
| 52 | 52 | |
| 53 | -omit [CompactSpace K] in | |
| 54 | -theorem include_supportedPathAverage (p : C(K,Supported P V S hS)) : | |
| 55 | - includePath P S hS (supportedPathAverage P S hS p) = pathAverage P (includePath P S hS p) := rfl | |
| 56 | - | |
| 57 | -theorem supportedPathAverage_norm : ‖supportedPathAverage (K := K) (V := V) P S hS‖ ≤ 1 := by | |
| 58 | - apply opNorm_le_bound _ zero_le_one | |
| 59 | - intro p | |
| 60 | - rw [one_mul] | |
| 61 | - apply (ContinuousMap.norm_le _ (norm_nonneg p)).mpr | |
| 62 | - intro t | |
| 63 | - exact (averageIntegral_norm P (p t : CylinderL2 P V)).trans (p.norm_coe_le_norm t) | |
| 64 | - | |
| 65 | 53 | end Paths |
| 66 | 54 | |
| 67 | 55 | section Evolution |
+0 −3 Euler/CylinderAngleAverageRepresentative.lean View file
| @@ -22,9 +22,6 @@ theorem average_full_translation (a : LiftDomain P) (u : LiftL2 P) : | ||
| 22 | 22 | def sobolevAverage (q : ℕ) : SobolevSpace P q →L[ℝ] SobolevSpace P q := |
| 23 | 23 | liftOperator P q (average P) (average_full_translation P) |
| 24 | 24 | |
| 25 | -theorem sobolevAverage_norm (q : ℕ) : ‖sobolevAverage P q‖ ≤ 1 := | |
| 26 | - (norm_liftOperator_le P q (average P) (average_full_translation P)).trans (average_norm P) | |
| 27 | - | |
| 28 | 25 | theorem sobolevAngleCurve_continuous {q : ℕ} (u : SobolevSpace P q) : |
| 29 | 26 | Continuous (fun s : ℝ => sobolevTranslation P q (EulerCylinderAnglePrimitive.angleShift P s) u) := |
| 30 | 27 | (sobolevTranslation_continuous P u).comp (EulerCylinderAnglePrimitive.angleShift_continuous P) |
+0 −18 Euler/CylinderAngleEvolution.lean View file
| @@ -68,23 +68,5 @@ theorem pathPrimitive_time_derivative (t : Icc (0 : ℝ) T) : | ||
| 68 | 68 | (Icc (0 : ℝ) T) t := |
| 69 | 69 | primitive_hasDerivWithinAt P _ t (extendPath T hT p) (f t) (hd t) |
| 70 | 70 | |
| 71 | -include hd in | |
| 72 | -/-- The literal primitive differentiates within the closed time interval at every angle. -/ | |
| 73 | -theorem classicalPrimitive_time_derivative | |
| 74 | - (hpm : ∀ t y, (∫ s in (0 : ℝ)..P, pointField P p hp t (y,(s : AddCircle P)))=0) | |
| 75 | - (hfm : ∀ t y, (∫ s in (0 : ℝ)..P, pointField P f hf t (y,(s : AddCircle P)))=0) | |
| 76 | - (t : Icc (0 : ℝ) T) (y : Vector3) (θ : ℝ) : | |
| 77 | - HasDerivWithinAt (fun r => EulerAngleMeanZeroPrimitive.primitive P | |
| 78 | - (fun s => pointField P p hp (projIcc 0 T hT r) (y,(s : AddCircle P))) θ) | |
| 79 | - (EulerAngleMeanZeroPrimitive.primitive P | |
| 80 | - (fun s => pointField P f hf t (y,(s : AddCircle P))) θ) (Icc (0 : ℝ) T) t := by | |
| 81 | - have h := pointField_hasDerivWithinAt P T hT (pathPrimitive P p) (pathPrimitive P f) | |
| 82 | - (pathPrimitive_orbit_contDiff P p hp) (pathPrimitive_orbit_contDiff P f hf) | |
| 83 | - (pathPrimitive_time_derivative P T hT p f hd) t (y,(θ : AddCircle P)) | |
| 84 | - rw [pointField_primitive_formula P f hf hfm t y θ] at h | |
| 85 | - apply h.congr_of_mem _ t.property | |
| 86 | - intro r _ | |
| 87 | - exact (pointField_primitive_formula P p hp hpm (projIcc 0 T hT r) y θ).symm | |
| 88 | - | |
| 89 | 71 | end Time |
| 90 | 72 | end EulerCylinderAnglePrimitive |
+0 −3 Euler/CylinderAnglePrimitive.lean View file
| @@ -98,7 +98,4 @@ theorem primitive_translation (a : LiftDomain P) (u : LiftL2 P) : | ||
| 98 | 98 | def sobolevPrimitive (q : ℕ) : SobolevSpace P q →L[ℝ] SobolevSpace P q := |
| 99 | 99 | liftOperator P q (primitive P) (primitive_translation P) |
| 100 | 100 | |
| 101 | -theorem sobolevPrimitive_norm (q : ℕ) : ‖sobolevPrimitive P q‖ ≤ P := | |
| 102 | - (norm_liftOperator_le P q (primitive P) (primitive_translation P)).trans (primitive_norm P) | |
| 103 | - | |
| 104 | 101 | end EulerCylinderAnglePrimitive |
+0 −22 Euler/CylinderAngleWordBounds.lean View file
| @@ -25,20 +25,6 @@ theorem primitive_mixed_translation (a : LiftTangent) (u : LiftL2 P) : | ||
| 25 | 25 | |
| 26 | 26 | variable {X ι : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] [Fintype ι] |
| 27 | 27 | |
| 28 | -theorem primitive_block_bound (directions : ι → X) (q : ℕ) | |
| 29 | - (f : X → LiftL2 P) (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : X) : | |
| 30 | - block directions q (fun y => primitive P (f y)) n x ≤ P*block directions q f n x := | |
| 31 | - (block_comp_clm_le directions q (primitive P) f hf n x).trans | |
| 32 | - (mul_le_mul_of_nonneg_right (primitive_norm P) (block_nonneg directions q f n x)) | |
| 33 | - | |
| 34 | -theorem primitive_block_majorant (directions : ι → X) (q : ℕ) | |
| 35 | - (f : X → LiftL2 P) (hf : ContDiff ℝ ∞ f) (R C : ℝ) (d : ℕ) | |
| 36 | - (hb : ∀ n x, block directions q f n x ≤ C*majorant R d n) (n : ℕ) (x : X) : | |
| 37 | - block directions q (fun y => primitive P (f y)) n x ≤ (P*C)*majorant R d n := | |
| 38 | - (primitive_block_bound P directions q f hf n x).trans | |
| 39 | - ((mul_le_mul_of_nonneg_left (hb n x) (le_of_lt (Fact.out : 0 < P))).trans_eq | |
| 40 | - (mul_assoc P C _).symm) | |
| 41 | - | |
| 42 | 28 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 43 | 29 | |
| 44 | 30 | private local instance : NormedAddCommGroup C(K,LiftL2 P) := inferInstance |
| @@ -71,12 +57,4 @@ theorem pathPrimitive_block_bound (directions : ι → X) (q : ℕ) | ||
| 71 | 57 | have hn : ‖pathPrimitive (K := K) P‖ ≤ P := pathPrimitive_norm P |
| 72 | 58 | exact h.trans (mul_le_mul_of_nonneg_right hn (block_nonneg directions q f n x)) |
| 73 | 59 | |
| 74 | -theorem pathPrimitive_block_majorant (directions : ι → X) (q : ℕ) | |
| 75 | - (f : X → C(K,LiftL2 P)) (hf : ContDiff ℝ ∞ f) (R C : ℝ) (d : ℕ) | |
| 76 | - (hb : ∀ n x, block directions q f n x ≤ C*majorant R d n) (n : ℕ) (x : X) : | |
| 77 | - block directions q (fun y => pathPrimitive P (f y)) n x ≤ (P*C)*majorant R d n := | |
| 78 | - (pathPrimitive_block_bound P directions q f hf n x).trans | |
| 79 | - ((mul_le_mul_of_nonneg_left (hb n x) (le_of_lt (Fact.out : 0 < P))).trans_eq | |
| 80 | - (mul_assoc P C _).symm) | |
| 81 | - | |
| 82 | 60 | end EulerCylinderAnglePrimitive |
+0 −14 Euler/CylinderBoundedCover.lean View file
| @@ -55,10 +55,6 @@ def coverMap : SobolevSpace P 3 →L[ℝ] (LiftTangent →ᵇ Space) where | ||
| 55 | 55 | cont := AddMonoidHomClass.continuous_of_bound (coverLinear P) |
| 56 | 56 | (sobolevEmbeddingConstant P 3) (cover_norm_le P) |
| 57 | 57 | |
| 58 | -theorem coverMap_norm_le : ‖coverMap P‖ ≤ sobolevEmbeddingConstant P 3 := by | |
| 59 | - apply opNorm_le_bound _ (sobolevEmbeddingConstant_nonneg P 3) | |
| 60 | - exact cover_norm_le P | |
| 61 | - | |
| 62 | 58 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 63 | 59 | |
| 64 | 60 | private local instance : NormedAddCommGroup C(K, SobolevSpace P 3) := inferInstance |
| @@ -69,16 +65,6 @@ private local instance : NormedSpace ℝ C(K, LiftTangent →ᵇ Space) := infer | ||
| 69 | 65 | def coverPathMap : C(K, SobolevSpace P 3) →L[ℝ] C(K, LiftTangent →ᵇ Space) := |
| 70 | 66 | (coverMap P).compLeftContinuous ℝ K |
| 71 | 67 | |
| 72 | -theorem coverPathMap_norm_le : | |
| 73 | - ‖coverPathMap (K := K) P‖ ≤ sobolevEmbeddingConstant P 3 := by | |
| 74 | - apply opNorm_le_bound _ (sobolevEmbeddingConstant_nonneg P 3) | |
| 75 | - intro p | |
| 76 | - apply (ContinuousMap.norm_le _ | |
| 77 | - (mul_nonneg (sobolevEmbeddingConstant_nonneg P 3) (norm_nonneg p))).2 | |
| 78 | - intro t | |
| 79 | - exact (cover_norm_le P (p t)).trans | |
| 80 | - (mul_le_mul_of_nonneg_left (p.norm_coe_le_norm t) (sobolevEmbeddingConstant_nonneg P 3)) | |
| 81 | - | |
| 82 | 68 | def coverPath (p : C(K, LiftL2 P)) |
| 83 | 69 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) : |
| 84 | 70 | C(K, LiftTangent →ᵇ Space) := coverPathMap P (sobolevPath P 3 p hp) |
+0 −6 Euler/CylinderClassicalWordBounds.lean View file
| @@ -86,12 +86,6 @@ theorem representative_strongWord (u : LiftL2 period) (hu : SmoothOrbit period u | ||
| 86 | 86 | · exact smoothField_continuous period _ |
| 87 | 87 | (iteratedFieldDerivative_smooth period w _ (representative_smooth period u hu)) |
| 88 | 88 | |
| 89 | -/-- Every actual classical mixed derivative lies in L²; this is proved from the solved orbit. -/ | |
| 90 | -theorem classicalWord_memLp (u : LiftL2 period) (hu : SmoothOrbit period u) | |
| 91 | - {n : ℕ} (w : Fin n → Fin 4) : | |
| 92 | - MemLp (iteratedFieldDerivative period w (representative period u hu)) 2 (liftMeasure period) := | |
| 93 | - (Lp.memLp (strongWord period u w)).ae_eq (strongWord_ae period u hu w) | |
| 94 | - | |
| 95 | 89 | /-- The actual classical Hq norm is exactly the finite mixed-word base sum. -/ |
| 96 | 90 | theorem classicalBaseSize_eq (q : ℕ) (u : LiftL2 period) (hu : SmoothOrbit period u) : |
| 97 | 91 | liftSobolevNorm period q (representative period u hu) = |
+0 −27 Euler/CylinderCoverDescent.lean View file
| @@ -39,18 +39,6 @@ theorem descend_continuous {V : Type*} [TopologicalSpace V] (f : LiftTangent → | ||
| 39 | 39 | rw [h] |
| 40 | 40 | exact hf |
| 41 | 41 | |
| 42 | -theorem descend_joint_continuous {K V : Type*} [TopologicalSpace K] [TopologicalSpace V] | |
| 43 | - (f : K → LiftTangent → V) (hf : Continuous (Function.uncurry f)) | |
| 44 | - (he : ∀ t a b, coveringMap P a=coveringMap P b → f t a=f t b) : | |
| 45 | - Continuous (fun z : K × LiftDomain P => descend P (f z.1) z.2) := by | |
| 46 | - apply (IsOpenQuotientMap.id.prodMap (coveringMap_isOpenQuotient P)).isQuotientMap.continuous_iff.mpr | |
| 47 | - have h : (fun z : K × LiftDomain P => descend P (f z.1) z.2) ∘ | |
| 48 | - Prod.map id (coveringMap P) = Function.uncurry f := by | |
| 49 | - funext z | |
| 50 | - exact descend_cover P (f z.1) (he z.1) z.2 | |
| 51 | - rw [h] | |
| 52 | - exact hf | |
| 53 | - | |
| 54 | 42 | omit [Fact (0 < P)] in |
| 55 | 43 | theorem fiber_constant_of_deck {V : Type*} (f : LiftTangent → V) |
| 56 | 44 | (hf : ∀ (c : AddSubgroup.zmultiples P) z, f (z.1,(c : ℝ)+z.2)=f z) |
| @@ -89,11 +77,6 @@ theorem descendMap_cover (z : LiftTangent) : | ||
| 89 | 77 | descendMap P f (coveringMap P z)=coveringMap P (f z) := |
| 90 | 78 | descend_cover P (coveringMap P ∘ f) (map_fiber_constant P f hdeck) z |
| 91 | 79 | |
| 92 | -include hdeck in | |
| 93 | -theorem descendMap_continuous (hf : Continuous f) : Continuous (descendMap P f) := | |
| 94 | - descend_continuous P _ ((coveringMap_isOpenQuotient P).continuous.comp hf) | |
| 95 | - (map_fiber_constant P f hdeck) | |
| 96 | - | |
| 97 | 80 | include hdeck in |
| 98 | 81 | theorem descendMap_measurePreserving (hf : MeasurePreserving f volume volume) : |
| 99 | 82 | MeasurePreserving (descendMap P f) (liftMeasure P) (liftMeasure P) := |
| @@ -101,14 +84,4 @@ theorem descendMap_measurePreserving (hf : MeasurePreserving f volume volume) : | ||
| 101 | 84 | (descend_measurable P _ ((coveringMap_isOpenQuotient P).continuous.measurable.comp hf.measurable)) |
| 102 | 85 | hdeck (fun z => (descendMap_cover P f hdeck z).symm) |
| 103 | 86 | |
| 104 | -include hdeck in | |
| 105 | -theorem descendMap_leftInverse (g : LiftTangent → LiftTangent) | |
| 106 | - (hg : ∀ (c : AddSubgroup.zmultiples P) z, | |
| 107 | - g (z.1,(c : ℝ)+z.2)=((g z).1,(c : ℝ)+(g z).2)) | |
| 108 | - (hgf : Function.LeftInverse g f) : | |
| 109 | - Function.LeftInverse (descendMap P g) (descendMap P f) := by | |
| 110 | - intro q | |
| 111 | - obtain ⟨z,rfl⟩ := (coveringMap_isOpenQuotient P).surjective q | |
| 112 | - rw [descendMap_cover P f hdeck,descendMap_cover P g hg,hgf] | |
| 113 | - | |
| 114 | 87 | end EulerCylinderCoverDescent |
+0 −11 Euler/CylinderCoveringDerivative.lean View file
| @@ -33,15 +33,4 @@ theorem coverField_contDiff (f : LiftDomain P → V) | ||
| 33 | 33 | rw [coverField_eq_local] |
| 34 | 34 | exact hf 0 |
| 35 | 35 | |
| 36 | -omit [Fact (0 < P)] in | |
| 37 | -/-- The raw spatial derivative is exactly the spatial restriction of the cylinder derivative. -/ | |
| 38 | -theorem coverField_spatial_fderiv (f : LiftDomain P → V) | |
| 39 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift P f x)) (x : Space) (θ : ℝ) : | |
| 40 | - fderiv ℝ (fun y : Space => f (y,(θ : AddCircle P))) x = | |
| 41 | - (fieldFDeriv P f (x,(θ : AddCircle P))).comp (ContinuousLinearMap.inl ℝ Space ℝ) := by | |
| 42 | - have hi : HasFDerivAt (fun y : Space => (y,θ)) (ContinuousLinearMap.inl ℝ Space ℝ) x := | |
| 43 | - (hasFDerivAt_id (𝕜 := ℝ) x).prodMk (hasFDerivAt_const θ x) | |
| 44 | - have hd := ((coverField_contDiff P f hf).differentiable (by simp) (x,θ)).hasFDerivAt.comp x hi | |
| 45 | - simpa only [Function.comp_def, coverField_fderiv] using hd.fderiv | |
| 46 | - | |
| 47 | 36 | end EulerCylinderSmoothOrbit |
+0 −35 Euler/CylinderDescentJets.lean View file
| @@ -54,30 +54,6 @@ theorem descend_smooth (hf : ContDiff ℝ ∞ f) (q : LiftDomain P) : | ||
| 54 | 54 | rw [localFieldLift_descend_cover P f hperiod] |
| 55 | 55 | exact hf.comp (contDiff_const.add contDiff_id) |
| 56 | 56 | |
| 57 | -include hperiod in | |
| 58 | -theorem jetSeries_eq_local (q : LiftDomain P) (n : ℕ) : | |
| 59 | - jetSeries P f q n=iteratedFDeriv ℝ n (localFieldLift P (descend P f) q) 0 := by | |
| 60 | - obtain ⟨z,rfl⟩ := (coveringMap_isOpenQuotient P).surjective q | |
| 61 | - rw [jetSeries_cover P f hperiod,localFieldLift_descend_cover P f hperiod, | |
| 62 | - iteratedFDeriv_comp_add_left,add_zero] | |
| 63 | - | |
| 64 | -theorem jetSeries_joint_continuous {K : Type*} [TopologicalSpace K] | |
| 65 | - (F : K → LiftTangent → W) | |
| 66 | - (hF : ∀ t (c : AddSubgroup.zmultiples P) z, F t (z.1,(c : ℝ)+z.2)=F t z) | |
| 67 | - (n : ℕ) | |
| 68 | - (hJ : Continuous (fun z : K × LiftTangent => iteratedFDeriv ℝ n (F z.1) z.2)) : | |
| 69 | - Continuous (fun z : K × LiftDomain P => jetSeries P (F z.1) z.2 n) := | |
| 70 | - descend_joint_continuous P (fun t => iteratedFDeriv ℝ n (F t)) hJ | |
| 71 | - (fun t => fiber_constant_of_deck P _ (iteratedFDeriv_deck P (F t) (hF t) n)) | |
| 72 | - | |
| 73 | -include hperiod in | |
| 74 | -omit [NormedAddCommGroup W] [NormedSpace ℝ W] in | |
| 75 | -theorem descend_comp_map (Φ : LiftTangent → LiftTangent) : | |
| 76 | - descend P (f ∘ Φ) = descend P f ∘ descendMap P Φ := by | |
| 77 | - funext q | |
| 78 | - exact (descend_cover P f (fiber_constant_of_deck P f hperiod) | |
| 79 | - (Φ (sectionPoint P q))).symm | |
| 80 | - | |
| 81 | 57 | include hperiod in |
| 82 | 58 | theorem jetSeries_comp (Φ : LiftTangent → LiftTangent) |
| 83 | 59 | (hf : ContDiff ℝ ∞ f) (hΦ : ContDiff ℝ ∞ Φ) (q : LiftDomain P) (n : ℕ) : |
| @@ -98,15 +74,4 @@ theorem comp_deck (Φ : LiftTangent → LiftTangent) | ||
| 98 | 74 | (f ∘ Φ) (z.1,(c : ℝ)+z.2)=(f ∘ Φ) z := by |
| 99 | 75 | simp only [Function.comp_def,hΦ,hperiod] |
| 100 | 76 | |
| 101 | -include hperiod in | |
| 102 | -theorem local_jet_comp (Φ : LiftTangent → LiftTangent) | |
| 103 | - (hdeck : ∀ (c : AddSubgroup.zmultiples P) z, | |
| 104 | - Φ (z.1,(c : ℝ)+z.2)=((Φ z).1,(c : ℝ)+(Φ z).2)) | |
| 105 | - (hf : ContDiff ℝ ∞ f) (hΦ : ContDiff ℝ ∞ Φ) (q : LiftDomain P) (n : ℕ) : | |
| 106 | - iteratedFDeriv ℝ n (localFieldLift P (descend P f ∘ descendMap P Φ) q) 0 = | |
| 107 | - (jetSeries P f (descendMap P Φ q)).taylorComp (jetSeries P Φ q) n := by | |
| 108 | - rw [← descend_comp_map P f hperiod Φ, | |
| 109 | - ← jetSeries_eq_local P (f ∘ Φ) (comp_deck P f hperiod Φ hdeck) q n] | |
| 110 | - exact jetSeries_comp P f hperiod Φ hf hΦ q n | |
| 111 | - | |
| 112 | 77 | end EulerCylinderCoverDescent |
+0 −6 Euler/CylinderDirichletData.lean View file
| @@ -103,12 +103,6 @@ def velocityLp : TimeLp T (CylinderL2 P E) →L[ℝ] TimeLp T (CylinderL2 P U) : | ||
| 103 | 103 | D.lower D.lower_pos (D.frame_lower P) (D.frame_derivative P) |
| 104 | 104 | D.potential D.potential_nonneg (D.hessian_upper P) D.small |
| 105 | 105 | |
| 106 | -def accelerationLp : TimeLp T (CylinderL2 P E) →L[ℝ] TimeLp T (CylinderL2 P U) := | |
| 107 | - EulerTransverseFixedEvolution.accelerationLp T D.time_pos.le | |
| 108 | - (D.frame P) (D.frameDerivative P) (D.hessian P) | |
| 109 | - D.lower D.lower_pos (D.frame_lower P) (D.frame_derivative P) | |
| 110 | - D.potential D.potential_nonneg (D.hessian_upper P) D.small | |
| 111 | - | |
| 112 | 106 | def velocityPath : TimeLp T (CylinderL2 P E) →L[ℝ] C(Icc (0 : ℝ) T,CylinderL2 P U) := |
| 113 | 107 | EulerTransverseFixedEvolution.velocityPath T D.time_pos.le |
| 114 | 108 | (D.frame P) (D.frameDerivative P) (D.hessian P) |
+0 −18 Euler/CylinderDirichletNaturality.lean View file
| @@ -35,24 +35,6 @@ variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {U V E F : Type*} | ||
| 35 | 35 | |
| 36 | 36 | include hQ hQ₁ hback hback₁ hH |
| 37 | 37 | |
| 38 | -theorem velocityLp_intertwines (f : TimeLp T (CylinderL2 P E)) : | |
| 39 | - G.velocityLp P (timeLift T B f) = timeLift T A (D.velocityLp P f) := | |
| 40 | - EulerFixedFrameNaturality.velocityLp_intertwines T D.time_pos.le A B | |
| 41 | - (D.frame P) (D.frameDerivative P) (G.frame P) (G.frameDerivative P) (D.hessian P) (G.hessian P) | |
| 42 | - D.lower D.lower_pos (D.frame_lower P) G.lower G.lower_pos (G.frame_lower P) | |
| 43 | - (D.frame_derivative P) (G.frame_derivative P) D.potential G.potential | |
| 44 | - D.potential_nonneg G.potential_nonneg (D.hessian_upper P) (G.hessian_upper P) | |
| 45 | - D.small G.small hQ hQ₁ hback hback₁ hH f | |
| 46 | - | |
| 47 | -theorem accelerationLp_intertwines (f : TimeLp T (CylinderL2 P E)) : | |
| 48 | - G.accelerationLp P (timeLift T B f) = timeLift T A (D.accelerationLp P f) := | |
| 49 | - EulerFixedFrameNaturality.accelerationLp_intertwines T D.time_pos.le A B | |
| 50 | - (D.frame P) (D.frameDerivative P) (G.frame P) (G.frameDerivative P) (D.hessian P) (G.hessian P) | |
| 51 | - D.lower D.lower_pos (D.frame_lower P) G.lower G.lower_pos (G.frame_lower P) | |
| 52 | - (D.frame_derivative P) (G.frame_derivative P) D.potential G.potential | |
| 53 | - D.potential_nonneg G.potential_nonneg (D.hessian_upper P) (G.hessian_upper P) | |
| 54 | - D.small G.small hQ hQ₁ hback hback₁ hH f | |
| 55 | - | |
| 56 | 38 | theorem velocityPath_intertwines (f : TimeLp T (CylinderL2 P E)) (t : Icc (0 : ℝ) T) : |
| 57 | 39 | G.velocityPath P (timeLift T B f) t = A (D.velocityPath P f t) := |
| 58 | 40 | EulerFixedFrameNaturality.velocityPath_intertwines T D.time_pos.le A B |
+0 −48 Euler/CylinderDirichletRegularity.lean View file
| @@ -55,60 +55,12 @@ theorem hessianOrbit_contDiff (hH : ContDiff ℝ ∞ (translateCoefficientPath D | ||
| 55 | 55 | (fullPathMap (K := Icc (0 : ℝ) T) (E := E) (F := E) P).contDiff.comp |
| 56 | 56 | (hH.comp contDiff_fst) |
| 57 | 57 | |
| 58 | -theorem accelerationLp_translation (a : LiftTangent) (f : TimeLp T (CylinderL2 P E)) : | |
| 59 | - (D.shifted a.1).accelerationLp P (timeLift T (translate P a).toContinuousLinearMap f) = | |
| 60 | - timeLift T (translate P a).toContinuousLinearMap (D.accelerationLp P f) := | |
| 61 | - D.accelerationLp_intertwines P (D.shifted a.1) | |
| 62 | - (translate P a).toContinuousLinearMap (translate P a).toContinuousLinearMap | |
| 63 | - (D.shifted_frame P a) (D.shifted_frameDerivative P a) | |
| 64 | - (D.shifted_frame_back P a) (D.shifted_frameDerivative_back P a) (D.shifted_hessian P a) f | |
| 65 | - | |
| 66 | 58 | variable (hQ : ContDiff ℝ ∞ (translateCoefficientPath D.Q)) |
| 67 | 59 | (hQ₁ : ContDiff ℝ ∞ (translateCoefficientPath D.Q₁)) |
| 68 | 60 | (hH : ContDiff ℝ ∞ (translateCoefficientPath D.H)) |
| 69 | 61 | |
| 70 | 62 | include hQ hQ₁ hH |
| 71 | 63 | |
| 72 | -theorem velocityLp_orbit_contDiff (f : TimeLp T (CylinderL2 P E)) | |
| 73 | - (hf : ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap f)) : | |
| 74 | - ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap (D.velocityLp P f)) := by | |
| 75 | - let g : LiftTangent → TimeLp T (CylinderL2 P E) := | |
| 76 | - fun a => timeLift T (translate P a).toContinuousLinearMap f | |
| 77 | - change ContDiff ℝ ∞ g at hf | |
| 78 | - have hs := EulerTransverseFixedEvolution.velocityLp_contDiff | |
| 79 | - (X := LiftTangent) (U := CylinderL2 P U) (E := CylinderL2 P E) (n := ∞) T D.time_pos.le | |
| 80 | - (fun a : LiftTangent => (D.shifted a.1).frame P) | |
| 81 | - (fun a : LiftTangent => (D.shifted a.1).frameDerivative P) | |
| 82 | - (fun a : LiftTangent => (D.shifted a.1).hessian P) | |
| 83 | - D.lower D.lower_pos (fun a => (D.shifted a.1).frame_lower P) | |
| 84 | - (fun a => (D.shifted a.1).frame_derivative P) | |
| 85 | - D.potential D.potential_nonneg (fun a => (D.shifted a.1).hessian_upper P) D.small | |
| 86 | - (D.frameOrbit_contDiff P hQ) (D.frameDerivativeOrbit_contDiff P hQ₁) (D.hessianOrbit_contDiff P hH) | |
| 87 | - g hf | |
| 88 | - convert hs using 1 | |
| 89 | - funext a | |
| 90 | - exact (D.velocityLp_translation P a f).symm | |
| 91 | - | |
| 92 | -theorem accelerationLp_orbit_contDiff (f : TimeLp T (CylinderL2 P E)) | |
| 93 | - (hf : ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap f)) : | |
| 94 | - ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap (D.accelerationLp P f)) := by | |
| 95 | - let g : LiftTangent → TimeLp T (CylinderL2 P E) := | |
| 96 | - fun a => timeLift T (translate P a).toContinuousLinearMap f | |
| 97 | - change ContDiff ℝ ∞ g at hf | |
| 98 | - have hs := EulerTransverseFixedEvolution.accelerationLp_contDiff | |
| 99 | - (X := LiftTangent) (U := CylinderL2 P U) (E := CylinderL2 P E) (n := ∞) T D.time_pos.le | |
| 100 | - (fun a : LiftTangent => (D.shifted a.1).frame P) | |
| 101 | - (fun a : LiftTangent => (D.shifted a.1).frameDerivative P) | |
| 102 | - (fun a : LiftTangent => (D.shifted a.1).hessian P) | |
| 103 | - D.lower D.lower_pos (fun a => (D.shifted a.1).frame_lower P) | |
| 104 | - (fun a => (D.shifted a.1).frame_derivative P) | |
| 105 | - D.potential D.potential_nonneg (fun a => (D.shifted a.1).hessian_upper P) D.small | |
| 106 | - (D.frameOrbit_contDiff P hQ) (D.frameDerivativeOrbit_contDiff P hQ₁) (D.hessianOrbit_contDiff P hH) | |
| 107 | - g hf | |
| 108 | - convert hs using 1 | |
| 109 | - funext a | |
| 110 | - exact (D.accelerationLp_translation P a f).symm | |
| 111 | - | |
| 112 | 64 | theorem velocityPath_orbit_contDiff (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) |
| 113 | 65 | (hf : ContDiff ℝ ∞ (fun a => pathTranslate P a f)) : |
| 114 | 66 | ContDiff ℝ ∞ (fun a => pathTranslate P a (D.velocityPath P (pathLp T D.time_pos.le f))) := by |
+0 −52 Euler/CylinderDirichletSobolev.lean View file
| @@ -72,56 +72,4 @@ variable {ι : Type*} [Fintype ι] | ||
| 72 | 72 | |
| 73 | 73 | include hdir hQ hQ₁ hH hRc hC₀ hC₁ hCH hCf hbQ hbQ₁ hbH hR |
| 74 | 74 | |
| 75 | -/-- Actual cylinder/time L² coordinate velocity: one shift at the original | |
| 76 | -radius and fixed Sobolev order, from forcing bounds at the base translation. -/ | |
| 77 | -theorem velocityLp_block_bound (f : TimeLp T (CylinderL2 P E)) | |
| 78 | - (hf : ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap f)) | |
| 79 | - (d : ℕ) (hfb : ∀ n, block directions q | |
| 80 | - (fun a => timeLift T (translate P a).toContinuousLinearMap f) n 0 ≤ Cf*majorant R d n) | |
| 81 | - (n : ℕ) (a : LiftTangent) : | |
| 82 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap (D.velocityLp P f)) n a ≤ | |
| 83 | - majorant R (d+1) n := by | |
| 84 | - let g : LiftTangent → TimeLp T (CylinderL2 P E) := | |
| 85 | - fun b => timeLift T (translate P b).toContinuousLinearMap f | |
| 86 | - change ContDiff ℝ ∞ g at hf | |
| 87 | - have he : (fun b : LiftTangent => (D.shifted b.1).velocityLp P | |
| 88 | - (timeLift T (translate P b).toContinuousLinearMap f)) = | |
| 89 | - fun b => timeLift T (translate P b).toContinuousLinearMap (D.velocityLp P f) := | |
| 90 | - funext (fun b => D.velocityLp_translation P b f) | |
| 91 | - rw [← he] | |
| 92 | - apply EulerTransverseFixedSobolev.velocityLp_block_gevrey directions hdir q T D.time_pos.le | |
| 93 | - (fun b : LiftTangent => (D.shifted b.1).frame P) | |
| 94 | - (fun b : LiftTangent => (D.shifted b.1).frameDerivative P) | |
| 95 | - (fun b : LiftTangent => (D.shifted b.1).hessian P) | |
| 96 | - D.lower D.lower_pos (fun b => (D.shifted b.1).frame_lower P) | |
| 97 | - (fun b => (D.shifted b.1).frame_derivative P) | |
| 98 | - D.potential D.potential_nonneg (fun b => (D.shifted b.1).hessian_upper P) D.small | |
| 99 | - (D.frameOrbit_contDiff P hQ) (D.frameDerivativeOrbit_contDiff P hQ₁) (D.hessianOrbit_contDiff P hH) | |
| 100 | - Rc C₀ C₁ CH Cf R hRc hC₀ hC₁ hCH hCf | |
| 101 | - (fun k b => D.frameOrbit_bound P hQ k _ (hbQ k) b) | |
| 102 | - (fun k b => D.frameDerivativeOrbit_bound P hQ₁ k _ (hbQ₁ k) b) | |
| 103 | - (fun k b => D.hessianOrbit_bound P hH k _ (hbH k) b) hR | |
| 104 | - g hf d _ n a | |
| 105 | - intro k b | |
| 106 | - rw [time_block_constant P directions q T f hf k b] | |
| 107 | - exact hfb k | |
| 108 | - | |
| 109 | -/-- For source intervals of length at most one, continuous forcing embeds | |
| 110 | -with no extra amplitude, and the same history estimate applies. -/ | |
| 111 | -theorem continuous_velocityLp_block_bound (hT1 : T ≤ 1) | |
| 112 | - (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) | |
| 113 | - (hf : ContDiff ℝ ∞ (fun a => pathTranslate P a f)) | |
| 114 | - (d : ℕ) (hfb : ∀ n, block directions q (fun a => pathTranslate P a f) n 0 ≤ Cf*majorant R d n) | |
| 115 | - (n : ℕ) (a : LiftTangent) : | |
| 116 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap | |
| 117 | - (D.velocityLp P (pathLp T D.time_pos.le f))) n a ≤ majorant R (d+1) n := by | |
| 118 | - have hsqrt : Real.sqrt T ≤ 1 := by simpa using Real.sqrt_le_sqrt hT1 | |
| 119 | - apply D.velocityLp_block_bound P directions hdir q hQ hQ₁ hH Rc C₀ C₁ CH Cf R hRc | |
| 120 | - hC₀ hC₁ hCH hCf hbQ hbQ₁ hbH hR (pathLp T D.time_pos.le f) | |
| 121 | - (pathLp_orbit_contDiff P T D.time_pos.le f hf) d _ n a | |
| 122 | - intro k | |
| 123 | - exact (pathLp_block_le P directions q T D.time_pos.le f hf k 0).trans | |
| 124 | - ((mul_le_mul_of_nonneg_right hsqrt (block_nonneg directions q _ k 0)).trans | |
| 125 | - (by simpa only [one_mul] using hfb k)) | |
| 126 | - | |
| 127 | 75 | end EulerCylinderDirichlet.Coefficients |
+0 −22 Euler/CylinderDirichletSupport.lean View file
| @@ -16,12 +16,6 @@ variable (P : ℝ) [Fact (0 < P)] {V : Type*} | ||
| 16 | 16 | def spatialCutoff : CylinderL2 P V →L[ℝ] CylinderL2 P V := |
| 17 | 17 | cutoffOperator (liftMeasure P) (spatialSet P S) (spatialSet_measurable P S hS) |
| 18 | 18 | |
| 19 | -theorem spatialCutoff_norm : ‖spatialCutoff (V := V) P S hS‖ ≤ 1 := by | |
| 20 | - apply opNorm_le_bound _ zero_le_one | |
| 21 | - intro u | |
| 22 | - change ‖cutoff (liftMeasure P) (spatialSet P S) (spatialSet_measurable P S hS) u‖ ≤ 1*‖u‖ | |
| 23 | - simpa only [one_mul] using cutoff_norm (liftMeasure P) (spatialSet P S) (spatialSet_measurable P S hS) u | |
| 24 | - | |
| 25 | 19 | theorem spatialCutoff_fix (u : CylinderL2 P V) : |
| 26 | 20 | u ∈ Supported P V S hS ↔ spatialCutoff P S hS u = u := |
| 27 | 21 | (mem_supportedSpace_iff (liftMeasure P) (spatialSet P S) (spatialSet_measurable P S hS) u).trans eq_comm |
| @@ -83,22 +77,6 @@ theorem frameDerivative_cutoff_back (t : Icc (0 : ℝ) T) (u : CylinderL2 P U) : | ||
| 83 | 77 | rw [spatialCutoff_adjoint,spatialCutoff_adjoint] |
| 84 | 78 | exact D.frameDerivative_cutoff P S hS t u |
| 85 | 79 | |
| 86 | -theorem velocityLp_cutoff (f : TimeLp T (CylinderL2 P E)) : | |
| 87 | - D.velocityLp P (timeLift T (spatialCutoff P S hS) f) = | |
| 88 | - timeLift T (spatialCutoff P S hS) (D.velocityLp P f) := | |
| 89 | - D.velocityLp_intertwines P D (spatialCutoff P S hS) (spatialCutoff P S hS) | |
| 90 | - (D.frame_cutoff P S hS) (D.frameDerivative_cutoff P S hS) | |
| 91 | - (D.frame_cutoff_back P S hS) (D.frameDerivative_cutoff_back P S hS) | |
| 92 | - (D.hessian_cutoff P S hS) f | |
| 93 | - | |
| 94 | -theorem velocityPath_cutoff (f : TimeLp T (CylinderL2 P E)) (t : Icc (0 : ℝ) T) : | |
| 95 | - D.velocityPath P (timeLift T (spatialCutoff P S hS) f) t = | |
| 96 | - spatialCutoff P S hS (D.velocityPath P f t) := | |
| 97 | - D.velocityPath_intertwines P D (spatialCutoff P S hS) (spatialCutoff P S hS) | |
| 98 | - (D.frame_cutoff P S hS) (D.frameDerivative_cutoff P S hS) | |
| 99 | - (D.frame_cutoff_back P S hS) (D.frameDerivative_cutoff_back P S hS) | |
| 100 | - (D.hessian_cutoff P S hS) f t | |
| 101 | - | |
| 102 | 80 | variable (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) |
| 103 | 81 | (hf : ∀ t, f t ∈ Supported P E S hS) |
| 104 | 82 | |
+0 −33 Euler/CylinderDirichletTimeBounds.lean View file
| @@ -60,39 +60,6 @@ variable {ι : Type*} [Fintype ι] | ||
| 60 | 60 | |
| 61 | 61 | include hdir hQ hQ₁ hH hRc hC₀ hC₁ hCH hCf hbQ hbQ₁ hbH hRweak hRstrong |
| 62 | 62 | |
| 63 | -/-- The actual cylinder acceleration in time L², with the same external radius. -/ | |
| 64 | -theorem accelerationLp_block_bound (f : TimeLp T (CylinderL2 P E)) | |
| 65 | - (hf : ContDiff ℝ ∞ (fun a => timeLift T (translate P a).toContinuousLinearMap f)) | |
| 66 | - (d : ℕ) (hfb : ∀ n, block directions q | |
| 67 | - (fun a => timeLift T (translate P a).toContinuousLinearMap f) n 0 ≤ Cf*majorant R d n) | |
| 68 | - (n : ℕ) (a : LiftTangent) : | |
| 69 | - block directions q (fun b => timeLift T (translate P b).toContinuousLinearMap | |
| 70 | - (D.accelerationLp P f)) n a ≤ majorant R (d+2) n := by | |
| 71 | - let g : LiftTangent → TimeLp T (CylinderL2 P E) := | |
| 72 | - fun b => timeLift T (translate P b).toContinuousLinearMap f | |
| 73 | - change ContDiff ℝ ∞ g at hf | |
| 74 | - have he : (fun b : LiftTangent => (D.shifted b.1).accelerationLp P | |
| 75 | - (timeLift T (translate P b).toContinuousLinearMap f)) = | |
| 76 | - fun b => timeLift T (translate P b).toContinuousLinearMap (D.accelerationLp P f) := | |
| 77 | - funext (fun b => D.accelerationLp_translation P b f) | |
| 78 | - rw [← he] | |
| 79 | - apply EulerFixedEvolutionSobolev.accelerationLp_block_gevrey directions hdir q T D.time_pos.le | |
| 80 | - (fun b : LiftTangent => (D.shifted b.1).frame P) | |
| 81 | - (fun b : LiftTangent => (D.shifted b.1).frameDerivative P) | |
| 82 | - (fun b : LiftTangent => (D.shifted b.1).hessian P) | |
| 83 | - D.lower D.lower_pos (fun b => (D.shifted b.1).frame_lower P) | |
| 84 | - (fun b => (D.shifted b.1).frame_derivative P) | |
| 85 | - D.potential D.potential_nonneg (fun b => (D.shifted b.1).hessian_upper P) D.small | |
| 86 | - (D.frameOrbit_contDiff P hQ) (D.frameDerivativeOrbit_contDiff P hQ₁) (D.hessianOrbit_contDiff P hH) | |
| 87 | - Rc C₀ C₁ CH Cf R hRc hC₀ hC₁ hCH hCf | |
| 88 | - (fun k b => D.frameOrbit_bound P hQ k _ (hbQ k) b) | |
| 89 | - (fun k b => D.frameDerivativeOrbit_bound P hQ₁ k _ (hbQ₁ k) b) | |
| 90 | - (fun k b => D.hessianOrbit_bound P hH k _ (hbH k) b) hRweak hRstrong | |
| 91 | - g hf d _ n a | |
| 92 | - intro k b | |
| 93 | - rw [time_block_constant P directions q T f hf k b] | |
| 94 | - exact hfb k | |
| 95 | - | |
| 96 | 63 | /-- The actual continuous velocity trace from cylinder forcing. -/ |
| 97 | 64 | theorem continuousVelocity_block_bound (hT1 : T ≤ 1) |
| 98 | 65 | (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) |
+0 −16 Euler/CylinderDirichletTranslation.lean View file
| @@ -86,22 +86,6 @@ theorem shifted_frameDerivative_back (a : LiftTangent) (t : Icc (0 : ℝ) T) (u | ||
| 86 | 86 | ((translate P a).toContinuousLinearMap).adjoint ((D.shifted a.1).frameDerivative P t u) := |
| 87 | 87 | fullOperator_translation_back P a (D.Q₁ t) u |
| 88 | 88 | |
| 89 | -theorem velocityLp_translation (a : LiftTangent) (f : TimeLp T (CylinderL2 P E)) : | |
| 90 | - (D.shifted a.1).velocityLp P (timeLift T (translate P a).toContinuousLinearMap f) = | |
| 91 | - timeLift T (translate P a).toContinuousLinearMap (D.velocityLp P f) := | |
| 92 | - D.velocityLp_intertwines P (D.shifted a.1) | |
| 93 | - (translate P a).toContinuousLinearMap (translate P a).toContinuousLinearMap | |
| 94 | - (D.shifted_frame P a) (D.shifted_frameDerivative P a) | |
| 95 | - (D.shifted_frame_back P a) (D.shifted_frameDerivative_back P a) (D.shifted_hessian P a) f | |
| 96 | - | |
| 97 | -theorem velocityPath_translation (a : LiftTangent) (f : TimeLp T (CylinderL2 P E)) (t : Icc (0 : ℝ) T) : | |
| 98 | - (D.shifted a.1).velocityPath P (timeLift T (translate P a).toContinuousLinearMap f) t = | |
| 99 | - translate P a (D.velocityPath P f t) := | |
| 100 | - D.velocityPath_intertwines P (D.shifted a.1) | |
| 101 | - (translate P a).toContinuousLinearMap (translate P a).toContinuousLinearMap | |
| 102 | - (D.shifted_frame P a) (D.shifted_frameDerivative P a) | |
| 103 | - (D.shifted_frame_back P a) (D.shifted_frameDerivative_back P a) (D.shifted_hessian P a) f t | |
| 104 | - | |
| 105 | 89 | theorem continuousVelocity_translation (a : LiftTangent) |
| 106 | 90 | (f : C(Icc (0 : ℝ) T,CylinderL2 P E)) (t : Icc (0 : ℝ) T) : |
| 107 | 91 | (D.shifted a.1).velocityPath P (pathLp T D.time_pos.le (pathTranslate P a f)) t = |
+0 −41 Euler/CylinderEndpointBounds.lean View file
| @@ -26,45 +26,4 @@ variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {U E : Type*} | ||
| 26 | 26 | |
| 27 | 27 | include hdir hY hA hYb |
| 28 | 28 | |
| 29 | -theorem coordinate_bound (n : ℕ) : | |
| 30 | - block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointCoordinate P Y)) n 0 ≤ | |
| 31 | - (L.coordinateCost*A)*majorant L.R (d+2) n := | |
| 32 | - terminal_amplitude_bound P directions q (D.endpointCoordinate P) | |
| 33 | - (fun Z hZ => D.endpointCoordinate_orbit_contDiff P L.frame_smooth | |
| 34 | - L.frameDerivative_smooth L.hessian_smooth Z hZ) | |
| 35 | - L.R L.coordinateCost d (d+2) | |
| 36 | - (fun Z hZ hb => L.coordinate_unit_bound P directions hdir Z hZ d hb) | |
| 37 | - Y hY A hA hYb n | |
| 38 | - | |
| 39 | -theorem acceleration_bound (n : ℕ) : | |
| 40 | - block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointAcceleration P Y)) n 0 ≤ | |
| 41 | - A*majorant L.R (d+3) n := by | |
| 42 | - simpa only [one_mul] using terminal_amplitude_bound P directions q (D.endpointAcceleration P) | |
| 43 | - (fun Z hZ => D.endpointAcceleration_orbit_contDiff P L.frame_smooth | |
| 44 | - L.frameDerivative_smooth L.hessian_smooth Z hZ) | |
| 45 | - L.R 1 d (d+3) | |
| 46 | - (fun Z hZ hb k => by | |
| 47 | - simpa only [one_mul] using L.acceleration_unit_bound P directions hdir Z hZ d hb k) | |
| 48 | - Y hY A hA hYb n | |
| 49 | - | |
| 50 | -theorem velocity_bound (n : ℕ) : | |
| 51 | - block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointVelocity P Y)) n 0 ≤ | |
| 52 | - (L.velocityCost*A)*majorant L.R (d+2) n := | |
| 53 | - terminal_amplitude_bound P directions q (D.endpointVelocity P) | |
| 54 | - (fun Z hZ => D.endpointVelocity_orbit_contDiff P L.frame_smooth | |
| 55 | - L.frameDerivative_smooth L.hessian_smooth Z hZ) | |
| 56 | - L.R L.velocityCost d (d+2) | |
| 57 | - (fun Z hZ hb => L.velocity_unit_bound P directions hdir Z hZ d hb) | |
| 58 | - Y hY A hA hYb n | |
| 59 | - | |
| 60 | -theorem derivative_bound (n : ℕ) : | |
| 61 | - block directions q (fun a : LiftTangent => pathTranslate P a (D.endpointDerivative P Y)) n 0 ≤ | |
| 62 | - (L.derivativeCost*A)*majorant L.R (d+3) n := | |
| 63 | - terminal_amplitude_bound P directions q (D.endpointDerivative P) | |
| 64 | - (fun Z hZ => D.endpointDerivative_orbit_contDiff P L.frame_smooth | |
| 65 | - L.frameDerivative_smooth L.hessian_smooth Z hZ) | |
| 66 | - L.R L.derivativeCost d (d+3) | |
| 67 | - (fun Z hZ hb => L.derivative_unit_bound P directions hdir Z hZ d hb) | |
| 68 | - Y hY A hA hYb n | |
| 69 | - | |
| 70 | 29 | end EulerCylinderDirichlet.Coefficients.EndpointBudget |
+0 −25 Euler/CylinderEndpointForcing.lean View file
| @@ -103,29 +103,4 @@ theorem endpointAcceleration_eq_forced (Y : CylinderL2 P U) : | ||
| 103 | 103 | ((uniqueDiffOn_Icc D.time_pos) _ t.property)).symm.trans |
| 104 | 104 | (he.derivWithin ((uniqueDiffOn_Icc D.time_pos) _ t.property)) |
| 105 | 105 | |
| 106 | -theorem endpointVelocity_eq_forced (Y : CylinderL2 P U) : | |
| 107 | - D.endpointVelocity P Y = | |
| 108 | - multiplier (D.frame P) (ContinuousMap.const (Icc (0 : ℝ) T) (T⁻¹ • Y))- | |
| 109 | - D.physicalVelocity P (D.endpointForcing P Y) := by | |
| 110 | - apply ContinuousMap.ext | |
| 111 | - intro t | |
| 112 | - change D.frame P t (D.endpointCoordinate P Y t) = | |
| 113 | - D.frame P t (T⁻¹ • Y)-D.frame P t | |
| 114 | - (D.velocityPath P (pathLp T D.time_pos.le (D.endpointForcing P Y)) t) | |
| 115 | - rw [D.endpointCoordinate_eq_const_sub P Y t,map_sub] | |
| 116 | - | |
| 117 | -theorem endpointDerivative_eq_forced (Y : CylinderL2 P U) : | |
| 118 | - D.endpointDerivative P Y = | |
| 119 | - multiplier (D.frameDerivative P) (ContinuousMap.const (Icc (0 : ℝ) T) (T⁻¹ • Y))- | |
| 120 | - D.physicalDerivative P (D.endpointForcing P Y) := by | |
| 121 | - apply ContinuousMap.ext | |
| 122 | - intro t | |
| 123 | - change D.frameDerivative P t (D.endpointCoordinate P Y t)+D.frame P t (D.endpointAcceleration P Y t) = | |
| 124 | - D.frameDerivative P t (T⁻¹ • Y)-(D.frameDerivative P t | |
| 125 | - (D.velocityPath P (pathLp T D.time_pos.le (D.endpointForcing P Y)) t)+ | |
| 126 | - D.frame P t (D.accelerationPath P (D.endpointForcing P Y) t)) | |
| 127 | - rw [D.endpointCoordinate_eq_const_sub P Y t,D.endpointAcceleration_eq_forced P Y, | |
| 128 | - ContinuousMap.neg_apply,map_sub,map_neg] | |
| 129 | - abel | |
| 130 | - | |
| 131 | 106 | end EulerCylinderDirichlet.Coefficients |
+0 −6 Euler/CylinderGradientEmbedding.lean View file
| @@ -76,10 +76,4 @@ theorem smul_embedding_gradient_mem (κ : ℝ) (m : Space) | ||
| 76 | 76 | exact ((Submodule.span ℝ EulerMeanSolenoidal.gradientGenerators).topologicalClosure_minimal |
| 77 | 77 | hgen hclosed) hg |
| 78 | 78 | |
| 79 | -theorem embedding_gradient_mem (κ : ℝ) (hκ : κ ≠ 0) (m : Space) | |
| 80 | - (g : EulerMeanSolenoidal.L2) (hg : g ∈ EulerMeanSolenoidal.gradientSpace) : | |
| 81 | - embedding P g ∈ gradientSpace P κ m := by | |
| 82 | - have h := (gradientSpace P κ m).smul_mem κ⁻¹ (smul_embedding_gradient_mem P κ m g hg) | |
| 83 | - simpa only [smul_smul,inv_mul_cancel₀ hκ,one_smul] using h | |
| 84 | - | |
| 85 | 79 | end EulerCylinderSpatialEmbedding |
+0 −6 Euler/CylinderGraphRealization.lean View file
| @@ -58,10 +58,4 @@ theorem graph_norm_sq_le (w : Lp Vector3 2 (volume : Measure Vector3)) | ||
| 58 | 58 | ((memLp_congr_ae hu).1 (Lp.memLp u)) |
| 59 | 59 | ((memLp_congr_ae hv).1 (Lp.memLp v)) θ hθ).2 |
| 60 | 60 | |
| 61 | -theorem graphRealization_norm_sq_le : | |
| 62 | - ‖graphRealization P f hf u v hu hv θ hθ‖^2 ≤ | |
| 63 | - (2/P)*‖u‖^2+(2*P)*‖v‖^2 := | |
| 64 | - graph_norm_sq_le P f hf u v hu hv θ hθ _ | |
| 65 | - (graphRealization_ae P f hf u v hu hv θ hθ) | |
| 66 | - | |
| 67 | 61 | end EulerCylinderGraphTrace |
+0 −39 Euler/CylinderHeatEquation.lean View file
| @@ -19,15 +19,6 @@ def realHeatList (directions : List LiftTangent) (t : ℝ) (f : LiftL2 period) : | ||
| 19 | 19 | | [] => f |
| 20 | 20 | | a :: tail => realLineHeat period a t (realHeatList tail t f) |
| 21 | 21 | |
| 22 | -theorem realHeatList_eq (directions : List LiftTangent) {t : ℝ} (ht : 0 ≤ t) (f : LiftL2 period) : | |
| 23 | - realHeatList period directions t f = heatList period directions ⟨t, ht⟩ f := by | |
| 24 | - induction directions with | |
| 25 | - | nil => rfl | |
| 26 | - | cons a tail ih => | |
| 27 | - change realLineHeat period a t (realHeatList period tail t f) = | |
| 28 | - lineHeat period a ⟨t, ht⟩ (heatList period tail ⟨t, ht⟩ f) | |
| 29 | - rw [realLineHeat_eq period a ht, ih] | |
| 30 | - | |
| 31 | 22 | theorem realLineHeat_add (a : LiftTangent) (t : ℝ) (f g : LiftL2 period) : |
| 32 | 23 | realLineHeat period a t (f+g) = realLineHeat period a t f + realLineHeat period a t g := by |
| 33 | 24 | simp only [realLineHeat_eq_toNNReal, lineHeat_add] |
| @@ -42,12 +33,6 @@ theorem realHeatList_add (directions : List LiftTangent) (t : ℝ) (f g : LiftL2 | ||
| 42 | 33 | | nil => rfl |
| 43 | 34 | | cons a tail ih => simp only [realHeatList, ih, realLineHeat_add] |
| 44 | 35 | |
| 45 | -theorem realHeatList_smul (directions : List LiftTangent) (t c : ℝ) (f : LiftL2 period) : | |
| 46 | - realHeatList period directions t (c • f) = c • realHeatList period directions t f := by | |
| 47 | - induction directions with | |
| 48 | - | nil => rfl | |
| 49 | - | cons a tail ih => simp only [realHeatList, ih, realLineHeat_smul] | |
| 50 | - | |
| 51 | 36 | @[simp] theorem realHeatList_zero_field (directions : List LiftTangent) (t : ℝ) : |
| 52 | 37 | realHeatList period directions t 0 = 0 := by |
| 53 | 38 | induction directions with |
| @@ -69,11 +54,6 @@ theorem realHeatList_eq_toNNReal (directions : List LiftTangent) (t : ℝ) (f : | ||
| 69 | 54 | lineHeat period a t.toNNReal (heatList period tail t.toNNReal f) |
| 70 | 55 | rw [realLineHeat_eq_toNNReal, ih] |
| 71 | 56 | |
| 72 | -theorem realHeatList_continuous (directions : List LiftTangent) (f : LiftL2 period) : | |
| 73 | - Continuous (fun t : ℝ => realHeatList period directions t f) := by | |
| 74 | - simp_rw [realHeatList_eq_toNNReal] | |
| 75 | - exact (heatList_continuous period directions f).comp continuous_real_toNNReal | |
| 76 | - | |
| 77 | 57 | /-- Every strong coordinate derivative commutes with every finite heat product. -/ |
| 78 | 58 | theorem realHeatList_strongDerivative (directions : List LiftTangent) (a : LiftTangent) (t : ℝ) |
| 79 | 59 | (f g : LiftL2 period) (hD : HasDerivAt (lineOrbit period a f) g 0) : |
| @@ -115,23 +95,4 @@ theorem realHeatList_generator_pos {ι : Type*} (indices : List ι) (direction : | ||
| 115 | 95 | rw [halg] at h |
| 116 | 96 | exact h |
| 117 | 97 | |
| 118 | -/-- The full directional generator identity holds as a right derivative at zero as well. -/ | |
| 119 | -theorem realHeatList_generator_zero {ι : Type*} (indices : List ι) (direction : ι → LiftTangent) | |
| 120 | - (f : LiftL2 period) (df ddf : ι → LiftL2 period) | |
| 121 | - (hD : ∀ i ∈ indices, HasDerivAt (lineOrbit period (direction i) f) (df i) 0) | |
| 122 | - (hDD : ∀ i ∈ indices, HasDerivAt (lineOrbit period (direction i) (df i)) (ddf i) 0) : | |
| 123 | - HasDerivWithinAt (fun s => realHeatList period (indices.map direction) s f) | |
| 124 | - ((1/2 : ℝ) • (indices.map ddf).sum) (Set.Ici 0) 0 := by | |
| 125 | - have hlim : Filter.Tendsto (fun s => (1/2 : ℝ) • realHeatList period (indices.map direction) s ((indices.map ddf).sum)) | |
| 126 | - (𝓝[>] (0 : ℝ)) (𝓝 ((1/2 : ℝ) • (indices.map ddf).sum)) := by | |
| 127 | - have hc : ContinuousAt (fun s => (1/2 : ℝ) • realHeatList period (indices.map direction) s ((indices.map ddf).sum)) 0 := | |
| 128 | - ((realHeatList_continuous period _ _).const_smul (1/2 : ℝ)).continuousAt | |
| 129 | - simpa only [realHeatList_zero_time] using (hc.continuousWithinAt (s := Set.Ioi 0)).tendsto | |
| 130 | - apply hasDerivWithinAt_Ici_of_tendsto_deriv (s := Set.Ioi 0) | |
| 131 | - (fun t ht => (realHeatList_generator_pos period indices direction f df ddf hD hDD ht).differentiableAt.differentiableWithinAt) | |
| 132 | - (realHeatList_continuous period _ _).continuousAt.continuousWithinAt self_mem_nhdsWithin | |
| 133 | - apply hlim.congr' | |
| 134 | - filter_upwards [self_mem_nhdsWithin] with t ht | |
| 135 | - exact (realHeatList_generator_pos period indices direction f df ddf hD hDD ht).deriv.symm | |
| 136 | - | |
| 137 | 98 | end EulerGaussianCylinderHeat |
+0 −58 Euler/CylinderPathBilinear.lean View file
| @@ -26,67 +26,9 @@ theorem sum_components (u : Space) : (∑ i : Fin 3, component i u • basisVect | ||
| 26 | 26 | ext i |
| 27 | 27 | simp [component, basisVector, Pi.single_apply, mul_ite] |
| 28 | 28 | |
| 29 | -theorem bilinear_components (B : Space →L[ℝ] Space →L[ℝ] Space) (u v : Space) : | |
| 30 | - (∑ i : Fin 3, B (basisVector i) (component i u • v)) = B u v := by | |
| 31 | - have h := congrArg (fun z : Space => B z v) (sum_components u) | |
| 32 | - simpa only [map_sum, _root_.sum_apply, map_smul, smul_apply] using h | |
| 33 | - | |
| 34 | 29 | variable (P : ℝ) [Fact (0 < P)] {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 35 | 30 | (B : Space →L[ℝ] Space →L[ℝ] Space) (p q : C(K,LiftL2 P)) |
| 36 | 31 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 37 | 32 | (hq : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a q)) |
| 38 | 33 | |
| 39 | -def bilinearTerm (i : Fin 3) : C(K,LiftL2 P) := | |
| 40 | - pathMap P (B (basisVector i)) | |
| 41 | - (scalarProductPath P (component i) (component_norm i) p q hp hq) | |
| 42 | - | |
| 43 | -theorem bilinearTerm_orbit (i : Fin 3) : | |
| 44 | - ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (bilinearTerm P B p q hp hq i)) := | |
| 45 | - pathMap_orbit_contDiff P (B (basisVector i)) _ | |
| 46 | - (scalarProductPath_orbit P (component i) (component_norm i) p q hp hq) | |
| 47 | - | |
| 48 | -/-- An arbitrary fixed bilinear vector operation on the actual L² paths. -/ | |
| 49 | -def bilinearProductPath : C(K,LiftL2 P) := ∑ i : Fin 3, bilinearTerm P B p q hp hq i | |
| 50 | - | |
| 51 | -theorem bilinearProductPath_orbit : | |
| 52 | - ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (bilinearProductPath P B p q hp hq)) := by | |
| 53 | - simp only [bilinearProductPath, map_sum] | |
| 54 | - exact ContDiff.sum (fun i _ => bilinearTerm_orbit P B p q hp hq i) | |
| 55 | - | |
| 56 | -theorem bilinearTerm_ae (i : Fin 3) (t : K) : | |
| 57 | - (bilinearTerm P B p q hp hq i t : LiftDomain P → Space) =ᵐ[liftMeasure P] | |
| 58 | - fun x => B (basisVector i) (component i (pointField P p hp t x) • pointField P q hq t x) := by | |
| 59 | - filter_upwards [map_ae P (B (basisVector i)) | |
| 60 | - (scalarProductPath P (component i) (component_norm i) p q hp hq t), | |
| 61 | - scalarProductPath_ae P (component i) (component_norm i) p q hp hq t] with x hm hp | |
| 62 | - exact hm.trans (congrArg (B (basisVector i)) hp) | |
| 63 | - | |
| 64 | -theorem bilinearProductPath_ae (t : K) : | |
| 65 | - (bilinearProductPath P B p q hp hq t : LiftDomain P → Space) =ᵐ[liftMeasure P] | |
| 66 | - fun x => B (pointField P p hp t x) (pointField P q hq t x) := by | |
| 67 | - have ht : ∀ᶠ x in ae (liftMeasure P), ∀ i : Fin 3, | |
| 68 | - bilinearTerm P B p q hp hq i t x = | |
| 69 | - B (basisVector i) (component i (pointField P p hp t x) • pointField P q hq t x) := | |
| 70 | - Filter.eventually_all.mpr (fun i => bilinearTerm_ae P B p q hp hq i t) | |
| 71 | - have hs := Lp.coeFn_fun_finsetSum (univ : Finset (Fin 3)) | |
| 72 | - (fun i => bilinearTerm P B p q hp hq i t) | |
| 73 | - filter_upwards [hs,ht] with x hs ht | |
| 74 | - change (∑ i : Fin 3, bilinearTerm P B p q hp hq i t) x = _ | |
| 75 | - rw [hs] | |
| 76 | - exact (sum_congr rfl (fun i _ => ht i)).trans | |
| 77 | - (bilinear_components B (pointField P p hp t x) (pointField P q hq t x)) | |
| 78 | - | |
| 79 | -/-- The reconstructed field agrees everywhere with the literal nonlinearity. -/ | |
| 80 | -theorem pointField_bilinearProductPath (t : K) (x : LiftDomain P) : | |
| 81 | - pointField P (bilinearProductPath P B p q hp hq) | |
| 82 | - (bilinearProductPath_orbit P B p q hp hq) t x = | |
| 83 | - B (pointField P p hp t x) (pointField P q hq t x) := by | |
| 84 | - have he := Measure.eq_of_ae_eq | |
| 85 | - ((pointField_ae P _ (bilinearProductPath_orbit P B p q hp hq) t).symm.trans | |
| 86 | - (bilinearProductPath_ae P B p q hp hq t)) | |
| 87 | - (smoothField_continuous P _ (pointField_smooth P _ _ t)) | |
| 88 | - ((B.continuous.comp (smoothField_continuous P _ (pointField_smooth P p hp t))).clm_apply | |
| 89 | - (smoothField_continuous P _ (pointField_smooth P q hq t))) | |
| 90 | - exact congrFun he x | |
| 91 | - | |
| 92 | 34 | end EulerCylinderPathProduct |
+0 −53 Euler/CylinderPathBilinearBounds.lean View file
| @@ -20,61 +20,8 @@ private local instance : NormedSpace ℝ (LiftL2 P) := inferInstance | ||
| 20 | 20 | private local instance : NormedAddCommGroup C(K,LiftL2 P) := inferInstance |
| 21 | 21 | private local instance : NormedSpace ℝ C(K,LiftL2 P) := inferInstance |
| 22 | 22 | |
| 23 | -theorem pathMap_block_le (A : Space →L[ℝ] Space) (p : C(K,LiftL2 P)) | |
| 24 | - (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) | |
| 25 | - (q n : ℕ) (a : LiftTangent) : | |
| 26 | - block standardDirection q (fun b : LiftTangent => pathTranslate P b (pathMap P A p)) n a ≤ | |
| 27 | - ‖A‖*block standardDirection q (fun b : LiftTangent => pathTranslate P b p) n a := by | |
| 28 | - have he : (fun b : LiftTangent => pathTranslate P b (pathMap P A p)) = | |
| 29 | - pathMap P A ∘ (fun b : LiftTangent => pathTranslate P b p) := | |
| 30 | - funext (fun b => (pathMap_translation P A b p).symm) | |
| 31 | - rw [he] | |
| 32 | - have hnorm : ‖pathMap (K := K) P A‖ ≤ ‖A‖ := pathMap_norm (K := K) P A | |
| 33 | - have h := block_comp_clm_le (P := LiftTangent) (E := C(K,LiftL2 P)) (F := C(K,LiftL2 P)) | |
| 34 | - standardDirection q (pathMap (K := K) P A) | |
| 35 | - (fun b : LiftTangent => pathTranslate P b p) hp n a | |
| 36 | - exact h.trans (mul_le_mul_of_nonneg_right hnorm | |
| 37 | - (block_nonneg standardDirection q (fun b : LiftTangent => pathTranslate P b p) n a)) | |
| 38 | - | |
| 39 | 23 | variable (B : Space →L[ℝ] Space →L[ℝ] Space) (p q : C(K,LiftL2 P)) |
| 40 | 24 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 41 | 25 | (hq : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a q)) |
| 42 | 26 | |
| 43 | -/-- The field word radius is unchanged by an arbitrary fixed bounded bilinear vector map. -/ | |
| 44 | -theorem bilinearProductPath_majorant (R A C : ℝ) (hR : 0 ≤ R) (hA : 0 ≤ A) (hC : 0 ≤ C) | |
| 45 | - (d e : ℕ) (a : LiftTangent) | |
| 46 | - (hb : ∀ n, block standardDirection 6 (fun b : LiftTangent => pathTranslate P b p) n a ≤ | |
| 47 | - A*majorant R d n) | |
| 48 | - (hc : ∀ n, block standardDirection 6 (fun b : LiftTangent => pathTranslate P b q) n a ≤ | |
| 49 | - C*majorant R e n) (n : ℕ) : | |
| 50 | - block standardDirection 6 | |
| 51 | - (fun b : LiftTangent => pathTranslate P b (bilinearProductPath P B p q hp hq)) n a ≤ | |
| 52 | - (9*productBlockConstant P*‖B‖*A*C)*majorant R (d+e) n := by | |
| 53 | - have ht (i : Fin 3) : | |
| 54 | - block standardDirection 6 | |
| 55 | - (fun b : LiftTangent => pathTranslate P b (bilinearTerm P B p q hp hq i)) n a ≤ | |
| 56 | - (3*productBlockConstant P*‖B‖*A*C)*majorant R (d+e) n := by | |
| 57 | - have hi : ‖B (basisVector i)‖ ≤ ‖B‖ := by | |
| 58 | - simpa [basisVector] using B.le_opNorm (basisVector i) | |
| 59 | - have hs := scalarProductPath_majorant P (component i) (component_norm i) | |
| 60 | - p q hp hq R A C hR hA hC d e a hb hc n | |
| 61 | - have hpos : 0 ≤ (3*productBlockConstant P*A*C)*majorant R (d+e) n := | |
| 62 | - mul_nonneg (by have := productBlockConstant_nonneg P; positivity) (majorant_nonneg R hR _ _) | |
| 63 | - have h := (pathMap_block_le P (B (basisVector i)) | |
| 64 | - (scalarProductPath P (component i) (component_norm i) p q hp hq) | |
| 65 | - (scalarProductPath_orbit P (component i) (component_norm i) p q hp hq) 6 n a).trans | |
| 66 | - (mul_le_mul_of_nonneg_left hs (norm_nonneg _)) | |
| 67 | - exact h.trans ((mul_le_mul_of_nonneg_right hi hpos).trans_eq (by ring)) | |
| 68 | - let f := fun i : Fin 3 => fun b : LiftTangent => pathTranslate P b (bilinearTerm P B p q hp hq i) | |
| 69 | - have he : (fun b : LiftTangent => pathTranslate P b (bilinearProductPath P B p q hp hq)) = | |
| 70 | - ∑ i : Fin 3, f i := by | |
| 71 | - funext b | |
| 72 | - simp only [bilinearProductPath, map_sum, f, Finset.sum_apply] | |
| 73 | - rw [he] | |
| 74 | - have h := block_finset_sum_le standardDirection 6 univ f | |
| 75 | - (fun i _ => bilinearTerm_orbit P B p q hp hq i) n a | |
| 76 | - exact h.trans ((sum_le_sum (fun i _ => ht i)).trans_eq (by | |
| 77 | - simp only [sum_const, card_univ, Fintype.card_fin, nsmul_eq_mul, Nat.cast_ofNat] | |
| 78 | - ring)) | |
| 79 | - | |
| 80 | 27 | end EulerCylinderPathProduct |
+0 −50 Euler/CylinderPathProductSupport.lean View file
| @@ -32,54 +32,4 @@ variable (p q : C(K,LiftL2 P)) | ||
| 32 | 32 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 33 | 33 | (hq : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a q)) |
| 34 | 34 | |
| 35 | -theorem scalarProductPath_supported_left (L : Space →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) | |
| 36 | - (hs : ∀ t, p t ∈ Supported P Space S hS) (t : K) : | |
| 37 | - scalarProductPath P L hL p q hp hq t ∈ Supported P Space S hS := by | |
| 38 | - apply (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 39 | - (spatialSet_measurable P S hS) _).mpr | |
| 40 | - have hzero := (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 41 | - (spatialSet_measurable P S hS) (p t)).mp (hs t) | |
| 42 | - filter_upwards [hzero,scalarProductPath_ae P L hL p q hp hq t,pointField_ae P p hp t] | |
| 43 | - with x hz hr hrep hx | |
| 44 | - rw [hr, ← hrep, hz hx, map_zero, zero_smul] | |
| 45 | - | |
| 46 | -theorem scalarProductPath_supported_right (L : Space →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) | |
| 47 | - (hs : ∀ t, q t ∈ Supported P Space S hS) (t : K) : | |
| 48 | - scalarProductPath P L hL p q hp hq t ∈ Supported P Space S hS := by | |
| 49 | - apply (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 50 | - (spatialSet_measurable P S hS) _).mpr | |
| 51 | - have hzero := (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 52 | - (spatialSet_measurable P S hS) (q t)).mp (hs t) | |
| 53 | - filter_upwards [hzero,scalarProductPath_ae P L hL p q hp hq t,pointField_ae P q hq t] | |
| 54 | - with x hz hr hrep hx | |
| 55 | - rw [hr, ← hrep, hz hx, smul_zero] | |
| 56 | - | |
| 57 | -theorem bilinearProductPath_supported_left (B : Space →L[ℝ] Space →L[ℝ] Space) | |
| 58 | - (hs : ∀ t, p t ∈ Supported P Space S hS) (t : K) : | |
| 59 | - bilinearProductPath P B p q hp hq t ∈ Supported P Space S hS := by | |
| 60 | - apply (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 61 | - (spatialSet_measurable P S hS) _).mpr | |
| 62 | - have hzero := (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 63 | - (spatialSet_measurable P S hS) (p t)).mp (hs t) | |
| 64 | - filter_upwards [hzero,bilinearProductPath_ae P B p q hp hq t,pointField_ae P p hp t] | |
| 65 | - with x hz hr hrep hx | |
| 66 | - rw [hr, ← hrep, hz hx, map_zero, zero_apply] | |
| 67 | - | |
| 68 | -theorem scalarDerivativeProductPath_supported (L : Space →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) | |
| 69 | - (hs : ∀ t, p t ∈ Supported P Space S hS) (i : Fin 4) (t : K) : | |
| 70 | - scalarDerivativeProductPath P L hL p q hp hq i t ∈ Supported P Space S hS := | |
| 71 | - scalarProductPath_supported_left P S hS p (derivativePath P q i) hp | |
| 72 | - (derivativePath_orbit P q hq i) L hL hs t | |
| 73 | - | |
| 74 | -theorem advectionPath_supported (hs : ∀ t, p t ∈ Supported P Space S hS) (t : K) : | |
| 75 | - advectionPath P p q hp hq t ∈ Supported P Space S hS := by | |
| 76 | - apply (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 77 | - (spatialSet_measurable P S hS) _).mpr | |
| 78 | - have hzero := (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) | |
| 79 | - (spatialSet_measurable P S hS) (p t)).mp (hs t) | |
| 80 | - filter_upwards [hzero,advectionPath_ae P p q hp hq t,pointField_ae P p hp t] | |
| 81 | - with x hz hr hrep hx | |
| 82 | - rw [hr, ← hrep, hz hx] | |
| 83 | - exact map_zero _ | |
| 84 | - | |
| 85 | 35 | end EulerCylinderPathProduct |
+0 −47 Euler/CylinderPeriodicFlow.lean View file
| @@ -28,53 +28,6 @@ theorem flow_deck (s t : ℝ) (c : AddSubgroup.zmultiples P) (z : LiftTangent) : | ||
| 28 | 28 | |
| 29 | 29 | def flow (s t : ℝ) : LiftDomain P → LiftDomain P := descendMap P (V.flow s t) |
| 30 | 30 | |
| 31 | -include hV in | |
| 32 | -theorem flow_cover (s t : ℝ) (z : LiftTangent) : | |
| 33 | - flow P V s t (coveringMap P z) = coveringMap P (V.flow s t z) := | |
| 34 | - descendMap_cover P (V.flow s t) (flow_deck P V hV s t) z | |
| 35 | - | |
| 36 | -include hV in | |
| 37 | -theorem flow_continuous (s t : ℝ) : Continuous (flow P V s t) := | |
| 38 | - descendMap_continuous P (V.flow s t) (flow_deck P V hV s t) (V.flowHomeomorph s t).continuous | |
| 39 | - | |
| 40 | -include hV in | |
| 41 | -theorem flow_initial (s : ℝ) (q : LiftDomain P) : flow P V s s q=q := by | |
| 42 | - obtain ⟨z,rfl⟩ := (coveringMap_isOpenQuotient P).surjective q | |
| 43 | - rw [flow_cover P V hV,V.flow_initial] | |
| 44 | - | |
| 45 | -include hV in | |
| 46 | -theorem flow_inverse (s t : ℝ) : Function.LeftInverse (flow P V t s) (flow P V s t) := | |
| 47 | - descendMap_leftInverse P (V.flow s t) (flow_deck P V hV s t) | |
| 48 | - (V.flow t s) (flow_deck P V hV t s) (V.flow_inverse s t) | |
| 49 | - | |
| 50 | -include hV in | |
| 51 | -theorem flow_cocycle (r s t : ℝ) (q : LiftDomain P) : | |
| 52 | - flow P V s t (flow P V r s q)=flow P V r t q := by | |
| 53 | - obtain ⟨z,rfl⟩ := (coveringMap_isOpenQuotient P).surjective q | |
| 54 | - rw [flow_cover P V hV,flow_cover P V hV,flow_cover P V hV,V.flow_cocycle] | |
| 55 | - | |
| 56 | -def flowHomeomorph (s t : ℝ) : LiftDomain P ≃ₜ LiftDomain P where | |
| 57 | - toFun := flow P V s t | |
| 58 | - invFun := flow P V t s | |
| 59 | - left_inv := flow_inverse P V hV s t | |
| 60 | - right_inv := flow_inverse P V hV t s | |
| 61 | - continuous_toFun := flow_continuous P V hV s t | |
| 62 | - continuous_invFun := flow_continuous P V hV t s | |
| 63 | - | |
| 64 | -include hV in | |
| 65 | -theorem forward_joint_continuous : Continuous (fun z : ℝ × LiftDomain P => flow P V 0 z.1 z.2) := by | |
| 66 | - have hf : Continuous (fun z : ℝ × LiftTangent => coveringMap P (V.forward z.1 z.2)) := | |
| 67 | - (coveringMap_isOpenQuotient P).continuous.comp V.forward_joint_continuous | |
| 68 | - exact descend_joint_continuous P (fun t z => coveringMap P (V.forward t z)) hf | |
| 69 | - (fun t => map_fiber_constant P (V.flow 0 t) (flow_deck P V hV 0 t)) | |
| 70 | - | |
| 71 | -include hV in | |
| 72 | -theorem backward_joint_continuous : Continuous (fun z : ℝ × LiftDomain P => flow P V z.1 0 z.2) := by | |
| 73 | - have hf : Continuous (fun z : ℝ × LiftTangent => coveringMap P (V.backward z.1 z.2)) := | |
| 74 | - (coveringMap_isOpenQuotient P).continuous.comp V.backward_joint_continuous | |
| 75 | - exact descend_joint_continuous P (fun t z => coveringMap P (V.backward t z)) hf | |
| 76 | - (fun t => map_fiber_constant P (V.flow t 0) (flow_deck P V hV t 0)) | |
| 77 | - | |
| 78 | 31 | include hV in |
| 79 | 32 | theorem flow_measurePreserving (s t : ℝ) (hf : MeasurePreserving (V.flow s t) volume volume) : |
| 80 | 33 | MeasurePreserving (flow P V s t) (liftMeasure P) (liftMeasure P) := |
+0 −25 Euler/CylinderPotentialTime.lean View file
| @@ -50,29 +50,4 @@ theorem potentialPath_hasDerivWithinAt (t : Icc (0 : ℝ) T) : | ||
| 50 | 50 | fullProduct_hasDerivWithinAt P T hT B B₁ hBt (pathPrimitive P p) (pathPrimitive P f) |
| 51 | 51 | (pathPrimitive_time_derivative P T hT p f hd) t |
| 52 | 52 | |
| 53 | -theorem potentialField_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain P) : | |
| 54 | - HasDerivWithinAt (fun r => potentialField P B hB p hp (projIcc 0 T hT r) x) | |
| 55 | - (pointField P (potentialDerivative P T B B₁ p f) | |
| 56 | - (potentialDerivative_orbit P T B B₁ hB hB₁ p f hp hf) t x) (Icc (0 : ℝ) T) t := | |
| 57 | - pointField_hasDerivWithinAt P T hT (potentialPath P B p) (potentialDerivative P T B B₁ p f) | |
| 58 | - (potentialPath_orbit P B hB p hp) (potentialDerivative_orbit P T B B₁ hB hB₁ p f hp hf) | |
| 59 | - (potentialPath_hasDerivWithinAt P T hT B B₁ p f hBt hd) t x | |
| 60 | - | |
| 61 | -/-- The actual curl derivative is obtained from the constructed potential, not assumed as a profile jet. -/ | |
| 62 | -theorem potentialCurl_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain P) | |
| 63 | - (F : ℝ → Space → Space ≃L[ℝ] Space) (G₁ : Space →L[ℝ] Space) | |
| 64 | - (hG : HasDerivWithinAt (fun r => (F r x.1).symm.toContinuousLinearMap) G₁ | |
| 65 | - (Icc (0 : ℝ) T) t) : | |
| 66 | - HasDerivWithinAt | |
| 67 | - (fun r => liftedSlowCurl P (F r) (potentialField P B hB p hp (projIcc 0 T hT r)) x) | |
| 68 | - (liftedSlowCurl P (F t) | |
| 69 | - (pointField P (potentialDerivative P T B B₁ p f) | |
| 70 | - (potentialDerivative_orbit P T B B₁ hB hB₁ p f hp hf) t) x + | |
| 71 | - curlMatrix ((fieldFDeriv P (potentialField P B hB p hp t) x).comp | |
| 72 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp G₁))) | |
| 73 | - (Icc (0 : ℝ) T) t := | |
| 74 | - liftedSlowCurl_hasDerivWithinAt P T hT (potentialPath P B p) (potentialDerivative P T B B₁ p f) | |
| 75 | - (potentialPath_orbit P B hB p hp) (potentialDerivative_orbit P T B B₁ hB hB₁ p f hp hf) | |
| 76 | - (potentialPath_hasDerivWithinAt P T hT B B₁ p f hBt hd) t x F G₁ hG | |
| 77 | - | |
| 78 | 53 | end EulerCylinderPotential |
+0 −4 Euler/CylinderReflection.lean View file
| @@ -34,10 +34,6 @@ theorem reflection_ae (f : LiftL2 period) : | ||
| 34 | 34 | (measurePreserving_reflection period).quasiMeasurePreserving.ae (reflection_ae period f)] with x hx hy |
| 35 | 35 | rw [hx, hy, neg_neg] |
| 36 | 36 | |
| 37 | -/-- Reflection preserves the actual L² norm. -/ | |
| 38 | -theorem reflection_norm (f : LiftL2 period) : ‖reflection period f‖ = ‖f‖ := | |
| 39 | - (reflection period).norm_map f | |
| 40 | - | |
| 41 | 37 | /-- Reflection reverses translations in every spatial or angular direction. -/ |
| 42 | 38 | theorem reflection_translation (a : LiftDomain period) (f : LiftL2 period) : |
| 43 | 39 | reflection period (translation period a f) = translation period (-a) (reflection period f) := by |
+0 −5 Euler/CylinderRetractRepresentative.lean View file
| @@ -26,11 +26,6 @@ variable (P : ℝ) [Fact (0 < P)] {U : Type*} | ||
| 26 | 26 | def pointField (t : K) (x : LiftDomain P) : U := |
| 27 | 27 | L (EulerCylinderSmoothOrbit.pointField P (pathMap P J p) (pathMap_orbit_contDiff P J p hp) t x) |
| 28 | 28 | |
| 29 | -theorem pointField_joint_continuous : | |
| 30 | - Continuous (fun z : K × LiftDomain P => pointField P J L p hp z.1 z.2) := | |
| 31 | - L.continuous.comp (EulerCylinderSmoothOrbit.pointField_joint_continuous P | |
| 32 | - (pathMap P J p) (pathMap_orbit_contDiff P J p hp)) | |
| 33 | - | |
| 34 | 29 | theorem pointField_smooth (t : K) (x : LiftDomain P) : |
| 35 | 30 | ContDiff ℝ ∞ (localFieldLift P (pointField P J L p hp t) x) := |
| 36 | 31 | L.contDiff.comp (EulerCylinderSmoothOrbit.pointField_smooth P |
+0 −5 Euler/CylinderScalarClassical.lean View file
| @@ -69,11 +69,6 @@ theorem classicalPrimitive_smooth | ||
| 69 | 69 | rw [he] |
| 70 | 70 | exact hq.comp (contDiff_const.add contDiff_id) |
| 71 | 71 | |
| 72 | -theorem classicalPrimitive_continuous | |
| 73 | - (hfs : ∀ x, ContDiff ℝ ∞ (localFieldLift P f x)) : | |
| 74 | - Continuous (classicalPrimitive P f hf hmean) := | |
| 75 | - smoothField_continuous P _ (classicalPrimitive_smooth P f hf hmean hfs) | |
| 76 | - | |
| 77 | 72 | omit [Fact (0 < P)] in |
| 78 | 73 | /-- Angular integration does not spread spatial support. -/ |
| 79 | 74 | theorem classicalPrimitive_zero (y : Space) (hy : ∀ θ : AddCircle P, f (y,θ) = 0) (θ : AddCircle P) : |
+0 −7 Euler/CylinderSlowCurl.lean View file
| @@ -98,12 +98,5 @@ theorem field_formula (t : K) (x : LiftDomain P) : | ||
| 98 | 98 | (hD.clm_comp (continuous_const.clm_comp ((G t).continuous.comp continuous_fst))) |
| 99 | 99 | exact congrFun he x |
| 100 | 100 | |
| 101 | -theorem field_eq_liftedSlowCurl (F : K → Space → Space ≃L[ℝ] Space) | |
| 102 | - (hF : ∀ t y, G t y = (F t y).symm.toContinuousLinearMap) (t : K) : | |
| 103 | - field P G hG p hp t = liftedSlowCurl P (F t) (pointField P p hp t) := by | |
| 104 | - funext x | |
| 105 | - rw [field_formula, hF] | |
| 106 | - rfl | |
| 107 | - | |
| 108 | 101 | |
| 109 | 102 | end EulerCylinderSlowCurl |
+0 −10 Euler/CylinderSlowCurlTime.lean View file
| @@ -57,16 +57,6 @@ theorem path_hasDerivWithinAt (t : Icc (0 : ℝ) T) : | ||
| 57 | 57 | convert h using 1 <;> try rfl |
| 58 | 58 | simp [derivative, path, Finset.sum_add_distrib] |
| 59 | 59 | |
| 60 | -include hGt hd in | |
| 61 | -/-- The reconstructed classical curl has the derivative of the actual L² construction. -/ | |
| 62 | -theorem field_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain P) : | |
| 63 | - HasDerivWithinAt (fun r => field P G hG p hp (projIcc 0 T hT r) x) | |
| 64 | - (pointField P (derivative P T G G₁ p f) | |
| 65 | - (derivative_orbit P T G G₁ hG hG₁ p f hp hf) t x) (Icc (0 : ℝ) T) t := | |
| 66 | - pointField_hasDerivWithinAt P T hT (path P G p) (derivative P T G G₁ p f) | |
| 67 | - (path_orbit P G hG p hp) (derivative_orbit P T G G₁ hG hG₁ p f hp hf) | |
| 68 | - (path_hasDerivWithinAt P T hT G G₁ p f hp hf hGt hd) t x | |
| 69 | - | |
| 70 | 60 | include hG hG₁ hp hf in |
| 71 | 61 | /-- The true curl time derivative retains the same radius and one spatial shift. -/ |
| 72 | 62 | theorem derivative_block_bound (q : ℕ) (Rc C R D : ℝ) |
+0 −11 Euler/CylinderSobolevDensity.lean View file
| @@ -51,15 +51,4 @@ theorem sobolevMollifier_word_ae {q k : ℕ} (hk : k ≤ q) (n : ℕ) (u : Sobol | ||
| 51 | 51 | rw [toJet_word period u hk] at h |
| 52 | 52 | exact h |
| 53 | 53 | |
| 54 | -/-- Fields with actual smooth cylinder representatives are dense in the complete Sobolev space. -/ | |
| 55 | -theorem smooth_representatives_dense (q : ℕ) : | |
| 56 | - Dense {u : SobolevSpace period q | ∃ g : LiftDomain period → Vector3, | |
| 57 | - (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g ∧ | |
| 58 | - ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)} := by | |
| 59 | - intro u | |
| 60 | - apply mem_closure_of_tendsto (sobolevMollifier_tendsto period u) | |
| 61 | - exact Filter.Eventually.of_forall fun n => | |
| 62 | - ⟨smoothMollifier period n (value period u), sobolevMollifier_representative period n u, | |
| 63 | - smoothMollifier_smooth period n (value period u)⟩ | |
| 64 | - | |
| 65 | 54 | end EulerCylinderSobolevSpace |
+0 −9 Euler/CylinderSobolevDerivatives.lean View file
| @@ -91,13 +91,4 @@ theorem derivativeOperator_hasDerivAt {q : ℕ} (i : Fin 4) (u : SobolevSpace pe | ||
| 91 | 91 | (u.val (emptyWord (q + 1)))) (u.val (derivativeIndex i (emptyWord q))) 0 |
| 92 | 92 | simpa only [word, emptyWord, derivativeIndex, hw] using hd |
| 93 | 93 | |
| 94 | -/-- Coordinate differentiation commutes with actual Sobolev translation. -/ | |
| 95 | -theorem derivativeOperator_translation {q : ℕ} (i : Fin 4) (a : LiftDomain period) | |
| 96 | - (u : SobolevSpace period (q + 1)) : | |
| 97 | - derivativeOperator period q i (sobolevTranslation period (q + 1) a u) = | |
| 98 | - sobolevTranslation period q a (derivativeOperator period q i u) := by | |
| 99 | - apply Subtype.ext | |
| 100 | - funext w | |
| 101 | - rfl | |
| 102 | - | |
| 103 | 94 | end EulerCylinderSobolevSpace |
+0 −23 Euler/CylinderSobolevOperators.lean View file
| @@ -96,12 +96,6 @@ theorem liftOperator_bound {q : ℕ} (A : LiftL2 period →L[ℝ] LiftL2 period) | ||
| 96 | 96 | intro w |
| 97 | 97 | exact (A.le_opNorm _).trans (mul_le_mul_of_nonneg_left (word_norm_le period u w) (norm_nonneg A)) |
| 98 | 98 | |
| 99 | -/-- The operator norm bound for an operator lifted to the complete Sobolev space. -/ | |
| 100 | -theorem norm_liftOperator_le (q : ℕ) (A : LiftL2 period →L[ℝ] LiftL2 period) | |
| 101 | - (hA : ∀ a f, A (translation period a f) = translation period a (A f)) : | |
| 102 | - ‖liftOperator period q A hA‖ ≤ ‖A‖ := | |
| 103 | - ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg A) (liftOperator_bound period A hA) | |
| 104 | - | |
| 105 | 99 | /-- The action on the underlying field is exactly the original L² operator. -/ |
| 106 | 100 | @[simp] |
| 107 | 101 | theorem value_liftOperator {q : ℕ} (A : LiftL2 period →L[ℝ] LiftL2 period) |
| @@ -117,23 +111,6 @@ theorem translations_commute (a b : LiftDomain period) (f : LiftL2 period) : | ||
| 117 | 111 | def sobolevTranslation (q : ℕ) (a : LiftDomain period) : SobolevSpace period q →L[ℝ] SobolevSpace period q := |
| 118 | 112 | liftOperator period q (translation period a).toContinuousLinearMap (translations_commute period a) |
| 119 | 113 | |
| 120 | -/-- Cylinder translation preserves the complete Sobolev norm exactly. -/ | |
| 121 | -theorem sobolevTranslation_norm {q : ℕ} (a : LiftDomain period) (u : SobolevSpace period q) : | |
| 122 | - ‖sobolevTranslation period q a u‖ = ‖u‖ := by | |
| 123 | - apply le_antisymm | |
| 124 | - · change ‖(sobolevTranslation period q a u).val‖ ≤ ‖u.val‖ | |
| 125 | - apply (pi_norm_le_iff_of_nonneg (norm_nonneg u.val)).mpr | |
| 126 | - intro w | |
| 127 | - change ‖translation period a (u.val w)‖ ≤ ‖u.val‖ | |
| 128 | - rw [(translation period a).norm_map] | |
| 129 | - exact norm_le_pi_norm u.val w | |
| 130 | - · change ‖u.val‖ ≤ ‖(sobolevTranslation period q a u).val‖ | |
| 131 | - apply (pi_norm_le_iff_of_nonneg (norm_nonneg _)).mpr | |
| 132 | - intro w | |
| 133 | - have h := norm_le_pi_norm (sobolevTranslation period q a u).val w | |
| 134 | - change ‖translation period a (u.val w)‖ ≤ _ at h | |
| 135 | - simpa only [(translation period a).norm_map] using h | |
| 136 | - | |
| 137 | 114 | /-- The translation action is strongly continuous in the complete Sobolev topology. -/ |
| 138 | 115 | theorem sobolevTranslation_continuous {q : ℕ} (u : SobolevSpace period q) : |
| 139 | 116 | Continuous (fun a => sobolevTranslation period q a u) := by |
+0 −3 Euler/CylinderSobolevSpace.lean View file
| @@ -56,9 +56,6 @@ instance sobolevNormedAddCommGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace | ||
| 56 | 56 | instance sobolevNormedSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := |
| 57 | 57 | inferInstanceAs (NormedSpace ℝ (sobolevSubspace period q).toSubmodule) |
| 58 | 58 | |
| 59 | -/-- Completeness follows from closedness of the derivative graphs in a finite product of L² spaces. -/ | |
| 60 | -theorem sobolev_complete (q : ℕ) : CompleteSpace (SobolevSpace period q) := inferInstance | |
| 61 | - | |
| 62 | 59 | /-- The underlying L² field of a Sobolev derivative array. -/ |
| 63 | 60 | def value {q : ℕ} (u : SobolevSpace period q) : LiftL2 period := u.val (emptyWord q) |
| 64 | 61 | |
+0 −10 Euler/CylinderSpatialMeanPath.lean View file
| @@ -67,14 +67,4 @@ theorem pathMean_block_bound (directions : ι → X) (q : ℕ) | ||
| 67 | 67 | directions q (pathMean (K := K) (V := V) P) f hf n x |
| 68 | 68 | exact h.trans (mul_le_mul_of_nonneg_right (pathMean_norm P) (block_nonneg directions q f n x)) |
| 69 | 69 | |
| 70 | -theorem pathMean_block_majorant (directions : ι → X) (q : ℕ) | |
| 71 | - (f : X → C(K,CylinderL2 P V)) (hf : ContDiff ℝ ∞ f) (R C : ℝ) (d : ℕ) | |
| 72 | - (hb : ∀ n x, block directions q f n x ≤ C*majorant R d n) (n : ℕ) (x : X) : | |
| 73 | - block directions q (fun y => pathMean P (f y)) n x ≤ | |
| 74 | - ((P⁻¹*Real.sqrt P)*C)*majorant R d n := | |
| 75 | - (pathMean_block_bound P directions q f hf n x).trans | |
| 76 | - ((mul_le_mul_of_nonneg_left (hb n x) | |
| 77 | - (mul_nonneg (inv_nonneg.mpr (le_of_lt (Fact.out : 0 < P))) (Real.sqrt_nonneg P))).trans_eq | |
| 78 | - (mul_assoc (P⁻¹*Real.sqrt P) C _).symm) | |
| 79 | - | |
| 80 | 70 | end EulerCylinderSpatialMean |
+0 −5 Euler/CylinderSpatialMeanTime.lean View file
| @@ -43,9 +43,4 @@ theorem mean_pointField_eq (t : K) : | ||
| 43 | 43 | (by simpa only [sobolevPath_value] using pointField_ae P p hp t) |
| 44 | 44 | · exact pathMean_pointField_ae P p hp t |
| 45 | 45 | |
| 46 | -theorem rawMean_pointField_contDiff (t : K) : | |
| 47 | - ContDiff ℝ ∞ (rawMean P (pointField P p hp t)) := by | |
| 48 | - rw [← mean_pointField_eq P p hp t] | |
| 49 | - exact EulerMeanSmoothRepresentative.representative_smooth _ _ | |
| 50 | - | |
| 51 | 46 | end EulerCylinderSpatialMean |
+0 −36 Euler/CylinderTerminalAmplitude.lean View file
| @@ -37,40 +37,4 @@ theorem constantPath_block_le (directions : ι → LiftTangent) (q : ℕ) | ||
| 37 | 37 | exact hb.trans ((mul_le_mul_of_nonneg_right hn (block_nonneg directions q _ n a)).trans_eq |
| 38 | 38 | (one_mul _)) |
| 39 | 39 | |
| 40 | -theorem terminal_amplitude_bound (directions : ι → LiftTangent) (q : ℕ) | |
| 41 | - (S : CylinderL2 P U →L[ℝ] C(K,CylinderL2 P V)) | |
| 42 | - (hs : ∀ Y : CylinderL2 P U, ContDiff ℝ ∞ (fun a : LiftTangent => translate P a Y) → | |
| 43 | - ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (S Y))) | |
| 44 | - (R C : ℝ) (d e : ℕ) | |
| 45 | - (hunit : ∀ Y : CylinderL2 P U, ∀ _hY : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a Y), | |
| 46 | - (∀ n, block directions q (fun a : LiftTangent => translate P a Y) n 0 ≤ majorant R d n) → | |
| 47 | - ∀ n, block directions q (fun a : LiftTangent => pathTranslate P a (S Y)) n 0 ≤ C*majorant R e n) | |
| 48 | - (Y : CylinderL2 P U) (hY : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a Y)) | |
| 49 | - (A : ℝ) (hA : 0 ≤ A) | |
| 50 | - (hb : ∀ n, block directions q (fun a : LiftTangent => translate P a Y) n 0 ≤ A*majorant R d n) | |
| 51 | - (n : ℕ) : | |
| 52 | - block directions q (fun a : LiftTangent => pathTranslate P a (S Y)) n 0 ≤ (C*A)*majorant R e n := by | |
| 53 | - by_cases hAz : A = 0 | |
| 54 | - · have hy : Y = 0 := by | |
| 55 | - have hh := value_zero_of_block_zero_bound directions q | |
| 56 | - (fun a : LiftTangent => translate P a Y) 0 (by simpa only [hAz,zero_mul] using hb 0) | |
| 57 | - simpa only [translate_zero] using hh | |
| 58 | - simp only [hy,map_zero,block_zero_function,hAz,mul_zero,zero_mul,le_refl] | |
| 59 | - · have hAp : 0 < A := lt_of_le_of_ne hA (Ne.symm hAz) | |
| 60 | - let Z : CylinderL2 P U := A⁻¹ • Y | |
| 61 | - have hZ : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a Z) := by | |
| 62 | - simpa only [Z,map_smul] using hY.const_smul A⁻¹ | |
| 63 | - have hbZ (k : ℕ) : block directions q (fun a : LiftTangent => translate P a Z) k 0 ≤ | |
| 64 | - majorant R d k := by | |
| 65 | - have hz := block_normalize_bound directions q (fun a : LiftTangent => translate P a Y) | |
| 66 | - hY A hAp R 1 d k 0 (by simpa only [one_mul] using hb k) | |
| 67 | - simpa only [Z,map_smul,one_mul] using hz | |
| 68 | - have hr := block_restore_bound directions q | |
| 69 | - (fun a : LiftTangent => pathTranslate P a (S Z)) | |
| 70 | - (fun a : LiftTangent => pathTranslate P a (S Y)) (hs Z hZ) A hA (by | |
| 71 | - intro a | |
| 72 | - simp only [Z,map_smul,smul_smul,mul_inv_cancel₀ hAz,one_smul]) R C e n 0 | |
| 73 | - (hunit Z hZ hbZ n) | |
| 74 | - exact hr.trans_eq (by ring) | |
| 75 | - | |
| 76 | 40 | end EulerLpCylinderTranslation |
+0 −10 Euler/CylinderTimePrecomposition.lean View file
| @@ -53,14 +53,4 @@ theorem pointField_timeComp (p : C(K,CylinderL2 P Space)) | ||
| 53 | 53 | · exact smoothField_continuous P _ (pointField_smooth P (p.comp φ) (timeComp_orbit_contDiff P p hp φ) t) |
| 54 | 54 | · exact smoothField_continuous P _ (pointField_smooth P p hp (φ t)) |
| 55 | 55 | |
| 56 | -theorem scalarPointField_timeComp (p : C(K,CylinderL2 P ℝ)) | |
| 57 | - (hp : ContDiff ℝ ∞ (fun a => pathTranslate P a p)) (φ : C(L,K)) (t : L) : | |
| 58 | - scalarPointField P (p.comp φ) (timeComp_orbit_contDiff P p hp φ) t = | |
| 59 | - scalarPointField P p hp (φ t) := | |
| 60 | - Measure.eq_of_ae_eq | |
| 61 | - ((scalarPointField_ae P (p.comp φ) (timeComp_orbit_contDiff P p hp φ) t).symm.trans | |
| 62 | - (scalarPointField_ae P p hp (φ t))) | |
| 63 | - (scalarPointField_continuous P (p.comp φ) (timeComp_orbit_contDiff P p hp φ) t) | |
| 64 | - (scalarPointField_continuous P p hp (φ t)) | |
| 65 | - | |
| 66 | 56 | end EulerLpCylinderTranslation |
+0 −64 Euler/CylinderViscousEnergy.lean View file
| @@ -21,68 +21,4 @@ def heatEnergyConstant (K : SmoothCoefficient period) (c : ℝ) : ℝ := | ||
| 21 | 21 | def transportEnergyConstant (K : SmoothCoefficient period) (κ : ℝ) (m : Vector3) (B : ℝ≥0) : ℝ := |
| 22 | 22 | (1 / 2 : ℝ) * K.firstBound * ((|κ| + ‖m‖) * B) |
| 23 | 23 | |
| 24 | -/-- The regularized root of a finite sum of actual cylinder word energies obeys the viscous estimate. -/ | |
| 25 | -theorem finite_cylinder_viscous_energy {ι : Type*} [Fintype ι] | |
| 26 | - (κ : ℝ) (m : Vector3) (K : ℝ → SmoothCoefficient period) (G : SmoothCoefficient period) | |
| 27 | - (e : ι → ℝ → LiftL2 period) (t δ c ν : ℝ) | |
| 28 | - (K' : LiftL2 period →L[ℝ] LiftL2 period) | |
| 29 | - (e' p forcing : ι → LiftL2 period) (z : LiftL2 period) | |
| 30 | - (J : ∀ i, SpatialJet period standardDirection 2 (e i t)) | |
| 31 | - (g : ι → LiftDomain period → Vector3) | |
| 32 | - (hrep : ∀ i, (e i t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g i) | |
| 33 | - (hg : ∀ i x, ContDiff ℝ ∞ (localFieldLift period (g i) x)) | |
| 34 | - (hDg : ∀ i, MemLp (fun x => fderiv ℝ (localFieldLift period (g i) x) 0) | |
| 35 | - 2 (liftMeasure period)) | |
| 36 | - (hδ : 0 < δ) (hc : 0 < c) (hν : 0 ≤ ν) | |
| 37 | - (hKt : HasDerivAt (fun s => (K s).operator) K' t) | |
| 38 | - (het : ∀ i, HasDerivAt (e i) (e' i) t) | |
| 39 | - (hsym : ∀ x v w, ⟪(K t).coefficient x v, w⟫_ℝ = ⟪v, (K t).coefficient x w⟫_ℝ) | |
| 40 | - (hpos : ∀ x v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪(K t).coefficient x v, v⟫_ℝ) | |
| 41 | - (hKG : ∀ x v, (K t).coefficient x (G.coefficient x v) = v) | |
| 42 | - (hediv : ∀ i, e i t ∈ divergenceFreeSpace period κ m) | |
| 43 | - (hp : ∀ i, p i ∈ gradientSpace period κ m) | |
| 44 | - (hz : z ∈ divergenceFreeSpace period κ m) (B : ℝ≥0) | |
| 45 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) | |
| 46 | - (heq : ∀ i, e' i + EulerRepresentativeMetricEvolution.liftedTransport period κ m | |
| 47 | - (g i) z (hDg i) B hzB + G.operator (p i) = forcing i + ν • jetLaplacian period (J i)) : | |
| 48 | - deriv (fun s => √(familyEnergy (K s).operator (fun i => e i s) + δ ^ 2)) t ≤ | |
| 49 | - ((‖K'‖ + 2 * transportEnergyConstant period (K t) κ m B + | |
| 50 | - 2 * ν * heatEnergyConstant period (K t) c) / (2 * c ^ 2)) * | |
| 51 | - √(familyEnergy (K t).operator (fun i => e i t) + δ ^ 2) + | |
| 52 | - (((K t).bound : ℝ) / c) * familyNorm forcing := by | |
| 53 | - let β := transportEnergyConstant period (K t) κ m B | |
| 54 | - let C := heatEnergyConstant period (K t) c | |
| 55 | - have hβ : 0 ≤ β := by dsimp [β, transportEnergyConstant]; positivity | |
| 56 | - have hC : 0 ≤ C := by dsimp [C, heatEnergyConstant]; positivity | |
| 57 | - have hcoer : ∀ u, c ^ 2 * ‖u‖ ^ 2 ≤ ⟪(K t).operator u, u⟫_ℝ := | |
| 58 | - coefficientOperator_coercive (K t).coefficient (K t).measurable | |
| 59 | - (K t).bound (K t).norm_bound (c ^ 2) hpos | |
| 60 | - have hsymL : ∀ v w, ⟪(K t).operator v, w⟫_ℝ = ⟪v, (K t).operator w⟫_ℝ := | |
| 61 | - coefficientOperator_inner_swap (K t).coefficient (K t).measurable | |
| 62 | - (K t).bound (K t).norm_bound hsym | |
| 63 | - have hpL (i : ι) : ⟪(K t).operator (e i t), G.operator (p i)⟫_ℝ = 0 := | |
| 64 | - metric_pressure_cancellation period κ m (K t).coefficient G.coefficient | |
| 65 | - (K t).measurable G.measurable (K t).bound G.bound (K t).norm_bound G.norm_bound | |
| 66 | - hsym hKG (hediv i) (hp i) | |
| 67 | - have htL (i : ι) : |⟪(K t).operator (e i t), | |
| 68 | - EulerRepresentativeMetricEvolution.liftedTransport period κ m (g i) z (hDg i) B hzB⟫_ℝ| ≤ | |
| 69 | - β * ‖e i t‖ ^ 2 := | |
| 70 | - EulerRepresentativeMetricEvolution.metric_transport_inner_bound period κ m (K t).coefficient | |
| 71 | - (K t).measurable (e i t) (g i) z (hrep i) (K t).smooth (hg i) (hDg i) hsym hz | |
| 72 | - (K t).bound (K t).firstBound B (K t).norm_bound (K t).norm_first hzB | |
| 73 | - have hheat (i : ι) : ⟪(K t).operator (e i t), jetLaplacian period (J i)⟫_ℝ ≤ C * ‖e i t‖ ^ 2 := by | |
| 74 | - have h := metric_heat_bound period (K t) (e i t) (J i) c hc hpos | |
| 75 | - have hd : 0 ≤ ∑ j : Fin 4, ‖(J i).word (fun _ : Fin 1 => j)‖ ^ 2 := | |
| 76 | - Finset.sum_nonneg (fun j _ => sq_nonneg _) | |
| 77 | - dsimp [C, heatEnergyConstant] | |
| 78 | - nlinarith [sq_nonneg c] | |
| 79 | - have h := family_regularized_energy_evolution (fun s => (K s).operator) e t δ c β C ν K' e' | |
| 80 | - (fun i => EulerRepresentativeMetricEvolution.liftedTransport period κ m (g i) z (hDg i) B hzB) | |
| 81 | - (fun i => G.operator (p i)) forcing (fun i => jetLaplacian period (J i)) | |
| 82 | - hδ hc hβ hC hν hcoer hKt het hsymL heq hpL htL hheat | |
| 83 | - have hop : ‖(K t).operator‖ ≤ (K t).bound := | |
| 84 | - coefficientOperator_norm_le (K t).coefficient (K t).measurable (K t).bound (K t).norm_bound | |
| 85 | - exact h.trans (add_le_add_right (mul_le_mul_of_nonneg_right | |
| 86 | - (div_le_div_of_nonneg_right hop hc.le) (familyNorm_nonneg forcing)) _) | |
| 87 | - | |
| 88 | 24 | end EulerCylinderViscousEnergy |
+0 −18 Euler/DeformationTimeInverse.lean View file
| @@ -43,22 +43,4 @@ theorem inverse_strain_hasDerivWithinAt (s : Set ℝ) (t : ℝ) (ht : t ∈ s) | ||
| 43 | 43 | have h := inverse_hasDerivWithinAt s t ht F G (M.comp (F t)) hFG hGF hF |
| 44 | 44 | rwa [ContinuousLinearMap.comp_assoc M (F t) (G t), hFG t ht, ContinuousLinearMap.comp_id] at h |
| 45 | 45 | |
| 46 | -def adjointVector (m₀ : Space) : (Space →L[ℝ] Space) →L[ℝ] Space := | |
| 47 | - (ContinuousLinearMap.apply ℝ Space m₀).comp | |
| 48 | - (ContinuousLinearMap.adjoint.toContinuousLinearEquiv.toContinuousLinearMap | |
| 49 | - : (Space →L[ℝ] Space) →L[ℝ] (Space →L[ℝ] Space)) | |
| 50 | - | |
| 51 | -/-- The actual transported normal satisfies m_t=−M* m. -/ | |
| 52 | -theorem normal_hasDerivWithinAt (s : Set ℝ) (t : ℝ) (ht : t ∈ s) | |
| 53 | - (F G : ℝ → Space →L[ℝ] Space) (M : Space →L[ℝ] Space) (m₀ : Space) | |
| 54 | - (hFG : ∀ r ∈ s, (F r).comp (G r) = ContinuousLinearMap.id ℝ Space) | |
| 55 | - (hGF : ∀ r ∈ s, (G r).comp (F r) = ContinuousLinearMap.id ℝ Space) | |
| 56 | - (hF : HasDerivWithinAt F (M.comp (F t)) s t) : | |
| 57 | - HasDerivWithinAt (fun r => (G r).adjoint m₀) (-(M.adjoint ((G t).adjoint m₀))) s t := by | |
| 58 | - have h := (adjointVector m₀).hasFDerivAt.comp_hasDerivWithinAt t | |
| 59 | - (inverse_strain_hasDerivWithinAt s t ht F G M hFG hGF hF) | |
| 60 | - convert h using 1 <;> try rfl | |
| 61 | - change -(M.adjoint ((G t).adjoint m₀)) = (-((G t).comp M)).adjoint m₀ | |
| 62 | - simp only [map_neg, adjoint_comp, neg_apply, comp_apply] | |
| 63 | - | |
| 64 | 46 | end EulerDeformationTime |
+0 −32 Euler/DevelopmentBridge.lean View file
| @@ -21,36 +21,4 @@ namespace Euler.ComparatorBridge | ||
| 21 | 21 | |
| 22 | 22 | local notation "ℝ³" => EuclideanSpace ℝ (Fin 3) |
| 23 | 23 | |
| 24 | -theorem divergence_eq_development (v : ℝ³ → ℝ³) (x : ℝ³) : | |
| 25 | - Euler.divergence v x = EulerSmoothLimit.divergence v x := rfl | |
| 26 | - | |
| 27 | -theorem admissible_initial_data | |
| 28 | - (A : EulerLpTranslation.SmoothL2Field ℝ³) (hc : HasCompactSupport A.field) | |
| 29 | - (hd : ∀ x, EulerSmoothLimit.divergence A.field x = 0) : | |
| 30 | - InitialVelocityConditionDecay A.field := | |
| 31 | - initialVelocityConditionDecay_of_compact A.field A.smooth hc hd | |
| 32 | - | |
| 33 | -theorem exists_smoothL2Field_iff | |
| 34 | - {u₀ : ℝ³ → ℝ³} {v : ℝ³ → ℝ → ℝ³} {p : ℝ³ → ℝ → ℝ} | |
| 35 | - (h : EulerExistenceAndSmoothnessR3 u₀ v p) (t : ℝ) (ht : 0 ≤ t) : | |
| 36 | - (∃ A : EulerLpTranslation.SmoothL2Field ℝ³, A.field = (v · t)) ↔ | |
| 37 | - ∀ m : ℕ, MemLp (iteratedFDeriv ℝ m (v · t)) 2 volume := by | |
| 38 | - constructor | |
| 39 | - · rintro ⟨A, hA⟩ m | |
| 40 | - rw [← hA] | |
| 41 | - exact A.integrable m | |
| 42 | - · intro hjets | |
| 43 | - exact ⟨⟨(v · t), h.velocity_contDiff t ht, hjets⟩, rfl⟩ | |
| 44 | - | |
| 45 | -/-- A conversion once the required all-order spatial integrability is proved. | |
| 46 | -This hypothesis is deliberately explicit; the Comparator does not provide it. -/ | |
| 47 | -def velocityField | |
| 48 | - {u₀ : ℝ³ → ℝ³} {v : ℝ³ → ℝ → ℝ³} {p : ℝ³ → ℝ → ℝ} | |
| 49 | - (h : EulerExistenceAndSmoothnessR3 u₀ v p) | |
| 50 | - (hjets : ∀ t ≥ 0, ∀ m : ℕ, MemLp (iteratedFDeriv ℝ m (v · t)) 2 volume) | |
| 51 | - (t : ℝ) (ht : 0 ≤ t) : EulerLpTranslation.SmoothL2Field ℝ³ where | |
| 52 | - field := (v · t) | |
| 53 | - smooth := h.velocity_contDiff t ht | |
| 54 | - integrable := hjets t ht | |
| 55 | - | |
| 56 | 24 | end Euler.ComparatorBridge |
+0 −17 Euler/DriftCorrectionBudget.lean View file
| @@ -38,21 +38,4 @@ def Budget.restrict {q : ℕ} {T S : ℝ} {hq : 6 ≤ q+1} | ||
| 38 | 38 | drift_nonneg := B.drift_nonneg |
| 39 | 39 | drift_bound t := B.drift_bound (timeInclusion hTS t) |
| 40 | 40 | |
| 41 | -/-- Only the correction field uses the coarse drift-to-velocity comparison. -/ | |
| 42 | -theorem Budget.total_drift_bound {q : ℕ} {T : ℝ} {hq : 6 ≤ q+1} | |
| 43 | - {D : CorrectionData period (q+1) (Icc (0 : ℝ) T)} | |
| 44 | - {N : ℕ} {R : C(Icc (0 : ℝ) T, ℝ)} | |
| 45 | - (B : Budget period hq D N R) (hN : N+6 ≤ (q+1)+1) | |
| 46 | - (t : Icc (0 : ℝ) T) (e : SobolevSpace period ((q+1)+1)) : | |
| 47 | - weightedDriftNorm period 6 N (R t) | |
| 48 | - (velocityMap (velocityComponents D.κ D.direction)) (D.approximation t+e) ≤ | |
| 49 | - 4 * (B.drift + weightedNorm period 6 N (R t) e) := by | |
| 50 | - have he := weightedDriftNorm_velocityMap_le period 6 N (R t) (B.full.radius_pos t) | |
| 51 | - (velocityComponents D.κ D.direction) | |
| 52 | - (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) e | |
| 53 | - have h := (weightedDriftNorm_add_le period 6 N hN (R t) (B.full.radius_pos t) | |
| 54 | - (velocityMap (velocityComponents D.κ D.direction)) (D.approximation t) e).trans | |
| 55 | - (add_le_add (B.drift_bound t) he) | |
| 56 | - nlinarith only [h, B.drift_nonneg] | |
| 57 | - | |
| 58 | 41 | end EulerDriftCorrectionBudget |
+0 −80 Euler/EulerC1Breakdown.lean View file
| @@ -25,13 +25,6 @@ def maximalC1Norm (t : L.Time) : ℝ := L.maximalVelocityNorm t+L.maximalGradien | ||
| 25 | 25 | |
| 26 | 26 | theorem maximalVelocityNorm_nonneg (t : L.Time) : 0 ≤ L.maximalVelocityNorm t := norm_nonneg _ |
| 27 | 27 | |
| 28 | -theorem maximalGradientNorm_nonneg (t : L.Time) : 0 ≤ L.maximalGradientNorm t := norm_nonneg _ | |
| 29 | - | |
| 30 | -theorem maximalVelocityNorm_le_iff (t : L.Time) (K : ℝ) : | |
| 31 | - L.maximalVelocityNorm t ≤ K ↔ ∀ x, ‖L.maximalVelocity t x‖ ≤ K := by | |
| 32 | - rw [maximalVelocityNorm,BoundedContinuousFunction.norm_le_of_nonempty] | |
| 33 | - simp only [finiteField_apply,maximalVelocity] | |
| 34 | - | |
| 35 | 28 | theorem maximalGradientNorm_le_iff (t : L.Time) (K : ℝ) : |
| 36 | 29 | L.maximalGradientNorm t ≤ K ↔ ∀ x, ‖fderiv ℝ (L.maximalVelocity t) x‖ ≤ K := by |
| 37 | 30 | rw [maximalGradientNorm,BoundedContinuousFunction.norm_le_of_nonempty] |
| @@ -48,13 +41,6 @@ theorem maximalGradientNorm_continuous : Continuous L.maximalGradientNorm := | ||
| 48 | 41 | theorem maximalC1Norm_continuous : Continuous L.maximalC1Norm := |
| 49 | 42 | L.maximalVelocityNorm_continuous.add L.maximalGradientNorm_continuous |
| 50 | 43 | |
| 51 | -theorem maximalGradientNorm_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) | |
| 52 | - (t : Icc (0 : ℝ) S) : | |
| 53 | - L.maximalGradientNorm (L.shorterTime S hSL t)=(L.evolution S hS hSL).gradientNormPath t := by | |
| 54 | - change ‖finiteField (L.maximalField (L.shorterTime S hSL t)).derivative‖=_ | |
| 55 | - rw [L.maximalField_eq_evolution S hS hSL t] | |
| 56 | - rfl | |
| 57 | - | |
| 58 | 44 | theorem maximalVelocity_gradient_unbounded_near_endpoint (τ K : ℝ) (hτ : τ < L.duration) : |
| 59 | 45 | ∃ (t : L.Time) (x : Space), τ < t ∧ K < ‖fderiv ℝ (L.maximalVelocity t) x‖ := by |
| 60 | 46 | obtain ⟨S,hS,hSL,t,x,ht,hx⟩ := L.gradient_unbounded_near_endpoint τ K hτ |
| @@ -81,72 +67,6 @@ open scoped ContDiff | ||
| 81 | 67 | |
| 82 | 68 | abbrev MaximalTime : Type := lifespan.Time |
| 83 | 69 | |
| 84 | -def maximalVelocity (t : MaximalTime) : Space → Space := lifespan.maximalVelocity t | |
| 85 | - | |
| 86 | -def maximalPressure (t : MaximalTime) : Space → ℝ := lifespan.maximalPressure t | |
| 87 | - | |
| 88 | -def maximalVelocityNorm (t : MaximalTime) : ℝ := lifespan.maximalVelocityNorm t | |
| 89 | - | |
| 90 | -def maximalGradientNorm (t : MaximalTime) : ℝ := lifespan.maximalGradientNorm t | |
| 91 | - | |
| 92 | 70 | def maximalC1Norm (t : MaximalTime) : ℝ := lifespan.maximalC1Norm t |
| 93 | 71 | |
| 94 | -theorem initialDatum_no_endpoint : ¬ HasSmoothEulerSolution initialDatum.field lifespan.duration := by | |
| 95 | - intro h | |
| 96 | - exact lifespan.no_endpoint ((hasSmoothEulerSolution_iff initialDatum lifespan.duration).mp h) | |
| 97 | - | |
| 98 | -theorem maximalVelocity_initial : maximalVelocity lifespan.initialTime=initialDatum.field := | |
| 99 | - lifespan.maximalVelocity_initial | |
| 100 | - | |
| 101 | -theorem maximalVelocity_smooth (t : MaximalTime) : ContDiff ℝ ∞ (maximalVelocity t) := | |
| 102 | - lifespan.maximalVelocity_smooth t | |
| 103 | - | |
| 104 | -theorem maximalVelocity_joint_continuous : | |
| 105 | - Continuous (fun z : MaximalTime × Space => maximalVelocity z.1 z.2) := | |
| 106 | - lifespan.maximalVelocity_joint_continuous | |
| 107 | - | |
| 108 | -theorem maximalVelocity_divergence (t : MaximalTime) (x : Space) : | |
| 109 | - divergence (maximalVelocity t) x=0 := lifespan.maximalVelocity_divergence t x | |
| 110 | - | |
| 111 | -theorem maximalPressure_spec (t : MaximalTime) : | |
| 112 | - ContDiff ℝ ∞ (maximalPressure t) ∧ maximalPressure t 0=0 ∧ | |
| 113 | - ∀ x, _root_.gradient (maximalPressure t) x=(lifespan.maximalPressureField t).field x := | |
| 114 | - lifespan.maximalPressure_spec t | |
| 115 | - | |
| 116 | -theorem maximalGradientNorm_spec (t : MaximalTime) (K : ℝ) : | |
| 117 | - maximalGradientNorm t ≤ K ↔ ∀ x, ‖fderiv ℝ (maximalVelocity t) x‖ ≤ K := | |
| 118 | - lifespan.maximalGradientNorm_le_iff t K | |
| 119 | - | |
| 120 | -theorem maximalVelocityNorm_spec (t : MaximalTime) (K : ℝ) : | |
| 121 | - maximalVelocityNorm t ≤ K ↔ ∀ x, ‖maximalVelocity t x‖ ≤ K := | |
| 122 | - lifespan.maximalVelocityNorm_le_iff t K | |
| 123 | - | |
| 124 | -theorem maximalGradientNorm_continuous : Continuous maximalGradientNorm := | |
| 125 | - lifespan.maximalGradientNorm_continuous | |
| 126 | - | |
| 127 | -theorem maximalC1Norm_continuous : Continuous maximalC1Norm := | |
| 128 | - lifespan.maximalC1Norm_continuous | |
| 129 | - | |
| 130 | -theorem pointwiseGradient_unbounded_near_maximal_time (τ K : ℝ) (hτ : τ < lifespan.duration) : | |
| 131 | - ∃ (t : MaximalTime) (x : Space), τ < t ∧ K < ‖fderiv ℝ (maximalVelocity t) x‖ := | |
| 132 | - lifespan.maximalVelocity_gradient_unbounded_near_endpoint τ K hτ | |
| 133 | - | |
| 134 | -/-- The gradient supremum has infinite upper limit at the actual maximal time. -/ | |
| 135 | -theorem gradient_unbounded_near_maximal_time (τ K : ℝ) (hτ : τ < lifespan.duration) : | |
| 136 | - ∃ t : MaximalTime, τ < t ∧ K < maximalGradientNorm t := | |
| 137 | - lifespan.maximalGradientNorm_unbounded_near_endpoint τ K hτ | |
| 138 | - | |
| 139 | -/-- The same characterization for the sum of the actual velocity and gradient suprema. -/ | |
| 140 | -theorem c1_unbounded_near_maximal_time (τ K : ℝ) (hτ : τ < lifespan.duration) : | |
| 141 | - ∃ t : MaximalTime, τ < t ∧ K < maximalC1Norm t := | |
| 142 | - lifespan.maximalC1Norm_unbounded_near_endpoint τ K hτ | |
| 143 | - | |
| 144 | -theorem initialDatum_c1_breakdown : | |
| 145 | - 0 < lifespan.duration ∧ lifespan.duration ≤ 1 ∧ | |
| 146 | - ¬ HasSmoothEulerSolution initialDatum.field lifespan.duration ∧ | |
| 147 | - ∀ τ : ℝ, τ < lifespan.duration → ∀ K : ℝ, | |
| 148 | - ∃ t : MaximalTime, τ < t ∧ K < maximalC1Norm t := | |
| 149 | - ⟨lifespan.duration_pos,lifespan_le_one,initialDatum_no_endpoint, | |
| 150 | - fun τ hτ K => c1_unbounded_near_maximal_time τ K hτ⟩ | |
| 151 | - | |
| 152 | 72 | end EulerPacketInduction |
+0 −24 Euler/EulerC1Limsup.lean View file
| @@ -27,15 +27,6 @@ theorem map_time_atTop : | ||
| 27 | 27 | map_coe_atTop_of_Ioo_subset (fun _ ht => ht.2) |
| 28 | 28 | (fun _ _ => ⟨0,L.duration_pos,fun _ ht => ⟨ht.1.le,ht.2⟩⟩) |
| 29 | 29 | |
| 30 | -theorem endpointFilter_neBot : L.endpointFilter.NeBot := by | |
| 31 | - let : Nonempty L.Time := ⟨L.initialTime⟩ | |
| 32 | - rw [L.endpointFilter_eq_atTop] | |
| 33 | - infer_instance | |
| 34 | - | |
| 35 | -theorem time_tendsto_endpoint : | |
| 36 | - Tendsto (fun t : L.Time => (t : ℝ)) atTop (𝓝[<] L.duration) := | |
| 37 | - L.map_time_atTop.le | |
| 38 | - | |
| 39 | 30 | /-- Arbitrarily large values in every terminal interval force the actual |
| 40 | 31 | extended nonnegative upper limit to be infinity. -/ |
| 41 | 32 | theorem ofReal_limsup_eq_top_of_unbounded (f : L.Time → ℝ) |
| @@ -51,12 +42,6 @@ theorem ofReal_limsup_eq_top_of_unbounded (f : L.Time → ℝ) | ||
| 51 | 42 | obtain ⟨t,ht,hft⟩ := hf s s.property.2 b.toReal |
| 52 | 43 | exact ⟨t,ht.le,(ENNReal.lt_ofReal_iff_toReal_lt (ne_of_lt hb)).mpr hft⟩ |
| 53 | 44 | |
| 54 | -theorem maximalGradientNorm_limsup : | |
| 55 | - Filter.limsup (fun t : L.Time => ENNReal.ofReal (L.maximalGradientNorm t)) | |
| 56 | - L.endpointFilter=⊤ := | |
| 57 | - L.ofReal_limsup_eq_top_of_unbounded L.maximalGradientNorm | |
| 58 | - (fun τ hτ K => L.maximalGradientNorm_unbounded_near_endpoint τ K hτ) | |
| 59 | - | |
| 60 | 45 | theorem maximalC1Norm_limsup : |
| 61 | 46 | Filter.limsup (fun t : L.Time => ENNReal.ofReal (L.maximalC1Norm t)) |
| 62 | 47 | L.endpointFilter=⊤ := |
| @@ -75,15 +60,6 @@ namespace EulerPacketInduction | ||
| 75 | 60 | open Filter |
| 76 | 61 | open scoped Topology ENNReal |
| 77 | 62 | |
| 78 | -theorem maximalTime_map_atTop : | |
| 79 | - Filter.map (fun t : MaximalTime => (t : ℝ)) atTop=𝓝[<] lifespan.duration := | |
| 80 | - lifespan.map_time_atTop | |
| 81 | - | |
| 82 | -theorem maximalGradientNorm_limsup : | |
| 83 | - Filter.limsup (fun t : MaximalTime => ENNReal.ofReal (maximalGradientNorm t)) | |
| 84 | - (Filter.comap (fun t : MaximalTime => (t : ℝ)) (𝓝[<] lifespan.duration))=⊤ := | |
| 85 | - lifespan.maximalGradientNorm_limsup | |
| 86 | - | |
| 87 | 63 | theorem maximalC1Norm_limsup : |
| 88 | 64 | Filter.limsup (fun t : MaximalTime => ENNReal.ofReal (maximalC1Norm t)) |
| 89 | 65 | (Filter.comap (fun t : MaximalTime => (t : ℝ)) (𝓝[<] lifespan.duration))=⊤ := |
+0 −13 Euler/EulerFiniteLifespan.lean View file
| @@ -36,17 +36,4 @@ theorem hasSmoothEulerSolution_iff (A : SmoothL2Field Space) (T : ℝ) : | ||
| 36 | 36 | · rintro ⟨hT,U,hU⟩ |
| 37 | 37 | exact ⟨hT,U,congrArg SmoothL2Field.field hU⟩ |
| 38 | 38 | |
| 39 | -theorem exists_compact_smooth_finite_lifespan : | |
| 40 | - ∃ u₀ : Space → Space, ContDiff ℝ ∞ u₀ ∧ HasCompactSupport u₀ ∧ | |
| 41 | - (∀ x, divergence u₀ x=0) ∧ | |
| 42 | - ∃ T : ℝ, 0 < T ∧ T ≤ 1 ∧ | |
| 43 | - (∀ t : ℝ, 0 < t → t < T → HasSmoothEulerSolution u₀ t) ∧ | |
| 44 | - (∀ t : ℝ, T < t → ¬ HasSmoothEulerSolution u₀ t) := by | |
| 45 | - refine ⟨initialDatum.field,initialDatum.smooth,initialDatum_compact,initialDatum_divergence, | |
| 46 | - lifespan.duration,lifespan.duration_pos,lifespan_le_one,?_,?_⟩ | |
| 47 | - · intro t ht htT | |
| 48 | - exact (hasSmoothEulerSolution_iff initialDatum t).mpr (lifespan.shorter t ht htT) | |
| 49 | - · intro t hTt h | |
| 50 | - exact lifespan.maximal t hTt ((hasSmoothEulerSolution_iff initialDatum t).mp h) | |
| 51 | - | |
| 52 | 39 | end EulerPacketInduction |
+3 −4148 Euler/EulerProof.lean View file
| @@ -362,27 +362,6 @@ theorem triangular_inverse_majorant (A Rc R : ℝ) | ||
| 362 | 362 | _ = (A / R + 2 * A * (Rc / R)) * majorant R (d + 1) n := by ring |
| 363 | 363 | _ ≤ majorant R (d + 1) n := mul_le_of_le_one_left hw hbudget |
| 364 | 364 | |
| 365 | -/-- For coefficient and inverse size `P^c`, the single polynomial radius `P^(2c+2)` suffices. -/ | |
| 366 | -theorem triangular_inverse_polynomial_radius (P : ℝ) (hP : 2 ≤ P) (c d : ℕ) | |
| 367 | - (F Z : ℕ → ℝ) | |
| 368 | - (hF : ∀ n, F n ≤ majorant (P ^ (2 * c + 2)) d n) | |
| 369 | - (hZ : ∀ n, Z n ≤ P ^ c * (F n + ∑ k ∈ range n, | |
| 370 | - (n.choose (k + 1) : ℝ) * (P ^ c) ^ (k + 1) * ((k + 1).factorial : ℝ) ^ 2 * | |
| 371 | - Z (n - (k + 1)))) : | |
| 372 | - ∀ n, Z n ≤ majorant (P ^ (2 * c + 2)) (d + 1) n := by | |
| 373 | - have hPc : 1 ≤ P ^ c := one_le_pow₀ (by linarith) | |
| 374 | - have hPc0 : 0 ≤ P ^ c := by linarith | |
| 375 | - have hP2 : 4 ≤ P ^ 2 := by nlinarith [sq_nonneg (P - 2)] | |
| 376 | - have heq : P ^ (2 * c + 2) = (P ^ c) ^ 2 * P ^ 2 := by | |
| 377 | - rw [show 2 * c + 2 = c * 2 + 2 by omega, pow_add, pow_mul] | |
| 378 | - have hlarge : 2 * P ^ c * (P ^ c + 1) ≤ P ^ (2 * c + 2) := by | |
| 379 | - calc | |
| 380 | - _ ≤ (P ^ c) ^ 2 * 4 := by nlinarith | |
| 381 | - _ ≤ (P ^ c) ^ 2 * P ^ 2 := mul_le_mul_of_nonneg_left hP2 (sq_nonneg _) | |
| 382 | - _ = _ := heq.symm | |
| 383 | - exact triangular_inverse_majorant (P ^ c) (P ^ c) (P ^ (2 * c + 2)) | |
| 384 | - hPc hPc0 hlarge d F Z hF hZ | |
| 385 | - | |
| 386 | 365 | /-- The shifted product rule applies directly to arbitrary real sequences bounded in absolute value. -/ |
| 387 | 366 | theorem sequence_product_majorant (R A B : ℝ) (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) |
| 388 | 367 | (d₁ d₂ : ℕ) (f g : ℕ → ℝ) |
| @@ -731,32 +710,6 @@ theorem projectedOperator_sub (G H : E →L[ℝ] E) : | ||
| 731 | 710 | ext x |
| 732 | 711 | simp [projectedOperator] |
| 733 | 712 | |
| 734 | -theorem projectedOperator_norm_le (G : E →L[ℝ] E) : | |
| 735 | - ‖projectedOperator S G‖ ≤ ‖G‖ := by | |
| 736 | - apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _) | |
| 737 | - intro x | |
| 738 | - calc | |
| 739 | - ‖projectedOperator S G x‖ ≤ ‖G (x : E)‖ := | |
| 740 | - S.norm_orthogonalProjectionOnto_apply_le (G x) | |
| 741 | - _ ≤ ‖G‖ * ‖x‖ := G.le_opNorm x | |
| 742 | - | |
| 743 | -theorem projectedInverse_norm_sub_le (G H : E →L[ℝ] E) (c d : ℝ) | |
| 744 | - (hc : 0 < c) (hd : 0 < d) | |
| 745 | - (hG : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪G x, x⟫_ℝ) | |
| 746 | - (hH : ∀ x, d * ‖x‖ ^ 2 ≤ ⟪H x, x⟫_ℝ) : | |
| 747 | - ‖projectedInverse S G c hc hG - projectedInverse S H d hd hH‖ ≤ | |
| 748 | - c⁻¹ * d⁻¹ * ‖H - G‖ := by | |
| 749 | - calc | |
| 750 | - ‖projectedInverse S G c hc hG - projectedInverse S H d hd hH‖ ≤ | |
| 751 | - c⁻¹ * d⁻¹ * ‖projectedOperator S H - projectedOperator S G‖ := | |
| 752 | - coerciveInverse_norm_sub_le (projectedOperator S G) (projectedOperator S H) | |
| 753 | - c d hc hd (projectedOperator_coercive S G c hG) | |
| 754 | - (projectedOperator_coercive S H d hH) | |
| 755 | - _ = c⁻¹ * d⁻¹ * ‖projectedOperator S (H - G)‖ := by rw [projectedOperator_sub] | |
| 756 | - _ ≤ c⁻¹ * d⁻¹ * ‖H - G‖ := | |
| 757 | - mul_le_mul_of_nonneg_left (projectedOperator_norm_le S (H - G)) | |
| 758 | - (mul_nonneg (inv_nonneg.2 hc.le) (inv_nonneg.2 hd.le)) | |
| 759 | - | |
| 760 | 713 | /-- Solves the projected equation with an ambient forcing vector. -/ |
| 761 | 714 | def pressureSolver (G : E →L[ℝ] E) (c : ℝ) (hc : 0 < c) |
| 762 | 715 | (hG : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪G x, x⟫_ℝ) : E →L[ℝ] S := |
| @@ -795,20 +748,6 @@ theorem existsUnique_projected_solution (G : E →L[ℝ] E) (c : ℝ) (hc : 0 < | ||
| 795 | 748 | |
| 796 | 749 | end Subspace |
| 797 | 750 | |
| 798 | -/-- Closedness supplies completeness; no inverse or existence hypothesis is assumed. -/ | |
| 799 | -theorem closed_subspace_inverse [CompleteSpace E] (S : Submodule ℝ E) | |
| 800 | - (hS : IsClosed (S : Set E)) (G : E →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 801 | - (hG : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪G x, x⟫_ℝ) : | |
| 802 | - ∃ I : S →L[ℝ] S, | |
| 803 | - (∀ f y : S, ⟪G (I f : E), (y : E)⟫_ℝ = ⟪(f : E), (y : E)⟫_ℝ) ∧ | |
| 804 | - ‖I‖ ≤ c⁻¹ := by | |
| 805 | - let : CompleteSpace S := hS.completeSpace_coe | |
| 806 | - refine ⟨projectedInverse S G c hc hG, ?_, projectedInverse_norm_le S G c hc hG⟩ | |
| 807 | - intro f y | |
| 808 | - rw [← projectedOperator_inner S G (projectedInverse S G c hc hG f) y, | |
| 809 | - projectedOperator_inverse_apply] | |
| 810 | - rfl | |
| 811 | - | |
| 812 | 751 | end EulerCoerciveProjection |
| 813 | 752 | |
| 814 | 753 | end |
| @@ -829,124 +768,6 @@ def differenceQuotient (τ : E →L[ℝ] E) (h : ℝ) : E →L[ℝ] E := | ||
| 829 | 768 | /-- The operator commutator D T minus T D. -/ |
| 830 | 769 | def commutator (D T : E →L[ℝ] E) : E →L[ℝ] E := D.comp T - T.comp D |
| 831 | 770 | |
| 832 | -/-- Repeated commutation with an operator, defined by its actual algebraic formula. -/ | |
| 833 | -def iteratedRingCommutator {R : Type*} [Ring R] (D T : R) : ℕ → R | |
| 834 | - | 0 => T | |
| 835 | - | n + 1 => D * iteratedRingCommutator D T n - iteratedRingCommutator D T n * D | |
| 836 | - | |
| 837 | -theorem mul_iteratedRingCommutator {R : Type*} [Ring R] (D T : R) (n : ℕ) : | |
| 838 | - D * iteratedRingCommutator D T n = | |
| 839 | - iteratedRingCommutator D T n * D + iteratedRingCommutator D T (n + 1) := by | |
| 840 | - simp only [iteratedRingCommutator] | |
| 841 | - abel | |
| 842 | - | |
| 843 | -/-- The complete noncommutative Leibniz formula, proved from the commutator definition. -/ | |
| 844 | -theorem iterated_operator_leibniz {R : Type*} [Ring R] (D T : R) (n : ℕ) : | |
| 845 | - D ^ n * T = ∑ l ∈ Finset.range (n + 1), | |
| 846 | - n.choose l • (iteratedRingCommutator D T l * D ^ (n - l)) := by | |
| 847 | - induction n with | |
| 848 | - | zero => simp [iteratedRingCommutator] | |
| 849 | - | succ n ih => | |
| 850 | - rw [pow_succ', mul_assoc, ih, Finset.mul_sum, | |
| 851 | - Finset.sum_choose_succ_nsmul (fun l r => iteratedRingCommutator D T l * D ^ r) n, | |
| 852 | - ← Finset.sum_add_distrib] | |
| 853 | - apply Finset.sum_congr rfl | |
| 854 | - intro l hl | |
| 855 | - have hln : l ≤ n := Nat.lt_succ_iff.mp (Finset.mem_range.mp hl) | |
| 856 | - have hsub : n + 1 - l = (n - l) + 1 := by omega | |
| 857 | - calc | |
| 858 | - D * (n.choose l • (iteratedRingCommutator D T l * D ^ (n - l))) = | |
| 859 | - n.choose l • ((D * iteratedRingCommutator D T l) * D ^ (n - l)) := by | |
| 860 | - rw [mul_smul_comm, mul_assoc] | |
| 861 | - _ = n.choose l • ((iteratedRingCommutator D T l * D + | |
| 862 | - iteratedRingCommutator D T (l + 1)) * D ^ (n - l)) := by | |
| 863 | - rw [mul_iteratedRingCommutator] | |
| 864 | - _ = n.choose l • (iteratedRingCommutator D T l * D ^ (n + 1 - l)) + | |
| 865 | - n.choose l • (iteratedRingCommutator D T (l + 1) * D ^ (n - l)) := by | |
| 866 | - rw [add_mul, nsmul_add, hsub, pow_succ', mul_assoc] | |
| 867 | - | |
| 868 | -theorem inverse_commutator_apply (T D : E →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 869 | - (hT : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪T x, x⟫_ℝ) (f : E) : | |
| 870 | - D (coerciveInverse T c hc hT f) = | |
| 871 | - coerciveInverse T c hc hT | |
| 872 | - (D f - commutator D T (coerciveInverse T c hc hT f)) := by | |
| 873 | - apply (coerciveEquiv T c hc hT).injective | |
| 874 | - simp only [coerciveEquiv_apply, operator_inverse_apply, commutator, | |
| 875 | - sub_apply, ContinuousLinearMap.comp_apply] | |
| 876 | - abel | |
| 877 | - | |
| 878 | -theorem inverse_commutator_norm_le (T D : E →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 879 | - (hT : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪T x, x⟫_ℝ) (f : E) : | |
| 880 | - ‖D (coerciveInverse T c hc hT f)‖ ≤ | |
| 881 | - c⁻¹ * (‖D f‖ + ‖commutator D T (coerciveInverse T c hc hT f)‖) := by | |
| 882 | - rw [inverse_commutator_apply T D c hc hT f] | |
| 883 | - exact (coerciveInverse_apply_norm_le T c hc hT _).trans | |
| 884 | - (mul_le_mul_of_nonneg_left (norm_sub_le _ _) (inv_nonneg.2 hc.le)) | |
| 885 | - | |
| 886 | -/-- The full differentiated inverse recurrence, derived from the operator equation. -/ | |
| 887 | -theorem inverse_iterated_commutator_apply (T D : E →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 888 | - (hT : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪T x, x⟫_ℝ) (f : E) (n : ℕ) : | |
| 889 | - (D ^ (n + 1)) (coerciveInverse T c hc hT f) = | |
| 890 | - coerciveInverse T c hc hT | |
| 891 | - ((D ^ (n + 1)) f - ∑ l ∈ Finset.range (n + 1), | |
| 892 | - (n + 1).choose (l + 1) • | |
| 893 | - (iteratedRingCommutator D T (l + 1) | |
| 894 | - ((D ^ (n - l)) (coerciveInverse T c hc hT f)))) := by | |
| 895 | - have hprod := congrArg (fun A : E →L[ℝ] E => A (coerciveInverse T c hc hT f)) | |
| 896 | - (iterated_operator_leibniz D T (n + 1)) | |
| 897 | - simp only [mul_apply_eq_comp, operator_inverse_apply, sum_apply, smul_apply] at hprod | |
| 898 | - rw [Finset.sum_range_succ'] at hprod | |
| 899 | - simp only [Nat.choose_zero_right, iteratedRingCommutator, Nat.sub_zero, | |
| 900 | - one_smul, Nat.add_sub_add_right] at hprod | |
| 901 | - apply (coerciveEquiv T c hc hT).injective | |
| 902 | - simp only [coerciveEquiv_apply, operator_inverse_apply] | |
| 903 | - apply eq_sub_of_add_eq | |
| 904 | - exact (add_comm _ _).trans hprod.symm | |
| 905 | - | |
| 906 | -/-- The quantitative all-order recurrence follows from the exact commutator identity. -/ | |
| 907 | -theorem inverse_iterated_commutator_norm_le (T D : E →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 908 | - (hT : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪T x, x⟫_ℝ) (f : E) (n : ℕ) : | |
| 909 | - ‖(D ^ (n + 1)) (coerciveInverse T c hc hT f)‖ ≤ c⁻¹ * | |
| 910 | - (‖(D ^ (n + 1)) f‖ + ∑ l ∈ Finset.range (n + 1), | |
| 911 | - ((n + 1).choose (l + 1) : ℝ) * ‖iteratedRingCommutator D T (l + 1)‖ * | |
| 912 | - ‖(D ^ (n - l)) (coerciveInverse T c hc hT f)‖) := by | |
| 913 | - have hs : ‖∑ l ∈ Finset.range (n + 1), (n + 1).choose (l + 1) • | |
| 914 | - (iteratedRingCommutator D T (l + 1) | |
| 915 | - ((D ^ (n - l)) (coerciveInverse T c hc hT f)))‖ ≤ | |
| 916 | - ∑ l ∈ Finset.range (n + 1), | |
| 917 | - ((n + 1).choose (l + 1) : ℝ) * ‖iteratedRingCommutator D T (l + 1)‖ * | |
| 918 | - ‖(D ^ (n - l)) (coerciveInverse T c hc hT f)‖ := by | |
| 919 | - refine (norm_sum_le _ _).trans ?_ | |
| 920 | - apply Finset.sum_le_sum | |
| 921 | - intro l _ | |
| 922 | - rw [← Nat.cast_smul_eq_nsmul ℝ, norm_smul, Real.norm_natCast] | |
| 923 | - simpa only [mul_assoc] using mul_le_mul_of_nonneg_left | |
| 924 | - ((iteratedRingCommutator D T (l + 1)).le_opNorm | |
| 925 | - ((D ^ (n - l)) (coerciveInverse T c hc hT f))) | |
| 926 | - (Nat.cast_nonneg ((n + 1).choose (l + 1))) | |
| 927 | - rw [inverse_iterated_commutator_apply T D c hc hT f n] | |
| 928 | - refine (coerciveInverse_apply_norm_le T c hc hT _).trans ?_ | |
| 929 | - apply mul_le_mul_of_nonneg_left _ (inv_nonneg.2 hc.le) | |
| 930 | - exact (norm_sub_le _ _).trans (add_le_add_right hs _) | |
| 931 | - | |
| 932 | -omit [CompleteSpace E] in | |
| 933 | -theorem differenceQuotient_commutator (τ T : E →L[ℝ] E) (h : ℝ) : | |
| 934 | - commutator (differenceQuotient τ h) T = h⁻¹ • commutator τ T := by | |
| 935 | - ext x | |
| 936 | - simp only [commutator, differenceQuotient, ContinuousLinearMap.comp_apply, | |
| 937 | - sub_apply, smul_apply, ContinuousLinearMap.id_apply, map_sub, map_smul] | |
| 938 | - simp only [smul_sub] | |
| 939 | - abel | |
| 940 | - | |
| 941 | -/-- The spatial difference-quotient estimate, before any passage to weak derivatives. -/ | |
| 942 | -theorem inverse_differenceQuotient_norm_le (T τ : E →L[ℝ] E) (h c : ℝ) (hc : 0 < c) | |
| 943 | - (hT : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪T x, x⟫_ℝ) (f : E) : | |
| 944 | - ‖differenceQuotient τ h (coerciveInverse T c hc hT f)‖ ≤ | |
| 945 | - c⁻¹ * (‖differenceQuotient τ h f‖ + | |
| 946 | - ‖h⁻¹ • commutator τ T (coerciveInverse T c hc hT f)‖) := by | |
| 947 | - simpa only [differenceQuotient_commutator, smul_apply] using | |
| 948 | - inverse_commutator_norm_le T (differenceQuotient τ h) c hc hT f | |
| 949 | - | |
| 950 | 771 | theorem coerciveInverse_eq_mapInverse (T : E →L[ℝ] E) (c : ℝ) (hc : 0 < c) |
| 951 | 772 | (hT : ∀ x, c * ‖x‖ ^ 2 ≤ ⟪T x, x⟫_ℝ) : |
| 952 | 773 | coerciveInverse T c hc hT = T.inverse := by |
| @@ -966,26 +787,6 @@ theorem coerciveInverse_eq_ringInverse (T : E →L[ℝ] E) (c : ℝ) (hc : 0 < c | ||
| 966 | 787 | rw [ContinuousLinearMap.ringInverse_eq_inverse] |
| 967 | 788 | exact coerciveInverse_eq_mapInverse T c hc hT |
| 968 | 789 | |
| 969 | -/-- A `Cⁿ` family of coercive operators has a `Cⁿ` family of the constructed inverses. -/ | |
| 970 | -theorem contDiff_coerciveInverse (T : ℝ → E →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 971 | - (hT : ∀ t x, c * ‖x‖ ^ 2 ≤ ⟪T t x, x⟫_ℝ) {n : ℕ∞ω} | |
| 972 | - (hreg : ContDiff ℝ n T) : | |
| 973 | - ContDiff ℝ n (fun t => coerciveInverse (T t) c hc (hT t)) := by | |
| 974 | - have he : ∀ t, (coerciveEquiv (T t) c hc (hT t) : E →L[ℝ] E) = T t := by | |
| 975 | - intro t | |
| 976 | - ext x | |
| 977 | - exact coerciveEquiv_apply (T t) c hc (hT t) x | |
| 978 | - have hfun : (fun t => coerciveInverse (T t) c hc (hT t)) = | |
| 979 | - fun t => (T t).inverse := by | |
| 980 | - funext t | |
| 981 | - exact coerciveInverse_eq_mapInverse (T t) c hc (hT t) | |
| 982 | - rw [hfun, contDiff_iff_contDiffAt] | |
| 983 | - intro t | |
| 984 | - have hinv : ContDiffAt ℝ n ContinuousLinearMap.inverse (T t) := by | |
| 985 | - rw [← he t] | |
| 986 | - exact contDiffAt_map_inverse (coerciveEquiv (T t) c hc (hT t)) | |
| 987 | - exact hinv.comp t hreg.contDiffAt | |
| 988 | - | |
| 989 | 790 | /-- The time derivative of the constructed inverse is `-I T' I`. -/ |
| 990 | 791 | theorem hasDerivAt_coerciveInverse (T : ℝ → E →L[ℝ] E) (c : ℝ) (hc : 0 < c) |
| 991 | 792 | (hT : ∀ t x, c * ‖x‖ ^ 2 ≤ ⟪T t x, x⟫_ℝ) |
| @@ -1023,12 +824,6 @@ section Projected | ||
| 1023 | 824 | |
| 1024 | 825 | variable (S : Submodule ℝ E) [CompleteSpace S] |
| 1025 | 826 | |
| 1026 | -omit [CompleteSpace E] in | |
| 1027 | -theorem contDiff_projectedOperator (G : ℝ → E →L[ℝ] E) {n : ℕ∞ω} | |
| 1028 | - (hreg : ContDiff ℝ n G) : | |
| 1029 | - ContDiff ℝ n (fun t => projectedOperator S (G t)) := by | |
| 1030 | - exact contDiff_const.clm_comp (hreg.clm_comp contDiff_const) | |
| 1031 | - | |
| 1032 | 827 | omit [CompleteSpace E] in |
| 1033 | 828 | theorem hasDerivAt_projectedOperator (G : ℝ → E →L[ℝ] E) (t : ℝ) |
| 1034 | 829 | (G₁ : E →L[ℝ] E) (hder : HasDerivAt G G₁ t) : |
| @@ -1037,26 +832,6 @@ theorem hasDerivAt_projectedOperator (G : ℝ → E →L[ℝ] E) (t : ℝ) | ||
| 1037 | 832 | (hasDerivAt_const t S.orthogonalProjectionOnto).clm_comp |
| 1038 | 833 | (hder.clm_comp (hasDerivAt_const t S.subtypeL)) |
| 1039 | 834 | |
| 1040 | -omit [CompleteSpace E] in | |
| 1041 | -theorem contDiff_projectedInverse (G : ℝ → E →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 1042 | - (hG : ∀ t x, c * ‖x‖ ^ 2 ≤ ⟪G t x, x⟫_ℝ) {n : ℕ∞ω} | |
| 1043 | - (hreg : ContDiff ℝ n G) : | |
| 1044 | - ContDiff ℝ n (fun t => projectedInverse S (G t) c hc (hG t)) := | |
| 1045 | - contDiff_coerciveInverse (fun t => projectedOperator S (G t)) c hc | |
| 1046 | - (fun t => projectedOperator_coercive S (G t) c (hG t)) | |
| 1047 | - (contDiff_projectedOperator S G hreg) | |
| 1048 | - | |
| 1049 | -omit [CompleteSpace E] in | |
| 1050 | -theorem hasDerivAt_projectedInverse (G : ℝ → E →L[ℝ] E) (c : ℝ) (hc : 0 < c) | |
| 1051 | - (hG : ∀ t x, c * ‖x‖ ^ 2 ≤ ⟪G t x, x⟫_ℝ) | |
| 1052 | - (t : ℝ) (G₁ : E →L[ℝ] E) (hder : HasDerivAt G G₁ t) : | |
| 1053 | - HasDerivAt (fun s => projectedInverse S (G s) c hc (hG s)) | |
| 1054 | - (-(projectedInverse S (G t) c hc (hG t)).comp | |
| 1055 | - ((projectedOperator S G₁).comp (projectedInverse S (G t) c hc (hG t)))) t := | |
| 1056 | - hasDerivAt_coerciveInverse (fun t => projectedOperator S (G t)) c hc | |
| 1057 | - (fun t => projectedOperator_coercive S (G t) c (hG t)) t | |
| 1058 | - (projectedOperator S G₁) (hasDerivAt_projectedOperator S G t G₁ hder) | |
| 1059 | - | |
| 1060 | 835 | end Projected |
| 1061 | 836 | |
| 1062 | 837 | end EulerInverseRegularity |
| @@ -1277,15 +1052,6 @@ instance gradientSpace_complete (κ : ℝ) (m : Vector3) : | ||
| 1277 | 1052 | def gradientProjection (κ : ℝ) (m : Vector3) : LiftL2 period →L[ℝ] LiftL2 period := |
| 1278 | 1053 | (gradientSpace period κ m).starProjection |
| 1279 | 1054 | |
| 1280 | -/-- The projection bound is independent of the frequency parameter κ. -/ | |
| 1281 | -theorem gradientProjection_norm_le (κ : ℝ) (m : Vector3) : | |
| 1282 | - ‖gradientProjection period κ m‖ ≤ 1 := | |
| 1283 | - (gradientSpace period κ m).starProjection_norm_le | |
| 1284 | - | |
| 1285 | -theorem gradientProjection_apply_norm_le (κ : ℝ) (m : Vector3) (f : LiftL2 period) : | |
| 1286 | - ‖gradientProjection period κ m f‖ ≤ ‖f‖ := | |
| 1287 | - (gradientSpace period κ m).norm_starProjection_apply_le f | |
| 1288 | - | |
| 1289 | 1055 | theorem testGradient_mem (κ : ℝ) (m : Vector3) {g : LiftL2 period} |
| 1290 | 1056 | (hg : g ∈ ({g : EulerLiftedGradientSpace.LiftL2 period | ∃ φ : EulerLiftedGradientSpace.LiftDomain period → ℝ, (HasCompactSupport φ ∧ ∀ x, ContDiff ℝ ∞ (EulerLiftedGradientSpace.localLift period φ x)) ∧ g =ᵐ[EulerLiftedGradientSpace.liftMeasure period] EulerLiftedGradientSpace.liftedGradient period κ m φ})) : g ∈ gradientSpace period κ m := |
| 1291 | 1057 | (Submodule.span ℝ (({g : EulerLiftedGradientSpace.LiftL2 period | ∃ φ : EulerLiftedGradientSpace.LiftDomain period → ℝ, (HasCompactSupport φ ∧ ∀ x, ContDiff ℝ ∞ (EulerLiftedGradientSpace.localLift period φ x)) ∧ g =ᵐ[EulerLiftedGradientSpace.liftMeasure period] EulerLiftedGradientSpace.liftedGradient period κ m φ}))).le_topologicalClosure |
| @@ -1495,37 +1261,6 @@ section LiftedSolver | ||
| 1495 | 1261 | |
| 1496 | 1262 | variable (period : ℝ) [Fact (0 < period)] |
| 1497 | 1263 | |
| 1498 | -theorem existsUnique_lifted_pressure (κ : ℝ) (m : Vector3) | |
| 1499 | - (A : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1500 | - (hA : AEStronglyMeasurable A (liftMeasure period)) | |
| 1501 | - (C : ℝ≥0) (hbound : ∀ x, ‖A x‖ ≤ C) (c : ℝ) (hc : 0 < c) | |
| 1502 | - (hpositive : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A x v, v⟫_ℝ) (f : LiftL2 period) : | |
| 1503 | - ∃! p : gradientSpace period κ m, | |
| 1504 | - (gradientSpace period κ m).orthogonalProjectionOnto | |
| 1505 | - (coefficientOperator A hA C hbound (p : LiftL2 period)) = | |
| 1506 | - (gradientSpace period κ m).orthogonalProjectionOnto f := | |
| 1507 | - existsUnique_projected_solution (gradientSpace period κ m) | |
| 1508 | - (coefficientOperator A hA C hbound) c hc | |
| 1509 | - (coefficientOperator_coercive A hA C hbound c hpositive) f | |
| 1510 | - | |
| 1511 | -theorem exists_lifted_pressure_with_bound (κ : ℝ) (m : Vector3) | |
| 1512 | - (A : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1513 | - (hA : AEStronglyMeasurable A (liftMeasure period)) | |
| 1514 | - (C : ℝ≥0) (hbound : ∀ x, ‖A x‖ ≤ C) (c : ℝ) (hc : 0 < c) | |
| 1515 | - (hpositive : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A x v, v⟫_ℝ) (f : LiftL2 period) : | |
| 1516 | - ∃ p : gradientSpace period κ m, | |
| 1517 | - (gradientSpace period κ m).orthogonalProjectionOnto | |
| 1518 | - (coefficientOperator A hA C hbound (p : LiftL2 period)) = | |
| 1519 | - (gradientSpace period κ m).orthogonalProjectionOnto f ∧ | |
| 1520 | - ‖p‖ ≤ c⁻¹ * ‖f‖ := by | |
| 1521 | - let hcoercive := coefficientOperator_coercive A hA C hbound c hpositive | |
| 1522 | - refine ⟨pressureSolver (gradientSpace period κ m) | |
| 1523 | - (coefficientOperator A hA C hbound) c hc hcoercive f, ?_, ?_⟩ | |
| 1524 | - · exact pressureSolver_equation (gradientSpace period κ m) | |
| 1525 | - (coefficientOperator A hA C hbound) c hc hcoercive f | |
| 1526 | - · exact pressureSolver_apply_norm_le (gradientSpace period κ m) | |
| 1527 | - (coefficientOperator A hA C hbound) c hc hcoercive f | |
| 1528 | - | |
| 1529 | 1264 | /-- Exact metric-pressure cancellation for pointwise inverse symmetric coefficient fields. -/ |
| 1530 | 1265 | theorem metric_pressure_cancellation (κ : ℝ) (m : Vector3) |
| 1531 | 1266 | (K G : LiftDomain period → Vector3 →L[ℝ] Vector3) |
| @@ -1669,16 +1404,6 @@ def metricEnergy (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | ||
| 1669 | 1404 | (e : LiftDomain period → Vector3) (x : LiftDomain period) : ℝ := |
| 1670 | 1405 | (1 / 2 : ℝ) * ⟪K x (e x), e x⟫_ℝ |
| 1671 | 1406 | |
| 1672 | -omit [Fact (0 < period)] in | |
| 1673 | -theorem metricEnergy_compact (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1674 | - (e : LiftDomain period → Vector3) (he : HasCompactSupport e) : | |
| 1675 | - HasCompactSupport (metricEnergy period K e) := by | |
| 1676 | - apply he.mono | |
| 1677 | - intro x hx | |
| 1678 | - contrapose! hx | |
| 1679 | - simp only [Function.mem_support, not_not] at hx | |
| 1680 | - simp [Function.mem_support, metricEnergy, hx] | |
| 1681 | - | |
| 1682 | 1407 | omit [Fact (0 < period)] in |
| 1683 | 1408 | theorem metricEnergy_smooth (K : LiftDomain period → Vector3 →L[ℝ] Vector3) |
| 1684 | 1409 | (e : LiftDomain period → Vector3) |
| @@ -1716,135 +1441,6 @@ theorem metricEnergy_fderiv (K : LiftDomain period → Vector3 →L[ℝ] Vector3 | ||
| 1716 | 1441 | rw [hs] |
| 1717 | 1442 | ring |
| 1718 | 1443 | |
| 1719 | -omit [Fact (0 < period)] in | |
| 1720 | -theorem metricEnergy_gradient_transport (κ : ℝ) (m : Vector3) | |
| 1721 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1722 | - (e : LiftDomain period → Vector3) | |
| 1723 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 1724 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) | |
| 1725 | - (hsym : ∀ x v w, ⟪K x v, w⟫_ℝ = ⟪v, K x w⟫_ℝ) | |
| 1726 | - (x : LiftDomain period) (z : Vector3) : | |
| 1727 | - ⟪liftedGradient period κ m (metricEnergy period K e) x, z⟫_ℝ = | |
| 1728 | - ⟪K x (e x), | |
| 1729 | - fderiv ℝ (localFieldLift period e x) 0 (transportDirection κ m z)⟫_ℝ + | |
| 1730 | - (1 / 2 : ℝ) * ⟪(fderiv ℝ (localFieldLift period K x) 0 | |
| 1731 | - (transportDirection κ m z)) (e x), e x⟫_ℝ := by | |
| 1732 | - rw [liftedGradient_eq_vectorOfLinear, vectorOfLinear_inner] | |
| 1733 | - exact metricEnergy_fderiv period K e hK he hsym x _ | |
| 1734 | - | |
| 1735 | -theorem metric_transport_zero (κ : ℝ) (m : Vector3) | |
| 1736 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1737 | - (e : LiftDomain period → Vector3) (hec : HasCompactSupport e) | |
| 1738 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 1739 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) | |
| 1740 | - (hsym : ∀ x v w, ⟪K x v, w⟫_ℝ = ⟪v, K x w⟫_ℝ) | |
| 1741 | - {z : LiftL2 period} (hz : z ∈ divergenceFreeSpace period κ m) : | |
| 1742 | - ∫ x, (⟪K x (e x), | |
| 1743 | - fderiv ℝ (localFieldLift period e x) 0 (transportDirection κ m (z x))⟫_ℝ + | |
| 1744 | - (1 / 2 : ℝ) * ⟪(fderiv ℝ (localFieldLift period K x) 0 | |
| 1745 | - (transportDirection κ m (z x))) (e x), e x⟫_ℝ) ∂liftMeasure period = 0 := by | |
| 1746 | - have htest := weak_divergence_test_integral period κ m hz (metricEnergy period K e) | |
| 1747 | - ⟨metricEnergy_compact period K e hec, metricEnergy_smooth period K e hK he⟩ | |
| 1748 | - convert htest using 1 | |
| 1749 | - apply integral_congr_ae | |
| 1750 | - exact Filter.Eventually.of_forall fun x => | |
| 1751 | - (metricEnergy_gradient_transport period κ m K e hK he hsym x (z x)).symm | |
| 1752 | - | |
| 1753 | -/-- The compact vector coefficient whose pairing with velocity is the metric transport term. -/ | |
| 1754 | -def transportFlux (κ : ℝ) (m : Vector3) | |
| 1755 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1756 | - (e : LiftDomain period → Vector3) (x : LiftDomain period) : Vector3 := | |
| 1757 | - vectorOfLinear κ m ((innerSL ℝ (K x (e x))).comp | |
| 1758 | - (fderiv ℝ (localFieldLift period e x) 0)) | |
| 1759 | - | |
| 1760 | -omit [Fact (0 < period)] in | |
| 1761 | -theorem transportFlux_inner (κ : ℝ) (m : Vector3) | |
| 1762 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1763 | - (e : LiftDomain period → Vector3) (x : LiftDomain period) (z : Vector3) : | |
| 1764 | - ⟪transportFlux period κ m K e x, z⟫_ℝ = | |
| 1765 | - ⟪K x (e x), | |
| 1766 | - fderiv ℝ (localFieldLift period e x) 0 (transportDirection κ m z)⟫_ℝ := by | |
| 1767 | - rw [transportFlux, vectorOfLinear_inner] | |
| 1768 | - rfl | |
| 1769 | - | |
| 1770 | -omit [Fact (0 < period)] in | |
| 1771 | -theorem transportFlux_continuous (κ : ℝ) (m : Vector3) | |
| 1772 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1773 | - (e : LiftDomain period → Vector3) | |
| 1774 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 1775 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) : | |
| 1776 | - Continuous (transportFlux period κ m K e) := by | |
| 1777 | - apply (PiLp.continuous_toLp 2 (fun _ : Fin 3 => ℝ)).comp | |
| 1778 | - apply continuous_pi | |
| 1779 | - intro i | |
| 1780 | - exact ((smoothField_continuous period K hK).clm_apply | |
| 1781 | - (smoothField_continuous period e he)).inner | |
| 1782 | - ((localFDeriv_continuous period e he).clm_apply continuous_const) | |
| 1783 | - | |
| 1784 | -omit [Fact (0 < period)] in | |
| 1785 | -theorem transportFlux_compact (κ : ℝ) (m : Vector3) | |
| 1786 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1787 | - (e : LiftDomain period → Vector3) (he : HasCompactSupport e) : | |
| 1788 | - HasCompactSupport (transportFlux period κ m K e) := by | |
| 1789 | - apply he.mono | |
| 1790 | - intro x hx | |
| 1791 | - contrapose! hx | |
| 1792 | - simp only [Function.mem_support, not_not] at hx ⊢ | |
| 1793 | - apply PiLp.ext | |
| 1794 | - intro i | |
| 1795 | - simp [transportFlux, vectorOfLinear, hx] | |
| 1796 | - | |
| 1797 | -theorem compact_pairing_integrable (f : LiftDomain period → Vector3) | |
| 1798 | - (hf : Continuous f) (hfc : HasCompactSupport f) (z : LiftL2 period) : | |
| 1799 | - Integrable (fun x => ⟪f x, z x⟫_ℝ) (liftMeasure period) := by | |
| 1800 | - have hlp : MemLp f 2 (liftMeasure period) := hf.memLp_of_hasCompactSupport hfc | |
| 1801 | - apply (L2.integrable_inner (hlp.toLp f) z).congr | |
| 1802 | - filter_upwards [hlp.coeFn_toLp] with x hx | |
| 1803 | - rw [hx] | |
| 1804 | - | |
| 1805 | -theorem metric_transport_integrable (κ : ℝ) (m : Vector3) | |
| 1806 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1807 | - (e : LiftDomain period → Vector3) (hec : HasCompactSupport e) | |
| 1808 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 1809 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) (z : LiftL2 period) : | |
| 1810 | - Integrable (fun x => ⟪K x (e x), | |
| 1811 | - fderiv ℝ (localFieldLift period e x) 0 (transportDirection κ m (z x))⟫_ℝ) | |
| 1812 | - (liftMeasure period) := by | |
| 1813 | - simpa only [transportFlux_inner] using | |
| 1814 | - compact_pairing_integrable period (transportFlux period κ m K e) | |
| 1815 | - (transportFlux_continuous period κ m K e hK he) | |
| 1816 | - (transportFlux_compact period κ m K e hec) z | |
| 1817 | - | |
| 1818 | -theorem metric_transport_by_parts (κ : ℝ) (m : Vector3) | |
| 1819 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1820 | - (e : LiftDomain period → Vector3) (hec : HasCompactSupport e) | |
| 1821 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 1822 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) | |
| 1823 | - (hsym : ∀ x v w, ⟪K x v, w⟫_ℝ = ⟪v, K x w⟫_ℝ) | |
| 1824 | - {z : LiftL2 period} (hz : z ∈ divergenceFreeSpace period κ m) : | |
| 1825 | - (∫ x, ⟪K x (e x), | |
| 1826 | - fderiv ℝ (localFieldLift period e x) 0 (transportDirection κ m (z x))⟫_ℝ | |
| 1827 | - ∂liftMeasure period) = | |
| 1828 | - -(∫ x, (1 / 2 : ℝ) * ⟪(fderiv ℝ (localFieldLift period K x) 0 | |
| 1829 | - (transportDirection κ m (z x))) (e x), e x⟫_ℝ ∂liftMeasure period) := by | |
| 1830 | - have ht := metric_transport_integrable period κ m K e hec hK he z | |
| 1831 | - have hg := compact_pairing_integrable period | |
| 1832 | - (liftedGradient period κ m (metricEnergy period K e)) | |
| 1833 | - (liftedGradient_continuous period κ m (metricEnergy period K e) | |
| 1834 | - (metricEnergy_smooth period K e hK he)) | |
| 1835 | - (liftedGradient_hasCompactSupport period κ m (metricEnergy period K e) | |
| 1836 | - (metricEnergy_compact period K e hec)) z | |
| 1837 | - simp only [metricEnergy_gradient_transport period κ m K e hK he hsym] at hg | |
| 1838 | - have hq : Integrable (fun x => (1 / 2 : ℝ) * | |
| 1839 | - ⟪(fderiv ℝ (localFieldLift period K x) 0 | |
| 1840 | - (transportDirection κ m (z x))) (e x), e x⟫_ℝ) (liftMeasure period) := by | |
| 1841 | - convert hg.sub ht using 1 | |
| 1842 | - funext x | |
| 1843 | - simp | |
| 1844 | - have hzint := metric_transport_zero period κ m K e hec hK he hsym hz | |
| 1845 | - rw [integral_add ht hq] at hzint | |
| 1846 | - exact eq_neg_of_add_eq_zero_left hzint | |
| 1847 | - | |
| 1848 | 1444 | theorem transportDirection_norm_le (κ : ℝ) (m v : Vector3) : |
| 1849 | 1445 | ‖transportDirection κ m v‖ ≤ (|κ| + ‖m‖) * ‖v‖ := by |
| 1850 | 1446 | rw [transportDirection, Prod.norm_mk, norm_smul, Real.norm_eq_abs] |
| @@ -1854,72 +1450,6 @@ theorem transportDirection_norm_le (κ : ℝ) (m v : Vector3) : | ||
| 1854 | 1450 | · exact (norm_inner_le_norm m v).trans |
| 1855 | 1451 | (mul_le_mul_of_nonneg_right (le_add_of_nonneg_left (abs_nonneg κ)) (norm_nonneg v)) |
| 1856 | 1452 | |
| 1857 | -theorem metric_transport_bound (κ : ℝ) (m : Vector3) | |
| 1858 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1859 | - (e : LiftDomain period → Vector3) (hec : HasCompactSupport e) | |
| 1860 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 1861 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) | |
| 1862 | - (hsym : ∀ x v w, ⟪K x v, w⟫_ℝ = ⟪v, K x w⟫_ℝ) | |
| 1863 | - {z : LiftL2 period} (hz : z ∈ divergenceFreeSpace period κ m) | |
| 1864 | - (C B : ℝ≥0) | |
| 1865 | - (hDK : ∀ x, ‖fderiv ℝ (localFieldLift period K x) 0‖ ≤ C) | |
| 1866 | - (hb : ∀ᵐ x ∂liftMeasure period, ‖transportDirection κ m (z x)‖ ≤ B) : | |
| 1867 | - |∫ x, ⟪K x (e x), | |
| 1868 | - fderiv ℝ (localFieldLift period e x) 0 (transportDirection κ m (z x))⟫_ℝ | |
| 1869 | - ∂liftMeasure period| ≤ | |
| 1870 | - (1 / 2 : ℝ) * C * B * ∫ x, ‖e x‖ ^ 2 ∂liftMeasure period := by | |
| 1871 | - rw [metric_transport_by_parts period κ m K e hec hK he hsym hz, abs_neg] | |
| 1872 | - have heLp : MemLp e 2 (liftMeasure period) := | |
| 1873 | - (smoothField_continuous period e he).memLp_of_hasCompactSupport hec | |
| 1874 | - have heint := heLp.norm.integrable_sq | |
| 1875 | - have hbound := norm_integral_le_of_norm_le | |
| 1876 | - (heint.const_mul ((1 / 2 : ℝ) * C * B)) (f := fun x => (1 / 2 : ℝ) * | |
| 1877 | - ⟪(fderiv ℝ (localFieldLift period K x) 0 | |
| 1878 | - (transportDirection κ m (z x))) (e x), e x⟫_ℝ) ?_ | |
| 1879 | - · simpa only [Real.norm_eq_abs, integral_const_mul] using hbound | |
| 1880 | - filter_upwards [hb] with x hx | |
| 1881 | - have hL : ‖fderiv ℝ (localFieldLift period K x) 0 | |
| 1882 | - (transportDirection κ m (z x))‖ ≤ (C : ℝ) * B := | |
| 1883 | - ((fderiv ℝ (localFieldLift period K x) 0).le_opNorm _).trans | |
| 1884 | - (mul_le_mul (hDK x) hx (norm_nonneg _) C.coe_nonneg) | |
| 1885 | - have hLe : ‖(fderiv ℝ (localFieldLift period K x) 0 | |
| 1886 | - (transportDirection κ m (z x))) (e x)‖ ≤ (C : ℝ) * B * ‖e x‖ := | |
| 1887 | - ((fderiv ℝ (localFieldLift period K x) 0 | |
| 1888 | - (transportDirection κ m (z x))).le_opNorm _).trans | |
| 1889 | - (mul_le_mul_of_nonneg_right hL (norm_nonneg _)) | |
| 1890 | - calc | |
| 1891 | - _ = (1 / 2 : ℝ) * ‖⟪(fderiv ℝ (localFieldLift period K x) 0 | |
| 1892 | - (transportDirection κ m (z x))) (e x), e x⟫_ℝ‖ := by | |
| 1893 | - rw [norm_mul] | |
| 1894 | - norm_num | |
| 1895 | - _ ≤ (1 / 2 : ℝ) * (‖(fderiv ℝ (localFieldLift period K x) 0 | |
| 1896 | - (transportDirection κ m (z x))) (e x)‖ * ‖e x‖) := | |
| 1897 | - mul_le_mul_of_nonneg_left (norm_inner_le_norm _ _) (by norm_num) | |
| 1898 | - _ ≤ (1 / 2 : ℝ) * (((C : ℝ) * B * ‖e x‖) * ‖e x‖) := | |
| 1899 | - mul_le_mul_of_nonneg_left | |
| 1900 | - (mul_le_mul_of_nonneg_right hLe (norm_nonneg _)) (by norm_num) | |
| 1901 | - _ = _ := by ring | |
| 1902 | - | |
| 1903 | -theorem metric_transport_L2_bound (κ : ℝ) (m : Vector3) | |
| 1904 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 1905 | - (e : LiftL2 period) (hec : HasCompactSupport (fun x => e x)) | |
| 1906 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 1907 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period (fun y => e y) x)) | |
| 1908 | - (hsym : ∀ x v w, ⟪K x v, w⟫_ℝ = ⟪v, K x w⟫_ℝ) | |
| 1909 | - {z : LiftL2 period} (hz : z ∈ divergenceFreeSpace period κ m) | |
| 1910 | - (C B : ℝ≥0) | |
| 1911 | - (hDK : ∀ x, ‖fderiv ℝ (localFieldLift period K x) 0‖ ≤ C) | |
| 1912 | - (hb : ∀ᵐ x ∂liftMeasure period, ‖transportDirection κ m (z x)‖ ≤ B) : | |
| 1913 | - |∫ x, ⟪K x (e x), | |
| 1914 | - fderiv ℝ (localFieldLift period (fun y => e y) x) 0 | |
| 1915 | - (transportDirection κ m (z x))⟫_ℝ ∂liftMeasure period| ≤ | |
| 1916 | - (1 / 2 : ℝ) * C * B * ‖e‖ ^ 2 := by | |
| 1917 | - have hn : (∫ x, ‖e x‖ ^ 2 ∂liftMeasure period) = ‖e‖ ^ 2 := by | |
| 1918 | - rw [← real_inner_self_eq_norm_sq, L2.inner_def] | |
| 1919 | - simp only [real_inner_self_eq_norm_sq] | |
| 1920 | - simpa only [hn] using metric_transport_bound period κ m K (fun x => e x) | |
| 1921 | - hec hK he hsym hz C B hDK hb | |
| 1922 | - | |
| 1923 | 1453 | end EulerMetricTransport |
| 1924 | 1454 | |
| 1925 | 1455 | end |
| @@ -1953,10 +1483,6 @@ theorem directionalDerivative_smooth (a : V) (f : V → W) (hf : ContDiff ℝ | ||
| 1953 | 1483 | ContDiff ℝ ∞ (directionalDerivative a f) := by |
| 1954 | 1484 | exact (hf.fderiv_right (by simp)).clm_apply contDiff_const |
| 1955 | 1485 | |
| 1956 | -theorem transport_smooth (b : V → V) (f : V → W) | |
| 1957 | - (hb : ContDiff ℝ ∞ b) (hf : ContDiff ℝ ∞ f) : ContDiff ℝ ∞ (transport b f) := by | |
| 1958 | - exact (hf.fderiv_right (by simp)).clm_apply hb | |
| 1959 | - | |
| 1960 | 1486 | theorem directional_transport_commutator (a : V) (b : V → V) (f : V → W) |
| 1961 | 1487 | (hb : ContDiff ℝ ∞ b) (hf : ContDiff ℝ ∞ f) (x : V) : |
| 1962 | 1488 | directionalDerivative a (transport b f) x = |
| @@ -1979,14 +1505,6 @@ theorem directional_transport_commutator (a : V) (b : V → V) (f : V → W) | ||
| 1979 | 1505 | rw [hs] |
| 1980 | 1506 | exact add_comm _ _ |
| 1981 | 1507 | |
| 1982 | -theorem directional_transport_commutator_norm (a : V) (b : V → V) (f : V → W) | |
| 1983 | - (hb : ContDiff ℝ ∞ b) (hf : ContDiff ℝ ∞ f) (x : V) : | |
| 1984 | - ‖directionalDerivative a (transport b f) x - | |
| 1985 | - transport b (directionalDerivative a f) x‖ ≤ | |
| 1986 | - ‖fderiv ℝ f x‖ * ‖directionalDerivative a b x‖ := by | |
| 1987 | - rw [directional_transport_commutator a b f hb hf x, add_sub_cancel_left] | |
| 1988 | - exact (fderiv ℝ f x).le_opNorm _ | |
| 1989 | - | |
| 1990 | 1508 | end Euclidean |
| 1991 | 1509 | |
| 1992 | 1510 | variable (period : ℝ) |
| @@ -1999,11 +1517,6 @@ variable {W : Type*} [NormedAddCommGroup W] [NormedSpace ℝ W] | ||
| 1999 | 1517 | def fieldDerivative (a : LiftTangent) (f : LiftDomain period → W) |
| 2000 | 1518 | (x : LiftDomain period) : W := fderiv ℝ (localFieldLift period f x) 0 a |
| 2001 | 1519 | |
| 2002 | -/-- The actual directional transport operator on a cylinder field. -/ | |
| 2003 | -def fieldTransport (b : LiftDomain period → LiftTangent) | |
| 2004 | - (f : LiftDomain period → W) (x : LiftDomain period) : W := | |
| 2005 | - fderiv ℝ (localFieldLift period f x) 0 (b x) | |
| 2006 | - | |
| 2007 | 1520 | omit [NormedAddCommGroup W] [NormedSpace ℝ W] in |
| 2008 | 1521 | theorem localFieldLift_shift (f : LiftDomain period → W) (x : LiftDomain period) |
| 2009 | 1522 | (h : LiftTangent) : |
| @@ -2027,52 +1540,12 @@ theorem localFieldLift_fieldDerivative (a : LiftTangent) | ||
| 2027 | 1540 | exact congrArg (fun L : LiftTangent →L[ℝ] W => L a) |
| 2028 | 1541 | (fderiv_localFieldLift_shift period f x h) |
| 2029 | 1542 | |
| 2030 | -theorem localFieldLift_fieldTransport (b : LiftDomain period → LiftTangent) | |
| 2031 | - (f : LiftDomain period → W) (x : LiftDomain period) : | |
| 2032 | - localFieldLift period (fieldTransport period b f) x = | |
| 2033 | - transport (localFieldLift period b x) (localFieldLift period f x) := by | |
| 2034 | - funext h | |
| 2035 | - exact congrArg (fun L : LiftTangent →L[ℝ] W => L (localFieldLift period b x h)) | |
| 2036 | - (fderiv_localFieldLift_shift period f x h) | |
| 2037 | - | |
| 2038 | 1543 | theorem fieldDerivative_smooth (a : LiftTangent) (f : LiftDomain period → W) |
| 2039 | 1544 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (x : LiftDomain period) : |
| 2040 | 1545 | ContDiff ℝ ∞ (localFieldLift period (fieldDerivative period a f) x) := by |
| 2041 | 1546 | rw [localFieldLift_fieldDerivative] |
| 2042 | 1547 | exact directionalDerivative_smooth a _ (hf x) |
| 2043 | 1548 | |
| 2044 | -theorem fieldTransport_smooth (b : LiftDomain period → LiftTangent) | |
| 2045 | - (f : LiftDomain period → W) | |
| 2046 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 2047 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (x : LiftDomain period) : | |
| 2048 | - ContDiff ℝ ∞ (localFieldLift period (fieldTransport period b f) x) := by | |
| 2049 | - rw [localFieldLift_fieldTransport] | |
| 2050 | - exact transport_smooth _ _ (hb x) (hf x) | |
| 2051 | - | |
| 2052 | -theorem field_transport_commutator (a : LiftTangent) | |
| 2053 | - (b : LiftDomain period → LiftTangent) (f : LiftDomain period → W) | |
| 2054 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 2055 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (x : LiftDomain period) : | |
| 2056 | - fieldDerivative period a (fieldTransport period b f) x = | |
| 2057 | - fieldTransport period b (fieldDerivative period a f) x + | |
| 2058 | - fderiv ℝ (localFieldLift period f x) 0 (fieldDerivative period a b x) := by | |
| 2059 | - have hc := directional_transport_commutator a (localFieldLift period b x) | |
| 2060 | - (localFieldLift period f x) (hb x) (hf x) 0 | |
| 2061 | - simpa only [fieldDerivative, fieldTransport, localFieldLift_fieldTransport, | |
| 2062 | - localFieldLift_fieldDerivative, directionalDerivative, transport, localFieldLift, | |
| 2063 | - Prod.fst_zero, Prod.snd_zero, AddCircle.coe_zero, add_zero] using hc | |
| 2064 | - | |
| 2065 | -theorem field_transport_commutator_norm (a : LiftTangent) | |
| 2066 | - (b : LiftDomain period → LiftTangent) (f : LiftDomain period → W) | |
| 2067 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 2068 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (x : LiftDomain period) : | |
| 2069 | - ‖fieldDerivative period a (fieldTransport period b f) x - | |
| 2070 | - fieldTransport period b (fieldDerivative period a f) x‖ ≤ | |
| 2071 | - ‖fderiv ℝ (localFieldLift period f x) 0‖ * | |
| 2072 | - ‖fieldDerivative period a b x‖ := by | |
| 2073 | - rw [field_transport_commutator period a b f hb hf x, add_sub_cancel_left] | |
| 2074 | - exact (fderiv ℝ (localFieldLift period f x) 0).le_opNorm _ | |
| 2075 | - | |
| 2076 | 1549 | end Fields |
| 2077 | 1550 | |
| 2078 | 1551 | end EulerTransportDerivatives |
| @@ -2482,33 +1955,6 @@ theorem pressure_translation_hasDerivAt (κ : ℝ) (m : Vector3) (a : LiftTangen | ||
| 2482 | 1955 | simp [At, translatedCoefficient] |
| 2483 | 1956 | simpa only [hzero, translationPath_zero, translation_zero] using hsol |
| 2484 | 1957 | |
| 2485 | -theorem pressure_translation_derivative_norm (κ : ℝ) (m : Vector3) (a : LiftTangent) | |
| 2486 | - (A : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 2487 | - (hA : AEStronglyMeasurable A (liftMeasure period)) | |
| 2488 | - (hAs : ∀ x, ContDiff ℝ ∞ (localFieldLift period A x)) | |
| 2489 | - (C D M : ℝ≥0) (hAb : ∀ x, ‖A x‖ ≤ C) | |
| 2490 | - (hDA : ∀ x, ‖fderiv ℝ (localFieldLift period A x) 0‖ ≤ D) | |
| 2491 | - (hDDA : ∀ x y, ‖fderiv ℝ (fderiv ℝ (localFieldLift period A x)) y‖ ≤ M) | |
| 2492 | - (c : ℝ) (hc : 0 < c) (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A x v, v⟫_ℝ) | |
| 2493 | - (f f' : LiftL2 period) | |
| 2494 | - (hf : HasDerivAt (fun t => translation period (translationPath period a t) f) f' 0) : | |
| 2495 | - ‖deriv (fun t => translation period (translationPath period a t) | |
| 2496 | - (liftedPressure period κ m A hA C hAb c hc hpos f)) 0‖ ≤ | |
| 2497 | - c⁻¹ * (‖f'‖ + (D : ℝ) * ‖a‖ * | |
| 2498 | - ‖liftedPressure period κ m A hA C hAb c hc hpos f‖) := by | |
| 2499 | - have hd := pressure_translation_hasDerivAt period κ m a A hA hAs C D M hAb hDA hDDA | |
| 2500 | - c hc hpos f f' hf | |
| 2501 | - rw [hd.deriv] | |
| 2502 | - refine (pressureSolver_apply_norm_le (gradientSpace period κ m) | |
| 2503 | - (coefficientOperator A hA C hAb) c hc | |
| 2504 | - (coefficientOperator_coercive A hA C hAb c hpos) _).trans ?_ | |
| 2505 | - apply mul_le_mul_of_nonneg_left _ (inv_nonneg.mpr hc.le) | |
| 2506 | - refine (norm_sub_le _ _).trans (add_le_add_right ?_ ‖f'‖) | |
| 2507 | - exact coefficientApply_norm_le (translatedCoefficientDerivative period a A 0) | |
| 2508 | - (translatedCoefficientDerivative_measurable period a A hAs) (D * ‖a‖₊) | |
| 2509 | - (fun x => translatedCoefficientDerivative_bound period a A D hDA x) | |
| 2510 | - (liftedPressure period κ m A hA C hAb c hc hpos f) | |
| 2511 | - | |
| 2512 | 1958 | end LiftedTranslation |
| 2513 | 1959 | |
| 2514 | 1960 | end EulerPressureSpatialRegularity |
| @@ -2828,60 +2274,6 @@ theorem strong_translation_derivative_weak (a : LiftTangent) (f f' : LiftL2 peri | ||
| 2828 | 2274 | filter_upwards [derivativeFieldLp_ae period a φ hφc hφ] with x hx |
| 2829 | 2275 | rw [hx] |
| 2830 | 2276 | |
| 2831 | -theorem divergenceFree_translation_mem (κ : ℝ) (m : Vector3) (a : LiftDomain period) | |
| 2832 | - {f : LiftL2 period} (hf : f ∈ divergenceFreeSpace period κ m) : | |
| 2833 | - translation period a f ∈ divergenceFreeSpace period κ m := by | |
| 2834 | - intro g hg | |
| 2835 | - rw [real_inner_comm, translation_pairing, real_inner_comm] | |
| 2836 | - exact hf (translation period (-a) g) (gradientSpace_translation_mem period κ m (-a) hg) | |
| 2837 | - | |
| 2838 | -theorem divergenceFree_translation_derivative (κ : ℝ) (m : Vector3) (a : LiftTangent) | |
| 2839 | - {f f' : LiftL2 period} (hf : f ∈ divergenceFreeSpace period κ m) | |
| 2840 | - (hder : HasDerivAt (fun t => translation period (translationPath period a t) f) f' 0) : | |
| 2841 | - f' ∈ divergenceFreeSpace period κ m := by | |
| 2842 | - have hlim := hder.tendsto_slope_zero | |
| 2843 | - simp only [zero_add, translationPath_zero, translation_zero] at hlim | |
| 2844 | - apply (gradientSpace period κ m).isClosed_orthogonal.mem_of_tendsto hlim | |
| 2845 | - exact Filter.Eventually.of_forall fun t => (divergenceFreeSpace period κ m).smul_mem _ | |
| 2846 | - ((divergenceFreeSpace period κ m).sub_mem | |
| 2847 | - (divergenceFree_translation_mem period κ m (translationPath period a t) hf) hf) | |
| 2848 | - | |
| 2849 | -theorem pressure_has_weak_derivative (κ : ℝ) (m : Vector3) (a : LiftTangent) | |
| 2850 | - (A : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 2851 | - (hA : AEStronglyMeasurable A (liftMeasure period)) | |
| 2852 | - (hAs : ∀ x, ContDiff ℝ ∞ (localFieldLift period A x)) | |
| 2853 | - (C D M : ℝ≥0) (hAb : ∀ x, ‖A x‖ ≤ C) | |
| 2854 | - (hDA : ∀ x, ‖fderiv ℝ (localFieldLift period A x) 0‖ ≤ D) | |
| 2855 | - (hDDA : ∀ x y, ‖fderiv ℝ (fderiv ℝ (localFieldLift period A x)) y‖ ≤ M) | |
| 2856 | - (c : ℝ) (hc : 0 < c) (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A x v, v⟫_ℝ) | |
| 2857 | - (f f' : LiftL2 period) | |
| 2858 | - (hf : HasDerivAt (fun t => translation period (translationPath period a t) f) f' 0) : | |
| 2859 | - ∃ p' : LiftL2 period, | |
| 2860 | - HasDerivAt (fun t => translation period (translationPath period a t) | |
| 2861 | - (liftedPressure period κ m A hA C hAb c hc hpos f)) p' 0 ∧ | |
| 2862 | - p' ∈ gradientSpace period κ m ∧ | |
| 2863 | - ‖p'‖ ≤ c⁻¹ * (‖f'‖ + (D : ℝ) * ‖a‖ * | |
| 2864 | - ‖liftedPressure period κ m A hA C hAb c hc hpos f‖) ∧ | |
| 2865 | - ∀ (φ : LiftDomain period → Vector3), HasCompactSupport φ → | |
| 2866 | - (∀ x, ContDiff ℝ ∞ (localFieldLift period φ x)) → | |
| 2867 | - (∫ x, ⟪p' x, φ x⟫_ℝ ∂liftMeasure period) = | |
| 2868 | - -(∫ x, ⟪(liftedPressure period κ m A hA C hAb c hc hpos f) x, | |
| 2869 | - fieldDerivative period a φ x⟫_ℝ ∂liftMeasure period) := by | |
| 2870 | - let p := liftedPressure period κ m A hA C hAb c hc hpos f | |
| 2871 | - let p' := liftedPressure period κ m A hA C hAb c hc hpos | |
| 2872 | - (f' - EulerLiftedPressure.coefficientOperator (translatedCoefficientDerivative period a A 0) | |
| 2873 | - (translatedCoefficientDerivative_measurable period a A hAs) (D * ‖a‖₊) | |
| 2874 | - (fun x => translatedCoefficientDerivative_bound period a A D hDA x) p) | |
| 2875 | - have hpd : HasDerivAt (fun t => translation period (translationPath period a t) p) p' 0 := | |
| 2876 | - pressure_translation_hasDerivAt period κ m a A hA hAs C D M hAb hDA hDDA | |
| 2877 | - c hc hpos f f' hf | |
| 2878 | - refine ⟨p', hpd, liftedPressure_mem period κ m A hA C hAb c hc hpos _, ?_, ?_⟩ | |
| 2879 | - · have hn := pressure_translation_derivative_norm period κ m a A hA hAs C D M hAb hDA hDDA | |
| 2880 | - c hc hpos f f' hf | |
| 2881 | - rwa [hpd.deriv] at hn | |
| 2882 | - · intro φ hφc hφ | |
| 2883 | - exact strong_translation_derivative_weak period a p p' hpd φ hφc hφ | |
| 2884 | - | |
| 2885 | 2277 | end EulerLiftedWeakDerivative |
| 2886 | 2278 | |
| 2887 | 2279 | end |
| @@ -4083,27 +3475,6 @@ theorem metric_transport_H1_bound (κ : ℝ) (m : Vector3) | ||
| 4083 | 3475 | filter_upwards [hv] with x hx |
| 4084 | 3476 | exact metricCorrection_pointwise_bound period K e D β x _ (hD x) hx |
| 4085 | 3477 | |
| 4086 | -/-- The noncompact transport estimate expressed in the genuine L² Hilbert norm. -/ | |
| 4087 | -theorem metric_transport_L2_H1_bound (κ : ℝ) (m : Vector3) | |
| 4088 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) (e : LiftL2 period) | |
| 4089 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 4090 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period (fun y => e y) x)) | |
| 4091 | - (hDe : MemLp (fun x => fderiv ℝ (localFieldLift period (fun y => e y) x) 0) | |
| 4092 | - 2 (liftMeasure period)) | |
| 4093 | - (hsym : ∀ x v w, ⟪K x v, w⟫_ℝ = ⟪v, K x w⟫_ℝ) | |
| 4094 | - {z : LiftL2 period} (hz : z ∈ divergenceFreeSpace period κ m) | |
| 4095 | - (C D B : ℝ≥0) (hC : ∀ x, ‖K x‖ ≤ C) | |
| 4096 | - (hD : ∀ x, ‖fderiv ℝ (localFieldLift period K x) 0‖ ≤ D) | |
| 4097 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) : | |
| 4098 | - |∫ x, ⟪K x (e x), fderiv ℝ (localFieldLift period (fun y => e y) x) 0 | |
| 4099 | - (transportDirection κ m (z x))⟫_ℝ ∂liftMeasure period| ≤ | |
| 4100 | - (1 / 2 : ℝ) * D * ((|κ| + ‖m‖) * B) * ‖e‖ ^ 2 := by | |
| 4101 | - have hn : (∫ x, ‖e x‖ ^ 2 ∂liftMeasure period) = ‖e‖ ^ 2 := by | |
| 4102 | - rw [← real_inner_self_eq_norm_sq, L2.inner_def] | |
| 4103 | - simp only [real_inner_self_eq_norm_sq] | |
| 4104 | - simpa only [hn] using metric_transport_H1_bound period κ m K (fun x => e x) | |
| 4105 | - hK he (Lp.memLp e) hDe hsym hz C D B hC hD hzB | |
| 4106 | - | |
| 4107 | 3478 | end EulerNoncompactTransport |
| 4108 | 3479 | |
| 4109 | 3480 | end |
| @@ -4158,60 +3529,6 @@ theorem energy_derivative_bound (K K' : H →L[ℝ] H) (e transport forcing : H) | ||
| 4158 | 3529 | have ht' := (abs_le.mp ht).1 |
| 4159 | 3530 | nlinarith |
| 4160 | 3531 | |
| 4161 | -/-- A positive regularization gives a differentiable metric norm even at zero. -/ | |
| 4162 | -theorem regularized_metric_norm_hasDerivAt (K : ℝ → H →L[ℝ] H) (e : ℝ → H) | |
| 4163 | - (t δ : ℝ) (K' : H →L[ℝ] H) (e' : H) | |
| 4164 | - (hδ : 0 < δ) (hpos : 0 ≤ ⟪K t (e t), e t⟫_ℝ) | |
| 4165 | - (hK : HasDerivAt K K' t) (he : HasDerivAt e e' t) | |
| 4166 | - (hsym : ∀ v w, ⟪K t v, w⟫_ℝ = ⟪v, K t w⟫_ℝ) : | |
| 4167 | - HasDerivAt (fun s => √(⟪K s (e s), e s⟫_ℝ + δ ^ 2)) | |
| 4168 | - ((⟪K' (e t), e t⟫_ℝ + 2 * ⟪K t (e t), e'⟫_ℝ) / | |
| 4169 | - (2 * √(⟪K t (e t), e t⟫_ℝ + δ ^ 2))) t := by | |
| 4170 | - exact HasDerivAt.sqrt | |
| 4171 | - ((metric_energy_hasDerivAt K e t K' e' hK he hsym).add_const (δ ^ 2)) (by nlinarith) | |
| 4172 | - | |
| 4173 | -/-- The norm estimate used before summing Gevrey weights. All terms come from | |
| 4174 | -the actual differential equation; no estimate for the energy derivative is assumed. -/ | |
| 4175 | -theorem regularized_metric_norm_evolution (K : ℝ → H →L[ℝ] H) (e : ℝ → H) | |
| 4176 | - (t δ c B : ℝ) (K' : H →L[ℝ] H) (e' transport pressure forcing : H) | |
| 4177 | - (hδ : 0 < δ) (hc : 0 < c) (hB : 0 ≤ B) | |
| 4178 | - (hcoercive : c ^ 2 * ‖e t‖ ^ 2 ≤ ⟪K t (e t), e t⟫_ℝ) | |
| 4179 | - (hK : HasDerivAt K K' t) (he : HasDerivAt e e' t) | |
| 4180 | - (hsym : ∀ v w, ⟪K t v, w⟫_ℝ = ⟪v, K t w⟫_ℝ) | |
| 4181 | - (heq : e' + transport + pressure = forcing) | |
| 4182 | - (hp : ⟪K t (e t), pressure⟫_ℝ = 0) | |
| 4183 | - (ht : |⟪K t (e t), transport⟫_ℝ| ≤ B * ‖e t‖ ^ 2) : | |
| 4184 | - deriv (fun s => √(⟪K s (e s), e s⟫_ℝ + δ ^ 2)) t ≤ | |
| 4185 | - ((‖K'‖ + 2 * B) / (2 * c ^ 2)) * √(⟪K t (e t), e t⟫_ℝ + δ ^ 2) + | |
| 4186 | - (‖K t‖ / c) * ‖forcing‖ := by | |
| 4187 | - let E := √(⟪K t (e t), e t⟫_ℝ + δ ^ 2) | |
| 4188 | - have hq : 0 ≤ ⟪K t (e t), e t⟫_ℝ := | |
| 4189 | - (mul_nonneg (sq_nonneg c) (sq_nonneg ‖e t‖)).trans hcoercive | |
| 4190 | - have hE : 0 < E := sqrt_pos.2 (by nlinarith) | |
| 4191 | - have hE2 : E ^ 2 = ⟪K t (e t), e t⟫_ℝ + δ ^ 2 := sq_sqrt (by nlinarith) | |
| 4192 | - have hnorm : ‖e t‖ ≤ E / c := by | |
| 4193 | - apply (le_div_iff₀ hc).2 | |
| 4194 | - nlinarith [norm_nonneg (e t)] | |
| 4195 | - have hnorm2 : ‖e t‖ ^ 2 ≤ E ^ 2 / c ^ 2 := by | |
| 4196 | - rw [← div_pow] | |
| 4197 | - exact pow_le_pow_left₀ (norm_nonneg _) hnorm 2 | |
| 4198 | - have hdiff := metric_energy_evolution K e t K' e' transport pressure forcing hK he hsym heq hp | |
| 4199 | - have hroot := HasDerivAt.sqrt (hdiff.add_const (δ ^ 2)) (by nlinarith : | |
| 4200 | - ⟪K t (e t), e t⟫_ℝ + δ ^ 2 ≠ 0) | |
| 4201 | - rw [hroot.deriv] | |
| 4202 | - change (_ / (2 * E)) ≤ _ | |
| 4203 | - apply (div_le_iff₀ (by positivity : 0 < 2 * E)).2 | |
| 4204 | - have hb := energy_derivative_bound (K t) K' (e t) transport forcing B hB ht | |
| 4205 | - have h1 := mul_le_mul_of_nonneg_left hnorm2 | |
| 4206 | - (show 0 ≤ ‖K'‖ + 2 * B by positivity) | |
| 4207 | - have h2 := mul_le_mul_of_nonneg_left hnorm | |
| 4208 | - (show 0 ≤ 2 * ‖K t‖ * ‖forcing‖ by positivity) | |
| 4209 | - calc | |
| 4210 | - _ ≤ (‖K'‖ + 2 * B) * ‖e t‖ ^ 2 + 2 * ‖K t‖ * ‖e t‖ * ‖forcing‖ := hb | |
| 4211 | - _ ≤ (‖K'‖ + 2 * B) * (E ^ 2 / c ^ 2) + | |
| 4212 | - 2 * ‖K t‖ * (E / c) * ‖forcing‖ := by nlinarith | |
| 4213 | - _ = _ := by dsimp [E]; field_simp | |
| 4214 | - | |
| 4215 | 3532 | end EulerMetricEnergyEvolution |
| 4216 | 3533 | |
| 4217 | 3534 | end |
| @@ -4229,132 +3546,6 @@ open scoped ContDiff ENNReal NNReal Topology | ||
| 4229 | 3546 | |
| 4230 | 3547 | variable (period : ℝ) [Fact (0 < period)] |
| 4231 | 3548 | |
| 4232 | -/-- The actual directional transport derivative is square integrable under H¹ and bounded velocity. -/ | |
| 4233 | -theorem liftedTransport_memLp (κ : ℝ) (m : Vector3) (e z : LiftL2 period) | |
| 4234 | - (hDe : MemLp (fun x => fderiv ℝ (localFieldLift period (fun y => e y) x) 0) | |
| 4235 | - 2 (liftMeasure period)) (B : ℝ≥0) | |
| 4236 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) : | |
| 4237 | - MemLp (fun x => fderiv ℝ (localFieldLift period (fun y => e y) x) 0 | |
| 4238 | - (transportDirection κ m (z x))) 2 (liftMeasure period) := by | |
| 4239 | - apply hDe.of_le_mul (c := (|κ| + ‖m‖) * B) | |
| 4240 | - · exact aestronglyMeasurable_apply period hDe.aestronglyMeasurable | |
| 4241 | - (transportDirection_aestronglyMeasurable period κ m z) | |
| 4242 | - filter_upwards [hzB] with x hx | |
| 4243 | - have hv := (transportDirection_norm_le κ m (z x)).trans | |
| 4244 | - (mul_le_mul_of_nonneg_left hx (add_nonneg (abs_nonneg _) (norm_nonneg _))) | |
| 4245 | - calc | |
| 4246 | - _ ≤ ‖fderiv ℝ (localFieldLift period (fun y => e y) x) 0‖ * | |
| 4247 | - ‖transportDirection κ m (z x)‖ := ContinuousLinearMap.le_opNorm _ _ | |
| 4248 | - _ ≤ ‖fderiv ℝ (localFieldLift period (fun y => e y) x) 0‖ * ((|κ| + ‖m‖) * B) := | |
| 4249 | - mul_le_mul_of_nonneg_left hv (norm_nonneg _) | |
| 4250 | - _ = _ := by ring | |
| 4251 | - | |
| 4252 | -/-- The genuine L² element represented by the lifted directional transport derivative. -/ | |
| 4253 | -def liftedTransport (κ : ℝ) (m : Vector3) (e z : LiftL2 period) | |
| 4254 | - (hDe : MemLp (fun x => fderiv ℝ (localFieldLift period (fun y => e y) x) 0) | |
| 4255 | - 2 (liftMeasure period)) (B : ℝ≥0) | |
| 4256 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) : LiftL2 period := | |
| 4257 | - (liftedTransport_memLp period κ m e z hDe B hzB).toLp _ | |
| 4258 | - | |
| 4259 | -theorem liftedTransport_ae (κ : ℝ) (m : Vector3) (e z : LiftL2 period) | |
| 4260 | - (hDe : MemLp (fun x => fderiv ℝ (localFieldLift period (fun y => e y) x) 0) | |
| 4261 | - 2 (liftMeasure period)) (B : ℝ≥0) | |
| 4262 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) : | |
| 4263 | - liftedTransport period κ m e z hDe B hzB =ᵐ[liftMeasure period] | |
| 4264 | - fun x => fderiv ℝ (localFieldLift period (fun y => e y) x) 0 | |
| 4265 | - (transportDirection κ m (z x)) := | |
| 4266 | - (liftedTransport_memLp period κ m e z hDe B hzB).coeFn_toLp | |
| 4267 | - | |
| 4268 | -/-- The Hilbert metric pairing equals the actual spatial transport integral. -/ | |
| 4269 | -theorem metric_transport_inner_eq (κ : ℝ) (m : Vector3) | |
| 4270 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 4271 | - (hKm : AEStronglyMeasurable K (liftMeasure period)) (C : ℝ≥0) (hC : ∀ x, ‖K x‖ ≤ C) | |
| 4272 | - (e z : LiftL2 period) | |
| 4273 | - (hDe : MemLp (fun x => fderiv ℝ (localFieldLift period (fun y => e y) x) 0) | |
| 4274 | - 2 (liftMeasure period)) (B : ℝ≥0) | |
| 4275 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) : | |
| 4276 | - ⟪coefficientOperator K hKm C hC e, liftedTransport period κ m e z hDe B hzB⟫_ℝ = | |
| 4277 | - ∫ x, ⟪K x (e x), fderiv ℝ (localFieldLift period (fun y => e y) x) 0 | |
| 4278 | - (transportDirection κ m (z x))⟫_ℝ ∂liftMeasure period := by | |
| 4279 | - rw [L2.inner_def] | |
| 4280 | - apply integral_congr_ae | |
| 4281 | - filter_upwards [coefficientOperator_ae K hKm C hC e, liftedTransport_ae period κ m e z hDe B hzB] | |
| 4282 | - with x hx hy | |
| 4283 | - rw [hx, hy] | |
| 4284 | - | |
| 4285 | -/-- The transport bound required by the Hilbert energy theorem, with genuine spatial fields. -/ | |
| 4286 | -theorem metric_transport_inner_bound (κ : ℝ) (m : Vector3) | |
| 4287 | - (K : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 4288 | - (hKm : AEStronglyMeasurable K (liftMeasure period)) | |
| 4289 | - (e z : LiftL2 period) | |
| 4290 | - (hK : ∀ x, ContDiff ℝ ∞ (localFieldLift period K x)) | |
| 4291 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period (fun y => e y) x)) | |
| 4292 | - (hDe : MemLp (fun x => fderiv ℝ (localFieldLift period (fun y => e y) x) 0) | |
| 4293 | - 2 (liftMeasure period)) | |
| 4294 | - (hsym : ∀ x v w, ⟪K x v, w⟫_ℝ = ⟪v, K x w⟫_ℝ) | |
| 4295 | - (hz : z ∈ divergenceFreeSpace period κ m) | |
| 4296 | - (C D B : ℝ≥0) (hC : ∀ x, ‖K x‖ ≤ C) | |
| 4297 | - (hD : ∀ x, ‖fderiv ℝ (localFieldLift period K x) 0‖ ≤ D) | |
| 4298 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) : | |
| 4299 | - |⟪coefficientOperator K hKm C hC e, liftedTransport period κ m e z hDe B hzB⟫_ℝ| ≤ | |
| 4300 | - (1 / 2 : ℝ) * D * ((|κ| + ‖m‖) * B) * ‖e‖ ^ 2 := by | |
| 4301 | - rw [metric_transport_inner_eq] | |
| 4302 | - exact metric_transport_L2_H1_bound period κ m K e hK he hDe hsym hz C D B hC hD hzB | |
| 4303 | - | |
| 4304 | -/-- A pointwise matrix family acting on the actual lifted L² space. -/ | |
| 4305 | -def metricFamily (K : ℝ → LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 4306 | - (hKm : ∀ t, AEStronglyMeasurable (K t) (liftMeasure period)) | |
| 4307 | - (C : ℝ≥0) (hC : ∀ t x, ‖K t x‖ ≤ C) : ℝ → LiftL2 period →L[ℝ] LiftL2 period := | |
| 4308 | - fun t => coefficientOperator (K t) (hKm t) C (hC t) | |
| 4309 | - | |
| 4310 | -/-- The metric norm estimate for the actual lifted transport-pressure equation. -/ | |
| 4311 | -theorem lifted_regularized_energy_evolution (κ : ℝ) (m : Vector3) | |
| 4312 | - (K : ℝ → LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 4313 | - (hKm : ∀ t, AEStronglyMeasurable (K t) (liftMeasure period)) | |
| 4314 | - (C : ℝ≥0) (hC : ∀ t x, ‖K t x‖ ≤ C) | |
| 4315 | - (e : ℝ → LiftL2 period) (t δ c : ℝ) | |
| 4316 | - (K' : LiftL2 period →L[ℝ] LiftL2 period) (e' z p forcing : LiftL2 period) | |
| 4317 | - (hδ : 0 < δ) (hc : 0 < c) | |
| 4318 | - (hKt : HasDerivAt (metricFamily period K hKm C hC) K' t) (het : HasDerivAt e e' t) | |
| 4319 | - (hKs : ∀ x, ContDiff ℝ ∞ (localFieldLift period (K t) x)) | |
| 4320 | - (hes : ∀ x, ContDiff ℝ ∞ (localFieldLift period (fun y => e t y) x)) | |
| 4321 | - (hDe : MemLp (fun x => fderiv ℝ (localFieldLift period (fun y => e t y) x) 0) | |
| 4322 | - 2 (liftMeasure period)) | |
| 4323 | - (hsym : ∀ x v w, ⟪K t x v, w⟫_ℝ = ⟪v, K t x w⟫_ℝ) | |
| 4324 | - (hpos : ∀ x v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪K t x v, v⟫_ℝ) | |
| 4325 | - (G : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 4326 | - (hGm : AEStronglyMeasurable G (liftMeasure period)) (E : ℝ≥0) (hG : ∀ x, ‖G x‖ ≤ E) | |
| 4327 | - (hKG : ∀ x v, K t x (G x v) = v) | |
| 4328 | - (hep : e t ∈ divergenceFreeSpace period κ m) (hp : p ∈ gradientSpace period κ m) | |
| 4329 | - (hz : z ∈ divergenceFreeSpace period κ m) (D B : ℝ≥0) | |
| 4330 | - (hD : ∀ x, ‖fderiv ℝ (localFieldLift period (K t) x) 0‖ ≤ D) | |
| 4331 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) | |
| 4332 | - (heq : e' + liftedTransport period κ m (e t) z hDe B hzB + | |
| 4333 | - coefficientOperator G hGm E hG p = forcing) : | |
| 4334 | - deriv (fun s => Real.sqrt (⟪metricFamily period K hKm C hC s (e s), e s⟫_ℝ + δ ^ 2)) t ≤ | |
| 4335 | - ((‖K'‖ + (D : ℝ) * ((|κ| + ‖m‖) * B)) / (2 * c ^ 2)) * | |
| 4336 | - Real.sqrt (⟪metricFamily period K hKm C hC t (e t), e t⟫_ℝ + δ ^ 2) + | |
| 4337 | - ((C : ℝ) / c) * ‖forcing‖ := by | |
| 4338 | - let A := metricFamily period K hKm C hC | |
| 4339 | - let β : ℝ := (1 / 2 : ℝ) * D * ((|κ| + ‖m‖) * B) | |
| 4340 | - have hβ : 0 ≤ β := by dsimp [β]; positivity | |
| 4341 | - have hsymL : ∀ v w, ⟪A t v, w⟫_ℝ = ⟪v, A t w⟫_ℝ := | |
| 4342 | - coefficientOperator_inner_swap (K t) (hKm t) C (hC t) hsym | |
| 4343 | - have hposL : c ^ 2 * ‖e t‖ ^ 2 ≤ ⟪A t (e t), e t⟫_ℝ := | |
| 4344 | - coefficientOperator_coercive (K t) (hKm t) C (hC t) (c ^ 2) hpos (e t) | |
| 4345 | - have hpL : ⟪A t (e t), coefficientOperator G hGm E hG p⟫_ℝ = 0 := | |
| 4346 | - metric_pressure_cancellation period κ m (K t) G (hKm t) hGm C E (hC t) hG hsym hKG hep hp | |
| 4347 | - have htL := metric_transport_inner_bound period κ m (K t) (hKm t) (e t) z | |
| 4348 | - hKs hes hDe hsym hz C D B (hC t) hD hzB | |
| 4349 | - have h := regularized_metric_norm_evolution A e t δ c β K' e' | |
| 4350 | - (liftedTransport period κ m (e t) z hDe B hzB) (coefficientOperator G hGm E hG p) | |
| 4351 | - forcing hδ hc hβ hposL hKt het hsymL heq hpL htL | |
| 4352 | - have hA : ‖A t‖ ≤ C := coefficientOperator_norm_le (K t) (hKm t) C (hC t) | |
| 4353 | - have hb : 2 * β = (D : ℝ) * ((|κ| + ‖m‖) * B) := by dsimp [β]; ring | |
| 4354 | - rw [hb] at h | |
| 4355 | - exact h.trans (add_le_add_right (mul_le_mul_of_nonneg_right | |
| 4356 | - (div_le_div_of_nonneg_right hA hc.le) (norm_nonneg forcing)) _) | |
| 4357 | - | |
| 4358 | 3549 | end EulerLiftedMetricEvolution |
| 4359 | 3550 | |
| 4360 | 3551 | end |
| @@ -4456,62 +3647,6 @@ theorem metric_transport_inner_bound (κ : ℝ) (m : Vector3) | ||
| 4456 | 3647 | simpa only [hn] using metric_transport_H1_bound period κ m K g |
| 4457 | 3648 | hK he ((memLp_congr_ae hrep).mp (Lp.memLp e)) hDe hsym hz C D B hC hD hzB |
| 4458 | 3649 | |
| 4459 | -/-- A pointwise matrix family acting on the actual lifted L² space. -/ | |
| 4460 | -def metricFamily (K : ℝ → LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 4461 | - (hKm : ∀ t, AEStronglyMeasurable (K t) (liftMeasure period)) | |
| 4462 | - (C : ℝ≥0) (hC : ∀ t x, ‖K t x‖ ≤ C) : ℝ → LiftL2 period →L[ℝ] LiftL2 period := | |
| 4463 | - fun t => coefficientOperator (K t) (hKm t) C (hC t) | |
| 4464 | - | |
| 4465 | -/-- The metric norm estimate for the actual lifted transport-pressure equation. -/ | |
| 4466 | -theorem lifted_regularized_energy_evolution (κ : ℝ) (m : Vector3) | |
| 4467 | - (K : ℝ → LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 4468 | - (hKm : ∀ t, AEStronglyMeasurable (K t) (liftMeasure period)) | |
| 4469 | - (C : ℝ≥0) (hC : ∀ t x, ‖K t x‖ ≤ C) | |
| 4470 | - (e : ℝ → LiftL2 period) (t δ c : ℝ) | |
| 4471 | - (K' : LiftL2 period →L[ℝ] LiftL2 period) (e' z p forcing : LiftL2 period) | |
| 4472 | - (hδ : 0 < δ) (hc : 0 < c) | |
| 4473 | - (hKt : HasDerivAt (metricFamily period K hKm C hC) K' t) (het : HasDerivAt e e' t) | |
| 4474 | - (hKs : ∀ x, ContDiff ℝ ∞ (localFieldLift period (K t) x)) | |
| 4475 | - (g : LiftDomain period → Vector3) | |
| 4476 | - (hrep : (e t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) | |
| 4477 | - (hes : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) | |
| 4478 | - (hDe : MemLp (fun x => fderiv ℝ (localFieldLift period g x) 0) | |
| 4479 | - 2 (liftMeasure period)) | |
| 4480 | - (hsym : ∀ x v w, ⟪K t x v, w⟫_ℝ = ⟪v, K t x w⟫_ℝ) | |
| 4481 | - (hpos : ∀ x v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪K t x v, v⟫_ℝ) | |
| 4482 | - (G : LiftDomain period → Vector3 →L[ℝ] Vector3) | |
| 4483 | - (hGm : AEStronglyMeasurable G (liftMeasure period)) (E : ℝ≥0) (hG : ∀ x, ‖G x‖ ≤ E) | |
| 4484 | - (hKG : ∀ x v, K t x (G x v) = v) | |
| 4485 | - (hep : e t ∈ divergenceFreeSpace period κ m) (hp : p ∈ gradientSpace period κ m) | |
| 4486 | - (hz : z ∈ divergenceFreeSpace period κ m) (D B : ℝ≥0) | |
| 4487 | - (hD : ∀ x, ‖fderiv ℝ (localFieldLift period (K t) x) 0‖ ≤ D) | |
| 4488 | - (hzB : ∀ᵐ x ∂liftMeasure period, ‖z x‖ ≤ B) | |
| 4489 | - (heq : e' + liftedTransport period κ m g z hDe B hzB + | |
| 4490 | - coefficientOperator G hGm E hG p = forcing) : | |
| 4491 | - deriv (fun s => Real.sqrt (⟪metricFamily period K hKm C hC s (e s), e s⟫_ℝ + δ ^ 2)) t ≤ | |
| 4492 | - ((‖K'‖ + (D : ℝ) * ((|κ| + ‖m‖) * B)) / (2 * c ^ 2)) * | |
| 4493 | - Real.sqrt (⟪metricFamily period K hKm C hC t (e t), e t⟫_ℝ + δ ^ 2) + | |
| 4494 | - ((C : ℝ) / c) * ‖forcing‖ := by | |
| 4495 | - let A := metricFamily period K hKm C hC | |
| 4496 | - let β : ℝ := (1 / 2 : ℝ) * D * ((|κ| + ‖m‖) * B) | |
| 4497 | - have hβ : 0 ≤ β := by dsimp [β]; positivity | |
| 4498 | - have hsymL : ∀ v w, ⟪A t v, w⟫_ℝ = ⟪v, A t w⟫_ℝ := | |
| 4499 | - coefficientOperator_inner_swap (K t) (hKm t) C (hC t) hsym | |
| 4500 | - have hposL : c ^ 2 * ‖e t‖ ^ 2 ≤ ⟪A t (e t), e t⟫_ℝ := | |
| 4501 | - coefficientOperator_coercive (K t) (hKm t) C (hC t) (c ^ 2) hpos (e t) | |
| 4502 | - have hpL : ⟪A t (e t), coefficientOperator G hGm E hG p⟫_ℝ = 0 := | |
| 4503 | - metric_pressure_cancellation period κ m (K t) G (hKm t) hGm C E (hC t) hG hsym hKG hep hp | |
| 4504 | - have htL := metric_transport_inner_bound period κ m (K t) (hKm t) (e t) g z hrep | |
| 4505 | - hKs hes hDe hsym hz C D B (hC t) hD hzB | |
| 4506 | - have h := regularized_metric_norm_evolution A e t δ c β K' e' | |
| 4507 | - (liftedTransport period κ m g z hDe B hzB) (coefficientOperator G hGm E hG p) | |
| 4508 | - forcing hδ hc hβ hposL hKt het hsymL heq hpL htL | |
| 4509 | - have hA : ‖A t‖ ≤ C := coefficientOperator_norm_le (K t) (hKm t) C (hC t) | |
| 4510 | - have hb : 2 * β = (D : ℝ) * ((|κ| + ‖m‖) * B) := by dsimp [β]; ring | |
| 4511 | - rw [hb] at h | |
| 4512 | - exact h.trans (add_le_add_right (mul_le_mul_of_nonneg_right | |
| 4513 | - (div_le_div_of_nonneg_right hA hc.le) (norm_nonneg forcing)) _) | |
| 4514 | - | |
| 4515 | 3650 | end EulerRepresentativeMetricEvolution |
| 4516 | 3651 | |
| 4517 | 3652 | end |
| @@ -4573,19 +3708,6 @@ theorem word_mem_gradientSpace {s n : ℕ} {f : LiftL2 period} | ||
| 4573 | 3708 | (J.word_hasDerivAt (by omega : n < s) (Fin.tail w) (w 0)) |
| 4574 | 3709 | simpa only [Fin.cons_self_tail] using h |
| 4575 | 3710 | |
| 4576 | -/-- Every valid word of a solenoidal Sobolev jet remains genuinely weakly solenoidal. -/ | |
| 4577 | -theorem word_mem_divergenceFreeSpace {s n : ℕ} {f : LiftL2 period} | |
| 4578 | - (J : EulerSpatialSobolevInverse.SpatialJet period directions s f) | |
| 4579 | - (κ : ℝ) (m : Vector3) (hf : f ∈ divergenceFreeSpace period κ m) (hn : n ≤ s) | |
| 4580 | - (w : Fin n → Fin 4) : J.word w ∈ divergenceFreeSpace period κ m := by | |
| 4581 | - induction n with | |
| 4582 | - | zero => simpa using hf | |
| 4583 | - | succ n ih => | |
| 4584 | - have h := divergenceFree_translation_derivative period κ m (directions (w 0)) | |
| 4585 | - (ih (by omega) (Fin.tail w)) | |
| 4586 | - (J.word_hasDerivAt (by omega : n < s) (Fin.tail w) (w 0)) | |
| 4587 | - simpa only [Fin.cons_self_tail] using h | |
| 4588 | - | |
| 4589 | 3711 | /-- A bounded operator commuting with actual translations maps genuine spatial jets. -/ |
| 4590 | 3712 | def map (L : LiftL2 period →L[ℝ] LiftL2 period) |
| 4591 | 3713 | (hL : ∀ a f, translation period a (L f) = L (translation period a f)) |
| @@ -4654,26 +3776,6 @@ theorem pressure_word_inverse {s n : ℕ} {A : SmoothCoefficient period} | ||
| 4654 | 3776 | rw [map_sub, map_sub, hp] |
| 4655 | 3777 | abel |
| 4656 | 3778 | |
| 4657 | -/-- The rigorous triangular pressure estimate before its product commutator is summed. -/ | |
| 4658 | -theorem pressure_word_norm_le {s n : ℕ} {A : SmoothCoefficient period} | |
| 4659 | - {f : LiftL2 period} (K : CoefficientJet period directions s A) | |
| 4660 | - (J : EulerSpatialSobolevInverse.SpatialJet period directions s f) | |
| 4661 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 4662 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) | |
| 4663 | - (hn : n ≤ s) (w : Fin n → Fin 4) : | |
| 4664 | - ‖(J.solvePressure K κ m c hc hpos).word w‖ ≤ c⁻¹ * | |
| 4665 | - (‖J.word w‖ + ‖(EulerSpatialSobolevInverse.SpatialJet.multiply K | |
| 4666 | - (J.solvePressure K κ m c hc hpos)).word w - | |
| 4667 | - A.operator ((J.solvePressure K κ m c hc hpos).word w)‖) := by | |
| 4668 | - calc | |
| 4669 | - _ = ‖A.pressure κ m c hc hpos (J.word w - | |
| 4670 | - ((EulerSpatialSobolevInverse.SpatialJet.multiply K (J.solvePressure K κ m c hc hpos)).word w - | |
| 4671 | - A.operator ((J.solvePressure K κ m c hc hpos).word w)))‖ := by | |
| 4672 | - congr 1 | |
| 4673 | - exact pressure_word_inverse K J κ m c hc hpos hn w | |
| 4674 | - _ ≤ _ := (A.pressure_norm κ m c hc hpos _).trans | |
| 4675 | - (mul_le_mul_of_nonneg_left (norm_sub_le _ _) (inv_nonneg.mpr hc.le)) | |
| 4676 | - | |
| 4677 | 3779 | end SpatialJet |
| 4678 | 3780 | |
| 4679 | 3781 | end EulerPressureJetIdentities |
| @@ -4936,12 +4038,6 @@ theorem sum_commutatorConvolution_right (A : ℕ → ℝ) (B : Fin 4 → ℕ → | ||
| 4936 | 4038 | simp only [commutatorConvolution] |
| 4937 | 4039 | rw [Finset.sum_sub_distrib, sum_leibnizConvolution_right, Finset.mul_sum] |
| 4938 | 4040 | |
| 4939 | -/-- The actual product commutator at one derivative order, summed over coordinate words. -/ | |
| 4940 | -def commutatorLevel {s : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 4941 | - (K : CoefficientJet period directions s A) (J : SpatialJet period directions s f) | |
| 4942 | - (n : ℕ) : ℝ := | |
| 4943 | - ∑ w : Fin n → Fin 4, ‖(SpatialJet.multiply K J).word w - A.operator (J.word w)‖ | |
| 4944 | - | |
| 4945 | 4041 | theorem sum_word_snoc (n : ℕ) (F : (Fin (n + 1) → Fin 4) → ℝ) : |
| 4946 | 4042 | (∑ w, F w) = ∑ i, ∑ w : Fin n → Fin 4, F (Fin.snoc w i) := by |
| 4947 | 4043 | calc |
| @@ -4969,135 +4065,6 @@ theorem multiply_word_snoc {s n : ℕ} {A : SmoothCoefficient period} {f : LiftL | ||
| 4969 | 4065 | subst j |
| 4970 | 4066 | rfl |
| 4971 | 4067 | |
| 4972 | -theorem commutatorLevel_succ_le {s n : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 4973 | - (dA : Fin 4 → SmoothCoefficient period) | |
| 4974 | - (lowerA : ∀ i, CoefficientJet period directions s (dA i)) | |
| 4975 | - (hA : ∀ i x, (dA i).coefficient x = EulerTransportDerivatives.fieldDerivative period | |
| 4976 | - (directions i) A.coefficient x) | |
| 4977 | - (df : Fin 4 → LiftL2 period) (lowerF : ∀ i, SpatialJet period directions s (df i)) | |
| 4978 | - (hF : ∀ i, HasDerivAt (fun t => translation period (translationPath period (directions i) t) f) | |
| 4979 | - (df i) 0) : | |
| 4980 | - commutatorLevel (CoefficientJet.succ dA lowerA hA) (SpatialJet.succ df lowerF hF) (n + 1) ≤ | |
| 4981 | - ∑ i, (commutatorLevel (CoefficientJet.succ dA lowerA hA).truncate (lowerF i) n + | |
| 4982 | - levelNorm period (SpatialJet.multiply (lowerA i) (SpatialJet.succ df lowerF hF).truncate) n) := by | |
| 4983 | - rw [commutatorLevel, sum_word_snoc] | |
| 4984 | - apply Finset.sum_le_sum | |
| 4985 | - intro i _ | |
| 4986 | - rw [commutatorLevel, levelNorm_eq_words, ← Finset.sum_add_distrib] | |
| 4987 | - apply Finset.sum_le_sum | |
| 4988 | - intro w _ | |
| 4989 | - rw [multiply_word_snoc] | |
| 4990 | - simp only [SpatialJet.word_succ, Fin.init_snoc] | |
| 4991 | - simp only [Fin.snoc, Fin.val_last, cast_eq] | |
| 4992 | - generalize hval : (if h : n < n then w ((Fin.last n).castLT h) else i) = j | |
| 4993 | - have hj : j = i := hval.symm.trans (dite_eq_right (Nat.lt_irrefl n)) | |
| 4994 | - clear hval | |
| 4995 | - subst j | |
| 4996 | - have heq : (SpatialJet.multiply (CoefficientJet.succ dA lowerA hA).truncate (lowerF i)).word w + | |
| 4997 | - (SpatialJet.multiply (lowerA i) (SpatialJet.succ df lowerF hF).truncate).word w - | |
| 4998 | - A.operator ((lowerF i).word w) = | |
| 4999 | - ((SpatialJet.multiply (CoefficientJet.succ dA lowerA hA).truncate (lowerF i)).word w - | |
| 5000 | - A.operator ((lowerF i).word w)) + | |
| 5001 | - (SpatialJet.multiply (lowerA i) (SpatialJet.succ df lowerF hF).truncate).word w := by abel | |
| 5002 | - rw [heq] | |
| 5003 | - exact norm_add_le _ _ | |
| 5004 | -/-- Sharp all-order commutator estimate, with only positive coefficient derivative orders. -/ | |
| 5005 | -theorem commutatorLevel_le {s n : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 5006 | - (K : CoefficientJet period directions s A) (J : SpatialJet period directions s f) | |
| 5007 | - (hn : n ≤ s) : | |
| 5008 | - commutatorLevel K J n ≤ | |
| 5009 | - commutatorConvolution (boundLevel period K) (levelNorm period J) n := by | |
| 5010 | - induction n generalizing s A f with | |
| 5011 | - | zero => simp [commutatorLevel, commutatorConvolution_eq_sum] | |
| 5012 | - | succ n ih => | |
| 5013 | - cases s with | |
| 5014 | - | zero => omega | |
| 5015 | - | succ s => | |
| 5016 | - cases K with | |
| 5017 | - | succ dA lowerA hA => | |
| 5018 | - cases J with | |
| 5019 | - | succ df lowerF hF => | |
| 5020 | - let K := CoefficientJet.succ dA lowerA hA | |
| 5021 | - let J := SpatialJet.succ df lowerF hF | |
| 5022 | - have hterm : ∀ i, | |
| 5023 | - commutatorLevel K.truncate (lowerF i) n + | |
| 5024 | - levelNorm period (SpatialJet.multiply (lowerA i) J.truncate) n ≤ | |
| 5025 | - commutatorConvolution (boundLevel period K) (levelNorm period (lowerF i)) n + | |
| 5026 | - leibnizConvolution (boundLevel period (lowerA i)) (levelNorm period J) n := by | |
| 5027 | - intro i | |
| 5028 | - have hleft := ih K.truncate (lowerF i) (by omega : n ≤ s) | |
| 5029 | - have hright := multiply_levelNorm_le (lowerA i) J.truncate (by omega : n ≤ s) | |
| 5030 | - have heqL := commutatorConvolution_congr (boundLevel period K.truncate) | |
| 5031 | - (levelNorm period (lowerF i)) (boundLevel period K) (levelNorm period (lowerF i)) n | |
| 5032 | - (fun l hl => boundLevel_truncate K (by omega)) (fun _ _ => rfl) | |
| 5033 | - have heqR := leibnizConvolution_congr (boundLevel period (lowerA i)) | |
| 5034 | - (levelNorm period J.truncate) (boundLevel period (lowerA i)) (levelNorm period J) n | |
| 5035 | - (fun _ _ => rfl) (fun l hl => levelNorm_truncate J (by omega)) | |
| 5036 | - rw [heqL] at hleft | |
| 5037 | - rw [heqR] at hright | |
| 5038 | - exact add_le_add hleft hright | |
| 5039 | - calc | |
| 5040 | - _ ≤ ∑ i, (commutatorLevel K.truncate (lowerF i) n + | |
| 5041 | - levelNorm period (SpatialJet.multiply (lowerA i) J.truncate) n) := | |
| 5042 | - commutatorLevel_succ_le dA lowerA hA df lowerF hF | |
| 5043 | - _ ≤ ∑ i, (commutatorConvolution (boundLevel period K) (levelNorm period (lowerF i)) n + | |
| 5044 | - leibnizConvolution (boundLevel period (lowerA i)) (levelNorm period J) n) := | |
| 5045 | - Finset.sum_le_sum fun i _ => hterm i | |
| 5046 | - _ = commutatorConvolution (boundLevel period K) | |
| 5047 | - (fun l => ∑ i, levelNorm period (lowerF i) l) n + | |
| 5048 | - leibnizConvolution (fun l => ∑ i, boundLevel period (lowerA i) l) | |
| 5049 | - (levelNorm period J) n := by | |
| 5050 | - rw [Finset.sum_add_distrib, sum_commutatorConvolution_right, sum_leibnizConvolution_left] | |
| 5051 | - _ = commutatorConvolution (boundLevel period K) (levelNorm period J) (n + 1) := by | |
| 5052 | - rw [commutatorConvolution_succ] | |
| 5053 | - congr 2 <;> funext l <;> simp only [K, J, levelNorm, boundLevel] | |
| 5054 | - | |
| 5055 | -/-- The all-order pressure recurrence for actual L² derivative words, with the entire | |
| 5056 | -positive-order coefficient convolution derived from the product rule. -/ | |
| 5057 | -theorem pressure_level_recurrence {s n : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 5058 | - (K : CoefficientJet period directions s A) (J : SpatialJet period directions s f) | |
| 5059 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 5060 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) (hn : n ≤ s) : | |
| 5061 | - levelNorm period (J.solvePressure K κ m c hc hpos) n ≤ c⁻¹ * | |
| 5062 | - (levelNorm period J n + ∑ l ∈ Finset.range n, | |
| 5063 | - (n.choose (l + 1) : ℝ) * boundLevel period K (l + 1) * | |
| 5064 | - levelNorm period (J.solvePressure K κ m c hc hpos) (n - (l + 1))) := by | |
| 5065 | - let P := J.solvePressure K κ m c hc hpos | |
| 5066 | - have hw := fun w : Fin n → Fin 4 => | |
| 5067 | - EulerPressureJetIdentities.SpatialJet.pressure_word_norm_le K J κ m c hc hpos hn w | |
| 5068 | - calc | |
| 5069 | - _ = ∑ w : Fin n → Fin 4, ‖P.word w‖ := levelNorm_eq_words P | |
| 5070 | - _ ≤ ∑ w : Fin n → Fin 4, c⁻¹ * (‖J.word w‖ + | |
| 5071 | - ‖(SpatialJet.multiply K P).word w - A.operator (P.word w)‖) := | |
| 5072 | - Finset.sum_le_sum fun w _ => hw w | |
| 5073 | - _ = c⁻¹ * (levelNorm period J n + commutatorLevel K P n) := by | |
| 5074 | - rw [← Finset.mul_sum, Finset.sum_add_distrib, ← levelNorm_eq_words] | |
| 5075 | - rfl | |
| 5076 | - _ ≤ c⁻¹ * (levelNorm period J n + | |
| 5077 | - commutatorConvolution (boundLevel period K) (levelNorm period P) n) := | |
| 5078 | - mul_le_mul_of_nonneg_left (add_le_add_right (commutatorLevel_le K P hn) _) | |
| 5079 | - (inv_nonneg.mpr hc.le) | |
| 5080 | - _ = _ := by rw [commutatorConvolution_eq_sum] | |
| 5081 | - | |
| 5082 | -/-- A finite jet has no stored derivatives above its order. -/ | |
| 5083 | -theorem levelNorm_eq_zero_of_lt {s n : ℕ} {f : LiftL2 period} | |
| 5084 | - (J : SpatialJet period directions s f) (hn : s < n) : levelNorm period J n = 0 := by | |
| 5085 | - induction s generalizing f n with | |
| 5086 | - | zero => | |
| 5087 | - cases J | |
| 5088 | - cases n with | |
| 5089 | - | zero => omega | |
| 5090 | - | succ n => rw [levelNorm] | |
| 5091 | - | succ s ih => | |
| 5092 | - cases J with | |
| 5093 | - | succ df lower hd => | |
| 5094 | - cases n with | |
| 5095 | - | zero => omega | |
| 5096 | - | succ n => | |
| 5097 | - rw [levelNorm] | |
| 5098 | - apply Finset.sum_eq_zero | |
| 5099 | - intro i _ | |
| 5100 | - exact ih (lower i) (by omega) | |
| 5101 | 4068 | |
| 5102 | 4069 | end EulerJetProductBounds |
| 5103 | 4070 | |
| @@ -5115,71 +4082,6 @@ open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerSpatialSobole | ||
| 5115 | 4082 | |
| 5116 | 4083 | variable (period : ℝ) [Fact (0 < period)] |
| 5117 | 4084 | |
| 5118 | -/-- Every finite pressure solve obeys a Gevrey bound uniform in the cutoff order. | |
| 5119 | -The triangular recurrence is derived from genuine strong translation derivatives. -/ | |
| 5120 | -theorem pressure_gevrey_majorant {directions : Fin 4 → LiftTangent} | |
| 5121 | - {s : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 5122 | - (K : CoefficientJet period directions s A) (J : SpatialJet period directions s f) | |
| 5123 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 5124 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) | |
| 5125 | - (M Rc R : ℝ) (hM : 1 ≤ M) (hcM : c⁻¹ ≤ M) (hRc : 0 ≤ Rc) | |
| 5126 | - (hR : 2 * M * (Rc + 1) ≤ R) (d : ℕ) | |
| 5127 | - (hcoeff : ∀ l, 1 ≤ l → l ≤ s → boundLevel period K l ≤ majorant Rc 0 l) | |
| 5128 | - (hsource : ∀ n ≤ s, levelNorm period J n ≤ majorant R d n) (n : ℕ) : | |
| 5129 | - levelNorm period (J.solvePressure K κ m c hc hpos) n ≤ majorant R (d + 1) n := by | |
| 5130 | - let P := J.solvePressure K κ m c hc hpos | |
| 5131 | - have hM0 : 0 ≤ M := by linarith | |
| 5132 | - have hR0 : 0 ≤ R := by nlinarith | |
| 5133 | - have hz : ∀ j, 0 ≤ levelNorm period P j := fun _ => levelNorm_nonneg P | |
| 5134 | - have hf : ∀ j, 0 ≤ levelNorm period J j := fun _ => levelNorm_nonneg J | |
| 5135 | - apply triangular_inverse_majorant M Rc R hM hRc hR d | |
| 5136 | - (levelNorm period J) (levelNorm period P) _ _ n | |
| 5137 | - · intro j | |
| 5138 | - by_cases hj : j ≤ s | |
| 5139 | - · exact hsource j hj | |
| 5140 | - · rw [levelNorm_eq_zero_of_lt J (by omega)] | |
| 5141 | - exact majorant_nonneg R hR0 d j | |
| 5142 | - · intro j | |
| 5143 | - have hsum0 : 0 ≤ ∑ l ∈ Finset.range j, | |
| 5144 | - (j.choose (l + 1) : ℝ) * Rc ^ (l + 1) * ((l + 1).factorial : ℝ) ^ 2 * | |
| 5145 | - levelNorm period P (j - (l + 1)) := by | |
| 5146 | - apply Finset.sum_nonneg | |
| 5147 | - intro l _ | |
| 5148 | - exact mul_nonneg (by positivity) (hz _) | |
| 5149 | - by_cases hj : j ≤ s | |
| 5150 | - · have hrec := pressure_level_recurrence K J κ m c hc hpos hj | |
| 5151 | - have hsum : (∑ l ∈ Finset.range j, | |
| 5152 | - (j.choose (l + 1) : ℝ) * boundLevel period K (l + 1) * | |
| 5153 | - levelNorm period P (j - (l + 1))) ≤ | |
| 5154 | - ∑ l ∈ Finset.range j, | |
| 5155 | - (j.choose (l + 1) : ℝ) * Rc ^ (l + 1) * ((l + 1).factorial : ℝ) ^ 2 * | |
| 5156 | - levelNorm period P (j - (l + 1)) := by | |
| 5157 | - apply Finset.sum_le_sum | |
| 5158 | - intro l hl | |
| 5159 | - have hlj : l < j := Finset.mem_range.mp hl | |
| 5160 | - have hcoef := hcoeff (l + 1) (by omega) (by omega) | |
| 5161 | - have hm := mul_le_mul_of_nonneg_right | |
| 5162 | - (mul_le_mul_of_nonneg_left hcoef (Nat.cast_nonneg (j.choose (l + 1)))) (hz (j - (l + 1))) | |
| 5163 | - simpa only [majorant, Nat.add_zero, mul_assoc] using hm | |
| 5164 | - exact hrec.trans ((mul_le_mul_of_nonneg_left (add_le_add_right hsum _) (inv_nonneg.mpr hc.le)).trans | |
| 5165 | - (mul_le_mul_of_nonneg_right hcM (add_nonneg (hf j) hsum0))) | |
| 5166 | - · rw [levelNorm_eq_zero_of_lt P (by omega)] | |
| 5167 | - exact mul_nonneg hM0 (add_nonneg (hf j) hsum0) | |
| 5168 | - | |
| 5169 | -/-- The same Gevrey inverse estimate written as the actual sum over all coordinate derivative words. -/ | |
| 5170 | -theorem pressure_word_sum_majorant {directions : Fin 4 → LiftTangent} | |
| 5171 | - {s : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 5172 | - (K : CoefficientJet period directions s A) (J : SpatialJet period directions s f) | |
| 5173 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 5174 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) | |
| 5175 | - (M Rc R : ℝ) (hM : 1 ≤ M) (hcM : c⁻¹ ≤ M) (hRc : 0 ≤ Rc) | |
| 5176 | - (hR : 2 * M * (Rc + 1) ≤ R) (d : ℕ) | |
| 5177 | - (hcoeff : ∀ l, 1 ≤ l → l ≤ s → boundLevel period K l ≤ majorant Rc 0 l) | |
| 5178 | - (hsource : ∀ n ≤ s, levelNorm period J n ≤ majorant R d n) (n : ℕ) : | |
| 5179 | - (∑ w : Fin n → Fin 4, ‖(J.solvePressure K κ m c hc hpos).word w‖) ≤ majorant R (d + 1) n := by | |
| 5180 | - rw [← levelNorm_eq_words] | |
| 5181 | - exact pressure_gevrey_majorant period K J κ m c hc hpos M Rc R hM hcM hRc hR d hcoeff hsource n | |
| 5182 | - | |
| 5183 | 4085 | end EulerPressureGevrey |
| 5184 | 4086 | |
| 5185 | 4087 | end |
| @@ -5225,154 +4127,6 @@ theorem divergence_eq_trace (f : Space → Space) (x : Space) : | ||
| 5225 | 4127 | divergence f x = LinearMap.trace ℝ Space (fderiv ℝ f x).toLinearMap := |
| 5226 | 4128 | rfl |
| 5227 | 4129 | |
| 5228 | -/-- Order-zero bounds prove actual pointwise convergence of the series. -/ | |
| 5229 | -theorem summable_values (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5230 | - (hv : ∀ k, Summable (v k)) | |
| 5231 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) (x : Space) : | |
| 5232 | - Summable (fun n => f n x) := by | |
| 5233 | - apply Summable.of_norm_bounded (hv 0) | |
| 5234 | - intro n | |
| 5235 | - simpa only [norm_iteratedFDeriv_zero] using hb 0 n x | |
| 5236 | - | |
| 5237 | -/-- Uniform convergence of the ordinary sequence of finite partial sums. -/ | |
| 5238 | -theorem uniform_convergence (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5239 | - (hv : ∀ k, Summable (v k)) | |
| 5240 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) : | |
| 5241 | - TendstoUniformly (fun N x => ∑ n ∈ Finset.range N, f n x) | |
| 5242 | - (fun x => ∑' n, f n x) atTop := by | |
| 5243 | - apply tendstoUniformly_tsum_nat (hv 0) | |
| 5244 | - intro n x | |
| 5245 | - simpa only [norm_iteratedFDeriv_zero] using hb 0 n x | |
| 5246 | - | |
| 5247 | -/-- Every order of differentiability is retained by the convergent series. -/ | |
| 5248 | -theorem contDiff_sum (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5249 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5250 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) : | |
| 5251 | - ContDiff ℝ ∞ (fun x => ∑' n, f n x) := by | |
| 5252 | - exact contDiff_tsum hf (fun k _ => hv k) (fun k n x _ => hb k n x) | |
| 5253 | - | |
| 5254 | -/-- All iterated derivatives of the sum are the sums of the actual derivatives. -/ | |
| 5255 | -theorem iterated_derivative_sum (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5256 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5257 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) (k : ℕ) (x : Space) : | |
| 5258 | - iteratedFDeriv ℝ k (fun y => ∑' n, f n y) x = ∑' n, iteratedFDeriv ℝ k (f n) x := by | |
| 5259 | - exact iteratedFDeriv_tsum_apply hf (fun j _ => hv j) (fun j n y _ => hb j n y) le_top x | |
| 5260 | - | |
| 5261 | -/-- Uniform convergence holds separately at every derivative order. -/ | |
| 5262 | -theorem uniform_derivative_convergence (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5263 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5264 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) (k : ℕ) : | |
| 5265 | - TendstoUniformly (fun N x => ∑ n ∈ Finset.range N, iteratedFDeriv ℝ k (f n) x) | |
| 5266 | - (iteratedFDeriv ℝ k (fun x => ∑' n, f n x)) atTop := by | |
| 5267 | - rw [iteratedFDeriv_tsum hf (fun j _ => hv j) (fun j n x _ => hb j n x) le_top] | |
| 5268 | - exact tendstoUniformly_tsum_nat (hv k) (fun n x => hb k n x) | |
| 5269 | - | |
| 5270 | -/-- A common closed support set also contains the topological support of the sum. -/ | |
| 5271 | -theorem tsupport_sum_subset (f : ℕ → Space → Space) (K : Set Space) (hK : IsClosed K) | |
| 5272 | - (hsupp : ∀ n, Function.support (f n) ⊆ K) : | |
| 5273 | - tsupport (fun x => ∑' n, f n x) ⊆ K := by | |
| 5274 | - apply closure_minimal _ hK | |
| 5275 | - intro x hx | |
| 5276 | - by_contra hxK | |
| 5277 | - have hz : ∀ n, f n x = 0 := by | |
| 5278 | - intro n | |
| 5279 | - by_contra hn | |
| 5280 | - exact hxK (hsupp n hn) | |
| 5281 | - exact hx (by simp [hz]) | |
| 5282 | - | |
| 5283 | -/-- Compact support follows from the prescribed common compact set. -/ | |
| 5284 | -theorem compactSupport_sum (f : ℕ → Space → Space) (K : Set Space) (hK : IsCompact K) | |
| 5285 | - (hsupp : ∀ n, Function.support (f n) ⊆ K) : | |
| 5286 | - HasCompactSupport (fun x => ∑' n, f n x) := | |
| 5287 | - hK.of_isClosed_subset (isClosed_tsupport _) (tsupport_sum_subset f K hK.isClosed hsupp) | |
| 5288 | - | |
| 5289 | -/-- The divergence of the series is the series of the divergences. -/ | |
| 5290 | -theorem divergence_sum (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5291 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5292 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) (x : Space) : | |
| 5293 | - divergence (fun y => ∑' n, f n y) x = ∑' n, divergence (f n) x := by | |
| 5294 | - have hd : ∀ n y, ‖fderiv ℝ (f n) y‖ ≤ v 1 n := by | |
| 5295 | - intro n y | |
| 5296 | - simpa only [norm_iteratedFDeriv_one] using hb 1 n y | |
| 5297 | - have hsd : Summable (fun n => fderiv ℝ (f n) x) := | |
| 5298 | - Summable.of_norm_bounded (hv 1) (fun n => hd n x) | |
| 5299 | - simp only [divergence, ← coordinateTrace_eq_linearTrace] | |
| 5300 | - rw [fderiv_tsum_apply (hv 1) (fun n => (hf n).differentiable (by simp)) hd | |
| 5301 | - (summable_values f v hv hb (0 : Space)) x] | |
| 5302 | - exact coordinateTrace.map_tsum hsd | |
| 5303 | - | |
| 5304 | -/-- The solenoidal condition is preserved by the series. -/ | |
| 5305 | -theorem divergence_free_sum (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5306 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5307 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) | |
| 5308 | - (hdiv : ∀ n x, divergence (f n) x = 0) : | |
| 5309 | - ∀ x, divergence (fun y => ∑' n, f n y) x = 0 := by | |
| 5310 | - intro x | |
| 5311 | - rw [divergence_sum f v hf hv hb x] | |
| 5312 | - simp [hdiv] | |
| 5313 | - | |
| 5314 | -/-- The common-support smooth limit belongs to every `L^p`, in particular to `L²`. -/ | |
| 5315 | -theorem memLp_sum (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5316 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5317 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) | |
| 5318 | - (K : Set Space) (hK : IsCompact K) (hsupp : ∀ n, Function.support (f n) ⊆ K) | |
| 5319 | - (p : ℝ≥0∞) : MemLp (fun x => ∑' n, f n x) p volume := | |
| 5320 | - (contDiff_sum f v hf hv hb).continuous.memLp_of_hasCompactSupport | |
| 5321 | - (compactSupport_sum f K hK hsupp) | |
| 5322 | - | |
| 5323 | -/-- Every derivative of the limit is also in every `L^p`. -/ | |
| 5324 | -theorem memLp_iterated_derivative_sum (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5325 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5326 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) | |
| 5327 | - (K : Set Space) (hK : IsCompact K) (hsupp : ∀ n, Function.support (f n) ⊆ K) | |
| 5328 | - (k : ℕ) (p : ℝ≥0∞) : | |
| 5329 | - MemLp (iteratedFDeriv ℝ k (fun x => ∑' n, f n x)) p volume := by | |
| 5330 | - have hc : Continuous (iteratedFDeriv ℝ k (fun x => ∑' n, f n x)) := | |
| 5331 | - ContDiff.continuous_iteratedFDeriv (by simp) (contDiff_sum f v hf hv hb) | |
| 5332 | - exact hc.memLp_of_hasCompactSupport ((compactSupport_sum f K hK hsupp).iteratedFDeriv k) | |
| 5333 | - | |
| 5334 | -/-- Finite kinetic energy is obtained as integrability of the squared Euclidean norm. -/ | |
| 5335 | -theorem finite_energy_sum (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5336 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5337 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) | |
| 5338 | - (K : Set Space) (hK : IsCompact K) (hsupp : ∀ n, Function.support (f n) ⊆ K) : | |
| 5339 | - Integrable (fun x => ‖∑' n, f n x‖ ^ 2) volume := | |
| 5340 | - (memLp_sum f v hf hv hb K hK hsupp 2).integrable_norm_pow (by norm_num) | |
| 5341 | - | |
| 5342 | -/-- Odd parity also passes to the pointwise series. -/ | |
| 5343 | -theorem odd_sum (f : ℕ → Space → Space) (hodd : ∀ n x, f n (-x) = -f n x) : | |
| 5344 | - ∀ x, (∑' n, f n (-x)) = -(∑' n, f n x) := by | |
| 5345 | - intro x | |
| 5346 | - simp [hodd, tsum_neg] | |
| 5347 | - | |
| 5348 | -/-- | |
| 5349 | -Constructs the limit initial velocity with all required qualitative properties. | |
| 5350 | -The pointwise `HasSum` and uniform-convergence conclusions ensure the result is | |
| 5351 | -the actual series, and every derivative order is shown to commute with that sum. | |
| 5352 | --/ | |
| 5353 | -theorem smooth_compact_solenoidal_limit (f : ℕ → Space → Space) (v : ℕ → ℕ → ℝ) | |
| 5354 | - (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hv : ∀ k, Summable (v k)) | |
| 5355 | - (hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n) | |
| 5356 | - (K : Set Space) (hK : IsCompact K) (hsupp : ∀ n, Function.support (f n) ⊆ K) | |
| 5357 | - (hdiv : ∀ n x, divergence (f n) x = 0) : | |
| 5358 | - ∃ u : Space → Space, | |
| 5359 | - (∀ x, HasSum (fun n => f n x) (u x)) ∧ | |
| 5360 | - TendstoUniformly (fun N x => ∑ n ∈ Finset.range N, f n x) u atTop ∧ | |
| 5361 | - ContDiff ℝ ∞ u ∧ tsupport u ⊆ K ∧ HasCompactSupport u ∧ | |
| 5362 | - MemLp u 2 volume ∧ Integrable (fun x => ‖u x‖ ^ 2) volume ∧ | |
| 5363 | - (∀ x, divergence u x = 0) ∧ | |
| 5364 | - (∀ k x, iteratedFDeriv ℝ k u x = ∑' n, iteratedFDeriv ℝ k (f n) x) := by | |
| 5365 | - refine ⟨fun x => ∑' n, f n x, ?_⟩ | |
| 5366 | - exact ⟨fun x => (summable_values f v hv hb x).hasSum, | |
| 5367 | - uniform_convergence f v hv hb, | |
| 5368 | - contDiff_sum f v hf hv hb, | |
| 5369 | - tsupport_sum_subset f K hK.isClosed hsupp, | |
| 5370 | - compactSupport_sum f K hK hsupp, | |
| 5371 | - memLp_sum f v hf hv hb K hK hsupp 2, | |
| 5372 | - finite_energy_sum f v hf hv hb K hK hsupp, | |
| 5373 | - divergence_free_sum f v hf hv hb hdiv, | |
| 5374 | - iterated_derivative_sum f v hf hv hb⟩ | |
| 5375 | - | |
| 5376 | 4130 | end EulerSmoothLimit |
| 5377 | 4131 | |
| 5378 | 4132 | end |
| @@ -5412,25 +4166,6 @@ theorem besselWeight_neg_mul (d : ℕ) (s : ℝ) (ξ : Domain d) : | ||
| 5412 | 4166 | have he : -s / 2 + s / 2 = 0 := by ring |
| 5413 | 4167 | rw [he, Real.rpow_zero] |
| 5414 | 4168 | |
| 5415 | -theorem besselWeight_add (d : ℕ) (s t : ℝ) (ξ : Domain d) : | |
| 5416 | - besselWeight d (s + t) ξ = besselWeight d s ξ * besselWeight d t ξ := by | |
| 5417 | - unfold besselWeight | |
| 5418 | - rw [← Real.rpow_add (by positivity)] | |
| 5419 | - congr 1 | |
| 5420 | - ring | |
| 5421 | - | |
| 5422 | -/-- One derivative factor is absorbed by one Sobolev order. -/ | |
| 5423 | -theorem besselWeight_mul_norm_le (d : ℕ) (s : ℝ) (ξ : Domain d) : | |
| 5424 | - besselWeight d s ξ * ‖ξ‖ ≤ besselWeight d (s + 1) ξ := by | |
| 5425 | - have hn : ‖ξ‖ ≤ besselWeight d 1 ξ := by | |
| 5426 | - unfold besselWeight | |
| 5427 | - rw [← Real.sqrt_eq_rpow] | |
| 5428 | - calc | |
| 5429 | - ‖ξ‖ = Real.sqrt (‖ξ‖ ^ 2) := (Real.sqrt_sq (norm_nonneg ξ)).symm | |
| 5430 | - _ ≤ _ := Real.sqrt_le_sqrt (by linarith) | |
| 5431 | - rw [besselWeight_add] | |
| 5432 | - exact mul_le_mul_of_nonneg_left hn (besselWeight_pos d s ξ).le | |
| 5433 | - | |
| 5434 | 4169 | /-- The reciprocal Bessel weight is in L² exactly in the range needed here. -/ |
| 5435 | 4170 | theorem reciprocal_weight_memLp (d : ℕ) (s : ℝ) (hs : (d : ℝ) < 2 * s) : |
| 5436 | 4171 | MemLp (besselWeight d (-s)) 2 (volume : Measure (Domain d)) := by |
| @@ -5509,93 +4244,6 @@ theorem norm_apply_le_sobolevNorm (d : ℕ) (s : ℝ) (hs : (d : ℝ) < 2 * s) | ||
| 5509 | 4244 | |
| 5510 | 4245 | open scoped LineDeriv |
| 5511 | 4246 | |
| 5512 | -omit [CompleteSpace F] in | |
| 5513 | -/-- The actual Fourier multiplier formula bounds each directional derivative. -/ | |
| 5514 | -theorem fourier_lineDeriv_norm_le (d : ℕ) (f : 𝓢(Domain d, F)) (m ξ : Domain d) : | |
| 5515 | - ‖𝓕 (∂_{m} f) ξ‖ ≤ (2 * Real.pi) * ‖ξ‖ * ‖m‖ * ‖𝓕 f ξ‖ := by | |
| 5516 | - have ht : (fun ξ : Domain d => inner ℝ ξ m).HasTemperateGrowth := | |
| 5517 | - ((innerSL ℝ).flip m).hasTemperateGrowth | |
| 5518 | - have he : 𝓕 (∂_{m} f) ξ = (2 * Real.pi * Complex.I) • ((inner ℝ ξ m) • 𝓕 f ξ) := by | |
| 5519 | - rw [SchwartzMap.fourier_lineDerivOp_eq] | |
| 5520 | - simp [SchwartzMap.smulLeftCLM_apply_apply ht] | |
| 5521 | - have hc : ‖(2 * Real.pi * Complex.I : ℂ)‖ = 2 * Real.pi := by | |
| 5522 | - simp [Real.pi_pos.le] | |
| 5523 | - rw [he, norm_smul, norm_smul, hc] | |
| 5524 | - have hi := norm_inner_le_norm (𝕜 := ℝ) ξ m | |
| 5525 | - nlinarith [mul_le_mul_of_nonneg_left | |
| 5526 | - (mul_le_mul_of_nonneg_right hi (norm_nonneg (𝓕 f ξ))) (show 0 ≤ 2 * Real.pi by positivity)] | |
| 5527 | - | |
| 5528 | -omit [CompleteSpace F] in | |
| 5529 | -theorem weightedFourier_lineDeriv_norm_le (d : ℕ) (s : ℝ) | |
| 5530 | - (f : 𝓢(Domain d, F)) (m ξ : Domain d) : | |
| 5531 | - ‖weightedFourier d s (∂_{m} f) ξ‖ ≤ | |
| 5532 | - (2 * Real.pi * ‖m‖) * ‖weightedFourier d (s + 1) f ξ‖ := by | |
| 5533 | - rw [weightedFourier_apply, weightedFourier_apply, norm_smul, norm_smul, | |
| 5534 | - Real.norm_of_nonneg (besselWeight_pos d s ξ).le, | |
| 5535 | - Real.norm_of_nonneg (besselWeight_pos d (s + 1) ξ).le] | |
| 5536 | - calc | |
| 5537 | - _ ≤ besselWeight d s ξ * ((2 * Real.pi) * ‖ξ‖ * ‖m‖ * ‖𝓕 f ξ‖) := | |
| 5538 | - mul_le_mul_of_nonneg_left (fourier_lineDeriv_norm_le d f m ξ) (besselWeight_pos d s ξ).le | |
| 5539 | - _ = (2 * Real.pi * ‖m‖) * (besselWeight d s ξ * ‖ξ‖) * ‖𝓕 f ξ‖ := by ring | |
| 5540 | - _ ≤ (2 * Real.pi * ‖m‖) * besselWeight d (s + 1) ξ * ‖𝓕 f ξ‖ := by | |
| 5541 | - gcongr | |
| 5542 | - exact besselWeight_mul_norm_le d s ξ | |
| 5543 | - _ = _ := by ring | |
| 5544 | - | |
| 5545 | -omit [CompleteSpace F] in | |
| 5546 | -/-- A directional derivative maps H^(s+1) to H^s with its explicit Fourier factor. -/ | |
| 5547 | -theorem sobolevNorm_lineDeriv_le (d : ℕ) (s : ℝ) (f : 𝓢(Domain d, F)) (m : Domain d) : | |
| 5548 | - sobolevNorm d s (∂_{m} f) ≤ (2 * Real.pi * ‖m‖) * sobolevNorm d (s + 1) f := by | |
| 5549 | - unfold sobolevNorm | |
| 5550 | - apply Lp.norm_le_mul_norm_of_ae_le_mul | |
| 5551 | - filter_upwards [(weightedFourier d s (∂_{m} f)).coeFn_toLp 2, | |
| 5552 | - (weightedFourier d (s + 1) f).coeFn_toLp 2] with ξ hd hf | |
| 5553 | - rw [hd, hf] | |
| 5554 | - exact weightedFourier_lineDeriv_norm_le d s f m ξ | |
| 5555 | - | |
| 5556 | -omit [CompleteSpace F] in | |
| 5557 | -/-- Iterating the Fourier multiplier estimate loses exactly one Sobolev order per derivative. -/ | |
| 5558 | -theorem sobolevNorm_iteratedLineDeriv_le (d k : ℕ) (s : ℝ) | |
| 5559 | - (f : 𝓢(Domain d, F)) (m : Fin k → Domain d) : | |
| 5560 | - sobolevNorm d s (∂^{m} f) ≤ | |
| 5561 | - (2 * Real.pi) ^ k * (∏ i, ‖m i‖) * sobolevNorm d (s + k) f := by | |
| 5562 | - induction k generalizing s with | |
| 5563 | - | zero => simp | |
| 5564 | - | succ k ih => | |
| 5565 | - rw [LineDeriv.iteratedLineDerivOp_succ_left] | |
| 5566 | - calc | |
| 5567 | - _ ≤ (2 * Real.pi * ‖m 0‖) * sobolevNorm d (s + 1) (∂^{Fin.tail m} f) := | |
| 5568 | - sobolevNorm_lineDeriv_le d s (∂^{Fin.tail m} f) (m 0) | |
| 5569 | - _ ≤ (2 * Real.pi * ‖m 0‖) * | |
| 5570 | - ((2 * Real.pi) ^ k * (∏ i, ‖Fin.tail m i‖) * | |
| 5571 | - sobolevNorm d ((s + 1) + k) f) := by | |
| 5572 | - gcongr | |
| 5573 | - exact ih (s + 1) (Fin.tail m) | |
| 5574 | - _ = _ := by | |
| 5575 | - rw [Fin.prod_univ_succ, pow_succ] | |
| 5576 | - have he : (s + 1) + (k : ℝ) = s + (↑(k + 1) : ℝ) := by push_cast; ring | |
| 5577 | - rw [he] | |
| 5578 | - simp only [Fin.tail] | |
| 5579 | - ring | |
| 5580 | - | |
| 5581 | -/-- Sobolev embedding controls the operator norm of every actual Fréchet derivative. -/ | |
| 5582 | -theorem iteratedFDeriv_norm_le_sobolevNorm (d k : ℕ) (s : ℝ) | |
| 5583 | - (hs : (d : ℝ) < 2 * s) (f : 𝓢(Domain d, F)) (x : Domain d) : | |
| 5584 | - ‖iteratedFDeriv ℝ k f x‖ ≤ | |
| 5585 | - embeddingConstant d s hs * (2 * Real.pi) ^ k * sobolevNorm d (s + k) f := by | |
| 5586 | - apply ContinuousMultilinearMap.opNorm_le_bound (by | |
| 5587 | - unfold embeddingConstant sobolevNorm | |
| 5588 | - positivity) | |
| 5589 | - intro m | |
| 5590 | - rw [← SchwartzMap.iteratedLineDerivOp_eq_iteratedFDeriv] | |
| 5591 | - calc | |
| 5592 | - _ ≤ embeddingConstant d s hs * sobolevNorm d s (∂^{m} f) := | |
| 5593 | - norm_apply_le_sobolevNorm d s hs (∂^{m} f) x | |
| 5594 | - _ ≤ embeddingConstant d s hs * | |
| 5595 | - ((2 * Real.pi) ^ k * (∏ i, ‖m i‖) * sobolevNorm d (s + k) f) := | |
| 5596 | - mul_le_mul_of_nonneg_left (sobolevNorm_iteratedLineDeriv_le d k s f m) (norm_nonneg _) | |
| 5597 | - _ = _ := by ring | |
| 5598 | - | |
| 5599 | 4247 | /-- Coordinatewise complexification is an actual linear isometry of Euclidean spaces. -/ |
| 5600 | 4248 | noncomputable def complexify (q : ℕ) : |
| 5601 | 4249 | Domain q →ₗᵢ[ℝ] EuclideanSpace ℂ (Fin q) where |
| @@ -5606,86 +4254,8 @@ noncomputable def complexify (q : ℕ) : | ||
| 5606 | 4254 | rw [EuclideanSpace.norm_eq, EuclideanSpace.norm_eq] |
| 5607 | 4255 | simp |
| 5608 | 4256 | |
| 5609 | -/-- Coordinatewise isometric complexification of a real Schwartz vector field. -/ | |
| 5610 | -noncomputable def complexifySchwartz (d q : ℕ) (f : 𝓢(Domain d, Domain q)) : | |
| 5611 | - 𝓢(Domain d, EuclideanSpace ℂ (Fin q)) := | |
| 5612 | - SchwartzMap.postcompCLM (complexify q).toContinuousLinearMap f | |
| 5613 | - | |
| 5614 | -/-- The usual Fourier Hˢ norm of a real vector field, via isometric complexification. -/ | |
| 5615 | -noncomputable def realSobolevNorm (d q : ℕ) (s : ℝ) (f : 𝓢(Domain d, Domain q)) : ℝ := | |
| 5616 | - sobolevNorm d s (complexifySchwartz d q f) | |
| 5617 | - | |
| 5618 | -theorem complexifySchwartz_iteratedFDeriv_norm (d q k : ℕ) | |
| 5619 | - (f : 𝓢(Domain d, Domain q)) (x : Domain d) : | |
| 5620 | - ‖iteratedFDeriv ℝ k (complexifySchwartz d q f) x‖ = ‖iteratedFDeriv ℝ k f x‖ := by | |
| 5621 | - change ‖iteratedFDeriv ℝ k ((complexify q) ∘ f) x‖ = _ | |
| 5622 | - exact (complexify q).norm_iteratedFDeriv_comp_left f.smooth'.contDiffAt (by simp) | |
| 5623 | - | |
| 5624 | -/-- Sobolev embedding for genuine real Euclidean vector fields and all derivative orders. -/ | |
| 5625 | -theorem real_iteratedFDeriv_norm_le_sobolevNorm (d q k : ℕ) (s : ℝ) | |
| 5626 | - (hs : (d : ℝ) < 2 * s) (f : 𝓢(Domain d, Domain q)) (x : Domain d) : | |
| 5627 | - ‖iteratedFDeriv ℝ k f x‖ ≤ | |
| 5628 | - embeddingConstant d s hs * (2 * Real.pi) ^ k * realSobolevNorm d q (s + k) f := by | |
| 5629 | - rw [← complexifySchwartz_iteratedFDeriv_norm d q k f x] | |
| 5630 | - exact iteratedFDeriv_norm_le_sobolevNorm d k s hs (complexifySchwartz d q f) x | |
| 5631 | - | |
| 5632 | -/-- On ℝ³, `H^(k+2)` controls every derivative of order `k`. In particular, `H³ → C¹`. -/ | |
| 5633 | -theorem real_three_dimensional_sobolev (q k : ℕ) | |
| 5634 | - (f : 𝓢(Domain 3, Domain q)) (x : Domain 3) : | |
| 5635 | - ‖iteratedFDeriv ℝ k f x‖ ≤ | |
| 5636 | - embeddingConstant 3 2 (by norm_num) * (2 * Real.pi) ^ k * | |
| 5637 | - realSobolevNorm 3 q (2 + k) f := | |
| 5638 | - real_iteratedFDeriv_norm_le_sobolevNorm 3 q k 2 (by norm_num) f x | |
| 5639 | - | |
| 5640 | -/-- On ℝ⁴, `H^(k+3)` controls every derivative of order `k`. -/ | |
| 5641 | -theorem real_four_dimensional_sobolev (q k : ℕ) | |
| 5642 | - (f : 𝓢(Domain 4, Domain q)) (x : Domain 4) : | |
| 5643 | - ‖iteratedFDeriv ℝ k f x‖ ≤ | |
| 5644 | - embeddingConstant 4 3 (by norm_num) * (2 * Real.pi) ^ k * | |
| 5645 | - realSobolevNorm 4 q (3 + k) f := | |
| 5646 | - real_iteratedFDeriv_norm_le_sobolevNorm 4 q k 3 (by norm_num) f x | |
| 5647 | - | |
| 5648 | -/-- The same concrete Fourier norm, now for an unbundled smooth compactly supported field. -/ | |
| 5649 | -noncomputable def compactSobolevNorm (d q : ℕ) (s : ℝ) (f : Domain d → Domain q) | |
| 5650 | - (hf : ContDiff ℝ ∞ f) (hc : HasCompactSupport f) : ℝ := | |
| 5651 | - realSobolevNorm d q s (hc.toSchwartzMap hf) | |
| 5652 | - | |
| 5653 | -theorem compact_iteratedFDeriv_norm_le (q k : ℕ) (f : Domain 3 → Domain q) | |
| 5654 | - (hf : ContDiff ℝ ∞ f) (hc : HasCompactSupport f) (x : Domain 3) : | |
| 5655 | - ‖iteratedFDeriv ℝ k f x‖ ≤ | |
| 5656 | - embeddingConstant 3 2 (by norm_num) * (2 * Real.pi) ^ k * | |
| 5657 | - compactSobolevNorm 3 q (2 + k) f hf hc := | |
| 5658 | - real_three_dimensional_sobolev q k (hc.toSchwartzMap hf) x | |
| 5659 | - | |
| 5660 | 4257 | open Filter EulerSmoothLimit |
| 5661 | 4258 | |
| 5662 | -/-- | |
| 5663 | -The all-order Sobolev estimates construct the actual smooth, compactly supported, | |
| 5664 | -finite-energy solenoidal limit. Uniform derivative bounds are derived by Fourier | |
| 5665 | -analysis inside the proof, rather than supplied as an additional hypothesis. | |
| 5666 | --/ | |
| 5667 | -theorem smooth_compact_solenoidal_limit_of_sobolev | |
| 5668 | - (f : ℕ → Space → Space) (hf : ∀ n, ContDiff ℝ ∞ (f n)) | |
| 5669 | - (hc : ∀ n, HasCompactSupport (f n)) | |
| 5670 | - (hSob : ∀ k : ℕ, Summable (fun n => | |
| 5671 | - compactSobolevNorm 3 3 (2 + k) (f n) (hf n) (hc n))) | |
| 5672 | - (K : Set Space) (hK : IsCompact K) (hsupp : ∀ n, Function.support (f n) ⊆ K) | |
| 5673 | - (hdiv : ∀ n x, divergence (f n) x = 0) : | |
| 5674 | - ∃ u : Space → Space, | |
| 5675 | - (∀ x, HasSum (fun n => f n x) (u x)) ∧ | |
| 5676 | - TendstoUniformly (fun N x => ∑ n ∈ Finset.range N, f n x) u atTop ∧ | |
| 5677 | - ContDiff ℝ ∞ u ∧ tsupport u ⊆ K ∧ HasCompactSupport u ∧ | |
| 5678 | - MemLp u 2 volume ∧ Integrable (fun x => ‖u x‖ ^ 2) volume ∧ | |
| 5679 | - (∀ x, divergence u x = 0) ∧ | |
| 5680 | - (∀ k x, iteratedFDeriv ℝ k u x = ∑' n, iteratedFDeriv ℝ k (f n) x) := by | |
| 5681 | - let v : ℕ → ℕ → ℝ := fun k n => | |
| 5682 | - embeddingConstant 3 2 (by norm_num) * (2 * Real.pi) ^ k * | |
| 5683 | - compactSobolevNorm 3 3 (2 + k) (f n) (hf n) (hc n) | |
| 5684 | - have hv : ∀ k, Summable (v k) := fun k => (hSob k).mul_left _ | |
| 5685 | - have hb : ∀ k n x, ‖iteratedFDeriv ℝ k (f n) x‖ ≤ v k n := | |
| 5686 | - fun k n x => compact_iteratedFDeriv_norm_le 3 k (f n) (hf n) (hc n) x | |
| 5687 | - exact EulerSmoothLimit.smooth_compact_solenoidal_limit f v hf hv hb K hK hsupp hdiv | |
| 5688 | - | |
| 5689 | 4259 | end EulerSobolev |
| 5690 | 4260 | |
| 5691 | 4261 | end |
| @@ -5697,47 +4267,10 @@ namespace EulerSobolevProducts | ||
| 5697 | 4267 | open MeasureTheory FourierTransform EulerSobolev |
| 5698 | 4268 | open scoped SchwartzMap ENNReal ContDiff LineDeriv Convolution |
| 5699 | 4269 | |
| 5700 | -theorem sobolevNorm_zero (d : ℕ) (f : 𝓢(Domain d, ℂ)) : | |
| 5701 | - sobolevNorm d 0 f = ‖f.toLp 2‖ := by | |
| 5702 | - have he : weightedFourier d 0 f = 𝓕 f := by | |
| 5703 | - ext ξ | |
| 5704 | - simp [weightedFourier_apply, besselWeight] | |
| 5705 | - simp [sobolevNorm, he] | |
| 5706 | - | |
| 5707 | -theorem besselWeight_mono (d : ℕ) {s t : ℝ} (hst : s ≤ t) (ξ : Domain d) : | |
| 5708 | - besselWeight d s ξ ≤ besselWeight d t ξ := by | |
| 5709 | - apply Real.rpow_le_rpow_of_exponent_le (by nlinarith [sq_nonneg ‖ξ‖]) | |
| 5710 | - exact div_le_div_of_nonneg_right hst (by norm_num) | |
| 5711 | - | |
| 5712 | -theorem sobolevNorm_mono (d : ℕ) {s t : ℝ} (hst : s ≤ t) (f : 𝓢(Domain d, ℂ)) : | |
| 5713 | - sobolevNorm d s f ≤ sobolevNorm d t f := by | |
| 5714 | - unfold sobolevNorm | |
| 5715 | - apply Lp.norm_le_norm_of_ae_le | |
| 5716 | - filter_upwards [(weightedFourier d s f).coeFn_toLp 2, | |
| 5717 | - (weightedFourier d t f).coeFn_toLp 2] with ξ hs ht | |
| 5718 | - rw [hs, ht, weightedFourier_apply, weightedFourier_apply, norm_smul, norm_smul, | |
| 5719 | - Real.norm_of_nonneg (besselWeight_pos d s ξ).le, | |
| 5720 | - Real.norm_of_nonneg (besselWeight_pos d t ξ).le] | |
| 5721 | - exact mul_le_mul_of_nonneg_right (besselWeight_mono d hst ξ) (norm_nonneg _) | |
| 5722 | - | |
| 5723 | 4270 | /-- Repeated differentiation in one fixed direction, as a Schwartz function. -/ |
| 5724 | 4271 | noncomputable def directional (d n : ℕ) (v : Domain d) (f : 𝓢(Domain d, ℂ)) : |
| 5725 | 4272 | 𝓢(Domain d, ℂ) := ∂^{fun _ : Fin n => v} f |
| 5726 | 4273 | |
| 5727 | -theorem directional_eq_iteratedDeriv (d n : ℕ) (v x : Domain d) | |
| 5728 | - (f : 𝓢(Domain d, ℂ)) : | |
| 5729 | - directional d n v f x = iteratedDeriv n (fun t : ℝ => f (x + t • v)) 0 := by | |
| 5730 | - rw [directional, SchwartzMap.iteratedLineDerivOp_eq_iteratedFDeriv, | |
| 5731 | - iteratedDeriv_eq_iteratedFDeriv] | |
| 5732 | - let L : ℝ →L[ℝ] Domain d := (ContinuousLinearMap.id ℝ ℝ).smulRight v | |
| 5733 | - have hC : ContDiff ℝ ∞ (fun z => f (x + z)) := f.smooth'.comp (contDiff_const.add contDiff_id) | |
| 5734 | - have he := L.iteratedFDeriv_comp_right hC (0 : ℝ) (by simp : (n : ℕ∞ω) ≤ (∞ : ℕ∞ω)) | |
| 5735 | - change iteratedFDeriv ℝ n f x (fun _ => v) = _ | |
| 5736 | - change _ = iteratedFDeriv ℝ n ((fun z => f (x + z)) ∘ L) 0 (fun _ => 1) | |
| 5737 | - rw [he] | |
| 5738 | - simp [L, ContinuousMultilinearMap.compContinuousLinearMap_apply, | |
| 5739 | - iteratedFDeriv_comp_add_left] | |
| 5740 | - | |
| 5741 | 4274 | /-- Pointwise multiplication of two complex Schwartz functions. -/ |
| 5742 | 4275 | noncomputable def product (d : ℕ) (f g : 𝓢(Domain d, ℂ)) : 𝓢(Domain d, ℂ) := |
| 5743 | 4276 | SchwartzMap.pairing (ContinuousLinearMap.mul ℂ ℂ) f g |
| @@ -5745,43 +4278,6 @@ noncomputable def product (d : ℕ) (f g : 𝓢(Domain d, ℂ)) : 𝓢(Domain d, | ||
| 5745 | 4278 | @[simp] theorem product_apply (d : ℕ) (f g : 𝓢(Domain d, ℂ)) (x : Domain d) : |
| 5746 | 4279 | product d f g x = f x * g x := rfl |
| 5747 | 4280 | |
| 5748 | -theorem directional_product (d n : ℕ) (v : Domain d) (f g : 𝓢(Domain d, ℂ)) : | |
| 5749 | - directional d n v (product d f g) = | |
| 5750 | - ∑ j ∈ Finset.range (n + 1), (n.choose j : ℂ) • | |
| 5751 | - product d (directional d j v f) (directional d (n-j) v g) := by | |
| 5752 | - ext x | |
| 5753 | - simp only [directional_eq_iteratedDeriv, product_apply, sum_apply, | |
| 5754 | - smul_apply, smul_eq_mul] | |
| 5755 | - have hf : ContDiff ℝ ∞ (fun t : ℝ => f (x + t • v)) := | |
| 5756 | - f.smooth'.comp (contDiff_const.add (contDiff_id.smul contDiff_const)) | |
| 5757 | - have hg : ContDiff ℝ ∞ (fun t : ℝ => g (x + t • v)) := | |
| 5758 | - g.smooth'.comp (contDiff_const.add (contDiff_id.smul contDiff_const)) | |
| 5759 | - simpa only [Pi.mul_apply, mul_assoc] using iteratedDeriv_fun_mul | |
| 5760 | - (hf.of_le (by simp)).contDiffAt (hg.of_le (by simp)).contDiffAt | |
| 5761 | - | |
| 5762 | -theorem directional_L2_le (d n : ℕ) (v : Domain d) (f : 𝓢(Domain d, ℂ)) : | |
| 5763 | - ‖(directional d n v f).toLp 2‖ ≤ | |
| 5764 | - (2 * Real.pi) ^ n * ‖v‖ ^ n * sobolevNorm d n f := by | |
| 5765 | - rw [← sobolevNorm_zero] | |
| 5766 | - simpa [directional] using sobolevNorm_iteratedLineDeriv_le d n 0 f (fun _ => v) | |
| 5767 | - | |
| 5768 | -theorem besselWeight_six_le_pure_six (d : ℕ) (ξ : Domain d) : | |
| 5769 | - besselWeight d 6 ξ ≤ ((d : ℝ) + 1) ^ 2 * (1 + ∑ i, ‖ξ i‖ ^ 6) := by | |
| 5770 | - let a : Option (Fin d) → ℝ := fun i => match i with | |
| 5771 | - | none => 1 | |
| 5772 | - | some i => ‖ξ i‖ ^ 2 | |
| 5773 | - have ha : ∀ i ∈ (Finset.univ : Finset (Option (Fin d))), 0 ≤ a i := by | |
| 5774 | - intro i _ | |
| 5775 | - cases i <;> simp only [a] <;> positivity | |
| 5776 | - have h := pow_sum_le_card_mul_sum_pow ha 2 | |
| 5777 | - have he : besselWeight d 6 ξ = (1 + ∑ i, ‖ξ i‖ ^ 2) ^ 3 := by | |
| 5778 | - norm_num [besselWeight, EuclideanSpace.norm_sq_eq] | |
| 5779 | - rw [he] | |
| 5780 | - have hp (i : Fin d) : ‖ξ i‖ ^ 6 = (ξ i) ^ 6 := by | |
| 5781 | - exact (by decide : Even 6).pow_abs (ξ i) | |
| 5782 | - simp only [hp] | |
| 5783 | - simpa [a, Fintype.sum_option, ← pow_mul, Nat.mul_comm] using h | |
| 5784 | - | |
| 5785 | 4281 | theorem fourier_directional_norm (d n : ℕ) (v : Domain d) |
| 5786 | 4282 | (f : 𝓢(Domain d, ℂ)) (ξ : Domain d) : |
| 5787 | 4283 | ‖𝓕 (directional d n v f) ξ‖ = |
| @@ -5832,194 +4328,8 @@ theorem normLp_le_sum {ι : Type*} [Fintype ι] (d : ℕ) (f : 𝓢(Domain d, | ||
| 5832 | 4328 | _ ≤ C * ∑ i, ‖normLp d (g i)‖ := mul_le_mul_of_nonneg_left (norm_sum_le _ _) hC |
| 5833 | 4329 | _ = _ := by simp only [norm_normLp] |
| 5834 | 4330 | |
| 5835 | -theorem sobolevNorm_six_le_pure_derivatives (d : ℕ) (f : 𝓢(Domain d, ℂ)) : | |
| 5836 | - sobolevNorm d 6 f ≤ ((d : ℝ) + 1) ^ 2 * | |
| 5837 | - (‖f.toLp 2‖ + (2 * Real.pi) ^ (-6 : ℤ) * | |
| 5838 | - ∑ i : Fin d, ‖(directional d 6 (EuclideanSpace.single i 1) f).toLp 2‖) := by | |
| 5839 | - let g : Option (Fin d) → 𝓢(Domain d, ℂ) := fun i => match i with | |
| 5840 | - | none => 𝓕 f | |
| 5841 | - | some i => ((2 * Real.pi) ^ (-6 : ℤ) : ℝ) • | |
| 5842 | - 𝓕 (directional d 6 (EuclideanSpace.single i 1) f) | |
| 5843 | - have hpoint (ξ : Domain d) : | |
| 5844 | - ‖weightedFourier d 6 f ξ‖ ≤ ((d : ℝ) + 1) ^ 2 * ∑ i, ‖g i ξ‖ := by | |
| 5845 | - rw [weightedFourier_apply, norm_smul, Real.norm_of_nonneg (besselWeight_pos d 6 ξ).le] | |
| 5846 | - have hg : ∑ i, ‖g i ξ‖ = (1 + ∑ i, ‖ξ i‖ ^ 6) * ‖𝓕 f ξ‖ := by | |
| 5847 | - rw [Fintype.sum_option] | |
| 5848 | - simp only [g, smul_apply, norm_smul, | |
| 5849 | - Real.norm_of_nonneg (by positivity : 0 ≤ (2 * Real.pi) ^ (-6 : ℤ)), | |
| 5850 | - fourier_directional_norm, EuclideanSpace.inner_single_right, | |
| 5851 | - starRingEnd_apply, star_trivial] | |
| 5852 | - have hp : (2 * Real.pi) ^ (-6 : ℤ) * (2 * Real.pi) ^ (6 : ℕ) = 1 := by | |
| 5853 | - rw [show (-6 : ℤ) = -(6 : ℤ) from rfl, zpow_neg] | |
| 5854 | - exact inv_mul_cancel₀ (by positivity) | |
| 5855 | - simp_rw [← mul_assoc, hp, one_mul] | |
| 5856 | - rw [add_mul, one_mul, Finset.sum_mul] | |
| 5857 | - rw [hg] | |
| 5858 | - nlinarith [mul_le_mul_of_nonneg_right (besselWeight_six_le_pure_six d ξ) (norm_nonneg (𝓕 f ξ))] | |
| 5859 | - have h := normLp_le_sum d (weightedFourier d 6 f) g (((d : ℝ) + 1) ^ 2) | |
| 5860 | - (sq_nonneg _) hpoint | |
| 5861 | - have hnorm : ∑ i, ‖(g i).toLp 2‖ = ‖f.toLp 2‖ + | |
| 5862 | - (2 * Real.pi) ^ (-6 : ℤ) * ∑ i : Fin d, | |
| 5863 | - ‖(directional d 6 (EuclideanSpace.single i 1) f).toLp 2‖ := by | |
| 5864 | - rw [Fintype.sum_option] | |
| 5865 | - simp only [g] | |
| 5866 | - change ‖(𝓕 f).toLp 2‖ + ∑ i, | |
| 5867 | - ‖SchwartzMap.toLpCLM ℝ ℂ 2 volume (((2 * Real.pi) ^ (-6 : ℤ)) • | |
| 5868 | - 𝓕 (directional d 6 (EuclideanSpace.single i 1) f))‖ = _ | |
| 5869 | - simp only [map_smul, norm_smul, | |
| 5870 | - Real.norm_of_nonneg (by positivity : 0 ≤ (2 * Real.pi) ^ (-6 : ℤ)), | |
| 5871 | - SchwartzMap.toLpCLM_apply, SchwartzMap.norm_fourier_toL2_eq, Finset.mul_sum] | |
| 5872 | - rw [hnorm] at h | |
| 5873 | - exact h | |
| 5874 | - | |
| 5875 | -theorem product_L2_le_of_sup (d : ℕ) (f g : 𝓢(Domain d, ℂ)) (A : ℝ) | |
| 5876 | - (hA : ∀ x, ‖f x‖ ≤ A) : ‖(product d f g).toLp 2‖ ≤ A * ‖g.toLp 2‖ := by | |
| 5877 | - apply Lp.norm_le_mul_norm_of_ae_le_mul | |
| 5878 | - filter_upwards [(product d f g).coeFn_toLp 2, g.coeFn_toLp 2] with x hp hg | |
| 5879 | - rw [hp, hg, product_apply, norm_mul] | |
| 5880 | - exact mul_le_mul_of_nonneg_right (hA x) (norm_nonneg _) | |
| 5881 | - | |
| 5882 | -theorem directional_sup_le_H6 (d j : ℕ) (hd : (d : ℝ) < 2 * 3) (hj : j ≤ 3) | |
| 5883 | - (v : Domain d) (hv : ‖v‖ ≤ 1) (f : 𝓢(Domain d, ℂ)) (x : Domain d) : | |
| 5884 | - ‖directional d j v f x‖ ≤ | |
| 5885 | - embeddingConstant d 3 hd * (2 * Real.pi) ^ j * sobolevNorm d 6 f := by | |
| 5886 | - have hC : 0 ≤ embeddingConstant d 3 hd := norm_nonneg _ | |
| 5887 | - have hS : 0 ≤ sobolevNorm d (3+j) f := norm_nonneg _ | |
| 5888 | - have hb := sobolevNorm_iteratedLineDeriv_le d j 3 f (fun _ : Fin j => v) | |
| 5889 | - simp only [Finset.prod_const, Finset.card_univ, Fintype.card_fin] at hb | |
| 5890 | - have hvp : ‖v‖ ^ j ≤ 1 := pow_le_one₀ (norm_nonneg _) hv | |
| 5891 | - have hs : sobolevNorm d (3 + j) f ≤ sobolevNorm d 6 f := | |
| 5892 | - sobolevNorm_mono d (by exact_mod_cast (show 3 + j ≤ 6 by omega)) f | |
| 5893 | - calc | |
| 5894 | - _ ≤ embeddingConstant d 3 hd * sobolevNorm d 3 (directional d j v f) := | |
| 5895 | - norm_apply_le_sobolevNorm d 3 hd _ x | |
| 5896 | - _ ≤ embeddingConstant d 3 hd * | |
| 5897 | - ((2 * Real.pi) ^ j * ‖v‖ ^ j * sobolevNorm d (3 + j) f) := | |
| 5898 | - mul_le_mul_of_nonneg_left hb (norm_nonneg _) | |
| 5899 | - _ ≤ embeddingConstant d 3 hd * ((2 * Real.pi) ^ j * 1 * sobolevNorm d 6 f) := by | |
| 5900 | - gcongr | |
| 5901 | - _ = _ := by ring | |
| 5902 | - | |
| 5903 | -theorem directional_L2_le_H6 (d j : ℕ) (hj : j ≤ 6) (v : Domain d) (hv : ‖v‖ ≤ 1) | |
| 5904 | - (f : 𝓢(Domain d, ℂ)) : | |
| 5905 | - ‖(directional d j v f).toLp 2‖ ≤ (2 * Real.pi) ^ j * sobolevNorm d 6 f := by | |
| 5906 | - have hvp : ‖v‖ ^ j ≤ 1 := pow_le_one₀ (norm_nonneg _) hv | |
| 5907 | - have hS : 0 ≤ sobolevNorm d j f := norm_nonneg _ | |
| 5908 | - have hmono : sobolevNorm d j f ≤ sobolevNorm d 6 f := | |
| 5909 | - sobolevNorm_mono d (s := (j : ℝ)) (t := 6) (by exact_mod_cast hj) f | |
| 5910 | - calc | |
| 5911 | - _ ≤ (2 * Real.pi) ^ j * ‖v‖ ^ j * sobolevNorm d j f := directional_L2_le d j v f | |
| 5912 | - _ ≤ (2 * Real.pi) ^ j * 1 * sobolevNorm d 6 f := by | |
| 5913 | - gcongr | |
| 5914 | - _ = _ := by ring | |
| 5915 | - | |
| 5916 | 4331 | attribute [local irreducible] sobolevNorm embeddingConstant |
| 5917 | 4332 | |
| 5918 | -theorem product_directional_L2_le_left (d j k : ℕ) (hd : (d : ℝ) < 2 * 3) | |
| 5919 | - (hj : j ≤ 3) (hk : k ≤ 6) (v : Domain d) (hv : ‖v‖ ≤ 1) | |
| 5920 | - (f g : 𝓢(Domain d, ℂ)) : | |
| 5921 | - ‖(product d (directional d j v f) (directional d k v g)).toLp 2‖ ≤ | |
| 5922 | - embeddingConstant d 3 hd * (2 * Real.pi) ^ (j+k) * | |
| 5923 | - sobolevNorm d 6 f * sobolevNorm d 6 g := by | |
| 5924 | - have hC : 0 ≤ embeddingConstant d 3 hd := by unfold embeddingConstant; exact norm_nonneg _ | |
| 5925 | - have hS : 0 ≤ sobolevNorm d 6 f := by unfold sobolevNorm; exact norm_nonneg _ | |
| 5926 | - have hA := product_L2_le_of_sup d (directional d j v f) (directional d k v g) | |
| 5927 | - (embeddingConstant d 3 hd * (2 * Real.pi) ^ j * sobolevNorm d 6 f) | |
| 5928 | - (directional_sup_le_H6 d j hd hj v hv f) | |
| 5929 | - have hB := mul_le_mul_of_nonneg_left (directional_L2_le_H6 d k hk v hv g) | |
| 5930 | - (mul_nonneg (mul_nonneg hC (by positivity : 0 ≤ (2 * Real.pi) ^ j)) hS) | |
| 5931 | - have harith (A B C p : ℝ) : (C * p ^ j * A) * (p ^ k * B) = | |
| 5932 | - C * p ^ (j+k) * A * B := by rw [pow_add]; ring | |
| 5933 | - exact hA.trans (hB.trans_eq (harith _ _ _ _)) | |
| 5934 | - | |
| 5935 | -theorem product_directional_L2_le (d j k : ℕ) (hd : (d : ℝ) < 2 * 3) (hjk : j+k ≤ 6) | |
| 5936 | - (v : Domain d) (hv : ‖v‖ ≤ 1) (f g : 𝓢(Domain d, ℂ)) : | |
| 5937 | - ‖(product d (directional d j v f) (directional d k v g)).toLp 2‖ ≤ | |
| 5938 | - embeddingConstant d 3 hd * (2 * Real.pi) ^ (j+k) * | |
| 5939 | - sobolevNorm d 6 f * sobolevNorm d 6 g := by | |
| 5940 | - by_cases hj : j ≤ 3 | |
| 5941 | - · exact product_directional_L2_le_left d j k hd hj (by omega) v hv f g | |
| 5942 | - · have he : product d (directional d j v f) (directional d k v g) = | |
| 5943 | - product d (directional d k v g) (directional d j v f) := by | |
| 5944 | - ext x | |
| 5945 | - simp [mul_comm] | |
| 5946 | - rw [he] | |
| 5947 | - have h := product_directional_L2_le_left d k j hd (by omega) (by omega) v hv g f | |
| 5948 | - rw [Nat.add_comm k j] at h | |
| 5949 | - convert h using 1; ring | |
| 5950 | - | |
| 5951 | -theorem directional_product_L2_le (d n : ℕ) (hd : (d : ℝ) < 2 * 3) (hn : n ≤ 6) | |
| 5952 | - (v : Domain d) (hv : ‖v‖ ≤ 1) (f g : 𝓢(Domain d, ℂ)) : | |
| 5953 | - ‖(directional d n v (product d f g)).toLp 2‖ ≤ | |
| 5954 | - 2 ^ n * (embeddingConstant d 3 hd * (2 * Real.pi) ^ n * | |
| 5955 | - sobolevNorm d 6 f * sobolevNorm d 6 g) := by | |
| 5956 | - rw [directional_product] | |
| 5957 | - change ‖SchwartzMap.toLpCLM ℂ ℂ 2 volume | |
| 5958 | - (∑ j ∈ Finset.range (n+1), (n.choose j : ℂ) • | |
| 5959 | - product d (directional d j v f) (directional d (n-j) v g))‖ ≤ _ | |
| 5960 | - rw [map_sum] | |
| 5961 | - calc | |
| 5962 | - _ ≤ ∑ j ∈ Finset.range (n+1), | |
| 5963 | - ‖SchwartzMap.toLpCLM ℂ ℂ 2 volume ((n.choose j : ℂ) • | |
| 5964 | - product d (directional d j v f) (directional d (n-j) v g))‖ := norm_sum_le _ _ | |
| 5965 | - _ = ∑ j ∈ Finset.range (n+1), (n.choose j : ℝ) * | |
| 5966 | - ‖(product d (directional d j v f) (directional d (n-j) v g)).toLp 2‖ := by | |
| 5967 | - simp only [map_smul, norm_smul, Complex.norm_natCast, SchwartzMap.toLpCLM_apply] | |
| 5968 | - _ ≤ ∑ j ∈ Finset.range (n+1), (n.choose j : ℝ) * | |
| 5969 | - (embeddingConstant d 3 hd * (2 * Real.pi) ^ n * | |
| 5970 | - sobolevNorm d 6 f * sobolevNorm d 6 g) := by | |
| 5971 | - apply Finset.sum_le_sum | |
| 5972 | - intro j hj | |
| 5973 | - have hjn : j ≤ n := by simpa using (Finset.mem_range.1 hj) | |
| 5974 | - have h := product_directional_L2_le d j (n-j) hd (by omega) v hv f g | |
| 5975 | - rw [Nat.add_sub_of_le hjn] at h | |
| 5976 | - exact mul_le_mul_of_nonneg_left h (Nat.cast_nonneg _) | |
| 5977 | - _ = _ := by | |
| 5978 | - rw [← Finset.sum_mul] | |
| 5979 | - congr 1 | |
| 5980 | - exact_mod_cast Nat.sum_range_choose n | |
| 5981 | - | |
| 5982 | -/-- A concrete algebra constant, obtained by Leibniz, Plancherel and the Sobolev embedding. -/ | |
| 5983 | -theorem sobolevNorm_six_product (d : ℕ) (hd : (d : ℝ) < 2 * 3) (f g : 𝓢(Domain d, ℂ)) : | |
| 5984 | - sobolevNorm d 6 (product d f g) ≤ | |
| 5985 | - (((d : ℝ) + 1) ^ 2 * (1 + 64 * d) * embeddingConstant d 3 hd) * | |
| 5986 | - sobolevNorm d 6 f * sobolevNorm d 6 g := by | |
| 5987 | - have hzero : ‖(product d f g).toLp 2‖ ≤ | |
| 5988 | - embeddingConstant d 3 hd * sobolevNorm d 6 f * sobolevNorm d 6 g := by | |
| 5989 | - simpa only [directional, LineDeriv.iteratedLineDerivOp_fin_zero, pow_zero, one_mul, | |
| 5990 | - mul_one] using directional_product_L2_le d 0 hd (by omega) | |
| 5991 | - 0 (by simp) f g | |
| 5992 | - have hsix (i : Fin d) : | |
| 5993 | - ‖(directional d 6 (EuclideanSpace.single i 1) (product d f g)).toLp 2‖ ≤ | |
| 5994 | - 64 * (embeddingConstant d 3 hd * (2 * Real.pi) ^ 6 * | |
| 5995 | - sobolevNorm d 6 f * sobolevNorm d 6 g) := by | |
| 5996 | - have h := directional_product_L2_le d 6 hd (by omega) | |
| 5997 | - (EuclideanSpace.single i 1) (by simp) f g | |
| 5998 | - rw [show (2 : ℝ) ^ 6 = 64 by norm_num] at h | |
| 5999 | - exact h | |
| 6000 | - have hsum := Finset.sum_le_sum (fun i (_ : i ∈ (Finset.univ : Finset (Fin d))) => hsix i) | |
| 6001 | - simp only [Finset.sum_const, Finset.card_univ, Fintype.card_fin, nsmul_eq_mul] at hsum | |
| 6002 | - have hp : (2 * Real.pi) ^ (-6 : ℤ) * (2 * Real.pi) ^ (6 : ℕ) = 1 := by | |
| 6003 | - rw [show (-6 : ℤ) = -(6 : ℤ) from rfl, zpow_neg] | |
| 6004 | - exact inv_mul_cancel₀ (by positivity) | |
| 6005 | - have harith (D C A B p r : ℝ) (hpr : r * p = 1) : | |
| 6006 | - (D + 1) ^ 2 * (C*A*B + r*(D*(64*(C*p*A*B)))) = | |
| 6007 | - ((D + 1) ^ 2 * (1 + 64*D) * C) * A * B := by | |
| 6008 | - linear_combination ((D + 1) ^ 2 * (64*D) * C * A * B) * hpr | |
| 6009 | - have hA := sobolevNorm_six_le_pure_derivatives d (product d f g) | |
| 6010 | - have hB := mul_le_mul_of_nonneg_left | |
| 6011 | - (add_le_add hzero (mul_le_mul_of_nonneg_left hsum | |
| 6012 | - (by positivity : 0 ≤ (2 * Real.pi) ^ (-6 : ℤ)))) | |
| 6013 | - (sq_nonneg ((d : ℝ) + 1)) | |
| 6014 | - exact hA.trans (hB.trans_eq (harith _ _ _ _ _ _ hp)) | |
| 6015 | - | |
| 6016 | -/-- The fixed four-dimensional `H⁶` algebra estimate used in the packet energy argument. -/ | |
| 6017 | -theorem four_dimensional_H6_algebra (f g : 𝓢(Domain 4, ℂ)) : | |
| 6018 | - sobolevNorm 4 6 (product 4 f g) ≤ | |
| 6019 | - (6425 * embeddingConstant 4 3 (by norm_num)) * | |
| 6020 | - sobolevNorm 4 6 f * sobolevNorm 4 6 g := by | |
| 6021 | - convert sobolevNorm_six_product 4 (by norm_num) f g using 1; norm_num | |
| 6022 | - | |
| 6023 | 4333 | end EulerSobolevProducts |
| 6024 | 4334 | |
| 6025 | 4335 | end |
| @@ -6038,143 +4348,13 @@ open MeasureTheory FourierTransform EulerSobolev EulerSobolevProducts | ||
| 6038 | 4348 | open scoped SchwartzMap ENNReal ContDiff LineDeriv |
| 6039 | 4349 | |
| 6040 | 4350 | |
| 6041 | -theorem directional_sup_le_H5 (d j : ℕ) (hd : (d : ℝ) < 2 * 3) (hj : j ≤ 2) | |
| 6042 | - (v : Domain d) (hv : ‖v‖ ≤ 1) (f : 𝓢(Domain d, ℂ)) (x : Domain d) : | |
| 6043 | - ‖directional d j v f x‖ ≤ | |
| 6044 | - embeddingConstant d 3 hd * (2 * Real.pi) ^ j * sobolevNorm d 5 f := by | |
| 6045 | - have hC : 0 ≤ embeddingConstant d 3 hd := norm_nonneg _ | |
| 6046 | - have hS : 0 ≤ sobolevNorm d (3+j) f := norm_nonneg _ | |
| 6047 | - have hb := sobolevNorm_iteratedLineDeriv_le d j 3 f (fun _ : Fin j => v) | |
| 6048 | - simp only [Finset.prod_const, Finset.card_univ, Fintype.card_fin] at hb | |
| 6049 | - have hvp : ‖v‖ ^ j ≤ 1 := pow_le_one₀ (norm_nonneg _) hv | |
| 6050 | - have hs : sobolevNorm d (3 + j) f ≤ sobolevNorm d 5 f := | |
| 6051 | - sobolevNorm_mono d (by exact_mod_cast (show 3 + j ≤ 5 by omega)) f | |
| 6052 | - calc | |
| 6053 | - _ ≤ embeddingConstant d 3 hd * sobolevNorm d 3 (directional d j v f) := | |
| 6054 | - norm_apply_le_sobolevNorm d 3 hd _ x | |
| 6055 | - _ ≤ embeddingConstant d 3 hd * | |
| 6056 | - ((2 * Real.pi) ^ j * ‖v‖ ^ j * sobolevNorm d (3 + j) f) := | |
| 6057 | - mul_le_mul_of_nonneg_left hb hC | |
| 6058 | - _ ≤ embeddingConstant d 3 hd * ((2 * Real.pi) ^ j * 1 * sobolevNorm d 5 f) := by | |
| 6059 | - gcongr | |
| 6060 | - _ = _ := by ring | |
| 6061 | - | |
| 6062 | -theorem directional_L2_le_H5 (d j : ℕ) (hj : j ≤ 5) (v : Domain d) (hv : ‖v‖ ≤ 1) | |
| 6063 | - (f : 𝓢(Domain d, ℂ)) : | |
| 6064 | - ‖(directional d j v f).toLp 2‖ ≤ (2 * Real.pi) ^ j * sobolevNorm d 5 f := by | |
| 6065 | - have hvp : ‖v‖ ^ j ≤ 1 := pow_le_one₀ (norm_nonneg _) hv | |
| 6066 | - have hS : 0 ≤ sobolevNorm d j f := norm_nonneg _ | |
| 6067 | - have hmono : sobolevNorm d j f ≤ sobolevNorm d 5 f := | |
| 6068 | - sobolevNorm_mono d (s := (j : ℝ)) (t := 5) (by exact_mod_cast hj) f | |
| 6069 | - calc | |
| 6070 | - _ ≤ (2 * Real.pi) ^ j * ‖v‖ ^ j * sobolevNorm d j f := directional_L2_le d j v f | |
| 6071 | - _ ≤ (2 * Real.pi) ^ j * 1 * sobolevNorm d 5 f := by gcongr | |
| 6072 | - _ = _ := by ring | |
| 6073 | - | |
| 6074 | 4351 | attribute [local irreducible] sobolevNorm embeddingConstant |
| 6075 | 4352 | |
| 6076 | -theorem product_directional_L2_H5_left (d j k : ℕ) (hd : (d : ℝ) < 2 * 3) | |
| 6077 | - (hj : j ≤ 2) (hk : k ≤ 5) (v : Domain d) (hv : ‖v‖ ≤ 1) | |
| 6078 | - (f g : 𝓢(Domain d, ℂ)) : | |
| 6079 | - ‖(product d (directional d j v f) (directional d k v g)).toLp 2‖ ≤ | |
| 6080 | - embeddingConstant d 3 hd * (2 * Real.pi) ^ (j+k) * | |
| 6081 | - sobolevNorm d 5 f * sobolevNorm d 5 g := by | |
| 6082 | - have hC : 0 ≤ embeddingConstant d 3 hd := by unfold embeddingConstant; exact norm_nonneg _ | |
| 6083 | - have hS : 0 ≤ sobolevNorm d 5 f := by unfold sobolevNorm; exact norm_nonneg _ | |
| 6084 | - have hA := product_L2_le_of_sup d (directional d j v f) (directional d k v g) | |
| 6085 | - (embeddingConstant d 3 hd * (2 * Real.pi) ^ j * sobolevNorm d 5 f) | |
| 6086 | - (directional_sup_le_H5 d j hd hj v hv f) | |
| 6087 | - have hB := mul_le_mul_of_nonneg_left (directional_L2_le_H5 d k hk v hv g) | |
| 6088 | - (mul_nonneg (mul_nonneg hC (by positivity : 0 ≤ (2 * Real.pi) ^ j)) hS) | |
| 6089 | - have harith (A B C p : ℝ) : (C * p ^ j * A) * (p ^ k * B) = | |
| 6090 | - C * p ^ (j+k) * A * B := by rw [pow_add]; ring | |
| 6091 | - exact hA.trans (hB.trans_eq (harith _ _ _ _)) | |
| 6092 | - | |
| 6093 | -theorem product_directional_L2_H5 (d j k : ℕ) (hd : (d : ℝ) < 2 * 3) (hjk : j+k ≤ 5) | |
| 6094 | - (v : Domain d) (hv : ‖v‖ ≤ 1) (f g : 𝓢(Domain d, ℂ)) : | |
| 6095 | - ‖(product d (directional d j v f) (directional d k v g)).toLp 2‖ ≤ | |
| 6096 | - embeddingConstant d 3 hd * (2 * Real.pi) ^ (j+k) * | |
| 6097 | - sobolevNorm d 5 f * sobolevNorm d 5 g := by | |
| 6098 | - by_cases hj : j ≤ 2 | |
| 6099 | - · exact product_directional_L2_H5_left d j k hd hj (by omega) v hv f g | |
| 6100 | - · have he : product d (directional d j v f) (directional d k v g) = | |
| 6101 | - product d (directional d k v g) (directional d j v f) := by | |
| 6102 | - ext x | |
| 6103 | - simp [mul_comm] | |
| 6104 | - rw [he] | |
| 6105 | - have h := product_directional_L2_H5_left d k j hd (by omega) (by omega) v hv g f | |
| 6106 | - rw [Nat.add_comm k j] at h | |
| 6107 | - convert h using 1; ring | |
| 6108 | - | |
| 6109 | 4353 | /-- The actual commutator of an iterated directional derivative with multiplication. -/ |
| 6110 | 4354 | noncomputable def commutator (d n : ℕ) (v : Domain d) (b h : 𝓢(Domain d, ℂ)) : |
| 6111 | 4355 | 𝓢(Domain d, ℂ) := |
| 6112 | 4356 | directional d n v (product d b h) - product d b (directional d n v h) |
| 6113 | 4357 | |
| 6114 | -theorem directional_succ_right (d n : ℕ) (v : Domain d) (f : 𝓢(Domain d, ℂ)) : | |
| 6115 | - directional d (n+1) v f = directional d n v (directional d 1 v f) := by | |
| 6116 | - simp [directional, LineDeriv.iteratedLineDerivOp_succ_right, Fin.init_def] | |
| 6117 | - | |
| 6118 | -theorem commutator_expansion (d n : ℕ) (v : Domain d) (b h : 𝓢(Domain d, ℂ)) : | |
| 6119 | - commutator d n v b h = ∑ j ∈ Finset.range n, (n.choose (j+1) : ℂ) • | |
| 6120 | - product d (directional d j v (directional d 1 v b)) (directional d (n-(j+1)) v h) := by | |
| 6121 | - unfold commutator | |
| 6122 | - rw [directional_product, Finset.sum_range_succ'] | |
| 6123 | - simp only [Nat.choose_zero_right, Nat.cast_one, directional, | |
| 6124 | - LineDeriv.iteratedLineDerivOp_fin_zero, Nat.sub_zero, one_smul, add_sub_cancel_right] | |
| 6125 | - apply Finset.sum_congr rfl | |
| 6126 | - intro j _ | |
| 6127 | - congr 2 | |
| 6128 | - exact directional_succ_right d j v b | |
| 6129 | - | |
| 6130 | -theorem sum_choose_successors_le (n : ℕ) : | |
| 6131 | - (∑ j ∈ Finset.range n, (n.choose (j+1) : ℝ)) ≤ 2 ^ n := by | |
| 6132 | - have h : (∑ j ∈ Finset.range (n+1), (n.choose j : ℝ)) = 2 ^ n := by | |
| 6133 | - exact_mod_cast Nat.sum_range_choose n | |
| 6134 | - rw [Finset.sum_range_succ'] at h | |
| 6135 | - simp only [Nat.choose_zero_right, Nat.cast_one] at h | |
| 6136 | - linarith | |
| 6137 | - | |
| 6138 | -/-- | |
| 6139 | -No derivative is lost in the fixed-order transport commutator: after removing | |
| 6140 | -the top term, one derivative falls on `b`, leaving a total of at most five. | |
| 6141 | --/ | |
| 6142 | -theorem transport_commutator_L2 (d n : ℕ) (hd : (d : ℝ) < 2 * 3) (hn : n ≤ 6) | |
| 6143 | - (v : Domain d) (hv : ‖v‖ ≤ 1) (b h : 𝓢(Domain d, ℂ)) : | |
| 6144 | - ‖(commutator d n v b h).toLp 2‖ ≤ | |
| 6145 | - 2 ^ n * (embeddingConstant d 3 hd * (2 * Real.pi) ^ (n-1) * | |
| 6146 | - sobolevNorm d 5 (directional d 1 v b) * sobolevNorm d 5 h) := by | |
| 6147 | - rw [commutator_expansion] | |
| 6148 | - change ‖SchwartzMap.toLpCLM ℂ ℂ 2 volume | |
| 6149 | - (∑ j ∈ Finset.range n, (n.choose (j+1) : ℂ) • | |
| 6150 | - product d (directional d j v (directional d 1 v b)) (directional d (n-(j+1)) v h))‖ ≤ _ | |
| 6151 | - rw [map_sum] | |
| 6152 | - calc | |
| 6153 | - _ ≤ ∑ j ∈ Finset.range n, | |
| 6154 | - ‖SchwartzMap.toLpCLM ℂ ℂ 2 volume ((n.choose (j+1) : ℂ) • | |
| 6155 | - product d (directional d j v (directional d 1 v b)) | |
| 6156 | - (directional d (n-(j+1)) v h))‖ := norm_sum_le _ _ | |
| 6157 | - _ = ∑ j ∈ Finset.range n, (n.choose (j+1) : ℝ) * | |
| 6158 | - ‖(product d (directional d j v (directional d 1 v b)) | |
| 6159 | - (directional d (n-(j+1)) v h)).toLp 2‖ := by | |
| 6160 | - simp only [map_smul, norm_smul, Complex.norm_natCast, SchwartzMap.toLpCLM_apply] | |
| 6161 | - _ ≤ ∑ j ∈ Finset.range n, (n.choose (j+1) : ℝ) * | |
| 6162 | - (embeddingConstant d 3 hd * (2 * Real.pi) ^ (n-1) * | |
| 6163 | - sobolevNorm d 5 (directional d 1 v b) * sobolevNorm d 5 h) := by | |
| 6164 | - apply Finset.sum_le_sum | |
| 6165 | - intro j hj | |
| 6166 | - have hjn : j < n := Finset.mem_range.1 hj | |
| 6167 | - have he : j + (n-(j+1)) = n-1 := by omega | |
| 6168 | - have hbound := product_directional_L2_H5 d j (n-(j+1)) hd (by omega) v hv | |
| 6169 | - (directional d 1 v b) h | |
| 6170 | - rw [he] at hbound | |
| 6171 | - exact mul_le_mul_of_nonneg_left hbound (Nat.cast_nonneg _) | |
| 6172 | - _ ≤ _ := by | |
| 6173 | - rw [← Finset.sum_mul] | |
| 6174 | - apply mul_le_mul_of_nonneg_right (sum_choose_successors_le n) | |
| 6175 | - unfold embeddingConstant sobolevNorm | |
| 6176 | - positivity | |
| 6177 | - | |
| 6178 | 4358 | end EulerSobolevTransport |
| 6179 | 4359 | |
| 6180 | 4360 | end |
| @@ -6409,14 +4589,6 @@ theorem euclideanCover_fundamental_measurePreserving (a : ℝ) : | ||
| 6409 | 4589 | (covering_fundamental_measurePreserving period a).comp |
| 6410 | 4590 | (coordinateEquiv_fundamental_measurePreserving period a) |
| 6411 | 4591 | |
| 6412 | -/-- The fundamental-strip Lᵖ seminorm is exactly the Lᵖ seminorm on the cylinder. -/ | |
| 6413 | -theorem eLpNorm_cover {F : Type*} [NormedAddCommGroup F] | |
| 6414 | - (f : LiftDomain period → F) (hf : AEStronglyMeasurable f (liftMeasure period)) | |
| 6415 | - (a : ℝ) (p : ℝ≥0∞) : | |
| 6416 | - eLpNorm (f ∘ euclideanCover period) p (stripMeasure period a) = | |
| 6417 | - eLpNorm f p (liftMeasure period) := | |
| 6418 | - eLpNorm_comp_measurePreserving hf (euclideanCover_fundamental_measurePreserving period a) | |
| 6419 | - | |
| 6420 | 4592 | /-- Square integrability of actual fields transfers to their Euclidean periodic lifts. -/ |
| 6421 | 4593 | theorem memLp_cover {F : Type*} [NormedAddCommGroup F] |
| 6422 | 4594 | (f : LiftDomain period → F) (hf : MemLp f 2 (liftMeasure period)) (a : ℝ) : |
| @@ -7582,281 +5754,9 @@ noncomputable def pureFieldDerivative (n : ℕ) (i : Fin 4) (f : LiftDomain peri | ||
| 7582 | 5754 | pureFieldDerivative period (n+1) i f = |
| 7583 | 5755 | fieldDerivative period (standardDirection i) (pureFieldDerivative period n i f) := rfl |
| 7584 | 5756 | |
| 7585 | -theorem pureFieldDerivative_succ_right (n : ℕ) (i : Fin 4) (f : LiftDomain period → ℂ) : | |
| 7586 | - pureFieldDerivative period (n+1) i f = | |
| 7587 | - pureFieldDerivative period n i (pureFieldDerivative period 1 i f) := by | |
| 7588 | - induction n with | |
| 7589 | - | zero => rfl | |
| 7590 | - | succ n ih => | |
| 7591 | - rw [pureFieldDerivative_succ, ih, pureFieldDerivative_succ] | |
| 7592 | - rfl | |
| 7593 | - | |
| 7594 | -theorem pureFieldDerivative_eq_iteratedDeriv (n : ℕ) (i : Fin 4) (f : LiftDomain period → ℂ) | |
| 7595 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (x : LiftDomain period) : | |
| 7596 | - pureFieldDerivative period n i f x = iteratedDeriv n | |
| 7597 | - (fun t : ℝ => euclideanLift period f x (t • EuclideanSpace.single i 1)) 0 := by | |
| 7598 | - have hA := euclideanLift_iteratedFieldDerivative period (fun _ : Fin n => i) f hf x 0 | |
| 7599 | - rw [euclideanLift_zero] at hA | |
| 7600 | - rw [pureFieldDerivative, hA, iteratedDeriv_eq_iteratedFDeriv] | |
| 7601 | - let L : ℝ →L[ℝ] Domain 4 := (ContinuousLinearMap.id ℝ ℝ).smulRight (EuclideanSpace.single i 1) | |
| 7602 | - have hB := L.iteratedFDeriv_comp_right (euclideanLift_smooth period f hf x) | |
| 7603 | - (0 : ℝ) (by simp : (n : ℕ∞ω) ≤ (∞ : ℕ∞ω)) | |
| 7604 | - change _ = iteratedFDeriv ℝ n (euclideanLift period f x ∘ L) 0 (fun _ => 1) | |
| 7605 | - rw [hB] | |
| 7606 | - simp [L, ContinuousMultilinearMap.compContinuousLinearMap_apply] | |
| 7607 | - | |
| 7608 | -theorem pureFieldDerivative_product (n : ℕ) (i : Fin 4) (f g : LiftDomain period → ℂ) | |
| 7609 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 7610 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : | |
| 7611 | - pureFieldDerivative period n i (f*g) = | |
| 7612 | - ∑ j ∈ Finset.range (n+1), (n.choose j : ℂ) • | |
| 7613 | - (pureFieldDerivative period j i f * pureFieldDerivative period (n-j) i g) := by | |
| 7614 | - funext x | |
| 7615 | - rw [pureFieldDerivative_eq_iteratedDeriv period n i (f*g) (product_smooth period f g hf hg)] | |
| 7616 | - have hline : ContDiff ℝ ∞ (fun t : ℝ => t • (EuclideanSpace.single i 1 : Domain 4)) := | |
| 7617 | - contDiff_id.smul contDiff_const | |
| 7618 | - have hF := ((euclideanLift_smooth period f hf x).comp hline).of_le | |
| 7619 | - (by simp : (n : ℕ∞ω) ≤ (∞ : ℕ∞ω)) | |
| 7620 | - have hG := ((euclideanLift_smooth period g hg x).comp hline).of_le | |
| 7621 | - (by simp : (n : ℕ∞ω) ≤ (∞ : ℕ∞ω)) | |
| 7622 | - have h := iteratedDeriv_mul (x := (0 : ℝ)) hF.contDiffAt hG.contDiffAt | |
| 7623 | - have he : (fun t : ℝ => euclideanLift period (f*g) x (t • EuclideanSpace.single i 1)) = | |
| 7624 | - (euclideanLift period f x ∘ (fun t : ℝ => t • EuclideanSpace.single i 1)) * | |
| 7625 | - (euclideanLift period g x ∘ (fun t : ℝ => t • EuclideanSpace.single i 1)) := rfl | |
| 7626 | - rw [he] | |
| 7627 | - simpa only [Function.comp_def, Finset.sum_apply, Pi.smul_apply, smul_eq_mul, Pi.mul_apply, | |
| 7628 | - pureFieldDerivative_eq_iteratedDeriv period _ i f hf, | |
| 7629 | - pureFieldDerivative_eq_iteratedDeriv period _ i g hg, mul_assoc] using h | |
| 7630 | - | |
| 7631 | - | |
| 7632 | -/-- The actual commutator of pure coordinate differentiation with multiplication. -/ | |
| 7633 | -noncomputable def coordinateCommutator (n : ℕ) (i : Fin 4) (b h : LiftDomain period → ℂ) := | |
| 7634 | - pureFieldDerivative period n i (b*h) - b * pureFieldDerivative period n i h | |
| 7635 | - | |
| 7636 | -theorem coordinateCommutator_expansion (n : ℕ) (i : Fin 4) (b h : LiftDomain period → ℂ) | |
| 7637 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 7638 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) : | |
| 7639 | - coordinateCommutator period n i b h = ∑ j ∈ Finset.range n, (n.choose (j+1) : ℂ) • | |
| 7640 | - (pureFieldDerivative period j i (pureFieldDerivative period 1 i b) * | |
| 7641 | - pureFieldDerivative period (n-(j+1)) i h) := by | |
| 7642 | - unfold coordinateCommutator | |
| 7643 | - rw [pureFieldDerivative_product period n i b h hb hh, Finset.sum_range_succ'] | |
| 7644 | - simp only [Nat.choose_zero_right, Nat.cast_one, pureFieldDerivative_zero, Nat.sub_zero, | |
| 7645 | - one_smul, add_sub_cancel_right] | |
| 7646 | - apply Finset.sum_congr rfl | |
| 7647 | - intro j _ | |
| 7648 | - rw [pureFieldDerivative_succ_right] | |
| 7649 | 5757 | |
| 7650 | 5758 | variable [Fact (0 < period)] |
| 7651 | 5759 | |
| 7652 | -theorem word_H3_le_H5 {m : ℕ} (hm : m ≤ 2) (w : Fin m → Fin 4) | |
| 7653 | - (f : LiftDomain period → ℂ) : | |
| 7654 | - liftSobolevNorm period 3 (iteratedFieldDerivative period w f) ≤ | |
| 7655 | - 85 * liftSobolevNorm period 5 f := by | |
| 7656 | - have hA : liftSobolevNorm period 3 (iteratedFieldDerivative period w f) ≤ | |
| 7657 | - ∑ n ∈ Finset.range 4, ∑ _v : Fin n → Fin 4, liftSobolevNorm period 5 f := by | |
| 7658 | - apply Finset.sum_le_sum | |
| 7659 | - intro n hn | |
| 7660 | - apply Finset.sum_le_sum | |
| 7661 | - intro v _ | |
| 7662 | - obtain ⟨u, hu⟩ := iteratedFieldDerivative_comp_exists period v w f | |
| 7663 | - rw [hu] | |
| 7664 | - exact word_L2_le_liftSobolevNorm period (by have := Finset.mem_range.1 hn; omega) u f | |
| 7665 | - have he (A : ℝ) : (∑ n ∈ Finset.range 4, ∑ _v : Fin n → Fin 4, A) = 85*A := by | |
| 7666 | - simp only [Finset.sum_const, Finset.card_univ, Fintype.card_fun, Fintype.card_fin, nsmul_eq_mul] | |
| 7667 | - norm_num [Finset.sum_range_succ] | |
| 7668 | - ring | |
| 7669 | - exact hA.trans_eq (he _) | |
| 7670 | - | |
| 7671 | -theorem pureFieldDerivative_le_H5 {m : ℕ} (hm : m ≤ 2) (i : Fin 4) | |
| 7672 | - (f : LiftDomain period → ℂ) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 7673 | - (hfL2 : ∀ j ≤ 5, ∀ w : Fin j → Fin 4, | |
| 7674 | - MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period)) (x : LiftDomain period) : | |
| 7675 | - ‖pureFieldDerivative period m i f x‖ ≤ | |
| 7676 | - (85 * cylinderEmbeddingConstant period) * liftSobolevNorm period 5 f := by | |
| 7677 | - have hA := cylinder_pointwise_le_H3 period (pureFieldDerivative period m i f) | |
| 7678 | - (iteratedFieldDerivative_smooth period _ f hf) | |
| 7679 | - (fun j hj v => word_memLp period (by omega : m+j ≤ 5) v (fun _ => i) f hfL2) x | |
| 7680 | - have hB := mul_le_mul_of_nonneg_left (word_H3_le_H5 period hm (fun _ => i) f) | |
| 7681 | - (cylinderEmbeddingConstant_nonneg period) | |
| 7682 | - have he (C A : ℝ) : C*(85*A) = (85*C)*A := by ring | |
| 7683 | - exact hA.trans (hB.trans_eq (he _ _)) | |
| 7684 | - | |
| 7685 | -/-- An L² envelope depending only on five derivatives of each argument. -/ | |
| 7686 | -noncomputable def commutatorEnvelope (f g : LiftDomain period → ℂ) : LiftDomain period → ℝ := | |
| 7687 | - liftSobolevNorm period 5 f • totalMagnitude period 5 g + | |
| 7688 | - liftSobolevNorm period 5 g • totalMagnitude period 5 f | |
| 7689 | - | |
| 7690 | -theorem commutatorEnvelope_nonneg (f g : LiftDomain period → ℂ) (x : LiftDomain period) : | |
| 7691 | - 0 ≤ commutatorEnvelope period f g x := | |
| 7692 | - add_nonneg (mul_nonneg (liftSobolevNorm_nonneg period 5 f) (totalMagnitude_nonneg period 5 g x)) | |
| 7693 | - (mul_nonneg (liftSobolevNorm_nonneg period 5 g) (totalMagnitude_nonneg period 5 f x)) | |
| 7694 | - | |
| 7695 | -omit [Fact (0 < period)] in | |
| 7696 | -theorem pureFieldDerivative_le_total {n : ℕ} (hn : n ≤ 5) (i : Fin 4) | |
| 7697 | - (f : LiftDomain period → ℂ) (x : LiftDomain period) : | |
| 7698 | - ‖pureFieldDerivative period n i f x‖ ≤ totalMagnitude period 5 f x := by | |
| 7699 | - have hA : ‖pureFieldDerivative period n i f x‖ ≤ wordMagnitude period n f x := | |
| 7700 | - Finset.single_le_sum (f := fun w : Fin n → Fin 4 => ‖iteratedFieldDerivative period w f x‖) | |
| 7701 | - (fun _ _ => norm_nonneg _) (Finset.mem_univ (fun _ => i)) | |
| 7702 | - exact hA.trans (wordMagnitude_le_total period 5 n hn f x) | |
| 7703 | - | |
| 7704 | -theorem pure_product_le_envelope {j k : ℕ} (hjk : j+k ≤ 5) (i : Fin 4) | |
| 7705 | - (f g : LiftDomain period → ℂ) | |
| 7706 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 7707 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) | |
| 7708 | - (hfL2 : ∀ n ≤ 5, ∀ w : Fin n → Fin 4, MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period)) | |
| 7709 | - (hgL2 : ∀ n ≤ 5, ∀ w : Fin n → Fin 4, MemLp (iteratedFieldDerivative period w g) 2 (liftMeasure period)) | |
| 7710 | - (x : LiftDomain period) : | |
| 7711 | - ‖pureFieldDerivative period j i f x * pureFieldDerivative period k i g x‖ ≤ | |
| 7712 | - (85 * cylinderEmbeddingConstant period) * commutatorEnvelope period f g x := by | |
| 7713 | - rw [norm_mul] | |
| 7714 | - have hc : 0 ≤ 85 * cylinderEmbeddingConstant period := | |
| 7715 | - mul_nonneg (by norm_num) (cylinderEmbeddingConstant_nonneg period) | |
| 7716 | - by_cases hj : j ≤ 2 | |
| 7717 | - · have hA := mul_le_mul (pureFieldDerivative_le_H5 period hj i f hf hfL2 x) | |
| 7718 | - (pureFieldDerivative_le_total period (by omega : k ≤ 5) i g x) (norm_nonneg _) | |
| 7719 | - (mul_nonneg hc (liftSobolevNorm_nonneg period 5 f)) | |
| 7720 | - have hB : liftSobolevNorm period 5 f * totalMagnitude period 5 g x ≤ commutatorEnvelope period f g x := | |
| 7721 | - le_add_of_nonneg_right (mul_nonneg (liftSobolevNorm_nonneg period 5 g) (totalMagnitude_nonneg period 5 f x)) | |
| 7722 | - rw [mul_assoc] at hA | |
| 7723 | - exact hA.trans (mul_le_mul_of_nonneg_left hB hc) | |
| 7724 | - · have hA := mul_le_mul (pureFieldDerivative_le_total period (by omega : j ≤ 5) i f x) | |
| 7725 | - (pureFieldDerivative_le_H5 period (by omega : k ≤ 2) i g hg hgL2 x) (norm_nonneg _) | |
| 7726 | - (totalMagnitude_nonneg period 5 f x) | |
| 7727 | - have hB : liftSobolevNorm period 5 g * totalMagnitude period 5 f x ≤ commutatorEnvelope period f g x := | |
| 7728 | - le_add_of_nonneg_left (mul_nonneg (liftSobolevNorm_nonneg period 5 f) (totalMagnitude_nonneg period 5 g x)) | |
| 7729 | - have he (A B C : ℝ) : A*(B*C)=B*(C*A) := by ring | |
| 7730 | - exact hA.trans ((he _ _ _).trans_le (mul_le_mul_of_nonneg_left hB hc)) | |
| 7731 | - | |
| 7732 | -theorem coordinateCommutator_pointwise_le {n : ℕ} (hn : n ≤ 6) (i : Fin 4) | |
| 7733 | - (b h : LiftDomain period → ℂ) | |
| 7734 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 7735 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) | |
| 7736 | - (hbL2 : ∀ k ≤ 5, ∀ w : Fin k → Fin 4, | |
| 7737 | - MemLp (iteratedFieldDerivative period w (pureFieldDerivative period 1 i b)) 2 (liftMeasure period)) | |
| 7738 | - (hhL2 : ∀ k ≤ 5, ∀ w : Fin k → Fin 4, | |
| 7739 | - MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) (x : LiftDomain period) : | |
| 7740 | - ‖coordinateCommutator period n i b h x‖ ≤ | |
| 7741 | - (64 * (85 * cylinderEmbeddingConstant period)) * | |
| 7742 | - commutatorEnvelope period (pureFieldDerivative period 1 i b) h x := by | |
| 7743 | - rw [coordinateCommutator_expansion period n i b h hb hh] | |
| 7744 | - have hA := norm_sum_le (Finset.range n) (fun j => (n.choose (j+1) : ℂ) • | |
| 7745 | - (pureFieldDerivative period j i (pureFieldDerivative period 1 i b) x * | |
| 7746 | - pureFieldDerivative period (n-(j+1)) i h x)) | |
| 7747 | - simp only [norm_smul, Complex.norm_natCast] at hA | |
| 7748 | - have hB : (∑ j ∈ Finset.range n, (n.choose (j+1) : ℝ) * | |
| 7749 | - ‖pureFieldDerivative period j i (pureFieldDerivative period 1 i b) x * | |
| 7750 | - pureFieldDerivative period (n-(j+1)) i h x‖) ≤ | |
| 7751 | - (∑ j ∈ Finset.range n, (n.choose (j+1) : ℝ)) * | |
| 7752 | - ((85 * cylinderEmbeddingConstant period) * | |
| 7753 | - commutatorEnvelope period (pureFieldDerivative period 1 i b) h x) := by | |
| 7754 | - rw [Finset.sum_mul] | |
| 7755 | - apply Finset.sum_le_sum | |
| 7756 | - intro j hj | |
| 7757 | - exact mul_le_mul_of_nonneg_left (pure_product_le_envelope period | |
| 7758 | - (by have := Finset.mem_range.1 hj; omega : j+(n-(j+1)) ≤ 5) i | |
| 7759 | - (pureFieldDerivative period 1 i b) h (iteratedFieldDerivative_smooth period _ b hb) | |
| 7760 | - hh hbL2 hhL2 x) (Nat.cast_nonneg _) | |
| 7761 | - have hchoose := EulerSobolevTransport.sum_choose_successors_le n | |
| 7762 | - have hp : (2 : ℝ)^n ≤ 64 := by | |
| 7763 | - have h := pow_le_pow_right₀ (by norm_num : (1 : ℝ) ≤ 2) hn | |
| 7764 | - norm_num at h ⊢ | |
| 7765 | - exact h | |
| 7766 | - have hc : 0 ≤ (85 * cylinderEmbeddingConstant period) * | |
| 7767 | - commutatorEnvelope period (pureFieldDerivative period 1 i b) h x := | |
| 7768 | - mul_nonneg (mul_nonneg (by norm_num) (cylinderEmbeddingConstant_nonneg period)) | |
| 7769 | - (commutatorEnvelope_nonneg period _ _ x) | |
| 7770 | - have hC := mul_le_mul_of_nonneg_right (hchoose.trans hp) hc | |
| 7771 | - simpa only [Finset.sum_apply, Pi.smul_apply, Pi.mul_apply] using | |
| 7772 | - hA.trans (hB.trans (hC.trans_eq (mul_assoc _ _ _).symm)) | |
| 7773 | - | |
| 7774 | -theorem commutatorEnvelope_memLp (f g : LiftDomain period → ℂ) | |
| 7775 | - (hfL2 : ∀ k ≤ 5, ∀ v : Fin k → Fin 4, | |
| 7776 | - MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) | |
| 7777 | - (hgL2 : ∀ k ≤ 5, ∀ v : Fin k → Fin 4, | |
| 7778 | - MemLp (iteratedFieldDerivative period v g) 2 (liftMeasure period)) : | |
| 7779 | - MemLp (commutatorEnvelope period f g) 2 (liftMeasure period) := | |
| 7780 | - ((totalMagnitude_memLp period 5 g hgL2).const_smul (liftSobolevNorm period 5 f)).add | |
| 7781 | - ((totalMagnitude_memLp period 5 f hfL2).const_smul (liftSobolevNorm period 5 g)) | |
| 7782 | - | |
| 7783 | -theorem commutatorEnvelope_L2_le (f g : LiftDomain period → ℂ) | |
| 7784 | - (hfL2 : ∀ k ≤ 5, ∀ v : Fin k → Fin 4, | |
| 7785 | - MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) | |
| 7786 | - (hgL2 : ∀ k ≤ 5, ∀ v : Fin k → Fin 4, | |
| 7787 | - MemLp (iteratedFieldDerivative period v g) 2 (liftMeasure period)) : | |
| 7788 | - ‖(commutatorEnvelope_memLp period f g hfL2 hgL2).toLp (commutatorEnvelope period f g)‖ ≤ | |
| 7789 | - 2 * liftSobolevNorm period 5 f * liftSobolevNorm period 5 g := by | |
| 7790 | - change ‖liftSobolevNorm period 5 f • (totalMagnitude_memLp period 5 g hgL2).toLp _ + | |
| 7791 | - liftSobolevNorm period 5 g • (totalMagnitude_memLp period 5 f hfL2).toLp _‖ ≤ _ | |
| 7792 | - have hA := norm_add_le | |
| 7793 | - (liftSobolevNorm period 5 f • (totalMagnitude_memLp period 5 g hgL2).toLp (totalMagnitude period 5 g)) | |
| 7794 | - (liftSobolevNorm period 5 g • (totalMagnitude_memLp period 5 f hfL2).toLp (totalMagnitude period 5 f)) | |
| 7795 | - simp only [norm_smul, Real.norm_of_nonneg (liftSobolevNorm_nonneg period 5 f), | |
| 7796 | - Real.norm_of_nonneg (liftSobolevNorm_nonneg period 5 g)] at hA | |
| 7797 | - have hB := add_le_add | |
| 7798 | - (mul_le_mul_of_nonneg_left (totalMagnitude_L2_le period 5 g hgL2) (liftSobolevNorm_nonneg period 5 f)) | |
| 7799 | - (mul_le_mul_of_nonneg_left (totalMagnitude_L2_le period 5 f hfL2) (liftSobolevNorm_nonneg period 5 g)) | |
| 7800 | - have he (A B : ℝ) : A*B+B*A = 2*A*B := by ring | |
| 7801 | - exact hA.trans (hB.trans_eq (he _ _)) | |
| 7802 | - | |
| 7803 | -omit [Fact (0 < period)] in | |
| 7804 | -theorem coordinateCommutator_smooth (n : ℕ) (i : Fin 4) (b h : LiftDomain period → ℂ) | |
| 7805 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 7806 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) : | |
| 7807 | - ∀ x, ContDiff ℝ ∞ (localFieldLift period (coordinateCommutator period n i b h) x) := by | |
| 7808 | - intro x | |
| 7809 | - exact (iteratedFieldDerivative_smooth period _ (b*h) (product_smooth period b h hb hh) x).sub | |
| 7810 | - ((hb x).mul (iteratedFieldDerivative_smooth period _ h hh x)) | |
| 7811 | - | |
| 7812 | -/-- The commutator is in L²; neither factor needs compact support or decay assumptions beyond H⁵. -/ | |
| 7813 | -theorem coordinateCommutator_memLp {n : ℕ} (hn : n ≤ 6) (i : Fin 4) | |
| 7814 | - (b h : LiftDomain period → ℂ) | |
| 7815 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 7816 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) | |
| 7817 | - (hbL2 : ∀ k ≤ 5, ∀ w : Fin k → Fin 4, | |
| 7818 | - MemLp (iteratedFieldDerivative period w (pureFieldDerivative period 1 i b)) 2 (liftMeasure period)) | |
| 7819 | - (hhL2 : ∀ k ≤ 5, ∀ w : Fin k → Fin 4, | |
| 7820 | - MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) : | |
| 7821 | - MemLp (coordinateCommutator period n i b h) 2 (liftMeasure period) := by | |
| 7822 | - apply (commutatorEnvelope_memLp period (pureFieldDerivative period 1 i b) h hbL2 hhL2).of_le_mul | |
| 7823 | - ((smoothField_continuous period _ (coordinateCommutator_smooth period n i b h hb hh)).aestronglyMeasurable) | |
| 7824 | - filter_upwards [] with x | |
| 7825 | - rw [Real.norm_of_nonneg (commutatorEnvelope_nonneg period _ _ x)] | |
| 7826 | - exact coordinateCommutator_pointwise_le period hn i b h hb hh hbL2 hhL2 x | |
| 7827 | - | |
| 7828 | -/-- No derivative is lost: `[D_i^n,b]h` is controlled by H⁵ of `D_i b` and H⁵ of `h`. -/ | |
| 7829 | -theorem cylinder_transport_commutator_L2 {n : ℕ} (hn : n ≤ 6) (i : Fin 4) | |
| 7830 | - (b h : LiftDomain period → ℂ) | |
| 7831 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 7832 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) | |
| 7833 | - (hbL2 : ∀ k ≤ 5, ∀ w : Fin k → Fin 4, | |
| 7834 | - MemLp (iteratedFieldDerivative period w (pureFieldDerivative period 1 i b)) 2 (liftMeasure period)) | |
| 7835 | - (hhL2 : ∀ k ≤ 5, ∀ w : Fin k → Fin 4, | |
| 7836 | - MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) : | |
| 7837 | - (eLpNorm (coordinateCommutator period n i b h) 2 (liftMeasure period)).toReal ≤ | |
| 7838 | - (128 * 85 * cylinderEmbeddingConstant period) * | |
| 7839 | - liftSobolevNorm period 5 (pureFieldDerivative period 1 i b) * liftSobolevNorm period 5 h := by | |
| 7840 | - have hq := commutatorEnvelope_memLp period (pureFieldDerivative period 1 i b) h hbL2 hhL2 | |
| 7841 | - have hA := eLpNorm_le_mul_eLpNorm_of_ae_le_mul (μ := liftMeasure period) | |
| 7842 | - (Filter.Eventually.of_forall (fun x => show ‖coordinateCommutator period n i b h x‖ ≤ | |
| 7843 | - (64 * (85 * cylinderEmbeddingConstant period)) * | |
| 7844 | - ‖commutatorEnvelope period (pureFieldDerivative period 1 i b) h x‖ by | |
| 7845 | - rw [Real.norm_of_nonneg (commutatorEnvelope_nonneg period _ _ x)] | |
| 7846 | - exact coordinateCommutator_pointwise_le period hn i b h hb hh hbL2 hhL2 x)) (2 : ℝ≥0∞) | |
| 7847 | - have hc : 0 ≤ 64 * (85 * cylinderEmbeddingConstant period) := | |
| 7848 | - mul_nonneg (by norm_num) (mul_nonneg (by norm_num) (cylinderEmbeddingConstant_nonneg period)) | |
| 7849 | - have hfin : ENNReal.ofReal (64 * (85 * cylinderEmbeddingConstant period)) * | |
| 7850 | - eLpNorm (commutatorEnvelope period (pureFieldDerivative period 1 i b) h) 2 (liftMeasure period) ≠ ⊤ := by | |
| 7851 | - finiteness | |
| 7852 | - have hB := ENNReal.toReal_mono hfin hA | |
| 7853 | - simp only [ENNReal.toReal_mul, ENNReal.toReal_ofReal hc] at hB | |
| 7854 | - have hC := mul_le_mul_of_nonneg_left | |
| 7855 | - (commutatorEnvelope_L2_le period (pureFieldDerivative period 1 i b) h hbL2 hhL2) hc | |
| 7856 | - rw [Lp.norm_toLp] at hC | |
| 7857 | - have he (C A B : ℝ) : (64*(85*C))*(2*A*B) = (128*85*C)*A*B := by ring | |
| 7858 | - exact hB.trans (hC.trans_eq (he _ _ _)) | |
| 7859 | - | |
| 7860 | 5760 | end EulerCylinderTransport |
| 7861 | 5761 | |
| 7862 | 5762 | end |
| @@ -7873,97 +5773,6 @@ open scoped ContDiff ENNReal | ||
| 7873 | 5773 | |
| 7874 | 5774 | variable (period : ℝ) [Fact (0 < period)] |
| 7875 | 5775 | |
| 7876 | -omit [Fact (0 < period)] in | |
| 7877 | -theorem iteratedFieldDerivative_compact {n : ℕ} (w : Fin n → Fin 4) | |
| 7878 | - (f : LiftDomain period → Vector3) (hfc : HasCompactSupport f) : | |
| 7879 | - HasCompactSupport (iteratedFieldDerivative period w f) := by | |
| 7880 | - induction n with | |
| 7881 | - | zero => exact hfc | |
| 7882 | - | succ n ih => exact fieldDerivative_compact period _ _ (ih (Fin.tail w)) | |
| 7883 | - | |
| 7884 | -omit [Fact (0 < period)] in | |
| 7885 | -/-- Splitting off the last direction agrees with the jet's derivative-word convention. -/ | |
| 7886 | -theorem iteratedFieldDerivative_init_last {n : ℕ} (w : Fin (n+1) → Fin 4) | |
| 7887 | - (f : LiftDomain period → Vector3) : | |
| 7888 | - iteratedFieldDerivative period w f = iteratedFieldDerivative period (Fin.init w) | |
| 7889 | - (fieldDerivative period (standardDirection (w (Fin.last n))) f) := by | |
| 7890 | - induction n with | |
| 7891 | - | zero => rfl | |
| 7892 | - | succ n ih => | |
| 7893 | - change fieldDerivative period (standardDirection (w 0)) | |
| 7894 | - (iteratedFieldDerivative period (Fin.tail w) f) = | |
| 7895 | - fieldDerivative period (standardDirection (w 0)) | |
| 7896 | - (iteratedFieldDerivative period (Fin.tail (Fin.init w)) | |
| 7897 | - (fieldDerivative period (standardDirection (w (Fin.last (n+1)))) f)) | |
| 7898 | - rw [ih (Fin.tail w)] | |
| 7899 | - rfl | |
| 7900 | - | |
| 7901 | -theorem translation_hasDerivAt_smoothFieldLp (a : LiftTangent) | |
| 7902 | - (f : LiftDomain period → Vector3) (hfc : HasCompactSupport f) | |
| 7903 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : | |
| 7904 | - HasDerivAt (fun t => translation period (translationPath period a t) | |
| 7905 | - (smoothFieldLp period f hfc hf)) | |
| 7906 | - (smoothFieldLp period (fieldDerivative period a f) | |
| 7907 | - (fieldDerivative_compact period a f hfc) (fieldDerivative_smooth period a f hf)) 0 := | |
| 7908 | - smoothFieldLp_translation_hasDerivAt period a f hfc hf | |
| 7909 | - | |
| 7910 | -/-- The actual strong L² translation jet of a smooth compact field. -/ | |
| 7911 | -noncomputable def compactSmoothJet (n : ℕ) (f : LiftDomain period → Vector3) | |
| 7912 | - (hfc : HasCompactSupport f) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : | |
| 7913 | - SpatialJet period standardDirection n (smoothFieldLp period f hfc hf) := | |
| 7914 | - match n with | |
| 7915 | - | 0 => .zero _ | |
| 7916 | - | n+1 => .succ (fun i => smoothFieldLp period (fieldDerivative period (standardDirection i) f) | |
| 7917 | - (fieldDerivative_compact period _ f hfc) (fieldDerivative_smooth period _ f hf)) | |
| 7918 | - (fun i => compactSmoothJet n (fieldDerivative period (standardDirection i) f) | |
| 7919 | - (fieldDerivative_compact period _ f hfc) (fieldDerivative_smooth period _ f hf)) | |
| 7920 | - (fun i => translation_hasDerivAt_smoothFieldLp period (standardDirection i) f hfc hf) | |
| 7921 | - | |
| 7922 | -theorem smoothFieldLp_congr (f g : LiftDomain period → Vector3) (he : f = g) | |
| 7923 | - (hfc : HasCompactSupport f) (hgc : HasCompactSupport g) | |
| 7924 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 7925 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : | |
| 7926 | - smoothFieldLp period f hfc hf = smoothFieldLp period g hgc hg := by | |
| 7927 | - subst g | |
| 7928 | - rfl | |
| 7929 | - | |
| 7930 | -/-- Every word in the strong jet is represented by the corresponding actual smooth derivative. -/ | |
| 7931 | -theorem compactSmoothJet_word {s n : ℕ} (hn : n ≤ s) (w : Fin n → Fin 4) | |
| 7932 | - (f : LiftDomain period → Vector3) (hfc : HasCompactSupport f) | |
| 7933 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : | |
| 7934 | - (compactSmoothJet period s f hfc hf).word w = | |
| 7935 | - smoothFieldLp period (iteratedFieldDerivative period w f) | |
| 7936 | - (iteratedFieldDerivative_compact period w f hfc) (iteratedFieldDerivative_smooth period w f hf) := by | |
| 7937 | - induction n generalizing s f with | |
| 7938 | - | zero => simp only [SpatialJet.word_zero, iteratedFieldDerivative_zero] | |
| 7939 | - | succ n ih => | |
| 7940 | - cases s with | |
| 7941 | - | zero => omega | |
| 7942 | - | succ s => | |
| 7943 | - rw [compactSmoothJet, SpatialJet.word_succ] | |
| 7944 | - rw [ih (by omega : n ≤ s)] | |
| 7945 | - exact smoothFieldLp_congr period _ _ (iteratedFieldDerivative_init_last period w f).symm _ _ _ _ | |
| 7946 | - | |
| 7947 | -/-- The L² norm of each jet word is exactly the norm of the actual classical derivative. -/ | |
| 7948 | -theorem compactSmoothJet_word_norm {s n : ℕ} (hn : n ≤ s) (w : Fin n → Fin 4) | |
| 7949 | - (f : LiftDomain period → Vector3) (hfc : HasCompactSupport f) | |
| 7950 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : | |
| 7951 | - ‖(compactSmoothJet period s f hfc hf).word w‖ = | |
| 7952 | - (eLpNorm (iteratedFieldDerivative period w f) 2 (liftMeasure period)).toReal := by | |
| 7953 | - rw [compactSmoothJet_word period hn w f hfc hf] | |
| 7954 | - rw [smoothFieldLp, Lp.norm_toLp] | |
| 7955 | - | |
| 7956 | -/-- The strong Sobolev jet norm is exactly the actual derivative-word Sobolev norm. -/ | |
| 7957 | -theorem compactSmoothJet_sobolevNorm (s : ℕ) (f : LiftDomain period → Vector3) | |
| 7958 | - (hfc : HasCompactSupport f) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : | |
| 7959 | - (compactSmoothJet period s f hfc hf).sobolevNorm = liftSobolevNorm period s f := by | |
| 7960 | - rw [SpatialJet.sobolevNorm_eq_sum_words] | |
| 7961 | - apply Finset.sum_congr rfl | |
| 7962 | - intro n hn | |
| 7963 | - apply Finset.sum_congr rfl | |
| 7964 | - intro w _ | |
| 7965 | - exact compactSmoothJet_word_norm period (by have := Finset.mem_range.1 hn; omega) w f hfc hf | |
| 7966 | - | |
| 7967 | 5776 | end EulerCompactSmoothJet |
| 7968 | 5777 | |
| 7969 | 5778 | end |
| @@ -8091,10 +5900,6 @@ theorem pointwise_le_L2_second_derivatives (f : 𝓢(Domain 3, F)) (x : Domain 3 | ||
| 8091 | 5900 | noncomputable def tensorSobolevNorm (s : ℕ) (f : Domain 3 → F) : ℝ := |
| 8092 | 5901 | Finset.sum (Finset.range (s+1)) (fun j => (eLpNorm (iteratedFDeriv ℝ j f) 2 volume).toReal) |
| 8093 | 5902 | |
| 8094 | -omit [CompleteSpace F] in | |
| 8095 | -theorem tensorSobolevNorm_nonneg (s : ℕ) (f : Domain 3 → F) : 0 ≤ tensorSobolevNorm s f := | |
| 8096 | - Finset.sum_nonneg (fun _ _ => ENNReal.toReal_nonneg) | |
| 8097 | - | |
| 8098 | 5903 | omit [CompleteSpace F] in |
| 8099 | 5904 | theorem tensorSobolevNorm_mono {s t : ℕ} (hst : s ≤ t) (f : Domain 3 → F) : |
| 8100 | 5905 | tensorSobolevNorm s f ≤ tensorSobolevNorm t f := |
| @@ -8515,476 +6320,12 @@ noncomputable def listDerivative : List (Fin 4) → (LiftDomain period → ℂ) | ||
| 8515 | 6320 | | [], f => f |
| 8516 | 6321 | | i::l, f => fieldDerivative period (standardDirection i) (listDerivative l f) |
| 8517 | 6322 | |
| 8518 | -/-- The same list as a finite derivative word. -/ | |
| 8519 | -def listWord : (l : List (Fin 4)) → Fin l.length → Fin 4 | |
| 8520 | - | [], i => Fin.elim0 i | |
| 8521 | - | i::l, j => Fin.cases i (listWord l) j | |
| 8522 | - | |
| 8523 | 6323 | @[simp] theorem listDerivative_nil (f : LiftDomain period → ℂ) : listDerivative period [] f = f := rfl |
| 8524 | 6324 | @[simp] theorem listDerivative_cons (i : Fin 4) (l : List (Fin 4)) (f : LiftDomain period → ℂ) : |
| 8525 | 6325 | listDerivative period (i::l) f = fieldDerivative period (standardDirection i) (listDerivative period l f) := rfl |
| 8526 | 6326 | |
| 8527 | -theorem listDerivative_eq_word (l : List (Fin 4)) (f : LiftDomain period → ℂ) : | |
| 8528 | - listDerivative period l f = iteratedFieldDerivative period (listWord l) f := by | |
| 8529 | - induction l with | |
| 8530 | - | nil => rfl | |
| 8531 | - | cons i l ih => | |
| 8532 | - rw [listDerivative_cons, ih] | |
| 8533 | - rfl | |
| 8534 | - | |
| 8535 | -theorem listDerivative_smooth (l : List (Fin 4)) (f : LiftDomain period → ℂ) | |
| 8536 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : | |
| 8537 | - ∀ x, ContDiff ℝ ∞ (localFieldLift period (listDerivative period l f) x) := by | |
| 8538 | - rw [listDerivative_eq_word] | |
| 8539 | - exact iteratedFieldDerivative_smooth period _ f hf | |
| 8540 | - | |
| 8541 | -theorem listDerivative_append (l m : List (Fin 4)) (f : LiftDomain period → ℂ) : | |
| 8542 | - listDerivative period (l++m) f = listDerivative period l (listDerivative period m f) := by | |
| 8543 | - induction l with | |
| 8544 | - | nil => rfl | |
| 8545 | - | cons i l ih => simp only [List.cons_append, listDerivative_cons, ih] | |
| 8546 | - | |
| 8547 | -theorem fieldDerivative_add (a : LiftTangent) (f g : LiftDomain period → ℂ) | |
| 8548 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 8549 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : | |
| 8550 | - fieldDerivative period a (f+g) = fieldDerivative period a f + fieldDerivative period a g := by | |
| 8551 | - funext x | |
| 8552 | - have h := (((hf x).differentiable (by simp)) 0).hasFDerivAt.add | |
| 8553 | - (((hg x).differentiable (by simp)) 0).hasFDerivAt | |
| 8554 | - exact congrArg (fun A : LiftTangent →L[ℝ] ℂ => A a) h.fderiv | |
| 8555 | - | |
| 8556 | -theorem fieldDerivative_sub (a : LiftTangent) (f g : LiftDomain period → ℂ) | |
| 8557 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 8558 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : | |
| 8559 | - fieldDerivative period a (f-g) = fieldDerivative period a f - fieldDerivative period a g := by | |
| 8560 | - funext x | |
| 8561 | - have h := (((hf x).differentiable (by simp)) 0).hasFDerivAt.sub | |
| 8562 | - (((hg x).differentiable (by simp)) 0).hasFDerivAt | |
| 8563 | - exact congrArg (fun A : LiftTangent →L[ℝ] ℂ => A a) h.fderiv | |
| 8564 | - | |
| 8565 | -theorem fieldDerivative_mul (a : LiftTangent) (f g : LiftDomain period → ℂ) | |
| 8566 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 8567 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : | |
| 8568 | - fieldDerivative period a (f*g) = fieldDerivative period a f * g + f * fieldDerivative period a g := by | |
| 8569 | - funext x | |
| 8570 | - have h := (((hf x).differentiable (by simp)) 0).hasFDerivAt.mul | |
| 8571 | - (((hg x).differentiable (by simp)) 0).hasFDerivAt | |
| 8572 | - have he := congrArg (fun A : LiftTangent →L[ℝ] ℂ => A a) h.fderiv | |
| 8573 | - have hfg : localFieldLift period (f*g) x = localFieldLift period f x * localFieldLift period g x := rfl | |
| 8574 | - change fderiv ℝ (localFieldLift period (f*g) x) 0 a = _ | |
| 8575 | - rw [hfg] | |
| 8576 | - have hzf : localFieldLift period f x 0 = f x := by simp [localFieldLift] | |
| 8577 | - have hzg : localFieldLift period g x 0 = g x := by simp [localFieldLift] | |
| 8578 | - rw [hzf, hzg] at he | |
| 8579 | - simpa [fieldDerivative, add_comm, mul_comm] using he | |
| 8580 | - | |
| 8581 | -theorem listDerivative_add (l : List (Fin 4)) (f g : LiftDomain period → ℂ) | |
| 8582 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 8583 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : | |
| 8584 | - listDerivative period l (f+g) = listDerivative period l f + listDerivative period l g := by | |
| 8585 | - induction l with | |
| 8586 | - | nil => rfl | |
| 8587 | - | cons i l ih => | |
| 8588 | - rw [listDerivative_cons, ih, fieldDerivative_add period _ _ _ | |
| 8589 | - (listDerivative_smooth period l f hf) (listDerivative_smooth period l g hg)] | |
| 8590 | - rfl | |
| 8591 | - | |
| 8592 | -theorem listDerivative_zero (l : List (Fin 4)) : listDerivative period l 0 = 0 := by | |
| 8593 | - induction l with | |
| 8594 | - | nil => rfl | |
| 8595 | - | cons i l ih => | |
| 8596 | - rw [listDerivative_cons, ih] | |
| 8597 | - ext x | |
| 8598 | - change fderiv ℝ (fun _ : LiftTangent => (0 : ℂ)) 0 (standardDirection i) = 0 | |
| 8599 | - simp | |
| 8600 | - | |
| 8601 | -/-- The commutator of an arbitrary coordinate word and multiplication. -/ | |
| 8602 | -noncomputable def mixedCommutator (l : List (Fin 4)) (b h : LiftDomain period → ℂ) := | |
| 8603 | - listDerivative period l (b*h) - b * listDerivative period l h | |
| 8604 | - | |
| 8605 | -theorem mixedCommutator_smooth (l : List (Fin 4)) (b h : LiftDomain period → ℂ) | |
| 8606 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 8607 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) : | |
| 8608 | - ∀ x, ContDiff ℝ ∞ (localFieldLift period (mixedCommutator period l b h) x) := | |
| 8609 | - fun x => (listDerivative_smooth period l (b*h) (product_smooth period b h hb hh) x).sub | |
| 8610 | - ((hb x).mul (listDerivative_smooth period l h hh x)) | |
| 8611 | - | |
| 8612 | -/-- Exact telescoping step; the top derivative on the transported field cancels. -/ | |
| 8613 | -theorem mixedCommutator_cons (i : Fin 4) (l : List (Fin 4)) (b h : LiftDomain period → ℂ) | |
| 8614 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 8615 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) : | |
| 8616 | - mixedCommutator period (i::l) b h = | |
| 8617 | - fieldDerivative period (standardDirection i) b * listDerivative period l h + | |
| 8618 | - fieldDerivative period (standardDirection i) (mixedCommutator period l b h) := by | |
| 8619 | - unfold mixedCommutator | |
| 8620 | - rw [fieldDerivative_sub period _ _ _ | |
| 8621 | - (listDerivative_smooth period l (b*h) (product_smooth period b h hb hh)) | |
| 8622 | - (product_smooth period b _ hb (listDerivative_smooth period l h hh)), | |
| 8623 | - fieldDerivative_mul period _ _ _ hb (listDerivative_smooth period l h hh)] | |
| 8624 | - simp only [listDerivative_cons] | |
| 8625 | - ext x | |
| 8626 | - simp only [Pi.add_apply, Pi.sub_apply, Pi.mul_apply] | |
| 8627 | - ring | |
| 8628 | - | |
| 8629 | 6327 | variable [Fact (0 < period)] |
| 8630 | 6328 | |
| 8631 | -theorem word_pointwise_le_H5 {m : ℕ} (hm : m ≤ 2) (w : Fin m → Fin 4) | |
| 8632 | - (f : LiftDomain period → ℂ) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 8633 | - (hfL2 : ∀ j ≤ 5, ∀ v : Fin j → Fin 4, MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) | |
| 8634 | - (x : LiftDomain period) : | |
| 8635 | - ‖iteratedFieldDerivative period w f x‖ ≤ | |
| 8636 | - (85 * cylinderEmbeddingConstant period) * liftSobolevNorm period 5 f := by | |
| 8637 | - have hA := cylinder_pointwise_le_H3 period (iteratedFieldDerivative period w f) | |
| 8638 | - (iteratedFieldDerivative_smooth period w f hf) | |
| 8639 | - (fun j hj v => word_memLp period (by omega : m+j ≤ 5) v w f hfL2) x | |
| 8640 | - have hB := mul_le_mul_of_nonneg_left (word_H3_le_H5 period hm w f) (cylinderEmbeddingConstant_nonneg period) | |
| 8641 | - have he (C A : ℝ) : C*(85*A) = (85*C)*A := by ring | |
| 8642 | - exact hA.trans (hB.trans_eq (he _ _)) | |
| 8643 | - | |
| 8644 | -omit [Fact (0 < period)] in | |
| 8645 | -theorem tensor_list_le_total {j : ℕ} (l : List (Fin 4)) (hjl : l.length+j ≤ 5) | |
| 8646 | - (f : LiftDomain period → ℂ) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (x : LiftDomain period) : | |
| 8647 | - ‖iteratedFDeriv ℝ j (euclideanLift period (listDerivative period l f) x) 0‖ ≤ | |
| 8648 | - 1024 * totalMagnitude period 5 f x := by | |
| 8649 | - have hA := euclideanLift_tensor_norm_le period j (listDerivative period l f) | |
| 8650 | - (listDerivative_smooth period l f hf) x 0 | |
| 8651 | - simp only [euclideanLift_zero] at hA | |
| 8652 | - have hB : (∑ w : Fin j → Fin 4, ‖iteratedFieldDerivative period w (listDerivative period l f) x‖) ≤ | |
| 8653 | - (4 : ℝ)^j * totalMagnitude period 5 f x := by | |
| 8654 | - have hb (w : Fin j → Fin 4) : ‖iteratedFieldDerivative period w (listDerivative period l f) x‖ ≤ | |
| 8655 | - totalMagnitude period 5 f x := by | |
| 8656 | - rw [listDerivative_eq_word] | |
| 8657 | - obtain ⟨u, hu⟩ := iteratedFieldDerivative_comp_exists period w (listWord l) f | |
| 8658 | - rw [hu] | |
| 8659 | - exact (Finset.single_le_sum (f := fun v : Fin (l.length+j) → Fin 4 => ‖iteratedFieldDerivative period v f x‖) | |
| 8660 | - (fun _ _ => norm_nonneg _) (Finset.mem_univ u)).trans | |
| 8661 | - (wordMagnitude_le_total period 5 (l.length+j) hjl f x) | |
| 8662 | - simpa only [Finset.sum_const, Finset.card_univ, Fintype.card_fun, Fintype.card_fin, | |
| 8663 | - nsmul_eq_mul, Nat.cast_pow, Nat.cast_ofNat] using Finset.sum_le_sum (fun w (_ : w ∈ (Finset.univ : Finset (Fin j → Fin 4))) => hb w) | |
| 8664 | - have hp : (4 : ℝ)^j ≤ 1024 := by | |
| 8665 | - have h := pow_le_pow_right₀ (by norm_num : (1 : ℝ) ≤ 4) (show j ≤ 5 by omega) | |
| 8666 | - norm_num at h ⊢ | |
| 8667 | - exact h | |
| 8668 | - exact hA.trans (hB.trans (mul_le_mul_of_nonneg_right hp (totalMagnitude_nonneg period 5 f x))) | |
| 8669 | - | |
| 8670 | -theorem tensor_list_low_le_H5 {j : ℕ} (l : List (Fin 4)) (hjl : l.length+j ≤ 2) | |
| 8671 | - (f : LiftDomain period → ℂ) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 8672 | - (hfL2 : ∀ k ≤ 5, ∀ v : Fin k → Fin 4, MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) | |
| 8673 | - (x : LiftDomain period) : | |
| 8674 | - ‖iteratedFDeriv ℝ j (euclideanLift period (listDerivative period l f) x) 0‖ ≤ | |
| 8675 | - 1024 * ((85 * cylinderEmbeddingConstant period) * liftSobolevNorm period 5 f) := by | |
| 8676 | - have hA := euclideanLift_tensor_norm_le period j (listDerivative period l f) | |
| 8677 | - (listDerivative_smooth period l f hf) x 0 | |
| 8678 | - simp only [euclideanLift_zero] at hA | |
| 8679 | - have hb (w : Fin j → Fin 4) : ‖iteratedFieldDerivative period w (listDerivative period l f) x‖ ≤ | |
| 8680 | - (85 * cylinderEmbeddingConstant period) * liftSobolevNorm period 5 f := by | |
| 8681 | - rw [listDerivative_eq_word] | |
| 8682 | - obtain ⟨u, hu⟩ := iteratedFieldDerivative_comp_exists period w (listWord l) f | |
| 8683 | - rw [hu] | |
| 8684 | - exact word_pointwise_le_H5 period hjl u f hf hfL2 x | |
| 8685 | - have hB := Finset.sum_le_sum (fun w (_ : w ∈ (Finset.univ : Finset (Fin j → Fin 4))) => hb w) | |
| 8686 | - simp only [Finset.sum_const, Finset.card_univ, Fintype.card_fun, Fintype.card_fin, | |
| 8687 | - nsmul_eq_mul, Nat.cast_pow, Nat.cast_ofNat] at hB | |
| 8688 | - have hp : (4 : ℝ)^j ≤ 1024 := by | |
| 8689 | - have h := pow_le_pow_right₀ (by norm_num : (1 : ℝ) ≤ 4) (show j ≤ 5 by omega) | |
| 8690 | - norm_num at h ⊢ | |
| 8691 | - exact h | |
| 8692 | - exact hA.trans (hB.trans (mul_le_mul_of_nonneg_right hp | |
| 8693 | - (mul_nonneg (mul_nonneg (by norm_num) (cylinderEmbeddingConstant_nonneg period)) (liftSobolevNorm_nonneg period 5 f)))) | |
| 8694 | - | |
| 8695 | -/-- A fixed finite constant for differentiated products of total order at most five. -/ | |
| 8696 | -noncomputable def mixedProductConstant : ℝ := | |
| 8697 | - 32 * (1024 * 1024 * (85 * cylinderEmbeddingConstant period)) | |
| 8698 | - | |
| 8699 | -theorem mixedProductConstant_nonneg : 0 ≤ mixedProductConstant period := by | |
| 8700 | - unfold mixedProductConstant | |
| 8701 | - exact mul_nonneg (by norm_num) (mul_nonneg (by norm_num) | |
| 8702 | - (mul_nonneg (by norm_num) (cylinderEmbeddingConstant_nonneg period))) | |
| 8703 | - | |
| 8704 | -theorem tensor_list_product_term_le (l m : List (Fin 4)) {j k : ℕ} | |
| 8705 | - (horder : (l.length+j)+(m.length+k) ≤ 5) (f g : LiftDomain period → ℂ) | |
| 8706 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 8707 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) | |
| 8708 | - (hfL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period)) | |
| 8709 | - (hgL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w g) 2 (liftMeasure period)) | |
| 8710 | - (x : LiftDomain period) : | |
| 8711 | - ‖iteratedFDeriv ℝ j (euclideanLift period (listDerivative period l f) x) 0‖ * | |
| 8712 | - ‖iteratedFDeriv ℝ k (euclideanLift period (listDerivative period m g) x) 0‖ ≤ | |
| 8713 | - (1024 * 1024 * (85 * cylinderEmbeddingConstant period)) * commutatorEnvelope period f g x := by | |
| 8714 | - have hc : 0 ≤ 85 * cylinderEmbeddingConstant period := | |
| 8715 | - mul_nonneg (by norm_num) (cylinderEmbeddingConstant_nonneg period) | |
| 8716 | - have hK : 0 ≤ 1024 * 1024 * (85 * cylinderEmbeddingConstant period) := mul_nonneg (by norm_num) hc | |
| 8717 | - by_cases hl : l.length+j ≤ 2 | |
| 8718 | - · have hA := mul_le_mul (tensor_list_low_le_H5 period l hl f hf hfL2 x) | |
| 8719 | - (tensor_list_le_total period m (by omega : m.length+k ≤ 5) g hg x) (norm_nonneg _) | |
| 8720 | - (mul_nonneg (by norm_num) (mul_nonneg hc (liftSobolevNorm_nonneg period 5 f))) | |
| 8721 | - have he (C A M : ℝ) : (1024*(C*A))*(1024*M) = (1024*1024*C)*(A*M) := by ring | |
| 8722 | - have hB : liftSobolevNorm period 5 f * totalMagnitude period 5 g x ≤ commutatorEnvelope period f g x := | |
| 8723 | - le_add_of_nonneg_right (mul_nonneg (liftSobolevNorm_nonneg period 5 g) (totalMagnitude_nonneg period 5 f x)) | |
| 8724 | - exact hA.trans ((he _ _ _).trans_le (mul_le_mul_of_nonneg_left hB hK)) | |
| 8725 | - · have hA := mul_le_mul (tensor_list_le_total period l (by omega : l.length+j ≤ 5) f hf x) | |
| 8726 | - (tensor_list_low_le_H5 period m (by omega : m.length+k ≤ 2) g hg hgL2 x) (norm_nonneg _) | |
| 8727 | - (mul_nonneg (by norm_num) (totalMagnitude_nonneg period 5 f x)) | |
| 8728 | - have he (C A M : ℝ) : (1024*M)*(1024*(C*A)) = (1024*1024*C)*(A*M) := by ring | |
| 8729 | - have hB : liftSobolevNorm period 5 g * totalMagnitude period 5 f x ≤ commutatorEnvelope period f g x := | |
| 8730 | - le_add_of_nonneg_left (mul_nonneg (liftSobolevNorm_nonneg period 5 f) (totalMagnitude_nonneg period 5 g x)) | |
| 8731 | - exact hA.trans ((he _ _ _).trans_le (mul_le_mul_of_nonneg_left hB hK)) | |
| 8732 | - | |
| 8733 | -/-- Every prefixed product occurring in the telescoping commutator has a uniform H⁵ envelope. -/ | |
| 8734 | -theorem list_product_pointwise_le (l m : List (Fin 4)) (horder : l.length+m.length ≤ 5) | |
| 8735 | - (f g : LiftDomain period → ℂ) | |
| 8736 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 8737 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) | |
| 8738 | - (hfL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period)) | |
| 8739 | - (hgL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w g) 2 (liftMeasure period)) | |
| 8740 | - (x : LiftDomain period) : | |
| 8741 | - ‖listDerivative period l (f * listDerivative period m g) x‖ ≤ | |
| 8742 | - mixedProductConstant period * commutatorEnvelope period f g x := by | |
| 8743 | - have hmg := listDerivative_smooth period m g hg | |
| 8744 | - have hprod := product_smooth period f (listDerivative period m g) hf hmg | |
| 8745 | - have he := euclideanLift_iteratedFieldDerivative period (listWord l) (f * listDerivative period m g) hprod x 0 | |
| 8746 | - rw [euclideanLift_zero] at he | |
| 8747 | - rw [listDerivative_eq_word, he] | |
| 8748 | - have hA := (iteratedFDeriv ℝ l.length (euclideanLift period (f * listDerivative period m g) x) 0).le_opNorm | |
| 8749 | - (fun j => EuclideanSpace.single (listWord l j) (1 : ℝ)) | |
| 8750 | - simp only [PiLp.norm_single, norm_one, Finset.prod_const_one, mul_one] at hA | |
| 8751 | - have hB := norm_iteratedFDeriv_mul_le (euclideanLift_smooth period f hf x) | |
| 8752 | - (euclideanLift_smooth period (listDerivative period m g) hmg x) 0 | |
| 8753 | - (by simp : (l.length : ℕ∞ω) ≤ (∞ : ℕ∞ω)) | |
| 8754 | - have hC : (∑ j ∈ Finset.range (l.length+1), (l.length.choose j : ℝ) * | |
| 8755 | - ‖iteratedFDeriv ℝ j (euclideanLift period f x) 0‖ * | |
| 8756 | - ‖iteratedFDeriv ℝ (l.length-j) (euclideanLift period (listDerivative period m g) x) 0‖) ≤ | |
| 8757 | - 2^l.length * ((1024*1024*(85*cylinderEmbeddingConstant period)) * commutatorEnvelope period f g x) := by | |
| 8758 | - calc | |
| 8759 | - _ ≤ ∑ j ∈ Finset.range (l.length+1), (l.length.choose j : ℝ) * | |
| 8760 | - ((1024*1024*(85*cylinderEmbeddingConstant period)) * commutatorEnvelope period f g x) := by | |
| 8761 | - apply Finset.sum_le_sum | |
| 8762 | - intro j hj | |
| 8763 | - rw [mul_assoc] | |
| 8764 | - exact mul_le_mul_of_nonneg_left (tensor_list_product_term_le period [] m | |
| 8765 | - (by have := Finset.mem_range.1 hj; omega : (0+j)+(m.length+(l.length-j)) ≤ 5) | |
| 8766 | - f g hf hg hfL2 hgL2 x) (Nat.cast_nonneg _) | |
| 8767 | - _ = _ := by | |
| 8768 | - rw [← Finset.sum_mul] | |
| 8769 | - congr 1 | |
| 8770 | - exact_mod_cast Nat.sum_range_choose l.length | |
| 8771 | - have hp : (2 : ℝ)^l.length ≤ 32 := by | |
| 8772 | - have h := pow_le_pow_right₀ (by norm_num : (1 : ℝ) ≤ 2) (show l.length ≤ 5 by omega) | |
| 8773 | - norm_num at h ⊢ | |
| 8774 | - exact h | |
| 8775 | - have hD := mul_le_mul_of_nonneg_right hp (mul_nonneg | |
| 8776 | - (mul_nonneg (by norm_num : (0 : ℝ) ≤ 1024*1024) | |
| 8777 | - (mul_nonneg (by norm_num : (0 : ℝ) ≤ 85) (cylinderEmbeddingConstant_nonneg period))) | |
| 8778 | - (commutatorEnvelope_nonneg period f g x)) | |
| 8779 | - exact hA.trans (hB.trans (hC.trans (hD.trans_eq (mul_assoc _ _ _).symm))) | |
| 8780 | - | |
| 8781 | -/-- Sum of the H⁵ norms of all four actual first derivatives of the coefficient. -/ | |
| 8782 | -noncomputable def gradientSobolevNorm (b : LiftDomain period → ℂ) : ℝ := | |
| 8783 | - ∑ i : Fin 4, liftSobolevNorm period 5 (fieldDerivative period (standardDirection i) b) | |
| 8784 | - | |
| 8785 | -/-- Pointwise sum of all words of order at most five applied to the first coefficient derivatives. -/ | |
| 8786 | -noncomputable def gradientMagnitude (b : LiftDomain period → ℂ) (x : LiftDomain period) : ℝ := | |
| 8787 | - ∑ i : Fin 4, totalMagnitude period 5 (fieldDerivative period (standardDirection i) b) x | |
| 8788 | - | |
| 8789 | -theorem gradientSobolevNorm_nonneg (b : LiftDomain period → ℂ) : 0 ≤ gradientSobolevNorm period b := | |
| 8790 | - Finset.sum_nonneg (fun _ _ => liftSobolevNorm_nonneg period 5 _) | |
| 8791 | - | |
| 8792 | -omit [Fact (0 < period)] in | |
| 8793 | -theorem gradientMagnitude_nonneg (b : LiftDomain period → ℂ) (x : LiftDomain period) : | |
| 8794 | - 0 ≤ gradientMagnitude period b x := Finset.sum_nonneg (fun _ _ => totalMagnitude_nonneg period 5 _ x) | |
| 8795 | - | |
| 8796 | -/-- One square-integrable envelope controls every mixed transport commutator through order six. -/ | |
| 8797 | -noncomputable def mixedEnvelope (b h : LiftDomain period → ℂ) : LiftDomain period → ℝ := | |
| 8798 | - gradientSobolevNorm period b • totalMagnitude period 5 h + liftSobolevNorm period 5 h • gradientMagnitude period b | |
| 8799 | - | |
| 8800 | -theorem mixedEnvelope_nonneg (b h : LiftDomain period → ℂ) (x : LiftDomain period) : | |
| 8801 | - 0 ≤ mixedEnvelope period b h x := | |
| 8802 | - add_nonneg (mul_nonneg (gradientSobolevNorm_nonneg period b) (totalMagnitude_nonneg period 5 h x)) | |
| 8803 | - (mul_nonneg (liftSobolevNorm_nonneg period 5 h) (gradientMagnitude_nonneg period b x)) | |
| 8804 | - | |
| 8805 | -theorem commutatorEnvelope_le_mixed (i : Fin 4) (b h : LiftDomain period → ℂ) (x : LiftDomain period) : | |
| 8806 | - commutatorEnvelope period (fieldDerivative period (standardDirection i) b) h x ≤ mixedEnvelope period b h x := by | |
| 8807 | - have hS : liftSobolevNorm period 5 (fieldDerivative period (standardDirection i) b) ≤ gradientSobolevNorm period b := | |
| 8808 | - Finset.single_le_sum (f := fun i : Fin 4 => liftSobolevNorm period 5 (fieldDerivative period (standardDirection i) b)) | |
| 8809 | - (fun _ _ => liftSobolevNorm_nonneg period 5 _) (Finset.mem_univ i) | |
| 8810 | - have hM : totalMagnitude period 5 (fieldDerivative period (standardDirection i) b) x ≤ gradientMagnitude period b x := | |
| 8811 | - Finset.single_le_sum (f := fun i : Fin 4 => totalMagnitude period 5 (fieldDerivative period (standardDirection i) b) x) | |
| 8812 | - (fun _ _ => totalMagnitude_nonneg period 5 _ x) (Finset.mem_univ i) | |
| 8813 | - exact add_le_add (mul_le_mul_of_nonneg_right hS (totalMagnitude_nonneg period 5 h x)) | |
| 8814 | - (mul_le_mul_of_nonneg_left hM (liftSobolevNorm_nonneg period 5 h)) | |
| 8815 | - | |
| 8816 | -/-- The telescoping estimate remains valid under an arbitrary derivative prefix. -/ | |
| 8817 | -theorem prefixed_commutator_pointwise_le (outer inner : List (Fin 4)) | |
| 8818 | - (horder : outer.length+inner.length ≤ 6) (b h : LiftDomain period → ℂ) | |
| 8819 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 8820 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) | |
| 8821 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8822 | - MemLp (iteratedFieldDerivative period w (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) | |
| 8823 | - (hhL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8824 | - MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) (x : LiftDomain period) : | |
| 8825 | - ‖listDerivative period outer (mixedCommutator period inner b h) x‖ ≤ | |
| 8826 | - (inner.length : ℝ) * mixedProductConstant period * mixedEnvelope period b h x := by | |
| 8827 | - induction inner generalizing outer with | |
| 8828 | - | nil => | |
| 8829 | - have he : mixedCommutator period [] b h = 0 := by simp [mixedCommutator] | |
| 8830 | - rw [he, listDerivative_zero] | |
| 8831 | - simp | |
| 8832 | - | cons i inner ih => | |
| 8833 | - rw [mixedCommutator_cons period i inner b h hb hh, | |
| 8834 | - listDerivative_add period outer _ _ | |
| 8835 | - (product_smooth period _ _ (fieldDerivative_smooth period _ b hb) (listDerivative_smooth period inner h hh)) | |
| 8836 | - (fieldDerivative_smooth period _ _ (mixedCommutator_smooth period inner b h hb hh))] | |
| 8837 | - have hA := norm_add_le | |
| 8838 | - (listDerivative period outer (fieldDerivative period (standardDirection i) b * listDerivative period inner h) x) | |
| 8839 | - (listDerivative period outer (fieldDerivative period (standardDirection i) (mixedCommutator period inner b h)) x) | |
| 8840 | - have hfirst := list_product_pointwise_le period outer inner | |
| 8841 | - (by simp only [List.length_cons] at horder; omega) | |
| 8842 | - (fieldDerivative period (standardDirection i) b) h (fieldDerivative_smooth period _ b hb) hh (hbL2 i) hhL2 x | |
| 8843 | - have hfirst' := hfirst.trans (mul_le_mul_of_nonneg_left (commutatorEnvelope_le_mixed period i b h x) | |
| 8844 | - (mixedProductConstant_nonneg period)) | |
| 8845 | - have hsecond := ih (outer ++ [i]) (by simp only [List.length_append, List.length_cons, List.length_nil] at *; omega) | |
| 8846 | - rw [listDerivative_append] at hsecond | |
| 8847 | - have hB := add_le_add hfirst' hsecond | |
| 8848 | - have he (n B Q : ℝ) : B*Q+n*B*Q=(n+1)*B*Q := by ring | |
| 8849 | - have hC := hA.trans (hB.trans_eq (he _ _ _)) | |
| 8850 | - simpa only [List.length_cons, Nat.cast_add, Nat.cast_one, Pi.add_apply] using hC | |
| 8851 | - | |
| 8852 | -theorem gradientMagnitude_memLp (b : LiftDomain period → ℂ) | |
| 8853 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8854 | - MemLp (iteratedFieldDerivative period w (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) : | |
| 8855 | - MemLp (gradientMagnitude period b) 2 (liftMeasure period) := | |
| 8856 | - memLp_finsetSum _ (fun i _ => totalMagnitude_memLp period 5 _ (hbL2 i)) | |
| 8857 | - | |
| 8858 | -theorem gradientMagnitude_L2_le (b : LiftDomain period → ℂ) | |
| 8859 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8860 | - MemLp (iteratedFieldDerivative period w (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) : | |
| 8861 | - ‖(gradientMagnitude_memLp period b hbL2).toLp (gradientMagnitude period b)‖ ≤ gradientSobolevNorm period b := by | |
| 8862 | - have he : gradientMagnitude period b = ∑ i : Fin 4, | |
| 8863 | - totalMagnitude period 5 (fieldDerivative period (standardDirection i) b) := by | |
| 8864 | - funext x | |
| 8865 | - simp [gradientMagnitude] | |
| 8866 | - have hA : eLpNorm (gradientMagnitude period b) 2 (liftMeasure period) ≤ | |
| 8867 | - ∑ i : Fin 4, eLpNorm (totalMagnitude period 5 (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period) := by | |
| 8868 | - rw [he] | |
| 8869 | - exact eLpNorm_sum_le (fun i _ => (totalMagnitude_memLp period 5 _ (hbL2 i)).1) (by norm_num) | |
| 8870 | - have hfin (i : Fin 4) (_hi : i ∈ (Finset.univ : Finset (Fin 4))) : | |
| 8871 | - eLpNorm (totalMagnitude period 5 (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period) ≠ ⊤ := | |
| 8872 | - (totalMagnitude_memLp period 5 _ (hbL2 i)).eLpNorm_ne_top | |
| 8873 | - have hB := ENNReal.toReal_mono (ENNReal.sum_ne_top.2 hfin) hA | |
| 8874 | - rw [ENNReal.toReal_sum hfin] at hB | |
| 8875 | - rw [Lp.norm_toLp] | |
| 8876 | - apply hB.trans | |
| 8877 | - apply Finset.sum_le_sum | |
| 8878 | - intro i _ | |
| 8879 | - have h := totalMagnitude_L2_le period 5 (fieldDerivative period (standardDirection i) b) (hbL2 i) | |
| 8880 | - rw [Lp.norm_toLp] at h | |
| 8881 | - exact h | |
| 8882 | - | |
| 8883 | -theorem mixedEnvelope_memLp (b h : LiftDomain period → ℂ) | |
| 8884 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8885 | - MemLp (iteratedFieldDerivative period w (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) | |
| 8886 | - (hhL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) : | |
| 8887 | - MemLp (mixedEnvelope period b h) 2 (liftMeasure period) := | |
| 8888 | - ((totalMagnitude_memLp period 5 h hhL2).const_smul (gradientSobolevNorm period b)).add | |
| 8889 | - ((gradientMagnitude_memLp period b hbL2).const_smul (liftSobolevNorm period 5 h)) | |
| 8890 | - | |
| 8891 | -theorem mixedEnvelope_L2_le (b h : LiftDomain period → ℂ) | |
| 8892 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8893 | - MemLp (iteratedFieldDerivative period w (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) | |
| 8894 | - (hhL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) : | |
| 8895 | - ‖(mixedEnvelope_memLp period b h hbL2 hhL2).toLp (mixedEnvelope period b h)‖ ≤ | |
| 8896 | - 2 * gradientSobolevNorm period b * liftSobolevNorm period 5 h := by | |
| 8897 | - change ‖gradientSobolevNorm period b • (totalMagnitude_memLp period 5 h hhL2).toLp _ + | |
| 8898 | - liftSobolevNorm period 5 h • (gradientMagnitude_memLp period b hbL2).toLp _‖ ≤ _ | |
| 8899 | - have hA := norm_add_le | |
| 8900 | - (gradientSobolevNorm period b • (totalMagnitude_memLp period 5 h hhL2).toLp (totalMagnitude period 5 h)) | |
| 8901 | - (liftSobolevNorm period 5 h • (gradientMagnitude_memLp period b hbL2).toLp (gradientMagnitude period b)) | |
| 8902 | - simp only [norm_smul, Real.norm_of_nonneg (gradientSobolevNorm_nonneg period b), | |
| 8903 | - Real.norm_of_nonneg (liftSobolevNorm_nonneg period 5 h)] at hA | |
| 8904 | - have hB := add_le_add | |
| 8905 | - (mul_le_mul_of_nonneg_left (totalMagnitude_L2_le period 5 h hhL2) (gradientSobolevNorm_nonneg period b)) | |
| 8906 | - (mul_le_mul_of_nonneg_left (gradientMagnitude_L2_le period b hbL2) (liftSobolevNorm_nonneg period 5 h)) | |
| 8907 | - have he (A B : ℝ) : A*B+B*A = 2*A*B := by ring | |
| 8908 | - exact hA.trans (hB.trans_eq (he _ _)) | |
| 8909 | - | |
| 8910 | -theorem mixedCommutator_pointwise_le (l : List (Fin 4)) (hl : l.length ≤ 6) | |
| 8911 | - (b h : LiftDomain period → ℂ) | |
| 8912 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 8913 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) | |
| 8914 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8915 | - MemLp (iteratedFieldDerivative period w (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) | |
| 8916 | - (hhL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) | |
| 8917 | - (x : LiftDomain period) : | |
| 8918 | - ‖mixedCommutator period l b h x‖ ≤ (6 * mixedProductConstant period) * mixedEnvelope period b h x := by | |
| 8919 | - have hA := prefixed_commutator_pointwise_le period [] l (by simpa using hl) b h hb hh hbL2 hhL2 x | |
| 8920 | - have hB := mul_le_mul_of_nonneg_right (show (l.length : ℝ) ≤ 6 by exact_mod_cast hl) | |
| 8921 | - (mul_nonneg (mixedProductConstant_nonneg period) (mixedEnvelope_nonneg period b h x)) | |
| 8922 | - rw [← mul_assoc, ← mul_assoc] at hB | |
| 8923 | - exact hA.trans hB | |
| 8924 | - | |
| 8925 | -/-- Every mixed commutator through order six is a genuine L² function. -/ | |
| 8926 | -theorem mixedCommutator_memLp (l : List (Fin 4)) (hl : l.length ≤ 6) | |
| 8927 | - (b h : LiftDomain period → ℂ) | |
| 8928 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 8929 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) | |
| 8930 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8931 | - MemLp (iteratedFieldDerivative period w (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) | |
| 8932 | - (hhL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) : | |
| 8933 | - MemLp (mixedCommutator period l b h) 2 (liftMeasure period) := by | |
| 8934 | - apply (mixedEnvelope_memLp period b h hbL2 hhL2).of_le_mul | |
| 8935 | - ((smoothField_continuous period _ (mixedCommutator_smooth period l b h hb hh)).aestronglyMeasurable) | |
| 8936 | - filter_upwards [] with x | |
| 8937 | - rw [Real.norm_of_nonneg (mixedEnvelope_nonneg period b h x)] | |
| 8938 | - exact mixedCommutator_pointwise_le period l hl b h hb hh hbL2 hhL2 x | |
| 8939 | - | |
| 8940 | -/-- The full mixed coordinate commutator bound, with no derivative loss. -/ | |
| 8941 | -theorem mixed_transport_commutator_L2 (l : List (Fin 4)) (hl : l.length ≤ 6) | |
| 8942 | - (b h : LiftDomain period → ℂ) | |
| 8943 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 8944 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) | |
| 8945 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ w : Fin r → Fin 4, | |
| 8946 | - MemLp (iteratedFieldDerivative period w (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) | |
| 8947 | - (hhL2 : ∀ r ≤ 5, ∀ w : Fin r → Fin 4, MemLp (iteratedFieldDerivative period w h) 2 (liftMeasure period)) : | |
| 8948 | - (eLpNorm (mixedCommutator period l b h) 2 (liftMeasure period)).toReal ≤ | |
| 8949 | - (12 * mixedProductConstant period) * gradientSobolevNorm period b * liftSobolevNorm period 5 h := by | |
| 8950 | - have hq := mixedEnvelope_memLp period b h hbL2 hhL2 | |
| 8951 | - have hA := eLpNorm_le_mul_eLpNorm_of_ae_le_mul (μ := liftMeasure period) | |
| 8952 | - (Filter.Eventually.of_forall (fun x => show ‖mixedCommutator period l b h x‖ ≤ | |
| 8953 | - (6 * mixedProductConstant period) * ‖mixedEnvelope period b h x‖ by | |
| 8954 | - rw [Real.norm_of_nonneg (mixedEnvelope_nonneg period b h x)] | |
| 8955 | - exact mixedCommutator_pointwise_le period l hl b h hb hh hbL2 hhL2 x)) (2 : ℝ≥0∞) | |
| 8956 | - have hc : 0 ≤ 6 * mixedProductConstant period := mul_nonneg (by norm_num) (mixedProductConstant_nonneg period) | |
| 8957 | - have hfin : ENNReal.ofReal (6 * mixedProductConstant period) * | |
| 8958 | - eLpNorm (mixedEnvelope period b h) 2 (liftMeasure period) ≠ ⊤ := by finiteness | |
| 8959 | - have hB := ENNReal.toReal_mono hfin hA | |
| 8960 | - simp only [ENNReal.toReal_mul, ENNReal.toReal_ofReal hc] at hB | |
| 8961 | - have hC := mul_le_mul_of_nonneg_left (mixedEnvelope_L2_le period b h hbL2 hhL2) hc | |
| 8962 | - rw [Lp.norm_toLp] at hC | |
| 8963 | - have he (C A B : ℝ) : (6*C)*(2*A*B)=(12*C)*A*B := by ring | |
| 8964 | - exact hB.trans (hC.trans_eq (he _ _ _)) | |
| 8965 | - | |
| 8966 | -omit [Fact (0 < period)] in | |
| 8967 | -theorem listDerivative_ofFn {n : ℕ} (w : Fin n → Fin 4) (f : LiftDomain period → ℂ) : | |
| 8968 | - listDerivative period (List.ofFn w) f = iteratedFieldDerivative period w f := by | |
| 8969 | - induction n with | |
| 8970 | - | zero => simp | |
| 8971 | - | succ n ih => | |
| 8972 | - rw [List.ofFn_succ, listDerivative_cons, ih] | |
| 8973 | - rfl | |
| 8974 | - | |
| 8975 | -/-- The same no-loss estimate in the finite-word convention used by the Sobolev jets. -/ | |
| 8976 | -theorem word_transport_commutator_L2 {n : ℕ} (hn : n ≤ 6) (w : Fin n → Fin 4) | |
| 8977 | - (b h : LiftDomain period → ℂ) | |
| 8978 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 8979 | - (hh : ∀ x, ContDiff ℝ ∞ (localFieldLift period h x)) | |
| 8980 | - (hbL2 : ∀ i : Fin 4, ∀ r ≤ 5, ∀ v : Fin r → Fin 4, | |
| 8981 | - MemLp (iteratedFieldDerivative period v (fieldDerivative period (standardDirection i) b)) 2 (liftMeasure period)) | |
| 8982 | - (hhL2 : ∀ r ≤ 5, ∀ v : Fin r → Fin 4, MemLp (iteratedFieldDerivative period v h) 2 (liftMeasure period)) : | |
| 8983 | - (eLpNorm (iteratedFieldDerivative period w (b*h) - b*iteratedFieldDerivative period w h) 2 (liftMeasure period)).toReal ≤ | |
| 8984 | - (12 * mixedProductConstant period) * gradientSobolevNorm period b * liftSobolevNorm period 5 h := by | |
| 8985 | - have hA := mixed_transport_commutator_L2 period (List.ofFn w) (by simpa using hn) b h hb hh hbL2 hhL2 | |
| 8986 | - simpa only [mixedCommutator, listDerivative_ofFn] using hA | |
| 8987 | - | |
| 8988 | 6329 | end EulerMixedCylinderTransport |
| 8989 | 6330 | |
| 8990 | 6331 | end |
| @@ -9001,19 +6342,6 @@ open scoped ENNReal ContDiff | ||
| 9001 | 6342 | |
| 9002 | 6343 | variable (period : ℝ) [Fact (0 < period)] |
| 9003 | 6344 | |
| 9004 | -/-- All low-order real vector derivative words are bounded by the actual H⁶ norm. -/ | |
| 9005 | -theorem vector_word_pointwise_le_H6 (q : ℕ) {m : ℕ} (hm : m ≤ 3) (w : Fin m → Fin 4) | |
| 9006 | - (f : LiftDomain period → Domain q) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 9007 | - (hfL2 : ∀ j ≤ 6, ∀ v : Fin j → Fin 4, MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) | |
| 9008 | - (x : LiftDomain period) : | |
| 9009 | - ‖iteratedFieldDerivative period w f x‖ ≤ | |
| 9010 | - ((q : ℝ) * cylinderEmbeddingConstant period) * (85 * liftSobolevNorm period 6 f) := by | |
| 9011 | - have hA := vector_cylinder_pointwise_le_H3 period q (iteratedFieldDerivative period w f) | |
| 9012 | - (iteratedFieldDerivative_smooth period w f hf) | |
| 9013 | - (fun j hj v => word_memLp period (by omega : m+j ≤ 6) v w f hfL2) x | |
| 9014 | - exact hA.trans (mul_le_mul_of_nonneg_left (word_H3_le_H6 period hm w f) | |
| 9015 | - (mul_nonneg (Nat.cast_nonneg _) (cylinderEmbeddingConstant_nonneg period))) | |
| 9016 | - | |
| 9017 | 6345 | section General |
| 9018 | 6346 | variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 9019 | 6347 | |
| @@ -9066,29 +6394,6 @@ theorem fieldFDeriv_memLp_of_coordinates (f : LiftDomain period → F) | ||
| 9066 | 6394 | rw [Real.norm_of_nonneg (Finset.sum_nonneg (fun _ _ => norm_nonneg _))] |
| 9067 | 6395 | exact fieldFDeriv_norm_le_standard_sum period f x |
| 9068 | 6396 | |
| 9069 | -/-- The full-gradient L² norm is quantitatively bounded by the coordinate-gradient L² sum. -/ | |
| 9070 | -theorem fieldFDeriv_L2_le_coordinate_sum (f : LiftDomain period → F) | |
| 9071 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 9072 | - (hD : ∀ i : Fin 4, MemLp (fieldDerivative period (standardDirection i) f) 2 (liftMeasure period)) : | |
| 9073 | - ‖(fieldFDeriv_memLp_of_coordinates period f hf hD).toLp (fieldFDeriv period f)‖ ≤ | |
| 9074 | - ∑ i : Fin 4, (eLpNorm (fieldDerivative period (standardDirection i) f) 2 (liftMeasure period)).toReal := by | |
| 9075 | - have hA : eLpNorm (fieldFDeriv period f) 2 (liftMeasure period) ≤ | |
| @@ -9096,202 +6401,6 @@ end | ||
| @@ -9362,9 +6471,6 @@ theorem mollifierKernel_compact (n : ℕ) : HasCompactSupport (mollifierKernel n | ||
| @@ -9429,9 +6535,6 @@ def mollifierOperator (n : ℕ) : LiftL2 period →L[ℝ] LiftL2 period := | ||
| @@ -9464,13 +6567,6 @@ theorem mollifyJet_word {directions : Fin 4 → LiftTangent} {s k : ℕ} {f : Li | ||
| @@ -9529,32 +6625,6 @@ theorem mollify_orbit_contDiff (n : ℕ) (f : LiftL2 period) : | ||
| @@ -9726,31 +6796,9 @@ theorem cylinderConvolution_smooth (φ : ContDiffBump (0 : Domain 4)) (f : LiftD | ||
| @@ -9908,19 +6956,6 @@ theorem smoothMollifier_word_ae {s k : ℕ} (hk : k ≤ s) (U : LiftL2 period) | ||
| @@ -10351,97 +7386,6 @@ theorem norm_integral_sq_le_length_mul {E : Type*} [NormedAddCommGroup E] | ||
| @@ -10783,16 +7727,6 @@ theorem euler_perturbation_along_flow (u w : ℝ × E → E) | ||
| @@ -10925,11 +7859,6 @@ theorem tsupport_curl_subset (ψ : Fin 3 → Space → ℝ) (K : Set Space) | ||
| @@ -11011,41 +7940,6 @@ theorem curl_congr_nhds (ψ φ : Fin 3 → Space → ℝ) (x : Space) | ||
| @@ -11212,9 +8106,6 @@ theorem rawBump_support : tsupport rawBump ⊆ Icc (-1 : ℝ) 1 := by | ||
| @@ -11976,51 +8867,6 @@ namespace EulerAnglePartition | ||
| @@ -12063,80 +8909,6 @@ theorem shrinking_radius_cancels_loss (C B Δ ρ R₀ X : ℝ) | ||
| @@ -12147,80 +8919,6 @@ namespace EulerEnergyParameters | ||
| @@ -12404,24 +9102,6 @@ theorem weight_hasDerivAt (ρ : ℝ → ℝ) (ρ' t : ℝ) (hρ : HasDerivAt ρ | ||
| @@ -12541,18 +9221,6 @@ theorem no_escape_near_compact_trajectory | ||
| @@ -12565,53 +9233,6 @@ open EulerSmoothLimit EulerSobolev EulerSmoothSobolev EulerEnergyBootstrap | ||
| @@ -12638,22 +9259,6 @@ theorem determinant_hasDerivAt (F M : ℝ → Matrix (Fin 3) (Fin 3) ℝ) (t : | ||
| @@ -12967,34 +9572,6 @@ theorem shifted_weighted_inverse (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) | ||
| @@ -13012,33 +9589,6 @@ namespace EulerPacketAlgebra | ||
| @@ -13061,34 +9611,6 @@ theorem scalar_equation (β : ℝ) (U V : ℝ → ℝ) | ||
| @@ -15017,18 +11539,6 @@ theorem equation30_ideal_frame_bounds | ||
| @@ -17164,51 +13674,6 @@ theorem pressure_ratio_error | ||
| @@ -18414,37 +14879,6 @@ theorem equation30_exists_global | ||
| @@ -18474,92 +14908,6 @@ namespace EulerPacketStage | ||
| @@ -18929,21 +15277,6 @@ theorem target_compression_order40 | ||
| @@ -19354,23 +15687,6 @@ theorem sourceParameterExponent_relative_tendsto_zero (J : ℕ) (hJ : 2 ≤ J) | ||
| @@ -19415,62 +15731,6 @@ theorem perturbed_exponential_decay_summable (J : ℕ) (hJ : 1 ≤ J) (x : ℕ | ||
| @@ -19525,69 +15785,6 @@ theorem activation_time_bounds | ||
| @@ -19781,97 +15978,6 @@ theorem polynomial_source_scale_summable | ||
| @@ -19913,59 +16019,6 @@ theorem source_shear_gradient_bound | ||
| @@ -19979,17 +16032,6 @@ namespace EulerPacketSourceTime | ||
| @@ -20029,43 +16071,6 @@ theorem source_time_ratio_identity (J : ℕ) (x : ℕ → ℝ) (n : ℕ) : | ||
| @@ -20103,74 +16108,6 @@ theorem source_extra_time_bound | ||
| @@ -20213,46 +16150,6 @@ theorem base_exponential_decay (T p b : ℝ) (m k : ℕ) (hb : 0 < b) : | ||
| @@ -20597,34 +16494,6 @@ theorem uniform_source_cost_tsum_bound | ||
| @@ -20733,20 +16602,6 @@ theorem source_activation_ode_guards {j x β : ℝ} | ||
| Diff truncated — view the file for the rest. | ||
+0 −27 Euler/EulerSingularity.lean View file
| @@ -71,41 +71,14 @@ open Set Filter MeasureTheory EulerSmoothLimit EulerLpTranslation | ||
| 71 | 71 | EulerLpTranslation.SmoothL2Field EulerOrdinarySobolev EulerMeanCutoffCurl |
| 72 | 72 | open scoped ContDiff ENNReal Topology |
| 73 | 73 | |
| 74 | -def maximalVorticityNorm (t : MaximalTime) : ℝ := lifespan.maximalVorticityNorm t | |
| 75 | - | |
| 76 | 74 | def maximalVorticityDensity (r : ℝ) : ℝ := lifespan.maximalVorticityDensity r |
| 77 | 75 | |
| 78 | -def maximalVorticityIntegral (t : MaximalTime) : ℝ := lifespan.maximalVorticityIntegral t | |
| 79 | - | |
| 80 | -theorem maximalVorticityNorm_spec (t : MaximalTime) (K : ℝ) : | |
| 81 | - maximalVorticityNorm t ≤ K ↔ ∀ x, ‖vectorCurl (maximalVelocity t) x‖ ≤ K := | |
| 82 | - lifespan.maximalVorticityNorm_le_iff t K | |
| 83 | - | |
| 84 | -theorem maximalVorticityDensity_spec (t : MaximalTime) : | |
| 85 | - maximalVorticityDensity t=maximalVorticityNorm t := | |
| 86 | - lifespan.maximalVorticityDensity_eq t | |
| 87 | - | |
| 88 | -theorem maximalVorticityIntegral_spec (t : MaximalTime) : | |
| 89 | - (∫ r in (0 : ℝ)..(t : ℝ), maximalVorticityDensity r)=maximalVorticityIntegral t := | |
| 90 | - lifespan.maximalVorticityDensity_integral_eq t | |
| 91 | - | |
| 92 | 76 | theorem initialDatum_nonzero : initialDatum.field ≠ 0 := lifespan.initial_nonzero |
| 93 | 77 | |
| 94 | 78 | theorem initialDatum_existence_iff (T : ℝ) : |
| 95 | 79 | HasSmoothEulerSolution initialDatum.field T ↔ 0 < T ∧ T < lifespan.duration := |
| 96 | 80 | (hasSmoothEulerSolution_iff initialDatum T).trans (lifespan.hasEulerEvolution_iff T) |
| 97 | 81 | |
| 98 | -theorem initialDatum_scalar_existence_iff (T : ℝ) : | |
| 99 | - HasScalarEulerEvolution initialDatum T ↔ 0 < T ∧ T < lifespan.duration := | |
| 100 | - lifespan.hasScalarEulerEvolution_iff T | |
| 101 | - | |
| 102 | -theorem maximalVorticityIntegral_tendsto : | |
| 103 | - Tendsto maximalVorticityIntegral | |
| 104 | - (Filter.comap (fun t : MaximalTime => (t : ℝ)) (𝓝[<] lifespan.duration)) atTop := by | |
| 105 | - change Tendsto lifespan.maximalVorticityIntegral lifespan.endpointFilter atTop | |
| 106 | - rw [lifespan.endpointFilter_eq_atTop] | |
| 107 | - exact lifespan.vorticityIntegral_tendsto_atTop | |
| 108 | - | |
| 109 | 82 | theorem maximalVorticity_integral_infinite : |
| 110 | 83 | (∫⁻ r in Ico (0 : ℝ) lifespan.duration, ENNReal.ofReal (maximalVorticityDensity r))=⊤ := |
| 111 | 84 | lifespan.vorticity_lintegral_eq_top |
+0 −5 Euler/EulerTimeRescaling.lean View file
| @@ -75,11 +75,6 @@ def timeMap (ε : ℝ) (hε : 0 < ε) : C(Icc (0 : ℝ) ε,Icc (0 : ℝ) 1) wher | ||
| 75 | 75 | toFun t := ⟨t/ε,div_nonneg t.property.1 hε.le,(div_le_one hε).mpr t.property.2⟩ |
| 76 | 76 | continuous_toFun := (continuous_subtype_val.div_const ε).subtype_mk _ |
| 77 | 77 | |
| 78 | -theorem timeMap_initial (ε : ℝ) (hε : 0 < ε) : | |
| 79 | - timeMap ε hε ⟨0,le_rfl,hε.le⟩=⟨0,le_rfl,by norm_num⟩ := by | |
| 80 | - apply Subtype.ext | |
| 81 | - exact zero_div ε | |
| 82 | - | |
| 83 | 78 | theorem scaled_time_interior (ε : ℝ) (hε : 0 < ε) (t : ℝ) (ht : t ∈ Ioo 0 ε) : |
| 84 | 79 | ε⁻¹*t ∈ Ioo (0 : ℝ) 1 := by |
| 85 | 80 | rw [mul_comm,← div_eq_mul_inv] |
+0 −3 Euler/ExternalScalarCommutator.lean View file
| @@ -69,9 +69,6 @@ theorem scalarCommutator_all_memLp {n : ℕ} (w : Fin n → Fin 4) | ||
| 69 | 69 | def commutatorH6Norm (n : ℕ) (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) : ℝ := |
| 70 | 70 | ∑ w : Fin n → Fin 4, liftSobolevNorm period 6 (scalarCommutator period w f g) |
| 71 | 71 | |
| 72 | -theorem commutatorH6Norm_nonneg (n : ℕ) (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) : | |
| 73 | - 0 ≤ commutatorH6Norm period n f g := Finset.sum_nonneg fun _ _ => liftSobolevNorm_nonneg period 6 _ | |
| 74 | - | |
| 75 | 72 | @[simp] theorem commutatorH6Norm_zero (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) : |
| 76 | 73 | commutatorH6Norm period 0 f g = 0 := by |
| 77 | 74 | simp [commutatorH6Norm, scalarCommutator, iteratedFieldDerivative_zero, liftSobolevNorm, EulerH6Nonlinear.word_zero] |
+0 −17 Euler/FamilyNormTime.lean View file
| @@ -42,21 +42,4 @@ theorem familyNormTime_tendsto (T : ℝ) (u : ℕ → TimeLp T (I → H)) (v : T | ||
| 42 | 42 | Filter.Tendsto (fun n => familyNormTime T (u n)) Filter.atTop (𝓝 (familyNormTime T v)) := |
| 43 | 43 | (familyNorm_lipschitz.continuous_compLp (by simp [familyNorm, familySquaredNorm])).continuousAt.tendsto.comp hu |
| 44 | 44 | |
| 45 | -/-- Weighted time integrals of actual family forcing norms pass through strong L² approximations. -/ | |
| 46 | -theorem integral_familyNorm_tendsto (T : ℝ) (a : TimeLp T ℝ) | |
| 47 | - (u : ℕ → TimeLp T (I → H)) (v : TimeLp T (I → H)) | |
| 48 | - (hu : Filter.Tendsto u Filter.atTop (𝓝 v)) : | |
| 49 | - Filter.Tendsto (fun n => ∫ t, a t * familyNorm (u n t) ∂timeMeasure T) Filter.atTop | |
| 50 | - (𝓝 (∫ t, a t * familyNorm (v t) ∂timeMeasure T)) := by | |
| 51 | - have he (f : TimeLp T (I → H)) : ⟪a, familyNormTime T f⟫_ℝ = | |
| 52 | - ∫ t, a t * familyNorm (f t) ∂timeMeasure T := by | |
| 53 | - rw [L2.inner_def] | |
| 54 | - apply integral_congr_ae | |
| 55 | - filter_upwards [familyNormTime_ae T f] with t ht | |
| 56 | - rw [ht] | |
| 57 | - simp [RCLike.inner_apply, mul_comm] | |
| 58 | - have h : Filter.Tendsto (fun n => ⟪a, familyNormTime T (u n)⟫_ℝ) Filter.atTop (𝓝 ⟪a, familyNormTime T v⟫_ℝ) := | |
| 59 | - Filter.Tendsto.inner tendsto_const_nhds (familyNormTime_tendsto T u v hu) | |
| 60 | - simpa only [he] using h | |
| 61 | - | |
| 62 | 45 | end EulerFamilyNormTime |
+0 −21 Euler/FieldTowerCanonicalGraph.lean View file
| @@ -31,25 +31,4 @@ theorem canonicalGraphWordPath_norm_sq_le (n : ℕ) (w : Fin n → Fin 4) | ||
| 31 | 31 | (2/P+2*P)*‖A.realization (n+1) t‖^2 := |
| 32 | 32 | A.graphWordPath_norm_sq_le A.pointField A.pointField_smooth A.pointField_ae θ hθ n w t |
| 33 | 33 | |
| 34 | -theorem canonicalGraphWordPath_norm_sq_le_high (n : ℕ) (w : Fin n → Fin 4) | |
| 35 | - (q : ℕ) (hq : n+1 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 36 | - ‖A.canonicalGraphWordPath θ hθ n w t‖^2 ≤ | |
| 37 | - (2/P+2*P)*‖A.realization q t‖^2 := by | |
| 38 | - have hn := restrictOperator_bound P hq (A.realization q t) | |
| 39 | - rw [A.restrict_realization] at hn | |
| 40 | - have hP : 0 < P := Fact.out | |
| 41 | - exact (A.canonicalGraphWordPath_norm_sq_le θ hθ n w t).trans | |
| 42 | - (mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (norm_nonneg _) hn 2) (by positivity)) | |
| 43 | - | |
| 44 | -theorem canonicalGraphWordPath_hasDerivAt (B : EulerAllOrderCorrectionData.FieldTower P T) | |
| 45 | - (hT : 0 ≤ T) (n : ℕ) (w : Fin n → Fin 4) (q : ℕ) (hq : n+1 ≤ q) | |
| 46 | - (t : ℝ) (ht : t ∈ Ioo 0 T) | |
| 47 | - (hd : HasDerivAt (extendPath T hT (A.realization q)) | |
| 48 | - (B.realization q ⟨t,ht.1.le,ht.2.le⟩) t) : | |
| 49 | - HasDerivAt (extendPath T hT (A.canonicalGraphWordPath θ hθ n w)) | |
| 50 | - (B.canonicalGraphWordPath θ hθ n w ⟨t,ht.1.le,ht.2.le⟩) t := | |
| 51 | - A.graphWordPath_hasDerivAt B A.pointField B.pointField A.pointField_smooth B.pointField_smooth | |
| 52 | - A.pointField_ae B.pointField_ae θ hθ hT n w t ht | |
| 53 | - (A.realization_hasDerivAt_of_le B hq hT ⟨t,ht.1.le,ht.2.le⟩ hd) | |
| 54 | - | |
| 55 | 34 | end EulerAllOrderCorrectionData.FieldTower |
+0 −37 Euler/FieldTowerGraphDerivative.lean View file
| @@ -22,41 +22,4 @@ variable {P T : ℝ} [Fact (0 < P)] | ||
| 22 | 22 | (hb : ∀ t, (B.field t : LiftDomain P → Vector3) =ᵐ[liftMeasure P] g t) |
| 23 | 23 | (θ : Vector3 → AddCircle P) (hθ : Continuous θ) |
| 24 | 24 | |
| 25 | -theorem graphWordPath_hasDerivWithinAt (hT : 0 ≤ T) (n : ℕ) (w : Fin n → Fin 4) | |
| 26 | - (t : Icc (0 : ℝ) T) | |
| 27 | - (hd : HasDerivWithinAt (extendPath T hT (A.realization (n+1))) | |
| 28 | - (B.realization (n+1) t) (Icc (0 : ℝ) T) t) : | |
| 29 | - HasDerivWithinAt (extendPath T hT (A.graphWordPath f hf ha θ hθ n w)) | |
| 30 | - (B.graphWordPath g hg hb θ hθ n w t) (Icc (0 : ℝ) T) t := by | |
| 31 | - refine graph_hasDerivWithinAt P | |
| 32 | - (extendPath T hT (A.derivativeWordPath (n+1) n w (by omega))) | |
| 33 | - (extendPath T hT (A.derivativeWordPath (n+1) (n+1) (Fin.cons 0 w) le_rfl)) | |
| 34 | - (fun r => iteratedFieldDerivative P w (f (projIcc 0 T hT r))) | |
| 35 | - (fun r => iteratedFieldDerivative_smooth P w _ (hf (projIcc 0 T hT r))) | |
| 36 | - (fun r => A.derivativeWordPath_ae f hf ha (n+1) n w (by omega) (projIcc 0 T hT r)) | |
| 37 | - (fun r => A.graphWord_angular_ae f hf ha n w (projIcc 0 T hT r)) θ hθ | |
| 38 | - (extendPath T hT (A.graphWordPath f hf ha θ hθ n w)) | |
| 39 | - (fun r => A.graphWordPath_ae f hf ha θ hθ n w (projIcc 0 T hT r)) | |
| 40 | - (iteratedFieldDerivative P w (g t)) | |
| 41 | - (iteratedFieldDerivative_smooth P w _ (hg t)) | |
| 42 | - (B.derivativeWordPath (n+1) n w (by omega) t) | |
| 43 | - (B.derivativeWordPath (n+1) (n+1) (Fin.cons 0 w) le_rfl t) | |
| 44 | - (B.derivativeWordPath_ae g hg hb (n+1) n w (by omega) t) | |
| 45 | - (B.graphWord_angular_ae g hg hb n w t) | |
| 46 | - (B.graphWordPath g hg hb θ hθ n w t) | |
| 47 | - (B.graphWordPath_ae g hg hb θ hθ n w t) (Icc (0 : ℝ) T) t ?_ ?_ | |
| 48 | - · exact (wordOperator P (⟨⟨n,by omega⟩,w⟩ : SobolevWord (n+1))).hasFDerivAt.comp_hasDerivWithinAt | |
| 49 | - (t : ℝ) hd | |
| 50 | - · exact (wordOperator P (⟨⟨n+1,by omega⟩,Fin.cons 0 w⟩ : SobolevWord (n+1))).hasFDerivAt.comp_hasDerivWithinAt | |
| 51 | - (t : ℝ) hd | |
| 52 | - | |
| 53 | -theorem graphWordPath_hasDerivAt (hT : 0 ≤ T) (n : ℕ) (w : Fin n → Fin 4) | |
| 54 | - (t : ℝ) (ht : t ∈ Ioo 0 T) | |
| 55 | - (hd : HasDerivAt (extendPath T hT (A.realization (n+1))) | |
| 56 | - (B.realization (n+1) ⟨t,ht.1.le,ht.2.le⟩) t) : | |
| 57 | - HasDerivAt (extendPath T hT (A.graphWordPath f hf ha θ hθ n w)) | |
| 58 | - (B.graphWordPath g hg hb θ hθ n w ⟨t,ht.1.le,ht.2.le⟩) t := | |
| 59 | - (A.graphWordPath_hasDerivWithinAt B f g hf hg ha hb θ hθ hT n w | |
| 60 | - ⟨t,ht.1.le,ht.2.le⟩ hd.hasDerivWithinAt).hasDerivAt (Icc_mem_nhds ht.1 ht.2) | |
| 61 | - | |
| 62 | 25 | end EulerAllOrderCorrectionData.FieldTower |
+0 −4 Euler/FieldTowerJetLp.lean View file
| @@ -75,8 +75,4 @@ theorem coverTensor_weighted (n : ℕ) (ρ C : ℝ) (hρ : 0 < ρ) | ||
| 75 | 75 | mul_le_mul_of_nonneg_left hlevel (pow_nonneg (norm_nonneg _) n) |
| 76 | 76 | _ = _ := by rw [weight, div_div_eq_mul_div, mul_pow, inv_pow]; ring |
| 77 | 77 | |
| 78 | -theorem toSmoothTimeField_jetSeries (n : ℕ) (t : Icc (0 : ℝ) T) : | |
| 79 | - (fun q => jetSeries P (A.toSmoothTimeField.field t : LiftTangent → Vector3) q n) = | |
| 80 | - tensor P (A.pointField t) n := rfl | |
| 81 | - | |
| 82 | 78 | end EulerAllOrderCorrectionData.FieldTower |
+0 −9 Euler/FieldTowerPointwiseGevrey.lean View file
| @@ -92,13 +92,4 @@ theorem pointField_wordSum_gevrey (s q N n : ℕ) (hq : 3 ≤ q) | ||
| 92 | 92 | simpa only [mul_comm] using hw |
| 93 | 93 | exact hd.trans_eq (by rw [weight, div_div_eq_mul_div, inv_pow]; ring) |
| 94 | 94 | |
| 95 | -theorem pointField_word_gevrey (s q N n : ℕ) (hq : 3 ≤ q) | |
| 96 | - (hns : n+q ≤ s) (hnN : n ≤ N) (ρ C : ℝ) (hρ : 0 < ρ) | |
| 97 | - (t : Icc (0 : ℝ) T) (hC : weightedNorm P q N ρ (A.realization s t) ≤ C) | |
| 98 | - (w : Fin n → Fin 4) (x : LiftDomain P) : | |
| 99 | - ‖iteratedFieldDerivative P w (A.pointField t) x‖ ≤ | |
| 100 | - (sobolevEmbeddingConstant P 3*C)*(ρ⁻¹)^n*(n.factorial : ℝ)^2 := | |
| 101 | - (single_le_sum (fun v _ => norm_nonneg (iteratedFieldDerivative P v (A.pointField t) x)) (mem_univ w)).trans | |
| 102 | - (A.pointField_wordSum_gevrey s q N n hq hns hnN ρ C hρ t hC x) | |
| 103 | - | |
| 104 | 95 | end EulerAllOrderCorrectionData.FieldTower |
+0 −8 Euler/FieldTowerRepresentative.lean View file
| @@ -55,12 +55,4 @@ theorem pointField_eq_high (q : ℕ) (hq : 3 ≤ q) (t : Icc (0 : ℝ) T) | ||
| 55 | 55 | A.pointField t x = pointEvaluation P x (restrictOperator P hq (A.realization q t)) := |
| 56 | 56 | congrArg (pointEvaluation P x) (A.restrict_realization hq t).symm |
| 57 | 57 | |
| 58 | -theorem pointField_hasDerivWithinAt (B : EulerAllOrderCorrectionData.FieldTower P T) | |
| 59 | - (hT : 0 ≤ T) (t : Icc (0 : ℝ) T) | |
| 60 | - (hd : HasDerivWithinAt (extendPath T hT (A.realization 3)) | |
| 61 | - (B.realization 3 t) (Icc (0 : ℝ) T) t) (x : LiftDomain P) : | |
| 62 | - HasDerivWithinAt (fun r => A.pointField (projIcc 0 T hT r) x) | |
| 63 | - (B.pointField t x) (Icc (0 : ℝ) T) t := | |
| 64 | - (pointEvaluation P x).hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) hd | |
| 65 | - | |
| 66 | 58 | end EulerAllOrderCorrectionData.FieldTower |
+0 −8 Euler/FieldTowerSmoothTimeField.lean View file
| @@ -74,14 +74,6 @@ def toSmoothTimeField : SmoothTimeField (Icc (0 : ℝ) T) LiftTangent Space := | ||
| 74 | 74 | @[simp] theorem toSmoothTimeField_apply (t : Icc (0 : ℝ) T) (x : LiftTangent) : |
| 75 | 75 | A.toSmoothTimeField.field t x = A.pointField t (coveringMap P x) := rfl |
| 76 | 76 | |
| 77 | -theorem toSmoothTimeField_timeDerivative (B : EulerAllOrderCorrectionData.FieldTower P T) | |
| 78 | - (hT : 0 ≤ T) | |
| 79 | - (hd : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT (A.realization 3)) | |
| 80 | - (B.realization 3 t) (Icc (0 : ℝ) T) t) : | |
| 81 | - SmoothTimeField.TimeDerivative T hT A.toSmoothTimeField B.toSmoothTimeField := by | |
| 82 | - intro t x | |
| 83 | - exact A.pointField_hasDerivWithinAt B hT t (hd t) (coveringMap P x) | |
| 84 | - | |
| 85 | 77 | theorem toSmoothTimeField_timeDerivative_of_interior |
| 86 | 78 | (B : EulerAllOrderCorrectionData.FieldTower P T) (hT : 0 ≤ T) |
| 87 | 79 | (q : ℕ) (hq : 3 ≤ q) |
+0 −31 Euler/FieldTowerTimeRestriction.lean View file
| @@ -17,35 +17,4 @@ local instance restrictionSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace P q) : | ||
| 17 | 17 | local instance restrictionTopology (q : ℕ) : TopologicalSpace (SobolevSpace P q) := |
| 18 | 18 | (inferInstance : PseudoMetricSpace (SobolevSpace P q)).toUniformSpace.toTopologicalSpace |
| 19 | 19 | |
| 20 | -theorem realization_hasDerivWithinAt_of_le {p q : ℕ} (h : q ≤ p) | |
| 21 | - (hT : 0 ≤ T) (t : Icc (0 : ℝ) T) | |
| 22 | - (hd : HasDerivWithinAt (extendPath T hT (A.realization p)) | |
| 23 | - (B.realization p t) (Icc (0 : ℝ) T) t) : | |
| 24 | - HasDerivWithinAt (extendPath T hT (A.realization q)) | |
| 25 | - (B.realization q t) (Icc (0 : ℝ) T) t := by | |
| 26 | - have hder : HasDerivWithinAt | |
| 27 | - (fun r => restrictOperator P h (extendPath T hT (A.realization p) r)) | |
| 28 | - (restrictOperator P h (B.realization p t)) (Icc (0 : ℝ) T) t := | |
| 29 | - (restrictOperator P h).hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) hd | |
| 30 | - have he : (fun r => restrictOperator P h (extendPath T hT (A.realization p) r)) = | |
| 31 | - extendPath T hT (A.realization q) := | |
| 32 | - funext (fun r => A.restrict_realization h (projIcc 0 T hT r)) | |
| 33 | - rw [he,B.restrict_realization h t] at hder | |
| 34 | - exact hder | |
| 35 | - | |
| 36 | -theorem realization_hasDerivAt_of_le {p q : ℕ} (h : q ≤ p) | |
| 37 | - (hT : 0 ≤ T) (t : Icc (0 : ℝ) T) | |
| 38 | - (hd : HasDerivAt (extendPath T hT (A.realization p)) | |
| 39 | - (B.realization p t) t) : | |
| 40 | - HasDerivAt (extendPath T hT (A.realization q)) (B.realization q t) t := by | |
| 41 | - have hder : HasDerivAt | |
| 42 | - (fun r => restrictOperator P h (extendPath T hT (A.realization p) r)) | |
| 43 | - (restrictOperator P h (B.realization p t)) t := | |
| 44 | - (restrictOperator P h).hasFDerivAt.comp_hasDerivAt (t : ℝ) hd | |
| 45 | - have he : (fun r => restrictOperator P h (extendPath T hT (A.realization p) r)) = | |
| 46 | - extendPath T hT (A.realization q) := | |
| 47 | - funext (fun r => A.restrict_realization h (projIcc 0 T hT r)) | |
| 48 | - rw [he,B.restrict_realization h t] at hder | |
| 49 | - exact hder | |
| 50 | - | |
| 51 | 20 | end EulerAllOrderCorrectionData.FieldTower |
+0 −40 Euler/FieldTowerVolumeSobolev.lean View file
| @@ -18,32 +18,6 @@ variable {K : Type*} [TopologicalSpace K] [FirstCountableTopology K] | ||
| 18 | 18 | Continuous (fun z : K × Vector3 => iteratedFDeriv ℝ i (Y z.1) z.2)) |
| 19 | 19 | (hB : ∀ i, 1 ≤ i → i ≤ n → ∀ t x, ‖iteratedFDeriv ℝ i (Y t) x‖ ≤ D^i) |
| 20 | 20 | |
| 21 | -theorem tensorPath_norm_le (g : K → Vector3 → Vector3) | |
| 22 | - (hg : ∀ t, ContDiff ℝ ∞ (g t)) (hY : ∀ t, ContDiff ℝ ∞ (Y t)) | |
| 23 | - (hu : ∀ i t, (u i t : Vector3 → Tensor i) =ᵐ[volume] iteratedFDeriv ℝ i (g t)) (t : K) : | |
| 24 | - ‖tensorPath Y hmp u D hD hJ hB t‖ ≤ | |
| 25 | - ((n.factorial : ℝ)*D^n)*∑ i : Fin (n+1), ‖u i.val t‖ := by | |
| 26 | - have hLp : ∀ i, i ≤ n → MemLp (iteratedFDeriv ℝ i (g t)) 2 volume := | |
| 27 | - fun i _ => (memLp_congr_ae (hu i t)).mp (Lp.memLp (u i t)) | |
| 28 | - let V := compositionTensorLp (Y t) (g t) (hY t) (hg t) n D hD | |
| 29 | - (fun i h1 hi => hB i h1 hi t) (hmp t) hLp | |
| 30 | - have he : tensorPath Y hmp u D hD hJ hB t = V := by | |
| 31 | - apply Lp.ext | |
| 32 | - exact (tensorPath_ae Y hmp u D hD hJ hB g hg hY hu t).trans | |
| 33 | - (compositionTensor_memLp (Y t) (g t) (hY t) (hg t) n D hD | |
| 34 | - (fun i h1 hi => hB i h1 hi t) (hmp t) hLp).coeFn_toLp.symm | |
| 35 | - rw [he] | |
| 36 | - calc | |
| 37 | - ‖V‖ ≤ ((n.factorial : ℝ)*D^n)*∑ i : Fin (n+1), | |
| 38 | - (eLpNorm (iteratedFDeriv ℝ i.val (g t)) 2 volume).toReal := | |
| 39 | - compositionTensorLp_norm_le (Y t) (g t) (hY t) (hg t) n D hD | |
| 40 | - (fun i h1 hi => hB i h1 hi t) (hmp t) hLp | |
| 41 | - _ = _ := by | |
| 42 | - congr 1 | |
| 43 | - apply Finset.sum_congr rfl | |
| 44 | - intro i _ | |
| 45 | - rw [Lp.norm_def,eLpNorm_congr_ae (hu i.val t)] | |
| 46 | - | |
| 47 | 21 | end EulerVolumeSobolevPath |
| 48 | 22 | |
| 49 | 23 | namespace EulerAllOrderCorrectionData.FieldTower |
| @@ -68,10 +42,6 @@ def volumeTensorPath : C(Icc (0 : ℝ) T, | ||
| 68 | 42 | Lp (Vector3 [×n]→L[ℝ] Vector3) 2 (volume : Measure Vector3)) := |
| 69 | 43 | EulerVolumeSobolevPath.tensorPath Y hmp (fun i => A.physicalTensorPath k m i) D hD hJ hB |
| 70 | 44 | |
| 71 | -theorem volumePointField_smooth (hY : ∀ t, ContDiff ℝ ∞ (Y t)) (t : Icc (0 : ℝ) T) : | |
| 72 | - ContDiff ℝ ∞ (A.volumePointField k m Y t) := | |
| 73 | - (A.physicalPointField_smooth k m t).comp (hY t) | |
| 74 | - | |
| 75 | 45 | theorem volumeTensorPath_ae (hY : ∀ t, ContDiff ℝ ∞ (Y t)) (t : Icc (0 : ℝ) T) : |
| 76 | 46 | (A.volumeTensorPath k m Y hmp n D hD hJ hB t : Vector3 → (Vector3 [×n]→L[ℝ] Vector3)) =ᵐ[volume] |
| 77 | 47 | iteratedFDeriv ℝ n (A.volumePointField k m Y t) := |
| @@ -79,14 +49,4 @@ theorem volumeTensorPath_ae (hY : ∀ t, ContDiff ℝ ∞ (Y t)) (t : Icc (0 : | ||
| 79 | 49 | (A.physicalPointField k m) (A.physicalPointField_smooth k m) hY |
| 80 | 50 | (A.physicalTensorPath_ae k m) t |
| 81 | 51 | |
| 82 | -theorem volumeTensorPath_norm_le (hY : ∀ t, ContDiff ℝ ∞ (Y t)) (t : Icc (0 : ℝ) T) : | |
| 83 | - ‖A.volumeTensorPath k m Y hmp n D hD hJ hB t‖ ≤ | |
| 84 | - ((n.factorial : ℝ)*D^n)*∑ i : Fin (n+1), | |
| 85 | - frequencyFactor k m^i.val*(4 : ℝ)^i.val*Real.sqrt (2/P+2*P)*‖A.realization (i.val+1) t‖ := by | |
| 86 | - have h := EulerVolumeSobolevPath.tensorPath_norm_le Y hmp (fun i => A.physicalTensorPath k m i) | |
| 87 | - D hD hJ hB (A.physicalPointField k m) (A.physicalPointField_smooth k m) hY | |
| 88 | - (A.physicalTensorPath_ae k m) t | |
| 89 | - exact h.trans (mul_le_mul_of_nonneg_left | |
| 90 | - (Finset.sum_le_sum (fun i _ => A.physicalTensorValue_norm_le k m i.val t)) (by positivity)) | |
| 91 | - | |
| 92 | 52 | end EulerAllOrderCorrectionData.FieldTower |
+0 −25 Euler/FiniteEnergyTruncation.lean View file
| @@ -224,22 +224,6 @@ theorem potentialTruncation_eq (u : Space → Space) (hu : ContDiff ℝ ∞ u) | ||
| 224 | 224 | simp only [hy, Pi.one_apply, one_mul] |
| 225 | 225 | exact (curl_congr_nhds _ _ x he).trans (curl_radialPotential u hu hdiv x) |
| 226 | 226 | |
| 227 | -/-- No all-order integrability is needed to construct compact solenoidal | |
| 228 | -extensions agreeing with a smooth divergence-free field on a ball. -/ | |
| 229 | -theorem exists_compact_solenoidal_truncation | |
| 230 | - (u : Space → Space) (hu : ContDiff ℝ ∞ u) (hdiv : ∀ x, divergence u x = 0) | |
| 231 | - (r R : ℝ) (hr : 0 < r) (hrR : r < R) : | |
| 232 | - ∃ w : Space → Space, ContDiff ℝ ∞ w ∧ HasCompactSupport w ∧ | |
| 233 | - tsupport w ⊆ Metric.closedBall 0 R ∧ | |
| 234 | - (∀ x, divergence w x = 0) ∧ (∀ x ∈ Metric.ball 0 r, w x = u x) := by | |
| 235 | - let χ : ContDiffBump (0 : Space) := ⟨r, R, hr, hrR⟩ | |
| 236 | - refine ⟨potentialTruncation u χ, potentialTruncation_smooth u hu χ χ.contDiff, | |
| 237 | - potentialTruncation_compact u χ χ.hasCompactSupport, ?_, | |
| 238 | - potentialTruncation_divergence u hu χ χ.contDiff, ?_⟩ | |
| 239 | - · exact (potentialTruncation_support u χ).trans_eq χ.tsupport_eq | |
| 240 | - · intro x hx | |
| 241 | - exact potentialTruncation_eq u hu hdiv χ x (χ.eventuallyEq_one_of_mem_ball hx) | |
| 242 | - | |
| 243 | 227 | theorem partialDerivative_mul (f g : Space → ℝ) |
| 244 | 228 | (hf : Differentiable ℝ f) (hg : Differentiable ℝ g) (j : Fin 3) (x : Space) : |
| 245 | 229 | partialDerivative (fun y => f y * g y) j x = |
| @@ -442,20 +426,11 @@ theorem truncationCutoff_eventually_one (R : ℝ) (hR : 0 < R) (x : Space) | ||
| 442 | 426 | def finiteEnergyTruncation (u : Space → Space) (R : ℝ) : Space → Space := |
| 443 | 427 | potentialTruncation u (truncationCutoff R) |
| 444 | 428 | |
| 445 | -theorem finiteEnergyTruncation_smooth | |
| 446 | - (u : Space → Space) (hu : ContDiff ℝ ∞ u) (R : ℝ) : | |
| 447 | - ContDiff ℝ ∞ (finiteEnergyTruncation u R) := | |
| 448 | - potentialTruncation_smooth u hu _ (truncationCutoff_smooth R) | |
| 449 | - | |
| 450 | 429 | theorem finiteEnergyTruncation_divergence |
| 451 | 430 | (u : Space → Space) (hu : ContDiff ℝ ∞ u) (R : ℝ) (x : Space) : |
| 452 | 431 | divergence (finiteEnergyTruncation u R) x = 0 := |
| 453 | 432 | potentialTruncation_divergence u hu _ (truncationCutoff_smooth R) x |
| 454 | 433 | |
| 455 | -theorem finiteEnergyTruncation_compact (u : Space → Space) (R : ℝ) (hR : 0 < R) : | |
| 456 | - HasCompactSupport (finiteEnergyTruncation u R) := | |
| 457 | - potentialTruncation_compact u _ (truncationCutoff_compact R hR) | |
| 458 | - | |
| 459 | 434 | theorem finiteEnergyTruncation_support (u : Space → Space) (R : ℝ) (hR : 0 < R) : |
| 460 | 435 | tsupport (finiteEnergyTruncation u R) ⊆ Metric.closedBall 0 (2 * R) := |
| 461 | 436 | (potentialTruncation_support u _).trans (truncationCutoff_support R hR) |
+0 −10 Euler/FiniteGradeDiagonal.lean View file
| @@ -33,14 +33,4 @@ theorem convolution_eq_range (M n : ℕ) (hn : n ≤ M) | ||
| 33 | 33 | rw [convolution_eq_antidiagonal M n hn] |
| 34 | 34 | exact Finset.Nat.sum_antidiagonal_eq_sum_range_succ (fun i j => B (u i) (v j)) n |
| 35 | 35 | |
| 36 | -/-- No coefficient above the target grade enters its slow convolution. -/ | |
| 37 | -theorem convolution_congr_below (M n : ℕ) (hn : n ≤ M) | |
| 38 | - (B : V →ₗ[ℝ] W →ₗ[ℝ] Q) (u u' : ℕ → V) (v v' : ℕ → W) | |
| 39 | - (hu : ∀ i ≤ n, u i=u' i) (hv : ∀ i ≤ n, v i=v' i) : | |
| 40 | - convolution M B u v n = convolution M B u' v' n := by | |
| 41 | - rw [convolution_eq_range M n hn, convolution_eq_range M n hn] | |
| 42 | - apply sum_congr rfl | |
| 43 | - intro i hi | |
| 44 | - rw [hu i (by have h := mem_range.mp hi; omega), hv (n-i) (Nat.sub_le n i)] | |
| 45 | - | |
| 46 | 36 | end EulerFiniteGrades |
+0 −22 Euler/FiniteIntervalFlow.lean View file
| @@ -34,26 +34,4 @@ omit [NormedSpace ℝ E] in | ||
| 34 | 34 | |
| 35 | 35 | variable [CompleteSpace E] |
| 36 | 36 | |
| 37 | -/-- The actual finite-time flow has an actual two-sided continuous inverse. | |
| 38 | -No flow map, inverse map or ODE solution is assumed. -/ | |
| 39 | -theorem exists_flow_and_inverse (T : ℝ) (hT : 0 ≤ T) | |
| 40 | - (u : C(Icc (0 : ℝ) T, E →ᵇ E)) (K : ℝ≥0) | |
| 41 | - (hLip : ∀ t, LipschitzWith K (u t)) : | |
| 42 | - ∃ X Y : ℝ → E → E, | |
| 43 | - (∀ x, X 0 x = x) ∧ (∀ x, Y 0 x = x) ∧ | |
| 44 | - Continuous (Function.uncurry X) ∧ Continuous (Function.uncurry Y) ∧ | |
| 45 | - (∀ t x, Y t (X t x) = x) ∧ (∀ t x, X t (Y t x) = x) ∧ | |
| 46 | - (∀ (t : Icc (0 : ℝ) T) x, | |
| 47 | - HasDerivAt (fun s => X s x) (u t (X t x)) t) ∧ | |
| 48 | - (∀ (t : Icc (0 : ℝ) T) x, dist (X t x) x ≤ ‖u‖*|t.1|) := by | |
| 49 | - let V := ofTimeInterval T hT u K hLip | |
| 50 | - refine ⟨V.forward, V.backward, V.forward_zero, V.backward_zero, | |
| 51 | - V.forward_joint_continuous, V.backward_joint_continuous, | |
| 52 | - V.backward_forward, V.forward_backward, ?_, ?_⟩ | |
| 53 | - · intro t x | |
| 54 | - have h := V.forward_hasDerivAt t x | |
| 55 | - simpa only [V, ofTimeInterval_velocity] using h | |
| 56 | - · intro t x | |
| 57 | - exact V.forward_displacement t x | |
| 58 | - | |
| 59 | 37 | end EulerBoundedLipschitzFlow |
+0 −24 Euler/FixedEndpointStrong.lean View file
| @@ -164,15 +164,6 @@ theorem continuousCoordinateVelocity_eq (ξ : U) (t : Icc (0 : ℝ) T) : | ||
| 164 | 164 | have hreg := coordinateSlope_h1 T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe ξ |
| 165 | 165 | exact reconstruction_eq_path T hTpos _ _ _ hreg.1 hreg.2.1 hreg.2.2 t |
| 166 | 166 | |
| 167 | -include hd₁ hframe hTpos in | |
| 168 | -theorem historyVelocity_eq (ξ : U) (t : Icc (0 : ℝ) T) : | |
| 169 | - historyVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ t = | |
| 170 | - Q t (coordinateVelocityPath T hT Q Q₁ c hc hQ H | |
| 171 | - (fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall | |
| 172 | - (affineTrial T hT Q Q₁) ξ) t) := by | |
| 173 | - change Q t (continuousCoordinateVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ t) = _ | |
| 174 | - rw [continuousCoordinateVelocity_eq T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe] | |
| 175 | - | |
| 176 | 167 | include hd₁ hframe hTpos in |
| 177 | 168 | theorem continuousCoordinateVelocity_hasDerivWithinAt_generator (ξ : U) (t : Icc (0 : ℝ) T) : |
| 178 | 169 | HasDerivWithinAt |
| @@ -187,21 +178,6 @@ theorem continuousCoordinateVelocity_hasDerivWithinAt_generator (ξ : U) (t : Ic | ||
| 187 | 178 | simpa only [extendPath, projIcc_of_mem hT hs] using |
| 188 | 179 | continuousCoordinateVelocity_eq T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe ξ ⟨s, hs⟩ |
| 189 | 180 | |
| 190 | -include hd₁ hframe hTpos in | |
| 191 | -/-- The affine-terminal coordinate history coincides with the actual | |
| 192 | -homogeneous forward solver with its own initial velocity. -/ | |
| 193 | -theorem continuousCoordinateVelocity_eq_forward | |
| 194 | - (evolution : Evolution T hT (generator T Q Q₁ c hc hQ)) | |
| 195 | - (ξ : U) (t : Icc (0 : ℝ) T) : | |
| 196 | - continuousCoordinateVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ t = | |
| 197 | - coordinates T hT Q Q₁ c hc hQ evolution 0 | |
| 198 | - (continuousCoordinateVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ ⟨0, le_rfl, hT⟩) t := by | |
| 199 | - rw [continuousCoordinateVelocity_eq T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe ξ t, | |
| 200 | - continuousCoordinateVelocity_eq T hT Q Q₁ H c hc hQ hd K hK hH hsmall Q₂ hTpos hd₁ hframe ξ ⟨0, le_rfl, hT⟩] | |
| 201 | - exact coordinateVelocity_eq_forward T hT Q Q₁ Q₂ c hc hQ H hTpos hd hd₁ hframe _ | |
| 202 | - (fixedEndpointDerivative_weak T hT Q Q₁ H c hc hQ hd K hK hH hsmall _ ξ) | |
| 203 | - (coordinateSlope_range T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ) evolution t | |
| 204 | - | |
| 205 | 181 | end Regularity |
| 206 | 182 | |
| 207 | 183 | end EulerFixedEndpointStrong |
+0 −5 Euler/FixedFrameNaturality.lean View file
| @@ -36,11 +36,6 @@ def zeroTraceMap (A : U →L[ℝ] V) : | ||
| 36 | 36 | @[simp] theorem zeroTraceMap_coe (A : U →L[ℝ] V) (u : zeroTraceDerivatives (U := U) T hT) : |
| 37 | 37 | (zeroTraceMap T hT A u : TimeLp T V) = timeLift T A (u : TimeLp T U) := rfl |
| 38 | 38 | |
| 39 | -theorem zeroTraceMap_norm (A : U →L[ℝ] V) : ‖zeroTraceMap T hT A‖ ≤ ‖A‖ := by | |
| 40 | - apply opNorm_le_bound _ (norm_nonneg A) | |
| 41 | - intro u | |
| 42 | - exact timeLift_apply_norm_le T A (u : TimeLp T U) | |
| 43 | - | |
| 44 | 39 | omit [CompleteSpace U] [CompleteSpace V] [CompleteSpace E] [CompleteSpace F] in |
| 45 | 40 | theorem timeMultiplier_intertwines (A : U →L[ℝ] V) (B : E →L[ℝ] F) |
| 46 | 41 | (Q : C(Icc (0 : ℝ) T,U →L[ℝ] E)) (R : C(Icc (0 : ℝ) T,V →L[ℝ] F)) |
+0 −23 Euler/FlowL2Transport.lean View file
| @@ -49,27 +49,4 @@ theorem inversePath_measurePreserving (t : K) : | ||
| 49 | 49 | inverse_measurePreserving (X t) (Y t) (F t) (hX t) (hYX t) (hXY t) |
| 50 | 50 | (Continuous.uncurry_left t hY) (hdet t) |
| 51 | 51 | |
| 52 | -/-- No operator-norm continuity of composition is assumed. Joint strong | |
| 53 | -continuity follows from actual continuity and preservation of volume. -/ | |
| 54 | -def transportPath (u : C(K,Lp E 2 (volume : Measure Vector3))) : | |
| 55 | - C(K,Lp E 2 (volume : Measure Vector3)) where | |
| 56 | - toFun t := Lp.compMeasurePreserving (inversePath Y hY t) | |
| 57 | - (inversePath_measurePreserving X Y F hX hYX hXY hY hdet t) (u t) | |
| 58 | - continuous_toFun := u.continuous.compMeasurePreservingLp | |
| 59 | - (inversePath Y hY).continuous | |
| 60 | - (inversePath_measurePreserving X Y F hX hYX hXY hY hdet) (by norm_num) | |
| 61 | - | |
| 62 | -theorem transportPath_norm (u : C(K,Lp E 2 (volume : Measure Vector3))) (t : K) : | |
| 63 | - ‖transportPath X Y F hX hYX hXY hY hdet u t‖ = ‖u t‖ := | |
| 64 | - Lp.norm_compMeasurePreserving (u t) | |
| 65 | - (inversePath_measurePreserving X Y F hX hYX hXY hY hdet t) | |
| 66 | - | |
| 67 | -theorem transportPath_ae (u : C(K,Lp E 2 (volume : Measure Vector3))) | |
| 68 | - (f : K → Vector3 → E) (hu : ∀ t, (u t : Vector3 → E) =ᵐ[volume] f t) (t : K) : | |
| 69 | - (transportPath X Y F hX hYX hXY hY hdet u t : Vector3 → E) =ᵐ[volume] | |
| 70 | - fun x => f t (Y t x) := | |
| 71 | - (Lp.coeFn_compMeasurePreserving (u t) | |
| 72 | - (inversePath_measurePreserving X Y F hX hYX hXY hY hdet t)).trans | |
| 73 | - ((inversePath_measurePreserving X Y F hX hYX hXY hY hdet t).quasiMeasurePreserving.ae_eq_comp (hu t)) | |
| 74 | - | |
| 75 | 52 | end EulerFlowL2Transport |
+0 −44 Euler/FrozenEvolutionGevrey.lean View file
| @@ -18,48 +18,4 @@ open scoped ContDiff | ||
| 18 | 18 | variable {P E X : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 19 | 19 | [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 20 | 20 | |
| 21 | -/-- The triangular recurrence is derived from actual Fréchet derivatives of | |
| 22 | -the frozen equation; it is not an assumed sequence estimate. -/ | |
| 23 | -theorem derivative_recurrence | |
| 24 | - (B : P → X →L[ℝ] X) (u f : P → X) (a : P → E) | |
| 25 | - (hB : ContDiff ℝ ∞ B) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) (ha : ContDiff ℝ ∞ a) | |
| 26 | - (x : P) (H : E →L[ℝ] X) (K : X →L[ℝ] X) | |
| 27 | - (heq : ∀ y, u y = H (a y) + K (f y + (B y-B x) (u y))) (n : ℕ) : | |
| 28 | - ‖iteratedFDeriv ℝ n u x‖ ≤ ‖H‖*‖iteratedFDeriv ℝ n a x‖ + ‖K‖* | |
| 29 | - (‖iteratedFDeriv ℝ n f x‖ + ∑ j ∈ range n, | |
| 30 | - (n.choose (j+1) : ℝ) * ‖iteratedFDeriv ℝ (j+1) B x‖ * | |
| 31 | - ‖iteratedFDeriv ℝ (n-(j+1)) u x‖) := by | |
| 32 | - let C : P → X →L[ℝ] X := fun y => B y-B x | |
| 33 | - let p : P → X := fun y => C y (u y) | |
| 34 | - let q : P → X := f+p | |
| 35 | - have hC : ContDiff ℝ ∞ C := hB.sub contDiff_const | |
| 36 | - have hp : ContDiff ℝ ∞ p := hC.clm_apply hu | |
| 37 | - have hq : ContDiff ℝ ∞ q := hf.add hp | |
| 38 | - have hfreeze : u = (H ∘ a) + (K ∘ q) := funext heq | |
| 39 | - have hzero : ‖iteratedFDeriv ℝ 0 C x‖ = 0 := by | |
| 40 | - rw [norm_iteratedFDeriv_zero] | |
| 41 | - simp [C] | |
| 42 | - have hpositive (j : ℕ) : iteratedFDeriv ℝ (j+1) C x = iteratedFDeriv ℝ (j+1) B x := by | |
| 43 | - change iteratedFDeriv ℝ (j+1) (B - fun _ => B x) x = _ | |
| 44 | - rw [iteratedFDeriv_sub_apply (hB.contDiffAt.of_le (by simp)) contDiffAt_const] | |
| 45 | - simp only [iteratedFDeriv_succ_const, Pi.zero_apply, sub_zero] | |
| 46 | - have hprod := norm_iteratedFDeriv_clm_apply hC hu x (n := n) (by simp) | |
| 47 | - rw [sum_range_succ'] at hprod | |
| 48 | - simp only [hzero, mul_zero, zero_mul, add_zero, hpositive] at hprod | |
| 49 | - have hqnorm : ‖iteratedFDeriv ℝ n q x‖ ≤ | |
| 50 | - ‖iteratedFDeriv ℝ n f x‖ + ‖iteratedFDeriv ℝ n p x‖ := by | |
| 51 | - change ‖iteratedFDeriv ℝ n (f+p) x‖ ≤ _ | |
| 52 | - rw [iteratedFDeriv_add_apply (hf.contDiffAt.of_le (by simp)) (hp.contDiffAt.of_le (by simp))] | |
| 53 | - exact norm_add_le _ _ | |
| 54 | - have hH := H.norm_iteratedFDeriv_comp_left (x := x) ha.contDiffAt (n := n) (by simp) | |
| 55 | - have hK := K.norm_iteratedFDeriv_comp_left (x := x) hq.contDiffAt (n := n) (by simp) | |
| 56 | - have hsum : ‖iteratedFDeriv ℝ n u x‖ ≤ | |
| 57 | - ‖iteratedFDeriv ℝ n (H ∘ a) x‖ + ‖iteratedFDeriv ℝ n (K ∘ q) x‖ := by | |
| 58 | - conv_lhs => rw [hfreeze] | |
| 59 | - rw [iteratedFDeriv_add_apply ((H.contDiff.comp ha).contDiffAt.of_le (by simp)) | |
| 60 | - ((K.contDiff.comp hq).contDiffAt.of_le (by simp))] | |
| 61 | - exact norm_add_le _ _ | |
| 62 | - exact hsum.trans (add_le_add hH (hK.trans (mul_le_mul_of_nonneg_left | |
| 63 | - (hqnorm.trans (add_le_add le_rfl hprod)) (norm_nonneg K)))) | |
| 64 | - | |
| 65 | 21 | end EulerFrozenEvolutionGevrey |
+0 −3 Euler/GaussianCylinderHeat.lean View file
| @@ -66,9 +66,6 @@ def lineHeatOperator (a : LiftTangent) (v : ℝ≥0) : LiftL2 period →L[ℝ] L | ||
| 66 | 66 | @[simp] theorem lineHeatOperator_apply (a : LiftTangent) (v : ℝ≥0) (f : LiftL2 period) : |
| 67 | 67 | lineHeatOperator period a v f = lineHeat period a v f := rfl |
| 68 | 68 | |
| 69 | -theorem lineHeatOperator_norm_le (a : LiftTangent) (v : ℝ≥0) : ‖lineHeatOperator period a v‖ ≤ 1 := | |
| 70 | - ContinuousLinearMap.opNorm_le_bound _ zero_le_one (fun f => by simpa using lineHeat_norm_le period a v f) | |
| 71 | - | |
| 72 | 69 | /-- The heat average commutes with every cylinder translation. -/ |
| 73 | 70 | theorem lineHeat_translation (a : LiftTangent) (v : ℝ≥0) (b : LiftDomain period) (f : LiftL2 period) : |
| 74 | 71 | translation period b (lineHeat period a v f) = lineHeat period a v (translation period b f) := by |
+0 −28 Euler/GaussianHeatGenerator.lean View file
| @@ -26,17 +26,6 @@ theorem realLineHeat_eq (a : LiftTangent) {t : ℝ} (ht : 0 ≤ t) (f : LiftL2 p | ||
| 26 | 26 | rw [realLineHeat_eq period a le_rfl] |
| 27 | 27 | exact lineHeat_zero period a f |
| 28 | 28 | |
| 29 | -theorem realLineHeat_continuous (a : LiftTangent) (f : LiftL2 period) : | |
| 30 | - Continuous (fun t : ℝ => realLineHeat period a t f) := by | |
| 31 | - apply continuous_of_dominated (bound := fun _ : ℝ => ‖f‖) | |
| 32 | - · intro t | |
| 33 | - exact ((lineOrbit_continuous period a f).comp (continuous_const.mul continuous_id)).aestronglyMeasurable | |
| 34 | - · intro t | |
| 35 | - exact Filter.Eventually.of_forall (fun x => (lineOrbit_norm period a f _).le) | |
| 36 | - · exact integrable_const _ | |
| 37 | - · exact Filter.Eventually.of_forall (fun x => | |
| 38 | - (lineOrbit_continuous period a f).comp (Real.continuous_sqrt.mul_const x)) | |
| 39 | - | |
| 40 | 29 | /-- The chain-rule derivative of a scaled orbit, before Gaussian integration. -/ |
| 41 | 30 | theorem scaledOrbit_hasDerivAt (a : LiftTangent) (f g : LiftL2 period) |
| 42 | 31 | (hD : HasDerivAt (lineOrbit period a f) g 0) (x t : ℝ) (ht : 0 < t) : |
| @@ -128,21 +117,4 @@ theorem realLineHeat_generator_pos (a : LiftTangent) (f g h : LiftL2 period) | ||
| 128 | 117 | ← realLineHeat_eq period a ht.le h] at hd |
| 129 | 118 | exact hd |
| 130 | 119 | |
| 131 | -/-- The generator formula also holds as a genuine right derivative at zero variance. -/ | |
| 132 | -theorem realLineHeat_generator_zero (a : LiftTangent) (f g h : LiftL2 period) | |
| 133 | - (hD : HasDerivAt (lineOrbit period a f) g 0) | |
| 134 | - (hDD : HasDerivAt (lineOrbit period a g) h 0) : | |
| 135 | - HasDerivWithinAt (fun s => realLineHeat period a s f) ((1/2 : ℝ) • h) (Set.Ici 0) 0 := by | |
| 136 | - have hlim : Filter.Tendsto (fun s => (1/2 : ℝ) • realLineHeat period a s h) | |
| 137 | - (𝓝[>] (0 : ℝ)) (𝓝 ((1/2 : ℝ) • h)) := by | |
| 138 | - have hc : ContinuousAt (fun s => (1/2 : ℝ) • realLineHeat period a s h) 0 := | |
| 139 | - ((realLineHeat_continuous period a h).const_smul (1/2 : ℝ)).continuousAt | |
| 140 | - simpa only [realLineHeat_zero] using (hc.continuousWithinAt (s := Set.Ioi 0)).tendsto | |
| 141 | - apply hasDerivWithinAt_Ici_of_tendsto_deriv (s := Set.Ioi 0) | |
| 142 | - (fun t ht => (realLineHeat_generator_pos period a f g h hD hDD ht).differentiableAt.differentiableWithinAt) | |
| 143 | - (realLineHeat_continuous period a f).continuousAt.continuousWithinAt self_mem_nhdsWithin | |
| 144 | - apply hlim.congr' | |
| 145 | - filter_upwards [self_mem_nhdsWithin] with t ht | |
| 146 | - exact (realLineHeat_generator_pos period a f g h hD hDD ht).deriv.symm | |
| 147 | - | |
| 148 | 120 | end EulerGaussianCylinderHeat |
+0 −16 Euler/GaussianHeatSmoothing.lean View file
| @@ -80,20 +80,4 @@ theorem lineHeat_one_derivative (a : LiftTangent) {v : ℝ≥0} (hv : 0 < v) (f | ||
| 80 | 80 | ⟨lineHeatDerivative period a v f, lineHeat_hasDerivAt period a hv f, |
| 81 | 81 | lineHeatDerivative_smoothing_bound period a hv f⟩ |
| 82 | 82 | |
| 83 | -/-- The derivative of the heat average commutes with every cylinder translation. -/ | |
| 84 | -theorem lineHeatDerivative_translation (a : LiftTangent) (v : ℝ≥0) (b : LiftDomain period) (f : LiftL2 period) : | |
| 85 | - translation period b (lineHeatDerivative period a v f) = | |
| 86 | - lineHeatDerivative period a v (translation period b f) := by | |
| 87 | - simp only [lineHeatDerivative, map_smul] | |
| 88 | - congr 1 | |
| 89 | - change (translation period b).toContinuousLinearMap | |
| 90 | - (∫ x : ℝ, x • lineOrbit period a f x ∂gaussianReal 0 v) = _ | |
| 91 | - rw [← (translation period b).toContinuousLinearMap.integral_comp_comm (gaussianMomentOrbit_integrable period a v f)] | |
| 92 | - apply integral_congr_ae | |
| 93 | - apply Filter.Eventually.of_forall | |
| 94 | - intro x | |
| 95 | - change translation period b (x • translation period (translationPath period a x) f) = | |
| 96 | - x • translation period (translationPath period a x) (translation period b f) | |
| 97 | - rw [map_smul, translation_add, translation_add, add_comm b] | |
| 98 | - | |
| 99 | 83 | end EulerGaussianCylinderHeat |
+0 −21 Euler/GeneralRealCylinderAlgebra.lean View file
| @@ -54,27 +54,6 @@ theorem real_product_word_memLp {q n : ℕ} (hq : 6 ≤ q) (hn : n ≤ q) (w : F | ||
| 54 | 54 | filter_upwards [] with x |
| 55 | 55 | exact (Complex.norm_real _).ge |
| 56 | 56 | |
| 57 | -/-- Every scalar-vector product derivative through order q is genuinely in L². -/ | |
| 58 | -theorem scalar_vector_product_word_memLp {q n : ℕ} (hq : 6 ≤ q) (hn : n ≤ q) (d : ℕ) | |
| 59 | - (w : Fin n → Fin 4) (f : LiftDomain period → ℝ) (g : LiftDomain period → Domain d) | |
| 60 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 61 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) | |
| 62 | - (hfL2 : ∀ j ≤ q, ∀ v : Fin j → Fin 4, MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) | |
| 63 | - (hgL2 : ∀ j ≤ q, ∀ v : Fin j → Fin 4, MemLp (iteratedFieldDerivative period v g) 2 (liftMeasure period)) : | |
| 64 | - MemLp (iteratedFieldDerivative period w (fun x => f x • g x)) 2 (liftMeasure period) := by | |
| 65 | - apply MemLp.of_eval_piLp | |
| 66 | - intro i | |
| 67 | - have h := real_product_word_memLp period hq hn w f (coordinate d i ∘ g) hf | |
| 68 | - (postcomp_smooth period _ g hg) hfL2 | |
| 69 | - (fun j hj v => postcomp_word_memLp period hj _ g hg hgL2 v) | |
| 70 | - rw [← coordinate_smul period d i f g] at h | |
| 71 | - have he : (fun x => iteratedFieldDerivative period w (fun x => f x • g x) x i) = | |
| 72 | - iteratedFieldDerivative period w (coordinate d i ∘ (fun x => f x • g x)) := by | |
| 73 | - funext x | |
| 74 | - exact (coordinate_word period d i w (fun x => f x • g x) (fun x => (hf x).smul (hg x)) x).symm | |
| 75 | - rw [he] | |
| 76 | - exact h | |
| 77 | - | |
| 78 | 57 | /-- Multiplication of an actual vector field by a scalar field is bounded in every Hq, q≥6. -/ |
| 79 | 58 | theorem cylinder_Hq_scalar_vector_product {q : ℕ} (hq : 6 ≤ q) (d : ℕ) |
| 80 | 59 | (f : LiftDomain period → ℝ) (g : LiftDomain period → Domain d) |
+0 −62 Euler/GevreyCorrectionSplit.lean View file
| @@ -20,24 +20,6 @@ local instance splitSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := | ||
| 20 | 20 | local instance splitBilinearGroup (q : ℕ) : SeminormedAddCommGroup |
| 21 | 21 | (SobolevSpace period (q+1) →L[ℝ] SobolevSpace period (q+1) →L[ℝ] SobolevSpace period q) := inferInstance |
| 22 | 22 | |
| 23 | -/-- The fixed-level algebraic expression is exactly the algebraic term used in the mild solver. -/ | |
| 24 | -theorem algebraicAt_eq {s : ℕ} (hs : 6 ≤ s) | |
| 25 | - (C : Fin 3 → SobolevSpace period s →L[ℝ] SobolevSpace period s) | |
| 26 | - (u v : SobolevSpace period (s+1)) : | |
| 27 | - algebraicAt period hs C (truncateOperator period s u) (truncateOperator period s v) = | |
| 28 | - algebraicBilinear period hs C u v := by | |
| 29 | - rw [algebraicBilinear_apply] | |
| 30 | - rfl | |
| 31 | - | |
| 32 | -/-- The order-zero background transport is exactly e·D z_a in the mild solver. -/ | |
| 33 | -theorem backgroundDrift_eq {s : ℕ} (hs : 6 ≤ s) | |
| 34 | - (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) | |
| 35 | - (u background : SobolevSpace period (s+1)) : | |
| 36 | - backgroundDrift period hs L hL background (truncateOperator period s u) = | |
| 37 | - transportBilinear period hs L hL u background := by | |
| 38 | - rw [transportBilinear_apply] | |
| 39 | - rfl | |
| 40 | - | |
| 41 | 23 | /-- Exact splitting of the actual nonlinear increment into top transport plus the order-zero source. -/ |
| 42 | 24 | theorem correction_split_identity {s : ℕ} (hs : 6 ≤ s) |
| 43 | 25 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| @@ -81,34 +63,6 @@ theorem weightedNorm_neg {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) (u : | ||
| 81 | 63 | change ‖-u.val ⟨⟨n+r, by omega⟩,w⟩‖ = ‖u.val ⟨⟨n+r, by omega⟩,w⟩‖ |
| 82 | 64 | exact norm_neg _ |
| 83 | 65 | |
| 84 | -/-- The actual order-zero pressure bound follows from the genuine projected inverse and the derived nonlinear estimate. -/ | |
| 85 | -theorem orderZeroPressure_bound {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) | |
| 86 | - (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) | |
| 87 | - (G : SmoothCoefficient period) (KG : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s G) | |
| 88 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 89 | - (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪G.coefficient x v,v⟫_ℝ) | |
| 90 | - (hbase : (EulerH6Pressure.CoefficientJet.restrict KG 6 (by omega)).pressureConstant c ≤ M) | |
| 91 | - (hsmall : 4*M*(ρ*Rc) ≤ 1) | |
| 92 | - (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period KG 6 l ≤ Rc^l*(l.factorial : ℝ)^2) | |
| 93 | - (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) | |
| 94 | - (C0 : SmoothCoefficient period) (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s C0) | |
| 95 | - (C : Fin 3 → SmoothCoefficient period) | |
| 96 | - (K : ∀ i, EulerSpatialSobolevInverse.CoefficientJet period standardDirection s (C i)) | |
| 97 | - (background : SobolevSpace period (s+1)) (r e : SobolevSpace period s) : | |
| 98 | - weightedNorm period 6 N ρ (-(pressureSobolevOperator period KG κ m c hc hpos | |
| 99 | - (orderZeroSource period hs L hL (coefficientSobolevOperator period K0) | |
| 100 | - (fun i => coefficientSobolevOperator period (K i)) background r e))) ≤ | |
| 101 | - 2*M*(weightedNorm period 6 N ρ r + | |
| 102 | - (productConstant period 3 * (∑ i : Fin 4, weightedNorm period 6 N ρ (derivativeOperator period s i background)) + | |
| 103 | - weightedCoefficient period K0 6 N ρ + | |
| 104 | - 2 * (∑ i : Fin 3, weightedCoefficient period (K i) 6 N ρ) * productConstant period 3 * | |
| 105 | - weightedNorm period 6 N ρ (truncateOperator period s background)) * weightedNorm period 6 N ρ e + | |
| 106 | - (∑ i : Fin 3, weightedCoefficient period (K i) 6 N ρ) * productConstant period 3 * (weightedNorm period 6 N ρ e)^2) := by | |
| 107 | - rw [weightedNorm_neg period 6 N hN] | |
| 108 | - exact (weightedNorm_pressure period KG κ m c hc hpos N hN ρ Rc M hρ hRc hM hbase hsmall hcoeff _).trans | |
| 109 | - (mul_le_mul_of_nonneg_left (orderZeroSource_bound period hs N hN ρ hρ L hL C0 K0 C K background r e) | |
| 110 | - (by linarith : 0 ≤ 2*M)) | |
| 111 | - | |
| 112 | 66 | /-- The solver's actual raw source has exactly the transport/order-zero decomposition used by the energy estimate. -/ |
| 113 | 67 | theorem correctionData_rawSource_split {s : ℕ} {T : Type*} [TopologicalSpace T] |
| 114 | 68 | (D : CorrectionData period s T) (hs : 6 ≤ s) (t : T) (e : SobolevSpace period (s+1)) : |
| @@ -122,20 +76,4 @@ theorem correctionData_rawSource_split {s : ℕ} {T : Type*} [TopologicalSpace T | ||
| 122 | 76 | (D.approximation t) (D.residual t) (truncateOperator period s e) := |
| 123 | 77 | correction_split_identity period hs _ _ _ _ _ _ _ |
| 124 | 78 | |
| 125 | -/-- The actual signed correction pressure is the sum of its order-zero and transport pressure solves. -/ | |
| 126 | -theorem correctionData_pressure_split {s : ℕ} {T : Type*} [TopologicalSpace T] | |
| 127 | - (D : CorrectionData period s T) (hs : 6 ≤ s) (t : T) (e : SobolevSpace period (s+1)) : | |
| 128 | - D.pressure period hs t e = | |
| 129 | - -(pressureSobolevOperator period (D.metric.jet t) D.κ D.direction D.coercivity D.coercivity_pos (D.metric_pos t) | |
| 130 | - (transportBilinear period hs (velocityComponents D.κ D.direction) | |
| 131 | - (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) (D.approximation t+e) e)) + | |
| 132 | - -(pressureSobolevOperator period (D.metric.jet t) D.κ D.direction D.coercivity D.coercivity_pos (D.metric_pos t) | |
| 133 | - (orderZeroSource period hs (velocityComponents D.κ D.direction) | |
| 134 | - (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) | |
| 135 | - (coefficientSobolevOperator period (D.linear.jet t)) | |
| 136 | - (fun i => coefficientSobolevOperator period ((D.quadratic i).jet t)) | |
| 137 | - (D.approximation t) (D.residual t) (truncateOperator period s e))) := by | |
| 138 | - unfold CorrectionData.pressure | |
| 139 | - simp only [correctionData_rawSource_split period D hs t e, map_add, neg_add] | |
| 140 | - | |
| 141 | 79 | end EulerGevreyOrderZero |
+0 −27 Euler/GevreyFlowFinite.lean View file
| @@ -170,31 +170,4 @@ theorem flow_generating_sum_bound_of_jet_derivative | ||
| 170 | 170 | exact jet_integral_of_hasDerivWithinAt ψ (fun s => b s ∘ (id+ψ s)) |
| 171 | 171 | n T hψ0 (hd n hn) (hcv n hn) t ht x |
| 172 | 172 | |
| 173 | -/-- All positive spatial orders have the same radius 4R and the same | |
| 174 | -linear amplitude B*t. Smoothness and the jet equation are qualitative | |
| 175 | -inputs; the derivative estimates are conclusions. -/ | |
| 176 | -theorem flow_positive_derivative_bound | |
| 177 | - (ψ b : ℝ → E → E) (T B R : ℝ) | |
| 178 | - (hT : 0 ≤ T) (hB : 0 ≤ B) (hR : 0 < R) (hsmall : B*R*T ≤ 1/8) | |
| 179 | - (hψ : ∀ t ∈ Icc 0 T, ContDiff ℝ ∞ (ψ t)) | |
| 180 | - (hb : ∀ t ∈ Icc 0 T, ContDiff ℝ ∞ (b t)) (hψ0 : ψ 0 = 0) | |
| 181 | - (hbjet : ∀ t ∈ Icc 0 T, ∀ y, ∀ n, 0 < n → | |
| 182 | - ‖iteratedFDeriv ℝ n (b t) y‖ ≤ B*R^n*(n.factorial : ℝ)^2) | |
| 183 | - (hd : ∀ n, 0 < n → ∀ t ∈ Icc 0 T, ∀ x, | |
| 184 | - HasDerivWithinAt (fun s => iteratedFDeriv ℝ n (ψ s) x) | |
| 185 | - (iteratedFDeriv ℝ n (b t ∘ (id+ψ t)) x) (Icc 0 T) t) | |
| 186 | - (hcv : ∀ n, 0 < n → ∀ x, | |
| 187 | - ContinuousOn (fun t => iteratedFDeriv ℝ n (b t ∘ (id+ψ t)) x) (Icc 0 T)) : | |
| 188 | - ∀ t ∈ Icc 0 T, ∀ x, ∀ n, 0 < n → | |
| 189 | - ‖iteratedFDeriv ℝ n (ψ t) x‖ ≤ B*t*(4*R)^n*(n.factorial : ℝ)^2 := by | |
| 190 | - intro t ht x n hn | |
| 191 | - apply derivative_bound_of_generating_sum (ψ t) n n R (B*t) x hR | |
| 192 | - (Finset.mem_Icc.mpr ⟨hn,le_rfl⟩) | |
| 193 | - exact flow_generating_sum_bound_of_jet_derivative ψ b n T B R hT hB hR hsmall | |
| 194 | - (fun s hs => (hψ s hs).of_le (by simp)) | |
| 195 | - (fun s hs => (hb s hs).of_le (by simp)) hψ0 | |
| 196 | - (fun s hs y j hj => hbjet s hs y j (Finset.mem_Icc.mp hj).1) | |
| 197 | - (fun j hj => hd j (Finset.mem_Icc.mp hj).1) | |
| 198 | - (fun j hj => hcv j (Finset.mem_Icc.mp hj).1) t ht x | |
| 199 | - | |
| 200 | 173 | end EulerGevreyFlowFinite |
+0 −4 Euler/GevreyGeneratingDerivatives.lean View file
| @@ -21,10 +21,6 @@ variable {E F G : Type*} | ||
| 21 | 21 | def derivativeSum (f : E → F) (N : ℕ) (z : ℝ) (x : E) : ℝ := |
| 22 | 22 | generatingSum (ftaylorSeries ℝ f x) N z |
| 23 | 23 | |
| 24 | -theorem derivativeSum_nonneg (f : E → F) (N : ℕ) (z : ℝ) (x : E) | |
| 25 | - (hz : 0 ≤ z) : 0 ≤ derivativeSum f N z x := | |
| 26 | - generatingSum_nonneg _ _ _ hz | |
| 27 | - | |
| 28 | 24 | theorem derivativeSum_add_le (f g : E → F) (N : ℕ) (z : ℝ) (x : E) |
| 29 | 25 | (hf : ContDiffAt ℝ N f x) (hg : ContDiffAt ℝ N g x) (hz : 0 ≤ z) : |
| 30 | 26 | derivativeSum (f+g) N z x ≤ derivativeSum f N z x+derivativeSum g N z x := by |
+0 −26 Euler/GevreyGrowthCoefficient.lean View file
| @@ -20,17 +20,6 @@ def growthBase (K : SmoothCoefficient period) (K' : LiftL2 period →L[ℝ] Lift | ||
| 20 | 20 | def growthSlope (K : SmoothCoefficient period) (κ : ℝ) (m : Vector3) (c : ℝ) : ℝ := |
| 21 | 21 | (K.firstBound : ℝ)*(|κ|+‖m‖)/(2*c^2) |
| 22 | 22 | |
| 23 | -theorem growthBase_nonneg (K : SmoothCoefficient period) (K' : LiftL2 period →L[ℝ] LiftL2 period) (c : ℝ) : | |
| 24 | - 0 ≤ growthBase period K K' c := by | |
| 25 | - unfold growthBase heatEnergyConstant | |
| 26 | - positivity | |
| 27 | - | |
| 28 | -omit [Fact (0 < period)] in | |
| 29 | -theorem growthSlope_nonneg (K : SmoothCoefficient period) (κ : ℝ) (m : Vector3) (c : ℝ) : | |
| 30 | - 0 ≤ growthSlope period K κ m c := by | |
| 31 | - unfold growthSlope | |
| 32 | - positivity | |
| 33 | - | |
| 34 | 23 | /-- Artificial viscosity contributes no unbounded constant to the actual energy estimate as it tends to zero. -/ |
| 35 | 24 | theorem viscousGrowth_uniform (K : SmoothCoefficient period) (K' : LiftL2 period →L[ℝ] LiftL2 period) |
| 36 | 25 | (κ : ℝ) (m : Vector3) (c ν : ℝ) (B : NNReal) (hν : ν ≤ 1) : |
| @@ -42,27 +31,12 @@ theorem viscousGrowth_uniform (K : SmoothCoefficient period) (K' : LiftL2 period | ||
| 42 | 31 | have h := div_le_div_of_nonneg_right hn (mul_nonneg (by norm_num : (0 : ℝ) ≤ 2) (sq_nonneg c)) |
| 43 | 32 | exact h.trans_eq (by unfold growthBase growthSlope transportEnergyConstant; ring) |
| 44 | 33 | |
| 45 | -/-- The chosen genuine pointwise velocity bound depends continuously on the actual metric energy. -/ | |
| 46 | -theorem metricVelocityBound_continuous (c B : ℝ) : Continuous (metricVelocityBound period c B) := by | |
| 47 | - exact continuous_real_toNNReal.comp | |
| 48 | - (continuous_const.mul (continuous_const.add (continuous_const.mul continuous_id))) | |
| 49 | - | |
| 50 | 34 | /-- Its NNReal coercion is exactly the intended positive metric-energy majorant. -/ |
| 51 | 35 | theorem metricVelocityBound_coe (c B X : ℝ) (hc : 0 < c) (hB : 0 ≤ B) (hX : 0 ≤ X) : |
| 52 | 36 | (metricVelocityBound period c B X : ℝ) = sobolevEmbeddingConstant period 6*(B+metricAmplification c*X) := by |
| 53 | 37 | exact Real.coe_toNNReal _ (mul_nonneg (sobolevEmbeddingConstant_nonneg period 6) |
| 54 | 38 | (add_nonneg hB (mul_nonneg (le_trans zero_le_one (metricAmplification_one_le hc)) hX))) |
| 55 | 39 | |
| 56 | -/-- The actual energy growth coefficient is affine in the metric error energy, uniformly for 0<ν≤1. -/ | |
| 57 | -theorem viscousGrowth_metric (K : SmoothCoefficient period) (K' : LiftL2 period →L[ℝ] LiftL2 period) | |
| 58 | - (κ : ℝ) (m : Vector3) (c ν B X : ℝ) (hc : 0 < c) (hν : ν ≤ 1) (hB : 0 ≤ B) (hX : 0 ≤ X) : | |
| 59 | - viscousGrowthCoefficient period K K' κ m c ν (metricVelocityBound period c B X) ≤ | |
| 60 | - growthBase period K K' c+growthSlope period K κ m c*sobolevEmbeddingConstant period 6*B+ | |
| 61 | - (growthSlope period K κ m c*sobolevEmbeddingConstant period 6*metricAmplification c)*X := by | |
| 62 | - have h := viscousGrowth_uniform period K K' κ m c ν (metricVelocityBound period c B X) hν | |
| 63 | - rw [metricVelocityBound_coe period c B X hc hB hX] at h | |
| 64 | - exact h.trans_eq (by ring) | |
| 65 | - | |
| 66 | 40 | /-- One positive constant absorbs every derived scalar growth coefficient while preserving the signed radius term. -/ |
| 67 | 41 | theorem absorb_scalar_coefficients (g0 g1 f0 f1 f2 d r X Y B R C : ℝ) |
| 68 | 42 | (hg0 : 0 ≤ g0) (hg1 : 0 ≤ g1) (hf0 : 0 ≤ f0) (hf1 : 0 ≤ f1) (hf2 : 0 ≤ f2) (hd : 0 ≤ d) |
+0 −16 Euler/GevreyInverseMap.lean View file
| @@ -200,22 +200,6 @@ theorem fderiv_eq_inverse_field | ||
| 200 | 200 | have hv := congrArg (fun B : E →L[ℝ] E => A (Y x) (B v)) he |
| 201 | 201 | simpa only [ContinuousLinearMap.comp_apply, ContinuousLinearMap.id_apply, hleft] using hv |
| 202 | 202 | |
| 203 | -/-- Gevrey-two regularity of an actual smooth inverse map with a Gevrey-two | |
| 204 | -inverse derivative field. -/ | |
| 205 | -theorem norm_iteratedFDeriv_inverseMap | |
| 206 | - (X Y : E → E) (A : E → E →L[ℝ] E) | |
| 207 | - (hX : Differentiable ℝ X) (hY : ContDiff ℝ ∞ Y) (hA : ContDiff ℝ ∞ A) | |
| 208 | - (hXY : ∀ x, X (Y x) = x) | |
| 209 | - (hleft : ∀ x v, A x (fderiv ℝ X x v) = v) | |
| 210 | - (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) | |
| 211 | - (hAjet : ∀ j y, ‖iteratedFDeriv ℝ j A y‖ ≤ C * R^j * (j.factorial : ℝ)^2) | |
| 212 | - (n : ℕ) (x : E) : | |
| 213 | - ‖iteratedFDeriv ℝ (n+1) Y x‖ ≤ | |
| 214 | - C * (inverseMapRadius C R)^n * (n.factorial : ℝ)^2 := by | |
| 215 | - exact norm_iteratedFDeriv_of_fderiv_eq_comp Y A hY hA | |
| 216 | - (fderiv_eq_inverse_field X Y A hX (hY.differentiable (by simp)) hXY hleft) | |
| 217 | - C R hC hR hAjet n x | |
| 218 | - | |
| 219 | 203 | /-- Pullback by a map satisfying the actual inverse differential equation |
| 220 | 204 | preserves Gevrey two, with an explicit polynomial radius and unchanged |
| 221 | 205 | outer amplitude. Only differentiability of the inverse is an input. -/ |
+0 −21 Euler/GevreyMetricComparison.lean View file
| @@ -43,15 +43,6 @@ theorem blockNorm_metric_lower {s q n : ℕ} (u : SobolevSpace period s) (h : n+ | ||
| 43 | 43 | rw [blockNorm_baseWords period u h, Finset.mul_sum] |
| 44 | 44 | exact Finset.sum_le_sum fun w _ => sobolevNorm_le_baseWordMetric period K _ c hc hK |
| 45 | 45 | |
| 46 | -/-- The upper metric comparison is independent of the external word count. -/ | |
| 47 | -theorem blockNorm_metric_upper {s q n : ℕ} (u : SobolevSpace period s) (h : n+q ≤ s) | |
| 48 | - (K : LiftL2 period →L[ℝ] LiftL2 period) : | |
| 49 | - (∑ w : Fin n → Fin 4, baseWordMetricNorm period K | |
| 50 | - (EulerH6Pressure.SpatialJet.derivativeJet (q := q) (toJet period u) w h)) ≤ | |
| 51 | - Real.sqrt ‖K‖ * blockNorm period (toJet period u) q n := by | |
| 52 | - rw [blockNorm_baseWords period u h, Finset.mul_sum] | |
| 53 | - exact Finset.sum_le_sum fun w _ => baseWordMetric_le_sobolevNorm period K _ | |
| 54 | - | |
| 55 | 46 | /-- The metric-weighted energy is exactly the external-word sum of fixed-base metric roots. -/ |
| 56 | 47 | theorem metricSum_eq {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) |
| 57 | 48 | (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period s) : |
| @@ -74,18 +65,6 @@ theorem weightedNorm_metric_lower {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : | ||
| 74 | 65 | (weight_pos hρ n.val).le |
| 75 | 66 | exact h.trans_eq (by ring) |
| 76 | 67 | |
| 77 | -/-- The actual metric weighted energy is bounded by its Sobolev counterpart without a cutoff factor. -/ | |
| 78 | -theorem weightedNorm_metric_upper {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) (hρ : 0 < ρ) | |
| 79 | - (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period s) : | |
| 80 | - weightedMetricSum ρ (fun I : ExternalWord N => I.1.val) K (energyValues period q N hN u) ≤ | |
| 81 | - Real.sqrt ‖K‖ * weightedNorm period q N ρ u := by | |
| 82 | - rw [metricSum_eq, weightedNorm, ← Fin.sum_univ_eq_sum_range, Finset.mul_sum] | |
| 83 | - apply Finset.sum_le_sum | |
| 84 | - intro n _ | |
| 85 | - have h := mul_le_mul_of_nonneg_left (blockNorm_metric_upper period (q := q) (n := n.val) u (by have := n.isLt; omega) K) | |
| 86 | - (weight_pos hρ n.val).le | |
| 87 | - exact h.trans_eq (by ring) | |
| 88 | - | |
| 89 | 68 | /-- At the fixed base index six the comparison uses exactly 5461 base words. -/ |
| 90 | 69 | theorem card_baseWord_six : Fintype.card (BaseWord 6) = 5461 := by |
| 91 | 70 | rw [card_baseWord] |
+0 −16 Euler/GevreyRestriction.lean View file
| @@ -22,16 +22,6 @@ theorem weightedNorm_restrict {p q : ℕ} (hqp : q ≤ p) (r N : ℕ) (hN : N+r | ||
| 22 | 22 | exact blockNorm_unique period (toJet period (restrictOperator period hqp u)) (toJet period u) rfl |
| 23 | 23 | (by have := Finset.mem_range.mp hn; omega) (by have := Finset.mem_range.mp hn; omega) |
| 24 | 24 | |
| 25 | -/-- The actual radius-loss sum is identical under every restriction retaining its cutoff. -/ | |
| 26 | -theorem weightedLoss_restrict {p q : ℕ} (hqp : q ≤ p) (r N : ℕ) (hN : N+r ≤ q) (ρ : ℝ) | |
| 27 | - (u : SobolevSpace period p) : | |
| 28 | - weightedLoss period r N ρ (restrictOperator period hqp u) = weightedLoss period r N ρ u := by | |
| 29 | - apply Finset.sum_congr rfl | |
| 30 | - intro n hn | |
| 31 | - apply congrArg (fun x : ℝ => (n : ℝ)*EulerPacketWeights.weight ρ n*x) | |
| 32 | - exact blockNorm_unique period (toJet period (restrictOperator period hqp u)) (toJet period u) rfl | |
| 33 | - (by have := Finset.mem_range.mp hn; omega) (by have := Finset.mem_range.mp hn; omega) | |
| 34 | - | |
| 35 | 25 | /-- Actual derivative words agree after restricting the input to any sufficiently high Sobolev level. -/ |
| 36 | 26 | theorem wordAtLevel_restrict {p q r n : ℕ} (hqp : q ≤ p) (w : Fin n → Fin 4) (hq : n+r ≤ q) |
| 37 | 27 | (u : SobolevSpace period p) : |
| @@ -57,10 +47,4 @@ theorem weightedNorm_truncate {s : ℕ} (r N : ℕ) (hN : N+r ≤ s) (ρ : ℝ) | ||
| 57 | 47 | weightedNorm period r N ρ (truncateOperator period s u) = weightedNorm period r N ρ u := |
| 58 | 48 | weightedNorm_restrict period (by omega : s ≤ s+1) r N hN ρ u |
| 59 | 49 | |
| 60 | -/-- The complete-solution truncation leaves the retained radius-loss sum unchanged. -/ | |
| 61 | -theorem weightedLoss_truncate {s : ℕ} (r N : ℕ) (hN : N+r ≤ s) (ρ : ℝ) | |
| 62 | - (u : SobolevSpace period (s+1)) : | |
| 63 | - weightedLoss period r N ρ (truncateOperator period s u) = weightedLoss period r N ρ u := | |
| 64 | - weightedLoss_restrict period (by omega : s ≤ s+1) r N hN ρ u | |
| 65 | - | |
| 66 | 50 | end EulerGevreyRestriction |
+0 −20 Euler/GraphInvariantFlow.lean View file
| @@ -60,13 +60,6 @@ theorem graphFlow_invariant (s t : ℝ) (x : Vector3) : | ||
| 60 | 60 | @[simp] theorem graphFlow_initial (s : ℝ) (x : Vector3) : graphFlow k m V s s x=x := by |
| 61 | 61 | simp [graphFlow] |
| 62 | 62 | |
| 63 | -include hV in | |
| 64 | -theorem graphFlow_inverse (s t : ℝ) (x : Vector3) : | |
| 65 | - graphFlow k m V t s (graphFlow k m V s t x)=x := by | |
| 66 | - change (V.flow t s (graphLinear k m (graphFlow k m V s t x))).1=x | |
| 67 | - rw [← graphFlow_invariant k m V hV,V.flow_inverse] | |
| 68 | - rfl | |
| 69 | - | |
| 70 | 63 | include hV in |
| 71 | 64 | theorem graphFlow_hasDerivAt (s t : ℝ) (x : Vector3) : |
| 72 | 65 | HasDerivAt (fun r => graphFlow k m V s r x) |
| @@ -74,17 +67,4 @@ theorem graphFlow_hasDerivAt (s t : ℝ) (x : Vector3) : | ||
| 74 | 67 | have hd := (V.flow_hasDerivAt s t (graphLinear k m x)).fst |
| 75 | 68 | rwa [graphFlow_invariant k m V hV] at hd |
| 76 | 69 | |
| 77 | -theorem graphFlow_continuous (s t : ℝ) : Continuous (graphFlow k m V s t) := | |
| 78 | - continuous_fst.comp ((V.flowHomeomorph s t).continuous.comp (graphLinear k m).continuous) | |
| 79 | - | |
| 80 | -theorem graphFlow_forward_joint_continuous : | |
| 81 | - Continuous (fun r : ℝ × Vector3 => graphFlow k m V 0 r.1 r.2) := | |
| 82 | - continuous_fst.comp (V.forward_joint_continuous.comp | |
| 83 | - (continuous_fst.prodMk ((graphLinear k m).continuous.comp continuous_snd))) | |
| 84 | - | |
| 85 | -theorem graphFlow_backward_joint_continuous : | |
| 86 | - Continuous (fun r : ℝ × Vector3 => graphFlow k m V r.1 0 r.2) := | |
| 87 | - continuous_fst.comp (V.backward_joint_continuous.comp | |
| 88 | - (continuous_fst.prodMk ((graphLinear k m).continuous.comp continuous_snd))) | |
| 89 | - | |
| 90 | 70 | end EulerGraphInvariantFlow |
+0 −17 Euler/GraphPressurePotential.lean View file
| @@ -59,21 +59,4 @@ theorem gradientSpace_has_graph_potential (κ k : ℝ) (hκ : k * κ = 1) (m : V | ||
| 59 | 59 | simpa only [P, localFieldLift, Prod.fst_zero, Prod.snd_zero, zero_add, |
| 60 | 60 | graphMap_apply, cylinderGraph] using hq x |
| 61 | 61 | |
| 62 | -/-- All-order coefficient and forcing jets yield an actual smooth scalar potential for the coercive graph pressure. -/ | |
| 63 | -theorem coercive_pressure_has_graph_potential (A : SmoothCoefficient period) (f : LiftL2 period) | |
| 64 | - (K : ∀ s : ℕ, CoefficientJet period EulerCylinderSobolev.standardDirection s A) | |
| 65 | - (J : ∀ s : ℕ, SpatialJet period EulerCylinderSobolev.standardDirection s f) | |
| 66 | - (κ k : ℝ) (hκ : k * κ = 1) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 67 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) : | |
| 68 | - ∃ (g : LiftDomain period → Vector3) (q : Vector3 → ℝ), | |
| 69 | - (∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) ∧ | |
| 70 | - (A.pressure κ m c hc hpos f : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g ∧ | |
| 71 | - ContDiff ℝ ∞ q ∧ ∀ x, gradient q x = κ • g (cylinderGraph period k m x) := by | |
| 72 | - obtain ⟨g, hgs, hrep⟩ := exists_smooth_pressure period A f K J κ m c hc hpos | |
| 73 | - have hp : A.pressure κ m c hc hpos f ∈ gradientSpace period κ m := | |
| 74 | - liftedPressure_mem period κ m A.coefficient A.measurable A.bound A.norm_bound c hc hpos f | |
| 75 | - obtain ⟨q, hqs, hq⟩ := gradientSpace_has_graph_potential period κ k hκ m | |
| 76 | - (A.pressure κ m c hc hpos f) hp g hrep hgs | |
| 77 | - exact ⟨g, q, hgs, hrep, hqs, hq⟩ | |
| 78 | - | |
| 79 | 62 | end EulerGraphPressurePotential |
+0 −21 Euler/H5RealCylinderAlgebra.lean View file
| @@ -54,27 +54,6 @@ theorem real_product_word_memLp {q n : ℕ} (hq : 5 ≤ q) (hn : n ≤ q) (w : F | ||
| 54 | 54 | filter_upwards [] with x |
| 55 | 55 | exact (Complex.norm_real _).ge |
| 56 | 56 | |
| 57 | -/-- Every scalar-vector product derivative through order q is genuinely in L². -/ | |
| 58 | -theorem scalar_vector_product_word_memLp {q n : ℕ} (hq : 5 ≤ q) (hn : n ≤ q) (d : ℕ) | |
| 59 | - (w : Fin n → Fin 4) (f : LiftDomain period → ℝ) (g : LiftDomain period → Domain d) | |
| 60 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 61 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) | |
| 62 | - (hfL2 : ∀ j ≤ q, ∀ v : Fin j → Fin 4, MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) | |
| 63 | - (hgL2 : ∀ j ≤ q, ∀ v : Fin j → Fin 4, MemLp (iteratedFieldDerivative period v g) 2 (liftMeasure period)) : | |
| 64 | - MemLp (iteratedFieldDerivative period w (fun x => f x • g x)) 2 (liftMeasure period) := by | |
| 65 | - apply MemLp.of_eval_piLp | |
| 66 | - intro i | |
| 67 | - have h := real_product_word_memLp period hq hn w f (coordinate d i ∘ g) hf | |
| 68 | - (postcomp_smooth period _ g hg) hfL2 | |
| 69 | - (fun j hj v => postcomp_word_memLp period hj _ g hg hgL2 v) | |
| 70 | - rw [← coordinate_smul period d i f g] at h | |
| 71 | - have he : (fun x => iteratedFieldDerivative period w (fun x => f x • g x) x i) = | |
| 72 | - iteratedFieldDerivative period w (coordinate d i ∘ (fun x => f x • g x)) := by | |
| 73 | - funext x | |
| 74 | - exact (coordinate_word period d i w (fun x => f x • g x) (fun x => (hf x).smul (hg x)) x).symm | |
| 75 | - rw [he] | |
| 76 | - exact h | |
| 77 | - | |
| 78 | 57 | /-- Multiplication of an actual vector field by a scalar field is bounded in every Hq, q≥5. -/ |
| 79 | 58 | theorem cylinder_Hq_scalar_vector_product {q : ℕ} (hq : 5 ≤ q) (d : ℕ) |
| 80 | 59 | (f : LiftDomain period → ℝ) (g : LiftDomain period → Domain d) |
+0 −18 Euler/H6PressureCommutator.lean View file
| @@ -52,24 +52,6 @@ theorem commutatorBlock_zero {s q : ℕ} {A : SmoothCoefficient period} {f : Lif | ||
| 52 | 52 | (J : EulerSpatialSobolevInverse.SpatialJet period directions s f) : commutatorBlock K J q 0 = 0 := by |
| 53 | 53 | simp [commutatorBlock] |
| 54 | 54 | |
| 55 | -theorem commutatorBlock_nonneg {s q n : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 56 | - (K : EulerSpatialSobolevInverse.CoefficientJet period directions s A) | |
| 57 | - (J : EulerSpatialSobolevInverse.SpatialJet period directions s f) : 0 ≤ commutatorBlock K J q n := | |
| 58 | - Finset.sum_nonneg (fun _ _ => sobolevSize_nonneg _ _) | |
| 59 | - | |
| 60 | -/-- Truncation preserves every valid external commutator as an actual L² field. -/ | |
| 61 | -theorem commutatorBlock_truncate {s q n : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 62 | - (K : EulerSpatialSobolevInverse.CoefficientJet period directions (s + 1) A) | |
| 63 | - (J : EulerSpatialSobolevInverse.SpatialJet period directions (s + 1) f) (h : n ≤ s) : | |
| 64 | - commutatorBlock K.truncate J.truncate q n = commutatorBlock K J q n := by | |
| 65 | - unfold commutatorBlock | |
| 66 | - apply Finset.sum_congr rfl | |
| 67 | - intro w _ | |
| 68 | - rw [EulerPressureJetIdentities.SpatialJet.word_unique | |
| 69 | - (EulerSpatialSobolevInverse.SpatialJet.multiply K.truncate J.truncate) | |
| 70 | - (EulerSpatialSobolevInverse.SpatialJet.multiply K J) rfl h (by omega) w, | |
| 71 | - EulerPressureJetIdentities.SpatialJet.word_unique J.truncate J rfl h (by omega) w] | |
| 72 | - | |
| 73 | 55 | /-- The external commutator recurrence uses a fixed Sobolev norm at every leaf. -/ |
| 74 | 56 | theorem commutatorBlock_succ_le {s q n : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} |
| 75 | 57 | (K : EulerSpatialSobolevInverse.CoefficientJet period directions (s + 1) A) |
+0 −26 Euler/H6PressureConstants.lean View file
| @@ -166,30 +166,4 @@ theorem pressureConstant_polynomial {q : ℕ} {A : SmoothCoefficient period} | ||
| 166 | 166 | _ ≤ M ^ 3 := inverse_majorant_step hL hB hM |
| 167 | 167 | _ = (9 * L) ^ (3 ^ (q + 1)) := by dsimp [M]; rw [← pow_mul, pow_succ] |
| 168 | 168 | |
| 169 | -/-- The shifted Hq pressure estimate with an explicit polynomial coefficient constant. | |
| 170 | -All assumptions concern the actual coefficient, its derivative bounds, and coercivity. -/ | |
| 171 | -theorem pressure_shifted_Hq_polynomial_bound {s q : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 172 | - (K : EulerSpatialSobolevInverse.CoefficientJet period directions s A) | |
| 173 | - (J : EulerSpatialSobolevInverse.SpatialJet period directions s f) | |
| 174 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 175 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) | |
| 176 | - (N : ℕ) (hN : N + q ≤ s) (L ρ Rc : ℝ) | |
| 177 | - (hL : 1 ≤ L) (hcL : c⁻¹ ≤ L) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) | |
| 178 | - (hbasecoeff : ∀ r ≤ q, boundLevel period K r ≤ L) | |
| 179 | - (hsmall : 4 * (9 * L) ^ (3 ^ q) * (ρ * Rc) ≤ 1) | |
| 180 | - (hcoeff : ∀ l, 1 ≤ l → l ≤ N → | |
| 181 | - coefficientBlock period K q l ≤ Rc ^ l * (l.factorial : ℝ) ^ 2) : | |
| 182 | - (∑ n ∈ Finset.range (N + 1), ((n + 1 : ℕ) : ℝ) * EulerPacketWeights.weight ρ (n + 1) * | |
| 183 | - blockNorm period (J.solvePressure K κ m c hc hpos) q n) ≤ | |
| 184 | - 2 * (9 * L) ^ (3 ^ q) * ∑ n ∈ Finset.range (N + 1), | |
| 185 | - ((n + 1 : ℕ) : ℝ) * EulerPacketWeights.weight ρ (n + 1) * blockNorm period J q n := by | |
| 186 | - have hq : q ≤ s := by omega | |
| 187 | - have hbase : (CoefficientJet.restrict K q hq).pressureConstant c ≤ (9 * L) ^ (3 ^ q) := by | |
| 188 | - apply pressureConstant_polynomial _ c L hc hL hcL | |
| 189 | - intro r hr | |
| 190 | - rw [coefficient_restrict_level period K hq hr] | |
| 191 | - exact hbasecoeff r hr | |
| 192 | - exact pressure_shifted_Hq_bound K J κ m c hc hpos N hN hq ρ Rc ((9 * L) ^ (3 ^ q)) | |
| 193 | - hρ hRc (one_le_pow₀ (by linarith)) hbase hsmall hcoeff | |
| 194 | - | |
| 195 | 169 | end EulerH6Pressure |
+0 −16 Euler/H6TransportSource.lean View file
| @@ -109,22 +109,6 @@ def transportField (q : ℕ) (b : LiftDomain period → Domain 4) (e : LiftDomai | ||
| 109 | 109 | LiftDomain period → Domain q := |
| 110 | 110 | ∑ i : Fin 4, (fun x => b x i • fieldDerivative period (standardDirection i) e x) |
| 111 | 111 | |
| 112 | -theorem transport_all_memLp (q : ℕ) (b : LiftDomain period → Domain 4) (e : LiftDomain period → Domain q) | |
| 113 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 114 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) | |
| 115 | - (hbL2 : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w b) 2 (liftMeasure period)) | |
| 116 | - (heL2 : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w e) 2 (liftMeasure period)) : | |
| 117 | - ∀ j, ∀ w : Fin j → Fin 4, | |
| 118 | - MemLp (iteratedFieldDerivative period w (transportField period q b e)) 2 (liftMeasure period) := by | |
| 119 | - apply sum_all_memLp period Finset.univ | |
| 120 | - · intro i _ x | |
| 121 | - exact (postcomp_smooth period (coordinate 4 i) b hb x).smul (fieldDerivative_smooth period _ e he x) | |
| 122 | - · intro i _ | |
| 123 | - exact product_all_memLp period q (coordinate 4 i ∘ b) _ | |
| 124 | - (postcomp_smooth period _ b hb) (fieldDerivative_smooth period _ e he) | |
| 125 | - (fun j w => postcomp_word_memLp period (show j ≤ j by omega) _ b hb (fun r _ v => hbL2 r v) w) | |
| 126 | - (derivative_all_memLp period e heL2 i) | |
| 127 | - | |
| 128 | 112 | /-- The actual transport source has a single derivative on the transported H⁶ block. -/ |
| 129 | 113 | theorem transport_wordSobolevNorm_bound (q n : ℕ) |
| 130 | 114 | (b : LiftDomain period → Domain 4) (e : LiftDomain period → Domain q) |
+0 −17 Euler/HeatMaximalCauchy.lean View file
| @@ -128,21 +128,4 @@ theorem heat_H2_cauchy (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) | ||
| 128 | 128 | exact first_derivative_difference period T hT ν (u n) (u m) (f n) (f m) t i |
| 129 | 129 | (hd n t ht i) (hd m t ht i) |
| 130 | 130 | |
| 131 | -/-- Completeness constructs a genuine Bochner L²-time H² limit of the regularized heat solutions. -/ | |
| 132 | -theorem exists_heat_H2_limit (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) | |
| 133 | - (u : ℕ → C(Icc (0 : ℝ) T, SobolevSpace period 3)) | |
| 134 | - (f : ℕ → C(Icc (0 : ℝ) T, SobolevSpace period 1)) | |
| 135 | - (hd : ∀ n t, t ∈ Ioo 0 T → ∀ i : Fin 4, | |
| 136 | - HasDerivAt (fun s => value period (derivativeOperator period 2 i (extendPath T hT (u n) s))) | |
| 137 | - (value period (derivativeOperator period 0 i | |
| 138 | - (ν • laplacianOperator period 1 (extendPath T hT (u n) t) + extendPath T hT (f n) t))) t) | |
| 139 | - (hu : CauchySeq (fun n => (restrictOperator period (by norm_num : 1 ≤ 3)).compLeftContinuous ℝ | |
| 140 | - (Icc (0 : ℝ) T) (u n))) | |
| 141 | - (hf : CauchySeq (fun n => pathLp T hT ((valueOperator period 1).compLeftContinuous ℝ | |
| 142 | - (Icc (0 : ℝ) T) (f n)))) : | |
| 143 | - ∃ U : TimeLp T (SobolevSpace period 2), | |
| 144 | - Filter.Tendsto (fun n => pathLp T hT ((truncateOperator period 2).compLeftContinuous ℝ | |
| 145 | - (Icc (0 : ℝ) T) (u n))) Filter.atTop (𝓝 U) := | |
| 146 | - cauchySeq_tendsto_of_complete (heat_H2_cauchy period T hT ν hν u f hd hu hf) | |
| 147 | - | |
| 148 | 131 | end EulerHeatMaximalCauchy |
+0 −67 Euler/HeatMaximalRegularity.lean View file
| @@ -29,46 +29,6 @@ theorem regularized_mild_cauchy (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < | ||
| 29 | 29 | · exact (regularizedState_low_tendsto period T u).cauchySeq |
| 30 | 30 | · exact (pathLp_tendsto T hT _ _ (regularizedForcing_value_tendsto period T f)).cauchySeq |
| 31 | 31 | |
| 32 | -/-- The strong higher-order limit has exactly the original lower-order field almost everywhere in time. -/ | |
| 33 | -theorem regularized_limit_restriction (T : ℝ) (hT : 0 ≤ T) | |
| 34 | - (u : C(Icc (0 : ℝ) T, SobolevSpace period 1)) (U : TimeLp T (SobolevSpace period 2)) | |
| 35 | - (hU : Filter.Tendsto (fun n => higherTime period T hT (regularizedState period T n u)) Filter.atTop (𝓝 U)) : | |
| 36 | - ((fun t => truncateOperator period 1 (U t)) =ᵐ[timeMeasure T] extendPath T hT u) := by | |
| 37 | - have hlow := regularizedState_low_tendsto period T u | |
| 38 | - have hrestrict : Filter.Tendsto (fun n => (truncateOperator period 1).compLeftContinuous ℝ (Icc (0 : ℝ) T) | |
| 39 | - ((truncateOperator period 2).compLeftContinuous ℝ (Icc (0 : ℝ) T) (regularizedState period T n u))) Filter.atTop (𝓝 u) := by | |
| 40 | - convert hlow using 1 | |
| 41 | - funext n | |
| 42 | - apply ContinuousMap.ext | |
| 43 | - intro t | |
| 44 | - apply value_injective period | |
| 45 | - rfl | |
| 46 | - exact limit_restriction_ae T hT (truncateOperator period 1) | |
| 47 | - (fun n => (truncateOperator period 2).compLeftContinuous ℝ (Icc (0 : ℝ) T) (regularizedState period T n u)) u U hU hrestrict | |
| 48 | - | |
| 49 | -/-- The genuine heat estimate passes to the strong higher-order time limit without weak compactness. -/ | |
| 50 | -theorem regularized_limit_bound (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) | |
| 51 | - (f : C(Icc (0 : ℝ) T, SobolevSpace period 0)) (u : C(Icc (0 : ℝ) T, SobolevSpace period 1)) | |
| 52 | - (hd : ∀ n t, t ∈ Ioo 0 T → ∀ i : Fin 4, | |
| 53 | - HasDerivAt (fun s => value period (derivativeOperator period 2 i (extendPath T hT (regularizedState period T n u) s))) | |
| 54 | - (value period (derivativeOperator period 0 i | |
| 55 | - (ν • laplacianOperator period 1 (extendPath T hT (regularizedState period T n u) t) + | |
| 56 | - extendPath T hT (regularizedForcing period T n f) t))) t) | |
| 57 | - (U : TimeLp T (SobolevSpace period 2)) | |
| 58 | - (hU : Filter.Tendsto (fun n => higherTime period T hT (regularizedState period T n u)) Filter.atTop (𝓝 U)) : | |
| 59 | - ‖U‖^2 ≤ (T+4*ν⁻¹)*‖u‖^2 + (ν⁻¹)^2 * | |
| 60 | - ‖pathLp T hT ((valueOperator period 0).compLeftContinuous ℝ (Icc (0 : ℝ) T) f)‖^2 := by | |
| 61 | - have hlow := regularizedState_low_tendsto period T u | |
| 62 | - have hsource := pathLp_tendsto T hT _ | |
| 63 | - ((valueOperator period 0).compLeftContinuous ℝ (Icc (0 : ℝ) T) f) | |
| 64 | - (regularizedForcing_value_tendsto period T f) | |
| 65 | - exact EulerQuadraticCauchy.limit_quadratic_bound | |
| 66 | - (fun n => lowerPath period T (regularizedState period T n u)) | |
| 67 | - (fun n => sourceTime period T hT (regularizedForcing period T n f)) | |
| 68 | - (fun n => higherTime period T hT (regularizedState period T n u)) u _ U (T+4*ν⁻¹) ((ν⁻¹)^2) | |
| 69 | - hlow hsource hU (fun n => heat_time_H2_bound period T hT ν hν | |
| 70 | - (regularizedState period T n u) (regularizedForcing period T n f) (hd n)) | |
| 71 | - | |
| 72 | 32 | /-- Completeness of actual H² Bochner space constructs its strong Cauchy limit. -/ |
| 73 | 33 | theorem exists_H2_time_limit (T : ℝ) (u : ℕ → TimeLp T (SobolevSpace period 2)) (hu : CauchySeq u) : |
| 74 | 34 | ∃ U : TimeLp T (SobolevSpace period 2), Filter.Tendsto u Filter.atTop (𝓝 U) := |
| @@ -87,31 +47,4 @@ theorem exists_regularized_mild_limit (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : | ||
| 87 | 47 | regularized_mild_cauchy period T hT ν hν u₀ f u hsol |
| 88 | 48 | exact exists_H2_time_limit period T (fun n => higherTime period T hT (regularizedState period T n u)) hc |
| 89 | 49 | |
| 90 | -/-- The actual viscous mild solution with H¹ values and continuous L² source has two full spatial derivatives in L² time. | |
| 91 | -The higher-regularity element is constructed in the complete Bochner space and identified with the original field almost everywhere. -/ | |
| 92 | -theorem viscous_mild_maximal_regularity (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) | |
| 93 | - (u₀ : SobolevSpace period 1) (f : C(Icc (0 : ℝ) T, SobolevSpace period 0)) | |
| 94 | - (u : C(Icc (0 : ℝ) T, SobolevSpace period 1)) | |
| 95 | - (hsol : ∀ t : Icc (0 : ℝ) T, | |
| 96 | - u t = heatOperator period 1 (2*ν*t.val).toNNReal u₀ + | |
| 97 | - ∫ r in (0 : ℝ)..t.val, heatKernel period 0 ν hν r (extendPath T hT f (t.val-r))) : | |
| 98 | - ∃ U : TimeLp T (SobolevSpace period 2), | |
| 99 | - ((fun t => truncateOperator period 1 (U t)) =ᵐ[timeMeasure T] extendPath T hT u) ∧ | |
| 100 | - Filter.Tendsto (fun n => higherTime period T hT (regularizedState period T n u)) Filter.atTop (𝓝 U) := by | |
| 101 | - refine (exists_regularized_mild_limit period T hT ν hν u₀ f u hsol).imp ?_ | |
| 102 | - intro U hU | |
| 103 | - exact ⟨regularized_limit_restriction period T hT u U hU, hU⟩ | |
| 104 | - | |
| 105 | -/-- Actual H² spatial representatives exist for almost every time of the genuine H¹ viscous mild solution. -/ | |
| 106 | -theorem viscous_mild_ae_H2 (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) | |
| 107 | - (u₀ : SobolevSpace period 1) (f : C(Icc (0 : ℝ) T, SobolevSpace period 0)) | |
| 108 | - (u : C(Icc (0 : ℝ) T, SobolevSpace period 1)) | |
| 109 | - (hsol : ∀ t : Icc (0 : ℝ) T, | |
| 110 | - u t = heatOperator period 1 (2*ν*t.val).toNNReal u₀ + | |
| 111 | - ∫ r in (0 : ℝ)..t.val, heatKernel period 0 ν hν r (extendPath T hT f (t.val-r))) : | |
| 112 | - ∀ᵐ t ∂timeMeasure T, ∃ v : SobolevSpace period 2, value period v = value period (extendPath T hT u t) := by | |
| 113 | - obtain ⟨U, hU, _⟩ := viscous_mild_maximal_regularity period T hT ν hν u₀ f u hsol | |
| 114 | - filter_upwards [hU] with t ht | |
| 115 | - exact ⟨U t, congrArg (value period) ht⟩ | |
| 116 | - | |
| 117 | 50 | end EulerHeatMaximalRegularity |
+0 −20 Euler/HeatRegularizedPaths.lean View file
| @@ -58,26 +58,6 @@ theorem pathHeat_continuous {q : ℕ} (T : ℝ) (u : C(Icc (0 : ℝ) T, SobolevS | ||
| 58 | 58 | (f := fun p : ℝ≥0 × Icc (0 : ℝ) T => (p.1, u p.2)) |
| 59 | 59 | (heatOperator_joint_continuous period q) (continuous_fst.prodMk (u.continuous.comp continuous_snd)) |
| 60 | 60 | |
| 61 | -/-- A continuous path regularized by three genuine spatial heat derivatives. -/ | |
| 62 | -def regularizedPath {q : ℕ} (T : ℝ) (n : ℕ) (u : C(Icc (0 : ℝ) T, SobolevSpace period q)) : | |
| 63 | - C(Icc (0 : ℝ) T, SobolevSpace period (q+3)) := mapPath period T (heatRegularizer period q n) u | |
| 64 | - | |
| 65 | -/-- Regularized paths converge uniformly in their original complete Sobolev norm. -/ | |
| 66 | -theorem regularizedPath_tendsto {q : ℕ} (T : ℝ) (u : C(Icc (0 : ℝ) T, SobolevSpace period q)) : | |
| 67 | - Filter.Tendsto (fun n => mapPath period T (restrictOperator period (by omega : q ≤ q+3)) | |
| 68 | - (regularizedPath period T n u)) Filter.atTop (𝓝 u) := by | |
| 69 | - have h := (pathHeat_continuous period T u).continuousAt.tendsto.comp regularizerVariance_tendsto | |
| 70 | - have hzero : pathHeat period q T 0 u = u := by | |
| 71 | - apply ContinuousMap.ext | |
| 72 | - intro t | |
| 73 | - exact heatOperator_zero period (u t) | |
| 74 | - rw [hzero] at h | |
| 75 | - convert h using 1 | |
| 76 | - funext n | |
| 77 | - apply ContinuousMap.ext | |
| 78 | - intro t | |
| 79 | - exact restrict_heatRegularizer period n (u t) | |
| 80 | - | |
| 81 | 61 | /-- Regularization at adjacent Sobolev levels has exactly the same underlying field. -/ |
| 82 | 62 | theorem heatRegularizer_truncate {q : ℕ} (n : ℕ) (u : SobolevSpace period (q+1)) : |
| 83 | 63 | heatRegularizer period q n (truncateOperator period q u) = |
+0 −10 Euler/HeatRestart.lean View file
| @@ -47,16 +47,6 @@ theorem duhamel_restart {q : ℕ} (ν : ℝ) (hν : 0 ≤ ν) (T : ℝ) (hT : 0 | ||
| 47 | 47 | ((shiftedHeat_continuous period ν T hT f t).intervalIntegrable (μ := volume) 0 a) |
| 48 | 48 | ((shiftedHeat_continuous period ν T hT f t).intervalIntegrable (μ := volume) a t)).symm |
| 49 | 49 | |
| 50 | -/-- The full genuine inhomogeneous heat solution restarts from its attained state. -/ | |
| 51 | -theorem inhomogeneous_heat_restart {q : ℕ} (ν : ℝ) (hν : 0 ≤ ν) (T : ℝ) (hT : 0 ≤ T) | |
| 52 | - (f : C(Icc (0 : ℝ) T, SobolevSpace period q)) (u₀ : SobolevSpace period q) | |
| 53 | - (a t : ℝ) (ha : 0 ≤ a) (hat : a ≤ t) : | |
| 54 | - heatFlow period q ν t u₀ + duhamel period ν T hT f t = | |
| 55 | - heatFlow period q ν (t-a) (heatFlow period q ν a u₀ + duhamel period ν T hT f a) + | |
| 56 | - ∫ s in a..t, heatFlow period q ν (t-s) (extendPath T hT f s) := by | |
| 57 | - rw [map_add, heatFlow_semigroup period ν hν (t-a) a (sub_nonneg.mpr hat) ha, | |
| 58 | - sub_add_cancel, duhamel_restart period ν hν T hT f a t ha hat, add_assoc] | |
| 59 | - | |
| 60 | 50 | /-- The old-history and new-source identity written in elapsed time after the restart. -/ |
| 61 | 51 | theorem duhamel_restart_shifted {q : ℕ} (ν : ℝ) (hν : 0 ≤ ν) (T : ℝ) (hT : 0 ≤ T) |
| 62 | 52 | (f : C(Icc (0 : ℝ) T, SobolevSpace period q)) (a t : ℝ) (ha : 0 ≤ a) (ht : 0 ≤ t) : |
+0 −36 Euler/HilbertCoerciveGevrey.lean View file
| @@ -94,42 +94,6 @@ theorem coerciveSolution_derivative_recurrence | ||
| 94 | 94 | exact hrec.trans (mul_le_mul_of_nonneg_right |
| 95 | 95 | (coerciveInverse_norm_le (A x) (c x) (hc x) (hcoercive x)) (by positivity)) |
| 96 | 96 | |
| 97 | -/-- A single factorial shift controls every actual derivative of the inverse solve. -/ | |
| 98 | -theorem coerciveSolution_gevrey | |
| 99 | - (A : P → E →L[ℝ] E) (c : P → ℝ) (hc : ∀ x, 0 < c x) | |
| 100 | - (hcoercive : ∀ x v, c x * ‖v‖^2 ≤ ⟪A x v, v⟫_ℝ) | |
| 101 | - (f : P → E) (hA : ContDiff ℝ ∞ A) (hf : ContDiff ℝ ∞ f) | |
| 102 | - (M Rc R : ℝ) (hM : 1 ≤ M) (hRc : 0 ≤ Rc) (hR : 2*M*(Rc+1) ≤ R) | |
| 103 | - (hinv : ∀ x, (c x)⁻¹ ≤ M) | |
| 104 | - (hcoeff : ∀ j x, ‖iteratedFDeriv ℝ (j+1) A x‖ ≤ | |
| 105 | - Rc^(j+1) * ((j+1).factorial : ℝ)^2) | |
| 106 | - (d : ℕ) (hforce : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ majorant R d n) | |
| 107 | - (n : ℕ) (x : P) : | |
| 108 | - ‖iteratedFDeriv ℝ n | |
| 109 | - (fun y => coerciveInverse (A y) (c y) (hc y) (hcoercive y) (f y)) x‖ ≤ | |
| 110 | - majorant R (d+1) n := by | |
| 111 | - let u := fun y => coerciveInverse (A y) (c y) (hc y) (hcoercive y) (f y) | |
| 112 | - apply triangular_inverse_majorant M Rc R hM hRc hR d | |
| 113 | - (fun k => ‖iteratedFDeriv ℝ k f x‖) | |
| 114 | - (fun k => ‖iteratedFDeriv ℝ k u x‖) (fun k => hforce k x) _ n | |
| 115 | - intro k | |
| 116 | - have hrec := coerciveSolution_derivative_recurrence A c hc hcoercive f hA hf x k | |
| 117 | - have hsum : (∑ j ∈ range k, | |
| 118 | - (k.choose (j+1) : ℝ) * ‖iteratedFDeriv ℝ (j+1) A x‖ * | |
| 119 | - ‖iteratedFDeriv ℝ (k-(j+1)) u x‖) ≤ | |
| 120 | - ∑ j ∈ range k, (k.choose (j+1) : ℝ) * Rc^(j+1) * | |
| 121 | - ((j+1).factorial : ℝ)^2 * ‖iteratedFDeriv ℝ (k-(j+1)) u x‖ := by | |
| 122 | - apply sum_le_sum | |
| 123 | - intro j _ | |
| 124 | - have h := mul_le_mul_of_nonneg_right | |
| 125 | - (mul_le_mul_of_nonneg_left (hcoeff j x) (by positivity : (0 : ℝ) ≤ k.choose (j+1))) | |
| 126 | - (norm_nonneg (iteratedFDeriv ℝ (k-(j+1)) u x)) | |
| 127 | - simpa only [mul_assoc] using h | |
| 128 | - exact hrec.trans ((mul_le_mul_of_nonneg_left | |
| 129 | - (add_le_add (le_refl ‖iteratedFDeriv ℝ k f x‖) hsum) | |
| 130 | - (inv_nonneg.mpr (hc x).le)).trans | |
| 131 | - (mul_le_mul_of_nonneg_right (hinv x) (by positivity))) | |
| 132 | - | |
| 133 | 97 | /-- Polynomial coefficient and forcing amplitudes enter only the fixed top |
| 134 | 98 | constant, not the derivative-order radius. -/ |
| 135 | 99 | theorem coerciveSolution_gevrey_amplitudes |
+0 −23 Euler/HilbertCoerciveParameter.lean View file
| @@ -40,29 +40,6 @@ theorem contDiff_coerciveInverse_variable | ||
| 40 | 40 | exact contDiffAt_map_inverse (coerciveEquiv (A x) (c x) (hc x) (hA x)) |
| 41 | 41 | exact hinv.comp x hreg.contDiffAt |
| 42 | 42 | |
| 43 | -/-- The actual derivative of an inverse, even with a varying coercivity certificate. -/ | |
| 44 | -theorem hasDerivAt_coerciveInverse_variable | |
| 45 | - (A : ℝ → E →L[ℝ] E) (c : ℝ → ℝ) (hc : ∀ x, 0 < c x) | |
| 46 | - (hA : ∀ x v, c x * ‖v‖^2 ≤ ⟪A x v, v⟫_ℝ) | |
| 47 | - (x : ℝ) (A₁ : E →L[ℝ] E) (hder : HasDerivAt A A₁ x) : | |
| 48 | - HasDerivAt (fun r => coerciveInverse (A r) (c r) (hc r) (hA r)) | |
| 49 | - (-(coerciveInverse (A x) (c x) (hc x) (hA x)).comp | |
| 50 | - (A₁.comp (coerciveInverse (A x) (c x) (hc x) (hA x)))) x := by | |
| 51 | - let u : (E →L[ℝ] E)ˣ := (coerciveEquiv (A x) (c x) (hc x) (hA x)).toUnit | |
| 52 | - have hu : (u : E →L[ℝ] E) = A x := by | |
| 53 | - ext v | |
| 54 | - exact coerciveEquiv_apply (A x) (c x) (hc x) (hA x) v | |
| 55 | - have hui : (↑u⁻¹ : E →L[ℝ] E) = coerciveInverse (A x) (c x) (hc x) (hA x) := rfl | |
| 56 | - have hi := hasFDerivAt_ringInverse (𝕜 := ℝ) u | |
| 57 | - rw [hu] at hi | |
| 58 | - have hcomp := hi.comp_hasDerivAt x hder | |
| 59 | - have hfun : (fun r => coerciveInverse (A r) (c r) (hc r) (hA r)) = Ring.inverse ∘ A := by | |
| 60 | - funext r | |
| 61 | - exact coerciveInverse_eq_ringInverse (A r) (c r) (hc r) (hA r) | |
| 62 | - rw [hfun] | |
| 63 | - simpa only [neg_apply, ContinuousLinearMap.mulLeftRight_apply, hui, | |
| 64 | - ContinuousLinearMap.mul_def, ContinuousLinearMap.comp_assoc] using hcomp | |
| 65 | - | |
| 66 | 43 | /-- Actual forcing-to-solution regularity for a parameterized coercive solve. -/ |
| 67 | 44 | theorem contDiff_coerciveSolution_variable |
| 68 | 45 | {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
+0 −16 Euler/HilbertCoerciveTransport.lean View file
| @@ -26,20 +26,4 @@ theorem transportedOperator_inner (D : V →L[ℝ] W) (A : W →L[ℝ] W) (u v : | ||
| 26 | 26 | ⟪transportedOperator D A u, v⟫_ℝ = ⟪A (D u), D v⟫_ℝ := by |
| 27 | 27 | exact adjoint_inner_left D v (A (D u)) |
| 28 | 28 | |
| 29 | -/-- Coercivity transports using only a proved lower bound for the coordinate map. -/ | |
| 30 | -theorem transportedOperator_coercive (D : V →L[ℝ] W) (A : W →L[ℝ] W) | |
| 31 | - (a d : ℝ) (ha : 0 ≤ a) | |
| 32 | - (hA : ∀ w, a * ‖w‖^2 ≤ ⟪A w, w⟫_ℝ) | |
| 33 | - (hD : ∀ v, d * ‖v‖^2 ≤ ‖D v‖^2) (v : V) : | |
| 34 | - (a*d) * ‖v‖^2 ≤ ⟪transportedOperator D A v, v⟫_ℝ := by | |
| 35 | - rw [transportedOperator_inner] | |
| 36 | - calc | |
| 37 | - (a*d) * ‖v‖^2 = a * (d * ‖v‖^2) := by ring | |
| 38 | - _ ≤ a * ‖D v‖^2 := mul_le_mul_of_nonneg_left (hD v) ha | |
| 39 | - _ ≤ ⟪A (D v), D v⟫_ℝ := hA (D v) | |
| 40 | - | |
| 41 | -/-- The transported forcing is the actual adjoint pullback. -/ | |
| 42 | -theorem transported_forcing_inner (D : V →L[ℝ] W) (f : W) (v : V) : | |
| 43 | - ⟪D.adjoint f, v⟫_ℝ = ⟪f, D v⟫_ℝ := adjoint_inner_left D v f | |
| 44 | - | |
| 45 | 29 | end EulerHilbertCoerciveTransport |
+0 −3 Euler/HilbertQuadraticFlow.lean View file
| @@ -55,9 +55,6 @@ theorem radial_sub_norm (x y : E) : ‖radial x-radial y‖ ≤ 2*‖x-y‖ := b | ||
| 55 | 55 | _ ≤ _ := by simpa only [mul_one] using h1 |
| 56 | 56 | linarith |
| 57 | 57 | |
| 58 | -theorem radial_lipschitz : LipschitzWith 2 (radial : E → E) := | |
| 59 | - lipschitzWith_iff_norm_sub_le.mpr radial_sub_norm | |
| 60 | - | |
| 61 | 58 | def normalized (B : E →L[ℝ] E →L[ℝ] E) (x : E) : E := B (radial x) (radial x) |
| 62 | 59 | |
| 63 | 60 | theorem bilinear_bound (B : E →L[ℝ] E →L[ℝ] E) (x y : E) : |
+0 −4 Euler/IntegralPathLimit.lean View file
| @@ -29,10 +29,6 @@ def pathIntegralOperator (T : ℝ) (hT : 0 ≤ T) (a b : ℝ) : C(Icc (0 : ℝ) | ||
| 29 | 29 | intervalIntegral.norm_integral_le_of_norm_le_const (fun t _ => extendPath_norm_le T hT f t) |
| 30 | 30 | exact h.trans_eq (mul_comm _ _)) |
| 31 | 31 | |
| 32 | -/-- The time-integral operator is the literal Bochner interval integral. -/ | |
| 33 | -theorem pathIntegralOperator_apply (T : ℝ) (hT : 0 ≤ T) (a b : ℝ) (f : C(Icc (0 : ℝ) T,E)) : | |
| 34 | - pathIntegralOperator T hT a b f = ∫ t in a..b, extendPath T hT f t := rfl | |
| 35 | - | |
| 36 | 32 | variable [CompleteSpace E] |
| 37 | 33 | |
| 38 | 34 | /-- Interior time derivatives with continuous endpoint traces give the exact integral evolution formula. -/ |
+0 −10 Euler/IsometricActionCalculus.lean View file
| @@ -31,16 +31,6 @@ theorem hasFDerivAt_all (τ : P → E →ₗᵢ[ℝ] E) | ||
| 31 | 31 | abel_nf |
| 32 | 32 | simpa only [Function.comp_def, id_eq, sub_self, he, ContinuousLinearMap.comp_id] using hd |
| 33 | 33 | |
| 34 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 35 | -theorem orbits_tendstoUniformly (τ : P → E →ₗᵢ[ℝ] E) {ι : Type*} {l : Filter ι} | |
| 36 | - (u : ι → E) (v : E) (hu : Tendsto u l (𝓝 v)) : | |
| 37 | - TendstoUniformly (fun n a => τ a (u n)) (fun a => τ a v) l := by | |
| 38 | - apply Metric.tendstoUniformly_iff.mpr | |
| 39 | - intro ε hε | |
| 40 | - filter_upwards [hu.eventually (Metric.ball_mem_nhds v hε)] with n hn a | |
| 41 | - rw [(τ a).dist_map] | |
| 42 | - simpa only [Metric.mem_ball, dist_comm] using hn | |
| 43 | - | |
| 44 | 34 | theorem derivatives_tendstoUniformly (τ : P → E →ₗᵢ[ℝ] E) {ι : Type*} {l : Filter ι} |
| 45 | 35 | (D : ι → P →L[ℝ] E) (D₀ : P →L[ℝ] E) (hD : Tendsto D l (𝓝 D₀)) : |
| 46 | 36 | TendstoUniformly (fun n a => (τ a).toContinuousLinearMap.comp (D n)) |
+0 −101 Euler/LinearDuhamelGevrey.lean View file
| @@ -50,105 +50,4 @@ theorem weightedSolution_contDiff {n : ℕ∞ω} (hB : ContDiff ℝ n B) | ||
| 50 | 50 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := n) |
| 51 | 51 | (E := C(Icc (0 : ℝ) T,E)) (F := C(Icc (0 : ℝ) T,E)) (normalize g hg)).comp hs |
| 52 | 52 | |
| 53 | -/-- The exact differentiated ODE yields a triangular estimate in the fixed | |
| 54 | -profile norm, with the same homogeneous and Green operators at every order. -/ | |
| 55 | -theorem weightedSolution_derivative_recurrence | |
| 56 | - (hB : ContDiff ℝ ∞ B) (hf : ContDiff ℝ ∞ f) (ha₀ : ContDiff ℝ ∞ a₀) | |
| 57 | - (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) (C : ℝ) (hC : 0 ≤ C) | |
| 58 | - (hU : ∀ x (t s : Icc (0 : ℝ) T), s ≤ t → ‖(U x).propagator t s‖ ≤ C*g t/g s) | |
| 59 | - (x : P) (n : ℕ) : | |
| 60 | - ‖iteratedFDeriv ℝ n (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖ ≤ | |
| 61 | - C*‖iteratedFDeriv ℝ n a₀ x‖ + (C*T)* | |
| 62 | - (‖iteratedFDeriv ℝ n f x‖ + ∑ j ∈ range n, | |
| 63 | - (n.choose (j+1) : ℝ) * ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ * | |
| 64 | - ‖iteratedFDeriv ℝ (n-(j+1)) | |
| 65 | - (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖) := by | |
| 66 | - let u := fun y => (U y).weightedSolution g hg (f y) (a₀ y) | |
| 67 | - have hu := weightedSolution_contDiff T hT B U g hg f a₀ hB hf ha₀ | |
| 68 | - have hfreeze : ∀ y, u y = (U x).weightedInitial g hg (a₀ y) + | |
| 69 | - (U x).weightedForcing g hg (f y + (multiplier (B y)-multiplier (B x)) (u y)) := by | |
| 70 | - intro y | |
| 71 | - have hd : multiplier (B y-B x) = multiplier (B y)-multiplier (B x) := by | |
| 72 | - ext p t | |
| 73 | - rfl | |
| 74 | - simpa only [hd] using (U x).weighted_frozen_solution g hg (U y) (f y) (a₀ y) | |
| 75 | - have hr := EulerFrozenEvolutionGevrey.derivative_recurrence | |
| 76 | - (fun y => multiplier (B y)) u f a₀ (contDiff_multiplier B hB) hu hf ha₀ x | |
| 77 | - ((U x).weightedInitial g hg) ((U x).weightedForcing g hg) hfreeze n | |
| 78 | - exact hr.trans (add_le_add | |
| 79 | - (mul_le_mul_of_nonneg_right ((U x).weightedInitial_norm g hg hg₀ C hC (hU x)) (norm_nonneg _)) | |
| 80 | - (mul_le_mul_of_nonneg_right ((U x).weightedForcing_norm g hg hg₀ C hC (hU x)) (by positivity))) | |
| 81 | - | |
| 82 | -/-- The fixed polynomial amplitude controlling the differentiated forward solve. -/ | |
| 83 | -def forwardCost (T C A D CB : ℝ) : ℝ := 1 + C*A + C*T*(D+CB) | |
| 84 | - | |
| 85 | -/-- The actual forward solve loses one factorial shift. Its radius condition | |
| 86 | -contains only the propagator, coefficient and data amplitudes, and time length. -/ | |
| 87 | -theorem weightedSolution_gevrey | |
| 88 | - (hB : ContDiff ℝ ∞ B) (hf : ContDiff ℝ ∞ f) (ha₀ : ContDiff ℝ ∞ a₀) | |
| 89 | - (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) | |
| 90 | - (C A D CB Rc R : ℝ) (hC : 0 ≤ C) (hA : 0 ≤ A) (hD : 0 ≤ D) (hCB : 0 ≤ CB) | |
| 91 | - (hRc : 0 ≤ Rc) (hR : 2*forwardCost T C A D CB*(Rc+1) ≤ R) | |
| 92 | - (hU : ∀ x (t s : Icc (0 : ℝ) T), s ≤ t → ‖(U x).propagator t s‖ ≤ C*g t/g s) | |
| 93 | - (hcoeff : ∀ j x, ‖iteratedFDeriv ℝ (j+1) B x‖ ≤ CB*(Rc^(j+1)*((j+1).factorial : ℝ)^2)) | |
| 94 | - (d : ℕ) (hforce : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ D*majorant R d n) | |
| 95 | - (hinitial : ∀ n x, ‖iteratedFDeriv ℝ n a₀ x‖ ≤ A*majorant R d n) | |
| 96 | - (n : ℕ) (x : P) : | |
| 97 | - ‖iteratedFDeriv ℝ n (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖ ≤ | |
| 98 | - majorant R (d+1) n := by | |
| 99 | - let u := fun y => (U y).weightedSolution g hg (f y) (a₀ y) | |
| 100 | - let M := forwardCost T C A D CB | |
| 101 | - have hCT : 0 ≤ C*T := mul_nonneg hC hT | |
| 102 | - have hM : 1 ≤ M := by | |
| 103 | - dsimp [M,forwardCost] | |
| 104 | - nlinarith [mul_nonneg hC hA, mul_nonneg hCT (add_nonneg hD hCB)] | |
| 105 | - have hR0 : 0 ≤ R := le_trans | |
| 106 | - (mul_nonneg (mul_nonneg (by norm_num) (le_trans zero_le_one hM)) (by linarith)) hR | |
| 107 | - have htop : C*A + C*T*D ≤ M := by | |
| 108 | - dsimp [M,forwardCost] | |
| 109 | - nlinarith [mul_nonneg hCT hCB] | |
| 110 | - have hcoef : C*T*CB ≤ M := by | |
| 111 | - dsimp [M,forwardCost] | |
| 112 | - nlinarith [mul_nonneg hC hA, mul_nonneg hCT hD] | |
| 113 | - apply triangular_inverse_majorant M Rc R hM hRc hR d | |
| 114 | - (fun k => majorant R d k) (fun k => ‖iteratedFDeriv ℝ k u x‖) (fun _ => le_rfl) _ n | |
| 115 | - intro k | |
| 116 | - let S : ℝ := ∑ j ∈ range k, (k.choose (j+1) : ℝ) * Rc^(j+1) * | |
| 117 | - ((j+1).factorial : ℝ)^2 * ‖iteratedFDeriv ℝ (k-(j+1)) u x‖ | |
| 118 | - have hS : 0 ≤ S := by dsimp [S]; positivity | |
| 119 | - have hmajor : 0 ≤ majorant R d k := majorant_nonneg R hR0 d k | |
| 120 | - have hcoeffOp (j : ℕ) : | |
| 121 | - ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ ≤ | |
| 122 | - CB*(Rc^(j+1)*((j+1).factorial : ℝ)^2) := by | |
| 123 | - have hl := ContinuousLinearMap.norm_iteratedFDeriv_comp_left | |
| 124 | - (𝕜 := ℝ) (E := P) (F := C(Icc (0 : ℝ) T,E →L[ℝ] E)) | |
| 125 | - (G := C(Icc (0 : ℝ) T,E) →L[ℝ] C(Icc (0 : ℝ) T,E)) | |
| 126 | - (coefficientMap (K := Icc (0 : ℝ) T) (E := E) (F := E)) | |
| 127 | - (x := x) hB.contDiffAt (n := j+1) (by simp) | |
| 128 | - exact hl.trans ((mul_le_mul_of_nonneg_right coefficientMap_norm (norm_nonneg _)).trans | |
| 129 | - (by simpa only [one_mul] using hcoeff j x)) | |
| 130 | - have hsum : (∑ j ∈ range k, (k.choose (j+1) : ℝ) * | |
| 131 | - ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ * | |
| 132 | - ‖iteratedFDeriv ℝ (k-(j+1)) u x‖) ≤ CB*S := by | |
| 133 | - dsimp [S] | |
| 134 | - rw [mul_sum] | |
| 135 | - apply sum_le_sum | |
| 136 | - intro j _ | |
| 137 | - have hh := mul_le_mul_of_nonneg_right | |
| 138 | - (mul_le_mul_of_nonneg_left (hcoeffOp j) (by positivity : (0 : ℝ) ≤ k.choose (j+1))) | |
| 139 | - (norm_nonneg (iteratedFDeriv ℝ (k-(j+1)) u x)) | |
| 140 | - convert hh using 1 | |
| 141 | - ring | |
| 142 | - have hr := weightedSolution_derivative_recurrence T hT B U g hg f a₀ hB hf ha₀ hg₀ C hC hU x k | |
| 143 | - have hb : ‖iteratedFDeriv ℝ k u x‖ ≤ C*(A*majorant R d k) + (C*T)*(D*majorant R d k+CB*S) := | |
| 144 | - hr.trans (add_le_add (mul_le_mul_of_nonneg_left (hinitial k x) hC) | |
| 145 | - (mul_le_mul_of_nonneg_left (add_le_add (hforce k x) hsum) hCT)) | |
| 146 | - change ‖iteratedFDeriv ℝ k u x‖ ≤ M*(majorant R d k+S) | |
| 147 | - apply hb.trans | |
| 148 | - calc | |
| 149 | - _ = (C*A+C*T*D)*majorant R d k+(C*T*CB)*S := by ring | |
| 150 | - _ ≤ M*majorant R d k+M*S := add_le_add | |
| 151 | - (mul_le_mul_of_nonneg_right htop hmajor) (mul_le_mul_of_nonneg_right hcoef hS) | |
| 152 | - _ = _ := by ring | |
| 153 | - | |
| 154 | 53 | end EulerLinearDuhamel |
+0 −7 Euler/LinearDuhamelNaturality.lean View file
| @@ -48,11 +48,4 @@ theorem solution_map (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : | ||
| 48 | 48 | · change L (U.solution f a₀ ⟨0,le_rfl,hT⟩) = L a₀ |
| 49 | 49 | rw [U.solution_initial] |
| 50 | 50 | |
| 51 | -/-- Pointwise form of the same identity, including both endpoints. -/ | |
| 52 | -theorem solution_map_apply (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) | |
| 53 | - (t : Icc (0 : ℝ) T) : | |
| 54 | - V.solution (L.compLeftContinuous ℝ (Icc (0 : ℝ) T) f) (L a₀) t = | |
| 55 | - L (U.solution f a₀ t) := by | |
| 56 | - exact congrArg (fun p : C(Icc (0 : ℝ) T,F) => p t) (U.solution_map V L hL f a₀) | |
| 57 | - | |
| 58 | 51 | end EulerLinearDuhamel.Evolution |
+0 −38 Euler/LinearDuhamelSymmetry.lean View file
| @@ -19,13 +19,6 @@ variable {T : ℝ} {hT : 0 ≤ T} {B : C(Icc (0 : ℝ) T,E →L[ℝ] E)} | ||
| 19 | 19 | |
| 20 | 20 | namespace Evolution |
| 21 | 21 | |
| 22 | -/-- The true forced path is independent of the fundamental evolution chosen to represent it. -/ | |
| 23 | -theorem solution_independent (U V : Evolution T hT B) (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : | |
| 24 | - U.solution f a₀ = V.solution f a₀ := by | |
| 25 | - ext t | |
| 26 | - exact V.solution_unique f a₀ (U.solutionReal f a₀) (U.solution_derivative f a₀) | |
| 27 | - (U.solution_initial f a₀) t | |
| 28 | - | |
| 29 | 22 | /-- Sign reversal of both data reverses the actual solution. -/ |
| 30 | 23 | theorem solution_neg (U : Evolution T hT B) (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : |
| 31 | 24 | U.solution (-f) (-a₀) = -U.solution f a₀ := by |
| @@ -41,35 +34,4 @@ end Evolution | ||
| 41 | 34 | variable {P : Type*} (T : ℝ) (hT : 0 ≤ T) |
| 42 | 35 | (B : P → C(Icc (0 : ℝ) T,E →L[ℝ] E)) (U : ∀ x, Evolution T hT (B x)) |
| 43 | 36 | |
| 44 | -/-- Reflection or any other parameter symmetry is inherited from coefficients | |
| 45 | -and data; no regularity or symmetry of the chosen propagators is required. -/ | |
| 46 | -theorem solution_odd_under (σ : P → P) (hB : ∀ x, B (σ x) = B x) | |
| 47 | - (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → E) | |
| 48 | - (hf : ∀ x, f (σ x) = -f x) (ha₀ : ∀ x, a₀ (σ x) = -a₀ x) (x : P) : | |
| 49 | - (U (σ x)).solution (f (σ x)) (a₀ (σ x)) = -(U x).solution (f x) (a₀ x) := by | |
| 50 | - have he := (U x).frozen_solution (U (σ x)) (f (σ x)) (a₀ (σ x)) | |
| 51 | - have hm : multiplier (0 : C(Icc (0 : ℝ) T,E →L[ℝ] E)) = 0 := by | |
| 52 | - ext p t | |
| 53 | - rfl | |
| 54 | - have hcoeff : B (σ x)-B x = 0 := by rw [hB x, sub_self] | |
| 55 | - rw [hcoeff, hm, zero_apply, add_zero] at he | |
| 56 | - calc | |
| 57 | - (U (σ x)).solution (f (σ x)) (a₀ (σ x)) = | |
| 58 | - (U x).initialOperator (a₀ (σ x)) + (U x).forcingOperator (f (σ x)) := he | |
| 59 | - _ = -((U x).initialOperator (a₀ x) + (U x).forcingOperator (f x)) := by | |
| 60 | - rw [hf x, ha₀ x, map_neg, map_neg, neg_add] | |
| 61 | - _ = -(U x).solution (f x) (a₀ x) := by rw [(U x).solution_eq_operators] | |
| 62 | - | |
| 63 | -/-- The actual forward solution stays in the union of the supports of its data. -/ | |
| 64 | -theorem solution_support_subset (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → E) : | |
| 65 | - Function.support (fun x => (U x).solution (f x) (a₀ x)) ⊆ | |
| 66 | - Function.support f ∪ Function.support a₀ := by | |
| 67 | - intro x hx | |
| 68 | - by_cases hf : f x = 0 | |
| 69 | - · by_cases ha : a₀ x = 0 | |
| 70 | - · have hz : (U x).solution (f x) (a₀ x) = 0 := by rw [hf, ha, Evolution.solution_zero] | |
| 71 | - exact (hx hz).elim | |
| 72 | - · exact Or.inr ha | |
| 73 | - · exact Or.inl hf | |
| 74 | - | |
| 75 | 37 | end EulerLinearDuhamel |
+0 −7 Euler/LinearDuhamelWeighted.lean View file
| @@ -64,13 +64,6 @@ theorem weightedForcing_norm (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) (C : ℝ) (hC : 0 | ||
| 64 | 64 | def weightedSolution (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : C(Icc (0 : ℝ) T,E) := |
| 65 | 65 | normalize g hg (U.solution (weight g f) a₀) |
| 66 | 66 | |
| 67 | -/-- The normalized solution is still exactly the two actual data maps. -/ | |
| 68 | -theorem weightedSolution_eq (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : | |
| 69 | - U.weightedSolution g hg f a₀ = U.weightedInitial g hg a₀ + U.weightedForcing g hg f := by | |
| 70 | - unfold weightedSolution | |
| 71 | - rw [U.solution_eq_operators, map_add] | |
| 72 | - rfl | |
| 73 | - | |
| 74 | 67 | variable {D : C(Icc (0 : ℝ) T,E →L[ℝ] E)} (V : Evolution T hT D) |
| 75 | 68 | |
| 76 | 69 | /-- Freezing the coefficient is an actual identity of constructed solutions. -/ |
+0 −30 Euler/LocalFlowTrap.lean View file
| @@ -76,34 +76,4 @@ theorem norm_lt_of_local_speed_bound (X : ℝ → E) (V : ℝ → E → E) | ||
| 76 | 76 | have hbudget : M * s ≤ M * δ := mul_le_mul_of_nonneg_left hsI.2 hM |
| 77 | 77 | nlinarith |
| 78 | 78 | |
| 79 | -omit [NormedSpace ℝ E] in | |
| 80 | -/-- Compactness supplies a common speed bound and positive time budget on a fixed ball. -/ | |
| 81 | -theorem exists_local_speed_budget [ProperSpace E] (u : ℝ → E → E) {A B : ℝ} | |
| 82 | - (hAB : A < B) | |
| 83 | - (hu : ContinuousOn (Function.uncurry u) | |
| 84 | - (Icc (0 : ℝ) 1 ×ˢ Metric.closedBall (0 : E) B)) : | |
| 85 | - ∃ δ M : ℝ, 0 < δ ∧ δ ≤ 1 ∧ 0 < M ∧ δ * M < B - A ∧ | |
| 86 | - ∀ s ∈ Icc 0 δ, ∀ x : E, ‖x‖ ≤ B → ‖u s x‖ ≤ M := by | |
| 87 | - obtain ⟨C, hC⟩ := | |
| 88 | - (isCompact_Icc.prod (isCompact_closedBall (0 : E) B)).exists_bound_of_continuousOn hu | |
| 89 | - let M : ℝ := max C 0 + 1 | |
| 90 | - have hM : 0 < M := by dsimp [M]; positivity | |
| 91 | - let δ : ℝ := min 1 ((B - A) / (2 * M)) | |
| 92 | - have hδ : 0 < δ := lt_min zero_lt_one (div_pos (sub_pos.mpr hAB) (by positivity)) | |
| 93 | - have hδone : δ ≤ 1 := min_le_left _ _ | |
| 94 | - have hsmall : δ * M < B - A := by | |
| 95 | - have hb : δ * M ≤ (B - A) / 2 := by | |
| 96 | - calc | |
| 97 | - δ * M ≤ ((B - A) / (2 * M)) * M := | |
| 98 | - mul_le_mul_of_nonneg_right (min_le_right _ _) hM.le | |
| 99 | - _ = (B - A) / 2 := by field_simp | |
| 100 | - linarith | |
| 101 | - refine ⟨δ, M, hδ, hδone, hM, hsmall, ?_⟩ | |
| 102 | - intro s hs x hx | |
| 103 | - have hxball : x ∈ Metric.closedBall (0 : E) B := by | |
| 104 | - simpa only [Metric.mem_closedBall, dist_zero_right] using hx | |
| 105 | - have hc := hC (s, x) ⟨⟨hs.1, hs.2.trans hδone⟩, hxball⟩ | |
| 106 | - have hCM : C ≤ M := (le_max_left C 0).trans (by dsimp [M]; linarith) | |
| 107 | - exact hc.trans hCM | |
| 108 | - | |
| 109 | 79 | end EulerComparatorLocalFlow |
+0 −24 Euler/LpBochnerRealization.lean View file
| @@ -59,30 +59,6 @@ def realization (w : Lp (Lp E 2 ν) 2 μ) (f : α × β → E) | ||
| 59 | 59 | (hrep : ∀ᵐ x ∂μ, (w x : β → E) =ᵐ[ν] fun y => f (x,y)) : Lp E 2 (μ.prod ν) := |
| 60 | 60 | (field_memLp w f hf hrep).toLp f |
| 61 | 61 | |
| 62 | -theorem realization_ae (w : Lp (Lp E 2 ν) 2 μ) (f : α × β → E) | |
| 63 | - (hf : AEStronglyMeasurable f (μ.prod ν)) | |
| 64 | - (hrep : ∀ᵐ x ∂μ, (w x : β → E) =ᵐ[ν] fun y => f (x,y)) : | |
| 65 | - (realization w f hf hrep : α × β → E) =ᵐ[μ.prod ν] f := | |
| 66 | - (field_memLp w f hf hrep).coeFn_toLp | |
| 67 | - | |
| 68 | 62 | variable [SFinite μ] |
| 69 | 63 | |
| 70 | -/-- Fubini preserves the exact L² norm, with no angle or dimension factor. -/ | |
| 71 | -theorem realization_norm (w : Lp (Lp E 2 ν) 2 μ) (f : α × β → E) | |
| 72 | - (hf : AEStronglyMeasurable f (μ.prod ν)) | |
| 73 | - (hrep : ∀ᵐ x ∂μ, (w x : β → E) =ᵐ[ν] fun y => f (x,y)) : | |
| 74 | - ‖realization w f hf hrep‖ = ‖w‖ := by | |
| 75 | - have he : ‖realization w f hf hrep‖^2 = ‖w‖^2 := by | |
| 76 | - rw [norm_sq_eq_integral] | |
| 77 | - calc | |
| 78 | - _ = ∫ z, ‖f z‖^2 ∂μ.prod ν := by | |
| 79 | - apply integral_congr_ae | |
| 80 | - filter_upwards [realization_ae w f hf hrep] with z hz | |
| 81 | - rw [hz] | |
| 82 | - _ = ∫ x, ∫ y, ‖f (x,y)‖^2 ∂ν ∂μ := | |
| 83 | - integral_prod _ ((memLp_two_iff_integrable_sq_norm hf).1 (field_memLp w f hf hrep)) | |
| 84 | - _ = ∫ x, ‖w x‖^2 ∂μ := integral_congr_ae (fiber_integral w f hrep) | |
| 85 | - _ = _ := (norm_sq_eq_integral w).symm | |
| 86 | - nlinarith [norm_nonneg (realization w f hf hrep), norm_nonneg w] | |
| 87 | - | |
| 88 | 64 | end EulerLpBochnerRealization |
+0 −37 Euler/LpCylinderCoefficients.lean View file
| @@ -116,43 +116,6 @@ theorem liftedOperatorPathMap_norm : ‖liftedOperatorPathMap (V := V) period S | ||
| 116 | 116 | change ‖liftedOperatorPath period S hS T A‖ ≤ 1*‖A‖ |
| 117 | 117 | exact (liftedOperatorPath_norm period S hS T A).trans_eq (one_mul ‖A‖).symm |
| 118 | 118 | |
| 119 | -omit [CompleteSpace V] in | |
| 120 | -/-- The actual cylinder coefficient varies smoothly with all four covering parameters. -/ | |
| 121 | -theorem mixedOperator_contDiff (B : SmoothCoefficientPath (Icc (0 : ℝ) T) (V →L[ℝ] V)) : | |
| 122 | - ContDiff ℝ ∞ (fun a : LiftTangent => liftedOperatorPath period S hS T | |
| 123 | - (translateCoefficientPath B.field a.1)) := by | |
| 124 | - exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 125 | - (E := C(Icc (0 : ℝ) T,Space →ᵇ V →L[ℝ] V)) | |
| 126 | - (F := C(Icc (0 : ℝ) T,Supported period V S hS →L[ℝ] Supported period V S hS)) | |
| 127 | - (liftedOperatorPathMap period S hS T)).comp | |
| 128 | - (B.translation_contDiff.comp (ContinuousLinearMap.fst ℝ Space ℝ).contDiff) | |
| 129 | - | |
| 130 | -omit [CompleteSpace V] in | |
| 131 | -/-- Mixed coefficient jets obey the original spatial tensor bound, with constant one. -/ | |
| 132 | -theorem mixedOperator_bound (B : SmoothCoefficientPath (Icc (0 : ℝ) T) (V →L[ℝ] V)) | |
| 133 | - (n : ℕ) (C : ℝ) (hC : 0 ≤ C) | |
| 134 | - (hb : ∀ t x, ‖iteratedFDeriv ℝ n (B.field t : Space → V →L[ℝ] V) x‖ ≤ C) | |
| 135 | - (a : LiftTangent) : | |
| 136 | - ‖iteratedFDeriv ℝ n (fun b : LiftTangent => liftedOperatorPath period S hS T | |
| 137 | - (translateCoefficientPath B.field b.1)) a‖ ≤ C := by | |
| 138 | - let f : Space → C(Icc (0 : ℝ) T,Space →ᵇ V →L[ℝ] V) := translateCoefficientPath B.field | |
| 139 | - have hf : ContDiff ℝ ∞ f := B.translation_contDiff | |
| 140 | - have hright : ‖iteratedFDeriv ℝ n (f ∘ ContinuousLinearMap.fst ℝ Space ℝ) a‖ ≤ C := by | |
| 141 | - rw [(ContinuousLinearMap.fst ℝ Space ℝ).iteratedFDeriv_comp_right hf a (by simp)] | |
| 142 | - apply (ContinuousMultilinearMap.norm_compContinuousLinearMap_le _ _).trans | |
| 143 | - calc | |
| 144 | - _ ≤ ‖iteratedFDeriv ℝ n f a.1‖ * ∏ _i : Fin n, (1 : ℝ) := by | |
| 145 | - apply mul_le_mul_of_nonneg_left _ (norm_nonneg _) | |
| 146 | - exact Finset.prod_le_prod (fun _ _ => norm_nonneg _) (fun _ _ => ContinuousLinearMap.norm_fst_le ℝ Space ℝ) | |
| 147 | - _ ≤ C := by simpa only [Finset.prod_const_one, mul_one] using B.norm_iteratedFDeriv_translation_le n C hC hb a.1 | |
| 148 | - have hleft := ContinuousLinearMap.norm_iteratedFDeriv_comp_left (𝕜 := ℝ) (E := LiftTangent) | |
| 149 | - (F := C(Icc (0 : ℝ) T,Space →ᵇ V →L[ℝ] V)) | |
| 150 | - (G := C(Icc (0 : ℝ) T,Supported period V S hS →L[ℝ] Supported period V S hS)) | |
| 151 | - (liftedOperatorPathMap period S hS T) | |
| 152 | - ((hf.comp (ContinuousLinearMap.fst ℝ Space ℝ).contDiff).contDiffAt (x := a)) (n := n) (by simp) | |
| 153 | - exact hleft.trans ((mul_le_mul_of_nonneg_right (liftedOperatorPathMap_norm period S hS T) | |
| 154 | - (norm_nonneg _)).trans (by simpa only [one_mul] using hright)) | |
| 155 | - | |
| 156 | 119 | variable (hT : 0 ≤ T) (B : C(Icc (0 : ℝ) T,Space →ᵇ V →L[ℝ] V)) |
| 157 | 120 | |
| 158 | 121 | /-- The cylinder evolution is constructed from the genuine spatial fundamental fields. -/ |
+0 −7 Euler/LpCylinderPathBounds.lean View file
| @@ -33,13 +33,6 @@ private local instance : NormedSpace ℝ C(K,CylinderL2 P E →L[ℝ] CylinderL2 | ||
| 33 | 33 | def mixedOperatorPath (A : C(K,Space →ᵇ E →L[ℝ] F)) (a : LiftTangent) : |
| 34 | 34 | C(K,CylinderL2 P E →L[ℝ] CylinderL2 P F) := fullPathMap P (translateCoefficientPath A a.1) |
| 35 | 35 | |
| 36 | -theorem mixedOperatorPath_contDiff (A : C(K,Space →ᵇ E →L[ℝ] F)) | |
| 37 | - (hA : ContDiff ℝ ∞ (translateCoefficientPath A)) : | |
| 38 | - ContDiff ℝ ∞ (mixedOperatorPath P A) := | |
| 39 | - (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 40 | - (E := C(K,Space →ᵇ E →L[ℝ] F)) (F := C(K,CylinderL2 P E →L[ℝ] CylinderL2 P F)) | |
| 41 | - (fullPathMap P)).comp (hA.comp (ContinuousLinearMap.fst ℝ Space ℝ).contDiff) | |
| 42 | - | |
| 43 | 36 | theorem mixedOperatorPath_bound (A : C(K,Space →ᵇ E →L[ℝ] F)) |
| 44 | 37 | (hA : ContDiff ℝ ∞ (translateCoefficientPath A)) (n : ℕ) (C : ℝ) |
| 45 | 38 | (hb : ∀ a, ‖iteratedFDeriv ℝ n (translateCoefficientPath A) a‖ ≤ C) (a : LiftTangent) : |
+0 −22 Euler/LpCylinderPaths.lean View file
| @@ -114,16 +114,6 @@ theorem translatedData_contDiff (u : CylinderL2 period V) | ||
| 114 | 114 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) (E := CylinderL2 period V) |
| 115 | 115 | (F := Supported period V S hS) (projection (liftMeasure period) (spatialSet period S) (spatialSet_measurable period S hS))).comp hu |
| 116 | 116 | |
| 117 | -/-- The supported parameter family has no larger actual derivative norm. -/ | |
| 118 | -theorem norm_iteratedFDeriv_translatedData_le (u : CylinderL2 period V) | |
| 119 | - (hu : ContDiff ℝ ∞ (fun a : LiftTangent => translate period a u)) (n : ℕ) (a : LiftTangent) : | |
| 120 | - ‖iteratedFDeriv ℝ n (translatedData period S hS u) a‖ ≤ | |
| 121 | - ‖iteratedFDeriv ℝ n (fun b : LiftTangent => translate period b u) a‖ := by | |
| 122 | - have h := (projection (V := V) (liftMeasure period) (spatialSet period S) (spatialSet_measurable period S hS)).norm_iteratedFDeriv_comp_left | |
| 123 | - (hu.contDiffAt (x := a)) (n := n) (by simp) | |
| 124 | - exact h.trans (by simpa only [one_mul] using | |
| 125 | - mul_le_mul_of_nonneg_right (projection_norm (V := V) (liftMeasure period) (spatialSet period S) (spatialSet_measurable period S hS)) (norm_nonneg _)) | |
| 126 | - | |
| 127 | 117 | /-- Uniform-time orbit smoothness is preserved by the fixed support projection. -/ |
| 128 | 118 | theorem translatedForcing_contDiff (f : C(K,CylinderL2 period V)) |
| 129 | 119 | (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a f)) : |
| @@ -131,18 +121,6 @@ theorem translatedForcing_contDiff (f : C(K,CylinderL2 period V)) | ||
| 131 | 121 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) (E := C(K,CylinderL2 period V)) |
| 132 | 122 | (F := C(K,Supported period V S hS)) (projectPath period S hS)).comp hf |
| 133 | 123 | |
| 134 | -/-- The projected forcing jets are bounded by the genuine uniform-time spatial orbit jets. -/ | |
| 135 | -theorem norm_iteratedFDeriv_translatedForcing_le (f : C(K,CylinderL2 period V)) | |
| 136 | - (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a f)) | |
| 137 | - (n : ℕ) (a : LiftTangent) : | |
| 138 | - ‖iteratedFDeriv ℝ n (translatedForcing period S hS f) a‖ ≤ | |
| 139 | - ‖iteratedFDeriv ℝ n (fun b : LiftTangent => pathTranslate period b f) a‖ := by | |
| 140 | - have h := ContinuousLinearMap.norm_iteratedFDeriv_comp_left (𝕜 := ℝ) (E := LiftTangent) | |
| 141 | - (F := C(K,CylinderL2 period V)) (G := C(K,Supported period V S hS)) | |
| 142 | - (projectPath (K := K) (V := V) period S hS) (hf.contDiffAt (x := a)) (n := n) (by simp) | |
| 143 | - exact h.trans (by simpa only [one_mul] using | |
| 144 | - mul_le_mul_of_nonneg_right (projectPath_norm (K := K) (V := V) period S hS) (norm_nonneg _)) | |
| 145 | - | |
| 146 | 124 | |
| 147 | 125 | variable {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q : ℕ) |
| 148 | 126 | |
+0 −8 Euler/LpCylinderRectangular.lean View file
| @@ -164,14 +164,6 @@ def supportedOperatorMap : (Space →ᵇ E →L[ℝ] F) →L[ℝ] | ||
| 164 | 164 | (supportedOperatorMap period S hS A u : CylinderL2 period F) = |
| 165 | 165 | fullOperatorMap period A (u : CylinderL2 period E) := rfl |
| 166 | 166 | |
| 167 | -theorem supportedOperatorMap_norm : ‖supportedOperatorMap (E := E) (F := F) period S hS‖ ≤ 1 := by | |
| 168 | - apply opNorm_le_bound _ zero_le_one | |
| 169 | - intro A | |
| 170 | - rw [one_mul] | |
| 171 | - exact (EulerLpOperatorField.supported_norm (liftMeasure period) (spatialSet period S) | |
| 172 | - (spatialSet_measurable period S hS) (fieldLift period A) ‖A‖ (norm_nonneg A) | |
| 173 | - (fun x _ => A.norm_coe_le_norm x.1)) | |
| 174 | - | |
| 175 | 167 | def supportedPathMap : C(K,Space →ᵇ E →L[ℝ] F) →L[ℝ] |
| 176 | 168 | C(K,Supported period E S hS →L[ℝ] Supported period F S hS) := |
| 177 | 169 | (supportedOperatorMap (E := E) (F := F) period S hS).compLeftContinuous ℝ K |
+0 −9 Euler/LpCylinderTimeWeight.lean View file
| @@ -25,18 +25,9 @@ theorem supportedMultiplier_weight (A : C(K,Space →ᵇ E →L[ℝ] F)) | ||
| 25 | 25 | intro t |
| 26 | 26 | exact (supportedOperatorMap period S hS (A t)).map_smul (g t) (u t) |
| 27 | 27 | |
| 28 | -theorem supportedMultiplier_normalize (hg : ∀ t, 0 < g t) | |
| 29 | - (A : C(K,Space →ᵇ E →L[ℝ] F)) (u : C(K,Supported period E S hS)) : | |
| 30 | - supportedMultiplierMap period S hS A (normalize g hg u) = | |
| 31 | - normalize g hg (supportedMultiplierMap period S hS A u) := | |
| 32 | - supportedMultiplier_weight period S hS (reciprocal g hg) A u | |
| 33 | - | |
| 34 | 28 | theorem include_weight (u : C(K,Supported period E S hS)) : |
| 35 | 29 | includePath period S hS (weight g u) = weight g (includePath period S hS u) := rfl |
| 36 | 30 | |
| 37 | -theorem include_normalize (hg : ∀ t, 0 < g t) (u : C(K,Supported period E S hS)) : | |
| 38 | - includePath period S hS (normalize g hg u) = normalize g hg (includePath period S hS u) := rfl | |
| 39 | - | |
| 40 | 31 | theorem translate_weight (a : LiftTangent) (u : C(K,CylinderL2 period E)) : |
| 41 | 32 | pathTranslate period a (weight g u) = weight g (pathTranslate period a u) := by |
| 42 | 33 | apply ContinuousMap.ext |
+0 −21 Euler/LpCylinderTranslation.lean View file
| @@ -75,16 +75,6 @@ omit [CompactSpace K] in | ||
| 75 | 75 | @[simp] theorem pathTranslate_apply (a : LiftTangent) (u : C(K,CylinderL2 period V)) (t : K) : |
| 76 | 76 | pathTranslate period a u t = translate period a (u t) := rfl |
| 77 | 77 | |
| 78 | -theorem pathTranslate_norm (a : LiftTangent) : ‖pathTranslate (K := K) (V := V) period a‖ ≤ 1 := by | |
| 79 | - apply opNorm_le_bound _ zero_le_one | |
| 80 | - intro u | |
| 81 | - rw [one_mul] | |
| 82 | - apply (ContinuousMap.norm_le _ (norm_nonneg u)).2 | |
| 83 | - intro t | |
| 84 | - change ‖translate period a (u t)‖ ≤ ‖u‖ | |
| 85 | - rw [LinearIsometry.norm_map] | |
| 86 | - exact u.norm_coe_le_norm t | |
| 87 | - | |
| 88 | 78 | end Translation |
| 89 | 79 | |
| 90 | 80 | section Fields |
| @@ -118,17 +108,6 @@ omit [CompactSpace K] [Fact (0 < period)] in | ||
| 118 | 108 | @[simp] theorem fieldPathLift_apply (A : C(K,Space →ᵇ W)) (t : K) (x : LiftDomain period) : |
| 119 | 109 | fieldPathLift period A t x = A t x.1 := rfl |
| 120 | 110 | |
| 121 | -omit [Fact (0 < period)] in | |
| 122 | -theorem fieldPathLift_norm : ‖fieldPathLift (K := K) (W := W) period‖ ≤ 1 := by | |
| 123 | - apply opNorm_le_bound _ zero_le_one | |
| 124 | - intro A | |
| 125 | - rw [one_mul] | |
| 126 | - apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 | |
| 127 | - intro t | |
| 128 | - apply (BoundedContinuousFunction.norm_le (norm_nonneg A)).2 | |
| 129 | - intro x | |
| 130 | - exact ((A t).norm_coe_le_norm x.1).trans (A.norm_coe_le_norm t) | |
| 131 | - | |
| 132 | 111 | end Fields |
| 133 | 112 | |
| 134 | 113 | /-- Support in a set of spatial labels, with arbitrary angular coordinate. -/ |
+0 −16 Euler/LpMultilinearBundling.lean View file
| @@ -32,20 +32,4 @@ theorem multilinearBundling_ae (D : Lp (P [×n]→L[ℝ] V) 2 μ) (v : Fin n → | ||
| 32 | 32 | exact ContinuousLinearMap.coeFn_compLp (𝕜 := ℝ) (𝕜' := ℝ) |
| 33 | 33 | (E := P [×n]→L[ℝ] V) (F := V) (σ := RingHom.id ℝ) L D |
| 34 | 34 | |
| 35 | -theorem multilinearBundling_apply_norm_le (D : Lp (P [×n]→L[ℝ] V) 2 μ) : | |
| 36 | - ‖multilinearBundling (P := P) (V := V) μ n D‖ ≤ ‖D‖ := by | |
| 37 | - apply ContinuousMultilinearMap.opNorm_le_bound (norm_nonneg D) | |
| 38 | - intro v | |
| 39 | - rw [mul_comm] | |
| 40 | - apply Lp.norm_le_mul_norm_of_ae_le_mul | |
| 41 | - filter_upwards [multilinearBundling_ae μ n D v] with x hx | |
| 42 | - rw [hx, mul_comm] | |
| 43 | - exact (D x).le_opNorm v | |
| 44 | - | |
| 45 | -theorem multilinearBundling_norm_le_one : | |
| 46 | - ‖multilinearBundling (P := P) (V := V) μ n‖ ≤ 1 := by | |
| 47 | - apply (multilinearBundling (P := P) (V := V) μ n).opNorm_le_bound zero_le_one | |
| 48 | - intro D | |
| 49 | - simpa only [one_mul] using multilinearBundling_apply_norm_le μ n D | |
| 50 | - | |
| 51 | 35 | end EulerLpDerivative |
+0 −31 Euler/LpOperatorField.lean View file
| @@ -113,12 +113,6 @@ def fullMap : (α →ᵇ (E →L[ℝ] F)) →L[ℝ] (Lp E 2 μ →L[ℝ] Lp F 2 | ||
| 113 | 113 | change ‖full μ A‖ ≤ (1 : ℝ)*‖A‖ |
| 114 | 114 | simpa only [one_mul] using full_norm μ A) |
| 115 | 115 | |
| 116 | -theorem fullMap_norm : ‖fullMap (E := E) (F := F) μ‖ ≤ 1 := by | |
| 117 | - apply opNorm_le_bound _ zero_le_one | |
| 118 | - intro A | |
| 119 | - change ‖full μ A‖ ≤ (1 : ℝ)*‖A‖ | |
| 120 | - simpa only [one_mul] using full_norm μ A | |
| 121 | - | |
| 122 | 116 | end EulerLpOperatorField |
| 123 | 117 | |
| 124 | 118 | namespace EulerLpOperatorField |
| @@ -144,10 +138,6 @@ def supported (A : α →ᵇ (E →L[ℝ] F)) : | ||
| 144 | 138 | ((full μ A).comp (supportedSpace μ S hS).subtypeL).codRestrict |
| 145 | 139 | (supportedSpace μ S hS) (full_mem μ S hS A) |
| 146 | 140 | |
| 147 | -theorem supported_ae (A : α →ᵇ (E →L[ℝ] F)) (u : supportedSpace (V := E) μ S hS) : | |
| 148 | - ((supported μ S hS A u : supportedSpace (V := F) μ S hS) : Lp F 2 μ) =ᵐ[μ] | |
| 149 | - fun x => A x ((u : Lp E 2 μ) x) := full_ae μ A u | |
| 150 | - | |
| 151 | 141 | /-- Only values on the supporting region enter the actual operator norm. -/ |
| 152 | 142 | theorem supported_norm (A : α →ᵇ (E →L[ℝ] F)) (C : ℝ) (hC : 0 ≤ C) |
| 153 | 143 | (hA : ∀ x ∈ S, ‖A x‖ ≤ C) : ‖supported μ S hS A‖ ≤ C := by |
| @@ -162,25 +152,4 @@ theorem supported_norm (A : α →ᵇ (E →L[ℝ] F)) (C : ℝ) (hC : 0 ≤ C) | ||
| 162 | 152 | · exact ((A x).le_opNorm _).trans (mul_le_mul_of_nonneg_right (hA x hx) (norm_nonneg _)) |
| 163 | 153 | · simp only [hu hx,map_zero,norm_zero,mul_zero,le_refl] |
| 164 | 154 | |
| 165 | -/-- A pointwise lower frame bound becomes the actual spatial-L² lower frame bound. -/ | |
| 166 | -theorem supported_norm_sq_lower (A : α →ᵇ (E →L[ℝ] F)) (c : ℝ) (hc : 0 ≤ c) | |
| 167 | - (hA : ∀ x ∈ S, ∀ v : E, c*‖v‖^2 ≤ ‖A x v‖^2) | |
| 168 | - (u : supportedSpace (V := E) μ S hS) : | |
| 169 | - c*‖u‖^2 ≤ ‖supported μ S hS A u‖^2 := by | |
| 170 | - have hroot : (Real.sqrt c)^2 = c := Real.sq_sqrt hc | |
| 171 | - have h : ‖Real.sqrt c • (u : Lp E 2 μ)‖ ≤ ‖full μ A (u : Lp E 2 μ)‖ := by | |
| 172 | - apply Lp.norm_le_norm_of_ae_le | |
| 173 | - filter_upwards [full_ae μ A (u : Lp E 2 μ), Lp.coeFn_smul (Real.sqrt c) (u : Lp E 2 μ), | |
| 174 | - (mem_supportedSpace_ae μ S hS (u : Lp E 2 μ)).1 u.property] with x ha hs hu | |
| 175 | - rw [ha,hs,Pi.smul_apply,norm_smul,Real.norm_eq_abs,abs_of_nonneg (Real.sqrt_nonneg c)] | |
| 176 | - by_cases hx : x ∈ S | |
| 177 | - · apply (sq_le_sq₀ (mul_nonneg (Real.sqrt_nonneg c) (norm_nonneg _)) (norm_nonneg _)).1 | |
| 178 | - rw [mul_pow,hroot] | |
| 179 | - exact hA x hx _ | |
| 180 | - · simp only [hu hx,map_zero,norm_zero,mul_zero,le_refl] | |
| 181 | - rw [norm_smul,Real.norm_eq_abs,abs_of_nonneg (Real.sqrt_nonneg c)] at h | |
| 182 | - have hs := (sq_le_sq₀ (mul_nonneg (Real.sqrt_nonneg c) (norm_nonneg _)) (norm_nonneg _)).2 h | |
| 183 | - change c*‖(u : Lp E 2 μ)‖^2 ≤ ‖full μ A (u : Lp E 2 μ)‖^2 | |
| 184 | - simpa only [mul_pow,hroot] using hs | |
| 185 | - | |
| 186 | 155 | end EulerLpOperatorField |
+0 −61 Euler/LpOperatorFieldPath.lean View file
| @@ -74,12 +74,6 @@ def supportedMap : (α →ᵇ E →L[ℝ] F) →L[ℝ] | ||
| 74 | 74 | |
| 75 | 75 | @[simp] theorem supportedMap_apply (A : α →ᵇ E →L[ℝ] F) : supportedMap μ S hS A = supported μ S hS A := rfl |
| 76 | 76 | |
| 77 | -theorem supportedMap_norm : ‖supportedMap (E := E) (F := F) μ S hS‖ ≤ 1 := by | |
| 78 | - apply opNorm_le_bound _ zero_le_one | |
| 79 | - intro A | |
| 80 | - simpa only [one_mul,supportedMap_apply] using | |
| 81 | - supported_norm μ S hS A ‖A‖ (norm_nonneg _) (fun x _ => A.norm_coe_le_norm x) | |
| 82 | - | |
| 83 | 77 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 84 | 78 | |
| 85 | 79 | /-- The actual rectangular coefficient map uniformly along a compact time set. -/ |
| @@ -91,66 +85,11 @@ omit [CompactSpace K] in | ||
| 91 | 85 | @[simp] theorem supportedPathMap_apply (A : C(K,α →ᵇ E →L[ℝ] F)) (t : K) : |
| 92 | 86 | supportedPathMap μ S hS A t = supported μ S hS (A t) := rfl |
| 93 | 87 | |
| 94 | -theorem supportedPathMap_norm : ‖supportedPathMap (K := K) (E := E) (F := F) μ S hS‖ ≤ 1 := by | |
| 95 | - apply opNorm_le_bound _ zero_le_one | |
| 96 | - intro A | |
| 97 | - rw [one_mul] | |
| 98 | - apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 | |
| 99 | - intro t | |
| 100 | - exact (supported_norm μ S hS (A t) ‖A t‖ (norm_nonneg _) (fun x _ => (A t).norm_coe_le_norm x)).trans | |
| 101 | - (A.norm_coe_le_norm t) | |
| 102 | - | |
| 103 | -omit [CompactSpace K] in | |
| 104 | -/-- Every-time pointwise lower frame bounds hold on the real L² frame path. -/ | |
| 105 | -theorem supportedPath_lower (A : C(K,α →ᵇ E →L[ℝ] F)) (c : ℝ) (hc : 0 ≤ c) | |
| 106 | - (hA : ∀ t x, x ∈ S → ∀ v, c*‖v‖^2 ≤ ‖A t x v‖^2) | |
| 107 | - (t : K) (u : supportedSpace (V := E) μ S hS) : | |
| 108 | - c*‖u‖^2 ≤ ‖supportedPathMap μ S hS A t u‖^2 := | |
| 109 | - supported_norm_sq_lower μ S hS (A t) c hc (hA t) u | |
| 110 | - | |
| 111 | 88 | section Derivative |
| 112 | 89 | |
| 113 | 90 | variable [CompleteSpace F] |
| 114 | 91 | (T : ℝ) (hT : 0 ≤ T) (A A' : C(Icc (0 : ℝ) T,α →ᵇ E →L[ℝ] F)) |
| 115 | 92 | |
| 116 | -/-- Literal pointwise coefficient time derivatives give the genuine within-time | |
| 117 | -operator derivative; no global time extension is assumed. -/ | |
| 118 | -theorem supportedPath_hasDerivWithinAt | |
| 119 | - (hpoint : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : α, | |
| 120 | - HasDerivWithinAt (fun s => extendPath T hT A s x) | |
| 121 | - (extendPath T hT A' t x) (Icc (0 : ℝ) T) t) | |
| 122 | - (t : Icc (0 : ℝ) T) : | |
| 123 | - HasDerivWithinAt (extendPath T hT (supportedPathMap μ S hS A)) | |
| 124 | - (supportedPathMap μ S hS A' t) (Icc (0 : ℝ) T) t := by | |
| 125 | - have hfield := EulerBoundedFieldTimeDerivative.hasDerivWithinAt T hT A A' hpoint t t.property | |
| 126 | - have hlinear : HasFDerivAt | |
| 127 | - (fun B : α →ᵇ E →L[ℝ] F => supportedMap μ S hS B) | |
| 128 | - (supportedMap μ S hS) (extendPath T hT A t) := | |
| 129 | - ContinuousLinearMap.hasFDerivAt (𝕜 := ℝ) (E := α →ᵇ E →L[ℝ] F) | |
| 130 | - (F := supportedSpace (V := E) μ S hS →L[ℝ] supportedSpace (V := F) μ S hS) | |
| 131 | - (supportedMap μ S hS) | |
| 132 | - have hd := hlinear.comp_hasDerivWithinAt (t : ℝ) hfield | |
| 133 | - change HasDerivWithinAt (fun s => supportedMap μ S hS (A (projIcc 0 T hT s))) | |
| 134 | - (supportedMap μ S hS (A' t)) (Icc (0 : ℝ) T) t | |
| 135 | - change HasDerivWithinAt (fun s => supportedMap μ S hS (A (projIcc 0 T hT s))) | |
| 136 | - (supportedMap μ S hS (A' (projIcc 0 T hT t))) (Icc (0 : ℝ) T) t at hd | |
| 137 | - rwa [projIcc_of_mem hT t.property] at hd | |
| 138 | - | |
| 139 | 93 | end Derivative |
| 140 | 94 | |
| 141 | -/-- A localized Hessian upper bound passes to its genuine supported L² operator. -/ | |
| 142 | -theorem supported_quadratic_upper (A : α →ᵇ E →L[ℝ] E) (C : ℝ) | |
| 143 | - (hA : ∀ x ∈ S, ∀ v, ⟪A x v,v⟫_ℝ ≤ C*‖v‖^2) (u : supportedSpace (V := E) μ S hS) : | |
| 144 | - ⟪supported μ S hS A u,u⟫_ℝ ≤ C*‖u‖^2 := by | |
| 145 | - change ⟪full μ A (u : Lp E 2 μ),(u : Lp E 2 μ)⟫_ℝ ≤ C*‖(u : Lp E 2 μ)‖^2 | |
| 146 | - rw [← real_inner_self_eq_norm_sq,L2.inner_def,L2.inner_def,← integral_const_mul] | |
| 147 | - apply integral_mono_ae (L2.integrable_inner (full μ A (u : Lp E 2 μ)) (u : Lp E 2 μ)) | |
| 148 | - ((L2.integrable_inner (u : Lp E 2 μ) (u : Lp E 2 μ)).const_mul C) | |
| 149 | - filter_upwards [full_ae μ A (u : Lp E 2 μ), | |
| 150 | - (mem_supportedSpace_ae μ S hS (u : Lp E 2 μ)).1 u.property] with x hx hu | |
| 151 | - rw [hx,real_inner_self_eq_norm_sq] | |
| 152 | - by_cases hs : x ∈ S | |
| 153 | - · exact hA x hs _ | |
| 154 | - · simp only [hu hs,map_zero,inner_zero_left,norm_zero,zero_pow (by decide : 2 ≠ 0),mul_zero,le_refl] | |
| 155 | - | |
| 156 | 95 | end EulerLpOperatorField |
+0 −4 Euler/LpSmoothFamilyJets.lean View file
| @@ -64,8 +64,4 @@ private theorem norm_iteratedFDeriv_value_aux (n : ℕ) : | ||
| 64 | 64 | (derivativeBundling_norm_le_one (P := P) (V := V) μ) (norm_nonneg _)).trans |
| 65 | 65 | (by simpa only [one_mul] using hi)) |
| 66 | 66 | |
| 67 | -/-- Each true L² derivative inherits its original fiberwise L² majorant with constant one. -/ | |
| 68 | -theorem norm_iteratedFDeriv_value_le (A : SmoothFamily μ P V) (n : ℕ) (a : P) : | |
| 69 | - ‖iteratedFDeriv ℝ n A.value a‖ ≤ ‖A.bound n‖ := norm_iteratedFDeriv_value_aux n V A a | |
| 70 | - | |
| 71 | 67 | end EulerLpSmoothFamily.SmoothFamily |
+0 −6 Euler/LpSmoothFieldAlgebra.lean View file
| @@ -144,10 +144,4 @@ theorem continuous_jetLp_derivative (A : K → SmoothL2Field V) | ||
| 144 | 144 | rw [he] |
| 145 | 145 | exact ContinuousLinearMap.continuous _ |>.comp (hA (n+1)) |
| 146 | 146 | |
| 147 | -theorem continuous_jetLp_directionalField (A : K → SmoothL2Field V) | |
| 148 | - (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) (v : Space) (n : ℕ) : | |
| 149 | - Continuous (fun t => (directionalField (A t) v).jetLp n) := | |
| 150 | - continuous_jetLp_mapField (ContinuousLinearMap.apply ℝ V v) (fun t => (A t).derivative) | |
| 151 | - (continuous_jetLp_derivative A hA) n | |
| 152 | - | |
| 153 | 147 | end EulerLpTranslation.SmoothL2Field |
+0 −6 Euler/LpSmoothJetField.lean View file
| @@ -59,12 +59,6 @@ private theorem jetField_field_aux (n : ℕ) : | ||
| 59 | 59 | (jetField n A).field x = iteratedFDeriv ℝ n A.field x := |
| 60 | 60 | jetField_field_aux n V A x |
| 61 | 61 | |
| 62 | -theorem jetField_toLp {V : Type u} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 63 | - (A : SmoothL2Field V) (n : ℕ) : (jetField n A).toLp = A.jetLp n := by | |
| 64 | - apply Lp.ext | |
| 65 | - filter_upwards [(jetField n A).toLp_ae, A.jetLp_ae n] with x h₁ h₂ | |
| 66 | - exact h₁.trans ((jetField_field A n x).trans h₂.symm) | |
| 67 | - | |
| 68 | 62 | variable {K : Type v} [TopologicalSpace K] |
| 69 | 63 | |
| 70 | 64 | private theorem continuous_jetField_jet_aux (n : ℕ) : |
+0 −25 Euler/LpSupportedConstructedEvolution.lean View file
| @@ -46,29 +46,4 @@ theorem fundamental_pointwise_derivative (t : ℝ) (ht : t ∈ Icc (0 : ℝ) T) | ||
| 46 | 46 | convert hd using 1 |
| 47 | 47 | all_goals rfl |
| 48 | 48 | |
| 49 | -/-- A genuine supported-L² evolution constructed from the original bounded coefficient. -/ | |
| 50 | -def constructedSupportedEvolution (μ : Measure α) (S : Set α) (hS : MeasurableSet S) : | |
| 51 | - Evolution T hT (operatorPath μ S hS T B) := | |
| 52 | - liftEvolution μ S hS T hT B (fundamentalPath T hT B).forward (fundamentalPath T hT B).backward | |
| 53 | - (fun t x _ => congrArg (fun A : Field (α := α) (V := V) => A x) | |
| 54 | - ((fundamentalPath T hT B).forward_backward t)) | |
| 55 | - (fun t x _ => congrArg (fun A : Field (α := α) (V := V) => A x) | |
| 56 | - ((fundamentalPath T hT B).backward_forward t)) | |
| 57 | - (fundamental_pointwise_derivative T hT B) | |
| 58 | - | |
| 59 | -/-- The actual supported-L² propagator retains the exact localized H3 bound. -/ | |
| 60 | -theorem constructedSupportedEvolution_propagator_norm | |
| 61 | - (μ : Measure α) (S : Set α) (hS : MeasurableSet S) | |
| 62 | - (g : Icc (0 : ℝ) T → ℝ) (hg : ∀ t, 0 < g t) (C : ℝ) (hC : 0 ≤ C) | |
| 63 | - (hprop : ∀ t s : Icc (0 : ℝ) T, s ≤ t → ∀ x ∈ S, | |
| 64 | - ‖((fundamentalPath T hT B).forward t x).comp ((fundamentalPath T hT B).backward s x)‖ ≤ | |
| 65 | - C*g t/g s) | |
| 66 | - (t s : Icc (0 : ℝ) T) (hst : s ≤ t) : | |
| 67 | - ‖(constructedSupportedEvolution T hT B μ S hS).propagator t s‖ ≤ C*g t/g s := by | |
| 68 | - change ‖(operator μ S hS ((fundamentalPath T hT B).forward t)).comp | |
| 69 | - (operator μ S hS ((fundamentalPath T hT B).backward s))‖ ≤ _ | |
| 70 | - rw [← operator_mul] | |
| 71 | - exact operator_norm_le μ S hS _ (C*g t/g s) | |
| 72 | - (div_nonneg (mul_nonneg hC (hg t).le) (hg s).le) (hprop t s hst) | |
| 73 | - | |
| 74 | 49 | end EulerLpSupportedConstructedEvolution |
+0 −42 Euler/LpSupportedEvolution.lean View file
| @@ -111,46 +111,4 @@ def liftEvolution : Evolution T hT (operatorPath μ S hS T B) where | ||
| 111 | 111 | rw [operator_mul] at hd |
| 112 | 112 | exact hd |
| 113 | 113 | |
| 114 | -/-- The pointwise localized (H3) estimate is the actual L² propagator norm, | |
| 115 | -with the identical relative profile factor. -/ | |
| 116 | -theorem liftEvolution_propagator_norm (g : Icc (0 : ℝ) T → ℝ) (hg : ∀ t, 0 < g t) | |
| 117 | - (C : ℝ) (hC : 0 ≤ C) | |
| 118 | - (hprop : ∀ t s : Icc (0 : ℝ) T, s ≤ t → ∀ x ∈ S, | |
| 119 | - ‖(Φ t x).comp (Ψ s x)‖ ≤ C*g t/g s) | |
| 120 | - (t s : Icc (0 : ℝ) T) (hst : s ≤ t) : | |
| 121 | - ‖(liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ).propagator t s‖ ≤ C*g t/g s := by | |
| 122 | - change ‖(operator μ S hS (Φ t)).comp (operator μ S hS (Ψ s))‖ ≤ _ | |
| 123 | - rw [← operator_mul] | |
| 124 | - exact operator_norm_le μ S hS (Φ t*Ψ s) (C*g t/g s) | |
| 125 | - (div_nonneg (mul_nonneg hC (hg t).le) (hg s).le) (hprop t s hst) | |
| 126 | - | |
| 127 | -/-- The actual forced supported-L² path has the source's polynomial profile bound. -/ | |
| 128 | -theorem liftedSolution_profile_bound | |
| 129 | - (f : C(Icc (0 : ℝ) T,supportedSpace (V := V) μ S hS)) | |
| 130 | - (a₀ : supportedSpace (V := V) μ S hS) | |
| 131 | - (g : Icc (0 : ℝ) T → ℝ) (hg : ∀ t, 0 < g t) (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) | |
| 132 | - (C D : ℝ) (hC : 0 ≤ C) | |
| 133 | - (hprop : ∀ t s : Icc (0 : ℝ) T, s ≤ t → ∀ x ∈ S, | |
| 134 | - ‖(Φ t x).comp (Ψ s x)‖ ≤ C*g t/g s) | |
| 135 | - (hf : ∀ s, ‖f s‖ ≤ D*g s) (t : Icc (0 : ℝ) T) : | |
| 136 | - ‖(liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ).solution f a₀ t‖ ≤ | |
| 137 | - C*g t*(‖a₀‖+(t : ℝ)*D) := | |
| 138 | - (liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ).solution_profile_bound f a₀ g hg hg₀ C D hC | |
| 139 | - (liftEvolution_propagator_norm μ S hS T hT B Φ Ψ hRight hLeft hΦ g hg C hC hprop) hf t | |
| 140 | - | |
| 141 | -/-- This profile-bounded path solves the actual supported-L² differential equation. -/ | |
| 142 | -theorem liftedSolution_hasDerivWithinAt | |
| 143 | - (f : C(Icc (0 : ℝ) T,supportedSpace (V := V) μ S hS)) | |
| 144 | - (a₀ : supportedSpace (V := V) μ S hS) (t : Icc (0 : ℝ) T) : | |
| 145 | - HasDerivWithinAt | |
| 146 | - (extendPath T hT ((liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ).solution f a₀)) | |
| 147 | - (operator μ S hS (B t) ((liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ).solution f a₀ t) + f t) | |
| 148 | - (Icc (0 : ℝ) T) t := by | |
| 149 | - let U := liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ | |
| 150 | - have hd := U.solution_derivative f a₀ t | |
| 151 | - apply hd.congr_of_mem _ t.property | |
| 152 | - intro s hs | |
| 153 | - simp only [extendPath, projIcc_of_mem hT hs] | |
| 154 | - rfl | |
| 155 | - | |
| 156 | 114 | end EulerLpSupportedEvolution |
+0 −5 Euler/LpSupportedMultiplier.lean View file
| @@ -49,11 +49,6 @@ def operator (A : Field (α := α) (V := V)) : | ||
| 49 | 49 | ((full μ A).comp (supportedSpace μ S hS).subtypeL).codRestrict |
| 50 | 50 | (supportedSpace μ S hS) (full_mem μ S hS A) |
| 51 | 51 | |
| 52 | -/-- The supported operator retains the actual pointwise representative. -/ | |
| 53 | -theorem operator_ae (A : Field (α := α) (V := V)) (u : supportedSpace (V := V) μ S hS) : | |
| 54 | - ((operator μ S hS A u : supportedSpace μ S hS) : Lp V 2 μ) =ᵐ[μ] | |
| 55 | - fun x => A x ((u : Lp V 2 μ) x) := full_ae μ A u | |
| 56 | - | |
| 57 | 52 | /-- The actual L² bound only requires control on the set supporting the input. -/ |
| 58 | 53 | theorem operator_apply_norm_le (A : Field (α := α) (V := V)) (C : ℝ) |
| 59 | 54 | (hbound : ∀ x ∈ S, ‖A x‖ ≤ C) (u : supportedSpace (V := V) μ S hS) : |
+0 −25 Euler/LpSupportedTranslation.lean View file
| @@ -26,10 +26,6 @@ variable {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] | ||
| 26 | 26 | /-- The exact support set of a translated field. -/ |
| 27 | 27 | def shiftedSet (a : Space) (S : Set Space) : Set Space := {x | x+a ∈ S} |
| 28 | 28 | |
| 29 | -/-- Translated supports remain measurable. -/ | |
| 30 | -theorem shiftedSet_measurable (a : Space) (S : Set Space) (hS : MeasurableSet S) : | |
| 31 | - MeasurableSet (shiftedSet a S) := hS.preimage (measurable_id.add measurable_const) | |
| 32 | - | |
| 33 | 29 | /-- Translation carries an actual supported L² field into its translated support set. -/ |
| 34 | 30 | theorem translation_mem (a : Space) (S Ω : Set Space) (hS : MeasurableSet S) (hΩ : MeasurableSet Ω) |
| 35 | 31 | (hsub : shiftedSet a S ⊆ Ω) (u : supportedSpace (V := V) volume S hS) : |
| @@ -56,27 +52,6 @@ def intoLarger (a : Space) (S Ω : Set Space) (hS : MeasurableSet S) (hΩ : Meas | ||
| 56 | 52 | (hsub : shiftedSet a S ⊆ Ω) (u : supportedSpace (V := V) volume S hS) : |
| 57 | 53 | (intoLarger a S Ω hS hΩ hsub u : L2Space V) = translation a (u : L2Space V) := rfl |
| 58 | 54 | |
| 59 | -/-- The translated coefficient is the literal original field at `x+a`. -/ | |
| 60 | -def translatedField (A : Field (α := Space) (V := V)) (a : Space) : Field (α := Space) (V := V) := | |
| 61 | - EulerMeanCoefficients.translated A a | |
| 62 | - | |
| 63 | -/-- Actual coefficient multiplication intertwines the support-changing translation. -/ | |
| 64 | -theorem operator_intertwines (a : Space) (S Ω : Set Space) (hS : MeasurableSet S) (hΩ : MeasurableSet Ω) | |
| 65 | - (hsub : shiftedSet a S ⊆ Ω) (A : Field (α := Space) (V := V)) | |
| 66 | - (u : supportedSpace (V := V) volume S hS) : | |
| 67 | - operator volume Ω hΩ (translatedField A a) (intoLarger a S Ω hS hΩ hsub u) = | |
| 68 | - intoLarger a S Ω hS hΩ hsub (operator volume S hS A u) := by | |
| 69 | - apply Subtype.ext | |
| 70 | - apply Lp.ext | |
| 71 | - filter_upwards [full_ae volume (translatedField A a) (translation a (u : L2Space V)), | |
| 72 | - translation_ae a (u : L2Space V), translation_ae a (full volume A (u : L2Space V)), | |
| 73 | - (measurePreserving_add_right (volume : Measure Space) a).quasiMeasurePreserving.ae | |
| 74 | - (full_ae volume A (u : L2Space V))] with x hl hu hr ha | |
| 75 | - change (full volume (translatedField A a) (translation a (u : L2Space V))) x = | |
| 76 | - (translation a (full volume A (u : L2Space V))) x | |
| 77 | - rw [hl, hu, hr, ha] | |
| 78 | - rfl | |
| 79 | - | |
| 80 | 55 | /-- Compactly supported data have a qualitative translation neighborhood |
| 81 | 56 | inside any prescribed larger open support region. -/ |
| 82 | 57 | theorem compact_support_translation_margin (K Ω : Set Space) (hK : IsCompact K) (hΩ : IsOpen Ω) |
+0 −18 Euler/LpTranslation.lean View file
| @@ -44,30 +44,12 @@ theorem translation_continuous (u : L2Space V) : Continuous (fun a : Space => tr | ||
| 44 | 44 | exact continuous_const.compMeasurePreservingLp hg |
| 45 | 45 | (fun a => measurePreserving_add_right (volume : Measure Space) a) (by norm_num) |
| 46 | 46 | |
| 47 | -theorem translation_norm_le (a : Space) : | |
| 48 | - ‖(translation (V := V) a).toContinuousLinearMap‖ ≤ 1 := by | |
| 49 | - apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one | |
| 50 | - intro u | |
| 51 | - simp only [LinearIsometry.coe_toContinuousLinearMap, LinearIsometry.norm_map, one_mul, le_refl] | |
| 52 | - | |
| 53 | 47 | theorem translation_hasFDerivAt_all (u : L2Space V) (D : Space →L[ℝ] L2Space V) |
| 54 | 48 | (h : HasFDerivAt (fun a : Space => translation a u) D 0) (a : Space) : |
| 55 | 49 | HasFDerivAt (fun b : Space => translation b u) |
| 56 | 50 | ((translation a).toContinuousLinearMap.comp D) a := |
| 57 | 51 | EulerIsometricAction.hasFDerivAt_all translation translation_add u D h a |
| 58 | 52 | |
| 59 | -theorem translation_orbits_tendstoUniformly {ι : Type*} {l : Filter ι} | |
| 60 | - (u : ι → L2Space V) (v : L2Space V) (hu : Tendsto u l (𝓝 v)) : | |
| 61 | - TendstoUniformly (fun n a => translation a (u n)) (fun a => translation a v) l := | |
| 62 | - EulerIsometricAction.orbits_tendstoUniformly translation u v hu | |
| 63 | - | |
| 64 | -theorem translation_derivatives_tendstoUniformly {ι : Type*} {l : Filter ι} | |
| 65 | - (D : ι → Space →L[ℝ] L2Space V) (D₀ : Space →L[ℝ] L2Space V) | |
| 66 | - (hD : Tendsto D l (𝓝 D₀)) : | |
| 67 | - TendstoUniformly (fun n a => (translation a).toContinuousLinearMap.comp (D n)) | |
| 68 | - (fun a => (translation a).toContinuousLinearMap.comp D₀) l := | |
| 69 | - EulerIsometricAction.derivatives_tendstoUniformly translation D D₀ hD | |
| 70 | - | |
| 71 | 53 | /-- Convergent ordinary L² fields and their actual translation derivatives have the expected derivative in the limit. -/ |
| 72 | 54 | theorem translation_hasFDerivAt_limit (u : ℕ → L2Space V) |
| 73 | 55 | (D : ℕ → Space →L[ℝ] L2Space V) (u₀ : L2Space V) (D₀ : Space →L[ℝ] L2Space V) |
+0 −44 Euler/MeanAccelerationGevrey.lean View file
| @@ -72,48 +72,4 @@ theorem meanAcceleration_translation_contDiff {n : ℕ∞ω} | ||
| 72 | 72 | exact Eq.mpr (congrArg (fun g : Space → TimeLp T solenoidalSpace => ContDiff ℝ n g) |
| 73 | 73 | (meanAcceleration_orbit_eq T hT F F₁ c hc hLower v f)) hs |
| 74 | 74 | |
| 75 | -/-- The genuine acceleration gains one factorial shift relative to its | |
| 76 | -velocity and forcing inputs, with an explicit polynomial radius condition. -/ | |
| 77 | -theorem meanAcceleration_translation_gevrey | |
| 78 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 79 | - (hF₁ : ContDiff ℝ ∞ (fun a : Space => translatePath T a F₁)) | |
| 80 | - (hv : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a v)) | |
| 81 | - (hf : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a f)) | |
| 82 | - (Rc R CF CF₁ Cf Cv : ℝ) (hRc : 0 ≤ Rc) (hR : 0 ≤ R) (hRcR : Rc ≤ R) | |
| 83 | - (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) (hCf : 0 ≤ Cf) (hCv : 0 ≤ Cv) | |
| 84 | - (hstrong : 2*gramCost c CF (3*CF*(Cf+6*CF₁*Cv))*(Rc+1) ≤ R) | |
| 85 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant Rc 0 n) | |
| 86 | - (hF₁b : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant Rc 0 n) | |
| 87 | - (d : ℕ) | |
| 88 | - (hfb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b f) a‖ ≤ Cf*majorant R d n) | |
| 89 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b v) a‖ ≤ Cv*majorant R d n) | |
| 90 | - (n : ℕ) (a : Space) : | |
| 91 | - ‖iteratedFDeriv ℝ n (fun b : Space => | |
| 92 | - timeSolenoidalTranslation T b (meanAcceleration T hT F F₁ c hc hLower v f)) a‖ ≤ | |
| 93 | - majorant R (d+1) n := by | |
| 94 | - let Q := fun b : Space => solenoidalFrame T (translatePath T b F) | |
| 95 | - let Q₁ := fun b : Space => solenoidalFrame T (translatePath T b F₁) | |
| 96 | - have hQ : ContDiff ℝ ∞ Q := contDiff_solenoidalFrame T (fun b => translatePath T b F) hF | |
| 97 | - have hQ₁ : ContDiff ℝ ∞ Q₁ := contDiff_solenoidalFrame T (fun b => translatePath T b F₁) hF₁ | |
| 98 | - have hbQ : ∀ k b, ‖iteratedFDeriv ℝ k Q b‖ ≤ CF*majorant Rc 0 k := | |
| 99 | - solenoidalFrame_bound T (fun b => translatePath T b F) hF Rc CF hRc hCF 0 hFb | |
| 100 | - have hbQ₁ : ∀ k b, ‖iteratedFDeriv ℝ k Q₁ b‖ ≤ CF₁*majorant Rc 0 k := | |
| 101 | - solenoidalFrame_bound T (fun b => translatePath T b F₁) hF₁ Rc CF₁ hRc hCF₁ 0 hF₁b | |
| 102 | - have hbQR (k b) : ‖iteratedFDeriv ℝ k Q b‖ ≤ CF*majorant R 0 k := | |
| 103 | - (hbQ k b).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 k) hCF) | |
| 104 | - have hbQ₁R (k b) : ‖iteratedFDeriv ℝ k Q₁ b‖ ≤ CF₁*majorant R 0 k := | |
| 105 | - (hbQ₁ k b).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 k) hCF₁) | |
| 106 | - let g := EulerTimeLpAccelerationForcing.forcing T hT Q Q₁ | |
| 107 | - (fun b => timeTranslation T b f) (fun b => timeSolenoidalTranslation T b v) | |
| 108 | - have hg : ContDiff ℝ ∞ g := EulerTimeLpAccelerationForcing.forcing_contDiff T hT Q Q₁ | |
| 109 | - (fun b => timeTranslation T b f) (fun b => timeSolenoidalTranslation T b v) hQ hQ₁ hf hv | |
| 110 | - have hgb : ∀ k b, ‖iteratedFDeriv ℝ k g b‖ ≤ (3*CF*(Cf+6*CF₁*Cv))*majorant R d k := | |
| 111 | - EulerTimeLpAccelerationForcing.forcing_bound T hT Q Q₁ | |
| 112 | - (fun b => timeTranslation T b f) (fun b => timeSolenoidalTranslation T b v) | |
| 113 | - hQ hQ₁ hf hv R CF CF₁ Cf Cv hR hCF hCF₁ hCf hCv d hbQR hbQ₁R hfb hvb | |
| 114 | - have hs := gramSolution_gevrey T hT Q c hc (translatedFrame_lower T F c hLower) hQ | |
| 115 | - Rc CF hRc hCF hbQ g hg (3*CF*(Cf+6*CF₁*Cv)) R (by positivity) hstrong d hgb n a | |
| 116 | - exact (congrArg (fun g : Space → TimeLp T solenoidalSpace => ‖iteratedFDeriv ℝ n g a‖) | |
| 117 | - (meanAcceleration_orbit_eq T hT F F₁ c hc hLower v f)).trans_le hs | |
| 118 | - | |
| 119 | 75 | end EulerMeanAccelerationGevrey |
+0 −81 Euler/MeanBoundaryDerivative.lean View file
| @@ -20,12 +20,6 @@ private local instance : NormedSpace ℝ (Space →L[ℝ] Space →L[ℝ] ℝ) : | ||
| 20 | 20 | apply Cutoff.ext |
| 21 | 21 | exact funext fun x => congrArg χ.field (add_zero x) |
| 22 | 22 | |
| 23 | -theorem cutoffCurl_differenceError (χ : Cutoff) (a : Space) (h : ℝ) : | |
| 24 | - cutoffCurl (χ.differenceError a h) = | |
| 25 | - h⁻¹ • (cutoffCurl (χ.translate (h • a)) - cutoffCurl χ) - cutoffCurl (χ.directional a) := by | |
| 26 | - rw [Cutoff.differenceError, cutoffCurl_sub, Cutoff.differenceQuotient, | |
| 27 | - cutoffCurl_scale, cutoffCurl_sub] | |
| 28 | - | |
| 29 | 23 | theorem Cutoff.exists_taylor_controls (χ : Cutoff) : |
| 30 | 24 | ∃ R M₂ M₃ : ℝ, 0 ≤ M₂ ∧ 0 ≤ M₃ ∧ |
| 31 | 25 | tsupport χ.field ⊆ Metric.closedBall (0 : Space) R ∧ |
| @@ -40,84 +34,9 @@ theorem Cutoff.exists_taylor_controls (χ : Cutoff) : | ||
| 40 | 34 | obtain ⟨M₃, h₃⟩ := (((χ.compact.fderiv ℝ).fderiv ℝ).fderiv ℝ).exists_bound_of_continuous hs₃.continuous |
| 41 | 35 | exact ⟨R, M₂, M₃, (norm_nonneg _).trans (h₂ 0), (norm_nonneg _).trans (h₃ 0), hR, h₂, h₃⟩ |
| 42 | 36 | |
| 43 | -/-- Translating the actual cutoff differentiates the bounded cutoff-curl map in operator norm. -/ | |
| 44 | -theorem cutoffCurl_hasDerivAt_zero (χ : Cutoff) (a : Space) : | |
| 45 | - HasDerivAt (fun t : ℝ => cutoffCurl (χ.translate (t • a))) | |
| 46 | - (cutoffCurl (χ.directional a)) 0 := by | |
| 47 | - obtain ⟨R, M₂, M₃, hM₂, hM₃, hs, h₂, h₃⟩ := χ.exists_taylor_controls | |
| 48 | - have hstep : ∀ᶠ h : ℝ in 𝓝 0, ‖h • a‖ ≤ 1 := by | |
| 49 | - have hc : ContinuousAt (fun h : ℝ => ‖h • a‖) 0 := by fun_prop | |
| 50 | - exact (hc.eventually (gt_mem_nhds (by simp : ‖(0 : ℝ) • a‖ < 1))).mono (fun _ hh => hh.le) | |
| 51 | - apply (hasDerivAt_iff_tendsto_slope_zero | |
| 52 | - (f := fun t : ℝ => cutoffCurl (χ.translate (t • a))) | |
| 53 | - (f' := cutoffCurl (χ.directional a)) (x := 0)).mpr | |
| 54 | - simp only [zero_add, zero_smul, Cutoff.translate_zero] | |
| 55 | - apply tendsto_sub_nhds_zero_iff.mp | |
| 56 | - apply squeeze_zero_norm' | |
| 57 | - (f := fun h : ℝ => h⁻¹ • (cutoffCurl (χ.translate (h • a)) - cutoffCurl χ) - | |
| 58 | - cutoffCurl (χ.directional a)) | |
| 59 | - (t₀ := 𝓝[≠] (0 : ℝ)) | |
| 60 | - (a := fun h : ℝ => cutoffDifferenceConstant R M₂ M₃ * |h| * ‖a‖ ^ 2) | |
| 61 | - · filter_upwards [self_mem_nhdsWithin, hstep.filter_mono nhdsWithin_le_nhds] with h hh hsmall | |
| 62 | - have hne : h ≠ 0 := by simpa only [Set.mem_compl_iff, Set.mem_singleton_iff] using hh | |
| 63 | - rw [← cutoffCurl_differenceError] | |
| 64 | - exact (cutoffCurl_norm_le _).trans (cutoffBound_differenceError χ R M₂ M₃ hM₂ hM₃ hs h₂ h₃ a h hne hsmall) | |
| 65 | - · have hc : Continuous (fun h : ℝ => cutoffDifferenceConstant R M₂ M₃ * |h| * ‖a‖ ^ 2) := by fun_prop | |
| 66 | - simpa only [abs_zero, mul_zero, zero_mul] using (hc.tendsto 0).mono_left nhdsWithin_le_nhds | |
| 67 | - | |
| 68 | -theorem weakPotential_differenceError (χ : Cutoff) (a : Space) (h : ℝ) : | |
| 69 | - weakPotential (χ.differenceError a h) = | |
| 70 | - h⁻¹ • (weakPotential (χ.translate (h • a)) - weakPotential χ) - weakPotential (χ.directional a) := by | |
| 71 | - calc | |
| 72 | - _ = weakPotential (χ.differenceQuotient a h) - weakPotential (χ.directional a) := | |
| 73 | - weakPotential_sub _ _ | |
| 74 | - _ = h⁻¹ • weakPotential ((χ.translate (h • a)).sub χ) - weakPotential (χ.directional a) := | |
| 75 | - congrArg (fun B : L2 →L[ℝ] homogeneousSpace => B - weakPotential (χ.directional a)) | |
| 76 | - (weakPotential_scale ((χ.translate (h • a)).sub χ) h⁻¹) | |
| 77 | - _ = _ := congrArg (fun B : L2 →L[ℝ] homogeneousSpace => h⁻¹ • B - weakPotential (χ.directional a)) | |
| 78 | - (weakPotential_sub (χ.translate (h • a)) χ) | |
| 79 | - | |
| 80 | 37 | theorem weakPotential_operatorNorm_le (χ : Cutoff) : ‖weakPotential χ‖ ≤ cutoffBound χ := by |
| 81 | 38 | change ‖(cutoffCurl χ).adjoint‖ ≤ _ |
| 82 | 39 | rw [LinearIsometryEquiv.norm_map] |
| 83 | 40 | exact cutoffCurl_norm_le χ |
| 84 | 41 | |
| 85 | -/-- The represented weak potential differentiates with the same actual cutoff derivative. -/ | |
| 86 | -theorem weakPotential_hasDerivAt_zero (χ : Cutoff) (a : Space) : | |
| 87 | - HasDerivAt (fun t : ℝ => weakPotential (χ.translate (t • a))) | |
| 88 | - (weakPotential (χ.directional a)) 0 := by | |
| 89 | - obtain ⟨R, M₂, M₃, hM₂, hM₃, hs, h₂, h₃⟩ := χ.exists_taylor_controls | |
| 90 | - have hstep : ∀ᶠ h : ℝ in 𝓝 0, ‖h • a‖ ≤ 1 := by | |
| 91 | - have hc : ContinuousAt (fun h : ℝ => ‖h • a‖) 0 := by fun_prop | |
| 92 | - exact (hc.eventually (gt_mem_nhds (by simp : ‖(0 : ℝ) • a‖ < 1))).mono (fun _ hh => hh.le) | |
| 93 | - apply (hasDerivAt_iff_tendsto_slope_zero | |
| 94 | - (f := fun t : ℝ => weakPotential (χ.translate (t • a))) | |
| 95 | - (f' := weakPotential (χ.directional a)) (x := 0)).mpr | |
| 96 | - simp only [zero_add, zero_smul, Cutoff.translate_zero] | |
| 97 | - apply tendsto_sub_nhds_zero_iff.mp | |
| 98 | - apply squeeze_zero_norm' | |
| 99 | - (f := fun h : ℝ => h⁻¹ • (weakPotential (χ.translate (h • a)) - weakPotential χ) - | |
| 100 | - weakPotential (χ.directional a)) | |
| 101 | - (t₀ := 𝓝[≠] (0 : ℝ)) | |
| 102 | - (a := fun h : ℝ => cutoffDifferenceConstant R M₂ M₃ * |h| * ‖a‖ ^ 2) | |
| 103 | - · filter_upwards [self_mem_nhdsWithin, hstep.filter_mono nhdsWithin_le_nhds] with h hh hsmall | |
| 104 | - have hne : h ≠ 0 := by simpa only [Set.mem_compl_iff, Set.mem_singleton_iff] using hh | |
| 105 | - rw [← weakPotential_differenceError] | |
| 106 | - exact (weakPotential_operatorNorm_le _).trans (cutoffBound_differenceError χ R M₂ M₃ hM₂ hM₃ hs h₂ h₃ a h hne hsmall) | |
| 107 | - · have hc : Continuous (fun h : ℝ => cutoffDifferenceConstant R M₂ M₃ * |h| * ‖a‖ ^ 2) := by fun_prop | |
| 108 | - simpa only [abs_zero, mul_zero, zero_mul] using (hc.tendsto 0).mono_left nhdsWithin_le_nhds | |
| 109 | - | |
| 110 | -/-- Both cutoff positions contribute to the actual operator-norm derivative. -/ | |
| 111 | -theorem mixedBoundaryOperator_hasDerivAt_zero (χ ψ : Cutoff) (a : Space) : | |
| 112 | - HasDerivAt (fun t : ℝ => mixedBoundaryOperator (χ.translate (t • a)) (ψ.translate (t • a))) | |
| 113 | - (mixedBoundaryOperator (χ.directional a) ψ + mixedBoundaryOperator χ (ψ.directional a)) 0 := by | |
| 114 | - have h := (cutoffCurl_hasDerivAt_zero χ a).clm_comp (weakPotential_hasDerivAt_zero ψ a) | |
| 115 | - simpa only [zero_smul, Cutoff.translate_zero, mixedBoundaryOperator] using h | |
| 116 | - | |
| 117 | -/-- The corresponding differential commutator has the source's duality bound. -/ | |
| 118 | -theorem mixedBoundaryOperator_derivative_norm_le (χ ψ : Cutoff) (a : Space) : | |
| 119 | - ‖mixedBoundaryOperator (χ.directional a) ψ + mixedBoundaryOperator χ (ψ.directional a)‖ ≤ | |
| 120 | - cutoffBound (χ.directional a) * cutoffBound ψ + cutoffBound χ * cutoffBound (ψ.directional a) := | |
| 121 | - (norm_add_le _ _).trans (add_le_add (mixedBoundaryOperator_norm_le _ _) (mixedBoundaryOperator_norm_le _ _)) | |
| 122 | - | |
| 123 | 42 | end EulerMeanBoundary |
+0 −68 Euler/MeanBoundaryDifference.lean View file
| @@ -30,78 +30,10 @@ theorem cutoffBound_translate (χ : Cutoff) (a : Space) : | ||
| 30 | 30 | rw [lpNorm_translated χ.field χ.smooth.continuous, |
| 31 | 31 | lpNorm_translated (gradient χ.field) (contDiff_gradient χ.smooth).continuous] |
| 32 | 32 | |
| 33 | -/-- The genuine directional spatial difference quotient, defined also at h = 0. -/ | |
| 34 | -def spatialDifference (a : Space) (h : ℝ) : L2 →L[ℝ] L2 := | |
| 35 | - h⁻¹ • ((translation (h • a)).toContinuousLinearMap - ContinuousLinearMap.id ℝ L2) | |
| 36 | - | |
| 37 | -theorem spatialDifference_apply (a : Space) (h : ℝ) (z : L2) : | |
| 38 | - spatialDifference a h z = h⁻¹ • (translation (h • a) z - z) := rfl | |
| 39 | - | |
| 40 | 33 | def Cutoff.differenceQuotient (χ : Cutoff) (a : Space) (h : ℝ) : Cutoff := |
| 41 | 34 | ((χ.translate (h • a)).sub χ).scale h⁻¹ |
| 42 | 35 | |
| 43 | 36 | theorem Cutoff.differenceQuotient_field (χ : Cutoff) (a : Space) (h : ℝ) (x : Space) : |
| 44 | 37 | (χ.differenceQuotient a h).field x = h⁻¹ * (χ.field (x + h • a) - χ.field x) := rfl |
| 45 | 38 | |
| 46 | -theorem spatialDifference_commutator (a : Space) (h : ℝ) (A : L2 →L[ℝ] L2) : | |
| 47 | - (spatialDifference a h).comp A - A.comp (spatialDifference a h) = | |
| 48 | - h⁻¹ • translationCommutator (h • a) A := by | |
| 49 | - unfold spatialDifference translationCommutator | |
| 50 | - simp only [ContinuousLinearMap.smul_comp, ContinuousLinearMap.comp_smul, | |
| 51 | - ContinuousLinearMap.sub_comp, ContinuousLinearMap.comp_sub, ContinuousLinearMap.id_comp, | |
| 52 | - ContinuousLinearMap.comp_id, smul_sub] | |
| 53 | - abel | |
| 54 | - | |
| 55 | -/-- Exact two-position derivative splitting for an actual spatial difference quotient. -/ | |
| 56 | -theorem mixedBoundaryOperator_differenceCommutator (a : Space) (h : ℝ) (χ ψ : Cutoff) : | |
| 57 | - (spatialDifference a h).comp (mixedBoundaryOperator χ ψ) - | |
| 58 | - (mixedBoundaryOperator χ ψ).comp (spatialDifference a h) = | |
| 59 | - (mixedBoundaryOperator (χ.differenceQuotient a h) (ψ.translate (h • a)) + | |
| 60 | - mixedBoundaryOperator χ (ψ.differenceQuotient a h)).comp | |
| 61 | - (translation (h • a)).toContinuousLinearMap := by | |
| 62 | - rw [spatialDifference_commutator, mixedBoundaryOperator_translationCommutator] | |
| 63 | - unfold Cutoff.differenceQuotient | |
| 64 | - rw [mixedBoundaryOperator_scale_left, mixedBoundaryOperator_scale_right] | |
| 65 | - simp only [ContinuousLinearMap.add_comp, ContinuousLinearMap.smul_comp, smul_add] | |
| 66 | - | |
| 67 | -/-- The commutator is bounded by the actual two cutoff difference quotients. -/ | |
| 68 | -theorem mixedBoundaryOperator_differenceCommutator_norm_le | |
| 69 | - (a : Space) (h : ℝ) (χ ψ : Cutoff) : | |
| 70 | - ‖(spatialDifference a h).comp (mixedBoundaryOperator χ ψ) - | |
| 71 | - (mixedBoundaryOperator χ ψ).comp (spatialDifference a h)‖ ≤ | |
| 72 | - cutoffBound (χ.differenceQuotient a h) * cutoffBound (ψ.translate (h • a)) + | |
| 73 | - cutoffBound χ * cutoffBound (ψ.differenceQuotient a h) := by | |
| 74 | - rw [mixedBoundaryOperator_differenceCommutator] | |
| 75 | - apply ContinuousLinearMap.opNorm_le_bound _ | |
| 76 | - (add_nonneg (mul_nonneg (cutoffBound_nonneg _) (cutoffBound_nonneg _)) | |
| 77 | - (mul_nonneg (cutoffBound_nonneg _) (cutoffBound_nonneg _))) | |
| 78 | - intro z | |
| 79 | - change ‖mixedBoundaryOperator (χ.differenceQuotient a h) (ψ.translate (h • a)) | |
| 80 | - (translation (h • a) z) + mixedBoundaryOperator χ (ψ.differenceQuotient a h) | |
| 81 | - (translation (h • a) z)‖ ≤ _ | |
| 82 | - calc | |
| 83 | - _ ≤ ‖mixedBoundaryOperator (χ.differenceQuotient a h) (ψ.translate (h • a)) | |
| 84 | - (translation (h • a) z)‖ + | |
| 85 | - ‖mixedBoundaryOperator χ (ψ.differenceQuotient a h) (translation (h • a) z)‖ := | |
| 86 | - norm_add_le _ _ | |
| 87 | - _ ≤ (cutoffBound (χ.differenceQuotient a h) * cutoffBound (ψ.translate (h • a))) * | |
| 88 | - ‖translation (h • a) z‖ + | |
| 89 | - (cutoffBound χ * cutoffBound (ψ.differenceQuotient a h)) * ‖translation (h • a) z‖ := by | |
| 90 | - apply add_le_add | |
| 91 | - · exact ((mixedBoundaryOperator _ _).le_opNorm _).trans | |
| 92 | - (mul_le_mul_of_nonneg_right (mixedBoundaryOperator_norm_le _ _) (norm_nonneg _)) | |
| 93 | - · exact ((mixedBoundaryOperator _ _).le_opNorm _).trans | |
| 94 | - (mul_le_mul_of_nonneg_right (mixedBoundaryOperator_norm_le _ _) (norm_nonneg _)) | |
| 95 | - _ = _ := by | |
| 96 | - rw [(translation (h • a)).norm_map] | |
| 97 | - ring | |
| 98 | - | |
| 99 | -theorem mixedBoundaryOperator_differenceCommutator_norm_le_invariant | |
| 100 | - (a : Space) (h : ℝ) (χ ψ : Cutoff) : | |
| 101 | - ‖(spatialDifference a h).comp (mixedBoundaryOperator χ ψ) - | |
| 102 | - (mixedBoundaryOperator χ ψ).comp (spatialDifference a h)‖ ≤ | |
| 103 | - cutoffBound (χ.differenceQuotient a h) * cutoffBound ψ + | |
| 104 | - cutoffBound χ * cutoffBound (ψ.differenceQuotient a h) := by | |
| 105 | - simpa only [cutoffBound_translate] using mixedBoundaryOperator_differenceCommutator_norm_le a h χ ψ | |
| 106 | - | |
| 107 | 39 | end EulerMeanBoundary |
+0 −14 Euler/MeanBoundaryFrechet.lean View file
| @@ -123,20 +123,6 @@ theorem cutoffOperation_contDiff (L : Cutoff → E) | ||
| 123 | 123 | |
| 124 | 124 | end LinearCutoffOperation |
| 125 | 125 | |
| 126 | -/-- Actual Fréchet derivative of the cutoff-curl extension. -/ | |
| 127 | -theorem cutoffCurl_hasFDerivAt (χ : Cutoff) (a : Space) : | |
| 128 | - HasFDerivAt (fun b : Space => cutoffCurl (χ.translate b)) | |
| 129 | - (cutoffDirectionalMap cutoffCurl cutoffCurl_add cutoffCurl_scale (χ.translate a)) a := | |
| 130 | - cutoffOperation_hasFDerivAt cutoffCurl cutoffCurl_add cutoffCurl_scale cutoffCurl_sub | |
| 131 | - cutoffCurl_norm_le χ a | |
| 132 | - | |
| 133 | -/-- Actual Fréchet derivative of the weak Newtonian potential. -/ | |
| 134 | -theorem weakPotential_hasFDerivAt (χ : Cutoff) (a : Space) : | |
| 135 | - HasFDerivAt (fun b : Space => weakPotential (χ.translate b)) | |
| 136 | - (cutoffDirectionalMap weakPotential weakPotential_add weakPotential_scale (χ.translate a)) a := | |
| 137 | - cutoffOperation_hasFDerivAt weakPotential weakPotential_add weakPotential_scale weakPotential_sub | |
| 138 | - weakPotential_operatorNorm_le χ a | |
| 139 | - | |
| 140 | 126 | theorem cutoffCurl_contDiff (χ : Cutoff) : |
| 141 | 127 | ContDiff ℝ ∞ (fun a : Space => cutoffCurl (χ.translate a)) := |
| 142 | 128 | cutoffOperation_contDiff cutoffCurl cutoffCurl_add cutoffCurl_scale cutoffCurl_sub |
+0 −22 Euler/MeanBoundaryIterated.lean View file
| @@ -103,26 +103,4 @@ theorem cutoffOperation_iteratedFDeriv_bound (L : Cutoff → E) | ||
| 103 | 103 | |
| 104 | 104 | end LinearCutoffOperation |
| 105 | 105 | |
| 106 | -theorem cutoffCurl_iteratedFDeriv_bound (n : ℕ) (χ : Cutoff) (R M₀ M₁ : ℝ) | |
| 107 | - (hM₀ : 0 ≤ M₀) (hM₁ : 0 ≤ M₁) | |
| 108 | - (hs : tsupport χ.field ⊆ Metric.closedBall (0 : Space) R) | |
| 109 | - (h₀ : ∀ x, ‖iteratedFDeriv ℝ n χ.field x‖ ≤ M₀) | |
| 110 | - (h₁ : ∀ x, ‖iteratedFDeriv ℝ (n+1) χ.field x‖ ≤ M₁) (a : Space) : | |
| 111 | - ‖iteratedFDeriv ℝ n (fun b : Space => cutoffCurl (χ.translate b)) a‖ ≤ | |
| 112 | - 3 * cutoffCurlConstant * | |
| 113 | - (M₀ + M₁ * (volume (Metric.closedBall (0 : Space) R)).toReal ^ (1/3 : ℝ)) := | |
| 114 | - cutoffOperation_iteratedFDeriv_bound cutoffCurl cutoffCurl_add cutoffCurl_scale cutoffCurl_sub | |
| 115 | - cutoffCurl_norm_le n χ R M₀ M₁ hM₀ hM₁ hs h₀ h₁ a | |
| 116 | - | |
| 117 | -theorem weakPotential_iteratedFDeriv_bound (n : ℕ) (χ : Cutoff) (R M₀ M₁ : ℝ) | |
| 118 | - (hM₀ : 0 ≤ M₀) (hM₁ : 0 ≤ M₁) | |
| 119 | - (hs : tsupport χ.field ⊆ Metric.closedBall (0 : Space) R) | |
| 120 | - (h₀ : ∀ x, ‖iteratedFDeriv ℝ n χ.field x‖ ≤ M₀) | |
| 121 | - (h₁ : ∀ x, ‖iteratedFDeriv ℝ (n+1) χ.field x‖ ≤ M₁) (a : Space) : | |
| 122 | - ‖iteratedFDeriv ℝ n (fun b : Space => weakPotential (χ.translate b)) a‖ ≤ | |
| 123 | - 3 * cutoffCurlConstant * | |
| 124 | - (M₀ + M₁ * (volume (Metric.closedBall (0 : Space) R)).toReal ^ (1/3 : ℝ)) := | |
| 125 | - cutoffOperation_iteratedFDeriv_bound weakPotential weakPotential_add weakPotential_scale weakPotential_sub | |
| 126 | - weakPotential_operatorNorm_le n χ R M₀ M₁ hM₀ hM₁ hs h₀ h₁ a | |
| 127 | - | |
| 128 | 106 | end EulerMeanBoundary |
+0 −61 Euler/MeanBoundaryMixed.lean View file
| @@ -134,65 +134,4 @@ def mixedBoundaryOperator (χ ψ : Cutoff) : L2 →L[ℝ] L2 := | ||
| 134 | 134 | theorem mixedBoundaryOperator_diagonal (χ : Cutoff) : |
| 135 | 135 | mixedBoundaryOperator χ χ = boundaryOperator χ := rfl |
| 136 | 136 | |
| 137 | -theorem mixedBoundaryOperator_norm_le (χ ψ : Cutoff) : | |
| 138 | - ‖mixedBoundaryOperator χ ψ‖ ≤ cutoffBound χ * cutoffBound ψ := by | |
| 139 | - refine (ContinuousLinearMap.opNorm_comp_le _ _).trans ?_ | |
| 140 | - change ‖cutoffCurl χ‖ * ‖(cutoffCurl ψ).adjoint‖ ≤ _ | |
| 141 | - rw [LinearIsometryEquiv.norm_map] | |
| 142 | - exact mul_le_mul (cutoffCurl_norm_le χ) (cutoffCurl_norm_le ψ) | |
| 143 | - (norm_nonneg (cutoffCurl ψ)) (cutoffBound_nonneg χ) | |
| 144 | - | |
| 145 | -theorem mixedBoundaryOperator_pairing (χ ψ : Cutoff) (u v : L2) : | |
| 146 | - ⟪mixedBoundaryOperator χ ψ u, v⟫_ℝ = ⟪weakPotential ψ u, weakPotential χ v⟫_ℝ := | |
| 147 | - (ContinuousLinearMap.adjoint_inner_right (cutoffCurl χ) (weakPotential ψ u) v).symm | |
| 148 | - | |
| 149 | -theorem mixedBoundaryOperator_adjoint (χ ψ : Cutoff) : | |
| 150 | - (mixedBoundaryOperator χ ψ).adjoint = mixedBoundaryOperator ψ χ := by | |
| 151 | - simp only [mixedBoundaryOperator, weakPotential, ContinuousLinearMap.adjoint_comp, | |
| 152 | - ContinuousLinearMap.adjoint_adjoint] | |
| 153 | - | |
| 154 | -theorem mixedBoundaryOperator_solenoidal (χ ψ : Cutoff) (u : L2) : | |
| 155 | - mixedBoundaryOperator χ ψ u ∈ solenoidalSpace := cutoffCurl_solenoidal χ (weakPotential ψ u) | |
| 156 | - | |
| 157 | -theorem mixedBoundaryOperator_supported (χ ψ : Cutoff) (u : L2) : | |
| 158 | - mixedBoundaryOperator χ ψ u ∈ supportedSpace χ := cutoffCurl_supported χ (weakPotential ψ u) | |
| 159 | - | |
| 160 | -theorem mixedBoundaryOperator_add_left (χ ψ ρ : Cutoff) : | |
| 161 | - mixedBoundaryOperator (χ.add ψ) ρ = mixedBoundaryOperator χ ρ + mixedBoundaryOperator ψ ρ := by | |
| 162 | - simp only [mixedBoundaryOperator, cutoffCurl_add, ContinuousLinearMap.add_comp] | |
| 163 | - | |
| 164 | -theorem mixedBoundaryOperator_add_right (χ ψ ρ : Cutoff) : | |
| 165 | - mixedBoundaryOperator χ (ψ.add ρ) = mixedBoundaryOperator χ ψ + mixedBoundaryOperator χ ρ := by | |
| 166 | - simp only [mixedBoundaryOperator, weakPotential_add, ContinuousLinearMap.comp_add] | |
| 167 | - | |
| 168 | -theorem mixedBoundaryOperator_scale_left (χ ψ : Cutoff) (c : ℝ) : | |
| 169 | - mixedBoundaryOperator (χ.scale c) ψ = c • mixedBoundaryOperator χ ψ := by | |
| 170 | - simp only [mixedBoundaryOperator, cutoffCurl_scale, ContinuousLinearMap.smul_comp] | |
| 171 | - | |
| 172 | -theorem mixedBoundaryOperator_scale_right (χ ψ : Cutoff) (c : ℝ) : | |
| 173 | - mixedBoundaryOperator χ (ψ.scale c) = c • mixedBoundaryOperator χ ψ := by | |
| 174 | - simp only [mixedBoundaryOperator, weakPotential_scale, ContinuousLinearMap.comp_smul] | |
| 175 | - | |
| 176 | -theorem mixedBoundaryOperator_sub_left (χ ψ ρ : Cutoff) : | |
| 177 | - mixedBoundaryOperator (χ.sub ψ) ρ = mixedBoundaryOperator χ ρ - mixedBoundaryOperator ψ ρ := by | |
| 178 | - simp only [mixedBoundaryOperator, cutoffCurl_sub, ContinuousLinearMap.sub_comp] | |
| 179 | - | |
| 180 | -theorem mixedBoundaryOperator_sub_right (χ ψ ρ : Cutoff) : | |
| 181 | - mixedBoundaryOperator χ (ψ.sub ρ) = mixedBoundaryOperator χ ψ - mixedBoundaryOperator χ ρ := by | |
| 182 | - simp only [mixedBoundaryOperator, weakPotential_sub, ContinuousLinearMap.comp_sub] | |
| 183 | - | |
| 184 | -/-- The two actual coefficient differences are split between the two cutoff positions. -/ | |
| 185 | -theorem mixedBoundaryOperator_difference (χ₁ χ₀ ψ₁ ψ₀ : Cutoff) : | |
| 186 | - mixedBoundaryOperator χ₁ ψ₁ - mixedBoundaryOperator χ₀ ψ₀ = | |
| 187 | - mixedBoundaryOperator (χ₁.sub χ₀) ψ₁ + mixedBoundaryOperator χ₀ (ψ₁.sub ψ₀) := by | |
| 188 | - rw [mixedBoundaryOperator_sub_left, mixedBoundaryOperator_sub_right] | |
| 189 | - abel | |
| 190 | - | |
| 191 | -theorem mixedBoundaryOperator_difference_norm_le (χ₁ χ₀ ψ₁ ψ₀ : Cutoff) : | |
| 192 | - ‖mixedBoundaryOperator χ₁ ψ₁ - mixedBoundaryOperator χ₀ ψ₀‖ ≤ | |
| 193 | - cutoffBound (χ₁.sub χ₀) * cutoffBound ψ₁ + cutoffBound χ₀ * cutoffBound (ψ₁.sub ψ₀) := by | |
| 194 | - rw [mixedBoundaryOperator_difference] | |
| 195 | - exact (norm_add_le _ _).trans (add_le_add (mixedBoundaryOperator_norm_le _ _) | |
| 196 | - (mixedBoundaryOperator_norm_le _ _)) | |
| 197 | - | |
| 198 | 137 | end EulerMeanBoundary |
+0 −44 Euler/MeanBoundaryOperator.lean View file
| @@ -160,32 +160,6 @@ theorem weakPotential_pairing (χ : Cutoff) (z : L2) (f : Test) : | ||
| 160 | 160 | filter_upwards [testCurl_ae χ f] with x hx |
| 161 | 161 | rw [hx] |
| 162 | 162 | |
| 163 | -theorem weakPotential_norm_le (χ : Cutoff) (z : L2) : | |
| 164 | - ‖weakPotential χ z‖ ≤ cutoffBound χ * ‖z‖ := by | |
| 165 | - refine ((weakPotential χ).le_opNorm z).trans ?_ | |
| 166 | - apply mul_le_mul_of_nonneg_right _ (norm_nonneg z) | |
| 167 | - change ‖(cutoffCurl χ).adjoint‖ ≤ cutoffBound χ | |
| 168 | - rw [LinearIsometryEquiv.norm_map] | |
| 169 | - exact cutoffCurl_norm_le χ | |
| 170 | - | |
| 171 | -/-- Compact vector tests determine the weak potential uniquely in the actual homogeneous space. -/ | |
| 172 | -theorem weakPotential_unique (χ : Cutoff) (z : L2) (u : homogeneousSpace) | |
| 173 | - (hu : ∀ f : Test, ⟪u, homogeneousGradient f⟫_ℝ = | |
| 174 | - ∫ x, ⟪z x, vectorCurl (fun y => χ.field y • (f : Space → Space) y) x⟫_ℝ) : | |
| 175 | - u = weakPotential χ z := by | |
| 176 | - apply ext_inner_right ℝ | |
| 177 | - intro v | |
| 178 | - refine homogeneousGradient_dense.induction_on v ?_ ?_ | |
| 179 | - · exact isClosed_eq (continuous_const.inner continuous_id) (continuous_const.inner continuous_id) | |
| 180 | - · intro f | |
| 181 | - exact (hu f).trans (weakPotential_pairing χ z f).symm | |
| 182 | - | |
| 183 | -/-- A genuine uniquely solvable weak Poisson/Riesz problem for the cutoff-curl functional. -/ | |
| 184 | -theorem existsUnique_weakPotential (χ : Cutoff) (z : L2) : | |
| 185 | - ∃! u : homogeneousSpace, ∀ f : Test, ⟪u, homogeneousGradient f⟫_ℝ = | |
| 186 | - ∫ x, ⟪z x, vectorCurl (fun y => χ.field y • (f : Space → Space) y) x⟫_ℝ := | |
| 187 | - ⟨weakPotential χ z, weakPotential_pairing χ z, fun u hu => weakPotential_unique χ z u hu⟩ | |
| 188 | - | |
| 189 | 163 | /-- The actual bounded positive mean boundary operator `Tχ Tχ*`. -/ |
| 190 | 164 | def boundaryOperator (χ : Cutoff) : L2 →L[ℝ] L2 := (cutoffCurl χ).comp (weakPotential χ) |
| 191 | 165 | |
| @@ -203,14 +177,6 @@ theorem boundaryOperator_energy (χ : Cutoff) (z : L2) : | ||
| 203 | 177 | ⟪boundaryOperator χ z, z⟫_ℝ = ‖weakPotential χ z‖ ^ 2 := by |
| 204 | 178 | rw [boundaryOperator_pairing, real_inner_self_eq_norm_sq] |
| 205 | 179 | |
| 206 | -theorem boundaryOperator_norm_le (χ : Cutoff) : | |
| 207 | - ‖boundaryOperator χ‖ ≤ cutoffBound χ ^ 2 := by | |
| 208 | - refine (ContinuousLinearMap.opNorm_comp_le _ _).trans ?_ | |
| 209 | - change ‖cutoffCurl χ‖ * ‖(cutoffCurl χ).adjoint‖ ≤ _ | |
| 210 | - rw [LinearIsometryEquiv.norm_map] | |
| 211 | - exact (mul_le_mul (cutoffCurl_norm_le χ) (cutoffCurl_norm_le χ) | |
| 212 | - (norm_nonneg (cutoffCurl χ)) (cutoffBound_nonneg χ)).trans_eq (sq (cutoffBound χ)).symm | |
| 213 | - | |
| 214 | 180 | /-- The actual test-level cutoff curl is solenoidal. -/ |
| 215 | 181 | theorem testCurl_solenoidal (χ : Cutoff) (f : Test) : |
| 216 | 182 | testCurl χ f ∈ solenoidalSpace := by |
| @@ -283,14 +249,4 @@ theorem boundaryOperator_zero_off_support (χ : Cutoff) (z : L2) : | ||
| 283 | 249 | (boundaryOperator χ z : Space → Space) =ᵐ[volume.restrict (tsupport χ.field)ᶜ] 0 := |
| 284 | 250 | (mem_supportedSpace_iff χ _).mp (boundaryOperator_supported χ z) |
| 285 | 251 | |
| 286 | -/-- Symmetry follows from the actual Hilbert-adjoint construction. -/ | |
| 287 | -theorem boundaryOperator_symmetric (χ : Cutoff) (z w : L2) : | |
| 288 | - ⟪boundaryOperator χ z, w⟫_ℝ = ⟪z, boundaryOperator χ w⟫_ℝ := by | |
| 289 | - calc | |
| 290 | - ⟪boundaryOperator χ z, w⟫_ℝ = ⟪weakPotential χ z, weakPotential χ w⟫_ℝ := | |
| 291 | - boundaryOperator_pairing χ z w | |
| 292 | - _ = ⟪weakPotential χ w, weakPotential χ z⟫_ℝ := real_inner_comm _ _ | |
| 293 | - _ = ⟪boundaryOperator χ w, z⟫_ℝ := (boundaryOperator_pairing χ w z).symm | |
| 294 | - _ = ⟪z, boundaryOperator χ w⟫_ℝ := real_inner_comm _ _ | |
| 295 | - | |
| 296 | 252 | end EulerMeanBoundary |
+0 −12 Euler/MeanBoundaryPhysicalSupport.lean View file
| @@ -47,16 +47,4 @@ theorem scaledBoundary_continuous_support (ℓ : ℝ) (hℓ : 0 < ℓ) (L : ℝ) | ||
| 47 | 47 | have hnorm : 2 < ‖ℓ • x‖ := lt_of_not_ge h |
| 48 | 48 | exact hx (hzero hnorm) |
| 49 | 49 | |
| 50 | -theorem scaledBoundary_continuous_compact (ℓ : ℝ) (hℓ : 0 < ℓ) (L : ℝ) (z : L2) | |
| 51 | - (b : Space → Space) (hb : Continuous b) | |
| 52 | - (hrep : b =ᵐ[volume] (L • boundaryOperator (scaledCutoff ℓ hℓ) z : L2)) : | |
| 53 | - HasCompactSupport b := by | |
| 54 | - apply (isCompact_closedBall (0 : Space) (2/ℓ)).of_isClosed_subset (isClosed_tsupport b) | |
| 55 | - intro x hx | |
| 56 | - have hs := scaledBoundary_continuous_support ℓ hℓ L z b hb hrep hx | |
| 57 | - change ‖ℓ • x‖ ≤ 2 at hs | |
| 58 | - rw [norm_smul, Real.norm_eq_abs, abs_of_pos hℓ] at hs | |
| 59 | - simp only [Metric.mem_closedBall, dist_zero_right] | |
| 60 | - exact (le_div_iff₀ hℓ).2 (by simpa only [mul_comm] using hs) | |
| 61 | - | |
| 62 | 50 | end EulerMeanBoundary |
+0 −11 Euler/MeanBoundaryReflection.lean View file
| @@ -21,11 +21,6 @@ def Cutoff.reflect (χ : Cutoff) : Cutoff := | ||
| 21 | 21 | ⟨fun x => χ.field (-x), χ.smooth.comp contDiff_id.neg, |
| 22 | 22 | χ.compact.comp_homeomorph (Homeomorph.neg Space)⟩ |
| 23 | 23 | |
| 24 | -theorem Cutoff.reflect_reflect (χ : Cutoff) : χ.reflect.reflect = χ := by | |
| 25 | - apply Cutoff.ext | |
| 26 | - funext x | |
| 27 | - exact congrArg χ.field (neg_neg x) | |
| 28 | - | |
| 29 | 24 | theorem Cutoff.reflect_eq_of_even (χ : Cutoff) (hχ : ∀ x, χ.field (-x) = χ.field x) : |
| 30 | 25 | χ.reflect = χ := Cutoff.ext (funext hχ) |
| 31 | 26 | |
| @@ -35,9 +30,6 @@ def l2ReflectionEquiv : L2 ≃ₗᵢ[ℝ] L2 := | ||
| 35 | 30 | def gradientReflection : GradientTensor ≃ₗᵢ[ℝ] GradientTensor := |
| 36 | 31 | LinearIsometryEquiv.piLpCongrRight 2 (fun _ : Fin 3 => l2ReflectionEquiv) |
| 37 | 32 | |
| 38 | -theorem gradientReflection_apply (G : GradientTensor) (i : Fin 3) : | |
| 39 | - gradientReflection G i = reflection (G i) := rfl | |
| 40 | - | |
| 41 | 33 | theorem gradientReflection_involutive (G : GradientTensor) : |
| 42 | 34 | gradientReflection (gradientReflection G) = G := by |
| 43 | 35 | ext i : 1 |
| @@ -78,9 +70,6 @@ def homogeneousReflection : homogeneousSpace →ₗᵢ[ℝ] homogeneousSpace whe | ||
| 78 | 70 | map_smul' c u := by apply Subtype.ext; exact map_smul gradientReflection c _ |
| 79 | 71 | norm_map' u := gradientReflection.norm_map (u : GradientTensor) |
| 80 | 72 | |
| 81 | -theorem homogeneousReflection_coe (u : homogeneousSpace) : | |
| 82 | - (homogeneousReflection u : GradientTensor) = gradientReflection (u : GradientTensor) := rfl | |
| 83 | - | |
| 84 | 73 | theorem homogeneousReflection_involutive (u : homogeneousSpace) : |
| 85 | 74 | homogeneousReflection (homogeneousReflection u) = u := by |
| 86 | 75 | apply Subtype.ext |
+0 −47 Euler/MeanBoundaryTranslation.lean View file
| @@ -15,14 +15,9 @@ def l2TranslationEquiv (a : Space) : L2 ≃ₗᵢ[ℝ] L2 := | ||
| 15 | 15 | LinearIsometryEquiv.ofSurjective (translation a) (fun u => |
| 16 | 16 | ⟨translation (-a) u, by rw [translation_add, add_neg_cancel, translation_zero]⟩) |
| 17 | 17 | |
| 18 | -theorem l2TranslationEquiv_apply (a : Space) (u : L2) : l2TranslationEquiv a u = translation a u := rfl | |
| 19 | - | |
| 20 | 18 | def gradientTranslation (a : Space) : GradientTensor ≃ₗᵢ[ℝ] GradientTensor := |
| 21 | 19 | LinearIsometryEquiv.piLpCongrRight 2 (fun _ : Fin 3 => l2TranslationEquiv a) |
| 22 | 20 | |
| 23 | -theorem gradientTranslation_apply (a : Space) (G : GradientTensor) (i : Fin 3) : | |
| 24 | - gradientTranslation a G i = translation a (G i) := rfl | |
| 25 | - | |
| 26 | 21 | theorem gradientTranslation_add (a b : Space) (G : GradientTensor) : |
| 27 | 22 | gradientTranslation a (gradientTranslation b G) = gradientTranslation (a+b) G := by |
| 28 | 23 | ext i : 1 |
| @@ -67,9 +62,6 @@ def homogeneousTranslation (a : Space) : homogeneousSpace →ₗᵢ[ℝ] homogen | ||
| 67 | 62 | map_smul' c u := by apply Subtype.ext; exact map_smul (gradientTranslation a) c _ |
| 68 | 63 | norm_map' u := (gradientTranslation a).norm_map (u : GradientTensor) |
| 69 | 64 | |
| 70 | -theorem homogeneousTranslation_coe (a : Space) (u : homogeneousSpace) : | |
| 71 | - (homogeneousTranslation a u : GradientTensor) = gradientTranslation a (u : GradientTensor) := rfl | |
| 72 | - | |
| 73 | 65 | theorem homogeneousTranslation_add (a b : Space) (u : homogeneousSpace) : |
| 74 | 66 | homogeneousTranslation a (homogeneousTranslation b u) = homogeneousTranslation (a+b) u := by |
| 75 | 67 | apply Subtype.ext |
| @@ -142,43 +134,4 @@ theorem mixedBoundaryOperator_translation (a : Space) (χ ψ : Cutoff) (z : L2) | ||
| 142 | 134 | cutoffCurl (χ.translate a) (weakPotential (ψ.translate a) (translation a z)) |
| 143 | 135 | rw [cutoffCurl_translation, weakPotential_translation] |
| 144 | 136 | |
| 145 | -/-- The genuine spatial translation commutator on ordinary L². -/ | |
| 146 | -def translationCommutator (a : Space) (A : L2 →L[ℝ] L2) : L2 →L[ℝ] L2 := | |
| 147 | - (translation a).toContinuousLinearMap.comp A - A.comp (translation a).toContinuousLinearMap | |
| 148 | - | |
| 149 | -/-- Both cutoff positions, and only those positions, contribute to the spatial commutator. -/ | |
| 150 | -theorem mixedBoundaryOperator_translationCommutator (a : Space) (χ ψ : Cutoff) : | |
| 151 | - translationCommutator a (mixedBoundaryOperator χ ψ) = | |
| 152 | - (mixedBoundaryOperator ((χ.translate a).sub χ) (ψ.translate a) + | |
| 153 | - mixedBoundaryOperator χ ((ψ.translate a).sub ψ)).comp (translation a).toContinuousLinearMap := by | |
| 154 | - apply ContinuousLinearMap.ext | |
| 155 | - intro z | |
| 156 | - change translation a (mixedBoundaryOperator χ ψ z) - mixedBoundaryOperator χ ψ (translation a z) = | |
| 157 | - mixedBoundaryOperator ((χ.translate a).sub χ) (ψ.translate a) (translation a z) + | |
| 158 | - mixedBoundaryOperator χ ((ψ.translate a).sub ψ) (translation a z) | |
| 159 | - rw [mixedBoundaryOperator_translation] | |
| 160 | - exact congrArg (fun A : L2 →L[ℝ] L2 => A (translation a z)) | |
| 161 | - (mixedBoundaryOperator_difference (χ.translate a) χ (ψ.translate a) ψ) | |
| 162 | - | |
| 163 | -theorem mixedBoundaryOperator_translationCommutator_norm_le (a : Space) (χ ψ : Cutoff) : | |
| 164 | - ‖translationCommutator a (mixedBoundaryOperator χ ψ)‖ ≤ | |
| 165 | - cutoffBound ((χ.translate a).sub χ) * cutoffBound (ψ.translate a) + | |
| 166 | - cutoffBound χ * cutoffBound ((ψ.translate a).sub ψ) := by | |
| 167 | - apply ContinuousLinearMap.opNorm_le_bound _ | |
| 168 | - (add_nonneg (mul_nonneg (cutoffBound_nonneg _) (cutoffBound_nonneg _)) | |
| 169 | - (mul_nonneg (cutoffBound_nonneg _) (cutoffBound_nonneg _))) | |
| 170 | - intro z | |
| 171 | - change ‖translation a (mixedBoundaryOperator χ ψ z) - mixedBoundaryOperator χ ψ (translation a z)‖ ≤ _ | |
| 172 | - rw [mixedBoundaryOperator_translation] | |
| 173 | - change ‖(mixedBoundaryOperator (χ.translate a) (ψ.translate a) - | |
| 174 | - mixedBoundaryOperator χ ψ) (translation a z)‖ ≤ _ | |
| 175 | - calc | |
| 176 | - _ ≤ ‖mixedBoundaryOperator (χ.translate a) (ψ.translate a) - | |
| 177 | - mixedBoundaryOperator χ ψ‖ * ‖translation a z‖ := | |
| 178 | - (mixedBoundaryOperator (χ.translate a) (ψ.translate a) - mixedBoundaryOperator χ ψ).le_opNorm _ | |
| 179 | - _ ≤ _ := by | |
| 180 | - rw [(translation a).norm_map] | |
| 181 | - exact mul_le_mul_of_nonneg_right | |
| 182 | - (mixedBoundaryOperator_difference_norm_le (χ.translate a) χ (ψ.translate a) ψ) (norm_nonneg z) | |
| 183 | - | |
| 184 | 137 | end EulerMeanBoundary |
+0 −8 Euler/MeanClassicalConstraints.lean View file
| @@ -40,12 +40,4 @@ theorem representative_divergence (u : L2) (hu : u ∈ solenoidalSpace) (hs : Sm | ||
| 40 | 40 | solenoidal_representative_divergence u hu (representative u hs) |
| 41 | 41 | (representative_smooth u hs) (representative_ae u hs) |
| 42 | 42 | |
| 43 | -/-- A smooth translation orbit in the genuine gradient space has a normalized classical pressure. -/ | |
| 44 | -theorem representative_pressure (p : L2) (hp : p ∈ gradientSpace) (hs : SmoothOrbit p) : | |
| 45 | - ContDiff ℝ ∞ (radialPotential (representative p hs)) ∧ | |
| 46 | - radialPotential (representative p hs) 0 = 0 ∧ | |
| 47 | - ∀ x, gradient (radialPotential (representative p hs)) x = representative p hs x := | |
| 48 | - gradientSpace_radial_potential p hp (representative p hs) | |
| 49 | - (representative_ae p hs) (representative_smooth p hs) | |
| 50 | - | |
| 51 | 43 | end EulerMeanClassical |
+0 −59 Euler/MeanClassicalSpatialTime.lean View file
| @@ -18,33 +18,6 @@ open Set MeasureTheory EulerSmoothLimit EulerMeanSolenoidal | ||
| 18 | 18 | EulerMeanTimeContinuousTranslation EulerMeanSmoothRepresentative EulerVolterraConvolution |
| 19 | 19 | open scoped ContDiff |
| 20 | 20 | |
| 21 | -/-- Actual smooth representatives of a continuous L² path and its genuine | |
| 22 | -continuous derivative, with no separate mixed-derivative hypothesis. -/ | |
| 23 | -theorem exists_classical_pair (T : ℝ) (hT : 0 ≤ T) | |
| 24 | - (p q : C(Icc (0 : ℝ) T,L2)) | |
| 25 | - (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) | |
| 26 | - (hq : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a q)) | |
| 27 | - (hder : ∀ t : Icc (0 : ℝ) T, | |
| 28 | - HasDerivWithinAt (extendPath T hT p) (q t) (Icc (0 : ℝ) T) t) : | |
| 29 | - ∃ B Bt : Icc (0 : ℝ) T → Space → Space, | |
| 30 | - Continuous (fun z : Icc (0 : ℝ) T × Space => B z.1 z.2) ∧ | |
| 31 | - Continuous (fun z : Icc (0 : ℝ) T × Space => Bt z.1 z.2) ∧ | |
| 32 | - (∀ t, ContDiff ℝ ∞ (B t)) ∧ (∀ t, ContDiff ℝ ∞ (Bt t)) ∧ | |
| 33 | - (∀ t, (p t : Space → Space) =ᵐ[volume] B t) ∧ | |
| 34 | - (∀ t, (q t : Space → Space) =ᵐ[volume] Bt t) ∧ | |
| 35 | - ∀ t : Icc (0 : ℝ) T, ∀ x : Space, | |
| 36 | - HasDerivWithinAt (fun r => B (projIcc 0 T hT r) x) (Bt t x) (Icc (0 : ℝ) T) t := by | |
| 37 | - let B := fun t : Icc (0 : ℝ) T => | |
| 38 | - representative (p t) (pathTranslation_evaluation_contDiff T p hp t) | |
| 39 | - let Bt := fun t : Icc (0 : ℝ) T => | |
| 40 | - representative (q t) (pathTranslation_evaluation_contDiff T q hq t) | |
| 41 | - refine ⟨B, Bt, path_representative_joint_continuous T p hp, | |
| 42 | - path_representative_joint_continuous T q hq, | |
| 43 | - path_representative_smooth T p hp, path_representative_smooth T q hq, | |
| 44 | - path_representative_ae T p hp, path_representative_ae T q hq, ?_⟩ | |
| 45 | - intro t x | |
| 46 | - exact EulerMeanPathTimeDerivative.representative_hasDerivWithinAt T hT p q hder hp hq t x | |
| 47 | - | |
| 48 | 21 | end EulerMeanClassicalSpatialTime |
| 49 | 22 | |
| 50 | 23 | namespace EulerMeanVariationalInverse.StrongMeanEvolution |
| @@ -77,36 +50,4 @@ theorem continuousVelocity_hasDerivWithinAt (hTpos : 0 < T) | ||
| 77 | 50 | rw [projIcc_of_mem hT hr] |
| 78 | 51 | exact s.continuousVelocity_eq_physicalPath hTpos hFTime ⟨r, hr⟩ |
| 79 | 52 | |
| 80 | -/-- Genuine space-time classical mean fields are obtained from the actual | |
| 81 | -solved coordinate velocity and acceleration orbits. -/ | |
| 82 | -theorem exists_classical_spatial_pair (hTpos : 0 < T) | |
| 83 | - (hf : (f : ℝ → L2) =ᵐ[timeMeasure T] extendPath T hT fC) | |
| 84 | - (hFTime : ∀ t : Icc (0 : ℝ) T, | |
| 85 | - HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) | |
| 86 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 87 | - (hF₁ : ContDiff ℝ ∞ (fun a : Space => translatePath T a F₁)) | |
| 88 | - (hv : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.velocityLp)) | |
| 89 | - (ha : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.acceleration)) | |
| 90 | - (hfC : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a fC)) : | |
| 91 | - ∃ B Bt : Icc (0 : ℝ) T → Space → Space, | |
| 92 | - Continuous (fun z : Icc (0 : ℝ) T × Space => B z.1 z.2) ∧ | |
| 93 | - Continuous (fun z : Icc (0 : ℝ) T × Space => Bt z.1 z.2) ∧ | |
| 94 | - (∀ t, ContDiff ℝ ∞ (B t)) ∧ (∀ t, ContDiff ℝ ∞ (Bt t)) ∧ | |
| 95 | - (∀ t : Icc (0 : ℝ) T, (s.physicalPath t : Space → Space) =ᵐ[volume] B t) ∧ | |
| 96 | - (∀ t, (s.classicalPhysicalDerivative c hc hLower fC t : Space → Space) =ᵐ[volume] Bt t) ∧ | |
| 97 | - ∀ t : Icc (0 : ℝ) T, ∀ x : Space, | |
| 98 | - HasDerivWithinAt (fun r => B (projIcc 0 T hT r) x) (Bt t x) (Icc (0 : ℝ) T) t := by | |
| 99 | - have hp := s.continuousVelocity_translation_contDiff | |
| 100 | - (s.velocityField_translation_contDiff hF hv) | |
| 101 | - (s.velocityDerivative_translation_contDiff hF hF₁ hv ha) | |
| 102 | - have hvc := s.coordinateVelocityPath_translation_contDiff hTpos hv ha | |
| 103 | - have hq := s.classicalPhysicalDerivative_translation_contDiff c hc hLower fC hF hF₁ hvc hfC | |
| 104 | - obtain ⟨B, Bt, hBc, hBtc, hBs, hBts, hBa, hBta, hd⟩ := | |
| 105 | - exists_classical_pair T hT s.continuousVelocity (s.classicalPhysicalDerivative c hc hLower fC) | |
| 106 | - hp hq (s.continuousVelocity_hasDerivWithinAt c hc hLower fC hTpos hf hFTime) | |
| 107 | - refine ⟨B, Bt, hBc, hBtc, hBs, hBts, ?_, hBta, hd⟩ | |
| 108 | - intro t | |
| 109 | - rw [← s.continuousVelocity_eq_physicalPath hTpos hFTime t] | |
| 110 | - exact hBa t | |
| 111 | - | |
| 112 | 53 | end EulerMeanVariationalInverse.StrongMeanEvolution |
+0 −49 Euler/MeanClassicalTime.lean View file
| @@ -49,17 +49,6 @@ theorem coordinateVelocityPath_ae : | ||
| 49 | 49 | rw [projIcc_of_mem hT ht] |
| 50 | 50 | exact hv |
| 51 | 51 | |
| 52 | -/-- The coordinate path has the actual H¹ trace bound. -/ | |
| 53 | -theorem coordinateVelocityPath_norm (hTpos : 0 < T) : | |
| 54 | - ‖s.coordinateVelocityPath‖ ≤ | |
| 55 | - (T⁻¹*Real.sqrt T)*‖s.velocityLp‖+(2*Real.sqrt T)*‖s.acceleration‖ := by | |
| 56 | - have heq : s.coordinateVelocityPath = reconstruction T hT (s.velocityLp, s.acceleration) := by | |
| 57 | - apply ContinuousMap.ext | |
| 58 | - intro t | |
| 59 | - exact (reconstruction_eq_path T hTpos s.velocityLp s.acceleration s.velocity | |
| 60 | - s.velocity_ac s.velocity_ae s.velocity_derivative t).symm | |
| 61 | - exact (congrArg norm heq).trans_le (reconstruction_norm_le T hTpos s.velocityLp s.acceleration) | |
| 62 | - | |
| 63 | 52 | /-- The already proved projected equation is the ordinary solenoidal Gram equation. -/ |
| 64 | 53 | theorem gram_equation_ae : |
| 65 | 54 | ∀ᵐ t ∂timeMeasure T, |
| @@ -82,22 +71,6 @@ def classicalAcceleration : C(Icc (0 : ℝ) T, solenoidalSpace) := | ||
| 82 | 71 | accelerationPath T (solenoidalFrame T F) (solenoidalFrame T F₁) c hc hLower |
| 83 | 72 | s.coordinateVelocityPath fC |
| 84 | 73 | |
| 85 | -/-- Its norm is the source's ordinary inverse-Gram estimate for time suprema. -/ | |
| 86 | -theorem classicalAcceleration_norm : | |
| 87 | - ‖s.classicalAcceleration c hc hLower fC‖ ≤ | |
| 88 | - c⁻¹*‖F‖*(‖fC‖+2*‖F₁‖*‖s.coordinateVelocityPath‖) := by | |
| 89 | - apply (accelerationPath_norm T (solenoidalFrame T F) (solenoidalFrame T F₁) | |
| 90 | - c hc hLower s.coordinateVelocityPath fC).trans | |
| 91 | - have hF := mul_le_mul_of_nonneg_left (solenoidalFrame_norm_le T F) (inv_nonneg.mpr hc.le) | |
| 92 | - have hF₁ := mul_le_mul_of_nonneg_right | |
| 93 | - (mul_le_mul_of_nonneg_left (solenoidalFrame_norm_le T F₁) (by norm_num : (0 : ℝ) ≤ 2)) | |
| 94 | - (norm_nonneg s.coordinateVelocityPath) | |
| 95 | - exact mul_le_mul hF (add_le_add le_rfl hF₁) | |
| 96 | - (add_nonneg (norm_nonneg fC) | |
| 97 | - (mul_nonneg (mul_nonneg (by norm_num) (norm_nonneg (solenoidalFrame T F₁))) | |
| 98 | - (norm_nonneg s.coordinateVelocityPath))) | |
| 99 | - (mul_nonneg (inv_nonneg.mpr hc.le) (norm_nonneg F)) | |
| 100 | - | |
| 101 | 74 | /-- The L² acceleration is genuinely represented by this continuous path. -/ |
| 102 | 75 | theorem classicalAcceleration_ae |
| 103 | 76 | (hf : (f : ℝ → L2) =ᵐ[timeMeasure T] extendPath T hT fC) : |
| @@ -106,15 +79,6 @@ theorem classicalAcceleration_ae | ||
| 106 | 79 | accelerationPath_ae T (solenoidalFrame T F) (solenoidalFrame T F₁) c hc hLower hT |
| 107 | 80 | s.velocityLp s.acceleration f s.coordinateVelocityPath fC s.coordinateVelocityPath_ae hf s.gram_equation_ae |
| 108 | 81 | |
| 109 | -/-- Coordinate velocity has the classical acceleration at every time within the interval. -/ | |
| 110 | -theorem velocity_hasDerivWithinAt | |
| 111 | - (hf : (f : ℝ → L2) =ᵐ[timeMeasure T] extendPath T hT fC) | |
| 112 | - (t : Icc (0 : ℝ) T) : | |
| 113 | - HasDerivWithinAt s.velocity (s.classicalAcceleration c hc hLower fC t) (Icc (0 : ℝ) T) t := | |
| 114 | - hasDerivWithinAt_of_continuous_representative T hT s.acceleration | |
| 115 | - (s.classicalAcceleration c hc hLower fC) (s.classicalAcceleration_ae c hc hLower fC hf) | |
| 116 | - s.velocity s.velocity_ac s.velocity_derivative t | |
| 117 | - | |
| 118 | 82 | /-- The physical derivative path is the actual continuous product-rule expression. -/ |
| 119 | 83 | def classicalPhysicalDerivative : C(Icc (0 : ℝ) T, L2) := |
| 120 | 84 | ⟨fun t => F₁ t (s.coordinateVelocityPath t : L2) + |
| @@ -148,17 +112,4 @@ theorem physical_hasDerivWithinAt | ||
| 148 | 112 | (s.classicalPhysicalDerivative c hc hLower fC) (s.classicalPhysicalDerivative_ae c hc hLower fC hf) |
| 149 | 113 | s.physicalPath hp.1 hp.2.2 t |
| 150 | 114 | |
| 151 | -/-- The physical time-derivative supremum pays only the two coefficient factors. -/ | |
| 152 | -theorem classicalPhysicalDerivative_norm : | |
| 153 | - ‖s.classicalPhysicalDerivative c hc hLower fC‖ ≤ | |
| 154 | - ‖F₁‖*‖s.coordinateVelocityPath‖+‖F‖*‖s.classicalAcceleration c hc hLower fC‖ := by | |
| 155 | - apply (ContinuousMap.norm_le _ (by positivity)).2 | |
| 156 | - intro t | |
| 157 | - apply (norm_add_le _ _).trans | |
| 158 | - exact add_le_add | |
| 159 | - (((F₁ t).le_opNorm _).trans (mul_le_mul (F₁.norm_coe_le_norm t) | |
| 160 | - (s.coordinateVelocityPath.norm_coe_le_norm t) (norm_nonneg _) (norm_nonneg F₁))) | |
| 161 | - (((F t).le_opNorm _).trans (mul_le_mul (F.norm_coe_le_norm t) | |
| 162 | - ((s.classicalAcceleration c hc hLower fC).norm_coe_le_norm t) (norm_nonneg _) (norm_nonneg F))) | |
| 163 | - | |
| 164 | 115 | end EulerMeanVariationalInverse.StrongMeanEvolution |
+0 −15 Euler/MeanClassicalWordBounds.lean View file
| @@ -149,19 +149,4 @@ theorem classicalBlockSize_eq (directions : ι → Space) (q : ℕ) (u : L2) (hu | ||
| 149 | 149 | exact congrArg (fun g : Space → L2 => baseSize directions q g 0) |
| 150 | 150 | (funext (ordinaryWord_translation directions u hu w)) |
| 151 | 151 | |
| 152 | -/-- Uniform time evaluation transfers all genuine classical Hq derivative | |
| 153 | -words with constant one, and without a radius change. -/ | |
| 154 | -theorem path_classicalBlockSize_le (directions : ι → Space) (q : ℕ) | |
| 155 | - (T : ℝ) (p : C(Icc (0 : ℝ) T,L2)) | |
| 156 | - (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) | |
| 157 | - (t : Icc (0 : ℝ) T) (n : ℕ) : | |
| 158 | - classicalBlockSize directions q (p t) (pathTranslation_evaluation_contDiff T p hp t) n ≤ | |
| 159 | - block directions q (fun a : Space => pathTranslation T a p) n 0 := by | |
| 160 | - rw [classicalBlockSize_eq] | |
| 161 | - have h := block_comp_clm_le directions q | |
| 162 | - (ContinuousMap.evalCLM ℝ t : C(Icc (0 : ℝ) T,L2) →L[ℝ] L2) | |
| 163 | - (fun a : Space => pathTranslation T a p) hp n 0 | |
| 164 | - exact h.trans ((mul_le_mul_of_nonneg_right (evaluation_norm_le T t) | |
| 165 | - (block_nonneg directions q (fun a : Space => pathTranslation T a p) n 0)).trans_eq (one_mul _)) | |
| 166 | - | |
| 167 | 152 | end EulerMeanClassicalWordBounds |
+0 −7 Euler/MeanCoefficientFrame.lean View file
| @@ -70,11 +70,4 @@ theorem operatorPath_norm_le (T : ℝ) (A : C(Icc (0 : ℝ) T, Field)) : | ||
| 70 | 70 | intro t |
| 71 | 71 | exact (multiplier_norm_le (A t)).trans (A.norm_coe_le_norm t) |
| 72 | 72 | |
| 73 | -theorem operatorPath_norm_le_of_pointwise (T : ℝ) (A : C(Icc (0 : ℝ) T, Field)) | |
| 74 | - (C : ℝ) (hC : 0 ≤ C) (hA : ∀ t x, ‖A t x‖ ≤ C) : ‖operatorPath T A‖ ≤ C := by | |
| 75 | - apply (operatorPath_norm_le T A).trans | |
| 76 | - apply (ContinuousMap.norm_le A hC).2 | |
| 77 | - intro t | |
| 78 | - exact (BoundedContinuousFunction.norm_le hC).2 (hA t) | |
| 79 | - | |
| 80 | 73 | end EulerMeanCoefficients |
+0 −18 Euler/MeanCoefficientMultipliers.lean View file
| @@ -60,24 +60,6 @@ def multiplierMap : Field →L[ℝ] (L2 →L[ℝ] L2) where | ||
| 60 | 60 | |
| 61 | 61 | @[simp] theorem multiplierMap_apply (A : Field) : multiplierMap A = multiplier A := rfl |
| 62 | 62 | |
| 63 | -theorem multiplier_one : multiplier (1 : Field) = ContinuousLinearMap.id ℝ L2 := by | |
| 64 | - apply ContinuousLinearMap.ext | |
| 65 | - intro u | |
| 66 | - apply Lp.ext | |
| 67 | - filter_upwards [multiplier_ae (1 : Field) u] with x hx | |
| 68 | - exact hx | |
| 69 | - | |
| 70 | -theorem multiplier_mul (A B : Field) : | |
| 71 | - multiplier (A*B) = (multiplier A).comp (multiplier B) := by | |
| 72 | - apply ContinuousLinearMap.ext | |
| 73 | - intro u | |
| 74 | - apply Lp.ext | |
| 75 | - filter_upwards [multiplier_ae (A*B) u, multiplier_ae A (multiplier B u), | |
| 76 | - multiplier_ae B u] with x hab ha hb | |
| 77 | - change (multiplier (A*B) u) x = (multiplier A (multiplier B u)) x | |
| 78 | - rw [hab, ha, hb] | |
| 79 | - rfl | |
| 80 | - | |
| 81 | 63 | theorem multiplier_inverse (A B : Field) (hAB : ∀ x v, A x (B x v) = v) (u : L2) : |
| 82 | 64 | multiplier A (multiplier B u) = u := by |
| 83 | 65 | apply Lp.ext |
+0 −8 Euler/MeanCoefficientSpatial.lean View file
| @@ -25,14 +25,6 @@ def translated (A : Space →ᵇ V) (a : Space) : Space →ᵇ V := | ||
| 25 | 25 | ext x |
| 26 | 26 | exact congrArg A (add_zero x) |
| 27 | 27 | |
| 28 | -theorem translated_add (A : Space →ᵇ V) (a b : Space) : | |
| 29 | - translated (translated A a) b = translated A (b+a) := by | |
| 30 | - ext x | |
| 31 | - exact congrArg A (add_assoc x b a) | |
| 32 | - | |
| 33 | -theorem translated_norm_le (A : Space →ᵇ V) (a : Space) : ‖translated A a‖ ≤ ‖A‖ := | |
| 34 | - BoundedContinuousFunction.norm_compContinuous_le _ _ | |
| 35 | - | |
| 36 | 28 | variable [NormedSpace ℝ V] |
| 37 | 29 | |
| 38 | 30 | def boundedDerivative (A : Space →ᵇ V) (hA : ContDiff ℝ ∞ (A : Space → V)) |
+0 −33 Euler/MeanContinuousAcceleration.lean View file
| @@ -73,37 +73,4 @@ theorem meanAccelerationPath_translation_contDiff {n : ℕ∞ω} | ||
| 73 | 73 | exact Eq.mpr (congrArg (fun g : Space → C(Icc (0 : ℝ) T,solenoidalSpace) => ContDiff ℝ n g) |
| 74 | 74 | (meanAccelerationPath_orbit_eq T F F₁ c hc hLower v f)) hs |
| 75 | 75 | |
| 76 | -/-- All actual spatial acceleration derivatives have a uniform-time bound | |
| 77 | -with one factorial shift and an explicit polynomial radius condition. -/ | |
| 78 | -theorem meanAccelerationPath_translation_gevrey | |
| 79 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 80 | - (hF₁ : ContDiff ℝ ∞ (fun a : Space => translatePath T a F₁)) | |
| 81 | - (hv : ContDiff ℝ ∞ (fun a : Space => coordinatePathTranslation T a v)) | |
| 82 | - (hf : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a f)) | |
| 83 | - (Rc R CF CF₁ Cf Cv : ℝ) (hRc : 0 ≤ Rc) (hR : 0 ≤ R) (hRcR : Rc ≤ R) | |
| 84 | - (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) (hCf : 0 ≤ Cf) (hCv : 0 ≤ Cv) | |
| 85 | - (hstrong : 2*gramCost c CF (3*CF*(Cf+6*CF₁*Cv))*(Rc+1) ≤ R) | |
| 86 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant Rc 0 n) | |
| 87 | - (hF₁b : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant Rc 0 n) | |
| 88 | - (d : ℕ) | |
| 89 | - (hfb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => pathTranslation T b f) a‖ ≤ Cf*majorant R d n) | |
| 90 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => coordinatePathTranslation T b v) a‖ ≤ Cv*majorant R d n) | |
| 91 | - (n : ℕ) (a : Space) : | |
| 92 | - ‖iteratedFDeriv ℝ n (fun b : Space => | |
| 93 | - coordinatePathTranslation T b (meanAccelerationPath T F F₁ c hc hLower v f)) a‖ ≤ | |
| 94 | - majorant R (d+1) n := by | |
| 95 | - have hs := acceleration_gevrey T | |
| 96 | - (fun a : Space => solenoidalFrame T (translatePath T a F)) | |
| 97 | - (fun a : Space => solenoidalFrame T (translatePath T a F₁)) | |
| 98 | - c hc (translatedFrame_lower T F c hLower) | |
| 99 | - (fun a : Space => coordinatePathTranslation T a v) (fun a : Space => pathTranslation T a f) | |
| 100 | - (contDiff_solenoidalFrame T (fun a => translatePath T a F) hF) | |
| 101 | - (contDiff_solenoidalFrame T (fun a => translatePath T a F₁) hF₁) hv hf | |
| 102 | - Rc R CF CF₁ Cf Cv hRc hR hRcR hCF hCF₁ hCf hCv hstrong | |
| 103 | - (solenoidalFrame_bound T (fun b => translatePath T b F) hF Rc CF hRc hCF 0 hFb) | |
| 104 | - (solenoidalFrame_bound T (fun b => translatePath T b F₁) hF₁ Rc CF₁ hRc hCF₁ 0 hF₁b) | |
| 105 | - d hfb hvb n a | |
| 106 | - exact (congrArg (fun g : Space → C(Icc (0 : ℝ) T,solenoidalSpace) => ‖iteratedFDeriv ℝ n g a‖) | |
| 107 | - (meanAccelerationPath_orbit_eq T F F₁ c hc hLower v f)).trans_le hs | |
| 108 | - | |
| 109 | 76 | end EulerMeanContinuousAcceleration |
+0 −51 Euler/MeanContinuousPhysical.lean View file
| @@ -53,23 +53,6 @@ theorem framePathApply_translation_contDiff {n : ℕ∞ω} | ||
| 53 | 53 | (fun a => coordinatePathTranslation T a v) |
| 54 | 54 | (contDiff_solenoidalFrame T (fun a => translatePath T a F) hF) hv) |
| 55 | 55 | |
| 56 | -theorem framePathApply_translation_gevrey | |
| 57 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 58 | - (hv : ContDiff ℝ ∞ (fun a : Space => coordinatePathTranslation T a v)) | |
| 59 | - (R CF Cv : ℝ) (hR : 0 ≤ R) (hCF : 0 ≤ CF) (hCv : 0 ≤ Cv) (d : ℕ) | |
| 60 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant R 0 n) | |
| 61 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => coordinatePathTranslation T b v) a‖ ≤ Cv*majorant R d n) | |
| 62 | - (n : ℕ) (a : Space) : | |
| 63 | - ‖iteratedFDeriv ℝ n (fun b : Space => pathTranslation T b (multiplier (solenoidalFrame T F) v)) a‖ ≤ | |
| 64 | - (3*CF*Cv)*majorant R d n := by | |
| 65 | - have h := apply_bound (fun b : Space => solenoidalFrame T (translatePath T b F)) | |
| 66 | - (fun b : Space => coordinatePathTranslation T b v) | |
| 67 | - (contDiff_solenoidalFrame T (fun b => translatePath T b F) hF) hv | |
| 68 | - R CF Cv hR hCF hCv 0 d | |
| 69 | - (solenoidalFrame_bound T (fun b => translatePath T b F) hF R CF hR hCF 0 hFb) hvb n a | |
| 70 | - exact (congrArg (fun g : Space → C(Icc (0 : ℝ) T,L2) => ‖iteratedFDeriv ℝ n g a‖) | |
| 71 | - (framePathApply_orbit_eq T F v)).trans_le (by simpa only [Nat.zero_add] using h) | |
| 72 | - | |
| 73 | 56 | end EulerMeanContinuousPhysical |
| 74 | 57 | |
| 75 | 58 | namespace EulerMeanVariationalInverse.StrongMeanEvolution |
| @@ -125,38 +108,4 @@ theorem classicalPhysicalDerivative_translation_contDiff {n : ℕ∞ω} | ||
| 125 | 108 | (framePathApply_translation_contDiff T F (s.classicalAcceleration c hc hLower fC) hF |
| 126 | 109 | (s.classicalAcceleration_translation_contDiff c hc hLower fC hF hF₁ hv hf))) |
| 127 | 110 | |
| 128 | -/-- Uniform-time derivative estimates pay only the two actual frame-product factors. -/ | |
| 129 | -theorem classicalPhysicalDerivative_translation_gevrey | |
| 130 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 131 | - (hF₁ : ContDiff ℝ ∞ (fun a : Space => translatePath T a F₁)) | |
| 132 | - (hv : ContDiff ℝ ∞ (fun a : Space => coordinatePathTranslation T a s.coordinateVelocityPath)) | |
| 133 | - (ha : ContDiff ℝ ∞ (fun a : Space => coordinatePathTranslation T a (s.classicalAcceleration c hc hLower fC))) | |
| 134 | - (R CF CF₁ Cv Ca : ℝ) (hR : 0 ≤ R) (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) | |
| 135 | - (hCv : 0 ≤ Cv) (hCa : 0 ≤ Ca) (d : ℕ) | |
| 136 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant R 0 n) | |
| 137 | - (hF₁b : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant R 0 n) | |
| 138 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => coordinatePathTranslation T b s.coordinateVelocityPath) a‖ ≤ Cv*majorant R d n) | |
| 139 | - (hab : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => coordinatePathTranslation T b (s.classicalAcceleration c hc hLower fC)) a‖ ≤ Ca*majorant R d n) | |
| 140 | - (n : ℕ) (a : Space) : | |
| 141 | - ‖iteratedFDeriv ℝ n (fun b : Space => pathTranslation T b (s.classicalPhysicalDerivative c hc hLower fC)) a‖ ≤ | |
| 142 | - (3*(CF₁*Cv+CF*Ca))*majorant R d n := by | |
| 143 | - have he : (fun b : Space => pathTranslation T b (s.classicalPhysicalDerivative c hc hLower fC)) = | |
| 144 | - fun b : Space => | |
| 145 | - pathTranslation T b (multiplier (solenoidalFrame T F₁) s.coordinateVelocityPath) + | |
| 146 | - pathTranslation T b (multiplier (solenoidalFrame T F) (s.classicalAcceleration c hc hLower fC)) := by | |
| 147 | - funext b | |
| 148 | - exact (congrArg (pathTranslation T b) (s.classicalPhysicalDerivative_eq_products c hc hLower fC)).trans | |
| 149 | - ((pathTranslation T b).map_add _ _) | |
| 150 | - have hb := add_bound | |
| 151 | - (fun b : Space => pathTranslation T b (multiplier (solenoidalFrame T F₁) s.coordinateVelocityPath)) | |
| 152 | - (fun b : Space => pathTranslation T b (multiplier (solenoidalFrame T F) (s.classicalAcceleration c hc hLower fC))) | |
| 153 | - (framePathApply_translation_contDiff T F₁ s.coordinateVelocityPath hF₁ hv) | |
| 154 | - (framePathApply_translation_contDiff T F (s.classicalAcceleration c hc hLower fC) hF ha) | |
| 155 | - R (3*CF₁*Cv) (3*CF*Ca) d | |
| 156 | - (framePathApply_translation_gevrey T F₁ s.coordinateVelocityPath hF₁ hv R CF₁ Cv hR hCF₁ hCv d hF₁b hvb) | |
| 157 | - (framePathApply_translation_gevrey T F (s.classicalAcceleration c hc hLower fC) hF ha R CF Ca hR hCF hCa d hFb hab) n a | |
| 158 | - have hcst : 3*CF₁*Cv+3*CF*Ca = 3*(CF₁*Cv+CF*Ca) := by ring | |
| 159 | - exact (congrArg (fun g : Space → C(Icc (0 : ℝ) T,L2) => ‖iteratedFDeriv ℝ n g a‖) he).trans_le | |
| 160 | - (by simpa only [hcst] using hb) | |
| 161 | - | |
| 162 | 111 | end EulerMeanVariationalInverse.StrongMeanEvolution |
+0 −51 Euler/MeanContinuousVelocity.lean View file
| @@ -43,55 +43,4 @@ theorem continuousVelocity_translation_contDiff {n : ℕ∞ω} | ||
| 43 | 43 | ContDiff ℝ n (fun a : Space => pathTranslation T a s.continuousVelocity) := |
| 44 | 44 | reconstruction_translation_contDiff T hT s.velocityField s.velocityDerivative hB hBt |
| 45 | 45 | |
| 46 | -/-- The actual spatial orbit of B(t) is regular for every t, including both endpoints. -/ | |
| 47 | -theorem physicalPath_translation_contDiff (hTpos : 0 < T) | |
| 48 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 49 | - HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) | |
| 50 | - {n : ℕ∞ω} | |
| 51 | - (hB : ContDiff ℝ n (fun a : Space => timeTranslation T a s.velocityField)) | |
| 52 | - (hBt : ContDiff ℝ n (fun a : Space => timeTranslation T a s.velocityDerivative)) | |
| 53 | - (t : Icc (0 : ℝ) T) : | |
| 54 | - ContDiff ℝ n (fun a : Space => translation a (s.physicalPath t)) := by | |
| 55 | - have hp := pathTranslation_evaluation_contDiff T s.continuousVelocity | |
| 56 | - (s.continuousVelocity_translation_contDiff hB hBt) t | |
| 57 | - have heq : (fun a : Space => translation a (s.continuousVelocity t)) = | |
| 58 | - fun a : Space => translation a (s.physicalPath t) := | |
| 59 | - funext (fun a => congrArg (translation a) (s.continuousVelocity_eq_physicalPath hTpos hF t)) | |
| 60 | - exact Eq.mp (congrArg (fun g : Space → L2 => ContDiff ℝ n g) heq) hp | |
| 61 | - | |
| 62 | -/-- The actual uniform-time velocity has the explicit H¹ trace amplitude. -/ | |
| 63 | -theorem continuousVelocity_translation_gevrey (hTpos : 0 < T) | |
| 64 | - (hB : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a s.velocityField)) | |
| 65 | - (hBt : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a s.velocityDerivative)) | |
| 66 | - (R C D : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (hD : 0 ≤ D) (d : ℕ) | |
| 67 | - (hBb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityField) a‖ ≤ C*majorant R d n) | |
| 68 | - (hBtb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityDerivative) a‖ ≤ D*majorant R d n) | |
| 69 | - (n : ℕ) (a : Space) : | |
| 70 | - ‖iteratedFDeriv ℝ n (fun b : Space => pathTranslation T b s.continuousVelocity) a‖ ≤ | |
| 71 | - ((T⁻¹*Real.sqrt T)*C+(2*Real.sqrt T)*D)*majorant R d n := | |
| 72 | - reconstruction_translation_gevrey T hTpos s.velocityField s.velocityDerivative | |
| 73 | - hB hBt R C D hR hC hD d hBb hBtb n a | |
| 74 | - | |
| 75 | -/-- Every actual time slice obeys the same bound, with no extra spatial derivative loss. -/ | |
| 76 | -theorem physicalPath_translation_gevrey (hTpos : 0 < T) | |
| 77 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 78 | - HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) | |
| 79 | - (hB : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a s.velocityField)) | |
| 80 | - (hBt : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a s.velocityDerivative)) | |
| 81 | - (R C D : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (hD : 0 ≤ D) (d : ℕ) | |
| 82 | - (hBb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityField) a‖ ≤ C*majorant R d n) | |
| 83 | - (hBtb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityDerivative) a‖ ≤ D*majorant R d n) | |
| 84 | - (t : Icc (0 : ℝ) T) (n : ℕ) (a : Space) : | |
| 85 | - ‖iteratedFDeriv ℝ n (fun b : Space => translation b (s.physicalPath t)) a‖ ≤ | |
| 86 | - ((T⁻¹*Real.sqrt T)*C+(2*Real.sqrt T)*D)*majorant R d n := by | |
| 87 | - have hpath := s.continuousVelocity_translation_contDiff hB hBt | |
| 88 | - have hpathb := s.continuousVelocity_translation_gevrey hTpos hB hBt | |
| 89 | - R C D hR hC hD d hBb hBtb | |
| 90 | - have ht := pathTranslation_evaluation_gevrey T s.continuousVelocity hpath | |
| 91 | - R ((T⁻¹*Real.sqrt T)*C+(2*Real.sqrt T)*D) hR (by positivity) d hpathb t n a | |
| 92 | - have heq : (fun b : Space => translation b (s.physicalPath t)) = | |
| 93 | - fun b : Space => translation b (s.continuousVelocity t) := | |
| 94 | - funext (fun b => congrArg (translation b) (s.continuousVelocity_eq_physicalPath hTpos hF t).symm) | |
| 95 | - exact (congrArg (fun g : Space → L2 => ‖iteratedFDeriv ℝ n g a‖) heq).trans_le ht | |
| 96 | - | |
| 97 | 46 | end EulerMeanVariationalInverse.StrongMeanEvolution |
+0 −16 Euler/MeanCoordinatePath.lean View file
| @@ -73,20 +73,4 @@ theorem coordinateVelocityPath_translation_contDiff (hTpos : 0 < T) {n : ℕ∞ | ||
| 73 | 73 | (reconstruction_contDiff T hT (fun a : Space => timeSolenoidalTranslation T a s.velocityLp) |
| 74 | 74 | (fun a : Space => timeSolenoidalTranslation T a s.acceleration) hv ha) |
| 75 | 75 | |
| 76 | -/-- Every spatial coordinate-velocity derivative has the same uniform-time trace cost. -/ | |
| 77 | -theorem coordinateVelocityPath_translation_gevrey (hTpos : 0 < T) | |
| 78 | - (hv : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.velocityLp)) | |
| 79 | - (ha : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.acceleration)) | |
| 80 | - (R Cv Ca : ℝ) (hR : 0 ≤ R) (hCv : 0 ≤ Cv) (hCa : 0 ≤ Ca) (d : ℕ) | |
| 81 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.velocityLp) a‖ ≤ Cv*majorant R d n) | |
| 82 | - (hab : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.acceleration) a‖ ≤ Ca*majorant R d n) | |
| 83 | - (n : ℕ) (a : Space) : | |
| 84 | - ‖iteratedFDeriv ℝ n (fun b : Space => coordinatePathTranslation T b s.coordinateVelocityPath) a‖ ≤ | |
| 85 | - ((T⁻¹*Real.sqrt T)*Cv+(2*Real.sqrt T)*Ca)*majorant R d n := | |
| 86 | - (congrArg (fun g : Space → C(Icc (0 : ℝ) T,solenoidalSpace) => ‖iteratedFDeriv ℝ n g a‖) | |
| 87 | - (s.coordinateVelocityPath_orbit_eq hTpos)).trans_le | |
| 88 | - (reconstruction_gevrey T hTpos (fun b : Space => timeSolenoidalTranslation T b s.velocityLp) | |
| 89 | - (fun b : Space => timeSolenoidalTranslation T b s.acceleration) | |
| 90 | - hv ha R Cv Ca hR hCv hCa d hvb hab n a) | |
| 91 | - | |
| 92 | 76 | end EulerMeanVariationalInverse.StrongMeanEvolution |
+0 −32 Euler/MeanCutoffCurlBound.lean View file
| @@ -180,36 +180,4 @@ theorem cutoff_curl_bound (ψ : Space → ℝ) (φ : Space → Space) | ||
| 180 | 180 | unfold cutoffCurlConstant |
| 181 | 181 | nlinarith [mul_nonneg hc ha] |
| 182 | 182 | |
| 183 | -/-- The distributional cutoff-curl functional on an arbitrary genuine L² field. | |
| 184 | -No derivative or divergence condition on `z` is required. -/ | |
| 185 | -theorem integral_cutoff_curl_bound (ψ : Space → ℝ) (φ : Space → Space) | |
| 186 | - (hψ : ContDiff ℝ ∞ ψ) (hψc : HasCompactSupport ψ) | |
| 187 | - (hφ : ContDiff ℝ ∞ φ) (hφc : HasCompactSupport φ) | |
| 188 | - (z : Lp Space 2 (volume : Measure Space)) : | |
| 189 | - |∫ x, inner ℝ (z x) (vectorCurl (fun y => ψ y • φ y) x)| ≤ | |
| 190 | - cutoffCurlConstant * (lpNorm ψ ∞ volume + lpNorm (gradient ψ) 3 volume) * | |
| 191 | - ‖z‖ * lpNorm (fderiv ℝ φ) 2 volume := by | |
| 192 | - have hprod : ContDiff ℝ ∞ (fun y => ψ y • φ y) := hψ.smul hφ | |
| 193 | - have hpc : HasCompactSupport (fun y => ψ y • φ y) := hφc.smul_left (f := ψ) | |
| 194 | - have hm : MemLp (vectorCurl (fun y => ψ y • φ y)) 2 volume := | |
| 195 | - vectorCurl_memLp _ hprod hpc | |
| 196 | - let v : Lp Space 2 (volume : Measure Space) := hm.toLp _ | |
| 197 | - have hv : ‖v‖ = lpNorm (vectorCurl (fun y => ψ y • φ y)) 2 volume := by | |
| 198 | - rw [Lp.norm_toLp, toReal_eLpNorm hm.aestronglyMeasurable] | |
| 199 | - have he : (∫ x, inner ℝ (z x) (vectorCurl (fun y => ψ y • φ y) x)) = inner ℝ z v := by | |
| 200 | - rw [L2.inner_def] | |
| 201 | - apply integral_congr_ae | |
| 202 | - filter_upwards [hm.coeFn_toLp] with x hx | |
| 203 | - rw [hx] | |
| 204 | - calc | |
| 205 | - |∫ x, inner ℝ (z x) (vectorCurl (fun y => ψ y • φ y) x)| = |inner ℝ z v| := congrArg abs he | |
| 206 | - _ ≤ ‖z‖ * ‖v‖ := by | |
| 207 | - simpa only [Real.norm_eq_abs] using norm_inner_le_norm (𝕜 := ℝ) z v | |
| 208 | - _ ≤ ‖z‖ * (cutoffCurlConstant * (lpNorm ψ ∞ volume + lpNorm (gradient ψ) 3 volume) * | |
| 209 | - lpNorm (fderiv ℝ φ) 2 volume) := by | |
| 210 | - rw [hv] | |
| 211 | - exact mul_le_mul_of_nonneg_left (cutoff_curl_bound ψ φ hψ hψc hφ hφc) (norm_nonneg z) | |
| 212 | - _ = cutoffCurlConstant * (lpNorm ψ ∞ volume + lpNorm (gradient ψ) 3 volume) * | |
| 213 | - ‖z‖ * lpNorm (fderiv ℝ φ) 2 volume := by ring | |
| 214 | - | |
| 215 | 183 | end EulerMeanCutoffCurl |
+0 −66 Euler/MeanCutoffDifferenceBound.lean View file
| @@ -35,25 +35,6 @@ theorem lpNorm_le_bound_volume {E : Type*} [NormedAddCommGroup E] | ||
| 35 | 35 | simpa only [toReal_eLpNorm hf, ENNReal.toReal_mul, ENNReal.toReal_ofReal hC, |
| 36 | 36 | ENNReal.toReal_rpow] using H |
| 37 | 37 | |
| 38 | -/-- The classical mean value inequality bounds a directional difference quotient uniformly. -/ | |
| 39 | -theorem norm_differenceQuotient_le {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 40 | - (f : Space → E) (hf : Differentiable ℝ f) (M : ℝ) (hM : 0 ≤ M) | |
| 41 | - (hDf : ∀ x, ‖fderiv ℝ f x‖ ≤ M) (a : Space) (h : ℝ) (x : Space) : | |
| 42 | - ‖h⁻¹ • (f (x + h • a) - f x)‖ ≤ M * ‖a‖ := by | |
| 43 | - by_cases hh : h = 0 | |
| 44 | - · simp only [hh, inv_zero, zero_smul, norm_zero] | |
| 45 | - exact mul_nonneg hM (norm_nonneg a) | |
| 46 | - have H := Convex.norm_image_sub_le_of_norm_fderiv_le | |
| 47 | - (𝕜 := ℝ) (f := f) (s := Set.univ) (C := M) (x := x) (y := x+h•a) | |
| 48 | - (fun y _ => hf y) (fun y _ => hDf y) (convex_univ : Convex ℝ (Set.univ : Set Space)) | |
| 49 | - (Set.mem_univ x) (Set.mem_univ (x+h•a)) | |
| 50 | - simp only [add_sub_cancel_left, norm_smul, Real.norm_eq_abs] at H | |
| 51 | - rw [norm_smul, norm_inv, Real.norm_eq_abs] | |
| 52 | - calc | |
| 53 | - _ ≤ |h|⁻¹ * (M * (|h| * ‖a‖)) := mul_le_mul_of_nonneg_left H (inv_nonneg.mpr (abs_nonneg h)) | |
| 54 | - _ = M * ‖a‖ := by | |
| 55 | - field_simp [abs_ne_zero.mpr hh] | |
| 56 | - | |
| 57 | 38 | theorem differenceQuotient_fderiv (χ : Cutoff) (a : Space) (h : ℝ) (x : Space) : |
| 58 | 39 | fderiv ℝ (χ.differenceQuotient a h).field x = |
| 59 | 40 | h⁻¹ • (fderiv ℝ χ.field (x+h•a) - fderiv ℝ χ.field x) := by |
| @@ -96,51 +77,4 @@ def cutoffDifferenceConstant (R M₁ M₂ : ℝ) : ℝ := | ||
| 96 | 77 | 3 * cutoffCurlConstant * |
| 97 | 78 | (M₁ + M₂ * (volume (Metric.closedBall (0 : Space) (R+1))).toReal ^ (1/3 : ℝ)) |
| 98 | 79 | |
| 99 | -/-- A bound independent of the difference step; the only data are genuine derivative bounds. -/ | |
| 100 | -theorem cutoffBound_differenceQuotient (χ : Cutoff) (R M₁ M₂ : ℝ) | |
| 101 | - (hM₁ : 0 ≤ M₁) (hM₂ : 0 ≤ M₂) | |
| 102 | - (hsupport : tsupport χ.field ⊆ Metric.closedBall (0 : Space) R) | |
| 103 | - (hD₁ : ∀ x, ‖fderiv ℝ χ.field x‖ ≤ M₁) | |
| 104 | - (hD₂ : ∀ x, ‖fderiv ℝ (fderiv ℝ χ.field) x‖ ≤ M₂) | |
| 105 | - (a : Space) (h : ℝ) (hstep : ‖h • a‖ ≤ 1) : | |
| 106 | - cutoffBound (χ.differenceQuotient a h) ≤ cutoffDifferenceConstant R M₁ M₂ * ‖a‖ := by | |
| 107 | - let K := Metric.closedBall (0 : Space) (R+1) | |
| 108 | - have hK : volume K ≠ (∞ : ℝ≥0∞) := (isCompact_closedBall (0 : Space) (R+1)).measure_ne_top | |
| 109 | - have hs : tsupport (χ.differenceQuotient a h).field ⊆ K := | |
| 110 | - differenceQuotient_support χ R hsupport a h hstep | |
| 111 | - have hz : ∀ x ∉ K, (χ.differenceQuotient a h).field x = 0 := | |
| 112 | - fun x hx => image_eq_zero_of_notMem_tsupport (fun ht => hx (hs ht)) | |
| 113 | - have hdz : ∀ x ∉ K, fderiv ℝ (χ.differenceQuotient a h).field x = 0 := | |
| 114 | - fun x hx => fderiv_of_notMem_tsupport ℝ (fun ht => hx (hs ht)) | |
| 115 | - have hb (x : Space) : ‖(χ.differenceQuotient a h).field x‖ ≤ M₁ * ‖a‖ := | |
| 116 | - norm_differenceQuotient_le χ.field (χ.smooth.differentiable (by simp)) M₁ hM₁ hD₁ a h x | |
| 117 | - have hdb (x : Space) : ‖fderiv ℝ (χ.differenceQuotient a h).field x‖ ≤ M₂ * ‖a‖ := by | |
| 118 | - rw [differenceQuotient_fderiv] | |
| 119 | - exact norm_differenceQuotient_le (fderiv ℝ χ.field) | |
| 120 | - ((χ.smooth.fderiv_right (m := ∞) (by simp)).differentiable (by simp)) M₂ hM₂ hD₂ a h x | |
| 121 | - have h₀ := lpNorm_le_bound_volume (χ.differenceQuotient a h).field | |
| 122 | - (χ.differenceQuotient a h).smooth.continuous.aestronglyMeasurable K hK | |
| 123 | - (M₁ * ‖a‖) (mul_nonneg hM₁ (norm_nonneg a)) hb hz (∞ : ℝ≥0∞) | |
| 124 | - simp only [ENNReal.toReal_top, div_zero, Real.rpow_zero, mul_one] at h₀ | |
| 125 | - have h₁ := lpNorm_le_bound_volume (fderiv ℝ (χ.differenceQuotient a h).field) | |
| 126 | - (((χ.differenceQuotient a h).smooth.fderiv_right (m := ∞) (by simp)).continuous.aestronglyMeasurable) | |
| 127 | - K hK (M₂ * ‖a‖) (mul_nonneg hM₂ (norm_nonneg a)) hdb hdz 3 | |
| 128 | - norm_num only [ENNReal.toReal_ofNat] at h₁ | |
| 129 | - unfold cutoffBound | |
| 130 | - rw [lpNorm_gradient_eq_fderiv _ (χ.differenceQuotient a h).smooth] | |
| 131 | - calc | |
| 132 | - _ ≤ 3 * cutoffCurlConstant * | |
| 133 | - (M₁ * ‖a‖ + (M₂ * ‖a‖) * (volume K).toReal ^ (1/3 : ℝ)) := | |
| 134 | - mul_le_mul_of_nonneg_left (add_le_add h₀ h₁) | |
| 135 | - (mul_nonneg (by norm_num) cutoffCurlConstant_pos.le) | |
| 136 | - _ = cutoffDifferenceConstant R M₁ M₂ * ‖a‖ := by | |
| 137 | - unfold cutoffDifferenceConstant K | |
| 138 | - ring | |
| 139 | - | |
| 140 | -theorem cutoffDifferenceConstant_nonneg (R M₁ M₂ : ℝ) (hM₁ : 0 ≤ M₁) (hM₂ : 0 ≤ M₂) : | |
| 141 | - 0 ≤ cutoffDifferenceConstant R M₁ M₂ := by | |
| 142 | - unfold cutoffDifferenceConstant | |
| 143 | - exact mul_nonneg (mul_nonneg (by norm_num) cutoffCurlConstant_pos.le) | |
| 144 | - (add_nonneg hM₁ (mul_nonneg hM₂ (Real.rpow_nonneg ENNReal.toReal_nonneg _))) | |
| 145 | - | |
| 146 | 80 | end EulerMeanBoundary |
+0 −16 Euler/MeanCylinderSolenoidal.lean View file
| @@ -48,20 +48,4 @@ theorem embedding_representative (u : L2) (f : Space → Space) | ||
| 48 | 48 | (ν := (volume : Measure (AddCircle P)))).ae hrep] with z hl hr |
| 49 | 49 | exact hl.trans hr |
| 50 | 50 | |
| 51 | -/-- The conclusion is membership in the actual closed lifted-gradient orthogonal complement. -/ | |
| 52 | -theorem embedding_mem (κ : ℝ) (m : Space) (u : L2) (hu : u ∈ solenoidalSpace) | |
| 53 | - (f : Space → Space) (hf : ContDiff ℝ ∞ f) (hrep : (u : Space → Space) =ᵐ[volume] f) : | |
| 54 | - embedding P u ∈ divergenceFreeSpace P κ m := by | |
| 55 | - apply mem_of_classical P κ m (embedding P u) (fun z : LiftDomain P => f z.1) | |
| 56 | - (embedding_representative P u f hrep) | |
| 57 | - · intro z | |
| 58 | - exact hf.comp (contDiff_const.add contDiff_fst) | |
| 59 | - · exact lift_classical_divergence P κ m f hf | |
| 60 | - (EulerMeanClassical.solenoidal_representative_divergence u hu f hf hrep) | |
| 61 | - | |
| 62 | -theorem embedding_mem_of_smooth_orbit (κ : ℝ) (m : Space) (u : L2) | |
| 63 | - (hu : u ∈ solenoidalSpace) (hs : SmoothOrbit u) : | |
| 64 | - embedding P u ∈ divergenceFreeSpace P κ m := | |
| 65 | - embedding_mem P κ m u hu (representative u hs) (representative_smooth u hs) (representative_ae u hs) | |
| 66 | - | |
| 67 | 51 | end EulerMeanCylinderSolenoidal |
+0 −71 Euler/MeanDisplacementRegularity.lean View file
| @@ -27,74 +27,9 @@ variable (T : ℝ) (hT : 0 ≤ T) | ||
| 27 | 27 | def labelDerivative : meanDerivatives T hT FInv →L[ℝ] TimeLp T L2 := |
| 28 | 28 | (productDerivative T hT FInv FInv').comp (meanDerivatives T hT FInv).subtypeL |
| 29 | 29 | |
| 30 | -/-- The real representative of the label displacement. -/ | |
| 31 | -def labelPath (u : meanDerivatives T hT FInv) : ℝ → L2 := | |
| 32 | - productPrimitive T hT FInv (u : TimeLp T L2) | |
| 33 | - | |
| 34 | -/-- The label path takes values in the actual ordinary solenoidal space. -/ | |
| 35 | -theorem labelPath_solenoidal (u : meanDerivatives T hT FInv) (t : ℝ) | |
| 36 | - (ht : t ∈ Icc (0 : ℝ) T) : labelPath T hT FInv u t ∈ solenoidalSpace := by | |
| 37 | - change FInv (projIcc 0 T hT t) (realPrimitive T (u : TimeLp T L2) t) ∈ solenoidalSpace | |
| 38 | - simpa only [projIcc_of_mem hT ht, terminalPrimitive_apply] using u.property ⟨t, ht⟩ | |
| 39 | - | |
| 40 | 30 | variable (hFInv : ∀ t : Icc (0 : ℝ) T, |
| 41 | 31 | HasDerivWithinAt (extendPath T hT FInv) (FInv' t) (Icc (0 : ℝ) T) t) |
| 42 | 32 | |
| 43 | -include hFInv in | |
| 44 | -/-- The actual label displacement is absolutely continuous. -/ | |
| 45 | -theorem labelPath_absolutelyContinuous (u : meanDerivatives T hT FInv) : | |
| 46 | - AbsolutelyContinuousOnInterval (labelPath T hT FInv u) 0 T := | |
| 47 | - productPrimitive_absolutelyContinuous T hT FInv FInv' hFInv (u : TimeLp T L2) | |
| 48 | - | |
| 49 | -include hFInv in | |
| 50 | -/-- Its L² derivative is obtained from the literal product rule. -/ | |
| 51 | -theorem labelPath_hasDerivAt_ae (u : meanDerivatives T hT FInv) : | |
| 52 | - ∀ᵐ t ∂timeMeasure T, | |
| 53 | - HasDerivAt (labelPath T hT FInv u) (labelDerivative T hT FInv FInv' u t) t := | |
| 54 | - productPrimitive_hasDerivAt_ae T hT FInv FInv' hFInv (u : TimeLp T L2) | |
| 55 | - | |
| 56 | -include hFInv in | |
| 57 | -/-- Integration recovers the actual H¹ label path from that derivative. -/ | |
| 58 | -theorem labelPath_eq_realPrimitive (u : meanDerivatives T hT FInv) (t : ℝ) | |
| 59 | - (ht : t ∈ Icc (0 : ℝ) T) : | |
| 60 | - labelPath T hT FInv u t = realPrimitive T (labelDerivative T hT FInv FInv' u) t := | |
| 61 | - productPrimitive_eq_realPrimitive T hT FInv FInv' hFInv (u : TimeLp T L2) t ht | |
| 62 | - | |
| 63 | -include hFInv in | |
| 64 | -/-- Differentiating a path in the closed solenoidal subspace preserves its | |
| 65 | -constraint almost everywhere; this is an actual L² membership statement. -/ | |
| 66 | -theorem labelDerivative_solenoidal_ae (u : meanDerivatives T hT FInv) : | |
| 67 | - ∀ᵐ t ∂timeMeasure T, labelDerivative T hT FInv FInv' u t ∈ solenoidalSpace := by | |
| 68 | - have hmem : ∀ᵐ t ∂timeMeasure T, t ∈ Ioo (0 : ℝ) T := by | |
| 69 | - change ∀ᵐ t ∂volume.restrict (Icc (0 : ℝ) T), t ∈ Ioo (0 : ℝ) T | |
| 70 | - rw [← restrict_Ioo_eq_restrict_Icc] | |
| 71 | - exact ae_restrict_mem measurableSet_Ioo | |
| 72 | - filter_upwards [hmem, labelPath_hasDerivAt_ae T hT FInv FInv' hFInv u] with t ht hd | |
| 73 | - have hp := solenoidalProjection.hasFDerivAt.comp_hasDerivAt t hd | |
| 74 | - have heq : labelPath T hT FInv u =ᶠ[𝓝 t] | |
| 75 | - fun s => solenoidalProjection (labelPath T hT FInv u s) := by | |
| 76 | - filter_upwards [Icc_mem_nhds ht.1 ht.2] with s hs | |
| 77 | - exact (solenoidalSpace.starProjection_eq_self_iff.mpr | |
| 78 | - (labelPath_solenoidal T hT FInv u s hs)).symm | |
| 79 | - exact solenoidalSpace.starProjection_eq_self_iff.mp | |
| 80 | - ((hp.congr_of_eventuallyEq heq).unique hd) | |
| 81 | - | |
| 82 | -/-- The norm comparison required by the source H¹ model follows from the | |
| 83 | -actual coefficient bounds and the sharp terminal Poincaré bound. -/ | |
| 84 | -theorem labelDerivative_norm_le (u : meanDerivatives T hT FInv) : | |
| 85 | - ‖labelDerivative T hT FInv FInv' u‖ ≤ | |
| 86 | - (‖FInv'‖ * Real.sqrt (T^2/2) + ‖FInv‖) * ‖u‖ := | |
| 87 | - productDerivative_norm_le T hT FInv FInv' (u : TimeLp T L2) | |
| 88 | - | |
| 89 | -/-- Squaring the genuine derivative comparison gives the source energy control. -/ | |
| 90 | -theorem labelDerivative_norm_sq_le (u : meanDerivatives T hT FInv) : | |
| 91 | - ‖labelDerivative T hT FInv FInv' u‖^2 ≤ | |
| 92 | - (‖FInv'‖ * Real.sqrt (T^2/2) + ‖FInv‖)^2 * ‖u‖^2 := by | |
| 93 | - calc | |
| 94 | - _ ≤ ((‖FInv'‖ * Real.sqrt (T^2/2) + ‖FInv‖) * ‖u‖)^2 := | |
| 95 | - pow_le_pow_left₀ (norm_nonneg _) (labelDerivative_norm_le T hT FInv FInv' u) 2 | |
| 96 | - _ = _ := mul_pow _ _ _ | |
| 97 | - | |
| 98 | 33 | variable (F F' : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) |
| 99 | 34 | |
| 100 | 35 | /-- Restrict the physical deformation to actual solenoidal label fields. -/ |
| @@ -156,10 +91,4 @@ theorem meanTestMap_trace (v : TimeLp T solenoidalSpace) : | ||
| 156 | 91 | initialTrace_productDerivative T hT (solenoidalFrame T F) (solenoidalFrame T F') |
| 157 | 92 | (solenoidalFrame_hasDerivWithinAt T hT F F' hF) v |
| 158 | 93 | |
| 159 | -/-- Therefore zero-endpoint label tests remove both actual initial boundary terms. -/ | |
| 160 | -theorem meanTestMap_trace_zero (v : TimeLp T solenoidalSpace) (hv : initialTrace T hT v = 0) : | |
| 161 | - meanTrace T hT FInv (meanTestMap T hT FInv F F' hF hInv v) = 0 := by | |
| 162 | - rw [meanTestMap_trace T hT FInv F F' hF hInv v, hv] | |
| 163 | - exact map_zero _ | |
| 164 | - | |
| 165 | 94 | end EulerMeanVariationalInverse |
+0 −21 Euler/MeanFixedCoefficientGevrey.lean View file
| @@ -118,25 +118,4 @@ theorem fixedMeanOperator_bound | ||
| 118 | 118 | (mul_le_mul_of_nonneg_left (baseAmplitude_time_bound T hT CH (CM+|L| *CA) hCH hC0) (by positivity)) |
| 119 | 119 | (majorant_nonneg r hr 0 n)) |
| 120 | 120 | |
| 121 | -/-- The actual force pullback preserves the forcing shift and has explicit polynomial amplitude. -/ | |
| 122 | -theorem fixedMeanForcing_bound (f : P → TimeLp T L2) | |
| 123 | - (hF : ContDiff ℝ ∞ F) (hF₁ : ContDiff ℝ ∞ F₁) (hf : ContDiff ℝ ∞ f) | |
| 124 | - (r CF CF₁ Cf : ℝ) (hr : 0 ≤ r) (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) (hCf : 0 ≤ Cf) (d : ℕ) | |
| 125 | - (hFb : ∀ n x, ‖iteratedFDeriv ℝ n F x‖ ≤ CF*majorant r 0 n) | |
| 126 | - (hF₁b : ∀ n x, ‖iteratedFDeriv ℝ n F₁ x‖ ≤ CF₁*majorant r 0 n) | |
| 127 | - (hfb : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ Cf*majorant r d n) | |
| 128 | - (n : ℕ) (x : P) : | |
| 129 | - ‖iteratedFDeriv ℝ n (fun p => -(fixedMeanPrimitive T hT (F p) (F₁ p)).adjoint (f p)) x‖ ≤ | |
| 130 | - (3*(T*(T*CF₁+CF))*Cf)*majorant r d n := by | |
| 131 | - have hD0 : 0 ≤ T*CF₁+CF := add_nonneg (mul_nonneg hT hCF₁) hCF | |
| 132 | - have hb := pullbackMeanForcing_bound (primitiveTimeLp (E := L2) T hT) | |
| 133 | - (fun p => fixedMeanDerivative T hT (F p) (F₁ p)) f | |
| 134 | - (contDiff_fixedMeanDerivative T hT F F₁ hF hF₁) hf r (T*CF₁+CF) Cf hr hD0 hCf d | |
| 135 | - (fixedMeanDerivative_bound T hT F F₁ hF hF₁ r CF CF₁ hr hCF hCF₁ 0 hFb hF₁b) hfb n x | |
| 136 | - exact hb.trans (mul_le_mul_of_nonneg_right | |
| 137 | - (mul_le_mul_of_nonneg_right | |
| 138 | - (mul_le_mul_of_nonneg_left | |
| 139 | - (mul_le_mul_of_nonneg_right (primitive_norm_le_time (E := L2) T hT) hD0) (by norm_num)) hCf) | |
| 140 | - (majorant_nonneg r hr d n)) | |
| 141 | - | |
| 142 | 121 | end EulerMeanFixedCoefficientGevrey |
+0 −5 Euler/MeanFixedCoefficientRegularity.lean View file
| @@ -75,11 +75,6 @@ theorem contDiff_fixedMeanPrimitive (hF : ContDiff ℝ n F) (hF₁ : ContDiff | ||
| 75 | 75 | ContDiff ℝ n (fun p => fixedMeanPrimitive T hT (F p) (F₁ p)) := |
| 76 | 76 | contDiff_const.clm_comp (contDiff_fixedMeanDerivative T hT F F₁ hF hF₁) |
| 77 | 77 | |
| 78 | -/-- The actual initial-trace map inherits parameter regularity. -/ | |
| 79 | -theorem contDiff_fixedMeanTrace (hF : ContDiff ℝ n F) (hF₁ : ContDiff ℝ n F₁) : | |
| 80 | - ContDiff ℝ n (fun p => fixedMeanTrace T hT (F p) (F₁ p)) := | |
| 81 | - contDiff_const.clm_comp (contDiff_fixedMeanDerivative T hT F F₁ hF hF₁) | |
| 82 | - | |
| 83 | 78 | /-- The full mean form, including the nonlocal boundary term, is a genuinely |
| 84 | 79 | regular family whenever its actual coefficient paths are. -/ |
| 85 | 80 | theorem contDiff_fixedMeanOperator |
+0 −14 Euler/MeanFixedFrameTransport.lean View file
| @@ -55,20 +55,6 @@ theorem meanForward_backward | ||
| 55 | 55 | (solenoidalFrame_lower T FInv F hInv) (solenoidalFrame_hasDerivWithinAt T hT F F₁ hF) |
| 56 | 56 | (u : TimeLp T L2) (meanPrimitive_in_frame_range T hT FInv F hRight u) |
| 57 | 57 | |
| 58 | -/-- A genuine continuous linear equivalence to a coefficient-independent mean space. -/ | |
| 59 | -def meanTransportEquiv | |
| 60 | - (hRight : ∀ (t : Icc (0 : ℝ) T) (x : L2), F t (FInv t x) = x) : | |
| 61 | - TimeLp T solenoidalSpace ≃L[ℝ] meanDerivatives T hT FInv where | |
| 62 | - toLinearEquiv := | |
| 63 | - { toFun := meanTestMap T hT FInv F F₁ hF hInv | |
| 64 | - invFun := meanBackward T hT FInv F F₁ hInv | |
| 65 | - left_inv := meanBackward_forward T hT FInv F F₁ hInv hF | |
| 66 | - right_inv := meanForward_backward T hT FInv F F₁ hInv hF hRight | |
| 67 | - map_add' := map_add _ | |
| 68 | - map_smul' := map_smul _ } | |
| 69 | - continuous_toFun := (meanTestMap T hT FInv F F₁ hF hInv).continuous | |
| 70 | - continuous_invFun := (meanBackward T hT FInv F F₁ hInv).continuous | |
| 71 | - | |
| 72 | 58 | /-- Explicit polynomial transport cost for the mean fixed-space formulation. -/ |
| 73 | 59 | def meanTransportCost : ℝ := |
| 74 | 60 | transportCost T (solenoidalFrame T F) (solenoidalFrame T F₁) (meanFrameCoercivity T FInv) |
+0 −22 Euler/MeanFixedSpaceInverse.lean View file
| @@ -141,28 +141,6 @@ def fixedMeanSolver : TimeLp T L2 →L[ℝ] TimeLp T solenoidalSpace := | ||
| 141 | 141 | (fixedMeanInverse T hT F F₁ H M0 A L FInv hInv hF K B hK hB hFInv₀ hH hboundary hsmall).comp |
| 142 | 142 | (-(fixedMeanPrimitive T hT F F₁).adjoint) |
| 143 | 143 | |
| 144 | -/-- The fixed inverse has its actual quantitative coercive norm bound. -/ | |
| 145 | -theorem fixedMeanInverse_norm : | |
| 146 | - ‖fixedMeanInverse T hT F F₁ H M0 A L FInv hInv hF K B hK hB hFInv₀ hH hboundary hsmall‖ ≤ | |
| 147 | - (fixedMeanCoercivity T F F₁ FInv)⁻¹ := | |
| 148 | - coerciveInverse_norm_le (fixedMeanOperator T hT F F₁ H M0 A L) (fixedMeanCoercivity T F F₁ FInv) | |
| 149 | - (fixedMeanCoercivity_pos T hT F F₁ FInv) | |
| 150 | - (fixedMeanOperator_coercive T hT F F₁ H M0 A L FInv hInv hF K B hK hB hFInv₀ hH hboundary hsmall) | |
| 151 | - | |
| 152 | -/-- The constructed fixed-space solution satisfies the full original form. -/ | |
| 153 | -theorem fixedMeanSolver_weak (f : TimeLp T L2) (v : TimeLp T solenoidalSpace) : | |
| 154 | - let u := fixedMeanSolver T hT F F₁ H M0 A L FInv hInv hF K B hK hB hFInv₀ hH hboundary hsmall f | |
| 155 | - ⟪fixedMeanDerivative T hT F F₁ u, fixedMeanDerivative T hT F F₁ v⟫_ℝ- | |
| 156 | - ⟪timeMultiplier T hT H (fixedMeanPrimitive T hT F F₁ u), fixedMeanPrimitive T hT F F₁ v⟫_ℝ+ | |
| 157 | - ⟪(M0+L • A) (fixedMeanTrace T hT F F₁ u), fixedMeanTrace T hT F F₁ v⟫_ℝ = | |
| 158 | - -⟪f, fixedMeanPrimitive T hT F F₁ v⟫_ℝ := by | |
| 159 | - exact (fixedMeanOperator_inner T hT F F₁ H M0 A L | |
| 160 | - (fixedMeanSolver T hT F F₁ H M0 A L FInv hInv hF K B hK hB hFInv₀ hH hboundary hsmall f) v).symm.trans | |
| 161 | - (coercive_forcing_inner (fixedMeanOperator T hT F F₁ H M0 A L) | |
| 162 | - (fixedMeanPrimitive T hT F F₁) (fixedMeanCoercivity T F F₁ FInv) | |
| 163 | - (fixedMeanCoercivity_pos T hT F F₁ FInv) | |
| 164 | - (fixedMeanOperator_coercive T hT F F₁ H M0 A L FInv hInv hF K B hK hB hFInv₀ hH hboundary hsmall) f v) | |
| 165 | - | |
| 166 | 144 | /-- Uniqueness is on the same fixed Hilbert space. -/ |
| 167 | 145 | theorem fixedMeanSolver_unique (f : TimeLp T L2) (u : TimeLp T solenoidalSpace) |
| 168 | 146 | (hu : ∀ v : TimeLp T solenoidalSpace, |
+0 −16 Euler/MeanForcingTranslation.lean View file
| @@ -59,20 +59,4 @@ theorem forcing_translation_contDiff (T : ℝ) (A : ℝ → SmoothL2Field V) | ||
| 59 | 59 | rw [he] |
| 60 | 60 | exact (forcingFamily T A hA).contDiff_value |
| 61 | 61 | |
| 62 | -/-- The true time-space derivative norm is bounded by the original ordinary spatial jet norm, without extra factors. -/ | |
| 63 | -theorem forcing_translation_jet_bound (T : ℝ) (A : ℝ → SmoothL2Field V) | |
| 64 | - (hA : ∀ n, MemLp (fun t => (A t).jetLp n) 2 (timeMeasure T)) | |
| 65 | - (f : TimeLp T (L2Space V)) (hf : f =ᵐ[timeMeasure T] fun t => (A t).toLp) | |
| 66 | - (n : ℕ) (a : Space) : | |
| 67 | - ‖iteratedFDeriv ℝ n (fun b : Space => timeLiftIsometry T (translation b) f) a‖ ≤ | |
| 68 | - ‖(hA n).toLp (fun t => (A t).jetLp n)‖ := by | |
| 69 | - have he : (fun b : Space => timeLiftIsometry T (translation b) f) = (forcingFamily T A hA).value := | |
| 70 | - funext (fun b => (forcingFamily_value_eq T A hA f hf b).symm) | |
| 71 | - have h := (forcingFamily T A hA).norm_iteratedFDeriv_value_le n a | |
| 72 | - have hn : ‖(forcingFamily T A hA).bound n‖ = ‖(hA n).toLp (fun t => (A t).jetLp n)‖ := by | |
| 73 | - change ‖(hA n).norm.toLp (fun t => ‖(A t).jetLp n‖)‖ = _ | |
| 74 | - simp only [Lp.norm_toLp, eLpNorm_norm] | |
| 75 | - exact (congrArg (fun g : Space → TimeLp T (L2Space V) => | |
| 76 | - ‖iteratedFDeriv ℝ n g a‖) he).trans_le (h.trans_eq hn) | |
| 77 | - | |
| 78 | 62 | end EulerMeanForcing |
+0 −30 Euler/MeanFormGevrey.lean View file
| @@ -78,13 +78,6 @@ theorem meanOperator_bound (hH : ContDiff ℝ ∞ H) (hC : ContDiff ℝ ∞ C) | ||
| 78 | 78 | |
| 79 | 79 | variable (D : P → V →L[ℝ] W) |
| 80 | 80 | |
| 81 | -/-- Pullback by the genuine coordinate derivative preserves coefficient regularity. -/ | |
| 82 | -theorem pullbackMeanOperator_contDiff {n : ℕ∞ω} | |
| 83 | - (hD : ContDiff ℝ n D) (hH : ContDiff ℝ n H) (hC : ContDiff ℝ n C) : | |
| 84 | - ContDiff ℝ n (fun p => transportedOperator (D p) (meanOperator J R (H p) (C p))) := | |
| 85 | - ((realAdjoint (U := V) (E := W)).contDiff.comp hD).clm_comp | |
| 86 | - ((meanOperator_contDiff J R H C hH hC).clm_comp hD) | |
| 87 | - | |
| 88 | 81 | /-- The full actual fixed-space mean operator obeys a polynomial factorial bound. -/ |
| 89 | 82 | theorem pullbackMeanOperator_bound |
| 90 | 83 | (hD : ContDiff ℝ ∞ D) (hH : ContDiff ℝ ∞ H) (hC : ContDiff ℝ ∞ C) |
| @@ -115,27 +108,4 @@ theorem pullbackMeanOperator_bound | ||
| 115 | 108 | simpa only [transportedOperator, Nat.zero_add] using h |
| 116 | 109 | _ = _ := by ring |
| 117 | 110 | |
| 118 | -/-- The genuine forcing pullback has the matching factorial shift. -/ | |
| 119 | -theorem pullbackMeanForcing_bound (f : P → W) (hD : ContDiff ℝ ∞ D) (hf : ContDiff ℝ ∞ f) | |
| 120 | - (r CD CF : ℝ) (hr : 0 ≤ r) (hCD : 0 ≤ CD) (hCF : 0 ≤ CF) (d : ℕ) | |
| 121 | - (hDb : ∀ n x, ‖iteratedFDeriv ℝ n D x‖ ≤ CD * majorant r 0 n) | |
| 122 | - (hfb : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ CF * majorant r d n) | |
| 123 | - (n : ℕ) (x : P) : | |
| 124 | - ‖iteratedFDeriv ℝ n (fun p => -((J.comp (D p)).adjoint (f p))) x‖ ≤ | |
| 125 | - (3*(‖J‖*CD)*CF) * majorant r d n := by | |
| 126 | - have hK : ContDiff ℝ ∞ (fun p => J.comp (D p)) := | |
| 127 | - (show ContDiff ℝ ∞ (fun _ : P => J) from contDiff_const).clm_comp hD | |
| 128 | - have hKb := clm_comp_const_left_bound J D hD r CD hr hCD 0 hDb | |
| 129 | - have hKa := (realAdjoint (U := V) (E := W)).contDiff.comp hK | |
| 130 | - have hKab := adjoint_bound (fun p => J.comp (D p)) hK r (‖J‖*CD) hr | |
| 131 | - (mul_nonneg (norm_nonneg _) hCD) 0 hKb | |
| 132 | - have happ : ∀ k y, | |
| 133 | - ‖iteratedFDeriv ℝ k (fun p => (J.comp (D p)).adjoint (f p)) y‖ ≤ | |
| 134 | - (3*(‖J‖*CD)*CF) * majorant r d k := by | |
| 135 | - intro k y | |
| 136 | - simpa only [Nat.zero_add] using clm_apply_bound | |
| 137 | - (fun p => (J.comp (D p)).adjoint) f hKa hf r (‖J‖*CD) CF hr | |
| 138 | - (mul_nonneg (norm_nonneg _) hCD) hCF 0 d hKab hfb k y | |
| 139 | - exact neg_bound (fun p => (J.comp (D p)).adjoint (f p)) r (3*(‖J‖*CD)*CF) d happ n x | |
| 140 | - | |
| 141 | 111 | end EulerMeanFormGevrey |
+0 −22 Euler/MeanHarmonicDecomposition.lean View file
| @@ -69,20 +69,6 @@ theorem cutoff_curlTest_eq (χ : Cutoff) (U : Set Space) | ||
| 69 | 69 | change χ.field x • vectorCurl (f : Space → Space) x = _ |
| 70 | 70 | rw [image_eq_zero_of_notMem_tsupport hs, smul_zero] |
| 71 | 71 | |
| 72 | -/-- The actual curl tensor of any homogeneous potential remains solenoidal. -/ | |
| 73 | -theorem homogeneous_curl_solenoidal (u : homogeneousSpace) : | |
| 74 | - curlTensor (u : GradientTensor) ∈ solenoidalSpace := by | |
| 75 | - refine homogeneousGradient_dense.induction_on u ?_ ?_ | |
| 76 | - · exact gradientSpace.isClosed_orthogonal.preimage | |
| 77 | - (curlTensor.continuous.comp continuous_subtype_val) | |
| 78 | - · intro f | |
| 79 | - change curlTensor (EulerMeanGradientTest.testGradient f) ∈ solenoidalSpace | |
| 80 | - rw [curlTensor_test_eq] | |
| 81 | - exact curl_mem_solenoidal _ ((contDiff_piLp 2).mp f.smooth) (test_memLp (curlTest f)) | |
| 82 | - | |
| 83 | -theorem harmonicPart_solenoidal (χ : Cutoff) (z : L2) : | |
| 84 | - harmonicPart χ z ∈ solenoidalSpace := homogeneous_curl_solenoidal (weakPotential χ z) | |
| 85 | - | |
| 86 | 72 | /-- The source's `z - w` is genuinely weakly harmonic where the actual cutoff equals one. -/ |
| 87 | 73 | theorem weakHarmonicOn_sub_harmonicPart (χ : Cutoff) (U : Set Space) (z : L2) |
| 88 | 74 | (hz : z ∈ solenoidalSpace) (hχ : ∀ x ∈ U, χ.field x = 1) : |
| @@ -102,12 +88,4 @@ theorem weakHarmonicOn_sub_harmonicPart (χ : Cutoff) (U : Set Space) (z : L2) | ||
| 102 | 88 | linarith |
| 103 | 89 | exact (l2_test_pairing (z - harmonicPart χ z) (laplacianTest f)).symm.trans hi |
| 104 | 90 | |
| 105 | -/-- A quantitative decomposition constructed from the cutoff and the given solenoidal field. -/ | |
| 106 | -theorem exists_weak_harmonic_decomposition (χ : Cutoff) (U : Set Space) (z : L2) | |
| 107 | - (hz : z ∈ solenoidalSpace) (hχ : ∀ x ∈ U, χ.field x = 1) : | |
| 108 | - ∃ w : L2, w = harmonicPart χ z ∧ w ∈ solenoidalSpace ∧ | |
| 109 | - ‖w‖ ≤ 6 * ‖weakPotential χ z‖ ∧ WeakHarmonicOn U (z - w) := | |
| 110 | - ⟨harmonicPart χ z, rfl, harmonicPart_solenoidal χ z, harmonicPart_norm_le χ z, | |
| 111 | - weakHarmonicOn_sub_harmonicPart χ U z hz hχ⟩ | |
| 112 | - | |
| 113 | 91 | end EulerMeanHarmonic |
+0 −8 Euler/MeanHarmonicDerivatives.lean View file
| @@ -58,12 +58,4 @@ theorem wordDerivative_smooth (word : List (Fin 3)) (f : Space → ℝ) | ||
| 58 | 58 | | nil => exact hf |
| 59 | 59 | | cons i word ih => exact contDiff_partialDerivative _ ih i |
| 60 | 60 | |
| 61 | -theorem wordDerivative_harmonic_on (word : List (Fin 3)) (f : Space → ℝ) | |
| 62 | - (hf : ContDiff ℝ ∞ f) (U : Set Space) (hU : IsOpen U) | |
| 63 | - (hh : ∀ x ∈ U, Δ f x = 0) : ∀ x ∈ U, Δ (wordDerivative word f) x = 0 := by | |
| 64 | - induction word with | |
| 65 | - | nil => exact hh | |
| 66 | - | cons i word ih => | |
| 67 | - exact partialDerivative_harmonic_on _ (wordDerivative_smooth word f hf) U hU ih i | |
| 68 | - | |
| 69 | 61 | end EulerMeanHarmonic |
+0 −4 Euler/MeanHarmonicInterior.lean View file
| @@ -41,10 +41,6 @@ def harmonicInteriorConstant : ℝ := | ||
| 41 | 41 | embeddingConstant 3 2 (by norm_num) * |
| 42 | 42 | (1 + (2 * Real.pi) ^ (-2 : ℤ) * (3 * Real.sqrt interiorSecondEnergyConstant)) |
| 43 | 43 | |
| 44 | -theorem harmonicInteriorConstant_nonneg : 0 ≤ harmonicInteriorConstant := by | |
| 45 | - unfold harmonicInteriorConstant embeddingConstant | |
| 46 | - positivity | |
| 47 | - | |
| 48 | 44 | /-- A genuine L²-to-pointwise interior estimate on the unit ball in R³. -/ |
| 49 | 45 | theorem harmonic_pointwise_halfBall (h : Space → ℝ) (hh : ContDiff ℝ ∞ h) |
| 50 | 46 | (hLp : MemLp h 2 volume) (hharmonic : ∀ x ∈ Metric.ball 0 (1 : ℝ), Δ h x = 0) |
+0 −8 Euler/MeanHarmonicInteriorEnergy.lean View file
| @@ -14,14 +14,6 @@ def middleDerivativeBound : ℝ := derivativeBound middleCutoff middle_compact m | ||
| 14 | 14 | def innerDerivativeBound : ℝ := derivativeBound innerCutoff inner_compact inner_smooth 1 |
| 15 | 15 | def innerSecondBound : ℝ := derivativeBound innerCutoff inner_compact inner_smooth 2 |
| 16 | 16 | |
| 17 | -theorem outer_bound_nonneg : 0 ≤ outerDerivativeBound := | |
| 18 | - le_trans (by norm_num) (one_le_derivativeBound _ _ _ _) | |
| 19 | -theorem middle_bound_nonneg : 0 ≤ middleDerivativeBound := | |
| 20 | - le_trans (by norm_num) (one_le_derivativeBound _ _ _ _) | |
| 21 | -theorem inner_bound_nonneg : 0 ≤ innerDerivativeBound := | |
| 22 | - le_trans (by norm_num) (one_le_derivativeBound _ _ _ _) | |
| 23 | -theorem inner_second_nonneg : 0 ≤ innerSecondBound := | |
| 24 | - le_trans (by norm_num) (one_le_derivativeBound _ _ _ _) | |
| 25 | 17 | |
| 26 | 18 | theorem outer_gradient_energy_le (h : Space → ℝ) (hh : ContDiff ℝ ∞ h) |
| 27 | 19 | (hLp : MemLp h 2 volume) (hharmonic : ∀ x ∈ Metric.ball 0 (1 : ℝ), Δ h x = 0) : |
+0 −36 Euler/MeanHarmonicSmallBall.lean View file
| @@ -10,45 +10,9 @@ namespace EulerMeanHarmonic | ||
| 10 | 10 | open MeasureTheory InnerProductSpace Laplacian EulerSmoothLimit |
| 11 | 11 | open scoped ContDiff |
| 12 | 12 | |
| 13 | -def harmonicSmallBallConstant : ℝ := | |
| 14 | - (Real.pi * 4 / 3) * harmonicInteriorConstant ^ 2 | |
| 15 | - | |
| 16 | -theorem harmonicSmallBallConstant_nonneg : 0 ≤ harmonicSmallBallConstant := by | |
| 17 | - unfold harmonicSmallBallConstant | |
| 18 | - positivity | |
| 19 | - | |
| 20 | 13 | theorem volume_ball_toReal (r : ℝ) (hr : 0 ≤ r) : |
| 21 | 14 | (volume (Metric.ball (0 : Space) r)).toReal = r ^ 3 * (Real.pi * 4 / 3) := by |
| 22 | 15 | rw [EuclideanSpace.volume_ball_fin_three, ENNReal.toReal_mul, ENNReal.toReal_pow, |
| 23 | 16 | ENNReal.toReal_ofReal hr, ENNReal.toReal_ofReal (by positivity)] |
| 24 | 17 | |
| 25 | -/-- The mass on a ball of radius r is bounded by r³ times the global L² mass. -/ | |
| 26 | -theorem harmonic_smallBall_energy (h : Space → ℝ) (hh : ContDiff ℝ ∞ h) | |
| 27 | - (hLp : MemLp h 2 volume) (hharmonic : ∀ x ∈ Metric.ball 0 (1 : ℝ), Δ h x = 0) | |
| 28 | - (r : ℝ) (hr : 0 ≤ r) (hrhalf : r ≤ 1/2) : | |
| 29 | - (∫ x in Metric.ball (0 : Space) r, h x ^ 2) ≤ | |
| 30 | - harmonicSmallBallConstant * r ^ 3 * lpNorm h 2 volume ^ 2 := by | |
| 31 | - have hi : Integrable (fun x => h x ^ 2) volume := | |
| 32 | - (memLp_two_iff_integrable_sq hLp.aestronglyMeasurable).1 hLp | |
| 33 | - have hbound : ∀ x ∈ Metric.ball (0 : Space) r, | |
| 34 | - h x ^ 2 ≤ (harmonicInteriorConstant * lpNorm h 2 volume) ^ 2 := by | |
| 35 | - intro x hx | |
| 36 | - have hx' : x ∈ Metric.closedBall (0 : Space) (1/2 : ℝ) := | |
| 37 | - (Metric.ball_subset_closedBall.trans (Metric.closedBall_subset_closedBall hrhalf)) hx | |
| 38 | - have H := harmonic_pointwise_halfBall h hh hLp hharmonic x hx' | |
| 39 | - calc | |
| 40 | - h x ^ 2 = |h x| ^ 2 := (sq_abs _).symm | |
| 41 | - _ ≤ _ := pow_le_pow_left₀ (abs_nonneg _) H 2 | |
| 42 | - calc | |
| 43 | - _ ≤ ∫ _x in Metric.ball (0 : Space) r, | |
| 44 | - (harmonicInteriorConstant * lpNorm h 2 volume) ^ 2 := by | |
| 45 | - apply setIntegral_mono_on hi.integrableOn (integrableOn_const (measure_ball_lt_top.ne)) | |
| 46 | - Metric.isOpen_ball.measurableSet hbound | |
| 47 | - _ = _ := by | |
| 48 | - rw [setIntegral_const, smul_eq_mul] | |
| 49 | - change (volume (Metric.ball (0 : Space) r)).toReal * _ = _ | |
| 50 | - rw [volume_ball_toReal r hr] | |
| 51 | - unfold harmonicSmallBallConstant | |
| 52 | - ring | |
| 53 | - | |
| 54 | 18 | end EulerMeanHarmonic |
+0 −11 Euler/MeanInteriorCutoffs.lean View file
| @@ -17,9 +17,6 @@ def derivativeBound (f : Space → ℝ) (hc : HasCompactSupport f) | ||
| 17 | 17 | (hs : ContDiff ℝ ∞ f) (n : ℕ) : ℝ := |
| 18 | 18 | max 1 (Classical.choose (derivative_bound_exists f hc hs n)) |
| 19 | 19 | |
| 20 | -theorem one_le_derivativeBound (f : Space → ℝ) (hc : HasCompactSupport f) | |
| 21 | - (hs : ContDiff ℝ ∞ f) (n : ℕ) : 1 ≤ derivativeBound f hc hs n := le_max_left _ _ | |
| 22 | - | |
| 23 | 20 | theorem norm_iteratedFDeriv_le_derivativeBound (f : Space → ℝ) (hc : HasCompactSupport f) |
| 24 | 21 | (hs : ContDiff ℝ ∞ f) (n : ℕ) (x : Space) : |
| 25 | 22 | ‖iteratedFDeriv ℝ n f x‖ ≤ derivativeBound f hc hs n := |
| @@ -67,14 +64,6 @@ theorem abs_inner_le_one (x : Space) : |innerCutoff x| ≤ 1 := by | ||
| 67 | 64 | change |innerBump x| ≤ 1 |
| 68 | 65 | rw [abs_of_nonneg innerBump.nonneg] |
| 69 | 66 | exact innerBump.le_one |
| 70 | -theorem abs_middle_le_one (x : Space) : |middleCutoff x| ≤ 1 := by | |
| 71 | - change |middleBump x| ≤ 1 | |
| 72 | - rw [abs_of_nonneg middleBump.nonneg] | |
| 73 | - exact middleBump.le_one | |
| 74 | -theorem abs_outer_le_one (x : Space) : |outerCutoff x| ≤ 1 := by | |
| 75 | - change |outerBump x| ≤ 1 | |
| 76 | - rw [abs_of_nonneg outerBump.nonneg] | |
| 77 | - exact outerBump.le_one | |
| 78 | 67 | |
| 79 | 68 | theorem inner_one_on_halfBall {x : Space} (hx : x ∈ Metric.closedBall 0 (1/2 : ℝ)) : |
| 80 | 69 | innerCutoff x = 1 := innerBump.one_of_mem_closedBall hx |
+0 −3 Euler/MeanLocalL2Energy.lean View file
| @@ -19,9 +19,6 @@ theorem integrable_norm_sq_L2 (u : L2) : Integrable (fun x => ‖u x‖ ^ 2) vol | ||
| 19 | 19 | theorem integral_norm_sq_L2 (u : L2) : (∫ x, ‖u x‖ ^ 2) = ‖u‖ ^ 2 := by |
| 20 | 20 | rw [← lpNorm_sq_eq_integral_norm_sq _ (Lp.memLp u), lpNorm_coe_L2] |
| 21 | 21 | |
| 22 | -theorem localL2Energy_nonneg (s : Set Space) (u : L2) : 0 ≤ localL2Energy s u := | |
| 23 | - integral_nonneg (fun _ => sq_nonneg _) | |
| 24 | - | |
| 25 | 22 | theorem localL2Energy_le (s : Set Space) (u : L2) : localL2Energy s u ≤ ‖u‖ ^ 2 := by |
| 26 | 23 | rw [← integral_norm_sq_L2] |
| 27 | 24 | exact setIntegral_le_integral (integrable_norm_sq_L2 u) |
+0 −25 Euler/MeanMomentumBoundary.lean View file
| @@ -109,29 +109,4 @@ theorem meanMomentum_with_initial | ||
| 109 | 109 | (meanBoundaryFlux T hT FInv F M0 A L u) |
| 110 | 110 | (meanMomentum_full_weak T hT FInv F F' hF hInv H M0 A L u f hu) |
| 111 | 111 | |
| 112 | -/-- The constructed mean inverse therefore has the genuine derived initial | |
| 113 | -momentum trace, before cancellation with the initial deformation derivative. -/ | |
| 114 | -theorem meanSolver_momentum_with_initial | |
| 115 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 116 | - HasDerivWithinAt (extendPath T hT F) (F' t) (Icc (0 : ℝ) T) t) | |
| 117 | - (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) | |
| 118 | - (H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) | |
| 119 | - (L K B : ℝ) (hK : 0 ≤ K) (hB : 0 ≤ B) | |
| 120 | - (hF0 : FInv ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) | |
| 121 | - (hH : ∀ t z, ⟪H t z, z⟫_ℝ ≤ K*‖z‖^2) | |
| 122 | - (hboundary : ∀ z : L2, z ∈ solenoidalSpace → | |
| 123 | - -B*‖z‖^2 ≤ ⟪M0 z, z⟫_ℝ+L*⟪A z, z⟫_ℝ) | |
| 124 | - (hsmall : K*(T^2/2)+B*T ≤ 1/2) (f : TimeLp T L2) : | |
| 125 | - let u := meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f | |
| 126 | - ∃ p : ℝ → solenoidalSpace, AbsolutelyContinuousOnInterval p 0 T ∧ | |
| 127 | - p 0 = meanBoundaryFlux T hT FInv F M0 A L u ∧ | |
| 128 | - (momentum T hT (solenoidalFrame T F) (u : TimeLp T L2) : ℝ → solenoidalSpace) | |
| 129 | - =ᵐ[timeMeasure T] p ∧ | |
| 130 | - ∀ᵐ t ∂timeMeasure T, | |
| 131 | - HasDerivAt p (momentumForcing T hT (solenoidalFrame T F) (solenoidalFrame T F') | |
| 132 | - H (u : TimeLp T L2) f t) t := | |
| 133 | - meanMomentum_with_initial T hT FInv F F' hF hInv H M0 A L | |
| 134 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f) f | |
| 135 | - (meanSolver_weak T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f) | |
| 136 | - | |
| 137 | 112 | end EulerMeanVariationalInverse |
+0 −87 Euler/MeanMomentumRegularity.lean View file
| @@ -33,91 +33,4 @@ theorem solenoidalFrame_adjoint (t : Icc (0 : ℝ) T) : | ||
| 33 | 33 | _ = _ := congrArg (fun A : L2 →L[ℝ] solenoidalSpace => A.comp (F t).adjoint) |
| 34 | 34 | (Submodule.adjoint_subtypeL solenoidalSpace) |
| 35 | 35 | |
| 36 | -/-- Thus the momentum's actual representative is `Pσ F* u`, with ordinary | |
| 37 | -spatial L² projection and no abstract replacement of the solenoidal space. -/ | |
| 38 | -theorem meanMomentum_ae (u : TimeLp T L2) : | |
| 39 | - (fun t => ((momentum T hT (solenoidalFrame T F) u t : solenoidalSpace) : L2)) | |
| 40 | - =ᵐ[timeMeasure T] | |
| 41 | - fun t => solenoidalProjection ((extendPath T hT F t).adjoint (u t)) := by | |
| 42 | - filter_upwards [momentum_ae T hT (solenoidalFrame T F) u] with t ht | |
| 43 | - rw [ht] | |
| 44 | - change (((solenoidalFrame T F (projIcc 0 T hT t)).adjoint (u t) : solenoidalSpace) : L2) = _ | |
| 45 | - exact congrArg (fun A : L2 →L[ℝ] solenoidalSpace => (A (u t) : L2)) | |
| 46 | - (solenoidalFrame_adjoint T F (projIcc 0 T hT t)) | |
| 47 | - | |
| 48 | -/-- The exact mean variational identity determines the weak derivative of its | |
| 49 | -actual projected momentum after the trace-zero test restriction. -/ | |
| 50 | -theorem meanMomentum_weak | |
| 51 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 52 | - HasDerivWithinAt (extendPath T hT F) (F' t) (Icc (0 : ℝ) T) t) | |
| 53 | - (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) | |
| 54 | - (H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) (L : ℝ) | |
| 55 | - (u : meanDerivatives T hT FInv) (f : TimeLp T L2) | |
| 56 | - (hu : ∀ w : meanDerivatives T hT FInv, | |
| 57 | - ⟪(u : TimeLp T L2), (w : TimeLp T L2)⟫_ℝ- | |
| 58 | - ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv w⟫_ℝ+ | |
| 59 | - ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv w⟫_ℝ+ | |
| 60 | - L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv w⟫_ℝ = | |
| 61 | - -⟪f, meanPrimitive T hT FInv w⟫_ℝ) | |
| 62 | - (v : TimeLp T solenoidalSpace) (hv : initialTrace T hT v = 0) : | |
| 63 | - ⟪momentum T hT (solenoidalFrame T F) (u : TimeLp T L2), v⟫_ℝ = | |
| 64 | - -⟪momentumForcing T hT (solenoidalFrame T F) (solenoidalFrame T F') H | |
| 65 | - (u : TimeLp T L2) f, primitiveTimeLp T hT v⟫_ℝ := by | |
| 66 | - apply momentum_weak_of_product_tests T hT (solenoidalFrame T F) (solenoidalFrame T F') | |
| 67 | - (solenoidalFrame_hasDerivWithinAt T hT F F' hF) H (u : TimeLp T L2) f v | |
| 68 | - have h := hu (meanTestMap T hT FInv F F' hF hInv v) | |
| 69 | - simpa only [meanTestMap_trace_zero T hT FInv F F' hF hInv v hv, | |
| 70 | - inner_zero_right, mul_zero, add_zero, meanPrimitive, comp_apply, | |
| 71 | - Submodule.subtypeL_apply, meanTestMap_coe] using h | |
| 72 | - | |
| 73 | -/-- An actual weak mean solution has an AC momentum representative with the | |
| 74 | -explicit Bochner L² derivative forced by the variational identity. -/ | |
| 75 | -theorem meanMomentum_ac (hTpos : 0 < T) | |
| 76 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 77 | - HasDerivWithinAt (extendPath T hT F) (F' t) (Icc (0 : ℝ) T) t) | |
| 78 | - (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) | |
| 79 | - (H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) (L : ℝ) | |
| 80 | - (u : meanDerivatives T hT FInv) (f : TimeLp T L2) | |
| 81 | - (hu : ∀ w : meanDerivatives T hT FInv, | |
| 82 | - ⟪(u : TimeLp T L2), (w : TimeLp T L2)⟫_ℝ- | |
| 83 | - ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv w⟫_ℝ+ | |
| 84 | - ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv w⟫_ℝ+ | |
| 85 | - L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv w⟫_ℝ = | |
| 86 | - -⟪f, meanPrimitive T hT FInv w⟫_ℝ) : | |
| 87 | - ∃ p : ℝ → solenoidalSpace, | |
| 88 | - AbsolutelyContinuousOnInterval p 0 T ∧ | |
| 89 | - (momentum T hT (solenoidalFrame T F) (u : TimeLp T L2) : ℝ → solenoidalSpace) | |
| 90 | - =ᵐ[timeMeasure T] p ∧ | |
| 91 | - ∀ᵐ t ∂timeMeasure T, | |
| 92 | - HasDerivAt p (momentumForcing T hT (solenoidalFrame T F) (solenoidalFrame T F') | |
| 93 | - H (u : TimeLp T L2) f t) t := by | |
| 94 | - apply exists_ac_representative_of_weak T hTpos | |
| 95 | - intro v hv | |
| 96 | - exact meanMomentum_weak T hT FInv F F' hF hInv H M0 A L u f hu v hv | |
| 97 | - | |
| 98 | -/-- In particular the already constructed mean variational inverse has genuine | |
| 99 | -projected momentum regularity. The coefficient/boundary lower bounds are used | |
| 100 | -only by that solve; no regularity of the answer is assumed. -/ | |
| 101 | -theorem meanSolver_momentum_ac (hTpos : 0 < T) | |
| 102 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 103 | - HasDerivWithinAt (extendPath T hT F) (F' t) (Icc (0 : ℝ) T) t) | |
| 104 | - (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) | |
| 105 | - (H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) | |
| 106 | - (L K B : ℝ) (hK : 0 ≤ K) (hB : 0 ≤ B) | |
| 107 | - (hF0 : FInv ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) | |
| 108 | - (hH : ∀ t z, ⟪H t z, z⟫_ℝ ≤ K*‖z‖^2) | |
| 109 | - (hboundary : ∀ z : L2, z ∈ solenoidalSpace → | |
| 110 | - -B*‖z‖^2 ≤ ⟪M0 z, z⟫_ℝ+L*⟪A z, z⟫_ℝ) | |
| 111 | - (hsmall : K*(T^2/2)+B*T ≤ 1/2) (f : TimeLp T L2) : | |
| 112 | - let u : TimeLp T L2 := | |
| 113 | - meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f | |
| 114 | - ∃ p : ℝ → solenoidalSpace, | |
| 115 | - AbsolutelyContinuousOnInterval p 0 T ∧ | |
| 116 | - (momentum T hT (solenoidalFrame T F) u : ℝ → solenoidalSpace) =ᵐ[timeMeasure T] p ∧ | |
| 117 | - ∀ᵐ t ∂timeMeasure T, | |
| 118 | - HasDerivAt p (momentumForcing T hT (solenoidalFrame T F) (solenoidalFrame T F') H u f t) t := | |
| 119 | - meanMomentum_ac T hT FInv F F' hTpos hF hInv H M0 A L | |
| 120 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f) f | |
| 121 | - (meanSolver_weak T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f) | |
| 122 | - | |
| 123 | 36 | end EulerMeanVariationalInverse |
+0 −39 Euler/MeanOperatorTranslation.lean View file
| @@ -36,39 +36,6 @@ theorem translateOperator_translation (a : Space) (A : L2 →L[ℝ] L2) (u : L2) | ||
| 36 | 36 | intro u |
| 37 | 37 | simp only [translateOperator_apply, neg_zero, translation_zero] |
| 38 | 38 | |
| 39 | -theorem translateOperator_add (a : Space) (A B : L2 →L[ℝ] L2) : | |
| 40 | - translateOperator a (A+B) = translateOperator a A + translateOperator a B := by | |
| 41 | - apply ContinuousLinearMap.ext | |
| 42 | - intro u | |
| 43 | - simp only [translateOperator_apply, add_apply, map_add] | |
| 44 | - | |
| 45 | -theorem translateOperator_smul (a : Space) (c : ℝ) (A : L2 →L[ℝ] L2) : | |
| 46 | - translateOperator a (c • A) = c • translateOperator a A := by | |
| 47 | - apply ContinuousLinearMap.ext | |
| 48 | - intro u | |
| 49 | - simp only [translateOperator_apply, smul_apply, map_smul] | |
| 50 | - | |
| 51 | -theorem translateOperator_neg_cancel (a : Space) (A : L2 →L[ℝ] L2) : | |
| 52 | - translateOperator (-a) (translateOperator a A) = A := by | |
| 53 | - apply ContinuousLinearMap.ext | |
| 54 | - intro u | |
| 55 | - simp only [translateOperator_apply, neg_neg, translation_add, neg_add_cancel, translation_zero] | |
| 56 | - | |
| 57 | -theorem translateOperator_norm_le (a : Space) (A : L2 →L[ℝ] L2) : | |
| 58 | - ‖translateOperator a A‖ ≤ ‖A‖ := by | |
| 59 | - apply opNorm_le_bound _ (norm_nonneg _) | |
| 60 | - intro u | |
| 61 | - calc | |
| 62 | - ‖translateOperator a A u‖ = ‖A (translation (-a) u)‖ := (translation a).norm_map _ | |
| 63 | - _ ≤ ‖A‖*‖translation (-a) u‖ := A.le_opNorm _ | |
| 64 | - _ = ‖A‖*‖u‖ := by rw [(translation (-a)).norm_map] | |
| 65 | - | |
| 66 | -theorem translateOperator_norm (a : Space) (A : L2 →L[ℝ] L2) : | |
| 67 | - ‖translateOperator a A‖ = ‖A‖ := by | |
| 68 | - apply le_antisymm (translateOperator_norm_le a A) | |
| 69 | - have h := translateOperator_norm_le (-a) (translateOperator a A) | |
| 70 | - simpa only [translateOperator_neg_cancel] using h | |
| 71 | - | |
| 72 | 39 | /-- Translate the spatial operator at every time in the coefficient path. -/ |
| 73 | 40 | def translatePath (T : ℝ) (a : Space) (F : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) : |
| 74 | 41 | C(Icc (0 : ℝ) T, L2 →L[ℝ] L2) := |
| @@ -79,12 +46,6 @@ def translatePath (T : ℝ) (a : Space) (F : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2) | ||
| 79 | 46 | (F : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (t : Icc (0 : ℝ) T) : |
| 80 | 47 | translatePath T a F t = translateOperator a (F t) := rfl |
| 81 | 48 | |
| 82 | -theorem translatePath_norm_le (T : ℝ) (a : Space) | |
| 83 | - (F : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) : ‖translatePath T a F‖ ≤ ‖F‖ := by | |
| 84 | - apply (ContinuousMap.norm_le (translatePath T a F) (norm_nonneg F)).2 | |
| 85 | - intro t | |
| 86 | - exact (translateOperator_norm_le a (F t)).trans (F.norm_coe_le_norm t) | |
| 87 | - | |
| 88 | 49 | /-- Translation commutes with the genuine time multiplier. -/ |
| 89 | 50 | theorem timeMultiplier_translate (T : ℝ) (hT : 0 ≤ T) (a : Space) |
| 90 | 51 | (F : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (u : TimeLp T L2) : |
+0 −22 Euler/MeanPacketConstraints.lean View file
| @@ -77,14 +77,6 @@ theorem inverse_vector_divergence (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) | ||
| 77 | 77 | exact representative_divergence (G.coordinateOrdinaryPath t) (G.solution.velocity t).property |
| 78 | 78 | (pathTranslation_evaluation_contDiff D.T G.coordinateOrdinaryPath G.coordinateOrdinaryPath_orbit t) x |
| 79 | 79 | |
| 80 | -theorem inverse_vector_smooth (t : Icc (0 : ℝ) D.T) (θ : ℝ) : | |
| 81 | - ContDiff ℝ ∞ (fun y => D.inverseFrame (t,(y,θ)) (G.vector (t,(y,θ)))) := by | |
| 82 | - have he : (fun y => D.inverseFrame (t,(y,θ)) (G.vector (t,(y,θ)))) = | |
| 83 | - pathRepresentative D.T G.coordinateOrdinaryPath G.coordinateOrdinaryPath_orbit t := | |
| 84 | - funext (fun y => G.inverse_vector_eq_coordinate t y θ) | |
| 85 | - rw [he] | |
| 86 | - exact pathRepresentative_smooth D.T G.coordinateOrdinaryPath G.coordinateOrdinaryPath_orbit t | |
| 87 | - | |
| 88 | 80 | /-- The initial raw velocity is the actual localized boundary value. -/ |
| 89 | 81 | theorem initial_vector_ae (θ : ℝ) : |
| 90 | 82 | (fun x => G.vector (0,(x,θ))) =ᵐ[volume] |
| @@ -107,18 +99,4 @@ theorem initial_vector_support (θ : ℝ) : | ||
| 107 | 99 | ((G.vector_spatial_smooth 0).continuous.comp (continuous_id.prodMk continuous_const)) |
| 108 | 100 | (G.initial_vector_ae θ) |
| 109 | 101 | |
| 110 | -theorem initial_vector_compact (θ : ℝ) : HasCompactSupport (fun x => G.vector (0,(x,θ))) := | |
| 111 | - scaledBoundary_continuous_compact D.ℓ D.ℓ_pos D.L (G.solution.label 0 : L2) | |
| 112 | - (fun x => G.vector (0,(x,θ))) | |
| 113 | - ((G.vector_spatial_smooth 0).continuous.comp (continuous_id.prodMk continuous_const)) | |
| 114 | - (G.initial_vector_ae θ) | |
| 115 | - | |
| 116 | -/-- The time-space representative is jointly continuous on the actual interval. -/ | |
| 117 | -theorem vector_joint_continuous : | |
| 118 | - Continuous (fun z : Icc (0 : ℝ) D.T × (Space × ℝ) => G.vector (z.1,z.2)) := by | |
| 119 | - have hmap : Continuous (fun z : Icc (0 : ℝ) D.T × (Space × ℝ) => (z.1,z.2.1)) := | |
| 120 | - continuous_fst.prodMk (continuous_fst.comp continuous_snd) | |
| 121 | - have hc := (pathRepresentative_continuous D.T G.velocityPath G.velocityPath_orbit).comp hmap | |
| 122 | - simpa only [vector, Data.clamp_coe, Function.comp_def] using hc | |
| 123 | - | |
| 124 | 102 | end EulerMeanPacketProvider.Forcing |
+0 −16 Euler/MeanPacketContract.lean View file
| @@ -30,20 +30,4 @@ theorem meanSolve_initial_support (θ : ℝ) : | ||
| 30 | 30 | rw [meanSolve_of_admissible D raw h] |
| 31 | 31 | exact (Classical.choice h).initial_vector_support θ |
| 32 | 32 | |
| 33 | -theorem meanSolve_initial_compact (θ : ℝ) : | |
| 34 | - HasCompactSupport (fun x => (meanSolve D raw).1 (0,(x,θ))) := by | |
| 35 | - rw [meanSolve_of_admissible D raw h] | |
| 36 | - exact (Classical.choice h).initial_vector_compact θ | |
| 37 | - | |
| 38 | -theorem meanSolve_joint_continuous : | |
| 39 | - Continuous (fun z : Icc (0 : ℝ) D.T × (Space × ℝ) => (meanSolve D raw).1 (z.1,z.2)) := by | |
| 40 | - rw [meanSolve_of_admissible D raw h] | |
| 41 | - exact (Classical.choice h).vector_joint_continuous | |
| 42 | - | |
| 43 | -theorem meanSolve_angle_jets (t : ℝ) (x : Space) (θ : ℝ) : | |
| 44 | - (slicedJet (Icc (0 : ℝ) D.T) (meanSolve D raw).1 (t,(x,θ))).2 angleDirection = 0 ∧ | |
| 45 | - (pressureJet (meanSolve D raw).2 (t,(x,θ))).2 angleDirection = 0 := by | |
| 46 | - rw [meanSolve_of_admissible D raw h] | |
| 47 | - exact ⟨(Classical.choice h).vector_angle_jet t x θ, (Classical.choice h).scalar_angle_jet t x θ⟩ | |
| 48 | - | |
| 49 | 33 | end EulerMeanPacketProvider |
+0 −34 Euler/MeanPacketForcingAlgebra.lean View file
| @@ -32,15 +32,6 @@ def ofSlices (A : ℝ → SmoothL2Field Space) | ||
| 32 | 32 | path_eq _ := rfl |
| 33 | 33 | raw_eq := heq |
| 34 | 34 | |
| 35 | -def zero (D : Data) : Forcing D (0 : VectorField) := | |
| 36 | - ofSlices (fun _ => zeroField) (fun _ => continuous_const) (fun _ _ _ => rfl) | |
| 37 | - | |
| 38 | -def add (G : Forcing D raw) (H : Forcing D raw') : Forcing D (raw+raw') := | |
| 39 | - ofSlices (fun t => addField (G.slices t) (H.slices t)) | |
| 40 | - (continuous_jetLp_addField (fun t : Icc (0 : ℝ) D.T => G.slices t) | |
| 41 | - (fun t : Icc (0 : ℝ) D.T => H.slices t) G.jets_continuous H.jets_continuous) | |
| 42 | - (fun t x θ => by simp only [Pi.add_apply, G.raw_eq t x θ, H.raw_eq t x θ, addField_field]) | |
| 43 | - | |
| 44 | 35 | /-- Applying a genuine bounded linear map preserves every actual L² jet. -/ |
| 45 | 36 | def map (G : Forcing D raw) (L : Space →L[ℝ] Space) : Forcing D (fun z => L (raw z)) := |
| 46 | 37 | ofSlices (fun t => mapField L (G.slices t)) |
| @@ -50,31 +41,6 @@ def map (G : Forcing D raw) (L : Space →L[ℝ] Space) : Forcing D (fun z => L | ||
| 50 | 41 | def smul (G : Forcing D raw) (c : ℝ) : Forcing D (c • raw) := |
| 51 | 42 | G.map (c • ContinuousLinearMap.id ℝ Space) |
| 52 | 43 | |
| 53 | -def neg (G : Forcing D raw) : Forcing D (-raw) := G.map (-ContinuousLinearMap.id ℝ Space) | |
| 54 | - | |
| 55 | -/-- The derivative is the ordinary derivative of the prescribed raw field at fixed time and angle. -/ | |
| 56 | -def spatialDerivative (G : Forcing D raw) (v : Space) : | |
| 57 | - Forcing D (fun z => fderiv ℝ (fun x => raw (z.1,(x,z.2.2))) z.2.1 v) := | |
| 58 | - ofSlices (fun t => directionalField (G.slices t) v) | |
| 59 | - (continuous_jetLp_directionalField (fun t : Icc (0 : ℝ) D.T => G.slices t) G.jets_continuous v) | |
| 60 | - (fun t x θ => by | |
| 61 | - have he : (fun y => raw (t,(y,θ))) = (G.slices t).field := | |
| 62 | - funext (fun y => G.raw_eq t y θ) | |
| 63 | - rw [he] | |
| 64 | - rfl) | |
| 65 | - | |
| 66 | 44 | end Forcing |
| 67 | 45 | |
| 68 | -/-- Every actual finite sum of admissible forcing fields is admissible. -/ | |
| 69 | -theorem admissible_finset_sum {ι : Type*} (D : Data) (s : Finset ι) (raw : ι → VectorField) | |
| 70 | - (h : ∀ i ∈ s, Nonempty (Forcing D (raw i))) : Nonempty (Forcing D (∑ i ∈ s, raw i)) := by | |
| 71 | - classical | |
| 72 | - induction s using Finset.induction_on with | |
| 73 | - | empty => simpa using (show Nonempty (Forcing D 0) from ⟨Forcing.zero D⟩) | |
| 74 | - | @insert i s his ih => | |
| 75 | - have hi : Nonempty (Forcing D (raw i)) := h i (Finset.mem_insert_self i s) | |
| 76 | - have hs : Nonempty (Forcing D (∑ j ∈ s, raw j)) := ih (fun j hj => h j (Finset.mem_insert_of_mem hj)) | |
| 77 | - simpa only [Finset.sum_insert his] using | |
| 78 | - (show Nonempty (Forcing D (raw i+∑ j ∈ s, raw j)) from ⟨(Classical.choice hi).add (Classical.choice hs)⟩) | |
| 79 | - | |
| 80 | 46 | end EulerMeanPacketProvider |
+0 −12 Euler/MeanPacketJets.lean View file
| @@ -55,18 +55,6 @@ theorem jet_equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | ||
| 55 | 55 | ((G.scalar_spatial_smooth t).differentiable (by simp) (x,θ))] |
| 56 | 56 | exact G.equation t x θ |
| 57 | 57 | |
| 58 | -theorem vector_angle_jet (t : ℝ) (x : Space) (θ : ℝ) : | |
| 59 | - (slicedJet (Icc (0 : ℝ) D.T) G.vector (t,(x,θ))).2 angleDirection = 0 := by | |
| 60 | - rw [EulerPacketPointJets.slicedJet_angle] | |
| 61 | - have hfst : HasFDerivAt (Prod.fst : Space × ℝ → Space) | |
| 62 | - (ContinuousLinearMap.fst ℝ Space ℝ) (x,θ) := hasFDerivAt_fst | |
| 63 | - have hd := ((pathRepresentative_smooth D.T G.velocityPath G.velocityPath_orbit (D.clamp t)).differentiable | |
| 64 | - (by simp) x).hasFDerivAt.comp (x,θ) hfst | |
| 65 | - change (fderiv ℝ (fun y : Space × ℝ => | |
| 66 | - pathRepresentative D.T G.velocityPath G.velocityPath_orbit (D.clamp t) y.1) (x,θ)) (0,1) = 0 | |
| 67 | - have he := congrArg (fun A : (Space × ℝ) →L[ℝ] Space => A (0,1)) hd.fderiv | |
| 68 | - simpa only [Function.comp_def, comp_apply, ContinuousLinearMap.coe_fst', map_zero] using he | |
| 69 | - | |
| 70 | 58 | theorem scalar_angle_jet (t : ℝ) (x : Space) (θ : ℝ) : |
| 71 | 59 | (pressureJet G.scalar (t,(x,θ))).2 angleDirection = 0 := by |
| 72 | 60 | rw [pressureJet_angle] |
+0 −16 Euler/MeanPacketNonlinearForcing.lean View file
| @@ -30,22 +30,6 @@ def congr (G : Forcing D raw) | ||
| 30 | 30 | path_eq := G.path_eq |
| 31 | 31 | raw_eq t x θ := (heq t x θ).trans (G.raw_eq t x θ) |
| 32 | 32 | |
| 33 | -/-- A literal bilinear product of two admissible fields is admissible. -/ | |
| 34 | -def bilinear (G : Forcing D raw) (H : Forcing D raw') | |
| 35 | - (B : Space →L[ℝ] Space →L[ℝ] Space) : Forcing D (fun z => B (raw z) (raw' z)) := by | |
| 36 | - let A := SmoothCoefficientPath.map B | |
| 37 | - (coefficientPath (fun t : Icc (0 : ℝ) D.T => G.slices t) G.jets_continuous) | |
| 38 | - apply (H.multiply A).congr | |
| 39 | - intro t x θ | |
| 40 | - simp only [A, Data.clamp_coe, SmoothCoefficientPath.map_apply, coefficientPath_apply, | |
| 41 | - G.raw_eq t x θ] | |
| 42 | - | |
| 43 | 33 | end Forcing |
| 44 | 34 | |
| 45 | -theorem admissible_bilinear (D : Data) (raw raw' : VectorField) | |
| 46 | - (h : Nonempty (Forcing D raw)) (h' : Nonempty (Forcing D raw')) | |
| 47 | - (B : Space →L[ℝ] Space →L[ℝ] Space) : | |
| 48 | - Nonempty (Forcing D (fun z => B (raw z) (raw' z))) := | |
| 49 | - ⟨(Classical.choice h).bilinear (Classical.choice h') B⟩ | |
| 50 | - | |
| 51 | 35 | end EulerMeanPacketProvider |
+0 −5 Euler/MeanPacketOrbitForcing.lean View file
| @@ -58,9 +58,4 @@ def pressureForceForcing (G : Forcing D raw) : Forcing D G.pressureForce := | ||
| 58 | 58 | |
| 59 | 59 | end Forcing |
| 60 | 60 | |
| 61 | -theorem meanSolve_admissible (D : Data) (raw : VectorField) (h : Nonempty (Forcing D raw)) : | |
| 62 | - Nonempty (Forcing D (meanSolve D raw).1) := by | |
| 63 | - rw [meanSolve_of_admissible D raw h] | |
| 64 | - exact ⟨(Classical.choice h).vectorForcing⟩ | |
| 65 | - | |
| 66 | 61 | end EulerMeanPacketProvider |
+0 −8 Euler/MeanPacketPressureForcing.lean View file
| @@ -30,12 +30,4 @@ def scalarGradientForcing : Forcing D G.scalarGradient := by | ||
| 30 | 30 | simpa only [A, SmoothCoefficientPath.map_apply, Data.clamp_coe, |
| 31 | 31 | hAdj] using G.scalarGradient_eq t x θ |
| 32 | 32 | |
| 33 | -theorem physicalGradient_eq (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 34 | - (D.inverseFrame (t,(x,θ))).adjoint (G.scalarGradient (t,(x,θ))) = | |
| 35 | - G.pressureForce (t,(x,θ)) := by | |
| 36 | - have h := pressureScalar_physicalGradient D.T D.T_pos.le D.F D.F₁ D.opInv G.solution | |
| 37 | - D.frameLower D.frameLower_pos D.frame_lower G.path G.pressureForcePath_orbit | |
| 38 | - D.FInv D.inverse_right t x | |
| 39 | - simpa only [Data.inverseFrame, scalarGradient, scalar, pressureForce, Data.clamp_coe] using h | |
| 40 | - | |
| 41 | 33 | end EulerMeanPacketProvider.Forcing |
+0 −25 Euler/MeanPacketProvider.lean View file
| @@ -73,18 +73,10 @@ theorem vector_angle_independent (t : ℝ) (x : Space) (θ η : ℝ) : | ||
| 73 | 73 | theorem scalar_angle_independent (t : ℝ) (x : Space) (θ η : ℝ) : |
| 74 | 74 | G.scalar (t,(x,θ)) = G.scalar (t,(x,η)) := rfl |
| 75 | 75 | |
| 76 | -theorem scalar_normalized (t θ : ℝ) : G.scalar (t,(0,θ)) = 0 := | |
| 77 | - (pressureScalar_spec D.T D.T_pos.le D.F D.F₁ D.opInv G.solution | |
| 78 | - D.frameLower D.frameLower_pos D.frame_lower G.path G.pressureForcePath_orbit (D.clamp t)).2.1 | |
| 79 | - | |
| 80 | 76 | /-- Actual spatial and angular regularity at every time. -/ |
| 81 | 77 | theorem vector_spatial_smooth (t : ℝ) : ContDiff ℝ ∞ (fun y : Space × ℝ => G.vector (t,y)) := |
| 82 | 78 | (pathRepresentative_smooth D.T G.velocityPath G.velocityPath_orbit (D.clamp t)).comp contDiff_fst |
| 83 | 79 | |
| 84 | -theorem vectorDerivative_spatial_smooth (t : ℝ) : | |
| 85 | - ContDiff ℝ ∞ (fun y : Space × ℝ => G.vectorDerivative (t,y)) := | |
| 86 | - (pathRepresentative_smooth D.T G.derivativePath G.derivativePath_orbit (D.clamp t)).comp contDiff_fst | |
| 87 | - | |
| 88 | 80 | theorem scalar_spatial_smooth (t : ℝ) : ContDiff ℝ ∞ (fun y : Space × ℝ => G.scalar (t,y)) := |
| 89 | 81 | (pressureScalar_spec D.T D.T_pos.le D.F D.F₁ D.opInv G.solution |
| 90 | 82 | D.frameLower D.frameLower_pos D.frame_lower G.path G.pressureForcePath_orbit (D.clamp t)).1.comp contDiff_fst |
| @@ -123,21 +115,4 @@ theorem meanSolve_of_admissible (D : Data) (raw : VectorField) (h : Nonempty (Fo | ||
| 123 | 115 | meanSolve D raw = ((Classical.choice h).vector,(Classical.choice h).scalar) := by |
| 124 | 116 | simp only [meanSolve, dite_eq_left h] |
| 125 | 117 | |
| 126 | -/-- The total provider is backed by an actual source solve on every admissible input. -/ | |
| 127 | -theorem meanSolve_contract (D : Data) (raw : VectorField) (h : Nonempty (Forcing D raw)) : | |
| 128 | - ∃ bt : VectorField, | |
| 129 | - (∀ (t : Icc (0 : ℝ) D.T) x θ, | |
| 130 | - HasDerivWithinAt (fun r => (meanSolve D raw).1 (r,(x,θ))) (bt (t,(x,θ))) (Icc (0 : ℝ) D.T) t) ∧ | |
| 131 | - (∀ (t : Icc (0 : ℝ) D.T) x θ, | |
| 132 | - bt (t,(x,θ))+D.strain (t,(x,θ)) ((meanSolve D raw).1 (t,(x,θ)))+ | |
| 133 | - (D.inverseFrame (t,(x,θ))).adjoint | |
| 134 | - (gradient (fun y => (meanSolve D raw).2 (t,(y,θ))) x) = raw (t,(x,θ))) ∧ | |
| 135 | - (∀ t, ContDiff ℝ ∞ (fun y : Space × ℝ => (meanSolve D raw).1 (t,y))) ∧ | |
| 136 | - (∀ t, ContDiff ℝ ∞ (fun y : Space × ℝ => (meanSolve D raw).2 (t,y))) ∧ | |
| 137 | - (∀ t θ, (meanSolve D raw).2 (t,(0,θ)) = 0) := by | |
| 138 | - rw [meanSolve_of_admissible D raw h] | |
| 139 | - exact ⟨(Classical.choice h).vectorDerivative, (Classical.choice h).vector_hasDerivWithinAt, | |
| 140 | - (Classical.choice h).equation, (Classical.choice h).vector_spatial_smooth, | |
| 141 | - (Classical.choice h).scalar_spatial_smooth, (Classical.choice h).scalar_normalized⟩ | |
| 142 | - | |
| 143 | 118 | end EulerMeanPacketProvider |
+0 −42 Euler/MeanPathSpatialRepresentative.lean View file
| @@ -24,46 +24,4 @@ theorem path_orbit_tensor_evaluation (T : ℝ) (p : C(Icc (0 : ℝ) T, EulerMean | ||
| 24 | 24 | (iteratedFDeriv ℝ n (fun a : Space => pathTranslation T a p) 0) := |
| 25 | 25 | (ContinuousMap.evalCLM ℝ t).iteratedFDeriv_comp_left hp.contDiffAt (by simp) |
| 26 | 26 | |
| 27 | -/-- The finite Sobolev array is a continuous path, constructed from actual tensor evaluations. | |
| 28 | -No operator-norm continuity of the time-evaluation operators is needed. -/ | |
| 29 | -theorem ordinarySobolev_path_continuous (T : ℝ) (p : C(Icc (0 : ℝ) T, EulerMeanSolenoidal.L2)) | |
| 30 | - (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) (q : ℕ) : | |
| 31 | - Continuous (fun t => ordinarySobolev q (p t) (pathTranslation_evaluation_contDiff T p hp t)) := by | |
| 32 | - apply Continuous.subtype_mk | |
| 33 | - apply continuous_pi | |
| 34 | - intro w | |
| 35 | - change Continuous (fun t => | |
| 36 | - (ordinarySobolev q (p t) (pathTranslation_evaluation_contDiff T p hp t)).val w) | |
| 37 | - simp_rw [ordinarySobolev_coordinate, path_orbit_tensor_evaluation T p hp] | |
| 38 | - let K := iteratedFDeriv ℝ w.1.val (fun a : Space => pathTranslation T a p) 0 (coordinateTuple w.2) | |
| 39 | - change Continuous (fun t => ordinaryLift (K t)) | |
| 40 | - exact ordinaryLift.continuous.comp K.continuous | |
| 41 | - | |
| 42 | -/-- The reconstructed spatial field is jointly continuous in actual time and space. -/ | |
| 43 | -theorem path_representative_joint_continuous (T : ℝ) | |
| 44 | - (p : C(Icc (0 : ℝ) T, EulerMeanSolenoidal.L2)) | |
| 45 | - (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) : | |
| 46 | - Continuous (fun z : Icc (0 : ℝ) T × Space => | |
| 47 | - representative (p z.1) (pathTranslation_evaluation_contDiff T p hp z.1) z.2) := by | |
| 48 | - have hc := ordinarySobolev_path_continuous T p hp 3 | |
| 49 | - have hpair : Continuous (fun z : Icc (0 : ℝ) T × Space => | |
| 50 | - (ordinarySobolev 3 (p z.1) (pathTranslation_evaluation_contDiff T p hp z.1), | |
| 51 | - (z.2, (0 : AddCircle (1 : ℝ))))) := | |
| 52 | - (hc.comp continuous_fst).prodMk (continuous_snd.prodMk continuous_const) | |
| 53 | - have H := (EulerSobolevJointEvaluation.pointEvaluation_joint_continuous 1).comp hpair | |
| 54 | - simpa only [Function.comp_def, pointEvaluation_ordinary] using H | |
| 55 | - | |
| 56 | -theorem path_representative_smooth (T : ℝ) | |
| 57 | - (p : C(Icc (0 : ℝ) T, EulerMeanSolenoidal.L2)) | |
| 58 | - (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) (t : Icc (0 : ℝ) T) : | |
| 59 | - ContDiff ℝ ∞ (representative (p t) (pathTranslation_evaluation_contDiff T p hp t)) := | |
| 60 | - representative_smooth _ _ | |
| 61 | - | |
| 62 | -theorem path_representative_ae (T : ℝ) | |
| 63 | - (p : C(Icc (0 : ℝ) T, EulerMeanSolenoidal.L2)) | |
| 64 | - (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) (t : Icc (0 : ℝ) T) : | |
| 65 | - (p t : Space → Space) =ᵐ[volume] | |
| 66 | - representative (p t) (pathTranslation_evaluation_contDiff T p hp t) := | |
| 67 | - representative_ae _ _ | |
| 68 | - | |
| 69 | 27 | end EulerMeanSmoothRepresentative |
+0 −90 Euler/MeanPhysicalTranslation.lean View file
| @@ -55,31 +55,6 @@ theorem frameApply_translation_contDiff (F : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2) | ||
| 55 | 55 | exact Eq.mpr (congrArg (fun g : Space → TimeLp T L2 => ContDiff ℝ n g) |
| 56 | 56 | (frameApply_orbit_eq T hT F v)) hp |
| 57 | 57 | |
| 58 | -/-- Frame multiplication has one fixed factorial amplitude, independent of order. -/ | |
| 59 | -theorem frameApply_translation_gevrey (F : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) | |
| 60 | - (v : TimeLp T solenoidalSpace) | |
| 61 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 62 | - (hv : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a v)) | |
| 63 | - (R CF Cv : ℝ) (hR : 0 ≤ R) (hCF : 0 ≤ CF) (hCv : 0 ≤ Cv) (d : ℕ) | |
| 64 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant R 0 n) | |
| 65 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b v) a‖ ≤ Cv*majorant R d n) | |
| 66 | - (n : ℕ) (a : Space) : | |
| 67 | - ‖iteratedFDeriv ℝ n (fun b : Space => | |
| 68 | - timeTranslation T b (timeMultiplier T hT (solenoidalFrame T F) v)) a‖ ≤ | |
| 69 | - (3*CF*Cv)*majorant R d n := by | |
| 70 | - let Q := fun b : Space => solenoidalFrame T (translatePath T b F) | |
| 71 | - have hQ : ContDiff ℝ ∞ Q := contDiff_solenoidalFrame T (fun b => translatePath T b F) hF | |
| 72 | - have hbQ : ∀ k b, ‖iteratedFDeriv ℝ k Q b‖ ≤ CF*majorant R 0 k := | |
| 73 | - solenoidalFrame_bound T (fun b => translatePath T b F) hF R CF hR hCF 0 hFb | |
| 74 | - have hp := clm_apply_bound (fun b => timeMultiplier T hT (Q b)) | |
| 75 | - (fun b => timeSolenoidalTranslation T b v) (contDiff_timeMultiplier T hT Q hQ) hv | |
| 76 | - R CF Cv hR hCF hCv 0 d (timeMultiplier_bound T hT Q hQ R CF hR hCF 0 hbQ) hvb n a | |
| 77 | - have hp' : ‖iteratedFDeriv ℝ n (fun b : Space => | |
| 78 | - timeMultiplier T hT (Q b) (timeSolenoidalTranslation T b v)) a‖ ≤ | |
| 79 | - (3*CF*Cv)*majorant R d n := by simpa only [Nat.zero_add] using hp | |
| 80 | - exact (congrArg (fun g : Space → TimeLp T L2 => ‖iteratedFDeriv ℝ n g a‖) | |
| 81 | - (frameApply_orbit_eq T hT F v)).trans_le hp' | |
| 82 | - | |
| 83 | 58 | end EulerMeanPhysicalTranslation |
| 84 | 59 | |
| 85 | 60 | namespace EulerMeanVariationalInverse.StrongMeanEvolution |
| @@ -100,19 +75,6 @@ theorem velocityDerivative_orbit_eq : | ||
| 100 | 75 | timeTranslation T a (timeMultiplier T hT (solenoidalFrame T F) s.acceleration) := |
| 101 | 76 | funext (fun a => (timeTranslation T a).map_add _ _) |
| 102 | 77 | |
| 103 | -theorem pressureResidual_orbit_eq : | |
| 104 | - (fun a : Space => timeTranslation T a s.pressureResidual) = | |
| 105 | - fun a : Space => timeTranslation T a f - | |
| 106 | - timeTranslation T a (timeMultiplier T hT (solenoidalFrame T F) s.acceleration) - | |
| 107 | - (2 : ℝ) • timeTranslation T a (timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp) := by | |
| 108 | - funext a | |
| 109 | - change timeTranslation T a (f-timeMultiplier T hT (solenoidalFrame T F) s.acceleration- | |
| 110 | - (2 : ℝ) • timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp) = _ | |
| 111 | - exact ((timeTranslation T a).map_sub _ _).trans | |
| 112 | - (congrArg₂ (fun x y : TimeLp T L2 => x-y) | |
| 113 | - ((timeTranslation T a).map_sub _ _) | |
| 114 | - ((timeTranslation T a).map_smul (2 : ℝ) _)) | |
| 115 | - | |
| 116 | 78 | /-- The physical velocity has the genuine spatial regularity of the coordinate velocity. -/ |
| 117 | 79 | theorem velocityField_translation_contDiff {n : ℕ∞ω} |
| 118 | 80 | (hF : ContDiff ℝ n (fun a : Space => translatePath T a F)) |
| @@ -131,56 +93,4 @@ theorem velocityDerivative_translation_contDiff {n : ℕ∞ω} | ||
| 131 | 93 | ((frameApply_translation_contDiff T hT F₁ s.velocityLp hF₁ hv).add |
| 132 | 94 | (frameApply_translation_contDiff T hT F s.acceleration hF ha)) |
| 133 | 95 | |
| 134 | -/-- The actual gradient residual inherits the spatial regularity of the solved fields. -/ | |
| 135 | -theorem pressureResidual_translation_contDiff {n : ℕ∞ω} | |
| 136 | - (hF : ContDiff ℝ n (fun a : Space => translatePath T a F)) | |
| 137 | - (hF₁ : ContDiff ℝ n (fun a : Space => translatePath T a F₁)) | |
| 138 | - (hv : ContDiff ℝ n (fun a : Space => timeSolenoidalTranslation T a s.velocityLp)) | |
| 139 | - (ha : ContDiff ℝ n (fun a : Space => timeSolenoidalTranslation T a s.acceleration)) | |
| 140 | - (hf : ContDiff ℝ n (fun a : Space => timeTranslation T a f)) : | |
| 141 | - ContDiff ℝ n (fun a : Space => timeTranslation T a s.pressureResidual) := | |
| 142 | - Eq.mpr (congrArg (fun g : Space → TimeLp T L2 => ContDiff ℝ n g) s.pressureResidual_orbit_eq) | |
| 143 | - ((hf.sub (frameApply_translation_contDiff T hT F s.acceleration hF ha)).sub | |
| 144 | - ((frameApply_translation_contDiff T hT F₁ s.velocityLp hF₁ hv).const_smul (2 : ℝ))) | |
| 145 | - | |
| 146 | -/-- A genuine all-order bound for the physical mean velocity. -/ | |
| 147 | -theorem velocityField_translation_gevrey | |
| 148 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 149 | - (hv : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.velocityLp)) | |
| 150 | - (R CF Cv : ℝ) (hR : 0 ≤ R) (hCF : 0 ≤ CF) (hCv : 0 ≤ Cv) (d : ℕ) | |
| 151 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant R 0 n) | |
| 152 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.velocityLp) a‖ ≤ Cv*majorant R d n) | |
| 153 | - (n : ℕ) (a : Space) : | |
| 154 | - ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityField) a‖ ≤ | |
| 155 | - (3*CF*Cv)*majorant R d n := | |
| 156 | - frameApply_translation_gevrey T hT F s.velocityLp hF hv R CF Cv hR hCF hCv d hFb hvb n a | |
| 157 | - | |
| 158 | -/-- The actual B_t has a fixed polynomial factorial amplitude. -/ | |
| 159 | -theorem velocityDerivative_translation_gevrey | |
| 160 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 161 | - (hF₁ : ContDiff ℝ ∞ (fun a : Space => translatePath T a F₁)) | |
| 162 | - (hv : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.velocityLp)) | |
| 163 | - (ha : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.acceleration)) | |
| 164 | - (R CF CF₁ Cv Ca : ℝ) (hR : 0 ≤ R) | |
| 165 | - (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) (hCv : 0 ≤ Cv) (hCa : 0 ≤ Ca) (d : ℕ) | |
| 166 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant R 0 n) | |
| 167 | - (hF₁b : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant R 0 n) | |
| 168 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.velocityLp) a‖ ≤ Cv*majorant R d n) | |
| 169 | - (hab : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.acceleration) a‖ ≤ Ca*majorant R d n) | |
| 170 | - (n : ℕ) (a : Space) : | |
| 171 | - ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityDerivative) a‖ ≤ | |
| 172 | - (3*(CF₁*Cv+CF*Ca))*majorant R d n := by | |
| 173 | - have hvreg := frameApply_translation_contDiff T hT F₁ s.velocityLp hF₁ hv | |
| 174 | - have hareg := frameApply_translation_contDiff T hT F s.acceleration hF ha | |
| 175 | - have hvb' := frameApply_translation_gevrey T hT F₁ s.velocityLp hF₁ hv | |
| 176 | - R CF₁ Cv hR hCF₁ hCv d hF₁b hvb | |
| 177 | - have hab' := frameApply_translation_gevrey T hT F s.acceleration hF ha | |
| 178 | - R CF Ca hR hCF hCa d hFb hab | |
| 179 | - have hs := add_bound | |
| 180 | - (fun b : Space => timeTranslation T b (timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp)) | |
| 181 | - (fun b : Space => timeTranslation T b (timeMultiplier T hT (solenoidalFrame T F) s.acceleration)) | |
| 182 | - hvreg hareg R (3*CF₁*Cv) (3*CF*Ca) d hvb' hab' n a | |
| 183 | - exact ((congrArg (fun g : Space → TimeLp T L2 => ‖iteratedFDeriv ℝ n g a‖) | |
| 184 | - s.velocityDerivative_orbit_eq).trans_le hs).trans_eq (by ring) | |
| 185 | - | |
| 186 | 96 | end EulerMeanVariationalInverse.StrongMeanEvolution |
+0 −13 Euler/MeanPressureRepresentative.lean View file
| @@ -39,11 +39,6 @@ theorem pathRepresentative_ae (T : ℝ) (p : C(Icc (0 : ℝ) T,L2)) | ||
| 39 | 39 | (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) (t : Icc (0 : ℝ) T) : |
| 40 | 40 | (p t : Space → Space) =ᵐ[volume] pathRepresentative T p hp t := representative_ae _ _ |
| 41 | 41 | |
| 42 | -theorem pathRepresentative_continuous (T : ℝ) (p : C(Icc (0 : ℝ) T,L2)) | |
| 43 | - (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) : | |
| 44 | - Continuous (fun z : Icc (0 : ℝ) T × Space => pathRepresentative T p hp z.1 z.2) := | |
| 45 | - path_representative_joint_continuous T p hp | |
| 46 | - | |
| 47 | 42 | /-- An actual L² equation between continuous spatial representatives holds everywhere. -/ |
| 48 | 43 | theorem representative_equation (B D R f : L2) |
| 49 | 44 | (hB : SmoothOrbit B) (hD : SmoothOrbit D) (hR : SmoothOrbit R) (hf : SmoothOrbit f) |
| @@ -110,14 +105,6 @@ theorem pressureScalar_spec (t : Icc (0 : ℝ) T) : | ||
| 110 | 105 | (pathRepresentative T (s.pressurePath c hc hLower fC) hR t) |
| 111 | 106 | (pathRepresentative_ae T _ hR t) (hAdj.clm_apply (pathRepresentative_smooth T _ hR t)) |
| 112 | 107 | |
| 113 | -/-- The source mean pressure has no angular dependence. -/ | |
| 114 | -def pressureProfile (t : Icc (0 : ℝ) T) (x : Space) (_θ : ℝ) : ℝ := | |
| 115 | - pressureScalar T hT F F₁ FInv s c hc hLower fC hR t x | |
| 116 | - | |
| 117 | -theorem pressureProfile_angle_derivative (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : | |
| 118 | - HasDerivAt (pressureProfile T hT F F₁ FInv s c hc hLower fC hR t x) 0 θ := | |
| 119 | - hasDerivAt_const θ _ | |
| 120 | - | |
| 121 | 108 | /-- The physical pressure force is exactly the actual residual, because the |
| 122 | 109 | inverse-transpose cancels the transpose of the given frame. -/ |
| 123 | 110 | theorem pressureScalar_physicalGradient |
+0 −5 Euler/MeanScalarMollification.lean View file
| @@ -87,9 +87,4 @@ theorem scalarMollification_energy_le (φ : ContDiffBump (0 : Space)) | ||
| 87 | 87 | φ.integrable_normed hf2, φ.integral_normed] |
| 88 | 88 | simp only [ContinuousLinearMap.lsmul_apply, one_smul] |
| 89 | 89 | |
| 90 | -theorem scalarMollification_norm_le (φ : ContDiffBump (0 : Space)) | |
| 91 | - (f : Space → ℝ) (hf : MemLp f 2 volume) : | |
| 92 | - lpNorm (scalarMollification φ f) 2 volume ≤ lpNorm f 2 volume := | |
| 93 | - (sq_le_sq₀ lpNorm_nonneg lpNorm_nonneg).1 (scalarMollification_energy_le φ f hf) | |
| 94 | - | |
| 95 | 90 | end EulerMeanHarmonic |
+0 −22 Euler/MeanScaledBoundaryGevrey.lean View file
| @@ -82,28 +82,6 @@ theorem scaled_majorant_le (ℓ : ℝ) (hℓ : 0 ≤ ℓ) (hℓ1 : ℓ ≤ 1) (n | ||
| 82 | 82 | apply mul_le_mul_of_nonneg_right _ (sq_nonneg _) |
| 83 | 83 | exact pow_le_pow_left₀ (by positivity) (by linarith) n |
| 84 | 84 | |
| 85 | -theorem scaledCutoffCurl_gevrey (ℓ : ℝ) (hℓ : 0 < ℓ) (hℓ1 : ℓ ≤ 1) (n : ℕ) (a : Space) : | |
| 86 | - ‖iteratedFDeriv ℝ n | |
| 87 | - (fun b : Space => cutoffCurl ((scaledCutoff ℓ hℓ).translate b)) a‖ ≤ | |
| 88 | - scaledCutoffOperatorAmplitude * majorant 1024 0 n := by | |
| 89 | - have H := cutoffCurl_gevrey (scaledCutoff ℓ hℓ) (2*ℓ⁻¹) (256*ℓ) scaledCutoffGevreySize | |
| 90 | - (by positivity) scaledCutoffGevreySize_nonneg (scaledCutoff_support_ball ℓ hℓ) | |
| 91 | - (scaledCutoff_scaledRadiusGevrey ℓ hℓ) n a | |
| 92 | - rw [scaledCutoff_amplitude ℓ hℓ] at H | |
| 93 | - exact H.trans (mul_le_mul_of_nonneg_left (scaled_majorant_le ℓ hℓ.le hℓ1 n) | |
| 94 | - scaledCutoffOperatorAmplitude_nonneg) | |
| 95 | - | |
| 96 | -theorem scaledWeakPotential_gevrey (ℓ : ℝ) (hℓ : 0 < ℓ) (hℓ1 : ℓ ≤ 1) (n : ℕ) (a : Space) : | |
| 97 | - ‖iteratedFDeriv ℝ n | |
| 98 | - (fun b : Space => weakPotential ((scaledCutoff ℓ hℓ).translate b)) a‖ ≤ | |
| 99 | - scaledCutoffOperatorAmplitude * majorant 1024 0 n := by | |
| 100 | - have H := weakPotential_gevrey (scaledCutoff ℓ hℓ) (2*ℓ⁻¹) (256*ℓ) scaledCutoffGevreySize | |
| 101 | - (by positivity) scaledCutoffGevreySize_nonneg (scaledCutoff_support_ball ℓ hℓ) | |
| 102 | - (scaledCutoff_scaledRadiusGevrey ℓ hℓ) n a | |
| 103 | - rw [scaledCutoff_amplitude ℓ hℓ] at H | |
| 104 | - exact H.trans (mul_le_mul_of_nonneg_left (scaled_majorant_le ℓ hℓ.le hℓ1 n) | |
| 105 | - scaledCutoffOperatorAmplitude_nonneg) | |
| 106 | - | |
| 107 | 85 | def scaledBoundaryOperatorAmplitude : ℝ := 3 * scaledCutoffOperatorAmplitude^2 |
| 108 | 86 | |
| 109 | 87 | theorem scaledBoundaryOperatorAmplitude_nonneg : 0 ≤ scaledBoundaryOperatorAmplitude := by |
+0 −14 Euler/MeanScaledCutoff.lean View file
| @@ -54,18 +54,4 @@ theorem physical_ball_eq (ℓ r : ℝ) (hℓ : 0 < ℓ) : | ||
| 54 | 54 | have H := mul_lt_mul_of_pos_left h hℓ |
| 55 | 55 | simpa only [← mul_assoc, mul_inv_cancel₀ hℓ.ne', one_mul] using H |
| 56 | 56 | |
| 57 | -/-- Rescaling by at most one preserves the fixed factorial derivative bound. -/ | |
| 58 | -theorem scaledCutoff_gevrey (ℓ : ℝ) (hℓ : 0 < ℓ) (hℓ1 : ℓ ≤ 1) (n : ℕ) (x : Space) : | |
| 59 | - ‖iteratedFDeriv ℝ n (scaledCutoff ℓ hℓ).field x‖ ≤ | |
| 60 | - (9 * (1 + 3 / EulerGevreyCutoff.bumpMass)^2)^3 * majorant 256 0 n := by | |
| 61 | - change ‖iteratedFDeriv ℝ n (fun y => EulerSpatialCutoffs.outerCutoff (ℓ • y)) x‖ ≤ _ | |
| 62 | - rw [iteratedFDeriv_comp_const_smul ℓ | |
| 63 | - (EulerSpatialCutoffs.outerCutoff_contDiff.of_le (by simp)), norm_smul, | |
| 64 | - Real.norm_eq_abs, abs_of_nonneg (pow_nonneg hℓ.le n)] | |
| 65 | - have hpow : ℓ^n ≤ 1 := pow_le_one₀ hℓ.le hℓ1 | |
| 66 | - calc | |
| 67 | - _ ≤ 1 * ‖iteratedFDeriv ℝ n EulerSpatialCutoffs.outerCutoff (ℓ • x)‖ := | |
| 68 | - mul_le_mul_of_nonneg_right hpow (norm_nonneg _) | |
| 69 | - _ ≤ _ := by simpa only [one_mul] using EulerSpatialCutoffs.outerCutoff_gevrey n (ℓ • x) | |
| 70 | - | |
| 71 | 57 | end EulerMeanBoundary |
+0 −36 Euler/MeanSolenoidalReflection.lean View file
| @@ -30,13 +30,6 @@ theorem reflection_ae (u : L2) : reflection u =ᵐ[volume] fun x => u (-x) := | ||
| 30 | 30 | measurePreserving_reflection.quasiMeasurePreserving.ae (reflection_ae u)] with x hx hy |
| 31 | 31 | rw [hx, hy, neg_neg] |
| 32 | 32 | |
| 33 | -theorem reflection_norm (u : L2) : ‖reflection u‖ = ‖u‖ := reflection.norm_map u | |
| 34 | - | |
| 35 | -theorem reflection_inner_shift (u v : L2) : ⟪reflection u, v⟫_ℝ = ⟪u, reflection v⟫_ℝ := by | |
| 36 | - calc | |
| 37 | - _ = ⟪reflection u, reflection (reflection v)⟫_ℝ := by rw [reflection_involutive] | |
| 38 | - _ = _ := reflection.inner_map_map u (reflection v) | |
| 39 | - | |
| 40 | 33 | /-- The two signs in the derivative of `-f(-x)` cancel. -/ |
| 41 | 34 | theorem fderiv_neg_reflect {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 42 | 35 | (f : Space → F) (hf : Differentiable ℝ f) (x : Space) : |
| @@ -83,33 +76,4 @@ theorem reflection_solenoidal_mem {u : L2} (hu : u ∈ solenoidalSpace) : | ||
| 83 | 76 | _ = ⟪reflection g, u⟫_ℝ := reflection.inner_map_map _ _ |
| 84 | 77 | _ = 0 := hu _ (reflection_gradient_mem hg) |
| 85 | 78 | |
| 86 | -theorem solenoidalSpace_map_reflection : | |
| 87 | - solenoidalSpace.map reflection.toLinearMap = solenoidalSpace := by | |
| 88 | - apply le_antisymm | |
| 89 | - · rintro u ⟨v, hv, rfl⟩ | |
| 90 | - exact reflection_solenoidal_mem hv | |
| 91 | - · intro u hu | |
| 92 | - exact ⟨reflection u, reflection_solenoidal_mem hu, reflection_involutive u⟩ | |
| 93 | - | |
| 94 | -/-- The actual ordinary Helmholtz projection commutes with reflection. -/ | |
| 95 | -theorem solenoidalProjection_reflection (u : L2) : | |
| 96 | - reflection (solenoidalProjection u) = solenoidalProjection (reflection u) := by | |
| 97 | - have hmap := solenoidalSpace_map_reflection | |
| 98 | - let : (solenoidalSpace.map reflection.toLinearMap).HasOrthogonalProjection := by | |
| 99 | - rw [hmap] | |
| 100 | - infer_instance | |
| 101 | - simpa only [solenoidalProjection, hmap] using reflection.map_starProjection solenoidalSpace u | |
| 102 | - | |
| 103 | -theorem reflection_translation (a : Space) (u : L2) : | |
| 104 | - reflection (translation a u) = translation (-a) (reflection u) := by | |
| 105 | - apply Lp.ext | |
| 106 | - filter_upwards [reflection_ae (translation a u), | |
| 107 | - measurePreserving_reflection.quasiMeasurePreserving.ae (translation_ae a u), | |
| 108 | - translation_ae (-a) (reflection u), | |
| 109 | - (measurePreserving_add_right (volume : Measure Space) (-a)).quasiMeasurePreserving.ae | |
| 110 | - (reflection_ae u)] with x h₁ h₂ h₃ h₄ | |
| 111 | - rw [h₁, h₂, h₃, h₄] | |
| 112 | - congr 1 | |
| 113 | - abel | |
| 114 | - | |
| 115 | 79 | end EulerMeanSolenoidal |
+0 −44 Euler/MeanSolenoidalSpace.lean View file
| @@ -106,9 +106,6 @@ def solenoidalProjection : L2 →L[ℝ] L2 := solenoidalSpace.starProjection | ||
| 106 | 106 | theorem solenoidalProjection_mem (u : L2) : |
| 107 | 107 | solenoidalProjection u ∈ solenoidalSpace := solenoidalSpace.starProjection_apply_mem u |
| 108 | 108 | |
| 109 | -theorem solenoidalProjection_norm_le : ‖solenoidalProjection‖ ≤ 1 := | |
| 110 | - solenoidalSpace.starProjection_norm_le | |
| 111 | - | |
| 112 | 109 | theorem solenoidalProjection_apply_norm_le (u : L2) : ‖solenoidalProjection u‖ ≤ ‖u‖ := |
| 113 | 110 | solenoidalSpace.norm_starProjection_apply_le u |
| 114 | 111 | |
| @@ -214,47 +211,6 @@ variable (A : Space → Space →L[ℝ] Space) | ||
| 214 | 211 | (c : ℝ) (hc : 0 < c) |
| 215 | 212 | (hpositive : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A x v, v⟫_ℝ) |
| 216 | 213 | |
| 217 | -/-- The concrete inverse of the projected ordinary-space coefficient multiplier. -/ | |
| 218 | -def metricInverse : solenoidalSpace →L[ℝ] solenoidalSpace := | |
| 219 | - projectedInverse solenoidalSpace (coefficientOperator A hA C hbound) c hc | |
| 220 | - (coefficientOperator_coercive A hA C hbound c hpositive) | |
| 221 | - | |
| 222 | -theorem metricInverse_equation (f : solenoidalSpace) : | |
| 223 | - solenoidalSpace.orthogonalProjectionOnto | |
| 224 | - (coefficientOperator A hA C hbound | |
| 225 | - (metricInverse A hA C hbound c hc hpositive f : L2)) = f := | |
| 226 | - projectedOperator_inverse_apply solenoidalSpace (coefficientOperator A hA C hbound) | |
| 227 | - c hc (coefficientOperator_coercive A hA C hbound c hpositive) f | |
| 228 | - | |
| 229 | -theorem metricInverse_norm_le : ‖metricInverse A hA C hbound c hc hpositive‖ ≤ c⁻¹ := | |
| 230 | - projectedInverse_norm_le solenoidalSpace (coefficientOperator A hA C hbound) | |
| 231 | - c hc (coefficientOperator_coercive A hA C hbound c hpositive) | |
| 232 | - | |
| 233 | -include hc hpositive in | |
| 234 | -/-- A forcing in the ambient L² space has one solenoidal solution of the | |
| 235 | -projected metric equation. No inverse or solution is supplied as an input. -/ | |
| 236 | -theorem existsUnique_metric_solution (f : L2) : | |
| 237 | - ∃! u : solenoidalSpace, | |
| 238 | - solenoidalSpace.orthogonalProjectionOnto (coefficientOperator A hA C hbound (u : L2)) = | |
| 239 | - solenoidalSpace.orthogonalProjectionOnto f := | |
| 240 | - existsUnique_projected_solution solenoidalSpace (coefficientOperator A hA C hbound) | |
| 241 | - c hc (coefficientOperator_coercive A hA C hbound c hpositive) f | |
| 242 | - | |
| 243 | -/-- The residual of the solved projected equation is a genuine weak gradient. -/ | |
| 244 | -theorem metric_solution_residual_gradient (f : L2) (u : solenoidalSpace) | |
| 245 | - (hu : solenoidalSpace.orthogonalProjectionOnto | |
| 246 | - (coefficientOperator A hA C hbound (u : L2)) = | |
| 247 | - solenoidalSpace.orthogonalProjectionOnto f) : | |
| 248 | - f - coefficientOperator A hA C hbound (u : L2) ∈ gradientSpace := by | |
| 249 | - apply (solenoidalProjection_eq_zero_iff _).1 | |
| 250 | - change solenoidalSpace.starProjection | |
| 251 | - (f - coefficientOperator A hA C hbound (u : L2)) = 0 | |
| 252 | - rw [map_sub] | |
| 253 | - have h := congrArg (fun v : solenoidalSpace => (v : L2)) hu | |
| 254 | - change solenoidalSpace.starProjection (coefficientOperator A hA C hbound (u : L2)) = | |
| 255 | - solenoidalSpace.starProjection f at h | |
| 256 | - rw [h, sub_self] | |
| 257 | - | |
| 258 | 214 | end CoefficientInverse |
| 259 | 215 | |
| 260 | 216 | end EulerMeanSolenoidal |
+0 −54 Euler/MeanSourceGevrey.lean View file
| @@ -59,58 +59,4 @@ variable (T : ℝ) (hT : 0 ≤ T) (ℓ : ℝ) (hℓ : 0 < ℓ) (hℓ1 : ℓ ≤ | ||
| 59 | 59 | (hH : ∀ t x v, ⟪H.field t x v,v⟫_ℝ ≤ K*‖v‖^2) |
| 60 | 60 | (hsmall : K*(T^2/2)+Be*T+boundaryLocalizationC2*Bc*r^3*T ≤ 1/2) |
| 61 | 61 | |
| 62 | -include hℓ1 in | |
| 63 | -/-- The source coordinate solver obeys all-order genuine spatial estimates. | |
| 64 | -Its coercivity and cutoff assumptions have already been discharged. -/ | |
| 65 | -theorem sourceCoordinateSolver_translation_gevrey | |
| 66 | - (f : TimeLp T L2) (hf : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a f)) | |
| 67 | - (Rc R M CF CF₁ CH CM Cf : ℝ) (hRc : 1024 ≤ Rc) | |
| 68 | - (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) (hCH : 0 ≤ CH) (hCM : 0 ≤ CM) (hCf : 0 ≤ Cf) | |
| 69 | - (hM : 1 ≤ M) | |
| 70 | - (hMC : (sourceFixedCoercivity T F F₁ FInv)⁻¹* | |
| 71 | - operatorAmplitude T CF CF₁ CH CM scaledBoundaryOperatorAmplitude L ≤ M) | |
| 72 | - (hMD : (sourceFixedCoercivity T F F₁ FInv)⁻¹*forcingAmplitude T CF CF₁ Cf ≤ M) | |
| 73 | - (hR : 2*M*(Rc+1) ≤ R) | |
| 74 | - (hFb : ∀ n t x, ‖iteratedFDeriv ℝ n (F.field t : Space → Space →L[ℝ] Space) x‖ ≤ CF*majorant Rc 0 n) | |
| 75 | - (hF₁b : ∀ n t x, ‖iteratedFDeriv ℝ n (F₁.field t : Space → Space →L[ℝ] Space) x‖ ≤ CF₁*majorant Rc 0 n) | |
| 76 | - (hHb : ∀ n t x, ‖iteratedFDeriv ℝ n (H.field t : Space → Space →L[ℝ] Space) x‖ ≤ CH*majorant Rc 0 n) | |
| 77 | - (hMb : ∀ n x, ‖iteratedFDeriv ℝ n (M0.field : Space → Space →L[ℝ] Space) x‖ ≤ CM*majorant Rc 0 n) | |
| 78 | - (d : ℕ) (hfb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b f) a‖ ≤ Cf*majorant R d n) | |
| 79 | - (n : ℕ) (a : Space) : | |
| 80 | - ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b | |
| 81 | - (sourceCoordinateSolver T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r hBe hBc hL hr hrquarter | |
| 82 | - hext hcore hInv hF K hK hF0 hH hsmall f)) a‖ ≤ majorant R (d+1) n := by | |
| 83 | - have hRc0 : 0 ≤ Rc := (by norm_num : (0 : ℝ) ≤ 1024).trans hRc | |
| 84 | - have hFr : ContDiff ℝ ∞ (fun b : Space => translatePath T b (operatorPath T F.field)) := by | |
| 85 | - simpa only [translatePath_operatorPath] using operatorPathTranslation_contDiff T F | |
| 86 | - have hF₁r : ContDiff ℝ ∞ (fun b : Space => translatePath T b (operatorPath T F₁.field)) := by | |
| 87 | - simpa only [translatePath_operatorPath] using operatorPathTranslation_contDiff T F₁ | |
| 88 | - have hHr : ContDiff ℝ ∞ (fun b : Space => translatePath T b (operatorPath T H.field)) := by | |
| 89 | - simpa only [translatePath_operatorPath] using operatorPathTranslation_contDiff T H | |
| 90 | - have hMr : ContDiff ℝ ∞ (fun b : Space => translateOperator b (multiplier M0.field)) := by | |
| 91 | - simpa only [translateOperator_multiplier] using multiplierTranslation_contDiff M0 | |
| 92 | - have hAr : ContDiff ℝ ∞ (fun b : Space => translateOperator b (boundaryOperator (scaledCutoff ℓ hℓ))) := by | |
| 93 | - simpa only [translateOperator_boundary] using scaledBoundaryOperator_contDiff ℓ hℓ | |
| 94 | - have hAb (k b) : ‖iteratedFDeriv ℝ k | |
| 95 | - (fun y : Space => translateOperator y (boundaryOperator (scaledCutoff ℓ hℓ))) b‖ ≤ | |
| 96 | - scaledBoundaryOperatorAmplitude*majorant Rc 0 k := by | |
| 97 | - have h := scaledBoundaryOperator_gevrey ℓ hℓ hℓ1 k b | |
| 98 | - apply (show ‖iteratedFDeriv ℝ k | |
| 99 | - (fun y : Space => translateOperator y (boundaryOperator (scaledCutoff ℓ hℓ))) b‖ ≤ | |
| 100 | - scaledBoundaryOperatorAmplitude*majorant 1024 0 k by | |
| 101 | - simpa only [translateOperator_boundary] using h).trans | |
| 102 | - exact mul_le_mul_of_nonneg_left (majorant_radius_mono 1024 Rc (by norm_num) hRc 0 k) | |
| 103 | - scaledBoundaryOperatorAmplitude_nonneg | |
| 104 | - exact solution_translation_gevrey T hT (operatorPath T F.field) (operatorPath T F₁.field) | |
| 105 | - (operatorPath T H.field) (multiplier M0.field) (boundaryOperator (scaledCutoff ℓ hℓ)) L | |
| 106 | - (sourceFixedCoercivity T F F₁ FInv) (sourceFixedCoercivity_pos T hT F F₁ FInv) | |
| 107 | - (sourceFixedForm_coercive T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r hBe hBc hL hr hrquarter | |
| 108 | - hext hcore hInv hF K hK hF0 hH hsmall) | |
| 109 | - hFr hF₁r hHr hMr hAr f hf Rc R M CF CF₁ CH CM scaledBoundaryOperatorAmplitude Cf | |
| 110 | - hRc0 hCF hCF₁ hCH hCM scaledBoundaryOperatorAmplitude_nonneg hCf hM hMC hMD hR | |
| 111 | - (translatedPath_bound T F Rc CF hRc0 hCF hFb) | |
| 112 | - (translatedPath_bound T F₁ Rc CF₁ hRc0 hCF₁ hF₁b) | |
| 113 | - (translatedPath_bound T H Rc CH hRc0 hCH hHb) | |
| 114 | - (translatedMultiplier_bound M0 Rc CM hRc0 hCM hMb) hAb d hfb n a | |
| 115 | - | |
| 116 | 62 | end EulerMeanSourceGevrey |
+0 −64 Euler/MeanSourceSpatialRegularity.lean View file
| @@ -78,68 +78,4 @@ theorem velocity_translation_contDiff | ||
| 78 | 78 | (sourceCoordinateSolver_translation_contDiff T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r |
| 79 | 79 | hBe hBc hL hr hrquarter hext hcore hInv hF K hK hF0 hH hsmall f hf) |
| 80 | 80 | |
| 81 | -/-- The actual acceleration has genuine spatial regularity, supplied by the | |
| 82 | -uniformly coercive translated Gram solve. -/ | |
| 83 | -theorem acceleration_translation_contDiff | |
| 84 | - (hf : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a f)) : | |
| 85 | - ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.acceleration) := by | |
| 86 | - have hFr : ContDiff ℝ ∞ (fun a : Space => translatePath T a (operatorPath T F.field)) := by | |
| 87 | - simpa only [translatePath_operatorPath] using operatorPathTranslation_contDiff T F | |
| 88 | - have hF₁r : ContDiff ℝ ∞ (fun a : Space => translatePath T a (operatorPath T F₁.field)) := by | |
| 89 | - simpa only [translatePath_operatorPath] using operatorPathTranslation_contDiff T F₁ | |
| 90 | - have hv := velocity_translation_contDiff T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r | |
| 91 | - hBe hBc hL hr hrquarter hext hcore hInv hF hRight K hK hF0 hH hsmall f s hf | |
| 92 | - have heq := s.acceleration_eq_meanAcceleration (meanFrameCoercivity T FInv) | |
| 93 | - (meanFrameCoercivity_pos T FInv) (solenoidalFrame_lower T FInv (operatorPath T F.field) hInv) | |
| 94 | - have horbit := congrArg (fun v : TimeLp T solenoidalSpace => | |
| 95 | - fun a : Space => timeSolenoidalTranslation T a v) heq | |
| 96 | - exact Eq.mpr (congrArg (fun g : Space → TimeLp T solenoidalSpace => ContDiff ℝ ∞ g) horbit) | |
| 97 | - (meanAcceleration_translation_contDiff T hT (operatorPath T F.field) (operatorPath T F₁.field) | |
| 98 | - (meanFrameCoercivity T FInv) (meanFrameCoercivity_pos T FInv) | |
| 99 | - (solenoidalFrame_lower T FInv (operatorPath T F.field) hInv) s.velocityLp f hFr hF₁r hv hf) | |
| 100 | - | |
| 101 | -/-- Both actual physical fields B and B_t, and their pressure residual, have | |
| 102 | -smooth spatial translation orbits. -/ | |
| 103 | -theorem physical_translation_contDiff | |
| 104 | - (hf : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a f)) : | |
| 105 | - ContDiff ℝ ∞ (fun a : Space => timeTranslation T a s.velocityField) ∧ | |
| 106 | - ContDiff ℝ ∞ (fun a : Space => timeTranslation T a s.velocityDerivative) ∧ | |
| 107 | - ContDiff ℝ ∞ (fun a : Space => timeTranslation T a s.pressureResidual) := by | |
| 108 | - have hFr : ContDiff ℝ ∞ (fun a : Space => translatePath T a (operatorPath T F.field)) := by | |
| 109 | - simpa only [translatePath_operatorPath] using operatorPathTranslation_contDiff T F | |
| 110 | - have hF₁r : ContDiff ℝ ∞ (fun a : Space => translatePath T a (operatorPath T F₁.field)) := by | |
| 111 | - simpa only [translatePath_operatorPath] using operatorPathTranslation_contDiff T F₁ | |
| 112 | - have hv := velocity_translation_contDiff T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r | |
| 113 | - hBe hBc hL hr hrquarter hext hcore hInv hF hRight K hK hF0 hH hsmall f s hf | |
| 114 | - have ha := acceleration_translation_contDiff T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r | |
| 115 | - hBe hBc hL hr hrquarter hext hcore hInv hF hRight K hK hF0 hH hsmall f s hf | |
| 116 | - exact ⟨s.velocityField_translation_contDiff hFr hv, | |
| 117 | - s.velocityDerivative_translation_contDiff hFr hF₁r hv ha, | |
| 118 | - s.pressureResidual_translation_contDiff hFr hF₁r hv ha hf⟩ | |
| 119 | - | |
| 120 | -/-- The actual reconstructed velocity has a smooth spatial orbit uniformly in time. -/ | |
| 121 | -theorem continuousVelocity_translation_contDiff | |
| 122 | - (hf : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a f)) : | |
| 123 | - ContDiff ℝ ∞ (fun a : Space => pathTranslation T a s.continuousVelocity) := by | |
| 124 | - have hp := physical_translation_contDiff T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r | |
| 125 | - hBe hBc hL hr hrquarter hext hcore hInv hF hRight K hK hF0 hH hsmall f s hf | |
| 126 | - exact s.continuousVelocity_translation_contDiff hp.1 hp.2.1 | |
| 127 | - | |
| 128 | -/-- Every actual time slice, including the initial slice, has a smooth spatial | |
| 129 | -translation orbit. -/ | |
| 130 | -theorem physicalPath_translation_contDiff (hTpos : 0 < T) | |
| 131 | - (hf : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a f)) (t : Icc (0 : ℝ) T) : | |
| 132 | - ContDiff ℝ ∞ (fun a : Space => translation a (s.physicalPath t)) := by | |
| 133 | - have hp := physical_translation_contDiff T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r | |
| 134 | - hBe hBc hL hr hrquarter hext hcore hInv hF hRight K hK hF0 hH hsmall f s hf | |
| 135 | - exact s.physicalPath_translation_contDiff hTpos hF hp.1 hp.2.1 t | |
| 136 | - | |
| 137 | -/-- Each physical time slice has a genuine smooth representative on ordinary R³. -/ | |
| 138 | -theorem physicalPath_smooth_representative (hTpos : 0 < T) | |
| 139 | - (hf : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a f)) (t : Icc (0 : ℝ) T) : | |
| 140 | - ∃ b : Space → Space, ContDiff ℝ ∞ b ∧ (s.physicalPath t : Space → Space) =ᵐ[volume] b := | |
| 141 | - EulerMeanSmoothRepresentative.exists_smooth_representative (s.physicalPath t) | |
| 142 | - (physicalPath_translation_contDiff T hT ℓ hℓ F F₁ H M0 FInv Be Bc L r | |
| 143 | - hBe hBc hL hr hrquarter hext hcore hInv hF hRight K hK hF0 hH hsmall f s hTpos hf t) | |
| 144 | - | |
| 145 | 81 | end EulerMeanSourceSpatialRegularity |
+0 −18 Euler/MeanSourceStrongInverse.lean View file
| @@ -45,22 +45,4 @@ theorem sourceMeanSolver_strong (T : ℝ) (hT : 0 ≤ T) (ℓ : ℝ) (hℓ : 0 < | ||
| 45 | 45 | hF hF₁ hInv hRight hF₁₀ hODE |
| 46 | 46 | (fun z _ => boundaryOperator_solenoidal (scaledCutoff ℓ hℓ) z) f |
| 47 | 47 | |
| 48 | -theorem sourceStrong_initial_ae_support (T : ℝ) (hT : 0 ≤ T) (ℓ : ℝ) (hℓ : 0 < ℓ) | |
| 49 | - (FInv F F₁ : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (L : ℝ) (u f : TimeLp T L2) | |
| 50 | - (S : StrongMeanEvolution T hT FInv F F₁ (boundaryOperator (scaledCutoff ℓ hℓ)) L u f) : | |
| 51 | - ∀ᵐ x ∂volume, 2 < ‖ℓ • x‖ → (S.velocity 0 : L2) x = 0 := by | |
| 52 | - have H := scaledBoundary_multiple_zero_outside ℓ hℓ L (S.label 0 : L2) | |
| 53 | - rw [← S.initial_velocity] at H | |
| 54 | - exact H | |
| 55 | - | |
| 56 | -/-- A continuous representative of the actual initial mean velocity is compactly supported. -/ | |
| 57 | -theorem sourceStrong_initial_compact (T : ℝ) (hT : 0 ≤ T) (ℓ : ℝ) (hℓ : 0 < ℓ) | |
| 58 | - (FInv F F₁ : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (L : ℝ) (u f : TimeLp T L2) | |
| 59 | - (S : StrongMeanEvolution T hT FInv F F₁ (boundaryOperator (scaledCutoff ℓ hℓ)) L u f) | |
| 60 | - (b : Space → Space) (hb : Continuous b) (hrep : b =ᵐ[volume] (S.velocity 0 : L2)) : | |
| 61 | - HasCompactSupport b := by | |
| 62 | - apply scaledBoundary_continuous_compact ℓ hℓ L (S.label 0 : L2) b hb | |
| 63 | - rw [← S.initial_velocity] | |
| 64 | - exact hrep | |
| 65 | - | |
| 66 | 48 | end EulerMeanSourceInverse |
+0 −39 Euler/MeanSourceVariationalInverse.lean View file
| @@ -54,43 +54,4 @@ def sourceMeanSolver : TimeLp T L2 →L[ℝ] meanDerivatives T hT FInv := | ||
| 54 | 54 | (scaled_mean_boundary_lower_bound ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter hext hcore) |
| 55 | 55 | (source_smallness T K Be Bc r hsmall) |
| 56 | 56 | |
| 57 | -theorem sourceMeanSolver_norm (f : TimeLp T L2) : | |
| 58 | - ‖sourceMeanSolver T hT ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter | |
| 59 | - hext hcore FInv H K hK hF0 hH hsmall f‖ ≤ 2*T*‖f‖ := | |
| 60 | - meanSolver_norm T hT FInv H (coefficientOperator M hM C hC) | |
| 61 | - (boundaryOperator (scaledCutoff ℓ hℓ)) L K (effectiveNegativeBound Be Bc r) | |
| 62 | - hK (effectiveNegativeBound_nonneg Be Bc r hBe hBc hr) hF0 hH | |
| 63 | - (scaled_mean_boundary_lower_bound ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter hext hcore) | |
| 64 | - (source_smallness T K Be Bc r hsmall) f | |
| 65 | - | |
| 66 | -/-- The literal mean weak equation, retaining both original initial boundary terms. -/ | |
| 67 | -theorem sourceMeanSolver_weak (f : TimeLp T L2) (v : meanDerivatives T hT FInv) : | |
| 68 | - let u := sourceMeanSolver T hT ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter | |
| 69 | - hext hcore FInv H K hK hF0 hH hsmall f | |
| 70 | - ⟪(u : TimeLp T L2), (v : TimeLp T L2)⟫_ℝ - | |
| 71 | - ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv v⟫_ℝ + | |
| 72 | - ⟪coefficientOperator M hM C hC (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ + | |
| 73 | - L * ⟪boundaryOperator (scaledCutoff ℓ hℓ) (meanTrace T hT FInv u), | |
| 74 | - meanTrace T hT FInv v⟫_ℝ = -⟪f, meanPrimitive T hT FInv v⟫_ℝ := | |
| 75 | - meanSolver_weak T hT FInv H (coefficientOperator M hM C hC) | |
| 76 | - (boundaryOperator (scaledCutoff ℓ hℓ)) L K (effectiveNegativeBound Be Bc r) | |
| 77 | - hK (effectiveNegativeBound_nonneg Be Bc r hBe hBc hr) hF0 hH | |
| 78 | - (scaled_mean_boundary_lower_bound ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter hext hcore) | |
| 79 | - (source_smallness T K Be Bc r hsmall) f v | |
| 80 | - | |
| 81 | -include hK hF0 hH hsmall hBe hBc hL hr hrquarter hext hcore in | |
| 82 | -/-- Existence and uniqueness from the actual source spatial and time assumptions. -/ | |
| 83 | -theorem existsUnique_source_mean_weak_solution (f : TimeLp T L2) : | |
| 84 | - ∃! u : meanDerivatives T hT FInv, ∀ v : meanDerivatives T hT FInv, | |
| 85 | - ⟪(u : TimeLp T L2), (v : TimeLp T L2)⟫_ℝ - | |
| 86 | - ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv v⟫_ℝ + | |
| 87 | - ⟪coefficientOperator M hM C hC (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ + | |
| 88 | - L * ⟪boundaryOperator (scaledCutoff ℓ hℓ) (meanTrace T hT FInv u), | |
| 89 | - meanTrace T hT FInv v⟫_ℝ = -⟪f, meanPrimitive T hT FInv v⟫_ℝ := | |
| 90 | - existsUnique_mean_weak_solution T hT FInv H (coefficientOperator M hM C hC) | |
| 91 | - (boundaryOperator (scaledCutoff ℓ hℓ)) L K (effectiveNegativeBound Be Bc r) | |
| 92 | - hK (effectiveNegativeBound_nonneg Be Bc r hBe hBc hr) hF0 hH | |
| 93 | - (scaled_mean_boundary_lower_bound ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter hext hcore) | |
| 94 | - (source_smallness T K Be Bc r hsmall) f | |
| 95 | - | |
| 96 | 57 | end EulerMeanSourceInverse |
+0 −18 Euler/MeanSpatialDerivative.lean View file
| @@ -47,22 +47,4 @@ theorem fderiv_representative_apply (u : EulerMeanSolenoidal.L2) (hu : SmoothOrb | ||
| 47 | 47 | (orbitDerivative_ae_fderiv u hu v) |
| 48 | 48 | exact (congrFun H x).symm |
| 49 | 49 | |
| 50 | -theorem representative_directional_memLp (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) (v : Space) : | |
| 51 | - MemLp (fun x => fderiv ℝ (representative u hu) x v) 2 (volume : Measure Space) := | |
| 52 | - (Lp.memLp (orbitDerivative u v)).ae_eq (orbitDerivative_ae_fderiv u hu v) | |
| 53 | - | |
| 54 | -/-- The full classical first derivative is genuinely square-integrable. -/ | |
| 55 | -theorem representative_fderiv_memLp (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) : | |
| 56 | - MemLp (fderiv ℝ (representative u hu)) 2 (volume : Measure Space) := by | |
| 57 | - let f (i : Fin 3) (x : Space) := ‖fderiv ℝ (representative u hu) x (EuclideanSpace.single i 1)‖ | |
| 58 | - have hf (i : Fin 3) : MemLp (f i) 2 (volume : Measure Space) := | |
| 59 | - (representative_directional_memLp u hu (EuclideanSpace.single i 1)).norm | |
| 60 | - have hs : MemLp (∑ i : Fin 3, f i) 2 (volume : Measure Space) := | |
| 61 | - memLp_finsetSum' Finset.univ (fun i _ => hf i) | |
| 62 | - apply hs.mono' | |
| 63 | - ((representative_smooth u hu).fderiv_right (m := ∞) (by simp)).continuous.aestronglyMeasurable | |
| 64 | - apply Filter.Eventually.of_forall | |
| 65 | - intro x | |
| 66 | - simpa only [Finset.sum_apply, f] using opNorm_le_sum_columns (fderiv ℝ (representative u hu) x) | |
| 67 | - | |
| 68 | 50 | end EulerMeanSmoothRepresentative |
+0 −13 Euler/MeanSpatialEvaluation.lean View file
| @@ -39,17 +39,4 @@ theorem representative_bound (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) ( | ||
| 39 | 39 | exact H.trans (mul_le_mul_of_nonneg_left (ordinarySobolev_norm_le 3 u hu) |
| 40 | 40 | (sobolevEmbeddingConstant_nonneg 1 3)) |
| 41 | 41 | |
| 42 | -/-- A family with continuous genuine L² derivatives through order three has jointly continuous values. -/ | |
| 43 | -theorem representative_joint_continuous {T : Type*} [TopologicalSpace T] | |
| 44 | - (u : T → EulerMeanSolenoidal.L2) (hu : ∀ t, SmoothOrbit (u t)) | |
| 45 | - (hjet : ∀ n ≤ 3, Continuous | |
| 46 | - (fun t => iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a (u t)) 0)) : | |
| 47 | - Continuous (fun p : T × Space => representative (u p.1) (hu p.1) p.2) := by | |
| 48 | - have hc := ordinarySobolev_continuous 3 u hu hjet | |
| 49 | - have hp : Continuous (fun p : T × Space => | |
| 50 | - (ordinarySobolev 3 (u p.1) (hu p.1), (p.2, (0 : AddCircle (1 : ℝ))))) := | |
| 51 | - (hc.comp continuous_fst).prodMk (continuous_snd.prodMk continuous_const) | |
| 52 | - have H := (EulerSobolevJointEvaluation.pointEvaluation_joint_continuous 1).comp hp | |
| 53 | - simpa only [Function.comp_def, pointEvaluation_ordinary] using H | |
| 54 | - | |
| 55 | 42 | end EulerMeanSmoothRepresentative |
+0 −60 Euler/MeanSpatialTimeDerivative.lean View file
| @@ -25,64 +25,4 @@ private theorem hasDerivWithinAt_submodule_iff {E : Type*} [NormedAddCommGroup E | ||
| 25 | 25 | rw [hasDerivWithinAt_iff_tendsto, hasDerivWithinAt_iff_tendsto] |
| 26 | 26 | rfl |
| 27 | 27 | |
| 28 | -/-- The derivative of the complete Sobolev array is fixed by the actual finite L² derivative tensors. -/ | |
| 29 | -theorem ordinarySobolev_hasDerivAt (q : ℕ) (u : ℝ → EulerMeanSolenoidal.L2) | |
| 30 | - (hu : ∀ t, SmoothOrbit (u t)) (v : EulerMeanSolenoidal.L2) (hv : SmoothOrbit v) (t : ℝ) | |
| 31 | - (hjet : ∀ n ≤ q, HasDerivAt | |
| 32 | - (fun s => iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a (u s)) 0) | |
| 33 | - (iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a v) 0) t) : | |
| 34 | - HasDerivAt (fun s => ordinarySobolev q (u s) (hu s)) (ordinarySobolev q v hv) t := by | |
| 35 | - apply (hasDerivAt_submodule_iff (sobolevSubspace 1 q).toSubmodule _ _ _).mpr | |
| 36 | - apply hasDerivAt_pi.mpr | |
| 37 | - intro w | |
| 38 | - change HasDerivAt (fun s => (ordinarySobolev q (u s) (hu s)).val w) | |
| 39 | - ((ordinarySobolev q v hv).val w) t | |
| 40 | - simp_rw [ordinarySobolev_coordinate] | |
| 41 | - let L := ordinaryLift.toContinuousLinearMap.comp | |
| 42 | - (ContinuousMultilinearMap.apply ℝ (fun _ : Fin w.1.val => Space) EulerMeanSolenoidal.L2 | |
| 43 | - (coordinateTuple w.2)) | |
| 44 | - exact L.hasFDerivAt.comp_hasDerivAt t (hjet w.1.val (Nat.le_of_lt_succ w.1.isLt)) | |
| 45 | - | |
| 46 | -theorem ordinarySobolev_hasDerivWithinAt (q : ℕ) (u : ℝ → EulerMeanSolenoidal.L2) | |
| 47 | - (hu : ∀ t, SmoothOrbit (u t)) (v : EulerMeanSolenoidal.L2) (hv : SmoothOrbit v) | |
| 48 | - (U : Set ℝ) (t : ℝ) | |
| 49 | - (hjet : ∀ n ≤ q, HasDerivWithinAt | |
| 50 | - (fun s => iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a (u s)) 0) | |
| 51 | - (iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a v) 0) U t) : | |
| 52 | - HasDerivWithinAt (fun s => ordinarySobolev q (u s) (hu s)) (ordinarySobolev q v hv) U t := by | |
| 53 | - apply (hasDerivWithinAt_submodule_iff (sobolevSubspace 1 q).toSubmodule _ _ _ _).mpr | |
| 54 | - apply hasDerivWithinAt_pi.mpr | |
| 55 | - intro w | |
| 56 | - change HasDerivWithinAt (fun s => (ordinarySobolev q (u s) (hu s)).val w) | |
| 57 | - ((ordinarySobolev q v hv).val w) U t | |
| 58 | - simp_rw [ordinarySobolev_coordinate] | |
| 59 | - let L := ordinaryLift.toContinuousLinearMap.comp | |
| 60 | - (ContinuousMultilinearMap.apply ℝ (fun _ : Fin w.1.val => Space) EulerMeanSolenoidal.L2 | |
| 61 | - (coordinateTuple w.2)) | |
| 62 | - exact L.hasFDerivAt.comp_hasDerivWithinAt t (hjet w.1.val (Nat.le_of_lt_succ w.1.isLt)) | |
| 63 | - | |
| 64 | -/-- The actual pointwise time derivative equals the smooth representative of the L² derivative. -/ | |
| 65 | -theorem representative_hasDerivAt (u : ℝ → EulerMeanSolenoidal.L2) (hu : ∀ t, SmoothOrbit (u t)) | |
| 66 | - (v : EulerMeanSolenoidal.L2) (hv : SmoothOrbit v) (t : ℝ) | |
| 67 | - (hjet : ∀ n ≤ 3, HasDerivAt | |
| 68 | - (fun s => iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a (u s)) 0) | |
| 69 | - (iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a v) 0) t) | |
| 70 | - (x : Space) : | |
| 71 | - HasDerivAt (fun s => representative (u s) (hu s) x) (representative v hv x) t := by | |
| 72 | - have H := (pointEvaluation 1 (x, 0)).hasFDerivAt.comp_hasDerivAt t | |
| 73 | - (ordinarySobolev_hasDerivAt 3 u hu v hv t hjet) | |
| 74 | - simpa only [Function.comp_def, pointEvaluation_ordinary] using H | |
| 75 | - | |
| 76 | -theorem representative_hasDerivWithinAt (u : ℝ → EulerMeanSolenoidal.L2) | |
| 77 | - (hu : ∀ t, SmoothOrbit (u t)) (v : EulerMeanSolenoidal.L2) (hv : SmoothOrbit v) | |
| 78 | - (U : Set ℝ) (t : ℝ) | |
| 79 | - (hjet : ∀ n ≤ 3, HasDerivWithinAt | |
| 80 | - (fun s => iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a (u s)) 0) | |
| 81 | - (iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a v) 0) U t) | |
| 82 | - (x : Space) : | |
| 83 | - HasDerivWithinAt (fun s => representative (u s) (hu s) x) (representative v hv x) U t := by | |
| 84 | - have H := (pointEvaluation 1 (x, 0)).hasFDerivAt.comp_hasDerivWithinAt t | |
| 85 | - (ordinarySobolev_hasDerivWithinAt 3 u hu v hv U t hjet) | |
| 86 | - simpa only [Function.comp_def, pointEvaluation_ordinary] using H | |
| 87 | - | |
| 88 | 28 | end EulerMeanSmoothRepresentative |
+0 −66 Euler/MeanStrongContinuousGevrey.lean View file
| @@ -41,70 +41,4 @@ variable {T : ℝ} {hT : 0 ≤ T} | ||
| 41 | 41 | (hLower : ∀ t v, c*‖v‖^2 ≤ ‖solenoidalFrame T F t v‖^2) |
| 42 | 42 | (fC : C(Icc (0 : ℝ) T,L2)) |
| 43 | 43 | |
| 44 | -/-- Actual continuous acceleration and B_t obey uniform-time spatial | |
| 45 | -factorial bounds, with a fixed H¹ trace cost and one further Gram-inverse shift. -/ | |
| 46 | -theorem continuous_strong_spatial_gevrey (hTpos : 0 < T) | |
| 47 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 48 | - (hF₁ : ContDiff ℝ ∞ (fun a : Space => translatePath T a F₁)) | |
| 49 | - (hv : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.velocityLp)) | |
| 50 | - (ha : ContDiff ℝ ∞ (fun a : Space => timeSolenoidalTranslation T a s.acceleration)) | |
| 51 | - (hfC : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a fC)) | |
| 52 | - (Rc R CF CF₁ Cf : ℝ) (hRc : 0 ≤ Rc) (hR : 1 ≤ R) (hRcR : Rc ≤ R) | |
| 53 | - (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) (hCf : 0 ≤ Cf) | |
| 54 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant Rc 0 n) | |
| 55 | - (hF₁b : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant Rc 0 n) | |
| 56 | - (d : ℕ) | |
| 57 | - (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.velocityLp) a‖ ≤ majorant R (d+1) n) | |
| 58 | - (hab : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.acceleration) a‖ ≤ majorant R (d+2) n) | |
| 59 | - (hfb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => pathTranslation T b fC) a‖ ≤ Cf*majorant R d n) | |
| 60 | - (hstrong : 2*gramCost c CF (3*CF*(Cf+6*CF₁*coordinateTraceCost T))*(Rc+1) ≤ R) : | |
| 61 | - (∀ n a, ‖iteratedFDeriv ℝ n | |
| 62 | - (fun b : Space => coordinatePathTranslation T b (s.classicalAcceleration c hc hLower fC)) a‖ ≤ | |
| 63 | - majorant R (d+3) n) ∧ | |
| 64 | - (∀ n a, ‖iteratedFDeriv ℝ n | |
| 65 | - (fun b : Space => pathTranslation T b (s.classicalPhysicalDerivative c hc hLower fC)) a‖ ≤ | |
| 66 | - (3*(CF₁*coordinateTraceCost T+CF))*majorant R (d+3) n) := by | |
| 67 | - have hR0 : 0 ≤ R := zero_le_one.trans hR | |
| 68 | - have htrace := coordinateTraceCost_nonneg T hT | |
| 69 | - have hvc := s.coordinateVelocityPath_translation_contDiff hTpos hv ha | |
| 70 | - have hvcb (n : ℕ) (a : Space) : | |
| 71 | - ‖iteratedFDeriv ℝ n (fun b : Space => coordinatePathTranslation T b s.coordinateVelocityPath) a‖ ≤ | |
| 72 | - coordinateTraceCost T*majorant R (d+2) n := by | |
| 73 | - have h := s.coordinateVelocityPath_translation_gevrey hTpos hv ha R 1 1 hR0 | |
| 74 | - zero_le_one zero_le_one (d+2) | |
| 75 | - (fun k x => by | |
| 76 | - simpa only [one_mul, Nat.add_assoc] using | |
| 77 | - (hvb k x).trans (majorant_shift_mono R hR (d+1) k)) | |
| 78 | - (fun k x => by simpa only [one_mul] using hab k x) n a | |
| 79 | - simpa only [coordinateTraceCost, mul_one] using h | |
| 80 | - have hfcb (n : ℕ) (a : Space) : | |
| 81 | - ‖iteratedFDeriv ℝ n (fun b : Space => pathTranslation T b fC) a‖ ≤ Cf*majorant R (d+2) n := by | |
| 82 | - apply (hfb n a).trans | |
| 83 | - apply mul_le_mul_of_nonneg_left _ hCf | |
| 84 | - simpa only [Nat.add_assoc] using | |
| 85 | - (majorant_shift_mono R hR d n).trans (majorant_shift_mono R hR (d+1) n) | |
| 86 | - have hac := s.classicalAcceleration_translation_contDiff c hc hLower fC hF hF₁ hvc hfC | |
| 87 | - have hacb (n : ℕ) (a : Space) : | |
| 88 | - ‖iteratedFDeriv ℝ n | |
| 89 | - (fun b : Space => coordinatePathTranslation T b (s.classicalAcceleration c hc hLower fC)) a‖ ≤ | |
| 90 | - majorant R (d+3) n := by | |
| 91 | - have h := meanAccelerationPath_translation_gevrey T F F₁ c hc hLower s.coordinateVelocityPath fC | |
| 92 | - hF hF₁ hvc hfC Rc R CF CF₁ Cf (coordinateTraceCost T) hRc hR0 hRcR | |
| 93 | - hCF hCF₁ hCf htrace hstrong hFb hF₁b (d+2) hfcb hvcb n a | |
| 94 | - simpa only [Nat.add_assoc, meanAccelerationPath, classicalAcceleration] using h | |
| 95 | - refine ⟨hacb, ?_⟩ | |
| 96 | - have hFbR (n : ℕ) (a : Space) : | |
| 97 | - ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant R 0 n := | |
| 98 | - (hFb n a).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 n) hCF) | |
| 99 | - have hF₁bR (n : ℕ) (a : Space) : | |
| 100 | - ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant R 0 n := | |
| 101 | - (hF₁b n a).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 n) hCF₁) | |
| 102 | - intro n a | |
| 103 | - have h := s.classicalPhysicalDerivative_translation_gevrey c hc hLower fC hF hF₁ hvc hac | |
| 104 | - R CF CF₁ (coordinateTraceCost T) 1 hR0 hCF hCF₁ htrace zero_le_one (d+3) hFbR hF₁bR | |
| 105 | - (fun k x => (hvcb k x).trans (mul_le_mul_of_nonneg_left | |
| 106 | - (by simpa only [Nat.add_assoc] using majorant_shift_mono R hR (d+2) k) htrace)) | |
| 107 | - (fun k x => by simpa only [one_mul] using hacb k x) n a | |
| 108 | - simpa only [mul_one] using h | |
| 109 | - | |
| 110 | 44 | end EulerMeanVariationalInverse.StrongMeanEvolution |
+0 −123 Euler/MeanStrongEstimates.lean View file
| @@ -61,128 +61,5 @@ variable {T : ℝ} {hT : 0 ≤ T} | ||
| 61 | 61 | {A : L2 →L[ℝ] L2} {L : ℝ} {u f : TimeLp T L2} |
| 62 | 62 | (s : StrongMeanEvolution T hT FInv F F₁ A L u f) |
| 63 | 63 | |
| 64 | -/-- Inverse-frame application bounds the actual coordinate velocity by B. -/ | |
| 65 | -theorem velocityLp_norm_le | |
| 66 | - (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) : | |
| 67 | - ‖s.velocityLp‖ ≤ ‖FInv‖*‖s.velocityField‖ := by | |
| 68 | - apply Lp.norm_le_mul_norm_of_ae_le_mul | |
| 69 | - filter_upwards [timeMultiplier_ae T hT (solenoidalFrame T F) s.velocityLp] with t ht | |
| 70 | - have hi := (congrArg (fun x : L2 => FInv (projIcc 0 T hT t) x) ht).trans | |
| 71 | - (hInv (projIcc 0 T hT t) (s.velocityLp t : L2)) | |
| 72 | - calc | |
| 73 | - ‖s.velocityLp t‖ = ‖FInv (projIcc 0 T hT t) (s.velocityField t)‖ := | |
| 74 | - (congrArg norm hi).symm | |
| 75 | - _ ≤ ‖FInv (projIcc 0 T hT t)‖*‖s.velocityField t‖ := (FInv _).le_opNorm _ | |
| 76 | - _ ≤ ‖FInv‖*‖s.velocityField t‖ := | |
| 77 | - mul_le_mul_of_nonneg_right (FInv.norm_coe_le_norm _) (norm_nonneg _) | |
| 78 | - | |
| 79 | -/-- The actual physical velocity obeys the explicit derivative-variable bound. -/ | |
| 80 | -theorem velocityField_norm | |
| 81 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 82 | - HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) | |
| 83 | - (hRight : ∀ (t : Icc (0 : ℝ) T) (x : L2), F t (FInv t x) = x) : | |
| 84 | - ‖s.velocityField‖ ≤ (1+‖F₁‖*‖FInv‖*Real.sqrt (T^2/2))*‖u‖ := by | |
| 85 | - calc | |
| 86 | - ‖s.velocityField‖ = ‖meanVelocityMap T hT FInv F₁ u‖ := | |
| 87 | - congrArg norm (s.velocityField_eq_meanVelocityMap hF hRight) | |
| 88 | - _ ≤ _ := meanVelocityMap_apply_norm T hT FInv F₁ u | |
| 89 | - | |
| 90 | -/-- Combining the two actual bounds controls z_t by the original variational variable. -/ | |
| 91 | -theorem velocityLp_norm_from_input | |
| 92 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 93 | - HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) | |
| 94 | - (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) | |
| 95 | - (hRight : ∀ (t : Icc (0 : ℝ) T) (x : L2), F t (FInv t x) = x) : | |
| 96 | - ‖s.velocityLp‖ ≤ ‖FInv‖*((1+‖F₁‖*‖FInv‖*Real.sqrt (T^2/2))*‖u‖) := | |
| 97 | - (s.velocityLp_norm_le hInv).trans | |
| 98 | - (mul_le_mul_of_nonneg_left (s.velocityField_norm hF hRight) (norm_nonneg FInv)) | |
| 99 | - | |
| 100 | -/-- The actual strong acceleration pays only the inverse Gram and coefficient norms. -/ | |
| 101 | -theorem acceleration_norm | |
| 102 | - (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) : | |
| 103 | - ‖s.acceleration‖ ≤ (‖FInv‖+1)^2*‖F‖*(‖f‖+2*‖F₁‖*‖s.velocityLp‖) := by | |
| 104 | - have heq : ∀ᵐ t ∂timeMeasure T, | |
| 105 | - gram (extendPath T hT (solenoidalFrame T F) t) (s.acceleration t) = | |
| 106 | - (solenoidalFrame T F (projIcc 0 T hT t)).adjoint | |
| 107 | - (f t-(2 : ℝ) • solenoidalFrame T F₁ (projIcc 0 T hT t) (s.velocityLp t)) := by | |
| 108 | - filter_upwards [s.equation, s.velocity_ae] with t ht hv | |
| 109 | - have hh := congrArg (fun v : solenoidalSpace => | |
| 110 | - solenoidalProjection ((F (projIcc 0 T hT t)).adjoint | |
| 111 | - (f t-(2 : ℝ) • F₁ (projIcc 0 T hT t) (v : L2)))) hv | |
| 112 | - exact gram_equation_of_ordinary (F (projIcc 0 T hT t)) (F₁ (projIcc 0 T hT t)) | |
| 113 | - (f t) (s.acceleration t) (s.velocityLp t) (ht.trans hh.symm) | |
| 114 | - have h := EulerTransverseStrongEstimates.acceleration_norm T (solenoidalFrame T F) | |
| 115 | - (solenoidalFrame T F₁) (meanFrameCoercivity T FInv) (meanFrameCoercivity_pos T FInv) | |
| 116 | - (solenoidalFrame_lower T FInv F hInv) hT s.velocityLp s.acceleration f heq | |
| 117 | - have h' : ‖s.acceleration‖ ≤ (‖FInv‖+1)^2*‖solenoidalFrame T F‖* | |
| 118 | - (‖f‖+2*‖solenoidalFrame T F₁‖*‖s.velocityLp‖) := by | |
| 119 | - simpa only [meanFrameCoercivity, inv_inv] using h | |
| 120 | - apply h'.trans | |
| 121 | - gcongr | |
| 122 | - · exact solenoidalFrame_norm_le T F | |
| 123 | - · exact solenoidalFrame_norm_le T F₁ | |
| 124 | - | |
| 125 | -/-- The product-rule derivative B_t has the corresponding actual L² bound. -/ | |
| 126 | -theorem velocityDerivative_norm : | |
| 127 | - ‖s.velocityDerivative‖ ≤ ‖F₁‖*‖s.velocityLp‖+‖F‖*‖s.acceleration‖ := by | |
| 128 | - apply (fieldProductDerivative_norm_le T hT (solenoidalFrame T F) (solenoidalFrame T F₁) | |
| 129 | - s.velocityLp s.acceleration).trans | |
| 130 | - exact add_le_add | |
| 131 | - (mul_le_mul_of_nonneg_right (solenoidalFrame_norm_le T F₁) (norm_nonneg _)) | |
| 132 | - (mul_le_mul_of_nonneg_right (solenoidalFrame_norm_le T F) (norm_nonneg _)) | |
| 133 | - | |
| 134 | -/-- The actual pressure-gradient residual is controlled without differentiating H. -/ | |
| 135 | -theorem pressureResidual_norm : | |
| 136 | - ‖s.pressureResidual‖ ≤ ‖f‖+‖F‖*‖s.acceleration‖+2*‖F₁‖*‖s.velocityLp‖ := by | |
| 137 | - have hfa : ‖timeMultiplier T hT (solenoidalFrame T F) s.acceleration‖ ≤ ‖F‖*‖s.acceleration‖ := | |
| 138 | - (timeApply_bound T hT (solenoidalFrame T F) _).trans | |
| 139 | - (mul_le_mul_of_nonneg_right (solenoidalFrame_norm_le T F) (norm_nonneg _)) | |
| 140 | - have hfv : ‖timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp‖ ≤ ‖F₁‖*‖s.velocityLp‖ := | |
| 141 | - (timeApply_bound T hT (solenoidalFrame T F₁) _).trans | |
| 142 | - (mul_le_mul_of_nonneg_right (solenoidalFrame_norm_le T F₁) (norm_nonneg _)) | |
| 143 | - calc | |
| 144 | - ‖s.pressureResidual‖ ≤ ‖f‖+ | |
| 145 | - ‖timeMultiplier T hT (solenoidalFrame T F) s.acceleration‖+ | |
| 146 | - 2*‖timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp‖ := | |
| 147 | - norm_sub_sub_two_smul f | |
| 148 | - (timeMultiplier T hT (solenoidalFrame T F) s.acceleration) | |
| 149 | - (timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp) | |
| 150 | - _ ≤ ‖f‖+‖F‖*‖s.acceleration‖+2*(‖F₁‖*‖s.velocityLp‖) := | |
| 151 | - add_le_add (add_le_add le_rfl hfa) (mul_le_mul_of_nonneg_left hfv (by norm_num)) | |
| 152 | - _ = _ := by ring | |
| 153 | - | |
| 154 | -/-- The derived compact-initial-data law has an actual quantitative trace bound. -/ | |
| 155 | -theorem initialPhysicalVelocity_norm | |
| 156 | - (hFInv₀ : FInv ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) | |
| 157 | - (hF₀ : F ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) : | |
| 158 | - ‖s.physicalPath 0‖ ≤ |L| * ‖A‖*Real.sqrt T*‖u‖ := by | |
| 159 | - have hz : (s.label 0 : L2) = realPrimitive T u 0 := by | |
| 160 | - simpa only [hFInv₀, id_apply] using s.label_eq ⟨0, le_rfl, hT⟩ | |
| 161 | - have hzbound : ‖(s.label 0 : L2)‖ ≤ Real.sqrt T*‖u‖ := by | |
| 162 | - have h := realPrimitive_norm_le T u 0 ⟨le_rfl, hT⟩ | |
| 163 | - simp only [sub_zero] at h | |
| 164 | - exact (congrArg norm hz).trans_le h | |
| 165 | - calc | |
| 166 | - ‖s.physicalPath 0‖ = |L| * ‖A (s.label 0 : L2)‖ := by | |
| 167 | - rw [s.physicalPath_initial hF₀, norm_smul, Real.norm_eq_abs] | |
| 168 | - _ ≤ |L| * (‖A‖*‖(s.label 0 : L2)‖) := | |
| 169 | - mul_le_mul_of_nonneg_left (A.le_opNorm _) (abs_nonneg L) | |
| 170 | - _ ≤ |L| * (‖A‖*(Real.sqrt T*‖u‖)) := | |
| 171 | - mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left hzbound (norm_nonneg A)) (abs_nonneg L) | |
| 172 | - _ = _ := by ring | |
| 173 | - | |
| 174 | -/-- The actual continuous velocity is uniformly controlled in time by its | |
| 175 | -initial trace and the proved L² derivative bound. -/ | |
| 176 | -theorem physicalPath_norm_uniform | |
| 177 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 178 | - HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) | |
| 179 | - (hFInv₀ : FInv ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) | |
| 180 | - (hF₀ : F ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) | |
| 181 | - (t : ℝ) (ht : t ∈ Icc (0 : ℝ) T) : | |
| 182 | - ‖s.physicalPath t‖ ≤ |L| * ‖A‖*Real.sqrt T*‖u‖+Real.sqrt T*‖s.velocityDerivative‖ := by | |
| 183 | - have hV := s.physical_h1 hF | |
| 184 | - apply (norm_le_initial_add_uniform T hT s.velocityDerivative s.physicalPath hV.1 hV.2.2 t ht).trans | |
| 185 | - exact add_le_add (s.initialPhysicalVelocity_norm hFInv₀ hF₀) le_rfl | |
| 186 | - | |
| 187 | 64 | end StrongMeanEvolution |
| 188 | 65 | end EulerMeanVariationalInverse |
+0 −58 Euler/MeanStrongGevrey.lean View file
| @@ -70,62 +70,4 @@ variable (c : ℝ) (hc : 0 < c) | ||
| 70 | 70 | (hfb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b f) a‖ ≤ Cf*majorant R d n) |
| 71 | 71 | (hvb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.velocityLp) a‖ ≤ majorant R (d+1) n) |
| 72 | 72 | |
| 73 | -include hc hLower hF hF₁ hv hf hRc hR hRcR hCF hCF₁ hCf hstrong hFb hF₁b hfb hvb in | |
| 74 | -/-- The actual strong fields have the source's successive factorial shifts. -/ | |
| 75 | -theorem spatial_gevrey_bounds : | |
| 76 | - (∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.acceleration) a‖ ≤ | |
| 77 | - majorant R (d+2) n) ∧ | |
| 78 | - (∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityField) a‖ ≤ | |
| 79 | - (3*CF)*majorant R (d+1) n) ∧ | |
| 80 | - (∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityDerivative) a‖ ≤ | |
| 81 | - (3*(CF₁+CF))*majorant R (d+2) n) := by | |
| 82 | - have hR0 : 0 ≤ R := zero_le_one.trans hR | |
| 83 | - have hfb' (n a) : ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b f) a‖ ≤ | |
| 84 | - Cf*majorant R (d+1) n := | |
| 85 | - (hfb n a).trans (mul_le_mul_of_nonneg_left (majorant_shift_mono R hR d n) hCf) | |
| 86 | - have hva (n a) := meanAcceleration_translation_gevrey T hT F F₁ c hc hLower s.velocityLp f | |
| 87 | - hF hF₁ hv hf Rc R CF CF₁ Cf 1 hRc hR0 hRcR hCF hCF₁ hCf zero_le_one | |
| 88 | - (by simpa only [mul_one] using hstrong) hFb hF₁b (d+1) hfb' | |
| 89 | - (by simpa only [one_mul] using hvb) n a | |
| 90 | - have heq := congrArg (fun v : TimeLp T solenoidalSpace => | |
| 91 | - fun a : Space => timeSolenoidalTranslation T a v) (s.acceleration_eq_meanAcceleration c hc hLower) | |
| 92 | - have hab (n a) : ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.acceleration) a‖ ≤ | |
| 93 | - majorant R (d+2) n := by | |
| 94 | - have h := (congrArg (fun g : Space → TimeLp T solenoidalSpace => ‖iteratedFDeriv ℝ n g a‖) heq).trans_le (hva n a) | |
| 95 | - simpa only [Nat.add_assoc] using h | |
| 96 | - have hFR (n a) : ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant R 0 n := | |
| 97 | - (hFb n a).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 n) hCF) | |
| 98 | - have hF₁R (n a) : ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant R 0 n := | |
| 99 | - (hF₁b n a).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 n) hCF₁) | |
| 100 | - have hBb (n a) : ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b s.velocityField) a‖ ≤ | |
| 101 | - (3*CF)*majorant R (d+1) n := by | |
| 102 | - simpa only [mul_one] using s.velocityField_translation_gevrey hF hv R CF 1 hR0 hCF zero_le_one | |
| 103 | - (d+1) hFR (by simpa only [one_mul] using hvb) n a | |
| 104 | - have hvb' (n a) : ‖iteratedFDeriv ℝ n (fun b : Space => timeSolenoidalTranslation T b s.velocityLp) a‖ ≤ | |
| 105 | - 1*majorant R (d+2) n := by | |
| 106 | - simpa only [one_mul, Nat.add_assoc] using (hvb n a).trans (majorant_shift_mono R hR (d+1) n) | |
| 107 | - have ha := s.acceleration_orbit_contDiff c hc hLower hF hF₁ hv hf | |
| 108 | - refine ⟨hab, hBb, ?_⟩ | |
| 109 | - intro n a | |
| 110 | - simpa only [mul_one] using s.velocityDerivative_translation_gevrey hF hF₁ hv ha | |
| 111 | - R CF CF₁ 1 1 hR0 hCF hCF₁ zero_le_one zero_le_one (d+2) hFR hF₁R hvb' | |
| 112 | - (by simpa only [one_mul] using hab) n a | |
| 113 | - | |
| 114 | -include hc hLower hF hF₁ hv hf hRc hR hRcR hCF hCF₁ hCf hstrong hFb hF₁b hfb hvb in | |
| 115 | -/-- The actual continuous-time velocity has the same fixed factorial radius. -/ | |
| 116 | -theorem continuousVelocity_spatial_gevrey (hTpos : 0 < T) (n : ℕ) (a : Space) : | |
| 117 | - ‖iteratedFDeriv ℝ n (fun b : Space => pathTranslation T b s.continuousVelocity) a‖ ≤ | |
| 118 | - ((T⁻¹*Real.sqrt T)*(3*CF)+(2*Real.sqrt T)*(3*(CF₁+CF)))*majorant R (d+2) n := by | |
| 119 | - have hb := s.spatial_gevrey_bounds c hc hLower hF hF₁ hv hf Rc R CF CF₁ Cf hRc hR hRcR | |
| 120 | - hCF hCF₁ hCf hstrong hFb hF₁b d hfb hvb | |
| 121 | - have hBb (k b) : ‖iteratedFDeriv ℝ k (fun x : Space => timeTranslation T x s.velocityField) b‖ ≤ | |
| 122 | - (3*CF)*majorant R (d+2) k := by | |
| 123 | - have h := (hb.2.1 k b).trans (mul_le_mul_of_nonneg_left (majorant_shift_mono R hR (d+1) k) (by positivity)) | |
| 124 | - simpa only [Nat.add_assoc] using h | |
| 125 | - have ha := s.acceleration_orbit_contDiff c hc hLower hF hF₁ hv hf | |
| 126 | - exact s.continuousVelocity_translation_gevrey hTpos (s.velocityField_translation_contDiff hF hv) | |
| 127 | - (s.velocityDerivative_translation_contDiff hF hF₁ hv ha) | |
| 128 | - R (3*CF) (3*(CF₁+CF)) (zero_le_one.trans hR) (by positivity) (by positivity) (d+2) | |
| 129 | - hBb hb.2.2 n a | |
| 130 | - | |
| 131 | 73 | end EulerMeanVariationalInverse.StrongMeanEvolution |
+0 −38 Euler/MeanTimeContinuousTranslation.lean View file
| @@ -53,33 +53,6 @@ theorem reconstruction_translation_contDiff (T : ℝ) (hT : 0 ≤ T) | ||
| 53 | 53 | (reconstruction_contDiff T hT (fun a : Space => timeTranslation T a p) |
| 54 | 54 | (fun a : Space => timeTranslation T a q) hp hq) |
| 55 | 55 | |
| 56 | -/-- The true uniform-time norm of every spatial orbit derivative has only the | |
| 57 | -proved H¹ trace cost. -/ | |
| 58 | -theorem reconstruction_translation_gevrey (T : ℝ) (hT : 0 < T) | |
| 59 | - (p q : TimeLp T L2) | |
| 60 | - (hp : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a p)) | |
| 61 | - (hq : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a q)) | |
| 62 | - (R C D : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (hD : 0 ≤ D) (d : ℕ) | |
| 63 | - (hbp : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b p) a‖ ≤ C*majorant R d n) | |
| 64 | - (hbq : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b q) a‖ ≤ D*majorant R d n) | |
| 65 | - (n : ℕ) (a : Space) : | |
| 66 | - ‖iteratedFDeriv ℝ n (fun b : Space => | |
| 67 | - pathTranslation T b (reconstruction T hT.le (p,q))) a‖ ≤ | |
| 68 | - ((T⁻¹*Real.sqrt T)*C+(2*Real.sqrt T)*D)*majorant R d n := by | |
| 69 | - have heq : (fun b : Space => pathTranslation T b (reconstruction T hT.le (p,q))) = | |
| 70 | - fun b : Space => reconstruction T hT.le (timeTranslation T b p, timeTranslation T b q) := | |
| 71 | - funext (fun b => pathTranslation_reconstruction T hT.le b p q) | |
| 72 | - exact (congrArg (fun g : Space → C(Icc (0 : ℝ) T, L2) => ‖iteratedFDeriv ℝ n g a‖) heq).trans_le | |
| 73 | - (reconstruction_gevrey T hT (fun b : Space => timeTranslation T b p) | |
| 74 | - (fun b : Space => timeTranslation T b q) hp hq R C D hR hC hD d hbp hbq n a) | |
| 75 | - | |
| 76 | -/-- Time evaluation is a norm contraction on continuous ordinary-L² paths. -/ | |
| 77 | -theorem evaluation_norm_le (T : ℝ) (t : Icc (0 : ℝ) T) : | |
| 78 | - ‖(ContinuousMap.evalCLM ℝ t : C(Icc (0 : ℝ) T, L2) →L[ℝ] L2)‖ ≤ 1 := by | |
| 79 | - apply opNorm_le_bound _ zero_le_one | |
| 80 | - intro p | |
| 81 | - simpa only [ContinuousMap.evalCLM_apply, one_mul] using p.norm_coe_le_norm t | |
| 82 | - | |
| 83 | 56 | /-- Every actual time value has a smooth ordinary spatial translation orbit. -/ |
| 84 | 57 | theorem pathTranslation_evaluation_contDiff (T : ℝ) |
| 85 | 58 | (p : C(Icc (0 : ℝ) T, L2)) {n : ℕ∞ω} |
| @@ -90,15 +63,4 @@ theorem pathTranslation_evaluation_contDiff (T : ℝ) | ||
| 90 | 63 | (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := n) |
| 91 | 64 | (E := C(Icc (0 : ℝ) T, L2)) (F := L2) (ContinuousMap.evalCLM ℝ t)) hp |
| 92 | 65 | |
| 93 | -/-- Time evaluation preserves every uniform spatial factorial bound without loss. -/ | |
| 94 | -theorem pathTranslation_evaluation_gevrey (T : ℝ) | |
| 95 | - (p : C(Icc (0 : ℝ) T, L2)) | |
| 96 | - (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) | |
| 97 | - (R C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) (d : ℕ) | |
| 98 | - (hb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => pathTranslation T b p) a‖ ≤ C*majorant R d n) | |
| 99 | - (t : Icc (0 : ℝ) T) (n : ℕ) (a : Space) : | |
| 100 | - ‖iteratedFDeriv ℝ n (fun b : Space => translation b (p t)) a‖ ≤ C*majorant R d n := | |
| 101 | - contraction_bound (ContinuousMap.evalCLM ℝ t : C(Icc (0 : ℝ) T, L2) →L[ℝ] L2) | |
| 102 | - (evaluation_norm_le T t) (fun b : Space => pathTranslation T b p) hp R C hR hC d hb n a | |
| 103 | - | |
| 104 | 66 | end EulerMeanTimeContinuousTranslation |
+0 −21 Euler/MeanTimeReflection.lean View file
| @@ -52,27 +52,6 @@ theorem timeSolenoidalReflection_ae (T : ℝ) (u : TimeLp T solenoidalSpace) : | ||
| 52 | 52 | timeSolenoidalReflection_ae T u] with t h₁ h₂ |
| 53 | 53 | exact h₁.trans ((congrArg solenoidalReflection h₂).trans (solenoidalReflection_involutive (u t))) |
| 54 | 54 | |
| 55 | -theorem timeReflection_inner_shift (T : ℝ) (u v : TimeLp T L2) : | |
| 56 | - ⟪timeReflection T u,v⟫_ℝ = ⟪u,timeReflection T v⟫_ℝ := | |
| 57 | - (congrArg (fun z : TimeLp T L2 => ⟪timeReflection T u,z⟫_ℝ) | |
| 58 | - (timeReflection_involutive T v)).symm.trans | |
| 59 | - ((timeReflection T).inner_map_map u (timeReflection T v)) | |
| 60 | - | |
| 61 | -theorem timeSolenoidalReflection_inner_shift (T : ℝ) (u v : TimeLp T solenoidalSpace) : | |
| 62 | - ⟪timeSolenoidalReflection T u,v⟫_ℝ = ⟪u,timeSolenoidalReflection T v⟫_ℝ := by | |
| 63 | - have h := LinearIsometry.inner_map_map (𝕜 := ℝ) | |
| 64 | - (E := TimeLp T solenoidalSpace) (E' := TimeLp T solenoidalSpace) | |
| 65 | - (timeSolenoidalReflection T) u (timeSolenoidalReflection T v) | |
| 66 | - simpa only [timeSolenoidalReflection_involutive] using h | |
| 67 | - | |
| 68 | -theorem timeReflection_realPrimitive (T : ℝ) (u : TimeLp T L2) (t : ℝ) : | |
| 69 | - realPrimitive T (timeReflection T u) t = reflection (realPrimitive T u t) := | |
| 70 | - realPrimitive_timeLift T reflection.toContinuousLinearMap u t | |
| 71 | - | |
| 72 | -theorem timeSolenoidalReflection_realPrimitive (T : ℝ) (u : TimeLp T solenoidalSpace) (t : ℝ) : | |
| 73 | - realPrimitive T (timeSolenoidalReflection T u) t = solenoidalReflection (realPrimitive T u t) := | |
| 74 | - realPrimitive_timeLift T solenoidalReflection.toContinuousLinearMap u t | |
| 75 | - | |
| 76 | 55 | theorem timeReflection_initialTrace (T : ℝ) (hT : 0 ≤ T) (u : TimeLp T L2) : |
| 77 | 56 | initialTrace T hT (timeReflection T u) = reflection (initialTrace T hT u) := |
| 78 | 57 | initialTrace_timeLift T hT reflection.toContinuousLinearMap u |
+0 −40 Euler/MeanTimeTranslation.lean View file
| @@ -41,11 +41,6 @@ theorem translation_continuous (u : L2) : Continuous (fun a : Space => translati | ||
| 41 | 41 | exact continuous_const.compMeasurePreservingLp hg |
| 42 | 42 | (fun a => measurePreserving_add_right (volume : Measure Space) a) (by norm_num) |
| 43 | 43 | |
| 44 | -/-- The same strong continuity holds on the closed solenoidal subspace. -/ | |
| 45 | -theorem solenoidalTranslation_continuous (u : solenoidalSpace) : | |
| 46 | - Continuous (fun a : Space => solenoidalTranslation a u) := | |
| 47 | - (translation_continuous (u : L2)).subtype_mk (fun a => translation_solenoidal_mem a u.property) | |
| 48 | - | |
| 49 | 44 | /-- Actual spatial translation at every Bochner time slice. -/ |
| 50 | 45 | def timeTranslation (T : ℝ) (a : Space) : TimeLp T L2 →ₗᵢ[ℝ] TimeLp T L2 := |
| 51 | 46 | timeLiftIsometry T (translation a) |
| @@ -63,13 +58,6 @@ theorem timeSolenoidalTranslation_ae (T : ℝ) (a : Space) (u : TimeLp T solenoi | ||
| 63 | 58 | timeSolenoidalTranslation T a u =ᵐ[timeMeasure T] fun t => solenoidalTranslation a (u t) := |
| 64 | 59 | timeLift_ae T (solenoidalTranslation a).toContinuousLinearMap u |
| 65 | 60 | |
| 66 | -theorem timeTranslation_add (T : ℝ) (a b : Space) (u : TimeLp T L2) : | |
| 67 | - timeTranslation T a (timeTranslation T b u) = timeTranslation T (a+b) u := by | |
| 68 | - apply Lp.ext | |
| 69 | - filter_upwards [timeTranslation_ae T a (timeTranslation T b u), timeTranslation_ae T b u, | |
| 70 | - timeTranslation_ae T (a+b) u] with t ha hb hab | |
| 71 | - exact (ha.trans (congrArg (translation a) hb)).trans ((translation_add a b (u t)).trans hab.symm) | |
| 72 | - | |
| 73 | 61 | @[simp] theorem timeTranslation_zero (T : ℝ) (u : TimeLp T L2) : timeTranslation T 0 u = u := by |
| 74 | 62 | apply Lp.ext |
| 75 | 63 | filter_upwards [timeTranslation_ae T 0 u] with t ht |
| @@ -90,38 +78,10 @@ theorem timeSolenoidalTranslation_add (T : ℝ) (a b : Space) (u : TimeLp T sole | ||
| 90 | 78 | filter_upwards [timeSolenoidalTranslation_ae T 0 u] with t ht |
| 91 | 79 | exact ht.trans (solenoidalTranslation_zero (u t)) |
| 92 | 80 | |
| 93 | -/-- The actual spatial action is continuous in translation for every time-L² field. -/ | |
| 94 | -theorem timeTranslation_continuous (T : ℝ) (u : TimeLp T L2) : | |
| 95 | - Continuous (fun a : Space => timeTranslation T a u) := | |
| 96 | - timeLift_strongly_continuous T (fun a => (translation a).toContinuousLinearMap) | |
| 97 | - (fun a => (translation a).norm_map) translation_continuous u | |
| 98 | - | |
| 99 | -/-- Strong continuity on the fixed mean derivative space. -/ | |
| 100 | -theorem timeSolenoidalTranslation_continuous (T : ℝ) (u : TimeLp T solenoidalSpace) : | |
| 101 | - Continuous (fun a : Space => timeSolenoidalTranslation T a u) := | |
| 102 | - timeLift_strongly_continuous T (fun a => (solenoidalTranslation a).toContinuousLinearMap) | |
| 103 | - (fun a => (solenoidalTranslation a).norm_map) solenoidalTranslation_continuous u | |
| 104 | - | |
| 105 | -theorem timeTranslation_realPrimitive (T : ℝ) (a : Space) (u : TimeLp T L2) (t : ℝ) : | |
| 106 | - realPrimitive T (timeTranslation T a u) t = translation a (realPrimitive T u t) := | |
| 107 | - realPrimitive_timeLift T (translation a).toContinuousLinearMap u t | |
| 108 | - | |
| 109 | -theorem timeSolenoidalTranslation_realPrimitive (T : ℝ) (a : Space) | |
| 110 | - (u : TimeLp T solenoidalSpace) (t : ℝ) : | |
| 111 | - realPrimitive T (timeSolenoidalTranslation T a u) t = | |
| 112 | - solenoidalTranslation a (realPrimitive T u t) := | |
| 113 | - realPrimitive_timeLift T (solenoidalTranslation a).toContinuousLinearMap u t | |
| 114 | - | |
| 115 | 81 | theorem timeTranslation_initialTrace (T : ℝ) (hT : 0 ≤ T) (a : Space) (u : TimeLp T L2) : |
| 116 | 82 | initialTrace T hT (timeTranslation T a u) = translation a (initialTrace T hT u) := |
| 117 | 83 | initialTrace_timeLift T hT (translation a).toContinuousLinearMap u |
| 118 | 84 | |
| 119 | -theorem timeSolenoidalTranslation_initialTrace (T : ℝ) (hT : 0 ≤ T) (a : Space) | |
| 120 | - (u : TimeLp T solenoidalSpace) : | |
| 121 | - initialTrace T hT (timeSolenoidalTranslation T a u) = | |
| 122 | - solenoidalTranslation a (initialTrace T hT u) := | |
| 123 | - initialTrace_timeLift T hT (solenoidalTranslation a).toContinuousLinearMap u | |
| 124 | - | |
| 125 | 85 | theorem timeTranslation_primitiveTimeLp (T : ℝ) (hT : 0 ≤ T) (a : Space) (u : TimeLp T L2) : |
| 126 | 86 | primitiveTimeLp T hT (timeTranslation T a u) = timeTranslation T a (primitiveTimeLp T hT u) := |
| 127 | 87 | primitiveTimeLp_timeLift T hT (translation a).toContinuousLinearMap u |
+0 −76 Euler/MeanTranslatedGevrey.lean View file
| @@ -34,89 +34,13 @@ private local instance (T : ℝ) : InnerProductSpace ℝ (TimeLp T solenoidalSpa | ||
| 34 | 34 | def operatorAmplitude (T CF CF₁ CH CM CA L : ℝ) : ℝ := |
| 35 | 35 | 9*(T*CF₁+CF)^2*(1+(T^2/2)*CH+T*(CM+|L| * CA)) |
| 36 | 36 | |
| 37 | -/-- The proved polynomial amplitude of the actual forcing pullback. -/ | |
| 38 | -def forcingAmplitude (T CF CF₁ Cf : ℝ) : ℝ := 3*(T*(T*CF₁+CF))*Cf | |
| 39 | - | |
| 40 | 37 | theorem operatorAmplitude_nonneg (T CF CF₁ CH CM CA L : ℝ) |
| 41 | 38 | (hT : 0 ≤ T) (hCH : 0 ≤ CH) (hCM : 0 ≤ CM) (hCA : 0 ≤ CA) : |
| 42 | 39 | 0 ≤ operatorAmplitude T CF CF₁ CH CM CA L := by unfold operatorAmplitude; positivity |
| 43 | 40 | |
| 44 | -theorem forcingAmplitude_nonneg (T CF CF₁ Cf : ℝ) | |
| 45 | - (hT : 0 ≤ T) (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) (hCf : 0 ≤ Cf) : | |
| 46 | - 0 ≤ forcingAmplitude T CF CF₁ Cf := by unfold forcingAmplitude; positivity | |
| 47 | - | |
| 48 | 41 | variable (T : ℝ) (hT : 0 ≤ T) |
| 49 | 42 | (F F₁ H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) (L c : ℝ) |
| 50 | 43 | (hc : 0 < c) |
| 51 | 44 | (hcoercive : ∀ v, c*‖v‖^2 ≤ ⟪fixedMeanOperator T hT F F₁ H M0 A L v,v⟫_ℝ) |
| 52 | 45 | |
| 53 | -/-- Every actual spatial derivative of the solved mean field satisfies the | |
| 54 | -factorial bound, with no assumed solution-jet recurrence. -/ | |
| 55 | -theorem solution_translation_gevrey | |
| 56 | - (hF : ContDiff ℝ ∞ (fun a : Space => translatePath T a F)) | |
| 57 | - (hF₁ : ContDiff ℝ ∞ (fun a : Space => translatePath T a F₁)) | |
| 58 | - (hH : ContDiff ℝ ∞ (fun a : Space => translatePath T a H)) | |
| 59 | - (hM0 : ContDiff ℝ ∞ (fun a : Space => translateOperator a M0)) | |
| 60 | - (hA : ContDiff ℝ ∞ (fun a : Space => translateOperator a A)) | |
| 61 | - (f : TimeLp T L2) (hf : ContDiff ℝ ∞ (fun a : Space => timeTranslation T a f)) | |
| 62 | - (Rc R M CF CF₁ CH CM CA Cf : ℝ) | |
| 63 | - (hRc : 0 ≤ Rc) (hCF : 0 ≤ CF) (hCF₁ : 0 ≤ CF₁) (hCH : 0 ≤ CH) | |
| 64 | - (hCM : 0 ≤ CM) (hCA : 0 ≤ CA) (hCf : 0 ≤ Cf) | |
| 65 | - (hM : 1 ≤ M) | |
| 66 | - (hMC : c⁻¹*operatorAmplitude T CF CF₁ CH CM CA L ≤ M) | |
| 67 | - (hMD : c⁻¹*forcingAmplitude T CF CF₁ Cf ≤ M) | |
| 68 | - (hR : 2*M*(Rc+1) ≤ R) | |
| 69 | - (hFb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant Rc 0 n) | |
| 70 | - (hF₁b : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant Rc 0 n) | |
| 71 | - (hHb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translatePath T b H) a‖ ≤ CH*majorant Rc 0 n) | |
| 72 | - (hMb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translateOperator b M0) a‖ ≤ CM*majorant Rc 0 n) | |
| 73 | - (hAb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => translateOperator b A) a‖ ≤ CA*majorant Rc 0 n) | |
| 74 | - (d : ℕ) (hfb : ∀ n a, ‖iteratedFDeriv ℝ n (fun b : Space => timeTranslation T b f) a‖ ≤ Cf*majorant R d n) | |
| 75 | - (n : ℕ) (x : Space) : | |
| 76 | - ‖iteratedFDeriv ℝ n (fun a : Space => timeSolenoidalTranslation T a | |
| 77 | - (coerciveInverse (fixedMeanOperator T hT F F₁ H M0 A L) c hc hcoercive | |
| 78 | - (-(fixedMeanPrimitive T hT F F₁).adjoint f))) x‖ ≤ majorant R (d+1) n := by | |
| 79 | - have hRcR : Rc ≤ R := by nlinarith | |
| 80 | - have hR0 : 0 ≤ R := hRc.trans hRcR | |
| 81 | - have hFbr (k a) : ‖iteratedFDeriv ℝ k (fun b : Space => translatePath T b F) a‖ ≤ CF*majorant R 0 k := | |
| 82 | - (hFb k a).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 k) hCF) | |
| 83 | - have hF₁br (k a) : ‖iteratedFDeriv ℝ k (fun b : Space => translatePath T b F₁) a‖ ≤ CF₁*majorant R 0 k := | |
| 84 | - (hF₁b k a).trans (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc R hRc hRcR 0 k) hCF₁) | |
| 85 | - have hO : ContDiff ℝ ∞ (fun a : Space => translatedMeanOperator T hT a F F₁ H M0 A L) := | |
| 86 | - contDiff_fixedMeanOperator T hT (fun a => translatePath T a F) (fun a => translatePath T a F₁) | |
| 87 | - (fun a => translatePath T a H) (fun a => translateOperator a M0) (fun a => translateOperator a A) | |
| 88 | - L hF hF₁ hH hM0 hA | |
| 89 | - have hJ : ContDiff ℝ ∞ (fun a : Space => translatedMeanPrimitive T hT a F F₁) := | |
| 90 | - contDiff_fixedMeanPrimitive T hT (fun a => translatePath T a F) (fun a => translatePath T a F₁) hF hF₁ | |
| 91 | - have hG : ContDiff ℝ ∞ (fun a : Space => | |
| 92 | - -(translatedMeanPrimitive T hT a F F₁).adjoint (timeTranslation T a f)) := | |
| 93 | - (((realAdjoint (U := TimeLp T solenoidalSpace) (E := TimeLp T L2)).contDiff.comp hJ).clm_apply hf).neg | |
| 94 | - have hOb (j a) : ‖iteratedFDeriv ℝ (j+1) | |
| 95 | - (fun b : Space => translatedMeanOperator T hT b F F₁ H M0 A L) a‖ ≤ | |
| 96 | - operatorAmplitude T CF CF₁ CH CM CA L*(Rc^(j+1)*((j+1).factorial : ℝ)^2) := by | |
| 97 | - have h := fixedMeanOperator_bound T hT (fun a => translatePath T a F) | |
| 98 | - (fun a => translatePath T a F₁) (fun a => translatePath T a H) | |
| 99 | - (fun a => translateOperator a M0) (fun a => translateOperator a A) L hF hF₁ hH hM0 hA | |
| 100 | - Rc CF CF₁ CH CM CA hRc hCF hCF₁ hCH hCM hCA hFb hF₁b hHb hMb hAb (j+1) a | |
| 101 | - simpa only [translatedMeanOperator, operatorAmplitude, majorant, Nat.add_zero] using h | |
| 102 | - have hGb (k a) : ‖iteratedFDeriv ℝ k (fun b : Space => | |
| 103 | - -(translatedMeanPrimitive T hT b F F₁).adjoint (timeTranslation T b f)) a‖ ≤ | |
| 104 | - forcingAmplitude T CF CF₁ Cf*majorant R d k := | |
| 105 | - fixedMeanForcing_bound T hT (fun a => translatePath T a F) (fun a => translatePath T a F₁) | |
| 106 | - (fun a => timeTranslation T a f) hF hF₁ hf R CF CF₁ Cf hR0 hCF hCF₁ hCf d hFbr hF₁br hfb k a | |
| 107 | - have hout := coerciveSolution_gevrey_amplitudes | |
| 108 | - (fun a : Space => translatedMeanOperator T hT a F F₁ H M0 A L) (fun _ => c) (fun _ => hc) | |
| 109 | - (fun a => translatedMeanOperator_coercive T hT a F F₁ H M0 A L c hcoercive) | |
| 110 | - (fun a : Space => -(translatedMeanPrimitive T hT a F F₁).adjoint (timeTranslation T a f)) hO hG | |
| 111 | - c⁻¹ (operatorAmplitude T CF CF₁ CH CM CA L) (forcingAmplitude T CF CF₁ Cf) M Rc R | |
| 112 | - (operatorAmplitude_nonneg T CF CF₁ CH CM CA L hT hCH hCM hCA) | |
| 113 | - (forcingAmplitude_nonneg T CF CF₁ Cf hT hCF hCF₁ hCf) hM hMC hMD hRc hR (fun _ => le_rfl) | |
| 114 | - hOb d hGb n x | |
| 115 | - have heq : (fun a : Space => translatedMeanSolver T hT F F₁ H M0 A L c hc hcoercive a (timeTranslation T a f)) = | |
| 116 | - (fun a : Space => timeSolenoidalTranslation T a | |
| 117 | - (coerciveInverse (fixedMeanOperator T hT F F₁ H M0 A L) c hc hcoercive | |
| 118 | - (-(fixedMeanPrimitive T hT F F₁).adjoint f))) := | |
| 119 | - funext (fun a => translatedMeanSolver_covariance T hT F F₁ H M0 A L c hc hcoercive a f) | |
| 120 | - exact (congrArg (fun g : Space → TimeLp T solenoidalSpace => ‖iteratedFDeriv ℝ n g x‖) heq.symm).trans_le hout | |
| 121 | - | |
| 122 | 46 | end EulerMeanTranslatedGevrey |
+0 −190 Euler/MeanVariationalInverse.lean View file
| @@ -41,19 +41,6 @@ def meanDerivatives (T : ℝ) (hT : 0 ≤ T) | ||
| 41 | 41 | intro a u hu t |
| 42 | 42 | simpa only [map_smul, ContinuousMap.smul_apply] using solenoidalSpace.smul_mem a (hu t) |
| 43 | 43 | |
| 44 | -/-- Every genuine absolutely continuous terminal-zero path with an L² derivative | |
| 45 | -and the label-solenoidal constraint is represented in this Hilbert space. -/ | |
| 46 | -theorem derivative_mem_of_ac (T : ℝ) (hT : 0 ≤ T) | |
| 47 | - (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (u : TimeLp T L2) (η : ℝ → L2) | |
| 48 | - (hη : AbsolutelyContinuousOnInterval η 0 T) | |
| 49 | - (hder : ∀ᵐ t ∂timeMeasure T, HasDerivAt η (u t) t) (hterminal : η T = 0) | |
| 50 | - (hsolenoidal : ∀ t : Icc (0 : ℝ) T, FInv t (η t) ∈ solenoidalSpace) : | |
| 51 | - u ∈ meanDerivatives T hT FInv := by | |
| 52 | - intro t | |
| 53 | - change FInv t (realPrimitive T u t) ∈ solenoidalSpace | |
| 54 | - rw [← eq_realPrimitive_of_ac_hasDerivAt_ae T hT u η hη hder hterminal t t.property] | |
| 55 | - exact hsolenoidal t | |
| 56 | - | |
| 57 | 44 | /-- Every time constraint is the preimage of the actual closed solenoidal subspace. -/ |
| 58 | 45 | theorem meanDerivatives_closed (T : ℝ) (hT : 0 ≤ T) |
| 59 | 46 | (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) : |
| @@ -117,78 +104,6 @@ theorem meanTrace_boundary (T : ℝ) (hT : 0 ≤ T) | ||
| 117 | 104 | simpa only [add_apply, smul_apply, inner_add_left, real_inner_smul_left] using |
| 118 | 105 | hboundary (meanTrace T hT FInv u) (meanTrace_mem T hT FInv hF0 u) |
| 119 | 106 | |
| 120 | -/-- A polynomial operator bound for the actual terminal primitive. -/ | |
| 121 | -theorem meanPrimitive_norm_le (T : ℝ) (hT : 0 ≤ T) | |
| 122 | - (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) : ‖meanPrimitive T hT FInv‖ ≤ T := by | |
| 123 | - apply ContinuousLinearMap.opNorm_le_bound _ hT | |
| 124 | - intro u | |
| 125 | - apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg hT (norm_nonneg u))).1 | |
| 126 | - calc | |
| 127 | - _ ≤ T^2/2*‖u‖^2 := meanPrimitive_norm_sq T hT FInv u | |
| 128 | - _ ≤ T^2*‖u‖^2 := by | |
| 129 | - apply mul_le_mul_of_nonneg_right _ (sq_nonneg ‖u‖) | |
| 130 | - nlinarith only [sq_nonneg T] | |
| 131 | - _ = (T*‖u‖)^2 := by ring | |
| 132 | - | |
| 133 | -/-- The mean-space primitive has the same genuine integral representative. -/ | |
| 134 | -theorem meanPrimitive_ae (T : ℝ) (hT : 0 ≤ T) | |
| 135 | - (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (u : meanDerivatives T hT FInv) : | |
| 136 | - (meanPrimitive T hT FInv u : ℝ → L2) =ᵐ[timeMeasure T] realPrimitive T (u : TimeLp T L2) := | |
| 137 | - primitiveTimeLp_ae T hT (u : TimeLp T L2) | |
| 138 | - | |
| 139 | -/-- The potential pairing is the literal time integral on the actual displacement paths. -/ | |
| 140 | -theorem meanPotential_inner_eq_integral (T : ℝ) (hT : 0 ≤ T) | |
| 141 | - (FInv H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (u v : meanDerivatives T hT FInv) : | |
| 142 | - ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv v⟫_ℝ = | |
| 143 | - ∫ t, ⟪H (projIcc 0 T hT t) (realPrimitive T (u : TimeLp T L2) t), | |
| 144 | - realPrimitive T (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T := by | |
| 145 | - rw [MeasureTheory.L2.inner_def] | |
| 146 | - apply integral_congr_ae | |
| 147 | - filter_upwards [timeMultiplier_ae T hT H (meanPrimitive T hT FInv u), | |
| 148 | - meanPrimitive_ae T hT FInv u, meanPrimitive_ae T hT FInv v] with t ht hu hv | |
| 149 | - change ⟪(timeMultiplier T hT H (meanPrimitive T hT FInv u) : ℝ → L2) t, | |
| 150 | - (meanPrimitive T hT FInv v : ℝ → L2) t⟫_ℝ = _ | |
| 151 | - exact congrArg₂ (fun x y : L2 => ⟪x, y⟫_ℝ) | |
| 152 | - (ht.trans (congrArg (H (projIcc 0 T hT t)) hu)) hv | |
| 153 | - | |
| 154 | -/-- The forcing pairing is the literal time integral against the actual test displacement. -/ | |
| 155 | -theorem meanForcing_inner_eq_integral (T : ℝ) (hT : 0 ≤ T) | |
| 156 | - (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (f : TimeLp T L2) | |
| 157 | - (v : meanDerivatives T hT FInv) : | |
| 158 | - ⟪f, meanPrimitive T hT FInv v⟫_ℝ = | |
| 159 | - ∫ t, ⟪f t, realPrimitive T (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T := by | |
| 160 | - rw [MeasureTheory.L2.inner_def] | |
| 161 | - apply integral_congr_ae | |
| 162 | - filter_upwards [meanPrimitive_ae T hT FInv v] with t ht | |
| 163 | - exact congrArg (fun z : L2 => ⟪f t, z⟫_ℝ) ht | |
| 164 | - | |
| 165 | -/-- Rewriting the form as actual time integrals is independent of how its | |
| 166 | -argument was constructed. This also keeps the integral interface lightweight. -/ | |
| 167 | -theorem weak_integral_of_weak (T : ℝ) (hT : 0 ≤ T) | |
| 168 | - (FInv H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) (L : ℝ) | |
| 169 | - (u v : meanDerivatives T hT FInv) (f : TimeLp T L2) | |
| 170 | - (h : ⟪(u : TimeLp T L2), (v : TimeLp T L2)⟫_ℝ- | |
| 171 | - ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv v⟫_ℝ+ | |
| 172 | - ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ+ | |
| 173 | - L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ = | |
| 174 | - -⟪f, meanPrimitive T hT FInv v⟫_ℝ) : | |
| 175 | - (∫ t, ⟪(u : TimeLp T L2) t, (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T)- | |
| 176 | - (∫ t, ⟪H (projIcc 0 T hT t) (realPrimitive T (u : TimeLp T L2) t), | |
| 177 | - realPrimitive T (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T)+ | |
| 178 | - ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ+ | |
| 179 | - L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ = | |
| 180 | - -(∫ t, ⟪f t, realPrimitive T (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T) := by | |
| 181 | - have hi : ⟪(u : TimeLp T L2), (v : TimeLp T L2)⟫_ℝ = | |
| 182 | - ∫ t, ⟪(u : TimeLp T L2) t, (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T := | |
| 183 | - MeasureTheory.L2.inner_def (u : TimeLp T L2) (v : TimeLp T L2) | |
| 184 | - have hp := meanPotential_inner_eq_integral T hT FInv H u v | |
| 185 | - have hf := meanForcing_inner_eq_integral T hT FInv f v | |
| 186 | - have hleft := congrArg | |
| 187 | - (fun r : ℝ => r + ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ + | |
| 188 | - L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ) | |
| 189 | - (congrArg₂ (fun x y : ℝ => x-y) hi hp) | |
| 190 | - exact hleft.symm.trans (h.trans (congrArg (fun r : ℝ => -r) hf)) | |
| 191 | - | |
| 192 | 107 | variable (T : ℝ) (hT : 0 ≤ T) |
| 193 | 108 | (FInv : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) |
| 194 | 109 | (H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) |
| @@ -207,52 +122,6 @@ def meanSolver : TimeLp T L2 →L[ℝ] meanDerivatives T hT FInv := | ||
| 207 | 122 | (timeMultiplier_quadratic_upper T hT H K hH) |
| 208 | 123 | (meanTrace_boundary T hT FInv M0 A L B hF0 hboundary) hsmall |
| 209 | 124 | |
| 210 | -/-- The physical displacement is the actual terminal primitive of the solved derivative. -/ | |
| 211 | -def meanEta : TimeLp T L2 →L[ℝ] C(Icc (0 : ℝ) T, L2) := | |
| 212 | - (terminalPrimitive T hT).comp ((meanDerivatives T hT FInv).subtypeL.comp | |
| 213 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall)) | |
| 214 | - | |
| 215 | -/-- Recover the actual continuous solenoidal label displacement `z=FInv η`. -/ | |
| 216 | -def meanDisplacement (f : TimeLp T L2) : C(Icc (0 : ℝ) T, L2) := | |
| 217 | - ⟨fun t => FInv t (meanEta T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f t), | |
| 218 | - FInv.continuous.clm_apply | |
| 219 | - (meanEta T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f).continuous⟩ | |
| 220 | - | |
| 221 | -/-- The recovered label displacement is genuinely solenoidal at every time. -/ | |
| 222 | -theorem meanDisplacement_solenoidal (f : TimeLp T L2) (t : Icc (0 : ℝ) T) : | |
| 223 | - meanDisplacement T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f t ∈ | |
| 224 | - solenoidalSpace := | |
| 225 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f).property t | |
| 226 | - | |
| 227 | -/-- The actual physical displacement has zero terminal trace. -/ | |
| 228 | -theorem meanEta_terminal (f : TimeLp T L2) : | |
| 229 | - meanEta T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f ⟨T, hT, le_rfl⟩ = 0 := | |
| 230 | - terminalPrimitive_terminal T hT | |
| 231 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f : TimeLp T L2) | |
| 232 | - | |
| 233 | -/-- The recovered label displacement also has zero terminal trace. -/ | |
| 234 | -theorem meanDisplacement_terminal (f : TimeLp T L2) : | |
| 235 | - meanDisplacement T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f | |
| 236 | - ⟨T, hT, le_rfl⟩ = 0 := by | |
| 237 | - change FInv _ (meanEta T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f _) = 0 | |
| 238 | - rw [meanEta_terminal T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f, map_zero] | |
| 239 | - | |
| 240 | -/-- The solved derivative is the actual a.e. derivative of the physical displacement. -/ | |
| 241 | -theorem meanEta_hasDerivAt_ae (f : TimeLp T L2) : | |
| 242 | - ∀ᵐ t ∂timeMeasure T, | |
| 243 | - HasDerivAt (realPrimitive T | |
| 244 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f : TimeLp T L2)) | |
| 245 | - ((meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f : TimeLp T L2) t) t := | |
| 246 | - realPrimitive_hasDerivAt_ae T | |
| 247 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f : TimeLp T L2) | |
| 248 | - | |
| 249 | -/-- The physical displacement is a genuine absolutely continuous time path. -/ | |
| 250 | -theorem meanEta_absolutelyContinuous (f : TimeLp T L2) : | |
| 251 | - AbsolutelyContinuousOnInterval (realPrimitive T | |
| 252 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f : TimeLp T L2)) 0 T := | |
| 253 | - realPrimitive_absolutelyContinuous T | |
| 254 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f : TimeLp T L2) | |
| 255 | - | |
| 256 | 125 | /-- The exact mean form with the two original initial boundary terms. -/ |
| 257 | 126 | theorem meanSolver_weak (f : TimeLp T L2) (v : meanDerivatives T hT FInv) : |
| 258 | 127 | let u := meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f |
| @@ -269,63 +138,4 @@ theorem meanSolver_weak (f : TimeLp T L2) (v : meanDerivatives T hT FInv) : | ||
| 269 | 138 | (timeMultiplier_quadratic_upper T hT H K hH) |
| 270 | 139 | (meanTrace_boundary T hT FInv M0 A L B hF0 hboundary) hsmall f v |
| 271 | 140 | |
| 272 | -/-- The solved mean derivative obeys a polynomial finite-time norm bound. -/ | |
| 273 | -theorem meanSolver_norm (f : TimeLp T L2) : | |
| 274 | - ‖meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f‖ ≤ 2*T*‖f‖ := by | |
| 275 | - apply (EulerMeanVariationalOperator.meanSolver_norm | |
| 276 | - (meanPrimitive T hT FInv) (meanTrace T hT FInv) | |
| 277 | - (timeMultiplier T hT H) (M0+L • A) (T^2/2) T K B hK hB | |
| 278 | - (meanPrimitive_norm_sq T hT FInv) (meanTrace_norm_sq T hT FInv) | |
| 279 | - (timeMultiplier_quadratic_upper T hT H K hH) | |
| 280 | - (meanTrace_boundary T hT FInv M0 A L B hF0 hboundary) hsmall f).trans | |
| 281 | - exact mul_le_mul_of_nonneg_right | |
| 282 | - (mul_le_mul_of_nonneg_left (meanPrimitive_norm_le T hT FInv) (by norm_num)) (norm_nonneg f) | |
| 283 | - | |
| 284 | -/-- The weak equation is an equality of genuine time integrals, including the | |
| 285 | -two actual initial boundary terms from the source. -/ | |
| 286 | -theorem meanSolver_weak_integral (f : TimeLp T L2) (v : meanDerivatives T hT FInv) : | |
| 287 | - let u := meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f | |
| 288 | - (∫ t, ⟪(u : TimeLp T L2) t, (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T)- | |
| 289 | - (∫ t, ⟪H (projIcc 0 T hT t) (realPrimitive T (u : TimeLp T L2) t), | |
| 290 | - realPrimitive T (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T)+ | |
| 291 | - ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ+ | |
| 292 | - L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ = | |
| 293 | - -(∫ t, ⟪f t, realPrimitive T (v : TimeLp T L2) t⟫_ℝ ∂timeMeasure T) := by | |
| 294 | - exact weak_integral_of_weak T hT FInv H M0 A L | |
| 295 | - (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f) v f | |
| 296 | - (meanSolver_weak T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f v) | |
| 297 | - | |
| 298 | -/-- No other admissible derivative solves this same genuine mean form. -/ | |
| 299 | -theorem meanSolver_unique (f : TimeLp T L2) (u : meanDerivatives T hT FInv) | |
| 300 | - (hu : ∀ v : meanDerivatives T hT FInv, | |
| 301 | - ⟪(u : TimeLp T L2), (v : TimeLp T L2)⟫_ℝ- | |
| 302 | - ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv v⟫_ℝ+ | |
| 303 | - ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ+ | |
| 304 | - L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ = | |
| 305 | - -⟪f, meanPrimitive T hT FInv v⟫_ℝ) : | |
| 306 | - u = meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f := by | |
| 307 | - apply EulerMeanVariationalOperator.meanSolver_unique | |
| 308 | - (meanPrimitive T hT FInv) (meanTrace T hT FInv) | |
| 309 | - (timeMultiplier T hT H) (M0+L • A) (T^2/2) T K B hK hB | |
| 310 | - (meanPrimitive_norm_sq T hT FInv) (meanTrace_norm_sq T hT FInv) | |
| 311 | - (timeMultiplier_quadratic_upper T hT H K hH) | |
| 312 | - (meanTrace_boundary T hT FInv M0 A L B hF0 hboundary) hsmall f u | |
| 313 | - intro v | |
| 314 | - simpa only [Submodule.coe_inner, add_apply, smul_apply, inner_add_left, | |
| 315 | - real_inner_smul_left, add_assoc] using hu v | |
| 316 | - | |
| 317 | -include hK hB hF0 hH hboundary hsmall in | |
| 318 | -/-- Existence and uniqueness for the source's mean form, conditional on the | |
| 319 | -explicit coefficient and solenoidal boundary lower bounds. -/ | |
| 320 | -theorem existsUnique_mean_weak_solution (f : TimeLp T L2) : | |
| 321 | - ∃! u : meanDerivatives T hT FInv, ∀ v : meanDerivatives T hT FInv, | |
| 322 | - ⟪(u : TimeLp T L2), (v : TimeLp T L2)⟫_ℝ- | |
| 323 | - ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv v⟫_ℝ+ | |
| 324 | - ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ+ | |
| 325 | - L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ = | |
| 326 | - -⟪f, meanPrimitive T hT FInv v⟫_ℝ := | |
| 327 | - ⟨meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f, | |
| 328 | - meanSolver_weak T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f, | |
| 329 | - fun u hu => meanSolver_unique T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f u hu⟩ | |
| 330 | - | |
| 331 | 141 | end EulerMeanVariationalInverse |
+0 −34 Euler/MeanVariationalOperator.lean View file
| @@ -68,38 +68,4 @@ theorem meanSolver_weak (f : W) (v : V) : | ||
| 68 | 68 | (meanOperator_coercive J R H C P Q K B hK hB hJ hR hH hC hsmall) (-J.adjoint f)), v⟫_ℝ = _ |
| 69 | 69 | rw [operator_inverse_apply, inner_neg_left, adjoint_inner_left] |
| 70 | 70 | |
| 71 | -/-- Uniqueness holds in the same actual Hilbert displacement space. -/ | |
| 72 | -theorem meanSolver_unique (f : W) (u : V) | |
| 73 | - (hu : ∀ v, ⟪u, v⟫_ℝ-⟪H (J u), J v⟫_ℝ+⟪C (R u), R v⟫_ℝ = -⟪f, J v⟫_ℝ) : | |
| 74 | - u = meanSolver J R H C P Q K B hK hB hJ hR hH hC hsmall f := by | |
| 75 | - apply (coerciveEquiv (meanOperator J R H C) (1/2) (by norm_num) | |
| 76 | - (meanOperator_coercive J R H C P Q K B hK hB hJ hR hH hC hsmall)).injective | |
| 77 | - simp only [coerciveEquiv_apply] | |
| 78 | - apply ext_inner_right ℝ | |
| 79 | - intro v | |
| 80 | - rw [meanOperator_inner, hu, meanOperator_inner, | |
| 81 | - meanSolver_weak J R H C P Q K B hK hB hJ hR hH hC hsmall] | |
| 82 | - | |
| 83 | -/-- The derivative bound is polynomial in the primitive norm. -/ | |
| 84 | -theorem meanSolver_norm (f : W) : | |
| 85 | - ‖meanSolver J R H C P Q K B hK hB hJ hR hH hC hsmall f‖ ≤ 2*‖J‖*‖f‖ := by | |
| 86 | - have hi := coerciveInverse_apply_norm_le (meanOperator J R H C) (1/2) (by norm_num) | |
| 87 | - (meanOperator_coercive J R H C P Q K B hK hB hJ hR hH hC hsmall) (-J.adjoint f) | |
| 88 | - change ‖meanSolver J R H C P Q K B hK hB hJ hR hH hC hsmall f‖ ≤ _ at hi | |
| 89 | - have ha := J.adjoint.le_opNorm f | |
| 90 | - simp only [norm_neg, inv_div, div_one, LinearIsometryEquiv.norm_map] at hi ha | |
| 91 | - calc | |
| 92 | - _ ≤ 2*‖J.adjoint f‖ := hi | |
| 93 | - _ ≤ 2*(‖J‖*‖f‖) := mul_le_mul_of_nonneg_left ha (by norm_num) | |
| 94 | - _ = 2*‖J‖*‖f‖ := by ring | |
| 95 | - | |
| 96 | -include hK hB hJ hR hH hC hsmall in | |
| 97 | -/-- Existence and uniqueness are conclusions, with no solution or inverse hypothesis. -/ | |
| 98 | -theorem existsUnique_mean_solution (f : W) : | |
| 99 | - ∃! u : V, ∀ v, | |
| 100 | - ⟪u, v⟫_ℝ-⟪H (J u), J v⟫_ℝ+⟪C (R u), R v⟫_ℝ = -⟪f, J v⟫_ℝ := | |
| 101 | - ⟨meanSolver J R H C P Q K B hK hB hJ hR hH hC hsmall f, | |
| 102 | - meanSolver_weak J R H C P Q K B hK hB hJ hR hH hC hsmall f, | |
| 103 | - fun u hu => meanSolver_unique J R H C P Q K B hK hB hJ hR hH hC hsmall f u hu⟩ | |
| 104 | - | |
| 105 | 71 | end EulerMeanVariationalOperator |
+0 −6 Euler/MeanVectorIdentities.lean View file
| @@ -21,12 +21,6 @@ theorem vectorPartial_smooth (f : Space → Space) (hf : ContDiff ℝ ∞ f) (i | ||
| 21 | 21 | theorem vectorPartial_compact (f : Space → Space) (hc : HasCompactSupport f) (i : Fin 3) : |
| 22 | 22 | HasCompactSupport (vectorPartial f i) := hc.fderiv_apply ℝ (EuclideanSpace.single i 1) |
| 23 | 23 | |
| 24 | -theorem vectorPartial_apply (f : Space → Space) (hf : ContDiff ℝ ∞ f) | |
| 25 | - (i j : Fin 3) (x : Space) : | |
| 26 | - vectorPartial f i x j = partialDerivative (fun y => f y j) i x := | |
| 27 | - (fderiv_coordinate f x ((hf.differentiable (by simp)).differentiableAt) | |
| 28 | - j (EuclideanSpace.single i 1)).symm | |
| 29 | - | |
| 30 | 24 | theorem vector_laplacian_coordinate (f : Space → Space) (hf : ContDiff ℝ ∞ f) |
| 31 | 25 | (x : Space) (i : Fin 3) : |
| 32 | 26 | (Δ f x) i = Δ (fun y => f y i) x := by |
+0 −96 Euler/MeanVelocityOperator.lean View file
| @@ -19,49 +19,6 @@ namespace EulerMeanVariationalInverse | ||
| 19 | 19 | open MeasureTheory Set InnerProductSpace ContinuousLinearMap EulerTimeLp |
| 20 | 20 | EulerTerminalTimePrimitive EulerMeanSolenoidal EulerVolterraConvolution EulerTimeH1FieldProduct |
| 21 | 21 | |
| 22 | -/-- The physical velocity formula on actual Bochner derivative fields. -/ | |
| 23 | -def meanVelocityMap (T : ℝ) (hT : 0 ≤ T) | |
| 24 | - (FInv F₁ : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) : TimeLp T L2 →L[ℝ] TimeLp T L2 := | |
| 25 | - ContinuousLinearMap.id ℝ _ - | |
| 26 | - (timeMultiplier T hT F₁).comp ((timeMultiplier T hT FInv).comp (primitiveTimeLp T hT)) | |
| 27 | - | |
| 28 | -/-- The bounded linear formula has its literal pointwise representative. -/ | |
| 29 | -theorem meanVelocityMap_ae (T : ℝ) (hT : 0 ≤ T) | |
| 30 | - (FInv F₁ : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (u : TimeLp T L2) : | |
| 31 | - (meanVelocityMap T hT FInv F₁ u : ℝ → L2) =ᵐ[timeMeasure T] | |
| 32 | - fun t => u t - extendPath T hT F₁ t (extendPath T hT FInv t (realPrimitive T u t)) := by | |
| 33 | - filter_upwards [Lp.coeFn_sub u | |
| 34 | - (timeMultiplier T hT F₁ (timeMultiplier T hT FInv (primitiveTimeLp T hT u))), | |
| 35 | - timeMultiplier_ae T hT F₁ (timeMultiplier T hT FInv (primitiveTimeLp T hT u)), | |
| 36 | - timeMultiplier_ae T hT FInv (primitiveTimeLp T hT u), primitiveTimeLp_ae T hT u] | |
| 37 | - with t hsub hF₁ hInv hp | |
| 38 | - simp only [Pi.sub_apply] at hsub | |
| 39 | - change (u-timeMultiplier T hT F₁ (timeMultiplier T hT FInv (primitiveTimeLp T hT u))) t = _ | |
| 40 | - rw [hsub, hF₁, hInv, hp] | |
| 41 | - | |
| 42 | -/-- A quantitative bound for the actual linear velocity formula. -/ | |
| 43 | -theorem meanVelocityMap_apply_norm (T : ℝ) (hT : 0 ≤ T) | |
| 44 | - (FInv F₁ : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (u : TimeLp T L2) : | |
| 45 | - ‖meanVelocityMap T hT FInv F₁ u‖ ≤ | |
| 46 | - (1+‖F₁‖*‖FInv‖*Real.sqrt (T^2/2))*‖u‖ := by | |
| 47 | - have hp : ‖primitiveTimeLp T hT u‖ ≤ Real.sqrt (T^2/2)*‖u‖ := by | |
| 48 | - apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg (Real.sqrt_nonneg _) (norm_nonneg _))).1 | |
| 49 | - calc | |
| 50 | - _ ≤ (T^2/2)*‖u‖^2 := primitiveTimeLp_norm_sq_le T hT u | |
| 51 | - _ = _ := by rw [mul_pow, Real.sq_sqrt (by positivity)] | |
| 52 | - change ‖u-timeMultiplier T hT F₁ (timeMultiplier T hT FInv (primitiveTimeLp T hT u))‖ ≤ _ | |
| 53 | - calc | |
| 54 | - _ ≤ ‖u‖+‖timeMultiplier T hT F₁ (timeMultiplier T hT FInv (primitiveTimeLp T hT u))‖ := | |
| 55 | - norm_sub_le _ _ | |
| 56 | - _ ≤ ‖u‖+‖F₁‖*‖timeMultiplier T hT FInv (primitiveTimeLp T hT u)‖ := | |
| 57 | - add_le_add le_rfl (timeApply_bound T hT F₁ _) | |
| 58 | - _ ≤ ‖u‖+‖F₁‖*(‖FInv‖*‖primitiveTimeLp T hT u‖) := by | |
| 59 | - gcongr | |
| 60 | - exact timeApply_bound T hT FInv _ | |
| 61 | - _ ≤ ‖u‖+‖F₁‖*(‖FInv‖*(Real.sqrt (T^2/2)*‖u‖)) := by | |
| 62 | - gcongr | |
| 63 | - _ = _ := by ring | |
| 64 | - | |
| 65 | 22 | namespace StrongMeanEvolution |
| 66 | 23 | |
| 67 | 24 | variable {T : ℝ} {hT : 0 ≤ T} |
| @@ -69,45 +26,6 @@ variable {T : ℝ} {hT : 0 ≤ T} | ||
| 69 | 26 | {A : L2 →L[ℝ] L2} {L : ℝ} {u f : TimeLp T L2} |
| 70 | 27 | (s : StrongMeanEvolution T hT FInv F F₁ A L u f) |
| 71 | 28 | |
| 72 | -/-- Differentiating the actual displacement reconstruction gives the kinetic identity. -/ | |
| 73 | -theorem kinetic_ae | |
| 74 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 75 | - HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) | |
| 76 | - (hRight : ∀ (t : Icc (0 : ℝ) T) (x : L2), F t (FInv t x) = x) : | |
| 77 | - ∀ᵐ t ∂timeMeasure T, | |
| 78 | - u t = extendPath T hT F₁ t (s.label t : L2) + s.physicalPath t := by | |
| 79 | - have hmem : ∀ᵐ t ∂timeMeasure T, t ∈ Ioo (0 : ℝ) T := by | |
| 80 | - change ∀ᵐ t ∂volume.restrict (Icc (0 : ℝ) T), t ∈ Ioo (0 : ℝ) T | |
| 81 | - rw [← restrict_Ioo_eq_restrict_Icc] | |
| 82 | - exact ae_restrict_mem measurableSet_Ioo | |
| 83 | - filter_upwards [hmem, operatorPath_hasDerivAt_ae T hT F F₁ hF, | |
| 84 | - s.label_derivative, realPrimitive_hasDerivAt_ae T u] with t ht hFt hzt hut | |
| 85 | - have hzt' := solenoidalSpace.subtypeL.hasFDerivAt.comp_hasDerivAt t hzt | |
| 86 | - have hprod := hFt.clm_apply hzt' | |
| 87 | - have heq : realPrimitive T u =ᶠ[𝓝 t] | |
| 88 | - fun r => extendPath T hT F r (s.label r : L2) := by | |
| 89 | - filter_upwards [Icc_mem_nhds ht.1 ht.2] with r hr | |
| 90 | - have h := ((congrArg (fun x : L2 => F ⟨r, hr⟩ x) (s.label_eq ⟨r, hr⟩)).trans | |
| 91 | - (hRight ⟨r, hr⟩ _)).symm | |
| 92 | - simpa only [extendPath, projIcc_of_mem hT hr] using h | |
| 93 | - exact hut.unique (hprod.congr_of_eventuallyEq heq) | |
| 94 | - | |
| 95 | -/-- The actual velocity constructed by strong regularity equals the bounded | |
| 96 | -linear formula on the original solved derivative field. -/ | |
| 97 | -theorem velocityField_eq_meanVelocityMap | |
| 98 | - (hF : ∀ t : Icc (0 : ℝ) T, | |
| 99 | - HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) | |
| 100 | - (hRight : ∀ (t : Icc (0 : ℝ) T) (x : L2), F t (FInv t x) = x) : | |
| 101 | - s.velocityField = meanVelocityMap T hT FInv F₁ u := by | |
| 102 | - apply Lp.ext | |
| 103 | - have hmem : ∀ᵐ t ∂timeMeasure T, t ∈ Icc (0 : ℝ) T := ae_restrict_mem measurableSet_Icc | |
| 104 | - filter_upwards [hmem, s.kinetic_ae hF hRight, (s.physical_h1 hF).2.1, | |
| 105 | - meanVelocityMap_ae T hT FInv F₁ u] with t ht hk hB hv | |
| 106 | - have hz : (s.label t : L2) = extendPath T hT FInv t (realPrimitive T u t) := by | |
| 107 | - simpa only [extendPath, projIcc_of_mem hT ht] using s.label_eq ⟨t, ht⟩ | |
| 108 | - rw [hB, hv, hk, ← hz] | |
| 109 | - abel | |
| 110 | - | |
| 111 | 29 | end StrongMeanEvolution |
| 112 | 30 | |
| 113 | 31 | variable (T : ℝ) (hT : 0 ≤ T) |
| @@ -119,18 +37,4 @@ variable (T : ℝ) (hT : 0 ≤ T) | ||
| 119 | 37 | -B*‖z‖^2 ≤ ⟪M0 z, z⟫_ℝ+L*⟪A z, z⟫_ℝ) |
| 120 | 38 | (hsmall : K*(T^2/2)+B*T ≤ 1/2) |
| 121 | 39 | |
| 122 | -/-- The genuine bounded linear mean velocity inverse on actual forcing classes. -/ | |
| 123 | -def meanVelocitySolver : TimeLp T L2 →L[ℝ] TimeLp T L2 := | |
| 124 | - (meanVelocityMap T hT FInv F₁).comp ((meanDerivatives T hT FInv).subtypeL.comp | |
| 125 | - (meanSolver T hT FInv H M0 A L K B hK hB hFInv₀ hH hboundary hsmall)) | |
| 126 | - | |
| 127 | -/-- The actual mean velocity inverse has an explicit finite-time bound. -/ | |
| 128 | -theorem meanVelocitySolver_norm (f : TimeLp T L2) : | |
| 129 | - ‖meanVelocitySolver T hT FInv F₁ H M0 A L K B hK hB hFInv₀ hH hboundary hsmall f‖ ≤ | |
| 130 | - (1+‖F₁‖*‖FInv‖*Real.sqrt (T^2/2))*(2*T*‖f‖) := by | |
| 131 | - apply (meanVelocityMap_apply_norm T hT FInv F₁ | |
| 132 | - (meanSolver T hT FInv H M0 A L K B hK hB hFInv₀ hH hboundary hsmall f : TimeLp T L2)).trans | |
| 133 | - exact mul_le_mul_of_nonneg_left | |
| 134 | - (meanSolver_norm T hT FInv H M0 A L K B hK hB hFInv₀ hH hboundary hsmall f) (by positivity) | |
| 135 | - | |
| 136 | 40 | end EulerMeanVariationalInverse |
+0 −77 Euler/MeanVelocityPressure.lean View file
| @@ -45,83 +45,6 @@ theorem physical_h1 | ||
| 45 | 45 | (solenoidalFrame_hasDerivWithinAt T hT F F₁ hF) s.velocityLp s.acceleration |
| 46 | 46 | s.velocity s.velocity_ac s.velocity_ae s.velocity_derivative |
| 47 | 47 | |
| 48 | -/-- In label coordinates the actual physical velocity is solenoidal at every time. -/ | |
| 49 | -theorem inversePhysicalPath_solenoidal | |
| 50 | - (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) (t : ℝ) : | |
| 51 | - extendPath T hT FInv t (s.physicalPath t) ∈ solenoidalSpace := by | |
| 52 | - change FInv (projIcc 0 T hT t) (F (projIcc 0 T hT t) (s.velocity t : L2)) ∈ solenoidalSpace | |
| 53 | - rw [hInv] | |
| 54 | - exact (s.velocity t).property | |
| 55 | - | |
| 56 | -/-- The pressure residual in the strong equation, before using F_t=MF. -/ | |
| 57 | -def pressureResidual : TimeLp T L2 := | |
| 58 | - f - timeMultiplier T hT (solenoidalFrame T F) s.acceleration - | |
| 59 | - (2 : ℝ) • timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp | |
| 60 | - | |
| 61 | -/-- The residual has its literal pointwise strong-equation representative. -/ | |
| 62 | -theorem pressureResidual_ae : | |
| 63 | - (s.pressureResidual : ℝ → L2) =ᵐ[timeMeasure T] fun t => | |
| 64 | - f t - extendPath T hT F t (s.acceleration t : L2) - | |
| 65 | - (2 : ℝ) • extendPath T hT F₁ t (s.velocity t : L2) := by | |
| 66 | - filter_upwards [Lp.coeFn_sub (f-timeMultiplier T hT (solenoidalFrame T F) s.acceleration) | |
| 67 | - ((2 : ℝ) • timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp), | |
| 68 | - Lp.coeFn_sub f (timeMultiplier T hT (solenoidalFrame T F) s.acceleration), | |
| 69 | - Lp.coeFn_smul (2 : ℝ) (timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp), | |
| 70 | - timeMultiplier_ae T hT (solenoidalFrame T F) s.acceleration, | |
| 71 | - timeMultiplier_ae T hT (solenoidalFrame T F₁) s.velocityLp, s.velocity_ae] | |
| 72 | - with t hs₂ hs₁ hsmul ha hv hvrep | |
| 73 | - simp only [Pi.sub_apply, Pi.smul_apply] at hs₂ hs₁ hsmul | |
| 74 | - change (f-timeMultiplier T hT (solenoidalFrame T F) s.acceleration- | |
| 75 | - (2 : ℝ) • timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp) t = _ | |
| 76 | - have hv' := hv.trans (congrArg | |
| 77 | - (fun w : solenoidalSpace => F₁ (projIcc 0 T hT t) (w : L2)) hvrep) | |
| 78 | - exact hs₂.trans (congrArg₂ (fun x y : L2 => x-y) | |
| 79 | - (hs₁.trans (congrArg (fun x : L2 => f t-x) ha)) | |
| 80 | - (hsmul.trans (congrArg (fun x : L2 => (2 : ℝ) • x) hv'))) | |
| 81 | - | |
| 82 | -/-- The actual pressure residual has an ordinary weak L² gradient after F-adjoint | |
| 83 | -transformation. This follows from the proved projected equation. -/ | |
| 84 | -theorem pressureResidual_gradient_ae : | |
| 85 | - ∀ᵐ t ∂timeMeasure T, | |
| 86 | - (extendPath T hT F t).adjoint (s.pressureResidual t) ∈ gradientSpace := by | |
| 87 | - filter_upwards [s.pressureResidual_ae, s.equation] with t hp he | |
| 88 | - apply (solenoidalProjection_eq_zero_iff _).1 | |
| 89 | - have hb : f t - extendPath T hT F t (s.acceleration t : L2) - | |
| 90 | - (2 : ℝ) • extendPath T hT F₁ t (s.velocity t : L2) = | |
| 91 | - (f t - (2 : ℝ) • extendPath T hT F₁ t (s.velocity t : L2))- | |
| 92 | - extendPath T hT F t (s.acceleration t : L2) := by abel | |
| 93 | - have hh := congrArg (fun x : L2 => solenoidalProjection ((F (projIcc 0 T hT t)).adjoint x)) | |
| 94 | - (hp.trans hb) | |
| 95 | - have hl := (solenoidalProjection.comp (F (projIcc 0 T hT t)).adjoint).map_sub | |
| 96 | - (f t - (2 : ℝ) • extendPath T hT F₁ t (s.velocity t : L2)) | |
| 97 | - (extendPath T hT F t (s.acceleration t : L2)) | |
| 98 | - exact hh.trans (hl.trans (sub_eq_zero.mpr he.symm)) | |
| 99 | - | |
| 100 | -/-- The prescribed coefficient identity F_t=MF holds for the actual velocity field. -/ | |
| 101 | -theorem movingVelocityField_eq (M : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) | |
| 102 | - (hM : ∀ (t : Icc (0 : ℝ) T) (x : L2), F₁ t x = M t (F t x)) : | |
| 103 | - timeMultiplier T hT M s.velocityField = | |
| 104 | - timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp := by | |
| 105 | - apply Lp.ext | |
| 106 | - filter_upwards [timeMultiplier_ae T hT M s.velocityField, | |
| 107 | - timeMultiplier_ae T hT (solenoidalFrame T F) s.velocityLp, | |
| 108 | - timeMultiplier_ae T hT (solenoidalFrame T F₁) s.velocityLp] with t hmul hv hv₁ | |
| 109 | - exact hmul.trans ((congrArg (fun x : L2 => M (projIcc 0 T hT t) x) hv).trans | |
| 110 | - ((hM (projIcc 0 T hT t) (s.velocityLp t : L2)).symm.trans hv₁.symm)) | |
| 111 | - | |
| 112 | -/-- The reconstructed fields satisfy the actual evolution B_t+MB+dq=f in L². -/ | |
| 113 | -theorem velocity_evolution (M : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) | |
| 114 | - (hM : ∀ (t : Icc (0 : ℝ) T) (x : L2), F₁ t x = M t (F t x)) : | |
| 115 | - s.velocityDerivative + timeMultiplier T hT M s.velocityField + s.pressureResidual = f := by | |
| 116 | - calc | |
| 117 | - _ = s.velocityDerivative + timeMultiplier T hT (solenoidalFrame T F₁) s.velocityLp + | |
| 118 | - s.pressureResidual := congrArg | |
| 119 | - (fun x : TimeLp T L2 => s.velocityDerivative+x+s.pressureResidual) | |
| 120 | - (s.movingVelocityField_eq M hM) | |
| 121 | - _ = f := by | |
| 122 | - simp only [velocityDerivative, fieldProductDerivative, pressureResidual, two_smul] | |
| 123 | - abel | |
| 124 | - | |
| 125 | 48 | /-- The initial physical velocity is exactly the source's localized boundary value. -/ |
| 126 | 49 | theorem physicalPath_initial |
| 127 | 50 | (hF₀ : F ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) : |
+0 −29 Euler/MeanWeakHarmonicInterior.lean View file
| @@ -29,39 +29,10 @@ theorem weakScalarHarmonic_pointwise (f : Space → ℝ) (hf : MemLp f 2 volume) | ||
| 29 | 29 | (scalarMollification_energy_le (interiorMollifier n) f hf) |
| 30 | 30 | harmonicQuarterBallConstant_nonneg |
| 31 | 31 | |
| 32 | -/-- The same bound for an actual vector L² field, without assuming a smooth representative. -/ | |
| 33 | -theorem weakHarmonic_pointwise (u : L2) (hu : WeakHarmonicOn (Metric.ball (0 : Space) 1) u) : | |
| 34 | - ∀ᵐ x ∂volume, x ∈ Metric.closedBall (0 : Space) (1/4 : ℝ) → | |
| 35 | - ‖u x‖ ^ 2 ≤ harmonicQuarterBallConstant * ‖u‖ ^ 2 := by | |
| 36 | - have H := ae_vector_bound_of_component_bounds (u : Space → Space) (Lp.memLp u) | |
| 37 | - (Metric.closedBall (0 : Space) (1/4 : ℝ)) harmonicQuarterBallConstant | |
| 38 | - (fun i => weakScalarHarmonic_pointwise (fun x => u x i) | |
| 39 | - (scalar_component_memLp u (Lp.memLp u) i) | |
| 40 | - (scalarWeakHarmonicOn_of_vector_tests _ u hu i)) | |
| 41 | - simpa only [lpNorm_coe_L2] using H | |
| 42 | - | |
| 43 | 32 | def weakHarmonicSmallBallConstant : ℝ := (Real.pi * 4 / 3) * harmonicQuarterBallConstant |
| 44 | 33 | |
| 45 | 34 | theorem weakHarmonicSmallBallConstant_nonneg : 0 ≤ weakHarmonicSmallBallConstant := by |
| 46 | 35 | unfold weakHarmonicSmallBallConstant |
| 47 | 36 | exact mul_nonneg (by positivity) harmonicQuarterBallConstant_nonneg |
| 48 | 37 | |
| 49 | -/-- Source localization for weakly harmonic fields: the radius enters with the genuine power 3. -/ | |
| 50 | -theorem weakHarmonic_smallBall_energy (u : L2) | |
| 51 | - (hu : WeakHarmonicOn (Metric.ball (0 : Space) 1) u) | |
| 52 | - (r : ℝ) (hr : 0 ≤ r) (hrquarter : r ≤ 1/4) : | |
| 53 | - localL2Energy (Metric.ball (0 : Space) r) u ≤ | |
| 54 | - weakHarmonicSmallBallConstant * r^3 * ‖u‖^2 := by | |
| 55 | - have hb : ∀ᵐ x ∂volume, x ∈ Metric.ball (0 : Space) r → | |
| 56 | - ‖u x‖^2 ≤ harmonicQuarterBallConstant * ‖u‖^2 := by | |
| 57 | - filter_upwards [weakHarmonic_pointwise u hu] with x hx | |
| 58 | - intro hxball | |
| 59 | - exact hx ((Metric.ball_subset_closedBall.trans | |
| 60 | - (Metric.closedBall_subset_closedBall hrquarter)) hxball) | |
| 61 | - have H := localL2Energy_ball_le_of_ae_bound u | |
| 62 | - (harmonicQuarterBallConstant * ‖u‖^2) r hr hb | |
| 63 | - unfold weakHarmonicSmallBallConstant | |
| 64 | - convert H using 1 | |
| 65 | - ring | |
| 66 | - | |
| 67 | 38 | end EulerMeanHarmonic |
+0 −44 Euler/MetricHeatEnergy.lean View file
| @@ -160,48 +160,4 @@ theorem metric_heat_bound (K : SmoothCoefficient period) (f : LiftL2 period) | ||
| 160 | 160 | (2 * (K.firstBound : ℝ) ^ 2 / c ^ 2) * ‖f‖ ^ 2 := by ring |
| 161 | 161 | simpa only [Nat.cast_ofNat, harith] using hsum |
| 162 | 162 | |
| 163 | -/-- The sum of the four actual classical second coordinate derivatives on the cylinder. -/ | |
| 164 | -def classicalLaplacian (g : LiftDomain period → Vector3) : LiftDomain period → Vector3 := | |
| 165 | - fun x => ∑ i : Fin 4, fieldDerivative period (standardDirection i) | |
| 166 | - (fieldDerivative period (standardDirection i) g) x | |
| 167 | - | |
| 168 | -/-- The jet Laplacian is represented by the actual classical Laplacian of every smooth representative. -/ | |
| 169 | -theorem jetLaplacian_ae {f : LiftL2 period} (J : SpatialJet period standardDirection 2 f) | |
| 170 | - (g : LiftDomain period → Vector3) | |
| 171 | - (hrep : (f : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) | |
| 172 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : | |
| 173 | - (jetLaplacian period J : LiftDomain period → Vector3) =ᵐ[liftMeasure period] | |
| 174 | - classicalLaplacian period g := by | |
| 175 | - have hword (i : Fin 4) : (J.word (fun _ : Fin 2 => i) : LiftDomain period → Vector3) | |
| 176 | - =ᵐ[liftMeasure period] fieldDerivative period (standardDirection i) | |
| 177 | - (fieldDerivative period (standardDirection i) g) := by | |
| 178 | - simpa only [iteratedFieldDerivative_succ, iteratedFieldDerivative_zero, Fin.tail] | |
| 179 | - using EulerStrongSmoothJet.jet_word_ae period (le_refl 2) f J (fun _ : Fin 2 => i) g hrep hg | |
| 180 | - have hall : ∀ᵐ x ∂liftMeasure period, ∀ i : Fin 4, | |
| 181 | - (J.word (fun _ : Fin 2 => i)) x = fieldDerivative period (standardDirection i) | |
| 182 | - (fieldDerivative period (standardDirection i) g) x := ae_all_iff.mpr hword | |
| 183 | - filter_upwards [Lp.coeFn_fun_finsetSum (Finset.univ : Finset (Fin 4)) | |
| 184 | - (fun i => J.word (fun _ : Fin 2 => i)), hall] with x hx hh | |
| 185 | - rw [jetLaplacian, hx] | |
| 186 | - exact Finset.sum_congr rfl (fun i _ => hh i) | |
| 187 | - | |
| 188 | -/-- The metric heat bound is an actual integral estimate for a smooth cylinder representative. -/ | |
| 189 | -theorem classical_metric_heat_bound (K : SmoothCoefficient period) (f : LiftL2 period) | |
| 190 | - (J : SpatialJet period standardDirection 2 f) (g : LiftDomain period → Vector3) | |
| 191 | - (hrep : (f : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) | |
| 192 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) | |
| 193 | - (c : ℝ) (hc : 0 < c) | |
| 194 | - (hpos : ∀ x v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪K.coefficient x v, v⟫_ℝ) : | |
| 195 | - (∫ x, ⟪K.coefficient x (g x), classicalLaplacian period g x⟫_ℝ ∂liftMeasure period) ≤ | |
| 196 | - -(c ^ 2 / 2) * ∑ i : Fin 4, ‖J.word (fun _ : Fin 1 => i)‖ ^ 2 + | |
| 197 | - (2 * (K.firstBound : ℝ) ^ 2 / c ^ 2) * ‖f‖ ^ 2 := by | |
| 198 | - have hi : ⟪K.operator f, jetLaplacian period J⟫_ℝ = | |
| 199 | - ∫ x, ⟪K.coefficient x (g x), classicalLaplacian period g x⟫_ℝ ∂liftMeasure period := by | |
| 200 | - rw [L2.inner_def] | |
| 201 | - apply integral_congr_ae | |
| 202 | - filter_upwards [K.operator_ae f, jetLaplacian_ae period J g hrep hg, hrep] with x hK hΔ he | |
| 203 | - rw [hK, hΔ, he] | |
| 204 | - rw [← hi] | |
| 205 | - exact metric_heat_bound period K f J c hc hpos | |
| 206 | - | |
| 207 | 163 | end EulerMetricHeatEnergy |
+0 −96 Euler/MetricRootLimit.lean View file
| @@ -26,100 +26,4 @@ theorem regularized_root_tendsto (q : ℝ) : | ||
| 26 | 26 | (tendsto_const_nhds.add (cutoffScale_tendsto.pow 2)) |
| 27 | 27 | exact (continuous_sqrt.tendsto q).comp hq |
| 28 | 28 | |
| 29 | -/-- At fixed finite cutoff, an integrable energy inequality survives removal of the root regularization. -/ | |
| 30 | -theorem root_integral_limit (Q A F : ℝ → ℝ) (s t : ℝ) (hst : s ≤ t) | |
| 31 | - (hQ : ContinuousOn Q (Icc s t)) (hQ0 : ∀ u ∈ Icc s t, 0 ≤ Q u) | |
| 32 | - (hA : IntegrableOn A (Icc s t)) (hF : IntegrableOn F (Icc s t)) | |
| 33 | - (hineq : ∀ δ : ℝ, 0 < δ → √(Q t + δ ^ 2) - √(Q s + δ ^ 2) ≤ | |
| 34 | - ∫ u in s..t, (A u * √(Q u + δ ^ 2) + F u)) : | |
| 35 | - √(Q t) - √(Q s) ≤ ∫ u in s..t, (A u * √(Q u) + F u) := by | |
| 36 | - let μ : Measure ℝ := volume.restrict (Ioc s t) | |
| 37 | - let fn := fun n u => A u * √(Q u + cutoffScale n ^ 2) + F u | |
| 38 | - have hAQ : IntegrableOn (fun u => A u * √(Q u)) (Icc s t) := | |
| 39 | - hA.mul_continuousOn hQ.sqrt isCompact_Icc | |
| 40 | - have hAn : Integrable A μ := hA.mono_set Ioc_subset_Icc_self | |
| 41 | - have hFn : Integrable F μ := hF.mono_set Ioc_subset_Icc_self | |
| 42 | - have hAQn : Integrable (fun u => A u * √(Q u)) μ := hAQ.mono_set Ioc_subset_Icc_self | |
| 43 | - have hmeas (n : ℕ) : AEStronglyMeasurable (fn n) μ := | |
| 44 | - (((hA.mul_continuousOn ((hQ.add continuousOn_const).sqrt) isCompact_Icc).add hF).mono_set Ioc_subset_Icc_self).aestronglyMeasurable | |
| 45 | - have hbound (n : ℕ) : ∀ᵐ u ∂μ, | |
| 46 | - ‖fn n u‖ ≤ ‖A u * √(Q u)‖ + ‖A u‖ + ‖F u‖ := by | |
| 47 | - filter_upwards [ae_restrict_mem measurableSet_Ioc] with u hu | |
| 48 | - have hq := hQ0 u ⟨hu.1.le, hu.2⟩ | |
| 49 | - have hr := (regularized_root_le (Q u) (cutoffScale n) hq (cutoffScale_pos n).le).trans | |
| 50 | - (add_le_add_right (cutoffScale_le_one n) (√(Q u))) | |
| 51 | - calc | |
| 52 | - _ ≤ ‖A u‖ * √(Q u + cutoffScale n ^ 2) + ‖F u‖ := by | |
| 53 | - simpa only [fn, norm_mul, Real.norm_of_nonneg (sqrt_nonneg _)] using | |
| 54 | - norm_add_le (A u * √(Q u + cutoffScale n ^ 2)) (F u) | |
| 55 | - _ ≤ ‖A u‖ * (√(Q u) + 1) + ‖F u‖ := | |
| 56 | - add_le_add_left (mul_le_mul_of_nonneg_left hr (norm_nonneg (A u))) ‖F u‖ | |
| 57 | - _ = _ := by | |
| 58 | - rw [norm_mul, Real.norm_of_nonneg (sqrt_nonneg _)] | |
| 59 | - ring | |
| 60 | - have hlim : ∀ᵐ u ∂μ, Filter.Tendsto (fun n => fn n u) Filter.atTop (𝓝 (A u * √(Q u) + F u)) := | |
| 61 | - Filter.Eventually.of_forall (fun u => | |
| 62 | - ((regularized_root_tendsto (Q u)).const_mul (A u)).add_const (F u)) | |
| 63 | - have hi := tendsto_integral_of_dominated_convergence | |
| 64 | - (fun u => ‖A u * √(Q u)‖ + ‖A u‖ + ‖F u‖) hmeas | |
| 65 | - ((hAQn.norm.add hAn.norm).add hFn.norm) hbound hlim | |
| 66 | - have hii : Filter.Tendsto (fun n => ∫ u in s..t, fn n u) Filter.atTop | |
| 67 | - (𝓝 (∫ u in s..t, (A u * √(Q u) + F u))) := by | |
| 68 | - simpa only [intervalIntegral.integral_of_le hst] using hi | |
| 69 | - exact le_of_tendsto_of_tendsto' ((regularized_root_tendsto (Q t)).sub | |
| 70 | - (regularized_root_tendsto (Q s))) hii (fun n => hineq (cutoffScale n) (cutoffScale_pos n)) | |
| 71 | - | |
| 72 | -/-- The unregularized finite-family energy obeys an integral inequality even when the norm vanishes. -/ | |
| 73 | -theorem family_energy_integral_bound {ι H : Type*} [Fintype ι] | |
| 74 | - [NormedAddCommGroup H] [InnerProductSpace ℝ H] | |
| 75 | - (K : ℝ → H →L[ℝ] H) (e : ι → ℝ → H) | |
| 76 | - (s t c ν : ℝ) (K' : ℝ → H →L[ℝ] H) | |
| 77 | - (e' transport pressure forcing lap : ι → ℝ → H) (B C : ℝ → ℝ) | |
| 78 | - (hst : s ≤ t) (hc : 0 < c) (hν : 0 ≤ ν) | |
| 79 | - (hKc : ContinuousOn K (Icc s t)) (hec : ∀ i, ContinuousOn (e i) (Icc s t)) | |
| 80 | - (hB : ∀ u ∈ Ioo s t, 0 ≤ B u) (hC : ∀ u ∈ Ioo s t, 0 ≤ C u) | |
| 81 | - (hcoercive : ∀ u ∈ Icc s t, ∀ v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪K u v, v⟫_ℝ) | |
| 82 | - (hKd : ∀ u ∈ Ioo s t, HasDerivAt K (K' u) u) | |
| 83 | - (hed : ∀ i u, u ∈ Ioo s t → HasDerivAt (e i) (e' i u) u) | |
| 84 | - (hsym : ∀ u ∈ Ioo s t, ∀ v w, ⟪K u v, w⟫_ℝ = ⟪v, K u w⟫_ℝ) | |
| 85 | - (heq : ∀ i u, u ∈ Ioo s t → e' i u + transport i u + pressure i u = | |
| 86 | - forcing i u + ν • lap i u) | |
| 87 | - (hp : ∀ i u, u ∈ Ioo s t → ⟪K u (e i u), pressure i u⟫_ℝ = 0) | |
| 88 | - (ht : ∀ i u, u ∈ Ioo s t → |⟪K u (e i u), transport i u⟫_ℝ| ≤ B u * ‖e i u‖ ^ 2) | |
| 89 | - (hheat : ∀ i u, u ∈ Ioo s t → ⟪K u (e i u), lap i u⟫_ℝ ≤ C u * ‖e i u‖ ^ 2) | |
| 90 | - (hAint : IntegrableOn (fun u => (‖K' u‖ + 2 * B u + 2 * ν * C u) / (2 * c ^ 2)) (Icc s t)) | |
| 91 | - (hFint : IntegrableOn (fun u => (‖K u‖ / c) * familyNorm (fun i => forcing i u)) (Icc s t)) : | |
| 92 | - familyMetricNorm (K t) (fun i => e i t) - familyMetricNorm (K s) (fun i => e i s) ≤ | |
| 93 | - ∫ u in s..t, (((‖K' u‖ + 2 * B u + 2 * ν * C u) / (2 * c ^ 2)) * | |
| 94 | - familyMetricNorm (K u) (fun i => e i u) + (‖K u‖ / c) * familyNorm (fun i => forcing i u)) := by | |
| 95 | - let Q := fun u => familyEnergy (K u) (fun i => e i u) | |
| 96 | - let A := fun u => (‖K' u‖ + 2 * B u + 2 * ν * C u) / (2 * c ^ 2) | |
| 97 | - let F := fun u => (‖K u‖ / c) * familyNorm (fun i => forcing i u) | |
| 98 | - have hQ : ContinuousOn Q (Icc s t) := | |
| 99 | - continuousOn_finsetSum Finset.univ (fun i _ => (hKc.clm_apply (hec i)).inner (hec i)) | |
| 100 | - have hQ0 (u : ℝ) (hu : u ∈ Icc s t) : 0 ≤ Q u := by | |
| 101 | - have h := familyEnergy_coercive (K u) (fun i => e i u) c (hcoercive u hu) | |
| 102 | - exact (mul_nonneg (sq_nonneg c) (familySquaredNorm_nonneg _)).trans h | |
| 103 | - apply root_integral_limit Q A F s t hst hQ hQ0 hAint hFint | |
| 104 | - intro δ hδ | |
| 105 | - have hrootc : ContinuousOn (fun u => √(Q u + δ ^ 2)) (Icc s t) := | |
| 106 | - (hQ.add continuousOn_const).sqrt | |
| 107 | - have hφint : IntegrableOn (fun u => A u * √(Q u + δ ^ 2) + F u) (Icc s t) := | |
| 108 | - (hAint.mul_continuousOn hrootc isCompact_Icc).add hFint | |
| 109 | - refine intervalIntegral.sub_le_integral_of_hasDeriv_right_of_le | |
| 110 | - (g' := fun u => deriv (fun v => √(Q v + δ ^ 2)) u) hst hrootc ?_ hφint ?_ | |
| 111 | - · intro u hu | |
| 112 | - have hd := family_energy_hasDerivAt K e u ν (K' u) (fun i => e' i u) | |
| 113 | - (fun i => transport i u) (fun i => pressure i u) (fun i => forcing i u) (fun i => lap i u) | |
| 114 | - (hKd u hu) (fun i => hed i u hu) (hsym u hu) (fun i => heq i u hu) (fun i => hp i u hu) | |
| 115 | - have hq := hQ0 u ⟨hu.1.le, hu.2.le⟩ | |
| 116 | - have hr := HasDerivAt.sqrt (hd.add_const (δ ^ 2)) (by nlinarith : Q u + δ ^ 2 ≠ 0) | |
| 117 | - exact hr.differentiableAt.hasDerivAt.hasDerivWithinAt | |
| 118 | - · intro u hu | |
| 119 | - exact family_regularized_energy_evolution K e u δ c (B u) (C u) ν (K' u) | |
| 120 | - (fun i => e' i u) (fun i => transport i u) (fun i => pressure i u) | |
| 121 | - (fun i => forcing i u) (fun i => lap i u) hδ hc (hB u hu) (hC u hu) hν | |
| 122 | - (hcoercive u ⟨hu.1.le, hu.2.le⟩) (hKd u hu) (fun i => hed i u hu) (hsym u hu) | |
| 123 | - (fun i => heq i u hu) (fun i => hp i u hu) (fun i => ht i u hu) (fun i => hheat i u hu) | |
| 124 | - | |
| 125 | 29 | end EulerMetricRootLimit |
+0 −47 Euler/MildWordEquation.lean View file
| @@ -83,51 +83,4 @@ theorem viscous_mild_block_hasDerivAt {p q : ℕ} (hp : 2 ≤ p) | ||
| 83 | 83 | exact ordinary_mild_hasDerivAt period hp ν hν T hT (A (truncateOperator period q u₀)) |
| 84 | 84 | (mapPath period T A f) v hv t ht |
| 85 | 85 | |
| 86 | -/-- The actual derivative block of a field with enough total Sobolev regularity. -/ | |
| 87 | -def availableWordBlock {q n : ℕ} (h : n + 2 ≤ q) (w : Fin n → Fin 4) : | |
| 88 | - SobolevSpace period q →L[ℝ] SobolevSpace period 2 := | |
| 89 | - (wordBlock period 2 n w).comp (restrictOperator period (by omega : 2+n ≤ q)) | |
| 90 | - | |
| 91 | -/-- This available block is exactly the chosen derivative word as an L² field. -/ | |
| 92 | -theorem availableWordBlock_value {q n : ℕ} (h : n + 2 ≤ q) (w : Fin n → Fin 4) | |
| 93 | - (u : SobolevSpace period q) : | |
| 94 | - value period (availableWordBlock period h w u) = word period u (by omega : n ≤ q) w := by | |
| 95 | - change value period (wordBlock period 2 n w (restrictOperator period (by omega : 2+n ≤ q) u)) = _ | |
| 96 | - rw [wordBlock_value] | |
| 97 | - rfl | |
| 98 | - | |
| 99 | -/-- Actual derivative-word blocks commute with heat, including the endpoint at zero variance. -/ | |
| 100 | -theorem availableWordBlock_heat {q n : ℕ} (h : n + 2 ≤ q) (w : Fin n → Fin 4) | |
| 101 | - (v : ℝ≥0) (u : SobolevSpace period q) : | |
| 102 | - availableWordBlock period h w (heatOperator period q v u) = | |
| 103 | - heatOperator period 2 v (availableWordBlock period h w u) := by | |
| 104 | - apply value_injective period | |
| 105 | - rw [availableWordBlock_value, heatOperator_value, availableWordBlock_value] | |
| 106 | - rfl | |
| 107 | - | |
| 108 | -/-- Truncation preserves every derivative coordinate still within its range. -/ | |
| 109 | -theorem word_truncate_coordinate {q n : ℕ} (hn : n ≤ q) (w : Fin n → Fin 4) | |
| 110 | - (u : SobolevSpace period (q+1)) : | |
| 111 | - word period (truncateOperator period q u) hn w = word period u (Nat.le_trans hn (Nat.le_succ q)) w := rfl | |
| 112 | - | |
| 113 | -/-- Every finite derivative word below the source's Sobolev margin obeys the differentiated L² equation. -/ | |
| 114 | -theorem viscous_mild_word_hasDerivAt {q n : ℕ} (h : n + 2 ≤ q) (w : Fin n → Fin 4) | |
| 115 | - (ν : ℝ) (hν : 0 < ν) (T : ℝ) (hT : 0 ≤ T) (u₀ : SobolevSpace period (q + 1)) | |
| 116 | - (F : Icc (0 : ℝ) T → SobolevSpace period (q + 1) → SobolevSpace period q) | |
| 117 | - (hF : Continuous (fun p : Icc (0 : ℝ) T × SobolevSpace period (q + 1) => F p.1 p.2)) | |
| 118 | - (u : C(Icc (0 : ℝ) T, SobolevSpace period (q + 1))) | |
| 119 | - (hsol : ∀ t : Icc (0 : ℝ) T, | |
| 120 | - u t = heatOperator period (q + 1) (2 * ν * t.val).toNNReal u₀ + | |
| 121 | - ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r | |
| 122 | - (F (projIcc 0 T hT (t.val - r)) (u (projIcc 0 T hT (t.val - r))))) | |
| 123 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 124 | - HasDerivAt (fun r => word period (extendPath T hT u r) (by omega : n ≤ q+1) w) | |
| 125 | - (ν • laplacianEvaluation period 2 (by norm_num) | |
| 126 | - (availableWordBlock period h w (truncateOperator period q (u ⟨t, ht.1.le, ht.2.le⟩))) + | |
| 127 | - word period (F ⟨t, ht.1.le, ht.2.le⟩ (u ⟨t, ht.1.le, ht.2.le⟩)) (by omega : n ≤ q) w) t := by | |
| 128 | - have hd := viscous_mild_block_hasDerivAt period (by norm_num : 2 ≤ 2) | |
| 129 | - (availableWordBlock period h w) (availableWordBlock_heat period h w) | |
| 130 | - ν hν T hT u₀ F hF u hsol t ht | |
| 131 | - simpa only [availableWordBlock_value, word_truncate_coordinate] using hd | |
| 132 | - | |
| 133 | 86 | end EulerMildWordEquation |
+0 −19 Euler/MovingNormalProjection.lean View file
| @@ -66,25 +66,6 @@ def normalProjectionDerivative (m m₁ : E) : E →L[ℝ] E := | ||
| 66 | 66 | -((- (2 * ⟪m, m₁⟫_ℝ) / (‖m‖ ^ 2) ^ 2) • rankOne ℝ m m + |
| 67 | 67 | (‖m‖ ^ 2)⁻¹ • (rankOne ℝ m₁ m + rankOne ℝ m m₁)) |
| 68 | 68 | |
| 69 | -/-- The projection derivative is derived from the actual ray derivative. -/ | |
| 70 | -theorem normalProjection_hasDerivAt {m : ℝ → E} {m₁ : E} {t : ℝ} | |
| 71 | - (hd : HasDerivAt m m₁ t) (hm : m t ≠ 0) : | |
| 72 | - HasDerivAt (fun s => normalProjection (m s)) | |
| 73 | - (normalProjectionDerivative (m t) m₁) t := by | |
| 74 | - have hr : HasDerivAt (fun s => rankOne ℝ (m s) (m s)) | |
| 75 | - (rankOne ℝ m₁ (m t) + rankOne ℝ (m t) m₁) t := by | |
| 76 | - convert! ContinuousLinearMap.hasDerivAt_of_bilinear | |
| 77 | - (B := (rankOne ℝ : E →L[ℝ] E →L[ℝ] E →L[ℝ] E)) (fun _ => hd) (fun _ => hd) using 1 | |
| 78 | - ext v | |
| 79 | - change ⟪m t, v⟫_ℝ • m₁ + ⟪m₁, v⟫_ℝ • m t = | |
| 80 | - ⟪m₁, v⟫_ℝ • m t + ⟪m t, v⟫_ℝ • m₁ | |
| 81 | - exact add_comm _ _ | |
| 82 | - have hi := hd.norm_sq.inv (pow_ne_zero 2 (norm_ne_zero_iff.mpr hm)) | |
| 83 | - change HasDerivAt (fun s => ContinuousLinearMap.id ℝ E - (‖m s‖ ^ 2)⁻¹ • rankOne ℝ (m s) (m s)) | |
| 84 | - (normalProjectionDerivative (m t) m₁) t | |
| 85 | - convert! (hi.smul hr).const_sub (ContinuousLinearMap.id ℝ E) using 1 | |
| 86 | - simp only [normalProjectionDerivative, Pi.inv_apply, add_comm] | |
| 87 | - | |
| 88 | 69 | theorem normalProjection_hasDerivWithinAt {m : ℝ → E} {m₁ : E} {t : ℝ} {S : Set ℝ} |
| 89 | 70 | (hd : HasDerivWithinAt m m₁ S t) (hm : m t ≠ 0) : |
| 90 | 71 | HasDerivWithinAt (fun s => normalProjection (m s)) |
+0 −5 Euler/NoIncomingVorticity.lean View file
| @@ -145,10 +145,5 @@ theorem support_subset_closedBall (hw : Continuous w) : | ||
| 145 | 145 | rw [Metric.mem_closedBall, dist_zero_right] |
| 146 | 146 | exact le_of_not_gt (fun hlt => hx (F.zero_outside hw x hlt)) |
| 147 | 147 | |
| 148 | -theorem hasCompactSupport (hw : Continuous w) : HasCompactSupport w := by | |
| 149 | - exact HasCompactSupport.intro (isCompact_closedBall (0 : ℝ³) supportRadius) | |
| 150 | - (fun x hx => F.zero_outside hw x (by | |
| 151 | - simpa only [Metric.mem_closedBall, dist_zero_right, not_le] using hx)) | |
| 152 | - | |
| 153 | 148 | end BackwardVorticityFlows |
| 154 | 149 | end Euler.ComparatorBridge |
+0 −19 Euler/OrdinaryAdvectionLimit.lean View file
| @@ -66,10 +66,6 @@ def projectedRhsPath (A : Icc (0 : ℝ) T → SmoothL2Field Space) | ||
| 66 | 66 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) : C(Icc (0 : ℝ) T,L2) := |
| 67 | 67 | fieldPath (fun t => projectedRhs (A t)) (projectedRhs_continuous A hA) |
| 68 | 68 | |
| 69 | -def pressurePath (A : Icc (0 : ℝ) T → SmoothL2Field Space) | |
| 70 | - (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) : C(Icc (0 : ℝ) T,L2) := | |
| 71 | - fieldPath (fun t => pressureField (A t)) (pressureField_continuous A hA) | |
| 72 | - | |
| 73 | 69 | theorem projectedRhsPath_eq (A : Icc (0 : ℝ) T → SmoothL2Field Space) |
| 74 | 70 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) : |
| 75 | 71 | projectedRhsPath A hA=(-solenoidalProjection).compLeftContinuous ℝ |
| @@ -78,14 +74,6 @@ theorem projectedRhsPath_eq (A : Icc (0 : ℝ) T → SmoothL2Field Space) | ||
| 78 | 74 | intro t |
| 79 | 75 | exact projectedRhs_toLp (A t) |
| 80 | 76 | |
| 81 | -theorem pressurePath_eq (A : Icc (0 : ℝ) T → SmoothL2Field Space) | |
| 82 | - (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) : | |
| 83 | - pressurePath A hA=(solenoidalProjection-ContinuousLinearMap.id ℝ L2).compLeftContinuous ℝ | |
| 84 | - (Icc (0 : ℝ) T) (advectionPath A hA) := by | |
| 85 | - apply ContinuousMap.ext | |
| 86 | - intro t | |
| 87 | - exact pressureField_toLp (A t) | |
| 88 | - | |
| 89 | 77 | theorem advectionPath_sub_norm (A B : Icc (0 : ℝ) T → SmoothL2Field Space) |
| 90 | 78 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) |
| 91 | 79 | (hB : ∀ n, Continuous (fun t => (B t).jetLp n)) (G K : ℝ) (hG0 : 0 ≤ G) (hK0 : 0 ≤ K) |
| @@ -139,12 +127,5 @@ theorem projectedRhsPath_convergence (hT : 0 ≤ T) (M : ℝ) | ||
| 139 | 127 | exact ((-solenoidalProjection).compLeftContinuous ℝ (Icc (0 : ℝ) T)).continuous.tendsto _ |
| 140 | 128 | |>.comp (L.advectionPath_convergence hT M hb) |
| 141 | 129 | |
| 142 | -theorem pressurePath_convergence (hT : 0 ≤ T) (M : ℝ) | |
| 143 | - (hb : ∀ k t, tensorNorm 3 (A k t) ≤ M) : | |
| 144 | - Tendsto (fun k => pressurePath (A k) (hA k)) atTop (𝓝 (pressurePath L.field L.field_continuous)) := by | |
| 145 | - simp only [pressurePath_eq] | |
| 146 | - exact ((solenoidalProjection-ContinuousLinearMap.id ℝ L2).compLeftContinuous ℝ | |
| 147 | - (Icc (0 : ℝ) T)).continuous.tendsto _ |>.comp (L.advectionPath_convergence hT M hb) | |
| 148 | - | |
| 149 | 130 | end SmoothLimitData |
| 150 | 131 | end EulerOrdinarySobolev |
+0 −10 Euler/OrdinaryEulerCauchy.lean View file
| @@ -101,16 +101,6 @@ def limitEvolutionOfH3 (V : ℕ → Evolution T hT) (hpos : 0 < T) (M : ℝ) | ||
| 101 | 101 | limitEvolution V hpos (Evolution.all_order_bounds_of_h3 V M hM hinit) |
| 102 | 102 | (Evolution.cauchyPath_of_initial V M hM hcauchy) |
| 103 | 103 | |
| 104 | -theorem limitEvolutionOfH3_convergence (V : ℕ → Evolution T hT) (hpos : 0 < T) (M : ℝ) | |
| 105 | - (hM : ∀ k t, tensorNorm 3 ((V k).velocity t) ≤ M) | |
| 106 | - (hinit : ∀ q, ∃ R : ℝ, ∀ k, tensorNorm q ((V k).velocity ⟨0,le_rfl,hT⟩) ≤ R) | |
| 107 | - (hcauchy : CauchySeq (fun k => ((V k).velocity ⟨0,le_rfl,hT⟩).toLp)) (q : ℕ) : | |
| 108 | - Tendsto (fun k => jetPath (V k).velocity (V k).velocity_continuous q) atTop | |
| 109 | - (𝓝 (jetPath (limitEvolutionOfH3 V hpos M hM hinit hcauchy).velocity | |
| 110 | - (limitEvolutionOfH3 V hpos M hM hinit hcauchy).velocity_continuous q)) := | |
| 111 | - limitEvolution_jet_convergence V hpos (Evolution.all_order_bounds_of_h3 V M hM hinit) | |
| 112 | - (Evolution.cauchyPath_of_initial V M hM hcauchy) q | |
| 113 | - | |
| 114 | 104 | theorem limitEvolutionOfH3_initial (V : ℕ → Evolution T hT) (hpos : 0 < T) (M : ℝ) |
| 115 | 105 | (hM : ∀ k t, tensorNorm 3 ((V k).velocity t) ≤ M) |
| 116 | 106 | (hinit : ∀ q, ∃ R : ℝ, ∀ k, tensorNorm q ((V k).velocity ⟨0,le_rfl,hT⟩) ≤ R) |
+0 −119 Euler/OrdinaryEulerClassicalClass.lean View file
| @@ -28,14 +28,6 @@ theorem scalarEulerForce_field (A B : SmoothL2Field Space) (x : Space) : | ||
| 28 | 28 | (scalarEulerForce A B).field x = -((B.field x)+fderiv ℝ A.field x (A.field x)) := by |
| 29 | 29 | simp only [scalarEulerForce,fieldNeg_field,addField_field,advectionField_field] |
| 30 | 30 | |
| 31 | -theorem scalarEulerForce_continuous | |
| 32 | - (A B : Icc (0 : ℝ) T → SmoothL2Field Space) | |
| 33 | - (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) | |
| 34 | - (hB : ∀ n, Continuous (fun t => (B t).jetLp n)) (n : ℕ) : | |
| 35 | - Continuous (fun t => (scalarEulerForce (A t) (B t)).jetLp n) := | |
| 36 | - continuous_jetLp_mapField _ _ | |
| 37 | - (continuous_jetLp_addField B _ hB (advectionField_continuous A hA)) n | |
| 38 | - | |
| 39 | 31 | /-- An ordinary scalar Euler equation implies the actual projected L² equation. |
| 40 | 32 | Spatial differentiability of pressure is used only at interior times. -/ |
| 41 | 33 | theorem isSmoothProjectedEuler_of_scalarEuler |
| @@ -110,82 +102,8 @@ variable (A B : Icc (0 : ℝ) T → SmoothL2Field Space) | ||
| 110 | 102 | fderiv ℝ (A ⟨t,ht.1.le,ht.2.le⟩).field x |
| 111 | 103 | ((A ⟨t,ht.1.le,ht.2.le⟩).field x)+gradient (p t) x=0) |
| 112 | 104 | |
| 113 | -theorem evolutionOfScalarEuler_velocity : | |
| 114 | - (evolutionOfScalarEuler A B hA hd p hdiv hp he).velocity=A := rfl | |
| 115 | - | |
| 116 | -include hB in | |
| 117 | -theorem evolutionOfScalarEuler_derivative (hpos : 0 < T) (t : Icc (0 : ℝ) T) : | |
| 118 | - (evolutionOfScalarEuler A B hA hd p hdiv hp he).derivative t=B t := by | |
| 119 | - let U := evolutionOfScalarEuler A B hA hd p hdiv hp he | |
| 120 | - have h₁ := U.sobolevTimeDerivative 3 t | |
| 121 | - have h₂ := sobolev_derivative_of_l2 T hT A B hA hB hd 3 t | |
| 122 | - change HasDerivWithinAt (extendPath T hT (sobolevPath A hA 3)) | |
| 123 | - (sobolevPath U.derivative U.derivative_continuous 3 t) (Icc (0 : ℝ) T) t at h₁ | |
| 124 | - have hh := (h₁.derivWithin (uniqueDiffOn_Icc hpos t t.property)).symm.trans | |
| 125 | - (h₂.derivWithin (uniqueDiffOn_Icc hpos t t.property)) | |
| 126 | - apply field_ext | |
| 127 | - funext x | |
| 128 | - have h := congrArg (observation 3 (le_refl 3) (x,(0 : AddCircle (1 : ℝ)))) hh | |
| 129 | - simpa only [sobolevPath,ContinuousMap.coe_mk,observation_apply] using h | |
| 130 | - | |
| 131 | -include hB in | |
| 132 | -theorem evolutionOfScalarEuler_pressureForce (hpos : 0 < T) (t : Icc (0 : ℝ) T) : | |
| 133 | - (evolutionOfScalarEuler A B hA hd p hdiv hp he).pressureForce t= | |
| 134 | - scalarEulerForce (A t) (B t) := by | |
| 135 | - let U := evolutionOfScalarEuler A B hA hd p hdiv hp he | |
| 136 | - have hd' := evolutionOfScalarEuler_derivative A B hA hB hd p hdiv hp he hpos t | |
| 137 | - apply field_ext | |
| 138 | - funext x | |
| 139 | - have hv := congrArg (fun C : SmoothL2Field Space => C.field x) hd' | |
| 140 | - rw [Evolution.derivative_field] at hv | |
| 141 | - change -fderiv ℝ (A t).field x ((A t).field x)-(U.pressureForce t).field x=(B t).field x at hv | |
| 142 | - rw [scalarEulerForce_field] | |
| 143 | - apply add_left_cancel (a := (B t).field x) | |
| 144 | - calc | |
| 145 | - (B t).field x+(U.pressureForce t).field x = -fderiv ℝ (A t).field x ((A t).field x) := | |
| 146 | - ((sub_eq_iff_eq_add).mp hv).symm | |
| 147 | - _ = (B t).field x+-((B t).field x+fderiv ℝ (A t).field x ((A t).field x)) := by abel | |
| 148 | - | |
| 149 | -include hB in | |
| 150 | -theorem evolutionOfScalarEuler_scalarPressure (hpos : 0 < T) | |
| 151 | - (t : ℝ) (ht : t ∈ Ioo 0 T) (x : Space) : | |
| 152 | - (evolutionOfScalarEuler A B hA hd p hdiv hp he).scalarPressure ⟨t,ht.1.le,ht.2.le⟩ x= | |
| 153 | - p t x-p t 0 := by | |
| 154 | - let U := evolutionOfScalarEuler A B hA hd p hdiv hp he | |
| 155 | - let s : Icc (0 : ℝ) T := ⟨t,ht.1.le,ht.2.le⟩ | |
| 156 | - have hg (y : Space) : (U.pressureForce s).field y=gradient (p t) y := by | |
| 157 | - rw [evolutionOfScalarEuler_pressureForce A B hA hB hd p hdiv hp he hpos s, | |
| 158 | - scalarEulerForce_field] | |
| 159 | - exact (eq_neg_of_add_eq_zero_right (he t ht y)).symm | |
| 160 | - exact EulerCanonicalGraphPotential.radialPotential_eq_sub (U.pressureForce s).field | |
| 161 | - (U.pressureForce s).smooth.continuous (p t) | |
| 162 | - (potential_smooth (U.pressureForce s) (p t) (hp t ht) hg) (fun y => (hg y).symm) x | |
| 163 | - | |
| 164 | 105 | end Identification |
| 165 | 106 | |
| 166 | -/-- A strong time derivative in any genuine spatial Sobolev order gives | |
| 167 | -the L² derivative used above. In the source class one can take order two. -/ | |
| 168 | -theorem l2_timeDerivative_of_sobolev | |
| 169 | - (A B : Icc (0 : ℝ) T → SmoothL2Field Space) | |
| 170 | - (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) | |
| 171 | - (hB : ∀ n, Continuous (fun t => (B t).jetLp n)) (q : ℕ) | |
| 172 | - (hd : ∀ t (ht : t ∈ Ioo 0 T), | |
| 173 | - HasDerivAt (extendPath T hT (sobolevPath A hA q)) | |
| 174 | - (sobolevPath B hB q ⟨t,ht.1.le,ht.2.le⟩) t) | |
| 175 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 176 | - HasDerivAt (fun r => (A (projIcc 0 T hT r)).toLp) | |
| 177 | - (B ⟨t,ht.1.le,ht.2.le⟩).toLp t := by | |
| 178 | - let L : SobolevSpace 1 q →L[ℝ] L2 := | |
| 179 | - ordinaryLift.toContinuousLinearMap.adjoint.comp (valueOperator 1 q) | |
| 180 | - have hL (C : SmoothL2Field Space) : | |
| 181 | - L (ordinarySobolev q C.toLp C.translation_contDiff)=C.toLp := by | |
| 182 | - change ordinaryLift.toContinuousLinearMap.adjoint | |
| 183 | - (value 1 (ordinarySobolev q C.toLp C.translation_contDiff))=C.toLp | |
| 184 | - erw [ordinarySobolev_value] | |
| 185 | - exact congrArg (fun M : L2 →L[ℝ] L2 => M C.toLp) ordinaryLift.adjoint_comp_self | |
| 186 | - have h := L.hasFDerivAt.comp_hasDerivAt t (hd t ht) | |
| 187 | - simpa only [Function.comp_def,extendPath,sobolevPath,ContinuousMap.coe_mk,hL] using h | |
| 188 | - | |
| 189 | 107 | /-- The scalar-pressure form of the smooth ordinary Euler class. The |
| 190 | 108 | all-order spatial paths represent `C H^m` for every finite `m`. A single |
| 191 | 109 | strong L² time law and the continuous all-order derivative paths imply |
| @@ -205,43 +123,6 @@ def IsSmoothScalarEuler (A : Icc (0 : ℝ) T → SmoothL2Field Space) : Prop := | ||
| 205 | 123 | fderiv ℝ (A ⟨t,ht.1.le,ht.2.le⟩).field x |
| 206 | 124 | ((A ⟨t,ht.1.le,ht.2.le⟩).field x)+gradient (p t) x=0) |
| 207 | 125 | |
| 208 | -theorem isSmoothScalarEuler_of_sobolev | |
| 209 | - (A B : Icc (0 : ℝ) T → SmoothL2Field Space) | |
| 210 | - (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) | |
| 211 | - (hB : ∀ n, Continuous (fun t => (B t).jetLp n)) (q : ℕ) | |
| 212 | - (hd : ∀ t (ht : t ∈ Ioo 0 T), | |
| 213 | - HasDerivAt (extendPath T hT (sobolevPath A hA q)) | |
| 214 | - (sobolevPath B hB q ⟨t,ht.1.le,ht.2.le⟩) t) | |
| 215 | - (p : ℝ → Space → ℝ) | |
| 216 | - (hdiv : ∀ t x, divergence (A t).field x=0) | |
| 217 | - (hp : ∀ t ∈ Ioo 0 T, Differentiable ℝ (p t)) | |
| 218 | - (he : ∀ t (ht : t ∈ Ioo 0 T) x, | |
| 219 | - (B ⟨t,ht.1.le,ht.2.le⟩).field x+ | |
| 220 | - fderiv ℝ (A ⟨t,ht.1.le,ht.2.le⟩).field x | |
| 221 | - ((A ⟨t,ht.1.le,ht.2.le⟩).field x)+gradient (p t) x=0) : | |
| 222 | - IsSmoothScalarEuler (hT := hT) A := | |
| 223 | - ⟨hA,B,p,hB,l2_timeDerivative_of_sobolev A B hA hB q hd,hdiv,hp,he⟩ | |
| 224 | - | |
| 225 | -/-- Starting from genuine continuous Sobolev realizations requires no | |
| 226 | -preselected smooth representative or pressure-force path. The order-two | |
| 227 | -time law is part of the source's `C¹ H^(m-1)` condition at `m=3`; | |
| 228 | -the continuous realizations of the derivative come from its higher orders. -/ | |
| 229 | -theorem SobolevTower.isSmoothScalarEuler (A B : SobolevTower T) | |
| 230 | - (hd : ∀ t (ht : t ∈ Ioo 0 T), | |
| 231 | - HasDerivAt (extendPath T hT (A.realization 2)) | |
| 232 | - (B.realization 2 ⟨t,ht.1.le,ht.2.le⟩) t) | |
| 233 | - (p : ℝ → Space → ℝ) | |
| 234 | - (hdiv : ∀ t x, divergence (A.smoothField t).field x=0) | |
| 235 | - (hp : ∀ t ∈ Ioo 0 T, Differentiable ℝ (p t)) | |
| 236 | - (he : ∀ t (ht : t ∈ Ioo 0 T) x, | |
| 237 | - (B.smoothField ⟨t,ht.1.le,ht.2.le⟩).field x+ | |
| 238 | - fderiv ℝ (A.smoothField ⟨t,ht.1.le,ht.2.le⟩).field x | |
| 239 | - ((A.smoothField ⟨t,ht.1.le,ht.2.le⟩).field x)+gradient (p t) x=0) : | |
| 240 | - IsSmoothScalarEuler (hT := hT) A.smoothField := by | |
| 241 | - apply isSmoothScalarEuler_of_sobolev A.smoothField B.smoothField | |
| 242 | - A.smoothField_jet_continuous B.smoothField_jet_continuous 2 _ p hdiv hp he | |
| 243 | - simpa only [A.smoothField_path 2,B.smoothField_path 2] using hd | |
| 244 | - | |
| 245 | 126 | theorem scalarEuler_iff_projected (A : Icc (0 : ℝ) T → SmoothL2Field Space) : |
| 246 | 127 | IsSmoothScalarEuler (hT := hT) A ↔ IsSmoothProjectedEuler (hT := hT) A := by |
| 247 | 128 | constructor |
+0 −9 Euler/OrdinaryEulerConcatenation.lean View file
| @@ -103,13 +103,4 @@ theorem concatenate_left (hTpos : 0 < T) (hSpos : 0 < S) | ||
| 103 | 103 | change join T S hT hS U.velocity V.velocity t=U.velocity t |
| 104 | 104 | rw [join_left U.velocity V.velocity t.property.2,projIcc_of_mem hT t.property] |
| 105 | 105 | |
| 106 | -theorem concatenate_right (hTpos : 0 < T) (hSpos : 0 < S) | |
| 107 | - (hmatch : U.velocity ⟨T,hT,le_rfl⟩=V.velocity ⟨0,le_rfl,hS⟩) | |
| 108 | - (t : Icc (0 : ℝ) S) : | |
| 109 | - (U.concatenate V hTpos hSpos hmatch).velocity | |
| 110 | - ⟨T+t,add_nonneg hT t.property.1,add_le_add_right t.property.2 T⟩=V.velocity t := by | |
| 111 | - change join T S hT hS U.velocity V.velocity (T+t)=V.velocity t | |
| 112 | - rw [join_right U.velocity V.velocity hmatch (le_add_of_nonneg_right t.property.1), | |
| 113 | - add_sub_cancel_left,projIcc_of_mem hS t.property] | |
| 114 | - | |
| 115 | 106 | end EulerOrdinarySobolev.Evolution |
+0 −41 Euler/OrdinaryEulerContinuation.lean View file
| @@ -32,12 +32,6 @@ theorem exists_extension (hTpos : 0 < T) : | ||
| 32 | 32 | · exact U.concatenate_initial V hTpos (regularizedTime_pos A) hmatch |
| 33 | 33 | · exact U.concatenate_left V hTpos (regularizedTime_pos A) hmatch |
| 34 | 34 | |
| 35 | -theorem gradientIntegral_mono (s t : Icc (0 : ℝ) T) (hst : (s : ℝ) ≤ t) : | |
| 36 | - U.gradientIntegral s ≤ U.gradientIntegral t := by | |
| 37 | - apply intervalIntegral.integral_mono_interval le_rfl s.property.1 hst | |
| 38 | - (Eventually.of_forall (fun r => U.gradientNormPath_nonneg (projIcc 0 T hT r))) | |
| 39 | - ((extendPath_continuous T hT U.gradientNormPath).intervalIntegrable 0 t) | |
| 40 | - | |
| 41 | 35 | end Evolution |
| 42 | 36 | |
| 43 | 37 | theorem HasEulerEvolution.extend {A : SmoothL2Field Space} {T : ℝ} |
| @@ -55,13 +49,6 @@ theorem no_endpoint : ¬ HasEulerEvolution A L.duration := by | ||
| 55 | 49 | obtain ⟨S,hS,hE⟩ := h.extend |
| 56 | 50 | exact L.maximal S hS hE |
| 57 | 51 | |
| 58 | -theorem gradientIntegral_unbounded (G : ℝ) : | |
| 59 | - ∃ (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) (t : Icc (0 : ℝ) S), | |
| 60 | - G < (L.evolution S hS hSL).gradientIntegral t := by | |
| 61 | - by_contra hn | |
| 62 | - push Not at hn | |
| 63 | - exact L.no_endpoint (L.endpoint_of_bounded_gradient G hn) | |
| 64 | - | |
| 65 | 52 | theorem gradient_unbounded (K : ℝ) : |
| 66 | 53 | ∃ (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) (t : Icc (0 : ℝ) S) (x : Space), |
| 67 | 54 | K < ‖fderiv ℝ ((L.evolution S hS hSL).velocity t).field x‖ := by |
| @@ -104,33 +91,5 @@ theorem gradient_unbounded_near_endpoint (τ K : ℝ) (hτ : τ < L.duration) : | ||
| 104 | 91 | exact le_trans (le_abs_self _) ((L.evolution R hR hRL).gradientNormPath.norm_coe_le_norm _) |
| 105 | 92 | · exact (hn S hS hSL t x (hτR.trans (lt_of_not_ge ht))).trans (le_max_right C K) |
| 106 | 93 | |
| 107 | -theorem gradientIntegral_agrees (S T : ℝ) (hS : 0 < S) (hT : 0 < T) | |
| 108 | - (hSL : S < L.duration) (hTL : T < L.duration) (hST : S ≤ T) | |
| 109 | - (t : Icc (0 : ℝ) S) : | |
| 110 | - (L.evolution S hS hSL).gradientIntegral t= | |
| 111 | - (L.evolution T hT hTL).gradientIntegral ⟨t,t.property.1,t.property.2.trans hST⟩ := by | |
| 112 | - apply intervalIntegral.integral_congr | |
| 113 | - intro r hr | |
| 114 | - have hrs : r ∈ Icc (0 : ℝ) (t : ℝ) := by simpa only [uIcc_of_le t.property.1] using hr | |
| 115 | - have hrS : r ∈ Icc (0 : ℝ) S := ⟨hrs.1,hrs.2.trans t.property.2⟩ | |
| 116 | - have hrT : r ∈ Icc (0 : ℝ) T := ⟨hrs.1,hrS.2.trans hST⟩ | |
| 117 | - change (L.evolution S hS hSL).gradientNormPath (projIcc 0 S hS.le r)= | |
| 118 | - (L.evolution T hT hTL).gradientNormPath (projIcc 0 T hT.le r) | |
| 119 | - rw [projIcc_of_mem hS.le hrS,projIcc_of_mem hT.le hrT] | |
| 120 | - change ‖EulerMeanSobolevBoundedField.finiteField ((L.evolution S hS hSL).velocity ⟨r,hrS⟩).derivative‖= | |
| 121 | - ‖EulerMeanSobolevBoundedField.finiteField ((L.evolution T hT hTL).velocity ⟨r,hrT⟩).derivative‖ | |
| 122 | - rw [L.evolution_agrees_at S T hS hT hSL hTL r hrs.1 hrS.2 hrT.2] | |
| 123 | - | |
| 124 | -theorem gradientIntegral_eventually_large (G : ℝ) : | |
| 125 | - ∃ (R : ℝ) (_hR : 0 < R) (_hRL : R < L.duration), | |
| 126 | - ∀ (S : ℝ) (hS : 0 < S) (hSL : S < L.duration), R ≤ S → | |
| 127 | - G < (L.evolution S hS hSL).gradientIntegral ⟨S,hS.le,le_rfl⟩ := by | |
| 128 | - obtain ⟨R,hR,hRL,t,ht⟩ := L.gradientIntegral_unbounded G | |
| 129 | - refine ⟨R,hR,hRL,?_⟩ | |
| 130 | - intro S hS hSL hRS | |
| 131 | - rw [L.gradientIntegral_agrees R S hR hS hRL hSL hRS t] at ht | |
| 132 | - exact ht.trans_le ((L.evolution S hS hSL).gradientIntegral_mono | |
| 133 | - ⟨t,t.property.1,t.property.2.trans hRS⟩ ⟨S,hS.le,le_rfl⟩ (t.property.2.trans hRS)) | |
| 134 | - | |
| 135 | 94 | end FiniteLifespan |
| 136 | 95 | end EulerOrdinarySobolev |
+0 −22 Euler/OrdinaryEulerDifference.lean View file
| @@ -31,28 +31,6 @@ structure Evolution (T : ℝ) (hT : 0 ≤ T) where | ||
| 31 | 31 | ((velocity ⟨t,ht.1.le,ht.2.le⟩).field x)- |
| 32 | 32 | (pressureForce ⟨t,ht.1.le,ht.2.le⟩).field x) t |
| 33 | 33 | |
| 34 | -def evolutionOfClassical (T : ℝ) (hT : 0 ≤ T) | |
| 35 | - (U G : Icc (0 : ℝ) T → SmoothL2Field Space) | |
| 36 | - (hU : ∀ n, Continuous (fun t => (U t).jetLp n)) | |
| 37 | - (hG : ∀ n, Continuous (fun t => (G t).jetLp n)) | |
| 38 | - (u : ℝ × Space → Space) (p : ℝ × Space → ℝ) | |
| 39 | - (hu : ∀ (t : Icc (0 : ℝ) T) x, u (t,x)=(U t).field x) | |
| 40 | - (hp : ∀ (t : Icc (0 : ℝ) T), Differentiable ℝ (fun x => p (t,x))) | |
| 41 | - (hg : ∀ (t : Icc (0 : ℝ) T) x, gradient (fun y => p (t,y)) x=(G t).field x) | |
| 42 | - (hdiv : ∀ t x, divergence (U t).field x=0) | |
| 43 | - (hdiff : ∀ t ∈ Ioo 0 T, ∀ x, DifferentiableAt ℝ u (t,x)) | |
| 44 | - (heuler : ∀ t ∈ Ioo 0 T, ∀ x, EulerLagrangian.momentumResidual u p (t,x)=0) : | |
| 45 | - Evolution T hT where | |
| 46 | - velocity := U | |
| 47 | - pressureForce := G | |
| 48 | - velocity_continuous := hU | |
| 49 | - pressure_continuous := hG | |
| 50 | - solenoidal t := smooth_mem_solenoidal (U t).field (U t).smooth (U t).memLp (hdiv t) | |
| 51 | - gradient t := gradient_mem (G t) (fun x => p (t,x)) | |
| 52 | - (potential_smooth (G t) _ (hp t) (fun x => (hg t x).symm)) (fun x => (hg t x).symm) | |
| 53 | - time_law := EulerSmoothEulerEvolution.pointwise_time_derivative_of_classical T hT U G | |
| 54 | - u p hu hg hdiff heuler | |
| 55 | - | |
| 56 | 34 | theorem continuous_jet_fieldSub {K : Type*} [TopologicalSpace K] |
| 57 | 35 | (A B : K → SmoothL2Field Space) |
| 58 | 36 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) |
+0 −13 Euler/OrdinaryEulerEndpoint.lean View file
| @@ -86,17 +86,4 @@ theorem endpoint_matches_partial {T : ℝ} {hT : 0 ≤ T} | ||
| 86 | 86 | rw [hW] |
| 87 | 87 | exact ⟨(R.velocity_eq_of_initial U hi t).symm,(R.pressure_eq_of_initial U hS hi t).symm⟩ |
| 88 | 88 | |
| 89 | -theorem exists_smooth_endpoint_extension (T : ℝ) (hT : 0 < T) | |
| 90 | - (A : SmoothL2Field Space) (G : ℝ) | |
| 91 | - (hpartial : ∀ S (hS : 0 < S), S < T → | |
| 92 | - ∃ U : Evolution S hS.le, U.velocity ⟨0,le_rfl,hS.le⟩=A ∧ | |
| 93 | - ∀ t, U.gradientIntegral t ≤ G) : | |
| 94 | - ∃ W : Evolution T hT.le, W.velocity ⟨0,le_rfl,hT.le⟩=A ∧ | |
| 95 | - ∀ S (hS : 0 < S) (hST : S ≤ T) (U : Evolution S hS.le), | |
| 96 | - U.velocity ⟨0,le_rfl,hS.le⟩=A → ∀ t : Icc (0 : ℝ) S, | |
| 97 | - W.velocity ⟨t,t.property.1,t.property.2.trans hST⟩=U.velocity t ∧ | |
| 98 | - W.pressureForce ⟨t,t.property.1,t.property.2.trans hST⟩=U.pressureForce t := by | |
| 99 | - obtain ⟨W,hW⟩ := exists_smooth_endpoint T hT A G hpartial | |
| 100 | - exact ⟨W,hW,fun S hS hST U hU t => endpoint_matches_partial W A hW S hS hST U hU t⟩ | |
| 101 | - | |
| 102 | 89 | end EulerOrdinarySobolev |
+0 −34 Euler/OrdinaryEulerGradientControl.lean View file
| @@ -87,16 +87,6 @@ theorem h3_energy_gradientIntegral (U : Evolution T hT) (t : Icc (0 : ℝ) T) : | ||
| 87 | 87 | projIcc_of_mem hT (show (0 : ℝ) ∈ Icc 0 T from ⟨le_rfl,hT⟩), |
| 88 | 88 | integerEnergyPath,ContinuousMap.coe_mk,gradientIntegral] using h |
| 89 | 89 | |
| 90 | -theorem h3_energy_gradient_bound (U : Evolution T hT) (K : ℝ) | |
| 91 | - (hK : ∀ t x, ‖fderiv ℝ (U.velocity t).field x‖ ≤ K) (t : Icc (0 : ℝ) T) : | |
| 92 | - wordEnergy 3 (U.velocity t) ≤ wordEnergy 3 (U.velocity ⟨0,le_rfl,hT⟩)* | |
| 93 | - Real.exp (gradientEnergyConstant*K*(t : ℝ)) := by | |
| 94 | - apply (U.h3_energy_gradientIntegral t).trans | |
| 95 | - apply mul_le_mul_of_nonneg_left _ (wordEnergy_nonneg _ _) | |
| 96 | - apply Real.exp_le_exp.mpr | |
| 97 | - exact (mul_le_mul_of_nonneg_left (U.gradientIntegral_le_const K hK t) | |
| 98 | - gradientEnergyConstant_nonneg).trans_eq (by ring) | |
| 99 | - | |
| 100 | 90 | def gradientH3Bound (U : Evolution T hT) (G : ℝ) : ℝ := |
| 101 | 91 | Real.sqrt (wordEnergy 3 (U.velocity ⟨0,le_rfl,hT⟩)*Real.exp (gradientEnergyConstant*G)) |
| 102 | 92 | |
| @@ -116,28 +106,4 @@ theorem h3_tensorNorm_of_gradientIntegral (U : Evolution T hT) (G : ℝ) | ||
| 116 | 106 | tensorNorm 3 (U.velocity t) ≤ wordCount 3*U.gradientH3Bound G := |
| 117 | 107 | tensorNorm_le_wordCount _ 3 _ (U.wordBound_of_gradientIntegral G hG t) |
| 118 | 108 | |
| 119 | -theorem higher_energy_of_gradientIntegral (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) | |
| 120 | - (G : ℝ) (hG : ∀ t, U.gradientIntegral t ≤ G) (t : Icc (0 : ℝ) T) : | |
| 121 | - wordEnergy m (U.velocity t) ≤ wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)* | |
| 122 | - Real.exp (tameEnergyConstant m*U.gradientH3Bound G*T) := | |
| 123 | - U.integer_energy_uniform m hm _ (U.wordBound_of_gradientIntegral G hG) t | |
| 124 | - | |
| 125 | -theorem higher_tensorNorm_of_gradientIntegral (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) | |
| 126 | - (G : ℝ) (hG : ∀ t, U.gradientIntegral t ≤ G) (t : Icc (0 : ℝ) T) : | |
| 127 | - tensorNorm m (U.velocity t) ≤ wordCount m* | |
| 128 | - Real.sqrt (wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)* | |
| 129 | - Real.exp (tameEnergyConstant m*U.gradientH3Bound G*T)) := | |
| 130 | - U.tensorNorm_uniform m hm _ (U.wordBound_of_gradientIntegral G hG) t | |
| 131 | - | |
| 132 | -theorem higher_tensorNorm_of_gradientBound (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) | |
| 133 | - (K : ℝ) (hK : ∀ t x, ‖fderiv ℝ (U.velocity t).field x‖ ≤ K) | |
| 134 | - (t : Icc (0 : ℝ) T) : | |
| 135 | - tensorNorm m (U.velocity t) ≤ wordCount m* | |
| 136 | - Real.sqrt (wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)* | |
| 137 | - Real.exp (tameEnergyConstant m*U.gradientH3Bound (K*T)*T)) := by | |
| 138 | - have hK0 : 0 ≤ K := (norm_nonneg (fderiv ℝ (U.velocity t).field 0)).trans (hK t 0) | |
| 139 | - exact U.higher_tensorNorm_of_gradientIntegral m hm (K*T) | |
| 140 | - (fun s => (U.gradientIntegral_le_const K hK s).trans | |
| 141 | - (mul_le_mul_of_nonneg_left s.property.2 hK0)) t | |
| 142 | - | |
| 143 | 109 | end EulerOrdinarySobolev.Evolution |
+0 −7 Euler/OrdinaryEulerHigherEnergy.lean View file
| @@ -91,13 +91,6 @@ theorem integer_energy_uniform (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) | ||
| 91 | 91 | exact mul_le_mul_of_nonneg_left t.property.2 |
| 92 | 92 | (mul_nonneg (tameEnergyConstant_nonneg m) (wordBound_nonneg (hM t))) |
| 93 | 93 | |
| 94 | -theorem tensorNorm_uniform (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) | |
| 95 | - (M : ℝ) (hM : ∀ t, WordBound 3 M (U.velocity t)) (t : Icc (0 : ℝ) T) : | |
| 96 | - tensorNorm m (U.velocity t) ≤ wordCount m* | |
| 97 | - Real.sqrt (wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)*Real.exp (tameEnergyConstant m*M*T)) := | |
| 98 | - (tensorNorm_le_energy _ m).trans (mul_le_mul_of_nonneg_left | |
| 99 | - (Real.sqrt_le_sqrt (U.integer_energy_uniform m hm M hM t)) (wordCount_nonneg m)) | |
| 100 | - | |
| 101 | 94 | theorem higher_energy_of_h3 (U : Evolution T hT) (m : ℕ) (hm : 3 ≤ m) |
| 102 | 95 | (M : ℝ) (hM : ∀ t, tensorNorm 3 (U.velocity t) ≤ M) (t : Icc (0 : ℝ) T) : |
| 103 | 96 | wordEnergy m (U.velocity t) ≤ wordEnergy m (U.velocity ⟨0,le_rfl,hT⟩)* |
+0 −12 Euler/OrdinaryEulerL2Stability.lean View file
| @@ -145,17 +145,5 @@ theorem velocityPath_norm_sub_le (U V : Evolution T hT) (K : ℝ) (hK0 : 0 ≤ K | ||
| 145 | 145 | (mul_le_mul_of_nonneg_left (Real.exp_le_exp.mpr |
| 146 | 146 | (mul_le_mul_of_nonneg_left t.property.2 hK0)) (norm_nonneg _)) |
| 147 | 147 | |
| 148 | -theorem l2_stability_of_h3 (U V : Evolution T hT) (M : ℝ) | |
| 149 | - (hM : ∀ t, tensorNorm 3 (U.velocity t) ≤ M) (t : Icc (0 : ℝ) T) : | |
| 150 | - ‖(U.difference V t).toLp‖ ≤ ‖(U.difference V ⟨0,le_rfl,hT⟩).toLp‖* | |
| 151 | - Real.exp ((9*EulerSmoothSobolev.smoothEmbeddingConstant*M)*t) := by | |
| 152 | - apply U.l2_stability V | |
| 153 | - intro s x | |
| 154 | - have hb := EulerSmoothSobolev.real_smooth_fderiv_le_H3 3 (U.velocity s).field | |
| 155 | - (U.velocity s).smooth (fun j _ => (U.velocity s).integrable j) x | |
| 156 | - rw [← tensorNorm_eq] at hb | |
| 157 | - exact hb.trans (mul_le_mul_of_nonneg_left (hM s) | |
| 158 | - (mul_nonneg (by norm_num) EulerSmoothSobolev.smoothEmbeddingConstant_nonneg)) | |
| 159 | - | |
| 160 | 148 | end Evolution |
| 161 | 149 | end EulerOrdinarySobolev |
+0 −15 Euler/OrdinaryEulerLimit.lean View file
| @@ -87,14 +87,6 @@ def limitEvolution (V : ℕ → Evolution T hT) (hpos : 0 < T) | ||
| 87 | 87 | (h0 : CauchySeq (fun k => fieldPath (V k).velocity (V k).velocity_continuous)) : Evolution T hT := |
| 88 | 88 | (eulerLimitData V hb h0).toEvolution hpos (Classical.choose (hb 3)) (Classical.choose_spec (hb 3)) |
| 89 | 89 | |
| 90 | -theorem limitEvolution_jet_convergence (V : ℕ → Evolution T hT) (hpos : 0 < T) | |
| 91 | - (hb : ∀ q, ∃ M : ℝ, ∀ k t, tensorNorm q ((V k).velocity t) ≤ M) | |
| 92 | - (h0 : CauchySeq (fun k => fieldPath (V k).velocity (V k).velocity_continuous)) (q : ℕ) : | |
| 93 | - Tendsto (fun k => jetPath (V k).velocity (V k).velocity_continuous q) atTop | |
| 94 | - (𝓝 (jetPath (limitEvolution V hpos hb h0).velocity | |
| 95 | - (limitEvolution V hpos hb h0).velocity_continuous q)) := | |
| 96 | - (eulerLimitData V hb h0).jetPath_convergence q | |
| 97 | - | |
| 98 | 90 | theorem limitEvolution_initial (V : ℕ → Evolution T hT) (hpos : 0 < T) |
| 99 | 91 | (hb : ∀ q, ∃ M : ℝ, ∀ k t, tensorNorm q ((V k).velocity t) ≤ M) |
| 100 | 92 | (h0 : CauchySeq (fun k => fieldPath (V k).velocity (V k).velocity_continuous)) |
| @@ -102,13 +94,6 @@ theorem limitEvolution_initial (V : ℕ → Evolution T hT) (hpos : 0 < T) | ||
| 102 | 94 | ((limitEvolution V hpos hb h0).velocity ⟨0,le_rfl,hT⟩).toLp=u0 := |
| 103 | 95 | tendsto_nhds_unique ((eulerLimitData V hb h0).toLp_convergence ⟨0,le_rfl,hT⟩) hu0 |
| 104 | 96 | |
| 105 | -theorem limitEvolution_bound (V : ℕ → Evolution T hT) (hpos : 0 < T) | |
| 106 | - (hb : ∀ q, ∃ M : ℝ, ∀ k t, tensorNorm q ((V k).velocity t) ≤ M) | |
| 107 | - (h0 : CauchySeq (fun k => fieldPath (V k).velocity (V k).velocity_continuous)) | |
| 108 | - (q : ℕ) (M : ℝ) (hM : ∀ k t, tensorNorm q ((V k).velocity t) ≤ M) (t : Icc (0 : ℝ) T) : | |
| 109 | - tensorNorm q ((limitEvolution V hpos hb h0).velocity t) ≤ M := | |
| 110 | - (eulerLimitData V hb h0).tensorNorm_bound q M hM t | |
| 111 | - | |
| 112 | 97 | namespace Evolution |
| 113 | 98 | |
| 114 | 99 | def scalarPressure (U : Evolution T hT) (t : Icc (0 : ℝ) T) : Space → ℝ := |
+0 −5 Euler/OrdinaryEulerLocalExistence.lean View file
| @@ -149,9 +149,4 @@ theorem localEvolution_initial (A : SmoothL2Field Space) (hA : A.toLp ∈ soleno | ||
| 149 | 149 | simp only [regularizedSolution_initial] at h |
| 150 | 150 | exact tendsto_nhds_unique h tendsto_const_nhds |
| 151 | 151 | |
| 152 | -theorem exists_local_evolution (A : SmoothL2Field Space) (hA : A.toLp ∈ solenoidalSpace) : | |
| 153 | - ∃ (T : ℝ) (hT : 0 < T), ∃ U : Evolution T hT.le, | |
| 154 | - U.velocity ⟨0,le_rfl,hT.le⟩=A := | |
| 155 | - ⟨regularizedTime A,regularizedTime_pos A,localEvolution A hA,localEvolution_initial A hA⟩ | |
| 156 | - | |
| 157 | 152 | end EulerOrdinarySobolev |
+0 −43 Euler/OrdinaryEulerMaximal.lean View file
| @@ -110,18 +110,6 @@ theorem maximalField_jet_continuous (n : ℕ) : | ||
| 110 | 110 | rw [he] |
| 111 | 111 | exact (L.evolution S hS hSL).velocity_continuous n |
| 112 | 112 | |
| 113 | -theorem maximalPressureField_jet_continuous (n : ℕ) : | |
| 114 | - Continuous (fun t : L.Time => (L.maximalPressureField t).jetLp n) := by | |
| 115 | - apply L.continuous_of_shorter_restrictions | |
| 116 | - intro S hS hSL | |
| 117 | - have he : (fun t : Icc (0 : ℝ) S => | |
| 118 | - (L.maximalPressureField (L.shorterTime S hSL t)).jetLp n)= | |
| 119 | - (fun t => ((L.evolution S hS hSL).pressureForce t).jetLp n) := by | |
| 120 | - funext t | |
| 121 | - rw [L.maximalPressureField_eq_evolution S hS hSL t] | |
| 122 | - rw [he] | |
| 123 | - exact (L.evolution S hS hSL).pressure_continuous n | |
| 124 | - | |
| 125 | 113 | theorem maximalField_initial : L.maximalField L.initialTime=A := |
| 126 | 114 | L.evolution_initial (L.intermediateHorizon L.initialTime) |
| 127 | 115 | (L.intermediateHorizon_pos L.initialTime) (L.intermediateHorizon_lt L.initialTime) |
| @@ -130,11 +118,6 @@ theorem maximalField_solenoidal (t : L.Time) : (L.maximalField t).toLp ∈ solen | ||
| 130 | 118 | (L.evolution (L.intermediateHorizon t) (L.intermediateHorizon_pos t) |
| 131 | 119 | (L.intermediateHorizon_lt t)).solenoidal (L.intermediateTime t) |
| 132 | 120 | |
| 133 | -theorem maximalPressureField_gradient (t : L.Time) : | |
| 134 | - (L.maximalPressureField t).toLp ∈ gradientSpace := | |
| 135 | - (L.evolution (L.intermediateHorizon t) (L.intermediateHorizon_pos t) | |
| 136 | - (L.intermediateHorizon_lt t)).gradient (L.intermediateTime t) | |
| 137 | - | |
| 138 | 121 | def maximalVelocity (t : L.Time) : Space → Space := (L.maximalField t).field |
| 139 | 122 | |
| 140 | 123 | def maximalPressure (t : L.Time) : Space → ℝ := |
| @@ -145,12 +128,6 @@ theorem maximalVelocity_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duratio | ||
| 145 | 128 | L.maximalVelocity (L.shorterTime S hSL t)=((L.evolution S hS hSL).velocity t).field := by |
| 146 | 129 | exact congrArg SmoothL2Field.field (L.maximalField_eq_evolution S hS hSL t) |
| 147 | 130 | |
| 148 | -theorem maximalPressure_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) | |
| 149 | - (t : Icc (0 : ℝ) S) : | |
| 150 | - L.maximalPressure (L.shorterTime S hSL t)=(L.evolution S hS hSL).scalarPressure t := by | |
| 151 | - simp only [maximalPressure,Evolution.scalarPressure, | |
| 152 | - L.maximalPressureField_eq_evolution S hS hSL t] | |
| 153 | - | |
| 154 | 131 | theorem maximalVelocity_initial : L.maximalVelocity L.initialTime=A.field := |
| 155 | 132 | congrArg SmoothL2Field.field L.maximalField_initial |
| 156 | 133 | |
| @@ -166,14 +143,6 @@ theorem maximalVelocity_joint_continuous : | ||
| 166 | 143 | simpa only [EulerMeanSobolevBoundedField.finiteField_apply,maximalVelocity] using |
| 167 | 144 | h.eval continuous_snd |
| 168 | 145 | |
| 169 | -theorem maximalPressureField_joint_continuous : | |
| 170 | - Continuous (fun z : L.Time × Space => (L.maximalPressureField z.1).field z.2) := by | |
| 171 | - have h : Continuous (fun z : L.Time × Space => | |
| 172 | - EulerMeanSobolevBoundedField.finiteField (L.maximalPressureField z.1)) := | |
| 173 | - (EulerMeanSobolevBoundedField.continuous_finiteField L.maximalPressureField | |
| 174 | - L.maximalPressureField_jet_continuous).comp continuous_fst | |
| 175 | - simpa only [EulerMeanSobolevBoundedField.finiteField_apply] using h.eval continuous_snd | |
| 176 | - | |
| 177 | 146 | theorem maximalVelocity_divergence (t : L.Time) (x : Space) : |
| 178 | 147 | divergence (L.maximalVelocity t) x=0 := |
| 179 | 148 | solenoidal_representative_divergence _ (L.maximalField_solenoidal t) _ |
| @@ -197,16 +166,4 @@ theorem maximal_restriction_is_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.dur | ||
| 197 | 166 | funext (fun t => (L.maximalPressureField_eq_evolution S hS hSL t).symm), |
| 198 | 167 | L.evolution_initial S hS hSL⟩ |
| 199 | 168 | |
| 200 | -theorem maximalVelocity_time_law (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) | |
| 201 | - (t : ℝ) (ht : t ∈ Ioo 0 S) (x : Space) : | |
| 202 | - HasDerivAt (fun r => L.maximalVelocity | |
| 203 | - (L.shorterTime S hSL (projIcc 0 S hS.le r)) x) | |
| 204 | - (-fderiv ℝ (L.maximalVelocity (L.shorterTime S hSL ⟨t,ht.1.le,ht.2.le⟩)) x | |
| 205 | - (L.maximalVelocity (L.shorterTime S hSL ⟨t,ht.1.le,ht.2.le⟩) x)- | |
| 206 | - _root_.gradient (L.maximalPressure (L.shorterTime S hSL ⟨t,ht.1.le,ht.2.le⟩)) x) t := by | |
| 207 | - rw [(L.maximalPressure_spec (L.shorterTime S hSL ⟨t,ht.1.le,ht.2.le⟩)).2.2 x, | |
| 208 | - L.maximalPressureField_eq_evolution S hS hSL] | |
| 209 | - simpa only [L.maximalVelocity_eq_evolution S hS hSL] using | |
| 210 | - (L.evolution S hS hSL).time_law t ht x | |
| 211 | - | |
| 212 | 169 | end EulerOrdinarySobolev.FiniteLifespan |
+0 −4 Euler/OrdinaryEulerNontriviality.lean View file
| @@ -35,10 +35,6 @@ def zeroEvolution (T : ℝ) (hT : 0 ≤ T) : Evolution T hT where | ||
| 35 | 35 | simpa only [fderiv_const_apply,zero_apply,neg_zero,sub_zero] using |
| 36 | 36 | hasDerivAt_const t (0 : Space) |
| 37 | 37 | |
| 38 | -theorem zero_has_euler (T : ℝ) (hT : 0 < T) : | |
| 39 | - HasEulerEvolution (zeroField : SmoothL2Field Space) T := | |
| 40 | - ⟨hT,zeroEvolution T hT.le,rfl⟩ | |
| 41 | - | |
| 42 | 38 | namespace FiniteLifespan |
| 43 | 39 | |
| 44 | 40 | variable {A : SmoothL2Field Space} |
+0 −3 Euler/OrdinaryEulerRestriction.lean View file
| @@ -31,9 +31,6 @@ def restrictTime : Evolution S hS where | ||
| 31 | 31 | projIcc_of_mem hT ⟨hr.1.le,hr.2.le.trans hST⟩] |
| 32 | 32 | rfl |
| 33 | 33 | |
| 34 | -theorem restrictTime_velocity (t : Icc (0 : ℝ) S) : | |
| 35 | - (U.restrictTime S hS hST).velocity t=U.velocity (initialInclusion T S hST t) := rfl | |
| 36 | - | |
| 37 | 34 | theorem restrictTime_initial : |
| 38 | 35 | (U.restrictTime S hS hST).velocity ⟨0,le_rfl,hS⟩=U.velocity ⟨0,le_rfl,hT⟩ := rfl |
| 39 | 36 | |
+0 −31 Euler/OrdinaryEulerStability.lean View file
| @@ -71,35 +71,4 @@ theorem sampled_h3_tendsto_zero (U : Evolution T hT) (V : ℕ → Evolution T hT | ||
| 71 | 71 | simpa only [mul_zero,zero_mul] using (hlim.const_mul 640).mul_const |
| 72 | 72 | (Real.exp (3*stabilityConstant U.referenceSize*T)) |
| 73 | 73 | |
| 74 | -theorem no_gradient_escape (U : Evolution T hT) (V : ℕ → Evolution T hT) | |
| 75 | - (ε : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hlim : Tendsto ε atTop (𝓝 0)) | |
| 76 | - (hinit : ∀ n, tensorNorm 3 (U.difference (V n) ⟨0,le_rfl,hT⟩) ≤ ε n) | |
| 77 | - (times : ℕ → Icc (0 : ℝ) T) : | |
| 78 | - ¬ Tendsto (fun n => ‖fderiv ℝ ((V n).velocity (times n)).field 0‖) atTop atTop := by | |
| 79 | - let err : ℕ → ℝ := fun n => (9*smoothEmbeddingConstant)* | |
| 80 | - tensorNorm 3 (U.difference (V n) (times n)) | |
| 81 | - have he : Tendsto err atTop (𝓝 0) := by | |
| 82 | - simpa only [mul_zero] using | |
| 83 | - (U.sampled_h3_tendsto_zero V ε hε hlim hinit times).const_mul (9*smoothEmbeddingConstant) | |
| 84 | - have hc : Continuous (fun r => fderiv ℝ (U.velocity (projIcc 0 T hT r)).field 0) := | |
| 85 | - (U.gradient_continuous 0).comp continuous_projIcc | |
| 86 | - apply EulerBreakdownCriterion.no_escape_near_compact_trajectory | |
| 87 | - (fun r => fderiv ℝ (U.velocity (projIcc 0 T hT r)).field 0) | |
| 88 | - (fun n => fderiv ℝ ((V n).velocity (times n)).field 0) | |
| 89 | - (fun n => (times n : ℝ)) err T hc.continuousOn (fun n => (times n).property) he | |
| 90 | - apply Eventually.of_forall | |
| 91 | - intro n | |
| 92 | - have hb := real_smooth_fderiv_le_H3 3 (U.difference (V n) (times n)).field | |
| 93 | - (U.difference (V n) (times n)).smooth | |
| 94 | - (fun j _ => (U.difference (V n) (times n)).integrable j) 0 | |
| 95 | - have hf : (U.difference (V n) (times n)).field= | |
| 96 | - ((V n).velocity (times n)).field-(U.velocity (times n)).field := | |
| 97 | - funext (fieldSub_field _ _) | |
| 98 | - rw [hf,fderiv_sub (((V n).velocity (times n)).smooth.differentiable (by simp) 0) | |
| 99 | - ((U.velocity (times n)).smooth.differentiable (by simp) 0)] at hb | |
| 100 | - rw [projIcc_of_mem hT (times n).property] | |
| 101 | - change _ ≤ (9*smoothEmbeddingConstant)*tensorNorm 3 (U.difference (V n) (times n)) | |
| 102 | - rw [tensorNorm_eq,hf] | |
| 103 | - exact hb | |
| 104 | - | |
| 105 | 74 | end EulerOrdinarySobolev.Evolution |
+0 −21 Euler/OrdinaryEulerVorticity.lean View file
| @@ -62,19 +62,6 @@ theorem pointwise_vorticity_le (t : Icc (0 : ℝ) T) (x : Space) : | ||
| 62 | 62 | |
| 63 | 63 | def vorticityIntegral (t : Icc (0 : ℝ) T) : ℝ := realIntegral T hT U.vorticityNormPath t |
| 64 | 64 | |
| 65 | -theorem vorticityIntegral_nonneg (t : Icc (0 : ℝ) T) : 0 ≤ U.vorticityIntegral t := | |
| 66 | - intervalIntegral.integral_nonneg_of_forall t.property.1 | |
| 67 | - (fun r => U.vorticityNormPath_nonneg (projIcc 0 T hT r)) | |
| 68 | - | |
| 69 | -theorem vorticityIntegral_initial : U.vorticityIntegral ⟨0,le_rfl,hT⟩=0 := | |
| 70 | - intervalIntegral.integral_same | |
| 71 | - | |
| 72 | -theorem vorticityIntegral_continuous : Continuous U.vorticityIntegral := | |
| 73 | - (show Continuous (realIntegral T hT U.vorticityNormPath) from | |
| 74 | - (show Differentiable ℝ (realIntegral T hT U.vorticityNormPath) from | |
| 75 | - fun t => (realIntegral_hasDerivAt T hT U.vorticityNormPath t).differentiableAt).continuous).comp | |
| 76 | - continuous_subtype_val | |
| 77 | - | |
| 78 | 65 | theorem vorticityIntegral_mono (s t : Icc (0 : ℝ) T) (hst : (s : ℝ) ≤ t) : |
| 79 | 66 | U.vorticityIntegral s ≤ U.vorticityIntegral t := |
| 80 | 67 | intervalIntegral.integral_mono_interval le_rfl s.property.1 hst |
| @@ -92,13 +79,5 @@ theorem vorticityIntegral_le_const (K : ℝ) | ||
| 92 | 79 | (U.vorticityNormPath_le_iff (projIcc 0 T hT r) K).mpr (hK _)) |
| 93 | 80 | _ = _ := by simp only [intervalIntegral.integral_const,sub_zero,smul_eq_mul]; ring |
| 94 | 81 | |
| 95 | -theorem vorticityNormPath_le_gradient (t : Icc (0 : ℝ) T) : | |
| 96 | - U.vorticityNormPath t ≤ ‖curlOperator‖*U.gradientNormPath t := by | |
| 97 | - apply (U.vorticityNormPath_le_iff t _).mpr | |
| 98 | - intro x | |
| 99 | - rw [← vorticityField_apply] | |
| 100 | - exact (curlOperator.le_opNorm (fderiv ℝ (U.velocity t).field x)).trans | |
| 101 | - (mul_le_mul_of_nonneg_left (U.pointwise_gradient_le t x) (norm_nonneg _)) | |
| 102 | - | |
| 103 | 82 | end Evolution |
| 104 | 83 | end EulerOrdinarySobolev |
+0 −4 Euler/OrdinaryFieldScaling.lean View file
| @@ -40,10 +40,6 @@ theorem scaleField_fderiv (c : ℝ) (A : SmoothL2Field V) (x : Space) : | ||
| 40 | 40 | fderiv ℝ (scaleField c A).field x=c • fderiv ℝ A.field x := |
| 41 | 41 | ((A.smooth.differentiable (by simp) x).hasFDerivAt.const_smul c).fderiv |
| 42 | 42 | |
| 43 | -theorem scaleField_one (A : SmoothL2Field V) : scaleField 1 A=A := by | |
| 44 | - apply field_ext | |
| 45 | - exact funext (fun x => by simp only [scaleField_field,one_smul]) | |
| 46 | - | |
| 47 | 43 | theorem scaleField_continuous {K : Type*} [TopologicalSpace K] |
| 48 | 44 | (c : ℝ) (A : K → SmoothL2Field V) |
| 49 | 45 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) (n : ℕ) : |
+0 −3 Euler/OrdinaryGradientEnergy.lean View file
| @@ -62,9 +62,6 @@ def gradientEnergyConstant : ℝ := 54*(∑ n ∈ range 4, (6 : ℝ)^n) | ||
| 62 | 62 | theorem gradientEnergyConstant_nonneg : 0 ≤ gradientEnergyConstant := by |
| 63 | 63 | exact mul_nonneg (by norm_num) (sum_nonneg (fun _ _ => by positivity)) |
| 64 | 64 | |
| 65 | -theorem gradientEnergyConstant_eq : gradientEnergyConstant=13986 := by | |
| 66 | - norm_num [gradientEnergyConstant,sum_range_succ] | |
| 67 | - | |
| 68 | 65 | theorem eulerRhs_word_gradient (A P : SmoothL2Field Space) (K : ℝ) |
| 69 | 66 | (hK : ∀ x, ‖fderiv ℝ A.field x‖ ≤ K) (hdiv : ∀ x, divergence A.field x=0) |
| 70 | 67 | (hA : A.toLp ∈ solenoidalSpace) (hP : P.toLp ∈ gradientSpace) |
+0 −51 Euler/OrdinaryGradientLimit.lean View file
| @@ -32,59 +32,8 @@ theorem h3_tensorNorm_gradient_uniform (U : Evolution T hT) (R G : ℝ) | ||
| 32 | 32 | (mul_le_mul_of_nonneg_left |
| 33 | 33 | (pow_le_pow_left₀ (tensorNorm_nonneg 3 _) hR 2) (wordCount_nonneg 3)) |
| 34 | 34 | |
| 35 | -theorem cauchyPath_of_initial_gradient (V : ℕ → Evolution T hT) (G : ℝ) | |
| 36 | - (hG : ∀ k t, (V k).gradientIntegral t ≤ G) | |
| 37 | - (hinit : CauchySeq (fun k => ((V k).velocity ⟨0,le_rfl,hT⟩).toLp)) : | |
| 38 | - CauchySeq (fun k => fieldPath (V k).velocity (V k).velocity_continuous) := by | |
| 39 | - apply Metric.cauchySeq_iff.mpr | |
| 40 | - intro ε hε | |
| 41 | - obtain ⟨N,hN⟩ := Metric.cauchySeq_iff.mp hinit (ε/Real.exp G) (div_pos hε (Real.exp_pos _)) | |
| 42 | - refine ⟨N,fun j hj k hk => ?_⟩ | |
| 43 | - have hb := (V k).velocityPath_norm_sub_le_gradientIntegral (V j) G (hG k) | |
| 44 | - have hi := mul_lt_mul_of_pos_right (hN j hj k hk) (Real.exp_pos G) | |
| 45 | - rw [div_mul_cancel₀ _ (ne_of_gt (Real.exp_pos G))] at hi | |
| 46 | - rw [dist_eq_norm,fieldPath_eq_velocityPath,fieldPath_eq_velocityPath] | |
| 47 | - apply hb.trans_lt | |
| 48 | - simpa only [dist_eq_norm,velocityPath_apply] using hi | |
| 49 | - | |
| 50 | 35 | end Evolution |
| 51 | 36 | |
| 52 | 37 | variable {T : ℝ} {hT : 0 ≤ T} |
| 53 | 38 | |
| 54 | -def limitEvolutionOfGradientIntegral (V : ℕ → Evolution T hT) (hpos : 0 < T) | |
| 55 | - (R G : ℝ) (hR : ∀ k, tensorNorm 3 ((V k).velocity ⟨0,le_rfl,hT⟩) ≤ R) | |
| 56 | - (hG : ∀ k t, (V k).gradientIntegral t ≤ G) | |
| 57 | - (hinit : ∀ q, ∃ C : ℝ, ∀ k, tensorNorm q ((V k).velocity ⟨0,le_rfl,hT⟩) ≤ C) | |
| 58 | - (hcauchy : CauchySeq (fun k => ((V k).velocity ⟨0,le_rfl,hT⟩).toLp)) : Evolution T hT := | |
| 59 | - limitEvolution V hpos | |
| 60 | - (Evolution.all_order_bounds_of_h3 V (gradientTensorBound R G) | |
| 61 | - (fun k => (V k).h3_tensorNorm_gradient_uniform R G (hR k) (hG k)) hinit) | |
| 62 | - (Evolution.cauchyPath_of_initial_gradient V G hG hcauchy) | |
| 63 | - | |
| 64 | -theorem limitEvolutionOfGradientIntegral_convergence (V : ℕ → Evolution T hT) (hpos : 0 < T) | |
| 65 | - (R G : ℝ) (hR : ∀ k, tensorNorm 3 ((V k).velocity ⟨0,le_rfl,hT⟩) ≤ R) | |
| 66 | - (hG : ∀ k t, (V k).gradientIntegral t ≤ G) | |
| 67 | - (hinit : ∀ q, ∃ C : ℝ, ∀ k, tensorNorm q ((V k).velocity ⟨0,le_rfl,hT⟩) ≤ C) | |
| 68 | - (hcauchy : CauchySeq (fun k => ((V k).velocity ⟨0,le_rfl,hT⟩).toLp)) (q : ℕ) : | |
| 69 | - Tendsto (fun k => jetPath (V k).velocity (V k).velocity_continuous q) atTop | |
| 70 | - (𝓝 (jetPath (limitEvolutionOfGradientIntegral V hpos R G hR hG hinit hcauchy).velocity | |
| 71 | - (limitEvolutionOfGradientIntegral V hpos R G hR hG hinit hcauchy).velocity_continuous q)) := | |
| 72 | - limitEvolution_jet_convergence V hpos | |
| 73 | - (Evolution.all_order_bounds_of_h3 V (gradientTensorBound R G) | |
| 74 | - (fun k => (V k).h3_tensorNorm_gradient_uniform R G (hR k) (hG k)) hinit) | |
| 75 | - (Evolution.cauchyPath_of_initial_gradient V G hG hcauchy) q | |
| 76 | - | |
| 77 | -theorem limitEvolutionOfGradientIntegral_initial (V : ℕ → Evolution T hT) (hpos : 0 < T) | |
| 78 | - (R G : ℝ) (hR : ∀ k, tensorNorm 3 ((V k).velocity ⟨0,le_rfl,hT⟩) ≤ R) | |
| 79 | - (hG : ∀ k t, (V k).gradientIntegral t ≤ G) | |
| 80 | - (hinit : ∀ q, ∃ C : ℝ, ∀ k, tensorNorm q ((V k).velocity ⟨0,le_rfl,hT⟩) ≤ C) | |
| 81 | - (hcauchy : CauchySeq (fun k => ((V k).velocity ⟨0,le_rfl,hT⟩).toLp)) (u0 : L2) | |
| 82 | - (hu0 : Tendsto (fun k => ((V k).velocity ⟨0,le_rfl,hT⟩).toLp) atTop (𝓝 u0)) : | |
| 83 | - ((limitEvolutionOfGradientIntegral V hpos R G hR hG hinit hcauchy).velocity | |
| 84 | - ⟨0,le_rfl,hT⟩).toLp=u0 := | |
| 85 | - limitEvolution_initial V hpos | |
| 86 | - (Evolution.all_order_bounds_of_h3 V (gradientTensorBound R G) | |
| 87 | - (fun k => (V k).h3_tensorNorm_gradient_uniform R G (hR k) (hG k)) hinit) | |
| 88 | - (Evolution.cauchyPath_of_initial_gradient V G hG hcauchy) u0 hu0 | |
| 89 | - | |
| 90 | 39 | end EulerOrdinarySobolev |
+0 −11 Euler/OrdinaryGradientStability.lean View file
| @@ -60,15 +60,4 @@ theorem l2_stability_gradientIntegral (U V : Evolution T hT) (t : Icc (0 : ℝ) | ||
| 60 | 60 | positivity |
| 61 | 61 | nlinarith [norm_nonneg (U.difference V t).toLp] |
| 62 | 62 | |
| 63 | -theorem velocityPath_norm_sub_le_gradientIntegral (U V : Evolution T hT) (G : ℝ) | |
| 64 | - (hG : ∀ t, U.gradientIntegral t ≤ G) : | |
| 65 | - ‖V.velocityPath-U.velocityPath‖ ≤ | |
| 66 | - ‖V.velocityPath ⟨0,le_rfl,hT⟩-U.velocityPath ⟨0,le_rfl,hT⟩‖*Real.exp G := by | |
| 67 | - apply (ContinuousMap.norm_le _ (by positivity)).2 | |
| 68 | - intro t | |
| 69 | - have h := U.l2_stability_gradientIntegral V t | |
| 70 | - simp only [difference,toLp_fieldSub] at h | |
| 71 | - simpa only [ContinuousMap.sub_apply,velocityPath_apply] using h.trans | |
| 72 | - (mul_le_mul_of_nonneg_left (Real.exp_le_exp.mpr (hG t)) (norm_nonneg _)) | |
| 73 | - | |
| 74 | 63 | end EulerOrdinarySobolev.Evolution |
+0 −5 Euler/OrdinaryH3Envelope.lean View file
| @@ -67,11 +67,6 @@ def envelopeDerivative (U V : Evolution T hT) (δ : ℝ) (t : Icc (0 : ℝ) T) : | ||
| 67 | 67 | theorem energyPath_nonneg (U V : Evolution T hT) (t : Icc (0 : ℝ) T) : 0 ≤ U.energyPath V t := |
| 68 | 68 | wordEnergy_nonneg 3 _ |
| 69 | 69 | |
| 70 | -theorem normEnvelope_nonneg (U V : Evolution T hT) (δ : ℝ) (t : Icc (0 : ℝ) T) : | |
| 71 | - 0 ≤ U.normEnvelope V δ t := by | |
| 72 | - change 0 ≤ 40*sqrt _ | |
| 73 | - positivity | |
| 74 | - | |
| 75 | 70 | theorem normEnvelope_hasDerivWithinAt (U V : Evolution T hT) (δ : ℝ) (hδ : 0 < δ) |
| 76 | 71 | (t : Icc (0 : ℝ) T) : |
| 77 | 72 | HasDerivWithinAt (extendPath T hT (U.normEnvelope V δ)) (U.envelopeDerivative V δ t) |
+0 −8 Euler/OrdinaryH3Norms.lean View file
| @@ -46,12 +46,4 @@ theorem energy_le_tensorNorm_sq (A : SmoothL2Field Space) : | ||
| 46 | 46 | exact pow_le_pow_left₀ (norm_nonneg _) (hA n (by have := mem_range.mp hn; omega) w) 2 |
| 47 | 47 | _ = _ := by norm_num [sum_range_succ]; ring |
| 48 | 48 | |
| 49 | -theorem sqrt_energy_le_tensorNorm (A : SmoothL2Field Space) : | |
| 50 | - Real.sqrt (wordEnergy 3 A) ≤ 7*tensorNorm 3 A := by | |
| 51 | - have he := energy_le_tensorNorm_sq A | |
| 52 | - have hs := Real.sq_sqrt (wordEnergy_nonneg 3 A) | |
| 53 | - have ht := tensorNorm_nonneg 3 A | |
| 54 | - have hr := Real.sqrt_nonneg (wordEnergy 3 A) | |
| 55 | - nlinarith [sq_nonneg (tensorNorm 3 A)] | |
| 56 | - | |
| 57 | 49 | end EulerOrdinarySobolev |
+0 −34 Euler/OrdinaryMaximalVorticity.lean View file
| @@ -50,9 +50,6 @@ theorem maximalVorticityNorm_le_iff (t : L.Time) (K : ℝ) : | ||
| 50 | 50 | L.maximalVorticityNorm t ≤ K ↔ ∀ x, ‖vectorCurl (L.maximalVelocity t) x‖ ≤ K := |
| 51 | 51 | vorticityNorm_le_iff _ K |
| 52 | 52 | |
| 53 | -theorem maximalVorticityNorm_continuous : Continuous L.maximalVorticityNorm := | |
| 54 | - vorticityNorm_continuous L.maximalField L.maximalField_jet_continuous | |
| 55 | - | |
| 56 | 53 | theorem maximalVorticityNorm_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) |
| 57 | 54 | (t : Icc (0 : ℝ) S) : |
| 58 | 55 | L.maximalVorticityNorm (L.shorterTime S hSL t)=(L.evolution S hS hSL).vorticityNormPath t := by |
| @@ -73,37 +70,6 @@ theorem maximalVorticityIntegral_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < | ||
| 73 | 70 | (L.intermediateHorizon_lt (L.shorterTime S hSL t)) hSL t t.property.1 |
| 74 | 71 | (L.time_lt_intermediateHorizon (L.shorterTime S hSL t)).le t.property.2 |
| 75 | 72 | |
| 76 | -theorem maximalVorticityIntegral_nonneg (t : L.Time) : 0 ≤ L.maximalVorticityIntegral t := | |
| 77 | - (L.evolution (L.intermediateHorizon t) (L.intermediateHorizon_pos t) | |
| 78 | - (L.intermediateHorizon_lt t)).vorticityIntegral_nonneg (L.intermediateTime t) | |
| 79 | - | |
| 80 | -theorem maximalVorticityIntegral_initial : L.maximalVorticityIntegral L.initialTime=0 := | |
| 81 | - (L.evolution (L.intermediateHorizon L.initialTime) (L.intermediateHorizon_pos L.initialTime) | |
| 82 | - (L.intermediateHorizon_lt L.initialTime)).vorticityIntegral_initial | |
| 83 | - | |
| 84 | -theorem maximalVorticityIntegral_continuous : Continuous L.maximalVorticityIntegral := by | |
| 85 | - apply L.continuous_of_shorter_restrictions | |
| 86 | - intro S hS hSL | |
| 87 | - have he : (fun t : Icc (0 : ℝ) S => L.maximalVorticityIntegral (L.shorterTime S hSL t))= | |
| 88 | - (L.evolution S hS hSL).vorticityIntegral := | |
| 89 | - funext (L.maximalVorticityIntegral_eq_evolution S hS hSL) | |
| 90 | - rw [he] | |
| 91 | - exact (L.evolution S hS hSL).vorticityIntegral_continuous | |
| 92 | - | |
| 93 | -theorem maximalVorticityIntegral_mono : Monotone L.maximalVorticityIntegral := by | |
| 94 | - intro s t hst | |
| 95 | - let R := L.intermediateHorizon t | |
| 96 | - have hR : 0 < R := L.intermediateHorizon_pos t | |
| 97 | - have hRL : R < L.duration := L.intermediateHorizon_lt t | |
| 98 | - have htR : (t : ℝ) ≤ R := (L.time_lt_intermediateHorizon t).le | |
| 99 | - have hsR : (s : ℝ) ≤ R := (show (s : ℝ) ≤ t from hst).trans htR | |
| 100 | - have hs := L.maximalVorticityIntegral_eq_evolution R hR hRL ⟨s,s.property.1,hsR⟩ | |
| 101 | - have ht := L.maximalVorticityIntegral_eq_evolution R hR hRL ⟨t,t.property.1,htR⟩ | |
| 102 | - change L.maximalVorticityIntegral s=_ at hs | |
| 103 | - change L.maximalVorticityIntegral t=_ at ht | |
| 104 | - rw [hs,ht] | |
| 105 | - exact (L.evolution R hR hRL).vorticityIntegral_mono _ _ hst | |
| 106 | - | |
| 107 | 73 | theorem vorticityIntegral_eventually_large_of_unbounded |
| 108 | 74 | (hunbounded : ∀ G : ℝ, ∃ (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) |
| 109 | 75 | (t : Icc (0 : ℝ) S), G < (L.evolution S hS hSL).vorticityIntegral t) |
+0 −9 Euler/OrdinaryMaximalVorticityIntegral.lean View file
| @@ -30,20 +30,11 @@ theorem maximalVorticityDensity_nonneg (r : ℝ) : 0 ≤ L.maximalVorticityDensi | ||
| 30 | 30 | · exact L.maximalVorticityNorm_nonneg _ |
| 31 | 31 | · exact le_rfl |
| 32 | 32 | |
| 33 | -theorem maximalVorticityDensity_measurable : Measurable L.maximalVorticityDensity := by | |
| 34 | - classical | |
| 35 | - exact L.maximalVorticityNorm_continuous.measurable.dite measurable_const measurableSet_Ico | |
| 36 | - | |
| 37 | 33 | theorem maximalVorticityDensity_eq (t : L.Time) : |
| 38 | 34 | L.maximalVorticityDensity t=L.maximalVorticityNorm t := by |
| 39 | 35 | classical |
| 40 | 36 | simp only [maximalVorticityDensity,dite_eq_left t.property] |
| 41 | 37 | |
| 42 | -theorem maximalVorticityDensity_le_iff (t : L.Time) (K : ℝ) : | |
| 43 | - L.maximalVorticityDensity t ≤ K ↔ ∀ x, ‖vectorCurl (L.maximalVelocity t) x‖ ≤ K := by | |
| 44 | - rw [L.maximalVorticityDensity_eq] | |
| 45 | - exact L.maximalVorticityNorm_le_iff t K | |
| 46 | - | |
| 47 | 38 | theorem maximalVorticityDensity_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) |
| 48 | 39 | (t : Icc (0 : ℝ) S) : |
| 49 | 40 | L.maximalVorticityDensity t=(L.evolution S hS hSL).vorticityNormPath t := by |
+0 −7 Euler/OrdinaryMollifier.lean View file
| @@ -36,13 +36,6 @@ theorem smoothOrbit_contDiff (n : ℕ) (u : L2) : ContDiff ℝ ∞ (smoothOrbit | ||
| 36 | 36 | (kernel_compact n).contDiff_convolution_left (ContinuousLinearMap.lsmul ℝ ℝ) |
| 37 | 37 | (kernel_smooth n) (EulerMeanTimeTranslation.translation_continuous u).locallyIntegrable |
| 38 | 38 | |
| 39 | -theorem mollify_tendsto (u : L2) : Tendsto (fun n => mollify n u) atTop (𝓝 u) := by | |
| 40 | - have hr : Tendsto (fun n => (bump n).rOut) atTop (𝓝 (0 : ℝ)) := by | |
| 41 | - simpa only [bump,mul_zero] using cutoffScale_tendsto.const_mul 2 | |
| 42 | - have h := ContDiffBump.convolution_tendsto_right_of_continuous | |
| 43 | - (μ := (volume : Measure Space)) hr (EulerMeanTimeTranslation.translation_continuous u) 0 | |
| 44 | - simpa only [translation_zero,mollify,smoothOrbit,kernel] using h | |
| 45 | - | |
| 46 | 39 | theorem mollify_eq_integral (n : ℕ) (u : L2) : |
| 47 | 40 | mollify n u=∫ y : Space, kernel n y • translation (-y) u := by |
| 48 | 41 | simp only [mollify,smoothOrbit,convolution_def,ContinuousLinearMap.lsmul_apply,zero_sub] |
+0 −11 Euler/OrdinaryPressureCancellation.lean View file
| @@ -95,12 +95,6 @@ theorem gradient_mem (A : SmoothL2Field Space) (p : Space → ℝ) | ||
| 95 | 95 | simpa only [partialDerivative,fderiv_coordinate A.field x |
| 96 | 96 | (A.smooth.differentiable (by simp) x)] using h |
| 97 | 97 | |
| 98 | -theorem gradient_pairing_zero (A U : SmoothL2Field Space) (p : Space → ℝ) | |
| 99 | - (hp : ContDiff ℝ ∞ p) (hgrad : ∀ x, A.field x=gradient p x) | |
| 100 | - (hdiv : ∀ x, divergence U.field x=0) : ⟪A.toLp,U.toLp⟫_ℝ=0 := | |
| 101 | - pressure_pairing_zero (gradient_mem A p hp hgrad) | |
| 102 | - (smooth_mem_solenoidal U.field U.smooth U.memLp hdiv) | |
| 103 | - | |
| 104 | 98 | theorem potential_smooth (A : SmoothL2Field Space) (p : Space → ℝ) |
| 105 | 99 | (hp : Differentiable ℝ p) (hgrad : ∀ x, A.field x=gradient p x) : |
| 106 | 100 | ContDiff ℝ ∞ p := by |
| @@ -112,9 +106,4 @@ theorem potential_smooth (A : SmoothL2Field Space) (p : Space → ℝ) | ||
| 112 | 106 | rw [he] |
| 113 | 107 | exact (toDual ℝ Space).contDiff.comp A.smooth |
| 114 | 108 | |
| 115 | -theorem gradient_pairing_zero_of_differentiable (A U : SmoothL2Field Space) (p : Space → ℝ) | |
| 116 | - (hp : Differentiable ℝ p) (hgrad : ∀ x, A.field x=gradient p x) | |
| 117 | - (hdiv : ∀ x, divergence U.field x=0) : ⟪A.toLp,U.toLp⟫_ℝ=0 := | |
| 118 | - gradient_pairing_zero A U p (potential_smooth A p hp hgrad) hgrad hdiv | |
| 119 | - | |
| 120 | 109 | end EulerOrdinarySobolev |
+0 −7 Euler/OrdinaryRegularizer.lean View file
| @@ -53,13 +53,6 @@ def regularizer (n : ℕ) : SmoothingOperator where | ||
| 53 | 53 | contraction := regularizerMap_contract n |
| 54 | 54 | solenoidal _u := solenoidalProjection_mem _ |
| 55 | 55 | |
| 56 | -theorem regularizer_tendsto (u : L2) : | |
| 57 | - Tendsto (fun n => (regularizer n).op u) atTop (𝓝 (solenoidalProjection u)) := by | |
| 58 | - change Tendsto (fun n => solenoidalProjection (mollify n (solenoidalProjection u))) | |
| 59 | - atTop (𝓝 (solenoidalProjection u)) | |
| 60 | - have h := solenoidalProjection.continuous.tendsto (solenoidalProjection u) | |
| 61 | - simpa only [Function.comp_def,projection_idempotent] using h.comp (mollify_tendsto (solenoidalProjection u)) | |
| 62 | - | |
| 63 | 56 | theorem regularizer_error (n : ℕ) (A : SmoothL2Field Space) : |
| 64 | 57 | ‖(regularizer n).op A.toLp-solenoidalProjection A.toLp‖ ≤ |
| 65 | 58 | (2*EulerNoncompactTransport.cutoffScale n)*‖(solenoidalField A).derivative.toLp‖ := by |
+0 −5 Euler/OrdinarySobolevTower.lean View file
| @@ -63,11 +63,6 @@ theorem smoothField_realization (q : ℕ) (t : Icc (0 : ℝ) T) : | ||
| 63 | 63 | apply value_injective 1 |
| 64 | 64 | erw [ordinarySobolev_value,A.smoothField_toLp,A.value_eq] |
| 65 | 65 | |
| 66 | -theorem smoothField_path (q : ℕ) : | |
| 67 | - sobolevPath A.smoothField A.smoothField_jet_continuous q=A.realization q := by | |
| 68 | - apply ContinuousMap.ext | |
| 69 | - exact A.smoothField_realization q | |
| 70 | - | |
| 71 | 66 | end SobolevTower |
| 72 | 67 | |
| 73 | 68 | def ordinaryTensorOperator (q : ℕ) : |
+0 −81 Euler/PDEEnergyLimit.lean View file
| @@ -14,87 +14,6 @@ open MeasureTheory Set Real InnerProductSpace EulerLiftedGradientSpace EulerSpat | ||
| 14 | 14 | EulerVolterraConvolution EulerTimeLp EulerTimeLpPairing EulerPacketWeights |
| 15 | 15 | open scoped Topology |
| 16 | 16 | |
| 17 | -/-- Equality of an actual scalar integrand with three continuous weighted paths identifies its interval integral. -/ | |
| 18 | -theorem integral_eq_three_paths (T : ℝ) (hT : 0 ≤ T) | |
| 19 | - (a b c X Y Z : C(Icc (0 : ℝ) T, ℝ)) (f : ℝ → ℝ) | |
| 20 | - (hf : ∀ r ∈ Icc 0 T, f r = extendPath T hT a r * extendPath T hT X r + | |
| 21 | - extendPath T hT b r * extendPath T hT Y r + extendPath T hT c r * extendPath T hT Z r) : | |
| 22 | - (∫ r in (0 : ℝ)..T, f r) = | |
| 23 | - (∫ r in (0 : ℝ)..T, extendPath T hT a r * extendPath T hT X r) + | |
| 24 | - (∫ r in (0 : ℝ)..T, extendPath T hT b r * extendPath T hT Y r) + | |
| 25 | - ∫ r in (0 : ℝ)..T, extendPath T hT c r * extendPath T hT Z r := by | |
| 26 | - rw [← integral_three_paths T hT a b c X Y Z] | |
| 27 | - apply intervalIntegral.integral_congr | |
| 28 | - intro r hr | |
| 29 | - exact hf r (by simpa only [uIcc_of_le hT] using hr) | |
| 30 | - | |
| 31 | 17 | variable (period : ℝ) [Fact (0 < period)] |
| 32 | 18 | |
| 33 | -/-- Actual smooth-in-time finite-Sobolev PDE approximations imply the limiting signed integral energy bound. | |
| 34 | -The premises include their literal PDEs and strong convergence, never an assumed energy inequality. -/ | |
| 35 | -theorem weighted_pde_energy_limit {α β : Type*} [Fintype α] [Fintype β] {q : ℕ} (hq : 3 ≤ q) | |
| 36 | - (T : ℝ) (hT : 0 ≤ T) (order : α → ℕ) (ρ ρ' : ℝ → ℝ) | |
| 37 | - (κ : ℝ) (m : Vector3) (K G : ℝ → SmoothCoefficient period) | |
| 38 | - (e : ℕ → α → β → ℝ → SobolevSpace period 2) | |
| 39 | - (e' p forcing : ℕ → α → β → ℝ → LiftL2 period) (z : ℝ → SobolevSpace period q) | |
| 40 | - (c ν : ℝ) (K' : ℝ → LiftL2 period →L[ℝ] LiftL2 period) (B : ℝ → NNReal) | |
| 41 | - (hc : 0 < c) (hν : 0 ≤ ν) | |
| 42 | - (hρc : ContinuousOn ρ (Icc 0 T)) (hρpos : ∀ r ∈ Icc 0 T, 0 < ρ r) | |
| 43 | - (hρd : ∀ r ∈ Ioo 0 T, HasDerivAt ρ (ρ' r) r) | |
| 44 | - (hKc : ContinuousOn (fun r => (K r).operator) (Icc 0 T)) | |
| 45 | - (hec : ∀ n i j, ContinuousOn (fun r => value period (e n i j r)) (Icc 0 T)) | |
| 46 | - (hKt : ∀ r ∈ Ioo 0 T, HasDerivAt (fun v => (K v).operator) (K' r) r) | |
| 47 | - (het : ∀ n i j r, r ∈ Ioo 0 T → HasDerivAt (fun v => value period (e n i j v)) (e' n i j r) r) | |
| 48 | - (hsym : ∀ r ∈ Ioo 0 T, ∀ x v w, ⟪(K r).coefficient x v, w⟫_ℝ = ⟪v, (K r).coefficient x w⟫_ℝ) | |
| 49 | - (hpos : ∀ r ∈ Icc 0 T, ∀ x v, c^2*‖v‖^2 ≤ ⟪(K r).coefficient x v, v⟫_ℝ) | |
| 50 | - (hKG : ∀ r ∈ Ioo 0 T, ∀ x v, (K r).coefficient x ((G r).coefficient x v) = v) | |
| 51 | - (hediv : ∀ n i j r, r ∈ Ioo 0 T → value period (e n i j r) ∈ divergenceFreeSpace period κ m) | |
| 52 | - (hp : ∀ n i j r, r ∈ Ioo 0 T → p n i j r ∈ gradientSpace period κ m) | |
| 53 | - (hz : ∀ r ∈ Ioo 0 T, value period (z r) ∈ divergenceFreeSpace period κ m) | |
| 54 | - (hzB : ∀ r ∈ Ioo 0 T, ∀ᵐ x ∂liftMeasure period, ‖value period (z r) x‖ ≤ B r) | |
| 55 | - (heq : ∀ n i j r, r ∈ Ioo 0 T → e' n i j r + | |
| 56 | - transportOperator period hq κ m (z r) (restrictOperator period (by norm_num : 1 ≤ 2) (e n i j r)) + | |
| 57 | - (G r).operator (p n i j r) = forcing n i j r + ν • jetLaplacian period (toJet period (e n i j r))) | |
| 58 | - (hAint : ∀ i, IntegrableOn (fun r => weight (ρ r) (order i) * | |
| 59 | - viscousGrowthCoefficient period (K r) (K' r) κ m c ν (B r) + | |
| 60 | - (ρ' r / ρ r) * (order i : ℝ) * weight (ρ r) (order i)) (Icc 0 T)) | |
| 61 | - (hFint : ∀ n i, IntegrableOn (fun r => weight (ρ r) (order i) * | |
| 62 | - ((((K r).bound : ℝ) / c) * familyNorm (fun j => forcing n i j r))) (Icc 0 T)) | |
| 63 | - (a b d : C(Icc (0 : ℝ) T, ℝ)) | |
| 64 | - (ha : ∀ r ∈ Icc 0 T, viscousGrowthCoefficient period (K r) (K' r) κ m c ν (B r) = extendPath T hT a r) | |
| 65 | - (hb : ∀ r ∈ Icc 0 T, ρ' r / ρ r = extendPath T hT b r) | |
| 66 | - (hd : ∀ r ∈ Icc 0 T, ((K r).bound : ℝ) / c = extendPath T hT d r) | |
| 67 | - (X Y Z : ℕ → C(Icc (0 : ℝ) T, ℝ)) | |
| 68 | - (hXdef : ∀ n r, r ∈ Icc 0 T → weightedMetricSum (ρ r) order (K r).operator | |
| 69 | - (fun i j => value period (e n i j r)) = extendPath T hT (X n) r) | |
| 70 | - (hYdef : ∀ n r, r ∈ Icc 0 T → weightedMetricLoss (ρ r) order (K r).operator | |
| 71 | - (fun i j => value period (e n i j r)) = extendPath T hT (Y n) r) | |
| 72 | - (hZdef : ∀ n r, r ∈ Icc 0 T → weightedForcingSum (ρ r) order | |
| 73 | - (fun i j => forcing n i j r) = extendPath T hT (Z n) r) | |
| 74 | - (x y : C(Icc (0 : ℝ) T, ℝ)) (f : TimeLp T ℝ) | |
| 75 | - (hX : Filter.Tendsto X Filter.atTop (𝓝 x)) (hY : Filter.Tendsto Y Filter.atTop (𝓝 y)) | |
| 76 | - (hZ : Filter.Tendsto (fun n => pathLp T hT (Z n)) Filter.atTop (𝓝 f)) : | |
| 77 | - x ⟨T, hT, le_rfl⟩ - x ⟨0, le_rfl, hT⟩ ≤ | |
| 78 | - (∫ r in (0 : ℝ)..T, extendPath T hT a r * extendPath T hT x r) + | |
| 79 | - (∫ r in (0 : ℝ)..T, extendPath T hT b r * extendPath T hT y r) + | |
| 80 | - ∫ r, pathLp T hT d r * f r ∂timeMeasure T := by | |
| 81 | - apply integral_energy_limit T hT a b (pathLp T hT d) X Y (fun n => pathLp T hT (Z n)) x y f hX hY hZ | |
| 82 | - intro n | |
| 83 | - have h := weighted_sobolev_energy_integral period hq order ρ ρ' κ m K G | |
| 84 | - (e n) (e' n) (p n) (forcing n) z 0 T c ν K' B hT hc hν hρc hρpos hρd hKc (hec n) hKt (het n) | |
| 85 | - hsym hpos hKG (hediv n) (hp n) hz hzB (heq n) hAint (hFint n) | |
| 86 | - rw [hXdef n T ⟨hT, le_rfl⟩, hXdef n 0 ⟨le_rfl, hT⟩] at h | |
| 87 | - have hevalT : extendPath T hT (X n) T = X n ⟨T, hT, le_rfl⟩ := congrArg (X n) (projIcc_of_mem hT ⟨hT, le_rfl⟩) | |
| 88 | - have heval0 : extendPath T hT (X n) 0 = X n ⟨0, le_rfl, hT⟩ := congrArg (X n) (projIcc_of_mem hT ⟨le_rfl, hT⟩) | |
| 89 | - rw [hevalT, heval0] at h | |
| 90 | - have hi := integral_eq_three_paths T hT a b d (X n) (Y n) (Z n) | |
| 91 | - (fun r => viscousGrowthCoefficient period (K r) (K' r) κ m c ν (B r) * | |
| 92 | - weightedMetricSum (ρ r) order (K r).operator (fun i j => value period (e n i j r)) + | |
| 93 | - (ρ' r / ρ r) * weightedMetricLoss (ρ r) order (K r).operator (fun i j => value period (e n i j r)) + | |
| 94 | - (((K r).bound : ℝ) / c) * weightedForcingSum (ρ r) order (fun i j => forcing n i j r)) | |
| 95 | - (fun r hr => by rw [ha r hr, hb r hr, hd r hr, hXdef n r hr, hYdef n r hr, hZdef n r hr]) | |
| 96 | - rw [hi] at h | |
| 97 | - rw [← inner_eq_integral, path_inner_eq_integral] | |
| 98 | - exact h | |
| 99 | - | |
| 100 | 19 | end EulerPDEEnergyLimit |
+0 −80 Euler/PDESubintervalEnergyLimit.lean View file
| @@ -35,84 +35,4 @@ theorem integral_eq_three_subinterval_paths (T : ℝ) (hT : 0 ≤ T) (s t : ℝ) | ||
| 35 | 35 | |
| 36 | 36 | variable (period : ℝ) [Fact (0 < period)] |
| 37 | 37 | |
| 38 | -/-- Actual smooth-in-time finite-Sobolev PDE approximations imply the limiting signed integral energy bound. | |
| 39 | -The premises include their literal PDEs and strong convergence, never an assumed energy inequality. -/ | |
| 40 | -theorem weighted_pde_energy_subinterval_limit {α β : Type*} [Fintype α] [Fintype β] {q : ℕ} (hq : 3 ≤ q) | |
| 41 | - (T : ℝ) (hT : 0 ≤ T) (s t : ℝ) (h0s : 0 ≤ s) (hst : s ≤ t) (htT : t ≤ T) (order : α → ℕ) (ρ ρ' : ℝ → ℝ) | |
| 42 | - (κ : ℝ) (m : Vector3) (K G : ℝ → SmoothCoefficient period) | |
| 43 | - (e : ℕ → α → β → ℝ → SobolevSpace period 2) | |
| 44 | - (e' p forcing : ℕ → α → β → ℝ → LiftL2 period) (z : ℝ → SobolevSpace period q) | |
| 45 | - (c ν : ℝ) (K' : ℝ → LiftL2 period →L[ℝ] LiftL2 period) (B : ℝ → NNReal) | |
| 46 | - (hc : 0 < c) (hν : 0 ≤ ν) | |
| 47 | - (hρc : ContinuousOn ρ (Icc 0 T)) (hρpos : ∀ r ∈ Icc 0 T, 0 < ρ r) | |
| 48 | - (hρd : ∀ r ∈ Ioo 0 T, HasDerivAt ρ (ρ' r) r) | |
| 49 | - (hKc : ContinuousOn (fun r => (K r).operator) (Icc 0 T)) | |
| 50 | - (hec : ∀ n i j, ContinuousOn (fun r => value period (e n i j r)) (Icc 0 T)) | |
| 51 | - (hKt : ∀ r ∈ Ioo 0 T, HasDerivAt (fun v => (K v).operator) (K' r) r) | |
| 52 | - (het : ∀ n i j r, r ∈ Ioo 0 T → HasDerivAt (fun v => value period (e n i j v)) (e' n i j r) r) | |
| 53 | - (hsym : ∀ r ∈ Ioo 0 T, ∀ x v w, ⟪(K r).coefficient x v, w⟫_ℝ = ⟪v, (K r).coefficient x w⟫_ℝ) | |
| 54 | - (hpos : ∀ r ∈ Icc 0 T, ∀ x v, c^2*‖v‖^2 ≤ ⟪(K r).coefficient x v, v⟫_ℝ) | |
| 55 | - (hKG : ∀ r ∈ Ioo 0 T, ∀ x v, (K r).coefficient x ((G r).coefficient x v) = v) | |
| 56 | - (hediv : ∀ n i j r, r ∈ Ioo 0 T → value period (e n i j r) ∈ divergenceFreeSpace period κ m) | |
| 57 | - (hp : ∀ n i j r, r ∈ Ioo 0 T → p n i j r ∈ gradientSpace period κ m) | |
| 58 | - (hz : ∀ r ∈ Ioo 0 T, value period (z r) ∈ divergenceFreeSpace period κ m) | |
| 59 | - (hzB : ∀ r ∈ Ioo 0 T, ∀ᵐ x ∂liftMeasure period, ‖value period (z r) x‖ ≤ B r) | |
| 60 | - (heq : ∀ n i j r, r ∈ Ioo 0 T → e' n i j r + | |
| 61 | - transportOperator period hq κ m (z r) (restrictOperator period (by norm_num : 1 ≤ 2) (e n i j r)) + | |
| 62 | - (G r).operator (p n i j r) = forcing n i j r + ν • jetLaplacian period (toJet period (e n i j r))) | |
| 63 | - (hAint : ∀ i, IntegrableOn (fun r => weight (ρ r) (order i) * | |
| 64 | - viscousGrowthCoefficient period (K r) (K' r) κ m c ν (B r) + | |
| 65 | - (ρ' r / ρ r) * (order i : ℝ) * weight (ρ r) (order i)) (Icc 0 T)) | |
| 66 | - (hFint : ∀ n i, IntegrableOn (fun r => weight (ρ r) (order i) * | |
| 67 | - ((((K r).bound : ℝ) / c) * familyNorm (fun j => forcing n i j r))) (Icc 0 T)) | |
| 68 | - (a b d : C(Icc (0 : ℝ) T, ℝ)) | |
| 69 | - (ha : ∀ r ∈ Icc 0 T, viscousGrowthCoefficient period (K r) (K' r) κ m c ν (B r) = extendPath T hT a r) | |
| 70 | - (hb : ∀ r ∈ Icc 0 T, ρ' r / ρ r = extendPath T hT b r) | |
| 71 | - (hd : ∀ r ∈ Icc 0 T, ((K r).bound : ℝ) / c = extendPath T hT d r) | |
| 72 | - (X Y Z : ℕ → C(Icc (0 : ℝ) T, ℝ)) | |
| 73 | - (hXdef : ∀ n r, r ∈ Icc 0 T → weightedMetricSum (ρ r) order (K r).operator | |
| 74 | - (fun i j => value period (e n i j r)) = extendPath T hT (X n) r) | |
| 75 | - (hYdef : ∀ n r, r ∈ Icc 0 T → weightedMetricLoss (ρ r) order (K r).operator | |
| 76 | - (fun i j => value period (e n i j r)) = extendPath T hT (Y n) r) | |
| 77 | - (hZdef : ∀ n r, r ∈ Icc 0 T → weightedForcingSum (ρ r) order | |
| 78 | - (fun i j => forcing n i j r) = extendPath T hT (Z n) r) | |
| 79 | - (x y : C(Icc (0 : ℝ) T, ℝ)) (f : TimeLp T ℝ) | |
| 80 | - (hX : Filter.Tendsto X Filter.atTop (𝓝 x)) (hY : Filter.Tendsto Y Filter.atTop (𝓝 y)) | |
| 81 | - (hZ : Filter.Tendsto (fun n => pathLp T hT (Z n)) Filter.atTop (𝓝 f)) : | |
| 82 | - x ⟨t, h0s.trans hst, htT⟩ - x ⟨s, h0s, hst.trans htT⟩ ≤ | |
| 83 | - (∫ r in s..t, extendPath T hT a r * extendPath T hT x r) + | |
| 84 | - (∫ r in s..t, extendPath T hT b r * extendPath T hT y r) + | |
| 85 | - ∫ r in Icc s t, pathLp T hT d r * f r ∂timeMeasure T := by | |
| 86 | - have hsub : Icc s t ⊆ Icc (0 : ℝ) T := fun _ hr => ⟨h0s.trans hr.1, hr.2.trans htT⟩ | |
| 87 | - have hsubo : Ioo s t ⊆ Ioo (0 : ℝ) T := fun _ hr => ⟨lt_of_le_of_lt h0s hr.1, lt_of_lt_of_le hr.2 htT⟩ | |
| 88 | - apply integral_energy_subinterval_limit T hT s t h0s hst htT a b (pathLp T hT d) | |
| 89 | - X Y (fun n => pathLp T hT (Z n)) x y f hX hY hZ | |
| 90 | - intro n | |
| 91 | - have h := weighted_sobolev_energy_integral period hq order ρ ρ' κ m K G | |
| 92 | - (e n) (e' n) (p n) (forcing n) z s t c ν K' B hst hc hν | |
| 93 | - (hρc.mono hsub) (fun r hr => hρpos r (hsub hr)) (fun r hr => hρd r (hsubo hr)) | |
| 94 | - (hKc.mono hsub) (fun i j => (hec n i j).mono hsub) (fun r hr => hKt r (hsubo hr)) | |
| 95 | - (fun i j r hr => het n i j r (hsubo hr)) (fun r hr => hsym r (hsubo hr)) | |
| 96 | - (fun r hr => hpos r (hsub hr)) (fun r hr => hKG r (hsubo hr)) | |
| 97 | - (fun i j r hr => hediv n i j r (hsubo hr)) (fun i j r hr => hp n i j r (hsubo hr)) | |
| 98 | - (fun r hr => hz r (hsubo hr)) (fun r hr => hzB r (hsubo hr)) | |
| 99 | - (fun i j r hr => heq n i j r (hsubo hr)) | |
| 100 | - (fun i => (hAint i).mono_set hsub) (fun i => (hFint n i).mono_set hsub) | |
| 101 | - rw [hXdef n t ⟨h0s.trans hst, htT⟩, hXdef n s ⟨h0s, hst.trans htT⟩] at h | |
| 102 | - have hevalt : extendPath T hT (X n) t = X n ⟨t, h0s.trans hst, htT⟩ := | |
| 103 | - congrArg (X n) (projIcc_of_mem hT ⟨h0s.trans hst, htT⟩) | |
| 104 | - have hevals : extendPath T hT (X n) s = X n ⟨s, h0s, hst.trans htT⟩ := | |
| 105 | - congrArg (X n) (projIcc_of_mem hT ⟨h0s, hst.trans htT⟩) | |
| 106 | - rw [hevalt, hevals] at h | |
| 107 | - have hi := integral_eq_three_subinterval_paths T hT s t hst a b d (X n) (Y n) (Z n) | |
| 108 | - (fun r => viscousGrowthCoefficient period (K r) (K' r) κ m c ν (B r) * | |
| 109 | - weightedMetricSum (ρ r) order (K r).operator (fun i j => value period (e n i j r)) + | |
| 110 | - (ρ' r / ρ r) * weightedMetricLoss (ρ r) order (K r).operator (fun i j => value period (e n i j r)) + | |
| 111 | - (((K r).bound : ℝ) / c) * weightedForcingSum (ρ r) order (fun i j => forcing n i j r)) | |
| 112 | - (fun r hr => by rw [ha r (hsub hr), hb r (hsub hr), hd r (hsub hr), | |
| 113 | - hXdef n r (hsub hr), hYdef n r (hsub hr), hZdef n r (hsub hr)]) | |
| 114 | - rw [hi] at h | |
| 115 | - rw [← subinterval_inner_eq, subinterval_path_inner T hT s t h0s hst htT] | |
| 116 | - exact h | |
| 117 | - | |
| 118 | 38 | end EulerPDESubintervalEnergyLimit |
+0 −40 Euler/PacketActivationConstructed.lean View file
| @@ -27,44 +27,4 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | ||
| 27 | 27 | (D : Data U) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 28 | 28 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 29 | 29 | |
| 30 | -def activatedData (m v : ℝ → Space) (hm : m τ ≠ 0) (hv : v τ ≠ 0) | |
| 31 | - (hmv : ⟪m τ,v τ⟫_ℝ=0) : | |
| 32 | - Data (referencePlane (activationDirection (D.deformationEquiv ⟨τ,hτ.le,hτT.le⟩ 0) | |
| 33 | - (cross (unit (m τ)) (unit (v τ))))) := | |
| 34 | - D.activation ⟨τ,hτ.le,hτT.le⟩ (cross (unit (m τ)) (unit (v τ))) | |
| 35 | - (activation_cross_ne_zero _ _ hm hv hmv) | |
| 36 | - | |
| 37 | -def activatedHistory (m v : ℝ → Space) (hm : m τ ≠ 0) (hv : v τ ≠ 0) | |
| 38 | - (hmv : ⟪m τ,v τ⟫_ℝ=0) : | |
| 39 | - HistoryData ((activatedData D τ hτ hτT m v hm hv hmv).initial τ hτ hτT.le) := | |
| 40 | - B.reframe (activationDirection (D.deformationEquiv ⟨τ,hτ.le,hτT.le⟩ 0) | |
| 41 | - (cross (unit (m τ)) (unit (v τ)))) | |
| 42 | - (activationDirection_unit _ (activation_cross_ne_zero _ _ hm hv hmv)) | |
| 43 | - | |
| 44 | -theorem constructed_initial_matching | |
| 45 | - (m v : ℝ → Space) (hm : m τ ≠ 0) (hv : v τ ≠ 0) (hmv : ⟪m τ,v τ⟫_ℝ=0) | |
| 46 | - (hHs : ∀ t, (B.H.field t 0).IsSymmetric) | |
| 47 | - (h CM CH ζ a ε : ℝ) (hh : 0 < h) (hLayer : 1 ≤ h*τ) | |
| 48 | - (hCM : 0 ≤ CM) (hCH : 0 ≤ CH) (hζ : 0 ≤ ζ) (hε : 0 < ε) | |
| 49 | - (hM : ∀ t : Icc (0 : ℝ) τ, ‖(D.initial τ hτ hτT.le).M.field t 0‖ ≤ CM*h) | |
| 50 | - (hHnorm : ‖B.coefficients.labelHessian 0‖ ≤ CH*h^2) | |
| 51 | - (hζsmall : 16*(activationConstant CM CH+1)*ζ ≤ 1) | |
| 52 | - (hB : ‖D.M.field ⟨τ,hτ.le,hτT.le⟩ 0- | |
| 53 | - h • rankOne ℝ (unit (v τ)) (unit (m τ))‖ ≤ ζ*h) | |
| 54 | - (hBpp : ⟪D.M.field ⟨τ,hτ.le,hτT.le⟩ 0 (unit (m τ)),unit (m τ)⟫_ℝ < 0) : | |
| 55 | - let Da := activatedData D τ hτ hτT m v hm hv hmv | |
| 56 | - let Ba := activatedHistory D τ hτ hτT B m v hm hv hmv | |
| 57 | - let s₀ := activationRayScale (D.deformationEquiv ⟨τ,hτ.le,hτT.le⟩ 0) | |
| 58 | - (cross (unit (m τ)) (unit (v τ))) | |
| 59 | - 0 < s₀ ∧ | |
| 60 | - scaledRay m v (fun s => Da.normal.field (Da.clamp s) 0) s₀ τ a ε 0 = ![0,0,1] ∧ | |
| 61 | - ∃ ξ : referencePlane Da.m₀, ∃ lam : ℝ, ξ ≠ 0 ∧ 0 ≤ lam ∧ | |
| 62 | - lam ≤ 8*(activationConstant CM CH+1)/ε ∧ | |
| 63 | - ‖ξ‖ ≤ (8*(activationConstant CM CH+1)*D.inverseBound)/h ∧ | |
| 64 | - scaledVelocity m v (fun s => uncutVelocity (D := Da) τ hτ hτT Ba ξ s 0) τ a ε 0 0 = -lam ∧ | |
| 65 | - scaledVelocity m v (fun s => uncutVelocity (D := Da) τ hτ hτT Ba ξ s 0) τ a ε 0 1 = 1 := by | |
| 66 | - exact exists_activated_primary (D := activatedData D τ hτ hτT m v hm hv hmv) | |
| 67 | - τ hτ hτT (activatedHistory D τ hτ hτT B m v hm hv hmv) | |
| 68 | - m v hm hv hmv rfl hHs h CM CH ζ a ε hh hLayer hCM hCH hζ hε hM hHnorm hζsmall hB hBpp | |
| 69 | - | |
| 70 | 30 | end EulerPacketActivationHistory |
+0 −39 Euler/PacketActivationSourceData.lean View file
| @@ -14,45 +14,6 @@ open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit | ||
| 14 | 14 | |
| 15 | 15 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 16 | 16 | |
| 17 | -def Data.reframe (D : Data U) (m : Space) (hm : ‖m‖=1) : Data (referencePlane m) where | |
| 18 | - T := D.T | |
| 19 | - T_pos := D.T_pos | |
| 20 | - support := D.support | |
| 21 | - support_compact := D.support_compact | |
| 22 | - m₀ := m | |
| 23 | - m₀_unit := hm | |
| 24 | - R := LinearIsometryEquiv.refl ℝ (referencePlane m) | |
| 25 | - F := D.F | |
| 26 | - F₁ := D.F₁ | |
| 27 | - FInv := D.FInv | |
| 28 | - M := D.M | |
| 29 | - inverse_left := D.inverse_left | |
| 30 | - inverse_right := D.inverse_right | |
| 31 | - frame_time := D.frame_time | |
| 32 | - strain_equation := D.strain_equation | |
| 33 | - | |
| 34 | -def HistoryData.reframe {D : Data U} (B : HistoryData D) (m : Space) (hm : ‖m‖=1) : | |
| 35 | - HistoryData (D.reframe m hm) where | |
| 36 | - H := B.H | |
| 37 | - jacobi := B.jacobi | |
| 38 | - potential := B.potential | |
| 39 | - potential_nonneg := B.potential_nonneg | |
| 40 | - potential_bound := B.potential_bound | |
| 41 | - small := B.small | |
| 42 | - | |
| 43 | -def Data.activation (D : Data U) (t₀ : Icc (0 : ℝ) D.T) (n : Space) (hn : n ≠ 0) : | |
| 44 | - Data (referencePlane (activationDirection (D.deformationEquiv t₀ 0) n)) := | |
| 45 | - D.reframe (activationDirection (D.deformationEquiv t₀ 0) n) | |
| 46 | - (activationDirection_unit _ hn) | |
| 47 | - | |
| 48 | -theorem Data.activation_normal (D : Data U) (t₀ : Icc (0 : ℝ) D.T) (n : Space) (hn : n ≠ 0) : | |
| 49 | - (D.activation t₀ n hn).normal.field t₀ 0 = activationRayScale (D.deformationEquiv t₀ 0) n • n := by | |
| 50 | - exact activationDirection_transport (D.deformationEquiv t₀ 0) n | |
| 51 | - | |
| 52 | -def HistoryData.activation {D : Data U} (B : HistoryData D) | |
| 53 | - (t₀ : Icc (0 : ℝ) D.T) (n : Space) (hn : n ≠ 0) : HistoryData (D.activation t₀ n hn) := | |
| 54 | - B.reframe (activationDirection (D.deformationEquiv t₀ 0) n) (activationDirection_unit _ hn) | |
| 55 | - | |
| 56 | 17 | theorem Data.activationRayScale_bounds (D : Data U) (t₀ : Icc (0 : ℝ) D.T) (n : Space) |
| 57 | 18 | (hn : ‖n‖=1) : |
| 58 | 19 | 0 < activationRayScale (D.deformationEquiv t₀ 0) n ∧ |
+0 −18 Euler/PacketAngularPotential.lean View file
| @@ -18,13 +18,6 @@ theorem potential_hasDerivAt (P : ℝ) (m : Space) (A : ℝ → Space) | ||
| 18 | 18 | HasDerivAt (potential P m A) (potentialMultiplier m (A θ)) θ := |
| 19 | 19 | primitive_hasDerivAt P _ ((potentialMultiplier m).continuous.comp hA) θ |
| 20 | 20 | |
| 21 | -/-- The actual angular derivative recovers A after crossing with m. -/ | |
| 22 | -theorem cross_deriv_potential (P : ℝ) (m : Space) (hm : m ≠ 0) (A : ℝ → Space) | |
| 23 | - (hA : Continuous A) (htan : ∀ θ, ⟪m,A θ⟫_ℝ=0) (θ : ℝ) : | |
| 24 | - cross m (deriv (potential P m A) θ)=A θ := by | |
| 25 | - rw [(potential_hasDerivAt P m A hA θ).deriv] | |
| 26 | - exact cross_potentialMultiplier m (A θ) hm (htan θ) | |
| 27 | - | |
| 28 | 21 | theorem potential_periodic (P : ℝ) (m : Space) (A : ℝ → Space) |
| 29 | 22 | (hA : Continuous A) (hper : Function.Periodic A P) |
| 30 | 23 | (hmean : ∫ θ in 0..P, A θ=0) : Function.Periodic (potential P m A) P := by |
| @@ -35,22 +28,11 @@ theorem potential_periodic (P : ℝ) (m : Space) (A : ℝ → Space) | ||
| 35 | 28 | rw [(potentialMultiplier m).intervalIntegral_comp_comm (hA.intervalIntegrable 0 P), |
| 36 | 29 | hmean, map_zero] |
| 37 | 30 | |
| 38 | -theorem potential_mean_zero (P : ℝ) (hP : P ≠ 0) (m : Space) (A : ℝ → Space) | |
| 39 | - (hA : Continuous A) : (∫ θ in 0..P, potential P m A θ)=0 := | |
| 40 | - primitive_mean_zero P hP _ ((potentialMultiplier m).continuous.comp hA) | |
| 41 | - | |
| 42 | 31 | theorem potential_zero (P : ℝ) (m : Space) : |
| 43 | 32 | potential P m (fun _ => 0)=fun _ => 0 := by |
| 44 | 33 | funext θ |
| 45 | 34 | simp [potential, primitive, rawPrimitive] |
| 46 | 35 | |
| 47 | -/-- The angular construction creates no values at labels where the whole input vanishes. -/ | |
| 48 | -theorem potential_vanishes (P : ℝ) (m : Space) (A : ℝ → Space) (hA : ∀ θ, A θ=0) : | |
| 49 | - ∀ θ, potential P m A θ=0 := by | |
| 50 | - have h : A=fun _ => 0 := funext hA | |
| 51 | - rw [h, potential_zero] | |
| 52 | - exact fun _ => rfl | |
| 53 | - | |
| 54 | 36 | theorem potential_bound (P M : ℝ) (hP : 0 < P) (hM : 0 ≤ M) (m : Space) |
| 55 | 37 | (A : ℝ → Space) (hA : ∀ θ ∈ Icc 0 P, ‖A θ‖ ≤ M) (θ : ℝ) (hθ : θ ∈ Icc 0 P) : |
| 56 | 38 | ‖potential P m A θ‖ ≤ 2*P*(‖potentialMultiplier m‖*M) := by |
+0 −17 Euler/PacketApproximationBounds.lean View file
| @@ -35,21 +35,4 @@ theorem normalizedVelocity_bound (k : ℝ) (hk : 4 ≤ k) | ||
| 35 | 35 | (fixedVelocityGradeCost_nonneg R S.H0 (zero_le_one.trans hR) 1) |
| 36 | 36 | (fixedVelocityGradeCost_nonneg R S.H0 (zero_le_one.trans hR) 2) |
| 37 | 37 | |
| 38 | -/-- This is the inverse-frame image of W_t. The derivative of the inverse | |
| 39 | -frame is a separate coefficient term in the time derivative of z_a. -/ | |
| 40 | -theorem normalizedVelocityTimeTerm_bound (k : ℝ) (hk : 4 ≤ k) | |
| 41 | - (hbase : tailBase R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) : | |
| 42 | - ((C.inverse.multiply (velocityDerivativeField hT G k⁻¹)).smul k).WordBound 6 (4*R) | |
| 43 | - (BC.multiplierCost*(fixedVelocityGradeCost R S.H0 1+fixedVelocityGradeCost R S.H0 2+1)) 0 := by | |
| 44 | - have hk0 : 0 ≤ k := by linarith | |
| 45 | - have hsmall : k⁻¹*tailBase R S.H0 BC.termCost N ≤ 1/2 := by | |
| 46 | - simpa only [div_eq_mul_inv,mul_comm] using | |
| 47 | - EulerPacketTailBound.grade_ratio_le_half k (tailBase R S.H0 BC.termCost N) hk hbase | |
| 48 | - have h := velocityDerivative_bound hT G hG hR ha hN BC.termCost BC.one_le_termCost | |
| 49 | - k⁻¹ (inv_nonneg.mpr hk0) hsmall | |
| 50 | - exact BC.normalized_approximation_bound (velocityDerivativeField hT G k⁻¹) h (by linarith) | |
| 51 | - (hRc.trans (by linarith)) hk (tailBase_nonneg R S.H0 BC.termCost BC.termCost_nonneg N) hbase | |
| 52 | - (fixedVelocityGradeCost_nonneg R S.H0 (zero_le_one.trans hR) 1) | |
| 53 | - (fixedVelocityGradeCost_nonneg R S.H0 (zero_le_one.trans hR) 2) | |
| 54 | - | |
| 55 | 38 | end EulerPacketCylinderField.ProfileRegularity |
+0 −8 Euler/PacketBudgetTimeChange.lean View file
| @@ -31,14 +31,6 @@ theorem WordBound.changeTime (hG : G.WordBound q R A d) (h : T = T') : | ||
| 31 | 31 | subst T' |
| 32 | 32 | exact hG |
| 33 | 33 | |
| 34 | -theorem WordBound.normalized_profile_eq {hT : 0 ≤ T} | |
| 35 | - {g : C(Icc (0 : ℝ) T,ℝ)} {hg : ∀ t, 0 < g t} | |
| 36 | - (hG : (G.normalized hT g hg).WordBound q R A d) | |
| 37 | - (g' : C(Icc (0 : ℝ) T,ℝ)) (hg' : ∀ t, 0 < g' t) (he : g = g') : | |
| 38 | - (G.normalized hT g' hg').WordBound q R A d := by | |
| 39 | - subst g' | |
| 40 | - exact hG | |
| 41 | - | |
| 42 | 34 | theorem WordBound.normalized_changeTime (hT : 0 ≤ T) |
| 43 | 35 | (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 44 | 36 | (hG : (G.normalized hT g hg).WordBound q R A d) |
+0 −18 Euler/PacketChildFieldMatch.lean View file
| @@ -187,22 +187,4 @@ variable (A : Parent) (H : LowBounds A) | ||
| 187 | 187 | (A.sourceAgreement m hm J support hSupport H) N hN k hk)) |
| 188 | 188 | (I : ParticleInverse A) |
| 189 | 189 | |
| 190 | -theorem normalizedPacketVelocity_initialized (t : Icc (0 : ℝ) A.T) : | |
| 191 | - A.normalizedPacketVelocity m hm J support hSupport Q | |
| 192 | - (initializedApproximationResidual (A.meanData H) (A.transverseData m hm J support hSupport) rfl | |
| 193 | - τ hτ hτT (A.historyOn H m hm J support hSupport τ hτ hτT) δ hδ ξ hs α | |
| 194 | - (A.sourceAgreement m hm J support hSupport H) N hN k hk) k I t = | |
| 195 | - initializedExactPhysicalVelocity (A.meanData H) (A.transverseData m hm J support hSupport) rfl | |
| 196 | - τ hτ hτT (A.historyOn H m hm J support hSupport τ hτ hτT) δ hδ ξ hs α | |
| 197 | - (A.sourceAgreement m hm J support hSupport H) N hN k hk Q t (I.normalized t) := rfl | |
| 198 | - | |
| 199 | -theorem normalizedPacketPressure_initialized (t : Icc (0 : ℝ) A.T) : | |
| 200 | - A.normalizedPacketPressure m hm J support hSupport Q | |
| 201 | - (initializedApproximationResidual (A.meanData H) (A.transverseData m hm J support hSupport) rfl | |
| 202 | - τ hτ hτT (A.historyOn H m hm J support hSupport τ hτ hτT) δ hδ ξ hs α | |
| 203 | - (A.sourceAgreement m hm J support hSupport H) N hN k hk) k I t = | |
| 204 | - initializedExactPhysicalPressure (A.meanData H) (A.transverseData m hm J support hSupport) rfl | |
| 205 | - τ hτ hτT (A.historyOn H m hm J support hSupport τ hτ hτT) δ hδ ξ hs α | |
| 206 | - (A.sourceAgreement m hm J support hSupport H) N hN k hk Q t (I.normalized t) := rfl | |
| 207 | - | |
| 208 | 190 | end EulerParentPacketFrames.Parent |
+0 −19 Euler/PacketChildLowBounds.lean View file
| @@ -110,25 +110,6 @@ def SourceErrors (ev ep : ℝ) : Prop := | ||
| 110 | 110 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) |
| 111 | 111 | (canonicalVelocity τ hτ hτT H G.terminal hs t (E.inverse.normalized t x))‖ ≤ ep |
| 112 | 112 | |
| 113 | -/-- The literal strict errors returned by the global same-Q packet | |
| 114 | -theorem imply the error record without any additional analytic bound. -/ | |
| 115 | -theorem sourceErrors_of_global (ev ep : ℝ) | |
| 116 | - (herr : ∀ (t : Icc (0 : ℝ) A.T) (x : Space), | |
| 117 | - ‖fderiv ℝ (A.normalizedPacketVelocity m hm J support hSupport B residual k E.inverse t) x- | |
| 118 | - (G.primaryAmplitude hball*deriv (profile G.δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • | |
| 119 | - rankOne ℝ (canonicalVelocity τ hτ hτT H G.terminal hs t (E.inverse.normalized t x)) | |
| 120 | - ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ev ∧ | |
| 121 | - ‖fderiv ℝ (gradient (A.normalizedPacketPressure m hm J support hSupport B residual k E.inverse t)) x- | |
| 122 | - (EulerPacketPrimaryPressure.coefficient τ hτ hτT H G.terminal hs (G.primaryAmplitude hball) t | |
| 123 | - (E.inverse.normalized t x)*deriv (profile G.δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • | |
| 124 | - rankOne ℝ ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) | |
| 125 | - ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ep) : | |
| 126 | - E.SourceErrors m hm J support hSupport B residual k G hball hs ev ep := by | |
| 127 | - intro t x | |
| 128 | - refine ⟨(herr t x).1.le,?_⟩ | |
| 129 | - erw [pressureTerm_eq_coefficient] | |
| 130 | - exact (herr t x).2.le | |
| 131 | - | |
| 132 | 113 | include hk hδ hδ1 in |
| 133 | 114 | theorem exactPacket_good_low_bounds |
| 134 | 115 | (ev ep CM CH Kupper : ℝ) |
+0 −6 Euler/PacketCoarseMajorant.lean View file
| @@ -14,12 +14,6 @@ theorem gradeBase_nonneg (R : ℝ) (N : ℕ) : 0 ≤ gradeBase R N := by | ||
| 14 | 14 | unfold gradeBase |
| 15 | 15 | positivity |
| 16 | 16 | |
| 17 | -theorem gradeBase_ge_one (R : ℝ) (hR : 1 ≤ R) (N : ℕ) (hN : 1 ≤ N) : | |
| 18 | - 1 ≤ gradeBase R N := by | |
| 19 | - have hn : (1 : ℝ) ≤ N := by exact_mod_cast hN | |
| 20 | - have hbase : (1 : ℝ) ≤ 4*R*(550*(N : ℝ))^2 := by nlinarith | |
| 21 | - exact one_le_pow₀ hbase | |
| 22 | - | |
| 23 | 17 | theorem factorial_le_grade_power (N p d : ℕ) (hN : 1 ≤ N) (hp : p ≤ 2*N+2) |
| 24 | 18 | (hd : d ≤ 110*(p+1)) : (d.factorial : ℝ) ≤ (550*(N : ℝ))^d := by |
| 25 | 19 | have hdN : d ≤ 550*N := by omega |
+0 −5 Euler/PacketCoefficientTower.lean View file
| @@ -24,11 +24,6 @@ def toCoefficientTower (A : MatrixCoefficient T raw) : | ||
| 24 | 24 | (t : Icc (0 : ℝ) T) (x : LiftDomain P) : |
| 25 | 25 | ((A.toCoefficientTower P).coefficient t).coefficient x = A.path t x.1 := rfl |
| 26 | 26 | |
| 27 | -theorem toCoefficientTower_raw (A : MatrixCoefficient T raw) | |
| 28 | - (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : | |
| 29 | - ((A.toCoefficientTower P).coefficient t).coefficient (x,(θ : AddCircle P)) = | |
| 30 | - raw (t,(x,θ)) := (A.raw_eq t x θ).symm | |
| 31 | - | |
| 32 | 27 | theorem toCoefficientTower_operator (A : MatrixCoefficient T raw) |
| 33 | 28 | (t : Icc (0 : ℝ) T) : |
| 34 | 29 | ((A.toCoefficientTower P).coefficient t).operator = fullOperatorMap P (A.path t) := |
+0 −5 Euler/PacketCoefficientTowerBounds.lean View file
| @@ -18,11 +18,6 @@ variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {raw : EulerPacketPointJets.Domain | ||
| 18 | 18 | |
| 19 | 19 | include hRc hC hb |
| 20 | 20 | |
| 21 | -theorem toCoefficientTower_block_bound (s q n : ℕ) (t : Icc (0 : ℝ) T) : | |
| 22 | - EulerH6Pressure.coefficientBlock P ((A.toCoefficientTower P).jet s t) q n ≤ | |
| 23 | - sobolevCoefficientAmplitude (Fin 4) q Rc C * majorant (sobolevCoefficientRadius (Fin 4) Rc) 0 n := | |
| 24 | - coefficientJet_block_bound P A.path A.orbit s q Rc C hRc hC hb n t | |
| 25 | - | |
| 26 | 21 | theorem toCoefficientTower_base_bound (s q r : ℕ) (hr : r ≤ q) (t : Icc (0 : ℝ) T) : |
| 27 | 22 | boundLevel P ((A.toCoefficientTower P).jet s t) r ≤ sobolevCoefficientAmplitude (Fin 4) q Rc C := |
| 28 | 23 | coefficientJet_base_bound P A.path A.orbit Rc C hRc hC hb s q r hr t |
+0 −8 Euler/PacketCofactorGevrey.lean View file
| @@ -46,14 +46,6 @@ theorem adjugate_bound (F : P → EndSpace) (hF : ContDiff ℝ ∞ F) | ||
| 46 | 46 | (mul_nonneg (by positivity) (majorant_nonneg R hR 0 n)) |
| 47 | 47 | _ = (9*C^2)*majorant R 0 n := by ring |
| 48 | 48 | |
| 49 | -theorem inverse_contDiff (F I : P → EndSpace) (hF : ContDiff ℝ ∞ F) | |
| 50 | - (hdet : ∀ x, (operatorMatrix (F x)).det = 1) | |
| 51 | - (hI : ∀ x v, I x (F x v) = v) : ContDiff ℝ ∞ I := by | |
| 52 | - have he : I = fun x => adjugate (F x) := | |
| 53 | - funext (fun x => inverse_eq_adjugate (F x) (I x) (hdet x) (hI x)) | |
| 54 | - rw [he] | |
| 55 | - exact adjugate_contDiff F hF | |
| 56 | - | |
| 57 | 49 | theorem inverse_bound (F I : P → EndSpace) (hF : ContDiff ℝ ∞ F) |
| 58 | 50 | (hdet : ∀ x, (operatorMatrix (F x)).det = 1) |
| 59 | 51 | (hI : ∀ x v, I x (F x v) = v) |
+0 −14 Euler/PacketCommonRadius.lean View file
| @@ -87,10 +87,6 @@ namespace EulerMeanPacketProvider.Budget.GradeGuards | ||
| 87 | 87 | |
| 88 | 88 | variable {D : Data} {R : ℝ} {M : Budget D 6 R} |
| 89 | 89 | |
| 90 | -theorem enlargeRadius (W : GradeGuards M) (R' : ℝ) (h : R ≤ R') : | |
| 91 | - GradeGuards (M.enlargeRadius R' h) := | |
| 92 | - ⟨W.velocity.trans h,W.derivative.trans h,W.pressureGradient.trans h⟩ | |
| 93 | - | |
| 94 | 90 | end EulerMeanPacketProvider.Budget.GradeGuards |
| 95 | 91 | |
| 96 | 92 | namespace EulerTransversePacketJoin.Budget.GradeGuards |
| @@ -103,22 +99,12 @@ variable {P : ℝ} | ||
| 103 | 99 | {B : HistoryData (D.initial τ hτ hτT.le)} |
| 104 | 100 | {L : Budget D τ hτ hτT B (Fin 4) 6} {N : NormalBudget D 6 L.R} |
| 105 | 101 | |
| 106 | -theorem enlargeRadius (W : GradeGuards (P := P) L N) (R' : ℝ) (h : L.R ≤ R') : | |
| 107 | - GradeGuards (P := P) (L.enlargeRadius R' h) (N.enlargeRadius R' h) := | |
| 108 | - ⟨W.common.trans h,W.corrector.trans h,W.correctorTime.trans h,W.pressureGradient.trans h⟩ | |
| 109 | - | |
| 110 | 102 | end EulerTransversePacketJoin.Budget.GradeGuards |
| 111 | 103 | |
| 112 | 104 | namespace EulerPacketCylinderField.Field |
| 113 | 105 | |
| 114 | 106 | open EulerPacketProfileRecursion EulerGevrey EulerOperatorGevreyCalculus |
| 115 | 107 | |
| 116 | -theorem WordBound.mono_radius {P T : ℝ} [Fact (0 < P)] | |
| 117 | - {raw : VectorField} {G : Field P T raw} {q d : ℕ} {R R' A : ℝ} | |
| 118 | - (hG : G.WordBound q R A d) (hR : 0 ≤ R) (hA : 0 ≤ A) (h : R ≤ R') : | |
| 119 | - G.WordBound q R' A d := fun n => (hG n).trans | |
| 120 | - (mul_le_mul_of_nonneg_left (majorant_radius_mono R R' hR h d n) hA) | |
| 121 | - | |
| 122 | 108 | end EulerPacketCylinderField.Field |
| 123 | 109 | |
| 124 | 110 | namespace EulerPacketCommonRadius |
+0 −19 Euler/PacketCoordinateJets.lean View file
| @@ -60,25 +60,6 @@ theorem normal_coordinate (k : ℝ) (W : VectorField) (z : Domain) : | ||
| 60 | 60 | k*⟪(rawInverse D z).adjoint D.m₀,W z⟫_ℝ |
| 61 | 61 | rw [inner_smul_right,adjoint_inner_left] |
| 62 | 62 | |
| 63 | -theorem coordinate_hasDerivWithinAt (k : ℝ) (W Wt : VectorField) | |
| 64 | - (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) | |
| 65 | - (hW : HasDerivWithinAt (fun r => W (r,(x,θ))) (Wt (t,(x,θ))) | |
| 66 | - (Icc (0 : ℝ) D.T) t) : | |
| 67 | - HasDerivWithinAt (fun r => coordinate D k W (r,(x,θ))) | |
| 68 | - (coordinateTime D k W Wt (t,(x,θ))) (Icc (0 : ℝ) D.T) t := by | |
| 69 | - have hi := D.inverse_hasDerivWithinAt t t.property x | |
| 70 | - have h := (hi.clm_apply hW).const_smul k | |
| 71 | - convert! h using 1 | |
| 72 | - | |
| 73 | -theorem coordinate_derivWithin (k : ℝ) (W Wt : VectorField) | |
| 74 | - (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) | |
| 75 | - (hW : HasDerivWithinAt (fun r => W (r,(x,θ))) (Wt (t,(x,θ))) | |
| 76 | - (Icc (0 : ℝ) D.T) t) : | |
| 77 | - derivWithin (fun r => coordinate D k W (r,(x,θ))) (Icc (0 : ℝ) D.T) t = | |
| 78 | - coordinateTime D k W Wt (t,(x,θ)) := | |
| 79 | - (coordinate_hasDerivWithinAt D k W Wt t x θ hW).derivWithin | |
| 80 | - ((uniqueDiffOn_Icc D.T_pos) _ t.property) | |
| 81 | - | |
| 82 | 63 | section Fields |
| 83 | 64 | |
| 84 | 65 | variable {P : ℝ} [Fact (0 < P)] {W Wt : VectorField} |
+0 −17 Euler/PacketCoordinateResidual.lean View file
| @@ -31,9 +31,6 @@ def algebraic (κ : ℝ) (Z : VectorField) (z : Domain) : Space := | ||
| 31 | 31 | def coordinatePressure (k : ℝ) (p : ScalarField) (z : Domain) : Space := |
| 32 | 32 | k • pressureGradient p z + k^2 • ((pressureJet p z).2 angleDirection • D.m₀) |
| 33 | 33 | |
| 34 | -def liftedPressure (κ : ℝ) (p : ScalarField) (z : Domain) : Space := | |
| 35 | - κ • pressureGradient p z + (pressureJet p z).2 angleDirection • D.m₀ | |
| 36 | - | |
| 37 | 34 | theorem transport_formula (κ : ℝ) (Z : VectorField) (z : Domain) : |
| 38 | 35 | transport D κ Z z = |
| 39 | 36 | κ • fderiv ℝ (fun y => Z (z.1,y)) z.2 (Z z,0) + |
| @@ -74,20 +71,6 @@ theorem normalized_pressure (k : ℝ) (p : ScalarField) (z : Domain) : | ||
| 74 | 71 | simp only [map_add,map_smul,smul_add,smul_smul,pow_two] |
| 75 | 72 | module |
| 76 | 73 | |
| 77 | -theorem coordinatePressure_eq_lifted (k : ℝ) (hk : k ≠ 0) (p : ScalarField) | |
| 78 | - (z : Domain) (hp : DifferentiableAt ℝ (fun y => p (z.1,y)) z.2) : | |
| 79 | - coordinatePressure D k p z = liftedPressure D k⁻¹ (k^2 • p) z := by | |
| 80 | - have hd : fderiv ℝ (fun y => (k^2 • p) (z.1,y)) z.2 = | |
| 81 | - k^2 • fderiv ℝ (fun y => p (z.1,y)) z.2 := by | |
| 82 | - convert! (hp.hasFDerivAt.const_smul (k^2)).fderiv using 1 | |
| 83 | - unfold liftedPressure coordinatePressure | |
| 84 | - rw [pressureGradient_eq_spatialDual,pressureGradient_eq_spatialDual, | |
| 85 | - pressureJet_angle,pressureJet_angle,hd] | |
| 86 | - simp only [smul_comp,map_smul,smul_apply,smul_smul] | |
| 87 | - have he : k⁻¹*k^2 = k := by field_simp | |
| 88 | - rw [he] | |
| 89 | - simp only [smul_eq_mul] | |
| 90 | - | |
| 91 | 74 | section Fields |
| 92 | 75 | |
| 93 | 76 | variable {P : ℝ} [Fact (0 < P)] {W Wt : VectorField} |
+0 −17 Euler/PacketCorrectionCoefficientParity.lean View file
| @@ -59,21 +59,4 @@ theorem quadraticTower_odd (κ : ℝ) (t : Icc (0 : ℝ) D.T) (i : Fin 3) (x : L | ||
| 59 | 59 | fderiv_neg_of_even (D.F.field t : Space → Space →L[ℝ] Space) (D.F.smooth t) (hF t), |
| 60 | 60 | neg_apply,comp_neg,smul_neg] |
| 61 | 61 | |
| 62 | -include hF hM in | |
| 63 | -theorem correctionParityData (κ : ℝ) (hκ : |κ| ≤ 1) {z r : VectorField} | |
| 64 | - (Z : Field P D.T z) (G : Field P D.T r) | |
| 65 | - (hZ : JointOdd D.T z) (hG : JointOdd D.T r) : | |
| 66 | - EulerCorrectionAssembly.ParityData P (correctionDataOfFields D P κ hκ Z G) where | |
| 67 | - metric := metricTower_even D hF P | |
| 68 | - linear := linearTower_even D hF hM P | |
| 69 | - quadratic := quadraticTower_odd D hF P κ | |
| 70 | - approximation t := by | |
| 71 | - have h := Z.reflection_neg_of_raw_odd t (hZ t) | |
| 72 | - change -EulerCylinderFieldReflection.reflection P (Z.path t) = Z.path t | |
| 73 | - rw [h,neg_neg] | |
| 74 | - residual t := by | |
| 75 | - have h := G.reflection_neg_of_raw_odd t (hG t) | |
| 76 | - change -EulerCylinderFieldReflection.reflection P (G.path t) = G.path t | |
| 77 | - rw [h,neg_neg] | |
| 78 | - | |
| 79 | 62 | end EulerPacketCorrectionCoefficients |
+0 −23 Euler/PacketCorrectionMetric.lean View file
| @@ -35,12 +35,6 @@ theorem frame_adjoint_inverse (t : Icc (0 : ℝ) D.T) (x v : Space) : | ||
| 35 | 35 | intro w |
| 36 | 36 | rw [adjoint_inner_left,adjoint_inner_left,D.inverse_left] |
| 37 | 37 | |
| 38 | -theorem inverse_adjoint_frame (t : Icc (0 : ℝ) D.T) (x v : Space) : | |
| 39 | - (D.FInv.field t x).adjoint ((D.F.field t x).adjoint v) = v := by | |
| 40 | - apply ext_inner_right ℝ | |
| 41 | - intro w | |
| 42 | - rw [adjoint_inner_left,adjoint_inner_left,D.inverse_right] | |
| 43 | - | |
| 44 | 38 | theorem metric_inner (t : Icc (0 : ℝ) D.T) (x v w : Space) : |
| 45 | 39 | ⟪(metricCoefficient D).path t x v,w⟫_ℝ = |
| 46 | 40 | ⟪(D.FInv.field t x).adjoint v,(D.FInv.field t x).adjoint w⟫_ℝ := by |
| @@ -72,23 +66,6 @@ theorem inverseMetric_inverse (t : Icc (0 : ℝ) D.T) (x v : Space) : | ||
| 72 | 66 | (D.F.field t x (D.FInv.field t x ((D.FInv.field t x).adjoint v))) = v |
| 73 | 67 | rw [D.inverse_right,frame_adjoint_inverse] |
| 74 | 68 | |
| 75 | -theorem metric_inverseMetric (t : Icc (0 : ℝ) D.T) (x v : Space) : | |
| 76 | - (metricCoefficient D).path t x ((inverseMetricCoefficient D).path t x v) = v := by | |
| 77 | - change D.FInv.field t x | |
| 78 | - ((D.FInv.field t x).adjoint ((D.F.field t x).adjoint (D.F.field t x v))) = v | |
| 79 | - rw [inverse_adjoint_frame,D.inverse_left] | |
| 80 | - | |
| 81 | -theorem metric_symmetric (t : Icc (0 : ℝ) D.T) (x v w : Space) : | |
| 82 | - ⟪(metricCoefficient D).path t x v,w⟫_ℝ = | |
| 83 | - ⟪v,(metricCoefficient D).path t x w⟫_ℝ := by | |
| 84 | - calc | |
| 85 | - _ = ⟪(D.FInv.field t x).adjoint v,(D.FInv.field t x).adjoint w⟫_ℝ := | |
| 86 | - metric_inner D t x v w | |
| 87 | - _ = ⟪(D.FInv.field t x).adjoint w,(D.FInv.field t x).adjoint v⟫_ℝ := | |
| 88 | - real_inner_comm _ _ | |
| 89 | - _ = ⟪(metricCoefficient D).path t x w,v⟫_ℝ := (metric_inner D t x w v).symm | |
| 90 | - _ = _ := real_inner_comm _ _ | |
| 91 | - | |
| 92 | 69 | theorem inverseMetric_symmetric (t : Icc (0 : ℝ) D.T) (x v w : Space) : |
| 93 | 70 | ⟪(inverseMetricCoefficient D).path t x v,w⟫_ℝ = |
| 94 | 71 | ⟪v,(inverseMetricCoefficient D).path t x w⟫_ℝ := by |
+0 −6 Euler/PacketCorrectionMetricBounds.lean View file
| @@ -62,10 +62,4 @@ theorem inverseMetricTimeBound_le_source : inverseMetricTimeBound D ≤ 2*C0*C1 | ||
| 62 | 62 | exact (inverseMetricTimeBound_le D).trans (mul_le_mul |
| 63 | 63 | (mul_le_mul_of_nonneg_left h0 (by norm_num)) h1 (norm_nonneg _) (by positivity)) |
| 64 | 64 | |
| 65 | -include hR hC0 hF in | |
| 66 | -theorem sourceMetricBudget_first_le_source (P : ℝ) [Fact (0 < P)] | |
| 67 | - (κ : ℝ) (hκ : |κ| ≤ 1) (Z G : FieldTower P D.T) (q : ℕ) : | |
| 68 | - (sourceMetricBudget D P κ hκ Z G q).first ≤ 3*C0*C0*R := | |
| 69 | - inverseMetricFirstBound_le_source D R C0 hR hC0 hF | |
| 70 | - | |
| 71 | 65 | end EulerPacketCorrectionCoefficients |
+0 −10 Euler/PacketCorrectionMetricBudget.lean View file
| @@ -130,14 +130,4 @@ def sourceMetricBudgetOfFields (κ : ℝ) (hκ : |κ| ≤ 1) | ||
| 130 | 130 | (Z G : FieldTower P D.T) (q : ℕ) : |
| 131 | 131 | (sourceMetricBudget D P κ hκ Z G q).c = D.inverseBound⁻¹ := rfl |
| 132 | 132 | |
| 133 | -theorem sourceMetricBudget_bound_le (κ : ℝ) (hκ : |κ| ≤ 1) | |
| 134 | - (Z G : FieldTower P D.T) (q : ℕ) : | |
| 135 | - (sourceMetricBudget D P κ hκ Z G q).bound ≤ ‖D.F.field‖^2 := | |
| 136 | - inverseMetricBound_le D | |
| 137 | - | |
| 138 | -theorem sourceMetricBudget_time_le (κ : ℝ) (hκ : |κ| ≤ 1) | |
| 139 | - (Z G : FieldTower P D.T) (q : ℕ) : | |
| 140 | - (sourceMetricBudget D P κ hκ Z G q).time ≤ 2*‖D.F.field‖*‖D.F₁.field‖ := | |
| 141 | - inverseMetricTimeBound_le D | |
| 142 | - | |
| 143 | 133 | end EulerPacketCorrectionCoefficients |
+0 −9 Euler/PacketCorrectionOutputPolynomial.lean View file
| @@ -38,15 +38,6 @@ theorem outputPolynomial_eval (X : ℝ) : (outputPolynomial P).eval X=outputEnve | ||
| 38 | 38 | simp only [Polynomial.eval_add,Polynomial.eval_mul,Polynomial.eval_one,Polynomial.eval_ofNat, |
| 39 | 39 | Polynomial.eval_C,Polynomial.eval_pow,Polynomial.eval_X,velocityPolynomial_eval,div_eq_mul_inv,one_mul] |
| 40 | 40 | |
| 41 | -def outputConstant : ℝ := coefficientCost (outputPolynomial P) | |
| 42 | -def outputPower : ℕ := (outputPolynomial P).natDegree | |
| 43 | - | |
| 44 | -theorem outputConstant_pos : 0 < outputConstant P := coefficientCost_pos _ | |
| 45 | - | |
| 46 | -theorem outputEnvelope_power (X : ℝ) (hX : 1 ≤ X) : | |
| 47 | - outputEnvelope P X ≤ outputConstant P*X^outputPower P := by | |
| 48 | - rw [← outputPolynomial_eval] | |
| 49 | - exact (le_abs_self _).trans (eval_bound (outputPolynomial P) X hX) | |
| 50 | 41 | |
| 51 | 42 | theorem output_components (X : ℝ) (hX : 0 ≤ X) : |
| 52 | 43 | 1 ≤ outputEnvelope P X ∧ baseEnvelope X ≤ outputEnvelope P X ∧ |
+0 −9 Euler/PacketCorrectionPrimitivePolynomial.lean View file
| @@ -85,15 +85,6 @@ theorem primitivePolynomial_eval (P : ℝ) [Fact (0 < P)] (X : ℝ) : | ||
| 85 | 85 | metricPolynomial_eval,linearPolynomial_eval,quadraticPolynomial_eval,radiusPolynomial_eval, |
| 86 | 86 | pressurePolynomialEnvelope_eval,multiplierPolynomial_eval,termPolynomial_eval] |
| 87 | 87 | |
| 88 | -def primitiveConstant (P : ℝ) [Fact (0 < P)] : ℝ := coefficientCost (primitivePolynomial P) | |
| 89 | -def primitivePower (P : ℝ) [Fact (0 < P)] : ℕ := (primitivePolynomial P).natDegree | |
| 90 | - | |
| 91 | -theorem primitiveConstant_pos (P : ℝ) [Fact (0 < P)] : 0 < primitiveConstant P := coefficientCost_pos _ | |
| 92 | - | |
| 93 | -theorem primitiveEnvelope_power (P : ℝ) [Fact (0 < P)] (X : ℝ) (hX : 1 ≤ X) : | |
| 94 | - primitiveEnvelope P X ≤ primitiveConstant P*X^(primitivePower P) := by | |
| 95 | - rw [← primitivePolynomial_eval] | |
| 96 | - exact (le_abs_self _).trans (eval_bound (primitivePolynomial P) X hX) | |
| 97 | 88 | |
| 98 | 89 | theorem primitive_components (P X : ℝ) [Fact (0 < P)] (hX : 0 ≤ X) : |
| 99 | 90 | 1 ≤ primitiveEnvelope P X ∧ 1+X ≤ primitiveEnvelope P X ∧ |
+0 −14 Euler/PacketCorrectionRapidDecay.lean View file
| @@ -43,18 +43,4 @@ theorem correction_eventually_lt_inverse_power (C p : ℝ) : | ||
| 43 | 43 | apply (lt_div_iff₀ (Real.rpow_pos_of_pos hk p)).mpr |
| 44 | 44 | simpa only [mul_assoc, mul_left_comm, mul_comm] using he |
| 45 | 45 | |
| 46 | -/-- Fixed polynomial losses from physical differentiation or graph | |
| 47 | -restriction are absorbed by the same actual correction target. -/ | |
| 48 | -theorem correction_with_power_loss_eventually (C loss p : ℝ) : | |
| 49 | - ∀ᶠ k : ℝ in atTop, C*k^loss*delta (expansion k) < k^(-p) := by | |
| 50 | - filter_upwards [correction_eventually_lt_inverse_power C (p+loss), | |
| 51 | - eventually_gt_atTop (0 : ℝ)] with k he hk | |
| 52 | - have hm := mul_lt_mul_of_pos_right he (Real.rpow_pos_of_pos hk loss) | |
| 53 | - have hp : k^(-(p+loss))*k^loss=k^(-p) := by | |
| 54 | - rw [← Real.rpow_add hk] | |
| 55 | - congr 1 | |
| 56 | - ring | |
| 57 | - rw [hp] at hm | |
| 58 | - simpa only [mul_assoc, mul_left_comm, mul_comm] using hm | |
| 59 | - | |
| 60 | 46 | end EulerPacketSourceFrequency |
+0 −3 Euler/PacketCorrectionScalar.lean View file
| @@ -21,9 +21,6 @@ theorem delta_pos (X : ℝ) : 0 < delta X := Real.exp_pos _ | ||
| 21 | 21 | theorem delta_le_one (X : ℝ) : delta X ≤ 1 := |
| 22 | 22 | Real.exp_le_one_iff.mpr (neg_nonpos.mpr (Real.sqrt_nonneg X)) |
| 23 | 23 | |
| 24 | -theorem residual_pos (k X : ℝ) : 0 < residual k X := | |
| 25 | - mul_pos (by norm_num) (Real.exp_pos _) | |
| 26 | - | |
| 27 | 24 | /-- One polynomial inverse radius meets both packet-series and pressure- |
| 28 | 25 | inverse absorption requirements. -/ |
| 29 | 26 | theorem initialRadius_bounds (R M Rc : ℝ) (hR : 0 ≤ R) (hM : 0 ≤ M) (hRc : 0 ≤ Rc) : |
+0 −3 Euler/PacketCrossProduct.lean View file
| @@ -50,9 +50,6 @@ theorem cross_negative_normalized (m a : Space) (hm : m ≠ 0) | ||
| 50 | 50 | def potentialMultiplier (m : Space) : Space →L[ℝ] Space := |
| 51 | 51 | (-((‖m‖^2)⁻¹)) • crossLeft m |
| 52 | 52 | |
| 53 | -theorem potentialMultiplier_apply (m a : Space) : | |
| 54 | - potentialMultiplier m a=(-((‖m‖^2)⁻¹)) • cross m a := rfl | |
| 55 | - | |
| 56 | 53 | theorem cross_potentialMultiplier (m a : Space) (hm : m ≠ 0) |
| 57 | 54 | (ha : ⟪m,a⟫_ℝ=0) : cross m (potentialMultiplier m a)=a := |
| 58 | 55 | cross_negative_normalized m a hm ha |
+0 −34 Euler/PacketCurlTime.lean View file
| @@ -20,38 +20,4 @@ variable (P : ℝ) [Fact (0 < P)] | ||
| 20 | 20 | |
| 21 | 21 | include hd |
| 22 | 22 | |
| 23 | -/-- The two product-rule terms are derived from the genuine L² evolution and actual inverse frame derivative. -/ | |
| 24 | -theorem matrixSlowCurl_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain P) | |
| 25 | - (G : ℝ → Space →L[ℝ] Space) (G₁ : Space →L[ℝ] Space) | |
| 26 | - (hG : HasDerivWithinAt G G₁ (Icc (0 : ℝ) T) t) : | |
| 27 | - HasDerivWithinAt | |
| 28 | - (fun r => curlMatrix ((fieldFDeriv P (pointField P p hp (projIcc 0 T hT r)) x).comp | |
| 29 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp (G r)))) | |
| 30 | - (curlMatrix ((fieldFDeriv P (pointField P f hf t) x).comp | |
| 31 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp (G t))) + | |
| 32 | - curlMatrix ((fieldFDeriv P (pointField P p hp t) x).comp | |
| 33 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp G₁))) | |
| 34 | - (Icc (0 : ℝ) T) t := by | |
| 35 | - have hL : HasDerivWithinAt (fun r => (ContinuousLinearMap.inl ℝ Space ℝ).comp (G r)) | |
| 36 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp G₁) (Icc (0 : ℝ) T) t := by | |
| 37 | - have h := ((hasDerivAt_const (t : ℝ) (ContinuousLinearMap.inl ℝ Space ℝ)).hasDerivWithinAt).clm_comp hG | |
| 38 | - simpa only [ContinuousLinearMap.zero_comp, zero_add] using h | |
| 39 | - have hD := pointField_fderiv_hasDerivWithinAt P T hT p f hp hf hd t x | |
| 40 | - have h := curlOperator.hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) (hD.clm_comp hL) | |
| 41 | - simpa only [Function.comp_def, map_add, curlOperator_apply, projIcc_of_mem hT t.property] using h | |
| 42 | - | |
| 43 | -/-- This is the literal lifted curl in the Piola packet construction, including both time endpoints. -/ | |
| 44 | -theorem liftedSlowCurl_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain P) | |
| 45 | - (F : ℝ → Space → Space ≃L[ℝ] Space) (G₁ : Space →L[ℝ] Space) | |
| 46 | - (hG : HasDerivWithinAt (fun r => (F r x.1).symm.toContinuousLinearMap) G₁ | |
| 47 | - (Icc (0 : ℝ) T) t) : | |
| 48 | - HasDerivWithinAt | |
| 49 | - (fun r => liftedSlowCurl P (F r) (pointField P p hp (projIcc 0 T hT r)) x) | |
| 50 | - (liftedSlowCurl P (F t) (pointField P f hf t) x + | |
| 51 | - curlMatrix ((fieldFDeriv P (pointField P p hp t) x).comp | |
| 52 | - ((ContinuousLinearMap.inl ℝ Space ℝ).comp G₁))) | |
| 53 | - (Icc (0 : ℝ) T) t := | |
| 54 | - matrixSlowCurl_hasDerivWithinAt P T hT p f hp hf hd t x | |
| 55 | - (fun r => (F r x.1).symm.toContinuousLinearMap) G₁ hG | |
| 56 | - | |
| 57 | 23 | end EulerPacketPiola |
+0 −6 Euler/PacketCylinderAngularRegularity.lean View file
| @@ -41,12 +41,6 @@ theorem raw_angle_derivative_continuous (t : Icc (0 : ℝ) T) (x : Space) : | ||
| 41 | 41 | (((G.raw_smooth t).fderiv_right (m := ∞) (by simp)).continuous.comp |
| 42 | 42 | (continuous_const.prodMk continuous_id)).clm_apply continuous_const |
| 43 | 43 | |
| 44 | -include G in | |
| 45 | -theorem raw_angle_derivative_integral (t : Icc (0 : ℝ) T) (x : Space) : | |
| 46 | - (∫ θ in (0 : ℝ)..P, fderiv ℝ (fun y => raw (t,y)) (x,θ) (0,1)) = 0 := | |
| 47 | - integral_derivative_eq_zero P _ _ (G.raw_angle_hasDerivAt t x) | |
| 48 | - (G.raw_angle_derivative_continuous t x) (G.raw_periodic t x) | |
| 49 | - | |
| 50 | 44 | include G in |
| 51 | 45 | theorem subtract_mean_integral (t : Icc (0 : ℝ) T) (x : Space) : |
| 52 | 46 | (∫ θ in (0 : ℝ)..P, (raw-EulerPacketProfileRecursion.angleMean P raw) (t,(x,θ))) = 0 := by |
+0 −10 Euler/PacketCylinderField.lean View file
| @@ -52,16 +52,6 @@ theorem raw_fderiv (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : | ||
| 52 | 52 | funext (fun y => G.raw_eq t y.1 y.2) |
| 53 | 53 | rw [he,coverField_fderiv] |
| 54 | 54 | |
| 55 | -theorem slicedJet_spatial (s : Set ℝ) (t : Icc (0 : ℝ) T) (x v : Space) (θ : ℝ) : | |
| 56 | - (slicedJet s raw (t,(x,θ))).2 (spatialInjection v) = | |
| 57 | - fieldFDeriv P (pointField P G.path G.orbit t) (x,(θ : AddCircle P)) (v,0) := by | |
| 58 | - rw [slicedJet_space,G.raw_fderiv] | |
| 59 | - | |
| 60 | -theorem slicedJet_angular (s : Set ℝ) (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : | |
| 61 | - (slicedJet s raw (t,(x,θ))).2 angleDirection = | |
| 62 | - fieldFDeriv P (pointField P G.path G.orbit t) (x,(θ : AddCircle P)) (0,1) := by | |
| 63 | - rw [slicedJet_angle,G.raw_fderiv] | |
| 64 | - | |
| 65 | 55 | theorem raw_hasDerivWithinAt (hT : 0 ≤ T) (H : Field P T raw_t) |
| 66 | 56 | (h : TimeDerivative hT G H) (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 67 | 57 | HasDerivWithinAt (fun r => raw (r,(x,θ))) (raw_t (t,(x,θ))) (Icc (0 : ℝ) T) t := by |
+0 −9 Euler/PacketCylinderFieldBounds.lean View file
| @@ -29,10 +29,6 @@ theorem WordBound.transfer (h : G.WordBound q R A d) (H : Field P T raw) : H.Wor | ||
| 29 | 29 | rw [← G.path_eq_of_same_raw H] |
| 30 | 30 | exact h |
| 31 | 31 | |
| 32 | -theorem WordBound.congr (h : G.WordBound q R A d) | |
| 33 | - (he : ∀ (t : Icc (0 : ℝ) T) x θ, raw' (t,(x,θ)) = raw (t,(x,θ))) : | |
| 34 | - (G.congr he).WordBound q R A d := h | |
| 35 | - | |
| 36 | 32 | theorem WordBound.mono_amplitude (h : G.WordBound q R A d) (hR : 0 ≤ R) (hAB : A ≤ B) : |
| 37 | 33 | G.WordBound q R B d := fun n => (h n).trans |
| 38 | 34 | (mul_le_mul_of_nonneg_right hAB (majorant_nonneg R hR d n)) |
| @@ -117,11 +113,6 @@ theorem WordBound.scalarProduct (hG : G.WordBound 6 R A d) (hH : H.WordBound 6 R | ||
| 117 | 113 | (G.scalarProduct H L hL).WordBound 6 R (3*productBlockConstant P*A*B) (d+e) := |
| 118 | 114 | scalarProductPath_majorant P L hL G.path H.path G.orbit H.orbit R A B hR hA hB d e 0 hG hH |
| 119 | 115 | |
| 120 | -theorem WordBound.bilinear (hG : G.WordBound 6 R A d) (hH : H.WordBound 6 R B e) | |
| 121 | - (L : Space →L[ℝ] Space →L[ℝ] Space) (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) : | |
| 122 | - (G.bilinear H L).WordBound 6 R (9*productBlockConstant P*‖L‖*A*B) (d+e) := | |
| 123 | - bilinearProductPath_majorant P L G.path H.path G.orbit H.orbit R A B hR hA hB d e 0 hG hH | |
| 124 | - | |
| 125 | 116 | theorem WordBound.spatialTransport (hG : G.WordBound 6 R A d) (hH : H.WordBound 6 R B e) |
| 126 | 117 | (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) : |
| 127 | 118 | (G.spatialTransport H).WordBound 6 R (9*productBlockConstant P*A*B) (d+e+1) := |
+0 −21 Euler/PacketCylinderFieldProducts.lean View file
| @@ -43,27 +43,6 @@ def scalarProduct (G : Field P T raw) (H : Field P T raw') | ||
| 43 | 43 | rw [G.raw_eq,H.raw_eq] |
| 44 | 44 | exact (pointField_scalarProductPath P L hL G.path H.path G.orbit H.orbit t (x,(θ : AddCircle P))).symm |
| 45 | 45 | |
| 46 | -def bilinear (G : Field P T raw) (H : Field P T raw') | |
| 47 | - (B : Space →L[ℝ] Space →L[ℝ] Space) : Field P T (fun z => B (raw z) (raw' z)) where | |
| 48 | - path := bilinearProductPath P B G.path H.path G.orbit H.orbit | |
| 49 | - orbit := bilinearProductPath_orbit P B G.path H.path G.orbit H.orbit | |
| 50 | - raw_eq t x θ := by | |
| 51 | - rw [G.raw_eq,H.raw_eq] | |
| 52 | - exact (pointField_bilinearProductPath P B G.path H.path G.orbit H.orbit t (x,(θ : AddCircle P))).symm | |
| 53 | - | |
| 54 | -/-- Spatial advection is the literal ordinary derivative of the second raw field. -/ | |
| 55 | -def advection (G : Field P T raw) (H : Field P T raw') : | |
| 56 | - Field P T (fun z => fderiv ℝ (fun y : Space => raw' (z.1,(y,z.2.2))) z.2.1 (raw z)) where | |
| 57 | - path := advectionPath P G.path H.path G.orbit H.orbit | |
| 58 | - orbit := advectionPath_orbit P G.path H.path G.orbit H.orbit | |
| 59 | - raw_eq t x θ := by | |
| 60 | - have he : (fun y : Space => raw' (t,(y,θ))) = | |
| 61 | - fun y : Space => pointField P H.path H.orbit t (y,(θ : AddCircle P)) := | |
| 62 | - funext (fun y => H.raw_eq t y θ) | |
| 63 | - rw [he,coverField_spatial_fderiv P _ (pointField_smooth P H.path H.orbit t), | |
| 64 | - G.raw_eq,comp_apply,inl_apply] | |
| 65 | - exact (pointField_advectionPath P G.path H.path G.orbit H.orbit t (x,(θ : AddCircle P))).symm | |
| 66 | - | |
| 67 | 46 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
| 68 | 47 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance |
| 69 | 48 | private local instance : NormedAddCommGroup (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
+0 −8 Euler/PacketCylinderFieldSupport.lean View file
| @@ -25,12 +25,4 @@ theorem supported_of_raw_zero | ||
| 25 | 25 | rw [hθ] at he |
| 26 | 26 | exact hz.trans (he.symm.trans (h t z.1 hzs θ)) |
| 27 | 27 | |
| 28 | -theorem raw_zero_of_supported (hSc : IsClosed S) | |
| 29 | - (h : ∀ t : Icc (0 : ℝ) T, G.path t ∈ Supported P Space S hS) | |
| 30 | - (t : Icc (0 : ℝ) T) (x : Space) (hx : x ∉ S) (θ : ℝ) : | |
| 31 | - raw (t,(x,θ)) = 0 := by | |
| 32 | - rw [G.raw_eq] | |
| 33 | - exact EulerCylinderLocalSupport.pointField_zero_outside P S hS G.path G.orbit hSc h t | |
| 34 | - (x,(θ : AddCircle P)) hx | |
| 35 | - | |
| 36 | 28 | end EulerPacketCylinderField.Field |
+0 −5 Euler/PacketCylinderHighPartBounds.lean View file
| @@ -34,11 +34,6 @@ theorem wordBound_normalized_of_zero (G : Field P T raw) | ||
| 34 | 34 | |
| 35 | 35 | variable {G : Field P T raw} {q d : ℕ} {R A : ℝ} |
| 36 | 36 | |
| 37 | -theorem WordBound.highPart (hG : G.WordBound q R A d) : | |
| 38 | - G.highPart.WordBound q R (2*A) d := by | |
| 39 | - have h := hG.sub hG.angleMean | |
| 40 | - simpa only [Field.highPart,two_mul] using h | |
| 41 | - | |
| 42 | 37 | theorem WordBound.normalized_highPart (hT : 0 ≤ T) |
| 43 | 38 | (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 44 | 39 | (hG : (G.normalized hT g hg).WordBound q R A d) : |
+0 −10 Euler/PacketCylinderLinearTermBudget.lean View file
| @@ -21,16 +21,6 @@ theorem slowCost_le : B.slowCost ≤ B.termCost := by | ||
| 21 | 21 | |
| 22 | 22 | theorem fastCost_le : B.fastCost ≤ B.termCost := B.fastCost_le_slowCost.trans B.slowCost_le |
| 23 | 23 | |
| 24 | -theorem linearCost_le : B.linearCost ≤ B.termCost := by | |
| 25 | - have h := B.twice_linearCost_le | |
| 26 | - have h0 := B.linearCost_nonneg | |
| 27 | - linarith | |
| 28 | - | |
| 29 | -theorem multiplierCost_le : B.multiplierCost ≤ B.termCost := by | |
| 30 | - have h := B.twice_multiplierCost_le | |
| 31 | - have h0 := B.multiplierCost_nonneg | |
| 32 | - linarith | |
| 33 | - | |
| 34 | 24 | variable (hT : 0 < T) (S : Scales (Icc (0 : ℝ) T)) (p : ℕ) |
| 35 | 25 | (b : C(Icc (0 : ℝ) T,ℝ)) (hb : ∀ t, 0 < b t) |
| 36 | 26 | |
+0 −25 Euler/PacketCylinderScalarGradientBounds.lean View file
| @@ -24,14 +24,6 @@ variable {K : Type*} [TopologicalSpace K] [CompactSpace K] | ||
| 24 | 24 | def scalarGradientPath : C(K,LiftL2 P) := ∑ i : Fin 3, |
| 25 | 25 | pathMap P (gradientComponent i) (derivativePath P (pathMap P scalarEmbed p) i.succ) |
| 26 | 26 | |
| 27 | -include hp in | |
| 28 | -theorem scalarGradientPath_orbit : | |
| 29 | - ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (scalarGradientPath p)) := by | |
| 30 | - simp only [scalarGradientPath,map_sum] | |
| 31 | - exact ContDiff.sum (fun i _ => pathMap_orbit_contDiff P (gradientComponent i) _ | |
| 32 | - (derivativePath_orbit P (pathMap P scalarEmbed p) | |
| 33 | - (pathMap_orbit_contDiff P scalarEmbed p hp) i.succ)) | |
| 34 | - | |
| 35 | 27 | include hp in |
| 36 | 28 | theorem scalarGradientPath_block_bound (q n : ℕ) (a : LiftTangent) : |
| 37 | 29 | block standardDirection q |
| @@ -89,23 +81,6 @@ variable {T : ℝ} (raw : ScalarField) (p : C(Icc (0 : ℝ) T,CylinderL2 P ℝ)) | ||
| 89 | 81 | (he : ∀ (t : Icc (0 : ℝ) T) x θ, |
| 90 | 82 | raw (t,(x,θ)) = scalarPointField P p hp t (x,(θ : AddCircle P))) |
| 91 | 83 | |
| 92 | -theorem scalarGradientField_path : | |
| 93 | - (scalarGradientField raw p hp he).path = scalarGradientPath p := rfl | |
| 94 | - | |
| 95 | -theorem scalarGradientField_block_bound (q n : ℕ) (a : LiftTangent) : | |
| 96 | - block standardDirection q | |
| 97 | - (fun b : LiftTangent => pathTranslate P b (scalarGradientField raw p hp he).path) n a ≤ | |
| 98 | - 3 * block standardDirection q (fun b : LiftTangent => pathTranslate P b p) (n+1) a := | |
| 99 | - scalarGradientPath_block_bound p hp q n a | |
| 100 | - | |
| 101 | -theorem scalarGradientField_majorant (q : ℕ) (R A : ℝ) (d : ℕ) | |
| 102 | - (hb : ∀ n, block standardDirection q (fun b : LiftTangent => pathTranslate P b p) n 0 ≤ | |
| 103 | - A * majorant R d n) (n : ℕ) : | |
| 104 | - block standardDirection q | |
| 105 | - (fun b : LiftTangent => pathTranslate P b (scalarGradientField raw p hp he).path) n 0 ≤ | |
| 106 | - (3*A) * majorant R (d+1) n := | |
| 107 | - scalarGradientPath_majorant p hp q R A d hb n | |
| 108 | - | |
| 109 | 84 | end Field |
| 110 | 85 | |
| 111 | 86 | end EulerPacketCylinderField |
+0 −3 Euler/PacketCylinderTimeUnique.lean View file
| @@ -14,7 +14,4 @@ theorem raw_eq (hG : TimeDerivative hT.le G G₁) (hH : TimeDerivative hT.le H H | ||
| 14 | 14 | (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : raw₁ (t,(x,θ)) = raw₂ (t,(x,θ)) := |
| 15 | 15 | (G.slicedJet_temporal hT G₁ hG t x θ).symm.trans (H.slicedJet_temporal hT H₁ hH t x θ) |
| 16 | 16 | |
| 17 | -theorem path_eq (hG : TimeDerivative hT.le G G₁) (hH : TimeDerivative hT.le H H₁) : | |
| 18 | - G₁.path = H₁.path := G₁.path_eq_of_raw_eq H₁ (fun t x θ => (raw_eq (hT := hT) hG hH t x θ).symm) | |
| 19 | - | |
| 20 | 17 | end EulerPacketCylinderField.TimeDerivative |
+0 −7 Euler/PacketCylinderWeightedLinear.lean View file
| @@ -83,13 +83,6 @@ theorem WordBound.normalized_multiply {q d : ℕ} {R A : ℝ} | ||
| 83 | 83 | (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*A) d := |
| 84 | 84 | (hG.multiply K Rc C hRc hC hA hR hK).of_path_eq _ (G.normalized_multiply_path hT g hg K) |
| 85 | 85 | |
| 86 | -theorem wordBound_normalized_finsetSum {ι : Type*} (s : Finset ι) (f : ι → VectorField) | |
| 87 | - (W : ∀ i, Field P T (f i)) (q : ℕ) (R : ℝ) (d : ℕ) (A : ι → ℝ) | |
| 88 | - (hW : ∀ i ∈ s, ((W i).normalized hT g hg).WordBound q R (A i) d) : | |
| 89 | - ((Field.finsetSum s f W).normalized hT g hg).WordBound q R (∑ i ∈ s,A i) d := | |
| 90 | - (wordBound_finsetSum s _ (fun i => (W i).normalized hT g hg) A hW).of_path_eq _ | |
| 91 | - (normalized_finsetSum_path hT g hg s f W) | |
| 92 | - | |
| 93 | 86 | theorem WordBound.angleMean {q d : ℕ} {R A : ℝ} (hG : G.WordBound q R A d) : |
| 94 | 87 | G.angleMean.WordBound q R A d := by |
| 95 | 88 | intro n |
+0 −26 Euler/PacketCylinderWeightedProduct.lean View file
| @@ -31,20 +31,6 @@ variable {P T : ℝ} [Fact (0 < P)] {raw raw' : VectorField} | ||
| 31 | 31 | (G : Field P T raw) (H : Field P T raw') (hT : 0 ≤ T) |
| 32 | 32 | (g h b : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) (hh : ∀ t, 0 < h t) (hb : ∀ t, 0 < b t) |
| 33 | 33 | |
| 34 | -theorem normalized_bilinear_path (L : Space →L[ℝ] Space →L[ℝ] Space) : | |
| 35 | - ((G.bilinear H L).normalized hT b hb).path = | |
| 36 | - (((G.normalized hT g hg).bilinear (H.normalized hT h hh) L).weighted hT | |
| 37 | - (productProfileRatio g h b hb)).path := by | |
| 38 | - apply path_eq_of_raw_eq | |
| 39 | - intro t x θ | |
| 40 | - change productProfileRatio g h b hb (projIcc 0 T hT t) • | |
| 41 | - L ((g (projIcc 0 T hT t))⁻¹ • raw (t,(x,θ))) ((h (projIcc 0 T hT t))⁻¹ • raw' (t,(x,θ))) = | |
| 42 | - (b (projIcc 0 T hT t))⁻¹ • L (raw (t,(x,θ))) (raw' (t,(x,θ))) | |
| 43 | - rw [projIcc_of_mem hT t.property] | |
| 44 | - simp only [productProfileRatio_apply,map_smul,smul_apply,smul_smul] | |
| 45 | - congr 1 | |
| 46 | - field_simp [(hg t).ne',(hh t).ne',(hb t).ne'] | |
| 47 | - | |
| 48 | 34 | theorem normalized_scalarProduct_path (L : Space →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) : |
| 49 | 35 | ((G.scalarProduct H L hL).normalized hT b hb).path = |
| 50 | 36 | (((G.normalized hT g hg).scalarProduct (H.normalized hT h hh) L hL).weighted hT |
| @@ -83,18 +69,6 @@ theorem normalized_spatialTransport_path : | ||
| 83 | 69 | |
| 84 | 70 | variable {G H g h b hg hh hb} |
| 85 | 71 | |
| 86 | -theorem WordBound.normalized_bilinear {R A B : ℝ} {d e : ℕ} | |
| 87 | - (hG : (G.normalized hT g hg).WordBound 6 R A d) | |
| 88 | - (hH : (H.normalized hT h hh).WordBound 6 R B e) | |
| 89 | - (L : Space →L[ℝ] Space →L[ℝ] Space) (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) | |
| 90 | - (C : ℝ) (hC : 0 ≤ C) (hprofile : ∀ t, |productProfileRatio g h b hb t| ≤ C) : | |
| 91 | - ((G.bilinear H L).normalized hT b hb).WordBound 6 R | |
| 92 | - (C*(9*productBlockConstant P*‖L‖*A*B)) (d+e) := by | |
| 93 | - have hbound := (hG.bilinear hH L hR hA hB).weighted hT (productProfileRatio g h b hb) C hC hprofile | |
| 94 | - unfold WordBound at * | |
| 95 | - rw [G.normalized_bilinear_path H hT g h b hg hh hb L] | |
| 96 | - exact hbound | |
| 97 | - | |
| 98 | 72 | theorem WordBound.normalized_scalarProduct {R A B : ℝ} {d e : ℕ} |
| 99 | 73 | (hG : (G.normalized hT g hg).WordBound 6 R A d) |
| 100 | 74 | (hH : (H.normalized hT h hh).WordBound 6 R B e) |
+0 −23 Euler/PacketEulerianRegularity.lean View file
| @@ -52,17 +52,6 @@ theorem eulerianSmoothField_jetLp_continuous (n : ℕ) : | ||
| 52 | 52 | EulerPacketSourceVolumeSobolev.smoothField_jetLp_continuous D (reconstructedTower D P κ Z) |
| 53 | 53 | k D.m₀ X Y hX hYX hXY hY R C hR hC hdet hF n |
| 54 | 54 | |
| 55 | -def eulerianCoefficientPath : SmoothCoefficientPath (Icc (0 : ℝ) D.T) Space := | |
| 56 | - EulerPacketSourceVolumeSobolev.smoothCoefficientPath D (reconstructedTower D P κ Z) | |
| 57 | - k D.m₀ X Y hX hYX hXY hY R C hR hC hdet hF | |
| 58 | - | |
| 59 | -theorem eulerianCoefficientPath_apply (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 60 | - (eulerianCoefficientPath D P κ Z k X Y hX hYX hXY hY R C hR hC hdet hF).field t x = | |
| 61 | - κ • D.F.field t (Y t x) (Z.pointField t (cylinderGraph P k D.m₀ (Y t x))) := by | |
| 62 | - rw [eulerianCoefficientPath, EulerPacketSourceVolumeSobolev.smoothCoefficientPath_apply, | |
| 63 | - reconstructedTower_pointField] | |
| 64 | - rfl | |
| 65 | - | |
| 66 | 55 | def pressureForceSmoothField (t : Icc (0 : ℝ) D.T) : SmoothL2Field Space := |
| 67 | 56 | EulerPacketSourceVolumeSobolev.smoothField D (pressureForceTower D P κ Z) k D.m₀ |
| 68 | 57 | X Y hX hYX hXY hY R C hR hC hdet hF t |
| @@ -79,16 +68,4 @@ theorem pressureForceSmoothField_jetLp_continuous (n : ℕ) : | ||
| 79 | 68 | EulerPacketSourceVolumeSobolev.smoothField_jetLp_continuous D (pressureForceTower D P κ Z) |
| 80 | 69 | k D.m₀ X Y hX hYX hXY hY R C hR hC hdet hF n |
| 81 | 70 | |
| 82 | -def pressureForceCoefficientPath : SmoothCoefficientPath (Icc (0 : ℝ) D.T) Space := | |
| 83 | - EulerPacketSourceVolumeSobolev.smoothCoefficientPath D (pressureForceTower D P κ Z) | |
| 84 | - k D.m₀ X Y hX hYX hXY hY R C hR hC hdet hF | |
| 85 | - | |
| 86 | -theorem pressureForceCoefficientPath_apply (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 87 | - (pressureForceCoefficientPath D P κ Z k X Y hX hYX hXY hY R C hR hC hdet hF).field t x = | |
| 88 | - κ • (D.FInv.field t (Y t x)).adjoint | |
| 89 | - (Z.pointField t (cylinderGraph P k D.m₀ (Y t x))) := by | |
| 90 | - rw [pressureForceCoefficientPath, EulerPacketSourceVolumeSobolev.smoothCoefficientPath_apply, | |
| 91 | - pressureForceTower_pointField] | |
| 92 | - rfl | |
| 93 | - | |
| 94 | 71 | end EulerPacketPhysicalField |
+0 −66 Euler/PacketExactGlobalChoice.lean View file
| @@ -36,70 +36,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 36 | 36 | |
| 37 | 37 | include hδ1 hα L NB LM hX hF hXY hY hdet |
| 38 | 38 | |
| 39 | -theorem initialized_exact_global_shear_hessian_eventually : | |
| 40 | - ∃ ρ0 G Cv Cp : ℝ, 0 < ρ0 ∧ 0 < G ∧ 0 < Cv ∧ 0 < Cp ∧ ∀ᶠ k : ℝ in atTop, | |
| 41 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 42 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 43 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 44 | - (truncation k) hn k hk)), | |
| 45 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 46 | - ∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 47 | - (‖fderiv ℝ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 48 | - Cagree (truncation k) hn k hk Q t (Y t)) x - | |
| 49 | - (α*deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 50 | - rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t (Y t x)) (D.normal.field t (Y t x))‖ < Cv/k) ∧ | |
| 51 | - (‖fderiv ℝ (gradient (initializedExactPhysicalPressure M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 52 | - Cagree (truncation k) hn k hk Q t (Y t))) x - | |
| 53 | - (EulerPacketPrimaryPressure.coefficient τ hτ hτT B ξ hs α t (Y t x) * | |
| 54 | - deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 55 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ < Cp/k) := by | |
| 56 | - classical | |
| 57 | - let BC := joinedCoefficientBudget period M D hTime τ hτ hτT B NB | |
| 58 | - obtain ⟨L',H',N',M',hprofile,wj,wm,wp,hterminal,hcost,hrc⟩ := | |
| 59 | - exists_initialized_budgets LM L NB BC δ ξ | |
| 60 | - let S := Scales.ofTimeProfile L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 61 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.fullProfile := by | |
| 62 | - rw [hprofile] | |
| 63 | - exact Scales.ofTimeProfile_growth L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 64 | - let Kv := initializedGlobalShearCost L'.R S.H0 N'.C | |
| 65 | - let Kp := initializedPressureHessianCost N' L'.R S.H0 L'.Rc L'.C₀ | |
| 66 | - let Cv := 1+|Kv| | |
| 67 | - let Cp := 1+|Kp| | |
| 68 | - have hCv : 0 < Cv := by dsimp only [Cv]; positivity | |
| 69 | - have hCp : 0 < Cp := by dsimp only [Cp]; positivity | |
| 70 | - obtain ⟨ρ0,G,hρ,hG,hQ⟩ := initialized_correction_gradient_hessian_eventually | |
| 71 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree X Y hX hF hXY hY hdet | |
| 72 | - L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg L.frame_bound 1 | |
| 73 | - have hXd : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x := by | |
| 74 | - intro t x | |
| 75 | - rw [← hF t x] | |
| 76 | - exact ((hX t).differentiable (by simp) x).hasFDerivAt | |
| 77 | - have hYd := continuousInverse_hasFDerivAt D X Y hXd hXY hY | |
| 78 | - refine ⟨ρ0,G,Cv,Cp,hρ,hG,hCv,hCp,?_⟩ | |
| 79 | - filter_upwards [hQ,fixed_costs_eventually ({tailPolynomialConstant L'.R S.H0 BC.termCost} : Finset ℝ)] | |
| 80 | - with k hQ hscalar | |
| 81 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hcorrection⟩ := hQ | |
| 82 | - have hk0 : 0 < k := by linarith | |
| 83 | - have hbase : tailBase L'.R S.H0 BC.termCost (truncation k) ≤ k^(1/100 : ℝ) := | |
| 84 | - tailBase_frequency L'.R S.H0 BC.termCost k BC.termCost_nonneg (by linarith) | |
| 85 | - (hscalar.2.2.2 _ (by simp)) | |
| 86 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 87 | - intro t x | |
| 88 | - constructor | |
| 89 | - · have he := initializedExactPhysicalVelocity_global_gradient_error M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 90 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth | |
| 91 | - Cagree (truncation k) hn k hk Q hbase t (Y t) x (hYd t x) | |
| 92 | - have hc : ‖fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y t y) | |
| 93 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k⁻¹ := by | |
| 94 | - simpa only [Real.rpow_neg_one] using (hcorrection t x).1 | |
| 95 | - have ht : Kv/k ≤ |Kv|/k := div_le_div_of_nonneg_right (le_abs_self Kv) hk0.le | |
| 96 | - exact he.trans_lt ((add_lt_add_of_le_of_lt ht hc).trans_eq (by dsimp only [Cv]; ring)) | |
| 97 | - · have he := initializedExactPhysicalPressure_hessian_error M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 98 | - Cagree (truncation k) hn k hk Q X Y hXd hXY hY L' H' N' wj M' wm BC hrc hcost | |
| 99 | - hδ1 hα hterminal wp S hgrowth hbase hdet t x | |
| 100 | - have hc : ‖fderiv ℝ (gradient (Q.physicalPotential D period k Y t)) x‖ < k⁻¹ := by | |
| 101 | - simpa only [Real.rpow_neg_one] using (hcorrection t x).2 | |
| 102 | - have ht : Kp/k ≤ |Kp|/k := div_le_div_of_nonneg_right (le_abs_self Kp) hk0.le | |
| 103 | - exact he.trans_lt ((add_lt_add_of_le_of_lt ht hc).trans_eq (by dsimp only [Cp]; ring)) | |
| 104 | - | |
| 105 | 39 | end EulerPacketTerminalDatum |
+0 −19 Euler/PacketExactShearError.lean View file
| @@ -96,23 +96,4 @@ variable | ||
| 96 | 96 | |
| 97 | 97 | include H NB W LM WM BC hRc hcost hδ1 hα hR WP hgrowth |
| 98 | 98 | |
| 99 | -theorem initializedExactPhysicalVelocity_gradient_error | |
| 100 | - (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) | |
| 101 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 102 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 103 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 104 | - ‖fderiv ℝ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 105 | - Cagree N hN k hk Q t Y) (X 0) - | |
| 106 | - (α/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0)‖ ≤ | |
| 107 | - (initializedRemainderDerivativeCost L.R S.H0/k)*‖D.FInv.field t 0‖ + | |
| 108 | - ‖fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y y) | |
| 109 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y y)))) (X 0)‖ := by | |
| 110 | - rw [initializedExactPhysicalVelocity_fderiv M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 111 | - Cagree N hN k hk Q t Y (X 0) hY] | |
| 112 | - have he : ∀ A E R : Space →L[ℝ] Space, A+E-R=(A-R)+E := by intros; abel | |
| 113 | - rw [he] | |
| 114 | - exact (norm_add_le _ _).trans (add_le_add | |
| 115 | - (initializedVelocity_gradient_error M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 116 | - L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase t X Y hX hY hleft) le_rfl) | |
| 117 | - | |
| 118 | 99 | end EulerPacketTerminalDatum |
+0 −7 Euler/PacketFieldSobolev.lean View file
| @@ -24,13 +24,6 @@ theorem toFieldTower_derivative (G : Field P T raw) (s : ℕ) (i : Fin 4) | ||
| 24 | 24 | rw [(G.derivative i).toFieldTower_value] |
| 25 | 25 | exact wordPath_eq_sobolev P G.path G.orbit s (fun _ : Fin 1 => i) t |
| 26 | 26 | |
| 27 | -theorem toFieldTower_derivative_path (G : Field P T raw) (s : ℕ) (i : Fin 4) : | |
| 28 | - (derivativeOperator P s i).compLeftContinuous ℝ (Icc (0 : ℝ) T) | |
| 29 | - (G.toFieldTower.realization (s+1)) = (G.derivative i).toFieldTower.realization s := by | |
| 30 | - apply ContinuousMap.ext | |
| 31 | - intro t | |
| 32 | - exact G.toFieldTower_derivative s i t | |
| 33 | - | |
| 34 | 27 | theorem toFieldTower_levelNorm_eq (G : Field P T raw) (s n : ℕ) (hn : n ≤ s) |
| 35 | 28 | (t : Icc (0 : ℝ) T) : |
| 36 | 29 | levelNorm P (toJet P (G.toFieldTower.realization s t)) n = |
+0 −4 Euler/PacketFiniteProfileFields.lean View file
| @@ -21,10 +21,6 @@ def Field.timeDerivativeField {raw raw_t : VectorField} (G : Field P T raw) (hT | ||
| 21 | 21 | H.congr (fun t x θ => (G.raw_hasDerivWithinAt hT.le H ht t x θ).derivWithin |
| 22 | 22 | ((uniqueDiffOn_Icc hT) _ t.property)) |
| 23 | 23 | |
| 24 | -theorem Field.timeDerivativeField_time {raw raw_t : VectorField} (G : Field P T raw) (hT : 0 < T) | |
| 25 | - (H : Field P T raw_t) (ht : TimeDerivative hT.le G H) : | |
| 26 | - TimeDerivative hT.le G (G.timeDerivativeField hT H ht) := ht | |
| 27 | - | |
| 28 | 24 | namespace ProfileRegularity |
| 29 | 25 | |
| 30 | 26 | variable {N : ℕ} {a : ℕ → Profile} {support : Set Space} |
+0 −17 Euler/PacketFirstStageSupport.lean View file
| @@ -23,18 +23,6 @@ theorem forwardNext_initial_support | ||
| 23 | 23 | (frequency S.J S.X 0) (S.normal_frequency 0) (supportScale S.J S.X 1) |
| 24 | 24 | (S.support_pos 1) (S.support_one 1) (P.chooseForward hq hB) symmetric hP |
| 25 | 25 | |
| 26 | -theorem forwardNext_initial_field_support | |
| 27 | - (hP : tsupport (fun x => P.state.evolution.velocity (0,x)) ⊆ Metric.closedBall 0 2) : | |
| 28 | - tsupport ((P.forwardNext hq hB).state.regularity.velocity | |
| 29 | - (P.forwardNext hq hB).parent.zeroTime).field ⊆ Metric.closedBall 0 2 := by | |
| 30 | - have he : ((P.forwardNext hq hB).state.regularity.velocity | |
| 31 | - (P.forwardNext hq hB).parent.zeroTime).field = | |
| 32 | - fun x => (P.forwardNext hq hB).state.evolution.velocity (0,x) := | |
| 33 | - funext (fun x => ((P.forwardNext hq hB).state.regularity.velocity_match | |
| 34 | - (P.forwardNext hq hB).parent.zeroTime x).symm) | |
| 35 | - rw [he] | |
| 36 | - exact P.forwardNext_initial_support hq hB hP | |
| 37 | - | |
| 38 | 26 | end EulerPacketInduction.Stage |
| 39 | 27 | |
| 40 | 28 | namespace EulerPacketInductionScales.Scales |
| @@ -49,9 +37,4 @@ theorem firstForwardStage_initial_support : | ||
| 49 | 37 | Metric.closedBall 0 2 := |
| 50 | 38 | S.firstStage.forwardNext_initial_support hq hB S.firstStage_initial_support |
| 51 | 39 | |
| 52 | -theorem firstForwardStage_initial_field_support : | |
| 53 | - tsupport ((S.firstStage.forwardNext hq hB).state.regularity.velocity | |
| 54 | - (S.firstStage.forwardNext hq hB).parent.zeroTime).field ⊆ Metric.closedBall 0 2 := | |
| 55 | - S.firstStage.forwardNext_initial_field_support hq hB S.firstStage_initial_support | |
| 56 | - | |
| 57 | 40 | end EulerPacketInductionScales.Scales |
+0 −13 Euler/PacketFiveCostGuards.lean View file
| @@ -88,17 +88,4 @@ theorem five_costs_bound : | ||
| 88 | 88 | rw [div_eq_mul_inv] |
| 89 | 89 | gcongr |
| 90 | 90 | |
| 91 | -/-- The literal source frequency assumptions follow from one explicit | |
| 92 | -polynomial comparison; the threshold does not depend on a chosen parent. -/ | |
| 93 | -theorem frequency_guards (k : ℝ) | |
| 94 | - (hbudget : costConstant P*X^(costPower P) ≤ EulerPacketSourceFrequency.smallPower k) : | |
| 95 | - tailPolynomialConstant R H CT ≤ EulerPacketSourceFrequency.smallPower k ∧ | |
| 96 | - C ≤ EulerPacketSourceFrequency.smallPower k ∧ | |
| 97 | - 12*growth D P Kc R H C*D.T ≤ EulerPacketSourceFrequency.smallPower k ∧ | |
| 98 | - 8*growth D P Kc R H C*D.T*drift R H C/initialRadius R Kc.M Kc.Rc ≤ EulerPacketSourceFrequency.smallPower k ∧ | |
| 99 | - 8*growth D P Kc R H C*D.T/initialRadius R Kc.M Kc.Rc ≤ EulerPacketSourceFrequency.smallPower k := by | |
| 100 | - obtain ⟨h₁,h₂,h₃,h₄,h₅⟩ := five_costs_bound P D Kc R H C CT X hX hR hH hC | |
| 101 | - hRX hHX hCX hCTX hi hm hf ht hB hM hA0 hA2 hRc hT | |
| 102 | - exact ⟨h₁.trans hbudget,h₂.trans hbudget,h₃.trans hbudget,h₄.trans hbudget,h₅.trans hbudget⟩ | |
| 103 | - | |
| 104 | 91 | end EulerPacketFiveCost |
+0 −2 Euler/PacketFiveCostPolynomial.lean View file
| @@ -116,8 +116,6 @@ theorem fivePolynomial_eval (X : ℝ) : (fivePolynomial P).eval X=fiveEnvelope P | ||
| 116 | 116 | def costConstant : ℝ := coefficientCost (fivePolynomial P) |
| 117 | 117 | def costPower : ℕ := (fivePolynomial P).natDegree |
| 118 | 118 | |
| 119 | -theorem costConstant_pos : 0 < costConstant P := coefficientCost_pos _ | |
| 120 | - | |
| 121 | 119 | theorem fiveEnvelope_power (X : ℝ) (hX : 1 ≤ X) : |
| 122 | 120 | fiveEnvelope P X ≤ costConstant P*X^(costPower P) := by |
| 123 | 121 | rw [← fivePolynomial_eval] |
+0 −19 Euler/PacketForwardChildLowBounds.lean View file
| @@ -68,25 +68,6 @@ def ForwardSourceErrors (ev ep : ℝ) : Prop := | ||
| 68 | 68 | ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) |
| 69 | 69 | (canonicalVelocity (A.transverseData m hm J support hSupport) G.initialCoordinate t (E.inverse.normalized t x))‖ ≤ ep |
| 70 | 70 | |
| 71 | -/-- The literal strict errors returned by the global same-Q packet | |
| 72 | -theorem imply the error record without any additional analytic bound. -/ | |
| 73 | -theorem forwardSourceErrors_of_global (ev ep : ℝ) | |
| 74 | - (herr : ∀ (t : Icc (0 : ℝ) A.T) (x : Space), | |
| 75 | - ‖fderiv ℝ (A.normalizedPacketVelocity m hm J support hSupport B residual k E.inverse t) x- | |
| 76 | - (G.primaryAmplitude hball*deriv (profile G.δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • | |
| 77 | - rankOne ℝ (canonicalVelocity (A.transverseData m hm J support hSupport) G.initialCoordinate t (E.inverse.normalized t x)) | |
| 78 | - ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ev ∧ | |
| 79 | - ‖fderiv ℝ (gradient (A.normalizedPacketPressure m hm J support hSupport B residual k E.inverse t)) x- | |
| 80 | - (EulerPacketForwardShear.pressureCoefficient (A.transverseData m hm J support hSupport) G.initialCoordinate (G.primaryAmplitude hball) t | |
| 81 | - (E.inverse.normalized t x)*deriv (profile G.δ) (k*⟪m,E.inverse.normalized t x⟫_ℝ)) • | |
| 82 | - rankOne ℝ ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x)) | |
| 83 | - ((A.transverseData m hm J support hSupport).normal.field t (E.inverse.normalized t x))‖ < ep) : | |
| 84 | - E.ForwardSourceErrors m hm J support hSupport B residual k G hball ev ep := by | |
| 85 | - intro t x | |
| 86 | - refine ⟨(herr t x).1.le,?_⟩ | |
| 87 | - erw [forwardPressureTerm_eq_coefficient] | |
| 88 | - exact (herr t x).2.le | |
| 89 | - | |
| 90 | 71 | include hk hδ hδ1 in |
| 91 | 72 | theorem exactForwardPacket_good_low_bounds |
| 92 | 73 | (ev ep CM CH Kupper : ℝ) |
+0 −17 Euler/PacketForwardCommonRadius.lean View file
| @@ -42,12 +42,6 @@ theorem gradeRadius_guards (hC : 0 ≤ C) (R' : ℝ) | ||
| 42 | 42 | refine ⟨hb.1.trans hR, ?_⟩ |
| 43 | 43 | exact ⟨hC,hb.2.1.trans hR,hb.2.2.1.trans hR,hb.2.2.2.1.trans hR,hb.2.2.2.2.trans hR⟩ |
| 44 | 44 | |
| 45 | -theorem exists_grade_radius (hC : 0 ≤ C) (extra : ℝ) : | |
| 46 | - ∃ R' : ℝ, extra ≤ R' ∧ ∃ h : L.R ≤ R', | |
| 47 | - GradeGuards (P := P) (L.enlargeRadius R' h) (N.enlargeRadius R' h) C := | |
| 48 | - ⟨max extra (L.gradeRadius (P := P) N C),le_max_left _ _, | |
| 49 | - L.gradeRadius_guards N C hC _ (le_max_right _ _)⟩ | |
| 50 | - | |
| 51 | 45 | end EulerTransversePacketForward.Budget |
| 52 | 46 | |
| 53 | 47 | namespace EulerPacketForwardCommonRadius |
| @@ -106,15 +100,4 @@ theorem commonRadius_guards (hC : 0 ≤ terminalCost) (R' : ℝ) | ||
| 106 | 100 | exact ⟨hm.trans hR,hl.trans hR,⟨hmv.trans hR,hmt.trans hR,hmp.trans hR⟩, |
| 107 | 101 | wf,wp,hc.trans hR,hrc.trans hR,he.trans hR⟩ |
| 108 | 102 | |
| 109 | -theorem exists_common_radius (hC : 0 ≤ terminalCost) : | |
| 110 | - ∃ (R' : ℝ) (hM : Rm ≤ R') (hL : L.R ≤ R'), | |
| 111 | - EulerMeanPacketProvider.Budget.GradeGuards (M.enlargeRadius R' hM) ∧ | |
| 112 | - EulerTransversePacketForward.Budget.GradeGuards (P := P) | |
| 113 | - (L.enlargeRadius R' hL) (N.enlargeRadius R' hL) 1 ∧ | |
| 114 | - EulerTransversePacketForward.Budget.GradeGuards (P := P) | |
| 115 | - (L.enlargeRadius R' hL) (N.enlargeRadius R' hL) terminalCost ∧ | |
| 116 | - CB.termCost ≤ R' ∧ sobolevCoefficientRadius (Fin 4) CB.Rc ≤ R' ∧ extra ≤ R' := | |
| 117 | - ⟨commonRadius M L N CB terminalCost extra, | |
| 118 | - commonRadius_guards M L N CB terminalCost extra hC _ le_rfl⟩ | |
| 119 | - | |
| 120 | 103 | end EulerPacketForwardCommonRadius |
+0 −9 Euler/PacketForwardGeometryAssembly.lean View file
| @@ -133,13 +133,4 @@ theorem exists_geometry_and_growth (Ω : Set Space) (h0 : 0 ∈ Ω) | ||
| 133 | 133 | change D.normal.field (D.clamp (0+t)) x=D.normal.field t x |
| 134 | 134 | rw [zero_add,Data.clamp_coe] |
| 135 | 135 | |
| 136 | -theorem halfBall_physicalGrowth (hball : (1/2 : ℝ) ≤ G.radius) : | |
| 137 | - ∃ g : C(Icc (0 : ℝ) D.T,ℝ), (∀ t, 0 < g t) ∧ | |
| 138 | - g ⟨0,le_rfl,D.T_pos.le⟩=1 ∧ | |
| 139 | - PhysicalGrowth D {x | ‖x‖ ≤ (1/2 : ℝ)} g (560*P.horizon^10/P.epsilon) := by | |
| 140 | - obtain ⟨F,F₁,Z,Z₁,J,hpos,hzero,hgrowth⟩ := | |
| 141 | - G.exists_geometry_and_growth {x | ‖x‖ ≤ (1/2 : ℝ)} (by simp) | |
| 142 | - (fun _ hx => hx.trans hball) | |
| 143 | - exact ⟨_,hpos,hzero,hgrowth⟩ | |
| 144 | - | |
| 145 | 136 | end EulerPacketSourceGeometry.ForwardGuards |
+0 −58 Euler/PacketForwardInitializedChildShear.lean View file
| @@ -43,62 +43,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 43 | 43 | |
| 44 | 44 | include hδ1 hα L NB LM hX hF hXY hY hdet hell1 hK hDp hVp hWp |
| 45 | 45 | |
| 46 | -theorem forwardInitialized_child_label_and_shear_eventually (q : ℕ) : | |
| 47 | - ∃ ρ0 γ Cw Cv Cp : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ 0 < Cv ∧ 0 < Cp ∧ | |
| 48 | - ∀ᶠ k : ℝ in atTop, | |
| 49 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 50 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 51 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree | |
| 52 | - (truncation k) hn k hk)) | |
| 53 | - (G : EulerPhysicalGraphFlowBounds.Data period D.T) | |
| 54 | - (E : Icc (0 : ℝ) D.T → EulerChildParticleFieldBounds.Data), | |
| 55 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 56 | - G.A = Q.liftedPacketCoefficient period | |
| 57 | - (forwardInitializedNormalizedField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 58 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 59 | - (forwardInitializedNormalizedDerivativeField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 60 | - (∀ t z, graphConstraint k D.m₀ (G.A.field t z)=0) ∧ | |
| 61 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 62 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 63 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 64 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 65 | - (∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 66 | - ‖fderiv ℝ (forwardInitializedExactPhysicalVelocity M D hTime δ hδ ξ hs α | |
| 67 | - Cagree (truncation k) hn k hk Q t (Y t)) x - | |
| 68 | - (α*deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 69 | - rankOne ℝ (canonicalVelocity D ξ t (Y t x)) (D.normal.field t (Y t x))‖ < Cv/k ∧ | |
| 70 | - ‖fderiv ℝ (gradient (forwardInitializedExactPhysicalPressure M D hTime δ hδ ξ hs α | |
| 71 | - Cagree (truncation k) hn k hk Q t (Y t))) x - | |
| 72 | - (EulerPacketForwardShear.pressureCoefficient D ξ α t (Y t x) * | |
| 73 | - deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 74 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ < Cp/k) ∧ | |
| 75 | - (∀ t, (E t).parentDisplacement=Dp t ∧ (E t).parentVelocity=Vp t ∧ (E t).parentAcceleration=Wp t ∧ | |
| 76 | - (E t).displacement=G.displacementField k D.m₀ ell hell t ∧ | |
| 77 | - (E t).velocity=G.velocityField k D.m₀ ell hell t ∧ | |
| 78 | - (E t).acceleration=G.accelerationFieldL2 k D.m₀ ell hell t ∧ | |
| 79 | - (E t).inner=(flowData D.T G.time_nonneg (physicalCoefficient k D.m₀ D.T G.A ell)).forward t) ∧ | |
| 80 | - (∀ t n, | |
| 81 | - classicalBlockSize direction q (E t).childDisplacement.toLp (E t).childDisplacement.translation_contDiff n+ | |
| 82 | - classicalBlockSize direction q (E t).childVelocity.toLp (E t).childVelocity.translation_contDiff n+ | |
| 83 | - classicalBlockSize direction q (E t).childAcceleration.toLp (E t).childAcceleration.translation_contDiff n ≤ | |
| 84 | - (k^(10*(q+2)))^(n+1)*(n.factorial : ℝ)^2) := by | |
| 85 | - obtain ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,hsource⟩ := forwardInitialized_flow_and_shear_eventually | |
| 86 | - M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree X Y hX hF hXY hY hdet | |
| 87 | - (1/4) (by norm_num) | |
| 88 | - refine ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,?_⟩ | |
| 89 | - filter_upwards [hsource,eventually_ge_atTop (69 : ℝ),eventually_ge_atTop K, | |
| 90 | - eventually_ge_atTop (2+45*embeddingCost),eventually_ge_atTop (fixedCost q), | |
| 91 | - (_root_.tendsto_rpow_atTop (by norm_num : (0 : ℝ) < 3/4)).eventually_ge_atTop ell⁻¹] | |
| 92 | - with k hsource hk69 hKk hbig hcost hinv | |
| 93 | - obtain ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,herror,hfields⟩ := hsource | |
| 94 | - have hcoarse (t : Icc (0 : ℝ) D.T) := | |
| 95 | - EulerPhysicalChildFields.coarsen_graph_bounds k ell (by linarith) hell hinv | |
| 96 | - (G.displacementField k D.m₀ ell hell t) (G.velocityField k D.m₀ ell hell t) | |
| 97 | - (G.accelerationFieldL2 k D.m₀ ell hell t) | |
| 98 | - (hfields ell hell hell1 t).1 (hfields ell hell hell1 t).2.1 (hfields ell hell hell1 t).2.2.1 | |
| 99 | - (hfields ell hell hell1 t).2.2.2.1 (hfields ell hell hell1 t).2.2.2.2 | |
| 100 | - obtain ⟨E,hmatch,hlabel⟩ := EulerPhysicalChildFields.exists_source_child_fields | |
| 101 | - G k D.m₀ hgraph ell hell Dp Vp Wp K hK hDp hVp hWp q hk69 hKk hbig hcost hcoarse | |
| 102 | - exact ⟨hk,hn,Q,G,E,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,herror,hmatch,hlabel⟩ | |
| 103 | - | |
| 104 | 46 | end EulerPacketTerminalDatum |
+0 −44 Euler/PacketForwardInitializedCorrectionChoice.lean View file
| @@ -31,48 +31,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 31 | 31 | |
| 32 | 32 | include hδ1 hα L NB LM hΞ hF hdet |
| 33 | 33 | |
| 34 | -theorem forwardInitialized_correction_budgets_eventually : | |
| 35 | - ∃ ρ0 C : ℝ, 0 < ρ0 ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 36 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 37 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 38 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree | |
| 39 | - (truncation k) hn k hk)), | |
| 40 | - Q.delta = delta (expansion k) ∧ Q.initialRadius = ρ0 ∧ Q.growthCoefficient = C := by | |
| 41 | - classical | |
| 42 | - let BC := forwardCoefficientBudget period M D hTime NB | |
| 43 | - let Kc := L.correctionCoefficients NB period | |
| 44 | - have hC : 0 ≤ wordCost (Fin 4) 6 δ*‖ξ‖ := | |
| 45 | - mul_nonneg (wordCost_nonneg 6 δ) (norm_nonneg ξ) | |
| 46 | - obtain ⟨R',hM,hL,wm,wf,wp,hcost,hrc,hterminal⟩ := | |
| 47 | - EulerPacketForwardCommonRadius.exists_common_radius LM L NB BC | |
| 48 | - (wordCost (Fin 4) 6 δ*‖ξ‖) (wordRadius (Fin 4) δ) hC | |
| 49 | - let L' := L.enlargeRadius R' hL | |
| 50 | - let N' := NB.enlargeRadius R' hL | |
| 51 | - let M' := LM.enlargeRadius R' hM | |
| 52 | - let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα | |
| 53 | - have hgrowth : timeProfileChange S.growth hTime = α • L'.g := | |
| 54 | - Scales.ofTimeProfile_growth L.g L.positive hTime.symm α hα | |
| 55 | - let cg := growthCoefficient D period Kc (2*velocity L'.R S.H0 BC.multiplierCost) | |
| 56 | - (12*velocity L'.R S.H0 BC.multiplierCost*(4*L'.R)) | |
| 57 | - let dg := drift L'.R S.H0 BC.multiplierCost | |
| 58 | - let ρ0 := initialRadius L'.R Kc.M Kc.Rc | |
| 59 | - have hR0 := zero_le_one.trans L'.radius_one | |
| 60 | - have hρ : 0 < ρ0 := (initialRadius_bounds L'.R Kc.M Kc.Rc | |
| 61 | - hR0 (zero_le_one.trans Kc.M_one_le) Kc.Rc_nonneg).1 | |
| 62 | - have hv := velocity_nonneg L'.R S.H0 BC.multiplierCost hR0 BC.multiplierCost_nonneg | |
| 63 | - have hcg : 0 < cg := growthCoefficient_pos D period Kc _ _ (by positivity) (by positivity) | |
| 64 | - refine ⟨ρ0,cg,hρ,hcg,?_⟩ | |
| 65 | - filter_upwards [fixed_costs_eventually | |
| 66 | - ({tailPolynomialConstant L'.R S.H0 BC.termCost,BC.multiplierCost, | |
| 67 | - 12*cg*D.T,8*cg*D.T*dg/ρ0,8*cg*D.T/ρ0} : Finset ℝ)] with k hk | |
| 68 | - obtain ⟨hk,hX,hlog,hc⟩ := hk | |
| 69 | - have hn : 1 ≤ truncation k := (truncation_bounds k (by linarith)).1 | |
| 70 | - let Q := forwardInitializedAllOrderBudget M D hTime δ hδ ξ hs α Cagree | |
| 71 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth Kc k hk hX hlog | |
| 72 | - (hc _ (by simp)) (hc _ (by simp)) (hc _ (by simp [cg])) | |
| 73 | - (hc _ (by simp [cg,dg,ρ0])) (hc _ (by simp [cg,ρ0])) | |
| 74 | - Ξ hΞ hF hdet | |
| 75 | - refine ⟨hk,hn,Q,?_,?_,?_⟩ <;> | |
| 76 | - simp only [Q,forwardInitializedAllOrderBudget,ρ0,cg] | |
| 77 | - | |
| 78 | 34 | end EulerPacketTerminalDatum |
+0 −83 Euler/PacketForwardInitializedCorrectionEstimates.lean View file
| @@ -32,87 +32,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 32 | 32 | |
| 33 | 33 | include hδ1 hα L NB LM hΞ hF hdet |
| 34 | 34 | |
| 35 | -theorem forwardInitialized_correction_estimates_eventually : | |
| 36 | - ∃ ρ0 γ C : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 37 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 38 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 39 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree | |
| 40 | - (truncation k) hn k hk)), | |
| 41 | - Q.delta = delta (expansion k) ∧ Q.initialRadius = ρ0 ∧ Q.growthCoefficient = γ ∧ | |
| 42 | - ∀ (s N : ℕ), N+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 43 | - weightedNorm period 6 N (ρ0/4) ((Q.fieldTower period).realization s t) ≤ C*delta (expansion k) ∧ | |
| 44 | - weightedNorm period 6 N (ρ0/4) ((Q.pressureTower period).realization s t) ≤ C*delta (expansion k) ∧ | |
| 45 | - weightedNorm period 6 N (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ C*delta (expansion k) := by | |
| 46 | - classical | |
| 47 | - let BC := forwardCoefficientBudget period M D hTime NB | |
| 48 | - let Kc := L.correctionCoefficients NB period | |
| 49 | - have hC : 0 ≤ wordCost (Fin 4) 6 δ*‖ξ‖ := | |
| 50 | - mul_nonneg (wordCost_nonneg 6 δ) (norm_nonneg ξ) | |
| 51 | - obtain ⟨R',hM,hL,wm,wf,wp,hcost,hrc,hterminal⟩ := | |
| 52 | - EulerPacketForwardCommonRadius.exists_common_radius LM L NB BC | |
| 53 | - (wordCost (Fin 4) 6 δ*‖ξ‖) (wordRadius (Fin 4) δ) hC | |
| 54 | - let L' := L.enlargeRadius R' hL | |
| 55 | - let N' := NB.enlargeRadius R' hL | |
| 56 | - let M' := LM.enlargeRadius R' hM | |
| 57 | - let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα | |
| 58 | - have hgrowth : timeProfileChange S.growth hTime = α • L'.g := | |
| 59 | - Scales.ofTimeProfile_growth L.g L.positive hTime.symm α hα | |
| 60 | - let cg := growthCoefficient D period Kc (2*velocity L'.R S.H0 BC.multiplierCost) | |
| 61 | - (12*velocity L'.R S.H0 BC.multiplierCost*(4*L'.R)) | |
| 62 | - let dg := drift L'.R S.H0 BC.multiplierCost | |
| 63 | - let ρ0 := initialRadius L'.R Kc.M Kc.Rc | |
| 64 | - have hR0 := zero_le_one.trans L'.radius_one | |
| 65 | - have hρ : 0 < ρ0 := (initialRadius_bounds L'.R Kc.M Kc.Rc | |
| 66 | - hR0 (zero_le_one.trans Kc.M_one_le) Kc.Rc_nonneg).1 | |
| 67 | - have hv := velocity_nonneg L'.R S.H0 BC.multiplierCost hR0 BC.multiplierCost_nonneg | |
| 68 | - have hcg : 0 < cg := growthCoefficient_pos D period Kc _ _ (by positivity) (by positivity) | |
| 69 | - let Ce := correctionBase D | |
| 70 | - let Cp := correctionPressureCost D period Kc L'.R S.H0 BC.multiplierCost | |
| 71 | - let Ct := correctionTimeCost D period Kc L'.R S.H0 BC.multiplierCost | |
| 72 | - let C := 1+|Ce|+|Cp|+|Ct| | |
| 73 | - have hCe : Ce ≤ C := by dsimp [C]; linarith [le_abs_self Ce,abs_nonneg Cp,abs_nonneg Ct] | |
| 74 | - have hCp : Cp ≤ C := by dsimp [C]; linarith [le_abs_self Cp,abs_nonneg Ce,abs_nonneg Ct] | |
| 75 | - have hCt : Ct ≤ C := by dsimp [C]; linarith [le_abs_self Ct,abs_nonneg Ce,abs_nonneg Cp] | |
| 76 | - refine ⟨ρ0,cg,C,hρ,hcg,by dsimp [C]; positivity,?_⟩ | |
| 77 | - filter_upwards [fixed_costs_eventually | |
| 78 | - ({tailPolynomialConstant L'.R S.H0 BC.termCost,BC.multiplierCost, | |
| 79 | - 12*cg*D.T,8*cg*D.T*dg/ρ0,8*cg*D.T/ρ0} : Finset ℝ)] with k hk | |
| 80 | - obtain ⟨hk,hX,hlog,hc⟩ := hk | |
| 81 | - have hn : 1 ≤ truncation k := (truncation_bounds k (by linarith)).1 | |
| 82 | - let Q := forwardInitializedAllOrderBudget M D hTime δ hδ ξ hs α Cagree | |
| 83 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth Kc k hk hX hlog | |
| 84 | - (hc _ (by simp)) (hc _ (by simp)) (hc _ (by simp [cg])) | |
| 85 | - (hc _ (by simp [cg,dg,ρ0])) (hc _ (by simp [cg,ρ0])) | |
| 86 | - Ξ hΞ hF hdet | |
| 87 | - refine ⟨hk,hn,Q,rfl,rfl,rfl,?_⟩ | |
| 88 | - intro s N hN t | |
| 89 | - have hδQ : Q.delta=delta (expansion k) := by simp only [Q,forwardInitializedAllOrderBudget] | |
| 90 | - have hrQ : Q.reducedRadius period=ρ0/4 := by | |
| 91 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.reducedRadius,forwardInitializedAllOrderBudget,ρ0] | |
| 92 | - have heQ : Q.correctionSize period=Ce*delta (expansion k) := by | |
| 93 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.correctionSize,forwardInitializedAllOrderBudget, | |
| 94 | - forwardInitializedMetricBudget,sourceMetricBudgetOfFields,sourceMetricBudget,Ce,correctionBase] | |
| 95 | - ring | |
| 96 | - have hpQ : Q.pressureCost period (N+6) (by omega)=Cp := by | |
| 97 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.pressureCost, | |
| 98 | - EulerAllOrderDriftCorrection.Budget.sourceCost,EulerAllOrderDriftCorrection.Budget.baseCorrectionSize, | |
| 99 | - forwardInitializedAllOrderBudget,forwardInitializedDriftBudget,forwardInitializedSpatialBudget, | |
| 100 | - forwardInitializedMetricBudget,sourceMetricBudgetOfFields,sourceMetricBudget,Cp, | |
| 101 | - correctionPressureCost,correctionSourceCost,correctionBase] | |
| 102 | - have htQ : Q.timeDerivativeCost period (N+6) (by omega)=Ct := by | |
| 103 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.timeDerivativeCost, | |
| 104 | - EulerAllOrderDriftCorrection.Budget.sourceCost,EulerAllOrderDriftCorrection.Budget.baseCorrectionSize, | |
| 105 | - forwardInitializedAllOrderBudget,forwardInitializedDriftBudget,forwardInitializedSpatialBudget, | |
| 106 | - forwardInitializedMetricBudget,sourceMetricBudgetOfFields,sourceMetricBudget,Ct, | |
| 107 | - correctionTimeCost,correctionSourceCost,correctionBase] | |
| 108 | - have he := Q.fieldTower_reducedNorm period s N hN t | |
| 109 | - have hp := Q.pressureTower_reducedNorm_delta period (N+6) (by omega) N (by omega) s hN t | |
| 110 | - have ht := Q.timeDerivativeTower_reducedNorm_delta period (N+6) (by omega) N (by omega) s hN t | |
| 111 | - rw [hrQ,heQ] at he | |
| 112 | - rw [hrQ,hpQ,hδQ] at hp | |
| 113 | - rw [hrQ,htQ,hδQ] at ht | |
| 114 | - exact ⟨he.trans (mul_le_mul_of_nonneg_right hCe (delta_pos _).le), | |
| 115 | - hp.trans (mul_le_mul_of_nonneg_right hCp (delta_pos _).le), | |
| 116 | - ht.trans (mul_le_mul_of_nonneg_right hCt (delta_pos _).le)⟩ | |
| 117 | - | |
| 118 | 35 | end EulerPacketTerminalDatum |
+0 −44 Euler/PacketForwardInitializedExactLifted.lean View file
| @@ -29,48 +29,4 @@ def forwardInitializedExactPacket (Cagree : SourceCoefficientAgreement M D) | ||
| 29 | 29 | exactPacketOfResidual period Q |
| 30 | 30 | (forwardInitializedApproximationResidual M D hTime δ hδ ξ hs α Cagree N hN k hk) |
| 31 | 31 | |
| 32 | -theorem forwardInitializedExactPacket_velocity_odd | |
| 33 | - (eM : EulerMeanPacketProvider.EvenData M) | |
| 34 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 35 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 36 | - (hDM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 37 | - (Cagree : SourceCoefficientAgreement M D) (N : ℕ) (hN : 1 ≤ N) | |
| 38 | - (k : ℝ) (hk : 4 ≤ k) | |
| 39 | - (Q : Budget period D.T_pos | |
| 40 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree N hN k hk)) | |
| 41 | - (t : Icc (0 : ℝ) D.T) : | |
| 42 | - -reflection period | |
| 43 | - ((forwardInitializedExactPacket M D hTime δ hδ ξ hs α Cagree N hN k hk Q).velocity.field t) = | |
| 44 | - (forwardInitializedExactPacket M D hTime δ hδ ξ hs α Cagree N hN k hk Q).velocity.field t := | |
| 45 | - exactPacketOfResidual_velocity_odd period Q _ | |
| 46 | - (forwardInitializedCorrectionParityData M D hTime δ hδ ξ hs α | |
| 47 | - eM hSym hF hDM Cagree N hN k hk) t | |
| 48 | - | |
| 49 | -/-- No inverse budget, residual equation or pressure is postulated here. | |
| 50 | -The original source data construct the budget and the exact corrected pair | |
| 51 | -for every sufficiently large frequency, with fixed positive radius and cost. -/ | |
| 52 | -theorem forwardInitialized_exact_lifted_packets_eventually | |
| 53 | - (hδ1 : δ ≤ 1) (hα : 0 < α) | |
| 54 | - (L : EulerTransversePacketForward.Budget D (Fin 4) 6) | |
| 55 | - (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) | |
| 56 | - {Rm : ℝ} (LM : EulerMeanPacketProvider.Budget M 6 Rm) | |
| 57 | - (Cagree : SourceCoefficientAgreement M D) | |
| 58 | - (Ξ : Icc (0 : ℝ) D.T → Space → Space) (hΞ : ∀ t, ContDiff ℝ ∞ (Ξ t)) | |
| 59 | - (hF : ∀ t x, fderiv ℝ (Ξ t) x = D.F.field t x) | |
| 60 | - (hdet : ∀ t x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det=1) : | |
| 61 | - ∃ ρ0 C : ℝ, 0 < ρ0 ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 62 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 63 | - (Q : Budget period D.T_pos | |
| 64 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree (truncation k) hn k hk)), | |
| 65 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=C ∧ | |
| 66 | - Nonempty (ExactLiftedPacket period D.T_pos | |
| 67 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree (truncation k) hn k hk) Q) := by | |
| 68 | - obtain ⟨ρ0,C,hρ,hC,he⟩ := forwardInitialized_correction_budgets_eventually M D hTime | |
| 69 | - δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 70 | - refine ⟨ρ0,C,hρ,hC,?_⟩ | |
| 71 | - filter_upwards [he] with k hk | |
| 72 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hCQ⟩ := hk | |
| 73 | - exact ⟨hk,hn,Q,hδQ,hρQ,hCQ, | |
| 74 | - ⟨forwardInitializedExactPacket M D hTime δ hδ ξ hs α Cagree (truncation k) hn k hk Q⟩⟩ | |
| 75 | - | |
| 76 | 32 | end EulerPacketTerminalDatum |
+0 −88 Euler/PacketForwardInitializedFlowAndShear.lean View file
| @@ -38,92 +38,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 38 | 38 | |
| 39 | 39 | include hδ1 hα L NB LM hX hF hXY hY hdet |
| 40 | 40 | |
| 41 | -theorem forwardInitialized_flow_and_shear_eventually (ε : ℝ) (hε : 0 < ε) : | |
| 42 | - ∃ ρ0 γ Cw Cv Cp : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ 0 < Cv ∧ 0 < Cp ∧ | |
| 43 | - ∀ᶠ k : ℝ in atTop, | |
| 44 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 45 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 46 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree | |
| 47 | - (truncation k) hn k hk)) | |
| 48 | - (G : EulerPhysicalGraphFlowBounds.Data period D.T), | |
| 49 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 50 | - G.A = Q.liftedPacketCoefficient period | |
| 51 | - (forwardInitializedNormalizedField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 52 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 53 | - (forwardInitializedNormalizedDerivativeField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 54 | - (∀ t z, graphConstraint k D.m₀ (G.A.field t z)=0) ∧ | |
| 55 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 56 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 57 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 58 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 59 | - (∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 60 | - ‖fderiv ℝ (forwardInitializedExactPhysicalVelocity M D hTime δ hδ ξ hs α | |
| 61 | - Cagree (truncation k) hn k hk Q t (Y t)) x - | |
| 62 | - (α*deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 63 | - rankOne ℝ (canonicalVelocity D ξ t (Y t x)) (D.normal.field t (Y t x))‖ < Cv/k ∧ | |
| 64 | - ‖fderiv ℝ (gradient (forwardInitializedExactPhysicalPressure M D hTime δ hδ ξ hs α | |
| 65 | - Cagree (truncation k) hn k hk Q t (Y t))) x - | |
| 66 | - (EulerPacketForwardShear.pressureCoefficient D ξ α t (Y t x) * | |
| 67 | - deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 68 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ < Cp/k) ∧ | |
| 69 | - (∀ (ell : ℝ) (hell : 0 < ell), ell ≤ 1 → ∀ t : Icc (0 : ℝ) D.T, | |
| 70 | - (G.displacementField k D.m₀ ell hell t).HasJetBound | |
| 71 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 72 | - (G.velocityField k D.m₀ ell hell t).HasJetBound | |
| 73 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 74 | - (G.accelerationFieldL2 k D.m₀ ell hell t).HasJetBound | |
| 75 | - (k^ε) (ell⁻¹*k^(1+ε)) ∧ | |
| 76 | - HasSupBound (G.displacementField k D.m₀ ell hell t).field | |
| 77 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 78 | - HasSupBound (G.velocityField k D.m₀ ell hell t).field | |
| 79 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε))) := by | |
| 80 | - classical | |
| 81 | - let BC := forwardCoefficientBudget period M D hTime NB | |
| 82 | - have hC : 0 ≤ wordCost (Fin 4) 6 δ*‖ξ‖ := | |
| 83 | - mul_nonneg (wordCost_nonneg 6 δ) (norm_nonneg ξ) | |
| 84 | - obtain ⟨R',hM,hL,wm,wf,wp,hcost,hrc,hterminal⟩ := | |
| 85 | - EulerPacketForwardCommonRadius.exists_common_radius LM L NB BC | |
| 86 | - (wordCost (Fin 4) 6 δ*‖ξ‖) (wordRadius (Fin 4) δ) hC | |
| 87 | - let L' := L.enlargeRadius R' hL | |
| 88 | - let N' := NB.enlargeRadius R' hL | |
| 89 | - let M' := LM.enlargeRadius R' hM | |
| 90 | - let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα | |
| 91 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.g := | |
| 92 | - Scales.ofTimeProfile_growth L.g L.positive hTime.symm α hα | |
| 93 | - obtain ⟨ρ0,γ,Cw,hρ,hγ,hCw,hsource⟩ := forwardInitialized_flow_and_correction_eventually | |
| 94 | - M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree X Y hX hF hXY hY hdet ε hε | |
| 95 | - let Kv := forwardInitializedGlobalShearCost L'.R S.H0 N'.C | |
| 96 | - let Kp := forwardInitializedPressureHessianCost N' L'.R S.H0 L'.Rc L'.C₀ | |
| 97 | - let Cv := 1+|Kv| | |
| 98 | - let Cp := 1+|Kp| | |
| 99 | - have hXd : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x := by | |
| 100 | - intro t x | |
| 101 | - rw [← hF t x] | |
| 102 | - exact ((hX t).differentiable (by simp) x).hasFDerivAt | |
| 103 | - have hYd := continuousInverse_hasFDerivAt D X Y hXd hXY hY | |
| 104 | - refine ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,by dsimp [Cv]; positivity,by dsimp [Cp]; positivity,?_⟩ | |
| 105 | - filter_upwards [hsource, | |
| 106 | - fixed_costs_eventually ({tailPolynomialConstant L'.R S.H0 BC.termCost} : Finset ℝ)] | |
| 107 | - with k hsource hscalar | |
| 108 | - obtain ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,hcorrection,hflow⟩ := hsource | |
| 109 | - have hk0 : 0 < k := by linarith | |
| 110 | - have hk1 : 1 ≤ k := by linarith | |
| 111 | - have hbase : tailBase L'.R S.H0 BC.termCost (truncation k) ≤ k^(1/100 : ℝ) := | |
| 112 | - tailBase_frequency L'.R S.H0 BC.termCost k BC.termCost_nonneg hk1 (hscalar.2.2.2 _ (by simp)) | |
| 113 | - refine ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,?_,hflow⟩ | |
| 114 | - intro t x | |
| 115 | - constructor | |
| 116 | - · have h := forwardInitializedExactPhysicalVelocity_global_gradient_error M D hTime δ hδ ξ hs α | |
| 117 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth | |
| 118 | - Cagree (truncation k) hn k hk Q hbase t (Y t) x (hYd t x) | |
| 119 | - have ht : Kv/k ≤ |Kv|/k := div_le_div_of_nonneg_right (le_abs_self Kv) hk0.le | |
| 120 | - exact h.trans_lt ((add_lt_add_of_le_of_lt ht (hcorrection t x).1).trans_eq | |
| 121 | - (by dsimp [Cv]; ring)) | |
| 122 | - · have h := forwardInitializedExactPhysicalPressure_hessian_error M D hTime δ hδ ξ hs α | |
| 123 | - Cagree (truncation k) hn k hk Q X Y hXd hXY hY L' N' wf M' wm BC hrc hcost | |
| 124 | - hδ1 hα hterminal wp S hgrowth hbase hdet t x | |
| 125 | - have ht : Kp/k ≤ |Kp|/k := div_le_div_of_nonneg_right (le_abs_self Kp) hk0.le | |
| 126 | - exact h.trans_lt ((add_lt_add_of_le_of_lt ht (hcorrection t x).2).trans_eq | |
| 127 | - (by dsimp [Cp]; ring)) | |
| 128 | - | |
| 129 | 41 | end EulerPacketTerminalDatum |
+0 −146 Euler/PacketForwardInitializedFlowBounds.lean View file
| @@ -42,150 +42,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 42 | 42 | |
| 43 | 43 | include hδ1 hα L NB LM hX hF hXY hY hdet |
| 44 | 44 | |
| 45 | -theorem forwardInitialized_flow_and_correction_eventually (ε : ℝ) (hε : 0 < ε) : | |
| 46 | - ∃ ρ0 γ Cw : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ | |
| 47 | - ∀ᶠ k : ℝ in atTop, | |
| 48 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 49 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 50 | - (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree | |
| 51 | - (truncation k) hn k hk)) | |
| 52 | - (G : EulerPhysicalGraphFlowBounds.Data period D.T), | |
| 53 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 54 | - G.A = Q.liftedPacketCoefficient period | |
| 55 | - (forwardInitializedNormalizedField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 56 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 57 | - (forwardInitializedNormalizedDerivativeField M D hTime δ hδ ξ hs α (truncation k) k) ∧ | |
| 58 | - (∀ t z, graphConstraint k D.m₀ (G.A.field t z)=0) ∧ | |
| 59 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 60 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 61 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 62 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 63 | - (∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 64 | - ‖fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y t y) | |
| 65 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k⁻¹ ∧ | |
| 66 | - ‖fderiv ℝ (gradient (Q.physicalPotential D period k Y t)) x‖ < k⁻¹) ∧ | |
| 67 | - (∀ (ell : ℝ) (hell : 0 < ell), ell ≤ 1 → ∀ t : Icc (0 : ℝ) D.T, | |
| 68 | - (G.displacementField k D.m₀ ell hell t).HasJetBound | |
| 69 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 70 | - (G.velocityField k D.m₀ ell hell t).HasJetBound | |
| 71 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 72 | - (G.accelerationFieldL2 k D.m₀ ell hell t).HasJetBound | |
| 73 | - (k^ε) (ell⁻¹*k^(1+ε)) ∧ | |
| 74 | - HasSupBound (G.displacementField k D.m₀ ell hell t).field | |
| 75 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 76 | - HasSupBound (G.velocityField k D.m₀ ell hell t).field | |
| 77 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε))) := by | |
| 78 | - classical | |
| 79 | - let BC := forwardCoefficientBudget period M D hTime NB | |
| 80 | - have hC : 0 ≤ wordCost (Fin 4) 6 δ*‖ξ‖ := | |
| 81 | - mul_nonneg (wordCost_nonneg 6 δ) (norm_nonneg ξ) | |
| 82 | - obtain ⟨R',hM,hL,wm,wf,wp,hcost,hrc,hterminal⟩ := | |
| 83 | - EulerPacketForwardCommonRadius.exists_common_radius LM L NB BC | |
| 84 | - (wordCost (Fin 4) 6 δ*‖ξ‖) (wordRadius (Fin 4) δ) hC | |
| 85 | - let L' := L.enlargeRadius R' hL | |
| 86 | - let N' := NB.enlargeRadius R' hL | |
| 87 | - let M' := LM.enlargeRadius R' hM | |
| 88 | - let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα | |
| 89 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.g := | |
| 90 | - Scales.ofTimeProfile_growth L.g L.positive hTime.symm α hα | |
| 91 | - obtain ⟨ρ0,γ,Cw,hρ,hγ,hCw,hQ⟩ := forwardInitialized_correction_estimates_eventually | |
| 92 | - M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree X hX hF hdet | |
| 93 | - let C0 := velocity L'.R S.H0 BC.multiplierCost | |
| 94 | - let Cn := normal L'.R S.H0 BC.multiplierCost | |
| 95 | - let Ch := 6*N'.blockAmplitude* | |
| 96 | - (fixedVelocityGradeCost L'.R S.H0 1+fixedVelocityGradeCost L'.R S.H0 2+1) | |
| 97 | - let Rf := physicalInputRadius (4*L'.R) (4*L'.R) (ρ0/4) | |
| 98 | - let Av := liftedInputConstant period*(C0+Cn) | |
| 99 | - let Ev := 2*liftedInputConstant period*Cw | |
| 100 | - let At := 2*liftedInputConstant period*(Ch+Cw) | |
| 101 | - let Kerr := weightedPhysicalGradientCost D period L.Rc L.C₀ (ρ0/4) Cw | |
| 102 | - have hRv : 0 ≤ 4*L'.R := by have := L'.radius_one; linarith | |
| 103 | - have hρ' : 0 < ρ0/4 := by positivity | |
| 104 | - have hRf : 0 < Rf := (liftedInputRadius_pos (4*L'.R) (ρ0/4) hRv hρ').trans_le (le_max_left _ _) | |
| 105 | - have hK : 0 ≤ liftedInputConstant period := zero_le_one.trans (liftedInputConstant_one_le period) | |
| 106 | - have hC0 : 0 ≤ C0 := velocity_nonneg L'.R S.H0 BC.multiplierCost | |
| 107 | - (zero_le_one.trans L'.radius_one) BC.multiplierCost_nonneg | |
| 108 | - have hCn : 0 ≤ Cn := normal_nonneg L'.R S.H0 BC.multiplierCost | |
| 109 | - (zero_le_one.trans L'.radius_one) BC.multiplierCost_nonneg | |
| 110 | - have hCh : 0 ≤ Ch := by | |
| 111 | - have hN := N'.blockAmplitude_nonneg | |
| 112 | - have h₁ := fixedVelocityGradeCost_nonneg L'.R S.H0 (zero_le_one.trans L'.radius_one) 1 | |
| 113 | - have h₂ := fixedVelocityGradeCost_nonneg L'.R S.H0 (zero_le_one.trans L'.radius_one) 2 | |
| 114 | - dsimp [Ch] | |
| 115 | - positivity | |
| 116 | - have hAv : 0 ≤ Av := mul_nonneg hK (add_nonneg hC0 hCn) | |
| 117 | - have hEv : 0 ≤ Ev := by dsimp [Ev]; positivity | |
| 118 | - have hEta := inputExponent_pos ε hε | |
| 119 | - have hXd : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x := by | |
| 120 | - intro t x | |
| 121 | - rw [← hF t x] | |
| 122 | - exact ((hX t).differentiable (by simp) x).hasFDerivAt | |
| 123 | - refine ⟨ρ0,γ,Cw,hρ,hγ,hCw,?_⟩ | |
| 124 | - filter_upwards [hQ, | |
| 125 | - fixed_costs_eventually ({tailPolynomialConstant L'.R S.H0 BC.termCost} : Finset ℝ), | |
| 126 | - liftedAmplitude_small_eventually Av Ev Rf D.T hAv hEv hRf.le D.T_pos.le, | |
| 127 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop Rf, | |
| 128 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop At, | |
| 129 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop D.T, | |
| 130 | - correction_with_power_loss_eventually Kerr 1 1, | |
| 131 | - data_field_bounds_eventually period D.T ε hε, | |
| 132 | - data_sup_bounds_eventually period D.T ε hε] | |
| 133 | - with k hQ hscalar hsmall hRf_k hAt_k hT_k hdecay hLp hSup | |
| 134 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hγQ,hweighted⟩ := hQ | |
| 135 | - have hk0 : 0 < k := by linarith | |
| 136 | - have hk1 : 1 ≤ k := by linarith | |
| 137 | - have hbase : tailBase L'.R S.H0 BC.termCost (truncation k) ≤ k^(1/100 : ℝ) := | |
| 138 | - tailBase_frequency L'.R S.H0 BC.termCost k BC.termCost_nonneg hk1 (hscalar.2.2.2 _ (by simp)) | |
| 139 | - let V := forwardInitializedNormalizedField M D hTime δ hδ ξ hs α (truncation k) k | |
| 140 | - let Vt := forwardInitializedNormalizedDerivativeField M D hTime δ hδ ξ hs α (truncation k) k | |
| 141 | - have hv := forwardInitializedNormalizedField_bound M D hTime δ hδ ξ hs α | |
| 142 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 143 | - have hnrm := forwardInitializedNormalizedField_normal_bound M D hTime δ hδ ξ hs α | |
| 144 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 145 | - have hvt := forwardInitializedNormalizedDerivativeField_bound M D hTime δ hδ ξ hs α | |
| 146 | - L' N' wf M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 147 | - have he (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 148 | - ((Q.fieldTower period).realization (n+6) t) ≤ Cw*delta (expansion k) := | |
| 149 | - (hweighted (n+6) n le_rfl t).1 | |
| 150 | - have hp (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 151 | - ((Q.pressureTower period).realization (n+6) t) ≤ Cw*delta (expansion k) := | |
| 152 | - (hweighted (n+6) n le_rfl t).2.1 | |
| 153 | - have het (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 154 | - ((Q.timeDerivativeTower period).realization (n+6) t) ≤ Cw := | |
| 155 | - ((hweighted (n+6) n le_rfl t).2.2).trans | |
| 156 | - ((mul_le_mul_of_nonneg_left (delta_le_one _) hCw.le).trans_eq (mul_one _)) | |
| 157 | - have hsize : physicalInputSize period k C0 Cn (Cw*delta (expansion k)) = liftedAmplitude Av Ev k := by | |
| 158 | - dsimp [physicalInputSize,liftedAmplitude,Av,Ev] | |
| 159 | - ring | |
| 160 | - let G := Q.physicalFlowData period V Vt rfl | |
| 161 | - (forwardInitializedNormalizedField_time M D hTime δ hδ ξ hs α (truncation k) k) | |
| 162 | - k (4*L'.R) (4*L'.R) (ρ0/4) C0 Cn Ch (Cw*delta (expansion k)) Cw | |
| 163 | - hk1 rfl D.m₀_unit.le hRv hRv hρ' hC0 hCn hCh | |
| 164 | - (mul_nonneg hCw.le (delta_pos _).le) hCw.le hv hnrm hvt he het | |
| 165 | - (by change physicalInputSize period k C0 Cn (Cw*delta (expansion k))*Rf*D.T ≤ 1/8 | |
| 166 | - rw [hsize] | |
| 167 | - exact hsmall.2.2.2) | |
| 168 | - have hGB : G.B ≤ 2*k^(-(1/2 : ℝ)) := by | |
| 169 | - change physicalInputSize period k C0 Cn (Cw*delta (expansion k)) ≤ _ | |
| 170 | - rw [hsize] | |
| 171 | - exact hsmall.2.2.1 | |
| 172 | - have hflow := hLp G rfl rfl rfl hGB hRf_k hAt_k hT_k D.m₀ D.m₀_unit | |
| 173 | - have hsup := hSup G hGB hRf_k hT_k D.m₀ D.m₀_unit | |
| 174 | - have hcorrection (t : Icc (0 : ℝ) D.T) (x : Space) := | |
| 175 | - Q.physical_gradient_hessian_of_weighted D period X Y hXd hXY hY hdet | |
| 176 | - L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg L.frame_bound k (ρ0/4) Cw (delta (expansion k)) | |
| 177 | - hk1 rfl rfl hρ' hCw.le (delta_pos _).le he hp t x | |
| 178 | - have hdecay' : Kerr*k*delta (expansion k) < k⁻¹ := by | |
| 179 | - simpa only [Real.rpow_one,Real.rpow_neg_one] using hdecay | |
| 180 | - refine ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,rfl,rfl,?_,hweighted,?_,?_⟩ | |
| 181 | - · intro t z | |
| 182 | - change graphConstraint k D.m₀ | |
| 183 | - (EulerMetricTransport.transportDirection k⁻¹ D.m₀ ((Q.packetCoefficient period V).field t z)) = 0 | |
| 184 | - exact graphConstraint_transport k k⁻¹ (mul_inv_cancel₀ hk0.ne') D.m₀ _ | |
| 185 | - · intro t x | |
| 186 | - exact ⟨((hcorrection t x).1).trans_lt hdecay',((hcorrection t x).2).trans_lt hdecay'⟩ | |
| 187 | - · intro ell hell hell1 t | |
| 188 | - exact ⟨(hflow ell hell hell1 t).1,(hflow ell hell hell1 t).2.1, | |
| 189 | - (hflow ell hell hell1 t).2.2,(hsup ell hell hell1 t).1,(hsup ell hell hell1 t).2⟩ | |
| 190 | - | |
| 191 | 45 | end EulerPacketTerminalDatum |
+0 −70 Euler/PacketForwardPrimary.lean View file
| @@ -41,30 +41,9 @@ def regularity (O : Operators) (hcorrector : O.curlCorrector = D.curlCorrector P | ||
| 41 | 41 | ProfileRegularity P D.T D.T_pos.le D.support (profile D Y O) := |
| 42 | 42 | homogeneousPrimaryRegularity D Y O hcorrector |
| 43 | 43 | |
| 44 | -theorem equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 45 | - linearPart (D.strain (t,(x,θ))) (slicedJet (Icc (0 : ℝ) D.T) (vector D Y) (t,(x,θ)))+ | |
| 46 | - fastPressure (D.normalField (t,(x,θ))) (pressureJet (scalar D Y) (t,(x,θ))) = 0 := | |
| 47 | - (forcing D).jet_equation Y t x θ | |
| 48 | - | |
| 49 | -theorem tangent (t : ℝ) (x : Space) (θ : ℝ) : | |
| 50 | - inner ℝ (D.normalField (t,(x,θ))) (vector D Y (t,(x,θ))) = 0 := | |
| 51 | - (forcing D).vector_tangent Y t x θ | |
| 52 | - | |
| 53 | -theorem mean_zero (t : ℝ) (x : Space) : | |
| 54 | - (∫ θ in (0 : ℝ)..P, vector D Y (t,(x,θ))) = 0 := | |
| 55 | - (forcing D).vector_mean_zero Y t x | |
| 56 | - | |
| 57 | 44 | theorem pressure_smooth (t : ℝ) : ContDiff ℝ ∞ (fun y : Space × ℝ => scalar D Y (t,y)) := |
| 58 | 45 | (forcing D).scalar_spatial_smooth Y t |
| 59 | 46 | |
| 60 | -theorem parity (O : Operators) (hcorrector : O.curlCorrector = D.curlCorrector P) | |
| 61 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 62 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 63 | - (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 64 | - (hY : reflection P (Y.value : CylinderL2 P U) = -(Y.value : CylinderL2 P U)) : | |
| 65 | - ProfileParity D.T (profile D Y O) := | |
| 66 | - homogeneousPrimaryParity D Y O hcorrector hSym hF hM hY | |
| 67 | - | |
| 68 | 47 | end EulerPacketForwardPrimary |
| 69 | 48 | |
| 70 | 49 | namespace EulerPacketTerminalDatum |
| @@ -86,53 +65,4 @@ def forwardPrimaryRegularity (O : Operators) (hcorrector : O.curlCorrector = D.c | ||
| 86 | 65 | ProfileRegularity period D.T D.T_pos.le D.support (forwardPrimary D δ hδ ξ hs O) := |
| 87 | 66 | EulerPacketForwardPrimary.regularity D (initialData D δ hδ ξ hs) O hcorrector |
| 88 | 67 | |
| 89 | -theorem forwardPrimary_equation (O : Operators) (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 90 | - linearPart (D.strain (t,(x,θ))) | |
| 91 | - (slicedJet (Icc (0 : ℝ) D.T) (forwardPrimary D δ hδ ξ hs O).high (t,(x,θ)))+ | |
| 92 | - fastPressure (D.normalField (t,(x,θ))) | |
| 93 | - (pressureJet (forwardPrimary D δ hδ ξ hs O).highPressure (t,(x,θ))) = 0 := | |
| 94 | - EulerPacketForwardPrimary.equation D (initialData D δ hδ ξ hs) t x θ | |
| 95 | - | |
| 96 | -theorem forwardPrimary_tangent (O : Operators) (t : ℝ) (x : Space) (θ : ℝ) : | |
| 97 | - inner ℝ (D.normalField (t,(x,θ))) ((forwardPrimary D δ hδ ξ hs O).high (t,(x,θ))) = 0 := | |
| 98 | - EulerPacketForwardPrimary.tangent D (initialData D δ hδ ξ hs) t x θ | |
| 99 | - | |
| 100 | -theorem forwardPrimary_mean_zero (O : Operators) (t : ℝ) (x : Space) : | |
| 101 | - (∫ θ in (0 : ℝ)..period, (forwardPrimary D δ hδ ξ hs O).high (t,(x,θ))) = 0 := | |
| 102 | - EulerPacketForwardPrimary.mean_zero D (initialData D δ hδ ξ hs) t x | |
| 103 | - | |
| 104 | -theorem forwardPrimary_parity (O : Operators) (hcorrector : O.curlCorrector = D.curlCorrector period) | |
| 105 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 106 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 107 | - (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) : | |
| 108 | - ProfileParity D.T (forwardPrimary D δ hδ ξ hs O) := | |
| 109 | - EulerPacketForwardPrimary.parity D (initialData D δ hδ ξ hs) O hcorrector hSym hF hM | |
| 110 | - (terminal_reflection δ hδ ξ) | |
| 111 | - | |
| 112 | -theorem forwardPrimary_initial (O : Operators) (x : Space) (θ : ℝ) : | |
| 113 | - (forwardPrimary D δ hδ ξ hs O).high (0,(x,θ)) = | |
| 114 | - (innerCutoff x*profile δ θ) • D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ := by | |
| 115 | - change (EulerPacketForwardPrimary.forcing D).vector (initialData D δ hδ ξ hs) (0,(x,θ)) = _ | |
| 116 | - rw [(EulerPacketForwardPrimary.forcing D).vector_initial_of_representative | |
| 117 | - (initialData D δ hδ ξ hs) (field δ ξ) | |
| 118 | - (smoothField_continuous period _ (field_smooth δ hδ ξ)) (terminal_ae δ hδ ξ), | |
| 119 | - field_coe,map_smul] | |
| 120 | - | |
| 121 | -theorem forwardPrimary_initial_angular (O : Operators) (x : Space) : | |
| 122 | - HasDerivAt (fun θ : ℝ => (forwardPrimary D δ hδ ξ hs O).high (0,(x,θ))) | |
| 123 | - ((innerCutoff x*δ⁻¹) • D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ) 0 := by | |
| 124 | - have he : (fun θ : ℝ => (forwardPrimary D δ hδ ξ hs O).high (0,(x,θ))) = | |
| 125 | - fun θ => (innerCutoff x*profile δ θ) • D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ := | |
| 126 | - funext (forwardPrimary_initial D δ hδ ξ hs O x) | |
| 127 | - rw [he] | |
| 128 | - have hp := (profile_hasDerivAt δ hδ 0).differentiableAt.hasDerivAt | |
| 129 | - rw [profile_deriv_zero δ hδ] at hp | |
| 130 | - exact (hp.const_mul (innerCutoff x)).smul_const (D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ) | |
| 131 | - | |
| 132 | -theorem forwardPrimary_initial_angular_norm (O : Operators) : | |
| 133 | - ‖deriv (fun θ : ℝ => (forwardPrimary D δ hδ ξ hs O).high (0,(0,θ))) 0‖ = | |
| 134 | - δ⁻¹*‖D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ 0 ξ‖ := by | |
| 135 | - rw [(forwardPrimary_initial_angular D δ hδ ξ hs O 0).deriv,innerCutoff_zero,one_mul, | |
| 136 | - norm_smul,Real.norm_eq_abs,abs_of_pos (inv_pos.mpr hδ)] | |
| 137 | - | |
| 138 | 68 | end EulerPacketTerminalDatum |
+0 −43 Euler/PacketForwardPrimaryShear.lean View file
| @@ -120,47 +120,4 @@ theorem scalar_second_deriv (a : ℝ) (t : Icc (0 : ℝ) D.T) (x : Space) (θ : | ||
| 120 | 120 | pressureCoefficient D ξ a t x * deriv (profile δ) θ := |
| 121 | 121 | (scalar_deriv_hasDerivAt D δ hδ ξ hs a t x θ).deriv |
| 122 | 122 | |
| 123 | -theorem scalar_second_deriv_zero (a : ℝ) (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 124 | - deriv (deriv (fun s => scalar D (initialData D δ hδ (a • ξ) hs) (t,(x,s)))) 0 = | |
| 125 | - pressureCoefficient D ξ a t x / δ := by | |
| 126 | - rw [scalar_second_deriv,profile_deriv_zero δ hδ,div_eq_mul_inv] | |
| 127 | - | |
| 128 | -def physicalPressure (a k : ℝ) (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : ℝ := | |
| 129 | - k⁻¹^2 * scalar D (initialData D δ hδ (a • ξ) hs) (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ)) | |
| 130 | - | |
| 131 | -def hessianRemainder (a k : ℝ) (t : Icc (0 : ℝ) D.T) (Y : Space → Space) | |
| 132 | - (x : Space) : Space →L[ℝ] Space := | |
| 133 | - lowerHessian (fun z => scalar D (initialData D δ hδ (a • ξ) hs) (t,z)) | |
| 134 | - k D.m₀ Y (fun y => D.FInv.field t (Y y)) x | |
| 135 | - | |
| 136 | -theorem physicalPressure_hessian (a k : ℝ) (hk : k ≠ 0) (t : Icc (0 : ℝ) D.T) | |
| 137 | - (Y : Space → Space) (hY : ∀ x, HasFDerivAt Y (D.FInv.field t (Y x)) x) (x : Space) : | |
| 138 | - fderiv ℝ (gradient (physicalPressure D δ hδ ξ hs a k t Y)) x = | |
| 139 | - (pressureCoefficient D ξ a t (Y x) * deriv (profile δ) (k*⟪D.m₀,Y x⟫_ℝ)) • | |
| 140 | - rankOne ℝ (D.normal.field t (Y x)) (D.normal.field t (Y x)) + | |
| 141 | - hessianRemainder D δ hδ ξ hs a k t Y x := by | |
| 142 | - let q : LiftTangent → ℝ := fun z => scalar D (initialData D δ hδ (a • ξ) hs) (t,z) | |
| 143 | - have hq : ContDiff ℝ ∞ q := pressure_smooth D _ t | |
| 144 | - have hJ : DifferentiableAt ℝ (fun y => D.FInv.field t (Y y)) x := | |
| 145 | - ((D.FInv.smooth t).differentiable (by simp) (Y x)).comp x (hY x).differentiableAt | |
| 146 | - have hh := hessian_physical hq k hk D.m₀ Y (fun y => D.FInv.field t (Y y)) hY x hJ | |
| 147 | - have ha : angularDerivative (angularDerivative q) (graphMap k D.m₀ (Y x)) = | |
| 148 | - pressureCoefficient D ξ a t (Y x) * deriv (profile δ) (k*⟪D.m₀,Y x⟫_ℝ) := by | |
| 149 | - rw [angularSecond_eq_deriv hq] | |
| 150 | - exact scalar_second_deriv D δ hδ ξ hs a t (Y x) (k*⟪D.m₀,Y x⟫_ℝ) | |
| 151 | - rw [ha] at hh | |
| 152 | - exact hh | |
| 153 | - | |
| 154 | -theorem physicalPressure_hessian_of_inverse (a k : ℝ) (hk : k ≠ 0) | |
| 155 | - (X Y : Icc (0 : ℝ) D.T → Space → Space) | |
| 156 | - (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) | |
| 157 | - (hXY : ∀ t x, X t (Y t x)=x) (hY : Continuous (Function.uncurry Y)) | |
| 158 | - (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 159 | - fderiv ℝ (gradient (physicalPressure D δ hδ ξ hs a k t (Y t))) x = | |
| 160 | - (pressureCoefficient D ξ a t (Y t x) * deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 161 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x)) + | |
| 162 | - hessianRemainder D δ hδ ξ hs a k t (Y t) x := | |
| 163 | - physicalPressure_hessian D δ hδ ξ hs a k hk t (Y t) | |
| 164 | - (continuousInverse_hasFDerivAt D X Y hX hXY hY t) x | |
| 165 | - | |
| 166 | 123 | end EulerPacketForwardShear |
+0 −5 Euler/PacketForwardRadiusPolynomial.lean View file
| @@ -185,9 +185,4 @@ theorem canonicalRadius_le_envelope (W : ℝ) (hδ : 0 < δ) | ||
| 185 | 185 | unfold radiusEnvelope |
| 186 | 186 | nlinarith only [H.original_mean,H.original_forward,H.coefficient_cost,hb,hm,hg1,hgT,hextra,hreq,hjW] |
| 187 | 187 | |
| 188 | -theorem canonicalRadius_power (W : ℝ) (hδ : 0 < δ) | |
| 189 | - (H : RadiusPrimitives L LM N BC δ ξ W) : | |
| 190 | - canonicalRadius L LM N BC δ ξ ≤ radiusConstant*W^radiusPower := | |
| 191 | - (canonicalRadius_le_envelope L LM N BC δ ξ W hδ H).trans (radiusEnvelope_power W H.one) | |
| 192 | - | |
| 193 | 188 | end EulerPacketForwardRadius |
+0 −10 Euler/PacketForwardRemainder.lean View file
| @@ -78,16 +78,6 @@ theorem forwardInitializedPrimaryRemainder_bound (N : ℕ) (hN : 1 ≤ N) (k : | ||
| 78 | 78 | (forwardInitializedProfiles_one_mean M D δ hδ ξ hs α) hN BC k hk hbase |
| 79 | 79 | exact (h.changeTime hTime).of_raw_eq _ (fun _ _ _ => by rw [forwardInitializedProfiles_one_high]; rfl) |
| 80 | 80 | |
| 81 | -theorem forwardInitializedPrimaryRemainder_physical_norm (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) | |
| 82 | - (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) | |
| 83 | - (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : | |
| 84 | - ‖forwardInitializedPrimaryRemainder M D δ hδ ξ hs α N k⁻¹ | |
| 85 | - (t,(Y x,k*inner ℝ D.m₀ (Y x)))‖ ≤ | |
| 86 | - sobolevEmbeddingConstant period 3*((fixedVelocityGradeCost L.R S.H0 2+2)/k^2) := | |
| 87 | - (forwardInitializedPrimaryRemainder_bound M D hTime δ hδ ξ hs α | |
| 88 | - L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase).raw_graph_norm_le | |
| 89 | - (by norm_num) t k D.m₀ (Y x) | |
| 90 | - | |
| 91 | 81 | theorem forwardInitializedPrimaryRemainder_physical_fderiv (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 92 | 82 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 93 | 83 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) |
+0 −11 Euler/PacketForwardUniformBudget.lean View file
| @@ -59,17 +59,6 @@ def forwardUniformBudget : EulerAllOrderDriftCorrection.Budget period D.T_pos | ||
| 59 | 59 | (costs.1.trans hfrequency) (costs.2.1.trans hfrequency) (costs.2.2.1.trans hfrequency) |
| 60 | 60 | (costs.2.2.2.1.trans hfrequency) (costs.2.2.2.2.trans hfrequency) Ξ hΞ hF hdet |
| 61 | 61 | |
| 62 | -theorem forwardUniformBudget_delta : | |
| 63 | - (forwardUniformBudget M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree | |
| 64 | - W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet).delta=delta (expansion k) := rfl | |
| 65 | - | |
| 66 | -theorem forwardUniformBudget_initialRadius : | |
| 67 | - (forwardUniformBudget M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree | |
| 68 | - W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet).initialRadius= | |
| 69 | - initialRadius | |
| 70 | - (forwardInitializedRadius LM L NB (forwardCoefficientBudget period M D hTime NB) δ ξ) | |
| 71 | - (L.correctionCoefficients NB period).M (L.correctionCoefficients NB period).Rc := rfl | |
| 72 | - | |
| 73 | 62 | |
| 74 | 63 | open EulerPacketCorrectionOutput EulerSobolevGevreyOperators EulerAllOrderDriftCorrection |
| 75 | 64 | |
+0 −8 Euler/PacketFrameRenewalAlgebra.lean View file
| @@ -32,12 +32,4 @@ theorem scaling_cross_flux {a : ℝ} (ha : a ≠ 0) (s₀ ε : ℝ) | ||
| 32 | 32 | field_simp |
| 33 | 33 | ring |
| 34 | 34 | |
| 35 | -theorem scaling_pressure_ratio {a : ℝ} (ha : a ≠ 0) (s₀ ε : ℝ) | |
| 36 | - (M : Fin 3 → Fin 3 → ℝ) (R V : Fin 3 → ℝ) (hV : V 1 ≠ 0) : | |
| 37 | - (∑ i : Fin 3, (s₀*rayScale ε i*R i)*(∑ j : Fin 3, M i j*(velocityScale ε j*V j))) = | |
| 38 | - s₀*a*(V 1)*velocityNumerator (scaledVelocityEntry a ε M) | |
| 39 | - (R 0) (R 1) (R 2) (V 0/V 1) 1 (V 2/V 1) := by | |
| 40 | - rw [scaling_flux ha, velocityNumerator_homogeneous _ _ _ _ _ _ _ hV] | |
| 41 | - ring | |
| 42 | - | |
| 43 | 35 | end EulerPacketMovingFrame |
+0 −8 Euler/PacketGeometryControlledGrowth.lean View file
| @@ -95,14 +95,6 @@ theorem primaryAmplitude_pos (hδ : 0 < A.δ) (hh : 0 < A.hchild) : | ||
| 95 | 95 | 0 < A.primaryAmplitude hball := |
| 96 | 96 | EulerPacketGeometryLowBounds.amplitude_pos (A.lowGeometry hball) hδ hh |
| 97 | 97 | |
| 98 | -theorem primaryAmplitude_exponential : A.primaryAmplitude hball ≤ | |
| 99 | - (4*P.horizon*A.δ*A.hchild)*Real.exp (-(1/(4*P.sigma))) := by | |
| 100 | - obtain ⟨F,F₁,Z,Z₁,J⟩ := (A.lowGeometry hball).exists_geometry | |
| 101 | - have h := J.amplitude_exponential | |
| 102 | - change A.primaryAmplitude hball ≤ | |
| 103 | - (4*P.horizon*A.δ*A.hchild/(1 : ℝ))*Real.exp (-(1/(4*P.sigma))) at h | |
| 104 | - simpa only [div_one] using h | |
| 105 | - | |
| 106 | 98 | theorem halfBall_controlledGrowth : |
| 107 | 99 | ∃ g : C(Icc (0 : ℝ) D.T,ℝ), |
| 108 | 100 | (∀ t, 0 < g t) ∧ g ⟨0,le_rfl,D.T_pos.le⟩=1 ∧ |
+0 −25 Euler/PacketGeometryInitialAmplitude.lean View file
| @@ -92,29 +92,4 @@ variable {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSp | ||
| 92 | 92 | {D : Data U} {P : ParentFrame D 0} (J : ForwardGuards P) |
| 93 | 93 | (hball : (1/2 : ℝ) ≤ J.radius) |
| 94 | 94 | |
| 95 | -theorem primaryAmplitude_polynomial (X x : ℝ) (hX : 1 ≤ X) | |
| 96 | - (hH : P.horizon ≤ X) (hh : J.hchild ≤ X) (hδ : J.δ ≤ 1) (hσ : P.sigma*x ≤ 2) : | |
| 97 | - J.primaryAmplitude hball ≤ constant*X^degree*Real.exp (-x/8) := by | |
| 98 | - have hS := zero_le_one.trans (sourceEnvelope_one X hX) | |
| 99 | - have hX0 := zero_le_one.trans hX | |
| 100 | - have hH0 := zero_le_one.trans J.horizon_lower | |
| 101 | - have hc0 := J.child_nonneg | |
| 102 | - have hd0 := J.delta_nonneg | |
| 103 | - have hpref : 4*P.horizon*J.δ*J.hchild ≤ envelope X := by | |
| 104 | - calc | |
| 105 | - _ ≤ 4*X*1*X := by gcongr | |
| 106 | - _ ≤ 4*X*1*X*(1+sourceEnvelope X) := by nlinarith only [mul_nonneg (sq_nonneg X) hS] | |
| 107 | - _ = _ := by unfold envelope; ring | |
| 108 | - have hs := sigma_exponential_bound P.sigma x J.sigma_pos hσ | |
| 109 | - apply (J.primaryAmplitude_exponential hball).trans | |
| 110 | - apply (mul_le_mul hpref hs (Real.exp_pos _).le ?_).trans | |
| 111 | - · exact mul_le_mul_of_nonneg_right (envelope_bound X hX) (Real.exp_pos _).le | |
| 112 | - · unfold envelope | |
| 113 | - positivity | |
| 114 | - | |
| 115 | -include J hball in | |
| 116 | -theorem horizon_le_growthCost : P.horizon ≤ 560*P.horizon^10/P.epsilon := by | |
| 117 | - have he : P.epsilon ≤ 1 := (J.lowGeometry hball).epsilon_le_one | |
| 118 | - exact horizon_le_cost P.horizon P.epsilon J.horizon_lower J.epsilon_pos he | |
| 119 | - | |
| 120 | 95 | end EulerPacketSourceGeometry.ForwardGuards |
+0 −29 Euler/PacketGeometryJoinedBudget.lean View file
| @@ -38,33 +38,4 @@ theorem sourceGrowthProfile_amplitude (t : Icc (0 : ℝ) (D.T-τ)) : | ||
| 38 | 38 | 8*Real.exp 6*J.δ*J.hchild/P.rayScale hτ hτT := |
| 39 | 39 | (J.halfBall_controlledGrowth hball).choose_spec.2.2.2 t |
| 40 | 40 | |
| 41 | -theorem primaryAmplitude_bound : J.primaryAmplitude hball ≤ | |
| 42 | - 8*Real.exp 6*J.δ*J.hchild/P.rayScale hτ hτT := by | |
| 43 | - have h := J.sourceGrowthProfile_amplitude hball ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩ | |
| 44 | - simpa only [J.sourceGrowthProfile_initial hball,mul_one] using h | |
| 45 | - | |
| 46 | -def joinedBudget (q : ℕ) | |
| 47 | - (A V : Icc (0 : ℝ) D.T → SmoothL2Field Space) | |
| 48 | - (W : Icc (0 : ℝ) τ → SmoothL2Field Space) | |
| 49 | - (F₂ : SmoothCoefficientPath (Icc (0 : ℝ) τ) (Space →L[ℝ] Space)) | |
| 50 | - (ℓ K Ti : ℝ) (hℓ : 0 ≤ ℓ) (hℓ1 : ℓ ≤ 1) (hK : 0 ≤ K) | |
| 51 | - (hτ1 : τ ≤ 1) (hTi : τ⁻¹ ≤ Ti) | |
| 52 | - (hA : ∀ t, HasLabelBound K (A t)) (hV : ∀ t, HasLabelBound K (V t)) | |
| 53 | - (hW : ∀ t, HasLabelBound K (W t)) | |
| 54 | - (hF : ∀ t x, D.F.field t x = ContinuousLinearMap.id ℝ Space+fderiv ℝ (A t).field (ℓ • x)) | |
| 55 | - (hF₁ : ∀ t x, D.F₁.field t x = fderiv ℝ (V t).field (ℓ • x)) | |
| 56 | - (hF₂ : ∀ t x, F₂.field t x = fderiv ℝ (W t).field (ℓ • x)) | |
| 57 | - (h₂ : ∀ t ∈ Icc (0 : ℝ) τ, ∀ x : Space, | |
| 58 | - HasDerivWithinAt (fun s => extendPath τ hτ.le (D.initial τ hτ hτT.le).F₁.field s x) | |
| 59 | - (extendPath τ hτ.le F₂.field t x) (Icc (0 : ℝ) τ) t) | |
| 60 | - (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det = 1) | |
| 61 | - (Ω : Set Space) (hΩ : MeasurableSet Ω) (hΩo : IsOpen Ω) | |
| 62 | - (hsub : D.support ⊆ Ω) (hΩball : ∀ x ∈ Ω, ‖x‖ ≤ (1/2 : ℝ)) : | |
| 63 | - EulerTransversePacketJoin.Budget D τ hτ hτT H (Fin 4) q := | |
| 64 | - EulerPacketParentPhysicalBudgets.joinedBudget D τ hτ hτT H q A V W F₂ | |
| 65 | - ℓ K Ti (560*P.horizon^10/P.epsilon) hℓ hℓ1 hK hτ1 hTi J.growth_constant_pos.le | |
| 66 | - hA hV hW hF hF₁ hF₂ h₂ hdet (J.sourceGrowthProfile hball) | |
| 67 | - (J.sourceGrowthProfile_positive hball) (J.sourceGrowthProfile_initial hball) | |
| 68 | - Ω hΩ hΩo hsub hΩball (J.sourceGrowthProfile_propagator hball) | |
| 69 | - | |
| 70 | 41 | end EulerPacketSourceGeometry.Guards |
+0 −20 Euler/PacketGeometryPressureCosts.lean View file
| @@ -66,16 +66,6 @@ theorem joined_upper_pressure_cost_bound (hdelta : A.δ ≤ spike J X n) : | ||
| 66 | 66 | _ = 2*M*A.hchild*(A.δ*goodRatio)+2*M*A.hchild*A.badRatio := by ring |
| 67 | 67 | _ ≤ _ := add_le_add hg hb |
| 68 | 68 | |
| 69 | -theorem joined_initial_gradient_cost_bound (hMone : 1 ≤ M) (ev : ℝ) : | |
| 70 | - A.hchild*A.badRatio+ev ≤ badCost J Cθ CM CMn CHn c (scaleSequence J X) n+ev := by | |
| 71 | - have hb := L.joined_bad_pressure_cost_bound m hm R S hS H τ hτ hτT P A Ti hτ1 hTi | |
| 72 | - J D hJ X Cθ CM CMn CHn c hX hCθ hCM hCMn hCHn hc hbaseH hbaseK n M | |
| 73 | - hK hTib hCMb hCHb hTheta hSigma hchild hMb | |
| 74 | - have hbase : A.hchild*A.badRatio ≤ 2*M*A.hchild*A.badRatio := by | |
| 75 | - nlinarith only [mul_nonneg (by linarith only [hMone] : 0 ≤ 2*M-1) | |
| 76 | - (mul_nonneg A.child_nonneg A.badRatio_nonneg)] | |
| 77 | - exact add_le_add (hbase.trans hb) le_rfl | |
| 78 | - | |
| 79 | 69 | end EulerParentPacketFrames.LabelData |
| 80 | 70 | |
| 81 | 71 | namespace EulerPacketSourceGeometry.ForwardGuards |
| @@ -137,14 +127,4 @@ theorem upper_pressure_cost_bound (hdelta : A.δ ≤ spike J X n) : | ||
| 137 | 127 | _ = 2*M*A.hchild*(A.δ*goodRatio)+2*M*A.hchild*A.earlyRatio := by ring |
| 138 | 128 | _ ≤ _ := add_le_add hg hb |
| 139 | 129 | |
| 140 | -omit [CompleteSpace U] in | |
| 141 | -theorem initial_gradient_cost_bound (hMone : 1 ≤ M) (ev : ℝ) : | |
| 142 | - A.hchild*A.earlyRatio+ev ≤ badCost J Cθ CM CMn CHn c (scaleSequence J X) n+ev := by | |
| 143 | - have hb := A.bad_pressure_cost_bound J hJ X Cθ CM CMn CHn c hX hCθ hCM hCMn hCHn hc | |
| 144 | - hbaseH n M hTheta hSigma hchild hMb | |
| 145 | - have hbase : A.hchild*A.earlyRatio ≤ 2*M*A.hchild*A.earlyRatio := by | |
| 146 | - nlinarith only [mul_nonneg (by linarith only [hMone] : 0 ≤ 2*M-1) | |
| 147 | - (mul_nonneg A.child_nonneg A.earlyRatio_nonneg)] | |
| 148 | - exact add_le_add (hbase.trans hb) le_rfl | |
| 149 | - | |
| 150 | 130 | end EulerPacketSourceGeometry.ForwardGuards |
+0 −16 Euler/PacketGeometryProfileEnvelope.lean View file
| @@ -67,14 +67,6 @@ theorem budget_fullProfile_amplitude (t : Icc (0 : ℝ) D.T) : | ||
| 67 | 67 | exact EulerElapsedTimePathGluing.smul_profile_le D.T τ hτ.le hτT.le L.g L.initial_one |
| 68 | 68 | (J.primaryAmplitude hball) _ ha hf t |
| 69 | 69 | |
| 70 | -include hg in | |
| 71 | -theorem budget_H0_bound {T' : ℝ} (hTime : D.T=T') | |
| 72 | - (hδ : 0 < J.δ) (hh : 0 < J.hchild) : | |
| 73 | - (Scales.ofTimeProfile L.fullProfile L.fullProfile_pos hTime (J.primaryAmplitude hball) | |
| 74 | - (J.primaryAmplitude_pos hball hδ hh)).H0 ≤ max 1 (8*Real.exp 6*J.δ*J.hchild*(1+L.C₀)) := | |
| 75 | - Scales.ofTimeProfile_H0_le L.fullProfile L.fullProfile_pos hTime _ _ _ (le_max_left _ _) | |
| 76 | - (fun t => (J.budget_fullProfile_amplitude hball L hg t).trans (le_max_right _ _)) | |
| 77 | - | |
| 78 | 70 | end EulerPacketSourceGeometry.Guards |
| 79 | 71 | |
| 80 | 72 | namespace EulerPacketSourceGeometry.ForwardGuards |
| @@ -93,12 +85,4 @@ theorem budget_profile_amplitude (t : Icc (0 : ℝ) D.T) : | ||
| 93 | 85 | rw [hg] |
| 94 | 86 | exact J.sourceGrowthProfile_amplitude hball t |
| 95 | 87 | |
| 96 | -include hg in | |
| 97 | -theorem budget_H0_bound {T' : ℝ} (hTime : D.T=T') | |
| 98 | - (hδ : 0 < J.δ) (hh : 0 < J.hchild) : | |
| 99 | - (Scales.ofTimeProfile L.g L.positive hTime (J.primaryAmplitude hball) | |
| 100 | - (J.primaryAmplitude_pos hball hδ hh)).H0 ≤ max 1 (8*Real.exp 6*J.δ*J.hchild) := | |
| 101 | - Scales.ofTimeProfile_H0_le L.g L.positive hTime _ _ _ (le_max_left _ _) | |
| 102 | - (fun t => (J.budget_profile_amplitude hball L hg t).trans (le_max_right _ _)) | |
| 103 | - | |
| 104 | 88 | end EulerPacketSourceGeometry.ForwardGuards |
+0 −20 Euler/PacketGeometrySourceGrowth.lean View file
| @@ -40,10 +40,6 @@ theorem growthProfile_pos (hhorizon : G.time G.H=G.t₀+D.T) | ||
| 40 | 40 | |
| 41 | 41 | def growthConstant : ℝ := 560*G.Θ^10/G.ε |
| 42 | 42 | |
| 43 | -theorem growthConstant_pos : 0 < growthConstant G := by | |
| 44 | - unfold growthConstant | |
| 45 | - positivity [G.Theta_pos,G.epsilon_pos] | |
| 46 | - | |
| 47 | 43 | theorem physicalGrowth_of_geometry |
| 48 | 44 | (hinterval : G.S=Icc G.t₀ (G.t₀+D.T)) |
| 49 | 45 | (hhorizon : G.time G.H=G.t₀+D.T) |
| @@ -85,20 +81,4 @@ theorem physicalGrowth_of_geometry | ||
| 85 | 81 | simpa only [growthConstant,u,add_sub_cancel_left] using hb |
| 86 | 82 | _ = growthConstant G*growthProfile D G H t/growthProfile D G H s*‖w s‖ := by ring |
| 87 | 83 | |
| 88 | -/-- The profile and its physical growth property are derived together | |
| 89 | -from the actual geometry stage. They are ready for the source-budget constructors. -/ | |
| 90 | -theorem exists_growth_of_geometry | |
| 91 | - (hinterval : G.S=Icc G.t₀ (G.t₀+D.T)) | |
| 92 | - (hhorizon : G.time G.H=G.t₀+D.T) | |
| 93 | - (hstrain : ∀ (x : {x : Space // x ∈ Ω}) (t : Icc (0 : ℝ) D.T), | |
| 94 | - G.M x (G.t₀+t)=D.M.field t x.1) | |
| 95 | - (hnormal : ∀ (x : {x : Space // x ∈ Ω}) (t : Icc (0 : ℝ) D.T), | |
| 96 | - G.r x (G.t₀+t)=D.normal.field t x.1) : | |
| 97 | - ∃ (g : C(Icc (0 : ℝ) D.T,ℝ)) (C : ℝ), | |
| 98 | - (∀ t, 0 < g t) ∧ g ⟨0,le_rfl,D.T_pos.le⟩=1 ∧ 0 < C ∧ PhysicalGrowth D Ω g C := by | |
| 99 | - obtain ⟨F,F₁,Z,Z₁,H⟩ := G.exists_geometry | |
| 100 | - exact ⟨growthProfile D G H,growthConstant G,growthProfile_pos D G H hhorizon, | |
| 101 | - growthProfile_initial D G H,growthConstant_pos G, | |
| 102 | - physicalGrowth_of_geometry D G H hinterval hhorizon hstrain hnormal⟩ | |
| 103 | - | |
| 104 | 84 | end EulerPacketGeometrySourceGrowth |
+0 −7 Euler/PacketGevreyProfileChoice.lean View file
| @@ -43,13 +43,6 @@ theorem ofTimeProfile_growth {T T' : ℝ} (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ | ||
| 43 | 43 | change timeProfileChange (α • timeProfileChange g h) h.symm = α • g |
| 44 | 44 | rw [timeProfileChange_smul,timeProfileChange_roundtrip] |
| 45 | 45 | |
| 46 | -theorem ofTimeProfile_high {T T' : ℝ} (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) | |
| 47 | - (h : T = T') (α : ℝ) (hα : 0 < α) (p : ℕ) : | |
| 48 | - timeProfileChange ((ofTimeProfile g hg h α hα).high p) h.symm = | |
| 49 | - (α*meanScale (ofTimeProfile g hg h α hα).H0 p) • g := | |
| 50 | - high_timeProfile_eq (ofTimeProfile g hg h α hα) h.symm g α | |
| 51 | - (ofTimeProfile_growth g hg h α hα) p | |
| 52 | - | |
| 53 | 46 | theorem gradeFactor_pos {K : Type*} [TopologicalSpace K] (S : Scales K) |
| 54 | 47 | (α : ℝ) (hα : 0 < α) (p : ℕ) : 0 < α*meanScale S.H0 p := |
| 55 | 48 | mul_pos hα (meanScale_pos S.H0 S.H0_pos p) |
+0 −51 Euler/PacketGraphFlowFieldBounds.lean View file
| @@ -15,55 +15,4 @@ open Set Filter EulerLiftedGradientSpace EulerSmoothFlowGevrey | ||
| 15 | 15 | |
| 16 | 16 | variable (P T : ℝ) [Fact (0 < P)] |
| 17 | 17 | |
| 18 | -theorem data_field_bounds_eventually (ε : ℝ) (hε : 0 < ε) : | |
| 19 | - ∀ᶠ k : ℝ in atTop, ∀ (G : Data P T), | |
| 20 | - G.C=G.B → G.S=G.R → G.S₁=G.R → | |
| 21 | - G.B ≤ 2*k^(-(1/2 : ℝ)) → G.R ≤ k^(inputExponent ε) → | |
| 22 | - G.C₁ ≤ k^(inputExponent ε) → T ≤ k^(inputExponent ε) → | |
| 23 | - ∀ m : Vector3, ‖m‖=1 → ∀ (ell : ℝ) (hell : 0 < ell), ell ≤ 1 → | |
| 24 | - ∀ t : Icc (0 : ℝ) T, | |
| 25 | - (G.displacementField k m ell hell t).HasJetBound | |
| 26 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 27 | - (G.velocityField k m ell hell t).HasJetBound | |
| 28 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 29 | - (G.accelerationFieldL2 k m ell hell t).HasJetBound | |
| 30 | - (k^ε) (ell⁻¹*k^(1+ε)) := by | |
| 31 | - filter_upwards [physical_bounds_eventually ε (Real.sqrt (2/P+2*P)) hε (Real.sqrt_nonneg _), | |
| 32 | - eventually_ge_atTop (1 : ℝ)] with k hnum hk | |
| 33 | - intro G hC hS hS₁ hB hR hC₁ hT m hm ell hell hell1 t | |
| 34 | - have hn := hnum G.B G.R T G.C₁ ell G.B_nonneg G.R_pos.le G.time_nonneg | |
| 35 | - G.C₁_nonneg hell hR hT hC₁ hB | |
| 36 | - have hvr : G.velocityRadius=flowRadius G.B G.R T G.R := by rw [Data.velocityRadius,hS] | |
| 37 | - have har : G.accelerationRadius=flowRadius G.B G.R T (6*G.R) := by | |
| 38 | - rw [Data.accelerationRadius,hS,hS₁] | |
| 39 | - congr 1 | |
| 40 | - ring | |
| 41 | - have haa : G.accelerationAmplitude=G.C₁+3*G.B^2*G.R := by | |
| 42 | - rw [Data.accelerationAmplitude,hC] | |
| 43 | - ring | |
| 44 | - have hgf : graphFactor k m=1+k := by | |
| 45 | - rw [graphFactor,hm,abs_of_nonneg (by linarith : 0 ≤ k),mul_one] | |
| 46 | - have hv0 := G.velocityRadius_nonneg | |
| 47 | - have ha0 := G.accelerationRadius_nonneg | |
| 48 | - have hc0 := G.C_nonneg | |
| 49 | - have ht0 := G.time_nonneg | |
| 50 | - have hac0 := G.accelerationAmplitude_nonneg | |
| 51 | - have hg0 := graphFactor_nonneg k m | |
| 52 | - refine ⟨?_,?_,?_⟩ | |
| 53 | - · apply (G.displacementField_bound k m ell hell hell1 t).mono | |
| 54 | - · positivity | |
| 55 | - · positivity | |
| 56 | - · simpa only [hC,hvr] using hn.1 | |
| 57 | - · simpa only [hvr,hgf] using hn.2.2.2.1 | |
| 58 | - · apply (G.velocityField_bound k m ell hell hell1 t).mono | |
| 59 | - · positivity | |
| 60 | - · positivity | |
| 61 | - · simpa only [hC,hvr] using hn.2.1 | |
| 62 | - · simpa only [hvr,hgf] using hn.2.2.2.1 | |
| 63 | - · apply (G.accelerationField_bound k m ell hell hell1 t).mono | |
| 64 | - · positivity | |
| 65 | - · positivity | |
| 66 | - · simpa only [haa,har] using hn.2.2.1 | |
| 67 | - · simpa only [har,hgf] using hn.2.2.2.2 | |
| 68 | - | |
| 69 | 18 | end EulerPhysicalGraphFlowBounds |
+0 −34 Euler/PacketGraphFlowFrequency.lean View file
| @@ -11,19 +11,6 @@ namespace EulerPacketGraphFlowFrequency | ||
| 11 | 11 | |
| 12 | 12 | open Filter Real EulerSmoothFlowGevrey |
| 13 | 13 | |
| 14 | -def inputExponent (ε : ℝ) : ℝ := min (ε/6) (1/4) | |
| 15 | - | |
| 16 | -theorem inputExponent_pos (ε : ℝ) (hε : 0 < ε) : 0 < inputExponent ε := by | |
| 17 | - unfold inputExponent | |
| 18 | - positivity | |
| 19 | - | |
| 20 | -theorem inputExponent_le_quarter (ε : ℝ) : inputExponent ε ≤ 1/4 := min_le_right _ _ | |
| 21 | - | |
| 22 | -theorem six_inputExponent_le (ε : ℝ) : 6*inputExponent ε ≤ ε := by | |
| 23 | - have h := min_le_left (ε/6) (1/4 : ℝ) | |
| 24 | - dsimp [inputExponent] | |
| 25 | - linarith | |
| 26 | - | |
| 27 | 14 | private theorem flow_radius_polynomial (B R T w : ℝ) |
| 28 | 15 | (hB : 0 ≤ B) (hR : 0 ≤ R) (hT : 0 ≤ T) (hw : 71 ≤ w) |
| 29 | 16 | (hRw : R ≤ w) (hTw : T ≤ w) (hsmall : B*w ≤ 1) : |
| @@ -144,25 +131,4 @@ theorem physical_bounds_of_power (ε η K k B R T C1 ell : ℝ) | ||
| 144 | 131 | _ = _ := by rw [← Real.rpow_add hk0] |
| 145 | 132 | exact ⟨hd.trans hdisp,hv.trans hdisp,ha.trans h6,hr.trans hrad,hr1.trans hrad⟩ |
| 146 | 133 | |
| 147 | -theorem physical_bounds_eventually (ε K : ℝ) (hε : 0 < ε) (hK : 0 ≤ K) : | |
| 148 | - ∀ᶠ k : ℝ in atTop, ∀ B R T C1 ell : ℝ, | |
| 149 | - 0 ≤ B → 0 ≤ R → 0 ≤ T → 0 ≤ C1 → 0 < ell → | |
| 150 | - R ≤ k^(inputExponent ε) → T ≤ k^(inputExponent ε) → C1 ≤ k^(inputExponent ε) → | |
| 151 | - B ≤ 2*k^(-(1/2 : ℝ)) → | |
| 152 | - K*(T*B)*(1+flowRadius B R T R) ≤ k^(-(1/2 : ℝ)+ε) ∧ | |
| 153 | - K*B*(1+flowRadius B R T R) ≤ k^(-(1/2 : ℝ)+ε) ∧ | |
| 154 | - K*(C1+3*B^2*R)*(1+flowRadius B R T (6*R)) ≤ k^ε ∧ | |
| 155 | - ell⁻¹*(4*flowRadius B R T R*(1+k)) ≤ ell⁻¹*k^(1+ε) ∧ | |
| 156 | - ell⁻¹*(4*flowRadius B R T (6*R)*(1+k)) ≤ ell⁻¹*k^(1+ε) := by | |
| 157 | - have hη := inputExponent_pos ε hε | |
| 158 | - have hηq := inputExponent_le_quarter ε | |
| 159 | - have hroot : 0 < 1/2-inputExponent ε := by linarith | |
| 160 | - filter_upwards [eventually_ge_atTop (1 : ℝ), | |
| 161 | - (_root_.tendsto_rpow_atTop hη).eventually_ge_atTop 71, | |
| 162 | - (_root_.tendsto_rpow_atTop hη).eventually_ge_atTop K, | |
| 163 | - (_root_.tendsto_rpow_atTop hroot).eventually_ge_atTop 2] with k hk hw hKw hr | |
| 164 | - intro B R T C1 ell hB hR hT hC1 hell hRw hTw hCw hsmall | |
| 165 | - exact physical_bounds_of_power ε (inputExponent ε) K k B R T C1 ell | |
| 166 | - hη hηq (six_inputExponent_le ε) hK hB hR hT hC1 hk hell hw hKw hRw hTw hCw hr hsmall | |
| 167 | - | |
| 168 | 134 | end EulerPacketGraphFlowFrequency |
+0 −46 Euler/PacketGraphFlowSupBounds.lean View file
| @@ -21,50 +21,4 @@ private theorem radius_le_flowRadius (B R T : ℝ) (hB : 0 ≤ B) (hR : 0 ≤ R) | ||
| 21 | 21 | |
| 22 | 22 | variable (P T : ℝ) [Fact (0 < P)] |
| 23 | 23 | |
| 24 | -theorem data_sup_bounds_eventually (ε : ℝ) (hε : 0 < ε) : | |
| 25 | - ∀ᶠ k : ℝ in atTop, ∀ (G : Data P T), | |
| 26 | - G.B ≤ 2*k^(-(1/2 : ℝ)) → G.R ≤ k^(inputExponent ε) → T ≤ k^(inputExponent ε) → | |
| 27 | - ∀ m : Vector3, ‖m‖=1 → ∀ (ell : ℝ) (hell : 0 < ell), ell ≤ 1 → | |
| 28 | - ∀ t : Icc (0 : ℝ) T, | |
| 29 | - HasSupBound (G.displacementField k m ell hell t).field | |
| 30 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 31 | - HasSupBound (G.velocityField k m ell hell t).field | |
| 32 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) := by | |
| 33 | - filter_upwards [physical_bounds_eventually ε 1 hε zero_le_one, | |
| 34 | - eventually_ge_atTop (1 : ℝ)] with k hnum hk | |
| 35 | - intro G hB hR hT m hm ell hell hell1 t | |
| 36 | - have hk0 : 0 ≤ k := by linarith | |
| 37 | - have hn := hnum G.B G.R T 0 ell G.B_nonneg G.R_pos.le G.time_nonneg le_rfl hell | |
| 38 | - hR hT (Real.rpow_nonneg hk0 _) hB | |
| 39 | - have hgf : graphFactor k m=1+k := by rw [graphFactor,hm,abs_of_nonneg hk0,mul_one] | |
| 40 | - have hf0 : 0 ≤ flowRadius G.B G.R T G.R := by | |
| 41 | - have := G.B_nonneg | |
| 42 | - have := G.R_pos | |
| 43 | - have := G.time_nonneg | |
| 44 | - unfold flowRadius | |
| 45 | - positivity | |
| 46 | - have hrad := hn.2.2.2.1 | |
| 47 | - have hB0 := G.B_nonneg | |
| 48 | - have hT0 := G.time_nonneg | |
| 49 | - have hR0 := G.R_pos.le | |
| 50 | - have hg0 := graphFactor_nonneg k m | |
| 51 | - have hdisp : G.B*T ≤ k^(-(1/2 : ℝ)+ε) := by | |
| 52 | - apply (show G.B*T ≤ T*G.B*(1+flowRadius G.B G.R T G.R) by | |
| 53 | - nlinarith [mul_nonneg (mul_nonneg hB0 hT0) hf0]).trans | |
| 54 | - simpa only [one_mul] using hn.1 | |
| 55 | - have hvel : G.B ≤ k^(-(1/2 : ℝ)+ε) := by | |
| 56 | - apply (show G.B ≤ G.B*(1+flowRadius G.B G.R T G.R) by nlinarith [mul_nonneg hB0 hf0]).trans | |
| 57 | - simpa only [one_mul] using hn.2.1 | |
| 58 | - constructor | |
| 59 | - · apply (G.displacement_sup_bound k m ell hell hell1 t).mono (mul_nonneg hB0 hT0) (by positivity) hdisp | |
| 60 | - rw [hgf] | |
| 61 | - apply le_trans _ hrad | |
| 62 | - gcongr | |
| 63 | - exact radius_le_flowRadius G.B G.R T hB0 hR0 hT0 | |
| 64 | - · apply (G.velocity_sup_bound k m ell hell hell1 t).mono hB0 (by positivity) hvel | |
| 65 | - rw [hgf] | |
| 66 | - apply le_trans _ hrad | |
| 67 | - gcongr | |
| 68 | - nlinarith | |
| 69 | - | |
| 70 | 24 | end EulerPhysicalGraphFlowBounds |
+0 −109 Euler/PacketGraphHessian.lean View file
| @@ -19,11 +19,6 @@ def spatialGradient (q : LiftTangent → ℝ) (z : LiftTangent) : Space := | ||
| 19 | 19 | def angularDerivative (q : LiftTangent → ℝ) (z : LiftTangent) : ℝ := |
| 20 | 20 | fderiv ℝ q z (0,1) |
| 21 | 21 | |
| 22 | -theorem spatialGradient_contDiff {q : LiftTangent → ℝ} (hq : ContDiff ℝ ∞ q) : | |
| 23 | - ContDiff ℝ ∞ (spatialGradient q) := | |
| 24 | - (toDual ℝ Space).symm.toContinuousLinearMap.contDiff.comp | |
| 25 | - ((contDiff_infty_iff_fderiv.mp hq).2.clm_comp contDiff_const) | |
| 26 | - | |
| 27 | 22 | theorem angularDerivative_contDiff {q : LiftTangent → ℝ} (hq : ContDiff ℝ ∞ q) : |
| 28 | 23 | ContDiff ℝ ∞ (angularDerivative q) := |
| 29 | 24 | (contDiff_infty_iff_fderiv.mp hq).2.clm_apply contDiff_const |
| @@ -62,111 +57,7 @@ theorem gradient_graph {q : LiftTangent → ℝ} (k : ℝ) (m x : Space) | ||
| 62 | 57 | inl_apply,graph_decomposition,map_add,map_smul,smul_eq_mul,angularDerivative] |
| 63 | 58 | ring |
| 64 | 59 | |
| 65 | -theorem gradient_physical {q : LiftTangent → ℝ} (k : ℝ) (m : Space) | |
| 66 | - (Y : Space → Space) (J : Space →L[ℝ] Space) (x : Space) | |
| 67 | - (hY : HasFDerivAt Y J x) (hq : DifferentiableAt ℝ q (graphMap k m (Y x))) : | |
| 68 | - gradient (fun y => k⁻¹^2 * q (graphMap k m (Y y))) x = | |
| 69 | - k⁻¹^2 • J.adjoint (spatialGradient q (graphMap k m (Y x)))+ | |
| 70 | - (k⁻¹^2*k*angularDerivative q (graphMap k m (Y x))) • J.adjoint m := by | |
| 71 | - have hg := hq.hasFDerivAt.comp (Y x) (graphMap k m).hasFDerivAt | |
| 72 | - have hc := (hg.comp x hY).const_smul (k⁻¹^2) | |
| 73 | - have hd : fderiv ℝ (fun y => k⁻¹^2 * q (graphMap k m (Y y))) x = | |
| 74 | - k⁻¹^2 • ((fderiv ℝ q (graphMap k m (Y x))).comp (graphMap k m)).comp J := hc.fderiv | |
| 75 | - apply ext_inner_right ℝ | |
| 76 | - intro v | |
| 77 | - rw [inner_gradient_left,hd] | |
| 78 | - simp only [smul_apply,comp_apply,smul_eq_mul,inner_add_left,real_inner_smul_left, | |
| 79 | - adjoint_inner_left,spatialGradient,toDual_symm_apply,inl_apply, | |
| 80 | - graph_decomposition,map_add,map_smul,smul_eq_mul,angularDerivative] | |
| 81 | - ring | |
| 82 | - | |
| 83 | 60 | def transportedNormal (m : Space) (J : Space → Space →L[ℝ] Space) (x : Space) : Space := |
| 84 | 61 | (J x).adjoint m |
| 85 | 62 | |
| 86 | -def slowForce (q : LiftTangent → ℝ) (k : ℝ) (m : Space) | |
| 87 | - (Y : Space → Space) (J : Space → Space →L[ℝ] Space) (x : Space) : Space := | |
| 88 | - (J x).adjoint (spatialGradient q (graphMap k m (Y x))) | |
| 89 | - | |
| 90 | -def lowerHessian (q : LiftTangent → ℝ) (k : ℝ) (m : Space) | |
| 91 | - (Y : Space → Space) (J : Space → Space →L[ℝ] Space) (x : Space) : Space →L[ℝ] Space := | |
| 92 | - k⁻¹^2 • fderiv ℝ (slowForce q k m Y J) x + | |
| 93 | - k⁻¹ • (angularDerivative q (graphMap k m (Y x)) • fderiv ℝ (transportedNormal m J) x + | |
| 94 | - (((fderiv ℝ (angularDerivative q) (graphMap k m (Y x))).comp (inl ℝ Space ℝ)).comp | |
| 95 | - (J x)).smulRight (transportedNormal m J x)) | |
| 96 | - | |
| 97 | -theorem hessian_physical {q : LiftTangent → ℝ} (hq : ContDiff ℝ ∞ q) | |
| 98 | - (k : ℝ) (hk : k ≠ 0) (m : Space) (Y : Space → Space) | |
| 99 | - (J : Space → Space →L[ℝ] Space) (hY : ∀ x, HasFDerivAt Y (J x) x) | |
| 100 | - (x : Space) (hJ : DifferentiableAt ℝ J x) : | |
| 101 | - fderiv ℝ (gradient (fun y => k⁻¹^2 * q (graphMap k m (Y y)))) x = | |
| 102 | - angularDerivative (angularDerivative q) (graphMap k m (Y x)) • | |
| 103 | - rankOne ℝ (transportedNormal m J x) (transportedNormal m J x) + | |
| 104 | - lowerHessian q k m Y J x := by | |
| 105 | - let z := graphMap k m (Y x) | |
| 106 | - let n := transportedNormal m J | |
| 107 | - let a := fun y => angularDerivative q (graphMap k m (Y y)) | |
| 108 | - have hgraph : HasFDerivAt (fun y => graphMap k m (Y y)) | |
| 109 | - ((graphMap k m).comp (J x)) x := (graphMap k m).hasFDerivAt.comp x (hY x) | |
| 110 | - have hang : HasFDerivAt (angularDerivative q) (fderiv ℝ (angularDerivative q) z) z := | |
| 111 | - ((angularDerivative_contDiff hq).differentiable (by simp) z).hasFDerivAt | |
| 112 | - have ha : HasFDerivAt a | |
| 113 | - (((fderiv ℝ (angularDerivative q) z).comp (graphMap k m)).comp (J x)) x := by | |
| 114 | - convert! hang.comp x hgraph using 1 | |
| 115 | - have hn : DifferentiableAt ℝ n x := | |
| 116 | - (adjoint.differentiableAt.comp x hJ).clm_apply (differentiableAt_const m) | |
| 117 | - have hsp : DifferentiableAt ℝ (spatialGradient q) z := | |
| 118 | - (spatialGradient_contDiff hq).differentiable (by simp) z | |
| 119 | - have hspg : DifferentiableAt ℝ (fun y => spatialGradient q (graphMap k m (Y y))) x := by | |
| 120 | - have hcomp := hsp.comp x hgraph.differentiableAt | |
| 121 | - exact hcomp | |
| 122 | - have hs : DifferentiableAt ℝ (slowForce q k m Y J) x := | |
| 123 | - (adjoint.differentiableAt.comp x hJ).clm_apply hspg | |
| 124 | - have hg : gradient (fun y => k⁻¹^2 * q (graphMap k m (Y y))) = | |
| 125 | - fun y => k⁻¹^2 • slowForce q k m Y J y + k⁻¹ • (a y • n y) := by | |
| 126 | - funext y | |
| 127 | - rw [gradient_physical k m Y (J y) y (hY y) | |
| 128 | - (hq.differentiable (by simp) (graphMap k m (Y y)))] | |
| 129 | - simp only [slowForce,a,n,transportedNormal,smul_smul] | |
| 130 | - congr 1 | |
| 131 | - congr 1 | |
| 132 | - field_simp | |
| 133 | - rw [hg] | |
| 134 | - have hd : fderiv ℝ (fun y => k⁻¹^2 • slowForce q k m Y J y + k⁻¹ • (a y • n y)) x = | |
| 135 | - k⁻¹^2 • fderiv ℝ (slowForce q k m Y J) x + | |
| 136 | - k⁻¹ • (a x • fderiv ℝ n x + | |
| 137 | - (((fderiv ℝ (angularDerivative q) z).comp (graphMap k m)).comp (J x)).smulRight | |
| 138 | - (n x)) := | |
| 139 | - ((hs.hasFDerivAt.const_smul (k⁻¹^2)).add | |
| 140 | - ((ha.smul hn.hasFDerivAt).const_smul k⁻¹)).fderiv | |
| 141 | - rw [hd] | |
| 142 | - apply ContinuousLinearMap.ext | |
| 143 | - intro v | |
| 144 | - simp only [lowerHessian,add_apply,smul_apply,comp_apply,smulRight_apply,rankOne_apply, | |
| 145 | - graph_decomposition,map_add,map_smul,smul_eq_mul,angularDerivative] | |
| 146 | - have hm : ⟪m,J x v⟫_ℝ = ⟪n x,v⟫_ℝ := ((J x).adjoint_inner_left v m).symm | |
| 147 | - rw [hm] | |
| 148 | - dsimp only [z,a,n] | |
| 149 | - simp only [angularDerivative,graph_decomposition,inl_apply] | |
| 150 | - match_scalars <;> field_simp | |
| 151 | - all_goals ring | |
| 152 | - | |
| 153 | -theorem lowerHessian_norm_le (q : LiftTangent → ℝ) (k : ℝ) (m : Space) | |
| 154 | - (Y : Space → Space) (J : Space → Space →L[ℝ] Space) (x : Space) : | |
| 155 | - ‖lowerHessian q k m Y J x‖ ≤ | |
| 156 | - |k⁻¹|^2 * ‖fderiv ℝ (slowForce q k m Y J) x‖ + | |
| 157 | - |k⁻¹| * (|angularDerivative q (graphMap k m (Y x))| * | |
| 158 | - ‖fderiv ℝ (transportedNormal m J) x‖ + | |
| 159 | - ‖(fderiv ℝ (angularDerivative q) (graphMap k m (Y x))).comp (inl ℝ Space ℝ)‖ * | |
| 160 | - ‖J x‖ * ‖transportedNormal m J x‖) := by | |
| 161 | - unfold lowerHessian | |
| 162 | - apply (norm_add_le _ _).trans | |
| 163 | - simp only [norm_smul,Real.norm_eq_abs,abs_pow] | |
| 164 | - apply add_le_add le_rfl | |
| 165 | - apply mul_le_mul_of_nonneg_left _ (abs_nonneg _) | |
| 166 | - apply (norm_add_le _ _).trans | |
| 167 | - simp only [norm_smul,Real.norm_eq_abs] | |
| 168 | - apply add_le_add le_rfl | |
| 169 | - rw [norm_smulRight_apply] | |
| 170 | - exact mul_le_mul_of_nonneg_right (opNorm_comp_le _ _) (norm_nonneg _) | |
| 171 | - | |
| 172 | 63 | end EulerPacketGraphHessian |
+0 −3 Euler/PacketInductionScaleBounds.lean View file
| @@ -50,9 +50,6 @@ theorem previousFrequency_one (n : ℕ) : 1 ≤ previousFrequency S.J S.D S.X n | ||
| 50 | 50 | | zero => exact S.first.frequency.one_le |
| 51 | 51 | | succ n => exact (S.normal_frequency n).one_le |
| 52 | 52 | |
| 53 | -theorem priorError_nonneg (n : ℕ) : 0 ≤ priorError S.J S.D S.X n := | |
| 54 | - rpow_nonneg (zero_le_one.trans (S.previousFrequency_one n)) _ | |
| 55 | - | |
| 56 | 53 | theorem priorError_one (n : ℕ) : priorError S.J S.D S.X n ≤ 1 := by |
| 57 | 54 | cases n with |
| 58 | 55 | | zero => exact S.first.error_small |
+0 −18 Euler/PacketInductionStage.lean View file
| @@ -88,11 +88,6 @@ theorem horizon_lower : baseHorizon S.J S.X/12 < P.parent.T := by | ||
| 88 | 88 | linarith only [hp] |
| 89 | 89 | · exact (P.time_lower hn).trans_lt P.time_lt |
| 90 | 90 | |
| 91 | -theorem horizon_reciprocal : P.parent.T⁻¹ ≤ 12/baseHorizon S.J S.X := by | |
| 92 | - have hp := div_pos (baseHorizon_pos S.J S.j_one S.x_pos) (by norm_num : (0 : ℝ) < 12) | |
| 93 | - have h := one_div_le_one_div_of_le hp P.horizon_lower.le | |
| 94 | - simpa only [one_div,inv_div] using h | |
| 95 | - | |
| 96 | 91 | theorem time_pos (hn : n ≠ 0) : 0 < P.time := |
| 97 | 92 | (div_pos (baseHorizon_pos S.J S.j_one S.x_pos) (by norm_num)).trans_le (P.time_lower hn) |
| 98 | 93 | |
| @@ -101,25 +96,12 @@ theorem time_reciprocal (hn : n ≠ 0) : P.time⁻¹ ≤ 12/baseHorizon S.J S.X | ||
| 101 | 96 | have h := one_div_le_one_div_of_le hp (P.time_lower hn) |
| 102 | 97 | simpa only [one_div,inv_div] using h |
| 103 | 98 | |
| 104 | -theorem exterior_cap : P.low.Be ≤ initialCoefficientCost+1 := by | |
| 105 | - have h := P.exterior_bound | |
| 106 | - have hs := S.initial_partial_sum n | |
| 107 | - have hd := S.delta_small | |
| 108 | - linarith only [h,hs,hd] | |
| 109 | - | |
| 110 | 99 | theorem core_cap : P.low.Bc ≤ gradientConstant*S.X^1000+2 := by |
| 111 | 100 | have h := P.core_bound |
| 112 | 101 | have hs := S.initial_partial_sum n |
| 113 | 102 | have hd := S.delta_small |
| 114 | 103 | linarith only [h,hs,hd] |
| 115 | 104 | |
| 116 | -theorem pressure_cap : P.low.K ≤ initialCoefficientCost+1 := by | |
| 117 | - have h := P.pressure_bound | |
| 118 | - have hs := S.pressure_partial_sum n | |
| 119 | - have hd := S.delta_small | |
| 120 | - have hb := S.first.pressure_small | |
| 121 | - linarith only [h,hs,hd,hb] | |
| 122 | - | |
| 123 | 105 | theorem source_stage : EulerPacketSourceScaleGuards.StageGuards S.J S.D 4 c S.X |
| 124 | 106 | geometryConstant (fun _ => P.frame.a) (fun _ => P.frame.sigma^2) n := |
| 125 | 107 | S.stage _ _ n P.coupling_bounds.1 P.coupling_bounds.2 P.tilt_lower P.tilt_upper |
+0 −9 Euler/PacketInfiniteConstruction.lean View file
| @@ -40,11 +40,6 @@ def stages : (n : ℕ) → Stage S n | ||
| 40 | 40 | | 0 => S.firstStage |
| 41 | 41 | | n+1 => (stages n).successor hq hB |
| 42 | 42 | |
| 43 | -theorem stages_zero : stages S hq hB 0=S.firstStage := rfl | |
| 44 | - | |
| 45 | -theorem stages_succ (n : ℕ) : | |
| 46 | - stages S hq hB (n+1)=(stages S hq hB n).successor hq hB := rfl | |
| 47 | - | |
| 48 | 43 | theorem stages_time (n : ℕ) : |
| 49 | 44 | (stages S hq hB (n+1)).time=(stages S hq hB n).nextTime := |
| 50 | 45 | (stages S hq hB n).successor_time hq hB |
| @@ -58,10 +53,6 @@ theorem stages_initial_step (n : ℕ) (hn : n ≠ 0) : | ||
| 58 | 53 | | zero => exact (hn rfl).elim |
| 59 | 54 | | succ n => exact (stages S hq hB (n+1)).joinedNext_initial_velocity (Nat.succ_ne_zero n) hq hB |
| 60 | 55 | |
| 61 | -theorem stages_gradient_atTop : | |
| 62 | - Tendsto (fun n => (stages S hq hB n).activationGradient) atTop atTop := | |
| 63 | - Stage.gradient_atTop (stages S hq hB) | |
| 64 | - | |
| 65 | 56 | abbrev ConstructionScales := |
| 66 | 57 | Scales (requiredExponent : ℝ) (commonThreshold gradientConstant hessianConstant) |
| 67 | 58 | |
+0 −6 Euler/PacketInitialDatumSupport.lean View file
| @@ -32,12 +32,6 @@ theorem initialDataLimit_support | ||
| 32 | 32 | change tsupport ((initialBase P).field+tail.field) ⊆ Metric.closedBall 0 2 |
| 33 | 33 | exact (tsupport_add _ _).trans (union_subset hbase htail) |
| 34 | 34 | |
| 35 | -theorem initialDataLimit_compact | |
| 36 | - (hbase : tsupport (initialBase P).field ⊆ Metric.closedBall 0 2) : | |
| 37 | - HasCompactSupport (initialDataLimit P hq hB).field := | |
| 38 | - (isCompact_closedBall (0 : Space) 2).of_isClosed_subset (isClosed_tsupport _) | |
| 39 | - (initialDataLimit_support P hq hB hbase) | |
| 40 | - | |
| 41 | 35 | theorem initialDataLimit_support_of_physical |
| 42 | 36 | (hbase : tsupport (fun x => (P 1).state.evolution.velocity (0,x)) ⊆ Metric.closedBall 0 2) : |
| 43 | 37 | tsupport (initialDataLimit P hq hB).field ⊆ Metric.closedBall 0 2 := by |
+0 −23 Euler/PacketInitialExactLimit.lean View file
| @@ -39,17 +39,6 @@ variable {U : ℕ → Type} [∀ n, NormedAddCommGroup (U n)] [∀ n, InnerProdu | ||
| 39 | 39 | (hk : ∀ n, 4 ≤ frequency J X n) (hn : ∀ n, 1 ≤ truncation (frequency J X n)) |
| 40 | 40 | (Q : ∀ n, (A n).correctionBudget (frequency J X n) (hk n) (hn n)) |
| 41 | 41 | |
| 42 | -def exactPartial (N : ℕ) : Space → Space := | |
| 43 | - fun x => ∑ n ∈ range N, (A n).exactInitial (frequency J X n) (hk n) (hn n) (Q n) x | |
| 44 | - | |
| 45 | -theorem exactPartial_eq (N : ℕ) : exactPartial A J X hk hn Q N=initialPartial A J X N := by | |
| 46 | - funext x | |
| 47 | - unfold exactPartial initialPartial | |
| 48 | - apply sum_congr rfl | |
| 49 | - intro n _ | |
| 50 | - rw [Input.exactInitial_eq] | |
| 51 | - rfl | |
| 52 | - | |
| 53 | 42 | variable (hJ : 2 ≤ J) (C c : ℝ) (hC : 0 < C) (hc : 0 ≤ c) |
| 54 | 43 | (p q : ℕ) (hX : 1 ≤ X) |
| 55 | 44 | (hparameter : ∀ n, (A n).parameterSize ≤ parameterEnvelope J C c p q X n) |
| @@ -59,16 +48,4 @@ variable (hJ : 2 ≤ J) (C c : ℝ) (hC : 0 < C) (hc : 0 ≤ c) | ||
| 59 | 48 | |
| 60 | 49 | local notation "V" => initialLimit A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency |
| 61 | 50 | |
| 62 | -theorem selectedQ_initial_Hm (s : ℕ) : | |
| 63 | - Tendsto (fun N => derivativeSum s (exactPartial A J X hk hn Q N-(V).field)) atTop (𝓝 0) := by | |
| 64 | - simpa only [exactPartial_eq] using | |
| 65 | - initialLimit_Hm A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency s | |
| 66 | - | |
| 67 | -theorem selectedQ_fullInitial_Hm (base : SmoothL2Field Space) (s : ℕ) : | |
| 68 | - Tendsto (fun N => derivativeSum s ((base.field+exactPartial A J X hk hn Q N)- | |
| 69 | - (fullInitialLimit A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency base).field)) | |
| 70 | - atTop (𝓝 0) := by | |
| 71 | - simpa only [exactPartial_eq] using | |
| 72 | - fullInitialLimit_Hm A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency base s | |
| 73 | - | |
| 74 | 51 | end EulerPacketInitial |
+0 −6 Euler/PacketInitialGeometry.lean View file
| @@ -44,10 +44,4 @@ theorem activation_scaled_velocity {m v w : ℝ → Space} {t₀ a ε C γ : ℝ | ||
| 44 | 44 | rw [hu] |
| 45 | 45 | ring |
| 46 | 46 | |
| 47 | -theorem activation_tangent_pairing {m v r w : ℝ → Space} {s₀ t₀ : ℝ} | |
| 48 | - (hr : r t₀ = s₀ • cross (unit (m t₀)) (unit (v t₀))) | |
| 49 | - (hw : ⟪cross (unit (m t₀)) (unit (v t₀)),w t₀⟫_ℝ = 0) : | |
| 50 | - ⟪r t₀,w t₀⟫_ℝ = 0 := by | |
| 51 | - rw [hr, real_inner_smul_left, hw, mul_zero] | |
| 52 | - | |
| 53 | 47 | end EulerPacketMovingFrame |
+0 −8 Euler/PacketInitialSmoothFields.lean View file
| @@ -35,12 +35,4 @@ def initializedInitialMeanField (N : ℕ) (k : ℝ) : SmoothL2Field Space where | ||
| 35 | 35 | exact scale_contDiff M.ℓ _ (G.raw_graph_contDiff ⟨0,le_rfl,M.T_pos.le⟩ k D.m₀) |
| 36 | 36 | integrable n := initializedInitialMean_memLp M D hTime τ hτ hτT B δ hδ ξ hs α N n k |
| 37 | 37 | |
| 38 | -theorem initializedInitialHighField_field (N : ℕ) (k : ℝ) : | |
| 39 | - (initializedInitialHighField M D hTime τ hτ hτT B δ hδ ξ hs α N k).field= | |
| 40 | - initializedInitialHigh M D τ hτ hτT B δ hδ ξ hs α N k := rfl | |
| 41 | - | |
| 42 | -theorem initializedInitialMeanField_field (N : ℕ) (k : ℝ) : | |
| 43 | - (initializedInitialMeanField M D hTime τ hτ hτT B δ hδ ξ hs α N k).field= | |
| 44 | - initializedInitialMean M D τ hτ hτT B δ hδ ξ hs α N k := rfl | |
| 45 | - | |
| 46 | 38 | end EulerPacketTerminalDatum |
+0 −4 Euler/PacketInitialSmoothLimit.lean View file
| @@ -77,10 +77,6 @@ theorem initialLimit_support : tsupport (V).field ⊆ Metric.closedBall 0 2 := | ||
| 77 | 77 | (actual_increment_summable A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency) |
| 78 | 78 | (Metric.closedBall 0 2) Metric.isClosed_closedBall (fun n => (A n).increment_support (frequency J X n)) |
| 79 | 79 | |
| 80 | -theorem initialLimit_compact : HasCompactSupport (V).field := | |
| 81 | - (isCompact_closedBall (0 : Space) 2).of_isClosed_subset (isClosed_tsupport _) | |
| 82 | - (initialLimit_support A J hJ C c hC hc p q X hX hparameter hscale hσ hk hfrequency) | |
| 83 | - | |
| 84 | 80 | def fullInitialLimit (base : SmoothL2Field Space) : SmoothL2Field Space := addField base V |
| 85 | 81 | |
| 86 | 82 | theorem fullInitialLimit_Hm (base : SmoothL2Field Space) (s : ℕ) : |
+0 −58 Euler/PacketInitializedChildBounds.lean View file
| @@ -45,62 +45,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 45 | 45 | |
| 46 | 46 | include hδ1 hα L NB LM hX hF hXY hY hdet hell1 hK hDp hVp hWp |
| 47 | 47 | |
| 48 | -theorem initialized_child_label_bounds_eventually (q : ℕ) : | |
| 49 | - ∃ ρ0 γ Cw Cv Cp : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ 0 < Cv ∧ 0 < Cp ∧ | |
| 50 | - ∀ᶠ k : ℝ in atTop, | |
| 51 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 52 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 53 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 54 | - (truncation k) hn k hk)) | |
| 55 | - (G : EulerPhysicalGraphFlowBounds.Data period D.T) | |
| 56 | - (E : Icc (0 : ℝ) D.T → EulerChildParticleFieldBounds.Data), | |
| 57 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 58 | - G.A = Q.liftedPacketCoefficient period | |
| 59 | - (initializedNormalizedField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k) ∧ | |
| 60 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 61 | - (initializedNormalizedDerivativeField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k) ∧ | |
| 62 | - (∀ t z, graphConstraint k D.m₀ (G.A.field t z)=0) ∧ | |
| 63 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 64 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 65 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 66 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 67 | - (∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 68 | - ‖fderiv ℝ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 69 | - Cagree (truncation k) hn k hk Q t (Y t)) x - | |
| 70 | - (α*deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 71 | - rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t (Y t x)) (D.normal.field t (Y t x))‖ < Cv/k ∧ | |
| 72 | - ‖fderiv ℝ (gradient (initializedExactPhysicalPressure M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 73 | - Cagree (truncation k) hn k hk Q t (Y t))) x - | |
| 74 | - (EulerPacketPrimaryPressure.coefficient τ hτ hτT B ξ hs α t (Y t x) * | |
| 75 | - deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 76 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ < Cp/k) ∧ | |
| 77 | - (∀ t, (E t).parentDisplacement=Dp t ∧ (E t).parentVelocity=Vp t ∧ (E t).parentAcceleration=Wp t ∧ | |
| 78 | - (E t).displacement=G.displacementField k D.m₀ ell hell t ∧ | |
| 79 | - (E t).velocity=G.velocityField k D.m₀ ell hell t ∧ | |
| 80 | - (E t).acceleration=G.accelerationFieldL2 k D.m₀ ell hell t ∧ | |
| 81 | - (E t).inner=(flowData D.T G.time_nonneg (physicalCoefficient k D.m₀ D.T G.A ell)).forward t) ∧ | |
| 82 | - (∀ t n, | |
| 83 | - classicalBlockSize direction q (E t).childDisplacement.toLp (E t).childDisplacement.translation_contDiff n+ | |
| 84 | - classicalBlockSize direction q (E t).childVelocity.toLp (E t).childVelocity.translation_contDiff n+ | |
| 85 | - classicalBlockSize direction q (E t).childAcceleration.toLp (E t).childAcceleration.translation_contDiff n ≤ | |
| 86 | - (k^(10*(q+2)))^(n+1)*(n.factorial : ℝ)^2) := by | |
| 87 | - obtain ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,hsource⟩ := initialized_flow_and_shear_eventually | |
| 88 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree X Y hX hF hXY hY hdet | |
| 89 | - (1/4) (by norm_num) | |
| 90 | - refine ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,hCv,hCp,?_⟩ | |
| 91 | - filter_upwards [hsource,eventually_ge_atTop (69 : ℝ),eventually_ge_atTop K, | |
| 92 | - eventually_ge_atTop (2+45*embeddingCost),eventually_ge_atTop (fixedCost q), | |
| 93 | - (_root_.tendsto_rpow_atTop (by norm_num : (0 : ℝ) < 3/4)).eventually_ge_atTop ell⁻¹] | |
| 94 | - with k hsource hk69 hKk hbig hcost hinv | |
| 95 | - obtain ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,herror,hfields⟩ := hsource | |
| 96 | - have hcoarse (t : Icc (0 : ℝ) D.T) := | |
| 97 | - EulerPhysicalChildFields.coarsen_graph_bounds k ell (by linarith) hell hinv | |
| 98 | - (G.displacementField k D.m₀ ell hell t) (G.velocityField k D.m₀ ell hell t) | |
| 99 | - (G.accelerationFieldL2 k D.m₀ ell hell t) | |
| 100 | - (hfields ell hell hell1 t).1 (hfields ell hell hell1 t).2.1 (hfields ell hell hell1 t).2.2.1 | |
| 101 | - (hfields ell hell hell1 t).2.2.2.1 (hfields ell hell hell1 t).2.2.2.2 | |
| 102 | - obtain ⟨E,hmatch,hlabel⟩ := EulerPhysicalChildFields.exists_source_child_fields | |
| 103 | - G k D.m₀ hgraph ell hell Dp Vp Wp K hK hDp hVp hWp q hk69 hKk hbig hcost hcoarse | |
| 104 | - exact ⟨hk,hn,Q,G,E,hδQ,hρQ,hγQ,hA,hA1,hgraph,hweighted,herror,hmatch,hlabel⟩ | |
| 105 | - | |
| 106 | 48 | end EulerPacketTerminalDatum |
+0 −39 Euler/PacketInitializedCorrectionChoice.lean View file
| @@ -32,43 +32,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 32 | 32 | |
| 33 | 33 | include hδ1 hα L NB LM hΞ hF hdet |
| 34 | 34 | |
| 35 | -/-- One source-dependent initial radius and growth constant work at all | |
| 36 | -sufficiently large frequencies for the literal truncation floor(k^ϑ). -/ | |
| 37 | -theorem initialized_correction_budgets_eventually : | |
| 38 | - ∃ ρ0 C : ℝ, 0 < ρ0 ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 39 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 40 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 41 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 42 | - (truncation k) hn k hk)), | |
| 43 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=C := by | |
| 44 | - classical | |
| 45 | - let BC := joinedCoefficientBudget period M D hTime τ hτ hτT B NB | |
| 46 | - let Kc := L.correctionCoefficients NB period | |
| 47 | - obtain ⟨L',H',N',M',hprofile,wj,wm,wp,hterminal,hcost,hrc⟩ := | |
| 48 | - exists_initialized_budgets LM L NB BC δ ξ | |
| 49 | - let S := Scales.ofTimeProfile L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 50 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.fullProfile := by | |
| 51 | - rw [hprofile] | |
| 52 | - exact Scales.ofTimeProfile_growth L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 53 | - let cg := growth D period Kc L'.R S.H0 BC.multiplierCost | |
| 54 | - let dg := drift L'.R S.H0 BC.multiplierCost | |
| 55 | - let ρ0 := initialRadius L'.R Kc.M Kc.Rc | |
| 56 | - have hρ : 0 < ρ0 := (initialRadius_bounds L'.R Kc.M Kc.Rc | |
| 57 | - (zero_le_one.trans L'.radius_bounds.1) (zero_le_one.trans Kc.M_one_le) Kc.Rc_nonneg).1 | |
| 58 | - have hcg : 0 < cg := growth_pos D period Kc L'.R S.H0 BC.multiplierCost | |
| 59 | - (zero_le_one.trans L'.radius_bounds.1) BC.multiplierCost_nonneg | |
| 60 | - refine ⟨ρ0,cg,hρ,hcg,?_⟩ | |
| 61 | - filter_upwards [fixed_costs_eventually | |
| 62 | - ({tailPolynomialConstant L'.R S.H0 BC.termCost,BC.multiplierCost, | |
| 63 | - 12*cg*D.T,8*cg*D.T*dg/ρ0,8*cg*D.T/ρ0} : Finset ℝ)] with k hk | |
| 64 | - obtain ⟨hk,hX,hlog,hc⟩ := hk | |
| 65 | - have hn : 1 ≤ truncation k := (truncation_bounds k (by linarith)).1 | |
| 66 | - let Q := initializedAllOrderBudget M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 67 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth Kc k hk hX hlog | |
| 68 | - (hc _ (by simp)) (hc _ (by simp)) (hc _ (by simp [cg])) | |
| 69 | - (hc _ (by simp [cg,dg,ρ0])) (hc _ (by simp [cg,ρ0])) | |
| 70 | - Ξ hΞ hF hdet | |
| 71 | - refine ⟨hk,hn,Q,?_,?_,?_⟩ <;> | |
| 72 | - simp only [Q,initializedAllOrderBudget,ρ0,cg] | |
| 73 | - | |
| 74 | 35 | end EulerPacketTerminalDatum |
+0 −109 Euler/PacketInitializedCorrectionEstimateChoice.lean View file
| @@ -31,113 +31,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 31 | 31 | |
| 32 | 32 | include hδ1 hα L NB LM hΞ hF hdet |
| 33 | 33 | |
| 34 | -/-- Original source budgets determine fixed positive constants and a | |
| 35 | -fixed positive radius for all sufficiently large frequencies. Every | |
| 36 | -norm is evaluated on the actual correction selected by the drift-aware | |
| 37 | -construction, with no pressure or time estimate as an input. -/ | |
| 38 | -theorem initialized_correction_estimates_eventually : | |
| 39 | - ∃ ρ0 G C : ℝ, 0 < ρ0 ∧ 0 < G ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 40 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 41 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 42 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 43 | - (truncation k) hn k hk)), | |
| 44 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 45 | - ∀ (s N : ℕ), N+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 46 | - weightedNorm period 6 N (ρ0/4) ((Q.fieldTower period).realization s t) ≤ C*delta (expansion k) ∧ | |
| 47 | - weightedNorm period 6 N (ρ0/4) ((Q.pressureTower period).realization s t) ≤ C*delta (expansion k) ∧ | |
| 48 | - weightedNorm period 6 N (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ C*delta (expansion k) := by | |
| 49 | - classical | |
| 50 | - let BC := joinedCoefficientBudget period M D hTime τ hτ hτT B NB | |
| 51 | - let Kc := L.correctionCoefficients NB period | |
| 52 | - obtain ⟨L',H',N',M',hprofile,wj,wm,wp,hterminal,hcost,hrc⟩ := | |
| 53 | - exists_initialized_budgets LM L NB BC δ ξ | |
| 54 | - let S := Scales.ofTimeProfile L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 55 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.fullProfile := by | |
| 56 | - rw [hprofile] | |
| 57 | - exact Scales.ofTimeProfile_growth L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 58 | - let cg := growth D period Kc L'.R S.H0 BC.multiplierCost | |
| 59 | - let dg := drift L'.R S.H0 BC.multiplierCost | |
| 60 | - let ρ0 := initialRadius L'.R Kc.M Kc.Rc | |
| 61 | - let Ce := correctionBase D | |
| 62 | - let Cp := correctionPressureCost D period Kc L'.R S.H0 BC.multiplierCost | |
| 63 | - let Ct := correctionTimeCost D period Kc L'.R S.H0 BC.multiplierCost | |
| 64 | - let C := 1+|Ce|+|Cp|+|Ct| | |
| 65 | - have hCe : Ce ≤ C := by dsimp [C]; linarith [le_abs_self Ce, abs_nonneg Cp, abs_nonneg Ct] | |
| 66 | - have hCp : Cp ≤ C := by dsimp [C]; linarith [le_abs_self Cp, abs_nonneg Ce, abs_nonneg Ct] | |
| 67 | - have hCt : Ct ≤ C := by dsimp [C]; linarith [le_abs_self Ct, abs_nonneg Ce, abs_nonneg Cp] | |
| 68 | - have hρ : 0 < ρ0 := (initialRadius_bounds L'.R Kc.M Kc.Rc | |
| 69 | - (zero_le_one.trans L'.radius_bounds.1) (zero_le_one.trans Kc.M_one_le) Kc.Rc_nonneg).1 | |
| 70 | - have hcg : 0 < cg := growth_pos D period Kc L'.R S.H0 BC.multiplierCost | |
| 71 | - (zero_le_one.trans L'.radius_bounds.1) BC.multiplierCost_nonneg | |
| 72 | - refine ⟨ρ0,cg,C,hρ,hcg,by dsimp [C]; positivity,?_⟩ | |
| 73 | - filter_upwards [fixed_costs_eventually | |
| 74 | - ({tailPolynomialConstant L'.R S.H0 BC.termCost,BC.multiplierCost, | |
| 75 | - 12*cg*D.T,8*cg*D.T*dg/ρ0,8*cg*D.T/ρ0} : Finset ℝ)] with k hk | |
| 76 | - obtain ⟨hk,hX,hlog,hc⟩ := hk | |
| 77 | - have hn : 1 ≤ truncation k := (truncation_bounds k (by linarith)).1 | |
| 78 | - let Q := initializedAllOrderBudget M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 79 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth Kc k hk hX hlog | |
| 80 | - (hc _ (by simp)) (hc _ (by simp)) (hc _ (by simp [cg])) | |
| 81 | - (hc _ (by simp [cg,dg,ρ0])) (hc _ (by simp [cg,ρ0])) | |
| 82 | - Ξ hΞ hF hdet | |
| 83 | - refine ⟨hk,hn,Q,rfl,rfl,rfl,?_⟩ | |
| 84 | - intro s N hN t | |
| 85 | - have hδQ : Q.delta=delta (expansion k) := by simp only [Q,initializedAllOrderBudget] | |
| 86 | - have hrQ : Q.reducedRadius period=ρ0/4 := by | |
| 87 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.reducedRadius,initializedAllOrderBudget,ρ0] | |
| 88 | - have heQ : Q.correctionSize period=Ce*delta (expansion k) := by | |
| 89 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.correctionSize,initializedAllOrderBudget, | |
| 90 | - initializedMetricBudget,sourceMetricBudgetOfFields,sourceMetricBudget,Ce,correctionBase] | |
| 91 | - ring | |
| 92 | - have hpQ : Q.pressureCost period (N+6) (by omega)=Cp := by | |
| 93 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.pressureCost, | |
| 94 | - EulerAllOrderDriftCorrection.Budget.sourceCost,EulerAllOrderDriftCorrection.Budget.baseCorrectionSize, | |
| 95 | - initializedAllOrderBudget,initializedDriftBudget,initializedSpatialBudget,initializedMetricBudget, | |
| 96 | - sourceMetricBudgetOfFields,sourceMetricBudget,Cp,correctionPressureCost,correctionSourceCost,correctionBase] | |
| 97 | - have htQ : Q.timeDerivativeCost period (N+6) (by omega)=Ct := by | |
| 98 | - simp only [Q,EulerAllOrderDriftCorrection.Budget.timeDerivativeCost, | |
| 99 | - EulerAllOrderDriftCorrection.Budget.sourceCost,EulerAllOrderDriftCorrection.Budget.baseCorrectionSize, | |
| 100 | - initializedAllOrderBudget,initializedDriftBudget,initializedSpatialBudget,initializedMetricBudget, | |
| 101 | - sourceMetricBudgetOfFields,sourceMetricBudget,Ct,correctionTimeCost,correctionSourceCost,correctionBase] | |
| 102 | - have he := Q.fieldTower_reducedNorm period s N hN t | |
| 103 | - have hp := Q.pressureTower_reducedNorm_delta period (N+6) (by omega) N (by omega) s hN t | |
| 104 | - have ht := Q.timeDerivativeTower_reducedNorm_delta period (N+6) (by omega) N (by omega) s hN t | |
| 105 | - rw [hrQ,heQ] at he | |
| 106 | - rw [hrQ,hpQ,hδQ] at hp | |
| 107 | - rw [hrQ,htQ,hδQ] at ht | |
| 108 | - exact ⟨he.trans (mul_le_mul_of_nonneg_right hCe (delta_pos _).le), | |
| 109 | - hp.trans (mul_le_mul_of_nonneg_right hCp (delta_pos _).le), | |
| 110 | - ht.trans (mul_le_mul_of_nonneg_right hCt (delta_pos _).le)⟩ | |
| 111 | - | |
| 112 | -/-- Every fixed polynomial loss can be paid while making all three | |
| 113 | -actual weighted H⁶ norms smaller than any prescribed inverse power. | |
| 114 | -The chosen frequency works simultaneously at every finite cutoff. -/ | |
| 115 | -theorem initialized_correction_with_power_loss_eventually | |
| 116 | - (physicalCost loss p : ℝ) (hphysicalCost : 0 ≤ physicalCost) : | |
| 117 | - ∃ ρ0 G : ℝ, 0 < ρ0 ∧ 0 < G ∧ ∀ᶠ k : ℝ in atTop, | |
| 118 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 119 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 120 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 121 | - (truncation k) hn k hk)), | |
| 122 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 123 | - ∀ (s N : ℕ), N+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 124 | - physicalCost*k^loss*weightedNorm period 6 N (ρ0/4) | |
| 125 | - ((Q.fieldTower period).realization s t) < k^(-p) ∧ | |
| 126 | - physicalCost*k^loss*weightedNorm period 6 N (ρ0/4) | |
| 127 | - ((Q.pressureTower period).realization s t) < k^(-p) ∧ | |
| 128 | - physicalCost*k^loss*weightedNorm period 6 N (ρ0/4) | |
| 129 | - ((Q.timeDerivativeTower period).realization s t) < k^(-p) := by | |
| 130 | - obtain ⟨ρ0,G,C,hρ,hG,_hC,hQ⟩ := initialized_correction_estimates_eventually | |
| 131 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 132 | - refine ⟨ρ0,G,hρ,hG,?_⟩ | |
| 133 | - filter_upwards [hQ,correction_with_power_loss_eventually (physicalCost*C) loss p] with k hQ hkbound | |
| 134 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 135 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 136 | - intro s N hN t | |
| 137 | - have hscale : 0 ≤ physicalCost*k^loss := mul_nonneg hphysicalCost (Real.rpow_nonneg (by linarith) _) | |
| 138 | - have hb (x : ℝ) (hx : x ≤ C*delta (expansion k)) : physicalCost*k^loss*x < k^(-p) := by | |
| 139 | - apply (mul_le_mul_of_nonneg_left hx hscale).trans_lt | |
| 140 | - simpa only [mul_assoc, mul_left_comm, mul_comm] using hkbound | |
| 141 | - exact ⟨hb _ (hbounds s N hN t).1,hb _ (hbounds s N hN t).2.1,hb _ (hbounds s N hN t).2.2⟩ | |
| 142 | - | |
| 143 | 34 | end EulerPacketTerminalDatum |
+0 −45 Euler/PacketInitializedExactLifted.lean View file
| @@ -81,49 +81,4 @@ def initializedExactPacket (Cagree : SourceCoefficientAgreement M D) | ||
| 81 | 81 | exactPacketOfResidual period Q |
| 82 | 82 | (initializedApproximationResidual M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk) |
| 83 | 83 | |
| 84 | -theorem initializedExactPacket_velocity_odd | |
| 85 | - (eM : EulerMeanPacketProvider.EvenData M) | |
| 86 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 87 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 88 | - (hDM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 89 | - (hBH : ∀ t x, B.H.field t (-x) = B.H.field t x) | |
| 90 | - (Cagree : SourceCoefficientAgreement M D) (N : ℕ) (hN : 1 ≤ N) | |
| 91 | - (k : ℝ) (hk : 4 ≤ k) | |
| 92 | - (Q : Budget period D.T_pos | |
| 93 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk)) | |
| 94 | - (t : Icc (0 : ℝ) D.T) : | |
| 95 | - -reflection period | |
| 96 | - ((initializedExactPacket M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk Q).velocity.field t) = | |
| 97 | - (initializedExactPacket M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk Q).velocity.field t := | |
| 98 | - exactPacketOfResidual_velocity_odd period Q _ | |
| 99 | - (initializedCorrectionParityData M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 100 | - eM hSym hF hDM hBH Cagree N hN k hk) t | |
| 101 | - | |
| 102 | -/-- No inverse budget, residual equation or pressure is postulated here. | |
| 103 | -The original source data construct the budget and the exact corrected pair | |
| 104 | -for every sufficiently large frequency, with fixed positive radius and cost. -/ | |
| 105 | -theorem initialized_exact_lifted_packets_eventually | |
| 106 | - (hδ1 : δ ≤ 1) (hα : 0 < α) | |
| 107 | - (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) | |
| 108 | - (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) | |
| 109 | - {Rm : ℝ} (LM : EulerMeanPacketProvider.Budget M 6 Rm) | |
| 110 | - (Cagree : SourceCoefficientAgreement M D) | |
| 111 | - (Ξ : Icc (0 : ℝ) D.T → Space → Space) (hΞ : ∀ t, ContDiff ℝ ∞ (Ξ t)) | |
| 112 | - (hF : ∀ t x, fderiv ℝ (Ξ t) x = D.F.field t x) | |
| 113 | - (hdet : ∀ t x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det=1) : | |
| 114 | - ∃ ρ0 C : ℝ, 0 < ρ0 ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 115 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 116 | - (Q : Budget period D.T_pos | |
| 117 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree (truncation k) hn k hk)), | |
| 118 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=C ∧ | |
| 119 | - Nonempty (ExactLiftedPacket period D.T_pos | |
| 120 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree (truncation k) hn k hk) Q) := by | |
| 121 | - obtain ⟨ρ0,C,hρ,hC,he⟩ := initialized_correction_budgets_eventually M D hTime τ hτ hτT B | |
| 122 | - δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 123 | - refine ⟨ρ0,C,hρ,hC,?_⟩ | |
| 124 | - filter_upwards [he] with k hk | |
| 125 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hCQ⟩ := hk | |
| 126 | - exact ⟨hk,hn,Q,hδQ,hρQ,hCQ, | |
| 127 | - ⟨initializedExactPacket M D hTime τ hτ hτT B δ hδ ξ hs α Cagree (truncation k) hn k hk Q⟩⟩ | |
| 128 | - | |
| 129 | 84 | end EulerPacketTerminalDatum |
+0 −164 Euler/PacketInitializedFlowAndShear.lean View file
| @@ -44,168 +44,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 44 | 44 | |
| 45 | 45 | include hδ1 hα L NB LM hX hF hXY hY hdet |
| 46 | 46 | |
| 47 | -theorem initialized_flow_and_shear_eventually (ε : ℝ) (hε : 0 < ε) : | |
| 48 | - ∃ ρ0 γ Cw Cv Cp : ℝ, 0 < ρ0 ∧ 0 < γ ∧ 0 < Cw ∧ 0 < Cv ∧ 0 < Cp ∧ | |
| 49 | - ∀ᶠ k : ℝ in atTop, | |
| 50 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 51 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 52 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 53 | - (truncation k) hn k hk)) | |
| 54 | - (G : EulerPhysicalGraphFlowBounds.Data period D.T), | |
| 55 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=γ ∧ | |
| 56 | - G.A = Q.liftedPacketCoefficient period | |
| 57 | - (initializedNormalizedField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k) ∧ | |
| 58 | - G.A₁ = Q.liftedPacketDerivativeCoefficient period | |
| 59 | - (initializedNormalizedDerivativeField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k) ∧ | |
| 60 | - (∀ t z, graphConstraint k D.m₀ (G.A.field t z)=0) ∧ | |
| 61 | - (∀ (s n : ℕ), n+6 ≤ s → ∀ t : Icc (0 : ℝ) D.T, | |
| 62 | - weightedNorm period 6 n (ρ0/4) ((Q.fieldTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 63 | - weightedNorm period 6 n (ρ0/4) ((Q.pressureTower period).realization s t) ≤ Cw*delta (expansion k) ∧ | |
| 64 | - weightedNorm period 6 n (ρ0/4) ((Q.timeDerivativeTower period).realization s t) ≤ Cw*delta (expansion k)) ∧ | |
| 65 | - (∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 66 | - ‖fderiv ℝ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 67 | - Cagree (truncation k) hn k hk Q t (Y t)) x - | |
| 68 | - (α*deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 69 | - rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t (Y t x)) (D.normal.field t (Y t x))‖ < Cv/k ∧ | |
| 70 | - ‖fderiv ℝ (gradient (initializedExactPhysicalPressure M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 71 | - Cagree (truncation k) hn k hk Q t (Y t))) x - | |
| 72 | - (EulerPacketPrimaryPressure.coefficient τ hτ hτT B ξ hs α t (Y t x) * | |
| 73 | - deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 74 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ < Cp/k) ∧ | |
| 75 | - (∀ (ell : ℝ) (hell : 0 < ell), ell ≤ 1 → ∀ t : Icc (0 : ℝ) D.T, | |
| 76 | - (G.displacementField k D.m₀ ell hell t).HasJetBound | |
| 77 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 78 | - (G.velocityField k D.m₀ ell hell t).HasJetBound | |
| 79 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 80 | - (G.accelerationFieldL2 k D.m₀ ell hell t).HasJetBound | |
| 81 | - (k^ε) (ell⁻¹*k^(1+ε)) ∧ | |
| 82 | - HasSupBound (G.displacementField k D.m₀ ell hell t).field | |
| 83 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε)) ∧ | |
| 84 | - HasSupBound (G.velocityField k D.m₀ ell hell t).field | |
| 85 | - (k^(-(1/2 : ℝ)+ε)) (ell⁻¹*k^(1+ε))) := by | |
| 86 | - classical | |
| 87 | - let BC := joinedCoefficientBudget period M D hTime τ hτ hτT B NB | |
| 88 | - obtain ⟨L',H',N',M',hprofile,wj,wm,wp,hterminal,hcost,hrc⟩ := | |
| 89 | - exists_initialized_budgets LM L NB BC δ ξ | |
| 90 | - let S := Scales.ofTimeProfile L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 91 | - have hgrowth : timeProfileChange S.growth hTime=α • L'.fullProfile := by | |
| 92 | - rw [hprofile] | |
| 93 | - exact Scales.ofTimeProfile_growth L.fullProfile L.fullProfile_pos hTime.symm α hα | |
| 94 | - obtain ⟨ρ0,γ,Cw,hρ,hγ,hCw,hQ⟩ := initialized_correction_estimates_eventually | |
| 95 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree X hX hF hdet | |
| 96 | - let C0 := velocity L'.R S.H0 BC.multiplierCost | |
| 97 | - let Cn := normal L'.R S.H0 BC.multiplierCost | |
| 98 | - let Ch := 6*N'.blockAmplitude* | |
| 99 | - (fixedVelocityGradeCost L'.R S.H0 1+fixedVelocityGradeCost L'.R S.H0 2+1) | |
| 100 | - let Rf := physicalInputRadius (4*L'.R) (4*L'.R) (ρ0/4) | |
| 101 | - let Av := liftedInputConstant period*(C0+Cn) | |
| 102 | - let Ev := 2*liftedInputConstant period*Cw | |
| 103 | - let At := 2*liftedInputConstant period*(Ch+Cw) | |
| 104 | - let Kerr := weightedPhysicalGradientCost D period L.Rc L.C₀ (ρ0/4) Cw | |
| 105 | - let Kv := initializedGlobalShearCost L'.R S.H0 N'.C | |
| 106 | - let Kp := initializedPressureHessianCost N' L'.R S.H0 L'.Rc L'.C₀ | |
| 107 | - let Cv := 1+|Kv| | |
| 108 | - let Cp := 1+|Kp| | |
| 109 | - have hRv : 0 ≤ 4*L'.R := by have := L'.radius_bounds.1; linarith | |
| 110 | - have hρ' : 0 < ρ0/4 := by positivity | |
| 111 | - have hRf : 0 < Rf := (liftedInputRadius_pos (4*L'.R) (ρ0/4) hRv hρ').trans_le (le_max_left _ _) | |
| 112 | - have hK : 0 ≤ liftedInputConstant period := zero_le_one.trans (liftedInputConstant_one_le period) | |
| 113 | - have hC0 : 0 ≤ C0 := velocity_nonneg L'.R S.H0 BC.multiplierCost | |
| 114 | - (zero_le_one.trans L'.radius_bounds.1) BC.multiplierCost_nonneg | |
| 115 | - have hCn : 0 ≤ Cn := normal_nonneg L'.R S.H0 BC.multiplierCost | |
| 116 | - (zero_le_one.trans L'.radius_bounds.1) BC.multiplierCost_nonneg | |
| 117 | - have hCh : 0 ≤ Ch := by | |
| 118 | - have hN := N'.blockAmplitude_nonneg | |
| 119 | - have h₁ := fixedVelocityGradeCost_nonneg L'.R S.H0 (zero_le_one.trans L'.radius_bounds.1) 1 | |
| 120 | - have h₂ := fixedVelocityGradeCost_nonneg L'.R S.H0 (zero_le_one.trans L'.radius_bounds.1) 2 | |
| 121 | - dsimp [Ch] | |
| 122 | - positivity | |
| 123 | - have hAv : 0 ≤ Av := mul_nonneg hK (add_nonneg hC0 hCn) | |
| 124 | - have hEv : 0 ≤ Ev := by dsimp [Ev]; positivity | |
| 125 | - have hEta := inputExponent_pos ε hε | |
| 126 | - have hXd : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x := by | |
| 127 | - intro t x | |
| 128 | - rw [← hF t x] | |
| 129 | - exact ((hX t).differentiable (by simp) x).hasFDerivAt | |
| 130 | - have hYd := continuousInverse_hasFDerivAt D X Y hXd hXY hY | |
| 131 | - refine ⟨ρ0,γ,Cw,Cv,Cp,hρ,hγ,hCw,by dsimp [Cv]; positivity,by dsimp [Cp]; positivity,?_⟩ | |
| 132 | - filter_upwards [hQ, | |
| 133 | - fixed_costs_eventually ({tailPolynomialConstant L'.R S.H0 BC.termCost} : Finset ℝ), | |
| 134 | - liftedAmplitude_small_eventually Av Ev Rf D.T hAv hEv hRf.le D.T_pos.le, | |
| 135 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop Rf, | |
| 136 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop At, | |
| 137 | - (_root_.tendsto_rpow_atTop hEta).eventually_ge_atTop D.T, | |
| 138 | - correction_with_power_loss_eventually Kerr 1 1, | |
| 139 | - data_field_bounds_eventually period D.T ε hε, | |
| 140 | - data_sup_bounds_eventually period D.T ε hε] | |
| 141 | - with k hQ hscalar hsmall hRf_k hAt_k hT_k hdecay hLp hSup | |
| 142 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hγQ,hweighted⟩ := hQ | |
| 143 | - have hk0 : 0 < k := by linarith | |
| 144 | - have hk1 : 1 ≤ k := by linarith | |
| 145 | - have hbase : tailBase L'.R S.H0 BC.termCost (truncation k) ≤ k^(1/100 : ℝ) := | |
| 146 | - tailBase_frequency L'.R S.H0 BC.termCost k BC.termCost_nonneg hk1 (hscalar.2.2.2 _ (by simp)) | |
| 147 | - let V := initializedNormalizedField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k | |
| 148 | - let Vt := initializedNormalizedDerivativeField M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k | |
| 149 | - have hv := initializedNormalizedField_bound M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 150 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 151 | - have hnrm := initializedNormalizedField_normal_bound M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 152 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 153 | - have hvt := initializedNormalizedDerivativeField_bound M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 154 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth (truncation k) hn k hk hbase | |
| 155 | - have he (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 156 | - ((Q.fieldTower period).realization (n+6) t) ≤ Cw*delta (expansion k) := | |
| 157 | - (hweighted (n+6) n le_rfl t).1 | |
| 158 | - have hp (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 159 | - ((Q.pressureTower period).realization (n+6) t) ≤ Cw*delta (expansion k) := | |
| 160 | - (hweighted (n+6) n le_rfl t).2.1 | |
| 161 | - have het (n : ℕ) (t : Icc (0 : ℝ) D.T) : weightedNorm period 6 n (ρ0/4) | |
| 162 | - ((Q.timeDerivativeTower period).realization (n+6) t) ≤ Cw := | |
| 163 | - ((hweighted (n+6) n le_rfl t).2.2).trans | |
| 164 | - ((mul_le_mul_of_nonneg_left (delta_le_one _) hCw.le).trans_eq (mul_one _)) | |
| 165 | - have hsize : physicalInputSize period k C0 Cn (Cw*delta (expansion k)) = liftedAmplitude Av Ev k := by | |
| 166 | - dsimp [physicalInputSize,liftedAmplitude,Av,Ev] | |
| 167 | - ring | |
| 168 | - let G := Q.physicalFlowData period V Vt rfl | |
| 169 | - (initializedNormalizedField_time M D hTime τ hτ hτT B δ hδ ξ hs α (truncation k) k) | |
| 170 | - k (4*L'.R) (4*L'.R) (ρ0/4) C0 Cn Ch (Cw*delta (expansion k)) Cw | |
| 171 | - hk1 rfl D.m₀_unit.le hRv hRv hρ' hC0 hCn hCh | |
| 172 | - (mul_nonneg hCw.le (delta_pos _).le) hCw.le hv hnrm hvt he het | |
| 173 | - (by change physicalInputSize period k C0 Cn (Cw*delta (expansion k))*Rf*D.T ≤ 1/8 | |
| 174 | - rw [hsize] | |
| 175 | - exact hsmall.2.2.2) | |
| 176 | - have hGB : G.B ≤ 2*k^(-(1/2 : ℝ)) := by | |
| 177 | - change physicalInputSize period k C0 Cn (Cw*delta (expansion k)) ≤ _ | |
| 178 | - rw [hsize] | |
| 179 | - exact hsmall.2.2.1 | |
| 180 | - have hflow := hLp G rfl rfl rfl hGB hRf_k hAt_k hT_k D.m₀ D.m₀_unit | |
| 181 | - have hsup := hSup G hGB hRf_k hT_k D.m₀ D.m₀_unit | |
| 182 | - have hcorrection (t : Icc (0 : ℝ) D.T) (x : Space) := | |
| 183 | - Q.physical_gradient_hessian_of_weighted D period X Y hXd hXY hY hdet | |
| 184 | - L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg L.frame_bound k (ρ0/4) Cw (delta (expansion k)) | |
| 185 | - hk1 rfl rfl hρ' hCw.le (delta_pos _).le he hp t x | |
| 186 | - have hdecay' : Kerr*k*delta (expansion k) < k⁻¹ := by | |
| 187 | - simpa only [Real.rpow_one,Real.rpow_neg_one] using hdecay | |
| 188 | - refine ⟨hk,hn,Q,G,hδQ,hρQ,hγQ,rfl,rfl,?_,hweighted,?_,?_⟩ | |
| 189 | - · intro t z | |
| 190 | - change graphConstraint k D.m₀ | |
| 191 | - (EulerMetricTransport.transportDirection k⁻¹ D.m₀ ((Q.packetCoefficient period V).field t z)) = 0 | |
| 192 | - exact graphConstraint_transport k k⁻¹ (mul_inv_cancel₀ hk0.ne') D.m₀ _ | |
| 193 | - · intro t x | |
| 194 | - constructor | |
| 195 | - · have h := initializedExactPhysicalVelocity_global_gradient_error M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 196 | - L' H' N' wj M' wm BC hrc hcost hδ1 hα hterminal wp S hgrowth | |
| 197 | - Cagree (truncation k) hn k hk Q hbase t (Y t) x (hYd t x) | |
| 198 | - have hc := ((hcorrection t x).1).trans_lt hdecay' | |
| 199 | - have ht : Kv/k ≤ |Kv|/k := div_le_div_of_nonneg_right (le_abs_self Kv) hk0.le | |
| 200 | - exact h.trans_lt ((add_lt_add_of_le_of_lt ht hc).trans_eq (by dsimp [Cv]; ring)) | |
| 201 | - · have h := initializedExactPhysicalPressure_hessian_error M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 202 | - Cagree (truncation k) hn k hk Q X Y hXd hXY hY L' H' N' wj M' wm BC hrc hcost | |
| 203 | - hδ1 hα hterminal wp S hgrowth hbase hdet t x | |
| 204 | - have hc := ((hcorrection t x).2).trans_lt hdecay' | |
| 205 | - have ht : Kp/k ≤ |Kp|/k := div_le_div_of_nonneg_right (le_abs_self Kp) hk0.le | |
| 206 | - exact h.trans_lt ((add_lt_add_of_le_of_lt ht hc).trans_eq (by dsimp [Cp]; ring)) | |
| 207 | - · intro ell hell hell1 t | |
| 208 | - exact ⟨(hflow ell hell hell1 t).1,(hflow ell hell hell1 t).2.1, | |
| 209 | - (hflow ell hell hell1 t).2.2,(hsup ell hell hell1 t).1,(hsup ell hell hell1 t).2⟩ | |
| 210 | - | |
| 211 | 47 | end EulerPacketTerminalDatum |
+0 −34 Euler/PacketInitializedHessianChoice.lean View file
| @@ -32,38 +32,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 32 | 32 | (hFb : ∀ n t x, |
| 33 | 33 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ CF*majorant R 0 n) |
| 34 | 34 | |
| 35 | -include hδ1 hα L NB LM hΞ hF hΞY hY hdet hR hCF hFb in | |
| 36 | -theorem initialized_correction_gradient_hessian_eventually (p : ℝ) : | |
| 37 | - ∃ ρ0 G : ℝ, 0 < ρ0 ∧ 0 < G ∧ ∀ᶠ k : ℝ in atTop, | |
| 38 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 39 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 40 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 41 | - (truncation k) hn k hk)), | |
| 42 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 43 | - ∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 44 | - ‖fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y t y) | |
| 45 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k^(-p) ∧ | |
| 46 | - ‖fderiv ℝ (gradient (Q.physicalPotential D period k Y t)) x‖ < k^(-p) := by | |
| 47 | - obtain ⟨ρ0,G,hρ,hG,hQ⟩ := initialized_correction_physical_fields_eventually | |
| 48 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree | |
| 49 | - Ξ Y hΞ hF hΞY hY hdet R CF hR hCF hFb 1 p | |
| 50 | - have hX : ∀ t x, HasFDerivAt (Ξ t) (D.F.field t x) x := by | |
| 51 | - intro t x | |
| 52 | - rw [← hF t x] | |
| 53 | - exact ((hΞ t).differentiable (by simp) x).hasFDerivAt | |
| 54 | - refine ⟨ρ0,G,hρ,hG,?_⟩ | |
| 55 | - filter_upwards [hQ] with k hQ | |
| 56 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 57 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 58 | - intro t x | |
| 59 | - have h := hbounds 1 le_rfl t x | |
| 60 | - constructor | |
| 61 | - · simpa only [norm_iteratedFDeriv_one] using h.1 | |
| 62 | - · have hkκ : k*(initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 63 | - (truncation k) hn k hk).κ=1 := by | |
| 64 | - change k*k⁻¹=1 | |
| 65 | - exact mul_inv_cancel₀ (by linarith) | |
| 66 | - rw [Q.physicalPotential_hessian_norm D period Ξ Y hX hΞY hY k hkκ t x] | |
| 67 | - exact h.2 | |
| 68 | - | |
| 69 | 35 | end EulerPacketTerminalDatum |
+0 −17 Euler/PacketInitializedInitial.lean View file
| @@ -70,23 +70,6 @@ theorem initializedInitial_common_support | ||
| 70 | 70 | initializedInitialMean_support M D hTime τ hτ hτT B δ hδ ξ hs α N k⟩ |
| 71 | 71 | exact Metric.closedBall_subset_closedBall (by have := M.ℓ_le_one; linarith) |
| 72 | 72 | |
| 73 | -include hTime in | |
| 74 | -theorem initializedInitialMean_zero (hL : M.L=0) (N : ℕ) (k : ℝ) : | |
| 75 | - initializedInitialMean M D τ hτ hτT B δ hδ ξ hs α N k = 0 := by | |
| 76 | - funext x | |
| 77 | - change M.ℓ • EulerPacketInitial.mean N k⁻¹ 0 | |
| 78 | - (initializedProfiles M D τ hτ hτT B δ hδ ξ hs α) | |
| 79 | - (0,(M.ℓ⁻¹ • x,k*inner ℝ D.m₀ (M.ℓ⁻¹ • x))) = 0 | |
| 80 | - rw [EulerPacketInitial.mean_eq] | |
| 81 | - simp only [EulerPacketPointJets.fieldSum,EulerFiniteGrades.evaluate,EulerPacketInitial.timeSlice] | |
| 82 | - have hz (i : ℕ) := joinedSource_mean_initial_zero period M D hTime τ hτ hτT B | |
| 83 | - (joinedTerminalPrimary period M D τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) | |
| 84 | - (joinedTerminalPrimaryWitness period M D hTime τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) | |
| 85 | - rfl hL i (M.ℓ⁻¹ • x) (k*inner ℝ D.m₀ (M.ℓ⁻¹ • x)) | |
| 86 | - simp only [show ∀ i, (initializedProfiles M D τ hτ hτT B δ hδ ξ hs α i).mean | |
| 87 | - (0,(M.ℓ⁻¹ • x,k*inner ℝ D.m₀ (M.ℓ⁻¹ • x))) = 0 from hz, | |
| 88 | - smul_zero,Finset.sum_const_zero] | |
| 89 | - | |
| 90 | 73 | variable |
| 91 | 74 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 92 | 75 | (H : EulerTransversePacketPrimary.Budget L) |
+0 −9 Euler/PacketInitializedInitialExact.lean View file
| @@ -50,15 +50,6 @@ theorem initializedInitialMean_memLp (N n : ℕ) (k : ℝ) : | ||
| 50 | 50 | exact scale_jet_memLp M.ℓ M.ℓ_pos _ (G.raw_graph_contDiff ⟨0,le_rfl,M.T_pos.le⟩ k D.m₀) n |
| 51 | 51 | (G.raw_graph_tensor_memLp ⟨0,le_rfl,M.T_pos.le⟩ k D.m₀ n) |
| 52 | 52 | |
| 53 | -include hTime in | |
| 54 | -theorem initializedInitial_compact | |
| 55 | - (hS : D.support ⊆ Metric.closedBall 0 (1/2 : ℝ)) (N : ℕ) (k : ℝ) : | |
| 56 | - HasCompactSupport (initializedInitialHigh M D τ hτ hτT B δ hδ ξ hs α N k) ∧ | |
| 57 | - HasCompactSupport (initializedInitialMean M D τ hτ hτT B δ hδ ξ hs α N k) := by | |
| 58 | - have h := initializedInitial_common_support M D hTime τ hτ hτT B δ hδ ξ hs α hS N k | |
| 59 | - exact ⟨(isCompact_closedBall (0 : Space) 2).of_isClosed_subset (isClosed_tsupport _) h.1, | |
| 60 | - (isCompact_closedBall (0 : Space) 2).of_isClosed_subset (isClosed_tsupport _) h.2⟩ | |
| 61 | - | |
| 62 | 53 | variable (Cagree : SourceCoefficientAgreement M D) (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 63 | 54 | (Q : Budget period D.T_pos |
| 64 | 55 | (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk)) |
+0 −2 Euler/PacketInitializedOutputCosts.lean View file
| @@ -26,8 +26,6 @@ def polynomial : Polynomial ℝ := 1+ | ||
| 26 | 26 | def uniformConstant : ℝ := coefficientCost polynomial |
| 27 | 27 | def uniformPower : ℕ := polynomial.natDegree |
| 28 | 28 | |
| 29 | -theorem uniformConstant_pos : 0 < uniformConstant := coefficientCost_pos _ | |
| 30 | - | |
| 31 | 29 | theorem polynomial_eval (W : ℝ) : polynomial.eval W=envelope W := by |
| 32 | 30 | unfold polynomial envelope EulerPacketInitializedCost.envelope |
| 33 | 31 | simp only [Polynomial.eval_add,Polynomial.eval_one,Polynomial.eval_mul, |
+0 −50 Euler/PacketInitializedPhysicalChoice.lean View file
| @@ -36,54 +36,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 36 | 36 | (hFb : ∀ n t x, |
| 37 | 37 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ CF*majorant R 0 n) |
| 38 | 38 | |
| 39 | -include hδ1 hα L NB LM hΞ hF hΞY hY hdet hR hCF hFb in | |
| 40 | -theorem initialized_correction_physical_derivatives_eventually (N : ℕ) (p : ℝ) : | |
| 41 | - ∃ ρ0 G : ℝ, 0 < ρ0 ∧ 0 < G ∧ ∀ᶠ k : ℝ in atTop, | |
| 42 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 43 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 44 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 45 | - (truncation k) hn k hk)), | |
| 46 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 47 | - ∀ n, n ≤ N → ∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 48 | - ‖iteratedFDeriv ℝ n (fun y => k⁻¹ • D.F.field t (Y t y) | |
| 49 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k^(-p) := by | |
| 50 | - obtain ⟨ρ0,G,Cpt,hρ,hG,hCpt,hQ⟩ := initialized_correction_pointwise_eventually | |
| 51 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 52 | - have hS : 0 ≤ 4/ρ0 := by positivity | |
| 53 | - let Ctop := ∑ i : Fin (N+1), physicalFixedCost D R CF (4/ρ0) i.val | |
| 54 | - have hCtop : 0 ≤ Ctop := | |
| 55 | - sum_nonneg (fun i _ => physicalFixedCost_nonneg D R CF (4/ρ0) i.val hR hCF hS) | |
| 56 | - have hX : ∀ t x, HasFDerivAt (Ξ t) (D.F.field t x) x := by | |
| 57 | - intro t x | |
| 58 | - rw [← hF t x] | |
| 59 | - exact ((hΞ t).differentiable (by simp) x).hasFDerivAt | |
| 60 | - have hYd := continuousInverse_differentiable D Ξ Y hX hΞY hY | |
| 61 | - refine ⟨ρ0,G,hρ,hG,?_⟩ | |
| 62 | - filter_upwards [hQ,correction_with_power_loss_eventually (Ctop*Cpt) (N : ℝ) p] with k hQ hkbound | |
| 63 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 64 | - have hδk : 0 ≤ delta (expansion k) := (delta_pos (expansion k)).le | |
| 65 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 66 | - intro n hnN t x | |
| 67 | - have hk1 : 1 ≤ k := by linarith | |
| 68 | - have hk0 : 0 ≤ k := by linarith | |
| 69 | - have hκ : |k⁻¹| ≤ 1 := by | |
| 70 | - rw [abs_inv,abs_of_nonneg hk0] | |
| 71 | - exact inv_le_one_of_one_le₀ hk1 | |
| 72 | - have he := physicalReconstruction_power_bound D period k⁻¹ k (Q.pointField period) | |
| 73 | - (Q.pointField_smooth period) R CF (Cpt*delta (expansion k)) (4/ρ0) | |
| 74 | - hR hCF (by positivity) hS hFb (fun j s y => (hbounds j s y).1) | |
| 75 | - Ξ Y hX hYd hΞY hdet hk1 hκ n t x | |
| 76 | - have hcn : physicalFixedCost D R CF (4/ρ0) n ≤ Ctop := by | |
| 77 | - exact single_le_sum | |
| 78 | - (f := fun i : Fin (N+1) => physicalFixedCost D R CF (4/ρ0) i.val) | |
| 79 | - (fun i _ => physicalFixedCost_nonneg D R CF (4/ρ0) i.val hR hCF hS) | |
| 80 | - (mem_univ (⟨n,by omega⟩ : Fin (N+1))) | |
| 81 | - have hupper : physicalFixedCost D R CF (4/ρ0) n*(Cpt*delta (expansion k))*k^n ≤ | |
| 82 | - Ctop*(Cpt*delta (expansion k))*k^N := | |
| 83 | - mul_le_mul (mul_le_mul_of_nonneg_right hcn (by positivity)) | |
| 84 | - (pow_le_pow_right₀ hk1 hnN) (pow_nonneg hk0 n) (by positivity) | |
| 85 | - have hsmall : Ctop*(Cpt*delta (expansion k))*k^N < k^(-p) := by | |
| 86 | - simpa only [Real.rpow_natCast,mul_assoc,mul_left_comm,mul_comm] using hkbound | |
| 87 | - exact he.trans_lt (hupper.trans_lt hsmall) | |
| 88 | - | |
| 89 | 39 | end EulerPacketTerminalDatum |
+0 −64 Euler/PacketInitializedPhysicalFieldsChoice.lean View file
| @@ -35,68 +35,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 35 | 35 | (hFb : ∀ n t x, |
| 36 | 36 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ CF*majorant R 0 n) |
| 37 | 37 | |
| 38 | -include hδ1 hα L NB LM hΞ hF hΞY hY hdet hR hCF hFb in | |
| 39 | -theorem initialized_correction_physical_fields_eventually (N : ℕ) (p : ℝ) : | |
| 40 | - ∃ ρ0 G : ℝ, 0 < ρ0 ∧ 0 < G ∧ ∀ᶠ k : ℝ in atTop, | |
| 41 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 42 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 43 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 44 | - (truncation k) hn k hk)), | |
| 45 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 46 | - ∀ n, n ≤ N → ∀ (t : Icc (0 : ℝ) D.T) (x : Space), | |
| 47 | - ‖iteratedFDeriv ℝ n (fun y => k⁻¹ • D.F.field t (Y t y) | |
| 48 | - (Q.pointField period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k^(-p) ∧ | |
| 49 | - ‖iteratedFDeriv ℝ n (fun y => k⁻¹ • (D.FInv.field t (Y t y)).adjoint | |
| 50 | - (Q.pointPressure period t (cylinderGraph period k D.m₀ (Y t y)))) x‖ < k^(-p) := by | |
| 51 | - obtain ⟨ρ0,G,Cpt,hρ,hG,hCpt,hQ⟩ := initialized_correction_pointwise_eventually | |
| 52 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 53 | - have hS : 0 ≤ 4/ρ0 := by positivity | |
| 54 | - let Csum := ∑ i : Fin (N+1), physicalFixedCost D R CF (4/ρ0) i.val | |
| 55 | - let Ctop := (1+9*CF)*Csum | |
| 56 | - have hCsum : 0 ≤ Csum := | |
| 57 | - sum_nonneg (fun i _ => physicalFixedCost_nonneg D R CF (4/ρ0) i.val hR hCF hS) | |
| 58 | - have hCtop : 0 ≤ Ctop := by dsimp [Ctop]; positivity | |
| 59 | - have hX : ∀ t x, HasFDerivAt (Ξ t) (D.F.field t x) x := by | |
| 60 | - intro t x | |
| 61 | - rw [← hF t x] | |
| 62 | - exact ((hΞ t).differentiable (by simp) x).hasFDerivAt | |
| 63 | - have hYd := continuousInverse_differentiable D Ξ Y hX hΞY hY | |
| 64 | - refine ⟨ρ0,G,hρ,hG,?_⟩ | |
| 65 | - filter_upwards [hQ,correction_with_power_loss_eventually (Ctop*Cpt) (N : ℝ) p] with k hQ hkbound | |
| 66 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 67 | - have hδk : 0 ≤ delta (expansion k) := (delta_pos (expansion k)).le | |
| 68 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 69 | - intro n hnN t x | |
| 70 | - have hk1 : 1 ≤ k := by linarith | |
| 71 | - have hk0 : 0 ≤ k := by linarith | |
| 72 | - have hκ : |k⁻¹| ≤ 1 := by | |
| 73 | - rw [abs_inv,abs_of_nonneg hk0] | |
| 74 | - exact inv_le_one_of_one_le₀ hk1 | |
| 75 | - have hcn : physicalFixedCost D R CF (4/ρ0) n ≤ Csum := by | |
| 76 | - exact single_le_sum | |
| 77 | - (f := fun i : Fin (N+1) => physicalFixedCost D R CF (4/ρ0) i.val) | |
| 78 | - (fun i _ => physicalFixedCost_nonneg D R CF (4/ρ0) i.val hR hCF hS) | |
| 79 | - (mem_univ (⟨n,by omega⟩ : Fin (N+1))) | |
| 80 | - have hcv : physicalFixedCost D R CF (4/ρ0) n ≤ Ctop := hcn.trans (by dsimp [Ctop]; nlinarith) | |
| 81 | - have hcp : 9*CF*physicalFixedCost D R CF (4/ρ0) n ≤ Ctop := by | |
| 82 | - apply (mul_le_mul_of_nonneg_left hcn (by positivity : 0 ≤ 9*CF)).trans | |
| 83 | - dsimp [Ctop] | |
| 84 | - nlinarith | |
| 85 | - have absorb (v c : ℝ) (hc : c ≤ Ctop) | |
| 86 | - (hv : v ≤ c*(Cpt*delta (expansion k))*k^n) : v < k^(-p) := by | |
| 87 | - have hu : c*(Cpt*delta (expansion k))*k^n ≤ Ctop*(Cpt*delta (expansion k))*k^N := | |
| 88 | - mul_le_mul (mul_le_mul_of_nonneg_right hc (by positivity)) | |
| 89 | - (pow_le_pow_right₀ hk1 hnN) (pow_nonneg hk0 n) (by positivity) | |
| 90 | - apply hv.trans_lt (hu.trans_lt _) | |
| 91 | - simpa only [Real.rpow_natCast,mul_assoc,mul_left_comm,mul_comm] using hkbound | |
| 92 | - constructor | |
| 93 | - · exact absorb _ _ hcv (physicalReconstruction_power_bound D period k⁻¹ k (Q.pointField period) | |
| 94 | - (Q.pointField_smooth period) R CF (Cpt*delta (expansion k)) (4/ρ0) | |
| 95 | - hR hCF (by positivity) hS hFb (fun j s y => (hbounds j s y).1) | |
| 96 | - Ξ Y hX hYd hΞY hdet hk1 hκ n t x) | |
| 97 | - · exact absorb _ _ hcp (physicalPressureForce_power_bound D period k⁻¹ k (Q.pointPressure period) | |
| 98 | - (Q.pointPressure_smooth period) R CF (Cpt*delta (expansion k)) (4/ρ0) | |
| 99 | - hR hCF (by positivity) hS hdet hFb (fun j s y => (hbounds j s y).2.1) | |
| 100 | - Ξ Y hX hYd hΞY hk1 hκ n t x) | |
| 101 | - | |
| 102 | 38 | end EulerPacketTerminalDatum |
+0 −86 Euler/PacketInitializedPointwiseChoice.lean View file
| @@ -31,90 +31,4 @@ variable (M : EulerMeanPacketProvider.Data) | ||
| 31 | 31 | |
| 32 | 32 | include hδ1 hα L NB LM hΞ hF hdet |
| 33 | 33 | |
| 34 | -/-- The actual weighted correction estimates imply literal pointwise | |
| 35 | -mixed-word Gevrey estimates, uniformly in time, order and position. | |
| 36 | -The radius 4/ρ0 and amplitude constant depend only on the fixed source data. -/ | |
| 37 | -theorem initialized_correction_pointwise_eventually : | |
| 38 | - ∃ ρ0 G C : ℝ, 0 < ρ0 ∧ 0 < G ∧ 0 < C ∧ ∀ᶠ k : ℝ in atTop, | |
| 39 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 40 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 41 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 42 | - (truncation k) hn k hk)), | |
| 43 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 44 | - ∀ (n : ℕ) (t : Icc (0 : ℝ) D.T) (x : LiftDomain period), | |
| 45 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative period w (Q.pointField period t) x‖) ≤ | |
| 46 | - C*delta (expansion k)*(4/ρ0)^n*(n.factorial : ℝ)^2 ∧ | |
| 47 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative period w (Q.pointPressure period t) x‖) ≤ | |
| 48 | - C*delta (expansion k)*(4/ρ0)^n*(n.factorial : ℝ)^2 ∧ | |
| 49 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative period w (Q.pointTimeDerivative period t) x‖) ≤ | |
| 50 | - C*delta (expansion k)*(4/ρ0)^n*(n.factorial : ℝ)^2 := by | |
| 51 | - obtain ⟨ρ0,G,C,hρ,hG,hC,hQ⟩ := initialized_correction_estimates_eventually | |
| 52 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 53 | - let Cpt := 1+sobolevEmbeddingConstant period 3*C | |
| 54 | - have hS := sobolevEmbeddingConstant_nonneg period 3 | |
| 55 | - have hCpt : 0 < Cpt := by dsimp [Cpt]; positivity | |
| 56 | - refine ⟨ρ0,G,Cpt,hρ,hG,hCpt,?_⟩ | |
| 57 | - filter_upwards [hQ] with k hQ | |
| 58 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 59 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 60 | - intro n t x | |
| 61 | - have hr : 0 < ρ0/4 := by positivity | |
| 62 | - have hInv : (ρ0/4)⁻¹=4/ρ0 := inv_div _ _ | |
| 63 | - have hbound (F : FieldTower period D.T) | |
| 64 | - (hF : weightedNorm period 6 n (ρ0/4) (F.realization (n+6) t) ≤ C*delta (expansion k)) : | |
| 65 | - (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative period w (F.pointField t) x‖) ≤ | |
| 66 | - Cpt*delta (expansion k)*(4/ρ0)^n*(n.factorial : ℝ)^2 := by | |
| 67 | - have h := F.pointField_wordSum_gevrey (n+6) 6 n n (by omega) (by omega) le_rfl | |
| 68 | - (ρ0/4) (C*delta (expansion k)) hr t hF x | |
| 69 | - rw [hInv] at h | |
| 70 | - have hAmp : sobolevEmbeddingConstant period 3*C ≤ Cpt := by dsimp [Cpt]; linarith | |
| 71 | - have hscale := mul_le_mul_of_nonneg_right hAmp (delta_pos (expansion k)).le | |
| 72 | - have hp := mul_le_mul_of_nonneg_right hscale (pow_nonneg (by positivity : 0 ≤ 4/ρ0) n) | |
| 73 | - have hf := mul_le_mul_of_nonneg_right hp (sq_nonneg (n.factorial : ℝ)) | |
| 74 | - apply h.trans | |
| 75 | - simpa only [mul_assoc] using hf | |
| 76 | - have he := hbound (Q.fieldTower period) (hbounds (n+6) n (by omega) t).1 | |
| 77 | - have hp := hbound (Q.pressureTower period) (hbounds (n+6) n (by omega) t).2.1 | |
| 78 | - have ht := hbound (Q.timeDerivativeTower period) (hbounds (n+6) n (by omega) t).2.2 | |
| 79 | - simpa only [Q.correctionTower_pointField period t,Q.pressureTower_pointField period t, | |
| 80 | - Q.timeDerivativeTower_pointField period t] using And.intro he (And.intro hp ht) | |
| 81 | - | |
| 82 | -/-- Even after any fixed physical polynomial loss, the whole actual | |
| 83 | -pointwise mixed-derivative Gevrey envelope is smaller than a prescribed | |
| 84 | -inverse power of the frequency. -/ | |
| 85 | -theorem initialized_correction_pointwise_power_loss_eventually | |
| 86 | - (physicalCost loss p : ℝ) (hphysicalCost : 0 ≤ physicalCost) : | |
| 87 | - ∃ ρ0 G : ℝ, 0 < ρ0 ∧ 0 < G ∧ ∀ᶠ k : ℝ in atTop, | |
| 88 | - ∃ (hk : 4 ≤ k) (hn : 1 ≤ truncation k) | |
| 89 | - (Q : EulerAllOrderDriftCorrection.Budget period D.T_pos | |
| 90 | - (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree | |
| 91 | - (truncation k) hn k hk)), | |
| 92 | - Q.delta=delta (expansion k) ∧ Q.initialRadius=ρ0 ∧ Q.growthCoefficient=G ∧ | |
| 93 | - ∀ (n : ℕ) (t : Icc (0 : ℝ) D.T) (x : LiftDomain period), | |
| 94 | - physicalCost*k^loss*(∑ w : Fin n → Fin 4, | |
| 95 | - ‖iteratedFieldDerivative period w (Q.pointField period t) x‖) < | |
| 96 | - k^(-p)*(4/ρ0)^n*(n.factorial : ℝ)^2 ∧ | |
| 97 | - physicalCost*k^loss*(∑ w : Fin n → Fin 4, | |
| 98 | - ‖iteratedFieldDerivative period w (Q.pointPressure period t) x‖) < | |
| 99 | - k^(-p)*(4/ρ0)^n*(n.factorial : ℝ)^2 ∧ | |
| 100 | - physicalCost*k^loss*(∑ w : Fin n → Fin 4, | |
| 101 | - ‖iteratedFieldDerivative period w (Q.pointTimeDerivative period t) x‖) < | |
| 102 | - k^(-p)*(4/ρ0)^n*(n.factorial : ℝ)^2 := by | |
| 103 | - obtain ⟨ρ0,G,C,hρ,hG,_hC,hQ⟩ := initialized_correction_pointwise_eventually | |
| 104 | - M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree Ξ hΞ hF hdet | |
| 105 | - refine ⟨ρ0,G,hρ,hG,?_⟩ | |
| 106 | - filter_upwards [hQ,correction_with_power_loss_eventually (physicalCost*C) loss p] with k hQ hkbound | |
| 107 | - obtain ⟨hk,hn,Q,hδQ,hρQ,hGQ,hbounds⟩ := hQ | |
| 108 | - refine ⟨hk,hn,Q,hδQ,hρQ,hGQ,?_⟩ | |
| 109 | - intro n t x | |
| 110 | - have hscale : 0 ≤ physicalCost*k^loss := | |
| 111 | - mul_nonneg hphysicalCost (Real.rpow_nonneg (by linarith) _) | |
| 112 | - have hword : 0 < (4/ρ0)^n*(n.factorial : ℝ)^2 := by positivity | |
| 113 | - have hm := mul_lt_mul_of_pos_right hkbound hword | |
| 114 | - have hbound (X : ℝ) (hX : X ≤ C*delta (expansion k)*(4/ρ0)^n*(n.factorial : ℝ)^2) : | |
| 115 | - physicalCost*k^loss*X < k^(-p)*(4/ρ0)^n*(n.factorial : ℝ)^2 := by | |
| 116 | - apply (mul_le_mul_of_nonneg_left hX hscale).trans_lt | |
| 117 | - simpa only [mul_assoc, mul_left_comm, mul_comm] using hm | |
| 118 | - exact ⟨hbound _ (hbounds n t x).1,hbound _ (hbounds n t x).2.1,hbound _ (hbounds n t x).2.2⟩ | |
| 119 | - | |
| 120 | 34 | end EulerPacketTerminalDatum |
+0 −5 Euler/PacketInitializedRadiusPolynomial.lean View file
| @@ -619,9 +619,4 @@ theorem initializedRadius_le_envelope (W : ℝ) (hδ : 0 < δ) | ||
| 619 | 619 | unfold radiusEnvelope |
| 620 | 620 | nlinarith only [hW0,hreq0,hmean0,hgrade0] |
| 621 | 621 | |
| 622 | -theorem initializedRadius_power (W : ℝ) (hδ : 0 < δ) | |
| 623 | - (H : RadiusPrimitives LM L NB BC δ ξ W) : | |
| 624 | - initializedRadius LM L NB BC δ ξ ≤ radiusConstant*W^radiusPower := | |
| 625 | - (initializedRadius_le_envelope LM L NB BC δ ξ W hδ H).trans (radiusEnvelope_power W H.one) | |
| 626 | - | |
| 627 | 622 | end EulerPacketRadiusPolynomial |
+0 −66 Euler/PacketInitializedRemainder.lean View file
| @@ -51,40 +51,6 @@ def initializedPrimaryRemainderField (N : ℕ) (hN : 1 ≤ N) (κ : ℝ) : | ||
| 51 | 51 | (initializedProfiles_one_mean M D τ hτ hτT B δ hδ ξ hs α) κ).changeTime hTime).congr |
| 52 | 52 | (fun _ _ _ => by rw [initializedProfiles_one_high]; rfl) |
| 53 | 53 | |
| 54 | -include hTime in | |
| 55 | -/-- The exact derivative split, with the primary's genuine canonical | |
| 56 | -velocity and transported normal. -/ | |
| 57 | -theorem initializedVelocity_gradient_split (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : k ≠ 0) | |
| 58 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 59 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 60 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 61 | - fderiv ℝ (fun y => initializedVelocity M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 62 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) = | |
| 63 | - (α/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0) + | |
| 64 | - fderiv ℝ (fun y => initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 65 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) := by | |
| 66 | - let V := vectorField τ hτ hτT B (initialData D δ hδ (α • ξ) hs) | |
| 67 | - have hp := ((V.smul k⁻¹).raw_graph_contDiff t k D.m₀).differentiable (by simp) | |
| 68 | - have hr := ((initializedPrimaryRemainderField M D hTime τ hτ hτT B δ hδ ξ hs α N hN k⁻¹).raw_graph_contDiff | |
| 69 | - t k D.m₀).differentiable (by simp) | |
| 70 | - have hp' : DifferentiableAt ℝ (fun y => k⁻¹ • vector τ hτ hτT B | |
| 71 | - (initialData D δ hδ (α • ξ) hs) (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) := by | |
| 72 | - simpa only [Function.comp_def,Pi.smul_apply] using (hp (Y (X 0))).comp (X 0) hY | |
| 73 | - have hr' : DifferentiableAt ℝ (fun y => initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 74 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) := by | |
| 75 | - simpa only [Function.comp_def] using (hr (Y (X 0))).comp (X 0) hY | |
| 76 | - have he : (fun y => initializedVelocity M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 77 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) = | |
| 78 | - (fun y => k⁻¹ • vector τ hτ hτT B (initialData D δ hδ (α • ξ) hs) | |
| 79 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) + | |
| 80 | - (fun y => initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 81 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) := by | |
| 82 | - funext y | |
| 83 | - dsimp only [initializedPrimaryRemainder,Pi.add_apply,Pi.sub_apply,Pi.smul_apply] | |
| 84 | - abel | |
| 85 | - rw [he,fderiv_add hp' hr', | |
| 86 | - scaled_terminal_physical_gradient τ hτ hτT B δ hδ ξ hs α k hk t X Y hX hY hleft] | |
| 87 | - | |
| 88 | 54 | variable |
| 89 | 55 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 90 | 56 | (H : EulerTransversePacketPrimary.Budget L) |
| @@ -114,16 +80,6 @@ theorem initializedPrimaryRemainder_bound (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk | ||
| 114 | 80 | (initializedProfiles_one_mean M D τ hτ hτT B δ hδ ξ hs α) hN BC k hk hbase |
| 115 | 81 | exact (h.changeTime hTime).of_raw_eq _ (fun _ _ _ => by rw [initializedProfiles_one_high]; rfl) |
| 116 | 82 | |
| 117 | -theorem initializedPrimaryRemainder_physical_norm (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) | |
| 118 | - (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) | |
| 119 | - (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : | |
| 120 | - ‖initializedPrimaryRemainder M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 121 | - (t,(Y x,k*inner ℝ D.m₀ (Y x)))‖ ≤ | |
| 122 | - sobolevEmbeddingConstant period 3*((fixedVelocityGradeCost L.R S.H0 2+2)/k^2) := | |
| 123 | - (initializedPrimaryRemainder_bound M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 124 | - L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase).raw_graph_norm_le | |
| 125 | - (by norm_num) t k D.m₀ (Y x) | |
| 126 | - | |
| 127 | 83 | theorem initializedPrimaryRemainder_physical_fderiv (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 128 | 84 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 129 | 85 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) |
| @@ -168,26 +124,4 @@ theorem initializedPrimaryRemainder_physical_fderiv_inv (N : ℕ) (hN : 1 ≤ N) | ||
| 168 | 124 | mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hf hb) (norm_nonneg _) |
| 169 | 125 | _ = _ := by unfold initializedRemainderDerivativeCost; field_simp; ring |
| 170 | 126 | |
| 171 | -/-- The finite packet's actual center gradient differs from its exact | |
| 172 | -primary shear by O(1/k), with the genuine inverse frame norm. -/ | |
| 173 | -theorem initializedVelocity_gradient_error (N : ℕ) (hN : 1 ≤ N) | |
| 174 | - (k : ℝ) (hk : 4 ≤ k) (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) | |
| 175 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 176 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 177 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 178 | - ‖fderiv ℝ (fun y => initializedVelocity M D τ hτ hτT B δ hδ ξ hs α N k⁻¹ | |
| 179 | - (t,(Y y,k*inner ℝ D.m₀ (Y y)))) (X 0) - | |
| 180 | - (α/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0)‖ ≤ | |
| 181 | - (initializedRemainderDerivativeCost L.R S.H0/k)*‖D.FInv.field t 0‖ := by | |
| 182 | - have hk0 : k ≠ 0 := by linarith | |
| 183 | - rw [initializedVelocity_gradient_split M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 184 | - N hN k hk0 t X Y hX hY hleft,add_sub_cancel_left] | |
| 185 | - have he : Y ∘ X = id := funext hleft | |
| 186 | - have hdY := EulerLagrangian.derivative_pullback_inverse Y X (D.deformationEquiv t 0) 0 hX hY | |
| 187 | - rw [he,fderiv_id,id_comp] at hdY | |
| 188 | - have h := initializedPrimaryRemainder_physical_fderiv_inv M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 189 | - L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase t Y (X 0) hY | |
| 190 | - rw [hdY] at h | |
| 191 | - exact h | |
| 192 | - | |
| 193 | 127 | end EulerPacketTerminalDatum |
+0 −11 Euler/PacketInitializedUniformBudget.lean View file
| @@ -60,15 +60,4 @@ def initializedUniformBudget : EulerAllOrderDriftCorrection.Budget period D.T_po | ||
| 60 | 60 | (costs.1.trans hfrequency) (costs.2.1.trans hfrequency) (costs.2.2.1.trans hfrequency) |
| 61 | 61 | (costs.2.2.2.1.trans hfrequency) (costs.2.2.2.2.trans hfrequency) Ξ hΞ hF hdet |
| 62 | 62 | |
| 63 | -theorem initializedUniformBudget_delta : | |
| 64 | - (initializedUniformBudget M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree | |
| 65 | - W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet).delta=delta (expansion k) := rfl | |
| 66 | - | |
| 67 | -theorem initializedUniformBudget_initialRadius : | |
| 68 | - (initializedUniformBudget M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα L NB LM Cagree | |
| 69 | - W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet).initialRadius= | |
| 70 | - initialRadius | |
| 71 | - (initializedRadius LM L NB (joinedCoefficientBudget period M D hTime τ hτ hτT B NB) δ ξ) | |
| 72 | - (L.correctionCoefficients NB period).M (L.correctionCoefficients NB period).Rc := rfl | |
| 73 | - | |
| 74 | 63 | end EulerPacketTerminalDatum |
+0 −52 Euler/PacketJetAssembly.lean View file
| @@ -11,58 +11,6 @@ open EulerFiniteGrades Finset | ||
| 11 | 11 | |
| 12 | 12 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 13 | 13 | |
| 14 | -theorem jet_zero (z : Domain) : jet (fun _ : Domain => (0 : E)) z = 0 := by | |
| 15 | - simp [jet] | |
| 16 | - | |
| 17 | -theorem jet_add (f g : Domain → E) (z : Domain) | |
| 18 | - (hf : DifferentiableAt ℝ f z) (hg : DifferentiableAt ℝ g z) : | |
| 19 | - jet (f+g) z = jet f z+jet g z := by | |
| 20 | - simp only [jet, Pi.add_apply, fderiv_add hf hg, Prod.mk_add_mk] | |
| 21 | - | |
| 22 | -theorem jet_truncate (N n : ℕ) (u : ℕ → Domain → E) (z : Domain) : | |
| 23 | - jet (truncate N u n) z = truncate N (fun i => jet (u i) z) n := by | |
| 24 | - by_cases hn : n ≤ N | |
| 25 | - · simp only [truncate_of_le N n _ hn] | |
| 26 | - · simp only [truncate_of_gt N n _ (by omega), Pi.zero_def] | |
| 27 | - exact jet_zero z | |
| 28 | - | |
| 29 | -theorem jet_shiftUp (N n : ℕ) (u : ℕ → Domain → E) (z : Domain) : | |
| 30 | - jet (shiftUp N u n) z = shiftUp N (fun i => jet (u i) z) n := by | |
| 31 | - cases n with | |
| 32 | - | zero => exact jet_zero z | |
| 33 | - | succ n => exact jet_truncate N n u z | |
| 34 | - | |
| 35 | -theorem differentiableAt_truncate (N n : ℕ) (u : ℕ → Domain → E) (z : Domain) | |
| 36 | - (hu : ∀ i ≤ N, DifferentiableAt ℝ (u i) z) : | |
| 37 | - DifferentiableAt ℝ (truncate N u n) z := by | |
| 38 | - by_cases hn : n ≤ N | |
| 39 | - · simpa only [truncate_of_le N n _ hn] using hu n hn | |
| 40 | - · simpa only [truncate_of_gt N n _ (by omega), Pi.zero_def] using | |
| 41 | - (differentiableAt_const (c := (0 : E))) | |
| 42 | - | |
| 43 | -theorem differentiableAt_shiftUp (N n : ℕ) (u : ℕ → Domain → E) (z : Domain) | |
| 44 | - (hu : ∀ i ≤ N, DifferentiableAt ℝ (u i) z) : | |
| 45 | - DifferentiableAt ℝ (shiftUp N u n) z := by | |
| 46 | - cases n with | |
| 47 | - | zero => exact differentiableAt_const (c := (0 : E)) | |
| 48 | - | succ n => exact differentiableAt_truncate N n u z hu | |
| 49 | - | |
| 50 | -theorem jet_assemble (N n : ℕ) (u c : ℕ → Domain → E) (z : Domain) | |
| 51 | - (hu : ∀ i ≤ N, DifferentiableAt ℝ (u i) z) | |
| 52 | - (hc : ∀ i ≤ N, DifferentiableAt ℝ (c i) z) : | |
| 53 | - jet (assemble N u c n) z = | |
| 54 | - assemble N (fun i => jet (u i) z) (fun i => jet (c i) z) n := by | |
| 55 | - change jet (truncate N u n+shiftUp N c n) z = _ | |
| 56 | - rw [jet_add _ _ z (differentiableAt_truncate N n u z hu) | |
| 57 | - (differentiableAt_shiftUp N n c z hc), jet_truncate, jet_shiftUp] | |
| 58 | - rfl | |
| 59 | - | |
| 60 | -theorem differentiableAt_assemble (N n : ℕ) (u c : ℕ → Domain → E) (z : Domain) | |
| 61 | - (hu : ∀ i ≤ N, DifferentiableAt ℝ (u i) z) | |
| 62 | - (hc : ∀ i ≤ N, DifferentiableAt ℝ (c i) z) : | |
| 63 | - DifferentiableAt ℝ (assemble N u c n) z := | |
| 64 | - (differentiableAt_truncate N n u z hu).add (differentiableAt_shiftUp N n c z hc) | |
| 65 | - | |
| 66 | 14 | /-- The extra degree N+1 is precisely the final divergence corrector in (13). -/ |
| 67 | 15 | theorem fieldSum_assemble_from_one (N : ℕ) (κ : ℝ) (u c : ℕ → Domain → E) |
| 68 | 16 | (hu : u 0=0) (hc : c 0=0) (z : Domain) : |
+0 −25 Euler/PacketJoinedGradeBounds.lean View file
| @@ -147,29 +147,4 @@ theorem grade_bounds : | ||
| 147 | 147 | · exact (hπ.scale_profile D.T_pos.le L.fullProfile L.fullProfile_pos c hc).absorb_amplitude_to |
| 148 | 148 | L.radius_bounds.1 (mul_nonneg (by norm_num) (L.pressureAmplitude_nonneg N)) W.pressureGradient hroom.2 |
| 149 | 149 | |
| 150 | -theorem vector_grade_bound : | |
| 151 | - ((vectorField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 152 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := | |
| 153 | - (L.grade_bounds N W G F c hc p hp hforce).1 | |
| 154 | - | |
| 155 | -theorem derivative_grade_bound : | |
| 156 | - ((vectorDerivativeField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 157 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := | |
| 158 | - (L.grade_bounds N W G F c hc p hp hforce).2.1 | |
| 159 | - | |
| 160 | -theorem corrector_grade_bound : | |
| 161 | - ((correctorField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 162 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := | |
| 163 | - (L.grade_bounds N W G F c hc p hp hforce).2.2.1 | |
| 164 | - | |
| 165 | -theorem corrector_derivative_grade_bound : | |
| 166 | - ((correctorDerivativeField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 167 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := | |
| 168 | - (L.grade_bounds N W G F c hc p hp hforce).2.2.2.1 | |
| 169 | - | |
| 170 | -theorem pressure_gradient_grade_bound : | |
| 171 | - ((scalarGradientField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 172 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := | |
| 173 | - (L.grade_bounds N W G F c hc p hp hforce).2.2.2.2 | |
| 174 | - | |
| 175 | 150 | end EulerTransversePacketJoin.Budget |
+0 −15 Euler/PacketJoinedResidualFields.lean View file
| @@ -24,21 +24,6 @@ def joinedTailGradeField (N n : ℕ) (hn : N+1 ≤ n) : | ||
| 24 | 24 | (fun i _ => joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary i) |
| 25 | 25 | (joinedSourceCoefficientData P M D τ hτ hτT B hT) (profiles_zero _ _) n hn |
| 26 | 26 | |
| 27 | -def joinedLiteralTailGradeField (N n : ℕ) (hn : N+1 ≤ n) : | |
| 28 | - Field P M.T (fun z => slicedMomentumGrade (Icc (0 : ℝ) M.T) (N+1) | |
| 29 | - ((joinedSourceOperators P M D τ hτ hτT B).inverseFrame z) | |
| 30 | - ((joinedSourceOperators P M D τ hτ hτT B).strain z) | |
| 31 | - ((joinedSourceOperators P M D τ hτ hτT B).normal z) | |
| 32 | - (assembledVelocity N (joinedSourceProfiles P M D τ hτ hτT B primary)) | |
| 33 | - (assembledPressure N (joinedSourceProfiles P M D τ hτ hτT B primary)) z n) := | |
| 34 | - ProfileRegularity.literalTailGradeField M.T_pos | |
| 35 | - (fun i _ => joinedSourceProfileWitness P M D hT τ hτ hτT B primary hprimary i) | |
| 36 | - (joinedSourceCoefficientData P M D τ hτ hτT B hT) (profiles_zero _ _) n hn | |
| 37 | - | |
| 38 | -theorem joinedLiteralTailGradeField_path (N n : ℕ) (hn : N+1 ≤ n) : | |
| 39 | - (joinedLiteralTailGradeField P M D hT τ hτ hτT B primary hprimary N n hn).path = | |
| 40 | - (joinedTailGradeField P M D hT τ hτ hτT B primary hprimary N n hn).path := rfl | |
| 41 | - | |
| 42 | 27 | def joinedTailSumField (N : ℕ) (κ : ℝ) : |
| 43 | 28 | Field P M.T (fun z => ∑ n ∈ Ico (N+1) (2*N+3), κ^n • |
| 44 | 29 | recursiveGrade (joinedSourceOperators P M D τ hτ hτT B) N |
+0 −6 Euler/PacketJoinedSuccessor.lean View file
| @@ -180,12 +180,6 @@ def joinedNext : Stage S (n+1) := by | ||
| 180 | 180 | |
| 181 | 181 | theorem joinedNext_time : (P.joinedNext hn hq hB).time=P.nextTime := rfl |
| 182 | 182 | |
| 183 | -theorem joinedNext_initial_increment : | |
| 184 | - (fun x => (P.joinedNext hn hq hB).state.evolution.velocity (0,x)- | |
| 185 | - P.state.evolution.velocity (0,x)) = (I).high k+(I).mean k := | |
| 186 | - GeometryJoinedChoice.initial_increment_eq I P.restrictedState k hk ell | |
| 187 | - (S.support_pos (n+1)) (S.support_one (n+1)) F symmetric | |
| 188 | - | |
| 189 | 183 | theorem joinedNext_initial_velocity : |
| 190 | 184 | (fun x => (P.joinedNext hn hq hB).state.evolution.velocity (0,x)) = |
| 191 | 185 | (fun x => P.state.evolution.velocity (0,x))+((I).high k+(I).mean k) := |
+0 −24 Euler/PacketKnownGrade.lean View file
| @@ -20,28 +20,4 @@ theorem history_congr (p : ℕ) (u v : ℕ → VectorJet) (c : VectorJet) | ||
| 20 | 20 | · simp only [history, hi, ite_true, huv i hi] |
| 21 | 21 | · simp only [history, hi, ite_false] |
| 22 | 22 | |
| 23 | -/-- The only new nonlinear term is the mean coefficient against the primary angular derivative. -/ | |
| 24 | -theorem nonlinearGrade_eq_history (M p : ℕ) (hp : 2 ≤ p) (hMp : p+1 ≤ M) | |
| 25 | - (FInv : Space →L[ℝ] Space) (m : Space) (u : ℕ → VectorJet) | |
| 26 | - (A B c : VectorJet) (hu0 : u 0=0) (hnew : u p=c+(A+B)) | |
| 27 | - (hprimary : ⟪m,(u 1).1⟫_ℝ=0) (hA : ⟪m,A.1⟫_ℝ=0) : | |
| 28 | - nonlinearGrade M p FInv m u = nonlinearGrade M p FInv m (history p u c)+ | |
| 29 | - fastAdvection m B (u 1) := by | |
| 30 | - have h0 : history p u c 0=0 := by simp [history, show 0<p by omega, hu0] | |
| 31 | - have h1 : history p u c 1=u 1 := by simp [history, show 1<p by omega] | |
| 32 | - have hsame : ∀ i<p, u i=history p u c i := by | |
| 33 | - intro i hi | |
| 34 | - simp [history, hi] | |
| 35 | - have hnew' : u p=history p u c p+(A+B) := by simpa [history] using hnew | |
| 36 | - simpa only [h1] using nonlinearGrade_update M p hp hMp FInv m (history p u c) u A B | |
| 37 | - h0 hsame hnew' (by simpa only [h1] using hprimary) hA | |
| 38 | - | |
| 39 | -/-- The unknown mean-primary interaction has exactly zero angular mean. -/ | |
| 40 | -theorem mean_primary_interaction_zero (P : ℝ) (m B : Space) (A Aθ : ℝ → Space) | |
| 41 | - (hA : ∀ θ, HasDerivAt A (Aθ θ) θ) (hAθ : Continuous Aθ) | |
| 42 | - (hper : Function.Periodic A P) : | |
| 43 | - (∫ θ in 0..P, ⟪m,B⟫_ℝ • Aθ θ)=0 := | |
| 44 | - EulerPeriodicDerivativeMean.integral_constant_smul_derivative_eq_zero P ⟪m,B⟫_ℝ | |
| 45 | - A Aθ hA hAθ hper | |
| 46 | - | |
| 47 | 23 | end EulerPacketPointJets |
+0 −5 Euler/PacketKnownPieceScales.lean View file
| @@ -65,11 +65,6 @@ theorem slow_shift_room (k l : KnownPiece) (i j p : ℕ) | ||
| 65 | 65 | have hs := slow_high_high_room i j p hi hj hij |
| 66 | 66 | omega |
| 67 | 67 | |
| 68 | -theorem slow_shift_room_high (k l : KnownPiece) (i j p : ℕ) | |
| 69 | - (hi : 1 ≤ i) (hj : 1 ≤ j) (hij : i+j=p) : | |
| 70 | - k.shift i+l.shift j+1 < highForceShift p := | |
| 71 | - lt_of_lt_of_le (slow_shift_room k l i j p hi hj hij) (mean_force_le_high_force p) | |
| 72 | - | |
| 73 | 68 | theorem fast_mean_shift_room (l : KnownPiece) (i j p : ℕ) |
| 74 | 69 | (hi : 2 ≤ i) (hj : 1 ≤ j) (hij : i+j=p+1) : |
| 75 | 70 | KnownPiece.mean.shift i+l.shift j+1 < highForceShift p := by |
+0 −9 Euler/PacketKnownPieces.lean View file
| @@ -32,11 +32,6 @@ def active (k : KnownPiece) (p i : ℕ) : Prop := | ||
| 32 | 32 | instance (k : KnownPiece) (p i : ℕ) : Decidable (k.active p i) := by |
| 33 | 33 | cases k <;> unfold active <;> infer_instance |
| 34 | 34 | |
| 35 | -def profileIndex (k : KnownPiece) (i : ℕ) : ℕ := | |
| 36 | - match k with | |
| 37 | - | .high | .mean => i | |
| 38 | - | .corrector => i-1 | |
| 39 | - | |
| 40 | 35 | def raw (k : KnownPiece) (p : ℕ) (a : ℕ → Profile) (i : ℕ) : VectorField := |
| 41 | 36 | if k.active p i then |
| 42 | 37 | match k with |
| @@ -54,10 +49,6 @@ theorem jet_zero_of_inactive (k : KnownPiece) (O : Operators) (p : ℕ) | ||
| 54 | 49 | k.jet O p a z i = 0 := by |
| 55 | 50 | simp only [jet, raw, hi, ite_false, slicedJet_zero'] |
| 56 | 51 | |
| 57 | -theorem active_profile_lt (k : KnownPiece) (p i : ℕ) (hi : k.active p i) : | |
| 58 | - k.profileIndex i < p := by | |
| 59 | - cases k <;> simp only [active, profileIndex] at * <;> omega | |
| 60 | - | |
| 61 | 52 | end KnownPiece |
| 62 | 53 | |
| 63 | 54 | theorem knownJets_eq_pieces (O : Operators) (p : ℕ) (hp : 2 ≤ p) |
+0 −44 Euler/PacketKnownTermSums.lean View file
| @@ -98,48 +98,4 @@ theorem PrefixFields.highForce_decomposition (t : Icc (0 : ℝ) T) (x : Space) ( | ||
| 98 | 98 | F.meanForce_decomposition C hp hT Ct hCt pressure hc hB₁ hA hB, he] |
| 99 | 99 | abel |
| 100 | 100 | |
| 101 | -include hc hB₁ hA hB in | |
| 102 | -theorem PrefixFields.knownForce_term_path : | |
| 103 | - (F.knownForce C (by omega) hT Ct hCt pressure).path = | |
| 104 | - -(∑ q ∈ knownTermIndices p, (F.termField C (by omega) hT Ct hCt pressure | |
| 105 | - q.1 q.2.1 q.2.2).path) := by | |
| 106 | - let G := Field.finsetSum (knownTermIndices p) _ | |
| 107 | - (fun q => F.termField C (by omega) hT Ct hCt pressure q.1 q.2.1 q.2.2) | |
| 108 | - change (F.knownForce C (by omega) hT Ct hCt pressure).path = G.neg.path | |
| 109 | - apply Field.path_eq_of_raw_eq | |
| 110 | - intro t x θ | |
| 111 | - simpa only [Pi.neg_apply, Finset.sum_apply] using | |
| 112 | - (F.knownForce_decomposition hp hc hB₁ hA hB t x θ).symm | |
| 113 | - | |
| 114 | -include hc hB₁ hA hB in | |
| 115 | -theorem PrefixFields.meanForce_term_path : | |
| 116 | - (F.meanForce C (by omega) hT Ct hCt pressure).path = | |
| 117 | - -(∑ q ∈ knownTermIndices p, (F.meanTermField C (by omega) hT Ct hCt pressure | |
| 118 | - q.1 q.2.1 q.2.2).path) := by | |
| 119 | - let G := Field.finsetSum (knownTermIndices p) _ | |
| 120 | - (fun q => F.meanTermField C (by omega) hT Ct hCt pressure q.1 q.2.1 q.2.2) | |
| 121 | - change (F.meanForce C (by omega) hT Ct hCt pressure).path = G.neg.path | |
| 122 | - apply Field.path_eq_of_raw_eq | |
| 123 | - intro t x θ | |
| 124 | - simpa only [Pi.neg_apply, Finset.sum_apply] using | |
| 125 | - (F.meanForce_decomposition C hp hT Ct hCt pressure hc hB₁ hA hB t x θ).symm | |
| 126 | - | |
| 127 | -include hc hB₁ hA hB in | |
| 128 | -theorem PrefixFields.highForce_term_path (newMean : Field P T (meanResult O p a).1) : | |
| 129 | - (F.highForce C hp hT Ct hCt pressure newMean).path = | |
| 130 | - -(∑ q ∈ knownTermIndices p, (F.highTermField C (by omega) hT Ct hCt pressure | |
| 131 | - q.1 q.2.1 q.2.2).path) - | |
| 132 | - (SpatialJetField.fastAdvection C.normal (SpatialJetField.ofField O.interval newMean) | |
| 133 | - (SpatialJetField.ofField O.interval (F.high 1 (by omega)))).path := by | |
| 134 | - let G := Field.finsetSum (knownTermIndices p) _ | |
| 135 | - (fun q => F.highTermField C (by omega) hT Ct hCt pressure q.1 q.2.1 q.2.2) | |
| 136 | - let A := SpatialJetField.fastAdvection C.normal (SpatialJetField.ofField O.interval newMean) | |
| 137 | - (SpatialJetField.ofField O.interval (F.high 1 (by omega))) | |
| 138 | - rw [sub_eq_add_neg] | |
| 139 | - change (F.highForce C hp hT Ct hCt pressure newMean).path = (G.neg.sub A).path | |
| 140 | - apply Field.path_eq_of_raw_eq | |
| 141 | - intro t x θ | |
| 142 | - simpa only [Pi.sub_apply, Pi.neg_apply, Finset.sum_apply] using | |
| 143 | - (F.highForce_decomposition C hp hT Ct hCt pressure hc hB₁ hA hB t x θ).symm | |
| 144 | - | |
| 145 | 101 | end EulerPacketCylinderField |
+0 −66 Euler/PacketLiftedCurl.lean View file
| @@ -79,72 +79,6 @@ theorem liftedCurl_eq_tests (κ : ℝ) (m : Vector3) (Q : LiftDomain period → | ||
| 79 | 79 | fieldDerivative period (coordinateDirection κ m 0) (fun y => Q y 1) x |
| 80 | 80 | ring |
| 81 | 81 | |
| 82 | -theorem liftedCurl_smooth (κ : ℝ) (m : Vector3) (Q : LiftDomain period → Vector3) | |
| 83 | - (hQ : ∀ x, ContDiff ℝ ∞ (localFieldLift period Q x)) (x : LiftDomain period) : | |
| 84 | - ContDiff ℝ ∞ (localFieldLift period (liftedCurl period κ m Q) x) := by | |
| 85 | - rw [liftedCurl_eq_tests period κ m Q hQ] | |
| 86 | - exact ((curlTest_smooth period κ m 0 1 _ (component_smooth period Q hQ 2) x).add | |
| 87 | - (curlTest_smooth period κ m 1 2 _ (component_smooth period Q hQ 0) x)).add | |
| 88 | - (curlTest_smooth period κ m 2 0 _ (component_smooth period Q hQ 1) x) | |
| 89 | - | |
| 90 | -theorem scalar_fieldDerivative_sub (a : LiftTangent) (f g : LiftDomain period → ℝ) | |
| 91 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 92 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) (x : LiftDomain period) : | |
| 93 | - fieldDerivative period a (fun y => f y - g y) x = | |
| 94 | - fieldDerivative period a f x - fieldDerivative period a g x := by | |
| 95 | - change (fderiv ℝ (fun z => localFieldLift period f x z - localFieldLift period g x z) 0) a = _ | |
| 96 | - rw [fderiv_fun_sub (((hf x).differentiable (by simp)) 0) | |
| 97 | - (((hg x).differentiable (by simp)) 0)] | |
| 98 | - rfl | |
| 99 | - | |
| 100 | -theorem fieldDerivative_liftedCurl_component (κ : ℝ) (m : Vector3) | |
| 101 | - (Q : LiftDomain period → Vector3) (hQ : ∀ x, ContDiff ℝ ∞ (localFieldLift period Q x)) | |
| 102 | - (a : LiftTangent) (x : LiftDomain period) (i : Fin 3) : | |
| 103 | - (fieldDerivative period a (liftedCurl period κ m Q) x) i = | |
| 104 | - fieldDerivative period a | |
| 105 | - (fieldDerivative period (coordinateDirection κ m (i + 1)) (fun y => Q y (i + 2))) x - | |
| 106 | - fieldDerivative period a | |
| 107 | - (fieldDerivative period (coordinateDirection κ m (i + 2)) (fun y => Q y (i + 1))) x := by | |
| 108 | - change (EuclideanSpace.proj i) (fieldDerivative period a (liftedCurl period κ m Q) x) = _ | |
| 109 | - rw [← fieldDerivative_linear period (EuclideanSpace.proj i) (liftedCurl period κ m Q) | |
| 110 | - (liftedCurl_smooth period κ m Q hQ) a x] | |
| 111 | - have he : (fun y => (EuclideanSpace.proj i) (liftedCurl period κ m Q y)) = | |
| 112 | - fun y => fieldDerivative period (coordinateDirection κ m (i + 1)) (fun z => Q z (i + 2)) y - | |
| 113 | - fieldDerivative period (coordinateDirection κ m (i + 2)) (fun z => Q z (i + 1)) y := | |
| 114 | - funext fun y => liftedCurl_component_scalar period κ m Q hQ y i | |
| 115 | - rw [he] | |
| 116 | - exact scalar_fieldDerivative_sub period a _ _ | |
| 117 | - (fieldDerivative_smooth period _ _ (component_smooth period Q hQ (i + 2))) | |
| 118 | - (fieldDerivative_smooth period _ _ (component_smooth period Q hQ (i + 1))) x | |
| 119 | - | |
| 120 | -/-- The constant lifted divergence of an actual lifted curl vanishes pointwise. -/ | |
| 121 | -theorem lifted_divergence_curl (κ : ℝ) (m : Vector3) (Q : LiftDomain period → Vector3) | |
| 122 | - (hQ : ∀ x, ContDiff ℝ ∞ (localFieldLift period Q x)) (x : LiftDomain period) : | |
| 123 | - (∑ i : Fin 3, (fieldDerivative period (coordinateDirection κ m i) | |
| 124 | - (liftedCurl period κ m Q) x) i) = 0 := by | |
| 125 | - simp only [fieldDerivative_liftedCurl_component period κ m Q hQ, Fin.sum_univ_three] | |
| 126 | - have h01 := fieldDerivatives_commute period (coordinateDirection κ m 0) | |
| 127 | - (coordinateDirection κ m 1) (fun y => Q y 2) (component_smooth period Q hQ 2) x | |
| 128 | - have h02 := fieldDerivatives_commute period (coordinateDirection κ m 0) | |
| 129 | - (coordinateDirection κ m 2) (fun y => Q y 1) (component_smooth period Q hQ 1) x | |
| 130 | - have h12 := fieldDerivatives_commute period (coordinateDirection κ m 1) | |
| 131 | - (coordinateDirection κ m 2) (fun y => Q y 0) (component_smooth period Q hQ 0) x | |
| 132 | - change | |
| 133 | - (fieldDerivative period (coordinateDirection κ m 0) | |
| 134 | - (fieldDerivative period (coordinateDirection κ m 1) (fun y => Q y 2)) x - | |
| 135 | - fieldDerivative period (coordinateDirection κ m 0) | |
| 136 | - (fieldDerivative period (coordinateDirection κ m 2) (fun y => Q y 1)) x) + | |
| 137 | - (fieldDerivative period (coordinateDirection κ m 1) | |
| 138 | - (fieldDerivative period (coordinateDirection κ m 2) (fun y => Q y 0)) x - | |
| 139 | - fieldDerivative period (coordinateDirection κ m 1) | |
| 140 | - (fieldDerivative period (coordinateDirection κ m 0) (fun y => Q y 2)) x) + | |
| 141 | - (fieldDerivative period (coordinateDirection κ m 2) | |
| 142 | - (fieldDerivative period (coordinateDirection κ m 0) (fun y => Q y 1)) x - | |
| 143 | - fieldDerivative period (coordinateDirection κ m 2) | |
| 144 | - (fieldDerivative period (coordinateDirection κ m 1) (fun y => Q y 0)) x) = 0 | |
| 145 | - rw [h01, h02, h12] | |
| 146 | - ring | |
| 147 | - | |
| 148 | 82 | theorem component_compact (Q : LiftDomain period → Vector3) (hQ : HasCompactSupport Q) |
| 149 | 83 | (i : Fin 3) : HasCompactSupport (fun x => Q x i) := |
| 150 | 84 | hQ.of_isClosed_subset (isClosed_tsupport _) |
+0 −28 Euler/PacketLiftedPiola.lean View file
| @@ -143,21 +143,6 @@ theorem liftedPullbackCovector_compact (Ξ : Space → Space) | ||
| 143 | 143 | simp only [Function.mem_support, not_not] at hx ⊢ |
| 144 | 144 | simp only [liftedPullbackCovector, hx, map_zero] |
| 145 | 145 | |
| 146 | -/-- Actual pointwise lifted divergence vanishes for the transformed packet curl. -/ | |
| 147 | -theorem lifted_divergence_piola_curl (κ : ℝ) (m : Space) (Ξ : Space → Space) | |
| 148 | - (Q : LiftDomain period → Space) (hΞ : ContDiff ℝ ∞ Ξ) | |
| 149 | - (F : Space → Space ≃L[ℝ] Space) | |
| 150 | - (hF : ∀ y, fderiv ℝ Ξ y = (F y).toContinuousLinearMap) | |
| 151 | - (hdet : ∀ y, (operatorMatrix (F y).toContinuousLinearMap).det = 1) | |
| 152 | - (hQ : ∀ x, ContDiff ℝ ∞ (localFieldLift period Q x)) (x : LiftDomain period) : | |
| 153 | - (∑ i : Fin 3, (fieldDerivative period (coordinateDirection κ m i) | |
| 154 | - (fun y => (F y.1).symm (transformedLiftedCurl period κ m F Q y)) x) i) = 0 := by | |
| 155 | - have he : (fun y => (F y.1).symm (transformedLiftedCurl period κ m F Q y)) = | |
| 156 | - liftedCurl period κ m (liftedPullbackCovector period Ξ Q) := | |
| 157 | - funext fun y => lifted_piola_curl period κ m Ξ Q (hΞ.of_le (by simp)) F hF hdet hQ y | |
| 158 | - rw [he] | |
| 159 | - exact lifted_divergence_curl period κ m _ (liftedPullbackCovector_smooth period Ξ Q hΞ hQ) x | |
| 160 | - | |
| 161 | 146 | variable [Fact (0 < period)] |
| 162 | 147 | |
| 163 | 148 | /-- A genuine Bochner L² realization of the pulled-back packet curl. -/ |
| @@ -169,19 +154,6 @@ def piolaLiftedCurlLp (κ : ℝ) (m : Space) (Ξ : Space → Space) | ||
| 169 | 154 | (liftedPullbackCovector_compact period Ξ Q hc) |
| 170 | 155 | (liftedPullbackCovector_smooth period Ξ Q hΞ hQ) |
| 171 | 156 | |
| 172 | -theorem piolaLiftedCurlLp_ae (κ : ℝ) (m : Space) (Ξ : Space → Space) | |
| 173 | - (Q : LiftDomain period → Space) (hΞ : ContDiff ℝ ∞ Ξ) | |
| 174 | - (hc : HasCompactSupport Q) (hQ : ∀ x, ContDiff ℝ ∞ (localFieldLift period Q x)) | |
| 175 | - (F : Space → Space ≃L[ℝ] Space) | |
| 176 | - (hF : ∀ y, fderiv ℝ Ξ y = (F y).toContinuousLinearMap) | |
| 177 | - (hdet : ∀ y, (operatorMatrix (F y).toContinuousLinearMap).det = 1) : | |
| 178 | - (piolaLiftedCurlLp period κ m Ξ Q hΞ hc hQ : LiftDomain period → Space) =ᵐ[liftMeasure period] | |
| 179 | - (fun x => (F x.1).symm (transformedLiftedCurl period κ m F Q x)) := by | |
| 180 | - filter_upwards [liftedCurlLp_ae period κ m (liftedPullbackCovector period Ξ Q) | |
| 181 | - (liftedPullbackCovector_compact period Ξ Q hc) | |
| 182 | - (liftedPullbackCovector_smooth period Ξ Q hΞ hQ)] with x hx | |
| 183 | - exact hx.trans (lifted_piola_curl period κ m Ξ Q (hΞ.of_le (by simp)) F hF hdet hQ x).symm | |
| 184 | - | |
| 185 | 157 | /-- The pulled-back packet satisfies the exact closed constraint used by correction assembly. -/ |
| 186 | 158 | theorem piolaLiftedCurlLp_mem (κ : ℝ) (m : Space) (Ξ : Space → Space) |
| 187 | 159 | (Q : LiftDomain period → Space) (hΞ : ContDiff ℝ ∞ Ξ) |
+0 −44 Euler/PacketLiftedSmallness.lean View file
| @@ -13,48 +13,4 @@ open scoped Topology | ||
| 13 | 13 | |
| 14 | 14 | def liftedAmplitude (C E k : ℝ) : ℝ := C/k + E*delta (expansion k) |
| 15 | 15 | |
| 16 | -theorem fixed_div_eventually_le_inverse_half (C : ℝ) : | |
| 17 | - ∀ᶠ k : ℝ in atTop, C/k ≤ k^(-(1/2 : ℝ)) := by | |
| 18 | - filter_upwards [(_root_.tendsto_rpow_atTop (by norm_num : (0 : ℝ) < 1/2)).eventually_ge_atTop C, | |
| 19 | - eventually_gt_atTop (0 : ℝ)] with k hC hk | |
| 20 | - apply (div_le_iff₀ hk).mpr | |
| 21 | - have he : k^(-(1/2 : ℝ))*k = k^(1/2 : ℝ) := by | |
| 22 | - calc | |
| 23 | - _ = k^(-(1/2 : ℝ))*k^(1 : ℝ) := by rw [Real.rpow_one] | |
| 24 | - _ = k^(-(1/2 : ℝ)+1) := (Real.rpow_add hk _ _).symm | |
| 25 | - _ = _ := by norm_num | |
| 26 | - rwa [he] | |
| 27 | - | |
| 28 | -theorem liftedAmplitude_nonneg (C E k : ℝ) (hC : 0 ≤ C) (hE : 0 ≤ E) (hk : 0 ≤ k) : | |
| 29 | - 0 ≤ liftedAmplitude C E k := by | |
| 30 | - unfold liftedAmplitude | |
| 31 | - exact add_nonneg (div_nonneg hC hk) (mul_nonneg hE (delta_pos (expansion k)).le) | |
| 32 | - | |
| 33 | -theorem liftedAmplitude_eventually_le_inverse_half (C E : ℝ) : | |
| 34 | - ∀ᶠ k : ℝ in atTop, liftedAmplitude C E k ≤ 2*k^(-(1/2 : ℝ)) := by | |
| 35 | - filter_upwards [fixed_div_eventually_le_inverse_half C, | |
| 36 | - correction_eventually_lt_inverse_power E (1/2)] with k hC hE | |
| 37 | - have h := add_le_add hC hE.le | |
| 38 | - simpa only [liftedAmplitude, two_mul] using h | |
| 39 | - | |
| 40 | -theorem liftedAmplitude_small_eventually (C E R T : ℝ) | |
| 41 | - (hC : 0 ≤ C) (hE : 0 ≤ E) (hR : 0 ≤ R) (hT : 0 ≤ T) : | |
| 42 | - ∀ᶠ k : ℝ in atTop, 4 ≤ k ∧ 0 ≤ liftedAmplitude C E k ∧ | |
| 43 | - liftedAmplitude C E k ≤ 2*k^(-(1/2 : ℝ)) ∧ | |
| 44 | - liftedAmplitude C E k*R*T ≤ 1/8 := by | |
| 45 | - filter_upwards [eventually_ge_atTop (4 : ℝ), | |
| 46 | - liftedAmplitude_eventually_le_inverse_half C E, | |
| 47 | - (_root_.tendsto_rpow_atTop (by norm_num : (0 : ℝ) < 1/2)).eventually_ge_atTop (16*R*T)] | |
| 48 | - with k hk hb hroot | |
| 49 | - have hk0 : 0 < k := by linarith | |
| 50 | - have hp : 0 < k^(1/2 : ℝ) := Real.rpow_pos_of_pos hk0 _ | |
| 51 | - refine ⟨hk, liftedAmplitude_nonneg C E k hC hE hk0.le, hb, ?_⟩ | |
| 52 | - calc | |
| 53 | - _ ≤ (2*k^(-(1/2 : ℝ)))*R*T := | |
| 54 | - mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hb hR) hT | |
| 55 | - _ = (2*R*T)/k^(1/2 : ℝ) := by rw [Real.rpow_neg hk0.le]; ring | |
| 56 | - _ ≤ 1/8 := by | |
| 57 | - apply (div_le_iff₀ hp).mpr | |
| 58 | - nlinarith | |
| 59 | - | |
| 60 | 16 | end EulerPacketSourceFrequency |
+0 −33 Euler/PacketLiftedTimeBounds.lean View file
| @@ -84,39 +84,6 @@ theorem Budget.liftedPacketDerivativeCoefficient_memLp (H : Field P T raw_t) | ||
| 84 | 84 | ((B.timeDerivativeTower P).pointField_smooth t) n |
| 85 | 85 | (H.toFieldTower.coverTensor_memLp n t) ((B.timeDerivativeTower P).coverTensor_memLp n t)) |
| 86 | 86 | |
| 87 | -theorem Budget.liftedPacketDerivativeCoefficient_jet_bound (H : Field P T raw_t) | |
| 88 | - (R ρ Ch Ce : ℝ) (hκ : |A.κ| ≤ 1) (hm : ‖A.direction‖ ≤ 1) | |
| 89 | - (hR : 0 ≤ R) (hρ : 0 < ρ) (hCh : 0 ≤ Ch) (hCe : 0 ≤ Ce) | |
| 90 | - (hH : H.WordBound 6 R Ch 0) | |
| 91 | - (hE : ∀ n (t : Icc (0 : ℝ) T), | |
| 92 | - weightedNorm P 6 n ρ ((B.timeDerivativeTower P).realization (n+6) t) ≤ Ce) (n : ℕ) : | |
| 93 | - ‖(B.liftedPacketDerivativeCoefficient P H).jet n‖ ≤ | |
| 94 | - (2*liftedInputConstant P*(Ch+Ce)) * (liftedInputRadius R ρ)^n * (n.factorial : ℝ)^2 := by | |
| 95 | - have hK : 0 ≤ liftedInputConstant P := zero_le_one.trans (liftedInputConstant_one_le P) | |
| 96 | - have hh := (hH.toSmoothTimeField_jet_bound (by norm_num) hR hCh n).trans | |
| 97 | - (time_envelope_mono (mul_nonneg hK hCh) (mul_nonneg (norm_nonneg _) hR) | |
| 98 | - (mul_le_mul_of_nonneg_right (liftedInputConstant_embedding_le P) hCh) | |
| 99 | - (liftedInputRadius_packet R ρ hR hρ) n) | |
| 100 | - have he : ‖(B.correctionDerivativeCoefficient P).jet n‖ ≤ | |
| 101 | - (liftedInputConstant P*Ce)*(liftedInputRadius R ρ)^n*(n.factorial : ℝ)^2 := | |
| 102 | - ((B.timeDerivativeTower P).toSmoothTimeField_jet_weighted n ρ Ce hρ hCe (hE n)).trans | |
| 103 | - (time_envelope_mono (mul_nonneg hK hCe) (mul_nonneg (norm_nonneg _) (inv_nonneg.mpr hρ.le)) | |
| 104 | - (mul_le_mul_of_nonneg_right (liftedInputConstant_embedding_le P) hCe) | |
| 105 | - (liftedInputRadius_error R ρ hR) n) | |
| 106 | - have hsum := (H.toSmoothTimeField.add_jet_norm_le (B.correctionDerivativeCoefficient P) n).trans | |
| 107 | - (add_le_add hh he) | |
| 108 | - have hfull := lift_jet_norm_le_full | |
| 109 | - (H.toSmoothTimeField.add (B.correctionDerivativeCoefficient P)) A.κ A.direction n | |
| 110 | - change ‖(lift (H.toSmoothTimeField.add (B.correctionDerivativeCoefficient P)) A.κ A.direction).jet n‖ ≤ _ | |
| 111 | - apply hfull.trans | |
| 112 | - calc | |
| 113 | - _ ≤ 2*‖(H.toSmoothTimeField.add (B.correctionDerivativeCoefficient P)).jet n‖ := | |
| 114 | - mul_le_mul_of_nonneg_right (by linarith) (norm_nonneg _) | |
| 115 | - _ ≤ 2*((liftedInputConstant P*Ch)*(liftedInputRadius R ρ)^n*(n.factorial : ℝ)^2 + | |
| 116 | - (liftedInputConstant P*Ce)*(liftedInputRadius R ρ)^n*(n.factorial : ℝ)^2) := | |
| 117 | - mul_le_mul_of_nonneg_left hsum (by norm_num) | |
| 118 | - _ = _ := by ring | |
| 119 | - | |
| 120 | 87 | theorem Budget.liftedPacketDerivativeCoefficient_L2_bound (H : Field P T raw_t) |
| 121 | 88 | (R ρ Ch Ce : ℝ) (hκ : |A.κ| ≤ 1) (hm : ‖A.direction‖ ≤ 1) |
| 122 | 89 | (hR : 0 ≤ R) (hρ : 0 < ρ) (hCh : 0 ≤ Ch) (hCe : 0 ≤ Ce) |
+0 −11 Euler/PacketLowGrades.lean View file
| @@ -29,15 +29,4 @@ namespace EulerPacketPointJets | ||
| 29 | 29 | |
| 30 | 30 | open Finset EulerSmoothLimit EulerPacketResidual |
| 31 | 31 | |
| 32 | -/-- This is the coefficient equation used in the source recursion, with actual derivatives. -/ | |
| 33 | -theorem momentumGrade_eq_diagonal (N n : ℕ) (hn : n+1 ≤ N) | |
| 34 | - (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 35 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) : | |
| 36 | - momentumGrade N FInv M m u p z n = | |
| 37 | - linearPart M (jet (u n) z) + slowPressure FInv (jet (p n) z) + | |
| 38 | - fastPressure m (jet (p (n+1)) z) + | |
| 39 | - (∑ i ∈ range (n+1), slowAdvection FInv (jet (u i) z) (jet (u (n-i)) z)) + | |
| 40 | - (∑ i ∈ range (n+2), fastAdvection m (jet (u i) z) (jet (u (n+1-i)) z)) := | |
| 41 | - coefficient_eq_diagonal N n hn _ _ _ _ _ _ _ | |
| 42 | - | |
| 43 | 32 | end EulerPacketPointJets |
+0 −19 Euler/PacketMajorantShift.lean View file
| @@ -20,25 +20,6 @@ theorem majorant_mono_shift (R : ℝ) (hR : 1 ≤ R) (d D n : ℕ) (h : d ≤ D) | ||
| 20 | 20 | exact mul_le_mul (pow_le_pow_right₀ hR (Nat.add_le_add_left h n)) hs |
| 21 | 21 | (sq_nonneg _) (pow_nonneg (by linarith) _) |
| 22 | 22 | |
| 23 | -/-- A single spare shift pays a linear number of grade terms at one fixed radius. -/ | |
| 24 | -theorem linear_grade_cost_absorbed (C R : ℝ) (hC : 0 ≤ C) (hR : C ≤ R) | |
| 25 | - (p d n : ℕ) (hd : 0 < d) (hpd : p ≤ d) : | |
| 26 | - (C*(p : ℝ))*majorant R (d-1) n ≤ majorant R d n := by | |
| 27 | - have hR0 : 0 ≤ R := hC.trans hR | |
| 28 | - have hnd : (1 : ℝ) ≤ ((n+d : ℕ) : ℝ) := by exact_mod_cast (show 1 ≤ n+d by omega) | |
| 29 | - have hpnd : (p : ℝ) ≤ ((n+d : ℕ) : ℝ) := by exact_mod_cast (show p ≤ n+d by omega) | |
| 30 | - have hpsq : (p : ℝ) ≤ ((n+d : ℕ) : ℝ)^2 := by | |
| 31 | - nlinarith [mul_nonneg (show (0 : ℝ) ≤ ((n+d : ℕ) : ℝ) by positivity) (sub_nonneg.mpr hnd)] | |
| 32 | - have hcost : C*(p : ℝ) ≤ R*((n+d : ℕ) : ℝ)^2 := | |
| 33 | - (mul_le_mul_of_nonneg_left hpsq hC).trans (mul_le_mul_of_nonneg_right hR (sq_nonneg _)) | |
| 34 | - calc | |
| 35 | - _ ≤ (R*((n+d : ℕ) : ℝ)^2)*majorant R (d-1) n := | |
| 36 | - mul_le_mul_of_nonneg_right hcost (majorant_nonneg R hR0 _ _) | |
| 37 | - _ = majorant R d n := by | |
| 38 | - have h := majorant_succ_identity R (d-1) n | |
| 39 | - rw [show d-1+1=d by omega, show n+(d-1)+1=n+d by omega] at h | |
| 40 | - exact h.symm | |
| 41 | - | |
| 42 | 23 | theorem factorial_sum_split (n d : ℕ) : |
| 43 | 24 | (n+d).factorial ≤ 2^(n+d)*n.factorial*d.factorial := by |
| 44 | 25 | calc |
+0 −12 Euler/PacketMeanGradeBounds.lean View file
| @@ -95,16 +95,4 @@ theorem grade_bounds : | ||
| 95 | 95 | · exact (hπ.normalize_const D.T_pos.le (S.H0^(2*p-2)) hc).absorb_amplitude_to |
| 96 | 96 | L.radius_bounds.1 L.costs_nonneg.2.2.2 W.pressureGradient hroom |
| 97 | 97 | |
| 98 | -theorem vector_grade_bound : | |
| 99 | - ((G.vectorCylinderField P).normalized D.T_pos.le (S.mean p) (S.mean_pos p)).WordBound | |
| 100 | - 6 R 1 (meanShift p) := (L.grade_bounds W S G F p hp hforce).1 | |
| 101 | - | |
| 102 | -theorem derivative_grade_bound : | |
| 103 | - ((G.vectorDerivativeCylinderField P).normalized D.T_pos.le (S.mean p) (S.mean_pos p)).WordBound | |
| 104 | - 6 R 1 (meanShift p) := (L.grade_bounds W S G F p hp hforce).2.1 | |
| 105 | - | |
| 106 | -theorem pressure_gradient_grade_bound : | |
| 107 | - ((G.pressureGradientCylinderField P).normalized D.T_pos.le (S.mean p) (S.mean_pos p)).WordBound | |
| 108 | - 6 R 1 (meanShift p) := (L.grade_bounds W S G F p hp hforce).2.2 | |
| 109 | - | |
| 110 | 98 | end EulerMeanPacketProvider.Budget |
+0 −6 Euler/PacketMeanPressureStepBound.lean View file
| @@ -56,10 +56,4 @@ theorem meanPressure_step_exists : | ||
| 56 | 56 | refine ⟨Q,?_⟩ |
| 57 | 57 | exact (LM.grade_bounds WM S GM MF p hp hMF).2.2.of_path_eq _ rfl |
| 58 | 58 | |
| 59 | -include WM BC hmean hRc hcost hp hG hc₀ hB₁ hA in | |
| 60 | -theorem meanPressure_step_bound (Q : Field P M.T (pressureGradient (step O p a).meanPressure)) : | |
| 61 | - (Q.normalized M.T_pos.le (S.mean p) (S.mean_pos p)).WordBound 6 R 1 (meanShift p) := by | |
| 62 | - obtain ⟨Q₀,hQ₀⟩ := meanPressure_step_exists M LM WM C BC hmean hRc hcost S hp G hG hc₀ hB₁ hA | |
| 63 | - exact hQ₀.normalized_of_raw_eq Q M.T_pos.le (S.mean p) (S.mean_pos p) (fun _ _ _ => rfl) | |
| 64 | - | |
| 65 | 59 | end EulerPacketCylinderField.ProfileBudget |
+0 −51 Euler/PacketMomentumExpansion.lean View file
| @@ -9,55 +9,4 @@ namespace EulerPacketPointJets | ||
| 9 | 9 | |
| 10 | 10 | open Finset EulerSmoothLimit EulerFiniteGrades EulerPacketResidual |
| 11 | 11 | |
| 12 | -def momentumGrade (N : ℕ) (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 13 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) (n : ℕ) : Space := | |
| 14 | - coefficient N (linearPart M) (slowPressure FInv) (fastPressure m) | |
| 15 | - (slowAdvection FInv) (fastAdvection m) (fun i => jet (u i) z) (fun i => jet (p i) z) n | |
| 16 | - | |
| 17 | -/-- The equality expands the actual derivatives of the finite velocity and pressure sums. -/ | |
| 18 | -theorem momentum_fieldSum_eq (N : ℕ) (κ : ℝ) (hκ : κ ≠ 0) | |
| 19 | - (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 20 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) | |
| 21 | - (hu : ∀ i ≤ N, DifferentiableAt ℝ (u i) z) | |
| 22 | - (hp : ∀ i ≤ N, DifferentiableAt ℝ (p i) z) | |
| 23 | - (hu0 : jet (u 0) z=0) (hp0 : fastPressure m (jet (p 0) z)=0) : | |
| 24 | - momentumResidual κ FInv M m (fieldSum N κ u) (fieldSum N κ p) z = | |
| 25 | - evaluate (2*N) κ (momentumGrade N FInv M m u p z) := by | |
| 26 | - unfold momentumResidual | |
| 27 | - rw [jet_fieldSum N κ u z hu, jet_fieldSum N κ p z hp] | |
| 28 | - exact residual_eq_evaluate N κ hκ (linearPart M) (slowPressure FInv) (fastPressure m) | |
| 29 | - (slowAdvection FInv) (fastAdvection m) (fun i => jet (u i) z) (fun i => jet (p i) z) hu0 hp0 | |
| 30 | - | |
| 31 | -/-- The source's finite packet has no residual grades through N once its coefficient equations hold. -/ | |
| 32 | -theorem momentum_fieldSum_tail (N : ℕ) (κ : ℝ) (hκ : κ ≠ 0) | |
| 33 | - (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 34 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) | |
| 35 | - (hu : ∀ i ≤ N+1, DifferentiableAt ℝ (u i) z) | |
| 36 | - (hp : ∀ i ≤ N+1, DifferentiableAt ℝ (p i) z) | |
| 37 | - (hu0 : jet (u 0) z=0) (hp0 : fastPressure m (jet (p 0) z)=0) | |
| 38 | - (hcancel : ∀ n ≤ N, momentumGrade (N+1) FInv M m u p z n=0) : | |
| 39 | - momentumResidual κ FInv M m (fieldSum (N+1) κ u) (fieldSum (N+1) κ p) z = | |
| 40 | - ∑ n ∈ Ico (N+1) (2*N+3), κ^n • momentumGrade (N+1) FInv M m u p z n := by | |
| 41 | - unfold momentumResidual | |
| 42 | - rw [jet_fieldSum (N+1) κ u z hu, jet_fieldSum (N+1) κ p z hp] | |
| 43 | - exact packet_residual_eq_tail N κ hκ (linearPart M) (slowPressure FInv) (fastPressure m) | |
| 44 | - (slowAdvection FInv) (fastAdvection m) (fun i => jet (u i) z) (fun i => jet (p i) z) | |
| 45 | - hu0 hp0 hcancel | |
| 46 | - | |
| 47 | -/-- A bound on the actual residual follows from the surviving coefficient norms. -/ | |
| 48 | -theorem norm_momentum_fieldSum_le (N : ℕ) (κ : ℝ) (hκ : κ ≠ 0) | |
| 49 | - (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 50 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) | |
| 51 | - (hu : ∀ i ≤ N+1, DifferentiableAt ℝ (u i) z) | |
| 52 | - (hp : ∀ i ≤ N+1, DifferentiableAt ℝ (p i) z) | |
| 53 | - (hu0 : jet (u 0) z=0) (hp0 : fastPressure m (jet (p 0) z)=0) | |
| 54 | - (hcancel : ∀ n ≤ N, momentumGrade (N+1) FInv M m u p z n=0) : | |
| 55 | - ‖momentumResidual κ FInv M m (fieldSum (N+1) κ u) (fieldSum (N+1) κ p) z‖ ≤ | |
| 56 | - ∑ n ∈ Ico (N+1) (2*N+3), |κ|^n * ‖momentumGrade (N+1) FInv M m u p z n‖ := by | |
| 57 | - rw [momentum_fieldSum_tail N κ hκ FInv M m u p z hu hp hu0 hp0 hcancel] | |
| 58 | - calc | |
| 59 | - _ ≤ ∑ n ∈ Ico (N+1) (2*N+3), ‖κ^n • momentumGrade (N+1) FInv M m u p z n‖ := | |
| 60 | - norm_sum_le _ _ | |
| 61 | - _ = _ := by simp only [norm_smul, norm_pow, Real.norm_eq_abs] | |
| 62 | - | |
| 63 | 12 | end EulerPacketPointJets |
+0 −31 Euler/PacketMovingFrame.lean View file
| @@ -31,12 +31,6 @@ def crossBilinear : Space →L[ℝ] Space →L[ℝ] Space := | ||
| 31 | 31 | |
| 32 | 32 | theorem crossBilinear_apply (a b : Space) : crossBilinear a b = cross a b := rfl |
| 33 | 33 | |
| 34 | -theorem cross_hasDerivAt {p q : ℝ → Space} {p' q' : Space} {t : ℝ} | |
| 35 | - (hp : HasDerivAt p p' t) (hq : HasDerivAt q q' t) : | |
| 36 | - HasDerivAt (fun s => cross (p s) (q s)) (cross p' (q t) + cross (p t) q') t := by | |
| 37 | - have h := (crossBilinear.hasFDerivAt.comp_hasDerivAt t hp).clm_apply hq | |
| 38 | - simpa only [Function.comp_def, crossBilinear_apply] using h | |
| 39 | - | |
| 40 | 34 | theorem cross_hasDerivWithinAt {p q : ℝ → Space} {p' q' : Space} {t : ℝ} {S : Set ℝ} |
| 41 | 35 | (hp : HasDerivWithinAt p p' S t) (hq : HasDerivWithinAt q q' S t) : |
| 42 | 36 | HasDerivWithinAt (fun s => cross (p s) (q s)) (cross p' (q t) + cross (p t) q') S t := by |
| @@ -170,19 +164,6 @@ theorem frameRate_skew (B : Space →L[ℝ] Space) (p q : Space) | ||
| 170 | 164 | |
| 171 | 165 | def normalizedFrame (m v : ℝ → Space) (t : ℝ) : Fin 3 → Space := frame (unit (m t)) (unit (v t)) |
| 172 | 166 | |
| 173 | -theorem normalizedFrame_hasDerivAt (B : Space →L[ℝ] Space) {m v : ℝ → Space} {t : ℝ} | |
| 174 | - (hm : HasDerivAt m (-B.adjoint (m t)) t) | |
| 175 | - (hv : HasDerivAt v (-B (v t) + (2*⟪m t,B (v t)⟫_ℝ / ‖m t‖^2) • m t) t) | |
| 176 | - (hm0 : m t ≠ 0) (hv0 : v t ≠ 0) (hmv : ⟪m t,v t⟫_ℝ = 0) (i : Fin 3) : | |
| 177 | - HasDerivAt (fun s => normalizedFrame m v s i) | |
| 178 | - (frameRate B (unit (m t)) (unit (v t)) i) t := by | |
| 179 | - have hp := normalized_ray_hasDerivAt B hm hm0 | |
| 180 | - have hq := normalized_velocity_hasDerivAt B hv hv0 hmv | |
| 181 | - fin_cases i | |
| 182 | - · exact hp | |
| 183 | - · exact hq | |
| 184 | - · exact cross_hasDerivAt hp hq | |
| 185 | - | |
| 186 | 167 | theorem normalizedFrame_hasDerivWithinAt (B : Space →L[ℝ] Space) |
| 187 | 168 | {m v : ℝ → Space} {t : ℝ} {S : Set ℝ} |
| 188 | 169 | (hm : HasDerivWithinAt m (-B.adjoint (m t)) S t) |
| @@ -197,16 +178,4 @@ theorem normalizedFrame_hasDerivWithinAt (B : Space →L[ℝ] Space) | ||
| 197 | 178 | · exact hq |
| 198 | 179 | · exact cross_hasDerivWithinAt hp hq |
| 199 | 180 | |
| 200 | -/-- The source skew matrix is now identified with the derivative of the | |
| 201 | -actual normalized ray/velocity frame. -/ | |
| 202 | -theorem normalizedFrame_skew (B : Space →L[ℝ] Space) {m v : ℝ → Space} {t : ℝ} | |
| 203 | - (hm : HasDerivAt m (-B.adjoint (m t)) t) | |
| 204 | - (hv : HasDerivAt v (-B (v t) + (2*⟪m t,B (v t)⟫_ℝ / ‖m t‖^2) • m t) t) | |
| 205 | - (hm0 : m t ≠ 0) (hv0 : v t ≠ 0) (hmv : ⟪m t,v t⟫_ℝ = 0) (i j : Fin 3) : | |
| 206 | - ⟪normalizedFrame m v t i, deriv (fun s => normalizedFrame m v s j) t⟫_ℝ = | |
| 207 | - EulerPacketRay.frameSkew (frameMatrix B (unit (m t)) (unit (v t))) i j := by | |
| 208 | - rw [(normalizedFrame_hasDerivAt B hm hv hm0 hv0 hmv j).deriv] | |
| 209 | - exact frameRate_skew B (unit (m t)) (unit (v t)) | |
| 210 | - (unit_inner_self hm0) (unit_inner_self hv0) (unit_inner_zero hmv) i j | |
| 211 | - | |
| 212 | 181 | end EulerPacketMovingFrame |
+0 −17 Euler/PacketMovingRay.lean View file
| @@ -36,23 +36,6 @@ theorem movingRayRate_identity (B M : Space →L[ℝ] Space) (p q x : Space) | ||
| 36 | 36 | def movingRay (m v r : ℝ → Space) (t : ℝ) (i : Fin 3) : ℝ := |
| 37 | 37 | ⟪normalizedFrame m v t i,r t⟫_ℝ |
| 38 | 38 | |
| 39 | -/-- The actual moving-coordinate ray obeys `-(M-S)ᵀ`, with the skew | |
| 40 | -matrix already derived from the older primary ODE. -/ | |
| 41 | -theorem movingRay_hasDerivAt (B M : Space →L[ℝ] Space) | |
| 42 | - {m v r : ℝ → Space} {t : ℝ} | |
| 43 | - (hm : HasDerivAt m (-B.adjoint (m t)) t) | |
| 44 | - (hv : HasDerivAt v (-B (v t) + (2*⟪m t,B (v t)⟫_ℝ / ‖m t‖^2) • m t) t) | |
| 45 | - (hr : HasDerivAt r (-M.adjoint (r t)) t) | |
| 46 | - (hm0 : m t ≠ 0) (hv0 : v t ≠ 0) (hmv : ⟪m t,v t⟫_ℝ = 0) (i : Fin 3) : | |
| 47 | - HasDerivAt (fun s => movingRay m v r s i) | |
| 48 | - (-(∑ j : Fin 3, (frameMatrix M (unit (m t)) (unit (v t)) j i - | |
| 49 | - EulerPacketRay.frameSkew (frameMatrix B (unit (m t)) (unit (v t))) j i) * | |
| 50 | - movingRay m v r t j)) t := by | |
| 51 | - have h := (normalizedFrame_hasDerivAt B hm hv hm0 hv0 hmv i).inner ℝ hr | |
| 52 | - have he := movingRayRate_identity B M (unit (m t)) (unit (v t)) (r t) | |
| 53 | - (unit_inner_self hm0) (unit_inner_self hv0) (unit_inner_zero hmv) i | |
| 54 | - simpa only [movingRay, normalizedFrame, inner_neg_right, adjoint_inner_right, he] using h | |
| 55 | - | |
| 56 | 39 | /-- The same physical coordinate equation holds with one-sided endpoint derivatives. -/ |
| 57 | 40 | theorem movingRay_hasDerivWithinAt (B M : Space →L[ℝ] Space) |
| 58 | 41 | {m v r : ℝ → Space} {t : ℝ} {S : Set ℝ} |
+0 −34 Euler/PacketNeighborInitial.lean View file
| @@ -90,18 +90,6 @@ theorem scaledRay_initial_error {m v r : ℝ → Space} {s₀ t₀ a ε D : ℝ} | ||
| 90 | 90 | |
| 91 | 91 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 92 | 92 | |
| 93 | -omit [CompleteSpace U] in | |
| 94 | -theorem frame_pair_operator_difference_le {T ε D : ℝ} | |
| 95 | - (A B : U →L[ℝ] C(Icc (0:ℝ) T, Space)) (ξ : U) (t : Icc (0:ℝ) T) | |
| 96 | - {p q : Space} (hp : ‖p‖ = 1) (hq : ‖q‖ = 1) | |
| 97 | - (hε : 0 < ε) (hε1 : ε ≤ 1) (hAB : ‖A-B‖ ≤ D) : | |
| 98 | - |⟪p,A ξ t⟫_ℝ/ε-⟪p,B ξ t⟫_ℝ/ε|+|⟪q,A ξ t⟫_ℝ-⟪q,B ξ t⟫_ℝ| ≤ | |
| 99 | - 2*D*‖ξ‖/ε := by | |
| 100 | - have hn : ‖A ξ t-B ξ t‖ ≤ D*‖ξ‖ := by | |
| 101 | - exact (((A-B) ξ).norm_coe_le_norm t).trans (((A-B).le_opNorm ξ).trans | |
| 102 | - (mul_le_mul_of_nonneg_right hAB (norm_nonneg ξ))) | |
| 103 | - simpa only [mul_assoc] using frame_pair_difference_le hp hq hε hε1 hn | |
| 104 | - | |
| 105 | 93 | variable (T : ℝ) (hT : 0 ≤ T) |
| 106 | 94 | (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] Space)) |
| 107 | 95 | (H : C(Icc (0 : ℝ) T, Space →L[ℝ] Space)) |
| @@ -115,26 +103,4 @@ variable (T : ℝ) (hT : 0 ≤ T) | ||
| 115 | 103 | (hp : ∀ t : Icc (0:ℝ) T, HasDerivWithinAt (extendPath T hT P) (P₁ t) (Icc (0:ℝ) T) t) |
| 116 | 104 | (hG : ∀ t z, ⟪G t z,z⟫_ℝ ≤ K*‖z‖^2) |
| 117 | 105 | |
| 118 | -/-- The two actual stationary histories use the same terminal coordinate | |
| 119 | -`ξ`; physical coefficient differences give the scaled initial error. -/ | |
| 120 | -theorem history_scaled_pair_difference_le (hTpos : 0 < T) (q q₁ d a r : ℝ) | |
| 121 | - (hQn : ‖Q‖ ≤ q) (hPn : ‖P‖ ≤ q) (hQ₁n : ‖Q₁‖ ≤ q₁) (hP₁n : ‖P₁‖ ≤ q₁) | |
| 122 | - (hD : T*‖Q₁‖+‖Q‖ ≤ d) (hD' : T*‖P₁‖+‖P‖ ≤ d) | |
| 123 | - (hA : 1+T^2*‖H‖ ≤ a) (hA' : 1+T^2*‖G‖ ≤ a) | |
| 124 | - (hr : transportCost T Q Q₁ c ≤ r) (hr' : transportCost T P P₁ c ≤ r) | |
| 125 | - (L₀ L₁ LH s : ℝ) (h₀ : ‖Q-P‖ ≤ L₀*s) (h₁ : ‖Q₁-P₁‖ ≤ L₁*s) (hHdiff : ‖H-G‖ ≤ LH*s) | |
| 126 | - (ξ : U) (t : Icc (0:ℝ) T) {p₀ q₀ : Space} (hp₀ : ‖p₀‖ = 1) (hq₀ : ‖q₀‖ = 1) | |
| 127 | - {ε : ℝ} (hε : 0 < ε) (hε1 : ε ≤ 1) : | |
| 128 | - let u := historyVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ t | |
| 129 | - let v := historyVelocity T hT P P₁ G c hc hP hp K hK hG hsmall ξ t | |
| 130 | - |⟪p₀,u⟫_ℝ/ε-⟪p₀,v⟫_ℝ/ε|+|⟪q₀,u⟫_ℝ-⟪q₀,v⟫_ℝ| ≤ | |
| 131 | - 2*historyDifferenceCost T c q q₁ d a r L₀ L₁ LH*s*‖ξ‖/ε := by | |
| 132 | - have hh := historyVelocity_sub_norm_le_of_coefficient_bounds T hT Q Q₁ H c hc hQ hd K hK hH hsmall | |
| 133 | - P P₁ G hP hp hG hTpos q q₁ d a r hQn hPn hQ₁n hP₁n hD hD' hA hA' hr hr' | |
| 134 | - L₀ L₁ LH s h₀ h₁ hHdiff | |
| 135 | - have h := frame_pair_operator_difference_le | |
| 136 | - (historyVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall) | |
| 137 | - (historyVelocity T hT P P₁ G c hc hP hp K hK hG hsmall) ξ t hp₀ hq₀ hε hε1 hh | |
| 138 | - simpa only [mul_assoc] using h | |
| 139 | - | |
| 140 | 106 | end EulerPacketMovingFrame |
+0 −100 Euler/PacketNestedHorizons.lean View file
| @@ -24,10 +24,6 @@ def horizonTime (J : ℕ) (X : ℝ) (a β : ℕ → ℝ) (n : ℕ) : ℝ := | ||
| 24 | 24 | @[simp] theorem activationTime_zero (J : ℕ) (X : ℝ) (a β : ℕ → ℝ) : |
| 25 | 25 | activationTime J X a β 0=0 := by simp [activationTime] |
| 26 | 26 | |
| 27 | -theorem activationTime_succ (J : ℕ) (X : ℝ) (a β : ℕ → ℝ) (n : ℕ) : | |
| 28 | - activationTime J X a β (n+1)=activationTime J X a β n+stepLength J X a β n := by | |
| 29 | - exact sum_range_succ _ n | |
| 30 | - | |
| 31 | 27 | @[simp] theorem horizonTime_zero (J : ℕ) {X : ℝ} (hX : 0 < X) (a β : ℕ → ℝ) : |
| 32 | 28 | horizonTime J X a β 0=baseHorizon J X := by |
| 33 | 29 | rw [horizonTime,activationTime_zero,zero_add,baseHorizon_eq_timeWidth J hX] |
| @@ -37,100 +33,4 @@ variable (J : ℕ) (hJ : 1 ≤ J) (X : ℝ) (hX : 0 < X) (a β : ℕ → ℝ) | ||
| 37 | 33 | (hβ : ∀ n, 1/2 ≤ β n*scaleSequence J X n^2) |
| 38 | 34 | (hβ₂ : ∀ n, β n*scaleSequence J X n^2 ≤ 2) |
| 39 | 35 | |
| 40 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 41 | -theorem stepLength_bounds (n : ℕ) : | |
| 42 | - timeWidth J X n/6 ≤ stepLength J X a β n ∧ | |
| 43 | - stepLength J X a β n ≤ 2*timeWidth J X n/3 := by | |
| 44 | - have hx := quadratic_growth_pos J hJ (scaleSequence J X) hX (scaleSequence_succ J X) | |
| 45 | - exact activation_time_bounds (ha n) (ha₂ n) (previousShear_pos J hX n) | |
| 46 | - (hx n) (hx (n+1)).le (hβ n) (hβ₂ n) | |
| 47 | - | |
| 48 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 49 | -theorem stepLength_pos (n : ℕ) : 0 < stepLength J X a β n := | |
| 50 | - lt_of_lt_of_le (div_pos (timeWidth_pos J hJ hX n) (by norm_num)) | |
| 51 | - (stepLength_bounds J hJ X hX a β ha ha₂ hβ hβ₂ n).1 | |
| 52 | - | |
| 53 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 54 | -theorem activationTime_strictMono : StrictMono (activationTime J X a β) := by | |
| 55 | - apply strictMono_nat_of_lt_succ | |
| 56 | - intro n | |
| 57 | - rw [activationTime_succ] | |
| 58 | - exact lt_add_of_pos_right _ (stepLength_pos J hJ X hX a β ha ha₂ hβ hβ₂ n) | |
| 59 | - | |
| 60 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 61 | -theorem activationTime_nonneg (n : ℕ) : 0 ≤ activationTime J X a β n := by | |
| 62 | - simpa only [activationTime_zero] using | |
| 63 | - (activationTime_strictMono J hJ X hX a β ha ha₂ hβ hβ₂).monotone (Nat.zero_le n) | |
| 64 | - | |
| 65 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 66 | -theorem activationTime_pos {n : ℕ} (hn : 0 < n) : 0 < activationTime J X a β n := by | |
| 67 | - simpa only [activationTime_zero] using | |
| 68 | - activationTime_strictMono J hJ X hX a β ha ha₂ hβ hβ₂ hn | |
| 69 | - | |
| 70 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 71 | -theorem horizonTime_pos (n : ℕ) : 0 < horizonTime J X a β n := by | |
| 72 | - exact add_pos_of_nonneg_of_pos | |
| 73 | - (activationTime_nonneg J hJ X hX a β ha ha₂ hβ hβ₂ n) | |
| 74 | - (mul_pos (by norm_num) (timeWidth_pos J hJ hX n)) | |
| 75 | - | |
| 76 | -include hJ hX in | |
| 77 | -theorem activationTime_lt_horizon (n : ℕ) : | |
| 78 | - activationTime J X a β n < horizonTime J X a β n := by | |
| 79 | - exact lt_add_of_pos_right _ (mul_pos (by norm_num) (timeWidth_pos J hJ hX n)) | |
| 80 | - | |
| 81 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 82 | -theorem horizonTime_succ_le (n : ℕ) (hw : timeWidth J X (n+1) ≤ timeWidth J X n/2) : | |
| 83 | - horizonTime J X a β (n+1) ≤ horizonTime J X a β n := by | |
| 84 | - unfold horizonTime | |
| 85 | - rw [activationTime_succ] | |
| 86 | - exact nested_horizon_of_width_ratio (timeWidth_pos J hJ hX n).le | |
| 87 | - (stepLength_bounds J hJ X hX a β ha ha₂ hβ hβ₂ n).2 hw | |
| 88 | - | |
| 89 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 90 | -theorem horizonTime_antitone (hw : ∀ n, timeWidth J X (n+1) ≤ timeWidth J X n/2) : | |
| 91 | - Antitone (horizonTime J X a β) := by | |
| 92 | - exact antitone_nat_of_succ_le (fun n => | |
| 93 | - horizonTime_succ_le J hJ X hX a β ha ha₂ hβ hβ₂ n (hw n)) | |
| 94 | - | |
| 95 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 96 | -theorem horizonTime_le_base (hw : ∀ n, timeWidth J X (n+1) ≤ timeWidth J X n/2) (n : ℕ) : | |
| 97 | - horizonTime J X a β n ≤ baseHorizon J X := by | |
| 98 | - simpa only [horizonTime_zero J hX a β] using | |
| 99 | - horizonTime_antitone J hJ X hX a β ha ha₂ hβ hβ₂ hw (Nat.zero_le n) | |
| 100 | - | |
| 101 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 102 | -theorem activationTime_lower {n : ℕ} (hn : 1 ≤ n) : | |
| 103 | - baseHorizon J X/12 ≤ activationTime J X a β n := by | |
| 104 | - have hfirst := (stepLength_bounds J hJ X hX a β ha ha₂ hβ hβ₂ 0).1 | |
| 105 | - have hm := (activationTime_strictMono J hJ X hX a β ha ha₂ hβ hβ₂).monotone hn | |
| 106 | - rw [show (1 : ℕ)=0+1 by rfl,activationTime_succ,activationTime_zero,zero_add] at hm | |
| 107 | - rw [baseHorizon_eq_timeWidth J hX] | |
| 108 | - linarith only [hfirst,hm] | |
| 109 | - | |
| 110 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 111 | -theorem common_positive_interval (n : ℕ) : baseHorizon J X/12 < horizonTime J X a β n := by | |
| 112 | - by_cases hn : n=0 | |
| 113 | - · subst n | |
| 114 | - rw [horizonTime_zero J hX] | |
| 115 | - have hb := baseHorizon_pos J hJ hX | |
| 116 | - linarith only [hb] | |
| 117 | - · exact (activationTime_lower J hJ X hX a β ha ha₂ hβ hβ₂ (by omega)).trans_lt | |
| 118 | - (activationTime_lt_horizon J hJ X hX a β n) | |
| 119 | - | |
| 120 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 121 | -theorem reciprocal_horizon_le (n : ℕ) : | |
| 122 | - (horizonTime J X a β n)⁻¹ ≤ 12/baseHorizon J X := by | |
| 123 | - have hb := baseHorizon_pos J hJ hX | |
| 124 | - have hs := common_positive_interval J hJ X hX a β ha ha₂ hβ hβ₂ n | |
| 125 | - have h := one_div_le_one_div_of_le (div_pos hb (by norm_num)) hs.le | |
| 126 | - simpa only [one_div,inv_div] using h | |
| 127 | - | |
| 128 | -include hJ hX ha ha₂ hβ hβ₂ in | |
| 129 | -theorem reciprocal_activation_le {n : ℕ} (hn : 1 ≤ n) : | |
| 130 | - (activationTime J X a β n)⁻¹ ≤ 12/baseHorizon J X := by | |
| 131 | - have hb := baseHorizon_pos J hJ hX | |
| 132 | - have hs := activationTime_lower J hJ X hX a β ha ha₂ hβ hβ₂ hn | |
| 133 | - have h := one_div_le_one_div_of_le (div_pos hb (by norm_num)) hs | |
| 134 | - simpa only [one_div,inv_div] using h | |
| 135 | - | |
| 136 | 36 | end EulerPacketNestedHorizons |
+0 −50 Euler/PacketNormalizedPrimary.lean View file
| @@ -29,31 +29,6 @@ theorem unit_inner_self {x : E} (hx : x ≠ 0) : ⟪unit x, unit x⟫_ℝ = 1 := | ||
| 29 | 29 | theorem unit_inner_zero {x y : E} (hxy : ⟪x,y⟫_ℝ = 0) : ⟪unit x, unit y⟫_ℝ = 0 := by |
| 30 | 30 | simp only [unit, real_inner_smul_left, real_inner_smul_right, hxy, mul_zero] |
| 31 | 31 | |
| 32 | -theorem norm_hasDerivAt {f : ℝ → E} {f' : E} {t : ℝ} | |
| 33 | - (hf : HasDerivAt f f' t) (hft : f t ≠ 0) : | |
| 34 | - HasDerivAt (fun s => ‖f s‖) (⟪f t,f'⟫_ℝ / ‖f t‖) t := by | |
| 35 | - have hn := norm_ne_zero_iff.mpr hft | |
| 36 | - have hh := hf.norm_sq.sqrt (pow_ne_zero 2 hn) | |
| 37 | - have he : (fun s => Real.sqrt (‖f s‖^2)) = (fun s => ‖f s‖) := by | |
| 38 | - funext s | |
| 39 | - exact Real.sqrt_sq (norm_nonneg _) | |
| 40 | - rw [he, Real.sqrt_sq (norm_nonneg _)] at hh | |
| 41 | - convert hh using 1 | |
| 42 | - field_simp | |
| 43 | - | |
| 44 | -theorem unit_hasDerivAt {f : ℝ → E} {f' : E} {t : ℝ} | |
| 45 | - (hf : HasDerivAt f f' t) (hft : f t ≠ 0) : | |
| 46 | - HasDerivAt (fun s => unit (f s)) | |
| 47 | - (‖f t‖⁻¹ • f' - (⟪f t,f'⟫_ℝ / ‖f t‖^3) • f t) t := by | |
| 48 | - have hn := norm_ne_zero_iff.mpr hft | |
| 49 | - have h := ((norm_hasDerivAt hf hft).inv hn).smul hf | |
| 50 | - have he : -(⟪f t,f'⟫_ℝ / ‖f t‖) / ‖f t‖^2 = -(⟪f t,f'⟫_ℝ / ‖f t‖^3) := by | |
| 51 | - field_simp | |
| 52 | - change HasDerivAt (fun s => unit (f s)) | |
| 53 | - (‖f t‖⁻¹ • f' + (-(⟪f t,f'⟫_ℝ / ‖f t‖) / ‖f t‖^2) • f t) t at h | |
| 54 | - rw [he] at h | |
| 55 | - simpa only [neg_smul, sub_eq_add_neg, add_comm] using h | |
| 56 | - | |
| 57 | 32 | theorem norm_hasDerivWithinAt {f : ℝ → E} {f' : E} {t : ℝ} {S : Set ℝ} |
| 58 | 33 | (hf : HasDerivWithinAt f f' S t) (hft : f t ≠ 0) : |
| 59 | 34 | HasDerivWithinAt (fun s => ‖f s‖) (⟪f t,f'⟫_ℝ / ‖f t‖) S t := by |
| @@ -86,31 +61,6 @@ def rayRate (B : E →L[ℝ] E) (p : E) : E := -B.adjoint p + ⟪p,B p⟫_ℝ | ||
| 86 | 61 | def velocityRate (B : E →L[ℝ] E) (p q : E) : E := |
| 87 | 62 | -B q + (2*⟪p,B q⟫_ℝ) • p + ⟪q,B q⟫_ℝ • q |
| 88 | 63 | |
| 89 | -theorem normalized_ray_hasDerivAt (B : E →L[ℝ] E) {m : ℝ → E} {t : ℝ} | |
| 90 | - (hm : HasDerivAt m (-B.adjoint (m t)) t) (hm0 : m t ≠ 0) : | |
| 91 | - HasDerivAt (fun s => unit (m s)) (rayRate B (unit (m t))) t := by | |
| 92 | - have h := unit_hasDerivAt hm hm0 | |
| 93 | - convert h using 1 | |
| 94 | - unfold rayRate unit | |
| 95 | - rw [inner_neg_right, adjoint_inner_right, real_inner_comm (m t) (B (m t))] | |
| 96 | - simp only [map_smul, real_inner_smul_left, real_inner_smul_right, smul_smul, | |
| 97 | - div_eq_mul_inv, neg_mul, neg_smul, smul_neg] | |
| 98 | - module | |
| 99 | - | |
| 100 | -omit [CompleteSpace E] in | |
| 101 | -theorem normalized_velocity_hasDerivAt (B : E →L[ℝ] E) {m v : ℝ → E} {t : ℝ} | |
| 102 | - (hv : HasDerivAt v (-B (v t) + (2*⟪m t,B (v t)⟫_ℝ / ‖m t‖^2) • m t) t) | |
| 103 | - (hv0 : v t ≠ 0) (hmv : ⟪m t,v t⟫_ℝ = 0) : | |
| 104 | - HasDerivAt (fun s => unit (v s)) (velocityRate B (unit (m t)) (unit (v t))) t := by | |
| 105 | - have h := unit_hasDerivAt hv hv0 | |
| 106 | - have hvm : ⟪v t,m t⟫_ℝ = 0 := (real_inner_comm _ _).trans hmv | |
| 107 | - convert h using 1 | |
| 108 | - unfold velocityRate unit | |
| 109 | - simp only [inner_add_right, inner_neg_right, real_inner_smul_right, hvm, mul_zero, | |
| 110 | - add_zero, map_smul, real_inner_smul_left, smul_smul, smul_add, div_eq_mul_inv, | |
| 111 | - neg_mul, neg_smul, smul_neg] | |
| 112 | - module | |
| 113 | - | |
| 114 | 64 | theorem normalized_ray_hasDerivWithinAt (B : E →L[ℝ] E) {m : ℝ → E} {t : ℝ} {S : Set ℝ} |
| 115 | 65 | (hm : HasDerivWithinAt m (-B.adjoint (m t)) S t) (hm0 : m t ≠ 0) : |
| 116 | 66 | HasDerivWithinAt (fun s => unit (m s)) (rayRate B (unit (m t))) S t := by |
+0 −9 Euler/PacketParentFlowDifferentiation.lean View file
| @@ -13,15 +13,6 @@ open scoped ContDiff Topology | ||
| 13 | 13 | |
| 14 | 14 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 15 | 15 | |
| 16 | -omit [CompleteSpace E] in | |
| 17 | -theorem flow_time_derivative_eq (X u : ℝ × E → E) (q : ℝ × E) | |
| 18 | - (hX : DifferentiableAt ℝ X q) | |
| 19 | - (hflow : HasDerivAt (fun s => X (s,q.2)) (u (q.1,X q)) q.1) : | |
| 20 | - fderiv ℝ X q (1,0) = u (q.1,X q) := by | |
| 21 | - have h := hX.hasFDerivAt.comp_hasDerivAt q.1 | |
| 22 | - ((hasDerivAt_id q.1).prodMk (hasDerivAt_const q.1 q.2)) | |
| 23 | - exact h.unique hflow | |
| 24 | - | |
| 25 | 16 | omit [CompleteSpace E] in |
| 26 | 17 | theorem parent_frame_time (X u : ℝ × E → E) (F : ℝ × E → E →L[ℝ] E) |
| 27 | 18 | (q : ℝ × E) (DF : (ℝ × E) →L[ℝ] (E →L[ℝ] E)) (Du : (ℝ × E) →L[ℝ] E) |
+0 −7 Euler/PacketPeriodicPotential.lean View file
| @@ -64,13 +64,6 @@ theorem field_smooth (m : Space → Space) (A : LiftDomain P → Space) | ||
| 64 | 64 | rw [he] |
| 65 | 65 | exact hQ.comp (contDiff_const.add contDiff_id) |
| 66 | 66 | |
| 67 | -theorem field_continuous (m : Space → Space) (A : LiftDomain P → Space) | |
| 68 | - (hm : ContDiff ℝ ∞ m) (hnz : ∀ y, m y ≠ 0) | |
| 69 | - (hA : ∀ x, ContDiff ℝ ∞ (localFieldLift P A x)) | |
| 70 | - (hmean : ∀ y, (∫ θ in (0 : ℝ)..P, A (y,(θ : AddCircle P))) = 0) : | |
| 71 | - Continuous (field P m A) := | |
| 72 | - smoothField_continuous P _ (field_smooth P m A hm hnz hA hmean) | |
| 73 | - | |
| 74 | 67 | theorem field_vanishes (m : Space → Space) (A : LiftDomain P → Space) |
| 75 | 68 | (y : Space) (hy : ∀ θ : AddCircle P, A (y,θ)=0) (θ : AddCircle P) : |
| 76 | 69 | field P m A (y,θ)=0 := by |
+0 −11 Euler/PacketPhysicalCorrectionPotential.lean View file
| @@ -21,17 +21,6 @@ def Budget.physicalPotential (k : ℝ) (Y : Icc (0 : ℝ) D.T → Space → Spac | ||
| 21 | 21 | (t : Icc (0 : ℝ) D.T) : Space → ℝ := |
| 22 | 22 | B.normalizedGraphPotential P k t ∘ Y t |
| 23 | 23 | |
| 24 | -theorem Budget.physicalPotential_joint_continuous (k : ℝ) | |
| 25 | - (Y : Icc (0 : ℝ) D.T → Space → Space) | |
| 26 | - (hY : Continuous (Function.uncurry Y)) : | |
| 27 | - Continuous (B.physicalPotential D P k Y).uncurry := by | |
| 28 | - have hc : Continuous (fun z : Icc (0 : ℝ) D.T × Space => (z.1,Y z.1 z.2)) := | |
| 29 | - continuous_fst.prodMk hY | |
| 30 | - have hp : Continuous ((B.normalizedGraphPotential P k).uncurry ∘ | |
| 31 | - (fun z : Icc (0 : ℝ) D.T × Space => (z.1,Y z.1 z.2))) := | |
| 32 | - (B.normalizedGraphPotential_joint_continuous P k).comp hc | |
| 33 | - exact hp | |
| 34 | - | |
| 35 | 24 | variable (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 36 | 25 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 37 | 26 | (hXY : ∀ t x, X t (Y t x)=x) |
+0 −8 Euler/PacketPhysicalCostPolynomial.lean View file
| @@ -78,14 +78,6 @@ theorem extraPolynomial_eval (X : ℝ) : extraPolynomial.eval X=extraEnvelope X | ||
| 78 | 78 | Polynomial.eval_ofNat,Polynomial.eval_C,Polynomial.eval_pow,Polynomial.eval_X, |
| 79 | 79 | outputPolynomial_eval,gradePolynomial_eval,velocityPolynomial_eval,coefficientPolynomial_eval] |
| 80 | 80 | |
| 81 | -def extraConstant : ℝ := coefficientCost extraPolynomial | |
| 82 | -def extraPower : ℕ := extraPolynomial.natDegree | |
| 83 | - | |
| 84 | -theorem extraConstant_pos : 0 < extraConstant := coefficientCost_pos _ | |
| 85 | - | |
| 86 | -theorem extraEnvelope_power (X : ℝ) (hX : 1 ≤ X) : extraEnvelope X ≤ extraConstant*X^extraPower := by | |
| 87 | - rw [← extraPolynomial_eval] | |
| 88 | - exact (le_abs_self _).trans (eval_bound extraPolynomial X hX) | |
| 89 | 81 | |
| 90 | 82 | theorem physicalEnvelope_nonneg (X S : ℝ) (hX : 0 ≤ X) (hS : 0 ≤ S) : |
| 91 | 83 | 0 ≤ physicalEnvelope X S := by |
+0 −41 Euler/PacketPhysicalFieldTower.lean View file
| @@ -27,33 +27,6 @@ theorem reconstructedTower_pointField (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) | ||
| 27 | 27 | rw [reconstructedTower,FieldTower.smul_pointField,FieldTower.multiply_pointField] |
| 28 | 28 | rfl |
| 29 | 29 | |
| 30 | -def graphPath (k : ℝ) : C(Icc (0 : ℝ) D.T,Lp Space 2 (volume : Measure Space)) := | |
| 31 | - (reconstructedTower D P κ Z).canonicalGraphWordPath | |
| 32 | - (physicalPhase P k D.m₀) (physicalPhase_continuous P k D.m₀) 0 Fin.elim0 | |
| 33 | - | |
| 34 | -theorem graphPath_ae (k : ℝ) (t : Icc (0 : ℝ) D.T) : | |
| 35 | - (graphPath D P κ Z k t : Space → Space) =ᵐ[volume] | |
| 36 | - fun x => κ • D.F.field t x (Z.pointField t (cylinderGraph P k D.m₀ x)) := by | |
| 37 | - have h := (reconstructedTower D P κ Z).canonicalGraphWordPath_ae | |
| 38 | - (physicalPhase P k D.m₀) (physicalPhase_continuous P k D.m₀) 0 Fin.elim0 t | |
| 39 | - simpa only [graphPath,EulerCylinderSobolev.iteratedFieldDerivative_zero, | |
| 40 | - reconstructedTower_pointField,physicalPhase,cylinderGraph] using h | |
| 41 | - | |
| 42 | -def graphTensorPath (k : ℝ) (n : ℕ) : | |
| 43 | - C(Icc (0 : ℝ) D.T,Lp (Space [×n]→L[ℝ] Space) 2 (volume : Measure Space)) := | |
| 44 | - (reconstructedTower D P κ Z).physicalTensorPath k D.m₀ n | |
| 45 | - | |
| 46 | -theorem graphTensorPath_ae (k : ℝ) (n : ℕ) (t : Icc (0 : ℝ) D.T) : | |
| 47 | - (graphTensorPath D P κ Z k n t : Space → (Space [×n]→L[ℝ] Space)) =ᵐ[volume] | |
| 48 | - iteratedFDeriv ℝ n | |
| 49 | - (fun x => κ • D.F.field t x (Z.pointField t (cylinderGraph P k D.m₀ x))) := by | |
| 50 | - have h := (reconstructedTower D P κ Z).physicalTensorPath_ae k D.m₀ n t | |
| 51 | - have he : (reconstructedTower D P κ Z).physicalPointField k D.m₀ t = | |
| 52 | - fun x => κ • D.F.field t x (Z.pointField t (cylinderGraph P k D.m₀ x)) := | |
| 53 | - funext (fun x => reconstructedTower_pointField D P κ Z t (cylinderGraph P k D.m₀ x)) | |
| 54 | - rw [he] at h | |
| 55 | - exact h | |
| 56 | - | |
| 57 | 30 | variable (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 58 | 31 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 59 | 32 | (hYX : ∀ t, Function.LeftInverse (Y t) (X t)) |
| @@ -61,18 +34,4 @@ variable (X Y : Icc (0 : ℝ) D.T → Space → Space) | ||
| 61 | 34 | (hY : Continuous (Function.uncurry Y)) |
| 62 | 35 | (hdet : ∀ t x, (D.F.field t x).det=1) |
| 63 | 36 | |
| 64 | -def eulerianPath (k : ℝ) : C(Icc (0 : ℝ) D.T,Lp Space 2 (volume : Measure Space)) := | |
| 65 | - transportPath X Y (fun t x => D.F.field t x) hX hYX hXY hY hdet (graphPath D P κ Z k) | |
| 66 | - | |
| 67 | -theorem eulerianPath_ae (k : ℝ) (t : Icc (0 : ℝ) D.T) : | |
| 68 | - (eulerianPath D P κ Z X Y hX hYX hXY hY hdet k t : Space → Space) =ᵐ[volume] | |
| 69 | - fun x => κ • D.F.field t (Y t x) | |
| 70 | - (Z.pointField t (cylinderGraph P k D.m₀ (Y t x))) := | |
| 71 | - transportPath_ae X Y (fun t x => D.F.field t x) hX hYX hXY hY hdet | |
| 72 | - (graphPath D P κ Z k) _ (graphPath_ae D P κ Z k) t | |
| 73 | - | |
| 74 | -theorem eulerianPath_norm (k : ℝ) (t : Icc (0 : ℝ) D.T) : | |
| 75 | - ‖eulerianPath D P κ Z X Y hX hYX hXY hY hdet k t‖ = ‖graphPath D P κ Z k t‖ := | |
| 76 | - transportPath_norm X Y (fun t x => D.F.field t x) hX hYX hXY hY hdet (graphPath D P κ Z k) t | |
| 77 | - | |
| 78 | 37 | end EulerPacketPhysicalField |
+0 −7 Euler/PacketPhysicalLowBounds.lean View file
| @@ -87,13 +87,6 @@ theorem normal_projection_quadratic_le (r z : Space) : | ||
| 87 | 87 | rw [Real.norm_eq_abs,sq_abs] at hsq |
| 88 | 88 | exact (div_le_iff₀ hn).2 (by nlinarith only [hsq]) |
| 89 | 89 | |
| 90 | -theorem pressureTerm_nonpos (amp slope : ℝ) (M : Matrix) (r w z : Space) | |
| 91 | - (hamp : 0 ≤ amp) (hslope : 0 ≤ slope) (hflux : 0 ≤ ⟪r,M w⟫_ℝ) : | |
| 92 | - ⟪pressureTerm amp slope M r w z,z⟫_ℝ ≤ 0 := by | |
| 93 | - rw [pressureTerm_quadratic] | |
| 94 | - exact mul_nonpos_of_nonpos_of_nonneg (by nlinarith [mul_nonneg (mul_nonneg hamp hflux) hslope]) | |
| 95 | - (div_nonneg (sq_nonneg _) (sq_nonneg _)) | |
| 96 | - | |
| 97 | 90 | theorem pressureTerm_upper_flux (amp slope : ℝ) (M : Matrix) (r w z : Space) |
| 98 | 91 | (hamp : 0 ≤ amp) (hslope : -1 ≤ slope) (hflux : 0 ≤ ⟪r,M w⟫_ℝ) : |
| 99 | 92 | ⟪pressureTerm amp slope M r w z,z⟫_ℝ ≤ 2*amp*⟪r,M w⟫_ℝ*‖z‖^2 := by |
+0 −130 Euler/PacketPhysicalStage.lean View file
| @@ -17,134 +17,4 @@ namespace EulerPacketMovingFrame | ||
| 17 | 17 | open Set EulerSmoothLimit EulerPacketNormalizedPrimary EulerPacketRay |
| 18 | 18 | EulerPacketStage EulerPacketPerturbation InnerProductSpace ContinuousLinearMap |
| 19 | 19 | |
| 20 | -theorem physical_stage_references | |
| 21 | - {B B₁ M E : ℝ → Space →L[ℝ] Space} {m v r w : ℝ → Space} | |
| 22 | - {c s₀ t₀ a ε σ Θ T G d lam : ℝ} {S : Set ℝ} | |
| 23 | - (hσ : 0 < σ) (hσsmall : σ ≤ 1/4) (hT0 : 0 < T) (hT : T ≤ Θ) | |
| 24 | - (ha : 1/2 ≤ a) (hε : 0 < ε) (hΘ : 1 ≤ Θ) (hG : 1 ≤ G) (hd : 0 ≤ d) | |
| 25 | - (hs₀ : s₀ ≠ 0) (hlam : 0 ≤ lam) | |
| 26 | - (hsmall : 1000000*stabilityConstant*(16*(ε*Θ*(4*G)^2+d))*Θ^40 ≤ 1) | |
| 27 | - (hmap : MapsTo (physicalTime t₀ a ε) (Icc 0 Θ) S) | |
| 28 | - (hMc : ContinuousOn M S) | |
| 29 | - (hBd : ∀ t ∈ S, HasDerivWithinAt B (B₁ t) S t) | |
| 30 | - (hmd : ∀ t ∈ S, HasDerivWithinAt m (-(B t).adjoint (m t)) S t) | |
| 31 | - (hvd : ∀ t ∈ S, HasDerivWithinAt v (-(B t) (v t)+ | |
| 32 | - (2*⟪m t,(B t) (v t)⟫_ℝ/‖m t‖^2) • m t) S t) | |
| 33 | - (hrd : ∀ t ∈ S, HasDerivWithinAt r (-(M t).adjoint (r t)) S t) | |
| 34 | - (hwd : ∀ t ∈ S, HasDerivWithinAt w (-(M t) (w t)+ | |
| 35 | - (2*⟪r t,(M t) (w t)⟫_ℝ/‖r t‖^2) • r t) S t) | |
| 36 | - (hm0 : ∀ t ∈ S, m t ≠ 0) (hv0 : ∀ t ∈ S, v t ≠ 0) | |
| 37 | - (hmv : ∀ t ∈ S, ⟪m t,v t⟫_ℝ = 0) (hrw0 : ⟪r t₀,w t₀⟫_ℝ = 0) | |
| 38 | - (hB : ∀ t ∈ S, ‖B t‖ ≤ G) (hB₁ : ∀ t ∈ S, ‖B₁ t‖ ≤ G^2) | |
| 39 | - (hE : ∀ t ∈ S, ‖E t‖ ≤ d) | |
| 40 | - (hparent : ∀ t ∈ S, M t = B t+ | |
| 41 | - primaryShear c m v t • rankOne ℝ (unit (v t)) (unit (m t))+E t) | |
| 42 | - (hb0 : rescaledFrame B m v t₀ a ε 0 0 1 = a) | |
| 43 | - (hk0 : rescaledFrame B m v t₀ a ε 0 2 1 = a*σ^2) | |
| 44 | - (hh0 : rescaledShear c m v t₀ a ε 0 = a/ε^2) | |
| 45 | - (hrInitial : norm3 (scaledRay m v r s₀ t₀ a ε 0 0) (scaledRay m v r s₀ t₀ a ε 0 1) | |
| 46 | - (scaledRay m v r s₀ t₀ a ε 0 2-1) ≤ 16*(ε*Θ*(4*G)^2+d)) | |
| 47 | - (hU0 : scaledVelocity m v w t₀ a ε 0 0 = -lam) | |
| 48 | - (hV0 : scaledVelocity m v w t₀ a ε 0 1 = 1) : | |
| 49 | - let e := 16*(ε*Θ*(4*G)^2+d) | |
| 50 | - let U := fun τ => scaledVelocity m v w t₀ a ε τ 0 | |
| 51 | - let V := fun τ => scaledVelocity m v w t₀ a ε τ 1 | |
| 52 | - ∃ F F₁ Z Z₁ : ℝ → ℝ, | |
| 53 | - F 0 = 1 ∧ F₁ 0 = 0 ∧ Z 0 = 1 ∧ Z₁ 0 = lam ∧ | |
| 54 | - (∀ t, HasDerivAt F (F₁ t) t) ∧ (∀ t, HasDerivAt Z (Z₁ t) t) ∧ | |
| 55 | - (∀ t, HasDerivAt (fun s => (1+(σ^2*s^2)^2)*F₁ s) | |
| 56 | - (2*(1-σ^2*(σ^2*t^2))*F t) t) ∧ | |
| 57 | - (∀ t, HasDerivAt (fun s => (1+(σ^2*s^2)^2)*Z₁ s) | |
| 58 | - (2*(1-σ^2*(σ^2*t^2))*Z t) t) ∧ | |
| 59 | - (∀ t ∈ Icc 0 T, |V t-Z t|+|U t+Z₁ t| ≤ 160000000*e*Θ^29*(1+lam)*F t) ∧ | |
| 60 | - (∀ t ∈ Icc 1 T, 0 < V t ∧ |V t/Z t-1| ≤ stabilityConstant*e*Θ^29 ∧ | |
| 61 | - |U t/V t+Z₁ t/Z t| ≤ 10*(stabilityConstant*e*Θ^29)) := by | |
| 62 | - let e := 16*(ε*Θ*(4*G)^2+d) | |
| 63 | - let Rp := scaledRay m v r s₀ t₀ a ε | |
| 64 | - let Vp := scaledVelocity m v w t₀ a ε | |
| 65 | - let Mf := rescaledFrame M m v t₀ a ε | |
| 66 | - let Bf := rescaledFrame B m v t₀ a ε | |
| 67 | - let Rmat : ℝ → Fin 3 → Fin 3 → ℝ := fun τ => scaledRayEntry a ε (Mf τ) (frameSkew (Bf τ)) | |
| 68 | - let Amat : ℝ → Fin 3 → Fin 3 → ℝ := fun τ => scaledVelocityEntry a ε (Mf τ) | |
| 69 | - let Cmat : ℝ → Fin 3 → Fin 3 → ℝ := fun τ => | |
| 70 | - scaledVelocityEntry a ε (fun i j => Mf τ i j+frameSkew (Bf τ) i j) | |
| 71 | - have he : 0 ≤ e := by dsimp [e]; positivity | |
| 72 | - have hΘ0 : 0 ≤ Θ := by linarith | |
| 73 | - have hK : 1 ≤ stabilityConstant := le_trans (by norm_num) stabilityConstant_ge | |
| 74 | - have hbase : 1000000*e*Θ^40 ≤ 1 := by | |
| 75 | - have hnonneg := mul_nonneg (sub_nonneg.mpr hK) (mul_nonneg he (pow_nonneg hΘ0 40)) | |
| 76 | - change 1000000*stabilityConstant*e*Θ^40 ≤ 1 at hsmall | |
| 77 | - nlinarith only [hsmall, hnonneg] | |
| 78 | - have heΘ : e ≤ e*Θ^40 := by | |
| 79 | - simpa only [mul_one] using mul_le_mul_of_nonneg_left (one_le_pow₀ hΘ : 1 ≤ Θ^40) he | |
| 80 | - have heSmall : e ≤ 1 := by nlinarith only [hbase, heΘ, he] | |
| 81 | - have hpow : e*Θ^5 ≤ e*Θ^40 := | |
| 82 | - mul_le_mul_of_nonneg_left (pow_le_pow_right₀ hΘ (by decide : 5 ≤ 40)) he | |
| 83 | - have hsmallRay : 400*(4*e)*Θ^5 ≤ 1 := by | |
| 84 | - nlinarith only [hbase, hpow, mul_nonneg he (pow_nonneg hΘ0 5)] | |
| 85 | - have ha0 : 0 < a := by linarith | |
| 86 | - have hσsq : σ^2 ≤ 1 := by nlinarith only [hσ, hσsmall] | |
| 87 | - have herr := physical_matrix_errors ha hε hΘ hG hd heSmall hmap hBd hmd hvd hm0 hv0 hmv | |
| 88 | - hB hB₁ hE hparent hb0 hk0 hh0 | |
| 89 | - have hsub : Icc (0:ℝ) T ⊆ Icc 0 Θ := fun _ ht => ⟨ht.1, ht.2.trans hT⟩ | |
| 90 | - have hmapT : MapsTo (physicalTime t₀ a ε) (Icc 0 T) S := fun _ ht => hmap (hsub ht) | |
| 91 | - have hMf : ∀ i j, ContinuousOn (fun τ => Mf τ i j) (Icc 0 T) := | |
| 92 | - rescaledFrame_continuousOn B M hmapT hMc hmd hvd hm0 hv0 hmv | |
| 93 | - have hBf : ∀ i j, ContinuousOn (fun τ => Bf τ i j) (Icc 0 T) := | |
| 94 | - rescaledFrame_continuousOn B B hmapT (fun t ht => (hBd t ht).continuousWithinAt) | |
| 95 | - hmd hvd hm0 hv0 hmv | |
| 96 | - have hSf := frameSkew_continuousOn hBf | |
| 97 | - have hRmc : ∀ i j, ContinuousOn (fun τ => Rmat τ i j) (Icc 0 T) := | |
| 98 | - scaledRayEntry_continuousOn a ε hMf hSf | |
| 99 | - have hAmc : ∀ i j, ContinuousOn (fun τ => Amat τ i j) (Icc 0 T) := | |
| 100 | - scaledVelocityEntry_continuousOn a ε hMf | |
| 101 | - have hCmc : ∀ i j, ContinuousOn (fun τ => Cmat τ i j) (Icc 0 T) := | |
| 102 | - scaledVelocityEntry_continuousOn a ε (fun i j => (hMf i j).add (hSf i j)) | |
| 103 | - have hRode : ∀ i τ, τ ∈ Icc 0 T → HasDerivWithinAt (fun s => Rp s i) | |
| 104 | - (∑ j : Fin 3, Rmat τ i j*Rp τ j) (Icc 0 T) τ := by | |
| 105 | - intro i τ hτ | |
| 106 | - have ht := hmapT hτ | |
| 107 | - exact scaledRay_hasDerivWithinAt (B (physicalTime t₀ a ε τ)) (M (physicalTime t₀ a ε τ)) | |
| 108 | - (ne_of_gt ha0) (ne_of_gt hε) hs₀ hmapT (hmd _ ht) (hvd _ ht) (hrd _ ht) | |
| 109 | - (hm0 _ ht) (hv0 _ ht) (hmv _ ht) i | |
| 110 | - have hP : ∀ τ ∈ Icc 0 T, HasDerivWithinAt (fun s => Rp s 0) | |
| 111 | - (Rmat τ 0 0*Rp τ 0+Rmat τ 0 1*Rp τ 1+Rmat τ 0 2*Rp τ 2) (Icc 0 T) τ := by | |
| 112 | - intro τ hτ | |
| 113 | - simpa only [Fin.sum_univ_three] using hRode 0 τ hτ | |
| 114 | - have hQ : ∀ τ ∈ Icc 0 T, HasDerivWithinAt (fun s => Rp s 1) | |
| 115 | - (Rmat τ 1 0*Rp τ 0+Rmat τ 1 1*Rp τ 1+Rmat τ 1 2*Rp τ 2) (Icc 0 T) τ := by | |
| 116 | - intro τ hτ | |
| 117 | - simpa only [Fin.sum_univ_three] using hRode 1 τ hτ | |
| 118 | - have hN : ∀ τ ∈ Icc 0 T, HasDerivWithinAt (fun s => Rp s 2) | |
| 119 | - (Rmat τ 2 0*Rp τ 0+Rmat τ 2 1*Rp τ 1+Rmat τ 2 2*Rp τ 2) (Icc 0 T) τ := by | |
| 120 | - intro τ hτ | |
| 121 | - simpa only [Fin.sum_univ_three] using hRode 2 τ hτ | |
| 122 | - have hRclose : ∀ τ ∈ Icc 0 T, ∀ i j, |Rmat τ i j-idealRayEntry (σ^2) i j| ≤ 4*e := | |
| 123 | - fun τ hτ => (herr.2 τ (hsub hτ)).1 | |
| 124 | - have hnear := ray_closeness_within (sq_nonneg σ) hσsq hΘ hT0 hT | |
| 125 | - (mul_nonneg (by norm_num : (0:ℝ) ≤ 4) he) hsmallRay hRmc hP hQ hN hRclose | |
| 126 | - (hrInitial.trans (show e ≤ 4*e by linarith)) | |
| 127 | - have hrnonzero : ∀ τ ∈ Icc 0 T, r (physicalTime t₀ a ε τ) ≠ 0 := by | |
| 128 | - intro τ hτ hzero | |
| 129 | - have hNne : Rp τ 2 ≠ 0 := by linarith only [(hnear τ hτ).2] | |
| 130 | - apply hNne | |
| 131 | - simp only [Rp, scaledRay, movingRay, hzero, inner_zero_right, zero_div] | |
| 132 | - have hpair := rescaled_tangentPairing_zero M hmapT hrd hwd hrnonzero hrw0 | |
| 133 | - have hUV : ∀ τ ∈ Icc 0 T, | |
| 134 | - HasDerivWithinAt (fun s => Vp s 0) | |
| 135 | - (velocityFirstRhs (Amat τ) (Cmat τ) ε (Rp τ 0) (Rp τ 1) (Rp τ 2) (Vp τ 0) (Vp τ 1)) (Icc 0 T) τ ∧ | |
| 136 | - HasDerivWithinAt (fun s => Vp s 1) | |
| 137 | - (velocitySecondRhs (Amat τ) (Cmat τ) ε (Rp τ 0) (Rp τ 1) (Rp τ 2) (Vp τ 0) (Vp τ 1)) (Icc 0 T) τ := by | |
| 138 | - intro τ hτ | |
| 139 | - have ht := hmapT hτ | |
| 140 | - have hNne : Rp τ 2 ≠ 0 := by linarith only [(hnear τ hτ).2] | |
| 141 | - exact scaledVelocity_firstTwo_hasDerivWithinAt (B (physicalTime t₀ a ε τ)) | |
| 142 | - (M (physicalTime t₀ a ε τ)) (ne_of_gt ha0) (ne_of_gt hε) hs₀ hmapT | |
| 143 | - (hmd _ ht) (hvd _ ht) (hwd _ ht) (hm0 _ ht) (hv0 _ ht) (hmv _ ht) | |
| 144 | - (hrnonzero τ hτ) (hpair τ hτ) hNne | |
| 145 | - exact controlled_stage_references_within hσ hσsmall hΘ hT0 hT he hε.le herr.1 hlam hsmall | |
| 146 | - hRmc hAmc hCmc hP hQ hN (fun τ hτ => (hUV τ hτ).1) (fun τ hτ => (hUV τ hτ).2) | |
| 147 | - hRclose (fun τ hτ => (herr.2 τ (hsub hτ)).2.1) (fun τ hτ => (herr.2 τ (hsub hτ)).2.2) | |
| 148 | - hrInitial hU0 hV0 | |
| 149 | - | |
| 150 | 20 | end EulerPacketMovingFrame |
+0 −65 Euler/PacketPiola.lean View file
| @@ -24,69 +24,4 @@ theorem adjoint_apply_coordinate (A : Space →L[ℝ] Space) (q : Space) (i : Fi | ||
| 24 | 24 | simpa only [EuclideanSpace.inner_single_left, conj_trivial, one_mul] using |
| 25 | 25 | A.adjoint_inner_right (EuclideanSpace.single i 1) q |
| 26 | 26 | |
| 27 | -/-- Pull back a Euclidean covector field by the actual derivative of the coordinate map. -/ | |
| 28 | -def pullbackCovector (Ξ Q : Space → Space) (x : Space) : Space := | |
| 29 | - (fderiv ℝ Ξ x).adjoint (Q x) | |
| 30 | - | |
| 31 | -/-- Symmetric second derivatives remove the entire derivative-of-Jacobian term from curl. -/ | |
| 32 | -theorem curl_pullbackCovector (Ξ Q : Space → Space) (hΞ : ContDiff ℝ 2 Ξ) | |
| 33 | - (x : Space) (hQ : DifferentiableAt ℝ Q x) : | |
| 34 | - vectorCurl (pullbackCovector Ξ Q) x = | |
| 35 | - curlMatrix ((fderiv ℝ Ξ x).adjoint.comp (fderiv ℝ Q x)) := by | |
| 36 | - have hD : DifferentiableAt ℝ (fderiv ℝ Ξ) x := | |
| 37 | - ((hΞ.fderiv_right (m := 1) le_rfl).differentiable one_ne_zero).differentiableAt | |
| 38 | - have hA : HasFDerivAt (fun y => (fderiv ℝ Ξ y).adjoint) | |
| 39 | - ((realAdjoint (U := Space) (E := Space)).comp (fderiv ℝ (fderiv ℝ Ξ) x)) x := | |
| 40 | - (realAdjoint (U := Space) (E := Space)).hasFDerivAt.comp x hD.hasFDerivAt | |
| 41 | - have hp := hA.clm_apply hQ.hasFDerivAt | |
| 42 | - have hzero : curlMatrix | |
| 43 | - (((realAdjoint (U := Space) (E := Space)).comp | |
| 44 | - (fderiv ℝ (fderiv ℝ Ξ) x)).flip (Q x)) = 0 := by | |
| 45 | - ext i | |
| 46 | - change ((fderiv ℝ (fderiv ℝ Ξ) x (EuclideanSpace.single (i + 1) 1)).adjoint (Q x)) (i + 2) - | |
| 47 | - ((fderiv ℝ (fderiv ℝ Ξ) x (EuclideanSpace.single (i + 2) 1)).adjoint (Q x)) (i + 1) = 0 | |
| 48 | - rw [adjoint_apply_coordinate, adjoint_apply_coordinate] | |
| 49 | - have hs := ((hΞ.contDiffAt (x := x)).isSymmSndFDerivAt (n := 2) (by simp)).eq | |
| 50 | - (EuclideanSpace.single (i + 1) 1) (EuclideanSpace.single (i + 2) 1) | |
| 51 | - rw [hs, sub_self] | |
| 52 | - change vectorCurl (fun y => (fderiv ℝ Ξ y).adjoint (Q y)) x = _ | |
| 53 | - rw [vectorCurl_eq_matrix _ x hp.differentiableAt, hp.fderiv, curlMatrix_add, hzero, add_zero] | |
| 54 | - | |
| 55 | -/-- The source's slow transformed curl `d × Q`, with `d=F⁻ᵀ ∇`. -/ | |
| 56 | -def transformedCurl (F : Space → Space ≃L[ℝ] Space) (Q : Space → Space) (x : Space) : Space := | |
| 57 | - curlMatrix ((fderiv ℝ Q x).comp (F x).symm.toContinuousLinearMap) | |
| 58 | - | |
| 59 | -/-- For the actual Jacobian and unit determinant, `F⁻¹(d×Q)=curl(FᵀQ)`. -/ | |
| 60 | -theorem piola_curl (Ξ Q : Space → Space) (hΞ : ContDiff ℝ 2 Ξ) | |
| 61 | - (F : Space ≃L[ℝ] Space) (x : Space) | |
| 62 | - (hF : fderiv ℝ Ξ x = F.toContinuousLinearMap) | |
| 63 | - (hdet : (operatorMatrix F.toContinuousLinearMap).det = 1) | |
| 64 | - (hQ : DifferentiableAt ℝ Q x) : | |
| 65 | - F.symm (curlMatrix ((fderiv ℝ Q x).comp F.symm.toContinuousLinearMap)) = | |
| 66 | - vectorCurl (pullbackCovector Ξ Q) x := by | |
| 67 | - rw [curl_pullbackCovector Ξ Q hΞ x hQ, hF] | |
| 68 | - exact (curlMatrix_piola F hdet (fderiv ℝ Q x)).symm | |
| 69 | - | |
| 70 | -theorem pullbackCovector_smooth (Ξ Q : Space → Space) | |
| 71 | - (hΞ : ContDiff ℝ ∞ Ξ) (hQ : ContDiff ℝ ∞ Q) : | |
| 72 | - ContDiff ℝ ∞ (pullbackCovector Ξ Q) := | |
| 73 | - ((realAdjoint (U := Space) (E := Space)).contDiff.comp | |
| 74 | - (hΞ.fderiv_right (m := ∞) (by simp))).clm_apply hQ | |
| 75 | - | |
| 76 | -/-- The transformed curl produces an actually divergence-free label velocity. -/ | |
| 77 | -theorem divergence_piola_curl (Ξ Q : Space → Space) | |
| 78 | - (hΞ : ContDiff ℝ ∞ Ξ) (hQ : ContDiff ℝ ∞ Q) | |
| 79 | - (F : Space → Space ≃L[ℝ] Space) | |
| 80 | - (hF : ∀ x, fderiv ℝ Ξ x = (F x).toContinuousLinearMap) | |
| 81 | - (hdet : ∀ x, (operatorMatrix (F x).toContinuousLinearMap).det = 1) (x : Space) : | |
| 82 | - divergence (fun y => (F y).symm (transformedCurl F Q y)) x = 0 := by | |
| 83 | - have he : (fun y => (F y).symm (transformedCurl F Q y)) = | |
| 84 | - vectorCurl (pullbackCovector Ξ Q) := by | |
| 85 | - funext y | |
| 86 | - exact piola_curl Ξ Q (hΞ.of_le (by simp)) (F y) y (hF y) (hdet y) | |
| 87 | - ((hQ.differentiable (by simp)).differentiableAt) | |
| 88 | - rw [he] | |
| 89 | - exact divergence_curl (fun i y => pullbackCovector Ξ Q y i) | |
| 90 | - ((contDiff_piLp 2).mp (pullbackCovector_smooth Ξ Q hΞ hQ)) x | |
| 91 | - | |
| 92 | 27 | end EulerPacketPiola |
+0 −20 Euler/PacketPiolaPair.lean View file
| @@ -70,26 +70,6 @@ theorem coveringPotential_angle_derivative (P : ℝ) (m : Space → Space) | ||
| 70 | 70 | ((hasDerivAt_const z.2 z.1).prodMk (hasDerivAt_id z.2)) |
| 71 | 71 | exact hline.unique (potential_hasDerivAt P (m z.1) (fun θ => A (z.1, θ)) hA z.2) |
| 72 | 72 | |
| 73 | -/-- A literal source pair is a Piola curl for the actual constructed angular primitive. -/ | |
| 74 | -theorem coveringPotential_pair_piola (P κ : ℝ) (m₀ : Space) (Ξ : Space → Space) | |
| 75 | - (A : LiftTangent → Space) (hΞ : ContDiff ℝ 2 Ξ) | |
| 76 | - (F : Space → Space ≃L[ℝ] Space) (z : LiftTangent) | |
| 77 | - (hF : fderiv ℝ Ξ z.1 = (F z.1).toContinuousLinearMap) | |
| 78 | - (hdet : (operatorMatrix (F z.1).toContinuousLinearMap).det = 1) | |
| 79 | - (hm : (F z.1).symm.toContinuousLinearMap.adjoint m₀ ≠ 0) | |
| 80 | - (htan : ⟪(F z.1).symm.toContinuousLinearMap.adjoint m₀, A z⟫_ℝ = 0) | |
| 81 | - (hA : Continuous (fun θ => A (z.1, θ))) | |
| 82 | - (hq : DifferentiableAt ℝ | |
| 83 | - (coveringPotential P (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀) A) z) : | |
| 84 | - (F z.1).symm (A z + κ • coveringSlowCurl (F z.1).symm.toContinuousLinearMap | |
| 85 | - (coveringPotential P (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀) A) z) = | |
| 86 | - coveringCurl κ m₀ (coveringPullbackCovector Ξ | |
| 87 | - (coveringPotential P (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀) A)) z := by | |
| 88 | - have hp := covering_piola_curl κ m₀ Ξ _ hΞ z (F z.1) hF hdet hq | |
| 89 | - rw [curl_lifted_split, coveringPotential_angle_derivative P _ A z hA hq, | |
| 90 | - cross_potentialMultiplier _ _ hm htan] at hp | |
| 91 | - simpa only [coveringSlowCurl, add_comm] using hp | |
| 92 | - | |
| 93 | 73 | variable (period : ℝ) |
| 94 | 74 | |
| 95 | 75 | def liftedSlowCurl (F : Space → Space ≃L[ℝ] Space) (Q : LiftDomain period → Space) |
+0 −37 Euler/PacketPointJets.lean View file
| @@ -72,41 +72,4 @@ def fieldSum {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | ||
| 72 | 72 | (M : ℕ) (κ : ℝ) (u : ℕ → Domain → E) (z : Domain) : E := |
| 73 | 73 | evaluate M κ (fun n => u n z) |
| 74 | 74 | |
| 75 | -/-- Taking the actual first jet commutes with a finite packet sum. -/ | |
| 76 | -theorem jet_fieldSum {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 77 | - (M : ℕ) (κ : ℝ) (u : ℕ → Domain → E) (z : Domain) | |
| 78 | - (hu : ∀ n ≤ M, DifferentiableAt ℝ (u n) z) : | |
| 79 | - jet (fieldSum M κ u) z = evaluate M κ (fun n => jet (u n) z) := by | |
| 80 | - have hd := HasFDerivAt.fun_sum (u := Finset.range (M+1)) | |
| 81 | - (fun n hn => ((hu n (by have h := Finset.mem_range.mp hn; omega)).hasFDerivAt).const_smul (κ^n)) | |
| 82 | - apply Prod.ext | |
| 83 | - · change (∑ n ∈ Finset.range (M+1), κ^n • u n z) = | |
| 84 | - (AddMonoidHom.fst E (Domain →L[ℝ] E)) | |
| 85 | - (∑ n ∈ Finset.range (M+1), κ^n • jet (u n) z) | |
| 86 | - rw [map_sum] | |
| 87 | - rfl | |
| 88 | - · change fderiv ℝ (fieldSum M κ u) z = _ | |
| 89 | - rw [show fderiv ℝ (fieldSum M κ u) z = | |
| 90 | - ∑ n ∈ Finset.range (M+1), κ^n • fderiv ℝ (u n) z from hd.fderiv] | |
| 91 | - change (∑ n ∈ Finset.range (M+1), κ^n • fderiv ℝ (u n) z) = | |
| 92 | - (AddMonoidHom.snd E (Domain →L[ℝ] E)) | |
| 93 | - (∑ n ∈ Finset.range (M+1), κ^n • jet (u n) z) | |
| 94 | - rw [map_sum] | |
| 95 | - rfl | |
| 96 | - | |
| 97 | -/-- This is the literal normalized momentum expression evaluated through its true first derivatives. -/ | |
| 98 | -def momentumResidual (κ : ℝ) (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 99 | - (u : Domain → Space) (p : Domain → ℝ) (z : Domain) : Space := | |
| 100 | - linearPart M (jet u z) + slowPressure FInv (jet p z) + κ⁻¹ • fastPressure m (jet p z) + | |
| 101 | - slowAdvection FInv (jet u z) (jet u z) + κ⁻¹ • fastAdvection m (jet u z) (jet u z) | |
| 102 | - | |
| 103 | -theorem momentumResidual_formula (κ : ℝ) (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 104 | - (u : Domain → Space) (p : Domain → ℝ) (z : Domain) : | |
| 105 | - momentumResidual κ FInv M m u p z = | |
| 106 | - fderiv ℝ u z timeDirection + M (u z) + | |
| 107 | - FInv.adjoint ((toDual ℝ Space).symm ((fderiv ℝ p z).comp spatialInjection)) + | |
| 108 | - κ⁻¹ • (fderiv ℝ p z angleDirection • m) + | |
| 109 | - fderiv ℝ u z (spatialInjection (FInv (u z))) + | |
| 110 | - κ⁻¹ • (⟪m, u z⟫_ℝ • fderiv ℝ u z angleDirection) := rfl | |
| 111 | - | |
| 112 | 75 | end EulerPacketPointJets |
+0 −30 Euler/PacketPotentialRegularity.lean View file
| @@ -30,34 +30,4 @@ theorem coveringPotential_contDiff (P : ℝ) (hP : 0 ≤ P) | ||
| 30 | 30 | (fun z : LiftTangent => potentialMultiplier (m z.1) (A z)) |
| 31 | 31 | (((potentialMultiplier_contDiff m hm hnz).comp contDiff_fst).clm_apply hA) |
| 32 | 32 | |
| 33 | -/-- The curl is the actual first spatial derivative of the constructed potential. -/ | |
| 34 | -theorem coveringSlowCurl_contDiff (P : ℝ) (hP : 0 ≤ P) | |
| 35 | - (m : Space → Space) (A : LiftTangent → Space) | |
| 36 | - (G : Space → Space →L[ℝ] Space) | |
| 37 | - (hm : ContDiff ℝ ∞ m) (hnz : ∀ y, m y ≠ 0) (hA : ContDiff ℝ ∞ A) | |
| 38 | - (hG : ContDiff ℝ ∞ G) : | |
| 39 | - ContDiff ℝ ∞ (fun z : LiftTangent => coveringSlowCurl (G z.1) (coveringPotential P m A) z) := by | |
| 40 | - have hQ := coveringPotential_contDiff P hP m A hm hnz hA | |
| 41 | - exact curlOperator.contDiff.comp | |
| 42 | - ((contDiff_infty_iff_fderiv.mp hQ).2.clm_comp | |
| 43 | - (contDiff_const.clm_comp (hG.comp contDiff_fst))) | |
| 44 | - | |
| 45 | -/-- The Piola identity now needs regularity only for the input fields, not for Q. -/ | |
| 46 | -theorem smooth_coveringPotential_pair_piola (P κ : ℝ) (hP : 0 ≤ P) | |
| 47 | - (m₀ : Space) (Ξ : Space → Space) (A : LiftTangent → Space) | |
| 48 | - (hΞ : ContDiff ℝ 2 Ξ) (F : Space → Space ≃L[ℝ] Space) | |
| 49 | - (hNormal : ContDiff ℝ ∞ (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀)) | |
| 50 | - (hm : ∀ y, (F y).symm.toContinuousLinearMap.adjoint m₀ ≠ 0) | |
| 51 | - (hA : ContDiff ℝ ∞ A) (z : LiftTangent) | |
| 52 | - (hF : fderiv ℝ Ξ z.1 = (F z.1).toContinuousLinearMap) | |
| 53 | - (hdet : (operatorMatrix (F z.1).toContinuousLinearMap).det = 1) | |
| 54 | - (htan : ⟪(F z.1).symm.toContinuousLinearMap.adjoint m₀,A z⟫_ℝ=0) : | |
| 55 | - (F z.1).symm (A z+κ • coveringSlowCurl (F z.1).symm.toContinuousLinearMap | |
| 56 | - (coveringPotential P (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀) A) z) = | |
| 57 | - coveringCurl κ m₀ (coveringPullbackCovector Ξ | |
| 58 | - (coveringPotential P (fun y => (F y).symm.toContinuousLinearMap.adjoint m₀) A)) z := by | |
| 59 | - exact coveringPotential_pair_piola P κ m₀ Ξ A hΞ F z hF hdet (hm z.1) htan | |
| 60 | - (hA.continuous.comp (continuous_const.prodMk continuous_id)) | |
| 61 | - ((coveringPotential_contDiff P hP _ A hNormal hm hA).differentiable (by simp) z) | |
| 62 | - | |
| 63 | 33 | end EulerPacketPiola |
+0 −3 Euler/PacketPressureCovector.lean View file
| @@ -29,9 +29,6 @@ def gradientLinear : ScalarJet →ₗ[ℝ] Space where | ||
| 29 | 29 | map_add' J K := by simp [add_comp] |
| 30 | 30 | map_smul' c J := by simp [smul_comp] |
| 31 | 31 | |
| 32 | -theorem gradientLinear_jet (p : ScalarField) (z : Domain) : | |
| 33 | - gradientLinear (pressureJet p z)=pressureGradient p z := rfl | |
| 34 | - | |
| 35 | 32 | theorem fieldSum_assemble {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 36 | 33 | (N : ℕ) (κ : ℝ) (u c : ℕ → Domain → E) (z : Domain) : |
| 37 | 34 | fieldSum (N+1) κ (assemble N u c) z=fieldSum N κ u z+κ • fieldSum N κ c z := by |
+0 −8 Euler/PacketPressureFastHessian.lean View file
| @@ -68,12 +68,4 @@ theorem norm_fderiv_smul_unit (a : LiftTangent → ℝ) (m : Space) (hm : ‖m | ||
| 68 | 68 | ‖fderiv ℝ (fun y => a y • m) z‖ = ‖fderiv ℝ a z‖ := by |
| 69 | 69 | rw [(ha.hasFDerivAt.smul_const m).fderiv,norm_smulRight_apply,hm,mul_one] |
| 70 | 70 | |
| 71 | -theorem norm_fderiv_clm_apply_le (A : Space → Space →L[ℝ] Space) (u : Space → Space) | |
| 72 | - (x : Space) (hA : DifferentiableAt ℝ A x) (hu : DifferentiableAt ℝ u x) : | |
| 73 | - ‖fderiv ℝ (fun y => A y (u y)) x‖ ≤ | |
| 74 | - ‖A x‖*‖fderiv ℝ u x‖+‖fderiv ℝ A x‖*‖u x‖ := by | |
| 75 | - rw [fderiv_clm_apply hA hu] | |
| 76 | - exact (norm_add_le _ _).trans (add_le_add (opNorm_comp_le _ _) | |
| 77 | - (by simpa only [opNorm_flip] using (fderiv ℝ A x).flip.le_opNorm (u x))) | |
| 78 | - | |
| 79 | 71 | end EulerPacketGraphHessian |
+0 −16 Euler/PacketPressureSeries.lean View file
| @@ -52,22 +52,6 @@ theorem finite_sum_le {f : ℕ → ℝ} {a : ℝ} (hf : SmallSeries f a) (N : | ||
| 52 | 52 | ∑ n ∈ Finset.range N, f n ≤ a := |
| 53 | 53 | (hf.summable.sum_le_tsum (Finset.range N) (fun n _ => hf.nonneg n)).trans hf.total_le |
| 54 | 54 | |
| 55 | -theorem upper_increment_series {J : ℕ} {Cθ CM CMn CHn c : ℝ} {x : ℕ → ℝ} | |
| 56 | - {increment error : ℕ → ℝ} {a b e : ℝ} | |
| 57 | - (hg : SmallSeries (fun n => 2*CM*goodRatio*goodCost J x n) a) | |
| 58 | - (hb : SmallSeries (badCost J Cθ CM CMn CHn c x) b) (he : SmallSeries error e) | |
| 59 | - (h0 : ∀ n, 0 ≤ increment n) | |
| 60 | - (h : ∀ n, increment n ≤ 2*CM*goodRatio*goodCost J x n+badCost J Cθ CM CMn CHn c x n+error n) : | |
| 61 | - SmallSeries increment (a+b+e) := | |
| 62 | - (add_series (add_series hg hb) he).mono h0 h | |
| 63 | - | |
| 64 | -theorem initial_increment_series {J : ℕ} {Cθ CM CMn CHn c : ℝ} {x : ℕ → ℝ} | |
| 65 | - {increment error : ℕ → ℝ} {b e : ℝ} | |
| 66 | - (hb : SmallSeries (badCost J Cθ CM CMn CHn c x) b) (he : SmallSeries error e) | |
| 67 | - (h0 : ∀ n, 0 ≤ increment n) | |
| 68 | - (h : ∀ n, increment n ≤ badCost J Cθ CM CMn CHn c x n+error n) : | |
| 69 | - SmallSeries increment (b+e) := (add_series hb he).mono h0 h | |
| 70 | - | |
| 71 | 55 | /-- The added pressure costs share the stage index and base scale with |
| 72 | 56 | any finite list of the existing source costs. -/ |
| 73 | 57 | theorem uniform_choice {ι : Type*} [Fintype ι] (s : ι → CostSpec) |
+0 −13 Euler/PacketPrimaryCommonRadius.lean View file
| @@ -46,22 +46,9 @@ theorem gradeRadius_guards (hC : 0 ≤ C) (R' : ℝ) | ||
| 46 | 46 | exact ⟨hC, hb.2.1.trans hR, hb.2.2.1.trans hR, |
| 47 | 47 | hb.2.2.2.1.trans hR, hb.2.2.2.2.trans hR⟩ |
| 48 | 48 | |
| 49 | -/-- An arbitrary extra requirement can be included without changing any | |
| 50 | -source cost or the primary time profile. -/ | |
| 51 | -theorem exists_grade_radius (hC : 0 ≤ C) (extra : ℝ) : | |
| 52 | - ∃ R' : ℝ, extra ≤ R' ∧ ∃ h : L.R ≤ R', | |
| 53 | - GradeGuards (P := P) (H.enlargeRadius R' h) (N.enlargeRadius R' h) C := | |
| 54 | - ⟨max extra (H.gradeRadius (P := P) N C), le_max_left _ _, | |
| 55 | - H.gradeRadius_guards N C hC _ (le_max_right _ _)⟩ | |
| 56 | - | |
| 57 | 49 | namespace GradeGuards |
| 58 | 50 | |
| 59 | 51 | variable {H N C} |
| 60 | 52 | |
| 61 | -theorem enlargeRadius (W : GradeGuards (P := P) H N C) (R' : ℝ) (h : L.R ≤ R') : | |
| 62 | - GradeGuards (P := P) (H.enlargeRadius R' h) (N.enlargeRadius R' h) C := | |
| 63 | - ⟨W.terminal_nonneg, W.common.trans h, W.corrector.trans h, | |
| 64 | - W.correctorTime.trans h, W.pressureGradient.trans h⟩ | |
| 65 | - | |
| 66 | 53 | end GradeGuards |
| 67 | 54 | end EulerTransversePacketPrimary.Budget |
+0 −67 Euler/PacketPrimaryDynamics.lean View file
| @@ -117,71 +117,4 @@ theorem canonicalNormal_equation (t : Icc (0 : ℝ) D.T) (x : Space) : | ||
| 117 | 117 | simpa only [extendPath,Data.clamp,projIcc_of_mem D.T_pos.le t.property, |
| 118 | 118 | Data.normalDerivative_apply] using D.normal_hasDerivWithinAt t t.property x |
| 119 | 119 | |
| 120 | -theorem canonicalVelocity_tangent (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 121 | - ⟪D.normal.field t x,canonicalVelocity τ hτ hτT B ξ hs t x⟫_ℝ = 0 := by | |
| 122 | - have h : ⟪D.normal.field t x, | |
| 123 | - vector τ hτ hτT B (initialData D 1 zero_lt_one ξ hs) (t,(x,Real.pi/2))⟫_ℝ = 0 := by | |
| 124 | - simpa only [Data.normalField,Data.clamp_coe] using | |
| 125 | - vector_tangent τ hτ hτT B (initialData D 1 zero_lt_one ξ hs) t x (Real.pi/2) | |
| 126 | - simp only [canonicalVelocity,envelopedVelocity,inner_smul_right,h,mul_zero] | |
| 127 | - | |
| 128 | -theorem canonicalVelocity_equation (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 129 | - HasDerivWithinAt (fun s => canonicalVelocity τ hτ hτT B ξ hs s x) | |
| 130 | - (-D.M.field t x (canonicalVelocity τ hτ hτT B ξ hs t x)+ | |
| 131 | - (2*⟪D.normal.field t x,D.M.field t x (canonicalVelocity τ hτ hτT B ξ hs t x)⟫_ℝ/ | |
| 132 | - ‖D.normal.field t x‖^2) • D.normal.field t x) (Icc (0 : ℝ) D.T) t := by | |
| 133 | - simpa only [physicalGenerator_apply] using canonicalVelocity_homogeneous_time τ hτ hτT B ξ hs t x | |
| 134 | - | |
| 135 | -theorem canonicalVelocity_ne_zero (hξ : ξ ≠ 0) (t : Icc (0 : ℝ) D.T) | |
| 136 | - (x : Space) (hx : innerCutoff x ≠ 0) : canonicalVelocity τ hτ hτT B ξ hs t x ≠ 0 := by | |
| 137 | - intro ht | |
| 138 | - obtain ⟨s,hs0⟩ := B.coefficients.labelVelocity_exists_ne_zero x ξ hξ | |
| 139 | - let sd : Icc (0 : ℝ) D.T := ⟨s,s.property.1,s.property.2.trans hτT.le⟩ | |
| 140 | - have hz := (constructedEvolution D.T D.T_pos.le (physicalGenerator D x)).homogeneous_zero_at | |
| 141 | - (fun r => canonicalVelocity τ hτ hτT B ξ hs r x) | |
| 142 | - (fun r => canonicalVelocity_homogeneous_time τ hτ hτT B ξ hs r x) t sd ht | |
| 143 | - change canonicalVelocity τ hτ hτT B ξ hs s x = 0 at hz | |
| 144 | - rw [canonicalVelocity_history τ hτ hτT B ξ hs s x] at hz | |
| 145 | - exact hs0 ((smul_eq_zero.mp hz).resolve_left hx) | |
| 146 | - | |
| 147 | -theorem canonicalVelocity_center_ne_zero (hξ : ξ ≠ 0) (t : Icc (0 : ℝ) D.T) : | |
| 148 | - canonicalVelocity τ hτ hτT B ξ hs t 0 ≠ 0 := | |
| 149 | - canonicalVelocity_ne_zero τ hτ hτT B ξ hs hξ t 0 (by rw [innerCutoff_zero]; exact one_ne_zero) | |
| 150 | - | |
| 151 | -theorem canonical_size_pos (hξ : ξ ≠ 0) (t : Icc (0 : ℝ) D.T) : | |
| 152 | - 0 < ‖D.normal.field t 0‖*‖canonicalVelocity τ hτ hτT B ξ hs t 0‖ := | |
| 153 | - mul_pos (norm_pos_iff.mpr (HistoryData.normal_ne_zero t 0)) | |
| 154 | - (norm_pos_iff.mpr (canonicalVelocity_center_ne_zero τ hτ hτT B ξ hs hξ t)) | |
| 155 | - | |
| 156 | -def canonicalVelocityPath (x : Space) : C(Icc (0 : ℝ) D.T,Space) where | |
| 157 | - toFun t := canonicalVelocity τ hτ hτT B ξ hs t x | |
| 158 | - continuous_toFun := (show ContinuousOn (fun t => canonicalVelocity τ hτ hτT B ξ hs t x) | |
| 159 | - (Icc (0 : ℝ) D.T) from fun t ht => | |
| 160 | - (canonicalVelocity_homogeneous_time τ hτ hτT B ξ hs ⟨t,ht⟩ x).continuousWithinAt).domRestrict | |
| 161 | - | |
| 162 | -theorem canonical_amplitude_pos (hξ : ξ ≠ 0) (t : Icc (0 : ℝ) D.T) | |
| 163 | - (δ h : ℝ) (hδ : 0 < δ) (hh : 0 < h) : | |
| 164 | - 0 < δ*h/(‖D.normal.field t 0‖*‖canonicalVelocity τ hτ hτT B ξ hs t 0‖) := | |
| 165 | - div_pos (mul_pos hδ hh) (canonical_size_pos τ hτ hτT B ξ hs hξ t) | |
| 166 | - | |
| 167 | -/-- The actual scaled terminal datum achieves the requested primary | |
| 168 | -gradient norm; nonvanishing is proved from its nonzero terminal direction. -/ | |
| 169 | -theorem scaled_terminal_target_shear (hξ : ξ ≠ 0) (δ : ℝ) (hδ : 0 < δ) | |
| 170 | - (h k : ℝ) (hh : 0 ≤ h) (hk : k ≠ 0) (t : Icc (0 : ℝ) D.T) | |
| 171 | - (X Y : Space → Space) (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 172 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 173 | - let α := δ*h/(‖D.normal.field t 0‖*‖canonicalVelocity τ hτ hτT B ξ hs t 0‖) | |
| 174 | - ‖fderiv ℝ (fun x => k⁻¹ • vector τ hτ hτT B (initialData D δ hδ (α • ξ) hs) | |
| 175 | - (t,(Y x,k*inner ℝ D.m₀ (Y x)))) (X 0)‖ = h := by | |
| 176 | - dsimp only | |
| 177 | - have he := EulerPacketPrimaryShear.scaled_terminal_wave_eq τ hτ hτT B δ hδ ξ hs | |
| 178 | - (δ*h/(‖D.normal.field t 0‖*‖canonicalVelocity τ hτ hτT B ξ hs t 0‖)) k t | |
| 179 | - change ‖fderiv ℝ ((fun x : Space => k⁻¹ • vector τ hτ hτT B | |
| 180 | - (initialData D δ hδ ((δ*h/(‖D.normal.field t 0‖* | |
| 181 | - ‖canonicalVelocity τ hτ hτT B ξ hs t 0‖)) • ξ) hs) | |
| 182 | - (t,(x,k*inner ℝ D.m₀ x))) ∘ Y) (X 0)‖ = h | |
| 183 | - rw [he] | |
| 184 | - exact EulerPacketPrimaryShear.fullWave_target_shear τ hτ hτT B δ hδ ξ hs h k hh hk t X Y | |
| 185 | - hX hY hleft (canonicalVelocity_center_ne_zero τ hτ hτT B ξ hs hξ t) | |
| 186 | - | |
| 187 | 120 | end EulerPacketPrimaryFactorization |
+0 −118 Euler/PacketPrimaryFullShear.lean View file
| @@ -19,122 +19,4 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteS | ||
| 19 | 19 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 20 | 20 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) |
| 21 | 21 | |
| 22 | -def fullWave (α k : ℝ) (t : Icc (0 : ℝ) D.T) (y : Space) : Space := | |
| 23 | - (α/k) • vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(y,k*⟪D.m₀,y⟫_ℝ)) | |
| 24 | - | |
| 25 | -theorem fullWave_hasFDerivAt (α k : ℝ) (hk : k ≠ 0) (t : Icc (0 : ℝ) D.T) : | |
| 26 | - HasFDerivAt (fullWave τ hτ hτT B δ hδ ξ hs α k t) | |
| 27 | - ((α/δ) • rankOne ℝ (envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0) D.m₀) 0 := by | |
| 28 | - let A : Space × ℝ → Space := fun z => | |
| 29 | - vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,z) | |
| 30 | - have hA : DifferentiableAt ℝ A (0,0) := | |
| 31 | - ((vectorField τ hτ hτT B (initialData D δ hδ ξ hs)).raw_smooth t).differentiable (by simp) (0,0) | |
| 32 | - have hzero : ∀ y, A (y,0)=0 := by | |
| 33 | - intro y | |
| 34 | - change vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(y,0))=0 | |
| 35 | - rw [vector_factorization] | |
| 36 | - simp [profile] | |
| 37 | - have ha : HasDerivAt (fun θ : ℝ => A (0,θ)) | |
| 38 | - (δ⁻¹ • envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0) 0 := by | |
| 39 | - have hp := (profile_hasDerivAt δ hδ 0).differentiableAt.hasDerivAt | |
| 40 | - rw [profile_deriv_zero δ hδ] at hp | |
| 41 | - have he : (fun θ : ℝ => A (0,θ)) = | |
| 42 | - fun θ => profile δ θ • envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0 := | |
| 43 | - funext (vector_factorization τ hτ hτT B δ hδ ξ hs t 0) | |
| 44 | - rw [he] | |
| 45 | - exact hp.smul_const _ | |
| 46 | - have h := zero_phase_graph_hasFDerivAt A _ D.m₀ hA hzero ha (α/k) k | |
| 47 | - have hc : α/k*k=α := by field_simp | |
| 48 | - rw [hc] at h | |
| 49 | - convert! h using 1 | |
| 50 | - apply ContinuousLinearMap.ext | |
| 51 | - intro v | |
| 52 | - simp only [smul_apply,rankOne_apply,smul_smul] | |
| 53 | - congr 1 | |
| 54 | - rw [div_eq_mul_inv] | |
| 55 | - ring | |
| 56 | - | |
| 57 | -theorem fullWave_physical_hasFDerivAt (α k : ℝ) (hk : k ≠ 0) | |
| 58 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 59 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 60 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 61 | - HasFDerivAt (fun x => fullWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) | |
| 62 | - ((α/δ) • rankOne ℝ (envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0) | |
| 63 | - (D.normal.field t 0)) (X 0) := by | |
| 64 | - have he : (Y ∘ X) = id := funext hleft | |
| 65 | - have hdY := EulerLagrangian.derivative_pullback_inverse Y X (D.deformationEquiv t 0) 0 hX hY | |
| 66 | - rw [he,fderiv_id,id_comp] at hdY | |
| 67 | - have hy : HasFDerivAt Y (D.deformationEquiv t 0).symm.toContinuousLinearMap (X 0) := | |
| 68 | - hdY ▸ hY.hasFDerivAt | |
| 69 | - have hp : HasFDerivAt (fullWave τ hτ hτT B δ hδ ξ hs α k t) | |
| 70 | - ((α/δ) • rankOne ℝ (envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0) D.m₀) (Y (X 0)) := by | |
| 71 | - rw [hleft] | |
| 72 | - exact fullWave_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t | |
| 73 | - convert! hp.comp (X 0) hy using 1 | |
| 74 | - apply ContinuousLinearMap.ext | |
| 75 | - intro v | |
| 76 | - simp only [smul_apply,comp_apply,rankOne_apply] | |
| 77 | - congr 2 | |
| 78 | - exact (D.FInv.field t 0).adjoint_inner_left v D.m₀ | |
| 79 | - | |
| 80 | -theorem fullWave_physical_norm (α k : ℝ) (hα : 0 ≤ α) (hk : k ≠ 0) | |
| 81 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 82 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 83 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 84 | - ‖fderiv ℝ (fun x => fullWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) (X 0)‖ = | |
| 85 | - (α/δ) * (‖D.normal.field t 0‖ * ‖envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0‖) := by | |
| 86 | - rw [(fullWave_physical_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t X Y hX hY hleft).fderiv, | |
| 87 | - norm_smul,Real.norm_eq_abs,abs_of_nonneg (div_nonneg hα hδ.le),norm_rankOne,mul_comm | |
| 88 | - ‖envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0‖ ‖D.normal.field t 0‖] | |
| 89 | - | |
| 90 | -/-- The normalized rank-one expression is exactly the one in the source | |
| 91 | -geometry record, with c=α/δ and the actual primary velocity. -/ | |
| 92 | -theorem fullWave_physical_normalized_gradient (α k : ℝ) (hk : k ≠ 0) | |
| 93 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 94 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 95 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) | |
| 96 | - (hv : envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0 ≠ 0) : | |
| 97 | - fderiv ℝ (fun x => fullWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) (X 0) = | |
| 98 | - ((α/δ)*(‖D.normal.field t 0‖*‖envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0‖)) • | |
| 99 | - rankOne ℝ (unit (envelopedVelocity τ hτ hτT B δ hδ ξ hs t 0)) (unit (D.normal.field t 0)) := by | |
| 100 | - rw [(fullWave_physical_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t X Y hX hY hleft).fderiv] | |
| 101 | - exact rankOne_normalized _ _ _ hv (HistoryData.normal_ne_zero t 0) | |
| 102 | - | |
| 103 | -theorem fullWave_physical_canonical_gradient (α k : ℝ) (hk : k ≠ 0) | |
| 104 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 105 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 106 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 107 | - fderiv ℝ (fun x => fullWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) (X 0) = | |
| 108 | - (α/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0) := by | |
| 109 | - rw [(fullWave_physical_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t X Y hX hY hleft).fderiv, | |
| 110 | - envelopedVelocity_independent_profile τ hτ hτT B δ 1 hδ zero_lt_one] | |
| 111 | - rfl | |
| 112 | - | |
| 113 | -theorem fullWave_physical_canonical_norm (α k : ℝ) (hα : 0 ≤ α) (hk : k ≠ 0) | |
| 114 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 115 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 116 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 117 | - ‖fderiv ℝ (fun x => fullWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) (X 0)‖ = | |
| 118 | - (α/δ) * (‖D.normal.field t 0‖ * ‖canonicalVelocity τ hτ hτT B ξ hs t 0‖) := by | |
| 119 | - rw [fullWave_physical_norm τ hτ hτT B δ hδ ξ hs α k hα hk t X Y hX hY hleft, | |
| 120 | - envelopedVelocity_independent_profile τ hτ hτT B δ 1 hδ zero_lt_one] | |
| 121 | - rfl | |
| 122 | - | |
| 123 | -/-- The source amplitude choice gives exactly the requested center shear | |
| 124 | -for the genuine primary, at any chosen target time. The size in this | |
| 125 | -choice uses the velocity independent of the narrow profile δ. -/ | |
| 126 | -theorem fullWave_target_shear (h k : ℝ) (hh : 0 ≤ h) (hk : k ≠ 0) | |
| 127 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 128 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 129 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) | |
| 130 | - (hv : canonicalVelocity τ hτ hτT B ξ hs t 0 ≠ 0) : | |
| 131 | - ‖fderiv ℝ (fun x => fullWave τ hτ hτT B δ hδ ξ hs | |
| 132 | - (δ*h/(‖D.normal.field t 0‖*‖canonicalVelocity τ hτ hτT B ξ hs t 0‖)) k t (Y x)) (X 0)‖ = h := by | |
| 133 | - have hm : ‖D.normal.field t 0‖ ≠ 0 := norm_ne_zero_iff.mpr (HistoryData.normal_ne_zero t 0) | |
| 134 | - have hw : ‖canonicalVelocity τ hτ hτT B ξ hs t 0‖ ≠ 0 := norm_ne_zero_iff.mpr hv | |
| 135 | - rw [fullWave_physical_canonical_norm τ hτ hτT B δ hδ ξ hs _ k | |
| 136 | - (div_nonneg (mul_nonneg hδ.le hh) (mul_nonneg (norm_nonneg _) (norm_nonneg _))) | |
| 137 | - hk t X Y hX hY hleft] | |
| 138 | - field_simp [hδ.ne',hm,hw] | |
| 139 | - | |
| 140 | 22 | end EulerPacketPrimaryShear |
+0 −47 Euler/PacketPrimaryPressureShear.lean View file
| @@ -63,51 +63,4 @@ theorem scalar_second_deriv (a : ℝ) (t : Icc (0 : ℝ) D.T) (x : Space) (θ : | ||
| 63 | 63 | coefficient τ hτ hτT B ξ hs a t x * deriv (profile δ) θ := |
| 64 | 64 | (scalar_deriv_hasDerivAt τ hτ hτT B δ hδ ξ hs a t x θ).deriv |
| 65 | 65 | |
| 66 | -theorem scalar_second_deriv_zero (a : ℝ) (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 67 | - deriv (deriv (fun s => scalar τ hτ hτT B | |
| 68 | - (initialData D δ hδ (a • ξ) hs) (t,(x,s)))) 0 = | |
| 69 | - coefficient τ hτ hτT B ξ hs a t x / δ := by | |
| 70 | - rw [scalar_second_deriv,profile_deriv_zero δ hδ,div_eq_mul_inv] | |
| 71 | - | |
| 72 | -def physicalPressure (a k : ℝ) (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : ℝ := | |
| 73 | - k⁻¹^2 * scalar τ hτ hτT B (initialData D δ hδ (a • ξ) hs) | |
| 74 | - (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ)) | |
| 75 | - | |
| 76 | -def hessianRemainder (a k : ℝ) (t : Icc (0 : ℝ) D.T) (Y : Space → Space) | |
| 77 | - (x : Space) : Space →L[ℝ] Space := | |
| 78 | - lowerHessian (fun z => scalar τ hτ hτT B (initialData D δ hδ (a • ξ) hs) (t,z)) | |
| 79 | - k D.m₀ Y (fun y => D.FInv.field t (Y y)) x | |
| 80 | - | |
| 81 | -/-- The leading term is the literal normal tensor in source (20); the | |
| 82 | -remainder contains only terms with at least one factor of k⁻¹. -/ | |
| 83 | -theorem physicalPressure_hessian (a k : ℝ) (hk : k ≠ 0) (t : Icc (0 : ℝ) D.T) | |
| 84 | - (Y : Space → Space) (hY : ∀ x, HasFDerivAt Y (D.FInv.field t (Y x)) x) (x : Space) : | |
| 85 | - fderiv ℝ (gradient (physicalPressure τ hτ hτT B δ hδ ξ hs a k t Y)) x = | |
| 86 | - (coefficient τ hτ hτT B ξ hs a t (Y x) * deriv (profile δ) (k*⟪D.m₀,Y x⟫_ℝ)) • | |
| 87 | - rankOne ℝ (D.normal.field t (Y x)) (D.normal.field t (Y x)) + | |
| 88 | - hessianRemainder τ hτ hτT B δ hδ ξ hs a k t Y x := by | |
| 89 | - let q : LiftTangent → ℝ := fun z => scalar τ hτ hτT B (initialData D δ hδ (a • ξ) hs) (t,z) | |
| 90 | - have hq : ContDiff ℝ ∞ q := scalar_smooth τ hτ hτT B _ t | |
| 91 | - have hJ : DifferentiableAt ℝ (fun y => D.FInv.field t (Y y)) x := | |
| 92 | - ((D.FInv.smooth t).differentiable (by simp) (Y x)).comp x (hY x).differentiableAt | |
| 93 | - have hh := hessian_physical hq k hk D.m₀ Y (fun y => D.FInv.field t (Y y)) hY x hJ | |
| 94 | - have ha : angularDerivative (angularDerivative q) (graphMap k D.m₀ (Y x)) = | |
| 95 | - coefficient τ hτ hτT B ξ hs a t (Y x) * deriv (profile δ) (k*⟪D.m₀,Y x⟫_ℝ) := by | |
| 96 | - rw [angularSecond_eq_deriv hq] | |
| 97 | - exact scalar_second_deriv τ hτ hτT B δ hδ ξ hs a t (Y x) (k*⟪D.m₀,Y x⟫_ℝ) | |
| 98 | - rw [ha] at hh | |
| 99 | - exact hh | |
| 100 | - | |
| 101 | -theorem physicalPressure_hessian_of_inverse (a k : ℝ) (hk : k ≠ 0) | |
| 102 | - (X Y : Icc (0 : ℝ) D.T → Space → Space) | |
| 103 | - (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) | |
| 104 | - (hXY : ∀ t x, X t (Y t x)=x) (hY : Continuous (Function.uncurry Y)) | |
| 105 | - (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 106 | - fderiv ℝ (gradient (physicalPressure τ hτ hτT B δ hδ ξ hs a k t (Y t))) x = | |
| 107 | - (coefficient τ hτ hτT B ξ hs a t (Y t x) * deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • | |
| 108 | - rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x)) + | |
| 109 | - hessianRemainder τ hτ hτT B δ hδ ξ hs a k t (Y t) x := | |
| 110 | - physicalPressure_hessian τ hτ hτT B δ hδ ξ hs a k hk t (Y t) | |
| 111 | - (continuousInverse_hasFDerivAt D X Y hX hXY hY t) x | |
| 112 | - | |
| 113 | 66 | end EulerPacketPrimaryPressure |
+0 −22 Euler/PacketPrimaryScaling.lean View file
| @@ -57,26 +57,4 @@ theorem vector_terminal_smul (a : ℝ) (t : Icc (0 : ℝ) D.T) (x : Space) (θ : | ||
| 57 | 57 | H.orbit (G.smul a).orbit t t (congrArg (fun p => p t) hp)) (x,(θ : AddCircle period)) |
| 58 | 58 | exact (H.raw_eq t x θ).trans (he.trans ((G.smul a).raw_eq t x θ).symm) |
| 59 | 59 | |
| 60 | -theorem scaled_terminal_wave_eq (a k : ℝ) (t : Icc (0 : ℝ) D.T) : | |
| 61 | - (fun x : Space => k⁻¹ • vector τ hτ hτT B (initialData D δ hδ (a • ξ) hs) | |
| 62 | - (t,(x,k*⟪D.m₀,x⟫_ℝ))) = fullWave τ hτ hτT B δ hδ ξ hs a k t := by | |
| 63 | - funext x | |
| 64 | - rw [vector_terminal_smul τ hτ hτT B δ hδ ξ hs] | |
| 65 | - simp only [fullWave,smul_smul,div_eq_mul_inv,mul_comm] | |
| 66 | - | |
| 67 | -/-- This derivative belongs to the literal primary used by the initialized | |
| 68 | -packet, where the amplitude is inserted in its terminal datum. -/ | |
| 69 | -theorem scaled_terminal_physical_gradient (a k : ℝ) (hk : k ≠ 0) | |
| 70 | - (t : Icc (0 : ℝ) D.T) (X Y : Space → Space) | |
| 71 | - (hX : HasFDerivAt X (D.F.field t 0) 0) | |
| 72 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 73 | - fderiv ℝ (fun x => k⁻¹ • vector τ hτ hτT B (initialData D δ hδ (a • ξ) hs) | |
| 74 | - (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ))) (X 0) = | |
| 75 | - (a/δ) • rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t 0) (D.normal.field t 0) := by | |
| 76 | - have he := scaled_terminal_wave_eq τ hτ hτT B δ hδ ξ hs a k t | |
| 77 | - change fderiv ℝ ((fun x : Space => k⁻¹ • vector τ hτ hτT B | |
| 78 | - (initialData D δ hδ (a • ξ) hs) (t,(x,k*⟪D.m₀,x⟫_ℝ))) ∘ Y) (X 0) = _ | |
| 79 | - rw [he] | |
| 80 | - exact fullWave_physical_canonical_gradient τ hτ hτT B δ hδ ξ hs a k hk t X Y hX hY hleft | |
| 81 | - | |
| 82 | 60 | end EulerPacketPrimaryShear |
+0 −109 Euler/PacketPrimaryShearIdentity.lean View file
| @@ -17,48 +17,6 @@ open Set Filter InnerProductSpace ContinuousLinearMap EulerSmoothLimit | ||
| 17 | 17 | EulerSpatialCutoffs EulerPeriodicProfile |
| 18 | 18 | open scoped ContDiff |
| 19 | 19 | |
| 20 | -theorem zero_slice_hasFDerivAt (A : Space × ℝ → Space) (x a : Space) | |
| 21 | - (hA : DifferentiableAt ℝ A (x,0)) (hzero : ∀ y, A (y,0)=0) | |
| 22 | - (ha : HasDerivAt (fun θ : ℝ => A (x,θ)) a 0) : | |
| 23 | - HasFDerivAt A ((toSpanSingleton ℝ a).comp (snd ℝ Space ℝ)) (x,0) := by | |
| 24 | - have hs := hA.hasFDerivAt.comp x | |
| 25 | - ((hasFDerivAt_id (𝕜 := ℝ) x).prodMk (hasFDerivAt_const (0 : ℝ) x)) | |
| 26 | - have he : (fun y => A (y,0)) = fun _ : Space => (0 : Space) := funext hzero | |
| 27 | - change HasFDerivAt (fun y => A (y,0)) ((fderiv ℝ A (x,0)).comp (inl ℝ Space ℝ)) x at hs | |
| 28 | - rw [he] at hs | |
| 29 | - have hspace : ∀ v : Space, fderiv ℝ A (x,0) (v,0)=0 := by | |
| 30 | - intro v | |
| 31 | - have h := congrArg (fun L : Space →L[ℝ] Space => L v) | |
| 32 | - (hs.unique (hasFDerivAt_const (0 : Space) x)) | |
| 33 | - exact h | |
| 34 | - have ht := hA.hasFDerivAt.comp_hasDerivAt (0 : ℝ) | |
| 35 | - ((hasDerivAt_const (0 : ℝ) x).prodMk (hasDerivAt_id (0 : ℝ))) | |
| 36 | - have hangle : fderiv ℝ A (x,0) (0,1)=a := ht.unique ha | |
| 37 | - have hd : fderiv ℝ A (x,0) = (toSpanSingleton ℝ a).comp (snd ℝ Space ℝ) := by | |
| 38 | - apply ContinuousLinearMap.ext | |
| 39 | - rintro ⟨v,s⟩ | |
| 40 | - have hp : (v,s) = (v,(0 : ℝ))+s•((0 : Space),(1 : ℝ)) := by simp | |
| 41 | - rw [hp,map_add,map_smul,hspace,hangle] | |
| 42 | - simp | |
| 43 | - exact hd ▸ hA.hasFDerivAt | |
| 44 | - | |
| 45 | -theorem zero_phase_graph_hasFDerivAt (A : Space × ℝ → Space) (a m : Space) | |
| 46 | - (hA : DifferentiableAt ℝ A (0,0)) (hzero : ∀ y, A (y,0)=0) | |
| 47 | - (ha : HasDerivAt (fun θ : ℝ => A (0,θ)) a 0) (c k : ℝ) : | |
| 48 | - HasFDerivAt (fun y => c • A (y,k*⟪m,y⟫_ℝ)) ((c*k) • rankOne ℝ a m) 0 := by | |
| 49 | - have hp : HasFDerivAt A ((toSpanSingleton ℝ a).comp (snd ℝ Space ℝ)) (graphMap k m 0) := by | |
| 50 | - rw [map_zero] | |
| 51 | - change HasFDerivAt A ((toSpanSingleton ℝ a).comp (snd ℝ Space ℝ)) (0,0) | |
| 52 | - exact zero_slice_hasFDerivAt A 0 a hA hzero ha | |
| 53 | - have h := (hp.comp 0 (graphMap k m).hasFDerivAt).const_smul c | |
| 54 | - convert! h using 1 | |
| 55 | - apply ContinuousLinearMap.ext | |
| 56 | - intro v | |
| 57 | - simp only [smul_apply,comp_apply,toSpanSingleton_apply,coe_snd',graphMap_apply, | |
| 58 | - rankOne_apply,smul_smul] | |
| 59 | - congr 1 | |
| 60 | - ring | |
| 61 | - | |
| 62 | 20 | theorem rankOne_normalized (c : ℝ) (v m : Space) (hv : v ≠ 0) (hm : m ≠ 0) : |
| 63 | 21 | c • rankOne ℝ v m = |
| 64 | 22 | (c*(‖m‖*‖v‖)) • rankOne ℝ (unit v) (unit m) := by |
| @@ -73,71 +31,4 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteS | ||
| 73 | 31 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 74 | 32 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) |
| 75 | 33 | |
| 76 | -/-- The literal leading primary on the physical phase graph in label coordinates. -/ | |
| 77 | -def historyWave (α k : ℝ) (t : Icc (0 : ℝ) τ) (y : Space) : Space := | |
| 78 | - (α/k) • vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(y,k*⟪D.m₀,y⟫_ℝ)) | |
| 79 | - | |
| 80 | -theorem historyWave_hasFDerivAt (α k : ℝ) (hk : k ≠ 0) (t : Icc (0 : ℝ) τ) : | |
| 81 | - HasFDerivAt (historyWave τ hτ hτT B δ hδ ξ hs α k t) | |
| 82 | - ((α/δ) • rankOne ℝ (B.coefficients.labelVelocity 0 ξ t) D.m₀) 0 := by | |
| 83 | - let A : Space × ℝ → Space := fun z => | |
| 84 | - vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,z) | |
| 85 | - have hA : DifferentiableAt ℝ A (0,0) := | |
| 86 | - ((vectorField τ hτ hτT B (initialData D δ hδ ξ hs)).raw_smooth | |
| 87 | - ⟨t,t.property.1,t.property.2.trans hτT.le⟩).differentiable (by simp) (0,0) | |
| 88 | - have hzero : ∀ y, A (y,0)=0 := by | |
| 89 | - intro y | |
| 90 | - change vector τ hτ hτT B (initialData D δ hδ ξ hs) (t,(y,0))=0 | |
| 91 | - rw [vector_compact_wave_history] | |
| 92 | - simp [profile] | |
| 93 | - have ha : HasDerivAt (fun θ : ℝ => A (0,θ)) (δ⁻¹ • B.coefficients.labelVelocity 0 ξ t) 0 := by | |
| 94 | - simpa only [A,innerCutoff_zero,one_mul] using | |
| 95 | - angular_derivative_zero_history τ hτ hτT B δ hδ ξ hs t 0 | |
| 96 | - have h := zero_phase_graph_hasFDerivAt A _ D.m₀ hA hzero ha (α/k) k | |
| 97 | - have hc : α/k*k=α := by field_simp | |
| 98 | - rw [hc] at h | |
| 99 | - convert! h using 1 | |
| 100 | - apply ContinuousLinearMap.ext | |
| 101 | - intro v | |
| 102 | - simp only [smul_apply,rankOne_apply,smul_smul] | |
| 103 | - congr 1 | |
| 104 | - rw [div_eq_mul_inv] | |
| 105 | - ring | |
| 106 | - | |
| 107 | -/-- The physical gradient uses the actual inverse Jacobian, producing the | |
| 108 | -normal F⁻ᵀm₀ rather than the initial direction m₀. -/ | |
| 109 | -theorem historyWave_physical_hasFDerivAt (α k : ℝ) (hk : k ≠ 0) | |
| 110 | - (t : Icc (0 : ℝ) τ) (X Y : Space → Space) | |
| 111 | - (hX : HasFDerivAt X (D.F.field ⟨t,t.property.1,t.property.2.trans hτT.le⟩ 0) 0) | |
| 112 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 113 | - HasFDerivAt (fun x => historyWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) | |
| 114 | - ((α/δ) • rankOne ℝ (B.coefficients.labelVelocity 0 ξ t) | |
| 115 | - (D.normal.field ⟨t,t.property.1,t.property.2.trans hτT.le⟩ 0)) (X 0) := by | |
| 116 | - let tg : Icc (0 : ℝ) D.T := ⟨t,t.property.1,t.property.2.trans hτT.le⟩ | |
| 117 | - have he : (Y ∘ X) = id := funext hleft | |
| 118 | - have hdY := EulerLagrangian.derivative_pullback_inverse Y X (D.deformationEquiv tg 0) 0 hX hY | |
| 119 | - rw [he,fderiv_id,id_comp] at hdY | |
| 120 | - have hy : HasFDerivAt Y (D.deformationEquiv tg 0).symm.toContinuousLinearMap (X 0) := | |
| 121 | - hdY ▸ hY.hasFDerivAt | |
| 122 | - have hp : HasFDerivAt (historyWave τ hτ hτT B δ hδ ξ hs α k t) | |
| 123 | - ((α/δ) • rankOne ℝ (B.coefficients.labelVelocity 0 ξ t) D.m₀) (Y (X 0)) := by | |
| 124 | - rw [hleft] | |
| 125 | - exact historyWave_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t | |
| 126 | - convert! hp.comp (X 0) hy using 1 | |
| 127 | - apply ContinuousLinearMap.ext | |
| 128 | - intro v | |
| 129 | - simp only [smul_apply,comp_apply,rankOne_apply] | |
| 130 | - congr 2 | |
| 131 | - exact (D.FInv.field tg 0).adjoint_inner_left v D.m₀ | |
| 132 | - | |
| 133 | -theorem historyWave_physical_norm (α k : ℝ) (hα : 0 ≤ α) (hk : k ≠ 0) | |
| 134 | - (t : Icc (0 : ℝ) τ) (X Y : Space → Space) | |
| 135 | - (hX : HasFDerivAt X (D.F.field ⟨t,t.property.1,t.property.2.trans hτT.le⟩ 0) 0) | |
| 136 | - (hY : DifferentiableAt ℝ Y (X 0)) (hleft : ∀ y, Y (X y)=y) : | |
| 137 | - ‖fderiv ℝ (fun x => historyWave τ hτ hτT B δ hδ ξ hs α k t (Y x)) (X 0)‖ = | |
| 138 | - (α/δ) * (‖B.coefficients.labelVelocity 0 ξ t‖ * | |
| 139 | - ‖D.normal.field ⟨t,t.property.1,t.property.2.trans hτT.le⟩ 0‖) := by | |
| 140 | - rw [(historyWave_physical_hasFDerivAt τ hτ hτT B δ hδ ξ hs α k hk t X Y hX hY hleft).fderiv, | |
| 141 | - norm_smul,Real.norm_eq_abs,abs_of_nonneg (div_nonneg hα hδ.le),norm_rankOne] | |
| 142 | - | |
| 143 | 34 | end EulerPacketPrimaryShear |
+0 −9 Euler/PacketPrimaryUncut.lean View file
| @@ -152,13 +152,4 @@ theorem uncutVelocity_ne_zero (hξ : ξ ≠ 0) (t : Icc (0 : ℝ) D.T) (x : Spac | ||
| 152 | 152 | erw [uncutVelocity_history] at hz |
| 153 | 153 | exact hs hz |
| 154 | 154 | |
| 155 | -theorem vector_uncut_factorization (δ : ℝ) (hδ : 0 < δ) (a : ℝ) | |
| 156 | - (hs : tsupport innerCutoff ⊆ D.support) (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : | |
| 157 | - vector τ hτ hτT B (initialData D δ hδ (a • ξ) hs) (t,(x,θ)) = | |
| 158 | - (a*innerCutoff x*profile δ θ) • uncutVelocity τ hτ hτT B ξ t x := by | |
| 159 | - rw [vector_terminal_smul,vector_factorization_canonical,canonicalVelocity_eq_cutoff_uncut] | |
| 160 | - simp only [smul_smul] | |
| 161 | - congr 1 | |
| 162 | - ring | |
| 163 | - | |
| 164 | 155 | end EulerPacketPrimaryFactorization |
+0 −8 Euler/PacketProfileBudget.lean View file
| @@ -36,14 +36,6 @@ namespace ProfileBudget | ||
| 36 | 36 | |
| 37 | 37 | variable {S : Scales (Icc (0 : ℝ) T)} {R : ℝ} |
| 38 | 38 | |
| 39 | -theorem prefixBound {p : ℕ} {a : ℕ → Profile} | |
| 40 | - (G : ∀ i, i < p → ProfileRegularity P T hT support (a i)) | |
| 41 | - (hG : ∀ i (hi : i < p), ProfileBudget (G i hi) S R i) : | |
| 42 | - PrefixBound (ProfileRegularity.prefixFields G) hT S R where | |
| 43 | - high i hi _ := (hG i hi).high | |
| 44 | - mean i hi _ := (hG i hi).mean | |
| 45 | - corrector i hi _ := (hG i hi).corrector | |
| 46 | - | |
| 47 | 39 | theorem transfer {p : ℕ} {support' : Set Space} (hTpos : 0 < T) |
| 48 | 40 | {G : ProfileRegularity P T hT support a} (hG : ProfileBudget G S R p) |
| 49 | 41 | (H : ProfileRegularity P T hT support' a) : ProfileBudget H S R p where |
+0 −9 Euler/PacketProfileParity.lean View file
| @@ -47,15 +47,6 @@ variable {P T : ℝ} [Fact (0 < P)] {S : Set Space} {a : Profile} | ||
| 47 | 47 | |
| 48 | 48 | include H |
| 49 | 49 | |
| 50 | -theorem highDerivative_odd : JointOdd T G.high_t := | |
| 51 | - G.high.timeDerivative_odd G.highDerivative hT G.high_time H.high | |
| 52 | - | |
| 53 | -theorem meanDerivative_odd : JointOdd T G.mean_t := | |
| 54 | - G.mean.timeDerivative_odd G.meanDerivative hT G.mean_time H.mean | |
| 55 | - | |
| 56 | -theorem correctorDerivative_odd : JointOdd T G.corrector_t := | |
| 57 | - G.corrector.timeDerivative_odd G.correctorDerivative hT G.corrector_time H.corrector | |
| 58 | - | |
| 59 | 50 | end ProfileParity |
| 60 | 51 | |
| 61 | 52 | theorem JointOdd.changeTime {T T' : ℝ} {raw : VectorField} (H : JointOdd T raw) (h : T = T') : |
+0 −5 Euler/PacketProfileRecursion.lean View file
| @@ -135,11 +135,6 @@ theorem profiles_mean (O : Operators) (primary : Profile) (p : ℕ) (hp : 2 ≤ | ||
| 135 | 135 | rw [profiles_step O primary p hp] |
| 136 | 136 | rfl |
| 137 | 137 | |
| 138 | -theorem profiles_high (O : Operators) (primary : Profile) (p : ℕ) (hp : 2 ≤ p) : | |
| 139 | - (profiles O primary p).high=(O.highSolve (highForce O p (profiles O primary))).1 := by | |
| 140 | - rw [profiles_step O primary p hp] | |
| 141 | - rfl | |
| 142 | - | |
| 143 | 138 | theorem profiles_corrector (O : Operators) (primary : Profile) (p : ℕ) (hp : 2 ≤ p) : |
| 144 | 139 | (profiles O primary p).corrector=O.curlCorrector (profiles O primary p).high := by |
| 145 | 140 | rw [profiles_step O primary p hp] |
+0 −9 Euler/PacketProfileTailGrade.lean View file
| @@ -33,13 +33,4 @@ theorem tail_grade_bound | ||
| 33 | 33 | (G N le_rfl).correctorDerivative (G N le_rfl).corrector_time (G N le_rfl).pressure |
| 34 | 34 | (hG N le_rfl hN).correctorDerivative (hG N le_rfl hN).pressure ha hb n hn |
| 35 | 35 | |
| 36 | -theorem literal_tail_grade_bound | |
| 37 | - (hG : ∀ i (hi : i ≤ N), 1 ≤ i → ProfileBudget (G i hi) S R i) | |
| 38 | - (hN : 1 ≤ N) (hR : 1 ≤ R) (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ R) | |
| 39 | - (ha : a 0=0) (hb : (a 1).mean=0) (n : ℕ) (hn : N+1 ≤ n) : | |
| 40 | - (literalTailGradeField hT G C ha n hn).WordBound 6 R | |
| 41 | - ((1+18*((N+2 : ℕ) : ℝ)^2)*BC.termCost*S.H0^(2*n+2)) (110*(n+1)) := | |
| 42 | - (tail_grade_bound hT G BC hG hN hR hRc ha hb n hn).of_path_eq | |
| 43 | - (literalTailGradeField hT G C ha n hn) (literalTailGradeField_path hT G C ha n hn) | |
| 44 | - | |
| 45 | 36 | end EulerPacketCylinderField.ProfileRegularity |
+0 −9 Euler/PacketRadiusCostPolynomial.lean View file
| @@ -139,14 +139,5 @@ theorem radiusPolynomial_eval (W : ℝ) : radiusPolynomial.eval W=radiusEnvelope | ||
| 139 | 139 | congr 3 |
| 140 | 140 | ring_nf |
| 141 | 141 | |
| 142 | -def radiusConstant : ℝ := coefficientCost radiusPolynomial | |
| 143 | -def radiusPower : ℕ := radiusPolynomial.natDegree | |
| 144 | - | |
| 145 | -theorem radiusConstant_pos : 0 < radiusConstant := coefficientCost_pos _ | |
| 146 | - | |
| 147 | -theorem radiusEnvelope_power (W : ℝ) (hW : 1 ≤ W) : | |
| 148 | - radiusEnvelope W ≤ radiusConstant*W^radiusPower := by | |
| 149 | - rw [← radiusPolynomial_eval] | |
| 150 | - exact (le_abs_self _).trans (eval_bound radiusPolynomial W hW) | |
| 151 | 142 | |
| 152 | 143 | end EulerPacketRadiusPolynomial |
+0 −15 Euler/PacketRecursionAlgebra.lean View file
| @@ -40,21 +40,6 @@ theorem coefficient_assembled (N p : ℕ) (hp : 1 ≤ p) (hpN : p ≤ N) | ||
| 40 | 40 | simp only [map_add] |
| 41 | 41 | abel |
| 42 | 42 | |
| 43 | -/-- The two actual linear equations imply cancellation; no residual equation is assumed. -/ | |
| 44 | -theorem coefficient_assembled_eq_zero (N p : ℕ) (hp : 1 ≤ p) (hpN : p ≤ N) | |
| 45 | - (L : V →ₗ[ℝ] W) (G H : Q →ₗ[ℝ] W) (B C : V →ₗ[ℝ] V →ₗ[ℝ] W) | |
| 46 | - (a b c : ℕ → V) (q π : ℕ → Q) (hq : ∀ i ≤ N, H (q i)=0) (fmean : W) | |
| 47 | - (hmean : L (b p)+G (q p)=fmean) | |
| 48 | - (hhigh : L (a p)+H (π p)= | |
| 49 | - -(L (c (p-1))+G (π (p-1))+ | |
| 50 | - convolution (N+1) B (assemble N (fun i => a i+b i) c) | |
| 51 | - (assemble N (fun i => a i+b i) c) p+ | |
| 52 | - convolution (N+1) C (assemble N (fun i => a i+b i) c) | |
| 53 | - (assemble N (fun i => a i+b i) c) (p+1))-fmean) : | |
| 54 | - coefficient (N+1) L G H B C (assemble N (fun i => a i+b i) c) (assemble N q π) p=0 := by | |
| 55 | - rw [coefficient_assembled N p hp hpN L G H B C a b c q π hq, hmean, hhigh] | |
| 56 | - abel | |
| 57 | - | |
| 58 | 43 | theorem coefficient_zero_grade (N : ℕ) (L : V →ₗ[ℝ] W) (G H : Q →ₗ[ℝ] W) |
| 59 | 44 | (B C : V →ₗ[ℝ] V →ₗ[ℝ] W) (u : ℕ → V) (q : ℕ → Q) |
| 60 | 45 | (hu0 : u 0=0) (hq0 : G (q 0)=0) (hq1 : H (q 1)=0) : |
+0 −74 Euler/PacketResidualTailActual.lean View file
| @@ -13,57 +13,6 @@ namespace EulerPacketProfileRecursion | ||
| 13 | 13 | |
| 14 | 14 | open Set EulerSmoothLimit EulerPacketPointJets EulerFiniteGrades EulerPacketResidual |
| 15 | 15 | |
| 16 | -theorem slicedJet_assembledVelocity_finite (O : Operators) (N : ℕ) (a : ℕ → Profile) (z : Domain) | |
| 17 | - (hA : ∀ i ≤ N, SliceDifferentiable O.interval (a i).high z) | |
| 18 | - (hB : ∀ i ≤ N, SliceDifferentiable O.interval (a i).mean z) | |
| 19 | - (hC : ∀ i ≤ N, SliceDifferentiable O.interval (a i).corrector z) (i : ℕ) : | |
| 20 | - slicedJet O.interval (assembledVelocity N a i) z = assembledJets O N a z i := by | |
| 21 | - unfold assembledVelocity | |
| 22 | - rw [slicedJet_assemble O.interval N i _ _ z | |
| 23 | - (fun j hj => (hA j hj).add (hB j hj)) hC] | |
| 24 | - change truncate N (fun j => slicedJet O.interval ((a j).high+(a j).mean) z) i + _ = | |
| 25 | - truncate N (fun j => slicedJet O.interval (a j).high z+slicedJet O.interval (a j).mean z) i + _ | |
| 26 | - by_cases hi : i ≤ N | |
| 27 | - · rw [truncate_of_le _ _ _ hi,truncate_of_le _ _ _ hi,slicedJet_add (hA i hi) (hB i hi)] | |
| 28 | - · rw [truncate_of_gt _ _ _ (by omega),truncate_of_gt _ _ _ (by omega)] | |
| 29 | - | |
| 30 | -theorem slicedMomentumGrade_tail_eq_recursive (O : Operators) (N n : ℕ) (hn : N+1 ≤ n) | |
| 31 | - (a : ℕ → Profile) (z : Domain) | |
| 32 | - (hA : ∀ i ≤ N, SliceDifferentiable O.interval (a i).high z) | |
| 33 | - (hB : ∀ i ≤ N, SliceDifferentiable O.interval (a i).mean z) | |
| 34 | - (hC : ∀ i ≤ N, SliceDifferentiable O.interval (a i).corrector z) : | |
| 35 | - slicedMomentumGrade O.interval (N+1) (O.inverseFrame z) (O.strain z) (O.normal z) | |
| 36 | - (assembledVelocity N a) (assembledPressure N a) z n = recursiveGrade O N a z n := by | |
| 37 | - have hv : (fun i => slicedJet O.interval (assembledVelocity N a i) z) = assembledJets O N a z := | |
| 38 | - funext (slicedJet_assembledVelocity_finite O N a z hA hB hC) | |
| 39 | - have hg : truncate (N+1) | |
| 40 | - (fun i => slowPressure (O.inverseFrame z) (pressureJet (assembledPressure N a i) z)) n = | |
| 41 | - truncate (N+1) (fun i => slowPressure (O.inverseFrame z) (pressureJets N a z i)) n := by | |
| 42 | - by_cases he : n=N+1 | |
| 43 | - · subst n | |
| 44 | - rw [truncate_of_le _ _ _ le_rfl,truncate_of_le _ _ _ le_rfl] | |
| 45 | - unfold assembledPressure pressureJets | |
| 46 | - rw [assemble_last,assemble_last] | |
| 47 | - · rw [truncate_of_gt _ _ _ (by omega),truncate_of_gt _ _ _ (by omega)] | |
| 48 | - unfold slicedMomentumGrade | |
| 49 | - rw [hv] | |
| 50 | - unfold recursiveGrade coefficient | |
| 51 | - rw [hg,shiftDown_above (N+1) n _ hn,shiftDown_above (N+1) n _ hn] | |
| 52 | - | |
| 53 | -theorem slicedMomentumGrade_tail (O : Operators) (N n : ℕ) (hn : N+1 ≤ n) | |
| 54 | - (a : ℕ → Profile) (ha : a 0=0) (z : Domain) | |
| 55 | - (hA : ∀ i ≤ N, SliceDifferentiable O.interval (a i).high z) | |
| 56 | - (hB : ∀ i ≤ N, SliceDifferentiable O.interval (a i).mean z) | |
| 57 | - (hC : ∀ i ≤ N, SliceDifferentiable O.interval (a i).corrector z) : | |
| 58 | - slicedMomentumGrade O.interval (N+1) (O.inverseFrame z) (O.strain z) (O.normal z) | |
| 59 | - (assembledVelocity N a) (assembledPressure N a) z n = | |
| 60 | - (if n=N+1 then | |
| 61 | - linearPart (O.strain z) (slicedJet O.interval (a N).corrector z)+ | |
| 62 | - slowPressure (O.inverseFrame z) (pressureJet (a N).highPressure z) else 0) + | |
| 63 | - nonlinearGrade (N+1) n (O.inverseFrame z) (O.normal z) (knownJets O (N+1) a z) := | |
| 64 | - (slicedMomentumGrade_tail_eq_recursive O N n hn a z hA hB hC).trans | |
| 65 | - (recursiveGrade_tail O N n hn a ha z) | |
| 66 | - | |
| 67 | 16 | end EulerPacketProfileRecursion |
| 68 | 17 | |
| 69 | 18 | namespace EulerPacketCylinderField.ProfileRegularity |
| @@ -72,27 +21,4 @@ open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion | ||
| 72 | 21 | |
| 73 | 22 | variable {P T : ℝ} [Fact (0 < P)] {O : Operators} {N : ℕ} {a : ℕ → Profile} {S : Set Space} |
| 74 | 23 | |
| 75 | -def literalTailGradeField (hT : 0 < T) | |
| 76 | - (G : ∀ i, i ≤ N → ProfileRegularity P T hT.le S (a i)) | |
| 77 | - (C : CoefficientData P T O) (ha : a 0=0) (n : ℕ) (hn : N+1 ≤ n) : | |
| 78 | - Field P T (fun z => slicedMomentumGrade O.interval (N+1) (O.inverseFrame z) (O.strain z) (O.normal z) | |
| 79 | - (assembledVelocity N a) (assembledPressure N a) z n) := by | |
| 80 | - refine (tailGradeField hT G C ha n hn).congr ?_ | |
| 81 | - intro t x θ | |
| 82 | - apply slicedMomentumGrade_tail_eq_recursive O N n hn a (t,(x,θ)) | |
| 83 | - · intro i hi | |
| 84 | - rw [C.interval_eq] | |
| 85 | - exact (G i hi).high.sliceDifferentiable (G i hi).highDerivative hT.le (G i hi).high_time t x θ | |
| 86 | - · intro i hi | |
| 87 | - rw [C.interval_eq] | |
| 88 | - exact (G i hi).mean.sliceDifferentiable (G i hi).meanDerivative hT.le (G i hi).mean_time t x θ | |
| 89 | - · intro i hi | |
| 90 | - rw [C.interval_eq] | |
| 91 | - exact (G i hi).corrector.sliceDifferentiable (G i hi).correctorDerivative hT.le (G i hi).corrector_time t x θ | |
| 92 | - | |
| 93 | -theorem literalTailGradeField_path (hT : 0 < T) | |
| 94 | - (G : ∀ i, i ≤ N → ProfileRegularity P T hT.le S (a i)) | |
| 95 | - (C : CoefficientData P T O) (ha : a 0=0) (n : ℕ) (hn : N+1 ≤ n) : | |
| 96 | - (literalTailGradeField hT G C ha n hn).path = (tailGradeField hT G C ha n hn).path := rfl | |
| 97 | - | |
| 98 | 24 | end EulerPacketCylinderField.ProfileRegularity |
+0 −4 Euler/PacketResidualTailFields.lean View file
| @@ -59,10 +59,6 @@ theorem PrefixFields.tailGradeField_path (F : PrefixFields P T (N+1) a) | ||
| 59 | 59 | |
| 60 | 60 | def tailGrades (N : ℕ) : Finset ℕ := Ico (N+1) (2*N+3) |
| 61 | 61 | |
| 62 | -theorem tailGrades_card (N : ℕ) : (tailGrades N).card = N+2 := by | |
| 63 | - simp only [tailGrades, Nat.card_Ico] | |
| 64 | - omega | |
| 65 | - | |
| 66 | 62 | def PrefixFields.tailSumField (F : PrefixFields P T (N+1) a) |
| 67 | 63 | (C : CoefficientData P T O) (hT : 0 < T) {corrector_t : VectorField} |
| 68 | 64 | (Ct : Field P T corrector_t) |
+0 −25 Euler/PacketScalarPressureGrade.lean View file
| @@ -132,19 +132,6 @@ theorem Budget.angular_grade_bound (L : Budget D τ hτ hτT B (Fin 4) 6) | ||
| 132 | 132 | simpa only [angularField,Field.WordBound,Field.normalized_path, |
| 133 | 133 | show highShift p-1+1=highShift p by unfold highShift; omega] using hh |
| 134 | 134 | |
| 135 | -theorem Budget.scalar_grade_bound (L : Budget D τ hτ hτT B (Fin 4) 6) | |
| 136 | - (N : NormalBudget D 6 L.R) (W : Budget.GradeGuards (P := P) L N) | |
| 137 | - (G : Forcing P D raw) (F : Field P D.T raw) (c : ℝ) (hc : 0 < c) | |
| 138 | - (p : ℕ) (hp : 2 ≤ p) | |
| 139 | - (hforce : (F.normalized D.T_pos.le (c • L.fullProfile) | |
| 140 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound | |
| 141 | - 6 L.R 1 (highForceShift p)) : | |
| 142 | - ((scalarField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) | |
| 143 | - (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound | |
| 144 | - 6 L.R 1 (highShift p) := | |
| 145 | - (L.scalar_grade_bound_pred N W G F c hc p hp hforce).mono_shift | |
| 146 | - L.radius_bounds.1 zero_le_one (Nat.sub_le _ _) | |
| 147 | - | |
| 148 | 135 | end EulerTransversePacketJoin |
| 149 | 136 | |
| 150 | 137 | namespace EulerTransversePacketPrimary |
| @@ -209,16 +196,4 @@ theorem Budget.angular_grade_bound | ||
| 209 | 196 | (H.scalar_grade_bound_pred N C W Y α hα hYb) |
| 210 | 197 | exact hh |
| 211 | 198 | |
| 212 | -theorem Budget.scalar_grade_bound | |
| 213 | - {L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6} | |
| 214 | - (H : Budget L) (N : EulerTransversePacketJoin.NormalBudget D 6 L.R) (C : ℝ) | |
| 215 | - (W : Budget.GradeGuards (P := P) H N C) | |
| 216 | - (Y : InitialData P D) (α : ℝ) (hα : 0 < α) | |
| 217 | - (hYb : ∀ n, block standardDirection 6 | |
| 218 | - (fun a => translate P a (Y.value : CylinderL2 P U)) n 0 ≤ (α*C)*majorant L.R 0 n) : | |
| 219 | - ((scalarField τ hτ hτT B Y).normalized D.T_pos.le (α • L.fullProfile) | |
| 220 | - (smul_profile_pos L.fullProfile L.fullProfile_pos α hα)).WordBound 6 L.R 1 (highShift 1) := | |
| 221 | - (H.scalar_grade_bound_pred N C W Y α hα hYb).mono_shift | |
| 222 | - L.radius_bounds.1 zero_le_one (Nat.sub_le _ _) | |
| 223 | - | |
| 224 | 199 | end EulerTransversePacketPrimary |
+0 −16 Euler/PacketScalarPressureGradient.lean View file
| @@ -104,20 +104,4 @@ variable {P : ℝ} [Fact (0 < P)] | ||
| 104 | 104 | (hq : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a q)) |
| 105 | 105 | (he : ∀ (t : Icc (0 : ℝ) D.T) x θ, p (t,(x,θ)) = scalarPointField P q hq t (x,(θ : AddCircle P))) |
| 106 | 106 | |
| 107 | -def compactPressureField : Field P D.T (coordinatePressure D k p) := | |
| 108 | - ((liftedGradientField P p q hq he k⁻¹ D.m₀).smul (k^2)).congr (fun t x θ => by | |
| 109 | - change k • pressureGradient p (t,(x,θ)) + | |
| 110 | - k^2 • ((pressureJet p (t,(x,θ))).2 angleDirection • D.m₀) = | |
| 111 | - k^2 • (k⁻¹ • pressureGradient p (t,(x,θ)) + | |
| 112 | - (pressureJet p (t,(x,θ))).2 angleDirection • D.m₀) | |
| 113 | - simp only [smul_add,smul_smul] | |
| 114 | - rw [show k^2*k⁻¹ = k by field_simp [hk]]) | |
| 115 | - | |
| 116 | -theorem compactPressureField_mem (S : Set Space) (hS : IsCompact S) | |
| 117 | - (hz : ∀ (t : Icc (0 : ℝ) D.T) x, x ∉ S → ∀ θ, p (t,(x,θ)) = 0) | |
| 118 | - (t : Icc (0 : ℝ) D.T) : | |
| 119 | - (compactPressureField D k hk p q hq he).path t ∈ gradientSpace P k⁻¹ D.m₀ := | |
| 120 | - (gradientSpace P k⁻¹ D.m₀).smul_mem (k^2) | |
| 121 | - (liftedGradientField_mem P p q hq he k⁻¹ D.m₀ S hS hz t) | |
| 122 | - | |
| 123 | 107 | end EulerPacketCoordinates |
+0 −22 Euler/PacketScaledRay.lean View file
| @@ -35,28 +35,6 @@ theorem scaledRayRate_algebra {a ε s₀ : ℝ} (ha : a ≠ 0) (hε : ε ≠ 0) | ||
| 35 | 35 | def scaledRay (m v r : ℝ → Space) (s₀ t₀ a ε τ : ℝ) (i : Fin 3) : ℝ := |
| 36 | 36 | movingRay m v r (physicalTime t₀ a ε τ) i / (s₀*rayScale ε i) |
| 37 | 37 | |
| 38 | -/-- The physical ODE supplies exactly the scaled coefficient matrix whose | |
| 39 | -entrywise errors are controlled in the existing propagation proof. -/ | |
| 40 | -theorem scaledRay_hasDerivAt (B M : Space →L[ℝ] Space) | |
| 41 | - {m v r : ℝ → Space} {s₀ t₀ a ε τ : ℝ} | |
| 42 | - (ha : a ≠ 0) (hε : ε ≠ 0) (hs₀ : s₀ ≠ 0) | |
| 43 | - (hm : HasDerivAt m (-B.adjoint (m (physicalTime t₀ a ε τ))) (physicalTime t₀ a ε τ)) | |
| 44 | - (hv : HasDerivAt v (-B (v (physicalTime t₀ a ε τ)) + | |
| 45 | - (2*⟪m (physicalTime t₀ a ε τ),B (v (physicalTime t₀ a ε τ))⟫_ℝ / | |
| 46 | - ‖m (physicalTime t₀ a ε τ)‖^2) • m (physicalTime t₀ a ε τ)) (physicalTime t₀ a ε τ)) | |
| 47 | - (hr : HasDerivAt r (-M.adjoint (r (physicalTime t₀ a ε τ))) (physicalTime t₀ a ε τ)) | |
| 48 | - (hm0 : m (physicalTime t₀ a ε τ) ≠ 0) (hv0 : v (physicalTime t₀ a ε τ) ≠ 0) | |
| 49 | - (hmv : ⟪m (physicalTime t₀ a ε τ),v (physicalTime t₀ a ε τ)⟫_ℝ = 0) (i : Fin 3) : | |
| 50 | - HasDerivAt (fun σ => scaledRay m v r s₀ t₀ a ε σ i) | |
| 51 | - (∑ j : Fin 3, scaledRayEntry a ε | |
| 52 | - (frameMatrix M (unit (m (physicalTime t₀ a ε τ))) (unit (v (physicalTime t₀ a ε τ)))) | |
| 53 | - (frameSkew (frameMatrix B (unit (m (physicalTime t₀ a ε τ))) (unit (v (physicalTime t₀ a ε τ))))) | |
| 54 | - i j * scaledRay m v r s₀ t₀ a ε τ j) τ := by | |
| 55 | - have h := ((movingRay_hasDerivAt B M hm hv hr hm0 hv0 hmv i).comp τ | |
| 56 | - (physicalTime_hasDerivAt t₀ a ε τ)).div_const (s₀*rayScale ε i) | |
| 57 | - rw [scaledRayRate_algebra ha hε hs₀] at h | |
| 58 | - simpa only [scaledRay, Function.comp_def] using h | |
| 59 | - | |
| 60 | 38 | /-- The same rescaling for actual one-sided time derivatives. -/ |
| 61 | 39 | theorem scaledRay_hasDerivWithinAt (B M : Space →L[ℝ] Space) |
| 62 | 40 | {m v r : ℝ → Space} {s₀ t₀ a ε τ : ℝ} {S U : Set ℝ} |
+0 −20 Euler/PacketScaledVelocitySystem.lean View file
| @@ -91,24 +91,4 @@ theorem scaledVelocity_firstTwo_hasDerivWithinAt (B M : Space →L[ℝ] Space) | ||
| 91 | 91 | rw [scaledVelocityRhs_second _ _ _ _ _ hthird] at h |
| 92 | 92 | exact h |
| 93 | 93 | |
| 94 | -/-- The flux identity is valid with the actual one-sided endpoint derivatives | |
| 95 | -of packet paths, as well as in the interior. -/ | |
| 96 | -theorem velocity_scalar_flux_within | |
| 97 | - {β t u₁ v₁ : ℝ} {U V : ℝ → ℝ} {S : Set ℝ} | |
| 98 | - (hU : HasDerivWithinAt U u₁ S t) (hV : HasDerivWithinAt V v₁ S t) : | |
| 99 | - HasDerivWithinAt V (-U t + (v₁ + U t)) S t ∧ | |
| 100 | - HasDerivWithinAt (fun s => (1 + (β * s ^ 2) ^ 2) * (-U s)) | |
| 101 | - (2 * (1 - β * (β * t ^ 2)) * V t + (1 + (β * t ^ 2) ^ 2) * | |
| 102 | - (-u₁ + idealVelocityFirst β t (U t) (V t))) S t := by | |
| 103 | - refine ⟨hV.congr_deriv (by ring), ?_⟩ | |
| 104 | - have hD : HasDerivAt (fun s : ℝ => 1 + (β * s ^ 2) ^ 2) (4 * β ^ 2 * t ^ 3) t := by | |
| 105 | - convert! ((((hasDerivAt_id t).pow 2).const_mul β).pow 2).const_add 1 using 1 | |
| 106 | - simp only [Pi.pow_apply, id_eq] | |
| 107 | - ring | |
| 108 | - apply (hD.hasDerivWithinAt.mul hU.neg).congr_deriv | |
| 109 | - have hden : 1 + (β * t ^ 2) ^ 2 ≠ 0 := by positivity | |
| 110 | - dsimp [idealVelocityFirst] | |
| 111 | - field_simp | |
| 112 | - ring | |
| 113 | - | |
| 114 | 94 | end EulerPacketMovingFrame |
+0 −18 Euler/PacketShiftArithmetic.lean View file
| @@ -10,23 +10,11 @@ def meanShift (p : ℕ) : ℕ := 100*p-140 | ||
| 10 | 10 | def highForceShift (p : ℕ) : ℕ := highShift p-10 |
| 11 | 11 | def meanForceShift (p : ℕ) : ℕ := meanShift p-10 |
| 12 | 12 | |
| 13 | -theorem primary_shift : highShift 1=20 := rfl | |
| 14 | - | |
| 15 | 13 | theorem slow_high_high_room (i j p : ℕ) (hi : 1 ≤ i) (hj : 1 ≤ j) (hp : i+j=p) : |
| 16 | 14 | highShift i+highShift j+2+8 ≤ meanForceShift p := by |
| 17 | 15 | dsimp only [highShift, meanShift, meanForceShift] |
| 18 | 16 | omega |
| 19 | 17 | |
| 20 | -theorem slow_mean_high_room (i j p : ℕ) (hi : 2 ≤ i) (hj : 1 ≤ j) (hp : i+j=p) : | |
| 21 | - meanShift i+highShift j+2+8 ≤ meanForceShift p := by | |
| 22 | - dsimp only [highShift, meanShift, meanForceShift] | |
| 23 | - omega | |
| 24 | - | |
| 25 | -theorem slow_mean_mean_room (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) (hp : i+j=p) : | |
| 26 | - meanShift i+meanShift j+2+8 ≤ meanForceShift p := by | |
| 27 | - dsimp only [meanShift, meanForceShift] | |
| 28 | - omega | |
| 29 | - | |
| 30 | 18 | theorem fast_mean_high_room (i j p : ℕ) (hi : 2 ≤ i) (hj : 1 ≤ j) (hp : i+j=p+1) : |
| 31 | 19 | meanShift i+highShift j+2+8 ≤ highForceShift p := by |
| 32 | 20 | dsimp only [highShift, meanShift, highForceShift] |
| @@ -37,12 +25,6 @@ theorem fast_corrector_high_room (i j p : ℕ) (hi : 2 ≤ i) (hj : 1 ≤ j) (hp | ||
| 37 | 25 | dsimp only [highShift, meanShift, meanForceShift] |
| 38 | 26 | omega |
| 39 | 27 | |
| 40 | -theorem fast_corrector_corrector_room (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) | |
| 41 | - (hp : i+j=p+1) : | |
| 42 | - highShift (i-1)+highShift (j-1)+2+8 ≤ meanForceShift p := by | |
| 43 | - dsimp only [highShift, meanShift, meanForceShift] | |
| 44 | - omega | |
| 45 | - | |
| 46 | 28 | theorem previous_linear_room (p : ℕ) (hp : 2 ≤ p) : |
| 47 | 29 | highShift (p-1)+2+8 ≤ meanForceShift p := by |
| 48 | 30 | dsimp only [highShift, meanShift, meanForceShift] |
+0 −94 Euler/PacketShortTimePropagator.lean View file
| @@ -21,100 +21,6 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteS | ||
| 21 | 21 | private local instance : NormedRing (U →L[ℝ] U) := inferInstance |
| 22 | 22 | private local instance : NormedRing (Space →ᵇ U →L[ℝ] U) := inferInstance |
| 23 | 23 | |
| 24 | -def shortTimeRate (C C₁ : ℝ) : ℝ := 2*(1+3*C^2)^2*C*C₁ | |
| 25 | - | |
| 26 | -theorem shortTimeRate_nonneg (C C₁ : ℝ) (hC : 0 ≤ C) (hC₁ : 0 ≤ C₁) : | |
| 27 | - 0 ≤ shortTimeRate C C₁ := by | |
| 28 | - unfold shortTimeRate | |
| 29 | - positivity | |
| 30 | - | |
| 31 | 24 | variable (D : Data U) |
| 32 | 25 | |
| 33 | -theorem sourceGenerator_norm_le (C C₁ : ℝ) (hC : 0 ≤ C) (_hC₁ : 0 ≤ C₁) | |
| 34 | - (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det=1) | |
| 35 | - (hF : ∀ t x, ‖D.F.field t x‖ ≤ C) | |
| 36 | - (hF₁ : ∀ t x, ‖D.F₁.field t x‖ ≤ C₁) | |
| 37 | - (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 38 | - ‖sourceGenerator D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower t x‖ ≤ | |
| 39 | - shortTimeRate C C₁ := by | |
| 40 | - have hQ : ‖D.frame.field t x‖ ≤ C := by | |
| 41 | - simpa only [norm_iteratedFDeriv_zero] using D.frame_spatial_bound 0 C | |
| 42 | - (fun r y => by simpa only [norm_iteratedFDeriv_zero] using hF r y) t x | |
| 43 | - have hQ₁ : ‖D.frameDerivative.field t x‖ ≤ C₁ := by | |
| 44 | - simpa only [norm_iteratedFDeriv_zero] using D.frameDerivative_spatial_bound 0 C₁ | |
| 45 | - (fun r y => by simpa only [norm_iteratedFDeriv_zero] using hF₁ r y) t x | |
| 46 | - have hi := (gramInverse_norm (D.frame.field t x) D.frameLower D.frameLower_pos | |
| 47 | - (D.frame_lower t x)).trans (D.frameLower_inv_le_of_frame C hC hdet hF) | |
| 48 | - have hprod : ‖(D.frame.field t x).adjoint.comp (D.frameDerivative.field t x)‖ ≤ C*C₁ := by | |
| 49 | - apply (opNorm_comp_le _ _).trans | |
| 50 | - rw [LinearIsometryEquiv.norm_map] | |
| 51 | - exact mul_le_mul hQ hQ₁ (norm_nonneg _) hC | |
| 52 | - change ‖(-2 : ℝ) • (gramInverse (D.frame.field t x) D.frameLower D.frameLower_pos | |
| 53 | - (D.frame_lower t x)).comp ((D.frame.field t x).adjoint.comp (D.frameDerivative.field t x))‖ ≤ _ | |
| 54 | - rw [norm_smul] | |
| 55 | - norm_num only [Real.norm_eq_abs] | |
| 56 | - apply (mul_le_mul_of_nonneg_left ((opNorm_comp_le _ _).trans | |
| 57 | - (mul_le_mul hi hprod (norm_nonneg _) (sq_nonneg _))) (by norm_num)).trans_eq | |
| 58 | - unfold shortTimeRate | |
| 59 | - ring | |
| 60 | - | |
| 61 | -/-- A localized coefficient bound suffices; no estimate outside S enters. -/ | |
| 62 | -theorem propagator_norm_le_two (S : Set Space) (L : ℝ) (hL : 0 ≤ L) | |
| 63 | - (hB : ∀ t : Icc (0 : ℝ) D.T, ∀ x ∈ S, | |
| 64 | - ‖sourceGenerator D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower t x‖ ≤ L) | |
| 65 | - (hshort : L*D.T ≤ 1/2) | |
| 66 | - (t s : Icc (0 : ℝ) D.T) (hst : s ≤ t) (x : Space) (hx : x ∈ S) : | |
| 67 | - ‖propagator D t s x‖ ≤ 2 := by | |
| 68 | - let B := sourceGenerator D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower | |
| 69 | - apply (propagator D t s x).opNorm_le_bound (by norm_num) | |
| 70 | - intro v | |
| 71 | - let f' : ℝ → U := fun r => extendPath D.T D.T_pos.le B r x (coordinate D s x v r) | |
| 72 | - have hd (r : ℝ) (hr : r ∈ Icc (0 : ℝ) D.T) : | |
| 73 | - HasDerivWithinAt (coordinate D s x v) (f' r) (Icc (0 : ℝ) D.T) r := by | |
| 74 | - simpa only [f',extendPath,projIcc_of_mem D.T_pos.le hr] using | |
| 75 | - coordinate_hasDerivWithinAt D s ⟨r,hr⟩ x v | |
| 76 | - have hb (r : ℝ) (hr : r ∈ Icc (0 : ℝ) D.T) : | |
| 77 | - ‖f' r‖ ≤ L*‖coordinate D s x v r‖ := by | |
| 78 | - simp only [f',extendPath,projIcc_of_mem D.T_pos.le hr] | |
| 79 | - exact ((B ⟨r,hr⟩ x).le_opNorm _).trans | |
| 80 | - (mul_le_mul_of_nonneg_right (hB ⟨r,hr⟩ x hx) (norm_nonneg _)) | |
| 81 | - have h := EulerShortTimeLinearGrowth.norm_le_two D.T L hL (coordinate D s x v) f' | |
| 82 | - hd hb hshort s t hst | |
| 83 | - simpa only [coordinate_at,propagator_self] using h | |
| 84 | - | |
| 85 | -theorem propagator_norm_le_two_of_deformation (C C₁ : ℝ) (hC : 0 ≤ C) (hC₁ : 0 ≤ C₁) | |
| 86 | - (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det=1) | |
| 87 | - (hF : ∀ t x, ‖D.F.field t x‖ ≤ C) | |
| 88 | - (hF₁ : ∀ t x, ‖D.F₁.field t x‖ ≤ C₁) | |
| 89 | - (hshort : shortTimeRate C C₁*D.T ≤ 1/2) | |
| 90 | - (t s : Icc (0 : ℝ) D.T) (hst : s ≤ t) (x : Space) : | |
| 91 | - ‖propagator D t s x‖ ≤ 2 := | |
| 92 | - propagator_norm_le_two D univ (shortTimeRate C C₁) (shortTimeRate_nonneg C C₁ hC hC₁) | |
| 93 | - (fun r y _ => sourceGenerator_norm_le D C C₁ hC hC₁ hdet hF hF₁ r y) | |
| 94 | - hshort t s hst x (mem_univ _) | |
| 95 | - | |
| 96 | -/-- The full source forward budget for g=1. All homogeneous propagation | |
| 97 | -estimates are proved from the displayed shortness condition. -/ | |
| 98 | -def shortTimeForwardBudget (q : ℕ) (R C C₁ : ℝ) | |
| 99 | - (hR : 0 ≤ R) (hC : 0 ≤ C) (hC₁ : 0 ≤ C₁) | |
| 100 | - (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det=1) | |
| 101 | - (hF : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F.field t : Space → Space →L[ℝ] Space) x‖ ≤ C*majorant R 0 n) | |
| 102 | - (hF₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F₁.field t : Space → Space →L[ℝ] Space) x‖ ≤ C₁*majorant R 0 n) | |
| 103 | - (Ω : Set Space) (hΩ : MeasurableSet Ω) (hΩo : IsOpen Ω) | |
| 104 | - (hsub : D.support ⊆ Ω) (hΩball : ∀ x ∈ Ω, ‖x‖ ≤ (1/2 : ℝ)) | |
| 105 | - (hshort : shortTimeRate C C₁*D.T ≤ 1/2) : | |
| 106 | - EulerTransversePacketForward.Budget D (Fin 4) q := by | |
| 107 | - apply EulerPacketParentForwardBudget.sourceForwardBudget D q R C C₁ 2 | |
| 108 | - hR hC hC₁ (by norm_num) hdet hF hF₁ (1 : C(Icc (0 : ℝ) D.T,ℝ)) | |
| 109 | - (by intro t; norm_num) (by norm_num) Ω hΩ hΩo hsub hΩball | |
| 110 | - intro t s hst x _ | |
| 111 | - have hf (r : Icc (0 : ℝ) D.T) (y : Space) : ‖D.F.field r y‖ ≤ C := by | |
| 112 | - simpa only [norm_iteratedFDeriv_zero,majorant,Nat.zero_add,Nat.factorial_zero, | |
| 113 | - Nat.cast_one,pow_zero,mul_one,one_pow] using hF 0 r y | |
| 114 | - have hf₁ (r : Icc (0 : ℝ) D.T) (y : Space) : ‖D.F₁.field r y‖ ≤ C₁ := by | |
| 115 | - simpa only [norm_iteratedFDeriv_zero,majorant,Nat.zero_add,Nat.factorial_zero, | |
| 116 | - Nat.cast_one,pow_zero,mul_one,one_pow] using hF₁ 0 r y | |
| 117 | - simpa only [ContinuousMap.one_apply,mul_one,div_one,propagator,fundamental] using | |
| 118 | - propagator_norm_le_two_of_deformation D C C₁ hC hC₁ hdet hf hf₁ hshort t s hst x | |
| 119 | - | |
| 120 | 26 | end EulerPacketSourcePropagator |
+0 −16 Euler/PacketSlicedResidual.lean View file
| @@ -21,22 +21,6 @@ def slicedMomentumGrade (s : Set ℝ) (N : ℕ) (FInv M : Space →L[ℝ] Space) | ||
| 21 | 21 | (slowAdvection FInv) (fastAdvection m) (fun i => slicedJet s (u i) z) |
| 22 | 22 | (fun i => pressureJet (p i) z) n |
| 23 | 23 | |
| 24 | -theorem slicedMomentum_fieldSum_eq (s : Set ℝ) (N : ℕ) (κ : ℝ) (hκ : κ ≠ 0) | |
| 25 | - (FInv M : Space →L[ℝ] Space) (m : Space) | |
| 26 | - (u : ℕ → Domain → Space) (p : ℕ → Domain → ℝ) (z : Domain) | |
| 27 | - (hs : UniqueDiffWithinAt ℝ s z.1) | |
| 28 | - (hut : ∀ i ≤ N, DifferentiableWithinAt ℝ (fun t => u i (t,z.2)) s z.1) | |
| 29 | - (hux : ∀ i ≤ N, DifferentiableAt ℝ (fun y => u i (z.1,y)) z.2) | |
| 30 | - (hpx : ∀ i ≤ N, DifferentiableAt ℝ (fun y => p i (z.1,y)) z.2) | |
| 31 | - (hu0 : slicedJet s (u 0) z=0) (hp0 : fastPressure m (pressureJet (p 0) z)=0) : | |
| 32 | - slicedMomentumResidual s κ FInv M m (fieldSum N κ u) (fieldSum N κ p) z= | |
| 33 | - evaluate (2*N) κ (slicedMomentumGrade s N FInv M m u p z) := by | |
| 34 | - unfold slicedMomentumResidual | |
| 35 | - rw [slicedJet_fieldSum s N κ u z hs hut hux, pressureJet_fieldSum N κ p z hpx] | |
| 36 | - exact residual_eq_evaluate N κ hκ (linearPart M) (slowPressure FInv) (fastPressure m) | |
| 37 | - (slowAdvection FInv) (fastAdvection m) (fun i => slicedJet s (u i) z) | |
| 38 | - (fun i => pressureJet (p i) z) hu0 hp0 | |
| 39 | - | |
| 40 | 24 | /-- This identity is valid at both endpoints when s=[0,T] and T>0. -/ |
| 41 | 25 | theorem slicedMomentum_fieldSum_tail (s : Set ℝ) (N : ℕ) (κ : ℝ) (hκ : κ ≠ 0) |
| 42 | 26 | (FInv M : Space →L[ℝ] Space) (m : Space) |
+0 −15 Euler/PacketSourceGeometryAssembly.lean View file
| @@ -66,9 +66,6 @@ theorem source_initial_tangent (x : Space) : ⟪sourceRay D x τ,A.sourceVelocit | ||
| 66 | 66 | simpa only [sourceRay,sourceVelocity,hclamp] using |
| 67 | 67 | uncutVelocity_tangent τ hτ hτT H A.terminal ⟨τ,hτ.le,hτT.le⟩ x |
| 68 | 68 | |
| 69 | -theorem sourceVelocity_ne_zero (x : Space) (t : Icc (0 : ℝ) D.T) : A.sourceVelocity x t ≠ 0 := | |
| 70 | - uncutVelocity_ne_zero τ hτ hτT H A.terminal A.terminal_properties.1 t x | |
| 71 | - | |
| 72 | 69 | omit [CompleteSpace U] in |
| 73 | 70 | theorem neighbor_components : |
| 74 | 71 | ‖D.M.derivative.field‖ ≤ P.neighborCost hτ hτT H A.CM A.CH ∧ |
| @@ -229,17 +226,5 @@ def geometryData (Ω : Set Space) (h0 : 0 ∈ Ω) (hΩ : ∀ x ∈ Ω, ‖x‖ | ||
| 229 | 226 | initial_velocity_error := fun x => |
| 230 | 227 | (A.source_velocity_initial_error x (hΩ x x.property)).trans A.error_le_scaled_error |
| 231 | 228 | |
| 232 | -theorem geometryData_matrix (Ω : Set Space) (h0 : 0 ∈ Ω) (hΩ : ∀ x ∈ Ω, ‖x‖ ≤ A.radius) | |
| 233 | - (x : {x : Space // x ∈ Ω}) (t : ℝ) : | |
| 234 | - (A.geometryData Ω h0 hΩ).M x t=D.M.field (D.clamp t) x := rfl | |
| 235 | - | |
| 236 | -theorem geometryData_ray (Ω : Set Space) (h0 : 0 ∈ Ω) (hΩ : ∀ x ∈ Ω, ‖x‖ ≤ A.radius) | |
| 237 | - (x : {x : Space // x ∈ Ω}) (t : ℝ) : | |
| 238 | - (A.geometryData Ω h0 hΩ).r x t=D.normal.field (D.clamp t) x := rfl | |
| 239 | - | |
| 240 | -theorem geometryData_velocity (Ω : Set Space) (h0 : 0 ∈ Ω) (hΩ : ∀ x ∈ Ω, ‖x‖ ≤ A.radius) | |
| 241 | - (x : {x : Space // x ∈ Ω}) (t : ℝ) : | |
| 242 | - (A.geometryData Ω h0 hΩ).w x t=uncutVelocity τ hτ hτT H A.terminal t x := rfl | |
| 243 | - | |
| 244 | 229 | end Guards |
| 245 | 230 | end EulerPacketSourceGeometry |
+0 −17 Euler/PacketSourceGeometryGrowth.lean View file
| @@ -69,23 +69,6 @@ theorem exists_geometry_and_growth : | ||
| 69 | 69 | (A.source_interval Ω h0 hΩ) (A.source_horizon Ω h0 hΩ) |
| 70 | 70 | (A.source_strain Ω h0 hΩ) (A.source_normal Ω h0 hΩ) |
| 71 | 71 | |
| 72 | -include A h0 hΩ in | |
| 73 | -theorem exists_physicalGrowth : | |
| 74 | - ∃ g : C(Icc (0 : ℝ) (D.T-τ),ℝ), | |
| 75 | - (∀ t, 0 < g t) ∧ g ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩=1 ∧ | |
| 76 | - PhysicalGrowth (D.tail τ hτ.le hτT) Ω g | |
| 77 | - (560*P.horizon^10/P.epsilon) := by | |
| 78 | - obtain ⟨F,F₁,Z,Z₁,J,hpos,hzero,hg⟩ := A.exists_geometry_and_growth Ω h0 hΩ | |
| 79 | - exact ⟨growthProfile (D.tail τ hτ.le hτT) (A.geometryData Ω h0 hΩ) J,hpos,hzero,hg⟩ | |
| 80 | - | |
| 81 | -theorem halfBall_physicalGrowth (hball : (1/2 : ℝ) ≤ A.radius) : | |
| 82 | - ∃ g : C(Icc (0 : ℝ) (D.T-τ),ℝ), | |
| 83 | - (∀ t, 0 < g t) ∧ g ⟨0,le_rfl,(sub_pos.mpr hτT).le⟩=1 ∧ | |
| 84 | - PhysicalGrowth (D.tail τ hτ.le hτT) {x | ‖x‖ ≤ (1/2 : ℝ)} g | |
| 85 | - (560*P.horizon^10/P.epsilon) := by | |
| 86 | - exact A.exists_physicalGrowth {x | ‖x‖ ≤ (1/2 : ℝ)} (by norm_num) | |
| 87 | - (fun _ hx => hx.trans hball) | |
| 88 | - | |
| 89 | 72 | omit [CompleteSpace U] in |
| 90 | 73 | include A in |
| 91 | 74 | theorem growth_constant_pos : 0 < 560*P.horizon^10/P.epsilon := by |
+0 −18 Euler/PacketSourceInitialMean.lean View file
| @@ -46,24 +46,6 @@ theorem joinedSource_mean_initial_support (p : ℕ) (θ : ℝ) : | ||
| 46 | 46 | rw [profiles_step _ _ p hp] |
| 47 | 47 | exact EulerMeanPacketProvider.meanSolve_initial_support M _ h θ |
| 48 | 48 | |
| 49 | -theorem joinedSource_mean_initial_zero (hL : M.L=0) (p : ℕ) (x : Space) (θ : ℝ) : | |
| 50 | - (joinedSourceProfiles P M D τ hτ hτT B primary p).mean (0,(x,θ)) = 0 := by | |
| 51 | - by_cases hp0 : p=0 | |
| 52 | - · subst p | |
| 53 | - simp only [joinedSourceProfiles,profiles_zero] | |
| 54 | - rfl | |
| 55 | - by_cases hp1 : p=1 | |
| 56 | - · subst p | |
| 57 | - simp only [joinedSourceProfiles,profiles_one,hm,Pi.zero_apply] | |
| 58 | - have hp : 2 ≤ p := by omega | |
| 59 | - let h : Nonempty (EulerMeanPacketProvider.Forcing M | |
| 60 | - (meanForce (joinedSourceOperators P M D τ hτ hτT B) p | |
| 61 | - (joinedSourceProfiles P M D τ hτ hτT B primary))) := | |
| 62 | - ⟨joinedSource_meanForcing P M D hT τ hτ hτT B primary hprimary p hp⟩ | |
| 63 | - unfold joinedSourceProfiles | |
| 64 | - rw [profiles_step _ _ p hp] | |
| 65 | - exact EulerMeanPacketProvider.meanSolve_zero_initial M hL _ h x θ | |
| 66 | - | |
| 67 | 49 | end Joined |
| 68 | 50 | |
| 69 | 51 | section Forward |
+0 −15 Euler/PacketSourceParity.lean View file
| @@ -38,19 +38,4 @@ theorem sourceProfiles_parity (hT : M.T = D.T) | ||
| 38 | 38 | ((homogeneousPrimaryRegularity D Iprimary (sourceOperators P M D I) rfl).changeTime hT.symm M.T_pos.le) |
| 39 | 39 | ((homogeneousPrimaryParity D Iprimary (sourceOperators P M D I) rfl hSym hF hDM hIprimary).changeTime hT.symm) p |
| 40 | 40 | |
| 41 | -theorem sourceProfiles_time_derivatives_odd (hT : M.T = D.T) | |
| 42 | - (eM : EulerMeanPacketProvider.EvenData M) | |
| 43 | - (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) | |
| 44 | - (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) | |
| 45 | - (hDM : ∀ t x, D.M.field t (-x) = D.M.field t x) | |
| 46 | - (hI : reflection P (I.value : CylinderL2 P U) = -(I.value : CylinderL2 P U)) | |
| 47 | - (hIprimary : reflection P (Iprimary.value : CylinderL2 P U) = -(Iprimary.value : CylinderL2 P U)) | |
| 48 | - (p : ℕ) : | |
| 49 | - let G := sourceProfileWitness P M D hT I Iprimary p | |
| 50 | - JointOdd M.T G.high_t ∧ JointOdd M.T G.mean_t ∧ JointOdd M.T G.corrector_t := by | |
| 51 | - let G := sourceProfileWitness P M D hT I Iprimary p | |
| 52 | - have H := sourceProfiles_parity P M D I Iprimary hT eM hSym hF hDM hI hIprimary p | |
| 53 | - exact ⟨ProfileParity.highDerivative_odd M.T_pos G H, | |
| 54 | - ProfileParity.meanDerivative_odd M.T_pos G H,ProfileParity.correctorDerivative_odd M.T_pos G H⟩ | |
| 55 | - | |
| 56 | 41 | end EulerPacketCylinderField |
+0 −14 Euler/PacketSourcePrimitiveBounds.lean View file
| @@ -29,13 +29,6 @@ theorem correctionCoefficients_primitive_bound (X : ℝ) (hX : 1 ≤ X) | ||
| 29 | 29 | · exact hC1 |
| 30 | 30 | · exact hCI |
| 31 | 31 | |
| 32 | -theorem correctionCoefficients_primitive_power (X : ℝ) (hX : 1 ≤ X) | |
| 33 | - (hLR : L.Rc ≤ X) (hNR : NB.Rc ≤ X) (hC0 : L.C₀ ≤ X) | |
| 34 | - (hC1 : L.C₁ ≤ X) (hCI : NB.C ≤ X) : | |
| 35 | - CorrectionBounds D P (L.correctionCoefficients NB P) (primitiveConstant P*X^primitivePower P) := | |
| 36 | - (L.correctionCoefficients_primitive_bound NB P X hX hLR hNR hC0 hC1 hCI).mono D P | |
| 37 | - (primitiveEnvelope_power P X hX) | |
| 38 | - | |
| 39 | 32 | end EulerTransversePacketJoin.Budget |
| 40 | 33 | |
| 41 | 34 | namespace EulerTransversePacketForward.Budget |
| @@ -59,11 +52,4 @@ theorem correctionCoefficients_primitive_bound (X : ℝ) (hX : 1 ≤ X) | ||
| 59 | 52 | · exact hC1 |
| 60 | 53 | · exact hCI |
| 61 | 54 | |
| 62 | -theorem correctionCoefficients_primitive_power (X : ℝ) (hX : 1 ≤ X) | |
| 63 | - (hLR : L.Rc ≤ X) (hNR : NB.Rc ≤ X) (hC0 : L.C₀ ≤ X) | |
| 64 | - (hC1 : L.C₁ ≤ X) (hCI : NB.C ≤ X) : | |
| 65 | - CorrectionBounds D P (L.correctionCoefficients NB P) (primitiveConstant P*X^primitivePower P) := | |
| 66 | - (L.correctionCoefficients_primitive_bound NB P X hX hLR hNR hC0 hC1 hCI).mono D P | |
| 67 | - (primitiveEnvelope_power P X hX) | |
| 68 | - | |
| 69 | 55 | end EulerTransversePacketForward.Budget |
+0 −9 Euler/PacketSourceRadiusPolynomial.lean View file
| @@ -337,14 +337,5 @@ theorem sourceRadiusPolynomial_eval (W : ℝ) : sourceRadiusPolynomial.eval W=so | ||
| 337 | 337 | Polynomial.eval_one,inversePolynomial_eval,inverseBlockPolynomial_eval, |
| 338 | 338 | coefficientPolynomial_eval,primitivePolynomial_eval,coeff] |
| 339 | 339 | |
| 340 | -def sourceRadiusConstant : ℝ := coefficientCost sourceRadiusPolynomial | |
| 341 | -def sourceRadiusPower : ℕ := sourceRadiusPolynomial.natDegree | |
| 342 | - | |
| 343 | -theorem sourceRadiusConstant_pos : 0 < sourceRadiusConstant := coefficientCost_pos _ | |
| 344 | - | |
| 345 | -theorem sourceRadiusEnvelope_power (W : ℝ) (hW : 1 ≤ W) : | |
| 346 | - sourceRadiusEnvelope W ≤ sourceRadiusConstant*W^sourceRadiusPower := by | |
| 347 | - rw [← sourceRadiusPolynomial_eval] | |
| 348 | - exact (le_abs_self _).trans (eval_bound sourceRadiusPolynomial W hW) | |
| 349 | 340 | |
| 350 | 341 | end EulerPacketSourceRadius |
+0 −15 Euler/PacketSourceResidualFields.lean View file
| @@ -23,21 +23,6 @@ def sourceTailGradeField (N n : ℕ) (hn : N+1 ≤ n) : | ||
| 23 | 23 | (fun i _ => sourceProfileWitness P M D hT I Iprimary i) |
| 24 | 24 | (sourceCoefficientData P M D I hT) (profiles_zero _ _) n hn |
| 25 | 25 | |
| 26 | -def sourceLiteralTailGradeField (N n : ℕ) (hn : N+1 ≤ n) : | |
| 27 | - Field P M.T (fun z => slicedMomentumGrade (Icc (0 : ℝ) M.T) (N+1) | |
| 28 | - ((sourceOperators P M D I).inverseFrame z) | |
| 29 | - ((sourceOperators P M D I).strain z) | |
| 30 | - ((sourceOperators P M D I).normal z) | |
| 31 | - (assembledVelocity N (sourceProfiles P M D I Iprimary)) | |
| 32 | - (assembledPressure N (sourceProfiles P M D I Iprimary)) z n) := | |
| 33 | - ProfileRegularity.literalTailGradeField M.T_pos | |
| 34 | - (fun i _ => sourceProfileWitness P M D hT I Iprimary i) | |
| 35 | - (sourceCoefficientData P M D I hT) (profiles_zero _ _) n hn | |
| 36 | - | |
| 37 | -theorem sourceLiteralTailGradeField_path (N n : ℕ) (hn : N+1 ≤ n) : | |
| 38 | - (sourceLiteralTailGradeField P M D hT I Iprimary N n hn).path = | |
| 39 | - (sourceTailGradeField P M D hT I Iprimary N n hn).path := rfl | |
| 40 | - | |
| 41 | 26 | def sourceTailSumField (N : ℕ) (κ : ℝ) : |
| 42 | 27 | Field P M.T (fun z => ∑ n ∈ Ico (N+1) (2*N+3), κ^n • |
| 43 | 28 | recursiveGrade (sourceOperators P M D I) N (sourceProfiles P M D I Iprimary) z n) := |
+0 −59 Euler/PacketSourceScaleActual.lean View file
| @@ -221,63 +221,4 @@ structure ActualBounds (J D : ℕ) (C c X δ : ℝ) : Prop where | ||
| 221 | 221 | coefficient : ∀ a : ℕ → ℝ, (∀ n, 0 ≤ a n) → (∀ n, a n ≤ 2) → |
| 222 | 222 | SmallSeries (geometryErrorCost J D C c X a) δ |
| 223 | 223 | |
| 224 | -/-- The actual sequence, with both polynomial starting scales, has one | |
| 225 | -choice of J followed by x₀ making every geometry error uniformly and | |
| 226 | -summably small. This is uniform over the allowed frame coefficient a. -/ | |
| 227 | -theorem actual_uniform_choice (D : ℕ) (hD : 1000 ≤ D) (C c : ℝ) | |
| 228 | - (hC : 1 ≤ C) (hc : 0 ≤ c) : | |
| 229 | - ∃ J : ℕ, 3 ≤ J ∧ ∀ δ : ℝ, 0 < δ → ∃ X₀ : ℝ, 8 ≤ X₀ ∧ | |
| 230 | - ∀ X : ℝ, X₀ ≤ X → ActualBounds J D C c X δ := by | |
| 231 | - obtain ⟨J, hJ, hchoice⟩ := explicit_sequence_uniform_choice C c hC hc 60 | |
| 232 | - refine ⟨J, hJ, ?_⟩ | |
| 233 | - intro δ hδ | |
| 234 | - obtain ⟨Y₀, hY₀, hY⟩ := hchoice (δ/32) (by positivity) | |
| 235 | - have hp : (0:ℝ) < (J-1:ℕ) := by exact_mod_cast (show 0 < J-1 by omega) | |
| 236 | - have hall : ∀ᶠ X : ℝ in atTop, | |
| 237 | - X^1000 ≤ exp (X/((J-1:ℕ):ℝ)^7) ∧ | |
| 238 | - X^D ≤ exp (X/((J-1:ℕ):ℝ)^4) ∧ baseErrorCost J D C X ≤ δ/2 := | |
| 239 | - (eventually_pow_le_exp 1000 (pow_pos hp 7)).and | |
| 240 | - ((eventually_pow_le_exp D (pow_pos hp 4)).and | |
| 241 | - ((baseErrorCost_tendsto_zero J D (by omega) hD C hC).eventually_le_const (by positivity))) | |
| 242 | - obtain ⟨Y₁, hY₁⟩ := eventually_atTop.1 hall | |
| 243 | - refine ⟨max Y₀ Y₁, hY₀.trans (le_max_left _ _), ?_⟩ | |
| 244 | - intro X hX | |
| 245 | - have hXY₀ : Y₀ ≤ X := (le_max_left _ _).trans hX | |
| 246 | - have hXY₁ : Y₁ ≤ X := (le_max_right _ _).trans hX | |
| 247 | - have hX8 : 8 ≤ X := hY₀.trans hXY₀ | |
| 248 | - have hX1 : 1 ≤ X := by linarith only [hX8] | |
| 249 | - have hXp : 0 < X := by linarith only [hX8] | |
| 250 | - have hbase := hY₁ X hXY₁ | |
| 251 | - have hn := hY X hXY₀ | |
| 252 | - have hw : δ/32 ≤ δ := by linarith only [hδ] | |
| 253 | - refine ⟨⟨hn.coefficient.weaken hw, fun a ha ha₂ => (hn.extraTime a ha ha₂).weaken hw, | |
| 254 | - hn.width.weaken hw, hn.parent.weaken hw, hn.good.weaken hw⟩, hbase.1, hbase.2.1, ?_⟩ | |
| 255 | - intro a ha ha₂ | |
| 256 | - let f : ℕ → ℝ := fun n => 16*coefficientCost J C c 60 (scaleSequence J X) n | |
| 257 | - let z : ℕ → ℝ := fun n => if n=0 then baseErrorCost J D C X else 0 | |
| 258 | - have hf : SmallSeries f (δ/2) := by | |
| 259 | - refine ⟨fun n => mul_nonneg (by norm_num) (hn.coefficient.nonneg n), | |
| 260 | - hn.coefficient.summable.mul_left 16, ?_⟩ | |
| 261 | - change (∑' n, 16*coefficientCost J C c 60 (scaleSequence J X) n) ≤ δ/2 | |
| 262 | - rw [tsum_mul_left] | |
| 263 | - nlinarith only [hn.coefficient.total_le] | |
| 264 | - have hz : SmallSeries z (δ/2) := by | |
| 265 | - refine ⟨?_, (hasSum_ite_eq 0 (baseErrorCost J D C X)).summable, ?_⟩ | |
| 266 | - · intro n | |
| 267 | - exact ite_nonneg (baseErrorCost_nonneg J D C X (le_trans zero_le_one hC) hXp.le) le_rfl | |
| 268 | - · change (∑' n : ℕ, if n=0 then baseErrorCost J D C X else 0) ≤ δ/2 | |
| 269 | - rw [tsum_ite_eq] | |
| 270 | - exact hbase.2.2 | |
| 271 | - have hsum : SmallSeries (fun n => f n+z n) δ := by | |
| 272 | - refine ⟨fun n => add_nonneg (hf.nonneg n) (hz.nonneg n), hf.summable.add hz.summable, ?_⟩ | |
| 273 | - rw [hf.summable.tsum_add hz.summable] | |
| 274 | - linarith only [hf.total_le, hz.total_le] | |
| 275 | - apply hsum.mono | |
| 276 | - · intro n | |
| 277 | - unfold geometryErrorCost | |
| 278 | - exact mul_nonneg (geometryError_nonneg J D C c X a n (le_trans zero_le_one hC) hXp) | |
| 279 | - (pow_nonneg (by unfold sourceTheta; positivity) 60) | |
| 280 | - · intro n | |
| 281 | - exact geometryErrorCost_bound J D hJ C c X hC hX1 hc a ha ha₂ hbase.1 hbase.2.1 n | |
| 282 | - | |
| 283 | 224 | end EulerPacketSourceScaleActual |
+0 −77 Euler/PacketSourceScaleChoice.lean View file
| @@ -156,72 +156,6 @@ structure UniformBounds (J : ℕ) (C c : ℝ) (A : ℕ) (x : ℕ → ℝ) (δ : | ||
| 156 | 156 | parent : SmallSeries (parentSquareRatio J x) δ |
| 157 | 157 | good : SmallSeries (goodCost J x) δ |
| 158 | 158 | |
| 159 | -/-- One fixed choice of the starting stage makes all the actual normal-stage | |
| 160 | -coefficient, time, shear-separation and good-interval pressure series small. | |
| 161 | -The initial scale is chosen afterwards, and every later stage is covered. -/ | |
| 162 | -theorem source_uniform_choice (C c : ℝ) (hC : 1 ≤ C) (hc : 0 ≤ c) (A : ℕ) : | |
| 163 | - ∃ J : ℕ, 3 ≤ J ∧ ∀ δ : ℝ, 0 < δ → ∃ X₀ : ℝ, 8 ≤ X₀ ∧ | |
| 164 | - ∀ x : ℕ → ℝ, X₀ ≤ x 0 → | |
| 165 | - (∀ n, x (n+1) = ((J+n : ℕ) : ℝ)^2*x n) → UniformBounds J C c A x δ := by | |
| 166 | - obtain ⟨J, hJ, hchoice⟩ := finite_uniform_choice (sourceCostSpec C c hC A) | |
| 167 | - refine ⟨J, hJ, ?_⟩ | |
| 168 | - intro δ hδ | |
| 169 | - obtain ⟨X₀, hX₀, hX⟩ := hchoice (δ/3) (by positivity) | |
| 170 | - refine ⟨X₀, hX₀, ?_⟩ | |
| 171 | - intro x hx0 hx | |
| 172 | - have hJ1 : 1 ≤ J := by omega | |
| 173 | - have hx1 : ∀ n, 1 ≤ x n := quadratic_growth_one_le J hJ1 x | |
| 174 | - (by linarith only [hX₀, hx0]) hx | |
| 175 | - have hxp : ∀ n, 0 ≤ x n := fun n => le_trans zero_le_one (hx1 n) | |
| 176 | - let f := fun i : SourceCost => (sourceCostSpec C c hC A i).cost J x | |
| 177 | - have hsmall (i : SourceCost) : SmallSeries (f i) (δ/3) := by | |
| 178 | - have hh := hX x hx0 hx i | |
| 179 | - refine ⟨?_, hh.1, hh.2.1⟩ | |
| 180 | - intro n | |
| 181 | - exact monomialCost_nonneg J _ _ _ _ _ _ _ _ x n | |
| 182 | - (sourceCostSpec C c hC A i).C_pos.le (hxp n) | |
| 183 | - have hweak (i : SourceCost) : SmallSeries (f i) δ := | |
| 184 | - (hsmall i).weaken (by linarith only [hδ]) | |
| 185 | - have hsum : SmallSeries (fun n => f .shear n+f .prior n+f .neighbor n) δ := by | |
| 186 | - have hs := ((hsmall .shear).summable.add (hsmall .prior).summable).add (hsmall .neighbor).summable | |
| 187 | - refine ⟨fun n => add_nonneg (add_nonneg ((hsmall .shear).nonneg n) | |
| 188 | - ((hsmall .prior).nonneg n)) ((hsmall .neighbor).nonneg n), hs, ?_⟩ | |
| 189 | - rw [Summable.tsum_add ((hsmall .shear).summable.add (hsmall .prior).summable) | |
| 190 | - (hsmall .neighbor).summable, | |
| 191 | - Summable.tsum_add (hsmall .shear).summable (hsmall .prior).summable] | |
| 192 | - linarith only [(hsmall .shear).total_le, (hsmall .prior).total_le, (hsmall .neighbor).total_le] | |
| 193 | - refine ⟨hsum.mono ?_ ?_, ?_, (hweak .width).mono ?_ ?_, | |
| 194 | - (hweak .parent).mono ?_ ?_, (hweak .good).mono ?_ ?_⟩ | |
| 195 | - · intro n | |
| 196 | - have hθ : 0 ≤ sourceTheta J C x n := le_trans zero_le_one (sourceTheta_bounds hJ1 hC hx1 n).1 | |
| 197 | - unfold coefficientCost sourceCoefficientError sourceEpsilon sourceOlderGradient sourcePriorError sourceNeighborError | |
| 198 | - positivity | |
| 199 | - · intro n | |
| 200 | - exact sourceCoefficientError_bound J hJ C c hC hc A x hx1 n | |
| 201 | - · intro a ha ha₂ | |
| 202 | - apply (hweak .extra).mono | |
| 203 | - · intro n | |
| 204 | - have hθ : 0 ≤ sourceTheta J C x n := le_trans zero_le_one (sourceTheta_bounds hJ1 hC hx1 n).1 | |
| 205 | - unfold extraTimeCost sourceNextTimeWidth | |
| 206 | - positivity | |
| 207 | - · intro n | |
| 208 | - exact sourceExtraTime_bound J hJ1 C hC A x hx1 n (a n) (ha n) (ha₂ n) | |
| 209 | - · intro n | |
| 210 | - unfold sourceTimeRatio | |
| 211 | - positivity | |
| 212 | - · intro n | |
| 213 | - exact sourceTimeRatio_bound J hJ1 x n | |
| 214 | - · intro n | |
| 215 | - unfold parentSquareRatio | |
| 216 | - positivity | |
| 217 | - · intro n | |
| 218 | - exact (sourceParentSquareRatio_eq J x n).le | |
| 219 | - · intro n | |
| 220 | - unfold goodCost | |
| 221 | - positivity | |
| 222 | - · intro n | |
| 223 | - exact sourceGoodCost_bound J hJ x n (hxp n) | |
| 224 | - | |
| 225 | 159 | /-- The sequence in (37), now constructed rather than supplied. -/ |
| 226 | 160 | def scaleSequence (J : ℕ) (X : ℝ) : ℕ → ℝ |
| 227 | 161 | | 0 => X |
| @@ -232,15 +166,4 @@ def scaleSequence (J : ℕ) (X : ℝ) : ℕ → ℝ | ||
| 232 | 166 | theorem scaleSequence_succ (J : ℕ) (X : ℝ) (n : ℕ) : |
| 233 | 167 | scaleSequence J X (n+1) = ((J+n : ℕ) : ℝ)^2*scaleSequence J X n := rfl |
| 234 | 168 | |
| 235 | -/-- In particular the explicit sequence allows the same simultaneous choice; | |
| 236 | -no recurrence or asymptotic conclusion remains as an input. -/ | |
| 237 | -theorem explicit_sequence_uniform_choice (C c : ℝ) (hC : 1 ≤ C) (hc : 0 ≤ c) (A : ℕ) : | |
| 238 | - ∃ J : ℕ, 3 ≤ J ∧ ∀ δ : ℝ, 0 < δ → ∃ X₀ : ℝ, 8 ≤ X₀ ∧ | |
| 239 | - ∀ X : ℝ, X₀ ≤ X → UniformBounds J C c A (scaleSequence J X) δ := by | |
| 240 | - obtain ⟨J, hJ, hchoice⟩ := source_uniform_choice C c hC hc A | |
| 241 | - refine ⟨J, hJ, ?_⟩ | |
| 242 | - intro δ hδ | |
| 243 | - obtain ⟨X₀, hX₀, hX⟩ := hchoice δ hδ | |
| 244 | - exact ⟨X₀, hX₀, fun X hX' => hX (scaleSequence J X) hX' (scaleSequence_succ J X)⟩ | |
| 245 | - | |
| 246 | 169 | end EulerPacketSourceScaleChoice |
+0 −28 Euler/PacketSourceScaleGuards.lean View file
| @@ -207,34 +207,6 @@ theorem stage_guards (J D : ℕ) (hJ : 3 ≤ J) (C c X K δ : ℝ) | ||
| 207 | 207 | · exact compression_of_error_small (ha n) heps.le hθp.le htθ hg hd |
| 208 | 208 | (by simpa only [geometryError, add_assoc] using he0) |
| 209 | 209 | |
| 210 | -/-- All numerical geometry guards are achieved by one fixed stage, then one | |
| 211 | -base scale, uniformly over every frame satisfying the induction invariants. -/ | |
| 212 | -theorem exists_guarded_sequence (D : ℕ) (hD : 1000 ≤ D) (C c K : ℝ) | |
| 213 | - (hC : 4 ≤ C) (hc : 0 ≤ c) (hK : 1 ≤ K) : | |
| 214 | - ∃ J : ℕ, 3 ≤ J ∧ ∀ η : ℝ, 0 < η → ∃ X₀ δ : ℝ, 8 ≤ X₀ ∧ 0 < δ ∧ δ ≤ η ∧ | |
| 215 | - ∀ X : ℝ, X₀ ≤ X → ActualBounds J D C c X δ ∧ | |
| 216 | - ∀ a β : ℕ → ℝ, (∀ n, 1/2 ≤ a n) → (∀ n, a n ≤ 2) → | |
| 217 | - (∀ n, 1/2 ≤ β n*scaleSequence J X n^2) → | |
| 218 | - (∀ n, β n*scaleSequence J X n^2 ≤ 2) → | |
| 219 | - ∀ n, StageGuards J D C c X K a β n := by | |
| 220 | - obtain ⟨J, hJ, hchoice⟩ := actual_uniform_choice D hD C c (by linarith only [hC]) hc | |
| 221 | - refine ⟨J, hJ, ?_⟩ | |
| 222 | - intro η hη | |
| 223 | - let δ : ℝ := min η (min (1/2) (1/(1000000*K))) | |
| 224 | - have hδpos : 0 < δ := by dsimp [δ]; positivity | |
| 225 | - have hδη : δ ≤ η := min_le_left _ _ | |
| 226 | - have hδhalf : δ ≤ 1/2 := (min_le_right _ _).trans (min_le_left _ _) | |
| 227 | - have hδinv : δ ≤ 1/(1000000*K) := (min_le_right _ _).trans (min_le_right _ _) | |
| 228 | - have hδK : 1000000*K*δ ≤ 1 := by | |
| 229 | - have hh := (le_div_iff₀ (show 0 < 1000000*K by positivity)).mp hδinv | |
| 230 | - nlinarith only [hh] | |
| 231 | - obtain ⟨X₀, hX₀, hX⟩ := hchoice δ hδpos | |
| 232 | - refine ⟨X₀, δ, hX₀, hδpos, hδη, ?_⟩ | |
| 233 | - intro X hXX | |
| 234 | - have hb := hX X hXX | |
| 235 | - exact ⟨hb, fun a β ha ha₂ hβ hβ₂ n => stage_guards J D hJ C c X K δ hC (hX₀.trans hXX) | |
| 236 | - hK hδhalf hδK hb a β ha ha₂ hβ hβ₂ n⟩ | |
| 237 | - | |
| 238 | 210 | /-- Equation (39) gives the actual packet power inequality for the |
| 239 | 211 | constructed sequence, for every fixed polynomial degree and positive |
| 240 | 212 | frequency exponent. The aggregate includes any fixed base constants. -/ |
+0 −4 Euler/PacketSourceScaleShift.lean View file
| @@ -24,10 +24,6 @@ theorem supportScale_shift (J : ℕ) (X : ℝ) (r n : ℕ) : | ||
| 24 | 24 | supportScale (J+r) (scaleSequence J X r) n=supportScale J X (r+n) := by |
| 25 | 25 | simp only [supportScale,scaleSequence_shift,Nat.add_assoc] |
| 26 | 26 | |
| 27 | -theorem spike_shift (J : ℕ) (X : ℝ) (r n : ℕ) : | |
| 28 | - spike (J+r) (scaleSequence J X r) n=spike J X (r+n) := by | |
| 29 | - simp only [spike,scaleSequence_shift,Nat.add_assoc] | |
| 30 | - | |
| 31 | 27 | theorem parameterEnvelope_shift (J : ℕ) (hJ : 1 ≤ J) (C c : ℝ) (p q : ℕ) |
| 32 | 28 | (X : ℝ) (r n : ℕ) : |
| 33 | 29 | parameterEnvelope (J+r) C c p q (scaleSequence J X r) n= |
+0 −10 Euler/PacketSourceSmoothField.lean View file
| @@ -48,14 +48,4 @@ theorem smoothField_jetLp_continuous (n : ℕ) : | ||
| 48 | 48 | simp only [smoothField_jetLp] |
| 49 | 49 | exact (tensorPath D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF n).continuous |
| 50 | 50 | |
| 51 | -def smoothCoefficientPath : SmoothCoefficientPath (Icc (0 : ℝ) D.T) Space := | |
| 52 | - EulerMeanSobolevBoundedField.coefficientPath | |
| 53 | - (smoothField D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF) | |
| 54 | - (smoothField_jetLp_continuous D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF) | |
| 55 | - | |
| 56 | -theorem smoothCoefficientPath_apply (t : Icc (0 : ℝ) D.T) (x : Space) : | |
| 57 | - (smoothCoefficientPath D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF).field t x = | |
| 58 | - Z.pointField t (cylinderGraph P k m (Y t x)) := | |
| 59 | - EulerMeanSobolevBoundedField.coefficientPath_apply _ _ t x | |
| 60 | - | |
| 61 | 51 | end EulerPacketSourceVolumeSobolev |
+0 −12 Euler/PacketSourceVolumeSobolev.lean View file
| @@ -58,16 +58,4 @@ theorem tensorPath_ae (n : ℕ) (t : Icc (0 : ℝ) D.T) : | ||
| 58 | 58 | (continuousInverse_differentiable D X Y hX hXY hYjoint) hXY R C hR hC hdet hF n i hi hin) |
| 59 | 59 | (continuousInverse_contDiff D X Y hX hXY hYjoint) t |
| 60 | 60 | |
| 61 | -theorem tensorPath_norm_le (n : ℕ) (t : Icc (0 : ℝ) D.T) : | |
| 62 | - ‖tensorPath D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF n t‖ ≤ | |
| 63 | - ((n.factorial : ℝ)*(finiteOrderConstant C R n)^n)*∑ i : Fin (n+1), | |
| 64 | - frequencyFactor k m^i.val*(4 : ℝ)^i.val*Real.sqrt (2/P+2*P)*‖Z.realization (i.val+1) t‖ := | |
| 65 | - Z.volumeTensorPath_norm_le k m (inversePath Y hYjoint) | |
| 66 | - (inversePath_volume D X Y hX hYX hXY hYjoint hdet) n | |
| 67 | - (finiteOrderConstant C R n) (zero_le_one.trans (finiteOrderConstant_one_le C R hR n)) | |
| 68 | - (fun i _ _ => continuousInverse_jet_continuous D X Y hX hXY hYjoint i) | |
| 69 | - (fun i hi hin => inverseFlow_finiteOrderBound D X Y hX | |
| 70 | - (continuousInverse_differentiable D X Y hX hXY hYjoint) hXY R C hR hC hdet hF n i hi hin) | |
| 71 | - (continuousInverse_contDiff D X Y hX hXY hYjoint) t | |
| 72 | - | |
| 73 | 61 | end EulerPacketSourceVolumeSobolev |
+0 −13 Euler/PacketStageInputs.lean View file
| @@ -90,10 +90,6 @@ theorem joinedInput_frequency : (P.joinedInput hn hq hB).frequencyGuard (frequen | ||
| 90 | 90 | S.source_frequency n _ (P.joinedInput hn hq hB).parameterSize_one |
| 91 | 91 | (P.joinedInput_parameterSize hn hq hB) |
| 92 | 92 | |
| 93 | -theorem joinedInput_targetTime : | |
| 94 | - ((P.joinedInput hn hq hB).geometry.lowGeometry (P.joinedInput hn hq hB).halfBall).targetTime=P.nextTime := | |
| 95 | - P.joinedGeometry_targetTime hn hq hB | |
| 96 | - | |
| 97 | 93 | theorem joinedInput_sigma_bound : |
| 98 | 94 | (P.joinedInput hn hq hB).frame.sigma*scaleSequence S.J S.X n ≤ 2 := by |
| 99 | 95 | change (P.joinedFrame hn).sigma*scaleSequence S.J S.X n ≤ 2 |
| @@ -153,15 +149,6 @@ theorem forwardInput_parameterSize : (P.forwardInput hq hB).parameterSize ≤ en | ||
| 153 | 149 | theorem forwardInput_frequency : (P.forwardInput hq hB).frequencyGuard (frequency S.J S.X 0) := |
| 154 | 150 | S.source_frequency 0 _ (P.forwardInput hq hB).parameterSize_one (P.forwardInput_parameterSize hq hB) |
| 155 | 151 | |
| 156 | -theorem forwardInput_targetTime : | |
| 157 | - ((P.forwardInput hq hB).geometry.lowGeometry (P.forwardInput hq hB).halfBall).targetTime=P.nextTime := | |
| 158 | - P.forwardGeometry_targetTime hq hB | |
| 159 | - | |
| 160 | -theorem forwardInput_sigma_bound : (P.forwardInput hq hB).frame.sigma*scaleSequence S.J S.X 0 ≤ 2 := by | |
| 161 | - change P.forwardFrame.sigma*scaleSequence S.J S.X 0 ≤ 2 | |
| 162 | - rw [P.forwardFrame_sigma] | |
| 163 | - exact P.normalized_sigma | |
| 164 | - | |
| 165 | 152 | theorem forwardInput_scale : (P.forwardInput hq hB).parent.ell=supportScale S.J S.X 0 := P.scale_eq |
| 166 | 153 | |
| 167 | 154 | end Forward |
+0 −9 Euler/PacketStageLowPropagation.lean View file
| @@ -109,15 +109,6 @@ theorem coupling_step (a : ℝ) | ||
| 109 | 109 | rw [sum_range_succ] |
| 110 | 110 | linarith only [hd,ht,P.coupling_error] |
| 111 | 111 | |
| 112 | -theorem tilt_step (σ : ℝ) | |
| 113 | - (h : |(scaleSequence S.J S.X (n+1))^2*σ^2-1| ≤ | |
| 114 | - renewalCost S.J S.D 4 c frameConstant S.X n) : | |
| 115 | - 1/2 ≤ σ^2*(scaleSequence S.J S.X (n+1))^2 ∧ | |
| 116 | - σ^2*(scaleSequence S.J S.X (n+1))^2 ≤ 2 := by | |
| 117 | - have hh := abs_le.mp h | |
| 118 | - have he := S.renewal_series.term_le n | |
| 119 | - constructor <;> nlinarith only [hh.1,hh.2,he] | |
| 120 | - | |
| 121 | 112 | end EulerPacketInduction.Stage |
| 122 | 113 | |
| 123 | 114 | namespace EulerParentPacketFrames.RenewalAtTarget |
+0 −8 Euler/PacketTailBase.lean View file
| @@ -14,14 +14,6 @@ theorem tailBase_nonneg (R H C : ℝ) (hC : 0 ≤ C) (N : ℕ) : | ||
| 14 | 14 | unfold tailBase |
| 15 | 15 | exact mul_nonneg (mul_nonneg (by positivity) (sq_nonneg H)) (gradeBase_nonneg R N) |
| 16 | 16 | |
| 17 | -theorem tailBase_ge_one (R H C : ℝ) (hR : 1 ≤ R) (hH : 1 ≤ H) | |
| 18 | - (hC : 0 ≤ C) (N : ℕ) (hN : 1 ≤ N) : 1 ≤ tailBase R H C N := by | |
| 19 | - have hf : (1 : ℝ) ≤ 1+C*(1+18*((N+2 : ℕ) : ℝ)^2) := by | |
| 20 | - have h : 0 ≤ C*(1+18*((N+2 : ℕ) : ℝ)^2) := by positivity | |
| 21 | - linarith only [h] | |
| 22 | - exact one_le_mul_of_one_le_of_one_le | |
| 23 | - (one_le_mul_of_one_le_of_one_le hf (one_le_pow₀ hH)) (gradeBase_ge_one R hR N hN) | |
| 24 | - | |
| 25 | 17 | /-- The envelope is absorbed once into the base, with no dependence on |
| 26 | 18 | the surviving grade in that base. -/ |
| 27 | 19 | theorem tailBase_absorption (R H C : ℝ) (hC : 0 ≤ C) (N n : ℕ) : |
+0 −40 Euler/PacketTailBound.lean View file
| @@ -30,44 +30,4 @@ theorem sum_geometric_Ico_le (q : ℝ) (hq : 0 ≤ q) (hqhalf : q ≤ 1/2) (a b | ||
| 30 | 30 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 31 | 31 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 32 | 32 | |
| 33 | -theorem finite_tail_norm_le (κ B : ℝ) (hκ : 0 ≤ κ) (hB : 0 ≤ B) | |
| 34 | - (hsmall : κ*B ≤ 1/2) (N : ℕ) (c : ℕ → E) | |
| 35 | - (hc : ∀ n ∈ Ico (N+1) (2*N+3), ‖c n‖ ≤ B^(n+1)) : | |
| 36 | - ‖∑ n ∈ Ico (N+1) (2*N+3), κ^n • c n‖ ≤ 2*B*(κ*B)^(N+1) := by | |
| 37 | - calc | |
| 38 | - _ ≤ ∑ n ∈ Ico (N+1) (2*N+3), ‖κ^n • c n‖ := norm_sum_le _ _ | |
| 39 | - _ = ∑ n ∈ Ico (N+1) (2*N+3), κ^n*‖c n‖ := by | |
| 40 | - simp only [norm_smul, norm_pow, Real.norm_of_nonneg hκ] | |
| 41 | - _ ≤ ∑ n ∈ Ico (N+1) (2*N+3), κ^n*B^(n+1) := | |
| 42 | - sum_le_sum (fun n hn => mul_le_mul_of_nonneg_left (hc n hn) (pow_nonneg hκ n)) | |
| 43 | - _ = B*(∑ n ∈ Ico (N+1) (2*N+3), (κ*B)^n) := by | |
| 44 | - rw [mul_sum] | |
| 45 | - apply sum_congr rfl | |
| 46 | - intro n _ | |
| 47 | - simp only [pow_succ, mul_pow] | |
| 48 | - ring | |
| 49 | - _ ≤ B*(2*(κ*B)^(N+1)) := mul_le_mul_of_nonneg_left | |
| 50 | - (sum_geometric_Ico_le (κ*B) (mul_nonneg hκ hB) hsmall (N+1) (2*N+3)) hB | |
| 51 | - _ = _ := by ring | |
| 52 | - | |
| 53 | -/-- Includes the source's final k times inverse-frame normalization. -/ | |
| 54 | -theorem normalized_tail_norm_le (k B C : ℝ) (hk : 0 ≤ k) (hB : 0 ≤ B) | |
| 55 | - (hsmall : B/k ≤ 1/2) (L : E →L[ℝ] F) (hL : ‖L‖ ≤ C) (N : ℕ) (c : ℕ → E) | |
| 56 | - (hc : ∀ n ∈ Ico (N+1) (2*N+3), ‖c n‖ ≤ B^(n+1)) : | |
| 57 | - ‖k • L (∑ n ∈ Ico (N+1) (2*N+3), (k⁻¹)^n • c n)‖ ≤ | |
| 58 | - 2*C*k*B*(B/k)^(N+1) := by | |
| 59 | - have hC : 0 ≤ C := (norm_nonneg L).trans hL | |
| 60 | - have hq : k⁻¹*B=B/k := by ring | |
| 61 | - have htail := finite_tail_norm_le k⁻¹ B (inv_nonneg.mpr hk) hB | |
| 62 | - (by simpa only [hq] using hsmall) N c hc | |
| 63 | - rw [hq] at htail | |
| 64 | - rw [norm_smul, Real.norm_of_nonneg hk] | |
| 65 | - calc | |
| 66 | - _ ≤ k*(C*‖∑ n ∈ Ico (N+1) (2*N+3), (k⁻¹)^n • c n‖) := | |
| 67 | - mul_le_mul_of_nonneg_left ((L.le_opNorm _).trans | |
| 68 | - (mul_le_mul_of_nonneg_right hL (norm_nonneg _))) hk | |
| 69 | - _ ≤ k*(C*(2*B*(B/k)^(N+1))) := | |
| 70 | - mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left htail hC) hk | |
| 71 | - _ = _ := by ring | |
| 72 | - | |
| 73 | 33 | end EulerPacketTailBound |
+0 −7 Euler/PacketTerminalDatumBounds.lean View file
| @@ -95,13 +95,6 @@ def terminalMass : ℝ := supportMass period supportSet supportSet_compact | ||
| 95 | 95 | |
| 96 | 96 | theorem terminalMass_nonneg : 0 ≤ terminalMass := norm_nonneg _ |
| 97 | 97 | |
| 98 | -theorem terminal_jet_bound {U : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] | |
| 99 | - (δ : ℝ) (hδ : 0 < δ) (hδ1 : δ ≤ 1) (ξ : U) (n : ℕ) (a : LiftTangent) : | |
| 100 | - ‖iteratedFDeriv ℝ n (fun b : LiftTangent => translate period b (terminal δ hδ ξ)) a‖ ≤ | |
| 101 | - (scalarJetCost δ * ‖ξ‖ * terminalMass) * majorant (jetRadius δ) 0 n := | |
| 102 | - (compactField δ hδ ξ).translation_gevrey supportSet supportSet_compact (field_support δ ξ) | |
| 103 | - (jetRadius δ) (scalarJetCost δ * ‖ξ‖) (fun k x => field_jet_bound δ hδ hδ1 ξ k x 0) n a | |
| 104 | - | |
| 105 | 98 | def wordRadius (ι : Type*) [Fintype ι] (δ : ℝ) : ℝ := |
| 106 | 99 | sobolevCoefficientRadius ι (jetRadius δ) |
| 107 | 100 | |
+0 −3 Euler/PacketTerminalInitialData.lean View file
| @@ -22,9 +22,6 @@ def initialData : InitialData period D where | ||
| 22 | 22 | orbit := terminal_orbit_contDiff δ hδ ξ |
| 23 | 23 | mean_zero := terminal_average_zero δ hδ ξ |
| 24 | 24 | |
| 25 | -theorem initialData_value : ((initialData D δ hδ ξ hs).value : CylinderL2 period U) = | |
| 26 | - terminal δ hδ ξ := rfl | |
| 27 | - | |
| 28 | 25 | theorem initialData_bound {ι : Type*} [Fintype ι] |
| 29 | 26 | (directions : ι → LiftTangent) (hd : ∀ i, ‖directions i‖ ≤ 1) (q : ℕ) |
| 30 | 27 | (hδ1 : δ ≤ 1) (n : ℕ) : |
+0 −2 Euler/PacketTerminalPrimaryFields.lean View file
| @@ -28,8 +28,6 @@ def joinedTerminalPrimaryWitness : | ||
| 28 | 28 | (EulerTransversePacketPrimary.profileRegularity τ hτ hτT B Y |
| 29 | 29 | (joinedSourceOperators P M D τ hτ hτT B) rfl).changeTime hTime.symm M.T_pos.le |
| 30 | 30 | |
| 31 | -theorem joinedTerminalPrimary_mean : (joinedTerminalPrimary P M D τ hτ hτT B Y).mean=0 := rfl | |
| 32 | - | |
| 33 | 31 | include hTime in |
| 34 | 32 | theorem joinedTerminalPrimary_tangent (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : |
| 35 | 33 | inner ℝ (D.normalField (t,(x,θ))) ((joinedTerminalPrimary P M D τ hτ hτT B Y).high (t,(x,θ)))=0 := by |
+0 −6 Euler/PacketTimeAlgebra.lean View file
| @@ -38,10 +38,4 @@ theorem finsetSum {ι : Type*} (s : Finset ι) (f f' : ι → VectorField) | ||
| 38 | 38 | simp only [ContinuousMap.sum_apply] |
| 39 | 39 | exact h |
| 40 | 40 | |
| 41 | -theorem of_path_eq (hG : TimeDerivative hT G G') | |
| 42 | - (h : H.path=G.path) (h' : H'.path=G'.path) : TimeDerivative hT H H' := by | |
| 43 | - unfold TimeDerivative | |
| 44 | - rw [h,h'] | |
| 45 | - exact hG | |
| 46 | - | |
| 47 | 41 | end EulerPacketCylinderField.TimeDerivative |
+0 −12 Euler/PacketTimeProfileArithmetic.lean View file
| @@ -98,18 +98,6 @@ theorem fast_corrector_high_high (γ H : ℝ) (hγ : 0 ≤ γ) (hγH : γ ≤ H) | ||
| 98 | 98 | highScale γ H (i-1)*highScale γ H j ≤ highScale γ H p := |
| 99 | 99 | slow_high_high_high γ H hγ hγH hH (i-1) j p (by omega) hj (by omega) |
| 100 | 100 | |
| 101 | -theorem fast_corrector_corrector_mean (γ H : ℝ) (hγ : 0 ≤ γ) (hγH : γ ≤ H) (hH : 1 ≤ H) | |
| 102 | - (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) (hp : i+j=p+1) : | |
| 103 | - highScale γ H (i-1)*highScale γ H (j-1) ≤ meanScale H p := | |
| 104 | - (slow_high_high_mean γ H hγ hγH hH (i-1) (j-1) (p-1) (by omega) (by omega) (by omega)).trans | |
| 105 | - (meanScale_mono H hH (Nat.sub_le p 1)) | |
| 106 | - | |
| 107 | -theorem fast_corrector_corrector_high (γ H : ℝ) (hγ : 0 ≤ γ) (hγH : γ ≤ H) (hH : 1 ≤ H) | |
| 108 | - (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) (hp : i+j=p+1) : | |
| 109 | - highScale γ H (i-1)*highScale γ H (j-1) ≤ highScale γ H p := | |
| 110 | - (slow_high_high_high γ H hγ hγH hH (i-1) (j-1) (p-1) (by omega) (by omega) (by omega)).trans | |
| 111 | - (highScale_mono γ H hγ hH (Nat.sub_le p 1)) | |
| 112 | - | |
| 113 | 101 | theorem previous_linear_mean (γ H : ℝ) (hγ : 0 ≤ γ) (hγH : γ ≤ H) (hH : 1 ≤ H) |
| 114 | 102 | (p : ℕ) (hp : 2 ≤ p) : highScale γ H (p-1) ≤ meanScale H p := by |
| 115 | 103 | have h := slow_mean_high_mean γ H hγ hγH hH 1 (p-1) p (by omega) (by omega) (by omega) |
+0 −13 Euler/PacketTimeProfiles.lean View file
| @@ -44,9 +44,6 @@ theorem mean_pos (p : ℕ) (t : K) : 0 < S.mean p t := meanScale_pos S.H0 S.H0_p | ||
| 44 | 44 | theorem high_pos (p : ℕ) (t : K) : 0 < S.high p t := |
| 45 | 45 | highScale_pos (S.growth t) S.H0 (S.growth_pos t) S.H0_pos p |
| 46 | 46 | |
| 47 | -theorem mean_mono {i j : ℕ} (hij : i ≤ j) (t : K) : S.mean i t ≤ S.mean j t := | |
| 48 | - meanScale_mono S.H0 S.H0_one_le hij | |
| 49 | - | |
| 50 | 47 | theorem high_mono {i j : ℕ} (hij : i ≤ j) (t : K) : S.high i t ≤ S.high j t := |
| 51 | 48 | highScale_mono (S.growth t) S.H0 (S.growth_pos t).le S.H0_one_le hij |
| 52 | 49 | |
| @@ -86,16 +83,6 @@ theorem fast_corrector_high_high_bound (i j p : ℕ) (hi : 2 ≤ i) (hj : 1 ≤ | ||
| 86 | 83 | fast_corrector_high_high (S.growth t) S.H0 (S.growth_pos t).le (S.growth_le t) |
| 87 | 84 | S.H0_one_le i j p hi hj hp |
| 88 | 85 | |
| 89 | -theorem fast_corrector_corrector_mean_bound (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) | |
| 90 | - (hp : i+j=p+1) (t : K) : S.high (i-1) t*S.high (j-1) t ≤ S.mean p t := | |
| 91 | - fast_corrector_corrector_mean (S.growth t) S.H0 (S.growth_pos t).le (S.growth_le t) | |
| 92 | - S.H0_one_le i j p hi hj hp | |
| 93 | - | |
| 94 | -theorem fast_corrector_corrector_high_bound (i j p : ℕ) (hi : 2 ≤ i) (hj : 2 ≤ j) | |
| 95 | - (hp : i+j=p+1) (t : K) : S.high (i-1) t*S.high (j-1) t ≤ S.high p t := | |
| 96 | - fast_corrector_corrector_high (S.growth t) S.H0 (S.growth_pos t).le (S.growth_le t) | |
| 97 | - S.H0_one_le i j p hi hj hp | |
| 98 | - | |
| 99 | 86 | theorem previous_linear_mean_bound (p : ℕ) (hp : 2 ≤ p) (t : K) : S.high (p-1) t ≤ S.mean p t := |
| 100 | 87 | previous_linear_mean (S.growth t) S.H0 (S.growth_pos t).le (S.growth_le t) S.H0_one_le p hp |
| 101 | 88 | |
+0 −40 Euler/PacketTimeWordGluing.lean View file
| @@ -19,48 +19,8 @@ attribute [local instance] compactInterval | ||
| 19 | 19 | (u : Matching (E := E) S τ hτ0 hτS) : |
| 20 | 20 | glueOperator S τ hτ0 hτS u = gluePath S τ hτ0 hτS u := rfl |
| 21 | 21 | |
| 22 | -theorem gluePath_left (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | |
| 23 | - (u : Matching (E := E) S τ hτ0 hτS) (t : Icc (0 : ℝ) τ) : | |
| 24 | - gluePath S τ hτ0 hτS u ⟨t, t.property.1, t.property.2.trans hτS⟩=u.val.1 t := by | |
| 25 | - change glue τ (fun r => u.val.1 (projIcc 0 τ hτ0 r)) | |
| 26 | - (fun r => u.val.2 (projIcc τ S hτS r)) t = _ | |
| 27 | - rw [glue_left τ _ _ t t.property.2, projIcc_of_mem hτ0 t.property] | |
| 28 | - | |
| 29 | -theorem gluePath_right (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | |
| 30 | - (u : Matching (E := E) S τ hτ0 hτS) (t : Icc τ S) : | |
| 31 | - gluePath S τ hτ0 hτS u ⟨t, hτ0.trans t.property.1, t.property.2⟩=u.val.2 t := by | |
| 32 | - change glue τ (fun r => u.val.1 (projIcc 0 τ hτ0 r)) | |
| 33 | - (fun r => u.val.2 (projIcc τ S hτS r)) t = _ | |
| 34 | - rw [glue_right τ _ _ (by | |
| 35 | - simpa only [projIcc_of_mem hτ0 ⟨hτ0,le_rfl⟩, | |
| 36 | - projIcc_of_mem hτS ⟨le_rfl,hτS⟩] using matching_values S τ hτ0 hτS u) | |
| 37 | - t t.property.1, projIcc_of_mem hτS t.property] | |
| 38 | - | |
| 39 | -theorem glue_family_contDiff (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | |
| 40 | - (f : X → Matching (E := E) S τ hτ0 hτS) (hf : ContDiff ℝ ∞ f) : | |
| 41 | - ContDiff ℝ ∞ (fun x => gluePath S τ hτ0 hτS (f x)) := by | |
| 42 | - simpa only [Function.comp_def, glueOperator_apply] using | |
| 43 | - (glueOperator (E := E) S τ hτ0 hτS).contDiff.comp hf | |
| 44 | - | |
| 45 | -theorem glue_word_derivative (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | |
| 46 | - (directions : ι → X) (f : X → Matching (E := E) S τ hτ0 hτS) | |
| 47 | - (hf : ContDiff ℝ ∞ f) {n : ℕ} (w : Fin n → ι) (x : X) : | |
| 48 | - wordDerivative directions (fun y => gluePath S τ hτ0 hτS (f y)) w x = | |
| 49 | - gluePath S τ hτ0 hτS (wordDerivative directions f w x) := by | |
| 50 | - simpa only [Function.comp_def, glueOperator_apply] using | |
| 51 | - wordDerivative_comp_clm directions (glueOperator (E := E) S τ hτ0 hτS) f hf w x | |
| 52 | - | |
| 53 | 22 | variable [Fintype ι] |
| 54 | 23 | |
| 55 | -theorem glue_word_bound (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) | |
| 56 | - (directions : ι → X) (f : X → Matching (E := E) S τ hτ0 hτS) | |
| 57 | - (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : X) : | |
| 58 | - wordSum directions (fun y => gluePath S τ hτ0 hτS (f y)) n x ≤ | |
| 59 | - wordSum directions f n x := by | |
| 60 | - have h := wordSum_comp_clm_le directions (glueOperator S τ hτ0 hτS) f hf n x | |
| 61 | - exact h.trans ((mul_le_mul_of_nonneg_right | |
| 62 | - (glueOperator_norm_le_one S τ hτ0 hτS) (wordSum_nonneg directions f n x)).trans_eq (one_mul _)) | |
| 63 | - | |
| 64 | 24 | /-- Fixed H6 is the specialization q=6; no tensor-to-word conversion occurs. -/ |
| 65 | 25 | theorem glue_block_bound (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) |
| 66 | 26 | (directions : ι → X) (q : ℕ) (f : X → Matching (E := E) S τ hτ0 hτS) |
+0 −10 Euler/PacketTriangular.lean View file
| @@ -36,14 +36,4 @@ theorem nonlinearGrade_update (M p : ℕ) (hp : 2 ≤ p) (hMp : p+1 ≤ M) | ||
| 36 | 36 | fastAdvection_tangent_left m (u 1) (A+B) hprimary] |
| 37 | 37 | simp only [zero_add, add_zero, add_assoc] |
| 38 | 38 | |
| 39 | -/-- The surviving unknown term is literally (m dot B) times the primary angular derivative. -/ | |
| 40 | -theorem nonlinearGrade_update_formula (M p : ℕ) (hp : 2 ≤ p) (hMp : p+1 ≤ M) | |
| 41 | - (FInv : Space →L[ℝ] Space) (m : Space) (u u' : ℕ → VectorJet) | |
| 42 | - (A B : VectorJet) (hu0 : u 0=0) (hu : ∀ i < p, u' i=u i) | |
| 43 | - (hnew : u' p=u p+(A+B)) (hprimary : ⟪m, (u 1).1⟫_ℝ=0) | |
| 44 | - (hA : ⟪m, A.1⟫_ℝ=0) : | |
| 45 | - nonlinearGrade M p FInv m u' = nonlinearGrade M p FInv m u + | |
| 46 | - ⟪m, B.1⟫_ℝ • (u 1).2 angleDirection := | |
| 47 | - nonlinearGrade_update M p hp hMp FInv m u u' A B hu0 hu hnew hprimary hA | |
| 48 | - | |
| 49 | 39 | end EulerPacketPointJets |
+0 −15 Euler/PacketUniformInitialBounds.lean View file
| @@ -86,19 +86,4 @@ variable (Cagree : SourceCoefficientAgreement M D) | ||
| 86 | 86 | local notation "Q" => initializedUniformBudget M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα |
| 87 | 87 | L NB LM Cagree W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet |
| 88 | 88 | |
| 89 | -theorem initializedUniformBudget_initial (s : ℕ) : | |
| 90 | - scale M.ℓ (initializedExactPhysicalVelocity M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 91 | - Cagree (truncation k) (truncation_bounds k (by linarith)).1 k hk Q | |
| 92 | - ⟨0,le_rfl,D.T_pos.le⟩ id)= | |
| 93 | - initializedInitialHigh M D τ hτ hτT B δ hδ ξ hs α (truncation k) k+ | |
| 94 | - initializedInitialMean M D τ hτ hτT B δ hδ ξ hs α (truncation k) k ∧ | |
| 95 | - derivativeSum s (initializedInitialHigh M D τ hτ hτT B δ hδ ξ hs α (truncation k) k) ≤ | |
| 96 | - (M.ℓ⁻¹)^s*k^s*α*EulerPacketInitialCost.envelope s (EulerPacketInitializedCost.envelope W) ∧ | |
| 97 | - derivativeSum s (initializedInitialMean M D τ hτ hτT B δ hδ ξ hs α (truncation k) k) ≤ | |
| 98 | - (M.ℓ⁻¹)^s/k^2*EulerPacketInitialCost.envelope s (EulerPacketInitializedCost.envelope W) := | |
| 99 | - ⟨initializedExactPhysicalVelocity_initial_split M D hTime τ hτ hτT B δ hδ ξ hs α | |
| 100 | - Cagree (truncation k) (truncation_bounds k (by linarith)).1 k hk Q, | |
| 101 | - initialized_uniform_initial_bounds M D hTime τ hτ hτT B δ hδ hδ1 ξ hs α hα | |
| 102 | - L NB LM W hW hprofile k hk hfrequency s⟩ | |
| 103 | - | |
| 104 | 89 | end EulerPacketTerminalDatum |
+0 −6 Euler/PacketUniversalFrequency.lean View file
| @@ -29,11 +29,6 @@ theorem universal_frequency_eventually : ∀ᶠ k : ℝ in atTop, UniversalFrequ | ||
| 29 | 29 | eventually_ge_atTop (fixedCost 6)] with k h hk he hd |
| 30 | 30 | exact ⟨h.1,h.2.1,h.2.2.1,h.2.2.2.1,h.2.2.2.2.1,h.2.2.2.2.2,hk,he,hd⟩ |
| 31 | 31 | |
| 32 | -theorem exists_universal_frequency_threshold : | |
| 33 | - ∃ K : ℝ, 1 ≤ K ∧ ∀ k : ℝ, K ≤ k → UniversalFrequency k := by | |
| 34 | - obtain ⟨K,hK⟩ := eventually_atTop.mp universal_frequency_eventually | |
| 35 | - exact ⟨max 1 K,le_max_left _ _,fun k hk => hK k ((le_max_right _ _).trans hk)⟩ | |
| 36 | - | |
| 37 | 32 | namespace UniversalFrequency |
| 38 | 33 | |
| 39 | 34 | variable {k : ℝ} (h : UniversalFrequency k) |
| @@ -42,7 +37,6 @@ include h | ||
| 42 | 37 | |
| 43 | 38 | theorem one_le : 1 ≤ k := by linarith [h.four] |
| 44 | 39 | theorem pos : 0 < k := zero_lt_one.trans_le h.one_le |
| 45 | -theorem truncation_one : 1 ≤ truncation k := (truncation_bounds k h.one_le).1 | |
| 46 | 40 | |
| 47 | 41 | end UniversalFrequency |
| 48 | 42 | end EulerPacketSourceFrequency |
+0 −8 Euler/PacketWeightedPhysicalErrors.lean View file
| @@ -22,14 +22,6 @@ variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] | ||
| 22 | 22 | def weightedPhysicalGradientCost (R CF ρ Cw : ℝ) : ℝ := |
| 23 | 23 | ((1+9*CF)*physicalFixedCost D R CF ρ⁻¹ 1)*(sobolevEmbeddingConstant P 3*Cw) |
| 24 | 24 | |
| 25 | -theorem weightedPhysicalGradientCost_nonneg (R CF ρ Cw : ℝ) | |
| 26 | - (hR : 0 ≤ R) (hCF : 0 ≤ CF) (hρ : 0 < ρ) (hCw : 0 ≤ Cw) : | |
| 27 | - 0 ≤ weightedPhysicalGradientCost D P R CF ρ Cw := by | |
| 28 | - have h := physicalFixedCost_nonneg D R CF ρ⁻¹ 1 hR hCF (inv_nonneg.mpr hρ.le) | |
| 29 | - have hs := sobolevEmbeddingConstant_nonneg P 3 | |
| 30 | - unfold weightedPhysicalGradientCost | |
| 31 | - positivity | |
| 32 | - | |
| 33 | 25 | variable {A : Data P D.T} (Q : Budget P D.T_pos A) |
| 34 | 26 | (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 35 | 27 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
+0 −92 Euler/PacketWithinStage.lean View file
| @@ -15,96 +15,4 @@ namespace EulerPacketMovingFrame | ||
| 15 | 15 | open Set EulerPacketRay EulerPacketStage EulerPacketPerturbation |
| 16 | 16 | EulerClosedIntervalDerivativeExtension |
| 17 | 17 | |
| 18 | -/-- Relative amplification for paths with their genuine within-interval | |
| 19 | -equations. The ideal reference solutions are constructed by the scalar ODE | |
| 20 | -existence theorem, not supplied as extra assumptions. -/ | |
| 21 | -theorem controlled_stage_references_within | |
| 22 | - {σ Θ T e ε lam : ℝ} {U V P Q N : ℝ → ℝ} {R A C : ℝ → Fin 3 → Fin 3 → ℝ} | |
| 23 | - (hσ : 0 < σ) (hσsmall : σ ≤ 1 / 4) (hΘ : 1 ≤ Θ) | |
| 24 | - (hT0 : 0 < T) (hT : T ≤ Θ) (he : 0 ≤ e) (hε : 0 ≤ ε) (hεe : ε ≤ e) | |
| 25 | - (hlam : 0 ≤ lam) (hsmall : 1000000 * stabilityConstant * e * Θ ^ 40 ≤ 1) | |
| 26 | - (hRc : ∀ i j, ContinuousOn (fun t => R t i j) (Icc 0 T)) | |
| 27 | - (hAc : ∀ i j, ContinuousOn (fun t => A t i j) (Icc 0 T)) | |
| 28 | - (hCc : ∀ i j, ContinuousOn (fun t => C t i j) (Icc 0 T)) | |
| 29 | - (hP : ∀ t ∈ Icc 0 T, HasDerivWithinAt P | |
| 30 | - (R t 0 0 * P t + R t 0 1 * Q t + R t 0 2 * N t) (Icc 0 T) t) | |
| 31 | - (hQ : ∀ t ∈ Icc 0 T, HasDerivWithinAt Q | |
| 32 | - (R t 1 0 * P t + R t 1 1 * Q t + R t 1 2 * N t) (Icc 0 T) t) | |
| 33 | - (hN : ∀ t ∈ Icc 0 T, HasDerivWithinAt N | |
| 34 | - (R t 2 0 * P t + R t 2 1 * Q t + R t 2 2 * N t) (Icc 0 T) t) | |
| 35 | - (hU : ∀ t ∈ Icc 0 T, HasDerivWithinAt U | |
| 36 | - (velocityFirstRhs (A t) (C t) ε (P t) (Q t) (N t) (U t) (V t)) (Icc 0 T) t) | |
| 37 | - (hV : ∀ t ∈ Icc 0 T, HasDerivWithinAt V | |
| 38 | - (velocitySecondRhs (A t) (C t) ε (P t) (Q t) (N t) (U t) (V t)) (Icc 0 T) t) | |
| 39 | - (hRclose : ∀ t ∈ Icc 0 T, ∀ i j, |R t i j - idealRayEntry (σ ^ 2) i j| ≤ 4 * e) | |
| 40 | - (hAclose : ∀ t ∈ Icc 0 T, ∀ i j, |A t i j - idealVelocityEntry (σ ^ 2) i j| ≤ 3 * e) | |
| 41 | - (hCclose : ∀ t ∈ Icc 0 T, ∀ j, | |
| 42 | - |C t 0 j - idealUnprojectedEntry 0 j| ≤ 5 * e ∧ | |
| 43 | - |C t 1 j - idealUnprojectedEntry 1 j| ≤ 5 * e) | |
| 44 | - (hrayInitial : norm3 (P 0) (Q 0) (N 0 - 1) ≤ e) | |
| 45 | - (hU0 : U 0 = -lam) (hV0 : V 0 = 1) : | |
| 46 | - ∃ F F₁ Z Z₁ : ℝ → ℝ, | |
| 47 | - F 0 = 1 ∧ F₁ 0 = 0 ∧ Z 0 = 1 ∧ Z₁ 0 = lam ∧ | |
| 48 | - (∀ t, HasDerivAt F (F₁ t) t) ∧ (∀ t, HasDerivAt Z (Z₁ t) t) ∧ | |
| 49 | - (∀ t, HasDerivAt (fun s => (1 + (σ ^ 2 * s ^ 2) ^ 2) * F₁ s) | |
| 50 | - (2 * (1 - σ ^ 2 * (σ ^ 2 * t ^ 2)) * F t) t) ∧ | |
| 51 | - (∀ t, HasDerivAt (fun s => (1 + (σ ^ 2 * s ^ 2) ^ 2) * Z₁ s) | |
| 52 | - (2 * (1 - σ ^ 2 * (σ ^ 2 * t ^ 2)) * Z t) t) ∧ | |
| 53 | - (∀ t ∈ Icc 0 T, |V t - Z t| + |U t + Z₁ t| ≤ | |
| 54 | - 160000000 * e * Θ ^ 29 * (1 + lam) * F t) ∧ | |
| 55 | - (∀ t ∈ Icc 1 T, 0 < V t ∧ | |
| 56 | - |V t / Z t - 1| ≤ stabilityConstant * e * Θ ^ 29 ∧ | |
| 57 | - |U t / V t + Z₁ t / Z t| ≤ 10 * (stabilityConstant * e * Θ ^ 29)) := by | |
| 58 | - obtain ⟨P', hPeq, hP'⟩ := exists_extension hT0 hP | |
| 59 | - obtain ⟨Q', hQeq, hQ'⟩ := exists_extension hT0 hQ | |
| 60 | - obtain ⟨N', hNeq, hN'⟩ := exists_extension hT0 hN | |
| 61 | - obtain ⟨U', hUeq, hU'⟩ := exists_extension hT0 hU | |
| 62 | - obtain ⟨V', hVeq, hV'⟩ := exists_extension hT0 hV | |
| 63 | - have h0 : (0:ℝ) ∈ Icc 0 T := ⟨le_rfl, hT0.le⟩ | |
| 64 | - have hC'c : ∀ i j, ContinuousOn (fun t => firstTwoRows (C t) i j) (Icc 0 T) := by | |
| 65 | - intro i j | |
| 66 | - by_cases hi : i = 0 | |
| 67 | - · simpa only [firstTwoRows, hi, ite_true] using hCc 0 j | |
| 68 | - · simpa only [firstTwoRows, hi, ite_false] using hCc 1 j | |
| 69 | - have hC'close : ∀ t ∈ Icc 0 T, ∀ i j, | |
| 70 | - |firstTwoRows (C t) i j - idealUnprojectedEntry i j| ≤ 5*e := by | |
| 71 | - intro t ht i j | |
| 72 | - fin_cases i | |
| 73 | - · simpa [firstTwoRows] using (hCclose t ht j).1 | |
| 74 | - · simpa [firstTwoRows] using (hCclose t ht j).2 | |
| 75 | - · simpa [firstTwoRows, idealUnprojectedEntry] using (hCclose t ht j).2 | |
| 76 | - have hPe : ∀ t ∈ Icc 0 T, HasDerivAt P' | |
| 77 | - (R t 0 0*P' t+R t 0 1*Q' t+R t 0 2*N' t) t := by | |
| 78 | - intro t ht | |
| 79 | - simpa only [hPeq ht, hQeq ht, hNeq ht] using hP' t ht | |
| 80 | - have hQe : ∀ t ∈ Icc 0 T, HasDerivAt Q' | |
| 81 | - (R t 1 0*P' t+R t 1 1*Q' t+R t 1 2*N' t) t := by | |
| 82 | - intro t ht | |
| 83 | - simpa only [hPeq ht, hQeq ht, hNeq ht] using hQ' t ht | |
| 84 | - have hNe : ∀ t ∈ Icc 0 T, HasDerivAt N' | |
| 85 | - (R t 2 0*P' t+R t 2 1*Q' t+R t 2 2*N' t) t := by | |
| 86 | - intro t ht | |
| 87 | - simpa only [hPeq ht, hQeq ht, hNeq ht] using hN' t ht | |
| 88 | - have hUe : ∀ t ∈ Icc 0 T, HasDerivAt U' | |
| 89 | - (velocityFirstRhs (A t) (firstTwoRows (C t)) ε (P' t) (Q' t) (N' t) (U' t) (V' t)) t := by | |
| 90 | - intro t ht | |
| 91 | - simpa only [velocityFirstRhs_firstTwoRows, hPeq ht, hQeq ht, hNeq ht, hUeq ht, hVeq ht] using hU' t ht | |
| 92 | - have hVe : ∀ t ∈ Icc 0 T, HasDerivAt V' | |
| 93 | - (velocitySecondRhs (A t) (firstTwoRows (C t)) ε (P' t) (Q' t) (N' t) (U' t) (V' t)) t := by | |
| 94 | - intro t ht | |
| 95 | - simpa only [velocitySecondRhs_firstTwoRows, hPeq ht, hQeq ht, hNeq ht, hUeq ht, hVeq ht] using hV' t ht | |
| 96 | - have hri : norm3 (P' 0) (Q' 0) (N' 0-1) ≤ e := by | |
| 97 | - simpa only [hPeq h0, hQeq h0, hNeq h0] using hrayInitial | |
| 98 | - have hui : U' 0 = -lam := (hUeq h0).trans hU0 | |
| 99 | - have hvi : V' 0 = 1 := (hVeq h0).trans hV0 | |
| 100 | - obtain ⟨F, F₁, Z, Z₁, hF0, hF₁0, hZ0, hZ₁0, hF, hZ, hfF, hfZ, herr, hrel⟩ := | |
| 101 | - controlled_stage_references hσ hσsmall hΘ hT0.le hT he hε hεe hlam hsmall | |
| 102 | - hRc hAc hC'c hPe hQe hNe hUe hVe hRclose hAclose hC'close hri hui hvi | |
| 103 | - refine ⟨F, F₁, Z, Z₁, hF0, hF₁0, hZ0, hZ₁0, hF, hZ, hfF, hfZ, ?_, ?_⟩ | |
| 104 | - · intro t ht | |
| 105 | - simpa only [hUeq ht, hVeq ht] using herr t ht | |
| 106 | - · intro t ht | |
| 107 | - have ht' : t ∈ Icc 0 T := ⟨le_trans (by norm_num) ht.1, ht.2⟩ | |
| 108 | - simpa only [hUeq ht', hVeq ht'] using hrel t ht | |
| 109 | - | |
| 110 | 18 | end EulerPacketMovingFrame |
+0 −4 Euler/ParameterSobolevCommutator.lean View file
| @@ -75,10 +75,6 @@ theorem commutatorBlock_zero (directions : ι → P) (q : ℕ) (A : P → E →L | ||
| 75 | 75 | simp only [wordCommutator, Pi.sub_apply, wordDerivative_zero, sub_self] |
| 76 | 76 | simp only [commutatorBlock, he, baseSize_zero_function, sum_const_zero] |
| 77 | 77 | |
| 78 | -theorem commutatorBlock_nonneg (directions : ι → P) (q : ℕ) (A : P → E →L[ℝ] F) (f : P → E) | |
| 79 | - (n : ℕ) (x : P) : 0 ≤ commutatorBlock directions q A f n x := | |
| 80 | - sum_nonneg (fun _ _ => baseSize_nonneg directions q _ x) | |
| 81 | - | |
| 82 | 78 | theorem commutatorBlock_succ_le (directions : ι → P) (q : ℕ) |
| 83 | 79 | (A : P → E →L[ℝ] F) (f : P → E) (hA : ContDiff ℝ ∞ A) (hf : ContDiff ℝ ∞ f) |
| 84 | 80 | (n : ℕ) (x : P) : |
+0 −6 Euler/ParameterSobolevLinear.lean View file
| @@ -34,12 +34,6 @@ theorem block_comp_clm_le (directions : ι → P) (q : ℕ) (L : E →L[ℝ] F) | ||
| 34 | 34 | rw [he] |
| 35 | 35 | exact baseSize_comp_clm_le directions q L _ (wordDerivative_contDiff directions f hf w) x |
| 36 | 36 | |
| 37 | -theorem coefficientBlock_comp_clm_le (directions : ι → P) (q : ℕ) (L : E →L[ℝ] F) | |
| 38 | - (f : P → E) (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : P) : | |
| 39 | - coefficientBlock directions q (L ∘ f) n x ≤ ‖L‖*coefficientBlock directions q f n x := | |
| 40 | - (mul_le_mul_of_nonneg_left (block_comp_clm_le directions q L f hf n x) (by positivity)).trans_eq | |
| 41 | - (by unfold coefficientBlock; ring) | |
| 42 | - | |
| 43 | 37 | theorem block_sub_le (directions : ι → P) (q : ℕ) (f g : P → E) |
| 44 | 38 | (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) (n : ℕ) (x : P) : |
| 45 | 39 | block directions q (f-g) n x ≤ block directions q f n x+block directions q g n x := by |
+0 −8 Euler/ParameterSobolevProductGevrey.lean View file
| @@ -41,14 +41,6 @@ theorem block_clm_apply_gevrey (directions : ι → P) (q : ℕ) | ||
| 41 | 41 | exact (block_clm_apply_le directions q A f hA hf n x).trans |
| 42 | 42 | ((le_abs_self _).trans (by simpa only [Nat.zero_add, EulerJetProductBounds.leibnizConvolution] using hp)) |
| 43 | 43 | |
| 44 | -theorem block_linear_gevrey (directions : ι → P) (q : ℕ) | |
| 45 | - (L : E →L[ℝ] F) (f : P → E) (hf : ContDiff ℝ ∞ f) | |
| 46 | - (R C : ℝ) (d : ℕ) (hb : ∀ n x, block directions q f n x ≤ C*majorant R d n) | |
| 47 | - (n : ℕ) (x : P) : | |
| 48 | - block directions q (fun y => L (f y)) n x ≤ (‖L‖*C)*majorant R d n := | |
| 49 | - (block_comp_clm_le directions q L f hf n x).trans | |
| 50 | - (by simpa only [mul_assoc] using mul_le_mul_of_nonneg_left (hb n x) (norm_nonneg L)) | |
| 51 | - | |
| 52 | 44 | theorem block_add_gevrey (directions : ι → P) (q : ℕ) |
| 53 | 45 | (f g : P → E) (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) |
| 54 | 46 | (R C D : ℝ) (d : ℕ) |
+0 −8 Euler/ParameterWordCalculus.lean View file
| @@ -121,12 +121,4 @@ theorem wordSum_sub_le (directions : ι → P) (f g : P → E) | ||
| 121 | 121 | rw [wordDerivative_sub directions f g hf hg w x] |
| 122 | 122 | exact norm_sub_le _ _ |
| 123 | 123 | |
| 124 | -/-- Subtracting a frozen coefficient has no positive-order derivative. -/ | |
| 125 | -theorem wordSum_sub_const_succ (directions : ι → P) (f : P → E) | |
| 126 | - (hf : ContDiff ℝ ∞ f) (c : E) (n : ℕ) (x : P) : | |
| 127 | - wordSum directions (f-fun _ => c) (n+1) x = wordSum directions f (n+1) x := by | |
| 128 | - unfold wordSum wordDerivative | |
| 129 | - rw [iteratedFDeriv_sub_apply (hf.contDiffAt.of_le (by simp)) contDiffAt_const] | |
| 130 | - simp only [iteratedFDeriv_succ_const, Pi.zero_apply, sub_zero] | |
| 131 | - | |
| 132 | 124 | end EulerParameterWordGevrey |
+0 −78 Euler/ParameterWordInverse.lean View file
| @@ -19,82 +19,4 @@ open scoped ContDiff | ||
| 19 | 19 | variable {P E ι : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 20 | 20 | [NormedAddCommGroup E] [NormedSpace ℝ E] [Fintype ι] |
| 21 | 21 | |
| 22 | -/-- Freezing the actual inverse yields the sharp recurrence for actual ordered word sums. -/ | |
| 23 | -theorem inverse_word_recurrence (directions : ι → P) | |
| 24 | - (A : P → E →L[ℝ] E) (u f : P → E) | |
| 25 | - (hA : ContDiff ℝ ∞ A) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) | |
| 26 | - (heq : ∀ y, A y (u y) = f y) (x : P) | |
| 27 | - (I : E →L[ℝ] E) (hI : ∀ v, I (A x v) = v) (n : ℕ) : | |
| 28 | - wordSum directions u n x ≤ ‖I‖ * | |
| 29 | - (wordSum directions f n x + ∑ j ∈ range n, | |
| 30 | - (n.choose (j+1) : ℝ) * wordSum directions A (j+1) x * | |
| 31 | - wordSum directions u (n-(j+1)) x) := by | |
| 32 | - let B : P → E →L[ℝ] E := A-fun _ => A x | |
| 33 | - have hB : ContDiff ℝ ∞ B := hA.sub contDiff_const | |
| 34 | - have hBu : ContDiff ℝ ∞ (fun y => B y (u y)) := hB.clm_apply hu | |
| 35 | - have hfreeze : u = I ∘ (f-fun y => B y (u y)) := by | |
| 36 | - funext y | |
| 37 | - dsimp [B] | |
| 38 | - rw [sub_apply, ← heq y, sub_sub_cancel] | |
| 39 | - exact (hI (u y)).symm | |
| 40 | - have hzero : wordSum directions B 0 x = 0 := by | |
| 41 | - rw [wordSum_zero] | |
| 42 | - simp only [B, Pi.sub_apply, sub_self, norm_zero] | |
| 43 | - have hpos (j : ℕ) : wordSum directions B (j+1) x = wordSum directions A (j+1) x := | |
| 44 | - wordSum_sub_const_succ directions A hA (A x) j x | |
| 45 | - have hprod := wordSum_clm_apply_le directions B u hB hu n x | |
| 46 | - unfold leibnizConvolution at hprod | |
| 47 | - rw [sum_range_succ'] at hprod | |
| 48 | - simp only [hzero, mul_zero, zero_mul, add_zero, hpos] at hprod | |
| 49 | - have hbound := wordSum_comp_clm_le directions I (f-fun y => B y (u y)) (hf.sub hBu) n x | |
| 50 | - rw [← hfreeze] at hbound | |
| 51 | - exact hbound.trans (mul_le_mul_of_nonneg_left | |
| 52 | - ((wordSum_sub_le directions f (fun y => B y (u y)) hf hBu n x).trans | |
| 53 | - (add_le_add le_rfl hprod)) (norm_nonneg I)) | |
| 54 | - | |
| 55 | -/-- The actual inverse maps a word-sum majorant to one higher factorial | |
| 56 | -shift at the identical radius. All constants are independent of the shift. -/ | |
| 57 | -theorem inverse_word_gevrey (directions : ι → P) | |
| 58 | - (A : P → E →L[ℝ] E) (u f : P → E) | |
| 59 | - (hA : ContDiff ℝ ∞ A) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) | |
| 60 | - (heq : ∀ y, A y (u y) = f y) | |
| 61 | - (inverse : P → E →L[ℝ] E) (hleft : ∀ x v, inverse x (A x v) = v) | |
| 62 | - (I C D M Rc R : ℝ) (hC : 0 ≤ C) (hD : 0 ≤ D) | |
| 63 | - (hM : 1 ≤ M) (hMC : I*C ≤ M) (hMD : I*D ≤ M) | |
| 64 | - (hRc : 0 ≤ Rc) (hR : 2*M*(Rc+1) ≤ R) | |
| 65 | - (hinv : ∀ x, ‖inverse x‖ ≤ I) | |
| 66 | - (hcoeff : ∀ j x, wordSum directions A (j+1) x ≤ C*(Rc^(j+1)*((j+1).factorial : ℝ)^2)) | |
| 67 | - (d : ℕ) (hforce : ∀ n x, wordSum directions f n x ≤ D*majorant R d n) | |
| 68 | - (n : ℕ) (x : P) : wordSum directions u n x ≤ majorant R (d+1) n := by | |
| 69 | - have hR0 : 0 ≤ R := by nlinarith | |
| 70 | - apply triangular_inverse_majorant M Rc R hM hRc hR d | |
| 71 | - (fun k => majorant R d k) (fun k => wordSum directions u k x) (fun _ => le_rfl) _ n | |
| 72 | - intro k | |
| 73 | - let S : ℝ := ∑ j ∈ range k, (k.choose (j+1) : ℝ)*Rc^(j+1)* | |
| 74 | - ((j+1).factorial : ℝ)^2*wordSum directions u (k-(j+1)) x | |
| 75 | - have hS : 0 ≤ S := sum_nonneg (fun j _ => mul_nonneg | |
| 76 | - (mul_nonneg (mul_nonneg (Nat.cast_nonneg _) (pow_nonneg hRc _)) (sq_nonneg _)) | |
| 77 | - (wordSum_nonneg directions u _ x)) | |
| 78 | - have hsum : (∑ j ∈ range k, (k.choose (j+1) : ℝ)*wordSum directions A (j+1) x* | |
| 79 | - wordSum directions u (k-(j+1)) x) ≤ C*S := by | |
| 80 | - dsimp only [S] | |
| 81 | - rw [mul_sum] | |
| 82 | - apply sum_le_sum | |
| 83 | - intro j _ | |
| 84 | - have h := mul_le_mul_of_nonneg_right | |
| 85 | - (mul_le_mul_of_nonneg_left (hcoeff j x) (Nat.cast_nonneg (k.choose (j+1)))) | |
| 86 | - (wordSum_nonneg directions u (k-(j+1)) x) | |
| 87 | - convert h using 1 | |
| 88 | - ring | |
| 89 | - have hrec := inverse_word_recurrence directions A u f hA hu hf heq x (inverse x) (hleft x) k | |
| 90 | - have hb : wordSum directions u k x ≤ I*(D*majorant R d k+C*S) := by | |
| 91 | - apply hrec.trans | |
| 92 | - exact (mul_le_mul_of_nonneg_left (add_le_add (hforce k x) hsum) (norm_nonneg _)).trans | |
| 93 | - (mul_le_mul_of_nonneg_right (hinv x) | |
| 94 | - (add_nonneg (mul_nonneg hD (majorant_nonneg R hR0 d k)) (mul_nonneg hC hS))) | |
| 95 | - have h₁ := mul_le_mul_of_nonneg_right hMC hS | |
| 96 | - have h₂ := mul_le_mul_of_nonneg_right hMD (majorant_nonneg R hR0 d k) | |
| 97 | - change wordSum directions u k x ≤ M*(majorant R d k+S) | |
| 98 | - nlinarith | |
| 99 | - | |
| 100 | 22 | end EulerParameterWordGevrey |