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 remote-tracking branch 'origin/main' into s1-ns-comparator-1
Browse files+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 −109 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,15 @@ 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 | 167 | /-- The actual pointwise time derivative, obtained from the constructed Sobolev source. -/ |
| 212 | 168 | def Budget.pointTimeDerivative (B : Budget period hT A) |
| 213 | 169 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
| 214 | 170 | (B.family period).pointTimeDerivative period t x |
| 215 | 171 | |
| 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 | 172 | 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 −26 Euler/AllOrderDriftPointwiseBounds.lean View file
| @@ -26,30 +26,4 @@ theorem Budget.timeDerivativeTower_pointField (t : Icc (0 : ℝ) T) : | ||
| 26 | 26 | ← B.solution_eq_realization P 6 le_rfl] |
| 27 | 27 | rfl |
| 28 | 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 | 29 | end EulerAllOrderDriftCorrection |
+0 −99 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) |
| @@ -79,28 +61,11 @@ def Budget.graphPressure (B : Budget period hT A) (k : ℝ) | ||
| 79 | 61 | (t : Icc (0 : ℝ) T) (x : Vector3) : Vector3 := |
| 80 | 62 | A.κ • B.pointPressure period t (cylinderGraph period k A.direction x) |
| 81 | 63 | |
| 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 | 64 | /-- The scalar graph pressure constructed by radial integration, with its additive gauge fixed at zero. -/ |
| 95 | 65 | def Budget.normalizedGraphPotential (B : Budget period hT A) (k : ℝ) |
| 96 | 66 | (t : Icc (0 : ℝ) T) (x : Vector3) : ℝ := |
| 97 | 67 | (B.family period).normalizedGraphPotential period k t x |
| 98 | 68 | |
| 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 | 69 | /-- Fixing the gauge by the same radial formula at every time preserves joint continuity. -/ |
| 105 | 70 | theorem Budget.normalizedGraphPotential_joint_continuous (B : Budget period hT A) (k : ℝ) : |
| 106 | 71 | Continuous (B.normalizedGraphPotential period k).uncurry := |
| @@ -119,74 +84,10 @@ theorem Budget.normalizedGraphPotential_gradient (B : Budget period hT A) | ||
| 119 | 84 | A.κ • B.pointPressure period t (cylinderGraph period k A.direction x) := |
| 120 | 85 | (B.family period).normalizedGraphPotential_gradient period (B.comparisonData period) k hk t x |
| 121 | 86 | |
| 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 | 87 | /-- Oddness holds pointwise for the canonical pressure representative. -/ |
| 137 | 88 | theorem Budget.pointPressure_odd (B : Budget period hT A) (P : ParityData period A) |
| 138 | 89 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 139 | 90 | B.pointPressure period t (-x) = -B.pointPressure period t x := |
| 140 | 91 | (B.family period).pointPressure_odd period (B.comparisonData period) P t x |
| 141 | 92 | |
| 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 | 93 | 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 −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 −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 −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 −7 Euler/CommonPressureRepresentative.lean View file
| @@ -37,13 +37,6 @@ theorem pointPressure_joint_continuous {T : ℝ} (hT : 0 < T) (A : Data period T | ||
| 37 | 37 | ((restrictOperator period (by omega : 3 ≤ 6)).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 38 | 38 | (signedPressurePath period hT A B 6 le_rfl)) |
| 39 | 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 | 40 | /-- These same canonical representatives are smooth in every spatial coordinate. -/ |
| 48 | 41 | theorem pointPressure_smooth {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 49 | 42 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
+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 −6 Euler/ConstantEulerGraph.lean View file
| @@ -124,10 +124,4 @@ theorem velocity_smooth (t : ℝ) : ContDiff ℝ ∞ (fun x => velocity S (t,x)) | ||
| 124 | 124 | simpa only [cylinderGraph,inner_zero_left,mul_zero,velocity,ExactLiftedPacket.rawVelocity, |
| 125 | 125 | FieldTower.rawField,coveringMap] using h |
| 126 | 126 | |
| 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 | 127 | end EulerConstantEuler |
+0 −14 Euler/CorrectionAssemblyCommon.lean View file
| @@ -55,20 +55,6 @@ theorem FiniteFamily.commonPath_hasDerivAt (F : FiniteFamily period hT A) | ||
| 55 | 55 | ⟨t, ht.1.le, ht.2.le⟩ (F.solution 6 le_rfl ⟨t, ht.1.le, ht.2.le⟩))) t := |
| 56 | 56 | F.equation 6 le_rfl t ht |
| 57 | 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 | 58 | /-- Bounded H3 evaluation fixes a canonical actual pointwise representative of the common correction. -/ |
| 73 | 59 | def FiniteFamily.pointField (F : FiniteFamily period hT A) |
| 74 | 60 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
+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 −8 Euler/CorrectionAssemblyParity.lean View file
| @@ -119,12 +119,4 @@ theorem FiniteFamily.fieldTower_odd (F : FiniteFamily period hT A) | ||
| 119 | 119 | (F.fieldTower period C).realization q t := |
| 120 | 120 | fieldTower_realization_odd period (F.fieldTower period C) (F.commonPath_odd period C P) q t |
| 121 | 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 | 122 | 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 −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 −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 −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 −10 Euler/FieldTowerCanonicalGraph.lean View file
| @@ -31,16 +31,6 @@ 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 | 34 | theorem canonicalGraphWordPath_hasDerivAt (B : EulerAllOrderCorrectionData.FieldTower P T) |
| 45 | 35 | (hT : 0 ≤ T) (n : ℕ) (w : Fin n → Fin 4) (q : ℕ) (hq : n+1 ≤ q) |
| 46 | 36 | (t : ℝ) (ht : t ∈ Ioo 0 T) |
+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 −16 Euler/FieldTowerTimeRestriction.lean View file
| @@ -17,22 +17,6 @@ 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 | 20 | theorem realization_hasDerivAt_of_le {p q : ℕ} (h : q ≤ p) |
| 37 | 21 | (hT : 0 ≤ T) (t : Icc (0 : ℝ) T) |
| 38 | 22 | (hd : HasDerivAt (extendPath T hT (A.realization p)) |
+0 −4 Euler/FieldTowerVolumeSobolev.lean View file
| @@ -68,10 +68,6 @@ def volumeTensorPath : C(Icc (0 : ℝ) T, | ||
| 68 | 68 | Lp (Vector3 [×n]→L[ℝ] Vector3) 2 (volume : Measure Vector3)) := |
| 69 | 69 | EulerVolumeSobolevPath.tensorPath Y hmp (fun i => A.physicalTensorPath k m i) D hD hJ hB |
| 70 | 70 | |
| 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 | 71 | theorem volumeTensorPath_ae (hY : ∀ t, ContDiff ℝ ∞ (Y t)) (t : Icc (0 : ℝ) T) : |
| 76 | 72 | (A.volumeTensorPath k m Y hmp n D hD hJ hB t : Vector3 → (Vector3 [×n]→L[ℝ] Vector3)) =ᵐ[volume] |
| 77 | 73 | iteratedFDeriv ℝ n (A.volumePointField k m Y t) := |
+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 −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/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 −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 −35 Euler/HeatMaximalRegularity.lean View file
| @@ -46,29 +46,6 @@ theorem regularized_limit_restriction (T : ℝ) (hT : 0 ≤ T) | ||
| 46 | 46 | exact limit_restriction_ae T hT (truncateOperator period 1) |
| 47 | 47 | (fun n => (truncateOperator period 2).compLeftContinuous ℝ (Icc (0 : ℝ) T) (regularizedState period T n u)) u U hU hrestrict |
| 48 | 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 | 49 | /-- Completeness of actual H² Bochner space constructs its strong Cauchy limit. -/ |
| 73 | 50 | theorem exists_H2_time_limit (T : ℝ) (u : ℕ → TimeLp T (SobolevSpace period 2)) (hu : CauchySeq u) : |
| 74 | 51 | ∃ U : TimeLp T (SobolevSpace period 2), Filter.Tendsto u Filter.atTop (𝓝 U) := |
| @@ -102,16 +79,4 @@ theorem viscous_mild_maximal_regularity (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν | ||
| 102 | 79 | intro U hU |
| 103 | 80 | exact ⟨regularized_limit_restriction period T hT u U hU, hU⟩ |
| 104 | 81 | |
| 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 | 82 | 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 −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 −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 −32 Euler/PhysicalChildFields.lean View file
| @@ -60,36 +60,4 @@ def data (t : Icc (0 : ℝ) T) : EulerChildParticleFieldBounds.Data where | ||
| 60 | 60 | rw [inner_eq_forward G k m hgraph ell hell t] |
| 61 | 61 | exact physical_forward_measurePreserving k m T G.time_nonneg G.A hgraph G.divergence ell hell.ne' t |
| 62 | 62 | |
| 63 | -include hgraph hK hD hV hW hM hR hd hv hw hds hvs in | |
| 64 | -theorem data_inner (t : Icc (0 : ℝ) T) : | |
| 65 | - (data G k m hgraph ell hell D V W K hK hD hV hW M R hM hR hd hv hw hds hvs t).inner = | |
| 66 | - (flowData T G.time_nonneg (physicalCoefficient k m T G.A ell)).forward t := | |
| 67 | - inner_eq_forward G k m hgraph ell hell t | |
| 68 | - | |
| 69 | -omit G k m hgraph ell hell D V W K hK hD hV hW M R hM hR hd hv hw hds hvs in | |
| 70 | -def childAmplitude (K M : ℝ) : ℝ := | |
| 71 | - K+M+9*((embeddingCost*K)*K)*M+9*(((embeddingCost*K)*K)*(4*K))*M^2 | |
| 72 | - | |
| 73 | -omit G k m hgraph ell hell D V W K hK hD hV hW M R hM hR hd hv hw hds hvs in | |
| 74 | -def childRadius (K M R : ℝ) : ℝ := (1+R)*((1+M)*(16*K)+2)+R | |
| 75 | - | |
| 76 | -include hgraph hK hD hV hW hM hR hd hv hw hds hvs in | |
| 77 | -theorem fields_jet_bound (t : Icc (0 : ℝ) T) : | |
| 78 | - let E := data G k m hgraph ell hell D V W K hK hD hV hW M R hM hR hd hv hw hds hvs t | |
| 79 | - E.childDisplacement.HasJetBound (childAmplitude K M) (childRadius K M R) ∧ | |
| 80 | - E.childVelocity.HasJetBound (childAmplitude K M) (childRadius K M R) ∧ | |
| 81 | - E.childAcceleration.HasJetBound (childAmplitude K M) (childRadius K M R) := by | |
| 82 | - let E := data G k m hgraph ell hell D V W K hK hD hV hW M R hM hR hd hv hw hds hvs t | |
| 83 | - exact ⟨E.childDisplacement_bound,E.childVelocity_bound,E.childAcceleration_bound⟩ | |
| 84 | - | |
| 85 | -include hgraph hK hD hV hW hM hR hd hv hw hds hvs in | |
| 86 | -theorem fields_label_bound (J : ℝ) | |
| 87 | - (ha : EulerParameterWordGevrey.sobolevCoefficientAmplitude (Fin 3) 6 | |
| 88 | - (childRadius K M R) (childAmplitude K M) ≤ J) | |
| 89 | - (hr : EulerParameterWordGevrey.sobolevCoefficientRadius (Fin 3) (childRadius K M R) ≤ J) | |
| 90 | - (t : Icc (0 : ℝ) T) : | |
| 91 | - let E := data G k m hgraph ell hell D V W K hK hD hV hW M R hM hR hd hv hw hds hvs t | |
| 92 | - HasLabelBound J E.childDisplacement ∧ HasLabelBound J E.childVelocity ∧ HasLabelBound J E.childAcceleration := | |
| 93 | - (data G k m hgraph ell hell D V W K hK hD hV hW M R hM hR hd hv hw hds hvs t).child_label_bounds J ha hr | |
| 94 | - | |
| 95 | 63 | end EulerPhysicalChildFields |
+0 −8 Euler/PhysicalChildPacketMatch.lean View file
| @@ -44,14 +44,6 @@ variable {raw : EulerPacketProfileRecursion.VectorField} | ||
| 44 | 44 | (G : EulerPhysicalGraphFlowBounds.Data P A.T) |
| 45 | 45 | (hG : G.A=B.liftedPacketCoefficient P V) |
| 46 | 46 | |
| 47 | -include hV hG in | |
| 48 | -theorem lifted_graph_constraint (k : ℝ) (hk : k*C.κ=1) | |
| 49 | - (t : Icc (0 : ℝ) A.T) (q : LiftTangent) : | |
| 50 | - graphConstraint k C.direction (G.A.field t q)=0 := by | |
| 51 | - rw [hG,B.liftedPacketCoefficient_eq_corrected P V hV] | |
| 52 | - simp only [graphConstraint_apply,transportDirection,real_inner_smul_right] | |
| 53 | - rw [← mul_assoc,hk,one_mul,sub_self] | |
| 54 | - | |
| 55 | 47 | include hV hG in |
| 56 | 48 | theorem graphPushforwardVelocity_corrected (k : ℝ) |
| 57 | 49 | (Y u : Icc (0 : ℝ) A.T → Space → Space) (t : Icc (0 : ℝ) A.T) (x : Space) : |
+0 −14 Euler/PhysicalChildParent.lean View file
| @@ -134,18 +134,4 @@ theorem childInverse_joint_continuous (Y : Icc (0 : ℝ) A.T → Space → Space | ||
| 134 | 134 | (flowData A.T G.time_nonneg (physicalCoefficient k m A.T G.A A.ell)).backward_joint_continuous.comp |
| 135 | 135 | ((continuous_subtype_val.comp continuous_fst).prodMk hY) |
| 136 | 136 | |
| 137 | -theorem child_particleMap_measurePreserving | |
| 138 | - (hparent : ∀ t, MeasurePreserving (fun x => x+A.displacement.field t x) volume volume) | |
| 139 | - (t : Icc (0 : ℝ) A.T) : | |
| 140 | - MeasurePreserving | |
| 141 | - (fun x => x+(A.child G k m hgraph nextEll hnext hnext1).displacement.field t x) volume volume := by | |
| 142 | - have he : (fun x => x+(A.child G k m hgraph nextEll hnext hnext1).displacement.field t x) = | |
| 143 | - (fun y => y+A.displacement.field t y) ∘ | |
| 144 | - (flowData A.T G.time_nonneg (physicalCoefficient k m A.T G.A A.ell)).forward t := | |
| 145 | - funext (A.child_particleMap G k m hgraph nextEll hnext hnext1 t) | |
| 146 | - rw [he] | |
| 147 | - exact (hparent t).comp | |
| 148 | - (physical_forward_measurePreserving k m A.T G.time_nonneg G.A hgraph G.divergence | |
| 149 | - A.ell A.ell_pos.ne' t) | |
| 150 | - | |
| 151 | 137 | end EulerParentPacketFrames.Parent |
+0 −7 Euler/PhysicalGraphFlowBounds.lean View file
| @@ -207,12 +207,5 @@ theorem velocityField_eq (ell : ℝ) (hell : 0 < ell) (t : Icc (0 : ℝ) T) (x : | ||
| 207 | 207 | materialVelocity T G.time_nonneg (physicalCoefficient k m T G.A ell) t x := |
| 208 | 208 | (physical_materialVelocity_eq k m T G.time_nonneg G.A hgraph ell hell.ne' t x).symm |
| 209 | 209 | |
| 210 | -include hgraph in | |
| 211 | -theorem accelerationField_eq (ell : ℝ) (hell : 0 < ell) (t : Icc (0 : ℝ) T) (x : Vector3) : | |
| 212 | - (G.accelerationFieldL2 k m ell hell t).field x = | |
| 213 | - materialAcceleration T G.time_nonneg (physicalCoefficient k m T G.A ell) | |
| 214 | - (physicalCoefficient k m T G.A₁ ell) t x := | |
| 215 | - (physical_materialAcceleration_eq k m T G.time_nonneg G.A G.A₁ hgraph ell hell.ne' t x).symm | |
| 216 | - | |
| 217 | 210 | end Data |
| 218 | 211 | end EulerPhysicalGraphFlowBounds |
+0 −17 Euler/PhysicalGraphFlowSupBounds.lean View file
| @@ -47,21 +47,4 @@ theorem velocity_sup_bound (k : ℝ) (m : Vector3) (ell : ℝ) | ||
| 47 | 47 | |
| 48 | 48 | variable (k : ℝ) (m : Vector3) (hgraph : ∀ t z, graphConstraint k m (G.A.field t z)=0) |
| 49 | 49 | |
| 50 | -include hgraph in | |
| 51 | -theorem physical_positive_bound (ell : ℝ) (hell : 0 < ell) (hell1 : ell ≤ 1) | |
| 52 | - (t : Icc (0 : ℝ) T) (n : ℕ) (hn : 0 < n) (x : Vector3) : | |
| 53 | - ‖iteratedFDeriv ℝ n ((flowData T G.time_nonneg (physicalCoefficient k m T G.A ell)).forward t) x‖ ≤ | |
| 54 | - (1+G.B*T)*(1+ell⁻¹*(4*G.R*graphFactor k m))^n*(n.factorial : ℝ)^2 := by | |
| 55 | - have he : (flowData T G.time_nonneg (physicalCoefficient k m T G.A ell)).forward t = | |
| 56 | - fun y => y+(G.displacementField k m ell hell t).field y := by | |
| 57 | - funext y | |
| 58 | - rw [G.displacementField_eq k m hgraph,displacement_eq] | |
| 59 | - abel | |
| 60 | - rw [he] | |
| 61 | - exact positive_id_add_bound _ (G.displacementField k m ell hell t).smooth | |
| 62 | - (G.B*T) (ell⁻¹*(4*G.R*graphFactor k m)) (mul_nonneg G.B_nonneg G.time_nonneg) | |
| 63 | - (mul_nonneg (inv_nonneg.mpr hell.le) | |
| 64 | - (mul_nonneg (by linarith [G.R_pos]) (graphFactor_nonneg k m))) | |
| 65 | - (G.displacement_sup_bound k m ell hell hell1 t) n hn x | |
| 66 | - | |
| 67 | 50 | end EulerPhysicalGraphFlowBounds.Data |
+0 −6 Euler/QuadraticSource.lean View file
| @@ -26,12 +26,6 @@ theorem source_continuous {T : Type*} [TopologicalSpace T] | ||
| 26 | 26 | ((hA.comp continuous_fst).clm_apply continuous_snd)).add |
| 27 | 27 | (((hB.comp continuous_fst).clm_apply continuous_snd).clm_apply continuous_snd))).neg |
| 28 | 28 | |
| 29 | -/-- The exact product difference identity needs no symmetry of the bilinear source. -/ | |
| 30 | -theorem quadratic_sub (B : X →L[ℝ] X →L[ℝ] Y) (u v : X) : | |
| 31 | - B u u - B v v = B (u-v) u + B v (u-v) := by | |
| 32 | - simp only [map_sub, sub_apply] | |
| 33 | - abel | |
| 34 | - | |
| 35 | 29 | /-- The quadratic source has the genuine pointwise bound used for Picard existence. -/ |
| 36 | 30 | theorem source_bound (P : Y →L[ℝ] Y) (r : Y) (A : X →L[ℝ] Y) (B : X →L[ℝ] X →L[ℝ] Y) |
| 37 | 31 | (R : ℝ) (hR : 0 ≤ R) (u : X) (hu : ‖u‖ ≤ R) : |
+0 −13 Euler/ReversedVorticityTransport.lean View file
| @@ -40,17 +40,4 @@ theorem vorticity_ne_zero_along_reverse_trajectory | ||
| 40 | 40 | apply hne |
| 41 | 41 | simpa only [sub_self] using he |
| 42 | 42 | |
| 43 | -/-- A path for a modified reverse-time velocity has the same nonzero | |
| 44 | -vorticity transport whenever that velocity agrees with Euler along the path. -/ | |
| 45 | -theorem vorticity_ne_zero_along_reverse_trajectory_of_agrees | |
| 46 | - (X : ℝ → Space) (w : ℝ → Space → Space) (T : ℝ) (hT : 0 ≤ T) | |
| 47 | - (hX : ContinuousOn X (Icc 0 T)) | |
| 48 | - (hXd : ∀ s ∈ Ioo 0 T, HasDerivAt X (-w s (X s)) s) | |
| 49 | - (hw : ∀ s ∈ Ioo 0 T, w s (X s) = v (X s) (T - s)) | |
| 50 | - (hne : vectorCurl (v · T) (X 0) ≠ 0) : | |
| 51 | - vectorCurl (v · 0) (X T) ≠ 0 := by | |
| 52 | - apply h.vorticity_ne_zero_along_reverse_trajectory X T hT hX _ hne | |
| 53 | - intro s hs | |
| 54 | - simpa only [hw s hs] using hXd s hs | |
| 55 | - | |
| 56 | 43 | end Euler.EulerExistenceAndSmoothnessR3 |
+0 −60 Euler/ScalarEulerVorticity.lean View file
| @@ -102,65 +102,5 @@ theorem vorticity_eq_zero_along_trajectory | ||
| 102 | 102 | · exact hz |
| 103 | 103 | · exact ht |
| 104 | 104 | |
| 105 | -/-- Vorticity support is contained in the image of its initial support under | |
| 106 | -any complete continuous particle flow with a right inverse at the target time. | |
| 107 | -The support propagation itself follows from the reference Euler equation. -/ | |
| 108 | -theorem vorticity_tsupport_subset_flow_image | |
| 109 | - (X : ℝ → Space → Space) (Y : Space → Space) (T t : ℝ) | |
| 110 | - (ht : t ∈ Icc 0 T) | |
| 111 | - (hX : ∀ a, ContinuousOn (fun r => X r a) (Icc 0 T)) | |
| 112 | - (hXd : ∀ a r, r ∈ Ioo 0 T → HasDerivAt (fun s => X s a) (v (X r a) r) r) | |
| 113 | - (hX0 : ∀ a, X 0 a = a) (hXt : Continuous (X t)) | |
| 114 | - (hXY : ∀ x, X t (Y x) = x) | |
| 115 | - (hc : HasCompactSupport (vectorCurl u₀)) : | |
| 116 | - tsupport (vectorCurl (v · t)) ⊆ X t '' tsupport (vectorCurl u₀) := by | |
| 117 | - have he : (v · 0) = u₀ := funext h.initial_condition | |
| 118 | - have hcomp : HasCompactSupport (vectorCurl (v · 0)) := by simpa only [he] using hc | |
| 119 | - have hs := ComparatorBridge.tsupport_subset_flow_image | |
| 120 | - (fun r => vectorCurl (v · r)) X Y t hcomp hXt hXY | |
| 121 | - (fun a ha => h.vorticity_eq_zero_along_trajectory (fun r => X r a) T | |
| 122 | - (hX a) (hXd a) (by simpa only [hX0 a] using ha) t ht) | |
| 123 | - simpa only [he] using hs | |
| 124 | - | |
| 125 | -/-- Compact initial vorticity therefore stays compactly supported under a | |
| 126 | -complete particle flow; no global bounds on spatial derivatives are assumed. -/ | |
| 127 | -theorem vorticity_hasCompactSupport_of_flow | |
| 128 | - (X : ℝ → Space → Space) (Y : Space → Space) (T t : ℝ) | |
| 129 | - (ht : t ∈ Icc 0 T) | |
| 130 | - (hX : ∀ a, ContinuousOn (fun r => X r a) (Icc 0 T)) | |
| 131 | - (hXd : ∀ a r, r ∈ Ioo 0 T → HasDerivAt (fun s => X s a) (v (X r a) r) r) | |
| 132 | - (hX0 : ∀ a, X 0 a = a) (hXt : Continuous (X t)) | |
| 133 | - (hXY : ∀ x, X t (Y x) = x) | |
| 134 | - (hc : HasCompactSupport (vectorCurl u₀)) : | |
| 135 | - HasCompactSupport (vectorCurl (v · t)) := | |
| 136 | - (hc.image hXt).of_isClosed_subset (isClosed_tsupport _) | |
| 137 | - (h.vorticity_tsupport_subset_flow_image X Y T t ht hX hXd hX0 hXt hXY hc) | |
| 138 | - | |
| 139 | - | |
| 140 | -/-- On a compact time interval all vorticity supports lie in one compact set: | |
| 141 | -the image of the compact initial support swept out by the particle flow. -/ | |
| 142 | -theorem vorticity_uniformCompactSupport_of_flow | |
| 143 | - (X Y : ℝ → Space → Space) (T : ℝ) | |
| 144 | - (hX : ContinuousOn (Function.uncurry X) (Icc 0 T ×ˢ (univ : Set Space))) | |
| 145 | - (hXd : ∀ a r, r ∈ Ioo 0 T → HasDerivAt (fun s => X s a) (v (X r a) r) r) | |
| 146 | - (hX0 : ∀ a, X 0 a = a) | |
| 147 | - (hXY : ∀ t ∈ Icc 0 T, ∀ x, X t (Y t x) = x) | |
| 148 | - (hc : HasCompactSupport (vectorCurl u₀)) : | |
| 149 | - ∃ K : Set Space, IsCompact K ∧ | |
| 150 | - ∀ t ∈ Icc 0 T, tsupport (vectorCurl (v · t)) ⊆ K := by | |
| 151 | - refine ⟨Function.uncurry X '' (Icc 0 T ×ˢ tsupport (vectorCurl u₀)), | |
| 152 | - (isCompact_Icc.prod hc).image_of_continuousOn | |
| 153 | - (hX.mono (by intro z hz; exact ⟨hz.1, mem_univ _⟩)), ?_⟩ | |
| 154 | - intro t ht x hx | |
| 155 | - have htcont : ∀ a, ContinuousOn (fun r => X r a) (Icc 0 T) := by | |
| 156 | - intro a | |
| 157 | - exact hX.comp (continuousOn_id.prodMk continuousOn_const) | |
| 158 | - (fun r hr => ⟨hr, mem_univ _⟩) | |
| 159 | - have hxcont : Continuous (X t) := | |
| 160 | - hX.comp_continuous (continuous_const.prodMk continuous_id) | |
| 161 | - (fun a => ⟨ht, mem_univ a⟩) | |
| 162 | - obtain ⟨a, ha, hax⟩ := h.vorticity_tsupport_subset_flow_image | |
| 163 | - X (Y t) T t ht htcont hXd hX0 hxcont (hXY t ht) hc hx | |
| 164 | - exact ⟨(t, a), ⟨ht, ha⟩, hax⟩ | |
| 165 | 105 | |
| 166 | 106 | end Euler.EulerExistenceAndSmoothnessR3 |
+0 −5 Euler/SmallCorrectionBudget.lean View file
| @@ -118,9 +118,4 @@ def budget (hdiv : ∀ t, G.path t ∈ divergenceFreeSpace P 1 (0 : Space)) : | ||
| 118 | 118 | radius_eq _ _ _ := rfl |
| 119 | 119 | divergence t := (divergenceFreeSpace P 1 (0 : Space)).smul_mem S.value (hdiv t) |
| 120 | 120 | |
| 121 | -/-- No scalar guard is required of the input: the amplitude is explicitly | |
| 122 | -chosen from its finite actual Gevrey constants. -/ | |
| 123 | -def smallBudget (hdiv : ∀ t, G.path t ∈ divergenceFreeSpace P 1 (0 : Space)) := | |
| 124 | - budget G hG hC hR (scale P C R (residualCost P C R) hC hR (residualCost_pos P C R hR)) hdiv | |
| 125 | - | |
| 126 | 121 | end EulerSmallCorrection |
+0 −61 Euler/StageDisplacementBound.lean View file
| @@ -22,15 +22,6 @@ open Finset Set | ||
| 22 | 22 | |
| 23 | 23 | variable {E : Type*} [NormedAddCommGroup E] |
| 24 | 24 | |
| 25 | -theorem displacement_comp_le (X Y : E → E) {M δ : ℝ} | |
| 26 | - (hX : ∀ x, ‖X x - x‖ ≤ M) (hY : ∀ x, ‖Y x - x‖ ≤ δ) (x : E) : | |
| 27 | - ‖X (Y x) - x‖ ≤ M + δ := by | |
| 28 | - calc | |
| 29 | - ‖X (Y x) - x‖ = ‖(X (Y x) - Y x) + (Y x - x)‖ := by | |
| 30 | - rw [sub_add_sub_cancel] | |
| 31 | - _ ≤ ‖X (Y x) - Y x‖ + ‖Y x - x‖ := norm_add_le _ _ | |
| 32 | - _ ≤ M + δ := add_le_add (hX _) (hY _) | |
| 33 | - | |
| 34 | 25 | omit [NormedAddCommGroup E] in |
| 35 | 26 | /-- A transported quantity that starts supported in `K` remains supported in |
| 36 | 27 | the region containing its transported labels. Only preservation of zero is |
| @@ -59,56 +50,4 @@ variable {Time : Type*} (H : ℕ → Time → Prop) | ||
| 59 | 50 | (hstep : ∀ n t, H (n + 1) t → ∀ x, X (n + 1) t x = X n t (Y n t x)) |
| 60 | 51 | (hsmall : ∀ n t, H (n + 1) t → ∀ x, ‖Y n t x - x‖ ≤ δ n) |
| 61 | 52 | |
| 62 | -include hbase hnest hstep hsmall in | |
| 63 | -theorem stage_displacement_le_partial_sum (n : ℕ) (t : Time) (ht : H n t) (x : E) : | |
| 64 | - ‖X n t x - x‖ ≤ M + ∑ i ∈ range n, δ i := by | |
| 65 | - induction n generalizing x with | |
| 66 | - | zero => simpa using hbase t ht x | |
| 67 | - | succ n ih => | |
| 68 | - rw [hstep n t ht, sum_range_succ, ← add_assoc] | |
| 69 | - exact displacement_comp_le (X n t) (Y n t) | |
| 70 | - (fun y => ih (hnest n t ht) y) (hsmall n t ht) x | |
| 71 | - | |
| 72 | -include hbase hnest hstep hsmall in | |
| 73 | -theorem stage_displacement_le_of_partial_sums {C : ℝ} | |
| 74 | - (hC : ∀ n, ∑ i ∈ range n, δ i ≤ C) | |
| 75 | - (n : ℕ) (t : Time) (ht : H n t) (x : E) : | |
| 76 | - ‖X n t x - x‖ ≤ M + C := by | |
| 77 | - exact (stage_displacement_le_partial_sum H X Y M δ hbase hnest hstep hsmall n t ht x).trans | |
| 78 | - (add_le_add le_rfl (hC n)) | |
| 79 | - | |
| 80 | -include hbase hnest hstep hsmall in | |
| 81 | -theorem stage_mapsTo_closedBall_of_partial_sums {C : ℝ} | |
| 82 | - (hC : ∀ n, ∑ i ∈ range n, δ i ≤ C) | |
| 83 | - (R : ℝ) (n : ℕ) (t : Time) (ht : H n t) : | |
| 84 | - MapsTo (X n t) (Metric.closedBall 0 R) (Metric.closedBall 0 (R + M + C)) := by | |
| 85 | - intro x hx | |
| 86 | - rw [Metric.mem_closedBall, dist_zero_right] at hx ⊢ | |
| 87 | - calc | |
| 88 | - ‖X n t x‖ = ‖x + (X n t x - x)‖ := by rw [add_comm x, sub_add_cancel] | |
| 89 | - _ ≤ ‖x‖ + ‖X n t x - x‖ := norm_add_le _ _ | |
| 90 | - _ ≤ R + (M + C) := add_le_add hx | |
| 91 | - (stage_displacement_le_of_partial_sums H X Y M δ hbase hnest hstep hsmall hC n t ht x) | |
| 92 | - _ = R + M + C := (add_assoc _ _ _).symm | |
| 93 | - | |
| 94 | -include hbase hnest hstep hsmall in | |
| 95 | -theorem stage_displacement_le_tsum (hδ : Summable δ) (hδ0 : ∀ n, 0 ≤ δ n) | |
| 96 | - (n : ℕ) (t : Time) (ht : H n t) (x : E) : | |
| 97 | - ‖X n t x - x‖ ≤ M + ∑' i, δ i := by | |
| 98 | - exact (stage_displacement_le_partial_sum H X Y M δ hbase hnest hstep hsmall n t ht x).trans | |
| 99 | - (add_le_add le_rfl (hδ.sum_le_tsum (range n) (fun i _ => hδ0 i))) | |
| 100 | - | |
| 101 | -include hbase hnest hstep hsmall in | |
| 102 | -theorem stage_mapsTo_closedBall (hδ : Summable δ) (hδ0 : ∀ n, 0 ≤ δ n) | |
| 103 | - (R : ℝ) (n : ℕ) (t : Time) (ht : H n t) : | |
| 104 | - MapsTo (X n t) (Metric.closedBall 0 R) (Metric.closedBall 0 (R + M + ∑' i, δ i)) := by | |
| 105 | - intro x hx | |
| 106 | - rw [Metric.mem_closedBall, dist_zero_right] at hx ⊢ | |
| 107 | - calc | |
| 108 | - ‖X n t x‖ = ‖x + (X n t x - x)‖ := by rw [add_comm x, sub_add_cancel] | |
| 109 | - _ ≤ ‖x‖ + ‖X n t x - x‖ := norm_add_le _ _ | |
| 110 | - _ ≤ R + (M + ∑' i, δ i) := add_le_add hx | |
| 111 | - (stage_displacement_le_tsum H X Y M δ hbase hnest hstep hsmall hδ hδ0 n t ht x) | |
| 112 | - _ = R + M + ∑' i, δ i := (add_assoc _ _ _).symm | |
| 113 | - | |
| 114 | 53 | end Euler.ComparatorBridge |
+0 −9 Euler/StageInitialSupport.lean View file
| @@ -55,11 +55,6 @@ theorem stages_initial_support (n : ℕ) : | ||
| 55 | 55 | | zero => exact S.firstStage_initial_support |
| 56 | 56 | | succ n ih => exact (stages S hq hB n).successor_initial_support hq hB ih |
| 57 | 57 | |
| 58 | -theorem stages_initial_derivatives_support (n m : ℕ) : | |
| 59 | - tsupport (iteratedFDeriv ℝ m (fun x => (stages S hq hB n).state.evolution.velocity (0,x))) ⊆ | |
| 60 | - Metric.closedBall 0 2 := | |
| 61 | - (tsupport_iteratedFDeriv_subset m).trans (stages_initial_support S hq hB n) | |
| 62 | - | |
| 63 | 58 | theorem stages_initial_curl_support (n : ℕ) : |
| 64 | 59 | tsupport (vectorCurl (fun x => (stages S hq hB n).state.evolution.velocity (0,x))) ⊆ |
| 65 | 60 | Metric.closedBall 0 2 := by |
| @@ -67,10 +62,6 @@ theorem stages_initial_curl_support (n : ℕ) : | ||
| 67 | 62 | exact ((stages S hq hB n).state.evolution.velocity_smooth |
| 68 | 63 | (stages S hq hB n).parent.zeroTime).differentiable (by simp) |
| 69 | 64 | |
| 70 | -theorem packets_initial_support (n : ℕ) : | |
| 71 | - tsupport (fun x => (packets n).state.evolution.velocity (0,x)) ⊆ Metric.closedBall 0 2 := | |
| 72 | - stages_initial_support constructionScales le_rfl le_rfl n | |
| 73 | - | |
| 74 | 65 | theorem packets_initial_curl_support (n : ℕ) : |
| 75 | 66 | tsupport (vectorCurl (fun x => (packets n).state.evolution.velocity (0,x))) ⊆ |
| 76 | 67 | Metric.closedBall 0 2 := |
+0 −3 Euler/StaticEulerCorrection.lean View file
| @@ -37,9 +37,6 @@ def amplitude (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : ℝ := (scales P C R h | ||
| 37 | 37 | theorem amplitude_pos (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : 0 < amplitude P C R hC hR := |
| 38 | 38 | (scales P C R hC hR).positive |
| 39 | 39 | |
| 40 | -theorem amplitude_le_one (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : amplitude P C R hC hR ≤ 1 := | |
| 41 | - (scales P C R hC hR).one | |
| 42 | - | |
| 43 | 40 | variable (u : SmoothL2Field Space) (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) |
| 44 | 41 | (hu : u.HasJetBound C R) (hdiv : ∀ x, divergence u.field x=0) |
| 45 | 42 | |
+0 −29 Euler/StaticEulerGevrey.lean View file
| @@ -147,35 +147,6 @@ theorem velocityCoefficient_bound (n : ℕ) : | ||
| 147 | 147 | (mul_le_mul_of_nonneg_right (graphCost_embedding P R hR) hV) |
| 148 | 148 | (by have hc := coverRadius_nonneg R hR; unfold outputRadius; linarith) n |
| 149 | 149 | |
| 150 | -theorem derivativeCoefficient_bound (n : ℕ) : | |
| 151 | - ‖(derivativeCoefficient P u C R hC hR hu hdiv).jet n‖ ≤ | |
| 152 | - outputDerivativeSize P C R hC hR*(outputRadius R)^n*(n.factorial : ℝ)^2 := by | |
| 153 | - have he := (amplitude_pos P C R hC hR).le | |
| 154 | - have hT := staticTimeCost_nonneg P R hR | |
| 155 | - have hunit := ((correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower P).zeroGraphCoefficient_bound | |
| 156 | - (retainedRadius R) (amplitude P C R hC hR*staticTimeCost P R) | |
| 157 | - (retainedRadius_pos R hR) (mul_nonneg he hT) (time_weighted P u C R hC hR hu hdiv) n | |
| 158 | - rw [← SmoothTimeField.jet_eq_of_field_eq _ _ (unitDerivativeCoefficient_graph P u C R hC hR hu hdiv) n] at hunit | |
| 159 | - have h := (EulerTimeRescaling.derivativeCoefficient_jet_norm (amplitude P C R hC hR) | |
| 160 | - (amplitude_pos P C R hC hR) (unitDerivativeCoefficient P u C R hC hR hu hdiv) n).trans | |
| 161 | - (mul_le_mul_of_nonneg_left hunit (sq_nonneg _)) | |
| 162 | - have hi : (amplitude P C R hC hR)⁻¹*amplitude P C R hC hR=1 := | |
| 163 | - inv_mul_cancel₀ (amplitude_pos P C R hC hR).ne' | |
| 164 | - apply h.trans | |
| 165 | - calc | |
| 166 | - _ = ((amplitude P C R hC hR)⁻¹*sobolevEmbeddingConstant P 3*staticTimeCost P R)* | |
| 167 | - (coverRadius R)^n*(n.factorial : ℝ)^2 := by | |
| 168 | - unfold coverRadius | |
| 169 | - calc | |
| 170 | - _ = ((amplitude P C R hC hR)⁻¹*amplitude P C R hC hR)* | |
| 171 | - (((amplitude P C R hC hR)⁻¹*sobolevEmbeddingConstant P 3*staticTimeCost P R)* | |
| 172 | - (‖coordinateEquiv.symm.toContinuousLinearMap‖*(retainedRadius R)⁻¹)^n*(n.factorial : ℝ)^2) := by ring | |
| 173 | - _ = _ := by rw [hi,one_mul] | |
| 174 | - _ ≤ _ := jet_mono (outputDerivativeSize_nonneg P C R hC hR) (coverRadius_nonneg R hR) | |
| 175 | - (mul_le_mul_of_nonneg_right | |
| 176 | - (mul_le_mul_of_nonneg_left (graphCost_embedding P R hR) (inv_nonneg.mpr he)) hT) | |
| 177 | - (by have hc := coverRadius_nonneg R hR; unfold outputRadius; linarith) n | |
| 178 | - | |
| 179 | 150 | theorem localField_bound (t : Icc (0 : ℝ) (amplitude P C R hC hR)) : |
| 180 | 151 | (localField P u C R hC hR hu hdiv t).HasJetBound (outputVelocitySize P C R) (outputRadius R) := by |
| 181 | 152 | have hV : 0 ≤ 2*mixedAmplitude P C R+baseErrorFactor := |
+0 −50 Euler/StaticEulerParity.lean View file
| @@ -44,60 +44,10 @@ theorem unit_velocity_odd (t : ℝ) (x : Space) : | ||
| 44 | 44 | simpa only [Prod.neg_mk,neg_zero,EulerConstantEuler.velocity,ExactLiftedPacket.rawVelocity, |
| 45 | 45 | FieldTower.rawField,coveringMap,AddCircle.coe_zero] using h |
| 46 | 46 | |
| 47 | -omit hodd in | |
| 48 | -theorem unit_pressure_point (t : Icc (0 : ℝ) 1) (x : LiftDomain P) : | |
| 49 | - (exactPacket P u C R hC hR hu hdiv).pressure.pointField t x = | |
| 50 | - (correctionBudget P u C R hC hR hu hdiv).pointPressure P t x := by | |
| 51 | - erw [exactPacket,exactPacketOfResidual_pressure_pointField] | |
| 52 | - have hz : (Field.zero P 1).toFieldTower.pointField t x=0 := by | |
| 53 | - change EulerSobolevPointEvaluation.pointEvaluation P x | |
| 54 | - ((Field.zero P 1).toFieldTower.realization 3 t)=0 | |
| 55 | - rw [EulerSmallCorrection.zero_tower,map_zero] | |
| 56 | - change (Field.zero P 1).toFieldTower.pointField t x+_=_ | |
| 57 | - rw [hz,zero_add] | |
| 58 | - | |
| 59 | -theorem unit_force_odd (t : ℝ) (x : Space) : | |
| 60 | - EulerConstantEuler.force (exactPacket P u C R hC hR hu hdiv) (t,-x) = | |
| 61 | - -EulerConstantEuler.force (exactPacket P u C R hC hR hu hdiv) (t,x) := by | |
| 62 | - change (exactPacket P u C R hC hR hu hdiv).pressure.pointField | |
| 63 | - (projIcc 0 1 zero_le_one t) (-x,0) = | |
| 64 | - -(exactPacket P u C R hC hR hu hdiv).pressure.pointField (projIcc 0 1 zero_le_one t) (x,0) | |
| 65 | - rw [unit_pressure_point,unit_pressure_point] | |
| 66 | - have h := (correctionBudget P u C R hC hR hu hdiv).pointPressure_odd P | |
| 67 | - (symmetry P u C R hC hR hodd) (projIcc 0 1 zero_le_one t) (x,0) | |
| 68 | - simpa only [Prod.neg_mk,neg_zero] using h | |
| 69 | - | |
| 70 | -theorem unit_pressure_even (t : ℝ) (x : Space) : | |
| 71 | - EulerConstantEuler.pressure (exactPacket P u C R hC hR hu hdiv) (t,-x) = | |
| 72 | - EulerConstantEuler.pressure (exactPacket P u C R hC hR hu hdiv) (t,x) := by | |
| 73 | - have h := radialPotential_even | |
| 74 | - (fun y => EulerConstantEuler.force (exactPacket P u C R hC hR hu hdiv) (t,y)) | |
| 75 | - (unit_force_odd P u C R hC hR hu hdiv hodd t) x | |
| 76 | - change radialPotential ((exactPacket P u C R hC hR hu hdiv).graphPressure 1 | |
| 77 | - (projIcc 0 1 zero_le_one t)) (-x) = | |
| 78 | - radialPotential ((exactPacket P u C R hC hR hu hdiv).graphPressure 1 | |
| 79 | - (projIcc 0 1 zero_le_one t)) x | |
| 80 | - have he : (exactPacket P u C R hC hR hu hdiv).graphPressure 1 | |
| 81 | - (projIcc 0 1 zero_le_one t) = | |
| 82 | - fun y => EulerConstantEuler.force (exactPacket P u C R hC hR hu hdiv) (t,y) := by | |
| 83 | - funext y | |
| 84 | - simp only [ExactLiftedPacket.graphPressure,EulerConstantEuler.force, | |
| 85 | - ExactLiftedPacket.rawPressure,FieldTower.rawField,cylinderGraph,coveringMap, | |
| 86 | - inputData,EulerSmallCorrection.input,EulerConstantCorrection.data, | |
| 87 | - one_smul,inner_zero_left,mul_zero] | |
| 88 | - rw [he] | |
| 89 | - exact h | |
| 90 | - | |
| 91 | 47 | theorem localVelocity_odd (t : ℝ) (x : Space) : |
| 92 | 48 | localVelocity P u C R hC hR hu hdiv (t,-x)= -localVelocity P u C R hC hR hu hdiv (t,x) := by |
| 93 | 49 | unfold localVelocity EulerTimeRescaling.velocity |
| 94 | 50 | rw [EulerTimeRescaling.coordinates_apply,EulerTimeRescaling.coordinates_apply, |
| 95 | 51 | unit_velocity_odd P u C R hC hR hu hdiv hodd,smul_neg] |
| 96 | 52 | |
| 97 | -theorem localPressure_even (t : ℝ) (x : Space) : | |
| 98 | - localPressure P u C R hC hR hu hdiv (t,-x)=localPressure P u C R hC hR hu hdiv (t,x) := by | |
| 99 | - unfold localPressure EulerTimeRescaling.pressure | |
| 100 | - rw [EulerTimeRescaling.coordinates_apply,EulerTimeRescaling.coordinates_apply, | |
| 101 | - unit_pressure_even P u C R hC hR hu hdiv hodd] | |
| 102 | - | |
| 103 | 53 | end EulerStaticEuler |
+0 −25 Euler/StaticEulerRegularity.lean View file
| @@ -28,29 +28,4 @@ theorem velocityCoefficient_apply (t : Icc (0 : ℝ) (amplitude P C R hC hR)) (x | ||
| 28 | 28 | (exactPacket P u C R hC hR hu hdiv) ((amplitude P C R hC hR)⁻¹*(t : ℝ),x) |
| 29 | 29 | rw [div_eq_mul_inv,mul_comm (t : ℝ)] |
| 30 | 30 | |
| 31 | -theorem forceCoefficient_apply (t : Icc (0 : ℝ) (amplitude P C R hC hR)) (x : Space) : | |
| 32 | - (forceCoefficient P u C R hC hR hu hdiv).field t x = | |
| 33 | - localForce P u C R hC hR hu hdiv (t,x) := by | |
| 34 | - change ((amplitude P C R hC hR)⁻¹)^2 • | |
| 35 | - (unitForceCoefficient P u C R hC hR hu hdiv).field | |
| 36 | - (EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR) t) x = _ | |
| 37 | - rw [unitForceCoefficient_apply] | |
| 38 | - change ((amplitude P C R hC hR)⁻¹)^2 • EulerConstantEuler.force | |
| 39 | - (exactPacket P u C R hC hR hu hdiv) ((t : ℝ)/amplitude P C R hC hR,x) = | |
| 40 | - ((amplitude P C R hC hR)⁻¹)^2 • EulerConstantEuler.force | |
| 41 | - (exactPacket P u C R hC hR hu hdiv) ((amplitude P C R hC hR)⁻¹*(t : ℝ),x) | |
| 42 | - rw [div_eq_mul_inv,mul_comm (t : ℝ)] | |
| 43 | - | |
| 44 | -theorem localVelocity_hasDerivWithinAt | |
| 45 | - (t : Icc (0 : ℝ) (amplitude P C R hC hR)) (x : Space) : | |
| 46 | - HasDerivWithinAt (fun s => localVelocity P u C R hC hR hu hdiv (s,x)) | |
| 47 | - ((derivativeCoefficient P u C R hC hR hu hdiv).field t x) | |
| 48 | - (Icc (0 : ℝ) (amplitude P C R hC hR)) t := by | |
| 49 | - have hd := coefficient_time P u C R hC hR hu hdiv t x | |
| 50 | - apply hd.congr_of_mem _ t.property | |
| 51 | - intro s hs | |
| 52 | - have he := velocityCoefficient_apply P u C R hC hR hu hdiv ⟨s,hs⟩ x | |
| 53 | - simpa only [SmoothTimeField.realField,extendPath,projIcc_of_mem (amplitude_pos P C R hC hR).le hs] | |
| 54 | - using he.symm | |
| 55 | - | |
| 56 | 31 | end EulerStaticEuler |
+0 −29 Euler/StaticEulerSolution.lean View file
| @@ -89,22 +89,6 @@ theorem localVelocity_divergence (t : ℝ) (x : Space) : | ||
| 89 | 89 | ← divergence_eq_coordinate_sum] |
| 90 | 90 | erw [EulerConstantEuler.velocity_divergence,mul_zero] |
| 91 | 91 | |
| 92 | -theorem localVelocity_joint_continuous : Continuous (localVelocity P u C R hC hR hu hdiv) := by | |
| 93 | - change Continuous (fun q => (amplitude P C R hC hR)⁻¹ • | |
| 94 | - EulerConstantEuler.velocity (exactPacket P u C R hC hR hu hdiv) | |
| 95 | - (EulerTimeRescaling.coordinates (amplitude P C R hC hR) q)) | |
| 96 | - exact ((EulerConstantEuler.velocity_joint_continuous (exactPacket P u C R hC hR hu hdiv)).comp | |
| 97 | - (EulerTimeRescaling.coordinates (E := Space) (amplitude P C R hC hR)).continuous).const_smul | |
| 98 | - ((amplitude P C R hC hR)⁻¹) | |
| 99 | - | |
| 100 | -theorem localPressure_joint_continuous : Continuous (localPressure P u C R hC hR hu hdiv) := by | |
| 101 | - change Continuous (fun q => ((amplitude P C R hC hR)⁻¹)^2 • | |
| 102 | - EulerConstantEuler.pressure (exactPacket P u C R hC hR hu hdiv) | |
| 103 | - (EulerTimeRescaling.coordinates (amplitude P C R hC hR) q)) | |
| 104 | - exact ((EulerConstantEuler.pressure_joint_continuous (exactPacket P u C R hC hR hu hdiv)).comp | |
| 105 | - (EulerTimeRescaling.coordinates (E := Space) (amplitude P C R hC hR)).continuous).const_smul | |
| 106 | - (((amplitude P C R hC hR)⁻¹)^2) | |
| 107 | - | |
| 108 | 92 | theorem localForce_joint_continuous : Continuous (localForce P u C R hC hR hu hdiv) := by |
| 109 | 93 | change Continuous (fun q => ((amplitude P C R hC hR)⁻¹)^2 • |
| 110 | 94 | EulerConstantEuler.force (exactPacket P u C R hC hR hu hdiv) |
| @@ -128,11 +112,6 @@ theorem localPressure_smooth (t : ℝ) : | ||
| 128 | 112 | EulerConstantEuler.pressure (exactPacket P u C R hC hR hu hdiv) ((amplitude P C R hC hR)⁻¹*t,x)) |
| 129 | 113 | exact (EulerConstantEuler.pressure_smooth (exactPacket P u C R hC hR hu hdiv) _).const_smul _ |
| 130 | 114 | |
| 131 | -theorem localPressure_zero (t : ℝ) : localPressure P u C R hC hR hu hdiv (t,0)=0 := by | |
| 132 | - change ((amplitude P C R hC hR)⁻¹)^2 * | |
| 133 | - EulerConstantEuler.pressure (exactPacket P u C R hC hR hu hdiv) (_,0)=0 | |
| 134 | - erw [EulerConstantEuler.pressure_zero,mul_zero] | |
| 135 | - | |
| 136 | 115 | def localField (t : Icc (0 : ℝ) (amplitude P C R hC hR)) : SmoothL2Field Space := |
| 137 | 116 | SmoothL2Field.mapField ((amplitude P C R hC hR)⁻¹ • ContinuousLinearMap.id ℝ Space) |
| 138 | 117 | (EulerConstantEuler.field (exactPacket P u C R hC hR hu hdiv) |
| @@ -155,12 +134,4 @@ theorem localField_jetLp_continuous (n : ℕ) : | ||
| 155 | 134 | (fun n => (EulerConstantEuler.field_jetLp_continuous (exactPacket P u C R hC hR hu hdiv) n).comp |
| 156 | 135 | (EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR)).continuous) n |
| 157 | 136 | |
| 158 | -theorem localVelocity_smooth (t : Icc (0 : ℝ) (amplitude P C R hC hR)) : | |
| 159 | - ContDiff ℝ ∞ (fun x => localVelocity P u C R hC hR hu hdiv (t,x)) := by | |
| 160 | - have he : (localField P u C R hC hR hu hdiv t).field = | |
| 161 | - fun x => localVelocity P u C R hC hR hu hdiv (t,x) := | |
| 162 | - funext (localField_apply P u C R hC hR hu hdiv t) | |
| 163 | - rw [← he] | |
| 164 | - exact (localField P u C R hC hR hu hdiv t).smooth | |
| 165 | - | |
| 166 | 137 | end EulerStaticEuler |
+0 −15 Euler/StaticEulerTime.lean View file
| @@ -30,10 +30,6 @@ def unitDerivativeCoefficient : SmoothTimeField (Icc (0 : ℝ) 1) Space Space := | ||
| 30 | 30 | ((Field.zero P 1).smul (amplitude P C R hC hR))).precompLinear |
| 31 | 31 | (ContinuousLinearMap.inl ℝ Space ℝ) |
| 32 | 32 | |
| 33 | -def unitForceCoefficient : SmoothTimeField (Icc (0 : ℝ) 1) Space Space := | |
| 34 | - (exactPacket P u C R hC hR hu hdiv).pressure.toSmoothTimeField.precompLinear | |
| 35 | - (ContinuousLinearMap.inl ℝ Space ℝ) | |
| 36 | - | |
| 37 | 33 | theorem unitCoefficient_time : |
| 38 | 34 | SmoothTimeField.TimeDerivative 1 zero_le_one |
| 39 | 35 | (unitVelocityCoefficient P u C R hC hR hu hdiv) |
| @@ -56,13 +52,6 @@ theorem unitVelocityCoefficient_apply (t : Icc (0 : ℝ) 1) (x : Space) : | ||
| 56 | 52 | rw [projIcc_of_mem zero_le_one t.property] |
| 57 | 53 | exact h |
| 58 | 54 | |
| 59 | -theorem unitForceCoefficient_apply (t : Icc (0 : ℝ) 1) (x : Space) : | |
| 60 | - (unitForceCoefficient P u C R hC hR hu hdiv).field t x = | |
| 61 | - EulerConstantEuler.force (exactPacket P u C R hC hR hu hdiv) (t,x) := by | |
| 62 | - simp only [unitForceCoefficient,SmoothTimeField.precompLinear_apply,inl_apply, | |
| 63 | - FieldTower.toSmoothTimeField_apply,EulerConstantEuler.force,ExactLiftedPacket.rawPressure, | |
| 64 | - FieldTower.rawField,projIcc_of_mem zero_le_one t.property] | |
| 65 | - | |
| 66 | 55 | def velocityCoefficient : SmoothTimeField (Icc (0 : ℝ) (amplitude P C R hC hR)) Space Space := |
| 67 | 56 | EulerTimeRescaling.coefficient (amplitude P C R hC hR) (amplitude_pos P C R hC hR) |
| 68 | 57 | (unitVelocityCoefficient P u C R hC hR hu hdiv) |
| @@ -71,10 +60,6 @@ def derivativeCoefficient : SmoothTimeField (Icc (0 : ℝ) (amplitude P C R hC h | ||
| 71 | 60 | EulerTimeRescaling.derivativeCoefficient (amplitude P C R hC hR) (amplitude_pos P C R hC hR) |
| 72 | 61 | (unitDerivativeCoefficient P u C R hC hR hu hdiv) |
| 73 | 62 | |
| 74 | -def forceCoefficient : SmoothTimeField (Icc (0 : ℝ) (amplitude P C R hC hR)) Space Space := | |
| 75 | - EulerTimeRescaling.derivativeCoefficient (amplitude P C R hC hR) (amplitude_pos P C R hC hR) | |
| 76 | - (unitForceCoefficient P u C R hC hR hu hdiv) | |
| 77 | - | |
| 78 | 63 | theorem coefficient_time : |
| 79 | 64 | SmoothTimeField.TimeDerivative (amplitude P C R hC hR) (amplitude_pos P C R hC hR).le |
| 80 | 65 | (velocityCoefficient P u C R hC hR hu hdiv) (derivativeCoefficient P u C R hC hR hu hdiv) := |
+0 −20 Euler/StaticEulerWeightedBounds.lean View file
| @@ -41,8 +41,6 @@ def staticSourceCost (R : ℝ) : ℝ := | ||
| 41 | 41 | |
| 42 | 42 | def staticTimeCost (R : ℝ) : ℝ := (1+2*pressureBound*(448*1+1))*staticSourceCost P R |
| 43 | 43 | |
| 44 | -def staticPressureCost (R : ℝ) : ℝ := 2*pressureBound*staticSourceCost P R | |
| 45 | - | |
| 46 | 44 | theorem staticSourceCost_nonneg (R : ℝ) (hR : 0 ≤ R) : 0 ≤ staticSourceCost P R := |
| 47 | 45 | sourceBound_nonneg P zero_le_one zero_le_one le_rfl le_rfl zero_le_one baseErrorFactor_nonneg |
| 48 | 46 | (mul_nonneg (div_nonneg (by norm_num) |
| @@ -54,12 +52,6 @@ theorem staticTimeCost_nonneg (R : ℝ) (hR : 0 ≤ R) : 0 ≤ staticTimeCost P | ||
| 54 | 52 | unfold staticTimeCost |
| 55 | 53 | positivity |
| 56 | 54 | |
| 57 | -theorem staticPressureCost_nonneg (R : ℝ) (hR : 0 ≤ R) : 0 ≤ staticPressureCost P R := by | |
| 58 | - have hS := staticSourceCost_nonneg P R hR | |
| 59 | - have hP := zero_le_one.trans pressureBound_one_le | |
| 60 | - unfold staticPressureCost | |
| 61 | - positivity | |
| 62 | - | |
| 63 | 55 | variable (u : SmoothL2Field Space) (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) |
| 64 | 56 | (hu : u.HasJetBound C R) (hdiv : ∀ x, divergence u.field x=0) |
| 65 | 57 | |
| @@ -69,9 +61,6 @@ theorem budget_retainedRadius : | ||
| 69 | 61 | theorem budget_staticTimeCost (q : ℕ) (hq : 6 ≤ q) : |
| 70 | 62 | (correctionBudget P u C R hC hR hu hdiv).timeDerivativeCost P q hq=staticTimeCost P R := rfl |
| 71 | 63 | |
| 72 | -theorem budget_staticPressureCost (q : ℕ) (hq : 6 ≤ q) : | |
| 73 | - (correctionBudget P u C R hC hR hu hdiv).pressureCost P q hq=staticPressureCost P R := rfl | |
| 74 | - | |
| 75 | 64 | theorem correction_weighted (n : ℕ) (t : Icc (0 : ℝ) 1) : |
| 76 | 65 | weightedNorm P 6 n (retainedRadius R) |
| 77 | 66 | (((correctionBudget P u C R hC hR hu hdiv).fieldTower P).realization (n+6) t) ≤ |
| @@ -105,13 +94,4 @@ theorem time_weighted (n : ℕ) (t : Icc (0 : ℝ) 1) : | ||
| 105 | 94 | rw [budget_retainedRadius,budget_staticTimeCost] at h |
| 106 | 95 | exact h.trans_eq (mul_comm _ _) |
| 107 | 96 | |
| 108 | -theorem pressure_weighted (n : ℕ) (t : Icc (0 : ℝ) 1) : | |
| 109 | - weightedNorm P 6 n (retainedRadius R) | |
| 110 | - (((correctionBudget P u C R hC hR hu hdiv).pressureTower P).realization (n+6) t) ≤ | |
| 111 | - amplitude P C R hC hR*staticPressureCost P R := by | |
| 112 | - have h := (correctionBudget P u C R hC hR hu hdiv).pressureTower_reducedNorm_delta | |
| 113 | - P (n+6) (by omega) n (by omega) (n+6) le_rfl t | |
| 114 | - rw [budget_retainedRadius,budget_staticPressureCost] at h | |
| 115 | - exact h.trans_eq (mul_comm _ _) | |
| 116 | - | |
| 117 | 97 | end EulerStaticEuler |
+0 −9 Euler/TruncatedBackwardFlow.lean View file
| @@ -141,15 +141,6 @@ theorem endpointPath_hasDerivAt (a : E) (r : ℝ) (hr : r ∈ Ioo 0 T) : | ||
| 141 | 141 | simpa only [Function.comp_def, zero_sub, neg_smul, one_smul, hv, |
| 142 | 142 | neg_neg, endpointPath] using hd |
| 143 | 143 | |
| 144 | -/-- The same derivative with the original subtype-indexed coefficient. -/ | |
| 145 | -theorem endpointPath_hasDerivAt_field (a : E) (r : ℝ) (hr : r ∈ Ioo 0 T) : | |
| 146 | - HasDerivAt (endpointPath A T hT hT1 a) | |
| 147 | - (A.field ⟨r, hr.1.le, hr.2.le.trans hT1⟩ | |
| 148 | - (endpointPath A T hT hT1 a r)) r := by | |
| 149 | - simpa only [SmoothTimeField.realField, EulerVolterraConvolution.extendPath, | |
| 150 | - projIcc_of_mem zero_le_one ⟨hr.1.le, hr.2.le.trans hT1⟩] using | |
| 151 | - endpointPath_hasDerivAt A T hT hT1 a r hr | |
| 152 | - | |
| 153 | 144 | omit [FiniteDimensional ℝ E] in |
| 154 | 145 | theorem reverseField_divergence |
| 155 | 146 | (hdiv : ∀ t x, LinearMap.trace ℝ E (fderiv ℝ (A.field t : E → E) x).toLinearMap = 0) |
+0 −7 Euler/TruncationFamilySmooth.lean View file
| @@ -100,12 +100,5 @@ def sqrtTimeMap (T : ℝ) : C(Icc (0 : ℝ) T, Icc (0 : ℝ) (Real.sqrt T)) wher | ||
| 100 | 100 | @[simp] theorem sqrtTimeMap_apply (T : ℝ) (t : Icc (0 : ℝ) T) : |
| 101 | 101 | (sqrtTimeMap T t : ℝ) = Real.sqrt t := rfl |
| 102 | 102 | |
| 103 | -/-- Continuous square-root reparametrization recovers the exact original family. -/ | |
| 104 | -theorem potentialTruncation_square_sqrt (v : Space × ℝ → Space) | |
| 105 | - (χ : Space → ℝ) (x : Space) {t : ℝ} (ht : 0 ≤ t) : | |
| 106 | - potentialTruncation (fun y => v (y, (Real.sqrt t) ^ 2)) χ x = | |
| 107 | - potentialTruncation (fun y => v (y, t)) χ x := by | |
| 108 | - rw [Real.sq_sqrt ht] | |
| 109 | - | |
| 110 | 103 | |
| 111 | 104 | end Euler.ComparatorBridge |
+0 −28 Euler/WeakHilbertODE.lean View file
| @@ -74,18 +74,6 @@ theorem lipschitzOnWith_of_dense_scalar_derivative | ||
| 74 | 74 | have hb := (lipschitzOnWith_iff_norm_sub_le.mp (hscalar φ hφ)) ht hs |
| 75 | 75 | simpa only [inner_sub_right, NNReal.coe_mul, coe_nnnorm, mul_right_comm] using hb |
| 76 | 76 | |
| 77 | -/-- Strong continuity follows from weak scalar equations with uniformly | |
| 78 | -bounded derivatives, including at the endpoints. -/ | |
| 79 | -theorem continuousOn_of_dense_scalar_derivative | |
| 80 | - {D : Set H} (hD : Dense D) {u : ℝ → H} {a c : ℝ} (hac : a < c) | |
| 81 | - (C : ℝ≥0) | |
| 82 | - (hcont : ∀ φ ∈ D, ContinuousOn (fun t => inner ℝ φ (u t)) (Icc a c)) | |
| 83 | - (hderiv : ∀ φ ∈ D, ∀ t ∈ Ioo a c, | |
| 84 | - ∃ d : ℝ, HasDerivAt (fun s => inner ℝ φ (u s)) d t ∧ | |
| 85 | - ‖d‖ ≤ (C : ℝ) * ‖φ‖) : | |
| 86 | - ContinuousOn u (Icc a c) := | |
| 87 | - (lipschitzOnWith_of_dense_scalar_derivative hD hac C hcont hderiv).continuousOn | |
| 88 | - | |
| 89 | 77 | /-- A bounded vector right-hand side provides the scalar derivative bounds. -/ |
| 90 | 78 | theorem lipschitzOnWith_of_dense_weak_equation |
| 91 | 79 | {D : Set H} (hD : Dense D) {u b : ℝ → H} {a c : ℝ} (hac : a < c) |
| @@ -117,22 +105,6 @@ theorem sub_eq_integral_of_dense_pairing | ||
| 117 | 105 | rw [inner_sub_right, hweak φ hφ] |
| 118 | 106 | exact (innerSL ℝ φ).intervalIntegral_comp_comm hb |
| 119 | 107 | |
| 120 | -/-- Scalar integral identities supply strong continuity without a prior | |
| 121 | -strong measurability or continuity assumption on the path itself. -/ | |
| 122 | -theorem continuousOn_of_dense_integral_equation | |
| 123 | - {D : Set H} (hD : Dense D) {u b : ℝ → H} {a c : ℝ} | |
| 124 | - (hb : IntervalIntegrable b volume a c) | |
| 125 | - (hweak : ∀ t ∈ Icc a c, ∀ φ ∈ D, | |
| 126 | - inner ℝ φ (u t) - inner ℝ φ (u a) = ∫ s in a..t, inner ℝ φ (b s)) : | |
| 127 | - ContinuousOn u (Icc a c) := by | |
| 128 | - have hprimitive : ContinuousOn (fun t => ∫ s in a..t, b s) (Icc a c) := | |
| 129 | - (intervalIntegral.continuousOn_primitive_interval' hb left_mem_uIcc).mono Icc_subset_uIcc | |
| 130 | - apply (continuousOn_const.add hprimitive).congr | |
| 131 | - intro t ht | |
| 132 | - have htint := hb.mono_set (uIcc_subset_uIcc_left (Icc_subset_uIcc ht)) | |
| 133 | - have heq := sub_eq_integral_of_dense_pairing hD htint (hweak t ht) | |
| 134 | - exact (sub_eq_iff_eq_add.mp heq).trans (add_comm _ _) | |
| 135 | - | |
| 136 | 108 | /-- Continuous right-hand sides give a strong derivative of a path satisfying |
| 137 | 109 | the integral equation on dense tests, including one-sided endpoint derivatives. -/ |
| 138 | 110 | theorem hasDerivWithinAt_of_dense_integral_equation |
+0 −17 Euler/WeakTimeContinuity.lean View file
| @@ -123,21 +123,4 @@ theorem velocityLp_weakly_continuous (φ : Lp ℝ³ 2 (volume : Measure ℝ³)) | ||
| 123 | 123 | _ < δ * M + ε / 2 + δ * M := by linarith [herr t] |
| 124 | 124 | _ = ε := by dsimp [δ]; field_simp; ring |
| 125 | 125 | |
| 126 | -/-- Function-level form of weak `L²` continuity, without quotient representatives. -/ | |
| 127 | -theorem velocity_pairing_continuousOn | |
| 128 | - (φ : ℝ³ → ℝ³) (hφ : MemLp φ 2 volume) : | |
| 129 | - ContinuousOn (fun t : ℝ => ∫ x : ℝ³, inner ℝ (φ x) (v x t)) (Ici 0) := by | |
| 130 | - apply continuousOn_iff_continuous_domRestrict.mpr | |
| 131 | - change Continuous (fun t : Ici (0 : ℝ) => ∫ x : ℝ³, inner ℝ (φ x) (v x t)) | |
| 132 | - simpa only [velocityLp, inner_toLp_eq_integral] using | |
| 133 | - h.velocityLp_weakly_continuous (hφ.toLp φ) | |
| 134 | - | |
| 135 | -/-- Every finite-energy test pairing attains the prescribed initial data weakly. -/ | |
| 136 | -theorem velocity_pairing_tendsto_initial | |
| 137 | - (φ : ℝ³ → ℝ³) (hφ : MemLp φ 2 volume) : | |
| 138 | - Filter.Tendsto (fun t : ℝ => ∫ x : ℝ³, inner ℝ (φ x) (v x t)) | |
| 139 | - (𝓝[Ici 0] 0) (𝓝 (∫ x : ℝ³, inner ℝ (φ x) (u₀ x))) := by | |
| 140 | - simpa only [ContinuousWithinAt, h.initial_condition] using | |
| 141 | - h.velocity_pairing_continuousOn φ hφ 0 (by simp) | |
| 142 | - | |
| 143 | 126 | end Euler.EulerExistenceAndSmoothnessR3 |
+0 −8 Euler/WholeSpaceGaussian.lean View file
| @@ -120,14 +120,6 @@ theorem average_integrable_of_bound {t : ℝ} (ht : 0 < t) | ||
| 120 | 120 | rw [norm_smul, Real.norm_of_nonneg (kernel_nonneg ht y)] |
| 121 | 121 | exact mul_le_mul_of_nonneg_left (hb _) (kernel_nonneg ht y) |
| 122 | 122 | |
| 123 | -theorem average_norm_le {t : ℝ} (ht : 0 < t) (f : Space → V) | |
| 124 | - (C : ℝ) (hb : ∀ x, ‖f x‖ ≤ C) (x : Space) : ‖average t f x‖ ≤ C := by | |
| 125 | - have h := norm_integral_le_of_norm_le ((kernel_integrable ht).mul_const C) | |
| 126 | - (f := fun y : Space => kernel t y • f (x+y)) (Eventually.of_forall (fun y => by | |
| 127 | - rw [norm_smul, Real.norm_of_nonneg (kernel_nonneg ht y)] | |
| 128 | - exact mul_le_mul_of_nonneg_left (hb _) (kernel_nonneg ht y))) | |
| 129 | - simpa only [integral_mul_const, integral_kernel ht, one_mul, average] using h | |
| 130 | - | |
| 131 | 123 | /-- Cauchy--Schwarz for scalar multiplication, in a form that retains the |
| 132 | 124 | ordinary L² norm of a Banach-valued field. -/ |
| 133 | 125 | theorem norm_integral_smul_le (k : Space → ℝ) (f : Space → V) |
+0 −3 Euler/WholeSpaceGaussianKernel.lean View file
| @@ -53,9 +53,6 @@ theorem firstKernel_fderiv (t : ℝ) (a b x : Space) : | ||
| 53 | 53 | smul_eq_mul, kernel_fderiv, firstKernel, secondKernel] |
| 54 | 54 | ring |
| 55 | 55 | |
| 56 | -theorem wideKernel_nonneg {t : ℝ} (ht : 0 < t) (x : Space) : 0 ≤ wideKernel t x := | |
| 57 | - mul_nonneg (normalization_pos ht).le (Real.exp_pos _).le | |
| 58 | - | |
| 59 | 56 | theorem wideKernel_integrable {t : ℝ} (ht : 0 < t) : Integrable (wideKernel t) := |
| 60 | 57 | (exp_integrable (inv_pos.mpr (by positivity : 0 < 2*t))).const_mul _ |
| 61 | 58 | |
+0 −18 Euler/WholeSpaceGaussianScale.lean View file
| @@ -27,15 +27,6 @@ theorem kernel_sq_smul {c : ℝ} (hc : 0 < c) (y : Space) : | ||
| 27 | 27 | rw [he] |
| 28 | 28 | ring |
| 29 | 29 | |
| 30 | -theorem norm_mul_kernel_integrable {t : ℝ} (ht : 0 < t) : | |
| 31 | - Integrable (fun y : Space => ‖y‖*kernel t y) := by | |
| 32 | - apply ((wideKernel_integrable ht).const_mul (1+2*t)).mono' | |
| 33 | - (continuous_norm.mul (kernel_smooth t).continuous).aestronglyMeasurable | |
| 34 | - exact Eventually.of_forall (fun y => by | |
| 35 | - change ‖‖y‖*kernel t y‖ ≤ (1+2*t)*wideKernel t y | |
| 36 | - rw [Real.norm_of_nonneg (mul_nonneg (norm_nonneg _) (kernel_nonneg ht y))] | |
| 37 | - exact norm_kernel_le ht y) | |
| 38 | - | |
| 39 | 30 | section Averaging |
| 40 | 31 | |
| 41 | 32 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| @@ -78,14 +69,5 @@ theorem scaledAverage_continuous (f : Space → V) (hf : Continuous f) | ||
| 78 | 69 | continuous_const.smul (hf.comp |
| 79 | 70 | (show Continuous (fun t : ℝ => x+Real.sqrt t • y) by fun_prop))) |
| 80 | 71 | |
| 81 | -theorem average_tendsto_zero [CompleteSpace V] (f : Space → V) (hf : Continuous f) | |
| 82 | - (C : ℝ) (hb : ∀ x, ‖f x‖ ≤ C) (x : Space) : | |
| 83 | - Tendsto (fun t : ℝ => average t f x) (𝓝[>] 0) (𝓝 (f x)) := by | |
| 84 | - have h : Tendsto (fun t : ℝ => scaledAverage t f x) (𝓝[>] 0) | |
| 85 | - (𝓝 (scaledAverage 0 f x)) := | |
| 86 | - (scaledAverage_continuous f hf C hb x).continuousAt.tendsto.mono_left nhdsWithin_le_nhds | |
| 87 | - rw [scaledAverage_zero] at h | |
| 88 | - exact h.congr' (eventually_nhdsWithin_of_forall (fun t ht => scaledAverage_eq ht f x)) | |
| 89 | - | |
| 90 | 72 | end Averaging |
| 91 | 73 | end EulerWholeSpaceGaussian |
+0 −5 Euler/WholeSpaceGaussianTimeKernel.lean View file
| @@ -60,11 +60,6 @@ theorem timeKernel_bound {t : ℝ} (ht : 0 < t) (y : Space) : | ||
| 60 | 60 | simp only [Fin.sum_univ_three] |
| 61 | 61 | ring |
| 62 | 62 | |
| 63 | -theorem timeKernel_integrable {t : ℝ} (ht : 0 < t) : Integrable (timeKernel t) := by | |
| 64 | - apply ((wideKernel_integrable ht).const_mul ((15/2:ℝ)*t⁻¹)).mono' | |
| 65 | - (timeKernel_continuous t).aestronglyMeasurable | |
| 66 | - exact Eventually.of_forall (timeKernel_bound ht) | |
| 67 | - | |
| 68 | 63 | def timeEnvelope (t : ℝ) (y : Space) : ℝ := |
| 69 | 64 | (15*t⁻¹*normalization (t/2))*Real.exp (-(4*t)⁻¹*‖y‖^2) |
| 70 | 65 | |
+3 −3 KNOWN.md View file
| @@ -16,9 +16,9 @@ What is established about this problem, one fact a line, each with where it come | ||
| 16 | 16 | |
| 17 | 17 | ## Mind |
| 18 | 18 | |
| 19 | -- Forty-eight builds on `s1-euler-*` branches, plus two on main, were submitted 12-04 16:08–16:16 and all were still running at 16:17, while challenge passes for the same heads landed 16:11–16:17, so a pending build is a queue, not a failure (job 2965, job 3011, commit 919ee76). | |
| 20 | -- [mind, checked] A challenge verdict reports the tree of its own head: main read 2,647 Lean files and 633,913 lines at 14:49 and 2,592 and 617,861 at 15:57, and s1-ns-mean-files-3 at e4d5bfd repeats the second pair, so a count snapshots one tree (commit 8ad63a7, commit 532d3d7, commit e4d5bfd). | |
| 21 | -- A challenge success is filed before the matching build: on 12-04 challenge successes landed at 02:56 and 03:23 while the build verdicts for the same heads came at 03:09–03:52, so a fresh challenge pass can stand with no build behind it (commit 7131c8c, commit 642c67e, commit 828caff). | |
| 19 | +- [mind, checked] A pending build is a queue, not a failure: s1-euler-* and s1-ns-* builds submitted 12-04 16:10–16:20 were still running at 16:38, while build successes for earlier heads landed 16:35–16:37 and challenge passes 16:34–16:38 (job 2876, commit c745f05, commit 1188f6a). | |
| 20 | +- [mind, checked] A challenge verdict counts its own head's tree: successes at 12-04 16:34–16:38 all read 2,590 Lean files but 615,252–617,128 lines, main's heads 616,018–616,920, so a count snapshots one tree (commit ff4bb09, commit 0ce78be, commit 239393c, commit cf8d932). | |
| 21 | +- [mind, checked] A challenge success is filed before the matching build: main's tip 0f1047c reads challenge success at 16:38 with its build queued, and the 02:56–03:23 passes had builds at 03:09–03:52, so a fresh pass can stand without a build (job 3411, commit 7131c8c, commit 828caff). | |
| 22 | 22 | - ~~Build has filed no verdict since 12-02 14:50, so a challenge success after that has no build behind it: six build jobs were submitted at 12-04 02:56, two each on main, p4-euler-section-6 and maintainer-statement, and all six are still pending (job 2168, job 2176, job 2181).~~ Build has since filed verdicts, on 12-04 03:09–03:52, for all six heads submitted at 02:56 (main 530a644 and 0bbf0b4, maintainer-statement 7131c8c, p4-euler-section-6 e86853a, plus p5-h3-approximation-doc 828caff, p2-correction-covariance 642c67e, p2-correction-full-residual d4072c4), so none is left pending (commit 530a644, commit 0bbf0b4, commit 7131c8c, commit 642c67e) |
| 23 | 23 | - Checks repeat for one head across rounds, not only at a submission: 7131c8c and e86853a got two challenge successes at 02:56, builds at 03:11–03:14 and builds again at 06:38, and 642c67e was re-challenged at 07:16 after 03:23 (commit 7131c8c, commit e86853a, commit 642c67e). |
| 24 | 24 | - A commit that changes no judged path is counted, not run: dc2f600 reads 'not run on this commit' for challenge and build. Main's later heads did run: 63e6439 passed both at 15:06, and 5d25935 at 15:23 and 15:24 (commit dc2f600, commit 63e6439, commit 5d25935). |
+0 −260 NavierStokes/ActivationBounds.lean View file
| @@ -279,52 +279,6 @@ theorem width_uniform_jet_bound {J K : Set ℝ} (hJ : IsOpen J) (hK : IsCompact | ||
| 279 | 279 | (mul_nonneg hy.1 (activation_nonneg T κ y hκ.2)) |
| 280 | 280 | nlinarith |
| 281 | 281 | |
| 282 | -theorem weightedPrimitive_uniform_jets {J K : Set ℝ} (hJ : IsOpen J) (hK : IsCompact K) | |
| 283 | - (hKJ : K ⊆ J) {B : Field} (hB : ContDiffOn ℝ ∞ B (logDomain J hJ).carrier) | |
| 284 | - (T0 : ℝ) (n : ℕ) : | |
| 285 | - ∃ M : ℝ, 0 ≤ M ∧ ∀ T ∈ Ioc (0 : ℝ) T0, ∀ κ ∈ Icc (0 : ℝ) 1, | |
| 286 | - ∀ y ∈ Icc (0 : ℝ) T, ∀ η ∈ K, | |
| 287 | - |iteratedDeriv n (fun ξ => weightedPrimitive T κ B (y, ξ)) η| ≤ | |
| 288 | - M * y * activation T κ y := by | |
| 289 | - apply width_uniform_jet_bound hJ hK hKJ (primitiveErrorFactor_smooth hJ hB) | |
| 290 | - intro κ T hT u η _ | |
| 291 | - exact weightedPrimitive_scaled_factor hT.ne' κ B u η | |
| 292 | - | |
| 293 | -theorem controlled_uniform_jets {J K : Set ℝ} (hJ : IsOpen J) (hK : IsCompact K) | |
| 294 | - (hKJ : K ⊆ J) {F : Field} (hF : ContDiffOn ℝ ∞ F (logDomain J hJ).carrier) | |
| 295 | - (T0 : ℝ) (n : ℕ) : | |
| 296 | - ∃ M : ℝ, 0 ≤ M ∧ ∀ T ∈ Ioc (0 : ℝ) T0, ∀ κ ∈ Icc (0 : ℝ) 1, | |
| 297 | - ∀ y ∈ Icc (0 : ℝ) T, ∀ η ∈ K, | |
| 298 | - |iteratedDeriv n (fun ξ => controlled T κ F (y, ξ) - F (y, ξ)) η| ≤ | |
| 299 | - M * y * activation T κ y := by | |
| 300 | - apply width_uniform_jet_bound hJ hK hKJ (controlledErrorFactor_smooth hJ hF) | |
| 301 | - intro κ T hT u η hη | |
| 302 | - exact controlled_scaled_factor hT.ne' κ hJ hF u hη | |
| 303 | - | |
| 304 | -theorem angular_relative_uniform_jets {J K : Set ℝ} (hJ : IsOpen J) (hK : IsCompact K) | |
| 305 | - (hKJ : K ⊆ J) {L : Field} (hL : ContDiffOn ℝ ∞ L (logDomain J hJ).carrier) | |
| 306 | - (T0 : ℝ) (n : ℕ) : | |
| 307 | - ∃ M : ℝ, 0 ≤ M ∧ ∀ T ∈ Ioc (0 : ℝ) T0, ∀ κ ∈ Icc (0 : ℝ) 1, | |
| 308 | - ∀ y ∈ Icc (0 : ℝ) T, ∀ η ∈ K, | |
| 309 | - |iteratedDeriv n (fun ξ => | |
| 310 | - activatedAngular T κ L (y, ξ) / referenceAngular L (y, ξ) - 1) η| ≤ | |
| 311 | - M * y * activation T κ y := by | |
| 312 | - apply width_uniform_jet_bound hJ hK hKJ (relativeErrorFactor_smooth hJ hL) | |
| 313 | - intro κ T hT u η hη | |
| 314 | - exact angular_relative_scaled_factor hT.ne' κ hJ hL u hη | |
| 315 | - | |
| 316 | -theorem angular_uniform_jets {J K : Set ℝ} (hJ : IsOpen J) (hK : IsCompact K) | |
| 317 | - (hKJ : K ⊆ J) {L : Field} (hL : ContDiffOn ℝ ∞ L (logDomain J hJ).carrier) | |
| 318 | - (T0 : ℝ) (n : ℕ) : | |
| 319 | - ∃ M : ℝ, 0 ≤ M ∧ ∀ T ∈ Ioc (0 : ℝ) T0, ∀ κ ∈ Icc (0 : ℝ) 1, | |
| 320 | - ∀ y ∈ Icc (0 : ℝ) T, ∀ η ∈ K, | |
| 321 | - |iteratedDeriv n (fun ξ => | |
| 322 | - activatedAngular T κ L (y, ξ) - referenceAngular L (y, ξ)) η| ≤ | |
| 323 | - M * y * activation T κ y := by | |
| 324 | - apply width_uniform_jet_bound hJ hK hKJ (angularErrorFactor_smooth hJ hL) | |
| 325 | - intro κ T hT u η hη | |
| 326 | - exact angular_scaled_factor hT.ne' κ hJ hL u hη | |
| 327 | - | |
| 328 | 282 | /-! ## Width-uniform factors for the actual five histories -/ |
| 329 | 283 | |
| 330 | 284 | noncomputable def densityErrorFactor (X0 : ℝ) (L U : Field) |
| @@ -450,21 +404,6 @@ theorem history_scaled_factor {T : ℝ} (hT : T ≠ 0) (κ X0 : ℝ) | ||
| 450 | 404 | dsimp only [scaledDistance, historyErrorFactor] |
| 451 | 405 | ring |
| 452 | 406 | |
| 453 | -theorem history_uniform_jets (X0 : ℝ) (initial : HistoryRow → ℝ → ℝ) | |
| 454 | - {J K : Set ℝ} (hJ : IsOpen J) (hK : IsCompact K) (hKJ : K ⊆ J) {L U : Field} | |
| 455 | - (hL : ContDiffOn ℝ ∞ L (logDomain J hJ).carrier) | |
| 456 | - (hU : ContDiffOn ℝ ∞ U (logDomain J hJ).carrier) | |
| 457 | - (T0 : ℝ) (r : HistoryRow) (n : ℕ) : | |
| 458 | - ∃ M : ℝ, 0 ≤ M ∧ ∀ T ∈ Ioc (0 : ℝ) T0, ∀ κ ∈ Icc (0 : ℝ) 1, | |
| 459 | - ∀ y ∈ Icc (0 : ℝ) T, ∀ η ∈ K, | |
| 460 | - |iteratedDeriv n (fun ξ => | |
| 461 | - logHistory X0 initial (activatedAngular T κ L) (controlled T κ U) r (y, ξ) - | |
| 462 | - logHistory X0 initial (referenceAngular L) U r (y, ξ)) η| ≤ | |
| 463 | - M * y * activation T κ y := by | |
| 464 | - apply width_uniform_jet_bound hJ hK hKJ (historyErrorFactor_smooth X0 hJ hL hU r) | |
| 465 | - intro κ T hT u η hη | |
| 466 | - exact history_scaled_factor hT.ne' κ X0 initial hJ hL hU r u hη | |
| 467 | - | |
| 468 | 407 | /-! ## Genuine parameter differentiation of the scaled factors -/ |
| 469 | 408 | |
| 470 | 409 | noncomputable def etaD (H : ScaledPoint → ℝ) (q : ScaledPoint) : ℝ := |
| @@ -504,12 +443,6 @@ theorem etaD_scaledDistance_mul (H : ScaledPoint → ℝ) (q : ScaledPoint) : | ||
| 504 | 443 | etaD (fun z => scaledDistance z * H z) q = scaledDistance q * etaD H q := by |
| 505 | 444 | exact deriv_const_mul_field (scaledDistance q) |
| 506 | 445 | |
| 507 | -theorem etaD_rescale {J : Set ℝ} (hJ : IsOpen J) {F : Field} | |
| 508 | - (hF : ContDiffOn ℝ ∞ F (logDomain J hJ).carrier) {q : ScaledPoint} | |
| 509 | - (hq : q ∈ scaledDomain J) : etaD (rescale F) q = rescale (parameterPartial F) q := | |
| 510 | - (parameterPartial_hasDerivAt (logDomain J hJ) hF | |
| 511 | - (p := (q.1.2 * q.2.1, q.2.2)) ⟨mem_univ _, hq.2.2⟩).deriv | |
| 512 | - | |
| 513 | 446 | theorem etaD_congr {J : Set ℝ} (hJ : IsOpen J) {H G : ScaledPoint → ℝ} |
| 514 | 447 | (h : ∀ q ∈ scaledDomain J, H q = G q) {q : ScaledPoint} (hq : q ∈ scaledDomain J) : |
| 515 | 448 | etaD H q = etaD G q := by |
| @@ -519,205 +452,12 @@ theorem etaD_congr {J : Set ℝ} (hJ : IsOpen J) {H G : ScaledPoint → ℝ} | ||
| 519 | 452 | |
| 520 | 453 | /-! ## Independence of the continuation length on the natural overlap -/ |
| 521 | 454 | |
| 522 | -theorem continuation_radialPartial {R δ : ℝ} (hR : 0 < R) (hδ : 0 < δ) | |
| 523 | - (hδR : 2 * δ < R) {J : Set ℝ} (hJ : IsOpen J) {G : Field} | |
| 524 | - (hG : ContDiffOn ℝ ∞ G (ReferencePath.earlyStrip R hR J hJ).carrier) | |
| 525 | - {p : Point} (hη : p.2 ∈ J) : | |
| 526 | - radialPartial (ReferencePath.continuation δ G) p = | |
| 527 | - ReferencePath.slopeCutoff δ p.1 * radialPartial G p := | |
| 528 | - (radialPartial_hasDerivAt (ReferencePath.fullStrip J hJ) | |
| 529 | - (ReferencePath.continuation_smooth hR hδ hδR hJ hG) (p := p) ⟨mem_univ _, hη⟩).unique | |
| 530 | - (ReferencePath.continuation_hasDerivAt hR hδ hδR hJ hG (p := p) hη) | |
| 531 | - | |
| 532 | -theorem controlled_continuation_independent {R δ₁ δ₂ : ℝ} (hR : 0 < R) | |
| 533 | - (hδ₁ : 0 < δ₁) (hδ₁R : 2 * δ₁ < R) (hδ₂ : 0 < δ₂) (hδ₂R : 2 * δ₂ < R) | |
| 534 | - {J : Set ℝ} (hJ : IsOpen J) {G : Field} | |
| 535 | - (hG : ContDiffOn ℝ ∞ G (ReferencePath.earlyStrip R hR J hJ).carrier) | |
| 536 | - (T κ : ℝ) {p : Point} (hη : p.2 ∈ J) (hp₁ : p.1 ≤ δ₁) (hp₂ : p.1 ≤ δ₂) : | |
| 537 | - controlled T κ (ReferencePath.continuation δ₁ G) p = | |
| 538 | - controlled T κ (ReferencePath.continuation δ₂ G) p := by | |
| 539 | - have hzero₁ := ReferencePath.continuation_eq_natural hR hδ₁ hδ₁R hJ hG | |
| 540 | - (p := (0, p.2)) hη hδ₁.le | |
| 541 | - have hzero₂ := ReferencePath.continuation_eq_natural hR hδ₂ hδ₂R hJ hG | |
| 542 | - (p := (0, p.2)) hη hδ₂.le | |
| 543 | - unfold controlled | |
| 544 | - rw [hzero₁, hzero₂] | |
| 545 | - congr 1 | |
| 546 | - apply intervalIntegral.integral_congr | |
| 547 | - intro t ht | |
| 548 | - have ht₁ : t ≤ δ₁ := (mem_uIcc.mp ht).elim | |
| 549 | - (fun h => h.2.trans hp₁) (fun h => h.2.trans hδ₁.le) | |
| 550 | - have ht₂ : t ≤ δ₂ := (mem_uIcc.mp ht).elim | |
| 551 | - (fun h => h.2.trans hp₂) (fun h => h.2.trans hδ₂.le) | |
| 552 | - dsimp only | |
| 553 | - rw [continuation_radialPartial hR hδ₁ hδ₁R hJ hG (p := (t, p.2)) hη, | |
| 554 | - continuation_radialPartial hR hδ₂ hδ₂R hJ hG (p := (t, p.2)) hη, | |
| 555 | - ReferencePath.slopeCutoff_one hδ₁ ht₁, ReferencePath.slopeCutoff_one hδ₂ ht₂] | |
| 556 | - | |
| 557 | -theorem profileInitial_congr {D : RadialDomain} (P Q : Profiles D) | |
| 558 | - (h0 : ∀ η, P.pressure0 η = Q.pressure0 η) (r : HistoryRow) (η : ℝ) : | |
| 559 | - profileInitial P r η = profileInitial Q r η := by | |
| 560 | - cases r <;> simp only [profileInitial] | |
| 561 | - exact h0 η | |
| 562 | - | |
| 563 | 455 | namespace NaturalOverlap |
| 564 | 456 | |
| 565 | 457 | open ReferencePath |
| 566 | 458 | |
| 567 | 459 | variable (N : ReferencePath.Input) |
| 568 | 460 | |
| 569 | -theorem f_independent {T δ₁ δ₂ : ℝ} (hT : 0 < T) | |
| 570 | - (hδ₁ : 0 < δ₁) (hδ₁R : 2 * δ₁ < rampLimit) | |
| 571 | - (hδ₂ : 0 < δ₂) (hδ₂R : 2 * δ₂ < rampLimit) (κ : ℝ) | |
| 572 | - {p : Point} (hη : p.2 ∈ parameterInterval) | |
| 573 | - (hp₁ : p.1 ≤ radius N.endpoint δ₁) (hp₂ : p.1 ≤ radius N.endpoint δ₂) : | |
| 574 | - FromReference.f N T κ δ₁ p = FromReference.f N T κ δ₂ p := by | |
| 575 | - by_cases hx : p.1 ≤ N.endpoint | |
| 576 | - · rw [FromReference.f_eq_reference N T κ δ₁ hx, FromReference.f_eq_reference N T κ δ₂ hx, | |
| 577 | - N.refF_eq_natural_initial δ₁ hx, N.refF_eq_natural_initial δ₂ hx] | |
| 578 | - · have hX : 0 < p.1 := N.endpoint_pos.trans (lt_of_not_ge hx) | |
| 579 | - rw [FromReference.f_eq_logtime N hT hδ₁ hδ₁R κ hη hX, | |
| 580 | - FromReference.f_eq_logtime N hT hδ₂ hδ₂R κ hη hX] | |
| 581 | - unfold activatedAngular FromReference.refLog | |
| 582 | - congr 1 | |
| 583 | - exact controlled_continuation_independent rampLimit_pos hδ₁ hδ₁R hδ₂ hδ₂R | |
| 584 | - parameterInterval_open N.logF_smooth T κ (p := (N.logTime p.1, p.2)) hη | |
| 585 | - ((N.logTime_le_iff hX).2 hp₁) ((N.logTime_le_iff hX).2 hp₂) | |
| 586 | - | |
| 587 | -theorem U_independent {T δ₁ δ₂ : ℝ} (hT : 0 < T) | |
| 588 | - (hδ₁ : 0 < δ₁) (hδ₁R : 2 * δ₁ < rampLimit) | |
| 589 | - (hδ₂ : 0 < δ₂) (hδ₂R : 2 * δ₂ < rampLimit) (κ : ℝ) | |
| 590 | - {p : Point} (hη : p.2 ∈ parameterInterval) | |
| 591 | - (hp₁ : p.1 ≤ radius N.endpoint δ₁) (hp₂ : p.1 ≤ radius N.endpoint δ₂) : | |
| 592 | - FromReference.U N T κ δ₁ p = FromReference.U N T κ δ₂ p := by | |
| 593 | - by_cases hx : p.1 ≤ N.endpoint | |
| 594 | - · rw [FromReference.U_eq_reference N T κ δ₁ hx, FromReference.U_eq_reference N T κ δ₂ hx, | |
| 595 | - N.refU_eq_natural_initial δ₁ hx, N.refU_eq_natural_initial δ₂ hx] | |
| 596 | - · have hX : 0 < p.1 := N.endpoint_pos.trans (lt_of_not_ge hx) | |
| 597 | - rw [FromReference.U_eq_logtime N hT hδ₁ hδ₁R κ hη hX, | |
| 598 | - FromReference.U_eq_logtime N hT hδ₂ hδ₂R κ hη hX] | |
| 599 | - exact controlled_continuation_independent rampLimit_pos hδ₁ hδ₁R hδ₂ hδ₂R | |
| 600 | - parameterInterval_open N.logU_smooth T κ (p := (N.logTime p.1, p.2)) hη | |
| 601 | - ((N.logTime_le_iff hX).2 hp₁) ((N.logTime_le_iff hX).2 hp₂) | |
| 602 | - | |
| 603 | -/-- Equality is from the axis up to the comparison radius, so all recomputed | |
| 604 | -histories are equal, not just their endpoint fields. -/ | |
| 605 | -theorem histories_independent {T δ₁ δ₂ : ℝ} (hT : 0 < T) | |
| 606 | - (hδ₁ : 0 < δ₁) (hδ₁R : 2 * δ₁ < rampLimit) | |
| 607 | - (hδ₂ : 0 < δ₂) (hδ₂R : 2 * δ₂ < rampLimit) (κ : ℝ) | |
| 608 | - (P0 : ℝ → ℝ) (hP0 : ContDiff ℝ ∞ P0) (r : HistoryRow) | |
| 609 | - {p : Point} (hη : p.2 ∈ parameterInterval) (hX : 0 ≤ p.1) | |
| 610 | - (hp₁ : p.1 ≤ radius N.endpoint δ₁) (hp₂ : p.1 ≤ radius N.endpoint δ₂) : | |
| 611 | - profileHistory (FromReference.histories N hT hδ₁ hδ₁R κ P0 hP0) r p = | |
| 612 | - profileHistory (FromReference.histories N hT hδ₂ hδ₂R κ P0 hP0) r p := by | |
| 613 | - let A := FromReference.histories N hT hδ₁ hδ₁R κ P0 hP0 | |
| 614 | - let B := FromReference.histories N hT hδ₂ hδ₂R κ P0 hP0 | |
| 615 | - have h0 : profileInitial A r p.2 = profileInitial B r p.2 := | |
| 616 | - profileInitial_congr A B (fun _ => rfl) r p.2 | |
| 617 | - have hf : ∀ x ∈ Icc (0 : ℝ) p.1, A.f (x, p.2) = B.f (x, p.2) := by | |
| 618 | - intro x hx | |
| 619 | - exact f_independent N hT hδ₁ hδ₁R hδ₂ hδ₂R κ (p := (x, p.2)) hη | |
| 620 | - (hx.2.trans hp₁) (hx.2.trans hp₂) | |
| 621 | - have hu : ∀ x ∈ Icc (0 : ℝ) p.1, A.U (x, p.2) = B.U (x, p.2) := by | |
| 622 | - intro x hx | |
| 623 | - exact U_independent N hT hδ₁ hδ₁R hδ₂ hδ₂R κ (p := (x, p.2)) hη | |
| 624 | - (hx.2.trans hp₁) (hx.2.trans hp₂) | |
| 625 | - exact profileHistory_congr_up_to A B r hX h0 hf hu | |
| 626 | - | |
| 627 | -theorem reference_histories_independent {δ₁ δ₂ : ℝ} | |
| 628 | - (hδ₁ : 0 < δ₁) (hδ₁R : 2 * δ₁ < rampLimit) | |
| 629 | - (hδ₂ : 0 < δ₂) (hδ₂R : 2 * δ₂ < rampLimit) | |
| 630 | - (P0 : ℝ → ℝ) (hP0 : ContDiff ℝ ∞ P0) (r : HistoryRow) | |
| 631 | - {p : Point} (hη : p.2 ∈ parameterInterval) (hX : 0 ≤ p.1) | |
| 632 | - (hp₁ : p.1 ≤ radius N.endpoint δ₁) (hp₂ : p.1 ≤ radius N.endpoint δ₂) : | |
| 633 | - profileHistory (N.histories hδ₁ hδ₁R P0 hP0) r p = | |
| 634 | - profileHistory (N.histories hδ₂ hδ₂R P0 hP0) r p := by | |
| 635 | - let A := N.histories hδ₁ hδ₁R P0 hP0 | |
| 636 | - let B := N.histories hδ₂ hδ₂R P0 hP0 | |
| 637 | - have h0 : profileInitial A r p.2 = profileInitial B r p.2 := | |
| 638 | - profileInitial_congr A B (fun _ => rfl) r p.2 | |
| 639 | - have hf : ∀ x ∈ Icc (0 : ℝ) p.1, A.f (x, p.2) = B.f (x, p.2) := by | |
| 640 | - intro x hx | |
| 641 | - exact (N.refF_eq_natural hδ₁ hδ₁R (p := (x, p.2)) hη (hx.2.trans hp₁)).trans | |
| 642 | - (N.refF_eq_natural hδ₂ hδ₂R (p := (x, p.2)) hη (hx.2.trans hp₂)).symm | |
| 643 | - have hu : ∀ x ∈ Icc (0 : ℝ) p.1, A.U (x, p.2) = B.U (x, p.2) := by | |
| 644 | - intro x hx | |
| 645 | - exact (N.refU_eq_natural hδ₁ hδ₁R (p := (x, p.2)) hη (hx.2.trans hp₁)).trans | |
| 646 | - (N.refU_eq_natural hδ₂ hδ₂R (p := (x, p.2)) hη (hx.2.trans hp₂)).symm | |
| 647 | - exact profileHistory_congr_up_to A B r hX h0 hf hu | |
| 648 | - | |
| 649 | -theorem radius_mono {s t : ℝ} (hst : s ≤ t) : radius N.endpoint s ≤ radius N.endpoint t := | |
| 650 | - mul_le_mul_of_nonneg_left (Real.exp_le_exp.mpr hst) N.endpoint_pos.le | |
| 651 | - | |
| 652 | -theorem fixed_history_scaled_factor {T δ : ℝ} (hT : 0 < T) | |
| 653 | - (hδ : 0 < δ) (hδR : 2 * δ < rampLimit) (κ : ℝ) | |
| 654 | - (P0 : ℝ → ℝ) (hP0 : ContDiff ℝ ∞ P0) (r : HistoryRow) | |
| 655 | - (u : ℝ) {η : ℝ} (hη : η ∈ parameterInterval) : | |
| 656 | - profileHistory (FromReference.histories N hT hδ hδR κ P0 hP0) r | |
| 657 | - (radius N.endpoint (T * u), η) - | |
| 658 | - profileHistory (N.histories hδ hδR P0 hP0) r (radius N.endpoint (T * u), η) = | |
| 659 | - scaledDistance ((κ, T), (u, η)) * | |
| 660 | - historyErrorFactor N.endpoint (FromReference.refLog N δ) (FromReference.refAxial N δ) r | |
| 661 | - ((κ, T), (u, η)) := by | |
| 662 | - rw [FromReference.histories_log_formula N hT hδ hδR κ P0 hP0 r (T * u) hη, | |
| 663 | - FromReference.reference_histories_log_formula N hδ hδR P0 hP0 r (T * u) hη] | |
| 664 | - exact history_scaled_factor hT.ne' κ N.endpoint _ parameterInterval_open | |
| 665 | - (FromReference.refLog_smooth N hδ hδR) (FromReference.refAxial_smooth N hδ hδR) r u hη | |
| 666 | - | |
| 667 | -/-- The manuscript uses the same width for ACT and REF. Its first-ramp | |
| 668 | -histories have the fixed-reference factors whenever `T ≤ δ0`. -/ | |
| 669 | -theorem diagonal_history_scaled_factor {T δ0 : ℝ} (hT : 0 < T) | |
| 670 | - (hTR : 2 * T < rampLimit) (hδ0 : 0 < δ0) (hδ0R : 2 * δ0 < rampLimit) | |
| 671 | - (hTδ0 : T ≤ δ0) (κ : ℝ) (P0 : ℝ → ℝ) (hP0 : ContDiff ℝ ∞ P0) | |
| 672 | - (r : HistoryRow) {u η : ℝ} (hu : u ∈ Icc (0 : ℝ) 1) (hη : η ∈ parameterInterval) : | |
| 673 | - profileHistory (FromReference.histories N hT hT hTR κ P0 hP0) r | |
| 674 | - (radius N.endpoint (T * u), η) - | |
| 675 | - profileHistory (N.histories hT hTR P0 hP0) r (radius N.endpoint (T * u), η) = | |
| 676 | - scaledDistance ((κ, T), (u, η)) * | |
| 677 | - historyErrorFactor N.endpoint (FromReference.refLog N δ0) (FromReference.refAxial N δ0) r | |
| 678 | - ((κ, T), (u, η)) := by | |
| 679 | - have hy : T * u ≤ T := mul_le_of_le_one_right hT.le hu.2 | |
| 680 | - have hx : 0 ≤ radius N.endpoint (T * u) := (mul_pos N.endpoint_pos (Real.exp_pos _)).le | |
| 681 | - have hxT := radius_mono N hy | |
| 682 | - have hxδ0 := radius_mono N (hy.trans hTδ0) | |
| 683 | - rw [histories_independent N hT hT hTR hδ0 hδ0R κ P0 hP0 r hη hx hxT hxδ0, | |
| 684 | - reference_histories_independent N hT hTR hδ0 hδ0R P0 hP0 r hη hx hxT hxδ0] | |
| 685 | - exact fixed_history_scaled_factor N hT hδ0 hδ0R κ P0 hP0 r u hη | |
| 686 | - | |
| 687 | -theorem diagonal_histories_uniform_jets {δ0 : ℝ} (hδ0 : 0 < δ0) | |
| 688 | - (hδ0R : 2 * δ0 < rampLimit) (P0 : ℝ → ℝ) (hP0 : ContDiff ℝ ∞ P0) | |
| 689 | - {K : Set ℝ} (hK : IsCompact K) (hKJ : K ⊆ parameterInterval) (r : HistoryRow) (n : ℕ) : | |
| 690 | - ∃ M : ℝ, 0 ≤ M ∧ ∀ T (hT : T ∈ Ioc (0 : ℝ) δ0) (hTR : 2 * T < rampLimit), | |
| 691 | - ∀ κ ∈ Icc (0 : ℝ) 1, ∀ y ∈ Icc (0 : ℝ) T, ∀ η ∈ K, | |
| 692 | - |iteratedDeriv n (fun ξ => | |
| 693 | - profileHistory (FromReference.histories N hT.1 hT.1 hTR κ P0 hP0) r (radius N.endpoint y, ξ) - | |
| 694 | - profileHistory (N.histories hT.1 hTR P0 hP0) r (radius N.endpoint y, ξ)) η| ≤ | |
| 695 | - M * y * activation T κ y := by | |
| 696 | - obtain ⟨M, hM, hb⟩ := history_uniform_jets N.endpoint (fun _ _ => 0) | |
| 697 | - parameterInterval_open hK hKJ (FromReference.refLog_smooth N hδ0 hδ0R) | |
| 698 | - (FromReference.refAxial_smooth N hδ0 hδ0R) δ0 r n | |
| 699 | - refine ⟨M, hM, ?_⟩ | |
| 700 | - intro T hT hTR κ hκ y hy η hη | |
| 701 | - let u := y / T | |
| 702 | - have hu : u ∈ Icc (0 : ℝ) 1 := | |
| 703 | - ⟨div_nonneg hy.1 hT.1.le, (div_le_one hT.1).2 hy.2⟩ | |
| 704 | - have hTu : T * u = y := by dsimp only [u]; field_simp [hT.1.ne'] | |
| 705 | - have heq : (fun ξ => | |
| 706 | - profileHistory (FromReference.histories N hT.1 hT.1 hTR κ P0 hP0) r (radius N.endpoint y, ξ) - | |
| 707 | - profileHistory (N.histories hT.1 hTR P0 hP0) r (radius N.endpoint y, ξ)) =ᶠ[𝓝 η] | |
| 708 | - (fun ξ => logHistory N.endpoint (fun _ _ => 0) | |
| 709 | - (activatedAngular T κ (FromReference.refLog N δ0)) | |
| 710 | - (controlled T κ (FromReference.refAxial N δ0)) r (y, ξ) - | |
| 711 | - logHistory N.endpoint (fun _ _ => 0) (referenceAngular (FromReference.refLog N δ0)) | |
| 712 | - (FromReference.refAxial N δ0) r (y, ξ)) := by | |
| 713 | - filter_upwards [parameterInterval_open.mem_nhds (hKJ hη)] with ξ hξ | |
| 714 | - rw [← hTu] | |
| 715 | - exact (diagonal_history_scaled_factor N hT.1 hTR hδ0 hδ0R hT.2 κ P0 hP0 r hu hξ).trans | |
| 716 | - (history_scaled_factor hT.1.ne' κ N.endpoint (fun _ _ => 0) parameterInterval_open | |
| 717 | - (FromReference.refLog_smooth N hδ0 hδ0R) (FromReference.refAxial_smooth N hδ0 hδ0R) r u hξ).symm | |
| 718 | - rw [heq.iteratedDeriv_eq n] | |
| 719 | - exact hb T hT κ hκ y hy η hη | |
| 720 | - | |
| 721 | 461 | end NaturalOverlap |
| 722 | 462 | |
| 723 | 463 | end NavierStokes.ActivationBounds |
+0 −64 NavierStokes/ActivationCone.lean View file
| @@ -117,22 +117,6 @@ theorem collar_lower_of_errors {c B r e s v : ℝ} | ||
| 117 | 117 | have hm := mul_le_mul_of_nonneg_left (show r + s ≤ B + 1 by linarith) he |
| 118 | 118 | nlinarith |
| 119 | 119 | |
| 120 | -/-- Combining the ramp and collar estimates gives the actual lower-root | |
| 121 | -criterion, including the strict lower bound on `v`. -/ | |
| 122 | -theorem true_collar_of_errors {c B r e s P J v : ℝ} | |
| 123 | - (hc : 0 < c) (hr : 2 + c ≤ r) (hrB : r ≤ B) | |
| 124 | - (he : 0 < e) (he1 : e ≤ 1) (hs : 0 ≤ s) | |
| 125 | - (hsquarter : s ≤ 1 / 4) (hsc : s ≤ c / 2) | |
| 126 | - (hsB : (B + 1) * s ≤ 1 / 4) (heB : e * (B + 1) ≤ c / 4) | |
| 127 | - (hP : |P - r| ≤ s * e) (hv : |v - (1 - e) * r| ≤ s * e) | |
| 128 | - (hJ : |J| ≤ s * e) : | |
| 129 | - e ≤ P - v ∧ 2 + c / 2 < v ∧ 2 < P ∧ v < coneBound P J := by | |
| 130 | - obtain ⟨hgap, _, hquad⟩ := ramp_cone_of_errors hc hr hrB he he1 hs hsquarter hsc hsB hP hv hJ | |
| 131 | - have hvc := collar_lower_of_errors hc hr hrB he.le (by linarith) heB hv | |
| 132 | - have hv2 : 2 < v := by linarith | |
| 133 | - have hcone := (true_cone_iff hv2).mpr ⟨by linarith, hquad⟩ | |
| 134 | - exact ⟨hgap, hvc, hcone⟩ | |
| 135 | - | |
| 136 | 120 | /-- A single error tolerance is chosen from the fixed reference bounds. -/ |
| 137 | 121 | noncomputable def errorTolerance (c B : ℝ) : ℝ := |
| 138 | 122 | min (1 / 4) (min (c / 2) (1 / (4 * (B + 1)))) |
| @@ -272,62 +256,14 @@ theorem reducedStress_smooth {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ | ||
| 272 | 256 | (hF.mul (hA.add (hy.mul hdA))).prodMk |
| 273 | 257 | (hF.mul (hB.add (hy.mul (hdB.sub ((hκ.mul hB).mul hdR))))) |
| 274 | 258 | |
| 275 | -/-- A common coefficient bound makes the normalized stress direction nonzero | |
| 276 | -on a uniform first collar; the bound does not involve inverse damping. -/ | |
| 277 | -theorem reducedStress_first_positive {F A B κ y dA dB dR α M : ℝ} | |
| 278 | - (hF : 0 < F) (hα : 0 < α) (hA : α ≤ A) (hy : 0 ≤ y) | |
| 279 | - (hdA : |dA| ≤ M) (hsmall : y * M ≤ α / 2) : | |
| 280 | - 0 < (reducedStress F A B κ y dA dB dR).1 := by | |
| 281 | - apply mul_pos hF | |
| 282 | - have hlo := (abs_le.mp hdA).1 | |
| 283 | - have hm := mul_le_mul_of_nonneg_left hlo hy | |
| 284 | - nlinarith | |
| 285 | - | |
| 286 | -theorem reducedStress_nonzero {F A B κ y dA dB dR α M : ℝ} | |
| 287 | - (hF : 0 < F) (hα : 0 < α) (hA : α ≤ A) (hy : 0 ≤ y) | |
| 288 | - (hdA : |dA| ≤ M) (hsmall : y * M ≤ α / 2) : | |
| 289 | - reducedStress F A B κ y dA dB dR ≠ 0 := by | |
| 290 | - intro hz | |
| 291 | - have hpos := reducedStress_first_positive (B := B) (κ := κ) (dB := dB) (dR := dR) | |
| 292 | - hF hα hA hy hdA hsmall | |
| 293 | - rw [hz] at hpos | |
| 294 | - exact (lt_irrefl (0 : ℝ)) hpos | |
| 295 | - | |
| 296 | -theorem reducedStress_edge_projection (F A B κ dA dB dR : ℝ) : | |
| 297 | - (reducedStress F A B κ 0 dA dB dR).1 + | |
| 298 | - (B / A) * (reducedStress F A B κ 0 dA dB dR).2 = | |
| 299 | - F * (A + B ^ 2 / A) := by | |
| 300 | - simp only [reducedStress_at_edge] | |
| 301 | - ring | |
| 302 | - | |
| 303 | -/-- The true angular directional margin has a strictly positive edge limit. -/ | |
| 304 | -theorem reducedStress_edge_margin {F A B c κ dA dB dR : ℝ} | |
| 305 | - (hF : 0 < F) (hc : 0 < c) (hr : 2 + c ≤ A + B ^ 2 / A) : | |
| 306 | - 2 * F < (reducedStress F A B κ 0 dA dB dR).1 + | |
| 307 | - (B / A) * (reducedStress F A B κ 0 dA dB dR).2 := by | |
| 308 | - rw [reducedStress_edge_projection] | |
| 309 | - nlinarith | |
| 310 | - | |
| 311 | 259 | /-- The quadratic cone gap after removing the square of the flat activation. -/ |
| 312 | 260 | noncomputable def normalizedConeGap (r v y dP dv dJ : ℝ) : ℝ := |
| 313 | 261 | 2 * (r + y * (dP - dv)) ^ 2 - (v - 2) * (y * dJ) ^ 2 |
| 314 | 262 | |
| 315 | -theorem cone_gap_factorization (r e y dP dv dJ : ℝ) : | |
| 316 | - 2 * ((r + y * e * dP) - ((1 - e) * r + y * e * dv)) ^ 2 - | |
| 317 | - (((1 - e) * r + y * e * dv) - 2) * (y * e * dJ) ^ 2 = | |
| 318 | - e ^ 2 * normalizedConeGap r ((1 - e) * r + y * e * dv) y dP dv dJ := by | |
| 319 | - unfold normalizedConeGap | |
| 320 | - ring | |
| 321 | - | |
| 322 | 263 | @[simp] theorem normalizedConeGap_at_edge (r v dP dv dJ : ℝ) : |
| 323 | 264 | normalizedConeGap r v 0 dP dv dJ = 2 * r ^ 2 := by |
| 324 | 265 | simp [normalizedConeGap] |
| 325 | 266 | |
| 326 | -theorem normalizedConeGap_edge_positive {r : ℝ} (hr : r ≠ 0) (v dP dv dJ : ℝ) : | |
| 327 | - 0 < normalizedConeGap r v 0 dP dv dJ := by | |
| 328 | - rw [normalizedConeGap_at_edge] | |
| 329 | - positivity | |
| 330 | - | |
| 331 | 267 | /-- The actual cone coordinates formed from two stock coordinates and a shear ratio. -/ |
| 332 | 268 | noncomputable def stockProjection (p q t : ℝ) : ℝ := p + q * t |
| 333 | 269 | noncomputable def stockCross (p q t : ℝ) : ℝ := q - p * t |
+0 −32 NavierStokes/ActivationContinuation.lean View file
| @@ -1518,12 +1518,6 @@ theorem profiles_mem {p : Point} (hp : p.2 ∈ Icc (-1 : ℝ) 1) (hX : 0 ≤ p.1 | ||
| 1518 | 1518 | p ∈ r.reference.domain.carrier := |
| 1519 | 1519 | ReferenceJetBounds.reference_mem _ hX hp |
| 1520 | 1520 | |
| 1521 | -theorem bigTime_pos : 0 < r.reference.bigTime := r.refTime_pos.trans_le r.before_big | |
| 1522 | - | |
| 1523 | -theorem holdTime_pos : 0 < r.holdTime := by | |
| 1524 | - dsimp [holdTime] | |
| 1525 | - linarith [r.bigTime_pos, r.widthU_pos, r.widthA_pos] | |
| 1526 | - | |
| 1527 | 1521 | theorem startRadius_pos : 0 < r.startRadius := |
| 1528 | 1522 | mul_pos r.reference.radius0_pos (Real.exp_pos _) |
| 1529 | 1523 | |
| @@ -1991,14 +1985,6 @@ noncomputable def endpointAxial : ℝ → ℝ := | ||
| 1991 | 1985 | noncomputable def endpointLogarithm : ℝ → ℝ := |
| 1992 | 1986 | r.reference.endpointLog r.actTime r.kappa r.widthU r.widthA C |
| 1993 | 1987 | |
| 1994 | -theorem endpointAxial_smooth : | |
| 1995 | - ContDiffOn ℝ ∞ r.endpointAxial ReferencePath.parameterInterval := | |
| 1996 | - r.reference.endpointU_smooth ReferencePath.parameterInterval_open _ _ _ | |
| 1997 | - | |
| 1998 | -theorem endpointLogarithm_smooth : | |
| 1999 | - ContDiffOn ℝ ∞ r.endpointLogarithm ReferencePath.parameterInterval := | |
| 2000 | - r.reference.endpointLog_smooth ReferencePath.parameterInterval_open _ _ _ _ _ | |
| 2001 | - | |
| 2002 | 1988 | theorem initial_fields {p : Point} (hη : p.2 ∈ ReferencePath.parameterInterval) |
| 2003 | 1989 | (hX : p.1 ≤ (ReferencePath.Input.ofNatural hΛ F).endpoint * Real.exp r.refTime) : |
| 2004 | 1990 | r.profiles.f p = StressActivation.FromReference.f (ReferencePath.Input.ofNatural hΛ F) |
| @@ -2008,24 +1994,6 @@ theorem initial_fields {p : Point} (hη : p.2 ∈ ReferencePath.parameterInterva | ||
| 2008 | 1994 | TransitionRamp.physical_fields_eq_activation F hΛ hsmall r.refTime_pos r.refTime_bound hP0 |
| 2009 | 1995 | r.actTime_pos r.before_big r.widthU_pos r.widthA_pos hη hX |
| 2010 | 1996 | |
| 2011 | -theorem terminal_fields (hC : 0 < C) {p : Point} (hη : p.2 ∈ ReferencePath.parameterInterval) | |
| 2012 | - (hX : 110 ≤ p.1) : | |
| 2013 | - r.profiles.f p = C⁻¹ * Real.exp (Real.log (p.1 / 110) / 10 + r.endpointLogarithm p.2) / | |
| 2014 | - Real.sqrt (2 * p.1) ∧ r.profiles.U p = r.endpointAxial p.2 := by | |
| 2015 | - have hR : r.reference.radius0 < 110 := (r.reference.radius0_lt_100 r.bigTime_pos).trans (by norm_num) | |
| 2016 | - have hfit : r.reference.bigTime + r.widthU + r.widthA ≤ r.reference.finalTime := r.finish_before.le | |
| 2017 | - refine ⟨r.reference.physicalF_held ReferencePath.parameterInterval_open r.widthA_pos | |
| 2018 | - hfit hR hC hX hη, ?_⟩ | |
| 2019 | - exact r.reference.physicalU_held ReferencePath.parameterInterval_open r.widthU_pos | |
| 2020 | - (by linarith [r.widthA_pos]) hR hX hη | |
| 2021 | - | |
| 2022 | -theorem endpointLogarithm_eq_actual (hC : 0 < C) {η : ℝ} | |
| 2023 | - (hη : η ∈ ReferencePath.parameterInterval) : | |
| 2024 | - r.endpointLogarithm η = Real.log (C * r.profiles.E (110, η)) := by | |
| 2025 | - have hR : r.reference.radius0 < 110 := (r.reference.radius0_lt_100 r.bigTime_pos).trans (by norm_num) | |
| 2026 | - exact r.reference.endpointLog_eq_actual ReferencePath.parameterInterval_open r.widthA_pos | |
| 2027 | - r.finish_before.le hR hC hη | |
| 2028 | - | |
| 2029 | 1997 | end RampParameters |
| 2030 | 1998 | |
| 2031 | 1999 | end NavierStokes.ActivationContinuation |
+0 −259 NavierStokes/ActivationHolomorphic.lean View file
| @@ -281,13 +281,6 @@ theorem slice_continuous {Ω : Set ℂ} {F : CField} (hΩ : IsOpen Ω) | ||
| 281 | 281 | exact ((hF.contDiffAt ((isOpen_univ.prod hΩ).mem_nhds ⟨mem_univ _,hz⟩)).comp x |
| 282 | 282 | (contDiffAt_id.prodMk contDiffAt_const)).continuousAt |
| 283 | 283 | |
| 284 | -theorem primitive_hasDerivAt {Ω : Set ℂ} {F : CField} (hΩ : IsOpen Ω) | |
| 285 | - (hF : ContDiffOn ℝ ∞ F (univ ×ˢ Ω)) {p : CPoint} (hp : p.2 ∈ Ω) : | |
| 286 | - HasDerivAt (fun x => primitive F (x,p.2)) (F p) p.1 := by | |
| 287 | - have hc := slice_continuous hΩ hF hp | |
| 288 | - exact intervalIntegral.integral_hasDerivAt_right (hc.intervalIntegrable 0 p.1) | |
| 289 | - hc.aestronglyMeasurable.stronglyMeasurableAtFilter hc.continuousAt | |
| 290 | - | |
| 291 | 284 | def dampedSlope (δ : ℝ) (G : CField) (p : CPoint) : ℂ := |
| 292 | 285 | (ReferencePath.slopeCutoff δ p.1 : ℂ) * radial G p |
| 293 | 286 | |
| @@ -331,14 +324,6 @@ theorem regular_continuation {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) (hδT : 2* | ||
| 331 | 324 | exact hG.holomorphic 0 hT |
| 332 | 325 | exact hzero.add hi |
| 333 | 326 | |
| 334 | -theorem continuation_hasDerivAt {T δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < T) | |
| 335 | - {Ω : Set ℂ} (hΩ : IsOpen Ω) {G : CField} (hG : Regular (Iio T) Ω G) | |
| 336 | - {p : CPoint} (hp : p.2 ∈ Ω) : | |
| 337 | - HasDerivAt (fun x => continuation δ G (x,p.2)) (dampedSlope δ G p) p.1 := by | |
| 338 | - unfold continuation | |
| 339 | - simpa only [zero_add] using (hasDerivAt_const p.1 (G (0,p.2))).fun_add | |
| 340 | - (primitive_hasDerivAt hΩ (regular_dampedSlope hδ hδT hΩ hG).smooth hp) | |
| 341 | - | |
| 342 | 327 | theorem continuation_eq_initial {T δ : ℝ} (_ : 0 < T) (hδ : 0 < δ) (hδT : 2*δ < T) |
| 343 | 328 | {Ω : Set ℂ} (hΩ : IsOpen Ω) {G : CField} (hG : Regular (Iio T) Ω G) |
| 344 | 329 | {p : CPoint} (hp : p.2 ∈ Ω) (hx : p.1 ≤ δ) : continuation δ G p = G p := by |
| @@ -548,8 +533,6 @@ theorem logU_real (t η : ℝ) : E.logU (t,(η : ℂ)) = (N.logU (t,η) : ℂ) : | ||
| 548 | 533 | |
| 549 | 534 | def refLog (δ : ℝ) : CField := continuation δ E.logF |
| 550 | 535 | def refAxial (δ : ℝ) : CField := continuation δ E.logU |
| 551 | -def refF (δ : ℝ) : CField := attach N E.f (fun p => Complex.exp (E.refLog δ p)) | |
| 552 | -def refU (δ : ℝ) : CField := attach N E.U (E.refAxial δ) | |
| 553 | 536 | def actLog (T κ δ : ℝ) : CField := controlled T κ (E.refLog δ) |
| 554 | 537 | def actAxial (T κ δ : ℝ) : CField := controlled T κ (E.refAxial δ) |
| 555 | 538 | def actF (T κ δ : ℝ) : CField := attach N E.f (fun p => Complex.exp (E.actLog T κ δ p)) |
| @@ -597,16 +580,6 @@ theorem axial_attach_regular (hΩ : IsOpen Ω) {G : CField} (hG : Regular univ | ||
| 597 | 580 | change E.U (expPoint N (logPoint N p)) = E.U p |
| 598 | 581 | rw [expPoint_logPoint N hp] |
| 599 | 582 | |
| 600 | -theorem refF_regular (hΩ : IsOpen Ω) {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLimit) : | |
| 601 | - Regular (Ioi (-R)) Ω (E.refF δ) := | |
| 602 | - E.angular_attach_regular hΩ (E.refLog_regular hΩ hδ hδT) | |
| 603 | - (fun _ hp ht => E.refLog_initial hΩ hδ hδT hp ht) | |
| 604 | - | |
| 605 | -theorem refU_regular (hΩ : IsOpen Ω) {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLimit) : | |
| 606 | - Regular (Ioi (-R)) Ω (E.refU δ) := | |
| 607 | - E.axial_attach_regular hΩ (E.refAxial_regular hΩ hδ hδT) | |
| 608 | - (fun _ hp ht => E.refAxial_initial hΩ hδ hδT hp ht) | |
| 609 | - | |
| 610 | 583 | theorem actF_regular (hΩ : IsOpen Ω) {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) |
| 611 | 584 | (hδT : 2*δ < ReferencePath.rampLimit) (κ : ℝ) : Regular (Ioi (-R)) Ω (E.actF T κ δ) := by |
| 612 | 585 | apply E.angular_attach_regular hΩ (regular_controlled T κ hΩ (E.refLog_regular hΩ hδ hδT)) |
| @@ -649,23 +622,6 @@ theorem actAxial_real {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.ram | ||
| 649 | 622 | (StressActivation.FromReference.refAxial_smooth N hδ hδT) |
| 650 | 623 | (fun x _ hη => E.refAxial_real hδ hδT x hη) x hη |
| 651 | 624 | |
| 652 | -theorem refF_real {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLimit) | |
| 653 | - (x : ℝ) {η : ℝ} (hη : η ∈ ReferencePath.parameterInterval) : | |
| 654 | - E.refF δ (x,(η : ℂ)) = (N.refF δ (x,η) : ℂ) := by | |
| 655 | - by_cases hx : x ≤ N.endpoint | |
| 656 | - · simp only [refF,attach,ite_eq_left hx,ReferencePath.Input.refF,E.f_real] | |
| 657 | - · simp only [refF,attach,ite_eq_right hx,ReferencePath.Input.refF,logPoint] | |
| 658 | - rw [E.refLog_real hδ hδT _ hη,Complex.ofReal_exp] | |
| 659 | - rfl | |
| 660 | - | |
| 661 | -theorem refU_real {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLimit) | |
| 662 | - (x : ℝ) {η : ℝ} (hη : η ∈ ReferencePath.parameterInterval) : | |
| 663 | - E.refU δ (x,(η : ℂ)) = (N.refU δ (x,η) : ℂ) := by | |
| 664 | - by_cases hx : x ≤ N.endpoint | |
| 665 | - · simp only [refU,attach,ite_eq_left hx,ReferencePath.Input.refU,E.U_real] | |
| 666 | - · simp only [refU,attach,ite_eq_right hx,ReferencePath.Input.refU,logPoint] | |
| 667 | - exact E.refAxial_real hδ hδT _ hη | |
| 668 | - | |
| 669 | 625 | theorem actF_real {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLimit) |
| 670 | 626 | (T κ x : ℝ) {η : ℝ} (hη : η ∈ ReferencePath.parameterInterval) : |
| 671 | 627 | E.actF T κ δ (x,(η : ℂ)) = (StressActivation.FromReference.f N T κ δ (x,η) : ℂ) := by |
| @@ -682,16 +638,6 @@ theorem actU_real {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLim | ||
| 682 | 638 | · simp only [actU,attach,ite_eq_right hx,StressActivation.FromReference.U,logPoint] |
| 683 | 639 | exact E.actAxial_real hδ hδT T κ _ hη |
| 684 | 640 | |
| 685 | -theorem actF_ne_zero (T κ δ : ℝ) {p : CPoint} (hx : 0 ≤ p.1) (hz : p.2 ∈ Ω) : | |
| 686 | - E.actF T κ δ p ≠ 0 := by | |
| 687 | - by_cases he : p.1 ≤ N.endpoint | |
| 688 | - · have hp := E.initial_half p.1 ⟨hx,he⟩ p.2 hz | |
| 689 | - rw [actF,attach,ite_eq_left he] | |
| 690 | - intro hn | |
| 691 | - simp only [hn,Complex.zero_re,lt_self_iff_false] at hp | |
| 692 | - · simp only [actF,attach,ite_eq_right he] | |
| 693 | - exact Complex.exp_ne_zero _ | |
| 694 | - | |
| 695 | 641 | end NaturalExtension |
| 696 | 642 | |
| 697 | 643 | open NaturalAxisCoefficients NaturalEntrance |
| @@ -926,22 +872,6 @@ theorem exists_natural_extension (hΛ : 0 < Λ) (hsmall : NaturalAxisData.SmallP | ||
| 926 | 872 | |
| 927 | 873 | end NaturalConstruction |
| 928 | 874 | |
| 929 | -def radialJet (F : CField) (k : ℕ) (p : CPoint) : ℂ := | |
| 930 | - iteratedDeriv k (fun x => F (x,p.2)) p.1 | |
| 931 | - | |
| 932 | -theorem radialJet_succ (F : CField) (k : ℕ) : radialJet F (k+1) = radial (radialJet F k) := by | |
| 933 | - funext p | |
| 934 | - simp only [radialJet,radial,iteratedDeriv_succ] | |
| 935 | - | |
| 936 | -theorem Regular.radialJet {S : Set ℝ} {Ω : Set ℂ} {F : CField} | |
| 937 | - (hF : Regular S Ω F) (hS : IsOpen S) (hΩ : IsOpen Ω) (k : ℕ) : | |
| 938 | - Regular S Ω (radialJet F k) := by | |
| 939 | - induction k with | |
| 940 | - | zero => | |
| 941 | - unfold ActivationHolomorphic.radialJet | |
| 942 | - simpa only [iteratedDeriv_zero,Prod.eta] using hF | |
| 943 | - | succ k ih => rw [radialJet_succ]; exact ih.radial hS hΩ | |
| 944 | - | |
| 945 | 875 | theorem scale_half_interval {R : ℝ} (hR : 0 < R) {x : ℝ} (hx : x ∈ Ioi (-R)) |
| 946 | 876 | {t : ℝ} (ht : t ∈ Icc (0 : ℝ) 1) : t*x ∈ Ioi (-R) := by |
| 947 | 877 | rcases le_total x 0 with hn | hp |
| @@ -1037,18 +967,6 @@ theorem regular {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | ||
| 1037 | 967 | (fun _ hx _ ht => scale_half_interval E.natural.radius_pos hx ht), |
| 1038 | 968 | regular_pressure E.natural.radius_pos E.isOpen hf E.pressure0_analytic⟩ |
| 1039 | 969 | |
| 1040 | -/-- The width of the holomorphic domain is unchanged at every fixed radial | |
| 1041 | -derivative order. These are actual iterated derivatives of the functions. -/ | |
| 1042 | -theorem all_radial_jets {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 1043 | - (hδT : 2*δ < ReferencePath.rampLimit) (κ : ℝ) (k : ℕ) : | |
| 1044 | - Regular (Ioi (-R)) Ω (radialJet (E.f T κ δ) k) ∧ | |
| 1045 | - Regular (Ioi (-R)) Ω (radialJet (E.U T κ δ) k) ∧ | |
| 1046 | - Regular (Ioi (-R)) Ω (radialJet (E.Ubar T κ δ) k) ∧ | |
| 1047 | - Regular (Ioi (-R)) Ω (radialJet (E.Pi T κ δ) k) := by | |
| 1048 | - obtain ⟨hf,hu,hv,hp⟩ := E.regular hT hδ hδT κ | |
| 1049 | - exact ⟨hf.radialJet isOpen_Ioi E.isOpen k,hu.radialJet isOpen_Ioi E.isOpen k, | |
| 1050 | - hv.radialJet isOpen_Ioi E.isOpen k,hp.radialJet isOpen_Ioi E.isOpen k⟩ | |
| 1051 | - | |
| 1052 | 970 | /-- The signed-square pullbacks are smooth and holomorphic through the axis, |
| 1053 | 971 | and are even in the signed radius. -/ |
| 1054 | 972 | theorem signed_regular {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) |
| @@ -1061,9 +979,6 @@ theorem signed_regular {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | ||
| 1061 | 979 | exact ⟨hf.signedSquare E.natural.radius_pos,hu.signedSquare E.natural.radius_pos, |
| 1062 | 980 | hv.signedSquare E.natural.radius_pos,hp.signedSquare E.natural.radius_pos⟩ |
| 1063 | 981 | |
| 1064 | -theorem f_ne_zero (T κ δ : ℝ) {x : ℝ} (hx : 0 ≤ x) {z : ℂ} (hz : z ∈ Ω) : | |
| 1065 | - E.f T κ δ (x,z) ≠ 0 := E.natural.actF_ne_zero T κ δ hx hz | |
| 1066 | - | |
| 1067 | 982 | /-- Agreement includes the literal axis-to-radius average and pressure, |
| 1068 | 983 | with no independently prescribed moment data. -/ |
| 1069 | 984 | theorem real_profiles {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) |
| @@ -1079,28 +994,6 @@ theorem real_profiles {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | ||
| 1079 | 994 | · exact average_ofReal (fun y => E.natural.actU_real hδ hδT T κ y hη) x |
| 1080 | 995 | · exact pressure_ofReal (fun y => E.natural.actF_real hδ hδT T κ y hη) (E.pressure0_real η) x |
| 1081 | 996 | |
| 1082 | -theorem reference_regular {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLimit) : | |
| 1083 | - Regular (Ioi (-R)) Ω (E.natural.refF δ) ∧ | |
| 1084 | - Regular (Ioi (-R)) Ω (E.natural.refU δ) ∧ | |
| 1085 | - Regular (Ioi (-R)) Ω (average (E.natural.refU δ)) ∧ | |
| 1086 | - Regular (Ioi (-R)) Ω (pressure E.pressure0 (E.natural.refF δ)) := by | |
| 1087 | - have hf := E.natural.refF_regular E.isOpen hδ hδT | |
| 1088 | - have hu := E.natural.refU_regular E.isOpen hδ hδT | |
| 1089 | - exact ⟨hf,hu,hu.average isOpen_Ioi E.isOpen | |
| 1090 | - (fun _ hx _ ht => scale_half_interval E.natural.radius_pos hx ht), | |
| 1091 | - regular_pressure E.natural.radius_pos E.isOpen hf E.pressure0_analytic⟩ | |
| 1092 | - | |
| 1093 | -theorem reference_real_profiles {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLimit) | |
| 1094 | - (hP0 : ContDiff ℝ ∞ P0) (x : ℝ) {η : ℝ} (hη : η ∈ ReferencePath.parameterInterval) : | |
| 1095 | - let P := N.histories hδ hδT P0 hP0 | |
| 1096 | - E.natural.refF δ (x,(η : ℂ)) = (P.f (x,η) : ℂ) ∧ | |
| 1097 | - E.natural.refU δ (x,(η : ℂ)) = (P.U (x,η) : ℂ) ∧ | |
| 1098 | - average (E.natural.refU δ) (x,(η : ℂ)) = (P.Ubar (x,η) : ℂ) ∧ | |
| 1099 | - pressure E.pressure0 (E.natural.refF δ) (x,(η : ℂ)) = (P.pressure (x,η) : ℂ) := by | |
| 1100 | - refine ⟨E.natural.refF_real hδ hδT x hη,E.natural.refU_real hδ hδT x hη,?_,?_⟩ | |
| 1101 | - · exact average_ofReal (fun y => E.natural.refU_real hδ hδT y hη) x | |
| 1102 | - · exact pressure_ofReal (fun y => E.natural.refF_real hδ hδT y hη) (E.pressure0_real η) x | |
| 1103 | - | |
| 1104 | 997 | end InitialTube |
| 1105 | 998 | |
| 1106 | 999 | /-- Actual coefficient profiles and the actual pressure datum construct the |
| @@ -1123,158 +1016,6 @@ theorem exists_initialTube {h j σ Λ C : ℝ} {g a : ℝ → ℝ} {cap : ℝ} | ||
| 1123 | 1016 | pressure0_real := PressureDatum.complexPressure_ofReal g a |
| 1124 | 1017 | }⟩⟩ |
| 1125 | 1018 | |
| 1126 | -theorem natural_average_identity {h j Λ : ℝ} {P0 a : ℝ → ℝ} | |
| 1127 | - {f U V Pr : ProfileHistories.Field} (hs : NaturalProfile.IsNaturalSolution h j Λ P0 a f U V Pr) | |
| 1128 | - {p : ProfileHistories.Point} (hp : p ∈ NaturalProfile.domain Λ) : ProfileHistories.average U p = V p := by | |
| 1129 | - by_cases hx : p.1 = 0 | |
| 1130 | - · have he : p = (0,p.2) := Prod.ext hx rfl | |
| 1131 | - rw [he,ProfileHistories.average_at_axis,hs.U_axis p.2 hp.2,hs.average_axis p.2 hp.2] | |
| 1132 | - · rw [ProfileHistories.average_eq_quotient U hx] | |
| 1133 | - change (∫ X in (0 : ℝ)..p.1, U (X,p.2)) / p.1 = V p | |
| 1134 | - rw [← hs.average_integral p hp,mul_div_cancel_left₀ _ hx] | |
| 1135 | - | |
| 1136 | -/-- The natural average recovered by complex integration is the original | |
| 1137 | -natural profile's actual average, including the regular value at the axis. -/ | |
| 1138 | -theorem natural_Ubar_real {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} {d : AnalyticInputs h j σ P0} | |
| 1139 | - (F : CoefficientProfile d Λ C) {p : ProfileHistories.Point} (hp : p ∈ NaturalProfile.domain Λ) : | |
| 1140 | - average (naturalU F) (p.1,(p.2 : ℂ)) = (F.family.Ubar p : ℂ) := by | |
| 1141 | - rw [average_ofReal (fun x => naturalU_real F x p.2) p.1] | |
| 1142 | - exact congrArg Complex.ofReal (natural_average_identity F.family.natural hp) | |
| 1143 | - | |
| 1144 | -theorem natural_Pi_real {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} {d : AnalyticInputs h j σ P0} | |
| 1145 | - (F : CoefficientProfile d Λ C) {P : ℂ → ℂ} (hP : ∀ η : ℝ, P (η : ℂ) = (P0 η : ℂ)) | |
| 1146 | - {p : ProfileHistories.Point} (hp : p ∈ NaturalProfile.domain Λ) : | |
| 1147 | - pressure P (naturalF F) (p.1,(p.2 : ℂ)) = (F.family.Pi p : ℂ) := by | |
| 1148 | - rw [pressure_ofReal (fun x => naturalF_real F x p.2) (hP p.2) p.1] | |
| 1149 | - congr 1 | |
| 1150 | - have he := F.family.natural.pressure_integral p hp | |
| 1151 | - change F.family.Pi p - P0 p.2 = ProfileHistories.primitive (fun q => F.family.f q ^ 2) p at he | |
| 1152 | - linarith | |
| 1153 | - | |
| 1154 | -theorem iteratedDeriv_smooth {S : Set ℝ} (hS : IsOpen S) {g : ℝ → ℝ} | |
| 1155 | - (hg : ContDiffOn ℝ ∞ g S) (k : ℕ) : ContDiffOn ℝ ∞ (iteratedDeriv k g) S := by | |
| 1156 | - induction k with | |
| 1157 | - | zero => simpa only [iteratedDeriv_zero] using hg | |
| 1158 | - | succ k ih => | |
| 1159 | - rw [iteratedDeriv_succ] | |
| 1160 | - exact ih.deriv_of_isOpen hS (by simp) | |
| 1161 | - | |
| 1162 | -theorem iteratedDeriv_ofReal {S : Set ℝ} (hS : IsOpen S) {g : ℝ → ℝ} | |
| 1163 | - (hg : ContDiffOn ℝ ∞ g S) (k : ℕ) {x : ℝ} (hx : x ∈ S) : | |
| 1164 | - iteratedDeriv k (fun y => (g y : ℂ)) x = ((iteratedDeriv k g x : ℝ) : ℂ) := by | |
| 1165 | - induction k generalizing x with | |
| 1166 | - | zero => rfl | |
| 1167 | - | succ k ih => | |
| 1168 | - rw [iteratedDeriv_succ,iteratedDeriv_succ] | |
| 1169 | - have heq : iteratedDeriv k (fun y => (g y : ℂ)) =ᶠ[𝓝 x] | |
| 1170 | - (fun y => ((iteratedDeriv k g y : ℝ) : ℂ)) := by | |
| 1171 | - filter_upwards [hS.mem_nhds hx] with y hy | |
| 1172 | - exact ih hy | |
| 1173 | - rw [heq.deriv_eq] | |
| 1174 | - exact (((iteratedDeriv_smooth hS hg k).contDiffAt (hS.mem_nhds hx)).differentiableAt | |
| 1175 | - (by simp)).hasDerivAt.ofReal_comp.deriv | |
| 1176 | - | |
| 1177 | -/-- The holomorphic radial jets extend the actual real radial derivatives, | |
| 1178 | -including at the axis; agreement is derived from equality of the functions. -/ | |
| 1179 | -theorem radialJet_real {S : Set ℝ} {Ω : Set ℂ} (hS : IsOpen S) (_ : IsOpen Ω) | |
| 1180 | - {F : CField} (hF : Regular S Ω F) {g : ℝ → ℝ} {η : ℝ} (hη : (η : ℂ) ∈ Ω) | |
| 1181 | - (heq : ∀ x ∈ S, F (x,(η : ℂ)) = (g x : ℂ)) (k : ℕ) {x : ℝ} (hx : x ∈ S) : | |
| 1182 | - radialJet F k (x,(η : ℂ)) = ((iteratedDeriv k g x : ℝ) : ℂ) := by | |
| 1183 | - have hs : ContDiffOn ℝ ∞ (fun x => F (x,(η : ℂ))) S := | |
| 1184 | - hF.smooth.comp (contDiff_id.prodMk contDiff_const).contDiffOn (fun _ hx => ⟨hx,hη⟩) | |
| 1185 | - have hgr : ContDiffOn ℝ ∞ g S := by | |
| 1186 | - apply (Complex.reCLM.contDiff.comp_contDiffOn hs).congr | |
| 1187 | - intro y hy | |
| 1188 | - change g y = (F (y,(η : ℂ))).re | |
| 1189 | - rw [heq y hy,Complex.ofReal_re] | |
| 1190 | - have he : (fun y => F (y,(η : ℂ))) =ᶠ[𝓝 x] (fun y => (g y : ℂ)) := by | |
| 1191 | - filter_upwards [hS.mem_nhds hx] with y hy | |
| 1192 | - exact heq y hy | |
| 1193 | - exact (he.iteratedDeriv_eq k).trans (iteratedDeriv_ofReal hS hgr k hx) | |
| 1194 | - | |
| 1195 | -theorem InitialTube.real_radial_jets {N : ReferencePath.Input} {h R : ℝ} {P0 : ℝ → ℝ} {Ω : Set ℂ} | |
| 1196 | - (E : InitialTube N h P0 R Ω) {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 1197 | - (hδT : 2*δ < ReferencePath.rampLimit) (κ : ℝ) (hP0 : ContDiff ℝ ∞ P0) | |
| 1198 | - (k : ℕ) {x η : ℝ} (hx : x ∈ Ioi (-R)) (hη : η ∈ Icc (-1 : ℝ) 1) : | |
| 1199 | - let P := StressActivation.FromReference.histories N hT hδ hδT κ P0 hP0 | |
| 1200 | - radialJet (E.f T κ δ) k (x,(η : ℂ)) = ((iteratedDeriv k (fun y => P.f (y,η)) x : ℝ) : ℂ) ∧ | |
| 1201 | - radialJet (E.U T κ δ) k (x,(η : ℂ)) = ((iteratedDeriv k (fun y => P.U (y,η)) x : ℝ) : ℂ) ∧ | |
| 1202 | - radialJet (E.Ubar T κ δ) k (x,(η : ℂ)) = ((iteratedDeriv k (fun y => P.Ubar (y,η)) x : ℝ) : ℂ) ∧ | |
| 1203 | - radialJet (E.Pi T κ δ) k (x,(η : ℂ)) = ((iteratedDeriv k (fun y => P.pressure (y,η)) x : ℝ) : ℂ) := by | |
| 1204 | - have hη' := NaturalAxisCoefficients.original_interval_interior hη | |
| 1205 | - obtain ⟨hf,hu,hv,hp⟩ := E.regular hT hδ hδT κ | |
| 1206 | - refine ⟨radialJet_real isOpen_Ioi E.isOpen hf (E.real_mem η hη) ?_ k hx, | |
| 1207 | - radialJet_real isOpen_Ioi E.isOpen hu (E.real_mem η hη) ?_ k hx, | |
| 1208 | - radialJet_real isOpen_Ioi E.isOpen hv (E.real_mem η hη) ?_ k hx, | |
| 1209 | - radialJet_real isOpen_Ioi E.isOpen hp (E.real_mem η hη) ?_ k hx⟩ | |
| 1210 | - · intro y _ | |
| 1211 | - exact (E.real_profiles hT hδ hδT κ hP0 y hη').1 | |
| 1212 | - · intro y _ | |
| 1213 | - exact (E.real_profiles hT hδ hδT κ hP0 y hη').2.1 | |
| 1214 | - · intro y _ | |
| 1215 | - exact (E.real_profiles hT hδ hδT κ hP0 y hη').2.2.1 | |
| 1216 | - · intro y _ | |
| 1217 | - exact (E.real_profiles hT hδ hδT κ hP0 y hη').2.2.2 | |
| 1218 | - | |
| 1219 | -theorem scale_symmetric_interval {R x t : ℝ} (hx : x ∈ Ioo (-R) R) (ht : t ∈ Icc (0 : ℝ) 1) : | |
| 1220 | - t*x ∈ Ioo (-R) R := by | |
| 1221 | - apply abs_lt.mp | |
| 1222 | - calc | |
| 1223 | - |t*x| = t*|x| := by rw [abs_mul,abs_of_nonneg ht.1] | |
| 1224 | - _ ≤ |x| := mul_le_of_le_one_left (abs_nonneg x) ht.2 | |
| 1225 | - _ < R := abs_lt.mpr hx | |
| 1226 | - | |
| 1227 | -theorem InitialTube.natural_regular {N : ReferencePath.Input} {h R : ℝ} {P0 : ℝ → ℝ} {Ω : Set ℂ} | |
| 1228 | - (E : InitialTube N h P0 R Ω) : | |
| 1229 | - Regular (Ioo (-R) R) Ω E.natural.f ∧ | |
| 1230 | - Regular (Ioo (-R) R) Ω E.natural.U ∧ | |
| 1231 | - Regular (Ioo (-R) R) Ω (average E.natural.U) ∧ | |
| 1232 | - Regular (Ioo (-R) R) Ω (pressure E.pressure0 E.natural.f) := by | |
| 1233 | - refine ⟨E.natural.f_regular,E.natural.U_regular,?_,?_⟩ | |
| 1234 | - · exact E.natural.U_regular.average isOpen_Ioo E.isOpen | |
| 1235 | - (fun _ hx _ ht => scale_symmetric_interval hx ht) | |
| 1236 | - · exact (regular_parameter E.pressure0_analytic).add | |
| 1237 | - ((E.natural.f_regular.pow 2).primitive isOpen_Ioo E.isOpen | |
| 1238 | - (fun _ hx _ ht => scale_symmetric_interval hx ht)) | |
| 1239 | - | |
| 1240 | -theorem InitialTube.natural_all_radial_jets {N : ReferencePath.Input} {h R : ℝ} {P0 : ℝ → ℝ} {Ω : Set ℂ} | |
| 1241 | - (E : InitialTube N h P0 R Ω) (k : ℕ) : | |
| 1242 | - Regular (Ioo (-R) R) Ω (radialJet E.natural.f k) ∧ | |
| 1243 | - Regular (Ioo (-R) R) Ω (radialJet E.natural.U k) ∧ | |
| 1244 | - Regular (Ioo (-R) R) Ω (radialJet (average E.natural.U) k) ∧ | |
| 1245 | - Regular (Ioo (-R) R) Ω (radialJet (pressure E.pressure0 E.natural.f) k) := by | |
| 1246 | - obtain ⟨hf,hu,hv,hp⟩ := E.natural_regular | |
| 1247 | - exact ⟨hf.radialJet isOpen_Ioo E.isOpen k,hu.radialJet isOpen_Ioo E.isOpen k, | |
| 1248 | - hv.radialJet isOpen_Ioo E.isOpen k,hp.radialJet isOpen_Ioo E.isOpen k⟩ | |
| 1249 | - | |
| 1250 | -theorem InitialTube.reference_all_radial_jets {N : ReferencePath.Input} {h R : ℝ} {P0 : ℝ → ℝ} {Ω : Set ℂ} | |
| 1251 | - (E : InitialTube N h P0 R Ω) {δ : ℝ} (hδ : 0 < δ) (hδT : 2*δ < ReferencePath.rampLimit) (k : ℕ) : | |
| 1252 | - Regular (Ioi (-R)) Ω (radialJet (E.natural.refF δ) k) ∧ | |
| 1253 | - Regular (Ioi (-R)) Ω (radialJet (E.natural.refU δ) k) ∧ | |
| 1254 | - Regular (Ioi (-R)) Ω (radialJet (average (E.natural.refU δ)) k) ∧ | |
| 1255 | - Regular (Ioi (-R)) Ω (radialJet (pressure E.pressure0 (E.natural.refF δ)) k) := by | |
| 1256 | - obtain ⟨hf,hu,hv,hp⟩ := E.reference_regular hδ hδT | |
| 1257 | - exact ⟨hf.radialJet isOpen_Ioi E.isOpen k,hu.radialJet isOpen_Ioi E.isOpen k, | |
| 1258 | - hv.radialJet isOpen_Ioi E.isOpen k,hp.radialJet isOpen_Ioi E.isOpen k⟩ | |
| 1259 | - | |
| 1260 | -theorem InitialTube.natural_real_profiles {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} | |
| 1261 | - {d : AnalyticInputs h j σ P0} (F : CoefficientProfile d Λ C) (hΛ : 0 < Λ) | |
| 1262 | - {R : ℝ} {Ω : Set ℂ} (E : InitialTube (ReferenceJetBounds.referenceInput F hΛ) h P0 R Ω) | |
| 1263 | - {p : ProfileHistories.Point} (hp : p ∈ NaturalProfile.domain Λ) : | |
| 1264 | - E.natural.f (p.1,(p.2 : ℂ)) = (F.family.f p : ℂ) ∧ | |
| 1265 | - E.natural.U (p.1,(p.2 : ℂ)) = (F.family.U p : ℂ) ∧ | |
| 1266 | - average E.natural.U (p.1,(p.2 : ℂ)) = (F.family.Ubar p : ℂ) ∧ | |
| 1267 | - pressure E.pressure0 E.natural.f (p.1,(p.2 : ℂ)) = (F.family.Pi p : ℂ) := by | |
| 1268 | - refine ⟨E.natural.f_real _ _,E.natural.U_real _ _,?_,?_⟩ | |
| 1269 | - · rw [average_ofReal (fun x => E.natural.U_real x p.2) p.1] | |
| 1270 | - exact congrArg Complex.ofReal (natural_average_identity F.family.natural hp) | |
| 1271 | - · rw [pressure_ofReal (fun x => E.natural.f_real x p.2) (E.pressure0_real p.2) p.1] | |
| 1272 | - congr 1 | |
| 1273 | - change P0 p.2 + ProfileHistories.primitive (fun q => F.family.f q ^ 2) p = F.family.Pi p | |
| 1274 | - have he := F.family.natural.pressure_integral p hp | |
| 1275 | - change F.family.Pi p - P0 p.2 = ProfileHistories.primitive (fun q => F.family.f q ^ 2) p at he | |
| 1276 | - linarith | |
| 1277 | - | |
| 1278 | 1019 | end NavierStokes.ActivationHolomorphic |
| 1279 | 1020 | |
| 1280 | 1021 | end |
+0 −91 NavierStokes/ActivationStocks.lean View file
| @@ -174,11 +174,6 @@ end SmoothPairs | ||
| 174 | 174 | noncomputable def etaD (F : Field) (p : Point) : ℝ := |
| 175 | 175 | deriv (fun η => F (p.1, η)) p.2 |
| 176 | 176 | |
| 177 | -theorem etaD_eq_parameterPartial {D : RadialDomain} {F : Field} | |
| 178 | - (hF : ContDiffOn ℝ ∞ F D.carrier) {p : Point} (hp : p ∈ D.carrier) : | |
| 179 | - etaD F p = parameterPartial F p := | |
| 180 | - (parameterPartial_hasDerivAt D hF hp).deriv | |
| 181 | - | |
| 182 | 177 | noncomputable def logViewOne (h X0 : ℝ) (f : Field) (H : HistoryRow → Field) (p : Point) : ℝ := |
| 183 | 178 | stockOne h (radius X0 p.1) p.2 (f p) (H .mass p) (etaD (H .mass) p) |
| 184 | 179 | (H .angular p) (etaD (H .angular) p) (H .transport p) (etaD (H .transport) p) |
| @@ -359,14 +354,6 @@ theorem etaPair_actual_eq {J : Set ℝ} (hJ : IsOpen J) (A : StockPair J) | ||
| 359 | 354 | filter_upwards [hJ.mem_nhds hη] with ξ hξ |
| 360 | 355 | exact heq ξ hξ |
| 361 | 356 | |
| 362 | -theorem etaPair_reference_eq {J : Set ℝ} (hJ : IsOpen J) (A : StockPair J) | |
| 363 | - (F : Field) (κ T u : ℝ) {η : ℝ} (hη : η ∈ J) | |
| 364 | - (heq : ∀ ξ ∈ J, A.reference ((κ, T), (u, ξ)) = F (T * u, ξ)) : | |
| 365 | - (etaPair hJ A).reference ((κ, T), (u, η)) = etaD F (T * u, η) := by | |
| 366 | - apply Filter.EventuallyEq.deriv_eq | |
| 367 | - filter_upwards [hJ.mem_nhds hη] with ξ hξ | |
| 368 | - exact heq ξ hξ | |
| 369 | - | |
| 370 | 357 | noncomputable def controlledPair {J : Set ℝ} (hJ : IsOpen J) {U : Field} |
| 371 | 358 | (hU : ContDiffOn ℝ ∞ U (logDomain J hJ).carrier) : StockPair J where |
| 372 | 359 | actual := ActivationBounds.controlledValue U |
| @@ -612,10 +599,6 @@ theorem historyEtaPair_actual {T : ℝ} (hT : T ≠ 0) (κ u : ℝ) | ||
| 612 | 599 | intro ξ hξ |
| 613 | 600 | exact historyPair_actual_eq X0 initial hJ hL hU hi hT κ r u hξ |
| 614 | 601 | |
| 615 | -theorem historyEtaPair_reference (q : ScaledPoint) (r : HistoryRow) : | |
| 616 | - (etaPair hJ (historyPair X0 initial hJ hL hU hi r)).reference q = | |
| 617 | - etaD (logHistory X0 initial (referenceAngular L) U r) (q.1.2 * q.2.1, q.2.2) := rfl | |
| 618 | - | |
| 619 | 602 | theorem activationOnePair_actual {T : ℝ} (hT : T ≠ 0) (κ u : ℝ) |
| 620 | 603 | {η : ℝ} (hη : η ∈ J) : |
| 621 | 604 | (activationOnePair h hX0 initial hJ hL hU hi hcoef).actual ((κ, T), (u, η)) = |
| @@ -693,20 +676,6 @@ theorem exists_log_stock_factors : | ||
| 693 | 676 | rwa [activationTwoPair_actual h hX0 initial hJ hL hU hi hcoef hT κ u hη, |
| 694 | 677 | activationTwoPair_reference h hX0 initial hJ hL hU hi hcoef] at he |
| 695 | 678 | |
| 696 | -theorem activationOnePair_zero (κ u : ℝ) {η : ℝ} (hη : η ∈ J) : | |
| 697 | - (activationOnePair h hX0 initial hJ hL hU hi hcoef).actual ((κ, 0), (u, η)) = | |
| 698 | - (activationOnePair h hX0 initial hJ hL hU hi hcoef).reference ((κ, 0), (u, η)) := by | |
| 699 | - have he := (activationOnePair h hX0 initial hJ hL hU hi hcoef).difference | |
| 700 | - ((κ, 0), (u, η)) ⟨mem_univ _, mem_univ _, hη⟩ | |
| 701 | - simpa only [scaledDistance, zero_mul, sub_eq_zero] using he | |
| 702 | - | |
| 703 | -theorem activationTwoPair_zero (κ u : ℝ) {η : ℝ} (hη : η ∈ J) : | |
| 704 | - (activationTwoPair h hX0 initial hJ hL hU hi hcoef).actual ((κ, 0), (u, η)) = | |
| 705 | - (activationTwoPair h hX0 initial hJ hL hU hi hcoef).reference ((κ, 0), (u, η)) := by | |
| 706 | - have he := (activationTwoPair h hX0 initial hJ hL hU hi hcoef).difference | |
| 707 | - ((κ, 0), (u, η)) ⟨mem_univ _, mem_univ _, hη⟩ | |
| 708 | - simpa only [scaledDistance, zero_mul, sub_eq_zero] using he | |
| 709 | - | |
| 710 | 679 | include hX0 hJ hL hU hi hcoef in |
| 711 | 680 | theorem log_stocks_uniform_jets {K : Set ℝ} (hK : IsCompact K) (hKJ : K ⊆ J) |
| 712 | 681 | (T0 : ℝ) (n : ℕ) : |
| @@ -750,66 +719,6 @@ open ReferencePath | ||
| 750 | 719 | |
| 751 | 720 | variable (N : ReferencePath.Input) |
| 752 | 721 | |
| 753 | -/-- The factors concern the actual recomputed ACT and REF lag histories. | |
| 754 | -Their common scaled domain contains `T=0`. -/ | |
| 755 | -theorem exists_physical_stock_factors {δ : ℝ} (hδ : 0 < δ) (hδT : 2 * δ < rampLimit) | |
| 756 | - (h : ℝ) (hcoef : ∀ η ∈ parameterInterval, NaturalAxisData.L h η ≠ 0) | |
| 757 | - (P0 : ℝ → ℝ) (hP0 : ContDiff ℝ ∞ P0) : | |
| 758 | - ∃ P Q : ScaledPoint → ℝ, | |
| 759 | - ContDiffOn ℝ ∞ P (scaledDomain parameterInterval) ∧ | |
| 760 | - ContDiffOn ℝ ∞ Q (scaledDomain parameterInterval) ∧ | |
| 761 | - ∀ T : ℝ, ∀ hT : 0 < T, ∀ κ u η : ℝ, η ∈ parameterInterval → | |
| 762 | - profileStockOne (StressActivation.FromReference.histories N hT hδ hδT κ P0 hP0) h | |
| 763 | - (radius N.endpoint (T * u), η) - | |
| 764 | - profileStockOne (N.histories hδ hδT P0 hP0) h (radius N.endpoint (T * u), η) = | |
| 765 | - scaledDistance ((κ, T), (u, η)) * P ((κ, T), (u, η)) ∧ | |
| 766 | - profileStockTwo (StressActivation.FromReference.histories N hT hδ hδT κ P0 hP0) h | |
| 767 | - (radius N.endpoint (T * u), η) - | |
| 768 | - profileStockTwo (N.histories hδ hδT P0 hP0) h (radius N.endpoint (T * u), η) = | |
| 769 | - scaledDistance ((κ, T), (u, η)) * Q ((κ, T), (u, η)) := by | |
| 770 | - obtain ⟨P, Q, hP, hQ, hf⟩ := exists_log_stock_factors h N.endpoint_pos | |
| 771 | - (initial N hδ hδT P0 hP0) parameterInterval_open | |
| 772 | - (StressActivation.FromReference.refLog_smooth N hδ hδT) | |
| 773 | - (StressActivation.FromReference.refAxial_smooth N hδ hδT) | |
| 774 | - (initial_smooth N hδ hδT P0 hP0) hcoef | |
| 775 | - refine ⟨P, Q, hP, hQ, ?_⟩ | |
| 776 | - intro T hT κ u η hη | |
| 777 | - rw [actual_stockOne_logView N hT hδ hδT κ h P0 hP0 (T * u) hη, | |
| 778 | - reference_stockOne_logView N hδ hδT h P0 hP0 (T * u) hη, | |
| 779 | - actual_stockTwo_logView N hT hδ hδT κ h P0 hP0 (T * u) hη, | |
| 780 | - reference_stockTwo_logView N hδ hδT h P0 hP0 (T * u) hη] | |
| 781 | - exact hf T hT.ne' κ u η hη | |
| 782 | - | |
| 783 | -/-- One constant controls both actual stock errors for every sufficiently | |
| 784 | -small positive width and all activation parameters, including `κ=0`. -/ | |
| 785 | -theorem physical_stocks_uniform_bound {δ : ℝ} (hδ : 0 < δ) (hδT : 2 * δ < rampLimit) | |
| 786 | - (h : ℝ) (hcoef : ∀ η ∈ parameterInterval, NaturalAxisData.L h η ≠ 0) | |
| 787 | - (P0 : ℝ → ℝ) (hP0 : ContDiff ℝ ∞ P0) (T0 : ℝ) : | |
| 788 | - ∃ M : ℝ, 0 ≤ M ∧ ∀ T : ℝ, ∀ hT : 0 < T, T ≤ T0 → ∀ κ ∈ Icc (0 : ℝ) 1, | |
| 789 | - ∀ y ∈ Icc (0 : ℝ) T, ∀ η ∈ Icc (-1 : ℝ) 1, | |
| 790 | - |profileStockOne (StressActivation.FromReference.histories N hT hδ hδT κ P0 hP0) h | |
| 791 | - (radius N.endpoint y, η) - | |
| 792 | - profileStockOne (N.histories hδ hδT P0 hP0) h (radius N.endpoint y, η)| ≤ | |
| 793 | - M * y * activation T κ y ∧ | |
| 794 | - |profileStockTwo (StressActivation.FromReference.histories N hT hδ hδT κ P0 hP0) h | |
| 795 | - (radius N.endpoint y, η) - | |
| 796 | - profileStockTwo (N.histories hδ hδT P0 hP0) h (radius N.endpoint y, η)| ≤ | |
| 797 | - M * y * activation T κ y := by | |
| 798 | - have hKJ : Icc (-1 : ℝ) 1 ⊆ parameterInterval := | |
| 799 | - NaturalAxisCoefficients.original_interval_interior | |
| 800 | - obtain ⟨M, hM, hbound⟩ := log_stocks_uniform_jets h N.endpoint_pos | |
| 801 | - (initial N hδ hδT P0 hP0) parameterInterval_open | |
| 802 | - (StressActivation.FromReference.refLog_smooth N hδ hδT) | |
| 803 | - (StressActivation.FromReference.refAxial_smooth N hδ hδT) | |
| 804 | - (initial_smooth N hδ hδT P0 hP0) hcoef isCompact_Icc hKJ T0 0 | |
| 805 | - refine ⟨M, hM, ?_⟩ | |
| 806 | - intro T hT hTT κ hκ y hy η hη | |
| 807 | - rw [actual_stockOne_logView N hT hδ hδT κ h P0 hP0 y (hKJ hη), | |
| 808 | - reference_stockOne_logView N hδ hδT h P0 hP0 y (hKJ hη), | |
| 809 | - actual_stockTwo_logView N hT hδ hδT κ h P0 hP0 y (hKJ hη), | |
| 810 | - reference_stockTwo_logView N hδ hδT h P0 hP0 y (hKJ hη)] | |
| 811 | - simpa only [iteratedDeriv_zero] using hbound T ⟨hT, hTT⟩ κ hκ y hy η hη | |
| 812 | - | |
| 813 | 722 | end FromReference |
| 814 | 723 | |
| 815 | 724 | /-! ## Agreement of the reference stocks with the natural stress-free stocks -/ |
+0 −50 NavierStokes/ActiveAnnulusWeight.lean View file
| @@ -76,41 +76,6 @@ theorem edgeDistance_le_left (a b y : ℝ) : edgeDistance a b y ≤ y-a := | ||
| 76 | 76 | theorem edgeDistance_le_right (a b y : ℝ) : edgeDistance a b y ≤ b-y := |
| 77 | 77 | (min_le_right _ _).trans (min_le_right _ _) |
| 78 | 78 | |
| 79 | -theorem iteratedDeriv_zero_function (n : ℕ) : iteratedDeriv n (fun _ : ℝ => (0 : ℝ)) = fun _ => 0 := by | |
| 80 | - induction n with | |
| 81 | - | zero => rfl | |
| 82 | - | succ n ih => simp only [iteratedDeriv_succ,ih,deriv_const'] | |
| 83 | - | |
| 84 | -theorem flat_left_of_zero {f : ℝ → ℝ} (hf : ContDiff ℝ ∞ f) {a : ℝ} | |
| 85 | - (hz : ∀ x < a, f x = 0) (n : ℕ) : iteratedDeriv n f a = 0 := by | |
| 86 | - have heq : EqOn (iteratedDeriv n f) (fun _ => 0) (Iio a) := by | |
| 87 | - intro x hx | |
| 88 | - have he : f =ᶠ[𝓝 x] (fun _ => 0) := by | |
| 89 | - filter_upwards [Iio_mem_nhds hx] with y hy | |
| 90 | - exact hz y hy | |
| 91 | - rw [he.iteratedDeriv_eq n,iteratedDeriv_zero_function] | |
| 92 | - have hc := heq.closure (hf.continuous_iteratedDeriv n (by exact_mod_cast le_top)) continuous_const | |
| 93 | - exact hc (by simp) | |
| 94 | - | |
| 95 | -theorem flat_right_of_zero {f : ℝ → ℝ} (hf : ContDiff ℝ ∞ f) {b : ℝ} | |
| 96 | - (hz : ∀ x, b < x → f x = 0) (n : ℕ) : iteratedDeriv n f b = 0 := by | |
| 97 | - have heq : EqOn (iteratedDeriv n f) (fun _ => 0) (Ioi b) := by | |
| 98 | - intro x hx | |
| 99 | - have he : f =ᶠ[𝓝 x] (fun _ => 0) := by | |
| 100 | - filter_upwards [Ioi_mem_nhds hx] with y hy | |
| 101 | - exact hz y hy | |
| 102 | - rw [he.iteratedDeriv_eq n,iteratedDeriv_zero_function] | |
| 103 | - have hc := heq.closure (hf.continuous_iteratedDeriv n (by exact_mod_cast le_top)) continuous_const | |
| 104 | - exact hc (by simp) | |
| 105 | - | |
| 106 | -theorem weight_flat_left {c : ℝ} (hc : 0 < c) (a b : ℝ) (n : ℕ) : | |
| 107 | - iteratedDeriv n (weight c a b) a = 0 := | |
| 108 | - flat_left_of_zero (weight_smooth hc a b) (fun _ hx => weight_zero_left c b hx.le) n | |
| 109 | - | |
| 110 | -theorem weight_flat_right {c : ℝ} (hc : 0 < c) (a b : ℝ) (n : ℕ) : | |
| 111 | - iteratedDeriv n (weight c a b) b = 0 := | |
| 112 | - flat_right_of_zero (weight_smooth hc a b) (fun _ hx => weight_zero_right c a hx.le) n | |
| 113 | - | |
| 114 | 79 | theorem radialWeight_zero_left (c b : ℝ) {a X : ℝ} (hX : X ≤ Real.exp a) : radialWeight c a b X = 0 := by |
| 115 | 80 | by_cases hx : 0 < X |
| 116 | 81 | · rw [radialWeight,ite_eq_left hx] |
| @@ -143,14 +108,6 @@ theorem radialWeight_smooth {c : ℝ} (hc : 0 < c) (a b : ℝ) : ContDiff ℝ | ||
| 143 | 108 | exact radialWeight_zero_left c b hxp.le |
| 144 | 109 | exact contDiffAt_const.congr_of_eventuallyEq he |
| 145 | 110 | |
| 146 | -theorem radialWeight_flat_left {c : ℝ} (hc : 0 < c) (a b : ℝ) (n : ℕ) : | |
| 147 | - iteratedDeriv n (radialWeight c a b) (Real.exp a) = 0 := | |
| 148 | - flat_left_of_zero (radialWeight_smooth hc a b) (fun _ hx => radialWeight_zero_left c b hx.le) n | |
| 149 | - | |
| 150 | -theorem radialWeight_flat_right {c : ℝ} (hc : 0 < c) (a b : ℝ) (n : ℕ) : | |
| 151 | - iteratedDeriv n (radialWeight c a b) (Real.exp b) = 0 := | |
| 152 | - flat_right_of_zero (radialWeight_smooth hc a b) (fun _ hx => radialWeight_zero_right c a hx.le) n | |
| 153 | - | |
| 154 | 111 | theorem weight_lower_middle {c a b d y : ℝ} (hc : 0 ≤ c) (hd : 0 < d) |
| 155 | 112 | (hy : y ∈ Icc (a+d) (b-d)) : |
| 156 | 113 | FlatCutoff.edge c d * FlatCutoff.edge 4 d ≤ weight c a b y := by |
| @@ -682,13 +639,6 @@ theorem unitOfTilt_smooth : ContDiff ℝ ∞ unitOfTilt := by | ||
| 682 | 639 | have hne (t : ℝ) : Real.sqrt (1+t^2) ≠ 0 := (Real.sqrt_pos.2 (by positivity)).ne' |
| 683 | 640 | exact (hs.inv hne).prodMk (contDiff_id.div hs hne) |
| 684 | 641 | |
| 685 | -theorem unitOfTilt_normSq (t : ℝ) : (unitOfTilt t).1^2 + (unitOfTilt t).2^2 = 1 := by | |
| 686 | - have hs : 0 < Real.sqrt (1+t^2) := Real.sqrt_pos.2 (by positivity) | |
| 687 | - have hsq := Real.sq_sqrt (by positivity : 0 ≤ 1+t^2) | |
| 688 | - dsimp [unitOfTilt] | |
| 689 | - field_simp | |
| 690 | - exact hsq.symm | |
| 691 | - | |
| 692 | 642 | theorem tilt_smul {r : ℝ} (hr : r ≠ 0) (v : ℝ × ℝ) : tilt (r • v) = tilt v := by |
| 693 | 643 | simp only [tilt,Prod.smul_fst,Prod.smul_snd,smul_eq_mul] |
| 694 | 644 | exact mul_div_mul_left _ _ hr |
+0 −94 NavierStokes/AlignedProfileSpectralCone.lean View file
| @@ -141,100 +141,6 @@ theorem modulated_chartTarget_cones | ||
| 141 | 141 | ext i |
| 142 | 142 | fin_cases i <;> simp [PartitionedCovariance.chartTarget, stressVector, he.1, he.2] |
| 143 | 143 | |
| 144 | -/-- Continuity of the actual leading frequency, actual radial shear, and | |
| 145 | -actual leading stress follows from the constructed smooth profile. -/ | |
| 146 | -theorem modulated_continuousOn {K : Set Slow} | |
| 147 | - (hpos : ∀ p ∈ K, 0 < p.2.2 ∧ 0 < p.1) : | |
| 148 | - let F₀ := BaseChartJets.leadingFrequency F.data.h W.axis.normalization | |
| 149 | - (EntranceAlignedBase.modulatedCoefficients H v) | |
| 150 | - let G₀ := BaseChartJets.leadingAxial F.data.h (EntranceAlignedBase.modulatedCoefficients H v) | |
| 151 | - ContinuousOn F₀ K ∧ ContinuousOn (PhaseEstimates.shearVector F₀ G₀) K ∧ | |
| 152 | - ContinuousOn (fun p => stressVector v.profiles F.data.h | |
| 153 | - (BaseChartJets.normalizedCoordinates F.data.h p).2) K := by | |
| 154 | - dsimp only | |
| 155 | - have hh := ConstructedSlowBase.height_pos W | |
| 156 | - have hh1 := ConstructedSlowBase.height_lt_half W | |
| 157 | - have hd := EntranceAlignedBase.modulated_smooth H v | |
| 158 | - have hF : ContinuousOn (BaseChartJets.leadingFrequency F.data.h W.axis.normalization | |
| 159 | - (EntranceAlignedBase.modulatedCoefficients H v)) K := | |
| 160 | - fun p hp => (leadingFrequency_smoothAt hh hh1 hd (hpos p hp).1 (hpos p hp).2).continuousAt.continuousWithinAt | |
| 161 | - have hA : ContinuousOn (fun p => ActivationContinuation.shearA v.profiles | |
| 162 | - (BaseChartJets.normalizedCoordinates F.data.h p).2) K := by | |
| 163 | - intro p hp | |
| 164 | - have hx := normalized_X_pos hh hh1 (hpos p hp).1 (hpos p hp).2 | |
| 165 | - have he := abs_le.mp (BaseChartJets.normalizedCoordinates_eta hh hh1 (hpos p hp).1).le | |
| 166 | - have hs := NominalConeAssembly.shears_smoothAt v.profiles | |
| 167 | - (d.domain_nonnegative hx.le (d.parameters_contains he)) hx (v.positive_f hx he).ne' | |
| 168 | - exact (hs.1.continuousAt.comp_of_eq | |
| 169 | - (BaseChartJets.normalizedCoordinates_smoothAt hh hh1 (hpos p hp).1).snd.continuousAt rfl).continuousWithinAt | |
| 170 | - have hC : ContinuousOn (fun p => ActivationContinuation.shearB v.profiles | |
| 171 | - (BaseChartJets.normalizedCoordinates F.data.h p).2) K := by | |
| 172 | - intro p hp | |
| 173 | - have hx := normalized_X_pos hh hh1 (hpos p hp).1 (hpos p hp).2 | |
| 174 | - have he := abs_le.mp (BaseChartJets.normalizedCoordinates_eta hh hh1 (hpos p hp).1).le | |
| 175 | - have hs := NominalConeAssembly.shears_smoothAt v.profiles | |
| 176 | - (d.domain_nonnegative hx.le (d.parameters_contains he)) hx (v.positive_f hx he).ne' | |
| 177 | - exact (hs.2.continuousAt.comp_of_eq | |
| 178 | - (BaseChartJets.normalizedCoordinates_smoothAt hh hh1 (hpos p hp).1).snd.continuousAt rfl).continuousWithinAt | |
| 179 | - refine ⟨hF, ?_, ?_⟩ | |
| 180 | - · apply (signedShear_continuousOn hF hA hC).congr | |
| 181 | - intro p hp | |
| 182 | - have hx := normalized_X_pos hh hh1 (hpos p hp).1 (hpos p hp).2 | |
| 183 | - have he := abs_le.mp (BaseChartJets.normalizedCoordinates_eta hh hh1 (hpos p hp).1).le | |
| 184 | - have hs := NominalConeAssembly.modulated_shears_eq v.profiles | |
| 185 | - (d.domain_nonnegative hx.le (d.parameters_contains he)) hx (v.positive_f hx he).ne' | |
| 186 | - rw [modulated_shear_eq H v (hpos p hp).1 (hpos p hp).2, hs.1, hs.2] | |
| 187 | - · apply (PiLp.continuous_toLp 2 _).comp_continuousOn | |
| 188 | - change ContinuousOn (fun p => (![LeadingStress.theta v.profiles F.data.h | |
| 189 | - (BaseChartJets.normalizedCoordinates F.data.h p).2, | |
| 190 | - LeadingStress.axial v.profiles F.data.h (BaseChartJets.normalizedCoordinates F.data.h p).2] : Fin 2 → ℝ)) K | |
| 191 | - have hS (p : Slow) (hp : p ∈ K) := by | |
| 192 | - have hx := normalized_X_pos hh hh1 (hpos p hp).1 (hpos p hp).2 | |
| 193 | - have he := abs_le.mp (BaseChartJets.normalizedCoordinates_eta hh hh1 (hpos p hp).1).le | |
| 194 | - have hdom := d.domain_nonnegative hx.le (d.parameters_contains he) | |
| 195 | - have hL : CoordinateAlgebra.L F.data.h (BaseChartJets.normalizedCoordinates F.data.h p).2.2 ≠ 0 := | |
| 196 | - (NaturalAxisData.L_pos W.axis.small he).ne' | |
| 197 | - exact And.intro (LeadingStress.theta_smoothAt v.profiles F.data.h hdom hx.ne' | |
| 198 | - (v.positive_f hx he).ne' hL) (LeadingStress.axial_smoothAt v.profiles F.data.h hdom hx.ne' hL) | |
| 199 | - apply continuousOn_pi.mpr | |
| 200 | - intro i | |
| 201 | - fin_cases i | |
| 202 | - · exact fun p hp => ((hS p hp).1.continuousAt.comp_of_eq | |
| 203 | - (BaseChartJets.normalizedCoordinates_smoothAt hh hh1 (hpos p hp).1).snd.continuousAt rfl).continuousWithinAt | |
| 204 | - · exact fun p hp => ((hS p hp).2.continuousAt.comp_of_eq | |
| 205 | - (BaseChartJets.normalizedCoordinates_smoothAt hh hh1 (hpos p hp).1).snd.continuousAt rfl).continuousWithinAt | |
| 206 | - | |
| 207 | -/-- Uniform reference bounds and one mixed target margin for any compact | |
| 208 | -positive-time subset of the actual active annulus. -/ | |
| 209 | -theorem modulated_compact_bounds (hcone : LeadingStressWeights.FullTrueCone v) | |
| 210 | - {K : Set Slow} (hK : IsCompact K) (hpos : ∀ p ∈ K, 0 < p.2.2 ∧ 0 < p.1) | |
| 211 | - (hactive : ∀ p ∈ K, NominalConeAssembly.activeLeft W < | |
| 212 | - (BaseChartJets.normalizedCoordinates F.data.h p).2.1 ∧ | |
| 213 | - (BaseChartJets.normalizedCoordinates F.data.h p).2.1 < NominalConeAssembly.activeRight W) : | |
| 214 | - let F₀ := BaseChartJets.leadingFrequency F.data.h W.axis.normalization | |
| 215 | - (EntranceAlignedBase.modulatedCoefficients H v) | |
| 216 | - let G₀ := BaseChartJets.leadingAxial F.data.h (EntranceAlignedBase.modulatedCoefficients H v) | |
| 217 | - let g₀ := PhaseEstimates.shearVector F₀ G₀ | |
| 218 | - let T₀ := fun p => stressVector v.profiles F.data.h (BaseChartJets.normalizedCoordinates F.data.h p).2 | |
| 219 | - ∃ M u eta delta : ℝ, 1 ≤ M ∧ 0 < u ∧ 0 < eta ∧ 0 < delta ∧ | |
| 220 | - (∀ p ∈ K, PrimaryRepresentatives.ParameterBounds M p.1 (F₀ p) (g₀ p)) ∧ | |
| 221 | - ∀ p₀ ∈ K, ∀ p ∈ K, dist p p₀ < delta → | |
| 222 | - ⟪T₀ p, PrimaryRepresentatives.normalDirection (g₀ p₀)⟫_ℝ ≤ -eta ∧ | |
| 223 | - |PrimaryRepresentatives.c0 (F₀ p₀) (g₀ p₀) * | |
| 224 | - ⟪T₀ p, PrimaryRepresentatives.transverseDirection (g₀ p₀)⟫_ℝ / | |
| 225 | - ⟪T₀ p, PrimaryRepresentatives.normalDirection (g₀ p₀)⟫_ℝ| + eta ≤ | |
| 226 | - PrimaryRepresentatives.slopeRatio u := by | |
| 227 | - dsimp only | |
| 228 | - have hc := modulated_continuousOn H v hpos | |
| 229 | - have hs (p : Slow) (hp : p ∈ K) := modulated_spectral_cones H v hcone | |
| 230 | - (hpos p hp).1 (hpos p hp).2 (hactive p hp).1 (hactive p hp).2 | |
| 231 | - obtain ⟨M, hM, hb⟩ := PrimaryRepresentatives.compact_parameter_bounds hK hc.1 hc.2.1 | |
| 232 | - (fun p hp => (hpos p hp).2) (fun p hp => (hs p hp).1) | |
| 233 | - obtain ⟨u, eta, delta, hu, he, hd, hm⟩ := | |
| 234 | - PrimaryRepresentatives.compact_mixed_target_margin hK hc.1 hc.2.1 hc.2.2 | |
| 235 | - (fun p hp => (hs p hp).1) (fun p hp => (hs p hp).2) | |
| 236 | - exact ⟨M, u, eta, delta, hM, hu, he, hd, hb, hm⟩ | |
| 237 | - | |
| 238 | 144 | end Modulated |
| 239 | 145 | |
| 240 | 146 | /-! ## A single Euclidean direction through both zero-amplitude edges -/ |
+0 −105 NavierStokes/AllBandBaseJets.lean View file
| @@ -216,27 +216,6 @@ theorem actual_estimates {ι : Type*} {D : Domain ι Slow} | ||
| 216 | 216 | · exact ((hF.to_polynomial hw).add h0.1).congr (fun _ _ _ => sub_add_cancel _ _) |
| 217 | 217 | · exact ((hG.to_polynomial hw).add h0.2).congr (fun _ _ _ => sub_add_cancel _ _) |
| 218 | 218 | |
| 219 | -/-- All fixed jets and the local first/second derivative base bounds | |
| 220 | -share constants chosen before any band or label. -/ | |
| 221 | -theorem actual_localBase_and_polynomial {ι : Type*} {D : Domain ι Slow} | |
| 222 | - {a : ℕ → ℕ} {h C r M qlo qhi lo hi : ℝ} | |
| 223 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hr : 0 < r) (hM : 1 ≤ M) | |
| 224 | - (hqlo : 0 < qlo) (hqhi : 0 < qhi) (hlo : 0 < lo) | |
| 225 | - (H : GeometryBounds D h r M qlo qhi lo hi) | |
| 226 | - (hconvex : ∀ i, Convex ℝ (D.carrier i)) | |
| 227 | - {d : SlowBorelBase.Coefficients} (hd : SlowBorelBase.SmoothCoefficients d) | |
| 228 | - (ha : SlowBorelBase.AdmissibleScales h (SlowBorelBase.coefficientBundle C d) | |
| 229 | - (SlowBorelBase.innerBox lo hi) a) | |
| 230 | - (Q : ι → ℝ) (hQ : ∀ i, 0 < Q i) (hQ1 : ∀ i, Q i ≤ 1) : | |
| 231 | - PolynomialJets D (fun i => frequency a h C d (Q i)) ∧ | |
| 232 | - PolynomialJets D (fun i => axial a h d (Q i)) ∧ | |
| 233 | - ∃ B : ℝ, 1 ≤ B ∧ ∀ i, | |
| 234 | - PhaseEstimates.LocalBaseBounds (frequency a h C d (Q i)) (axial a h d (Q i)) | |
| 235 | - (leadingFrequency h C d) (leadingAxial h d) (D.carrier i) B (Q i ^ h) := by | |
| 236 | - have he := actual_estimates hh hh1 hr hM hqlo hqhi hlo H hd ha Q hQ hQ1 | |
| 237 | - exact ⟨he.polynomial_fields.1, he.polynomial_fields.2, | |
| 238 | - he.localBaseBounds hh.le hQ hQ1 hconvex⟩ | |
| 239 | - | |
| 240 | 219 | open BaseRadialJets |
| 241 | 220 | |
| 242 | 221 | /-- The same scalar Borel sum has bounded chart jets on every band. -/ |
| @@ -328,90 +307,6 @@ theorem radial_envelope {ι : Type*} {D : Domain ι Slow} | ||
| 328 | 307 | intro i p hp |
| 329 | 308 | simpa only [smul_eq_mul] using (radial_eq ha.strictMono hh hh1 (hQ i) hd (H.time i p hp)).symm |
| 330 | 309 | |
| 331 | -/-- All actual derivatives of `b/Q^h` are uniformly bounded. -/ | |
| 332 | -theorem radial_quotient_polynomial {ι : Type*} {D : Domain ι Slow} | |
| 333 | - {a : ℕ → ℕ} {h C r M qlo qhi lo hi : ℝ} | |
| 334 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hr : 0 < r) (hM : 1 ≤ M) | |
| 335 | - (hqlo : 0 < qlo) (hqhi : 0 < qhi) (hlo : 0 < lo) | |
| 336 | - (H : GeometryBounds D h r M qlo qhi lo hi) | |
| 337 | - {d : SlowBorelBase.Coefficients} (hd : SlowBorelBase.SmoothCoefficients d) | |
| 338 | - (ha : SlowBorelBase.AdmissibleScales h (SlowBorelBase.coefficientBundle C d) | |
| 339 | - (SlowBorelBase.innerBox lo hi) a) | |
| 340 | - (Q : ι → ℝ) (hQ : ∀ i, 0 < Q i) (hQ1 : ∀ i, Q i ≤ 1) : | |
| 341 | - PolynomialJets (unitScale D) (fun i p => radial a h C d (Q i) p / Q i ^ h) := by | |
| 342 | - apply (reducedRadial_polynomial hh hh1 hr hM hqlo hqhi hlo H hd ha Q hQ hQ1).congr | |
| 343 | - intro i p hp | |
| 344 | - change reducedRadial a h d (Q i) p = radial a h C d (Q i) p / Q i ^ h | |
| 345 | - rw [radial_eq (C := C) ha.strictMono hh hh1 (hQ i) hd (H.time i p hp)] | |
| 346 | - field_simp [(Real.rpow_pos_of_pos (hQ i) h).ne'] | |
| 347 | - | |
| 348 | -/-- A direct finite-jet statement for the actual physical component. -/ | |
| 349 | -theorem radial_uniform_jets {ι : Type*} {D : Domain ι Slow} | |
| 350 | - {a : ℕ → ℕ} {h C r M qlo qhi lo hi : ℝ} | |
| 351 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hr : 0 < r) (hM : 1 ≤ M) | |
| 352 | - (hqlo : 0 < qlo) (hqhi : 0 < qhi) (hlo : 0 < lo) | |
| 353 | - (H : GeometryBounds D h r M qlo qhi lo hi) | |
| 354 | - {d : SlowBorelBase.Coefficients} (hd : SlowBorelBase.SmoothCoefficients d) | |
| 355 | - (ha : SlowBorelBase.AdmissibleScales h (SlowBorelBase.coefficientBundle C d) | |
| 356 | - (SlowBorelBase.innerBox lo hi) a) | |
| 357 | - (Q : ι → ℝ) (hQ : ∀ i, 0 < Q i) (hQ1 : ∀ i, Q i ≤ 1) | |
| 358 | - (N : ℕ) : | |
| 359 | - ∃ K : ℝ, 1 ≤ K ∧ ∀ i p, p ∈ D.carrier i → ∀ j, j ≤ N → | |
| 360 | - ‖iteratedFDeriv ℝ j (radial a h C d (Q i)) p‖ ≤ K * Q i ^ h := | |
| 361 | - envelope_unit_bound (radial_envelope hh hh1 hr hM hqlo hqhi hlo H hd ha Q hQ hQ1) N | |
| 362 | - | |
| 363 | -/-- Fixed linear native/common coordinate changes preserve the genuine | |
| 364 | -order-one class. Only the original small factor is used as a weight; | |
| 365 | -there is no vanishing spatial `zeta` factor in this conclusion. -/ | |
| 366 | -theorem radial_uniform_pullback {ι : Type*} {E : Type} | |
| 367 | - [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 368 | - (s : WeightedClasses.StripData E) (L : E →L[ℝ] Slow) | |
| 369 | - {D : Domain (ℕ × ι) Slow} {a : ℕ → ℕ} {h C r M qlo qhi lo hi : ℝ} | |
| 370 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hr : 0 < r) (hM : 1 ≤ M) | |
| 371 | - (hqlo : 0 < qlo) (hqhi : 0 < qhi) (hlo : 0 < lo) | |
| 372 | - (H : GeometryBounds D h r M qlo qhi lo hi) | |
| 373 | - {d : SlowBorelBase.Coefficients} (hd : SlowBorelBase.SmoothCoefficients d) | |
| 374 | - (ha : SlowBorelBase.AdmissibleScales h (SlowBorelBase.coefficientBundle C d) | |
| 375 | - (SlowBorelBase.innerBox lo hi) a) | |
| 376 | - (Q : (ℕ × ι) → ℝ) (hQ : ∀ i, 0 < Q i) (hQ1 : ∀ i, Q i ≤ 1) | |
| 377 | - (heps : ∀ n l, Q (n, l) ^ h = s.epsilon n) | |
| 378 | - (hmap : ∀ n l, MapsTo L s.domain (D.carrier (n, l))) : | |
| 379 | - LabelSumBounds.UniformClass s (fun _ _ _ => 1) 1 | |
| 380 | - (fun l n x => radial a h C d (Q (n, l)) (L x)) := by | |
| 381 | - let V : Domain (ℕ × ι) E := oneDomain (ℕ × ι) (fun _ => s.domain) (fun _ => s.isOpen_domain) | |
| 382 | - have he := radial_envelope hh hh1 hr hM hqlo hqhi hlo H hd ha Q hQ hQ1 | |
| 383 | - have hp := he.precomp_linear (D := V) (fun _ => L) (fun _ => rfl) | |
| 384 | - (fun i => hmap i.1 i.2) (C := max 1 ‖L‖) (k := 0) (le_max_left _ _) | |
| 385 | - (fun _ => by simpa only [pow_zero, mul_one] using le_max_right 1 ‖L‖) | |
| 386 | - apply LabelSumBounds.uniformClass_of_envelopeJets hp (K := 1) (q := 0) le_rfl | |
| 387 | - (fun n l => by simp [V, oneDomain]) (fun _ _ => subset_rfl) | |
| 388 | - (fun _ _ _ _ => zero_le_one) | |
| 389 | - intro l n x hx | |
| 390 | - simp only [heps, Real.rpow_one, mul_one, le_refl] | |
| 391 | - | |
| 392 | -/-- Every original dyadic band is covered; the epsilon sequence is unchanged. -/ | |
| 393 | -theorem dyadic_actual_bounds {ι : Type*} {D : Domain ι Slow} | |
| 394 | - {a : ℕ → ℕ} {h C r M qlo qhi lo hi : ℝ} | |
| 395 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hr : 0 < r) (hM : 1 ≤ M) | |
| 396 | - (hqlo : 0 < qlo) (hqhi : 0 < qhi) (hlo : 0 < lo) | |
| 397 | - (H : GeometryBounds D h r M qlo qhi lo hi) | |
| 398 | - (hconvex : ∀ i, Convex ℝ (D.carrier i)) | |
| 399 | - {d : SlowBorelBase.Coefficients} (hd : SlowBorelBase.SmoothCoefficients d) | |
| 400 | - (ha : SlowBorelBase.AdmissibleScales h (SlowBorelBase.coefficientBundle C d) | |
| 401 | - (SlowBorelBase.innerBox lo hi) a) | |
| 402 | - (band : ι → ℕ) : | |
| 403 | - PolynomialJets D (fun i => frequency a h C d (ChartScales.Q (band i))) ∧ | |
| 404 | - PolynomialJets D (fun i => axial a h d (ChartScales.Q (band i))) ∧ | |
| 405 | - ∃ B : ℝ, 1 ≤ B ∧ ∀ i, | |
| 406 | - PhaseEstimates.LocalBaseBounds | |
| 407 | - (frequency a h C d (ChartScales.Q (band i))) | |
| 408 | - (axial a h d (ChartScales.Q (band i))) | |
| 409 | - (leadingFrequency h C d) (leadingAxial h d) (D.carrier i) B | |
| 410 | - (ChartScales.epsilon h (band i)) := | |
| 411 | - actual_localBase_and_polynomial hh hh1 hr hM hqlo hqhi hlo H hconvex hd ha | |
| 412 | - (fun i => ChartScales.Q (band i)) (fun i => ChartScales.Q_pos (band i)) | |
| 413 | - (fun i => ChartScales.Q_le_one (band i)) | |
| 414 | - | |
| 415 | 310 | section FinalBase |
| 416 | 311 | |
| 417 | 312 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
+0 −46 NavierStokes/AnalyticCoefficientBounds.lean View file
| @@ -90,20 +90,6 @@ theorem hasDerivAt_realJet {f : ℂ → ℂ} {x : ℝ} | ||
| 90 | 90 | unfold realJet |
| 91 | 91 | simpa only [iteratedDeriv_succ] using hm.differentiableAt.hasDerivAt.real_of_complex |
| 92 | 92 | |
| 93 | -/-- The real-axis jets really are the ordinary iterated real derivatives. -/ | |
| 94 | -theorem iteratedDeriv_realPart {f : ℂ → ℂ} {x : ℝ} | |
| 95 | - (hf : AnalyticAt ℂ f (x : ℂ)) (m : ℕ) : | |
| 96 | - iteratedDeriv m (fun t : ℝ => (f t).re) x = realJet f m x := by | |
| 97 | - induction m generalizing x with | |
| 98 | - | zero => simp [realJet] | |
| 99 | - | succ m ih => | |
| 100 | - have heq : iteratedDeriv m (fun t : ℝ => (f t).re) =ᶠ[𝓝 x] realJet f m := by | |
| 101 | - filter_upwards [(Complex.continuous_ofReal.tendsto x).eventually | |
| 102 | - hf.eventually_analyticAt] with y hy | |
| 103 | - exact ih hy | |
| 104 | - rw [iteratedDeriv_succ, heq.deriv_eq] | |
| 105 | - exact (hasDerivAt_realJet hf m).deriv | |
| 106 | - | |
| 107 | 93 | theorem UnitHolomorphic.abs_realJet_le {I : Window} {ρ : ℝ} {f : ℂ → ℂ} |
| 108 | 94 | (hf : UnitHolomorphic I ρ f) (hρ : 0 < ρ) (m : ℕ) |
| 109 | 95 | {x : ℝ} (hx : x ∈ I.interval) : |
| @@ -115,14 +101,6 @@ theorem UnitHolomorphic.abs_realJet_le {I : Window} {ρ : ℝ} {f : ℂ → ℂ} | ||
| 115 | 101 | exact hf.norm_le_one z (closedBall_subset_closedTube I ρ hx |
| 116 | 102 | (sphere_subset_closedBall hz)) |
| 117 | 103 | |
| 118 | -theorem UnitHolomorphic.abs_iteratedDeriv_le {I : Window} {ρ : ℝ} {f : ℂ → ℂ} | |
| 119 | - (hf : UnitHolomorphic I ρ f) (hρ : 0 < ρ) (m : ℕ) | |
| 120 | - {x : ℝ} (hx : x ∈ I.interval) : | |
| 121 | - |iteratedDeriv m (fun t : ℝ => (f t).re) x| ≤ | |
| 122 | - (m.factorial : ℝ) * (ρ⁻¹) ^ m := by | |
| 123 | - rw [iteratedDeriv_realPart (hf.analytic x (real_mem_closedTube I hρ.le hx))] | |
| 124 | - exact hf.abs_realJet_le hρ m hx | |
| 125 | - | |
| 126 | 104 | /-- The loss in passing from a complex radius to the coefficient radius. -/ |
| 127 | 105 | def radiusLoss (q : ℝ) : ℝ := ∑' m : ℕ, ((m : ℝ) + 1) ^ 2 * q ^ m |
| 128 | 106 | |
| @@ -240,16 +218,6 @@ theorem UnitHolomorphic.coefficient_toAxisSpace {I : Window} {ε ρ : ℝ} {f : | ||
| 240 | 218 | rw [coefficient_ofJetFamily _ _ _ _ _ _ _ _ _ n hx] |
| 241 | 219 | simp only [degreeZeroJet, realJet, iteratedDeriv_zero] |
| 242 | 220 | |
| 243 | -theorem UnitHolomorphic.jet_toAxisSpace {I : Window} {ε ρ : ℝ} {f : ℂ → ℂ} | |
| 244 | - (hf : UnitHolomorphic I ρ f) (hε : 0 < ε) (hερ : ε < ρ) | |
| 245 | - (n m : ℕ) {x : ℝ} (hx : x ∈ I.interval) : | |
| 246 | - jet I (AxisWeightEstimates.weight ε) (hf.toAxisSpace hε hερ).1 n m x = | |
| 247 | - if n = 0 then iteratedDeriv m (fun t : ℝ => (f t).re) x else 0 := by | |
| 248 | - unfold UnitHolomorphic.toAxisSpace | |
| 249 | - rw [jet_ofJetFamily _ _ _ _ _ _ _ _ _ n m hx] | |
| 250 | - rw [iteratedDeriv_realPart (hf.analytic x (real_mem_closedTube I (hε.trans hερ).le hx))] | |
| 251 | - rfl | |
| 252 | - | |
| 253 | 221 | /-- The normalized axis exponential, defined on the whole complex plane |
| 254 | 222 | but bounded using the common complex neighborhood. -/ |
| 255 | 223 | def normalizedExp (F : ℂ → ℂ) (Λ C : ℝ) (z : ℂ) : ℂ := |
| @@ -286,20 +254,6 @@ theorem re_le_realPartSup {F : ℂ → ℂ} {K : Set ℂ} | ||
| 286 | 254 | le_csSup (hK.bddAbove_image (Complex.continuous_re.comp_continuousOn hF)) |
| 287 | 255 | (mem_image_of_mem (fun z => (F z).re) hz) |
| 288 | 256 | |
| 289 | -/-- A compact wider complex neighborhood is enough: every radius-`ρ` | |
| 290 | -closed disc about a real parameter must lie inside it. -/ | |
| 291 | -theorem normalizedExp_unitHolomorphic_of_compact | |
| 292 | - {I : Window} {ρ Λ C : ℝ} {F : ℂ → ℂ} {K : Set ℂ} | |
| 293 | - (hK : IsCompact K) (hF : AnalyticOnNhd ℂ F K) | |
| 294 | - (hcover : ∀ x ∈ I.interval, closedBall (x : ℂ) ρ ⊆ K) | |
| 295 | - (hΛ : 0 ≤ Λ) (hC : Real.exp (Λ * realPartSup F K) ≤ C) : | |
| 296 | - UnitHolomorphic I ρ (normalizedExp F Λ C) := by | |
| 297 | - have hsub : closedTube I ρ ⊆ K := by | |
| 298 | - rintro z ⟨x, hx, hz⟩ | |
| 299 | - exact hcover x hx hz | |
| 300 | - exact normalizedExp_unitHolomorphic (hF.mono hsub) | |
| 301 | - (fun z hz => re_le_realPartSup hK hF.continuousOn (hsub hz)) hΛ hC | |
| 302 | - | |
| 303 | 257 | theorem normalizedExp_re_of_real {F : ℂ → ℂ} {Λ C x : ℝ} |
| 304 | 258 | (hreal : (F (x : ℂ)).im = 0) : |
| 305 | 259 | (normalizedExp F Λ C (x : ℂ)).re = Real.exp (Λ * (F (x : ℂ)).re) / C := by |
+0 −89 NavierStokes/AnalyticPrimitive.lean View file
| @@ -156,25 +156,6 @@ theorem analyticOnNhd_primitive {U : Set ℂ} (ho : IsOpen U) | ||
| 156 | 156 | (hg : DifferentiableOn ℂ g U) : AnalyticOnNhd ℂ (primitive g) U := |
| 157 | 157 | (differentiableOn_primitive ho hU h0 hg).analyticOnNhd ho |
| 158 | 158 | |
| 159 | -/-- Reality is local to the real points of the given convex domain. -/ | |
| 160 | -theorem primitive_im_eq_zero {U : Set ℂ} (hU : Convex ℝ U) (h0 : (0 : ℂ) ∈ U) | |
| 161 | - {g : ℂ → ℂ} (hreal : ∀ x : ℝ, (x : ℂ) ∈ U → (g x).im = 0) | |
| 162 | - {x : ℝ} (hx : (x : ℂ) ∈ U) : (primitive g x).im = 0 := by | |
| 163 | - have heq : (∫ t in (0 : ℝ)..1, g ((t : ℂ) * (x : ℂ))) = | |
| 164 | - ∫ t in (0 : ℝ)..1, ((g ((t : ℂ) * (x : ℂ))).re : ℂ) := by | |
| 165 | - apply intervalIntegral.integral_congr | |
| 166 | - intro t ht | |
| 167 | - have htx := segment_mem hU h0 hx | |
| 168 | - (show t ∈ Icc (0 : ℝ) 1 by simpa only [uIcc_of_le zero_le_one] using ht) | |
| 169 | - have him : (g ((t : ℂ) * (x : ℂ))).im = 0 := by | |
| 170 | - simpa only [Complex.ofReal_mul] using hreal (t * x) | |
| 171 | - (by simpa only [Complex.ofReal_mul] using htx) | |
| 172 | - apply Complex.ext | |
| 173 | - · simp | |
| 174 | - · simpa using him | |
| 175 | - rw [primitive, heq, intervalIntegral.integral_ofReal] | |
| 176 | - simp | |
| 177 | - | |
| 178 | 159 | /-- If the integrand extends a real function, its segment primitive extends |
| 179 | 160 | the corresponding real segment integral exactly. -/ |
| 180 | 161 | theorem primitive_ofReal (g : ℂ → ℂ) (f : ℝ → ℝ) |
| @@ -186,12 +167,6 @@ theorem primitive_ofReal (g : ℂ → ℂ) (f : ℝ → ℝ) | ||
| 186 | 167 | rw [← Complex.ofReal_mul, hreal] |
| 187 | 168 | rw [primitive, heq, intervalIntegral.integral_ofReal, Complex.ofReal_mul] |
| 188 | 169 | |
| 189 | -theorem hasDerivAt_real_primitive {U : Set ℂ} (ho : IsOpen U) | |
| 190 | - (hU : Convex ℝ U) (h0 : (0 : ℂ) ∈ U) {g : ℂ → ℂ} | |
| 191 | - (hg : DifferentiableOn ℂ g U) {x : ℝ} (hx : (x : ℂ) ∈ U) : | |
| 192 | - HasDerivAt (fun y : ℝ => (primitive g y).re) (g x).re x := | |
| 193 | - (hasDerivAt_primitive ho hU h0 hg hx).real_of_complex | |
| 194 | - | |
| 195 | 170 | /-- The normalized exponential built from the actual segment primitive. -/ |
| 196 | 171 | def amplitude (g : ℂ → ℂ) (Λ C : ℂ) (z : ℂ) : ℂ := |
| 197 | 172 | Complex.exp (Λ * primitive g z) / C |
| @@ -199,70 +174,6 @@ def amplitude (g : ℂ → ℂ) (Λ C : ℂ) (z : ℂ) : ℂ := | ||
| 199 | 174 | @[simp] theorem amplitude_zero (g : ℂ → ℂ) (Λ C : ℂ) : amplitude g Λ C 0 = 1 / C := by |
| 200 | 175 | simp [amplitude] |
| 201 | 176 | |
| 202 | -theorem amplitude_ne_zero (g : ℂ → ℂ) (Λ : ℂ) {C : ℂ} (hC : C ≠ 0) (z : ℂ) : | |
| 203 | - amplitude g Λ C z ≠ 0 := | |
| 204 | - div_ne_zero (Complex.exp_ne_zero _) hC | |
| 205 | - | |
| 206 | -/-- Normalization is constant in the spatial variable, so the differential | |
| 207 | -equation is valid for any normalization scalar. -/ | |
| 208 | -theorem hasDerivAt_amplitude {U : Set ℂ} (ho : IsOpen U) | |
| 209 | - (hU : Convex ℝ U) (h0 : (0 : ℂ) ∈ U) {g : ℂ → ℂ} | |
| 210 | - (hg : DifferentiableOn ℂ g U) (Λ C : ℂ) {z : ℂ} (hz : z ∈ U) : | |
| 211 | - HasDerivAt (amplitude g Λ C) ((Λ * g z) * amplitude g Λ C z) z := by | |
| 212 | - have hd := (((hasDerivAt_primitive ho hU h0 hg hz).const_mul Λ).cexp).div_const C | |
| 213 | - convert! hd using 1 | |
| 214 | - unfold amplitude | |
| 215 | - ring | |
| 216 | - | |
| 217 | -theorem analyticOnNhd_amplitude {U : Set ℂ} (ho : IsOpen U) | |
| 218 | - (hU : Convex ℝ U) (h0 : (0 : ℂ) ∈ U) {g : ℂ → ℂ} | |
| 219 | - (hg : DifferentiableOn ℂ g U) (Λ C : ℂ) : AnalyticOnNhd ℂ (amplitude g Λ C) U := by | |
| 220 | - apply DifferentiableOn.analyticOnNhd _ ho | |
| 221 | - intro z hz | |
| 222 | - exact (hasDerivAt_amplitude ho hU h0 hg Λ C hz).differentiableAt.differentiableWithinAt | |
| 223 | - | |
| 224 | -/-- The actual logarithmic derivative of the nonvanishing normalized | |
| 225 | -exponential is the prescribed scaled holomorphic gradient. -/ | |
| 226 | -theorem amplitude_log_derivative {U : Set ℂ} (ho : IsOpen U) | |
| 227 | - (hU : Convex ℝ U) (h0 : (0 : ℂ) ∈ U) {g : ℂ → ℂ} | |
| 228 | - (hg : DifferentiableOn ℂ g U) (Λ : ℂ) {C : ℂ} (hC : C ≠ 0) | |
| 229 | - {z : ℂ} (hz : z ∈ U) : | |
| 230 | - deriv (amplitude g Λ C) z / amplitude g Λ C z = Λ * g z := by | |
| 231 | - rw [(hasDerivAt_amplitude ho hU h0 hg Λ C hz).deriv] | |
| 232 | - exact mul_div_cancel_right₀ _ (amplitude_ne_zero g Λ hC z) | |
| 233 | - | |
| 234 | -theorem amplitude_ofReal (g : ℂ → ℂ) (f : ℝ → ℝ) | |
| 235 | - (hreal : ∀ x : ℝ, g x = (f x : ℂ)) (Λ C x : ℝ) : | |
| 236 | - amplitude g Λ C x = | |
| 237 | - ((Real.exp (Λ * (x * ∫ t in (0 : ℝ)..1, f (t * x))) / C : ℝ) : ℂ) := by | |
| 238 | - rw [amplitude, primitive_ofReal g f hreal x, ← Complex.ofReal_mul, | |
| 239 | - ← Complex.ofReal_exp, ← Complex.ofReal_div] | |
| 240 | - | |
| 241 | -theorem amplitude_real_pos (g : ℂ → ℂ) (f : ℝ → ℝ) | |
| 242 | - (hreal : ∀ x : ℝ, g x = (f x : ℂ)) (Λ : ℝ) {C : ℝ} (hC : 0 < C) (x : ℝ) : | |
| 243 | - 0 < (amplitude g Λ C x).re := by | |
| 244 | - rw [amplitude_ofReal g f hreal Λ C x, Complex.ofReal_re] | |
| 245 | - exact div_pos (Real.exp_pos _) hC | |
| 246 | - | |
| 247 | -theorem hasDerivAt_real_amplitude {U : Set ℂ} (ho : IsOpen U) | |
| 248 | - (hU : Convex ℝ U) (h0 : (0 : ℂ) ∈ U) {g : ℂ → ℂ} | |
| 249 | - (hg : DifferentiableOn ℂ g U) (f : ℝ → ℝ) | |
| 250 | - (hreal : ∀ x : ℝ, g x = (f x : ℂ)) (Λ C : ℝ) {x : ℝ} (hx : (x : ℂ) ∈ U) : | |
| 251 | - HasDerivAt (fun y : ℝ => (amplitude g Λ C y).re) | |
| 252 | - ((Λ * f x) * (amplitude g Λ C x).re) x := by | |
| 253 | - have hd := (hasDerivAt_amplitude ho hU h0 hg Λ C hx).real_of_complex | |
| 254 | - simpa only [hreal, Complex.mul_re, Complex.mul_im, Complex.ofReal_re, | |
| 255 | - Complex.ofReal_im, mul_zero, zero_mul, add_zero, sub_zero] using hd | |
| 256 | - | |
| 257 | -theorem real_amplitude_log_derivative {U : Set ℂ} (ho : IsOpen U) | |
| 258 | - (hU : Convex ℝ U) (h0 : (0 : ℂ) ∈ U) {g : ℂ → ℂ} | |
| 259 | - (hg : DifferentiableOn ℂ g U) (f : ℝ → ℝ) | |
| 260 | - (hreal : ∀ x : ℝ, g x = (f x : ℂ)) (Λ : ℝ) {C : ℝ} (hC : 0 < C) | |
| 261 | - {x : ℝ} (hx : (x : ℂ) ∈ U) : | |
| 262 | - deriv (fun y : ℝ => (amplitude g Λ C y).re) x / (amplitude g Λ C x).re = Λ * f x := by | |
| 263 | - rw [(hasDerivAt_real_amplitude ho hU h0 hg f hreal Λ C hx).deriv] | |
| 264 | - exact mul_div_cancel_right₀ _ (ne_of_gt (amplitude_real_pos g f hreal Λ hC x)) | |
| 265 | - | |
| 266 | 177 | end NavierStokes.AnalyticPrimitive |
| 267 | 178 | |
| 268 | 179 | end |
+0 −279 NavierStokes/AngularMomentReset.lean View file
| @@ -194,9 +194,6 @@ def quadraticCLM (lam : ℝ) : Coeff →L[ℝ] Coeff →L[ℝ] Coeff := | ||
| 194 | 194 | ((LinearMap.toContinuousLinearMap (𝕜 := ℝ) (E := Coeff) (F' := Coeff)).toLinearMap.comp |
| 195 | 195 | (quadraticBilin lam)) |
| 196 | 196 | |
| 197 | -theorem linearEquiv_apply (lam : ℝ) (hlam : 0 < lam) (c : Coeff) : | |
| 198 | - linearEquiv lam hlam c = (linearMatrix lam).mulVec c := rfl | |
| 199 | - | |
| 200 | 197 | theorem quadraticCLM_apply (lam : ℝ) (c d : Coeff) : |
| 201 | 198 | quadraticCLM lam c d = |
| 202 | 199 | ![0, quadraticMoment lam 0 * c 0 * d 0 + quadraticMoment lam 1 * c 1 * d 1] := rfl |
| @@ -251,14 +248,6 @@ theorem relative_square_moment (lam : ℝ) (c : Coeff) : | ||
| 251 | 248 | dsimp [quadraticMoment] |
| 252 | 249 | ring |
| 253 | 250 | |
| 254 | -theorem pressure_change_integrable (lam : ℝ) (c : Coeff) : | |
| 255 | - Integrable (fun y => Real.exp (pressureSlope lam * y) * ((1 + relative c y) ^ 2 - 1)) := by | |
| 256 | - convert! ((weighted_relative_integrable (pressureSlope lam) c).const_mul 2).add | |
| 257 | - (weighted_relative_sq_integrable (pressureSlope lam) c) using 1 | |
| 258 | - ext y | |
| 259 | - simp only [Pi.add_apply] | |
| 260 | - ring | |
| 261 | - | |
| 262 | 251 | theorem pressure_change_moment (lam : ℝ) (c : Coeff) : |
| 263 | 252 | (∫ y, Real.exp (pressureSlope lam * y) * ((1 + relative c y) ^ 2 - 1)) = |
| 264 | 253 | 2 * (moment (pressureSlope lam) * c 0 + |
| @@ -271,16 +260,6 @@ theorem pressure_change_moment (lam : ℝ) (c : Coeff) : | ||
| 271 | 260 | (weighted_relative_sq_integrable _ c), integral_const_mul, relative_moment, relative_square_moment] |
| 272 | 261 | ring |
| 273 | 262 | |
| 274 | -/-- The quadratic coefficient map equals the two actual integral changes. -/ | |
| 275 | -theorem moment_map_identity (lam : ℝ) (hlam : 0 < lam) (c : Coeff) : | |
| 276 | - linearEquiv lam hlam c + quadraticCLM lam c c = | |
| 277 | - ![∫ y, Real.exp (angularSlope lam * y) * relative c y, | |
| 278 | - ∫ y, Real.exp (pressureSlope lam * y) * ((1 + relative c y) ^ 2 - 1)] := by | |
| 279 | - rw [linearEquiv_apply, quadraticCLM_apply, relative_moment, pressure_change_moment] | |
| 280 | - ext i | |
| 281 | - fin_cases i <;> simp [linearMatrix, dotProduct, Fin.sum_univ_two] | |
| 282 | - ring | |
| 283 | - | |
| 284 | 263 | def debt (δ : ℝ) : Coeff := ![δ, 0] |
| 285 | 264 | |
| 286 | 265 | theorem debt_contDiff : ContDiff ℝ ∞ debt := by |
| @@ -295,34 +274,6 @@ theorem debt_norm_le (δ : ℝ) : ‖debt δ‖ ≤ |δ| := by | ||
| 295 | 274 | intro i |
| 296 | 275 | fin_cases i <;> simp [debt] |
| 297 | 276 | |
| 298 | -/-- A smooth small branch is obtained from the proved actual moment derivative, | |
| 299 | -not from an assumed solution or matrix rank. -/ | |
| 300 | -theorem exists_normalized_branch (lam : ℝ) (hlam : 0 < lam) : | |
| 301 | - ∃ (c : ℝ → Coeff) (ε K : ℝ), 0 < ε ∧ 0 < K ∧ | |
| 302 | - ContDiffOn ℝ ∞ c (Ioo (-ε) ε) ∧ c 0 = 0 ∧ | |
| 303 | - ∀ δ ∈ Ioo (-ε) ε, | |
| 304 | - (∫ y, Real.exp (angularSlope lam * y) * relative (c δ) y) = δ ∧ | |
| 305 | - (∫ y, Real.exp (pressureSlope lam * y) * ((1 + relative (c δ) y) ^ 2 - 1)) = 0 ∧ | |
| 306 | - ‖c δ‖ ≤ K * |δ| := by | |
| 307 | - obtain ⟨c, U, K, hU, h0, hK, hc, hc0, heq⟩ := | |
| 308 | - SmoothMomentRepair.exists_smooth_parameter_branch (E := Coeff) (P := ℝ) 0 | |
| 309 | - (fun _ => (linearEquiv lam hlam).toContinuousLinearMap) | |
| 310 | - (fun _ => quadraticCLM lam) debt contDiff_const contDiff_const debt_contDiff | |
| 311 | - (linearEquiv lam hlam) rfl (by ext i; fin_cases i <;> simp [debt]) | |
| 312 | - obtain ⟨ε, hε, hεU⟩ := Metric.mem_nhds_iff.mp (hU.mem_nhds h0) | |
| 313 | - have hsub : Ioo (-ε) ε ⊆ U := by | |
| 314 | - intro δ hδ | |
| 315 | - apply hεU | |
| 316 | - simpa only [Metric.mem_ball, Real.dist_eq, sub_zero, abs_lt, Set.mem_Ioo] using hδ | |
| 317 | - refine ⟨c, ε, K, hε, hK, hc.mono hsub, hc0, ?_⟩ | |
| 318 | - intro δ hδ | |
| 319 | - obtain ⟨he, hb⟩ := heq δ (hsub hδ) | |
| 320 | - change linearEquiv lam hlam (c δ) + quadraticCLM lam (c δ) (c δ) = debt δ at he | |
| 321 | - rw [moment_map_identity] at he | |
| 322 | - refine ⟨?_, ?_, hb.trans (mul_le_mul_of_nonneg_left (debt_norm_le δ) hK.le)⟩ | |
| 323 | - · exact congrFun he 0 | |
| 324 | - · exact congrFun he 1 | |
| 325 | - | |
| 326 | 277 | theorem relative_deriv (c : Coeff) (y : ℝ) : |
| 327 | 278 | deriv (relative c) y = c 0 * deriv (bump 0) y + c 1 * deriv (bump 1) y := by |
| 328 | 279 | have h0 := (bump_contDiff 0).differentiable (by simp : (∞ : WithTop ℕ∞) ≠ 0) |
| @@ -396,62 +347,6 @@ structure ResetBranch (lam : ℝ) where | ||
| 396 | 347 | |relative (coefficients δ) y| ≤ 1 / 2 ∧ |
| 397 | 348 | |deriv (relative (coefficients δ)) y| ≤ lam / 4 |
| 398 | 349 | |
| 399 | -/-- No branch fields are hypotheses: all of them are constructed from the explicit bumps. -/ | |
| 400 | -theorem exists_resetBranch (lam : ℝ) (hlam : 0 < lam) : Nonempty (ResetBranch lam) := by | |
| 401 | - obtain ⟨c, ε0, K, hε0, hK, hc, hc0, heq⟩ := exists_normalized_branch lam hlam | |
| 402 | - obtain ⟨D, hD, hjet⟩ := relative_first_jet_bound | |
| 403 | - let b : ℝ := min (1 / 2) (lam / 4) | |
| 404 | - let ε : ℝ := min ε0 (b / (D * K)) | |
| 405 | - let L : ℝ := (1 + D) * K | |
| 406 | - have hb : 0 < b := lt_min (by norm_num) (by positivity) | |
| 407 | - have hDK : 0 < D * K := mul_pos hD hK | |
| 408 | - have hε : 0 < ε := lt_min hε0 (div_pos hb hDK) | |
| 409 | - have hL : 0 < L := mul_pos (by linarith) hK | |
| 410 | - have hsub : Ioo (-ε) ε ⊆ Ioo (-ε0) ε0 := by | |
| 411 | - intro δ hδ | |
| 412 | - have he : ε ≤ ε0 := min_le_left _ _ | |
| 413 | - constructor <;> linarith [hδ.1, hδ.2] | |
| 414 | - have htotal : ∀ δ ∈ Ioo (-ε) ε, D * ‖c δ‖ ≤ b := by | |
| 415 | - intro δ hδ | |
| 416 | - have hnorm := (heq δ (hsub hδ)).2.2 | |
| 417 | - have habs : |δ| ≤ ε := (abs_lt.mpr hδ).le | |
| 418 | - have he : ε ≤ b / (D * K) := min_le_right _ _ | |
| 419 | - have he' := (le_div_iff₀ hDK).mp he | |
| 420 | - nlinarith | |
| 421 | - have hcoeff : ∀ δ ∈ Ioo (-ε) ε, ‖c δ‖ ≤ L * |δ| := by | |
| 422 | - intro δ hδ | |
| 423 | - apply ((heq δ (hsub hδ)).2.2).trans | |
| 424 | - apply mul_le_mul_of_nonneg_right _ (abs_nonneg δ) | |
| 425 | - dsimp [L] | |
| 426 | - nlinarith | |
| 427 | - refine ⟨{ | |
| 428 | - coefficients := c | |
| 429 | - radius := ε | |
| 430 | - bound := L | |
| 431 | - radius_pos := hε | |
| 432 | - bound_pos := hL | |
| 433 | - smooth := hc.mono hsub | |
| 434 | - at_zero := hc0 | |
| 435 | - angular := fun δ hδ => (heq δ (hsub hδ)).1 | |
| 436 | - pressure := fun δ hδ => (heq δ (hsub hδ)).2.1 | |
| 437 | - coefficient_bound := hcoeff | |
| 438 | - first_jet_bound := ?_ | |
| 439 | - small_jets := ?_ }⟩ | |
| 440 | - · intro δ hδ y | |
| 441 | - have hn := (heq δ (hsub hδ)).2.2 | |
| 442 | - have hL' : D * K ≤ L := by dsimp [L]; nlinarith | |
| 443 | - have hbound : D * ‖c δ‖ ≤ L * |δ| := | |
| 444 | - (mul_le_mul_of_nonneg_left hn hD.le).trans | |
| 445 | - (by simpa only [mul_assoc] using mul_le_mul_of_nonneg_right hL' (abs_nonneg δ)) | |
| 446 | - exact ⟨(hjet (c δ) y).1.trans hbound, (hjet (c δ) y).2.trans hbound⟩ | |
| 447 | - · intro δ hδ y | |
| 448 | - exact ⟨((hjet (c δ) y).1.trans (htotal δ hδ)).trans (min_le_left _ _), | |
| 449 | - ((hjet (c δ) y).2.trans (htotal δ hδ)).trans (min_le_right _ _)⟩ | |
| 450 | - | |
| 451 | -/-- One fixed choice of the proved small branch. -/ | |
| 452 | -def resetBranch (lam : ℝ) (hlam : 0 < lam) : ResetBranch lam := | |
| 453 | - Classical.choice (exists_resetBranch lam hlam) | |
| 454 | - | |
| 455 | 350 | /-! ## Actual modified angular fields -/ |
| 456 | 351 | |
| 457 | 352 | def baseE (lam e0 y : ℝ) : ℝ := e0 * Real.exp ((-1 / 2 - lam) * y) |
| @@ -460,13 +355,6 @@ def baseE (lam e0 y : ℝ) : ℝ := e0 * Real.exp ((-1 / 2 - lam) * y) | ||
| 460 | 355 | def modifiedE (lam e0 y0 : ℝ) (c : Coeff) (y : ℝ) : ℝ := |
| 461 | 356 | baseE lam e0 y * (1 + relative c (y - y0)) |
| 462 | 357 | |
| 463 | -def radiusX (X0 y : ℝ) : ℝ := X0 * Real.exp y | |
| 464 | - | |
| 465 | -def baseH (lam e0 X0 y : ℝ) : ℝ := Real.sqrt (2 * radiusX X0 y) * baseE lam e0 y | |
| 466 | - | |
| 467 | -def modifiedH (lam e0 X0 y0 : ℝ) (c : Coeff) (y : ℝ) : ℝ := | |
| 468 | - Real.sqrt (2 * radiusX X0 y) * modifiedE lam e0 y0 c y | |
| 469 | - | |
| 470 | 358 | def angularScale (lam e0 X0 y0 : ℝ) : ℝ := |
| 471 | 359 | X0 * Real.sqrt (2 * X0) * e0 * Real.exp (angularSlope lam * y0) |
| 472 | 360 | |
| @@ -493,10 +381,6 @@ theorem modifiedE_sub_support (lam e0 y0 : ℝ) (c : Coeff) : | ||
| 493 | 381 | have hs := relative_support c hn |
| 494 | 382 | constructor <;> linarith [hs.1, hs.2] |
| 495 | 383 | |
| 496 | -theorem modifiedE_sub_hasCompactSupport (lam e0 y0 : ℝ) (c : Coeff) : | |
| 497 | - HasCompactSupport (modifiedE lam e0 y0 c - baseE lam e0) := | |
| 498 | - HasCompactSupport.of_support_subset_isCompact isCompact_Icc (modifiedE_sub_support lam e0 y0 c) | |
| 499 | - | |
| 500 | 384 | /-- Choosing `y0 = T - 3` places the whole edit strictly inside `(T - 4, T)`. -/ |
| 501 | 385 | theorem modifiedE_sub_tsupport (lam e0 y0 : ℝ) (c : Coeff) : |
| 502 | 386 | tsupport (modifiedE lam e0 y0 c - baseE lam e0) ⊆ Ioo (y0 - 1) (y0 + 3) := by |
| @@ -580,94 +464,15 @@ theorem sqrt_exp_half (y : ℝ) : Real.sqrt (Real.exp y) = Real.exp (y / 2) := b | ||
| 580 | 464 | congr 1 |
| 581 | 465 | ring |
| 582 | 466 | |
| 583 | -theorem angular_weight_formula (lam e0 X0 y : ℝ) (hX : 0 ≤ X0) : | |
| 584 | - radiusX X0 y * baseH lam e0 X0 y = | |
| 585 | - X0 * Real.sqrt (2 * X0) * e0 * Real.exp (angularSlope lam * y) := by | |
| 586 | - have hs : Real.sqrt (2 * radiusX X0 y) = Real.sqrt (2 * X0) * Real.exp (y / 2) := by | |
| 587 | - unfold radiusX | |
| 588 | - rw [← mul_assoc, Real.sqrt_mul (by positivity), sqrt_exp_half] | |
| 589 | - unfold baseH | |
| 590 | - rw [hs] | |
| 591 | - unfold radiusX baseE | |
| 592 | - calc | |
| 593 | - _ = X0 * Real.sqrt (2 * X0) * e0 * | |
| 594 | - (Real.exp y * Real.exp (y / 2) * Real.exp ((-1 / 2 - lam) * y)) := by ring | |
| 595 | - _ = _ := by | |
| 596 | - rw [← Real.exp_add, ← Real.exp_add] | |
| 597 | - congr 2 | |
| 598 | - unfold angularSlope | |
| 599 | - ring | |
| 600 | - | |
| 601 | -theorem angular_integral_formula (lam e0 X0 y0 : ℝ) (c : Coeff) (hX : 0 ≤ X0) : | |
| 602 | - (∫ y, radiusX X0 y * (modifiedH lam e0 X0 y0 c y - baseH lam e0 X0 y)) = | |
| 603 | - angularScale lam e0 X0 y0 * ∫ y, Real.exp (angularSlope lam * y) * relative c y := by | |
| 604 | - have hf : (fun y => radiusX X0 y * (modifiedH lam e0 X0 y0 c y - baseH lam e0 X0 y)) = | |
| 605 | - (fun y => (X0 * Real.sqrt (2 * X0) * e0) * | |
| 606 | - (Real.exp (angularSlope lam * y) * relative c (y - y0))) := by | |
| 607 | - funext y | |
| 608 | - calc | |
| 609 | - _ = (radiusX X0 y * baseH lam e0 X0 y) * relative c (y - y0) := by | |
| 610 | - unfold modifiedH modifiedE baseH | |
| 611 | - ring | |
| 612 | - _ = _ := by rw [angular_weight_formula lam e0 X0 y hX]; ring | |
| 613 | - rw [hf, integral_const_mul, weighted_translate_integral] | |
| 614 | - unfold angularScale | |
| 615 | - ring | |
| 616 | - | |
| 617 | 467 | theorem angularScale_pos (lam e0 X0 y0 : ℝ) (he0 : 0 < e0) (hX : 0 < X0) : |
| 618 | 468 | 0 < angularScale lam e0 X0 y0 := by |
| 619 | 469 | unfold angularScale |
| 620 | 470 | exact mul_pos (mul_pos (mul_pos hX (Real.sqrt_pos.mpr (by positivity))) he0) (Real.exp_pos _) |
| 621 | 471 | |
| 622 | -/-- The pressure change is an integrable compactly supported difference. We do | |
| 623 | -not subtract divergent integrals of the pure exponential background over `ℝ`. -/ | |
| 624 | -theorem pressure_delta_integrable (lam e0 y0 : ℝ) (c : Coeff) : | |
| 625 | - Integrable (fun y => (modifiedE lam e0 y0 c y) ^ 2 - (baseE lam e0 y) ^ 2) := by | |
| 626 | - have hf : (fun y => (modifiedE lam e0 y0 c y) ^ 2 - (baseE lam e0 y) ^ 2) = | |
| 627 | - (fun y => (modifiedE lam e0 y0 c y + baseE lam e0 y) * | |
| 628 | - (modifiedE lam e0 y0 c y - baseE lam e0 y)) := by funext y; ring | |
| 629 | - rw [hf] | |
| 630 | - exact (((modifiedE_contDiff lam e0 y0 c).continuous.add (baseE_contDiff lam e0).continuous).mul | |
| 631 | - ((modifiedE_contDiff lam e0 y0 c).continuous.sub (baseE_contDiff lam e0).continuous)).integrable_of_hasCompactSupport | |
| 632 | - (modifiedE_sub_hasCompactSupport lam e0 y0 c).mul_left | |
| 633 | - | |
| 634 | -theorem angular_delta_integrable (lam e0 X0 y0 : ℝ) (c : Coeff) : | |
| 635 | - Integrable (fun y => radiusX X0 y * (modifiedH lam e0 X0 y0 c y - baseH lam e0 X0 y)) := by | |
| 636 | - have hf : (fun y => radiusX X0 y * (modifiedH lam e0 X0 y0 c y - baseH lam e0 X0 y)) = | |
| 637 | - (fun y => (radiusX X0 y * Real.sqrt (2 * radiusX X0 y)) * | |
| 638 | - (modifiedE lam e0 y0 c y - baseE lam e0 y)) := by | |
| 639 | - funext y | |
| 640 | - unfold modifiedH baseH | |
| 641 | - ring | |
| 642 | - rw [hf] | |
| 643 | - have hX : Continuous (radiusX X0) := continuous_const.mul Real.continuous_exp | |
| 644 | - have hw : Continuous (fun y => radiusX X0 y * Real.sqrt (2 * radiusX X0 y)) := | |
| 645 | - hX.mul (Real.continuous_sqrt.comp (continuous_const.mul hX)) | |
| 646 | - exact (hw.mul ((modifiedE_contDiff lam e0 y0 c).continuous.sub | |
| 647 | - (baseE_contDiff lam e0).continuous)).integrable_of_hasCompactSupport | |
| 648 | - (modifiedE_sub_hasCompactSupport lam e0 y0 c).mul_left | |
| 649 | - | |
| 650 | -theorem modifiedH_unchanged (lam e0 X0 y0 : ℝ) (c : Coeff) {y : ℝ} | |
| 651 | - (hy : y ∉ Ioo (y0 - 1) (y0 + 3)) : | |
| 652 | - modifiedH lam e0 X0 y0 c y = baseH lam e0 X0 y := by | |
| 653 | - unfold modifiedH baseH | |
| 654 | - rw [modifiedE_unchanged lam e0 y0 c hy] | |
| 655 | - | |
| 656 | 472 | namespace ResetBranch |
| 657 | 473 | |
| 658 | 474 | variable {lam : ℝ} (B : ResetBranch lam) |
| 659 | 475 | |
| 660 | -theorem pressure_neutral (e0 y0 δ : ℝ) (hδ : δ ∈ Ioo (-B.radius) B.radius) : | |
| 661 | - (∫ y, (modifiedE lam e0 y0 (B.coefficients δ) y) ^ 2 - (baseE lam e0 y) ^ 2) = 0 := by | |
| 662 | - rw [pressure_integral_formula, B.pressure δ hδ, mul_zero] | |
| 663 | - | |
| 664 | -theorem angular_change (e0 X0 y0 δ : ℝ) (hX : 0 ≤ X0) | |
| 665 | - (hδ : δ ∈ Ioo (-B.radius) B.radius) : | |
| 666 | - (∫ y, radiusX X0 y * | |
| 667 | - (modifiedH lam e0 X0 y0 (B.coefficients δ) y - baseH lam e0 X0 y)) = | |
| 668 | - angularScale lam e0 X0 y0 * δ := by | |
| 669 | - rw [angular_integral_formula lam e0 X0 y0 (B.coefficients δ) hX, B.angular δ hδ] | |
| 670 | - | |
| 671 | 476 | theorem positive (hlam : 0 < lam) (e0 y0 δ y : ℝ) (he0 : 0 < e0) |
| 672 | 477 | (hδ : δ ∈ Ioo (-B.radius) B.radius) : |
| 673 | 478 | 0 < modifiedE lam e0 y0 (B.coefficients δ) y := by |
| @@ -683,60 +488,15 @@ theorem logSlope_le (hlam : 0 < lam) (e0 y0 δ y : ℝ) (he0 : 0 < e0) | ||
| 683 | 488 | rw [modifiedE_logSlope lam e0 y0 (B.coefficients δ) y he0.ne' hp.1.ne'] |
| 684 | 489 | exact hp.2 |
| 685 | 490 | |
| 686 | -/-- Any desired angular endpoint moment is reached when its normalized debt | |
| 687 | -lies in the constructed common small interval. -/ | |
| 688 | -theorem exact_target (e0 X0 y0 Iold Itarget : ℝ) (he0 : 0 < e0) (hX : 0 < X0) | |
| 689 | - (hδ : (Itarget - Iold) / angularScale lam e0 X0 y0 ∈ Ioo (-B.radius) B.radius) : | |
| 690 | - Iold + (∫ y, radiusX X0 y * | |
| 691 | - (modifiedH lam e0 X0 y0 | |
| 692 | - (B.coefficients ((Itarget - Iold) / angularScale lam e0 X0 y0)) y - | |
| 693 | - baseH lam e0 X0 y)) = Itarget := by | |
| 694 | - rw [B.angular_change e0 X0 y0 _ hX.le hδ] | |
| 695 | - have hs := (angularScale_pos lam e0 X0 y0 he0 hX).ne' | |
| 696 | - field_simp | |
| 697 | - ring | |
| 698 | - | |
| 699 | 491 | end ResetBranch |
| 700 | 492 | |
| 701 | 493 | /-! ## Finite-interval moments, including an arbitrary earlier prefix -/ |
| 702 | 494 | |
| 703 | -theorem radiusX_continuous (X0 : ℝ) : Continuous (radiusX X0) := | |
| 704 | - continuous_const.mul Real.continuous_exp | |
| 705 | - | |
| 706 | -theorem baseH_continuous (lam e0 X0 : ℝ) : Continuous (baseH lam e0 X0) := | |
| 707 | - (Real.continuous_sqrt.comp (continuous_const.mul (radiusX_continuous X0))).mul | |
| 708 | - (baseE_contDiff lam e0).continuous | |
| 709 | - | |
| 710 | -theorem modifiedH_continuous (lam e0 X0 y0 : ℝ) (c : Coeff) : | |
| 711 | - Continuous (modifiedH lam e0 X0 y0 c) := | |
| 712 | - (Real.continuous_sqrt.comp (continuous_const.mul (radiusX_continuous X0))).mul | |
| 713 | - (modifiedE_contDiff lam e0 y0 c).continuous | |
| 714 | - | |
| 715 | 495 | theorem outside_window {a b y0 y : ℝ} (ha : a ≤ y0 - 1) (hb : y0 + 3 ≤ b) |
| 716 | 496 | (hy : y ∉ Icc a b) : y ∉ Ioo (y0 - 1) (y0 + 3) := by |
| 717 | 497 | intro h |
| 718 | 498 | exact hy ⟨ha.trans h.1.le, h.2.le.trans hb⟩ |
| 719 | 499 | |
| 720 | -theorem angular_interval_change (lam e0 X0 y0 a b : ℝ) (c : Coeff) | |
| 721 | - (hX : 0 ≤ X0) (ha : a ≤ y0 - 1) (hb : y0 + 3 ≤ b) : | |
| 722 | - (∫ y in Icc a b, radiusX X0 y * modifiedH lam e0 X0 y0 c y) - | |
| 723 | - (∫ y in Icc a b, radiusX X0 y * baseH lam e0 X0 y) = | |
| 724 | - angularScale lam e0 X0 y0 * ∫ y, Real.exp (angularSlope lam * y) * relative c y := by | |
| 725 | - have hm : IntegrableOn (fun y => radiusX X0 y * modifiedH lam e0 X0 y0 c y) (Icc a b) := | |
| 726 | - ((radiusX_continuous X0).mul (modifiedH_continuous lam e0 X0 y0 c)).continuousOn.integrableOn_Icc | |
| 727 | - have he : IntegrableOn (fun y => radiusX X0 y * baseH lam e0 X0 y) (Icc a b) := | |
| 728 | - ((radiusX_continuous X0).mul (baseH_continuous lam e0 X0)).continuousOn.integrableOn_Icc | |
| 729 | - rw [← integral_sub hm he] | |
| 730 | - have hi : (fun y => radiusX X0 y * modifiedH lam e0 X0 y0 c y - | |
| 731 | - radiusX X0 y * baseH lam e0 X0 y) = | |
| 732 | - (fun y => radiusX X0 y * (modifiedH lam e0 X0 y0 c y - baseH lam e0 X0 y)) := by | |
| 733 | - funext y | |
| 734 | - ring | |
| 735 | - rw [hi, setIntegral_eq_integral_of_forall_compl_eq_zero] | |
| 736 | - · exact angular_integral_formula lam e0 X0 y0 c hX | |
| 737 | - · intro y hy | |
| 738 | - rw [modifiedH_unchanged lam e0 X0 y0 c (outside_window ha hb hy), sub_self, mul_zero] | |
| 739 | - | |
| 740 | 500 | theorem pressure_interval_change (lam e0 y0 a b : ℝ) (c : Coeff) |
| 741 | 501 | (ha : a ≤ y0 - 1) (hb : y0 + 3 ≤ b) : |
| 742 | 502 | (∫ y in Icc a b, (modifiedE lam e0 y0 c y) ^ 2) - |
| @@ -760,28 +520,6 @@ theorem ResetBranch.pressure_interval_neutral {lam : ℝ} (B : ResetBranch lam) | ||
| 760 | 520 | apply sub_eq_zero.mp |
| 761 | 521 | rw [pressure_interval_change lam e0 y0 a b (B.coefficients δ) ha hb, B.pressure δ hδ, mul_zero] |
| 762 | 522 | |
| 763 | -def prefixI (lam e0 X0 a b Iprior : ℝ) : ℝ := | |
| 764 | - Iprior + ∫ y in Icc a b, radiusX X0 y * baseH lam e0 X0 y | |
| 765 | - | |
| 766 | -theorem ResetBranch.exact_endpoint_moment {lam : ℝ} (B : ResetBranch lam) | |
| 767 | - (e0 X0 y0 a b Iprior Itarget : ℝ) (he0 : 0 < e0) (hX : 0 < X0) | |
| 768 | - (ha : a ≤ y0 - 1) (hb : y0 + 3 ≤ b) | |
| 769 | - (hδ : (Itarget - prefixI lam e0 X0 a b Iprior) / angularScale lam e0 X0 y0 ∈ | |
| 770 | - Ioo (-B.radius) B.radius) : | |
| 771 | - Iprior + (∫ y in Icc a b, radiusX X0 y * modifiedH lam e0 X0 y0 | |
| 772 | - (B.coefficients ((Itarget - prefixI lam e0 X0 a b Iprior) / angularScale lam e0 X0 y0)) y) = | |
| 773 | - Itarget := by | |
| 774 | - let δ := (Itarget - prefixI lam e0 X0 a b Iprior) / angularScale lam e0 X0 y0 | |
| 775 | - have hi := angular_interval_change lam e0 X0 y0 a b (B.coefficients δ) hX.le ha hb | |
| 776 | - rw [B.angular δ hδ] at hi | |
| 777 | - have hs : angularScale lam e0 X0 y0 ≠ 0 := (angularScale_pos lam e0 X0 y0 he0 hX).ne' | |
| 778 | - have hd : angularScale lam e0 X0 y0 * δ = Itarget - prefixI lam e0 X0 a b Iprior := by | |
| 779 | - dsimp [δ] | |
| 780 | - field_simp | |
| 781 | - rw [hd] at hi | |
| 782 | - dsimp [prefixI] at hi | |
| 783 | - linarith | |
| 784 | - | |
| 785 | 523 | /-! ## Smooth dependence on the angular parameter -/ |
| 786 | 524 | |
| 787 | 525 | theorem relative_joint_contDiff : |
| @@ -793,21 +531,4 @@ theorem relative_joint_contDiff : | ||
| 793 | 531 | exact (h0.mul ((bump_contDiff 0).comp contDiff_snd)).add |
| 794 | 532 | (h1.mul ((bump_contDiff 1).comp contDiff_snd)) |
| 795 | 533 | |
| 796 | -theorem ResetBranch.joint_contDiffOn {lam : ℝ} (B : ResetBranch lam) | |
| 797 | - (e0 y0 : ℝ) {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| 798 | - {S : Set P} {δ : P → ℝ} (hδ : ContDiffOn ℝ ∞ δ S) | |
| 799 | - (hsmall : ∀ p ∈ S, δ p ∈ Ioo (-B.radius) B.radius) : | |
| 800 | - ContDiffOn ℝ ∞ (fun z : P × ℝ => modifiedE lam e0 y0 (B.coefficients (δ z.1)) z.2) | |
| 801 | - (S ×ˢ univ) := by | |
| 802 | - have hc : ContDiffOn ℝ ∞ (fun p => B.coefficients (δ p)) S := | |
| 803 | - B.smooth.comp hδ hsmall | |
| 804 | - have hcz : ContDiffOn ℝ ∞ (fun z : P × ℝ => B.coefficients (δ z.1)) (S ×ˢ univ) := | |
| 805 | - hc.comp contDiffOn_fst (fun _ hz => hz.1) | |
| 806 | - have hs : ContDiffOn ℝ ∞ (fun z : P × ℝ => z.2 - y0) (S ×ˢ univ) := | |
| 807 | - contDiffOn_snd.sub contDiffOn_const | |
| 808 | - have hr : ContDiffOn ℝ ∞ (fun z : P × ℝ => relative (B.coefficients (δ z.1)) (z.2 - y0)) | |
| 809 | - (S ×ˢ univ) := | |
| 810 | - relative_joint_contDiff.contDiffOn.comp (hcz.prodMk hs) (mapsTo_univ _ _) | |
| 811 | - exact ((baseE_contDiff lam e0).comp contDiff_snd).contDiffOn.mul (contDiffOn_const.add hr) | |
| 812 | - | |
| 813 | 534 | end NavierStokes.AngularMomentReset |
+0 −56 NavierStokes/AnnularAuxiliary.lean View file
| @@ -45,36 +45,6 @@ noncomputable def auxiliary {S : Set ℝ} | ||
| 45 | 45 | (F : ℝ × ℝ → ℝ) (p : ℝ × ℝ) : ℝ := |
| 46 | 46 | F (positiveMap a p.1, w.parameterMap p.2) |
| 47 | 47 | |
| 48 | -theorem auxiliary_contDiff {S : Set ℝ} | |
| 49 | - (w : ParametricRadialExtension.ParameterWindow S) {a : ℝ} (ha : 0 < a) | |
| 50 | - {F : ℝ × ℝ → ℝ} (hF : ContDiffOn ℝ ∞ F (Ioi 0 ×ˢ S)) : | |
| 51 | - ContDiff ℝ ∞ (auxiliary w a F) := | |
| 52 | - hF.comp_contDiff (((positiveMap_contDiff a).comp contDiff_fst).prodMk | |
| 53 | - (w.parameterMap_contDiff.comp contDiff_snd)) | |
| 54 | - (fun p => ⟨positiveMap_pos ha p.1, w.parameterMap_mem p.2⟩) | |
| 55 | - | |
| 56 | -theorem auxiliary_eq {S : Set ℝ} | |
| 57 | - (w : ParametricRadialExtension.ParameterWindow S) {a : ℝ} (ha : 0 < a) | |
| 58 | - (F : ℝ × ℝ → ℝ) {p : ℝ × ℝ} (hX : a ≤ p.1) (heta : |p.2| ≤ w.inner) : | |
| 59 | - auxiliary w a F p = F p := by | |
| 60 | - rw [auxiliary, positiveMap_eq ha hX, w.parameterMap_eq heta] | |
| 61 | - | |
| 62 | -theorem auxiliary_germ {S : Set ℝ} | |
| 63 | - (w : ParametricRadialExtension.ParameterWindow S) {a : ℝ} (ha : 0 < a) | |
| 64 | - (F : ℝ × ℝ → ℝ) {p : ℝ × ℝ} (hX : a < p.1) (heta : |p.2| < w.inner) : | |
| 65 | - auxiliary w a F =ᶠ[𝓝 p] F := by | |
| 66 | - filter_upwards [(isOpen_Ioi.prod isOpen_Ioo).mem_nhds ⟨hX, abs_lt.mp heta⟩] with q hq | |
| 67 | - exact auxiliary_eq w ha F hq.1.le (abs_lt.mpr hq.2).le | |
| 68 | - | |
| 69 | -theorem auxiliary_jets {S : Set ℝ} | |
| 70 | - (w : ParametricRadialExtension.ParameterWindow S) {a : ℝ} (ha : 0 < a) | |
| 71 | - (F : ℝ × ℝ → ℝ) (m : ℕ) {p : ℝ × ℝ} | |
| 72 | - (hX : a < p.1) (heta : |p.2| < w.inner) : | |
| 73 | - iteratedFDeriv ℝ m (auxiliary w a F) p = iteratedFDeriv ℝ m F p := by | |
| 74 | - have he := auxiliary_germ w ha F hX heta | |
| 75 | - have hu : auxiliary w a F =ᶠ[𝓝[univ] p] F := by simpa using he | |
| 76 | - simpa only [iteratedFDerivWithin_univ] using hu.iteratedFDerivWithin_eq he.eq_of_nhds m | |
| 77 | - | |
| 78 | 48 | section Transplant |
| 79 | 49 | |
| 80 | 50 | variable {α E V : Type*} [AddCommGroup E] [AddCommGroup V] |
| @@ -93,32 +63,6 @@ theorem transplant_inside {base aux replacement : α → E} {x : α} | ||
| 93 | 63 | rw [transplant, hx] |
| 94 | 64 | abel |
| 95 | 65 | |
| 96 | -/-- Arbitrary nonlinear density changes transfer pointwise. This includes | |
| 97 | -quadratic energy, transport, and pressure densities. -/ | |
| 98 | -theorem transplant_density_difference (H : α → E → V) | |
| 99 | - {base aux replacement : α → E} {K : Set α} | |
| 100 | - (hbase : EqOn base aux K) (hedit : ∀ x ∉ K, replacement x = aux x) (x : α) : | |
| 101 | - H x (transplant base aux replacement x) - H x (base x) = | |
| 102 | - H x (replacement x) - H x (aux x) := by | |
| 103 | - by_cases hx : x ∈ K | |
| 104 | - · rw [transplant_inside (hbase hx), hbase hx] | |
| 105 | - · rw [transplant_outside (hedit x hx), hedit x hx, sub_self, sub_self] | |
| 106 | - | |
| 107 | 66 | end Transplant |
| 108 | 67 | |
| 109 | -theorem transplant_contDiffOn {D : Set (ℝ × ℝ)} {base aux replacement : ℝ × ℝ → ℝ} | |
| 110 | - (hb : ContDiffOn ℝ ∞ base D) (ha : ContDiff ℝ ∞ aux) (hr : ContDiff ℝ ∞ replacement) : | |
| 111 | - ContDiffOn ℝ ∞ (transplant base aux replacement) D := | |
| 112 | - hb.add (hr.sub ha).contDiffOn | |
| 113 | - | |
| 114 | -theorem transplanted_density_integral | |
| 115 | - {E V : Type*} [AddCommGroup E] [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 116 | - (H : (ℝ × ℝ) → E → V) {base aux replacement : ℝ × ℝ → E} {K : Set (ℝ × ℝ)} | |
| 117 | - (hbase : EqOn base aux K) (hedit : ∀ x ∉ K, replacement x = aux x) (X eta : ℝ) : | |
| 118 | - (∫ r in (0 : ℝ)..X, H (r, eta) (transplant base aux replacement (r, eta)) - H (r, eta) (base (r, eta))) = | |
| 119 | - ∫ r in (0 : ℝ)..X, H (r, eta) (replacement (r, eta)) - H (r, eta) (aux (r, eta)) := by | |
| 120 | - apply intervalIntegral.integral_congr | |
| 121 | - intro r _ | |
| 122 | - exact transplant_density_difference H hbase hedit (r, eta) | |
| 123 | - | |
| 124 | 68 | end NavierStokes.AnnularAuxiliary |
+0 −301 NavierStokes/AnnularEndpoint.lean View file
| @@ -118,15 +118,6 @@ theorem ShrinkingSupport.map_zero {W : Type*} [Zero W] {h C : ℝ} | ||
| 118 | 118 | intro hz |
| 119 | 119 | exact hn (by simpa only [hz] using hT w) |
| 120 | 120 | |
| 121 | -theorem exists_common_zero_neighborhood {ι : Type*} {h C : ℝ} | |
| 122 | - (hh : 0 < h) (hh1 : h < 1 / 2) {f : ι → SpaceTime → V} | |
| 123 | - (hf : ∀ i, ShrinkingSupport h C (f i)) {x : Space} | |
| 124 | - (hx : x ≠ 0) (hz : x 2 = 0) : | |
| 125 | - ∃ U : Set SpaceTime, IsOpen U ∧ (1, x) ∈ U ∧ | |
| 126 | - ∀ w ∈ U, w.1 < 1 → ∀ i, f i w = 0 := by | |
| 127 | - obtain ⟨U, hU, hxU, hs⟩ := exists_separating_neighborhood hh hh1 C hx hz | |
| 128 | - exact ⟨U, hU, hxU, fun w hw ht i => (hf i).zero_of_separated ht (hs w hw ht)⟩ | |
| 129 | - | |
| 130 | 121 | theorem exists_zero_neighborhood {h C : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 131 | 122 | {f : SpaceTime → V} (hf : ShrinkingSupport h C f) {x : Space} |
| 132 | 123 | (hx : x ≠ 0) (hz : x 2 = 0) : |
| @@ -181,17 +172,6 @@ theorem ShrinkingSupport.tsum {ι : Type*} {h C : ℝ} {f : ι → SpaceTime → | ||
| 181 | 172 | have he : ∀ i, f i w = 0 := fun i => (hf i).zero_of_separated ht (lt_of_not_ge hs) |
| 182 | 173 | simp only [he, tsum_zero] |
| 183 | 174 | |
| 184 | -omit [NormedSpace ℝ V] in | |
| 185 | -theorem ShrinkingSupport.finsum {ι : Type*} {h C : ℝ} {f : ι → SpaceTime → V} | |
| 186 | - (hf : ∀ i, ShrinkingSupport h C (f i)) : | |
| 187 | - ShrinkingSupport h C (fun w => ∑ᶠ i, f i w) := by | |
| 188 | - intro w ht hn | |
| 189 | - by_contra hs | |
| 190 | - apply hn | |
| 191 | - apply finsum_eq_zero_of_forall_eq_zero | |
| 192 | - intro i | |
| 193 | - exact (hf i).zero_of_separated ht (lt_of_not_ge hs) | |
| 194 | - | |
| 195 | 175 | theorem ShrinkingSupport.potentialSum {h C : ℝ} {f : ℕ → SpaceTime → V} |
| 196 | 176 | (hf : ∀ j, ShrinkingSupport h C (f j)) (a : ℕ → ℝ) (q : SpaceTime → ℝ) : |
| 197 | 177 | ShrinkingSupport h C (SolenoidalDiagonal.potentialSum a q f) := |
| @@ -239,66 +219,12 @@ theorem shrinkingSupport_of_normalized_annulus {V : Type*} [Zero V] | ||
| 239 | 219 | obtain ⟨n, ha, hq⟩ := hf w ht hn |
| 240 | 220 | exact radius_le_of_scaled_annulus ha hq |
| 241 | 221 | |
| 242 | -/-- An adapter from the already constructed scalar physical wave family. | |
| 243 | -This uses its actual amplitude support and its actual slow mask. -/ | |
| 244 | -theorem regularFamily_term_support {H : ℕ} {f : PhysicalWaveSum.WaveFamily H} | |
| 245 | - {a b h r0 Z : ℝ} {Δ : ℕ} | |
| 246 | - (hf : PhysicalWaveSum.RegularFamily f a b h r0 Z Δ) | |
| 247 | - (I : PhysicalWaveSum.WaveIndex H) : | |
| 248 | - ShrinkingSupport h (2 * b * Real.sqrt 2) (f.term a h r0 I) := by | |
| 249 | - apply shrinkingSupport_of_normalized_annulus | |
| 250 | - intro w ht hn | |
| 251 | - exact ⟨I.1.val.1, (hf.geometry_support I w | |
| 252 | - (PhysicalWaveSum.globalWave_ne_zero_amp hn)).1, | |
| 253 | - (PhysicalWaveSum.labelRegion_active_relation (hf.term_support I w ht hn)).2⟩ | |
| 254 | - | |
| 255 | -theorem regularFamily_sum_support {H : ℕ} {f : PhysicalWaveSum.WaveFamily H} | |
| 256 | - {a b h r0 Z : ℝ} {Δ : ℕ} | |
| 257 | - (hf : PhysicalWaveSum.RegularFamily f a b h r0 Z Δ) : | |
| 258 | - ShrinkingSupport h (2 * b * Real.sqrt 2) (f.sum a h r0) := | |
| 259 | - ShrinkingSupport.finsum (regularFamily_term_support hf) | |
| 260 | - | |
| 261 | -/-- The complete physical copy-and-label sum has the same outer support. | |
| 262 | -The support witness keeps the individual copy and its own carrier center. -/ | |
| 263 | -theorem copyFamily_sum_support {H Δ : ℕ} {K : Type*} | |
| 264 | - {f : PhysicalCopyBounds.CopyFamily H K} {a b h r0 Z : ℝ} | |
| 265 | - (hf : PhysicalCopyBounds.RegularFamily f a b h r0 Z Δ) : | |
| 266 | - ShrinkingSupport h (2 * b * Real.sqrt 2) (f.sum a h r0) := by | |
| 267 | - apply shrinkingSupport_of_normalized_annulus | |
| 268 | - intro w ht hn | |
| 269 | - obtain ⟨I, _, _, ha, hm⟩ := hf.sum_support ht hn | |
| 270 | - exact ⟨I.1.val.1, ha, (PhysicalWaveSum.labelRegion_active_relation hm).2⟩ | |
| 271 | - | |
| 272 | -theorem copyFamily_real_sum_support {H Δ : ℕ} {K : Type*} | |
| 273 | - {f : PhysicalCopyBounds.CopyFamily H K} {a b h r0 Z : ℝ} | |
| 274 | - (hf : PhysicalCopyBounds.RegularFamily f a b h r0 Z Δ) : | |
| 275 | - ShrinkingSupport h (2 * b * Real.sqrt 2) (fun w => (f.sum a h r0 w).re) := | |
| 276 | - (copyFamily_sum_support hf).map_zero (fun _ z => z.re) (by intro; rfl) | |
| 277 | - | |
| 278 | -theorem copyFamily_vector_support {H Δ : ℕ} {K : Type*} | |
| 279 | - {f : Fin 3 → PhysicalCopyBounds.CopyFamily H K} {a b h r0 Z : ℝ} | |
| 280 | - (hf : ∀ i, PhysicalCopyBounds.RegularFamily (f i) a b h r0 Z Δ) : | |
| 281 | - ShrinkingSupport h (2 * b * Real.sqrt 2) (PhysicalCopyBounds.vectorSum f a h r0) := by | |
| 282 | - apply ShrinkingSupport.finset_sum | |
| 283 | - intro i _ | |
| 284 | - exact (copyFamily_sum_support (hf i)).map_zero | |
| 285 | - (fun _ z => PhysicalWaveSum.realCoordinate i z) (by intro; simp) | |
| 286 | - | |
| 287 | 222 | end WaveSupport |
| 288 | 223 | |
| 289 | 224 | section Extensions |
| 290 | 225 | |
| 291 | 226 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 292 | 227 | |
| 293 | -omit [NormedSpace ℝ V] in | |
| 294 | -theorem zero_germ_of_eqOn {f : SpaceTime → V} {U : Set SpaceTime} | |
| 295 | - (hU : IsOpen U) (hf : EqOn f (fun _ => 0) (U ∩ SpacetimeEndpoint.openPast 1)) | |
| 296 | - {w : SpaceTime} (hw : w ∈ U) (ht : w.1 < 1) : | |
| 297 | - f =ᶠ[𝓝 w] fun _ => 0 := by | |
| 298 | - filter_upwards [(hU.inter (SpacetimeEndpoint.openPast_isOpen 1)).mem_nhds | |
| 299 | - (show w ∈ U ∩ SpacetimeEndpoint.openPast 1 from ⟨hw, ht, mem_univ _⟩)] with y hy | |
| 300 | - exact hf hy | |
| 301 | - | |
| 302 | 228 | omit [NormedSpace ℝ V] in |
| 303 | 229 | /-- At every preterminal point strictly outside the support radius the |
| 304 | 230 | field is zero on an ambient neighborhood. -/ |
| @@ -311,25 +237,6 @@ theorem ShrinkingSupport.zero_germ {h C : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 311 | 237 | filter_upwards [he, PhysicalWaveSum.preterminal_open.mem_nhds ht] with y hy hyt |
| 312 | 238 | exact hf.zero_of_separated hyt hy |
| 313 | 239 | |
| 314 | -theorem ShrinkingSupport.derivative_support {h C : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 315 | - {f : SpaceTime → V} (hf : ShrinkingSupport h C f) (m : ℕ) : | |
| 316 | - ShrinkingSupport h C (iteratedFDeriv ℝ m f) := by | |
| 317 | - intro w ht hn | |
| 318 | - by_contra hs | |
| 319 | - have he := (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq | |
| 320 | - (hf.zero_germ hh hh1 ht (lt_of_not_ge hs)) m).self_of_nhds | |
| 321 | - apply hn | |
| 322 | - simpa only [iteratedFDeriv_fun_zero, Pi.zero_apply] using he | |
| 323 | - | |
| 324 | -/-- Actual joint derivatives vanish on the same open past neighborhood. -/ | |
| 325 | -theorem jets_zero_of_eqOn {f : SpaceTime → V} {U : Set SpaceTime} | |
| 326 | - (hU : IsOpen U) (hf : EqOn f (fun _ => 0) (U ∩ SpacetimeEndpoint.openPast 1)) | |
| 327 | - (m : ℕ) : EqOn (iteratedFDeriv ℝ m f) (fun _ => 0) | |
| 328 | - (U ∩ SpacetimeEndpoint.openPast 1) := by | |
| 329 | - intro w hw | |
| 330 | - have he := (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq (zero_germ_of_eqOn hU hf hw.1 hw.2.1) m).self_of_nhds | |
| 331 | - simpa only [iteratedFDeriv_fun_zero, Pi.zero_apply] using he | |
| 332 | - | |
| 333 | 240 | /-- The extension is the literal zero function on an actual ambient open |
| 334 | 241 | neighborhood, not only a limiting boundary value. -/ |
| 335 | 242 | noncomputable def zeroExtension {f : SpaceTime → V} {x : Space} {U : Set SpaceTime} |
| @@ -349,57 +256,6 @@ theorem ShrinkingSupport.oneSidedExtension {h C : ℝ} (hh : 0 < h) (hh1 : h < 1 | ||
| 349 | 256 | obtain ⟨U, hU, hxU, hfU⟩ := exists_zero_neighborhood hh hh1 hf hx hz |
| 350 | 257 | exact ⟨zeroExtension hU hxU hfU⟩ |
| 351 | 258 | |
| 352 | -theorem ShrinkingSupport.jets_eventually_zero {h C : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 353 | - {f : SpaceTime → V} (hf : ShrinkingSupport h C f) {x : Space} | |
| 354 | - (hx : x ≠ 0) (hz : x 2 = 0) (m : ℕ) : | |
| 355 | - iteratedFDeriv ℝ m f =ᶠ[𝓝[SpacetimeEndpoint.openPast 1] (1, x)] fun _ => 0 := by | |
| 356 | - obtain ⟨U, hU, hxU, hfU⟩ := exists_zero_neighborhood hh hh1 hf hx hz | |
| 357 | - filter_upwards [nhdsWithin_le_nhds (hU.mem_nhds hxU), self_mem_nhdsWithin] with w hw ht | |
| 358 | - exact jets_zero_of_eqOn hU hfU m ⟨hw, ht⟩ | |
| 359 | - | |
| 360 | -theorem ShrinkingSupport.jets_tendsto_zero {h C : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 361 | - {f : SpaceTime → V} (hf : ShrinkingSupport h C f) {x : Space} | |
| 362 | - (hx : x ≠ 0) (hz : x 2 = 0) (m : ℕ) : | |
| 363 | - Tendsto (iteratedFDeriv ℝ m f) (𝓝[SpacetimeEndpoint.openPast 1] (1, x)) (𝓝 0) := | |
| 364 | - tendsto_const_nhds.congr' (hf.jets_eventually_zero hh hh1 hx hz m).symm | |
| 365 | - | |
| 366 | -/-- The support argument supplies the central-plane branch. Extensions | |
| 367 | -at nonzero axial coordinate remain a separate, explicit input. -/ | |
| 368 | -theorem awayExtensions_of_offplane {h C : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 369 | - {f : SpaceTime → V} (hf : ShrinkingSupport h C f) | |
| 370 | - (hoff : ∀ x : Space, x 2 ≠ 0 → Nonempty (JointResidualLimits.OneSidedExtension f x)) : | |
| 371 | - JointResidualLimits.AwayExtensions f := by | |
| 372 | - intro x hx | |
| 373 | - by_cases hz : x 2 = 0 | |
| 374 | - · exact hf.oneSidedExtension hh hh1 hx hz | |
| 375 | - · exact hoff x hz | |
| 376 | - | |
| 377 | -/-- Adding a correction which vanishes on a past neighborhood preserves | |
| 378 | -the literal extension of the base field on the intersection. -/ | |
| 379 | -noncomputable def addZeroExtension {f g : SpaceTime → V} {x : Space} | |
| 380 | - (e : JointResidualLimits.OneSidedExtension f x) {U : Set SpaceTime} | |
| 381 | - (hU : IsOpen U) (hxU : (1, x) ∈ U) | |
| 382 | - (hg : EqOn g (fun _ => 0) (U ∩ SpacetimeEndpoint.openPast 1)) : | |
| 383 | - JointResidualLimits.OneSidedExtension (fun w => f w + g w) x where | |
| 384 | - value := e.value | |
| 385 | - domain := e.domain ∩ U | |
| 386 | - isOpen := e.isOpen.inter hU | |
| 387 | - mem := ⟨e.mem, hxU⟩ | |
| 388 | - smooth := e.smooth.mono inter_subset_left | |
| 389 | - agrees := by | |
| 390 | - intro w hw | |
| 391 | - change e.value w = f w + g w | |
| 392 | - rw [hg ⟨hw.1.2, hw.2⟩, add_zero] | |
| 393 | - exact e.agrees ⟨hw.1.1, hw.2⟩ | |
| 394 | - | |
| 395 | -theorem add_supported_extension {h C : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 396 | - {f g : SpaceTime → V} {x : Space} | |
| 397 | - (e : JointResidualLimits.OneSidedExtension f x) (hg : ShrinkingSupport h C g) | |
| 398 | - (hx : x ≠ 0) (hz : x 2 = 0) : | |
| 399 | - Nonempty (JointResidualLimits.OneSidedExtension (fun w => f w + g w) x) := by | |
| 400 | - obtain ⟨U, hU, hxU, hgU⟩ := exists_zero_neighborhood hh hh1 hg hx hz | |
| 401 | - exact ⟨addZeroExtension e hU hxU hgU⟩ | |
| 402 | - | |
| 403 | 259 | end Extensions |
| 404 | 260 | |
| 405 | 261 | section Curl |
| @@ -437,171 +293,14 @@ end Curl | ||
| 437 | 293 | |
| 438 | 294 | section Diagonal |
| 439 | 295 | |
| 440 | -/-- One neighborhood kills both complete diagonal sums, their actual | |
| 441 | -curl, and every joint derivative. The scalar cutoffs are arbitrary. -/ | |
| 442 | -theorem diagonal_sums_zero_near_terminal {h C : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 443 | - {A : ℕ → SpaceTime → Space} {p : ℕ → SpaceTime → ℝ} | |
| 444 | - (hA : ∀ j, ShrinkingSupport h C (A j)) (hp : ∀ j, ShrinkingSupport h C (p j)) | |
| 445 | - (a : ℕ → ℝ) (q : SpaceTime → ℝ) {x : Space} (hx : x ≠ 0) (hz : x 2 = 0) : | |
| 446 | - ∃ U : Set SpaceTime, IsOpen U ∧ (1, x) ∈ U ∧ | |
| 447 | - EqOn (SolenoidalDiagonal.potentialSum a q A) (fun _ => 0) | |
| 448 | - (U ∩ SpacetimeEndpoint.openPast 1) ∧ | |
| 449 | - EqOn (SolenoidalDiagonal.potentialSum a q p) (fun _ => 0) | |
| 450 | - (U ∩ SpacetimeEndpoint.openPast 1) ∧ | |
| 451 | - EqOn (SolenoidalDiagonal.velocitySum a q A) (fun _ => 0) | |
| 452 | - (U ∩ SpacetimeEndpoint.openPast 1) ∧ | |
| 453 | - ∀ m : ℕ, | |
| 454 | - EqOn (iteratedFDeriv ℝ m (SolenoidalDiagonal.potentialSum a q A)) (fun _ => 0) | |
| 455 | - (U ∩ SpacetimeEndpoint.openPast 1) ∧ | |
| 456 | - EqOn (iteratedFDeriv ℝ m (SolenoidalDiagonal.potentialSum a q p)) (fun _ => 0) | |
| 457 | - (U ∩ SpacetimeEndpoint.openPast 1) ∧ | |
| 458 | - EqOn (iteratedFDeriv ℝ m (SolenoidalDiagonal.velocitySum a q A)) (fun _ => 0) | |
| 459 | - (U ∩ SpacetimeEndpoint.openPast 1) := by | |
| 460 | - obtain ⟨U, hU, hxU, hsep⟩ := exists_separating_neighborhood hh hh1 C hx hz | |
| 461 | - have hAS := ShrinkingSupport.potentialSum hA a q | |
| 462 | - have hpS := ShrinkingSupport.potentialSum hp a q | |
| 463 | - have hvS := hAS.spatialCurl hh hh1 | |
| 464 | - have hAz : EqOn (SolenoidalDiagonal.potentialSum a q A) (fun _ => 0) | |
| 465 | - (U ∩ SpacetimeEndpoint.openPast 1) := | |
| 466 | - fun w hw => hAS.zero_of_separated hw.2.1 (hsep w hw.1 hw.2.1) | |
| 467 | - have hpz : EqOn (SolenoidalDiagonal.potentialSum a q p) (fun _ => 0) | |
| 468 | - (U ∩ SpacetimeEndpoint.openPast 1) := | |
| 469 | - fun w hw => hpS.zero_of_separated hw.2.1 (hsep w hw.1 hw.2.1) | |
| 470 | - have hvz : EqOn (SolenoidalDiagonal.velocitySum a q A) (fun _ => 0) | |
| 471 | - (U ∩ SpacetimeEndpoint.openPast 1) := | |
| 472 | - fun w hw => hvS.zero_of_separated hw.2.1 (hsep w hw.1 hw.2.1) | |
| 473 | - exact ⟨U, hU, hxU, hAz, hpz, hvz, fun m => | |
| 474 | - ⟨jets_zero_of_eqOn hU hAz m, jets_zero_of_eqOn hU hpz m, | |
| 475 | - jets_zero_of_eqOn hU hvz m⟩⟩ | |
| 476 | - | |
| 477 | -/-- Add the actual diagonal sum before taking any velocity derivative. -/ | |
| 478 | -noncomputable def diagonalAddition {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 479 | - (f : SpaceTime → V) (a : ℕ → ℝ) (q : SpaceTime → ℝ) | |
| 480 | - (F : ℕ → SpaceTime → V) (w : SpaceTime) : V := | |
| 481 | - f w + SolenoidalDiagonal.potentialSum a q F w | |
| 482 | - | |
| 483 | -theorem diagonal_addition_extension {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 484 | - {h C : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 485 | - {f : SpaceTime → V} {F : ℕ → SpaceTime → V} | |
| 486 | - (hF : ∀ j, ShrinkingSupport h C (F j)) (a : ℕ → ℝ) (q : SpaceTime → ℝ) | |
| 487 | - {x : Space} (hx : x ≠ 0) (hz : x 2 = 0) (e : JointResidualLimits.OneSidedExtension f x) : | |
| 488 | - Nonempty (JointResidualLimits.OneSidedExtension (diagonalAddition f a q F) x) := | |
| 489 | - add_supported_extension hh hh1 e (ShrinkingSupport.potentialSum hF a q) hx hz | |
| 490 | - | |
| 491 | -/-- Exact local agreement includes the concrete nonlinear Cartesian | |
| 492 | -residual, without an assumed residual estimate. -/ | |
| 493 | -theorem diagonal_addition_germs {h C : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 494 | - (A0 : SpaceTime → Space) (p0 : SpaceTime → ℝ) | |
| 495 | - {A : ℕ → SpaceTime → Space} {p : ℕ → SpaceTime → ℝ} | |
| 496 | - (hA : ∀ j, ShrinkingSupport h C (A j)) (hp : ∀ j, ShrinkingSupport h C (p j)) | |
| 497 | - (a : ℕ → ℝ) (q : SpaceTime → ℝ) {x : Space} (hx : x ≠ 0) (hz : x 2 = 0) : | |
| 498 | - ∃ U : Set SpaceTime, IsOpen U ∧ (1, x) ∈ U ∧ | |
| 499 | - ∀ w ∈ U, w.1 < 1 → | |
| 500 | - diagonalAddition A0 a q A =ᶠ[𝓝 w] A0 ∧ | |
| 501 | - SpatialCurl.spatialCurl (diagonalAddition A0 a q A) =ᶠ[𝓝 w] | |
| 502 | - SpatialCurl.spatialCurl A0 ∧ | |
| 503 | - diagonalAddition p0 a q p =ᶠ[𝓝 w] p0 ∧ | |
| 504 | - (fun z => ProblemStatement.navierStokesResidual | |
| 505 | - (SpatialCurl.spatialCurl (diagonalAddition A0 a q A)) | |
| 506 | - (diagonalAddition p0 a q p) z.1 z.2) =ᶠ[𝓝 w] | |
| 507 | - (fun z => ProblemStatement.navierStokesResidual | |
| 508 | - (SpatialCurl.spatialCurl A0) p0 z.1 z.2) := by | |
| 509 | - obtain ⟨U, hU, hxU, hAz, hpz, _, _⟩ := | |
| 510 | - diagonal_sums_zero_near_terminal hh hh1 hA hp a q hx hz | |
| 511 | - refine ⟨U, hU, hxU, ?_⟩ | |
| 512 | - intro w hw ht | |
| 513 | - have hAg : diagonalAddition A0 a q A =ᶠ[𝓝 w] A0 := by | |
| 514 | - filter_upwards [zero_germ_of_eqOn hU hAz hw ht] with y hy | |
| 515 | - simp only [diagonalAddition, hy, add_zero] | |
| 516 | - have hpg : diagonalAddition p0 a q p =ᶠ[𝓝 w] p0 := by | |
| 517 | - filter_upwards [zero_germ_of_eqOn hU hpz hw ht] with y hy | |
| 518 | - simp only [diagonalAddition, hy, add_zero] | |
| 519 | - have hvg := SolenoidalDiagonal.spatialCurl_eventuallyEq hAg | |
| 520 | - exact ⟨hAg, hvg, hpg, ResidualRegularity.residual_eventuallyEq hvg hpg⟩ | |
| 521 | - | |
| 522 | 296 | end Diagonal |
| 523 | 297 | |
| 524 | -/-- Local smooth field extensions determine a smooth extension of the | |
| 525 | -actual Navier--Stokes residual by its differential formula. -/ | |
| 526 | -noncomputable def residualExtension {u : SpaceTime → Space} {p : SpaceTime → ℝ} | |
| 527 | - {x : Space} (eu : JointResidualLimits.OneSidedExtension u x) | |
| 528 | - (ep : JointResidualLimits.OneSidedExtension p x) : | |
| 529 | - JointResidualLimits.OneSidedExtension | |
| 530 | - (fun w => ProblemStatement.navierStokesResidual u p w.1 w.2) x where | |
| 531 | - value := fun w => ProblemStatement.navierStokesResidual eu.value ep.value w.1 w.2 | |
| 532 | - domain := eu.domain ∩ ep.domain | |
| 533 | - isOpen := eu.isOpen.inter ep.isOpen | |
| 534 | - mem := ⟨eu.mem, ep.mem⟩ | |
| 535 | - smooth := ResidualRegularity.contDiffOn_residual (eu.isOpen.inter ep.isOpen) | |
| 536 | - (eu.smooth.mono inter_subset_left) (ep.smooth.mono inter_subset_right) | |
| 537 | - agrees := by | |
| 538 | - intro w hw | |
| 539 | - apply ResidualRegularity.residual_congr | |
| 540 | - · filter_upwards [(eu.isOpen.inter (SpacetimeEndpoint.openPast_isOpen 1)).mem_nhds | |
| 541 | - ⟨hw.1.1, hw.2⟩] with y hy | |
| 542 | - exact eu.agrees hy | |
| 543 | - · filter_upwards [(ep.isOpen.inter (SpacetimeEndpoint.openPast_isOpen 1)).mem_nhds | |
| 544 | - ⟨hw.1.2, hw.2⟩] with y hy | |
| 545 | - exact ep.agrees hy | |
| 546 | - | |
| 547 | 298 | section FinalBase |
| 548 | 299 | |
| 549 | 300 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 550 | 301 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 551 | 302 | (v : ModulatedProfileAssembly.Witness ld) |
| 552 | 303 | |
| 553 | -/-- Apply the shrinking-support construction to the actual selected | |
| 554 | -slow-base potential in the terminally smooth radial gauge. All correction | |
| 555 | -orders are retained. This assertion is at the central plane only. -/ | |
| 556 | -theorem final_diagonal_extensions (upper : ℝ) (B : ℕ) {C : ℝ} | |
| 557 | - {A : ℕ → SpaceTime → Space} {p : ℕ → SpaceTime → ℝ} | |
| 558 | - (hA : ∀ j, ShrinkingSupport F.data.h C (A j)) | |
| 559 | - (hp : ∀ j, ShrinkingSupport F.data.h C (p j)) | |
| 560 | - (a : ℕ → ℝ) (q : SpaceTime → ℝ) {x : Space} (hx : x ≠ 0) (hz : x 2 = 0) : | |
| 561 | - let A' := diagonalAddition (TailGaugePotential.finalPotential H v upper B) a q A | |
| 562 | - let p' := diagonalAddition (FinalSlowBase.pressure H v upper B) a q p | |
| 563 | - Nonempty (JointResidualLimits.OneSidedExtension A' x) ∧ | |
| 564 | - Nonempty (JointResidualLimits.OneSidedExtension (SpatialCurl.spatialCurl A') x) ∧ | |
| 565 | - Nonempty (JointResidualLimits.OneSidedExtension p' x) ∧ | |
| 566 | - Nonempty (JointResidualLimits.OneSidedExtension | |
| 567 | - (fun w => ProblemStatement.navierStokesResidual (SpatialCurl.spatialCurl A') p' w.1 w.2) x) := by | |
| 568 | - obtain ⟨eA0⟩ := TailGaugePotential.finalPotential_awayExtensions H v upper B x hx | |
| 569 | - obtain ⟨ep0⟩ := (SlowBaseEndpoint.final_fields_awayExtensions H v upper B).2 x hx | |
| 570 | - obtain ⟨eA⟩ := diagonal_addition_extension F.data.h_pos F.data.h_lt_half hA a q hx hz eA0 | |
| 571 | - obtain ⟨ep⟩ := diagonal_addition_extension F.data.h_pos F.data.h_lt_half hp a q hx hz ep0 | |
| 572 | - exact ⟨⟨eA⟩, ⟨curlExtension eA⟩, ⟨ep⟩, ⟨residualExtension (curlExtension eA) ep⟩⟩ | |
| 573 | - | |
| 574 | -/-- Near each nonzero terminal central-plane point, the corrected actual | |
| 575 | -velocity, pressure, and residual agree as ambient germs with the same | |
| 576 | -constructed slow base. All joint derivatives therefore agree there too. -/ | |
| 577 | -theorem final_diagonal_germs (upper : ℝ) (B : ℕ) {C : ℝ} | |
| 578 | - {A : ℕ → SpaceTime → Space} {p : ℕ → SpaceTime → ℝ} | |
| 579 | - (hA : ∀ j, ShrinkingSupport F.data.h C (A j)) | |
| 580 | - (hp : ∀ j, ShrinkingSupport F.data.h C (p j)) | |
| 581 | - (a : ℕ → ℝ) (q : SpaceTime → ℝ) {x : Space} (hx : x ≠ 0) (hz : x 2 = 0) : | |
| 582 | - let A' := diagonalAddition (TailGaugePotential.finalPotential H v upper B) a q A | |
| 583 | - let p' := diagonalAddition (FinalSlowBase.pressure H v upper B) a q p | |
| 584 | - ∃ U : Set SpaceTime, IsOpen U ∧ (1, x) ∈ U ∧ | |
| 585 | - ∀ w ∈ U, w.1 < 1 → | |
| 586 | - SpatialCurl.spatialCurl A' =ᶠ[𝓝 w] FinalSlowBase.velocity H v upper B ∧ | |
| 587 | - p' =ᶠ[𝓝 w] FinalSlowBase.pressure H v upper B ∧ | |
| 588 | - (fun z => ProblemStatement.navierStokesResidual | |
| 589 | - (SpatialCurl.spatialCurl A') p' z.1 z.2) =ᶠ[𝓝 w] | |
| 590 | - (fun z => ProblemStatement.navierStokesResidual (FinalSlowBase.velocity H v upper B) | |
| 591 | - (FinalSlowBase.pressure H v upper B) z.1 z.2) := by | |
| 592 | - obtain ⟨U, hU, hxU, hg⟩ := diagonal_addition_germs F.data.h_pos F.data.h_lt_half | |
| 593 | - (TailGaugePotential.finalPotential H v upper B) (FinalSlowBase.pressure H v upper B) | |
| 594 | - hA hp a q hx hz | |
| 595 | - refine ⟨U, hU, hxU, ?_⟩ | |
| 596 | - intro w hw ht | |
| 597 | - have hbase : SpatialCurl.spatialCurl (TailGaugePotential.finalPotential H v upper B) =ᶠ[𝓝 w] | |
| 598 | - FinalSlowBase.velocity H v upper B := by | |
| 599 | - filter_upwards [PhysicalWaveSum.preterminal_open.mem_nhds ht] with y hy | |
| 600 | - exact TailGaugePotential.finalPotential_sameCurl H v upper B hy | |
| 601 | - have hv := (hg w hw ht).2.1.trans hbase | |
| 602 | - have hpr := (hg w hw ht).2.2.1 | |
| 603 | - exact ⟨hv, hpr, ResidualRegularity.residual_eventuallyEq hv hpr⟩ | |
| 604 | - | |
| 605 | 304 | end FinalBase |
| 606 | 305 | |
| 607 | 306 | end NavierStokes.AnnularEndpoint |
+0 −60 NavierStokes/AxisymmetricFields.lean View file
| @@ -184,15 +184,6 @@ theorem contDiffOn_potential {H K : Profile} {times : Set ℝ} {n : WithTop ℕ | ||
| 184 | 184 | ((contDiffOn_const.mul (h0.mul hHv)).smul contDiffOn_const)).add |
| 185 | 185 | (hKv.smul contDiffOn_const) |
| 186 | 186 | |
| 187 | -theorem contDiff_velocity {H K : Profile} {m n : WithTop ℕ∞} | |
| 188 | - (hH : ContDiff ℝ n H) (hK : ContDiff ℝ n K) (hmn : m + 1 ≤ n) : | |
| 189 | - ContDiff ℝ m (velocity H K) := | |
| 190 | - SpatialCurl.contDiff_spatialCurl (contDiff_potential hH hK) hmn | |
| 191 | - | |
| 192 | -theorem smooth_velocity {H K : Profile} | |
| 193 | - (hH : ContDiff ℝ ∞ H) (hK : ContDiff ℝ ∞ K) : ContDiff ℝ ∞ (velocity H K) := | |
| 194 | - contDiff_velocity hH hK (by simp) | |
| 195 | - | |
| 196 | 187 | theorem contDiffOn_velocity {H K : Profile} {times : Set ℝ} {m n : WithTop ℕ∞} |
| 197 | 188 | (hH : ContDiffOn ℝ n H (times ×ˢ (univ : Set (ℝ × ℝ)))) |
| 198 | 189 | (hK : ContDiffOn ℝ n K (times ×ˢ (univ : Set (ℝ × ℝ)))) (hmn : m + 1 ≤ n) : |
| @@ -229,38 +220,6 @@ theorem velocity_on_axis (H K : Profile) (t : ℝ) (x : Space) | ||
| 229 | 220 | rw [velocity_two H K t x hH hK] |
| 230 | 221 | simp [profilePoint, radialEnergy, hx0, hx1, coordinateVector] |
| 231 | 222 | |
| 232 | -/-- The potential's closed spatial support is controlled by the two profile | |
| 233 | -supports, pulled back under the smooth `(t,s,z)` coordinate map. -/ | |
| 234 | -theorem tsupport_potential_slice_subset (H K : Profile) (t : ℝ) : | |
| 235 | - tsupport (fun x : Space => potential H K (t, x)) ⊆ | |
| 236 | - profilePoint t ⁻¹' (tsupport H ∪ tsupport K) := by | |
| 237 | - apply closure_minimal | |
| 238 | - · intro x hx | |
| 239 | - by_contra hn | |
| 240 | - have hnH : profilePoint t x ∉ tsupport H := fun h => hn (Or.inl h) | |
| 241 | - have hnK : profilePoint t x ∉ tsupport K := fun h => hn (Or.inr h) | |
| 242 | - have hHzero := image_eq_zero_of_notMem_tsupport hnH | |
| 243 | - have hKzero := image_eq_zero_of_notMem_tsupport hnK | |
| 244 | - exact hx (by simp [potential, hHzero, hKzero]) | |
| 245 | - · exact ((isClosed_tsupport H).union (isClosed_tsupport K)).preimage | |
| 246 | - (contDiff_profilePoint_slice t (n := 0)).continuous | |
| 247 | - | |
| 248 | -/-- Taking the actual curl does not enlarge this closed spatial support. -/ | |
| 249 | -theorem tsupport_velocity_slice_subset (H K : Profile) (t : ℝ) : | |
| 250 | - tsupport (fun x : Space => velocity H K (t, x)) ⊆ | |
| 251 | - profilePoint t ⁻¹' (tsupport H ∪ tsupport K) := | |
| 252 | - (SpatialCurl.tsupport_curl_subset (fun x : Space => potential H K (t, x))).trans | |
| 253 | - (tsupport_potential_slice_subset H K t) | |
| 254 | - | |
| 255 | -theorem velocity_eq_zero_outside_profile_support (H K : Profile) (t : ℝ) (x : Space) | |
| 256 | - (hH : profilePoint t x ∉ tsupport H) (hK : profilePoint t x ∉ tsupport K) : | |
| 257 | - velocity H K (t, x) = 0 := by | |
| 258 | - apply image_eq_zero_of_notMem_tsupport (f := fun y : Space => velocity H K (t, y)) | |
| 259 | - intro hx | |
| 260 | - rcases tsupport_velocity_slice_subset H K t hx with h | h | |
| 261 | - · exact hH h | |
| 262 | - · exact hK h | |
| 263 | - | |
| 264 | 223 | /-- The Cartesian cylinder cut out by bounds on `s` and `z` is compact. -/ |
| 265 | 224 | theorem isCompact_cylinder (R Z : ℝ) : |
| 266 | 225 | IsCompact {x : Space | radialEnergy x ≤ R ∧ |x 2| ≤ Z} := by |
| @@ -281,23 +240,4 @@ theorem isCompact_cylinder (R Z : ℝ) : | ||
| 281 | 240 | apply Real.sqrt_le_sqrt |
| 282 | 241 | simpa only [Real.norm_eq_abs, sq_abs] using hs |
| 283 | 242 | |
| 284 | -/-- Bounds on profile support give a literal closed cylinder in Cartesian | |
| 285 | -space: `s ≤ R` and `|z| ≤ Z`. -/ | |
| 286 | -theorem tsupport_velocity_cylinder_subset (H K : Profile) (t R Z : ℝ) | |
| 287 | - (hH : tsupport H ⊆ {p : ProfilePoint | p.2.1 ≤ R ∧ |p.2.2| ≤ Z}) | |
| 288 | - (hK : tsupport K ⊆ {p : ProfilePoint | p.2.1 ≤ R ∧ |p.2.2| ≤ Z}) : | |
| 289 | - tsupport (fun x : Space => velocity H K (t, x)) ⊆ | |
| 290 | - {x : Space | radialEnergy x ≤ R ∧ |x 2| ≤ Z} := by | |
| 291 | - intro x hx | |
| 292 | - rcases tsupport_velocity_slice_subset H K t hx with h | h | |
| 293 | - · exact hH h | |
| 294 | - · exact hK h | |
| 295 | - | |
| 296 | -theorem hasCompactSupport_velocity_of_profile_bounds (H K : Profile) (t R Z : ℝ) | |
| 297 | - (hH : tsupport H ⊆ {p : ProfilePoint | p.2.1 ≤ R ∧ |p.2.2| ≤ Z}) | |
| 298 | - (hK : tsupport K ⊆ {p : ProfilePoint | p.2.1 ≤ R ∧ |p.2.2| ≤ Z}) : | |
| 299 | - HasCompactSupport (fun x : Space => velocity H K (t, x)) := | |
| 300 | - (isCompact_cylinder R Z).of_isClosed_subset (isClosed_tsupport _) | |
| 301 | - (tsupport_velocity_cylinder_subset H K t R Z hH hK) | |
| 302 | - | |
| 303 | 243 | end NavierStokes.AxisymmetricFields |
+0 −41 NavierStokes/AxisymmetricResidual.lean View file
| @@ -165,12 +165,6 @@ def SliceC2 (G : Profile) (t : ℝ) : Prop := | ||
| 165 | 165 | theorem SliceC2.differentiable {G : Profile} {t : ℝ} (hG : SliceC2 G t) : |
| 166 | 166 | SliceDifferentiable G t := fun x => (hG x).differentiableAt (by norm_num) |
| 167 | 167 | |
| 168 | -theorem sliceC2_of_contDiffOn {G : Profile} {times : Set ℝ} {t : ℝ} | |
| 169 | - (hG : ContDiffOn ℝ 2 G (times ×ˢ (Set.univ : Set (ℝ × ℝ)))) | |
| 170 | - (ht : times ∈ nhds t) : SliceC2 G t := by | |
| 171 | - intro x | |
| 172 | - exact hG.contDiffAt (prod_mem_nhds ht Filter.univ_mem) | |
| 173 | - | |
| 174 | 168 | theorem contDiff_lift_slice {G : Profile} {t : ℝ} (hG : SliceC2 G t) : |
| 175 | 169 | ContDiff ℝ 2 (lift G t) := by |
| 176 | 170 | rw [contDiff_iff_contDiffAt] |
| @@ -183,17 +177,6 @@ def laplaceScalar (G : Profile) (p : ProfilePoint) : ℝ := | ||
| 183 | 177 | def laplaceWeighted (G : Profile) (p : ProfilePoint) : ℝ := |
| 184 | 178 | 2 * p.2.1 * partialS (partialS G) p + 4 * partialS G p + partialZ (partialZ G) p |
| 185 | 179 | |
| 186 | -theorem contDiff_lift {G : Profile} {n : WithTop ℕ∞} (hG : ContDiff ℝ n G) (t : ℝ) : | |
| 187 | - ContDiff ℝ n (lift G t) := hG.comp (contDiff_profilePoint_slice t) | |
| 188 | - | |
| 189 | -theorem contDiff_partialS {G : Profile} {m n : WithTop ℕ∞} | |
| 190 | - (hG : ContDiff ℝ n G) (hmn : m + 1 ≤ n) : ContDiff ℝ m (partialS G) := | |
| 191 | - (hG.fderiv_right hmn).clm_apply contDiff_const | |
| 192 | - | |
| 193 | -theorem contDiff_partialZ {G : Profile} {m n : WithTop ℕ∞} | |
| 194 | - (hG : ContDiff ℝ n G) (hmn : m + 1 ≤ n) : ContDiff ℝ m (partialZ G) := | |
| 195 | - (hG.fderiv_right hmn).clm_apply contDiff_const | |
| 196 | - | |
| 197 | 180 | theorem fderiv_lift_apply {G : Profile} {t : ℝ} (hG : SliceDifferentiable G t) |
| 198 | 181 | (x v : Space) : fderiv ℝ (lift G t) x v = |
| 199 | 182 | (x 0 * v 0 + x 1 * v 1) * partialS G (profilePoint t x) + |
| @@ -414,14 +397,6 @@ theorem navierStokesResidual_velocity {B F U P : Profile} {t : ℝ} | ||
| 414 | 397 | fin_cases i <;> simp [pack, coordinateVector, |
| 415 | 398 | residualRadial, residualAngular, residualAxial] <;> ring |
| 416 | 399 | |
| 417 | -theorem navierStokesResidual_on_axis {B F U P : Profile} {t : ℝ} | |
| 418 | - (hB : SliceC2 B t) (hF : SliceC2 F t) (hU : SliceC2 U t) | |
| 419 | - (hP : SliceDifferentiable P t) (x : Space) (hx0 : x 0 = 0) (hx1 : x 1 = 0) : | |
| 420 | - navierStokesResidual (velocity B F U) (pressure P) t x = | |
| 421 | - residualAxial B U P (t, (0, x 2)) • coordinateVector 2 := by | |
| 422 | - rw [navierStokesResidual_velocity hB hF hU hP] | |
| 423 | - simp [pack, hx0, hx1, profilePoint, radialEnergy] | |
| 424 | - | |
| 425 | 400 | /-- The three explicit coefficient equations imply the actual Cartesian PDE. -/ |
| 426 | 401 | theorem navierStokesResidual_eq_zero {B F U P : Profile} {t : ℝ} |
| 427 | 402 | (hB : SliceC2 B t) (hF : SliceC2 F t) (hU : SliceC2 U t) |
| @@ -457,20 +432,4 @@ theorem velocity_from_potential_at (H K : Profile) (t : ℝ) (x : Space) | ||
| 457 | 432 | rw [AxisymmetricFields.velocity_two H K t x hH hK] |
| 458 | 433 | simp [velocity, lift, fromPotentialU, profilePoint] |
| 459 | 434 | |
| 460 | -theorem velocity_from_potential {H K : Profile} | |
| 461 | - (hH : Differentiable ℝ H) (hK : Differentiable ℝ K) : | |
| 462 | - AxisymmetricFields.velocity H K = | |
| 463 | - velocity (fromPotentialB H) (fromPotentialF K) (fromPotentialU H) := by | |
| 464 | - funext w | |
| 465 | - exact velocity_from_potential_at H K w.1 w.2 (hH _) (hK _) | |
| 466 | - | |
| 467 | -theorem divergence_velocity_eq_zero {B F U : Profile} {t : ℝ} | |
| 468 | - (hB : SliceDifferentiable B t) (hF : SliceDifferentiable F t) | |
| 469 | - (hU : SliceDifferentiable U t) (x : Space) | |
| 470 | - (h : partialZ U (profilePoint t x) = | |
| 471 | - 2 * B (profilePoint t x) + 2 * radialEnergy x * partialS B (profilePoint t x)) : | |
| 472 | - spatialDivergence (velocity B F U) t x = 0 := by | |
| 473 | - rw [divergence_velocity hB hF hU, h] | |
| 474 | - ring | |
| 475 | - | |
| 476 | 435 | end NavierStokes.AxisymmetricResidual |
+0 −21 NavierStokes/AxisymmetricResidualGrouping.lean View file
| @@ -186,27 +186,6 @@ theorem represented_goodResidual_angular_continuous {ι : Type*} {U : Set D} | ||
| 186 | 186 | exact continuous_const.add (continuous_finsetSum (labels n) (fun l _ => |
| 187 | 187 | Complex.continuous_re.comp (HarmonicFields.field_angular_continuous _ _ _ _ _))) |
| 188 | 188 | |
| 189 | -/-- An arbitrary independent alias does not disturb angular continuity. -/ | |
| 190 | -theorem Representation.goodResidual_angular_continuous {ι : Type*} {U : Set D} | |
| 191 | - (hU : IsOpen U) {c : Context D} {s : State D} {labels : ℕ → Finset ι} | |
| 192 | - {blocks : ι → HarmonicBlock D} | |
| 193 | - {gaussian aliasCoeffs : ι → HarmonicResidual.BlockCoefficients D} | |
| 194 | - {axis : MeanVector D} | |
| 195 | - (hrep : Representation labels blocks gaussian aliasCoeffs s axis) {n : ℕ} | |
| 196 | - (h : HarmonicResidual.ExtractionRegular U c s labels blocks gaussian aliasCoeffs n) | |
| 197 | - {x : D} (hx : x ∈ U) (i : Fin 3) : | |
| 198 | - Continuous (fun θ => HarmonicResidual.stateGoodResidual c s n (x, θ) i) := by | |
| 199 | - have hc := represented_goodResidual_angular_continuous hU hrep.erase | |
| 200 | - (extractionRegular_erase h axis) hx i | |
| 201 | - have he : (fun θ => HarmonicResidual.stateGoodResidual c s n (x, θ) i) = | |
| 202 | - fun θ => HarmonicResidual.stateGoodResidual c (eraseAxisymmetricAlias s axis) | |
| 203 | - n (x, θ) i - axis n x i := by | |
| 204 | - funext θ | |
| 205 | - rw [stateGoodResidual_eraseAxisymmetricAlias] | |
| 206 | - exact (add_sub_cancel_right _ _).symm | |
| 207 | - rw [he] | |
| 208 | - exact hc.sub continuous_const | |
| 209 | - | |
| 210 | 189 | /-- Actual nonconstant residual grouping, with no smoothness or support |
| 211 | 190 | assumption on the independent axisymmetric alias. -/ |
| 212 | 191 | theorem stateGoodWaveResidual_grouped {ι : Type*} {U : Set D} (hU : IsOpen U) |
+0 −4 NavierStokes/BandReindexedSignedMeanGain.lean View file
| @@ -27,10 +27,6 @@ structure SameCarrierAt {D : Type} (a b : HarmonicBlock D) (n : ℕ) : Prop wher | ||
| 27 | 27 | phase : b.phase n = a.phase n |
| 28 | 28 | angular : b.angularFrequency n = a.angularFrequency n |
| 29 | 29 | |
| 30 | -theorem sameCarrierAt_of_sameCarrier {D : Type} {a b : HarmonicBlock D} | |
| 31 | - (h : LabelSumBounds.SameCarrier a b) (n : ℕ) : SameCarrierAt a b n := | |
| 32 | - ⟨congrFun h.frequency n, congrFun h.phase n, congrFun h.angular n⟩ | |
| 33 | - | |
| 34 | 30 | /-- Equality of the stored coefficients and carrier metadata identifies the |
| 35 | 31 | actual harmonic field at this band. Pressure data are not used in covariance. -/ |
| 36 | 32 | theorem oscillation_eq_at_band_of_coefficients {D : Type} |
+0 −129 NavierStokes/BlowupImplication.lean View file
| @@ -43,71 +43,6 @@ theorem positive_profile_tendsto_atTop {ι : Type*} {l : Filter ι} | ||
| 43 | 43 | simpa only [add_zero] using tendsto_const_nhds.add herror |
| 44 | 44 | exact (negative_power_tendsto_atTop hA hq).atTop_mul_pos hE hfactor |
| 45 | 45 | |
| 46 | -/-- A velocity norm bounded below by the positive leading profile diverges. | |
| 47 | -This directly applies when the angular component has that leading term. -/ | |
| 48 | -theorem norm_tendsto_atTop_of_profile_lower_bound {ι V : Type*} | |
| 49 | - [NormedAddCommGroup V] {l : Filter ι} {q error : ι → ℝ} | |
| 50 | - {v : ι → V} {A E : ℝ} (hA : 0 < A) (hE : 0 < E) | |
| 51 | - (hq : Tendsto q l (𝓝[>] (0 : ℝ))) | |
| 52 | - (herror : Tendsto error l (𝓝 0)) | |
| 53 | - (hlower : ∀ᶠ t in l, q t ^ (-A) * (E + error t) ≤ ‖v t‖) : | |
| 54 | - Tendsto (fun t => ‖v t‖) l atTop := by | |
| 55 | - exact tendsto_atTop_mono' l hlower | |
| 56 | - (positive_profile_tendsto_atTop hA hE hq herror) | |
| 57 | - | |
| 58 | -/-- A vector-valued nonzero profile with a perturbation tending to zero also | |
| 59 | -has divergent norm. This theorem needs no sign choice for a component. -/ | |
| 60 | -theorem nonzero_profile_norm_tendsto_atTop {ι V : Type*} | |
| 61 | - [NormedAddCommGroup V] [NormedSpace ℝ V] {l : Filter ι} | |
| 62 | - {q : ι → ℝ} {error : ι → V} {profile : V} {A : ℝ} | |
| 63 | - (hA : 0 < A) (hprofile : profile ≠ 0) | |
| 64 | - (hq : Tendsto q l (𝓝[>] (0 : ℝ))) | |
| 65 | - (herror : Tendsto error l (𝓝 0)) : | |
| 66 | - Tendsto (fun t => ‖(q t ^ (-A)) • (profile + error t)‖) l atTop := by | |
| 67 | - have hfactor : Tendsto (fun t => ‖profile + error t‖) l (𝓝 ‖profile‖) := by | |
| 68 | - simpa only [add_zero] using (tendsto_const_nhds.add herror).norm | |
| 69 | - have h := (negative_power_tendsto_atTop hA hq).atTop_mul_pos | |
| 70 | - (norm_pos_iff.mpr hprofile) hfactor | |
| 71 | - refine h.congr' ?_ | |
| 72 | - filter_upwards [hq.eventually self_mem_nhdsWithin] with t ht | |
| 73 | - simp only [norm_smul, Real.norm_eq_abs, | |
| 74 | - abs_of_pos (Real.rpow_pos_of_pos ht (-A))] | |
| 75 | - | |
| 76 | -/-- Divergence rules out any eventual finite bound, not only a global bound. -/ | |
| 77 | -theorem no_eventual_bound_of_profile {ι V : Type*} | |
| 78 | - [NormedAddCommGroup V] {l : Filter ι} [NeBot l] | |
| 79 | - {q error : ι → ℝ} {v : ι → V} {A E : ℝ} | |
| 80 | - (hA : 0 < A) (hE : 0 < E) | |
| 81 | - (hq : Tendsto q l (𝓝[>] (0 : ℝ))) | |
| 82 | - (herror : Tendsto error l (𝓝 0)) | |
| 83 | - (hlower : ∀ᶠ t in l, q t ^ (-A) * (E + error t) ≤ ‖v t‖) : | |
| 84 | - ¬ ∃ M : ℝ, ∀ᶠ t in l, ‖v t‖ ≤ M := by | |
| 85 | - rintro ⟨M, hM⟩ | |
| 86 | - have hlarge := (norm_tendsto_atTop_of_profile_lower_bound | |
| 87 | - hA hE hq herror hlower).eventually_gt_atTop M | |
| 88 | - obtain ⟨t, ht, ht'⟩ := (hlarge.and hM).exists | |
| 89 | - exact (not_lt_of_ge ht') ht | |
| 90 | - | |
| 91 | -/-- A continuous extension along a convergent path contradicts the profile | |
| 92 | -lower bound. `X` may be spacetime and `path` may move towards the singular point. -/ | |
| 93 | -theorem no_continuous_extension_of_profile {ι X V : Type*} | |
| 94 | - [TopologicalSpace X] [NormedAddCommGroup V] | |
| 95 | - {l : Filter ι} [NeBot l] {q error : ι → ℝ} {v : ι → V} | |
| 96 | - {path : ι → X} {endpoint : X} {A E : ℝ} | |
| 97 | - (hA : 0 < A) (hE : 0 < E) | |
| 98 | - (hq : Tendsto q l (𝓝[>] (0 : ℝ))) | |
| 99 | - (herror : Tendsto error l (𝓝 0)) | |
| 100 | - (hlower : ∀ᶠ t in l, q t ^ (-A) * (E + error t) ≤ ‖v t‖) | |
| 101 | - (hpath : Tendsto path l (𝓝 endpoint)) : | |
| 102 | - ¬ ∃ extension : X → V, ContinuousAt extension endpoint ∧ | |
| 103 | - ∀ᶠ t in l, extension (path t) = v t := by | |
| 104 | - rintro ⟨extension, hcontinuous, hagree⟩ | |
| 105 | - have hv : Tendsto v l (𝓝 (extension endpoint)) := | |
| 106 | - (hcontinuous.tendsto.comp hpath).congr' hagree | |
| 107 | - exact not_tendsto_nhds_of_tendsto_atTop | |
| 108 | - (norm_tendsto_atTop_of_profile_lower_bound hA hE hq herror hlower) | |
| 109 | - ‖extension endpoint‖ hv.norm | |
| 110 | - | |
| 111 | 46 | /-- The remaining-time scale `T - t` tends to zero through positive values |
| 112 | 47 | as `t` approaches `T` from below. -/ |
| 113 | 48 | theorem remaining_time_tendsto (T : ℝ) : |
| @@ -128,68 +63,4 @@ theorem finite_time_profile_tendsto_atTop {T A E : ℝ} {error : ℝ → ℝ} | ||
| 128 | 63 | Tendsto (fun t => (T - t) ^ (-A) * (E + error t)) (𝓝[<] T) atTop := |
| 129 | 64 | positive_profile_tendsto_atTop hA hE (remaining_time_tendsto T) herror |
| 130 | 65 | |
| 131 | -/-- Any size which controls the velocity norm by a fixed | |
| 132 | -positive multiplicative constant must diverge as well. An actual Sobolev | |
| 133 | -embedding estimate may be supplied as `hcontrol`; it is not proved here. -/ | |
| 134 | -theorem controlling_quantity_tendsto_atTop {ι V : Type*} | |
| 135 | - [NormedAddCommGroup V] {l : Filter ι} {q error quantity : ι → ℝ} | |
| 136 | - {v : ι → V} {A E C : ℝ} (hA : 0 < A) (hE : 0 < E) (hC : 0 < C) | |
| 137 | - (hq : Tendsto q l (𝓝[>] (0 : ℝ))) | |
| 138 | - (herror : Tendsto error l (𝓝 0)) | |
| 139 | - (hlower : ∀ᶠ t in l, q t ^ (-A) * (E + error t) ≤ ‖v t‖) | |
| 140 | - (hcontrol : ∀ᶠ t in l, ‖v t‖ ≤ C * quantity t) : | |
| 141 | - Tendsto quantity l atTop := by | |
| 142 | - have hdiv : Tendsto (fun t => ‖v t‖ / C) l atTop := by | |
| 143 | - simpa only [div_eq_mul_inv] using | |
| 144 | - (norm_tendsto_atTop_of_profile_lower_bound hA hE hq herror hlower).atTop_mul_const | |
| 145 | - (inv_pos.mpr hC) | |
| 146 | - apply tendsto_atTop_mono' l _ hdiv | |
| 147 | - filter_upwards [hcontrol] with t ht | |
| 148 | - exact (div_le_iff₀ hC).mpr (by simpa only [mul_comm] using ht) | |
| 149 | - | |
| 150 | -/-- Arbitrarily large velocities occur in every left neighborhood of the | |
| 151 | -singular time, expressed without limit or boundedness notation. -/ | |
| 152 | -theorem arbitrarily_large_near_time {V : Type*} [NormedAddCommGroup V] | |
| 153 | - {v : ℝ → V} {error : ℝ → ℝ} {T A E : ℝ} | |
| 154 | - (hA : 0 < A) (hE : 0 < E) | |
| 155 | - (herror : Tendsto error (𝓝[<] T) (𝓝 0)) | |
| 156 | - (hlower : ∀ᶠ t in 𝓝[<] T, (T - t) ^ (-A) * (E + error t) ≤ ‖v t‖) | |
| 157 | - (δ : ℝ) (hδ : 0 < δ) (M : ℝ) : | |
| 158 | - ∃ t : ℝ, T - δ < t ∧ t < T ∧ M < ‖v t‖ := by | |
| 159 | - have hlarge := (norm_tendsto_atTop_of_profile_lower_bound | |
| 160 | - hA hE (remaining_time_tendsto T) herror hlower).eventually_gt_atTop M | |
| 161 | - have hinterval : Ioo (T - δ) T ∈ 𝓝[<] T := Ioo_mem_nhdsLT (by linarith) | |
| 162 | - obtain ⟨t, hbig, ht⟩ := (hlarge.and hinterval).exists | |
| 163 | - exact ⟨t, ht.1, ht.2, hbig⟩ | |
| 164 | - | |
| 165 | -/-- The manuscript's radial sampling curve reaches the singular spacetime | |
| 166 | -point. The zero axial coordinate is suppressed from this pair. -/ | |
| 167 | -theorem concentrating_path_tendsto (T X : ℝ) : | |
| 168 | - Tendsto (fun t : ℝ => (t, Real.sqrt (2 * X * (T - t)))) | |
| 169 | - (𝓝[<] T) (𝓝 (T, (0 : ℝ))) := by | |
| 170 | - have htime : Tendsto (fun t : ℝ => t) (𝓝[<] T) (𝓝 T) := | |
| 171 | - tendsto_id.mono_left nhdsWithin_le_nhds | |
| 172 | - have hscale : Tendsto (fun t : ℝ => 2 * X * (T - t)) (𝓝[<] T) (𝓝 0) := by | |
| 173 | - simpa only [mul_zero] using | |
| 174 | - ((remaining_time_tendsto T).mono_right nhdsWithin_le_nhds).const_mul (2 * X) | |
| 175 | - have hradius : Tendsto (fun t : ℝ => Real.sqrt (2 * X * (T - t))) | |
| 176 | - (𝓝[<] T) (𝓝 0) := by | |
| 177 | - simpa only [Real.sqrt_zero] using hscale.sqrt | |
| 178 | - exact htime.prodMk_nhds hradius | |
| 179 | - | |
| 180 | -/-- A field satisfying the profile lower bound along the explicit shrinking | |
| 181 | -radial curve is discontinuous at the terminal spacetime point. -/ | |
| 182 | -theorem not_continuousAt_concentrating_profile {V : Type*} | |
| 183 | - [NormedAddCommGroup V] {T X A E : ℝ} {error : ℝ → ℝ} | |
| 184 | - {field : ℝ × ℝ → V} (hA : 0 < A) (hE : 0 < E) | |
| 185 | - (herror : Tendsto error (𝓝[<] T) (𝓝 0)) | |
| 186 | - (hlower : ∀ᶠ t in 𝓝[<] T, | |
| 187 | - (T - t) ^ (-A) * (E + error t) ≤ | |
| 188 | - ‖field (t, Real.sqrt (2 * X * (T - t)))‖) : | |
| 189 | - ¬ ContinuousAt field (T, (0 : ℝ)) := by | |
| 190 | - intro hcontinuous | |
| 191 | - apply no_continuous_extension_of_profile hA hE (remaining_time_tendsto T) | |
| 192 | - herror hlower (concentrating_path_tendsto T X) | |
| 193 | - exact ⟨field, hcontinuous, Filter.Eventually.of_forall (fun _ => rfl)⟩ | |
| 194 | - | |
| 195 | 66 | end NavierStokes.BlowupImplication |
+0 −56 NavierStokes/BorelExtension.lean View file
| @@ -257,11 +257,6 @@ theorem extension_eq_series (a : ℕ → E) (s : ℝ) : | ||
| 257 | 257 | (SmoothCutoffs.cutoff ((scale a j : ℝ) * s) * (s ^ j / (j.factorial : ℝ))) • a j := by |
| 258 | 258 | simp only [extension, term, monomial, smul_smul] |
| 259 | 259 | |
| 260 | -theorem summable_iteratedDeriv_terms (a : ℕ → E) (k : ℕ) (s : ℝ) : | |
| 261 | - Summable (fun j : ℕ => iteratedDeriv k (term (scale a j) j (a j)) s) := | |
| 262 | - .of_norm_bounded (majorant_summable a k) | |
| 263 | - (fun j => norm_iteratedDeriv_term_le_majorant a k j s) | |
| 264 | - | |
| 265 | 260 | theorem extension_contDiff (a : ℕ → E) : ContDiff ℝ ∞ (extension a) := by |
| 266 | 261 | apply contDiff_tsum (N := ⊤) (v := majorant a) |
| 267 | 262 | (fun j => term_contDiff (scale a j) j (a j)) |
| @@ -324,57 +319,6 @@ omit [CompleteSpace E] in | ||
| 324 | 319 | theorem extension_hasCompactSupport (a : ℕ → E) : HasCompactSupport (extension a) := |
| 325 | 320 | isCompact_Icc.of_isClosed_subset isClosed_closure (extension_tsupport a) |
| 326 | 321 | |
| 327 | -/-- The right endpoint jets used by the one-sided gluing theorem are the same | |
| 328 | -prescribed jets as the ordinary derivatives. -/ | |
| 329 | -theorem extension_right_jets (a : ℕ → E) (k : ℕ) : | |
| 330 | - iteratedDerivWithin k (extension a) (Ici 0) 0 = a k := by | |
| 331 | - rw [iteratedDerivWithin_eq_iteratedFDerivWithin, | |
| 332 | - iteratedFDerivWithin_eq_iteratedFDeriv (uniqueDiffOn_Ici 0) | |
| 333 | - ((extension_contDiff a).of_le (nat_le_infty k)).contDiffAt (mem_Ici.mpr le_rfl)] | |
| 334 | - exact extension_jets a k | |
| 335 | - | |
| 336 | -/-- Translate the constructed extension to any joining time. -/ | |
| 337 | -def rightExtension (T : ℝ) (a : ℕ → E) (t : ℝ) : E := extension a (t - T) | |
| 338 | - | |
| 339 | -theorem rightExtension_contDiff (T : ℝ) (a : ℕ → E) : | |
| 340 | - ContDiff ℝ ∞ (rightExtension T a) := | |
| 341 | - (extension_contDiff a).comp (contDiff_id.sub contDiff_const) | |
| 342 | - | |
| 343 | -theorem rightExtension_jets (T : ℝ) (a : ℕ → E) (k : ℕ) : | |
| 344 | - iteratedDeriv k (rightExtension T a) T = a k := by | |
| 345 | - unfold rightExtension | |
| 346 | - simp only [sub_eq_add_neg, iteratedDeriv_comp_add_const, add_neg_cancel] | |
| 347 | - exact extension_jets a k | |
| 348 | - | |
| 349 | -theorem rightExtension_right_jets (T : ℝ) (a : ℕ → E) (k : ℕ) : | |
| 350 | - iteratedDerivWithin k (rightExtension T a) (Ici T) T = a k := by | |
| 351 | - rw [iteratedDerivWithin_eq_iteratedFDerivWithin, | |
| 352 | - iteratedFDerivWithin_eq_iteratedFDeriv (uniqueDiffOn_Ici T) | |
| 353 | - ((rightExtension_contDiff T a).of_le (nat_le_infty k)).contDiffAt | |
| 354 | - (mem_Ici.mpr le_rfl)] | |
| 355 | - exact rightExtension_jets T a k | |
| 356 | - | |
| 357 | -omit [CompleteSpace E] in | |
| 358 | -theorem rightExtension_zero_from (T : ℝ) (a : ℕ → E) {t : ℝ} (ht : T + 1 ≤ t) : | |
| 359 | - rightExtension T a t = 0 := by | |
| 360 | - apply extension_zero_of_one_le_abs | |
| 361 | - exact le_trans (by linarith : 1 ≤ t - T) (le_abs_self _) | |
| 362 | - | |
| 363 | -/-- Borel's jet realization theorem with a fixed compact support, constructed | |
| 364 | -from the cutoff series rather than assumed as an extension principle. -/ | |
| 365 | -theorem exists_smooth_compact_extension (a : ℕ → E) : | |
| 366 | - ∃ f : ℝ → E, ContDiff ℝ ∞ f ∧ tsupport f ⊆ Icc (-1 : ℝ) 1 ∧ | |
| 367 | - (∀ k : ℕ, iteratedDeriv k f 0 = a k) := | |
| 368 | - ⟨extension a, extension_contDiff a, extension_tsupport a, extension_jets a⟩ | |
| 369 | - | |
| 370 | -/-- The interface for gluing to left endpoint limits at an arbitrary time. -/ | |
| 371 | -theorem exists_smooth_right_extension (T : ℝ) (a : ℕ → E) : | |
| 372 | - ∃ f : ℝ → E, ContDiffOn ℝ ∞ f (Ici T) ∧ | |
| 373 | - (∀ k : ℕ, iteratedDerivWithin k f (Ici T) T = a k) ∧ | |
| 374 | - (∀ t : ℝ, T + 1 ≤ t → f t = 0) := | |
| 375 | - ⟨rightExtension T a, (rightExtension_contDiff T a).contDiffOn, | |
| 376 | - rightExtension_right_jets T a, fun _ ht => rightExtension_zero_from T a ht⟩ | |
| 377 | - | |
| 378 | 322 | end Complete |
| 379 | 323 | |
| 380 | 324 | end NavierStokes.BorelExtension |
+0 −289 NavierStokes/BoundaryAxisJets.lean View file
| @@ -40,12 +40,6 @@ theorem radialJet_even {F : ℝ × P → E} {z : P} | ||
| 40 | 40 | Function.Even (fun r => radialJet F k r z) := |
| 41 | 41 | EvenSmoothDescent.even_radialIterate he k |
| 42 | 42 | |
| 43 | -omit [CompleteSpace E] in | |
| 44 | -theorem axisJet_square {F : ℝ × P → E} {z : P} | |
| 45 | - (he : Function.Even (fun r => F (r, z))) (k : ℕ) (r : ℝ) : | |
| 46 | - axisJet F k (r ^ 2, z) = radialJet F k r z := | |
| 47 | - EvenSmoothDescent.descent_square (radialJet_even he k) r | |
| 48 | - | |
| 49 | 43 | omit [CompleteSpace E] in |
| 50 | 44 | theorem radialJet_contDiff {F : ℝ × P → E} {z : P} |
| 51 | 45 | (hf : ContDiff ℝ ∞ (fun r => F (r, z))) (k : ℕ) : |
| @@ -59,15 +53,6 @@ theorem axisJet_eq_iteratedDerivWithin {F : ℝ × P → E} {z : P} | ||
| 59 | 53 | iteratedDerivWithin k (fun Y => F (Real.sqrt Y, z)) (Ici 0) X := |
| 60 | 54 | (EvenSmoothDescent.iteratedDerivWithin_descent hf he k hX).symm |
| 61 | 55 | |
| 62 | -theorem axisJet_hasDerivWithinAt {F : ℝ × P → E} {z : P} | |
| 63 | - (hf : ContDiff ℝ ∞ (fun r => F (r, z))) | |
| 64 | - (he : Function.Even (fun r => F (r, z))) (k : ℕ) {X : ℝ} (hX : 0 ≤ X) : | |
| 65 | - HasDerivWithinAt (fun Y => axisJet F k (Y, z)) (axisJet F (k + 1) (X, z)) (Ici 0) X := by | |
| 66 | - simp only [axisJet, radialJet_succ] | |
| 67 | - exact | |
| 68 | - (EvenSmoothDescent.hasDerivWithinAt_descent (radialJet_contDiff hf k) | |
| 69 | - (radialJet_even he k) hX) | |
| 70 | - | |
| 71 | 56 | theorem axisJet_hasDerivAt_pos {F : ℝ × P → E} {z : P} |
| 72 | 57 | (hf : ContDiff ℝ ∞ (fun r => F (r, z))) |
| 73 | 58 | (he : Function.Even (fun r => F (r, z))) (k : ℕ) {X : ℝ} (hX : 0 < X) : |
| @@ -136,80 +121,6 @@ theorem radialJet_congr {R : ℝ} {F G : ℝ × P → E} {z : P} | ||
| 136 | 121 | noncomputable def localized (R : ℝ) (F : ℝ × P → E) (p : ℝ × P) : E := |
| 137 | 122 | EvenSmoothDescent.localized R (fun r => F (r, p.2)) p.1 |
| 138 | 123 | |
| 139 | -theorem evenCutoff_one {R r : ℝ} (hR : 0 < R) (hr : |r| ≤ R / 4) : | |
| 140 | - EvenSmoothDescent.evenCutoff R r = 1 := by | |
| 141 | - have hb : |(2 / R) * r| ≤ 1 / 2 := by | |
| 142 | - rw [abs_mul, abs_of_pos (div_pos (by norm_num) hR)] | |
| 143 | - rw [div_mul_eq_mul_div] | |
| 144 | - apply (div_le_iff₀ hR).mpr | |
| 145 | - nlinarith | |
| 146 | - have hbn : |(2 / R) * (-r)| ≤ 1 / 2 := by simpa only [mul_neg, abs_neg] using hb | |
| 147 | - simp only [EvenSmoothDescent.evenCutoff, SmoothCutoffs.scaledCutoff_one_of_abs_le hb, | |
| 148 | - SmoothCutoffs.scaledCutoff_one_of_abs_le hbn, mul_one] | |
| 149 | - | |
| 150 | -omit [CompleteSpace E] in | |
| 151 | -theorem localized_eq {R r : ℝ} (hR : 0 < R) (hr : |r| ≤ R / 4) (F : ℝ × P → E) (z : P) : | |
| 152 | - localized R F (r, z) = F (r, z) := by | |
| 153 | - simp only [localized, EvenSmoothDescent.localized, evenCutoff_one hR hr, one_smul] | |
| 154 | - | |
| 155 | -omit [CompleteSpace E] in | |
| 156 | -theorem radialJet_localized_eq {R : ℝ} (hR : 0 < R) (F : ℝ × P → E) (z : P) (k : ℕ) | |
| 157 | - {r : ℝ} (hr : r ∈ Ioo (-(R / 4)) (R / 4)) : | |
| 158 | - radialJet (localized R F) k r z = radialJet F k r z := | |
| 159 | - radialJet_congr (fun _ hs => localized_eq hR (abs_lt.mpr hs).le F z) k r hr | |
| 160 | - | |
| 161 | -omit [CompleteSpace E] in | |
| 162 | -theorem localized_descent_eventuallyEq {R : ℝ} (hR : 0 < R) (F : ℝ × P → E) (z : P) | |
| 163 | - {X : ℝ} (hX : X ∈ Ico (0 : ℝ) ((R / 4) ^ 2)) : | |
| 164 | - (fun Y => localized R F (Real.sqrt Y, z)) =ᶠ[𝓝 X] (fun Y => F (Real.sqrt Y, z)) := by | |
| 165 | - have hs : Real.sqrt X ∈ Ioo (-(R / 4)) (R / 4) := by | |
| 166 | - constructor | |
| 167 | - · nlinarith [Real.sqrt_nonneg X] | |
| 168 | - · nlinarith [Real.sq_sqrt hX.1, Real.sqrt_nonneg X, hX.2] | |
| 169 | - have heq : (fun r => localized R F (r, z)) =ᶠ[𝓝 (Real.sqrt X)] (fun r => F (r, z)) := by | |
| 170 | - filter_upwards [isOpen_Ioo.mem_nhds hs] with r hr | |
| 171 | - exact localized_eq hR (abs_lt.mpr hr).le F z | |
| 172 | - exact heq.comp_tendsto (Real.continuous_sqrt.tendsto X) | |
| 173 | - | |
| 174 | -theorem axisJet_eq_iteratedDerivWithin_local {R : ℝ} (hR : 0 < R) {F : ℝ × P → E} {z : P} | |
| 175 | - (hf : ContDiffOn ℝ ∞ (fun r => F (r, z)) (Ioo (-R) R)) | |
| 176 | - (he : ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k : ℕ) | |
| 177 | - {X : ℝ} (hX : X ∈ Ico (0 : ℝ) ((R / 4) ^ 2)) : | |
| 178 | - axisJet F k (X, z) = | |
| 179 | - iteratedDerivWithin k (fun Y => F (Real.sqrt Y, z)) (Ici 0) X := by | |
| 180 | - have hs : Real.sqrt X ∈ Ioo (-(R / 4)) (R / 4) := by | |
| 181 | - constructor | |
| 182 | - · nlinarith [Real.sqrt_nonneg X] | |
| 183 | - · nlinarith [Real.sq_sqrt hX.1, Real.sqrt_nonneg X, hX.2] | |
| 184 | - have hloc := EvenSmoothDescent.contDiff_localized (f := fun r => F (r, z)) hR hf | |
| 185 | - have heloc := EvenSmoothDescent.even_localized (f := fun r => F (r, z)) hR he | |
| 186 | - have hEq := localized_descent_eventuallyEq hR F z hX | |
| 187 | - calc | |
| 188 | - _ = axisJet (localized R F) k (X, z) := (radialJet_localized_eq hR F z k hs).symm | |
| 189 | - _ = iteratedDerivWithin k (fun Y => localized R F (Real.sqrt Y, z)) (Ici 0) X := | |
| 190 | - axisJet_eq_iteratedDerivWithin hloc heloc k hX.1 | |
| 191 | - _ = _ := by | |
| 192 | - simp only [iteratedDerivWithin_eq_iteratedFDerivWithin] | |
| 193 | - rw [(hEq.filter_mono nhdsWithin_le_nhds).iteratedFDerivWithin_eq hEq.eq_of_nhds k] | |
| 194 | - | |
| 195 | -theorem axisJet_eq_iteratedDeriv_local_pos {R : ℝ} (hR : 0 < R) {F : ℝ × P → E} {z : P} | |
| 196 | - (hf : ContDiffOn ℝ ∞ (fun r => F (r, z)) (Ioo (-R) R)) | |
| 197 | - (he : ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k : ℕ) | |
| 198 | - {X : ℝ} (hX : X ∈ Ioo (0 : ℝ) ((R / 4) ^ 2)) : | |
| 199 | - axisJet F k (X, z) = iteratedDeriv k (fun Y => F (Real.sqrt Y, z)) X := by | |
| 200 | - have hs : Real.sqrt X ∈ Ioo (-(R / 4)) (R / 4) := by | |
| 201 | - constructor | |
| 202 | - · nlinarith [Real.sqrt_nonneg X] | |
| 203 | - · nlinarith [Real.sq_sqrt hX.1.le, Real.sqrt_nonneg X, hX.2] | |
| 204 | - have hloc := EvenSmoothDescent.contDiff_localized (f := fun r => F (r, z)) hR hf | |
| 205 | - have heloc := EvenSmoothDescent.even_localized (f := fun r => F (r, z)) hR he | |
| 206 | - have hEq := localized_descent_eventuallyEq hR F z ⟨hX.1.le, hX.2⟩ | |
| 207 | - calc | |
| 208 | - _ = axisJet (localized R F) k (X, z) := (radialJet_localized_eq hR F z k hs).symm | |
| 209 | - _ = iteratedDeriv k (fun Y => localized R F (Real.sqrt Y, z)) X := | |
| 210 | - axisJet_eq_iteratedDeriv_pos hloc heloc k hX.1 | |
| 211 | - _ = _ := hEq.iteratedDeriv_eq k | |
| 212 | - | |
| 213 | 124 | /-! ## Genuine joint smoothness of the signed radial pullbacks -/ |
| 214 | 125 | |
| 215 | 126 | section Joint |
| @@ -268,63 +179,6 @@ theorem radialJet_joint_contDiffOn {U : Set P} (hU : IsOpen U) {F : ℝ × P → | ||
| 268 | 179 | simp only [radialJet_succ] |
| 269 | 180 | exact h |
| 270 | 181 | |
| 271 | -omit [CompleteSpace E] [ProperSpace P] in | |
| 272 | -theorem localized_joint_contDiffOn {R : ℝ} (hR : 0 < R) {U : Set P} (hU : IsOpen U) | |
| 273 | - {F : ℝ × P → E} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) : | |
| 274 | - ContDiffOn ℝ ∞ (localized R F) (univ ×ˢ U) := by | |
| 275 | - intro p hp | |
| 276 | - by_cases hr : |p.1| < R | |
| 277 | - · exact (((EvenSmoothDescent.contDiff_evenCutoff R).comp contDiff_fst).contDiffAt.smul | |
| 278 | - (hF.contDiffAt ((isOpen_Ioo.prod hU).mem_nhds ⟨abs_lt.mp hr, hp.2⟩))).contDiffWithinAt | |
| 279 | - · have hz := (EvenSmoothDescent.localized_eventually_zero hR (le_of_not_gt hr) | |
| 280 | - (fun _ => (1 : ℝ))).comp_tendsto (continuous_fst.tendsto p) | |
| 281 | - apply ContDiffAt.contDiffWithinAt | |
| 282 | - apply (contDiffAt_const : ContDiffAt ℝ ∞ (fun _ : ℝ × P => (0 : E)) p).congr_of_eventuallyEq | |
| 283 | - filter_upwards [hz] with q hq | |
| 284 | - change EvenSmoothDescent.evenCutoff R q.1 * 1 = 0 at hq | |
| 285 | - simp only [mul_one] at hq | |
| 286 | - simp only [localized, EvenSmoothDescent.localized, hq, zero_smul] | |
| 287 | - | |
| 288 | -theorem radialJet_joint_contDiffOn_local {R : ℝ} (hR : 0 < R) {U : Set P} (hU : IsOpen U) | |
| 289 | - {F : ℝ × P → E} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) (k : ℕ) : | |
| 290 | - ContDiffOn ℝ ∞ (fun p : ℝ × P => radialJet F k p.1 p.2) | |
| 291 | - (Ioo (-(R / 4)) (R / 4) ×ˢ U) := by | |
| 292 | - have h := (radialJet_joint_contDiffOn hU (localized_joint_contDiffOn hR hU hF) k).mono | |
| 293 | - (Set.prod_mono (subset_univ (Ioo (-(R / 4)) (R / 4))) (Subset.refl _)) | |
| 294 | - exact h.congr fun p hp => (radialJet_localized_eq hR F p.2 k hp.1).symm | |
| 295 | - | |
| 296 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [ProperSpace P] in | |
| 297 | -omit [CompleteSpace E] in | |
| 298 | -theorem radialJet_even_local {R : ℝ} (hR : 0 < R) {F : ℝ × P → E} {z : P} | |
| 299 | - (he : ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k : ℕ) | |
| 300 | - {r : ℝ} (hr : r ∈ Ioo (-(R / 4)) (R / 4)) : | |
| 301 | - radialJet F k (-r) z = radialJet F k r z := by | |
| 302 | - have hnr : -r ∈ Ioo (-(R / 4)) (R / 4) := by constructor <;> linarith [hr.1, hr.2] | |
| 303 | - rw [← radialJet_localized_eq hR F z k hnr, ← radialJet_localized_eq hR F z k hr] | |
| 304 | - exact radialJet_even (EvenSmoothDescent.even_localized (f := fun r => F (r, z)) hR he) k r | |
| 305 | - | |
| 306 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [ProperSpace P] in | |
| 307 | -omit [CompleteSpace E] in | |
| 308 | -theorem axisJet_square_local {R : ℝ} (hR : 0 < R) {F : ℝ × P → E} {z : P} | |
| 309 | - (he : ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k : ℕ) | |
| 310 | - {r : ℝ} (hr : r ∈ Ioo (-(R / 4)) (R / 4)) : | |
| 311 | - axisJet F k (r ^ 2, z) = radialJet F k r z := by | |
| 312 | - change radialJet F k (Real.sqrt (r ^ 2)) z = _ | |
| 313 | - rw [Real.sqrt_sq_eq_abs] | |
| 314 | - rcases le_or_gt 0 r with hs | hs | |
| 315 | - · rw [abs_of_nonneg hs] | |
| 316 | - · rw [abs_of_neg hs, radialJet_even_local hR he k hr] | |
| 317 | - | |
| 318 | -/-- The input needed by positive-order lower sources: every canonical | |
| 319 | -squared-radius jet has a genuinely smooth, even signed radial pullback. -/ | |
| 320 | -theorem axisJet_pullback_contDiffOn_local {R : ℝ} (hR : 0 < R) {U : Set P} (hU : IsOpen U) | |
| 321 | - {F : ℝ × P → E} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) | |
| 322 | - (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k : ℕ) : | |
| 323 | - ContDiffOn ℝ ∞ (fun p : ℝ × P => axisJet F k (p.1 ^ 2, p.2)) | |
| 324 | - (Ioo (-(R / 4)) (R / 4) ×ˢ U) := | |
| 325 | - (radialJet_joint_contDiffOn_local hR hU hF k).congr | |
| 326 | - (fun p hp => axisJet_square_local hR (he p.2 hp.2) k hp.1) | |
| 327 | - | |
| 328 | 182 | end Joint |
| 329 | 183 | |
| 330 | 184 | /-! ## Holomorphy is preserved by the actual radial derivative -/ |
| @@ -470,42 +324,6 @@ theorem radialJet_holomorphic {U : Set ℂ} (hU : IsOpen U) {F : ℝ × ℂ → | ||
| 470 | 324 | simp only [radialJet_succ] |
| 471 | 325 | exact h |
| 472 | 326 | |
| 473 | -omit [CompleteSpace B] in | |
| 474 | -theorem localized_holomorphic {R : ℝ} (hR : 0 < R) {U : Set ℂ} {F : ℝ × ℂ → B} | |
| 475 | - (hhol : ∀ r ∈ Ioo (-R) R, DifferentiableOn ℂ (fun z => F (r, z)) U) (r : ℝ) : | |
| 476 | - DifferentiableOn ℂ (fun z => localized R F (r, z)) U := by | |
| 477 | - by_cases hr : |r| < R | |
| 478 | - · exact (hhol r (abs_lt.mp hr)).const_smul (EvenSmoothDescent.evenCutoff R r) | |
| 479 | - · have hz := (EvenSmoothDescent.localized_eventually_zero hR (le_of_not_gt hr) | |
| 480 | - (fun _ => (1 : ℝ))).eq_of_nhds | |
| 481 | - change EvenSmoothDescent.evenCutoff R r * 1 = 0 at hz | |
| 482 | - simp only [mul_one] at hz | |
| 483 | - have heq : (fun z => localized R F (r, z)) = (fun _ => 0) := by | |
| 484 | - funext z | |
| 485 | - simp only [localized, EvenSmoothDescent.localized, hz, zero_smul] | |
| 486 | - rw [heq] | |
| 487 | - exact differentiableOn_const _ | |
| 488 | - | |
| 489 | -theorem radialJet_holomorphic_local {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) | |
| 490 | - {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) | |
| 491 | - (hhol : ∀ r ∈ Ioo (-R) R, DifferentiableOn ℂ (fun z => F (r, z)) U) (k : ℕ) | |
| 492 | - {r : ℝ} (hr : r ∈ Ioo (-(R / 4)) (R / 4)) : | |
| 493 | - DifferentiableOn ℂ (fun z => radialJet F k r z) U := by | |
| 494 | - have h := radialJet_holomorphic hU (localized_joint_contDiffOn hR hU hF) | |
| 495 | - (localized_holomorphic hR hhol) k r | |
| 496 | - exact h.congr fun z _ => (radialJet_localized_eq hR F z k hr).symm | |
| 497 | - | |
| 498 | -/-- Every canonical right jet has holomorphic parameter slices, including | |
| 499 | -at the axis, under the actual joint-smooth and holomorphic input hypotheses. -/ | |
| 500 | -theorem axisJet_pullback_holomorphic_local {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) | |
| 501 | - {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) | |
| 502 | - (hhol : ∀ r ∈ Ioo (-R) R, DifferentiableOn ℂ (fun z => F (r, z)) U) | |
| 503 | - (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k : ℕ) | |
| 504 | - {r : ℝ} (hr : r ∈ Ioo (-(R / 4)) (R / 4)) : | |
| 505 | - DifferentiableOn ℂ (fun z => axisJet F k (r ^ 2, z)) U := | |
| 506 | - (radialJet_holomorphic_local hR hU hF hhol k hr).congr | |
| 507 | - (fun z hz => axisJet_square_local hR (he z hz) k hr) | |
| 508 | - | |
| 509 | 327 | /-! ## Actual mixed parameter jets -/ |
| 510 | 328 | |
| 511 | 329 | noncomputable def complexPartial (F : ℝ × ℂ → B) (p : ℝ × ℂ) : B := |
| @@ -559,64 +377,6 @@ theorem complexJet_contDiffOn {S : Set ℝ} {U : Set ℂ} (hS : IsOpen S) (hU : | ||
| 559 | 377 | noncomputable def mixedAxisJet (F : ℝ × ℂ → B) (k m : ℕ) (p : ℝ × ℂ) : B := |
| 560 | 378 | iteratedDeriv m (fun z => axisJet F k (p.1, z)) p.2 |
| 561 | 379 | |
| 562 | -omit [CompleteSpace B] in | |
| 563 | -theorem mixedAxisJet_square_local {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) | |
| 564 | - {F : ℝ × ℂ → B} (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) | |
| 565 | - (k m : ℕ) {r : ℝ} (hr : r ∈ Ioo (-(R / 4)) (R / 4)) {z : ℂ} (hz : z ∈ U) : | |
| 566 | - mixedAxisJet F k m (r ^ 2, z) = | |
| 567 | - complexJet (fun p : ℝ × ℂ => radialJet F k p.1 p.2) m (r, z) := by | |
| 568 | - have heq : (fun w => axisJet F k (r ^ 2, w)) =ᶠ[𝓝 z] (fun w => radialJet F k r w) := by | |
| 569 | - filter_upwards [hU.mem_nhds hz] with w hw | |
| 570 | - exact axisJet_square_local hR (he w hw) k hr | |
| 571 | - exact heq.iteratedDeriv_eq m | |
| 572 | - | |
| 573 | -/-- Every fixed mixed jet has the genuine joint regularity required of a | |
| 574 | -lower-order source, without any negative-`X` extension. -/ | |
| 575 | -theorem mixedAxisJet_pullback_contDiffOn_local {R : ℝ} (hR : 0 < R) {U : Set ℂ} | |
| 576 | - (hU : IsOpen U) {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) | |
| 577 | - (hhol : ∀ r ∈ Ioo (-R) R, DifferentiableOn ℂ (fun z => F (r, z)) U) | |
| 578 | - (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k m : ℕ) : | |
| 579 | - ContDiffOn ℝ ∞ (fun p : ℝ × ℂ => mixedAxisJet F k m (p.1 ^ 2, p.2)) | |
| 580 | - (Ioo (-(R / 4)) (R / 4) ×ˢ U) := by | |
| 581 | - have h := complexJet_contDiffOn isOpen_Ioo hU (radialJet_joint_contDiffOn_local hR hU hF k) | |
| 582 | - (fun r hr => radialJet_holomorphic_local hR hU hF hhol k hr) m | |
| 583 | - exact h.congr fun p hp => mixedAxisJet_square_local hR hU he k m hp.1 hp.2 | |
| 584 | - | |
| 585 | -theorem mixedAxisJet_pullback_holomorphic_local {R : ℝ} (hR : 0 < R) {U : Set ℂ} | |
| 586 | - (hU : IsOpen U) {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) | |
| 587 | - (hhol : ∀ r ∈ Ioo (-R) R, DifferentiableOn ℂ (fun z => F (r, z)) U) | |
| 588 | - (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k m : ℕ) | |
| 589 | - {r : ℝ} (hr : r ∈ Ioo (-(R / 4)) (R / 4)) : | |
| 590 | - DifferentiableOn ℂ (fun z => mixedAxisJet F k m (r ^ 2, z)) U := | |
| 591 | - VolterraRegularity.holomorphic_iteratedDeriv hU | |
| 592 | - (axisJet_pullback_holomorphic_local hR hU hF hhol he k hr) m | |
| 593 | - | |
| 594 | -theorem mixedAxisJet_eq_within_local {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) | |
| 595 | - {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) | |
| 596 | - (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k m : ℕ) | |
| 597 | - {X : ℝ} (hX : X ∈ Ico (0 : ℝ) ((R / 4) ^ 2)) {z : ℂ} (hz : z ∈ U) : | |
| 598 | - mixedAxisJet F k m (X, z) = | |
| 599 | - iteratedDeriv m (fun w => iteratedDerivWithin k (fun Y => F (Real.sqrt Y, w)) (Ici 0) X) z := by | |
| 600 | - have heq : (fun w => axisJet F k (X, w)) =ᶠ[𝓝 z] | |
| 601 | - (fun w => iteratedDerivWithin k (fun Y => F (Real.sqrt Y, w)) (Ici 0) X) := by | |
| 602 | - filter_upwards [hU.mem_nhds hz] with w hw | |
| 603 | - apply axisJet_eq_iteratedDerivWithin_local hR _ (he w hw) k hX | |
| 604 | - exact hF.comp (contDiff_id.prodMk contDiff_const).contDiffOn (fun r hr => ⟨hr, hw⟩) | |
| 605 | - exact heq.iteratedDeriv_eq m | |
| 606 | - | |
| 607 | -theorem mixedAxisJet_eq_ordinary_local {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) | |
| 608 | - {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) | |
| 609 | - (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k m : ℕ) | |
| 610 | - {X : ℝ} (hX : X ∈ Ioo (0 : ℝ) ((R / 4) ^ 2)) {z : ℂ} (hz : z ∈ U) : | |
| 611 | - mixedAxisJet F k m (X, z) = | |
| 612 | - iteratedDeriv m (fun w => iteratedDeriv k (fun Y => F (Real.sqrt Y, w)) X) z := by | |
| 613 | - have heq : (fun w => axisJet F k (X, w)) =ᶠ[𝓝 z] | |
| 614 | - (fun w => iteratedDeriv k (fun Y => F (Real.sqrt Y, w)) X) := by | |
| 615 | - filter_upwards [hU.mem_nhds hz] with w hw | |
| 616 | - apply axisJet_eq_iteratedDeriv_local_pos hR _ (he w hw) k hX | |
| 617 | - exact hF.comp (contDiff_id.prodMk contDiff_const).contDiffOn (fun r hr => ⟨hr, hw⟩) | |
| 618 | - exact heq.iteratedDeriv_eq m | |
| 619 | - | |
| 620 | 380 | /-! ## Interior localization retaining the full radial domain -/ |
| 621 | 381 | |
| 622 | 382 | noncomputable def interiorBump {R S : ℝ} (hS : 0 < S) (hSR : S < R) : ContDiffBump (0 : ℝ) where |
| @@ -760,13 +520,6 @@ theorem axisJet_square_full {R : ℝ} (hR : 0 < R) {F : ℝ × ℂ → B} {z : | ||
| 760 | 520 | · rw [abs_of_nonneg hs] |
| 761 | 521 | · rw [abs_of_neg hs, radialJet_even_full hR he k hr] |
| 762 | 522 | |
| 763 | -theorem axisJet_pullback_contDiffOn_full {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) | |
| 764 | - {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) | |
| 765 | - (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k : ℕ) : | |
| 766 | - ContDiffOn ℝ ∞ (fun p : ℝ × ℂ => axisJet F k (p.1 ^ 2, p.2)) (Ioo (-R) R ×ˢ U) := | |
| 767 | - (radialJet_joint_contDiffOn_full hR hU hF k).congr | |
| 768 | - (fun p hp => axisJet_square_full hR (he p.2 hp.2) k hp.1) | |
| 769 | - | |
| 770 | 523 | theorem axisJet_pullback_holomorphic_full {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) |
| 771 | 524 | {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) |
| 772 | 525 | (hhol : ∀ r ∈ Ioo (-R) R, DifferentiableOn ℂ (fun z => F (r, z)) U) |
| @@ -809,13 +562,6 @@ theorem axisJet_derivatives_full {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOp | ||
| 809 | 562 | rw [haxis, axisJet_eq_iteratedDeriv_pos hG heG k hpos] |
| 810 | 563 | exact hEq.iteratedDeriv_eq k |
| 811 | 564 | |
| 812 | -theorem axisJet_eq_within_full {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) | |
| 813 | - {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) | |
| 814 | - (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k : ℕ) | |
| 815 | - {X : ℝ} (hX : X ∈ Ico (0 : ℝ) (R ^ 2)) {z : ℂ} (hz : z ∈ U) : | |
| 816 | - axisJet F k (X, z) = iteratedDerivWithin k (fun Y => F (Real.sqrt Y, z)) (Ici 0) X := | |
| 817 | - (axisJet_derivatives_full hR hU hF he k hX hz).1 | |
| 818 | - | |
| 819 | 565 | theorem axisJet_eq_ordinary_full {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) |
| 820 | 566 | {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) |
| 821 | 567 | (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k : ℕ) |
| @@ -823,17 +569,6 @@ theorem axisJet_eq_ordinary_full {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOp | ||
| 823 | 569 | axisJet F k (X, z) = iteratedDeriv k (fun Y => F (Real.sqrt Y, z)) X := |
| 824 | 570 | (axisJet_derivatives_full hR hU hF he k ⟨hX.1.le, hX.2⟩ hz).2 hX.1 |
| 825 | 571 | |
| 826 | -theorem axisJet_zero_full {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) | |
| 827 | - {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) | |
| 828 | - (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k : ℕ) | |
| 829 | - {z : ℂ} (hz : z ∈ U) : | |
| 830 | - axisJet F k (0, z) = ((k.factorial : ℝ) / ((2 * k).factorial : ℝ)) • | |
| 831 | - iteratedDeriv (2 * k) (fun r => F (r, z)) 0 := by | |
| 832 | - rw [axisJet_eq_within_full hR hU hF he k (by constructor <;> positivity) hz] | |
| 833 | - apply EvenSmoothDescent.iteratedDerivWithin_descent_zero_local (f := fun r => F (r, z)) hR | |
| 834 | - · exact hF.comp (contDiff_id.prodMk contDiff_const).contDiffOn (fun r hr => ⟨hr, hz⟩) | |
| 835 | - · exact he z hz | |
| 836 | - | |
| 837 | 572 | omit [CompleteSpace B] in |
| 838 | 573 | theorem mixedAxisJet_square_full {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) |
| 839 | 574 | {F : ℝ × ℂ → B} (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) |
| @@ -863,30 +598,6 @@ theorem mixedAxisJet_pullback_holomorphic_full {R : ℝ} (hR : 0 < R) {U : Set | ||
| 863 | 598 | VolterraRegularity.holomorphic_iteratedDeriv hU |
| 864 | 599 | (axisJet_pullback_holomorphic_full hR hU hF hhol he k hr) m |
| 865 | 600 | |
| 866 | -theorem mixedAxisJet_eq_within_full {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) | |
| 867 | - {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) | |
| 868 | - (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k m : ℕ) | |
| 869 | - {X : ℝ} (hX : X ∈ Ico (0 : ℝ) (R ^ 2)) {z : ℂ} (hz : z ∈ U) : | |
| 870 | - mixedAxisJet F k m (X, z) = | |
| 871 | - iteratedDeriv m (fun w => iteratedDerivWithin k (fun Y => F (Real.sqrt Y, w)) (Ici 0) X) z := by | |
| 872 | - have heq : (fun w => axisJet F k (X, w)) =ᶠ[𝓝 z] | |
| 873 | - (fun w => iteratedDerivWithin k (fun Y => F (Real.sqrt Y, w)) (Ici 0) X) := by | |
| 874 | - filter_upwards [hU.mem_nhds hz] with w hw | |
| 875 | - exact axisJet_eq_within_full hR hU hF he k hX hw | |
| 876 | - exact heq.iteratedDeriv_eq m | |
| 877 | - | |
| 878 | -theorem mixedAxisJet_eq_ordinary_full {R : ℝ} (hR : 0 < R) {U : Set ℂ} (hU : IsOpen U) | |
| 879 | - {F : ℝ × ℂ → B} (hF : ContDiffOn ℝ ∞ F (Ioo (-R) R ×ˢ U)) | |
| 880 | - (he : ∀ z ∈ U, ∀ r ∈ Ioo (-R) R, F (-r, z) = F (r, z)) (k m : ℕ) | |
| 881 | - {X : ℝ} (hX : X ∈ Ioo (0 : ℝ) (R ^ 2)) {z : ℂ} (hz : z ∈ U) : | |
| 882 | - mixedAxisJet F k m (X, z) = | |
| 883 | - iteratedDeriv m (fun w => iteratedDeriv k (fun Y => F (Real.sqrt Y, w)) X) z := by | |
| 884 | - have heq : (fun w => axisJet F k (X, w)) =ᶠ[𝓝 z] | |
| 885 | - (fun w => iteratedDeriv k (fun Y => F (Real.sqrt Y, w)) X) := by | |
| 886 | - filter_upwards [hU.mem_nhds hz] with w hw | |
| 887 | - exact axisJet_eq_ordinary_full hR hU hF he k hX hw | |
| 888 | - exact heq.iteratedDeriv_eq m | |
| 889 | - | |
| 890 | 601 | end Holomorphic |
| 891 | 602 | |
| 892 | 603 | end NavierStokes.BoundaryAxisJets |
+0 −27 NavierStokes/CandidateFromLimits.lean View file
| @@ -116,11 +116,6 @@ theorem force_zero_from {t : ℝ} (ht : 2 ≤ t) (x : Space) : | ||
| 116 | 116 | SpacetimeGluing.smoothExtension_zero_from |
| 117 | 117 | (tracedResidual_smooth u p hu hp L hlim) (by linarith) x |
| 118 | 118 | |
| 119 | -theorem force_zero_nonpos {t : ℝ} (ht : t ≤ 0) (x : Space) : | |
| 120 | - force u p hu hp L hlim (t, x) = 0 := by | |
| 121 | - rw [force_eq_pastResidual u p hu hp L hlim (by linarith) x] | |
| 122 | - exact PastExtension.pastResidual_zero_nonpos u p ht x | |
| 123 | - | |
| 124 | 119 | theorem force_time_support : CompactFutureTimeSupport (force u p hu hp L hlim) := |
| 125 | 120 | ⟨2, by norm_num, fun t ht x => force_zero_from u p hu hp L hlim ht x⟩ |
| 126 | 121 | |
| @@ -135,18 +130,6 @@ theorem force_boundary_jets (n : ℕ) (x : Space) : | ||
| 135 | 130 | ⟨mem_Iic.mpr (le_refl (1 : ℝ)), mem_univ x⟩ |
| 136 | 131 | _ = L x n := tracedResidual_boundary_jets u p hu hp L hlim n x |
| 137 | 132 | |
| 138 | -/-- Compact time support and global joint smoothness give arbitrary | |
| 139 | -polynomial decay of every actual full derivative tensor. -/ | |
| 140 | -theorem force_derivative_decay | |
| 141 | - (huper : UnitSpatialPeriodsOn (Ico (0 : ℝ) 1) u) | |
| 142 | - (hpper : UnitSpatialPeriodsOn (Ico (0 : ℝ) 1) p) | |
| 143 | - (m : ℕ) (K : ℝ) (hK : 0 ≤ K) : | |
| 144 | - ∃ C : ℝ, 0 < C ∧ ∀ t : ℝ, 0 ≤ t → ∀ x : Space, | |
| 145 | - ‖iteratedFDeriv ℝ m (force u p hu hp L hlim) (t, x)‖ ≤ C * (1 + t) ^ (-K) := | |
| 146 | - CompactForceDecay.iteratedFDeriv_decay (force u p hu hp L hlim) | |
| 147 | - (force_smooth u p hu hp L hlim) (force_periodic u p hu hp L hlim huper hpper) | |
| 148 | - (force_time_support u p hu hp L hlim) m K hK | |
| 149 | - | |
| 150 | 133 | /-- The same conclusion for every ordered choice of time/spatial coordinate |
| 151 | 134 | directions and every output component. The constant is uniform in these choices. -/ |
| 152 | 135 | theorem force_mixed_derivative_decay |
| @@ -207,16 +190,6 @@ theorem exists_candidate_force | ||
| 207 | 190 | · intro m K hK |
| 208 | 191 | exact force_mixed_derivative_decay u p hu hp L hlim huper hpper m K hK |
| 209 | 192 | |
| 210 | -/-- Conditional reduction of the primary existential target to the stated | |
| 211 | -physical fields and locally uniform limits of all actual residual derivatives. -/ | |
| 212 | -theorem candidateStatement_of_residual_limits | |
| 213 | - (huper : UnitSpatialPeriodsOn (Ico (0 : ℝ) 1) u) | |
| 214 | - (hpper : UnitSpatialPeriodsOn (Ico (0 : ℝ) 1) p) | |
| 215 | - (hdiv : ∀ t ∈ Ico (0 : ℝ) 1, ∀ x : Space, spatialDivergence u t x = 0) | |
| 216 | - (hunbounded : SpeedUnboundedAtOne u) : candidateStatement := | |
| 217 | - ⟨activatedVelocity u, activatedPressure p, force u p hu hp L hlim, | |
| 218 | - candidate_properties u p hu hp L hlim huper hpper hdiv hunbounded⟩ | |
| 219 | - | |
| 220 | 193 | end Construction |
| 221 | 194 | |
| 222 | 195 | end NavierStokes.CandidateFromLimits |
+0 −9 NavierStokes/CartesianCopySource.lean View file
| @@ -175,13 +175,4 @@ theorem sourceBounds_rotated {ι : Type*} {s : StripData Native} {w : ι → ℕ | ||
| 175 | 175 | have hp := sourceBounds_pullback (b := b) ha hf |
| 176 | 176 | exact ⟨uniform_rotated ha hf.uniform, hp.flat_geometry, hp.weight_le, hp.epsilon_eq, hp.slow_le⟩ |
| 177 | 177 | |
| 178 | -theorem sourceBounds_rotated_component {ι : Type*} {s : StripData Native} {w : ι → ℕ → Native → ℝ} | |
| 179 | - {f : ι → ℕ → Native → ComplexVector} {α h a b : ℝ} (ha : 0 < a) | |
| 180 | - (hf : LocalPhysicalCopyBounds.LocalSourceBounds s h α w f) (i : Fin 3) : | |
| 181 | - LocalPhysicalCopyBounds.LocalSourceBounds (pullStrip s a b ha) h α | |
| 182 | - (fun l n x => w l n (cylindricalMap x)) (fun l n x => rotatedSource f l n x i) := by | |
| 183 | - have hp := sourceBounds_rotated (b := b) ha hf | |
| 184 | - exact ⟨hp.uniform.map (ContinuousLinearMap.proj i), hp.flat_geometry, | |
| 185 | - hp.weight_le, hp.epsilon_eq, hp.slow_le⟩ | |
| 186 | - | |
| 187 | 178 | end NavierStokes.CartesianCopySource |
+0 −68 NavierStokes/CauchyRestriction.lean View file
| @@ -54,12 +54,6 @@ def restrictionCLM (c : ℂ) {ρ σ : ℝ} (h : ρ ≤ σ) : | ||
| 54 | 54 | (f : C(Disk c σ, E)) (z : Disk c ρ) : |
| 55 | 55 | restrictionCLM c h f z = f ⟨z.1, closedBall_subset_closedBall h z.2⟩ := rfl |
| 56 | 56 | |
| 57 | -theorem restrictionCLM_comp (c : ℂ) {r ρ σ : ℝ} (h₁ : r ≤ ρ) (h₂ : ρ ≤ σ) : | |
| 58 | - (restrictionCLM (E := E) c h₁).comp (restrictionCLM c h₂) = | |
| 59 | - restrictionCLM c (h₁.trans h₂) := by | |
| 60 | - ext f z | |
| 61 | - rfl | |
| 62 | - | |
| 63 | 57 | theorem offset_ne_zero {δ : ℝ} (hδ : 0 < δ) (θ : ℝ) : circleMap 0 δ θ ≠ 0 := by |
| 64 | 58 | intro h |
| 65 | 59 | have hn := congrArg norm h |
| @@ -167,13 +161,6 @@ theorem norm_derivativeCLM_le (c : ℂ) {ρ σ : ℝ} (hgap : ρ < σ) : | ||
| 167 | 161 | apply ContinuousLinearMap.opNorm_le_bound _ (by positivity) |
| 168 | 162 | exact norm_cauchyMap_le c hgap |
| 169 | 163 | |
| 170 | -theorem norm_restrictionCLM_le (c : ℂ) {ρ σ : ℝ} (h : ρ ≤ σ) : | |
| 171 | - ‖restrictionCLM (E := E) c h‖ ≤ 1 := by | |
| 172 | - apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one | |
| 173 | - intro f | |
| 174 | - change ‖restrictionLinear c h f‖ ≤ 1 * ‖f‖ | |
| 175 | - simpa only [one_mul] using norm_restrictionLinear_le c h f | |
| 176 | - | |
| 177 | 164 | variable [CompleteSpace E] |
| 178 | 165 | |
| 179 | 166 | theorem derivativeCLM_apply_integral (c : ℂ) {ρ σ : ℝ} (hgap : ρ < σ) |
| @@ -244,59 +231,4 @@ omit [NormedSpace ℂ E] [CompleteSpace E] in | ||
| 244 | 231 | (hF : ContinuousOn F (closedBall c r)) (z : Disk c r) : |
| 245 | 232 | ofContinuousOn c r F hF z = F z := rfl |
| 246 | 233 | |
| 247 | -/-- Agreement with the actual derivative under holomorphy in the open disk and | |
| 248 | -continuity on its closure. No smoothness of the derivative is assumed. -/ | |
| 249 | -theorem derivativeCLM_apply_of_diffContOnCl (c : ℂ) {ρ σ : ℝ} (hgap : ρ < σ) | |
| 250 | - (F : ℂ → E) (hF : DiffContOnCl ℂ F (ball c σ)) (z : Disk c ρ) : | |
| 251 | - derivativeCLM c hgap (ofContinuousOn c σ F hF.continuousOn_ball) z = deriv F z := | |
| 252 | - derivativeCLM_apply_of_eq c hgap _ F hF (fun _ => rfl) z | |
| 253 | - | |
| 254 | -theorem derivativeCLM_apply_of_differentiableOn (c : ℂ) {ρ σ : ℝ} (hgap : ρ < σ) | |
| 255 | - (F : ℂ → E) (hF : DifferentiableOn ℂ F (closedBall c σ)) (z : Disk c ρ) : | |
| 256 | - derivativeCLM c hgap (ofContinuousOn c σ F hF.continuousOn) z = deriv F z := | |
| 257 | - derivativeCLM_apply_of_eq c hgap _ F | |
| 258 | - (DiffContOnCl.mk_ball (hF.mono ball_subset_closedBall) hF.continuousOn) (fun _ => rfl) z | |
| 259 | - | |
| 260 | -/-- On holomorphic data, further restriction of the derivative does not depend | |
| 261 | -on which smaller target disk was used to construct the Cauchy integral. -/ | |
| 262 | -theorem restrict_derivativeCLM_of_eq (c : ℂ) {r ρ σ : ℝ} | |
| 263 | - (hr : r ≤ ρ) (hgap : ρ < σ) (f : C(Disk c σ, E)) (F : ℂ → E) | |
| 264 | - (hF : DiffContOnCl ℂ F (ball c σ)) | |
| 265 | - (hvalues : ∀ w : Disk c σ, f w = F w) : | |
| 266 | - restrictionCLM c hr (derivativeCLM c hgap f) = | |
| 267 | - derivativeCLM c (hr.trans_lt hgap) f := by | |
| 268 | - ext z | |
| 269 | - change derivativeCLM c hgap f (inclusion c hr z) = _ | |
| 270 | - calc | |
| 271 | - _ = deriv F z := derivativeCLM_apply_of_eq c hgap f F hF hvalues (inclusion c hr z) | |
| 272 | - _ = _ := (derivativeCLM_apply_of_eq c (hr.trans_lt hgap) f F hF hvalues z).symm | |
| 273 | - | |
| 274 | -/-- Restricting the source disk also gives the same derivative on common | |
| 275 | -smaller disks, provided the source represents a holomorphic function. -/ | |
| 276 | -theorem derivativeCLM_restrict_of_eq (c : ℂ) {r ρ σ : ℝ} | |
| 277 | - (hgap : r < ρ) (houter : ρ ≤ σ) (f : C(Disk c σ, E)) (F : ℂ → E) | |
| 278 | - (hF : DiffContOnCl ℂ F (ball c σ)) | |
| 279 | - (hvalues : ∀ w : Disk c σ, f w = F w) : | |
| 280 | - derivativeCLM c hgap (restrictionCLM c houter f) = | |
| 281 | - derivativeCLM c (hgap.trans_le houter) f := by | |
| 282 | - ext z | |
| 283 | - calc | |
| 284 | - _ = deriv F z := derivativeCLM_apply_of_eq c hgap (restrictionCLM c houter f) F | |
| 285 | - (hF.mono (ball_subset_ball houter)) | |
| 286 | - (fun w => hvalues (inclusion c houter w)) z | |
| 287 | - _ = _ := (derivativeCLM_apply_of_eq c (hgap.trans_le houter) f F hF hvalues z).symm | |
| 288 | - | |
| 289 | -omit [CompleteSpace E] in | |
| 290 | -theorem continuous_derivative_path {X : Type*} [TopologicalSpace X] | |
| 291 | - (c : ℂ) {ρ σ : ℝ} (hgap : ρ < σ) {f : X → C(Disk c σ, E)} (hf : Continuous f) : | |
| 292 | - Continuous (fun x => derivativeCLM c hgap (f x)) := | |
| 293 | - (derivativeCLM c hgap).continuous.comp hf | |
| 294 | - | |
| 295 | -omit [CompleteSpace E] in | |
| 296 | -theorem contDiff_derivative_path {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] | |
| 297 | - (c : ℂ) {ρ σ : ℝ} (hgap : ρ < σ) {n : WithTop ℕ∞} | |
| 298 | - {f : X → C(Disk c σ, E)} (hf : ContDiff ℝ n f) : | |
| 299 | - ContDiff ℝ n (fun x => derivativeCLM c hgap (f x)) := | |
| 300 | - ((derivativeCLM c hgap).restrictScalars ℝ).contDiff.comp hf | |
| 301 | - | |
| 302 | 234 | end NavierStokes.CauchyRestriction |
+0 −378 NavierStokes/CommonBaseContext.lean View file
| @@ -26,24 +26,6 @@ structure IndexBounds (h : ℝ) (index : ℕ → ℕ) (K : ℕ) : Prop where | ||
| 26 | 26 | le_native : ∀ n, index n ≤ ChartScales.nativeIndex h n |
| 27 | 27 | gap_le : ∀ n, ChartScales.nativeIndex h n - index n ≤ K |
| 28 | 28 | |
| 29 | -theorem IndexBounds.native_le_add {h : ℝ} {index : ℕ → ℕ} {K : ℕ} | |
| 30 | - (H : IndexBounds h index K) (n : ℕ) : ChartScales.nativeIndex h n ≤ index n + K := by | |
| 31 | - have hi := H.le_native n | |
| 32 | - have hg := H.gap_le n | |
| 33 | - omega | |
| 34 | - | |
| 35 | -theorem IndexBounds.add_gap {h : ℝ} {index : ℕ → ℕ} {K : ℕ} | |
| 36 | - (H : IndexBounds h index K) (n : ℕ) : | |
| 37 | - index n + (ChartScales.nativeIndex h n - index n) = ChartScales.nativeIndex h n := | |
| 38 | - Nat.add_sub_of_le (H.le_native n) | |
| 39 | - | |
| 40 | -theorem IndexBounds.commonRatio {h : ℝ} {index : ℕ → ℕ} {K : ℕ} | |
| 41 | - (H : IndexBounds h index K) (n : ℕ) : | |
| 42 | - 0 < MeanChartCompatibility.commonRatio h n (index n) ∧ | |
| 43 | - MeanChartCompatibility.commonRatio h n (index n) ≤ ChartScales.Tg ^ K := | |
| 44 | - ⟨MeanChartCompatibility.commonRatio_pos h n (index n), | |
| 45 | - MeanChartCompatibility.commonRatio_le (H.native_le_add n)⟩ | |
| 46 | - | |
| 47 | 29 | noncomputable def radialFrequency (h : ℝ) (index : ℕ → ℕ) (n : ℕ) : ℝ := |
| 48 | 30 | ChartScales.Lambda ^ index n * ChartScales.Q n ^ (ChartScales.radialExponent h / 2) |
| 49 | 31 | |
| @@ -66,55 +48,6 @@ theorem fastCoefficient_mono (h : ℝ) {i j : ℕ → ℕ} {n : ℕ} (hij : i n | ||
| 66 | 48 | mul_le_mul_of_nonneg_right (pow_le_pow_right₀ ChartScales.Tg_one_lt.le hij) |
| 67 | 49 | (Real.rpow_nonneg (ChartScales.Q_pos n).le _) |
| 68 | 50 | |
| 69 | -theorem radialFrequency_add (h : ℝ) (i k : ℕ → ℕ) (n : ℕ) : | |
| 70 | - radialFrequency h (fun m => i m + k m) n = ChartScales.Lambda ^ k n * radialFrequency h i n := by | |
| 71 | - simp only [radialFrequency, pow_add] | |
| 72 | - ring | |
| 73 | - | |
| 74 | -theorem fastCoefficient_add (h : ℝ) (i k : ℕ → ℕ) (n : ℕ) : | |
| 75 | - fastCoefficient h (fun m => i m + k m) n = ChartScales.Tg ^ k n * fastCoefficient h i n := by | |
| 76 | - simp only [fastCoefficient, pow_add] | |
| 77 | - ring | |
| 78 | - | |
| 79 | -theorem radialFrequency_bounds {h : ℝ} {index : ℕ → ℕ} {K : ℕ} | |
| 80 | - (H : IndexBounds h index K) (n : ℕ) : | |
| 81 | - ChartScales.radialCoefficient h n / ChartScales.Lambda ^ K ≤ radialFrequency h index n ∧ | |
| 82 | - radialFrequency h index n ≤ ChartScales.radialCoefficient h n := by | |
| 83 | - refine ⟨?_, radialFrequency_mono h (H.le_native n)⟩ | |
| 84 | - apply (div_le_iff₀ (pow_pos ChartScales.Lambda_pos K)).mpr | |
| 85 | - have hm := radialFrequency_mono h (i := ChartScales.nativeIndex h) | |
| 86 | - (j := fun m => index m + K) (n := n) (H.native_le_add n) | |
| 87 | - rw [radialFrequency_add] at hm | |
| 88 | - simp only [mul_comm] | |
| 89 | - exact hm | |
| 90 | - | |
| 91 | -theorem fastCoefficient_bounds {h : ℝ} {index : ℕ → ℕ} {K : ℕ} | |
| 92 | - (H : IndexBounds h index K) (n : ℕ) : | |
| 93 | - ChartScales.timeCoefficient h n / ChartScales.Tg ^ K ≤ fastCoefficient h index n ∧ | |
| 94 | - fastCoefficient h index n ≤ ChartScales.timeCoefficient h n := by | |
| 95 | - refine ⟨?_, fastCoefficient_mono h (H.le_native n)⟩ | |
| 96 | - apply (div_le_iff₀ (pow_pos ChartScales.Tg_pos K)).mpr | |
| 97 | - have hm := fastCoefficient_mono h (i := ChartScales.nativeIndex h) | |
| 98 | - (j := fun m => index m + K) (n := n) (H.native_le_add n) | |
| 99 | - rw [fastCoefficient_add] at hm | |
| 100 | - simp only [mul_comm] | |
| 101 | - exact hm | |
| 102 | - | |
| 103 | -theorem fastCoefficient_inverse_bound {h : ℝ} {index : ℕ → ℕ} {K : ℕ} | |
| 104 | - (H : IndexBounds h index K) (hh : 0 ≤ h) {n : ℕ} (hn : 4 ≤ n) : | |
| 105 | - (fastCoefficient h index n)⁻¹ ≤ ChartScales.Tg ^ (K+1) * ChartScales.S n := by | |
| 106 | - have hl := (fastCoefficient_bounds H n).1 | |
| 107 | - have hp := div_pos (ChartScales.timeCoefficient_pos h n) (pow_pos ChartScales.Tg_pos K) | |
| 108 | - have hi := inv_anti₀ hp hl | |
| 109 | - rw [inv_div] at hi | |
| 110 | - calc | |
| 111 | - _ ≤ ChartScales.Tg ^ K / ChartScales.timeCoefficient h n := hi | |
| 112 | - _ ≤ ChartScales.Tg ^ K * (ChartScales.Tg * ChartScales.S n) := by | |
| 113 | - rw [div_eq_mul_inv] | |
| 114 | - exact mul_le_mul_of_nonneg_left (ChartScales.timeCoefficient_inv_upper h hh hn) | |
| 115 | - (pow_nonneg ChartScales.Tg_pos.le _) | |
| 116 | - _ = _ := by rw [pow_succ]; ring | |
| 117 | - | |
| 118 | 51 | noncomputable def reconstruction (h : ℝ) (index : ℕ → ℕ) (a b : ℝ) (hab : a < b) : |
| 119 | 52 | CorrectionState.ReconstructionData where |
| 120 | 53 | exponent := ChartScales.radialExponent h |
| @@ -129,9 +62,6 @@ noncomputable def operators (h : ℝ) (index : ℕ → ℕ) (a b : ℝ) (hab : a | ||
| 129 | 62 | CorrectionState.graphOperators (reconstruction h index a b hab) (ChartScales.epsilon h) |
| 130 | 63 | (fastCoefficient h index) ((0,1),0) ((1,0),0) (TorusInverse.vector .temporal) |
| 131 | 64 | |
| 132 | -theorem operators_native (h a b : ℝ) (hab : a < b) : | |
| 133 | - operators h (ChartScales.nativeIndex h) a b hab = BaseContextAssembly.operators h a b hab := rfl | |
| 134 | - | |
| 135 | 65 | theorem operators_match_physical (h : ℝ) (index : ℕ → ℕ) (a b : ℝ) (hab : a < b) (n : ℕ) : |
| 136 | 66 | PhysicalResidualTZ.MatchesAtTZ (operators h index a b hab) |
| 137 | 67 | (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (index n)) n := by |
| @@ -193,202 +123,9 @@ theorem coverPower_temporal (k : ℕ) : | ||
| 193 | 123 | rw [CommonCoverSolve.coverPower_apply] |
| 194 | 124 | exact PhysicalGraphBounds.cover_pow_timeDirection k |
| 195 | 125 | |
| 196 | -theorem coverLift_vR (k : ℕ) : coverLift k (0,(0,TorusInverse.vector .radial)) = | |
| 197 | - ChartScales.Lambda ^ k • (0,(0,TorusInverse.vector .radial)) := by | |
| 198 | - rw [coverLift_apply, coverPower_radial] | |
| 199 | - simp | |
| 200 | - | |
| 201 | -theorem coverLift_vT (k : ℕ) : coverLift k (0,(0,TorusInverse.vector .temporal)) = | |
| 202 | - ChartScales.Tg ^ k • (0,(0,TorusInverse.vector .temporal)) := by | |
| 203 | - rw [coverLift_apply, coverPower_temporal] | |
| 204 | - simp | |
| 205 | - | |
| 206 | -theorem coverPower_comp (i k : ℕ) (Y : Plane) : | |
| 207 | - CommonCoverSolve.coverPower k (CommonCoverSolve.coverPower i Y) = | |
| 208 | - CommonCoverSolve.coverPower (i+k) Y := by | |
| 209 | - simp only [CommonCoverSolve.coverPower_apply] | |
| 210 | - rw [← _root_.mul_apply_eq_comp, ← pow_add, Nat.add_comm] | |
| 211 | - | |
| 212 | -theorem coverLift_physicalToChart (h : ℝ) (n i k : ℕ) (x : Point) : | |
| 213 | - coverLift k (PhysicalResidualTZ.physicalToChartTZ h n i x) = | |
| 214 | - PhysicalResidualTZ.physicalToChartTZ h n (i+k) x := by | |
| 215 | - apply Prod.ext | |
| 216 | - · rfl | |
| 217 | - · apply Prod.ext | |
| 218 | - · rfl | |
| 219 | - · change CommonCoverSolve.coverPower k (TemporalMeanUpdate.coverMap i x.2.2) = | |
| 220 | - TemporalMeanUpdate.coverMap (i+k) x.2.2 | |
| 221 | - rw [MeanChartCompatibility.coverMap_eq_coverPower, MeanChartCompatibility.coverMap_eq_coverPower, | |
| 222 | - coverPower_comp] | |
| 223 | - | |
| 224 | -theorem IndexBounds.physicalToChart {h : ℝ} {index : ℕ → ℕ} {K : ℕ} | |
| 225 | - (H : IndexBounds h index K) (n : ℕ) (x : Point) : | |
| 226 | - coverLift (ChartScales.nativeIndex h n - index n) | |
| 227 | - (PhysicalResidualTZ.physicalToChartTZ h n (index n) x) = | |
| 228 | - PhysicalResidualTZ.physicalToChartTZ h n (ChartScales.nativeIndex h n) x := by | |
| 229 | - rw [coverLift_physicalToChart, H.add_gap n] | |
| 230 | - | |
| 231 | 126 | noncomputable def pull {E : Type*} (gap : ℕ → ℕ) (f : ℕ → Point → E) (n : ℕ) (x : Point) : E := |
| 232 | 127 | f n (coverLift (gap n) x) |
| 233 | 128 | |
| 234 | -theorem pull_fderiv {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 235 | - (gap : ℕ → ℕ) (f : ℕ → Point → E) (n : ℕ) (x v : Point) : | |
| 236 | - fderiv ℝ (pull gap f n) x v = fderiv ℝ (f n) (coverLift (gap n) x) (coverLift (gap n) v) := | |
| 237 | - PhysicalResidualTZ.fderiv_reindex (coverLift (gap n)) (f n) x v | |
| 238 | - | |
| 239 | -theorem pull_dr (h a b : ℝ) (hab : a < b) (index gap : ℕ → ℕ) (f : ℕ → Point → ℝ) : | |
| 240 | - (operators h index a b hab).dr (pull gap f) = | |
| 241 | - pull gap ((operators h (fun n => index n + gap n) a b hab).dr f) := by | |
| 242 | - funext n x | |
| 243 | - change fderiv ℝ (pull gap f n) x (1,(0,0)) + | |
| 244 | - radialFrequency h index n * (RadialPullback.radialJacobian (ChartScales.radialExponent h) x.1 * | |
| 245 | - fderiv ℝ (pull gap f n) x (0,(0,TorusInverse.vector .radial))) = | |
| 246 | - fderiv ℝ (f n) (coverLift (gap n) x) (1,(0,0)) + | |
| 247 | - radialFrequency h (fun n => index n + gap n) n * | |
| 248 | - (RadialPullback.radialJacobian (ChartScales.radialExponent h) x.1 * | |
| 249 | - fderiv ℝ (f n) (coverLift (gap n) x) (0,(0,TorusInverse.vector .radial))) | |
| 250 | - rw [pull_fderiv, pull_fderiv, coverLift_eR, coverLift_vR, map_smul, radialFrequency_add] | |
| 251 | - simp only [smul_eq_mul] | |
| 252 | - ring | |
| 253 | - | |
| 254 | -theorem pull_dz (h a b : ℝ) (hab : a < b) (index gap : ℕ → ℕ) (f : ℕ → Point → ℝ) : | |
| 255 | - (operators h index a b hab).dz (pull gap f) = | |
| 256 | - pull gap ((operators h (fun n => index n + gap n) a b hab).dz f) := by | |
| 257 | - funext n x | |
| 258 | - change ChartScales.epsilon h n * fderiv ℝ (pull gap f n) x (0,((0,1),0)) = | |
| 259 | - ChartScales.epsilon h n * fderiv ℝ (f n) (coverLift (gap n) x) (0,((0,1),0)) | |
| 260 | - rw [pull_fderiv, coverLift_eZ] | |
| 261 | - | |
| 262 | -theorem pull_slowTime (h a b : ℝ) (hab : a < b) (index gap : ℕ → ℕ) (f : ℕ → Point → ℝ) : | |
| 263 | - (operators h index a b hab).slowTime (pull gap f) = | |
| 264 | - pull gap ((operators h (fun n => index n + gap n) a b hab).slowTime f) := by | |
| 265 | - funext n x | |
| 266 | - change -(ChartScales.epsilon h n * fderiv ℝ (pull gap f n) x (0,((1,0),0))) = | |
| 267 | - -(ChartScales.epsilon h n * fderiv ℝ (f n) (coverLift (gap n) x) (0,((1,0),0))) | |
| 268 | - rw [pull_fderiv, coverLift_eT] | |
| 269 | - | |
| 270 | -theorem pull_fastTime (h a b : ℝ) (hab : a < b) (index gap : ℕ → ℕ) (f : ℕ → Point → ℝ) : | |
| 271 | - (operators h index a b hab).fastTime (pull gap f) = | |
| 272 | - pull gap ((operators h (fun n => index n + gap n) a b hab).fastTime f) := by | |
| 273 | - funext n x | |
| 274 | - change fastCoefficient h index n * fderiv ℝ (pull gap f n) x (0,(0,TorusInverse.vector .temporal)) = | |
| 275 | - fastCoefficient h (fun n => index n + gap n) n * | |
| 276 | - fderiv ℝ (f n) (coverLift (gap n) x) (0,(0,TorusInverse.vector .temporal)) | |
| 277 | - rw [pull_fderiv, coverLift_vT, map_smul, fastCoefficient_add] | |
| 278 | - simp only [smul_eq_mul] | |
| 279 | - ring | |
| 280 | - | |
| 281 | -theorem pull_time (h a b : ℝ) (hab : a < b) (index gap : ℕ → ℕ) (f : ℕ → Point → ℝ) : | |
| 282 | - (operators h index a b hab).time (pull gap f) = | |
| 283 | - pull gap ((operators h (fun n => index n + gap n) a b hab).time f) := by | |
| 284 | - rw [MeanIncrementBounds.Operators.time, pull_slowTime, pull_fastTime] | |
| 285 | - rfl | |
| 286 | - | |
| 287 | -theorem pull_native_derivatives (h a b : ℝ) (hab : a < b) | |
| 288 | - {index : ℕ → ℕ} (hi : ∀ n, index n ≤ ChartScales.nativeIndex h n) (f : ℕ → Point → ℝ) : | |
| 289 | - let gap := fun n => ChartScales.nativeIndex h n - index n | |
| 290 | - (operators h index a b hab).dr (pull gap f) = | |
| 291 | - pull gap ((BaseContextAssembly.operators h a b hab).dr f) ∧ | |
| 292 | - (operators h index a b hab).dz (pull gap f) = | |
| 293 | - pull gap ((BaseContextAssembly.operators h a b hab).dz f) ∧ | |
| 294 | - (operators h index a b hab).slowTime (pull gap f) = | |
| 295 | - pull gap ((BaseContextAssembly.operators h a b hab).slowTime f) ∧ | |
| 296 | - (operators h index a b hab).fastTime (pull gap f) = | |
| 297 | - pull gap ((BaseContextAssembly.operators h a b hab).fastTime f) ∧ | |
| 298 | - (operators h index a b hab).time (pull gap f) = | |
| 299 | - pull gap ((BaseContextAssembly.operators h a b hab).time f) := by | |
| 300 | - dsimp only | |
| 301 | - have he : (fun n => index n + (ChartScales.nativeIndex h n - index n)) = ChartScales.nativeIndex h := | |
| 302 | - funext (fun n => Nat.add_sub_of_le (hi n)) | |
| 303 | - refine ⟨?_, ?_, ?_, ?_, ?_⟩ | |
| 304 | - · simpa only [he, operators_native] using pull_dr h a b hab index (fun n => ChartScales.nativeIndex h n - index n) f | |
| 305 | - · simpa only [he, operators_native] using pull_dz h a b hab index (fun n => ChartScales.nativeIndex h n - index n) f | |
| 306 | - · simpa only [he, operators_native] using pull_slowTime h a b hab index (fun n => ChartScales.nativeIndex h n - index n) f | |
| 307 | - · simpa only [he, operators_native] using pull_fastTime h a b hab index (fun n => ChartScales.nativeIndex h n - index n) f | |
| 308 | - · simpa only [he, operators_native] using pull_time h a b hab index (fun n => ChartScales.nativeIndex h n - index n) f | |
| 309 | - | |
| 310 | -theorem coverLift_radialField (h a b : ℝ) (hab : a < b) (index gap : ℕ → ℕ) (n : ℕ) (x : Point) : | |
| 311 | - coverLift (gap n) ((operators h index a b hab).eR + | |
| 312 | - ((operators h index a b hab).radialFrequency n * (operators h index a b hab).radialProfile x) • | |
| 313 | - (operators h index a b hab).vR) = | |
| 314 | - (operators h (fun m => index m + gap m) a b hab).eR + | |
| 315 | - ((operators h (fun m => index m + gap m) a b hab).radialFrequency n * | |
| 316 | - (operators h (fun m => index m + gap m) a b hab).radialProfile (coverLift (gap n) x)) • | |
| 317 | - (operators h (fun m => index m + gap m) a b hab).vR := by | |
| 318 | - change coverLift (gap n) ((1,(0,0)) + (radialFrequency h index n * | |
| 319 | - RadialPullback.radialJacobian (ChartScales.radialExponent h) x.1) • | |
| 320 | - (0,(0,TorusInverse.vector .radial))) = | |
| 321 | - (1,(0,0)) + (radialFrequency h (fun m => index m + gap m) n * | |
| 322 | - RadialPullback.radialJacobian (ChartScales.radialExponent h) x.1) • | |
| 323 | - (0,(0,TorusInverse.vector .radial)) | |
| 324 | - rw [map_add, map_smul, coverLift_eR, coverLift_vR, smul_smul, radialFrequency_add] | |
| 325 | - congr 2 | |
| 326 | - ring | |
| 327 | - | |
| 328 | -theorem coverLift_axialField (h a b : ℝ) (hab : a < b) (index gap : ℕ → ℕ) (n : ℕ) : | |
| 329 | - coverLift (gap n) ((operators h index a b hab).epsilon n • (operators h index a b hab).eZ) = | |
| 330 | - (operators h (fun m => index m + gap m) a b hab).epsilon n • | |
| 331 | - (operators h (fun m => index m + gap m) a b hab).eZ := by | |
| 332 | - change coverLift (gap n) (ChartScales.epsilon h n • (0,((0,1),0))) = | |
| 333 | - ChartScales.epsilon h n • (0,((0,1),0)) | |
| 334 | - rw [map_smul, coverLift_eZ] | |
| 335 | - | |
| 336 | -theorem coverLift_timeField (h a b : ℝ) (hab : a < b) (index gap : ℕ → ℕ) (n : ℕ) : | |
| 337 | - coverLift (gap n) ((operators h index a b hab).fastCoefficient n • (operators h index a b hab).vT - | |
| 338 | - (operators h index a b hab).epsilon n • (operators h index a b hab).eT) = | |
| 339 | - (operators h (fun m => index m + gap m) a b hab).fastCoefficient n • | |
| 340 | - (operators h (fun m => index m + gap m) a b hab).vT - | |
| 341 | - (operators h (fun m => index m + gap m) a b hab).epsilon n • | |
| 342 | - (operators h (fun m => index m + gap m) a b hab).eT := by | |
| 343 | - change coverLift (gap n) (fastCoefficient h index n • (0,(0,TorusInverse.vector .temporal)) - | |
| 344 | - ChartScales.epsilon h n • (0,((1,0),0))) = | |
| 345 | - fastCoefficient h (fun m => index m + gap m) n • (0,(0,TorusInverse.vector .temporal)) - | |
| 346 | - ChartScales.epsilon h n • (0,((1,0),0)) | |
| 347 | - rw [map_sub, map_smul, map_smul, coverLift_vT, coverLift_eT, smul_smul, fastCoefficient_add] | |
| 348 | - rw [mul_comm (fastCoefficient h index n)] | |
| 349 | - | |
| 350 | -theorem pull_eq_coverPull (k : ℕ) (f : Point → ℝ) : | |
| 351 | - (fun x => f (coverLift k x)) = | |
| 352 | - MeanChartCompatibility.coverPull 1 (ContinuousLinearMap.id ℝ Plane) k 1 f := by | |
| 353 | - funext x | |
| 354 | - change f (x.1,(x.2.1,CommonCoverSolve.coverPower k x.2.2)) = | |
| 355 | - 1 * f (1 * x.1,(x.2.1,TemporalMeanUpdate.coverMap k x.2.2)) | |
| 356 | - rw [MeanChartCompatibility.coverMap_eq_coverPower] | |
| 357 | - simp | |
| 358 | - | |
| 359 | -theorem pull_periodic (k : ℕ) {f : Point → ℝ} (hf : PressureStream.TorusPeriodicLift f) : | |
| 360 | - PressureStream.TorusPeriodicLift (fun x => f (coverLift k x)) := by | |
| 361 | - rw [pull_eq_coverPull] | |
| 362 | - exact MeanChartCompatibility.coverPull_periodic _ _ _ _ hf | |
| 363 | - | |
| 364 | -theorem pull_periodicOn (k : ℕ) {U : Set Plane} {f : Point → ℝ} | |
| 365 | - (hf : PhysicalMeanDomain.PeriodicOn U f) : | |
| 366 | - PhysicalMeanDomain.PeriodicOn U (fun x => f (coverLift k x)) := by | |
| 367 | - intro R p hp Y z | |
| 368 | - change f (R,(p,CommonCoverSolve.coverPower k (Y + TorusAverages.latticePoint z))) = | |
| 369 | - f (R,(p,CommonCoverSolve.coverPower k Y)) | |
| 370 | - rw [map_add, CommonCoverSolve.coverPower_lattice] | |
| 371 | - exact hf R p hp (CommonCoverSolve.coverPower k Y) (CommonCoverSolve.coverIndex k z) | |
| 372 | - | |
| 373 | -theorem coverLift_norm_le {k K : ℕ} (hk : k ≤ K) : | |
| 374 | - ‖(coverLift k : Point →L[ℝ] Point)‖ ≤ 1 + CommonCoverSolve.coveringBound K := by | |
| 375 | - have hC : 1 ≤ 1 + CommonCoverSolve.coveringBound K := by | |
| 376 | - linarith [CommonCoverSolve.coveringBound_pos K] | |
| 377 | - apply ContinuousLinearMap.opNorm_le_bound _ (zero_le_one.trans hC) | |
| 378 | - intro x | |
| 379 | - have hxx : ‖x‖ ≤ (1 + CommonCoverSolve.coveringBound K) * ‖x‖ := | |
| 380 | - le_mul_of_one_le_left (norm_nonneg _) hC | |
| 381 | - change max ‖x.1‖ (max ‖x.2.1‖ ‖CommonCoverSolve.coverPower k x.2.2‖) ≤ _ | |
| 382 | - apply max_le ((norm_fst_le x).trans hxx) | |
| 383 | - apply max_le (((norm_fst_le x.2).trans (norm_snd_le x)).trans hxx) | |
| 384 | - calc | |
| 385 | - _ ≤ ‖(CommonCoverSolve.coverPower k : Plane →L[ℝ] Plane)‖ * ‖x.2.2‖ := | |
| 386 | - (CommonCoverSolve.coverPower k : Plane →L[ℝ] Plane).le_opNorm _ | |
| 387 | - _ ≤ CommonCoverSolve.coveringBound K * ‖x‖ := | |
| 388 | - mul_le_mul (CommonCoverSolve.coveringNorm_le_bound hk) ((norm_snd_le x.2).trans (norm_snd_le x)) | |
| 389 | - (norm_nonneg _) (CommonCoverSolve.coveringBound_pos K).le | |
| 390 | - _ ≤ _ := mul_le_mul_of_nonneg_right (by linarith) (norm_nonneg _) | |
| 391 | - | |
| 392 | 129 | end Cover |
| 393 | 130 | |
| 394 | 131 | section CoverClass |
| @@ -412,50 +149,6 @@ variable {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) | ||
| 412 | 149 | (BaseContextAssembly.nativeStrip W U).growth n (coverLift k x) = |
| 413 | 150 | (BaseContextAssembly.nativeStrip W U).growth n x := rfl |
| 414 | 151 | |
| 415 | -/-- True covering norms produce one finite-jet constant before the band is | |
| 416 | -chosen. No isometry property is assumed of the cover. -/ | |
| 417 | -theorem class_pull {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 418 | - {gap : ℕ → ℕ} {K : ℕ} (hgap : ∀ n, gap n ≤ K) | |
| 419 | - {w : ℕ → Point → ℝ} {alpha : ℝ} {f : ℕ → Point → E} | |
| 420 | - (hf : MemClass (BaseContextAssembly.nativeStrip W U) w alpha f) | |
| 421 | - (hw : ∀ n x, x ∈ (BaseContextAssembly.nativeStrip W U).domain → | |
| 422 | - w n (coverLift (gap n) x) = w n x) : | |
| 423 | - MemClass (BaseContextAssembly.nativeStrip W U) w alpha (pull gap f) := by | |
| 424 | - let s := BaseContextAssembly.nativeStrip W U | |
| 425 | - have hc : 1 ≤ 1 + CommonCoverSolve.coveringBound K := by | |
| 426 | - linarith [CommonCoverSolve.coveringBound_pos K] | |
| 427 | - have ht := CommonCoverClass.memClass_affine_transport s s (w := w) (v := w) (α := alpha) (f := f) hf id | |
| 428 | - (fun n => (coverLift (gap n) : Point →L[ℝ] Point)) (fun _ => 0) | |
| 429 | - (fun n x hx => by simp only [zero_add]; exact (coverLift_mem W U (gap n) x).mpr hx) | |
| 430 | - (fun n x hx => by simp only [id_eq, zero_add]; exact hw n x hx) | |
| 431 | - (Ce := 1) (Cg := 1) (CL := 1 + CommonCoverSolve.coveringBound K) | |
| 432 | - zero_le_one le_rfl hc 1 0 | |
| 433 | - (fun n => by simp only [id_eq, one_mul]; exact le_rfl) | |
| 434 | - (fun n x hx => by simp only [id_eq, zero_add, pow_one, one_mul]; exact le_rfl) | |
| 435 | - (fun n x hx => by simpa only [pow_zero, mul_one] using coverLift_norm_le (hgap n)) | |
| 436 | - simp only [id_eq, zero_add] at ht | |
| 437 | - exact ht | |
| 438 | - | |
| 439 | -theorem unweighted_pull {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 440 | - {gap : ℕ → ℕ} {K : ℕ} (hgap : ∀ n, gap n ≤ K) {alpha : ℝ} {f : ℕ → Point → E} | |
| 441 | - (hf : UnweightedClass (BaseContextAssembly.nativeStrip W U) alpha f) : | |
| 442 | - UnweightedClass (BaseContextAssembly.nativeStrip W U) alpha (pull gap f) := | |
| 443 | - class_pull W U hgap hf (fun _ _ _ => rfl) | |
| 444 | - | |
| 445 | -theorem mean_pull {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 446 | - {gap : ℕ → ℕ} {K : ℕ} (hgap : ∀ n, gap n ≤ K) {alpha : ℝ} {f : ℕ → Point → E} | |
| 447 | - (hf : MeanClass (BaseContextAssembly.nativeStrip W U) alpha f) : | |
| 448 | - MeanClass (BaseContextAssembly.nativeStrip W U) alpha (pull gap f) := | |
| 449 | - class_pull W U hgap hf (fun _ _ _ => rfl) | |
| 450 | - | |
| 451 | -theorem temporalAtIndex_class {index : ℕ → ℕ} {K : ℕ} (hi : IndexBounds F.data.h index K) | |
| 452 | - {alpha : ℝ} {f : ℕ → Point → ℝ} | |
| 453 | - (hf : MeanClass (BaseContextAssembly.nativeStrip W U) alpha | |
| 454 | - (fun n => TemporalMeanUpdate.desiredIncrement F.data.h n (f n))) : | |
| 455 | - MeanClass (BaseContextAssembly.nativeStrip W U) alpha | |
| 456 | - (fun n => MeanChartCompatibility.temporalAtIndex F.data.h n (index n) (f n)) := | |
| 457 | - MeanChartCompatibility.meanClass_temporalAtIndex_of_native _ index K hi.native_le_add hf | |
| 458 | - | |
| 459 | 152 | end CoverClass |
| 460 | 153 | |
| 461 | 154 | section ActualContext |
| @@ -479,9 +172,6 @@ noncomputable def context (index : ℕ → ℕ) : CorrectionState.Context Point | ||
| 479 | 172 | @[simp] theorem context_virtualAxial (index : ℕ → ℕ) : |
| 480 | 173 | (context H v upper B index).virtualAxial = (BaseContextAssembly.nativeContext H v upper B).virtualAxial := rfl |
| 481 | 174 | |
| 482 | -theorem context_native : context H v upper B (ChartScales.nativeIndex F.data.h) = | |
| 483 | - BaseContextAssembly.nativeContext H v upper B := rfl | |
| 484 | - | |
| 485 | 175 | theorem context_operator_bounds (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) |
| 486 | 176 | {index : ℕ → ℕ} (hi : ∀ n, index n ≤ ChartScales.nativeIndex F.data.h n) : |
| 487 | 177 | MeanIncrementBounds.OperatorBounds (BaseContextAssembly.nativeStrip W U) |
| @@ -542,58 +232,6 @@ theorem context_stress_properties (U : LocalSignedRequest.SlowRegion (2 * F.data | ||
| 542 | 232 | (2 * F.data.h) U.carrier ((context H v upper B index).virtualAxial n) := |
| 543 | 233 | BaseContextAssembly.native_stress_properties H v upper B U n |
| 544 | 234 | |
| 545 | -theorem context_base_cover (index : ℕ → ℕ) (k n : ℕ) (x : Point) : | |
| 546 | - HarmonicResidual.contextBase (context H v upper B index) n (coverLift k x) = | |
| 547 | - HarmonicResidual.contextBase (context H v upper B index) n x := rfl | |
| 548 | - | |
| 549 | -theorem context_virtualTheta_cover (index : ℕ → ℕ) (k n : ℕ) (x : Point) : | |
| 550 | - (context H v upper B index).virtualTheta n (coverLift k x) = | |
| 551 | - (context H v upper B index).virtualTheta n x := rfl | |
| 552 | - | |
| 553 | -theorem context_virtualAxial_cover (index : ℕ → ℕ) (k n : ℕ) (x : Point) : | |
| 554 | - (context H v upper B index).virtualAxial n (coverLift k x) = | |
| 555 | - (context H v upper B index).virtualAxial n x := rfl | |
| 556 | - | |
| 557 | -/-- Context coherence is proved on every free auxiliary lift point. -/ | |
| 558 | -theorem contextOn_add (index gap : ℕ → ℕ) (U : Set Point) (n : ℕ) : | |
| 559 | - PhysicalResidualNaturality.ContextOn U (coverLift (gap n)) 1 1 | |
| 560 | - (context H v upper B index) (context H v upper B (fun m => index m + gap m)) n n := by | |
| 561 | - constructor | |
| 562 | - · constructor | |
| 563 | - · intro x hx | |
| 564 | - simp only [one_smul] | |
| 565 | - exact coverLift_radialField F.data.h _ _ | |
| 566 | - (PrimaryTargetBounds.radii_ordered W) index gap n x | |
| 567 | - · intro x hx | |
| 568 | - simp only [one_smul] | |
| 569 | - exact coverLift_axialField F.data.h _ _ | |
| 570 | - (PrimaryTargetBounds.radii_ordered W) index gap n | |
| 571 | - · intro x hx | |
| 572 | - simp only [one_mul, one_smul] | |
| 573 | - exact coverLift_timeField F.data.h _ _ | |
| 574 | - (PrimaryTargetBounds.radii_ordered W) index gap n | |
| 575 | - · intro x hx | |
| 576 | - exact (one_mul x.1).symm | |
| 577 | - · simp only [mul_one, one_mul] | |
| 578 | - rfl | |
| 579 | - · constructor <;> intro x hx <;> simp only [one_mul] <;> rfl | |
| 580 | - · intro x hx | |
| 581 | - simp only [one_mul] | |
| 582 | - rfl | |
| 583 | - · intro x hx | |
| 584 | - simp only [one_mul] | |
| 585 | - rfl | |
| 586 | - | |
| 587 | -theorem contextOn_native {index : ℕ → ℕ} (hi : ∀ n, index n ≤ ChartScales.nativeIndex F.data.h n) | |
| 588 | - (U : Set Point) (n : ℕ) : | |
| 589 | - PhysicalResidualNaturality.ContextOn U | |
| 590 | - (coverLift (ChartScales.nativeIndex F.data.h n - index n)) 1 1 | |
| 591 | - (context H v upper B index) (BaseContextAssembly.nativeContext H v upper B) n n := by | |
| 592 | - have he : (fun m => index m + (ChartScales.nativeIndex F.data.h m - index m)) = | |
| 593 | - ChartScales.nativeIndex F.data.h := funext (fun m => Nat.add_sub_of_le (hi m)) | |
| 594 | - have hc := contextOn_add H v upper B index (fun m => ChartScales.nativeIndex F.data.h m - index m) U n | |
| 595 | - rwa [he, context_native] at hc | |
| 596 | - | |
| 597 | 235 | theorem context_stress_classes (hcone : LeadingStressWeights.FullTrueCone v) |
| 598 | 236 | (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) (index : ℕ → ℕ) : |
| 599 | 237 | MeanClass (BaseContextAssembly.nativeStrip W U) 1 (context H v upper B index).virtualTheta ∧ |
| @@ -609,22 +247,6 @@ theorem context_higher_stress_classes (U : LocalSignedRequest.SlowRegion (2 * F. | ||
| 609 | 247 | (BaseContextAssembly.leadingVirtualStress H v n x).2) := |
| 610 | 248 | BaseStressClasses.higherStress_components H v upper B U |
| 611 | 249 | |
| 612 | -theorem context_primaryCoefficients_match | |
| 613 | - (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) (index : ℕ → ℕ) | |
| 614 | - {D : PhaseJetBounds.Domain ℕ Slow} (P : PrimaryPulseBounds.PhaseConstruction D) | |
| 615 | - (hF : P.phase.F = BaseContextAssembly.frequencySlow H v upper B) | |
| 616 | - (hG : P.phase.G = BaseContextAssembly.axialSlow H v upper B) | |
| 617 | - (chi : ℕ → Point × ℝ → PhaseCalculus.Slot) | |
| 618 | - (hchi : ∀ n x, (chi n x).1 = BaseContextAssembly.slowCoordinates x.1) | |
| 619 | - (amplitude : ℕ → Point × ℝ → HarmonicCalculus.ComplexVector) | |
| 620 | - (pressure : ℕ → Point × ℝ → ℂ) (frequency : ℕ → ℝ) : | |
| 621 | - PrimaryResidualClass.Matches (BaseContextAssembly.nativeStrip W U) (context H v upper B index) | |
| 622 | - (PrimaryMaterialDefect.coefficients P (BaseContextAssembly.radialSlow H v upper B) | |
| 623 | - chi amplitude pressure frequency) := by | |
| 624 | - have hm := BaseContextAssembly.primaryCoefficients_match H v upper B U P hF hG chi hchi | |
| 625 | - amplitude pressure frequency | |
| 626 | - exact ⟨hm.epsilon, hm.radius, hm.base⟩ | |
| 627 | - | |
| 628 | 250 | end ActualContext |
| 629 | 251 | |
| 630 | 252 | end NavierStokes.CommonBaseContext |
+0 −779 NavierStokes/CommonCoverClass.lean View file
| @@ -38,10 +38,6 @@ variable {X Y V W : Type} | ||
| 38 | 38 | def EnvelopeJets (m : ℕ) (f : X → V) (envelope : X → ℝ) : Prop := |
| 39 | 39 | ∀ j ≤ m, ∀ x, ‖iteratedFDeriv ℝ j f x‖ ≤ envelope x |
| 40 | 40 | |
| 41 | -theorem EnvelopeJets.nonneg {m : ℕ} {f : X → V} {e : X → ℝ} | |
| 42 | - (hf : EnvelopeJets m f e) (x : X) : 0 ≤ e x := | |
| 43 | - (norm_nonneg _).trans (hf 0 (Nat.zero_le _) x) | |
| 44 | - | |
| 45 | 41 | theorem EnvelopeJets.mono {m : ℕ} {f : X → V} {e e' : X → ℝ} |
| 46 | 42 | (hf : EnvelopeJets m f e) (he : ∀ x, e x ≤ e' x) : EnvelopeJets m f e' := |
| 47 | 43 | fun j hj x => (hf j hj x).trans (he x) |
| @@ -65,39 +61,6 @@ theorem EnvelopeJets.affine {m : ℕ} {f : Y → V} {e : Y → ℝ} | ||
| 65 | 61 | intro j hj x |
| 66 | 62 | exact affine_jet_bound hf L c hK hL m x (fun i hi => hb i hi _) j hj |
| 67 | 63 | |
| 68 | -/-- The weight is evaluated at the same point in both factors; it need not | |
| 69 | -be differentiated in this bound. -/ | |
| 70 | -theorem clm_apply_jet_bound {f : X → V →L[ℝ] W} {g : X → V} | |
| 71 | - (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) (m : ℕ) (x : X) | |
| 72 | - {A B : ℝ} (hA : ∀ j ≤ m, ‖iteratedFDeriv ℝ j f x‖ ≤ A) | |
| 73 | - (hB : ∀ j ≤ m, ‖iteratedFDeriv ℝ j g x‖ ≤ B) : | |
| 74 | - ∀ j ≤ m, ‖iteratedFDeriv ℝ j (fun y => f y (g y)) x‖ ≤ 2 ^ m * A * B := by | |
| 75 | - have hA0 : 0 ≤ A := (norm_nonneg _).trans (hA 0 (Nat.zero_le _)) | |
| 76 | - have hB0 : 0 ≤ B := (norm_nonneg _).trans (hB 0 (Nat.zero_le _)) | |
| 77 | - intro j hj | |
| 78 | - refine (norm_iteratedFDeriv_clm_apply hf hg x (nat_le_infty j)).trans ?_ | |
| 79 | - calc | |
| 80 | - _ ≤ ∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ) * A * B := by | |
| 81 | - apply Finset.sum_le_sum | |
| 82 | - intro i hi | |
| 83 | - have hij : i ≤ j := Nat.le_of_lt_succ (Finset.mem_range.mp hi) | |
| 84 | - exact mul_le_mul (mul_le_mul_of_nonneg_left (hA i (hij.trans hj)) (by positivity)) | |
| 85 | - (hB (j - i) ((Nat.sub_le _ _).trans hj)) (norm_nonneg _) (mul_nonneg (by positivity) hA0) | |
| 86 | - _ = 2 ^ j * A * B := by | |
| 87 | - rw [← Finset.sum_mul, ← Finset.sum_mul] | |
| 88 | - congr 2 | |
| 89 | - exact_mod_cast Nat.sum_range_choose j | |
| 90 | - _ ≤ 2 ^ m * A * B := | |
| 91 | - mul_le_mul_of_nonneg_right | |
| 92 | - (mul_le_mul_of_nonneg_right (pow_le_pow_right₀ (by norm_num) hj) hA0) hB0 | |
| 93 | - | |
| 94 | -theorem EnvelopeJets.clm_apply {m : ℕ} {f : X → V →L[ℝ] W} {g : X → V} | |
| 95 | - {A B : X → ℝ} (hf : ContDiff ℝ ∞ f) (hg : ContDiff ℝ ∞ g) | |
| 96 | - (hA : EnvelopeJets m f A) (hB : EnvelopeJets m g B) : | |
| 97 | - EnvelopeJets m (fun x => f x (g x)) (fun x => 2 ^ m * A x * B x) := | |
| 98 | - fun j hj x => clm_apply_jet_bound hf hg m x (fun i hi => hA i hi x) | |
| 99 | - (fun i hi => hB i hi x) j hj | |
| 100 | - | |
| 101 | 64 | end Envelopes |
| 102 | 65 | |
| 103 | 66 | section Arguments |
| @@ -221,30 +184,6 @@ theorem norm_sourceLinear_le (g : CCS) : ‖sourceLinear P g‖ ≤ argumentCost | ||
| 221 | 184 | unfold argumentCost |
| 222 | 185 | linarith [norm_nonneg g.coordinateLinear] |
| 223 | 186 | |
| 224 | -theorem nativeArgument_jet_bound (g : CCS) (k : Frequency) {f : P × Plane → V} | |
| 225 | - (hf : ContDiff ℝ ∞ f) (m : ℕ) (w : Joint P) {A : ℝ} | |
| 226 | - (hb : ∀ j ≤ m, ‖iteratedFDeriv ℝ j f (nativeArgument g k w)‖ ≤ A) : | |
| 227 | - ∀ j ≤ m, ‖iteratedFDeriv ℝ j (fun z => f (nativeArgument g k z)) w‖ ≤ | |
| 228 | - A * argumentCost g ^ m := by | |
| 229 | - have he : (fun z => f (nativeArgument g k z)) = | |
| 230 | - fun z => f (nativeArgument g k 0 + nativeLinear P g z) := by | |
| 231 | - funext z; rw [nativeArgument_affine] | |
| 232 | - rw [he] | |
| 233 | - apply affine_jet_bound hf _ _ (one_le_argumentCost g) (norm_nativeLinear_le g) m w | |
| 234 | - simpa only [← nativeArgument_affine] using hb | |
| 235 | - | |
| 236 | -theorem sourceArgument_jet_bound (g : CCS) (k : Frequency) {f : P × Plane → V} | |
| 237 | - (hf : ContDiff ℝ ∞ f) (m : ℕ) (w : Joint P) {A : ℝ} | |
| 238 | - (hb : ∀ j ≤ m, ‖iteratedFDeriv ℝ j f (sourceArgument g k w)‖ ≤ A) : | |
| 239 | - ∀ j ≤ m, ‖iteratedFDeriv ℝ j (fun z => f (sourceArgument g k z)) w‖ ≤ | |
| 240 | - A * argumentCost g ^ m := by | |
| 241 | - have he : (fun z => f (sourceArgument g k z)) = | |
| 242 | - fun z => f (sourceArgument g k 0 + sourceLinear P g z) := by | |
| 243 | - funext z; rw [sourceArgument_affine] | |
| 244 | - rw [he] | |
| 245 | - apply affine_jet_bound hf _ _ (one_le_argumentCost g) (norm_sourceLinear_le g) m w | |
| 246 | - simpa only [← sourceArgument_affine] using hb | |
| 247 | - | |
| 248 | 187 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 249 | 188 | @[simp] theorem sourceArgument_slow (g : CCS) (k : Frequency) (w : Joint P) : |
| 250 | 189 | (sourceArgument g k w).1 = w.1.1 := rfl |
| @@ -450,18 +389,6 @@ theorem norm_currentLinear_le (g : CCS) : ‖currentLinear P g‖ ≤ argumentCo | ||
| 450 | 389 | ((mul_le_mul_of_nonneg_left (norm_snd_le p) (norm_nonneg _)).trans |
| 451 | 390 | (mul_le_mul_of_nonneg_right hc (norm_nonneg _)))) |
| 452 | 391 | |
| 453 | -theorem currentArgument_jet_bound (g : CCS) (k : Frequency) {f : Joint P → V} | |
| 454 | - (hf : ContDiff ℝ ∞ f) (m : ℕ) (p : P × Plane) {A : ℝ} | |
| 455 | - (hb : ∀ j ≤ m, ‖iteratedFDeriv ℝ j f (currentArgument g k p)‖ ≤ A) : | |
| 456 | - ∀ j ≤ m, ‖iteratedFDeriv ℝ j (fun q => f (currentArgument g k q)) p‖ ≤ | |
| 457 | - A * argumentCost g ^ m := by | |
| 458 | - have he : (fun q => f (currentArgument g k q)) = | |
| 459 | - fun q => f (currentArgument g k 0 + currentLinear P g q) := by | |
| 460 | - funext q; rw [currentArgument_affine] | |
| 461 | - rw [he] | |
| 462 | - apply affine_jet_bound hf _ _ (one_le_argumentCost g) (norm_currentLinear_le g) m p | |
| 463 | - simpa only [← currentArgument_affine] using hb | |
| 464 | - | |
| 465 | 392 | end CurrentEvaluation |
| 466 | 393 | |
| 467 | 394 | section BandInputs |
| @@ -470,117 +397,6 @@ variable {P V E : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 470 | 397 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 471 | 398 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 472 | 399 | |
| 473 | -theorem nativeArgument_band_jet_bound (B : Plane ≃L[ℝ] Plane) {h : ℝ} (hh : 0 ≤ h) | |
| 474 | - {n gap D : ℕ} (hn : 4 ≤ n) (hd : gap ≤ D) (center : Plane) (k : Frequency) | |
| 475 | - {f : P × Plane → V} (hf : ContDiff ℝ ∞ f) (m : ℕ) (w : Joint P) {A : ℝ} | |
| 476 | - (hb : ∀ j ≤ m, ‖iteratedFDeriv ℝ j f (nativeArgument (bandGeometry B h n gap center) k w)‖ ≤ A) : | |
| 477 | - ∀ j ≤ m, ‖iteratedFDeriv ℝ j | |
| 478 | - (fun z => f (nativeArgument (bandGeometry B h n gap center) k z)) w‖ ≤ | |
| 479 | - A * (bandArgumentCost B D * ChartScales.S n) ^ m := by | |
| 480 | - intro j hj | |
| 481 | - have hA : 0 ≤ A := (norm_nonneg _).trans (hb 0 (Nat.zero_le _)) | |
| 482 | - exact (nativeArgument_jet_bound _ k hf m w hb j hj).trans | |
| 483 | - (mul_le_mul_of_nonneg_left (pow_le_pow_left₀ | |
| 484 | - (zero_le_one.trans (one_le_argumentCost _)) | |
| 485 | - (bandGeometry_argumentCost_le B hh hn hd center) m) hA) | |
| 486 | - | |
| 487 | -theorem sourceArgument_band_jet_bound (B : Plane ≃L[ℝ] Plane) {h : ℝ} (hh : 0 ≤ h) | |
| 488 | - {n gap D : ℕ} (hn : 4 ≤ n) (hd : gap ≤ D) (center : Plane) (k : Frequency) | |
| 489 | - {f : P × Plane → V} (hf : ContDiff ℝ ∞ f) (m : ℕ) (w : Joint P) {A : ℝ} | |
| 490 | - (hb : ∀ j ≤ m, ‖iteratedFDeriv ℝ j f (sourceArgument (bandGeometry B h n gap center) k w)‖ ≤ A) : | |
| 491 | - ∀ j ≤ m, ‖iteratedFDeriv ℝ j | |
| 492 | - (fun z => f (sourceArgument (bandGeometry B h n gap center) k z)) w‖ ≤ | |
| 493 | - A * (bandArgumentCost B D * ChartScales.S n) ^ m := by | |
| 494 | - intro j hj | |
| 495 | - have hA : 0 ≤ A := (norm_nonneg _).trans (hb 0 (Nat.zero_le _)) | |
| 496 | - exact (sourceArgument_jet_bound _ k hf m w hb j hj).trans | |
| 497 | - (mul_le_mul_of_nonneg_left (pow_le_pow_left₀ | |
| 498 | - (zero_le_one.trans (one_le_argumentCost _)) | |
| 499 | - (bandGeometry_argumentCost_le B hh hn hd center) m) hA) | |
| 500 | - | |
| 501 | -theorem currentArgument_band_jet_bound (B : Plane ≃L[ℝ] Plane) {h : ℝ} (hh : 0 ≤ h) | |
| 502 | - {n gap D : ℕ} (hn : 4 ≤ n) (hd : gap ≤ D) (center : Plane) (k : Frequency) | |
| 503 | - {f : Joint P → V} (hf : ContDiff ℝ ∞ f) (m : ℕ) (p : P × Plane) {A : ℝ} | |
| 504 | - (hb : ∀ j ≤ m, ‖iteratedFDeriv ℝ j f (currentArgument (bandGeometry B h n gap center) k p)‖ ≤ A) : | |
| 505 | - ∀ j ≤ m, ‖iteratedFDeriv ℝ j | |
| 506 | - (fun q => f (currentArgument (bandGeometry B h n gap center) k q)) p‖ ≤ | |
| 507 | - A * (bandArgumentCost B D * ChartScales.S n) ^ m := by | |
| 508 | - intro j hj | |
| 509 | - have hA : 0 ≤ A := (norm_nonneg _).trans (hb 0 (Nat.zero_le _)) | |
| 510 | - exact (currentArgument_jet_bound _ k hf m p hb j hj).trans | |
| 511 | - (mul_le_mul_of_nonneg_left (pow_le_pow_left₀ | |
| 512 | - (zero_le_one.trans (one_le_argumentCost _)) | |
| 513 | - (bandGeometry_argumentCost_le B hh hn hd center) m) hA) | |
| 514 | - | |
| 515 | -theorem sourceArgument_envelope (g : CCS) (k : Frequency) {f : P × Plane → V} | |
| 516 | - (hf : ContDiff ℝ ∞ f) {m : ℕ} {e : P × Plane → ℝ} (hb : EnvelopeJets m f e) : | |
| 517 | - EnvelopeJets m (fun z => f (sourceArgument g k z)) | |
| 518 | - (fun z => e (sourceArgument g k z) * argumentCost g ^ m) := | |
| 519 | - fun j hj z => sourceArgument_jet_bound g k hf m z (fun i hi => hb i hi _) j hj | |
| 520 | - | |
| 521 | -theorem nativeArgument_envelope (g : CCS) (k : Frequency) {f : P × Plane → V} | |
| 522 | - (hf : ContDiff ℝ ∞ f) {m : ℕ} {e : P × Plane → ℝ} (hb : EnvelopeJets m f e) : | |
| 523 | - EnvelopeJets m (fun z => f (nativeArgument g k z)) | |
| 524 | - (fun z => e (nativeArgument g k z) * argumentCost g ^ m) := | |
| 525 | - fun j hj z => nativeArgument_jet_bound g k hf m z (fun i hi => hb i hi _) j hj | |
| 526 | - | |
| 527 | -/-- This is a bound on all joint input jets of the actual ODE coefficient. -/ | |
| 528 | -theorem coefficientAlong_band_jet_bound (d : CommonCoverSolve.LinearData P V E) | |
| 529 | - (B : Plane ≃L[ℝ] Plane) {h : ℝ} (hh : 0 ≤ h) | |
| 530 | - {n gap D : ℕ} (hn : 4 ≤ n) (hd : gap ≤ D) (center : Plane) (k : Frequency) | |
| 531 | - (hf : ContDiff ℝ ∞ d.coefficient) (m : ℕ) (w : Joint P) {A : ℝ} | |
| 532 | - (hb : ∀ j ≤ m, ‖iteratedFDeriv ℝ j d.coefficient | |
| 533 | - (nativeArgument (bandGeometry B h n gap center) k w)‖ ≤ A) : | |
| 534 | - ∀ j ≤ m, ‖iteratedFDeriv ℝ j | |
| 535 | - (d.coefficientAlong (bandGeometry B h n gap center) k) w‖ ≤ | |
| 536 | - A * (bandArgumentCost B D * ChartScales.S n) ^ m := | |
| 537 | - nativeArgument_band_jet_bound B hh hn hd center k hf m w hb | |
| 538 | - | |
| 539 | -/-- Both factors are evaluated at their correct, generally different, | |
| 540 | -arguments. In particular the source is not replaced by a native-periodic one. -/ | |
| 541 | -theorem forcingAlong_band_jet_bound (d : CommonCoverSolve.LinearData P V E) | |
| 542 | - (B : Plane ≃L[ℝ] Plane) {h : ℝ} (hh : 0 ≤ h) | |
| 543 | - {n gap D : ℕ} (hn : 4 ≤ n) (hd : gap ≤ D) (center : Plane) (k : Frequency) | |
| 544 | - (hB : ContDiff ℝ ∞ d.forcingMap) (hf : ContDiff ℝ ∞ d.source) | |
| 545 | - (m : ℕ) (w : Joint P) {A C : ℝ} | |
| 546 | - (hA : ∀ j ≤ m, ‖iteratedFDeriv ℝ j d.forcingMap | |
| 547 | - (nativeArgument (bandGeometry B h n gap center) k w)‖ ≤ A) | |
| 548 | - (hC : ∀ j ≤ m, ‖iteratedFDeriv ℝ j d.source | |
| 549 | - (sourceArgument (bandGeometry B h n gap center) k w)‖ ≤ C) : | |
| 550 | - ∀ j ≤ m, ‖iteratedFDeriv ℝ j | |
| 551 | - (d.forcingAlong (bandGeometry B h n gap center) k) w‖ ≤ | |
| 552 | - 2 ^ m * A * C * bandArgumentCost B D ^ (2 * m) * ChartScales.S n ^ (2 * m) := by | |
| 553 | - intro j hj | |
| 554 | - have hb := clm_apply_jet_bound | |
| 555 | - (hB.comp (nativeArgument_smooth (bandGeometry B h n gap center) k)) | |
| 556 | - (hf.comp (sourceArgument_smooth (bandGeometry B h n gap center) k)) m w | |
| 557 | - (nativeArgument_band_jet_bound B hh hn hd center k hB m w hA) | |
| 558 | - (sourceArgument_band_jet_bound B hh hn hd center k hf m w hC) j hj | |
| 559 | - convert! hb using 1 | |
| 560 | - simp only [mul_pow, two_mul, pow_add] | |
| 561 | - ring | |
| 562 | - | |
| 563 | -/-- Every radial and slow weight is unchanged by the source path. For each | |
| 564 | -requested jet prefix the only change is a fixed additional power of `S`. | |
| 565 | -This also applies with `weight = sqrt(zeta) * P` whenever `P` depends only | |
| 566 | -on the retained slow parameters. -/ | |
| 567 | -theorem sourceArgument_band_stripped_bound (B : Plane ≃L[ℝ] Plane) {h : ℝ} (hh : 0 ≤ h) | |
| 568 | - {n gap D : ℕ} (hn : 4 ≤ n) (hd : gap ≤ D) (center : Plane) (k : Frequency) | |
| 569 | - {f : P × Plane → V} (hf : ContDiff ℝ ∞ f) (m p q : ℕ) | |
| 570 | - (A α : ℝ) (edge weight : P → ℝ) | |
| 571 | - (hb : ∀ j ≤ m, ∀ z, ‖iteratedFDeriv ℝ j f z‖ ≤ | |
| 572 | - A * ChartScales.epsilon h n ^ α * ChartScales.S n ^ p * edge z.1 ^ q * weight z.1) : | |
| 573 | - ∀ j ≤ m, ∀ w : Joint P, ‖iteratedFDeriv ℝ j | |
| 574 | - (fun z => f (sourceArgument (bandGeometry B h n gap center) k z)) w‖ ≤ | |
| 575 | - (A * bandArgumentCost B D ^ m) * ChartScales.epsilon h n ^ α * | |
| 576 | - ChartScales.S n ^ (p + m) * edge w.1.1 ^ q * weight w.1.1 := by | |
| 577 | - intro j hj w | |
| 578 | - have ha := sourceArgument_band_jet_bound B hh hn hd center k hf m w | |
| 579 | - (fun i hi => hb i hi (sourceArgument (bandGeometry B h n gap center) k w)) j hj | |
| 580 | - convert! ha using 1 | |
| 581 | - simp only [sourceArgument_slow, mul_pow, pow_add] | |
| 582 | - ring | |
| 583 | - | |
| 584 | 400 | end BandInputs |
| 585 | 401 | |
| 586 | 402 | section DyadicChanges |
| @@ -589,70 +405,6 @@ section DyadicChanges | ||
| 589 | 405 | noncomputable def bandRatio (a : ℝ) (n m : ℕ) : ℝ := |
| 590 | 406 | (2 : ℝ) ^ (((m : ℝ) - (n : ℝ)) * a) |
| 591 | 407 | |
| 592 | -theorem bandRatio_pos (a : ℝ) (n m : ℕ) : 0 < bandRatio a n m := | |
| 593 | - Real.rpow_pos_of_pos (by norm_num) _ | |
| 594 | - | |
| 595 | -theorem bandRatio_eq_rpow (a : ℝ) (n m : ℕ) : | |
| 596 | - bandRatio a n m = (ChartScales.Q n / ChartScales.Q m) ^ a := by | |
| 597 | - rw [Real.div_rpow (ChartScales.Q_pos n).le (ChartScales.Q_pos m).le] | |
| 598 | - unfold bandRatio ChartScales.Q SlotColoring.dyadicQ | |
| 599 | - rw [← Real.rpow_mul (by norm_num : (0 : ℝ) ≤ 2), | |
| 600 | - ← Real.rpow_mul (by norm_num : (0 : ℝ) ≤ 2), | |
| 601 | - ← Real.rpow_sub (by norm_num : (0 : ℝ) < 2)] | |
| 602 | - congr 1 | |
| 603 | - ring | |
| 604 | - | |
| 605 | -theorem bandRatio_mul_scale (a : ℝ) (n m : ℕ) : | |
| 606 | - bandRatio a n m * ChartScales.Q n ^ (-a) = ChartScales.Q m ^ (-a) := by | |
| 607 | - rw [bandRatio_eq_rpow, Real.div_rpow (ChartScales.Q_pos n).le (ChartScales.Q_pos m).le] | |
| 608 | - calc | |
| 609 | - _ = (ChartScales.Q n ^ a * ChartScales.Q n ^ (-a)) / ChartScales.Q m ^ a := by ring | |
| 610 | - _ = (ChartScales.Q m ^ a)⁻¹ := by | |
| 611 | - rw [← Real.rpow_add (ChartScales.Q_pos n)] | |
| 612 | - simp | |
| 613 | - _ = ChartScales.Q m ^ (-a) := (Real.rpow_neg (ChartScales.Q_pos m).le a).symm | |
| 614 | - | |
| 615 | -theorem bandRatio_mul_power (a : ℝ) (n m : ℕ) : | |
| 616 | - bandRatio a n m * ChartScales.Q m ^ a = ChartScales.Q n ^ a := by | |
| 617 | - rw [bandRatio_eq_rpow, Real.div_rpow (ChartScales.Q_pos n).le (ChartScales.Q_pos m).le] | |
| 618 | - exact div_mul_cancel₀ _ (Real.rpow_pos_of_pos (ChartScales.Q_pos m) a).ne' | |
| 619 | - | |
| 620 | -theorem bandRatio_le (a : ℝ) {n m : ℕ} (hnm : n ≤ m + 4) (hmn : m ≤ n + 4) : | |
| 621 | - bandRatio a n m ≤ (2 : ℝ) ^ (4 * |a|) := by | |
| 622 | - have hdiff : |(m : ℝ) - (n : ℝ)| ≤ 4 := by | |
| 623 | - have h1 : (n : ℝ) ≤ (m : ℝ) + 4 := by exact_mod_cast hnm | |
| 624 | - have h2 : (m : ℝ) ≤ (n : ℝ) + 4 := by exact_mod_cast hmn | |
| 625 | - rw [abs_le] | |
| 626 | - constructor <;> linarith | |
| 627 | - apply Real.rpow_le_rpow_of_exponent_le (by norm_num) | |
| 628 | - calc | |
| 629 | - ((m : ℝ) - (n : ℝ)) * a ≤ |((m : ℝ) - (n : ℝ)) * a| := le_abs_self _ | |
| 630 | - _ = |(m : ℝ) - (n : ℝ)| * |a| := abs_mul _ _ | |
| 631 | - _ ≤ 4 * |a| := mul_le_mul_of_nonneg_right hdiff (abs_nonneg _) | |
| 632 | - | |
| 633 | -/-- Transfer of the actual small-scale factor across overlapping bands. | |
| 634 | -The exponent is identical on both sides. -/ | |
| 635 | -theorem epsilon_power_transfer (h α : ℝ) {n m : ℕ} | |
| 636 | - (hnm : n ≤ m + 4) (hmn : m ≤ n + 4) : | |
| 637 | - ChartScales.epsilon h n ^ α ≤ | |
| 638 | - (2 : ℝ) ^ (4 * |h * α|) * ChartScales.epsilon h m ^ α := by | |
| 639 | - unfold ChartScales.epsilon | |
| 640 | - rw [← Real.rpow_mul (ChartScales.Q_pos n).le, ← Real.rpow_mul (ChartScales.Q_pos m).le] | |
| 641 | - rw [← bandRatio_mul_power (h * α) n m] | |
| 642 | - exact mul_le_mul_of_nonneg_right (bandRatio_le (h * α) hnm hmn) | |
| 643 | - (Real.rpow_pos_of_pos (ChartScales.Q_pos m) (h * α)).le | |
| 644 | - | |
| 645 | -theorem slow_scale_transfer {n m : ℕ} (hm : 1 ≤ m) (hnm : n ≤ m + 4) : | |
| 646 | - ChartScales.S n ≤ 25 * ChartScales.S m := by | |
| 647 | - have h : (n : ℝ) ≤ 5 * (m : ℝ) := by exact_mod_cast (show n ≤ 5 * m by omega) | |
| 648 | - have hs := mul_self_le_mul_self (Nat.cast_nonneg n) h | |
| 649 | - unfold ChartScales.S | |
| 650 | - nlinarith | |
| 651 | - | |
| 652 | -theorem slow_power_transfer {n m : ℕ} (hm : 1 ≤ m) (hnm : n ≤ m + 4) (p : ℕ) : | |
| 653 | - ChartScales.S n ^ p ≤ 25 ^ p * ChartScales.S m ^ p := by | |
| 654 | - simpa only [mul_pow, ChartScales.S] using pow_le_pow_left₀ (sq_nonneg (n : ℝ)) (slow_scale_transfer hm hnm) p | |
| 655 | - | |
| 656 | 408 | abbrev SlowPoint := ℝ × (ℝ × ℝ) |
| 657 | 409 | |
| 658 | 410 | /-- Actual `(R,Z,T)` chart change from band `n` to band `m`. -/ |
| @@ -667,76 +419,9 @@ noncomputable def bandChart (D : ℝ) (n m : ℕ) : SlowPoint →L[ℝ] SlowPoin | ||
| 667 | 419 | bandChart D n m x = (bandRatio (1 / 2) n m * x.1, |
| 668 | 420 | (bandRatio D n m * x.2.1, bandRatio 1 n m * x.2.2)) := rfl |
| 669 | 421 | |
| 670 | -theorem bandChart_formula (D : ℝ) (n m : ℕ) (x : SlowPoint) : | |
| 671 | - bandChart D n m x = ((ChartScales.Q n / ChartScales.Q m) ^ (1 / 2 : ℝ) * x.1, | |
| 672 | - ((ChartScales.Q n / ChartScales.Q m) ^ D * x.2.1, | |
| 673 | - (ChartScales.Q n / ChartScales.Q m) * x.2.2)) := by | |
| 674 | - simp only [bandChart_apply, bandRatio_eq_rpow, Real.rpow_one] | |
| 675 | - | |
| 676 | -noncomputable def normalizedSlowChart (D : ℝ) (n : ℕ) (x : SlowPoint) : SlowPoint := | |
| 677 | - (ChartScales.Q n ^ (-(1 / 2 : ℝ)) * x.1, | |
| 678 | - (ChartScales.Q n ^ (-D) * x.2.1, ChartScales.Q n ^ (-1 : ℝ) * x.2.2)) | |
| 679 | - | |
| 680 | -theorem bandChart_normalizedSlowChart (D : ℝ) (n m : ℕ) (x : SlowPoint) : | |
| 681 | - bandChart D n m (normalizedSlowChart D n x) = normalizedSlowChart D m x := by | |
| 682 | - simp only [bandChart_apply, normalizedSlowChart, ← mul_assoc, bandRatio_mul_scale] | |
| 683 | - | |
| 684 | -noncomputable def chartCost (D : ℝ) : ℝ := 1 + (2 : ℝ) ^ (4 * (1 + |D|)) | |
| 685 | - | |
| 686 | -theorem chartCost_one_le (D : ℝ) : 1 ≤ chartCost D := by | |
| 687 | - unfold chartCost | |
| 688 | - linarith [Real.rpow_pos_of_pos (by norm_num : (0 : ℝ) < 2) (4 * (1 + |D|))] | |
| 689 | - | |
| 690 | -theorem bandRatio_le_chartCost {D a : ℝ} (ha : |a| ≤ 1 + |D|) {n m : ℕ} | |
| 691 | - (hnm : n ≤ m + 4) (hmn : m ≤ n + 4) : bandRatio a n m ≤ chartCost D := by | |
| 692 | - refine (bandRatio_le a hnm hmn).trans ?_ | |
| 693 | - refine (Real.rpow_le_rpow_of_exponent_le (by norm_num) (mul_le_mul_of_nonneg_left ha (by norm_num))).trans ?_ | |
| 694 | - unfold chartCost | |
| 695 | - linarith | |
| 696 | - | |
| 697 | -theorem norm_bandChart_le (D : ℝ) {n m : ℕ} (hnm : n ≤ m + 4) (hmn : m ≤ n + 4) : | |
| 698 | - ‖bandChart D n m‖ ≤ chartCost D := by | |
| 699 | - apply ContinuousLinearMap.opNorm_le_bound _ (zero_le_one.trans (chartCost_one_le D)) | |
| 700 | - intro x | |
| 701 | - have hb (a y : ℝ) (ha : |a| ≤ 1 + |D|) (hy : ‖y‖ ≤ ‖x‖) : | |
| 702 | - ‖bandRatio a n m * y‖ ≤ chartCost D * ‖x‖ := by | |
| 703 | - rw [norm_mul, Real.norm_eq_abs, abs_of_pos (bandRatio_pos _ _ _)] | |
| 704 | - exact mul_le_mul (bandRatio_le_chartCost ha hnm hmn) hy (norm_nonneg _) | |
| 705 | - (zero_le_one.trans (chartCost_one_le D)) | |
| 706 | - rw [bandChart_apply, Prod.norm_def, Prod.norm_def] | |
| 707 | - apply max_le | |
| 708 | - · exact hb (1 / 2) x.1 (by rw [abs_of_pos (by norm_num : (0 : ℝ) < 1 / 2)]; linarith [abs_nonneg D]) | |
| 709 | - (norm_fst_le x) | |
| 710 | - · apply max_le | |
| 711 | - · exact hb D x.2.1 (by linarith) ((norm_fst_le x.2).trans (norm_snd_le x)) | |
| 712 | - · exact hb 1 x.2.2 (by rw [abs_one]; linarith [abs_nonneg D]) | |
| 713 | - ((norm_snd_le x.2).trans (norm_snd_le x)) | |
| 714 | - | |
| 715 | -theorem bandChart_jet_bound {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 716 | - {f : SlowPoint → V} (hf : ContDiff ℝ ∞ f) (D : ℝ) {n m : ℕ} | |
| 717 | - (hnm : n ≤ m + 4) (hmn : m ≤ n + 4) (r : ℕ) (x : SlowPoint) {A : ℝ} | |
| 718 | - (hb : ∀ j ≤ r, ‖iteratedFDeriv ℝ j f (bandChart D n m x)‖ ≤ A) : | |
| 719 | - ∀ j ≤ r, ‖iteratedFDeriv ℝ j (fun y => f (bandChart D n m y)) x‖ ≤ A * chartCost D ^ r := by | |
| 720 | - simpa only [zero_add] using affine_jet_bound hf (bandChart D n m) 0 | |
| 721 | - (chartCost_one_le D) (norm_bandChart_le D hnm hmn) r x (by simpa only [zero_add] using hb) | |
| 722 | - | |
| 723 | 422 | /-- Coarsest of a pair of simultaneously active levels. -/ |
| 724 | 423 | noncomputable def commonIndex (h : ℝ) (n m : ℕ) : ℕ := min (ChartScales.nativeIndex h n) (ChartScales.nativeIndex h m) |
| 725 | 424 | |
| 726 | -theorem commonIndex_gap_le (h : ℝ) (hh : 0 ≤ h) {n m : ℕ} | |
| 727 | - (hn : 1 ≤ n) (hm : 1 ≤ m) (hnm : n ≤ m + 4) (hmn : m ≤ n + 4) : | |
| 728 | - ChartScales.nativeIndex h n - commonIndex h n m ≤ SlotColoring.nativeGap h ∧ | |
| 729 | - ChartScales.nativeIndex h m - commonIndex h n m ≤ SlotColoring.nativeGap h := by | |
| 730 | - have hg := SlotColoring.nativeIndex_gap h hh hn hm hnm hmn | |
| 731 | - simp only [commonIndex, ChartScales.nativeIndex] | |
| 732 | - omega | |
| 733 | - | |
| 734 | -theorem adjacent_commonIndex_gap_le (h : ℝ) (hh : 0 ≤ h) {D : ℝ} | |
| 735 | - {L M : SlotColoring.Label} (hadj : SlotColoring.Adj D L M) : | |
| 736 | - ChartScales.nativeIndex h L.1 - commonIndex h L.1 M.1 ≤ SlotColoring.nativeGap h ∧ | |
| 737 | - ChartScales.nativeIndex h M.1 - commonIndex h L.1 M.1 ≤ SlotColoring.nativeGap h := | |
| 738 | - commonIndex_gap_le h hh hadj.left_positive hadj.right_positive hadj.left_level_le hadj.right_level_le | |
| 739 | - | |
| 740 | 425 | end DyadicChanges |
| 741 | 426 | |
| 742 | 427 | section ClassTransport |
| @@ -757,70 +442,6 @@ theorem norm_affine_jet_le_on {f : Y → V} {U : Set Y} (hU : IsOpen U) | ||
| 757 | 442 | have hb := PhysicalGraphBounds.norm_jet_comp_linear hU' hf' L hx j |
| 758 | 443 | simpa only [Function.comp_def, iteratedFDeriv_comp_add_left] using hb |
| 759 | 444 | |
| 760 | -/-- All hypotheses other than the source class concern the actual affine | |
| 761 | -maps and the prescribed weights/scales. No derivative bound on the | |
| 762 | -pulled-back source is a premise. Polynomial map and edge costs do not change | |
| 763 | -the small-scale exponent. -/ | |
| 764 | -theorem memClass_affine_transport | |
| 765 | - (s : WeightedClasses.StripData Y) (t : WeightedClasses.StripData X) | |
| 766 | - {w : ℕ → Y → ℝ} {v : ℕ → X → ℝ} {α : ℝ} {f : ℕ → Y → V} | |
| 767 | - (hf : WeightedClasses.MemClass s w α f) | |
| 768 | - (index : ℕ → ℕ) (L : ℕ → X →L[ℝ] Y) (c : ℕ → Y) | |
| 769 | - (hmap : ∀ n x, x ∈ t.domain → c n + L n x ∈ s.domain) | |
| 770 | - (hweight : ∀ n x, x ∈ t.domain → w (index n) (c n + L n x) = v n x) | |
| 771 | - {Ce Cg CL : ℝ} (hCe : 0 ≤ Ce) (hCg : 1 ≤ Cg) (hCL : 1 ≤ CL) (r l : ℕ) | |
| 772 | - (heps : ∀ n, s.epsilon (index n) ^ α ≤ Ce * t.epsilon n ^ α) | |
| 773 | - (hgrowth : ∀ n x, x ∈ t.domain → | |
| 774 | - s.growth (index n) (c n + L n x) ≤ Cg * t.growth n x ^ r) | |
| 775 | - (hlinear : ∀ n x, x ∈ t.domain → ‖L n‖ ≤ CL * t.growth n x ^ l) : | |
| 776 | - WeightedClasses.MemClass t v α (fun n x => f (index n) (c n + L n x)) := by | |
| 777 | - have hv : ∀ n x, x ∈ t.domain → 0 ≤ v n x := by | |
| 778 | - intro n x hx | |
| 779 | - rw [← hweight n x hx] | |
| 780 | - exact hf.weight_nonneg _ _ (hmap n x hx) | |
| 781 | - refine ⟨hv, ?_, ?_⟩ | |
| 782 | - · intro n | |
| 783 | - exact (hf.smooth (index n)).comp | |
| 784 | - (contDiff_const.add (L n).contDiff).contDiffOn (hmap n) | |
| 785 | - · intro m | |
| 786 | - obtain ⟨A, hA, p, hb⟩ := hf.bounds m | |
| 787 | - refine ⟨A * Ce * Cg ^ p * CL ^ m, by positivity, r * p + l * m, ?_⟩ | |
| 788 | - intro n x hx j hj | |
| 789 | - have htarget := t.growth_nonneg n x | |
| 790 | - have hsource := s.growth_nonneg (index n) (c n + L n x) | |
| 791 | - have hCL0 : 0 ≤ CL := zero_le_one.trans hCL | |
| 792 | - have hCg0 : 0 ≤ Cg := zero_le_one.trans hCg | |
| 793 | - have hpow : ‖L n‖ ^ j ≤ CL ^ m * t.growth n x ^ (l * m) := by | |
| 794 | - calc | |
| 795 | - _ ≤ (CL * t.growth n x ^ l) ^ j := pow_le_pow_left₀ (norm_nonneg _) (hlinear n x hx) j | |
| 796 | - _ ≤ (CL * t.growth n x ^ l) ^ m := | |
| 797 | - pow_le_pow_right₀ (one_le_mul_of_one_le_of_one_le hCL | |
| 798 | - (one_le_pow₀ (t.one_le_growth n x))) hj | |
| 799 | - _ = _ := by rw [mul_pow, ← pow_mul] | |
| 800 | - have hgpow : s.growth (index n) (c n + L n x) ^ p ≤ | |
| 801 | - Cg ^ p * t.growth n x ^ (r * p) := by | |
| 802 | - simpa only [mul_pow, ← pow_mul] using | |
| 803 | - pow_le_pow_left₀ hsource (hgrowth n x hx) p | |
| 804 | - have hstart := norm_affine_jet_le_on s.isOpen_domain (hf.smooth (index n)) | |
| 805 | - (L n) (c n) (hmap n x hx) j | |
| 806 | - refine hstart.trans ?_ | |
| 807 | - calc | |
| 808 | - _ ≤ WeightedClasses.majorant s w α A p (index n) (c n + L n x) * ‖L n‖ ^ j := | |
| 809 | - mul_le_mul_of_nonneg_right (hb _ _ (hmap n x hx) j hj) (pow_nonneg (norm_nonneg _) _) | |
| 810 | - _ = (A * s.epsilon (index n) ^ α * s.growth (index n) (c n + L n x) ^ p * v n x) * | |
| 811 | - ‖L n‖ ^ j := by rw [WeightedClasses.majorant, hweight n x hx] | |
| 812 | - _ ≤ (A * (Ce * t.epsilon n ^ α) * (Cg ^ p * t.growth n x ^ (r * p)) * v n x) * | |
| 813 | - (CL ^ m * t.growth n x ^ (l * m)) := by | |
| 814 | - have hv0 := hv n x hx | |
| 815 | - have htε : 0 ≤ t.epsilon n ^ α := (Real.rpow_pos_of_pos (t.epsilon_pos n) α).le | |
| 816 | - gcongr | |
| 817 | - exact heps n | |
| 818 | - _ = WeightedClasses.majorant t v α (A * Ce * Cg ^ p * CL ^ m) | |
| 819 | - (r * p + l * m) n x := by | |
| 820 | - unfold WeightedClasses.majorant | |
| 821 | - rw [pow_add] | |
| 822 | - ring | |
| 823 | - | |
| 824 | 445 | /-- A strip over a linear parameter projection. Its weights are the actual |
| 825 | 446 | base weights, so retaining the parameter preserves them exactly. -/ |
| 826 | 447 | noncomputable def parameterStrip (s : WeightedClasses.StripData Y) (L : X →L[ℝ] Y) : |
| @@ -851,54 +472,6 @@ variable {P V : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 851 | 472 | noncomputable def sourceStrip (s : WeightedClasses.StripData P) : WeightedClasses.StripData (P × Plane) := |
| 852 | 473 | parameterStrip s (ContinuousLinearMap.fst ℝ P Plane) |
| 853 | 474 | |
| 854 | -noncomputable def jointStrip (s : WeightedClasses.StripData P) : WeightedClasses.StripData (Joint P) := | |
| 855 | - parameterStrip s ((ContinuousLinearMap.fst ℝ P Plane).comp (ContinuousLinearMap.fst ℝ (P × Plane) ℝ)) | |
| 856 | - | |
| 857 | -/-- Actual all-order class transport along the common-cover path. The | |
| 858 | -indexed band map allows a tail such as `band n = n+4`. Constants are uniform | |
| 859 | -in all choices of centers and lifted copies. -/ | |
| 860 | -theorem memClass_sourceArgument (s : WeightedClasses.StripData P) | |
| 861 | - {w : ℕ → P → ℝ} {α : ℝ} {f : ℕ → P × Plane → V} | |
| 862 | - (hf : WeightedClasses.MemClass (sourceStrip s) (fun n z => w n z.1) α f) | |
| 863 | - (B : Plane ≃L[ℝ] Plane) {h : ℝ} (hh : 0 ≤ h) (D : ℕ) | |
| 864 | - (band gap : ℕ → ℕ) (center : ℕ → Plane) (copy : ℕ → Frequency) | |
| 865 | - (hband : ∀ n, 4 ≤ band n) (hgap : ∀ n, gap n ≤ D) | |
| 866 | - (hslow : ∀ n, s.slow n = ChartScales.S (band n)) : | |
| 867 | - WeightedClasses.MemClass (jointStrip s) (fun n z => w n z.1.1) α | |
| 868 | - (fun n z => f n (sourceArgument (bandGeometry B h (band n) (gap n) (center n)) (copy n) z)) := by | |
| 869 | - let g n := bandGeometry B h (band n) (gap n) (center n) | |
| 870 | - have hpres (n : ℕ) (x : Joint P) : | |
| 871 | - sourceArgument (g n) (copy n) 0 + sourceLinear P (g n) x = sourceArgument (g n) (copy n) x := | |
| 872 | - (sourceArgument_affine (g n) (copy n) x).symm | |
| 873 | - have hmaps (n : ℕ) (x : Joint P) (hx : x ∈ (jointStrip s).domain) : | |
| 874 | - sourceArgument (g n) (copy n) 0 + sourceLinear P (g n) x ∈ (sourceStrip s).domain := by | |
| 875 | - rw [hpres] | |
| 876 | - exact hx | |
| 877 | - have hweights (n : ℕ) (x : Joint P) (_hx : x ∈ (jointStrip s).domain) : | |
| 878 | - w n (sourceArgument (g n) (copy n) 0 + sourceLinear P (g n) x).1 = w n x.1.1 := by | |
| 879 | - rw [hpres] | |
| 880 | - rfl | |
| 881 | - have heps (n : ℕ) : (sourceStrip s).epsilon n ^ α ≤ 1 * (jointStrip s).epsilon n ^ α := by | |
| 882 | - simp [sourceStrip, jointStrip, parameterStrip] | |
| 883 | - have hgrowth (n : ℕ) (x : Joint P) (_hx : x ∈ (jointStrip s).domain) : | |
| 884 | - (sourceStrip s).growth n (sourceArgument (g n) (copy n) 0 + sourceLinear P (g n) x) ≤ | |
| 885 | - 1 * (jointStrip s).growth n x ^ 1 := by | |
| 886 | - rw [hpres] | |
| 887 | - simp [sourceStrip, jointStrip, parameterStrip, WeightedClasses.StripData.growth, sourceArgument] | |
| 888 | - have hlinear (n : ℕ) (x : Joint P) (_hx : x ∈ (jointStrip s).domain) : | |
| 889 | - ‖sourceLinear P (g n)‖ ≤ bandArgumentCost B D * (jointStrip s).growth n x ^ 1 := by | |
| 890 | - rw [pow_one] | |
| 891 | - refine (norm_sourceLinear_le (g n)).trans ?_ | |
| 892 | - refine (bandGeometry_argumentCost_le B hh (hband n) (hgap n) (center n)).trans ?_ | |
| 893 | - rw [← hslow n] | |
| 894 | - exact mul_le_mul_of_nonneg_left (s.slow_le_growth n x.1.1) | |
| 895 | - (zero_le_one.trans (bandArgumentCost_one_le B D)) | |
| 896 | - have hout := memClass_affine_transport (sourceStrip s) (jointStrip s) hf id | |
| 897 | - (fun n => sourceLinear P (g n)) (fun n => sourceArgument (g n) (copy n) 0) | |
| 898 | - hmaps hweights (by norm_num : (0 : ℝ) ≤ 1) (by norm_num : (1 : ℝ) ≤ 1) | |
| 899 | - (bandArgumentCost_one_le B D) 1 1 heps hgrowth hlinear | |
| 900 | - simpa only [id_eq, hpres] using hout | |
| 901 | - | |
| 902 | 475 | end SourceClasses |
| 903 | 476 | |
| 904 | 477 | section CommonBandChanges |
| @@ -909,12 +482,6 @@ noncomputable def coverChange (forward : Bool) (d : ℕ) : Plane →L[ℝ] Plane | ||
| 909 | 482 | if forward then (CommonCoverSolve.coverPower d : Plane →L[ℝ] Plane) |
| 910 | 483 | else ((CommonCoverSolve.coverPower d).symm : Plane →L[ℝ] Plane) |
| 911 | 484 | |
| 912 | -theorem norm_coverChange_le (forward : Bool) {d D : ℕ} (hd : d ≤ D) : | |
| 913 | - ‖coverChange forward d‖ ≤ CommonCoverSolve.coveringBound D := by | |
| 914 | - cases forward | |
| 915 | - · exact CommonCoverSolve.inverseCoveringNorm_le_bound hd | |
| 916 | - · exact CommonCoverSolve.coveringNorm_le_bound hd | |
| 917 | - | |
| 918 | 485 | noncomputable def bandCommonChart (D : ℝ) (n m : ℕ) (forward : Bool) (gap : ℕ) : |
| 919 | 486 | SlowPoint × Plane →L[ℝ] SlowPoint × Plane := |
| 920 | 487 | (bandChart D n m).prodMap (coverChange forward gap) |
| @@ -923,349 +490,24 @@ noncomputable def bandCommonChart (D : ℝ) (n m : ℕ) (forward : Bool) (gap : | ||
| 923 | 490 | (x : SlowPoint × Plane) : |
| 924 | 491 | bandCommonChart D n m forward gap x = (bandChart D n m x.1, coverChange forward gap x.2) := rfl |
| 925 | 492 | |
| 926 | -noncomputable def commonChartCost (D : ℝ) (gapBound : ℕ) : ℝ := | |
| 927 | - chartCost D + CommonCoverSolve.coveringBound gapBound | |
| 928 | - | |
| 929 | -theorem commonChartCost_one_le (D : ℝ) (gapBound : ℕ) : 1 ≤ commonChartCost D gapBound := by | |
| 930 | - unfold commonChartCost | |
| 931 | - linarith [chartCost_one_le D, CommonCoverSolve.coveringBound_pos gapBound] | |
| 932 | - | |
| 933 | -theorem norm_bandCommonChart_le (D : ℝ) {n m gap gapBound : ℕ} | |
| 934 | - (hnm : n ≤ m + 4) (hmn : m ≤ n + 4) (forward : Bool) (hgap : gap ≤ gapBound) : | |
| 935 | - ‖bandCommonChart D n m forward gap‖ ≤ commonChartCost D gapBound := by | |
| 936 | - apply ContinuousLinearMap.opNorm_le_bound _ (zero_le_one.trans (commonChartCost_one_le _ _)) | |
| 937 | - intro x | |
| 938 | - rw [bandCommonChart_apply, Prod.norm_def] | |
| 939 | - have hC : 0 ≤ CommonCoverSolve.coveringBound gapBound := (CommonCoverSolve.coveringBound_pos _).le | |
| 940 | - have hD : 0 ≤ chartCost D := zero_le_one.trans (chartCost_one_le D) | |
| 941 | - apply max_le | |
| 942 | - · calc | |
| 943 | - _ ≤ ‖bandChart D n m‖ * ‖x.1‖ := (bandChart D n m).le_opNorm _ | |
| 944 | - _ ≤ chartCost D * ‖x‖ := mul_le_mul (norm_bandChart_le D hnm hmn) | |
| 945 | - (norm_fst_le x) (norm_nonneg _) hD | |
| 946 | - _ ≤ commonChartCost D gapBound * ‖x‖ := by | |
| 947 | - apply mul_le_mul_of_nonneg_right _ (norm_nonneg _) | |
| 948 | - unfold commonChartCost | |
| 949 | - linarith | |
| 950 | - · calc | |
| 951 | - _ ≤ ‖coverChange forward gap‖ * ‖x.2‖ := (coverChange forward gap).le_opNorm _ | |
| 952 | - _ ≤ CommonCoverSolve.coveringBound gapBound * ‖x‖ := | |
| 953 | - mul_le_mul (norm_coverChange_le forward hgap) (norm_snd_le x) (norm_nonneg _) hC | |
| 954 | - _ ≤ commonChartCost D gapBound * ‖x‖ := by | |
| 955 | - apply mul_le_mul_of_nonneg_right _ (norm_nonneg _) | |
| 956 | - unfold commonChartCost | |
| 957 | - linarith | |
| 958 | - | |
| 959 | -theorem bandCommonChart_envelope {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 960 | - (D : ℝ) {n m gap gapBound r : ℕ} (hnm : n ≤ m + 4) (hmn : m ≤ n + 4) | |
| 961 | - (forward : Bool) (hgap : gap ≤ gapBound) {f : SlowPoint × Plane → V} | |
| 962 | - (hf : ContDiff ℝ ∞ f) {e : SlowPoint × Plane → ℝ} (he : EnvelopeJets r f e) : | |
| 963 | - EnvelopeJets r (fun x => f (bandCommonChart D n m forward gap x)) | |
| 964 | - (fun x => e (bandCommonChart D n m forward gap x) * commonChartCost D gapBound ^ r) := by | |
| 965 | - simpa only [zero_add] using he.affine hf (bandCommonChart D n m forward gap) 0 | |
| 966 | - (commonChartCost_one_le D gapBound) (norm_bandCommonChart_le D hnm hmn forward hgap) | |
| 967 | - | |
| 968 | -/-- Class transport under the actual simultaneous slow-chart and bounded | |
| 969 | -covering change. The weight/edge identities express the same physical | |
| 970 | -profile in the two charts; they are geometric identities, not jet bounds. -/ | |
| 971 | -theorem memClass_bandCommonChart {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 972 | - (s : WeightedClasses.StripData (SlowPoint × Plane)) | |
| 973 | - {w v : ℕ → SlowPoint × Plane → ℝ} {α h : ℝ} {f : ℕ → SlowPoint × Plane → V} | |
| 974 | - (hf : WeightedClasses.MemClass s w α f) (D : ℝ) (gapBound : ℕ) | |
| 975 | - (band index gap : ℕ → ℕ) (forward : ℕ → Bool) | |
| 976 | - (hband : ∀ n, 1 ≤ band n) | |
| 977 | - (hoverlap : ∀ n, band n ≤ band (index n) + 4 ∧ band (index n) ≤ band n + 4) | |
| 978 | - (hgap : ∀ n, gap n ≤ gapBound) | |
| 979 | - (hepsilon : ∀ n, s.epsilon n = ChartScales.epsilon h (band n)) | |
| 980 | - (hslow : ∀ n, s.slow n = ChartScales.S (band n)) | |
| 981 | - (hmap : ∀ n x, x ∈ s.domain → | |
| 982 | - bandCommonChart D (band n) (band (index n)) (forward n) (gap n) x ∈ s.domain) | |
| 983 | - (hdelta : ∀ n x, x ∈ s.domain → | |
| 984 | - s.delta (bandCommonChart D (band n) (band (index n)) (forward n) (gap n) x) = s.delta x) | |
| 985 | - (hweight : ∀ n x, x ∈ s.domain → | |
| 986 | - w (index n) (bandCommonChart D (band n) (band (index n)) (forward n) (gap n) x) = v n x) : | |
| 987 | - WeightedClasses.MemClass s v α | |
| 988 | - (fun n x => f (index n) (bandCommonChart D (band n) (band (index n)) (forward n) (gap n) x)) := by | |
| 989 | - let L n := bandCommonChart D (band n) (band (index n)) (forward n) (gap n) | |
| 990 | - have heps (n : ℕ) : s.epsilon (index n) ^ α ≤ | |
| 991 | - (2 : ℝ) ^ (4 * |h * α|) * s.epsilon n ^ α := by | |
| 992 | - rw [hepsilon, hepsilon] | |
| 993 | - exact epsilon_power_transfer h α (hoverlap n).2 (hoverlap n).1 | |
| 994 | - have hgrowth (n : ℕ) (x : SlowPoint × Plane) (hx : x ∈ s.domain) : | |
| 995 | - s.growth (index n) (0 + L n x) ≤ 25 * s.growth n x ^ 1 := by | |
| 996 | - simp only [zero_add, pow_one, WeightedClasses.StripData.growth] | |
| 997 | - rw [hdelta n x hx, hslow, hslow] | |
| 998 | - simpa only [mul_assoc] using mul_le_mul_of_nonneg_right | |
| 999 | - (slow_scale_transfer (hband n) (hoverlap n).2) | |
| 1000 | - (show 0 ≤ max 1 (s.delta x)⁻¹ from zero_le_one.trans (le_max_left _ _)) | |
| 1001 | - have hlin (n : ℕ) (x : SlowPoint × Plane) (_hx : x ∈ s.domain) : | |
| 1002 | - ‖L n‖ ≤ commonChartCost D gapBound * s.growth n x ^ 0 := by | |
| 1003 | - simpa only [pow_zero, mul_one] using norm_bandCommonChart_le D | |
| 1004 | - (hoverlap n).1 (hoverlap n).2 (forward n) (hgap n) | |
| 1005 | - have ht := memClass_affine_transport s s hf index L (fun _ => 0) | |
| 1006 | - (by simpa only [zero_add] using hmap) | |
| 1007 | - (by simpa only [zero_add] using hweight) | |
| 1008 | - (Real.rpow_pos_of_pos (by norm_num : (0 : ℝ) < 2) _).le | |
| 1009 | - (by norm_num : (1 : ℝ) ≤ 25) (commonChartCost_one_le D gapBound) 1 0 heps hgrowth hlin | |
| 1010 | - simpa only [zero_add] using ht | |
| 1011 | - | |
| 1012 | 493 | end CommonBandChanges |
| 1013 | 494 | |
| 1014 | 495 | section PhysicalProfileWeights |
| 1015 | 496 | |
| 1016 | -theorem bandChart_eq_transition (h : ℝ) (n m : ℕ) (x : SlowPoint) : | |
| 1017 | - bandChart (CoordinateAlgebra.D h) n m x = | |
| 1018 | - SimilarityHomogeneity.chartTransition h (ChartScales.Q n) (ChartScales.Q m) x := | |
| 1019 | - bandChart_formula _ _ _ _ | |
| 1020 | - | |
| 1021 | -theorem profileX_bandChart {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 1022 | - (n m : ℕ) {x : SlowPoint} (hx : 0 < x.2.2) : | |
| 1023 | - SimilarityHomogeneity.chartX h (bandChart (CoordinateAlgebra.D h) n m x) = | |
| 1024 | - SimilarityHomogeneity.chartX h x := by | |
| 1025 | - rw [bandChart_eq_transition] | |
| 1026 | - exact SimilarityHomogeneity.chartX_transition hh hh1 (ChartScales.Q_pos n) (ChartScales.Q_pos m) hx | |
| 1027 | - | |
| 1028 | -theorem profileEta_bandChart {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 1029 | - (n m : ℕ) {x : SlowPoint} (hx : 0 < x.2.2) : | |
| 1030 | - SimilarityHomogeneity.chartEta h (bandChart (CoordinateAlgebra.D h) n m x) = | |
| 1031 | - SimilarityHomogeneity.chartEta h x := by | |
| 1032 | - rw [bandChart_eq_transition] | |
| 1033 | - exact SimilarityHomogeneity.chartEta_transition hh hh1 (ChartScales.Q_pos n) (ChartScales.Q_pos m) hx | |
| 1034 | - | |
| 1035 | -noncomputable def profileDomain (h a b : ℝ) : Set SlowPoint := | |
| 1036 | - {x | x ∈ SimilarityHomogeneity.chartDomain ∧ SimilarityHomogeneity.chartX h x ∈ Ioo a b} | |
| 1037 | - | |
| 1038 | -theorem profileX_smoothAt {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 1039 | - {x : SlowPoint} (hx : 0 < x.2.2) : ContDiffAt ℝ ∞ (SimilarityHomogeneity.chartX h) x := | |
| 1040 | - (SimilarityHomogeneity.chartInner_smoothAt hh hh1 hx).fst | |
| 1041 | - | |
| 1042 | -theorem isOpen_profileDomain {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (a b : ℝ) : | |
| 1043 | - IsOpen (profileDomain h a b) := by | |
| 1044 | - apply isOpen_iff_mem_nhds.mpr | |
| 1045 | - intro x hx | |
| 1046 | - exact Filter.inter_mem (SimilarityHomogeneity.isOpen_chartDomain.mem_nhds hx.1) | |
| 1047 | - ((profileX_smoothAt hh hh1 hx.1.2).continuousAt (isOpen_Ioo.mem_nhds hx.2)) | |
| 1048 | - | |
| 1049 | -theorem profileDomain_bandChart {h a b : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 1050 | - (n m : ℕ) {x : SlowPoint} (hx : x ∈ profileDomain h a b) : | |
| 1051 | - bandChart (CoordinateAlgebra.D h) n m x ∈ profileDomain h a b := by | |
| 1052 | - constructor | |
| 1053 | - · rw [bandChart_eq_transition] | |
| 1054 | - exact (SimilarityHomogeneity.chartTransition_mem_iff (ChartScales.Q_pos n) (ChartScales.Q_pos m) x).mpr hx.1 | |
| 1055 | - · rw [profileX_bandChart hh hh1 n m hx.1.2] | |
| 1056 | - exact hx.2 | |
| 1057 | - | |
| 1058 | -/-- A concrete strip with the physical profile weight and logarithmic | |
| 1059 | -distance. The independent index chooses the actual dyadic band. -/ | |
| 1060 | -noncomputable def profileSlowStrip {h a b : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 1061 | - (ha : 0 < a) (band : ℕ → ℕ) (hband : ∀ n, 1 ≤ band n) | |
| 1062 | - (ζ : ℝ → ℝ) (hζ : ContDiff ℝ ∞ ζ) (hζ0 : ∀ X ∈ Ioo a b, 0 ≤ ζ X) : | |
| 1063 | - WeightedClasses.StripData SlowPoint where | |
| 1064 | - domain := profileDomain h a b | |
| 1065 | - isOpen_domain := isOpen_profileDomain hh hh1 a b | |
| 1066 | - epsilon n := ChartScales.epsilon h (band n) | |
| 1067 | - epsilon_pos n := ChartScales.epsilon_pos h (band n) | |
| 1068 | - epsilon_le_one n := ChartScales.epsilon_le_one h hh.le (band n) | |
| 1069 | - slow n := ChartScales.S (band n) | |
| 1070 | - one_le_slow n := PhysicalGraphBounds.S_ge_one (hband n) | |
| 1071 | - delta := SimilarityHomogeneity.chartLogDistance h a b | |
| 1072 | - delta_pos _ hx := SimilarityHomogeneity.profileLogDistance_pos ha hx.2.1 hx.2.2 | |
| 1073 | - zeta x := ζ (SimilarityHomogeneity.chartX h x) | |
| 1074 | - zeta_smooth x hx := (hζ.contDiffAt.comp x (profileX_smoothAt hh hh1 hx.1.2)).contDiffWithinAt | |
| 1075 | - zeta_nonneg _ hx := hζ0 _ hx.2 | |
| 1076 | - | |
| 1077 | -/-- Here the domain and the edge identity are proved from actual profile | |
| 1078 | -homogeneity. Only the prescribed additional weight is transported. -/ | |
| 1079 | -theorem memClass_profile_bandCommonChart | |
| 1080 | - {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 1081 | - {h a b : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) | |
| 1082 | - (band : ℕ → ℕ) (hband : ∀ n, 1 ≤ band n) | |
| 1083 | - (ζ : ℝ → ℝ) (hζ : ContDiff ℝ ∞ ζ) (hζ0 : ∀ X ∈ Ioo a b, 0 ≤ ζ X) | |
| 1084 | - {w v : ℕ → SlowPoint × Plane → ℝ} {α : ℝ} {f : ℕ → SlowPoint × Plane → V} | |
| 1085 | - (hf : WeightedClasses.MemClass | |
| 1086 | - (sourceStrip (profileSlowStrip hh hh1 ha band hband ζ hζ hζ0)) w α f) | |
| 1087 | - (gapBound : ℕ) (index gap : ℕ → ℕ) (forward : ℕ → Bool) | |
| 1088 | - (hoverlap : ∀ n, band n ≤ band (index n) + 4 ∧ band (index n) ≤ band n + 4) | |
| 1089 | - (hgap : ∀ n, gap n ≤ gapBound) | |
| 1090 | - (hweight : ∀ n x, x.1 ∈ profileDomain h a b → | |
| 1091 | - w (index n) (bandCommonChart (CoordinateAlgebra.D h) (band n) (band (index n)) | |
| 1092 | - (forward n) (gap n) x) = v n x) : | |
| 1093 | - WeightedClasses.MemClass | |
| 1094 | - (sourceStrip (profileSlowStrip hh hh1 ha band hband ζ hζ hζ0)) v α | |
| 1095 | - (fun n x => f (index n) (bandCommonChart (CoordinateAlgebra.D h) | |
| 1096 | - (band n) (band (index n)) (forward n) (gap n) x)) := by | |
| 1097 | - apply memClass_bandCommonChart _ hf (CoordinateAlgebra.D h) gapBound band index gap forward | |
| 1098 | - hband hoverlap hgap (fun _ => rfl) (fun _ => rfl) | |
| 1099 | - · intro n x hx | |
| 1100 | - exact profileDomain_bandChart hh hh1 (band n) (band (index n)) hx | |
| 1101 | - · intro n x hx | |
| 1102 | - change SimilarityHomogeneity.chartLogDistance h a b | |
| 1103 | - (bandChart (CoordinateAlgebra.D h) (band n) (band (index n)) x.1) = | |
| 1104 | - SimilarityHomogeneity.chartLogDistance h a b x.1 | |
| 1105 | - rw [SimilarityHomogeneity.chartLogDistance, SimilarityHomogeneity.chartLogDistance, | |
| 1106 | - profileX_bandChart hh hh1 (band n) (band (index n)) (x := x.1) hx.1.2] | |
| 1107 | - · exact hweight | |
| 1108 | - | |
| 1109 | -/-- The actual mean class is preserved, with exactly the same small-scale | |
| 1110 | -exponent, under all overlapping band/common-cover changes. -/ | |
| 1111 | -theorem meanClass_profile_bandCommonChart | |
| 1112 | - {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 1113 | - {h a b : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) | |
| 1114 | - (band : ℕ → ℕ) (hband : ∀ n, 1 ≤ band n) | |
| 1115 | - (ζ : ℝ → ℝ) (hζ : ContDiff ℝ ∞ ζ) (hζ0 : ∀ X ∈ Ioo a b, 0 ≤ ζ X) | |
| 1116 | - {α : ℝ} {f : ℕ → SlowPoint × Plane → V} | |
| 1117 | - (hf : WeightedClasses.MeanClass | |
| 1118 | - (sourceStrip (profileSlowStrip hh hh1 ha band hband ζ hζ hζ0)) α f) | |
| 1119 | - (gapBound : ℕ) (index gap : ℕ → ℕ) (forward : ℕ → Bool) | |
| 1120 | - (hoverlap : ∀ n, band n ≤ band (index n) + 4 ∧ band (index n) ≤ band n + 4) | |
| 1121 | - (hgap : ∀ n, gap n ≤ gapBound) : | |
| 1122 | - WeightedClasses.MeanClass | |
| 1123 | - (sourceStrip (profileSlowStrip hh hh1 ha band hband ζ hζ hζ0)) α | |
| 1124 | - (fun n x => f (index n) (bandCommonChart (CoordinateAlgebra.D h) | |
| 1125 | - (band n) (band (index n)) (forward n) (gap n) x)) := by | |
| 1126 | - apply memClass_profile_bandCommonChart hh hh1 ha band hband ζ hζ hζ0 hf | |
| 1127 | - gapBound index gap forward hoverlap hgap | |
| 1128 | - intro n x hx | |
| 1129 | - change ζ (SimilarityHomogeneity.chartX h | |
| 1130 | - (bandChart (CoordinateAlgebra.D h) (band n) (band (index n)) x.1)) = | |
| 1131 | - ζ (SimilarityHomogeneity.chartX h x.1) | |
| 1132 | - rw [profileX_bandChart hh hh1 _ _ hx.1.2] | |
| 1133 | - | |
| 1134 | -/-- The wave envelope is transported at its actual point. The radial | |
| 1135 | -factor and edge distance are invariant; the slot profile is pulled back | |
| 1136 | -exactly and is not replaced by another label's profile. -/ | |
| 1137 | -theorem waveClass_profile_bandCommonChart | |
| 1138 | - {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 1139 | - {h a b : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) | |
| 1140 | - (band : ℕ → ℕ) (hband : ∀ n, 1 ≤ band n) | |
| 1141 | - (ζ : ℝ → ℝ) (hζ : ContDiff ℝ ∞ ζ) (hζ0 : ∀ X ∈ Ioo a b, 0 ≤ ζ X) | |
| 1142 | - (P : ℕ → SlowPoint × Plane → ℝ) {α : ℝ} {f : ℕ → SlowPoint × Plane → V} | |
| 1143 | - (hf : WeightedClasses.WaveClass | |
| 1144 | - (sourceStrip (profileSlowStrip hh hh1 ha band hband ζ hζ hζ0)) P α f) | |
| 1145 | - (gapBound : ℕ) (index gap : ℕ → ℕ) (forward : ℕ → Bool) | |
| 1146 | - (hoverlap : ∀ n, band n ≤ band (index n) + 4 ∧ band (index n) ≤ band n + 4) | |
| 1147 | - (hgap : ∀ n, gap n ≤ gapBound) : | |
| 1148 | - WeightedClasses.WaveClass | |
| 1149 | - (sourceStrip (profileSlowStrip hh hh1 ha band hband ζ hζ hζ0)) | |
| 1150 | - (fun n x => P (index n) (bandCommonChart (CoordinateAlgebra.D h) | |
| 1151 | - (band n) (band (index n)) (forward n) (gap n) x)) α | |
| 1152 | - (fun n x => f (index n) (bandCommonChart (CoordinateAlgebra.D h) | |
| 1153 | - (band n) (band (index n)) (forward n) (gap n) x)) := by | |
| 1154 | - apply memClass_profile_bandCommonChart hh hh1 ha band hband ζ hζ hζ0 hf | |
| 1155 | - gapBound index gap forward hoverlap hgap | |
| 1156 | - intro n x hx | |
| 1157 | - change Real.sqrt (ζ (SimilarityHomogeneity.chartX h | |
| 1158 | - (bandChart (CoordinateAlgebra.D h) (band n) (band (index n)) x.1))) * _ = | |
| 1159 | - Real.sqrt (ζ (SimilarityHomogeneity.chartX h x.1)) * _ | |
| 1160 | - rw [profileX_bandChart hh hh1 _ _ hx.1.2] | |
| 1161 | - | |
| 1162 | 497 | end PhysicalProfileWeights |
| 1163 | 498 | |
| 1164 | 499 | section MeshChanges |
| 1165 | 500 | |
| 1166 | -/-- Normalized small slow-box coordinates, using the actual widths from | |
| 1167 | -the coloring construction. -/ | |
| 1168 | -noncomputable def meshCoordinate (D : ℝ) (L : SlotColoring.Label) | |
| 1169 | - (x : SlotColoring.Position) : SlotColoring.Position := | |
| 1170 | - fun j => (x j - SlotColoring.width D j L.1 * (L.2.1 j : ℝ)) / SlotColoring.width D j L.1 | |
| 1171 | - | |
| 1172 | -noncomputable def meshPoint (D : ℝ) (L : SlotColoring.Label) | |
| 1173 | - (x : SlotColoring.Position) : SlotColoring.Position := | |
| 1174 | - fun j => SlotColoring.width D j L.1 * x j + SlotColoring.width D j L.1 * (L.2.1 j : ℝ) | |
| 1175 | - | |
| 1176 | 501 | noncomputable def meshLinear (D : ℝ) (L M : SlotColoring.Label) : |
| 1177 | 502 | SlotColoring.Position →L[ℝ] SlotColoring.Position := |
| 1178 | 503 | ContinuousLinearMap.pi (fun j : Fin 3 => |
| 1179 | 504 | (SlotColoring.width D j L.1 / SlotColoring.width D j M.1) • |
| 1180 | 505 | (ContinuousLinearMap.proj j : SlotColoring.Position →L[ℝ] ℝ)) |
| 1181 | 506 | |
| 1182 | -noncomputable def meshOffset (D : ℝ) (L M : SlotColoring.Label) : SlotColoring.Position := | |
| 1183 | - fun j => (SlotColoring.width D j L.1 * (L.2.1 j : ℝ) - | |
| 1184 | - SlotColoring.width D j M.1 * (M.2.1 j : ℝ)) / SlotColoring.width D j M.1 | |
| 1185 | - | |
| 1186 | -noncomputable def meshTransition (D : ℝ) (L M : SlotColoring.Label) | |
| 1187 | - (x : SlotColoring.Position) : SlotColoring.Position := meshOffset D L M + meshLinear D L M x | |
| 1188 | - | |
| 1189 | 507 | @[simp] theorem meshLinear_apply (D : ℝ) (L M : SlotColoring.Label) |
| 1190 | 508 | (x : SlotColoring.Position) (j : Fin 3) : |
| 1191 | 509 | meshLinear D L M x j = (SlotColoring.width D j L.1 / SlotColoring.width D j M.1) * x j := rfl |
| 1192 | 510 | |
| 1193 | -theorem meshTransition_eq_coordinate (D : ℝ) (L M : SlotColoring.Label) | |
| 1194 | - (x : SlotColoring.Position) : meshTransition D L M x = meshCoordinate D M (meshPoint D L x) := by | |
| 1195 | - ext j | |
| 1196 | - simp only [meshTransition, Pi.add_apply, meshOffset, meshLinear_apply, meshCoordinate, meshPoint] | |
| 1197 | - ring | |
| 1198 | - | |
| 1199 | -theorem mesh_ratioBound_pos (D : ℝ) : 0 < SlotColoring.ratioBound D := by | |
| 1200 | - unfold SlotColoring.ratioBound | |
| 1201 | - positivity | |
| 1202 | - | |
| 1203 | -/-- Only physical-box adjacency is assumed; the normalized coordinate | |
| 1204 | -change is bounded uniformly over all box indices and levels. -/ | |
| 1205 | -theorem norm_meshLinear_le {D : ℝ} {L M : SlotColoring.Label} (h : SlotColoring.Adj D L M) : | |
| 1206 | - ‖meshLinear D L M‖ ≤ SlotColoring.ratioBound D := by | |
| 1207 | - apply ContinuousLinearMap.opNorm_le_bound _ (mesh_ratioBound_pos D).le | |
| 1208 | - intro x | |
| 1209 | - apply (pi_norm_le_iff_of_nonneg (mul_nonneg (mesh_ratioBound_pos D).le (norm_nonneg x))).mpr | |
| 1210 | - intro j | |
| 1211 | - rw [meshLinear_apply, norm_mul, Real.norm_eq_abs, | |
| 1212 | - abs_of_pos (div_pos (SlotColoring.width_pos D j h.left_positive) | |
| 1213 | - (SlotColoring.width_pos D j h.right_positive))] | |
| 1214 | - exact mul_le_mul | |
| 1215 | - (SlotColoring.width_ratio_le D j h.left_positive h.right_positive h.left_level_le h.right_level_le) | |
| 1216 | - (norm_le_pi_norm x j) (norm_nonneg _) (mesh_ratioBound_pos D).le | |
| 1217 | - | |
| 1218 | -/-- The translation is controlled by genuine support overlap. It is not | |
| 1219 | -bounded by assuming the lattice copy indices themselves are bounded. -/ | |
| 1220 | -theorem norm_meshOffset_le {D : ℝ} {L M : SlotColoring.Label} (h : SlotColoring.Adj D L M) : | |
| 1221 | - ‖meshOffset D L M‖ ≤ 2 * (SlotColoring.ratioBound D + 1) := by | |
| 1222 | - apply (pi_norm_le_iff_of_nonneg (by linarith [mesh_ratioBound_pos D] : | |
| 1223 | - 0 ≤ 2 * (SlotColoring.ratioBound D + 1))).mpr | |
| 1224 | - intro j | |
| 1225 | - have hM := SlotColoring.width_pos D j h.right_positive | |
| 1226 | - rw [Real.norm_eq_abs, meshOffset, abs_div, abs_of_pos hM] | |
| 1227 | - calc | |
| 1228 | - _ ≤ (2 * (SlotColoring.width D j L.1 + SlotColoring.width D j M.1)) / | |
| 1229 | - SlotColoring.width D j M.1 := | |
| 1230 | - div_le_div_of_nonneg_right (SlotColoring.overlapping_centers D L M h.overlap j) hM.le | |
| 1231 | - _ = 2 * (SlotColoring.width D j L.1 / SlotColoring.width D j M.1 + 1) := by | |
| 1232 | - field_simp | |
| 1233 | - _ ≤ 2 * (SlotColoring.ratioBound D + 1) := by | |
| 1234 | - linarith [SlotColoring.width_ratio_le D j h.left_positive h.right_positive | |
| 1235 | - h.left_level_le h.right_level_le] | |
| 1236 | - | |
| 1237 | -theorem meshTransition_smooth (D : ℝ) (L M : SlotColoring.Label) : | |
| 1238 | - ContDiff ℝ ∞ (meshTransition D L M) := contDiff_const.add (meshLinear D L M).contDiff | |
| 1239 | - | |
| 1240 | -theorem meshTransition_jet_bound {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 1241 | - {D : ℝ} {L M : SlotColoring.Label} (h : SlotColoring.Adj D L M) | |
| 1242 | - {f : SlotColoring.Position → V} (hf : ContDiff ℝ ∞ f) (m : ℕ) | |
| 1243 | - (x : SlotColoring.Position) {A : ℝ} | |
| 1244 | - (hb : ∀ j ≤ m, ‖iteratedFDeriv ℝ j f (meshTransition D L M x)‖ ≤ A) : | |
| 1245 | - ∀ j ≤ m, ‖iteratedFDeriv ℝ j (fun y => f (meshTransition D L M y)) x‖ ≤ | |
| 1246 | - A * (1 + SlotColoring.ratioBound D) ^ m := by | |
| 1247 | - apply affine_jet_bound hf (meshLinear D L M) (meshOffset D L M) | |
| 1248 | - (by linarith [mesh_ratioBound_pos D]) | |
| 1249 | - ((norm_meshLinear_le h).trans (by linarith)) m x hb | |
| 1250 | - | |
| 1251 | -theorem meshTransition_norm_le {D : ℝ} {L M : SlotColoring.Label} (h : SlotColoring.Adj D L M) | |
| 1252 | - {x : SlotColoring.Position} (hx : ‖x‖ ≤ 2) : | |
| 1253 | - ‖meshTransition D L M x‖ ≤ 4 * SlotColoring.ratioBound D + 2 := by | |
| 1254 | - have hlin : ‖meshLinear D L M x‖ ≤ SlotColoring.ratioBound D * 2 := | |
| 1255 | - ((meshLinear D L M).le_opNorm x).trans | |
| 1256 | - (mul_le_mul (norm_meshLinear_le h) hx (norm_nonneg _) (mesh_ratioBound_pos D).le) | |
| 1257 | - exact (norm_add_le _ _).trans (by linarith [norm_meshOffset_le h]) | |
| 1258 | - | |
| 1259 | -/-- The covering budget used in the path estimate is now instantiated | |
| 1260 | -from the actual adjacent labels and their coarsest common native index. -/ | |
| 1261 | -theorem adjacent_argumentCost_le (B : Plane ≃L[ℝ] Plane) {h D : ℝ} (hh : 0 ≤ h) | |
| 1262 | - {L M : SlotColoring.Label} (hadj : SlotColoring.Adj D L M) (hL : 4 ≤ L.1) | |
| 1263 | - (center : Plane) : | |
| 1264 | - argumentCost (bandGeometry B h L.1 | |
| 1265 | - (ChartScales.nativeIndex h L.1 - commonIndex h L.1 M.1) center) ≤ | |
| 1266 | - bandArgumentCost B (SlotColoring.nativeGap h) * ChartScales.S L.1 := | |
| 1267 | - bandGeometry_argumentCost_le B hh hL (adjacent_commonIndex_gap_le h hh hadj).1 center | |
| 1268 | - | |
| 1269 | 511 | end MeshChanges |
| 1270 | 512 | |
| 1271 | 513 | section NativeInstantiation |
| @@ -1279,10 +521,6 @@ noncomputable def nativeBasis : Plane ≃L[ℝ] Plane := | ||
| 1279 | 521 | dsimp only |
| 1280 | 522 | nlinarith [sq_nonneg (Real.sqrt 2 - 1)]) |
| 1281 | 523 | |
| 1282 | -theorem nativeBasis_radial : nativeBasis (1, 0) = PhysicalGraphBounds.radialDirection := by | |
| 1283 | - rw [nativeBasis, TorusAverages.slotChart_apply] | |
| 1284 | - simp | |
| 1285 | - | |
| 1286 | 524 | theorem nativeBasis_temporal : nativeBasis (0, 1) = PhysicalGraphBounds.timeDirection := by |
| 1287 | 525 | rw [nativeBasis, TorusAverages.slotChart_apply] |
| 1288 | 526 | simp |
| @@ -1297,23 +535,6 @@ theorem native_band_path (h : ℝ) (n gap : ℕ) (center : Plane) (k : Frequency | ||
| 1297 | 535 | PhysicalGraphBounds.timeDirection) := by |
| 1298 | 536 | rw [bandGeometry_path, nativeBasis_temporal] |
| 1299 | 537 | |
| 1300 | -/-- Any finite collection of active levels with the geometric level-span | |
| 1301 | -bound has a genuine coarsest member and a uniform covering budget to it. -/ | |
| 1302 | -theorem exists_coarsest_band (h : ℝ) (hh : 0 ≤ h) (levels : Finset ℕ) | |
| 1303 | - (hne : levels.Nonempty) (hpos : ∀ n ∈ levels, 1 ≤ n) | |
| 1304 | - (hspan : ∀ n ∈ levels, ∀ m ∈ levels, n ≤ m + 4) : | |
| 1305 | - ∃ c ∈ levels, ∀ n ∈ levels, | |
| 1306 | - ChartScales.nativeIndex h c ≤ ChartScales.nativeIndex h n ∧ | |
| 1307 | - ChartScales.nativeIndex h n - ChartScales.nativeIndex h c ≤ SlotColoring.nativeGap h := by | |
| 1308 | - obtain ⟨c, hc, hmin⟩ := levels.exists_min_image (ChartScales.nativeIndex h) hne | |
| 1309 | - refine ⟨c, hc, ?_⟩ | |
| 1310 | - intro n hn | |
| 1311 | - refine ⟨hmin n hn, ?_⟩ | |
| 1312 | - have hg := SlotColoring.nativeIndex_gap h hh (hpos n hn) (hpos c hc) | |
| 1313 | - (hspan n hn c hc) (hspan c hc n hn) | |
| 1314 | - change SlotColoring.nativeIndex h n - SlotColoring.nativeIndex h c ≤ _ | |
| 1315 | - omega | |
| 1316 | - | |
| 1317 | 538 | end NativeInstantiation |
| 1318 | 539 | |
| 1319 | 540 | end |
+0 −167 NavierStokes/CommonCoverSolve.lean View file
| @@ -63,11 +63,6 @@ theorem norm_coverPower_le (d : ℕ) (Y : Plane) : | ||
| 63 | 63 | rw [coverPower_apply] |
| 64 | 64 | exact SlotGeometry.norm_cover_pow_le d Y |
| 65 | 65 | |
| 66 | -theorem norm_coverPower_le_of_gap_le {d D : ℕ} (hd : d ≤ D) (Y : Plane) : | |
| 67 | - ‖coverPower d Y‖ ≤ (6 : ℝ) ^ D * ‖Y‖ := | |
| 68 | - (norm_coverPower_le d Y).trans (mul_le_mul_of_nonneg_right | |
| 69 | - (pow_le_pow_right₀ (by norm_num) hd) (norm_nonneg _)) | |
| 70 | - | |
| 71 | 66 | /-- Fixed geometry for a level whose gap above the common coarsest level is |
| 72 | 67 | `gap`. The columns of `basis` are the native radial and transverse vectors. -/ |
| 73 | 68 | structure Geometry where |
| @@ -369,16 +364,6 @@ theorem copySolve_zero_of_source_zero (k : Frequency) (p : P) (Y : Plane) | ||
| 369 | 364 | (hf : ∀ s ∈ Icc a b, d.source (p, g.path k Y s) = 0) : |
| 370 | 365 | d.copySolve g hab k (p, Y) = 0 := d.anchoredSolve_zero_of_source_zero g hab k p Y hf _ |
| 371 | 366 | |
| 372 | -theorem copySolve_preserves_slow_support {U : Set P} | |
| 373 | - (hf : ∀ p ∉ U, ∀ Y, d.source (p, Y) = 0) (k : Frequency) {p : P} (hp : p ∉ U) | |
| 374 | - (Y : Plane) : d.copySolve g hab k (p, Y) = 0 := | |
| 375 | - d.copySolve_zero_of_source_zero g hab k p Y (fun _ _ => hf p hp _) | |
| 376 | - | |
| 377 | -theorem copySolve_preserves_transverse_support (k : Frequency) {S : Set ℝ} (p : P) | |
| 378 | - (hf : ∀ xi ∉ S, ∀ eta ∈ Icc a b, d.source (p, g.point k (xi, eta)) = 0) | |
| 379 | - (Y : Plane) (hY : (g.coordinates k Y).1 ∉ S) : d.copySolve g hab k (p, Y) = 0 := | |
| 380 | - d.copySolve_zero_of_source_zero g hab k p Y (fun s hs => hf _ hY s hs) | |
| 381 | - | |
| 382 | 367 | end LinearData |
| 383 | 368 | |
| 384 | 369 | namespace Geometry |
| @@ -558,22 +543,6 @@ theorem commonSolve_periodic (κ : Plane → ℝ) (p : P) (hp : PeriodicAt d.sou | ||
| 558 | 543 | intro k |
| 559 | 544 | exact d.localizedCopy_deck g hab κ k n p hp Y |
| 560 | 545 | |
| 561 | -theorem commonSolve_preserves_slow_support (κ : Plane → ℝ) {U : Set P} | |
| 562 | - (hf : ∀ p ∉ U, ∀ Y, d.source (p, Y) = 0) {p : P} (hp : p ∉ U) (Y : Plane) : | |
| 563 | - d.commonSolve g hab κ (p, Y) = 0 := by | |
| 564 | - have hzero (k : Frequency) : d.localizedCopy g hab κ k (p, Y) = 0 := by | |
| 565 | - unfold localizedCopy | |
| 566 | - rw [d.copySolve_preserves_slow_support g hab hf k hp Y, smul_zero] | |
| 567 | - simp only [commonSolve, hzero, tsum_zero] | |
| 568 | - | |
| 569 | -theorem localizedCopy_preserves_transverse_support (κ : Plane → ℝ) (k : Frequency) | |
| 570 | - {S : Set ℝ} (p : P) | |
| 571 | - (hf : ∀ xi ∉ S, ∀ eta ∈ Icc a b, d.source (p, g.point k (xi, eta)) = 0) | |
| 572 | - (Y : Plane) (hY : (g.coordinates k Y).1 ∉ S) : | |
| 573 | - d.localizedCopy g hab κ k (p, Y) = 0 := by | |
| 574 | - unfold localizedCopy | |
| 575 | - rw [d.copySolve_preserves_transverse_support g hab k p hf Y hY, smul_zero] | |
| 576 | - | |
| 577 | 546 | omit [NormedSpace ℝ P] in |
| 578 | 547 | theorem commonSolve_eventually_eq_sum {κ : Plane → ℝ} (hκ : HasCompactSupport κ) |
| 579 | 548 | (p : P × Plane) : |
| @@ -632,15 +601,6 @@ theorem firstDescent_periodic {W : Type} (f : Plane → W) (hf : LatticePeriodic | ||
| 632 | 601 | noncomputable def torusDescent {W : Type} (f : Plane → W) (hf : LatticePeriodic f) |
| 633 | 602 | (z : Torus) : W := (firstDescent_periodic f hf z.1).lift z.2 |
| 634 | 603 | |
| 635 | -theorem torusDescent_coe {W : Type} (f : Plane → W) (hf : LatticePeriodic f) (Y : Plane) : | |
| 636 | - torusDescent f hf (TorusAverages.quotientPoint Y) = f Y := rfl | |
| 637 | - | |
| 638 | -theorem torusDescent_continuous {W : Type} [TopologicalSpace W] {f : Plane → W} | |
| 639 | - (hf : LatticePeriodic f) (hc : Continuous f) : Continuous (torusDescent f hf) := by | |
| 640 | - have hq : IsOpenQuotientMap (fun x : ℝ => (x : UnitAddCircle)) := | |
| 641 | - QuotientAddGroup.isOpenQuotientMap_mk | |
| 642 | - exact (hq.prodMap hq).isQuotientMap.continuous_iff.mpr hc | |
| 643 | - | |
| 644 | 604 | namespace LinearData |
| 645 | 605 | |
| 646 | 606 | variable {P V E : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| @@ -723,17 +683,6 @@ theorem commonSolve_contDiffOn {U : Set P} (hU : IsOpen U) | ||
| 723 | 683 | d.commonSolve_contDiffOn_of_copies g hab hU hcκ |
| 724 | 684 | (fun k => d.localizedCopy_contDiffOn g hab hU k hA hB hf hκ hsupp) |
| 725 | 685 | |
| 726 | -theorem commonOnTorus_continuous {U : Set P} (hU : IsOpen U) | |
| 727 | - (hA : ContDiffOn ℝ ∞ d.coefficient (U ×ˢ univ)) | |
| 728 | - (hB : ContDiffOn ℝ ∞ d.forcingMap (U ×ˢ univ)) | |
| 729 | - (hf : ContDiffOn ℝ ∞ d.source (U ×ˢ univ)) | |
| 730 | - {κ : Plane → ℝ} (hκ : ContDiff ℝ ∞ κ) (hcκ : HasCompactSupport κ) | |
| 731 | - (hsupp : tsupport κ ⊆ univ ×ˢ Ioo a b) (p : P) (hp : p ∈ U) | |
| 732 | - (hper : PeriodicAt d.source p) : Continuous (d.commonOnTorus g hab κ p hper) := by | |
| 733 | - apply torusDescent_continuous | |
| 734 | - exact (d.commonSolve_contDiffOn g hab hU hA hB hf hκ hcκ hsupp).continuousOn.comp_continuous | |
| 735 | - (continuous_const.prodMk continuous_id) (fun _ => ⟨hp, mem_univ _⟩) | |
| 736 | - | |
| 737 | 686 | end LinearData |
| 738 | 687 | |
| 739 | 688 | /-! ## Bounded covering gaps and actual derivative costs -/ |
| @@ -776,32 +725,12 @@ noncomputable def coordinateLinear : Plane →L[ℝ] Plane := | ||
| 776 | 725 | noncomputable def pointLinear : Plane →L[ℝ] Plane := |
| 777 | 726 | ((coverPower g.gap).symm : Plane →L[ℝ] Plane).comp (g.basis : Plane →L[ℝ] Plane) |
| 778 | 727 | |
| 779 | -noncomputable def horizontal : Plane →L[ℝ] Plane := (ContinuousLinearMap.fst ℝ ℝ ℝ).prod 0 | |
| 780 | - | |
| 781 | -noncomputable def pathLinear : Plane →L[ℝ] Plane := | |
| 782 | - g.pointLinear.comp (horizontal.comp g.coordinateLinear) | |
| 783 | - | |
| 784 | 728 | theorem coordinates_eq_affine (k : Frequency) (Y : Plane) : |
| 785 | 729 | g.coordinates k Y = g.coordinates k 0 + g.coordinateLinear Y := by |
| 786 | 730 | simp only [coordinates, coordinateLinear, ContinuousLinearMap.comp_apply, map_sub, map_zero] |
| 787 | 731 | simp only [ContinuousLinearEquiv.coe_coe] |
| 788 | 732 | abel |
| 789 | 733 | |
| 790 | -theorem point_eq_affine (k : Frequency) (Y : Plane) : | |
| 791 | - g.point k Y = g.point k 0 + g.pointLinear Y := by | |
| 792 | - simp only [point, pointLinear, ContinuousLinearMap.comp_apply, map_add, map_zero, add_zero, | |
| 793 | - ContinuousLinearEquiv.coe_coe] | |
| 794 | - | |
| 795 | -theorem path_eq_affine (k : Frequency) (eta : ℝ) (Y : Plane) : | |
| 796 | - g.path k Y eta = g.path k 0 eta + g.pathLinear Y := by | |
| 797 | - have harg : ((g.coordinates k Y).1, eta) = | |
| 798 | - ((g.coordinates k 0).1, eta) + horizontal (g.coordinateLinear Y) := by | |
| 799 | - rw [g.coordinates_eq_affine k Y] | |
| 800 | - ext <;> simp [horizontal] | |
| 801 | - change g.point k ((g.coordinates k Y).1, eta) = _ | |
| 802 | - rw [harg, g.point_add] | |
| 803 | - rfl | |
| 804 | - | |
| 805 | 734 | theorem norm_coordinateLinear_le {D : ℕ} (hd : g.gap ≤ D) : |
| 806 | 735 | ‖g.coordinateLinear‖ ≤ ‖(g.basis.symm : Plane →L[ℝ] Plane)‖ * coveringBound D := |
| 807 | 736 | (ContinuousLinearMap.opNorm_comp_le _ _).trans |
| @@ -812,44 +741,6 @@ theorem norm_pointLinear_le {D : ℕ} (hd : g.gap ≤ D) : | ||
| 812 | 741 | (ContinuousLinearMap.opNorm_comp_le _ _).trans |
| 813 | 742 | (mul_le_mul_of_nonneg_right (inverseCoveringNorm_le_bound hd) (norm_nonneg _)) |
| 814 | 743 | |
| 815 | -theorem norm_horizontal_le : ‖horizontal‖ ≤ 1 := by | |
| 816 | - apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one | |
| 817 | - intro Y | |
| 818 | - change max ‖Y.1‖ ‖(0 : ℝ)‖ ≤ 1 * ‖Y‖ | |
| 819 | - rw [norm_zero, max_eq_left (norm_nonneg _), one_mul] | |
| 820 | - exact norm_fst_le Y | |
| 821 | - | |
| 822 | -noncomputable def pathBound (D : ℕ) : ℝ := | |
| 823 | - (coveringBound D * ‖(g.basis : Plane →L[ℝ] Plane)‖) * | |
| 824 | - (‖(g.basis.symm : Plane →L[ℝ] Plane)‖ * coveringBound D) | |
| 825 | - | |
| 826 | -theorem pathBound_nonneg (D : ℕ) : 0 ≤ g.pathBound D := by | |
| 827 | - unfold pathBound | |
| 828 | - exact mul_nonneg (mul_nonneg (coveringBound_pos D).le (norm_nonneg _)) | |
| 829 | - (mul_nonneg (norm_nonneg _) (coveringBound_pos D).le) | |
| 830 | - | |
| 831 | -theorem norm_pathLinear_le {D : ℕ} (hd : g.gap ≤ D) : | |
| 832 | - ‖g.pathLinear‖ ≤ g.pathBound D := by | |
| 833 | - have hh : ‖horizontal.comp g.coordinateLinear‖ ≤ ‖g.coordinateLinear‖ := by | |
| 834 | - have hmul := mul_le_mul_of_nonneg_right norm_horizontal_le (norm_nonneg g.coordinateLinear) | |
| 835 | - exact (ContinuousLinearMap.opNorm_comp_le _ _).trans (by simpa only [one_mul] using hmul) | |
| 836 | - exact (ContinuousLinearMap.opNorm_comp_le _ _).trans | |
| 837 | - ((mul_le_mul_of_nonneg_left hh (norm_nonneg _)).trans | |
| 838 | - (mul_le_mul (g.norm_pointLinear_le hd) (g.norm_coordinateLinear_le hd) | |
| 839 | - (norm_nonneg _) (mul_nonneg (coveringBound_pos D).le (norm_nonneg _)))) | |
| 840 | - | |
| 841 | -/-- The common-variable path shifts have a bound depending only on the finite | |
| 842 | -index gap and the fixed native basis, never on the copy index. -/ | |
| 843 | -theorem path_displacement_le {D : ℕ} (hd : g.gap ≤ D) (k : Frequency) (Y : Plane) (eta : ℝ) : | |
| 844 | - ‖g.path k Y eta - Y‖ ≤ coveringBound D * | |
| 845 | - (|eta - (g.coordinates k Y).2| * ‖g.basis (0, 1)‖) := by | |
| 846 | - rw [g.path_eq_shift, add_sub_cancel_left] | |
| 847 | - have h := ((coverPower g.gap).symm : Plane →L[ℝ] Plane).le_opNorm | |
| 848 | - ((eta - (g.coordinates k Y).2) • g.basis (0, 1)) | |
| 849 | - exact h.trans (by | |
| 850 | - rw [norm_smul, Real.norm_eq_abs] | |
| 851 | - exact mul_le_mul_of_nonneg_right (inverseCoveringNorm_le_bound hd) (by positivity)) | |
| 852 | - | |
| 853 | 744 | end Geometry |
| 854 | 745 | |
| 855 | 746 | /-- All actual derivative orders of an affine pullback have the expected |
| @@ -872,64 +763,6 @@ theorem norm_iteratedFDeriv_affine_le {X Y W : Type} | ||
| 872 | 763 | (iteratedFDeriv ℝ n (fun z => f (c + z)) (L x)).norm_compContinuousLinearMap_le |
| 873 | 764 | (fun _ : Fin n => L) |
| 874 | 765 | |
| 875 | -theorem Geometry.norm_path_pullback_jet_le {W : Type} | |
| 876 | - [NormedAddCommGroup W] [NormedSpace ℝ W] (g : Geometry) {D : ℕ} (hd : g.gap ≤ D) | |
| 877 | - {f : Plane → W} (hf : ContDiff ℝ ∞ f) (k : Frequency) (eta : ℝ) (Y : Plane) (n : ℕ) : | |
| 878 | - ‖iteratedFDeriv ℝ n (fun Z => f (g.path k Z eta)) Y‖ ≤ | |
| 879 | - ‖iteratedFDeriv ℝ n f (g.path k Y eta)‖ * (g.pathBound D) ^ n := by | |
| 880 | - have h := norm_iteratedFDeriv_affine_le hf g.pathLinear (g.path k 0 eta) Y n | |
| 881 | - have heq : (fun Z => f (g.path k Z eta)) = | |
| 882 | - (fun Z => f (g.path k 0 eta + g.pathLinear Z)) := by | |
| 883 | - funext Z | |
| 884 | - rw [g.path_eq_affine k eta Z] | |
| 885 | - rw [← heq, ← g.path_eq_affine k eta Y] at h | |
| 886 | - exact h.trans (mul_le_mul_of_nonneg_left | |
| 887 | - (pow_le_pow_left₀ (norm_nonneg _) (g.norm_pathLinear_le hd) n) (norm_nonneg _)) | |
| 888 | - | |
| 889 | -/-- The verified weighted ODE estimate applies to this exact path solve. | |
| 890 | -All hypotheses are bounds on the actual pulled-back input coefficients and | |
| 891 | -source, rather than bounds or equations assumed for an output family. -/ | |
| 892 | -theorem LinearData.anchoredSolve_jets_le_polynomial | |
| 893 | - {P V E : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | |
| 894 | - [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 895 | - [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] | |
| 896 | - {a b : ℝ} (d : LinearData P V E) (g : Geometry) (hab : a ≤ b) | |
| 897 | - {U : Set P} (hU : IsOpen U) (k : Frequency) | |
| 898 | - (hA : ContDiffOn ℝ ∞ d.coefficient (U ×ˢ univ)) | |
| 899 | - (hB : ContDiffOn ℝ ∞ d.forcingMap (U ×ˢ univ)) | |
| 900 | - (hf : ContDiffOn ℝ ∞ d.source (U ×ˢ univ)) | |
| 901 | - {p : P × Plane} (hp : p.1 ∈ U) | |
| 902 | - (rate W : ℝ → ℝ) {μ S K w : ℝ} (hμ : 0 ≤ μ) | |
| 903 | - (hW : ∀ t, 0 < W t) (hdW : ∀ t, HasDerivAt W (rate t * W t) t) | |
| 904 | - (henergy : ∀ t : Icc a b, ∀ x : E, | |
| 905 | - ⟪x, d.coefficientAlong g k (p, t) x⟫_ℝ ≤ (rate t + μ) * ‖x‖ ^ 2) | |
| 906 | - (hC : Real.exp (μ * (b - a)) ≤ K) (hS : 1 ≤ S) (hK : 1 ≤ K) (hw : 0 ≤ w) | |
| 907 | - (hslot : b - a ≤ K * S) (m N : ℕ) | |
| 908 | - (hAj : ∀ j : ℕ, j ≤ N → ∀ t : Icc a b, | |
| 909 | - ‖iteratedFDeriv ℝ j (fun q => d.coefficientAlong g k (q, t)) p‖ ≤ K * S ^ m) | |
| 910 | - (hfj : ∀ j : ℕ, j ≤ N → ∀ t : Icc a b, | |
| 911 | - ‖iteratedFDeriv ℝ j (fun q => d.forcingAlong g k (q, t)) p‖ ≤ w * K * S ^ m * W t) | |
| 912 | - (n : ℕ) (hn : n ≤ N) (t : Icc a b) : | |
| 913 | - ‖iteratedFDeriv ℝ n (fun q => d.anchoredSolve g hab k q t) p‖ ≤ | |
| 914 | - w * ((2 : ℝ) ^ (N + 1) * K ^ 3) ^ (n + 1) * S ^ ((m + 1) * (n + 1)) * W t := by | |
| 915 | - have heq : (fun q => d.anchoredSolve g hab k q t) = | |
| 916 | - (fun q => SmoothPathFamily.odeFamily hab (d.coefficientAlong g k) (fun _ => 0) | |
| 917 | - (d.forcingAlong g k) q t) := by | |
| 918 | - funext q | |
| 919 | - exact ParametricODE.solutionExtension_coe hab _ _ _ t | |
| 920 | - rw [heq] | |
| 921 | - apply WeightedODEJets.norm_iteratedFDeriv_odeFamily_le_polynomial hab (U ×ˢ univ) univ | |
| 922 | - (hU.prod isOpen_univ) isOpen_univ (subset_univ _) | |
| 923 | - (d.coefficientAlong g k) (fun _ => 0) (d.forcingAlong g k) | |
| 924 | - (d.coefficientAlong_contDiffOn g k hA) contDiffOn_const | |
| 925 | - (d.forcingAlong_contDiffOn g k hB hf) ⟨hp, mem_univ _⟩ | |
| 926 | - rate W hμ hW hdW henergy hC hS hK hw hslot m N hAj _ hfj n hn t | |
| 927 | - intro j _ | |
| 928 | - simp only [iteratedFDeriv_fun_zero, Pi.zero_apply, norm_zero] | |
| 929 | - have hS0 : 0 ≤ S := zero_le_one.trans hS | |
| 930 | - have hK0 : 0 ≤ K := zero_le_one.trans hK | |
| 931 | - exact mul_nonneg (mul_nonneg (mul_nonneg hw hK0) (pow_nonneg hS0 m)) (hW a).le | |
| 932 | - | |
| 933 | 766 | /-! ## Concrete projected tangent equation -/ |
| 934 | 767 | |
| 935 | 768 | noncomputable def negativeTangentProjection {H : Type} [NormedAddCommGroup H] |
+0 −60 NavierStokes/CommonCoverWithin.lean View file
| @@ -28,16 +28,6 @@ variable {P V E : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 28 | 28 | |
| 29 | 29 | include hU hu hA hB hf |
| 30 | 30 | |
| 31 | -/-- The original anchored Volterra solve is smooth within the closed slow | |
| 32 | -domain and the entire closed pulse interval, including their corners. -/ | |
| 33 | -theorem anchoredSolve_contDiffOn_within (k : Frequency) : | |
| 34 | - ContDiffOn ℝ ∞ (fun z : (P × Plane) × ℝ => d.anchoredSolve g hab k z.1 z.2) | |
| 35 | - ((U ×ˢ univ) ×ˢ Icc a b) := | |
| 36 | - WithinJointODE.contDiffOn_actualSolution hab (hU.prod convex_univ) | |
| 37 | - (hu.prod uniqueDiffOn_univ) (d.coefficientAlong g k) (fun _ => 0) | |
| 38 | - (d.forcingAlong g k) (d.coefficientAlong_contDiffOn g k hA) contDiffOn_const | |
| 39 | - (d.forcingAlong_contDiffOn g k hB hf) | |
| 40 | - | |
| 41 | 31 | /-- The current copy argument with the unclamped endpoint-rescaled solve. -/ |
| 42 | 32 | noncomputable def copySolveRepresentative (k : Frequency) (p : P × Plane) : E := |
| 43 | 33 | JointODE.reparamSolution a (d.coefficientAlong g k) (fun _ => 0) |
| @@ -74,54 +64,4 @@ theorem copySolve_contDiffOn_closed_within (k : Frequency) : | ||
| 74 | 64 | exact (d.copySolveRepresentative_eq g hab k hA.continuousOn hB.continuousOn hf.continuousOn |
| 75 | 65 | hp.1 hp.2).symm |
| 76 | 66 | |
| 77 | -theorem copySolve_contDiffOn_current_within (k : Frequency) | |
| 78 | - {D : Set (P × Plane)} (hDU : ∀ p ∈ D, p.1 ∈ U) | |
| 79 | - (hslot : ∀ p ∈ D, (g.coordinates k p.2).2 ∈ Icc a b) : | |
| 80 | - ContDiffOn ℝ ∞ (d.copySolve g hab k) D := | |
| 81 | - (d.copySolve_contDiffOn_closed_within g hab hU hu hA hB hf k).mono | |
| 82 | - (fun p hp => ⟨hDU p hp, hslot p hp⟩) | |
| 83 | - | |
| 84 | -/-- Multiplication by the original pulse cutoff identifies the smooth | |
| 85 | -representative with the actual localized inverse everywhere in the slow | |
| 86 | -domain. This leaves the original construction unchanged. -/ | |
| 87 | -theorem localizedCopy_contDiffOn_within (k : Frequency) | |
| 88 | - {κ : Plane → ℝ} (hκ : ContDiff ℝ ∞ κ) | |
| 89 | - (hsupp : tsupport κ ⊆ univ ×ˢ Ioo a b) : | |
| 90 | - ContDiffOn ℝ ∞ (d.localizedCopy g hab κ k) (U ×ˢ univ) := by | |
| 91 | - have hc : ContDiffOn ℝ ∞ (fun p : P × Plane => κ (g.coordinates k p.2)) | |
| 92 | - (U ×ˢ univ) := (hκ.comp ((g.coordinates_contDiff k).comp contDiff_snd)).contDiffOn | |
| 93 | - have hh := hc.smul (d.copySolveRepresentative_contDiffOn g hU hu hA hB hf k (a := a)) | |
| 94 | - apply hh.congr | |
| 95 | - intro p hp | |
| 96 | - change κ (g.coordinates k p.2) • d.copySolve g hab k p = | |
| 97 | - κ (g.coordinates k p.2) • d.copySolveRepresentative g (a := a) k p | |
| 98 | - by_cases hz : κ (g.coordinates k p.2) = 0 | |
| 99 | - · simp only [hz, zero_smul] | |
| 100 | - · rw [d.copySolveRepresentative_eq g hab k hA.continuousOn hB.continuousOn hf.continuousOn | |
| 101 | - hp.1 (Ioo_subset_Icc_self (hsupp (subset_tsupport κ hz)).2)] | |
| 102 | - | |
| 103 | -/-- The actual locally finite common-torus sum has all one-sided slow jets. | |
| 104 | -The source need only descend to the common torus; no band descent is added. -/ | |
| 105 | -theorem commonSolve_contDiffOn_within | |
| 106 | - {κ : Plane → ℝ} (hκ : ContDiff ℝ ∞ κ) (hcκ : HasCompactSupport κ) | |
| 107 | - (hsupp : tsupport κ ⊆ univ ×ˢ Ioo a b) : | |
| 108 | - ContDiffOn ℝ ∞ (d.commonSolve g hab κ) (U ×ˢ univ) := by | |
| 109 | - intro p hp | |
| 110 | - obtain ⟨s, hs⟩ := d.commonSolve_eventually_eq_sum g hab hcκ p | |
| 111 | - have hsum : ContDiffWithinAt ℝ ∞ (fun q => ∑ k ∈ s, d.localizedCopy g hab κ k q) | |
| 112 | - (U ×ˢ univ) p := ContDiffWithinAt.sum (fun k _ => | |
| 113 | - d.localizedCopy_contDiffOn_within g hab hU hu hA hB hf k hκ hsupp p hp) | |
| 114 | - exact hsum.congr_of_eventuallyEq (hs.filter_mono nhdsWithin_le_nhds) hs.self_of_nhds | |
| 115 | - | |
| 116 | -theorem commonSolve_boundary_jet_limit | |
| 117 | - {κ : Plane → ℝ} (hκ : ContDiff ℝ ∞ κ) (hcκ : HasCompactSupport κ) | |
| 118 | - (hsupp : tsupport κ ⊆ univ ×ˢ Ioo a b) | |
| 119 | - {O : Set P} (hO : IsOpen O) (hOU : O ⊆ U) | |
| 120 | - (n : ℕ) {p : P × Plane} (hp : p.1 ∈ U) : | |
| 121 | - Tendsto (iteratedFDeriv ℝ n (d.commonSolve g hab κ)) (𝓝[O ×ˢ univ] p) | |
| 122 | - (𝓝 (iteratedFDerivWithin ℝ n (d.commonSolve g hab κ) (U ×ˢ univ) p)) := | |
| 123 | - WithinJetClosure.tendsto_iteratedFDeriv (hu.prod uniqueDiffOn_univ) | |
| 124 | - (hO.prod isOpen_univ) (Set.prod_mono hOU Subset.rfl) | |
| 125 | - (d.commonSolve_contDiffOn_within g hab hU hu hA hB hf hκ hcκ hsupp) n ⟨hp, mem_univ _⟩ | |
| 126 | - | |
| 127 | 67 | end NavierStokes.CommonCoverSolve.LinearData |
+0 −58 NavierStokes/CompactSmoothFamily.lean View file
| @@ -196,70 +196,12 @@ theorem contDiffOn_family_of_joint (K : Set Z) [CompactSpace K] (U : Set P) (V : | ||
| 196 | 196 | exact contDiffOn_family_nat K U V hU hV hK n F |
| 197 | 197 | (hF.of_le (ENat.natCast_le_of_coe_top_le_withTop le_rfl n)) |
| 198 | 198 | |
| 199 | -/-- Evaluating an actual compact-family jet gives the genuine parameter jet | |
| 200 | -of the original fixed-point slice. -/ | |
| 201 | -theorem iteratedFDeriv_family_apply (K : Set Z) [CompactSpace K] (U : Set P) (V : Set Z) | |
| 202 | - (hU : IsOpen U) (hV : IsOpen V) (hK : K ⊆ V) | |
| 203 | - (F : P × Z → E) (hF : ContDiffOn ℝ ∞ F (U ×ˢ V)) | |
| 204 | - {p : P} (hp : p ∈ U) (k : ℕ) (v : Fin k → P) (z : K) : | |
| 205 | - (iteratedFDeriv ℝ k (family K F) p v) z = | |
| 206 | - iteratedFDeriv ℝ k (fun q => F (q, z)) p v := by | |
| 207 | - let ev : C(K, E) →L[ℝ] E := ContinuousMap.evalCLM ℝ z | |
| 208 | - have hfamily := contDiffOn_family_of_joint K U V hU hV hK F hF | |
| 209 | - have hcomp := ev.iteratedFDerivWithin_comp_left (hfamily p hp) hU.uniqueDiffOn hp | |
| 210 | - (ENat.natCast_le_of_coe_top_le_withTop le_rfl k) | |
| 211 | - have hsame : EqOn (ev ∘ family K F) (fun q => F (q, z)) U := by | |
| 212 | - intro q hq | |
| 213 | - exact family_apply K F q | |
| 214 | - (slice_continuous (hF.continuousOn.mono (Set.prod_mono Subset.rfl hK)) hq) z | |
| 215 | - have heq := iteratedFDerivWithin_congr (𝕜 := ℝ) hsame hp k | |
| 216 | - have hv := congrArg (fun L : P [×k]→L[ℝ] E => L v) (hcomp.symm.trans heq) | |
| 217 | - change (iteratedFDerivWithin ℝ k (family K F) U p v) z = | |
| 218 | - iteratedFDerivWithin ℝ k (fun q => F (q, z)) U p v at hv | |
| 219 | - simpa only [iteratedFDerivWithin_of_isOpen k hU hp] using hv | |
| 220 | - | |
| 221 | 199 | omit [NormedSpace ℝ P] [NormedSpace ℝ Z] [NormedSpace ℝ E] in |
| 222 | 200 | theorem family_apply_of_joint (K : Set Z) {U : Set P} {V : Set Z} |
| 223 | 201 | (hK : K ⊆ V) (F : P × Z → E) (hF : ContinuousOn F (U ×ˢ V)) |
| 224 | 202 | {p : P} (hp : p ∈ U) (z : K) : family K F p z = F (p, z) := |
| 225 | 203 | family_apply K F p (slice_continuous (hF.mono (Set.prod_mono Subset.rfl hK)) hp) z |
| 226 | 204 | |
| 227 | -/-- An arbitrary open neighborhood of `U × K` suffices; a fixed product | |
| 228 | -neighborhood is extracted locally at each parameter using compactness. -/ | |
| 229 | -theorem contDiffOn_family_of_neighborhood (K : Set Z) [CompactSpace K] | |
| 230 | - (U : Set P) (W : Set (P × Z)) (hW : IsOpen W) (hUK : U ×ˢ K ⊆ W) | |
| 231 | - (F : P × Z → E) (hF : ContDiffOn ℝ ∞ F W) : | |
| 232 | - ContDiffOn ℝ ∞ (family K F) U := by | |
| 233 | - intro p hp | |
| 234 | - have hKc : IsCompact K := isCompact_iff_compactSpace.mpr inferInstance | |
| 235 | - have hs : ({p} : Set P) ×ˢ K ⊆ W := by | |
| 236 | - rintro ⟨q, z⟩ ⟨hq, hz⟩ | |
| 237 | - have hqp : q = p := by simpa only [mem_singleton_iff] using hq | |
| 238 | - subst q | |
| 239 | - exact hUK ⟨hp, hz⟩ | |
| 240 | - obtain ⟨U', V', hU', hV', hpU, hKV, hsub⟩ := | |
| 241 | - generalized_tube_lemma isCompact_singleton hKc hW hs | |
| 242 | - have hp' : p ∈ U' := hpU (by simp) | |
| 243 | - have hlocal := contDiffOn_family_of_joint K U' V' hU' hV' hKV F (hF.mono hsub) | |
| 244 | - exact (hlocal.contDiffAt (hU'.mem_nhds hp')).contDiffWithinAt | |
| 245 | - | |
| 246 | -theorem iteratedFDeriv_family_apply_of_neighborhood (K : Set Z) [CompactSpace K] | |
| 247 | - (U : Set P) (W : Set (P × Z)) (hW : IsOpen W) (hUK : U ×ˢ K ⊆ W) | |
| 248 | - (F : P × Z → E) (hF : ContDiffOn ℝ ∞ F W) | |
| 249 | - {p : P} (hp : p ∈ U) (k : ℕ) (v : Fin k → P) (z : K) : | |
| 250 | - (iteratedFDeriv ℝ k (family K F) p v) z = | |
| 251 | - iteratedFDeriv ℝ k (fun q => F (q, z)) p v := by | |
| 252 | - have hKc : IsCompact K := isCompact_iff_compactSpace.mpr inferInstance | |
| 253 | - have hs : ({p} : Set P) ×ˢ K ⊆ W := by | |
| 254 | - rintro ⟨q, z⟩ ⟨hq, hz⟩ | |
| 255 | - have hqp : q = p := by simpa only [mem_singleton_iff] using hq | |
| 256 | - subst q | |
| 257 | - exact hUK ⟨hp, hz⟩ | |
| 258 | - obtain ⟨U', V', hU', hV', hpU, hKV, hsub⟩ := | |
| 259 | - generalized_tube_lemma isCompact_singleton hKc hW hs | |
| 260 | - exact iteratedFDeriv_family_apply K U' V' hU' hV' hKV F (hF.mono hsub) | |
| 261 | - (hpU (by simp)) k v z | |
| 262 | - | |
| 263 | 205 | end |
| 264 | 206 | |
| 265 | 207 | end NavierStokes.CompactSmoothFamily |
+0 −5 NavierStokes/ConeAlgebra.lean View file
| @@ -30,11 +30,6 @@ theorem rootTerm_sq {P J : ℝ} (hP : 2 < P) : | ||
| 30 | 30 | unfold rootTerm |
| 31 | 31 | rw [mul_pow, sq_abs, Real.sq_sqrt hrad] |
| 32 | 32 | |
| 33 | -theorem boundary_polynomial (P J v : ℝ) : | |
| 34 | - 2 * (P - v) ^ 2 - (v - 2) * J ^ 2 = | |
| 35 | - 2 * v ^ 2 - (4 * P + J ^ 2) * v + 2 * P ^ 2 + 2 * J ^ 2 := by | |
| 36 | - ring | |
| 37 | - | |
| 38 | 33 | theorem square_difference (P J v : ℝ) : |
| 39 | 34 | (P + J ^ 2 / 4 - v) ^ 2 - J ^ 2 * ((P - 2) / 2 + J ^ 2 / 16) = |
| 40 | 35 | (P - v) ^ 2 - (v - 2) * J ^ 2 / 2 := by |
+0 −321 NavierStokes/ConstructedSlowBase.lean View file
| @@ -42,9 +42,6 @@ noncomputable def potential (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : | ||
| 42 | 42 | ProblemStatement.VelocityField := |
| 43 | 43 | AxisymmetricFields.potential (streamFactor a h C d) (swirlPotential a h C d) |
| 44 | 44 | |
| 45 | -theorem velocity_eq_curl_potential (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : | |
| 46 | - baseVelocity a h C d = SpatialCurl.spatialCurl (potential a h C d) := rfl | |
| 47 | - | |
| 48 | 45 | theorem potential_smooth {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 49 | 46 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) (C : ℝ) : |
| 50 | 47 | ContDiffOn ℝ ∞ (potential a h C d) BaseResidual.past := |
| @@ -215,46 +212,6 @@ theorem height_pos : 0 < F.data.h := W.axis.small.h_pos | ||
| 215 | 212 | |
| 216 | 213 | theorem height_lt_half : F.data.h < 1 / 2 := by linarith [W.axis.small.h_le] |
| 217 | 214 | |
| 218 | -theorem nominal_coefficientMatches : | |
| 219 | - BasePrefixIdentity.CoefficientMatches F.data.h W.axis.normalization | |
| 220 | - (nominalCoefficients W) (asSlowProfiles (nominalScheme W)) := | |
| 221 | - repaired_coefficientMatches (nominalLocalization W) (nominalBaseAgreement W) | |
| 222 | - (nominalZeroOrder W) (nominalParameters_contains W) rfl | |
| 223 | - | |
| 224 | -theorem nominal_finiteIdentities : | |
| 225 | - BaseResidual.FiniteIdentities F.data.h W.axis.normalization | |
| 226 | - (nominalCoefficients W) (asSlowProfiles (nominalScheme W)) := by | |
| 227 | - apply repaired_finiteIdentities (nominalLocalization W) (nominalBaseAgreement W) | |
| 228 | - (nominalZeroOrder W) (nominalParameters_contains W) (height_pos W) (height_lt_half W) rfl | |
| 229 | - intro n w hw | |
| 230 | - exact nominal_pressureCoefficient W n hw.1 | |
| 231 | - (nominalParameters_contains W ⟨hw.2.1.le, hw.2.2.le⟩) | |
| 232 | - | |
| 233 | -theorem nominal_stressZeroCore : | |
| 234 | - BaseResidual.StressZeroCore (nominalCoefficients W) (nominalInner W / 8) := | |
| 235 | - repaired_stressZeroCore (nominalLocalization W) (nominalBaseAgreement W) | |
| 236 | - (nominalZeroOrder W) (nominalParameters_contains W) | |
| 237 | - | |
| 238 | -theorem nominal_jetRate {l : Filter ProblemStatement.SpaceTime} {a : ℕ → ℕ} {hi : ℝ} | |
| 239 | - (P : BaseResidual.PhysicalApproach l F.data.h 0 hi) | |
| 240 | - (ha : AdmissibleScales F.data.h (coefficientBundle W.axis.normalization (nominalCoefficients W)) | |
| 241 | - (innerBox 0 hi) a) (m : ℕ) (n : ℝ) (hn : 0 ≤ n) : | |
| 242 | - DiagonalResidual.JetRate l (fun z => (cartesianChart F.data.h z).1) | |
| 243 | - (BaseResidual.baseResidual a F.data.h W.axis.normalization (nominalCoefficients W)) m n := | |
| 244 | - repaired_jetRate (nominalLocalization W) (nominalBaseAgreement W) (nominalZeroOrder W) | |
| 245 | - (nominalParameters_contains W) (height_pos W) (height_lt_half W) P ha | |
| 246 | - (nominal_finiteIdentities W) m n hn | |
| 247 | - | |
| 248 | -theorem nominal_allJetsFlat {l : Filter ProblemStatement.SpaceTime} {a : ℕ → ℕ} {hi : ℝ} | |
| 249 | - (P : BaseResidual.PhysicalApproach l F.data.h 0 hi) | |
| 250 | - (ha : AdmissibleScales F.data.h (coefficientBundle W.axis.normalization (nominalCoefficients W)) | |
| 251 | - (innerBox 0 hi) a) : | |
| 252 | - ResidualStability.AllJetsFlat l (fun z => (cartesianChart F.data.h z).1) | |
| 253 | - (BaseResidual.baseResidual a F.data.h W.axis.normalization (nominalCoefficients W)) := | |
| 254 | - repaired_allJetsFlat (nominalLocalization W) (nominalBaseAgreement W) (nominalZeroOrder W) | |
| 255 | - (nominalParameters_contains W) (height_pos W) (height_lt_half W) P ha | |
| 256 | - (nominal_finiteIdentities W) | |
| 257 | - | |
| 258 | 215 | theorem nominal_higherInteriorSupport {left right : ℝ} |
| 259 | 216 | (hl : Real.exp left < nominalInner W / 8) (hr : nominalOuterX W < Real.exp right) : |
| 260 | 217 | BaseResidual.HigherInteriorSupport (nominalCoefficients W) left right := by |
| @@ -275,63 +232,6 @@ theorem nominal_leading_axis {eta : ℝ} (heta : eta ∈ Icc (-1 : ℝ) 1) : | ||
| 275 | 232 | _ = _ := W.axis.natural.profile.family.natural.U_axis eta |
| 276 | 233 | (NaturalAxisCoefficients.original_interval_interior heta) |
| 277 | 234 | |
| 278 | -theorem nominal_leading_origin : (nominalCoefficients W).axial 0 (0, 0) = W.axis.j := by | |
| 279 | - simpa using nominal_leading_axis W (eta := 0) (by constructor <;> norm_num) | |
| 280 | - | |
| 281 | -theorem nominal_origin {a : ℕ → ℕ} (ha : StrictMono a) {t : ℝ} (ht : t < 1) : | |
| 282 | - baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W) (t, 0) = | |
| 283 | - ((1 - t) ^ (-CoordinateAlgebra.A F.data.h) * W.axis.j) • | |
| 284 | - ProblemStatement.coordinateVector 2 := by | |
| 285 | - rw [BaseResidual.baseVelocity_at_origin ha (height_pos W) (height_lt_half W) | |
| 286 | - (nominalCoefficients_smooth W) W.axis.normalization | |
| 287 | - (fun _ hn => (nominalCoefficients_axis W hn (by norm_num : |(0 : ℝ)| ≤ 1)).2.1) ht, | |
| 288 | - nominal_leading_origin] | |
| 289 | - | |
| 290 | -theorem nominal_axis_tendsto {a : ℕ → ℕ} (ha : StrictMono a) : | |
| 291 | - Tendsto (fun t : ℝ => ‖baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W) (t, 0)‖) | |
| 292 | - (𝓝[<] 1) atTop := by | |
| 293 | - apply BaseResidual.baseVelocity_axis_tendsto_atTop ha (height_pos W) (height_lt_half W) | |
| 294 | - (nominalCoefficients_smooth W) W.axis.normalization | |
| 295 | - (fun _ hn => (nominalCoefficients_axis W hn (by norm_num : |(0 : ℝ)| ≤ 1)).2.1) | |
| 296 | - rw [nominal_leading_origin] | |
| 297 | - exact W.axis.small.j_pos | |
| 298 | - | |
| 299 | -theorem nominal_speedUnbounded {a : ℕ → ℕ} (ha : StrictMono a) : | |
| 300 | - ProblemStatement.SpeedUnboundedAtOne | |
| 301 | - (baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W)) := | |
| 302 | - NaturalCore.speedUnbounded_of_axis_tendsto (nominal_axis_tendsto W ha) | |
| 303 | - | |
| 304 | -theorem nominal_velocity_smooth {a : ℕ → ℕ} (ha : StrictMono a) : | |
| 305 | - ContDiffOn ℝ ∞ (baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W)) | |
| 306 | - BaseResidual.past := | |
| 307 | - baseVelocity_smooth ha (height_pos W) (height_lt_half W) (nominalCoefficients_smooth W) | |
| 308 | - W.axis.normalization | |
| 309 | - | |
| 310 | -theorem nominal_pressure_smooth {a : ℕ → ℕ} (ha : StrictMono a) : | |
| 311 | - ContDiffOn ℝ ∞ (basePressure a F.data.h W.axis.normalization (nominalCoefficients W)) | |
| 312 | - BaseResidual.past := | |
| 313 | - BaseResidual.basePressure_smooth ha (height_pos W) (height_lt_half W) | |
| 314 | - (nominalCoefficients_smooth W) W.axis.normalization | |
| 315 | - | |
| 316 | -theorem nominal_stressForce_smooth {a : ℕ → ℕ} (ha : StrictMono a) : | |
| 317 | - ContDiffOn ℝ ∞ (BaseResidual.baseStressForce a F.data.h W.axis.normalization (nominalCoefficients W)) | |
| 318 | - BaseResidual.past := | |
| 319 | - BaseResidual.baseStressForce_smooth_past ha (height_pos W) (height_lt_half W) | |
| 320 | - (div_pos (nominalInner_pos W) (by norm_num)) (nominalCoefficients_smooth W) (nominal_stressZeroCore W) | |
| 321 | - | |
| 322 | -theorem nominal_residual_smooth {a : ℕ → ℕ} (ha : StrictMono a) : | |
| 323 | - ContDiffOn ℝ ∞ (BaseResidual.baseResidual a F.data.h W.axis.normalization (nominalCoefficients W)) | |
| 324 | - BaseResidual.past := | |
| 325 | - (ResidualRegularity.contDiffOn_residual BaseResidual.past_isOpen | |
| 326 | - (nominal_velocity_smooth W ha) (nominal_pressure_smooth W ha)).sub (nominal_stressForce_smooth W ha) | |
| 327 | - | |
| 328 | -theorem nominal_divergence_zero {a : ℕ → ℕ} (ha : StrictMono a) {t : ℝ} (ht : t < 1) | |
| 329 | - (x : ProblemStatement.Space) : | |
| 330 | - ProblemStatement.spatialDivergence | |
| 331 | - (baseVelocity a F.data.h W.axis.normalization (nominalCoefficients W)) t x = 0 := | |
| 332 | - baseVelocity_divergence_zero ha (height_pos W) (height_lt_half W) | |
| 333 | - (nominalCoefficients_smooth W) W.axis.normalization ht x | |
| 334 | - | |
| 335 | 235 | end Nominal |
| 336 | 236 | |
| 337 | 237 | section Modified |
| @@ -342,12 +242,6 @@ variable {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) | ||
| 342 | 242 | |
| 343 | 243 | include M |
| 344 | 244 | |
| 345 | -theorem modified_coefficientMatches : | |
| 346 | - BasePrefixIdentity.CoefficientMatches F.data.h W.axis.normalization | |
| 347 | - (modifiedCoefficients W Q M) (asSlowProfiles (modifiedScheme W Q M)) := | |
| 348 | - repaired_coefficientMatches (modifiedLocalization W Q M) (modifiedBaseAgreement W Q M) | |
| 349 | - (modifiedZeroOrder W Q M) M.contains rfl | |
| 350 | - | |
| 351 | 245 | theorem modified_finiteIdentities : |
| 352 | 246 | BaseResidual.FiniteIdentities F.data.h W.axis.normalization |
| 353 | 247 | (modifiedCoefficients W Q M) (asSlowProfiles (modifiedScheme W Q M)) := by |
| @@ -356,22 +250,6 @@ theorem modified_finiteIdentities : | ||
| 356 | 250 | intro n w hw |
| 357 | 251 | exact modified_pressureCoefficient W Q M n hw.1 (M.contains ⟨hw.2.1.le, hw.2.2.le⟩) |
| 358 | 252 | |
| 359 | -theorem modified_stressZeroCore : | |
| 360 | - BaseResidual.StressZeroCore (modifiedCoefficients W Q M) (nominalInner W / 8) := | |
| 361 | - repaired_stressZeroCore (modifiedLocalization W Q M) (modifiedBaseAgreement W Q M) | |
| 362 | - (modifiedZeroOrder W Q M) M.contains | |
| 363 | - | |
| 364 | -theorem modified_jetRate {l : Filter ProblemStatement.SpaceTime} {a : ℕ → ℕ} {upper : ℝ} | |
| 365 | - (P : BaseResidual.PhysicalApproach l F.data.h 0 upper) | |
| 366 | - (ha : AdmissibleScales F.data.h | |
| 367 | - (coefficientBundle W.axis.normalization (modifiedCoefficients W Q M)) (innerBox 0 upper) a) | |
| 368 | - (m : ℕ) (n : ℝ) (hn : 0 ≤ n) : | |
| 369 | - DiagonalResidual.JetRate l (fun z => (cartesianChart F.data.h z).1) | |
| 370 | - (BaseResidual.baseResidual a F.data.h W.axis.normalization (modifiedCoefficients W Q M)) m n := | |
| 371 | - repaired_jetRate (modifiedLocalization W Q M) (modifiedBaseAgreement W Q M) | |
| 372 | - (modifiedZeroOrder W Q M) M.contains (height_pos W) (height_lt_half W) P ha | |
| 373 | - (modified_finiteIdentities W Q M) m n hn | |
| 374 | - | |
| 375 | 253 | theorem modified_allJetsFlat {l : Filter ProblemStatement.SpaceTime} {a : ℕ → ℕ} {upper : ℝ} |
| 376 | 254 | (P : BaseResidual.PhysicalApproach l F.data.h 0 upper) |
| 377 | 255 | (ha : AdmissibleScales F.data.h |
| @@ -463,50 +341,6 @@ theorem weighted_on_actual_scales {a : ℕ → ℕ} {h C : ℝ} (hh : 0 < h) | ||
| 463 | 341 | (activeZeta_edgeJets (Real.exp_lt_exp.mp ((hl.trans_le hi).trans hr)) hc) |
| 464 | 342 | (higherStressQuotient_smooth_of_support hd hc hs) ha |
| 465 | 343 | |
| 466 | -/-- The terminal amplitude and the normalization of the slow swirl field | |
| 467 | -are independent constants. This proof keeps them independent. -/ | |
| 468 | -theorem firstStress_edgeJets (Cedge : ℝ) (tail : OutgoingTail.TailData) (y0 : ℝ) | |
| 469 | - {d : Coefficients} (hd : SmoothCoefficients d) | |
| 470 | - {c left width inner : ℝ} (hc : 0 < c) (hw : 0 < width) | |
| 471 | - (hl : Real.exp left < inner) (hi : inner ≤ Real.exp (y0 + 3 - width)) | |
| 472 | - (hz : ∀ w : Inner, w.1 < inner → stressPair d 1 w = 0) | |
| 473 | - (he : ∀ w ∈ outerWindow (Real.exp (y0 + 3 - width)) (y0 + 3), | |
| 474 | - stressPair d 1 =ᶠ[𝓝 w] (fun v => (SlowFirstOrderEdge.stressX Cedge tail y0 v, 0))) : | |
| 475 | - PolynomialEdgeJets (activeWindow left (y0 + 3)) | |
| 476 | - (activeZeta c left (y0 + 3)) (activeDelta left (y0 + 3)) (stressPair d 1) := by | |
| 477 | - have hlog : left < y0 + 3 - width := Real.exp_lt_exp.mp (hl.trans_le hi) | |
| 478 | - exact edgeJets_of_outer_collar (stressPair_smooth hd 1) hc hl hi | |
| 479 | - (Real.exp_lt_exp.mpr (by linarith)) hz | |
| 480 | - (firstOrder_pair_outer_edgeJets Cedge tail y0 hc hw hlog he) | |
| 481 | - | |
| 482 | -/-- Choose one sequence for the actual seven-component stream bundle and | |
| 483 | -the higher stress quotients. The weighted estimate is then derived. -/ | |
| 484 | -theorem exists_common_scales_from_primitive {h : ℝ} (hh : 0 < h) (Cbase Cedge : ℝ) | |
| 485 | - {d : Coefficients} (hd : SmoothCoefficients d) (tail : OutgoingTail.TailData) | |
| 486 | - (y0 : ℝ) {c left width inner : ℝ} (hc : 0 < c) (hw : 0 < width) | |
| 487 | - (hl : Real.exp left < inner) (hi : inner ≤ Real.exp (y0 + 3 - width)) | |
| 488 | - (hs : HigherInteriorSupport d left (y0 + 3)) | |
| 489 | - (hz : ∀ w : Inner, w.1 < inner → stressPair d 1 w = 0) | |
| 490 | - (he : ∀ w ∈ outerWindow (Real.exp (y0 + 3 - width)) (y0 + 3), | |
| 491 | - stressPair d 1 =ᶠ[𝓝 w] (fun v => (SlowFirstOrderEdge.stressX Cedge tail y0 v, 0))) | |
| 492 | - {K : Set Inner} (hK : IsCompact K) (hWK : activeWindow left (y0 + 3) ⊆ K) (B : ℕ) : | |
| 493 | - ∃ a : ℕ → ℕ, B ≤ a 0 ∧ | |
| 494 | - AdmissibleScales h (weightedBundle Cbase d (activeZeta c left (y0 + 3))) K a ∧ | |
| 495 | - AdmissibleScales h (coefficientBundle Cbase d) K a ∧ | |
| 496 | - WeightedStressBound a h d c left (y0 + 3) := by | |
| 497 | - have hq := higherStressQuotient_smooth_of_support hd hc hs | |
| 498 | - obtain ⟨a, ha0, ha⟩ := exists_admissibleScales (weightedBundle_smooth hd hq Cbase) hh hK B | |
| 499 | - refine ⟨a, ha0, ha, weightedBundle_base_scales hd hq ha, ?_⟩ | |
| 500 | - have hlog : left < y0 + 3 - width := Real.exp_lt_exp.mp (hl.trans_le hi) | |
| 501 | - let O : Set Inner := Ioo (Real.exp left) (Real.exp (y0 + 3)) ×ˢ univ | |
| 502 | - have hO : IsOpen O := isOpen_Ioo.prod isOpen_univ | |
| 503 | - have hWO : activeWindow left (y0 + 3) ⊆ O := fun _ hw => ⟨hw.1, mem_univ _⟩ | |
| 504 | - exact normalizedTensor_weighted_bound hh hd hK hWK hO hWO | |
| 505 | - (activeZeta_smooth hc left (y0 + 3)) (fun _ hw => radialWeight_pos hw.1) | |
| 506 | - (fun _ hw => activeDelta_bounds hw) | |
| 507 | - (firstStress_edgeJets Cedge tail y0 hd hc hw hl hi hz he) | |
| 508 | - (activeZeta_edgeJets (by linarith) hc) hq ha | |
| 509 | - | |
| 510 | 344 | end CommonWeightedSchedule |
| 511 | 345 | |
| 512 | 346 | section FixedGeometry |
| @@ -562,13 +396,6 @@ theorem activeLeft_before_collar : activeLeft W < terminalShift W + 2 := | ||
| 562 | 396 | Real.exp_lt_exp.mp ((activeLeft_margin W).trans |
| 563 | 397 | ((core_before_outer W).trans (outer_before_collar W))) |
| 564 | 398 | |
| 565 | -theorem activeEdges_ordered : activeLeft W < activeRight W := by | |
| 566 | - apply Real.exp_lt_exp.mp | |
| 567 | - exact (activeLeft_margin W).trans ((core_before_outer W).trans (outer_before_upper W)) | |
| 568 | - | |
| 569 | -theorem scaleUpper_pos (upper : ℝ) : 0 < scaleUpper W upper := | |
| 570 | - (Real.exp_pos _).trans_le (le_max_right _ _) | |
| 571 | - | |
| 572 | 399 | theorem activeWindow_subset_box (upper : ℝ) : |
| 573 | 400 | BaseResidual.activeWindow (activeLeft W) (activeRight W) ⊆ innerBox 0 (scaleUpper W upper) := by |
| 574 | 401 | intro w hw |
| @@ -628,79 +455,12 @@ theorem nominalScales_admissible : | ||
| 628 | 455 | weightedBundle_base_scales (nominalCoefficients_smooth W) (nominal_quotients_smooth W hc) |
| 629 | 456 | (nominalScales_spec W c hc upper B).2 |
| 630 | 457 | |
| 631 | -theorem nominalScales_strictMono : StrictMono (nominalScales W c hc upper B) := | |
| 632 | - (nominalScales_spec W c hc upper B).2.strictMono | |
| 633 | - | |
| 634 | 458 | theorem nominalScales_admissible_on {lo hi : ℝ} (hlo : 0 ≤ lo) (hhi : hi ≤ scaleUpper W upper) : |
| 635 | 459 | AdmissibleScales F.data.h (coefficientBundle W.axis.normalization (nominalCoefficients W)) |
| 636 | 460 | (innerBox lo hi) (nominalScales W c hc upper B) := |
| 637 | 461 | admissibleScales_mono (nominalScales_admissible W c hc upper B) |
| 638 | 462 | (fun _ hw => ⟨⟨hlo.trans hw.1.1, hw.1.2.trans hhi⟩, hw.2⟩) |
| 639 | 463 | |
| 640 | -theorem nominalScales_jetRate {l : Filter ProblemStatement.SpaceTime} {hi : ℝ} | |
| 641 | - (P : PhysicalApproach l F.data.h 0 hi) (hhi : hi ≤ scaleUpper W upper) | |
| 642 | - (m : ℕ) (n : ℝ) (hn : 0 ≤ n) : | |
| 643 | - DiagonalResidual.JetRate l (fun z => (cartesianChart F.data.h z).1) | |
| 644 | - (baseResidual (nominalScales W c hc upper B) F.data.h W.axis.normalization | |
| 645 | - (nominalCoefficients W)) m n := | |
| 646 | - nominal_jetRate W P (nominalScales_admissible_on W c hc upper B le_rfl hhi) m n hn | |
| 647 | - | |
| 648 | -theorem nominalScales_allJetsFlat {l : Filter ProblemStatement.SpaceTime} {hi : ℝ} | |
| 649 | - (P : PhysicalApproach l F.data.h 0 hi) (hhi : hi ≤ scaleUpper W upper) : | |
| 650 | - ResidualStability.AllJetsFlat l (fun z => (cartesianChart F.data.h z).1) | |
| 651 | - (baseResidual (nominalScales W c hc upper B) F.data.h W.axis.normalization | |
| 652 | - (nominalCoefficients W)) := | |
| 653 | - nominal_allJetsFlat W P (nominalScales_admissible_on W c hc upper B le_rfl hhi) | |
| 654 | - | |
| 655 | -theorem nominalScales_origin {t : ℝ} (ht : t < 1) : | |
| 656 | - baseVelocity (nominalScales W c hc upper B) F.data.h W.axis.normalization | |
| 657 | - (nominalCoefficients W) (t, 0) = | |
| 658 | - ((1 - t) ^ (-CoordinateAlgebra.A F.data.h) * W.axis.j) • | |
| 659 | - ProblemStatement.coordinateVector 2 := | |
| 660 | - nominal_origin W (nominalScales_strictMono W c hc upper B) ht | |
| 661 | - | |
| 662 | -theorem nominalScales_speedUnbounded : | |
| 663 | - ProblemStatement.SpeedUnboundedAtOne | |
| 664 | - (baseVelocity (nominalScales W c hc upper B) F.data.h W.axis.normalization (nominalCoefficients W)) := | |
| 665 | - nominal_speedUnbounded W (nominalScales_strictMono W c hc upper B) | |
| 666 | - | |
| 667 | -theorem nominalScales_smooth_and_divergence : | |
| 668 | - ContDiffOn ℝ ∞ | |
| 669 | - (baseVelocity (nominalScales W c hc upper B) F.data.h W.axis.normalization (nominalCoefficients W)) past ∧ | |
| 670 | - ContDiffOn ℝ ∞ | |
| 671 | - (basePressure (nominalScales W c hc upper B) F.data.h W.axis.normalization (nominalCoefficients W)) past ∧ | |
| 672 | - ∀ t < (1 : ℝ), ∀ x : ProblemStatement.Space, | |
| 673 | - ProblemStatement.spatialDivergence | |
| 674 | - (baseVelocity (nominalScales W c hc upper B) F.data.h W.axis.normalization | |
| 675 | - (nominalCoefficients W)) t x = 0 := | |
| 676 | - ⟨nominal_velocity_smooth W (nominalScales_strictMono W c hc upper B), | |
| 677 | - nominal_pressure_smooth W (nominalScales_strictMono W c hc upper B), | |
| 678 | - fun _ ht x => nominal_divergence_zero W (nominalScales_strictMono W c hc upper B) ht x⟩ | |
| 679 | - | |
| 680 | -theorem nominalScales_potential_smooth : | |
| 681 | - ContDiffOn ℝ ∞ | |
| 682 | - (potential (nominalScales W c hc upper B) F.data.h W.axis.normalization (nominalCoefficients W)) past := | |
| 683 | - potential_smooth (nominalScales_strictMono W c hc upper B) (height_pos W) (height_lt_half W) | |
| 684 | - (nominalCoefficients_smooth W) W.axis.normalization | |
| 685 | - | |
| 686 | -theorem nominalScales_tangential_bound {lo hi : ℝ} (hlo : 0 < lo) (hhi : hi ≤ scaleUpper W upper) | |
| 687 | - (m : ℕ) : | |
| 688 | - ∃ D : ℝ, 0 < D ∧ ∀ q : ℝ, 0 < q → q ≤ 1 → ∀ w ∈ innerBox lo hi, | |
| 689 | - ‖blownJet m (fun y => | |
| 690 | - normalizedSwirl (nominalScales W c hc upper B) F.data.h W.axis.normalization (nominalCoefficients W) y - | |
| 691 | - leadingSwirl W.axis.normalization (nominalCoefficients W) y.2) (q, w)‖ ≤ D * q ^ (2 * F.data.h) ∧ | |
| 692 | - ‖blownJet m (fun y => slowSum (nominalScales W c hc upper B) F.data.h (nominalCoefficients W).axial y - | |
| 693 | - (nominalCoefficients W).axial 0 y.2) (q, w)‖ ≤ D * q ^ (2 * F.data.h) := | |
| 694 | - normalized_tangential_bounds (height_pos W) hlo (nominalCoefficients_smooth W) | |
| 695 | - (nominalScales_admissible_on W c hc upper B hlo.le hhi) m | |
| 696 | - | |
| 697 | -theorem nominalScales_exterior_residual_zero {z : ProblemStatement.SpaceTime} | |
| 698 | - (hz : z ∈ BaseExterior.cartesianExterior F.data.h (BaseExterior.nominalExteriorRadius W)) : | |
| 699 | - ProblemStatement.navierStokesResidual | |
| 700 | - (baseVelocity (nominalScales W c hc upper B) F.data.h W.axis.normalization (nominalCoefficients W)) | |
| 701 | - (basePressure (nominalScales W c hc upper B) F.data.h W.axis.normalization (nominalCoefficients W)) z.1 z.2 = 0 := | |
| 702 | - BaseExterior.nominal_base_residual_zero W (nominalScales_strictMono W c hc upper B) hz | |
| 703 | - | |
| 704 | 464 | variable {D : ProfileHistories.RadialDomain} (Q : ProfileHistories.Profiles D) |
| 705 | 465 | {S : Set ℝ} {lo hi : ℝ} (M : FiniteModification W Q S lo hi) |
| 706 | 466 | |
| @@ -750,23 +510,6 @@ theorem modifiedScales_speedUnbounded : | ||
| 750 | 510 | (modifiedCoefficients W Q M)) := |
| 751 | 511 | modified_speedUnbounded W Q M (modifiedScales_strictMono W c hc upper B Q M) |
| 752 | 512 | |
| 753 | -theorem modifiedScales_smooth_and_divergence : | |
| 754 | - ContDiffOn ℝ ∞ | |
| 755 | - (baseVelocity (modifiedScales W c hc upper B Q M) F.data.h W.axis.normalization | |
| 756 | - (modifiedCoefficients W Q M)) past ∧ | |
| 757 | - ContDiffOn ℝ ∞ | |
| 758 | - (basePressure (modifiedScales W c hc upper B Q M) F.data.h W.axis.normalization | |
| 759 | - (modifiedCoefficients W Q M)) past ∧ | |
| 760 | - ∀ t < (1 : ℝ), ∀ x : ProblemStatement.Space, | |
| 761 | - ProblemStatement.spatialDivergence | |
| 762 | - (baseVelocity (modifiedScales W c hc upper B Q M) F.data.h W.axis.normalization | |
| 763 | - (modifiedCoefficients W Q M)) t x = 0 := by | |
| 764 | - have ha := modifiedScales_strictMono W c hc upper B Q M | |
| 765 | - exact ⟨baseVelocity_smooth ha (height_pos W) (height_lt_half W) (modifiedCoefficients_smooth W Q M) _, | |
| 766 | - basePressure_smooth ha (height_pos W) (height_lt_half W) (modifiedCoefficients_smooth W Q M) _, | |
| 767 | - fun _ ht x => baseVelocity_divergence_zero ha (height_pos W) (height_lt_half W) | |
| 768 | - (modifiedCoefficients_smooth W Q M) _ ht x⟩ | |
| 769 | - | |
| 770 | 513 | theorem modifiedScales_potential_smooth : |
| 771 | 514 | ContDiffOn ℝ ∞ |
| 772 | 515 | (potential (modifiedScales W c hc upper B Q M) F.data.h W.axis.normalization |
| @@ -781,23 +524,6 @@ section ActualWeightedStress | ||
| 781 | 524 | variable {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) |
| 782 | 525 | (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) |
| 783 | 526 | |
| 784 | -/-- The actual nominal coefficient supplies the terminal derivative bounds; | |
| 785 | -the already selected sequence gives the full weighted stress estimate. -/ | |
| 786 | -theorem nominalScales_weighted_bound : | |
| 787 | - WeightedStressBound (nominalScales W c hc upper B) F.data.h (nominalCoefficients W) | |
| 788 | - c (activeLeft W) (activeRight W) := by | |
| 789 | - refine weighted_on_actual_scales (height_pos W) (nominalCoefficients_smooth W) hc | |
| 790 | - (activeLeft_margin W) (core_before_collar W) ?_ (nominal_higher_support W) ?_ | |
| 791 | - (FirstOrderBaseEdge.nominal_first_edgeJets W hc (activeLeft_before_collar W)) | |
| 792 | - (innerBox_isCompact 0 (scaleUpper W upper)) (activeWindow_subset_box W upper) | |
| 793 | - (nominalScales_spec W c hc upper B).2 | |
| 794 | - · apply Real.exp_lt_exp.mpr | |
| 795 | - change terminalShift W + 3 - 1 < terminalShift W + 3 | |
| 796 | - linarith | |
| 797 | - · intro w hw | |
| 798 | - have hz := nominalCoefficients_stress_zero W hw.le 1 | |
| 799 | - exact Prod.ext hz.1 hz.2 | |
| 800 | - | |
| 801 | 527 | variable {D : ProfileHistories.RadialDomain} (Q : ProfileHistories.Profiles D) |
| 802 | 528 | {S : Set ℝ} {lo hi : ℝ} (M : FiniteModification W Q S lo hi) |
| 803 | 529 | |
| @@ -882,13 +608,6 @@ theorem vectorPotential_smooth (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | ||
| 882 | 608 | ContDiffOn ℝ ∞ (vectorPotential v c hc upper B) BaseResidual.past := |
| 883 | 609 | modifiedScales_potential_smooth W c hc upper B v.profiles v.finiteModification |
| 884 | 610 | |
| 885 | -theorem smooth_and_divergence (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | |
| 886 | - ContDiffOn ℝ ∞ (velocity v c hc upper B) BaseResidual.past ∧ | |
| 887 | - ContDiffOn ℝ ∞ (pressure v c hc upper B) BaseResidual.past ∧ | |
| 888 | - ∀ t < (1 : ℝ), ∀ x : ProblemStatement.Space, | |
| 889 | - ProblemStatement.spatialDivergence (velocity v c hc upper B) t x = 0 := | |
| 890 | - modifiedScales_smooth_and_divergence W c hc upper B v.profiles v.finiteModification | |
| 891 | - | |
| 892 | 611 | theorem origin (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) {t : ℝ} (ht : t < 1) : |
| 893 | 612 | velocity v c hc upper B (t, 0) = |
| 894 | 613 | ((1 - t) ^ (-CoordinateAlgebra.A F.data.h) * W.axis.j) • ProblemStatement.coordinateVector 2 := |
| @@ -924,44 +643,4 @@ theorem weighted_bound (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | ||
| 924 | 643 | |
| 925 | 644 | end Modulated |
| 926 | 645 | |
| 927 | -/-- An actual nominal profile and its solved finite modulation are chosen | |
| 928 | -by the proved finite construction. The resulting summed base has genuine | |
| 929 | -Cartesian smoothness, incompressibility, weighted stress, exact axial growth, | |
| 930 | -and flat error. | |
| 931 | -There is no profile, PDE identity, or residual estimate among the inputs. -/ | |
| 932 | -theorem exists_actual_base (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : | |
| 933 | - ∃ (F : OutgoingProfile.Profile) (W : NominalProfile.Witness F) | |
| 934 | - (ld : ModulatedProfileAssembly.LoopData W) (v : ModulatedProfileAssembly.Witness ld), | |
| 935 | - (∀ p : Inner, NominalConeAssembly.activeLeft W < p.1 → | |
| 936 | - p.1 < NominalConeAssembly.activeRight W → p.2 ∈ Icc (-1 : ℝ) 1 → | |
| 937 | - TrueConeLoop.InTrueCone | |
| 938 | - (ActivationStocks.profileStockOne v.profiles F.data.h p) | |
| 939 | - (ActivationStocks.profileStockTwo v.profiles F.data.h p) | |
| 940 | - (ModulatedCone.angularShear v.profiles.E p) | |
| 941 | - (ModulatedCone.signedAxialShear v.profiles.E v.profiles.U p)) ∧ | |
| 942 | - B ≤ Modulated.scales v c hc upper B 0 ∧ | |
| 943 | - AdmissibleScales F.data.h | |
| 944 | - (BaseResidual.weightedBundle W.axis.normalization (Modulated.coefficients v) | |
| 945 | - (BaseResidual.activeZeta c (activeLeft W) (activeRight W))) | |
| 946 | - (innerBox 0 (scaleUpper W upper)) (Modulated.scales v c hc upper B) ∧ | |
| 947 | - WeightedStressBound (Modulated.scales v c hc upper B) F.data.h (Modulated.coefficients v) | |
| 948 | - c (activeLeft W) (activeRight W) ∧ | |
| 949 | - ContDiffOn ℝ ∞ (Modulated.velocity v c hc upper B) BaseResidual.past ∧ | |
| 950 | - ContDiffOn ℝ ∞ (Modulated.pressure v c hc upper B) BaseResidual.past ∧ | |
| 951 | - (∀ t < (1 : ℝ), ∀ x : ProblemStatement.Space, | |
| 952 | - ProblemStatement.spatialDivergence (Modulated.velocity v c hc upper B) t x = 0) ∧ | |
| 953 | - (∀ t < (1 : ℝ), Modulated.velocity v c hc upper B (t, 0) = | |
| 954 | - ((1 - t) ^ (-CoordinateAlgebra.A F.data.h) * W.axis.j) • ProblemStatement.coordinateVector 2) ∧ | |
| 955 | - ProblemStatement.SpeedUnboundedAtOne (Modulated.velocity v c hc upper B) ∧ | |
| 956 | - ∀ (l : Filter ProblemStatement.SpaceTime), BaseResidual.PhysicalApproach l F.data.h 0 upper → | |
| 957 | - ResidualStability.AllJetsFlat l (fun z => (cartesianChart F.data.h z).1) | |
| 958 | - (Modulated.error v c hc upper B) := by | |
| 959 | - obtain ⟨F, W, ld, v, hcone⟩ := ModulatedProfileAssembly.exists_modulated_profile | |
| 960 | - have hs := Modulated.smooth_and_divergence v c hc upper B | |
| 961 | - exact ⟨F, W, ld, v, hcone, (Modulated.scales_spec v c hc upper B).1, | |
| 962 | - (Modulated.scales_spec v c hc upper B).2, Modulated.weighted_bound v c hc upper B, | |
| 963 | - hs.1, hs.2.1, hs.2.2, | |
| 964 | - fun _ ht => Modulated.origin v c hc upper B ht, Modulated.speedUnbounded v c hc upper B, | |
| 965 | - fun _ hp => Modulated.error_allJetsFlat v c hc upper B hp (le_max_left _ _)⟩ | |
| 966 | - | |
| 967 | 646 | end NavierStokes.ConstructedSlowBase |
+0 −133 NavierStokes/CrossBasedMeanComposition.lean View file
| @@ -33,26 +33,6 @@ theorem meanBar_eq_sigma_add_defect (G : Geometry) (e : ℕ) | ||
| 33 | 33 | unfold crossDefect |
| 34 | 34 | abel |
| 35 | 35 | |
| 36 | -theorem crossDefect_mem_of_cross (G : Geometry) (e : ℕ) | |
| 37 | - (f X : ScalarField Point) (α : ℝ) | |
| 38 | - (hcross : Agree G.strip.domain (StateMomentBalances.meanBar X) (physicalSigma G e f)) : | |
| 39 | - MeanClass G.strip α (crossDefect G e f X) := by | |
| 40 | - apply class_congr (MemClass.zero (fun n x hx => G.strip.zeta_nonneg x hx)) | |
| 41 | - intro n x hx | |
| 42 | - simp only [crossDefect, Pi.sub_apply, hcross n hx, sub_self] | |
| 43 | - | |
| 44 | -/-- A baseline weighted estimate and actual tail agreement suffice for | |
| 45 | -every exponent. The finitely many earlier bands are retained, not set to zero. -/ | |
| 46 | -theorem crossDefect_all_exponents_of_tail (G : Geometry) (e : ℕ) | |
| 47 | - (f X : ScalarField Point) {α : ℝ} | |
| 48 | - (hbase : MeanClass G.strip α (crossDefect G e f X)) (N : ℕ) | |
| 49 | - (htail : ∀ n, N ≤ n → ∀ x ∈ G.strip.domain, | |
| 50 | - StateMomentBalances.meanBar X n x = physicalSigma G e f n x) : | |
| 51 | - ∀ β : ℝ, MeanClass G.strip β (crossDefect G e f X) := by | |
| 52 | - apply FiniteHeadClass.meanClass_all_exponents hbase N | |
| 53 | - intro n hn x hx | |
| 54 | - exact sub_eq_zero.mpr (htail n hn x hx) | |
| 55 | - | |
| 56 | 36 | /-- The physical cancellation keeps the radial divergence of the actual |
| 57 | 37 | cross defect. No cancellation on the finite head is assumed. -/ |
| 58 | 38 | theorem cross_cancels_with_defect (G : Geometry) (e : ℕ) (he : e = 2 ∨ e = 1) |
| @@ -332,47 +312,6 @@ theorem bandSignedStage_mean_debt_of_cross_defects {ι : Type} | ||
| 332 | 312 | gaugeWaveStage_cumulative G.gauge c u w q ⟨0,gaussian,0⟩ hu hpressure (by linarith) |
| 333 | 313 | exact ⟨hpressure, hcum, hgain.1, hgain.2.1, hgain.2.2.1, hgain.2.2.2, hdebt⟩ |
| 334 | 314 | |
| 335 | -/-- Exact cross identities recover the original signed-stage conclusion | |
| 336 | -without the normalized-domain native-selection assumption. -/ | |
| 337 | -theorem bandSignedStage_mean_debt_of_cross {ι : Type} | |
| 338 | - (G : SignedMeanGain.Geometry) | |
| 339 | - (c : Context Point) (u : State Point) | |
| 340 | - {P : ι → ℕ → Point → ℝ} {σ κ : ℝ} | |
| 341 | - (hσ : 1/5 ≤ σ) (hκ : 0 ≤ κ) (hκsmall : κ ≤ 1/100000) | |
| 342 | - (f : LabelSumBounds.SignedFamily G.strip P (1/2) (17/25) | |
| 343 | - (1/2+σ-κ) (1+σ-2*κ)) (a : SignedMeanGain.Assembly f) | |
| 344 | - (q : OscillatoryScalar Point) (gaussian : Oscillation Point) | |
| 345 | - (hold : u.oscillation = SignedMeanGain.oldField f a) | |
| 346 | - (H : SignedMeanGain.LocalData G c u | |
| 347 | - (SignedMeanGain.tangentField f a + SignedMeanGain.curlField f a) q gaussian) | |
| 348 | - (ho : OperatorBounds G.strip G.operators κ) | |
| 349 | - (hu : CorrectionState.CumulativeBounds G.strip u) | |
| 350 | - (hbase : SmoothTriple (LocalRankDefect.positiveDomain G.region.carrier) c.base) | |
| 351 | - (hm : GaugeDebtIncrement.RegularTriple G.region G.patch.a G.patch.b u.mean) | |
| 352 | - (hW : ∀ i j, GaugeDebtIncrement.Regular G.region G.patch.a G.patch.b (u.covariance i j)) | |
| 353 | - (hX : ∀ i j, SignedMeanGain.MovingField G (SignedMeanGain.incrementTensor f a i j)) | |
| 354 | - (hS : ∀ i j, SignedMeanGain.MovingField G (SignedMeanGain.crossTensor f a i j)) | |
| 355 | - (hθ : MeanClass G.strip (1+σ-κ) (u.thetaResidual c)) | |
| 356 | - (hz : MeanClass G.strip (1+σ-κ) (u.axialResidual c)) | |
| 357 | - (hd : DefectBounds G.slowStrip (σ-κ) c u) | |
| 358 | - (hcrossθ : Agree G.strip.domain (StateMomentBalances.meanBar (crossTensor f a 0 1)) | |
| 359 | - (physicalSigma G 2 (u.thetaResidual c))) | |
| 360 | - (hcrossz : Agree G.strip.domain (StateMomentBalances.meanBar (crossTensor f a 0 2)) | |
| 361 | - (physicalSigma G 1 (u.axialResidual c))) : | |
| 362 | - let v := SignedMeanGain.waveStage G.gauge c u | |
| 363 | - (SignedMeanGain.tangentField f a + SignedMeanGain.curlField f a) q gaussian | |
| 364 | - MeanClass G.strip (1+σ-2*κ) (v.pressure - u.pressure) ∧ | |
| 365 | - CorrectionState.CumulativeBounds G.strip v ∧ | |
| 366 | - MeanClass G.strip (1+σ-2*κ) (v.thetaResidual c) ∧ | |
| 367 | - MeanClass G.strip (1+σ-2*κ) (v.axialResidual c) ∧ | |
| 368 | - MeanClass G.strip (1+σ+17/100) (meanBar (v.thetaResidual c)) ∧ | |
| 369 | - MeanClass G.strip (1+σ+17/100) (meanBar (v.axialResidual c)) ∧ | |
| 370 | - DefectBounds G.slowStrip (σ-2*κ) c v := by | |
| 371 | - exact bandSignedStage_mean_debt_of_cross_defects G c u hσ hκ hκsmall f a | |
| 372 | - q gaussian hold H ho hu hbase hm hW hX hS hθ hz hd | |
| 373 | - (crossDefect_mem_of_cross G 2 (u.thetaResidual c) (crossTensor f a 0 1) _ hcrossθ) | |
| 374 | - (crossDefect_mem_of_cross G 1 (u.axialResidual c) (crossTensor f a 0 2) _ hcrossz) | |
| 375 | - | |
| 376 | 315 | section MeanCycle |
| 377 | 316 | variable {ι : Type} (G : SignedMeanGain.Geometry) |
| 378 | 317 | (c : Context Point) (u : State Point) |
| @@ -624,78 +563,6 @@ theorem mean_gain_from_waves_of_cross_defects | ||
| 624 | 563 | exact ⟨hsθ, hsz, ⟨hscum.velocity, hscum.pressure⟩, |
| 625 | 564 | hi, hr, hpmean, ⟨hcum.velocity, hcum.pressure⟩, hdebt, htheta, haxial⟩ |
| 626 | 565 | |
| 627 | -/-- The complete cycle needs only one baseline class for each cross defect | |
| 628 | -and actual agreement after a fixed band. Finite-head promotion retains | |
| 629 | -its contribution and preserves the original mean/debt gain. -/ | |
| 630 | -theorem mean_gain_from_waves_of_finite_head | |
| 631 | - (a : SignedMeanGain.Assembly F) (halabels : a.labels = v.labels) | |
| 632 | - {axis : AxisymmetricAlias} (hrep : CycleRepresentation v u axis) | |
| 633 | - (hzero : ∀ l, HarmonicWaveInteraction.ZeroMode (v.blocks l)) | |
| 634 | - (hpartzero : ∀ l, HarmonicWaveInteraction.ZeroMode ((ofGeometry G h index axial particular signed r).particularBlock v c u l)) | |
| 635 | - (hsold : LabelSumBounds.SupportedOscillations a.slots a.label a.window a.auxiliary G.strip.domain | |
| 636 | - (fun l => (v.blocks l).oscillation)) | |
| 637 | - (hspart : LabelSumBounds.SupportedOscillations a.slots a.label a.window a.auxiliary G.strip.domain | |
| 638 | - (fun l => ((ofGeometry G h index axial particular signed r).particularBlock v c u l).oscillation)) | |
| 639 | - (hκ : 0 ≤ κ) (hκsmall : κ ≤ 1/100000) | |
| 640 | - (H : MeanStateRegularity.PrimitiveData G.region G.patch.a G.patch.b c u) | |
| 641 | - (hop : c.operators = G.operators) | |
| 642 | - (ho : OperatorBounds G.strip G.operators κ) (hb : BaseBounds G.strip c.base) | |
| 643 | - (hu : CorrectionState.CumulativeBounds G.strip u) | |
| 644 | - (hfixed : (reconstructState G.gauge c u).pressure = u.pressure) | |
| 645 | - (hmθ : ∀ n z, z ∈ G.region.carrier → radialMoment 2 u.mean.angular n z = 0) | |
| 646 | - (hmz : ∀ n z, z ∈ G.region.carrier → radialMoment 1 u.mean.axial n z = 0) | |
| 647 | - (hθ : MeanClass G.strip (1+σ) (u.thetaResidual c)) | |
| 648 | - (hz : MeanClass G.strip (1+σ) (u.axialResidual c)) | |
| 649 | - (hd : DefectBounds G.slowStrip σ c u) | |
| 650 | - (hX₁ : ∀ i j, GaugeMomentBalances.MovingField G.region G.patch.a G.patch.b | |
| 651 | - (SignedMeanGain.covarianceIncrement u.oscillation ((ofGeometry G h index axial particular signed r).particularVelocity v c u) i j)) | |
| 652 | - (hX₂ : ∀ i j, SignedMeanGain.MovingField G (SignedMeanGain.incrementTensor F a i j)) | |
| 653 | - (hS : ∀ i j, SignedMeanGain.MovingField G (SignedMeanGain.crossTensor F a i j)) | |
| 654 | - {αθ αz : ℝ} | |
| 655 | - (hDθ : MeanClass G.strip αθ | |
| 656 | - (crossDefect G 2 (((ofGeometry G h index axial particular signed r).afterParticular v c u).thetaResidual c) | |
| 657 | - (crossTensor F a 0 1))) | |
| 658 | - (hDz : MeanClass G.strip αz | |
| 659 | - (crossDefect G 1 (((ofGeometry G h index axial particular signed r).afterParticular v c u).axialResidual c) | |
| 660 | - (crossTensor F a 0 2))) | |
| 661 | - (Ncross : ℕ) | |
| 662 | - (htailθ : ∀ n, Ncross ≤ n → ∀ x ∈ G.strip.domain, | |
| 663 | - StateMomentBalances.meanBar (crossTensor F a 0 1) n x = | |
| 664 | - physicalSigma G 2 (((ofGeometry G h index axial particular signed r).afterParticular v c u).thetaResidual c) n x) | |
| 665 | - (htailz : ∀ n, Ncross ≤ n → ∀ x ∈ G.strip.domain, | |
| 666 | - StateMomentBalances.meanBar (crossTensor F a 0 2) n x = | |
| 667 | - physicalSigma G 1 (((ofGeometry G h index axial particular signed r).afterParticular v c u).axialResidual c) n x) | |
| 668 | - (hh : 0 ≤ h) (hscale : ∀ n, ChartScales.S n ≤ G.slow n) | |
| 669 | - (gap : ℕ) (hgap : ∀ n, ChartScales.nativeIndex h n ≤ index n + gap) | |
| 670 | - (hv : c.operators.vT = (0, (0, TorusInverse.vector .temporal))) | |
| 671 | - (hfast : ∀ n, c.operators.fastCoefficient n = ChartScales.Tg ^ index n * ChartScales.Q n ^ (1+h)) | |
| 672 | - (hV : LocalRankDefect.IsSlowOn G.region.carrier c.base.angular) | |
| 673 | - (hG : LocalRankDefect.IsSlowOn G.region.carrier c.base.axial) | |
| 674 | - (hg : LocalRankDefect.RankGeometry G.gauge r G.region.carrier c ((ofGeometry G h index axial particular signed r).afterTemporal v c u)) | |
| 675 | - {A₀ B₀ : ℝ} (hparam : RankStateBounds.NormalizedParameters G.coord A₀ B₀ r G.region.carrier) | |
| 676 | - (hB : B₀ ≠ 0) (hleft : G.patch.a < r.inner) (hright : r.outer < G.patch.b) : | |
| 677 | - MeanClass G.strip (1+σ-2*κ) | |
| 678 | - (((ofGeometry G h index axial particular signed r).afterSigned v c u).thetaResidual c) ∧ | |
| 679 | - MeanClass G.strip (1+σ-2*κ) | |
| 680 | - (((ofGeometry G h index axial particular signed r).afterSigned v c u).axialResidual c) ∧ | |
| 681 | - CorrectionState.CumulativeBounds G.strip ((ofGeometry G h index axial particular signed r).afterSigned v c u) ∧ | |
| 682 | - IncrementBounds G.strip (1+σ-2*κ) ((ofGeometry G h index axial particular signed r).temporalIncrement v c u) ∧ | |
| 683 | - IncrementBounds G.strip (1+σ-2*κ) ((ofGeometry G h index axial particular signed r).rankIncrement v c u) ∧ | |
| 684 | - MeanClass G.strip (1+σ-2*κ) (((ofGeometry G h index axial particular signed r).next v c u).pressure-u.pressure) ∧ | |
| 685 | - CorrectionState.CumulativeBounds G.strip ((ofGeometry G h index axial particular signed r).next v c u) ∧ | |
| 686 | - DefectBounds G.slowStrip (σ+1/10) c ((ofGeometry G h index axial particular signed r).next v c u) ∧ | |
| 687 | - MeanClass G.strip (1+(σ+1/10)) (((ofGeometry G h index axial particular signed r).next v c u).thetaResidual c) ∧ | |
| 688 | - MeanClass G.strip (1+(σ+1/10)) | |
| 689 | - (((ofGeometry G h index axial particular signed r).next v c u).axialResidual c - fun n x => temporalAliasState G.gauge h index c | |
| 690 | - ((ofGeometry G h index axial particular signed r).afterSigned v c u) n (x,0) 2) := by | |
| 691 | - exact mean_gain_from_waves_of_cross_defects G h index axial particular signed r | |
| 692 | - v c u primary P hσ N hprimary hband hcp hcs hold hdiff hpart htangent hcurl | |
| 693 | - hP0 hP1 hkp a halabels hrep hzero hpartzero hsold hspart hκ hκsmall | |
| 694 | - H hop ho hb hu hfixed hmθ hmz hθ hz hd hX₁ hX₂ hS | |
| 695 | - (crossDefect_all_exponents_of_tail G 2 _ _ hDθ Ncross htailθ _) | |
| 696 | - (crossDefect_all_exponents_of_tail G 1 _ _ hDz Ncross htailz _) | |
| 697 | - hh hscale gap hgap hv hfast hV hG hg hparam hB hleft hright | |
| 698 | - | |
| 699 | 566 | end ActualMean |
| 700 | 567 | |
| 701 | 568 | end CycleParameters |
+0 −22 NavierStokes/CurrentModeGeometry.lean View file
| @@ -25,15 +25,6 @@ noncomputable def chartOuter : ℝ := 2 * PrimaryTargetBounds.rightRadius Actual | ||
| 25 | 25 | theorem chartInner_pos : 0 < chartInner := |
| 26 | 26 | div_pos (PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal) (by norm_num) |
| 27 | 27 | |
| 28 | -theorem chartOuter_pos : 0 < chartOuter := | |
| 29 | - mul_pos (by norm_num) (PrimaryTargetBounds.rightRadius_pos ActualPrimary.nominal) | |
| 30 | - | |
| 31 | -theorem chartInner_lt_chartOuter : chartInner < chartOuter := by | |
| 32 | - have ha := PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal | |
| 33 | - have hab := PrimaryTargetBounds.radii_ordered ActualPrimary.nominal | |
| 34 | - dsimp [chartInner, chartOuter] | |
| 35 | - linarith | |
| 36 | - | |
| 37 | 28 | theorem band_q_comparison (n : ℕ) {w : SpaceTime} |
| 38 | 29 | (hw : w ∈ ValidDyadicBandCover.band ActualPrimary.h n) : |
| 39 | 30 | PhysicalWaveSum.physicalQ ActualPrimary.h w / 2 ≤ ChartScales.Q n ∧ |
| @@ -126,17 +117,4 @@ theorem point_profileRadius (n : ℕ) {a : ℝ} (ha : 0 < a) (i : PolarCharts.In | ||
| 126 | 117 | AxisymmetricResidual.pack_zero, AxisymmetricResidual.pack_two] |
| 127 | 118 | rw [he, ActualCurrentWaveSupport.nativePoint_profileRadius n ht] |
| 128 | 119 | |
| 129 | -theorem point_mem_closed_window (n : ℕ) {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) | |
| 130 | - {w : SpaceTime} (hw : w ∈ ValidDyadicBandCover.band ActualPrimary.h n) | |
| 131 | - (hc : PhysicalGraphBounds.scaledRadial n w ∈ PolarCharts.chartDomain a i) | |
| 132 | - (hr : ActualCurrentWaveSupport.profileRadius ActualPrimary.h w ∈ | |
| 133 | - Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) | |
| 134 | - (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) : | |
| 135 | - point a i n w ∈ ActualCurrentParticularPhysical.nativeDomain ∧ | |
| 136 | - ActualWaveRegularityData.radius (ActualWaveRegularity.particularChart.symm (point a i n w)) ∈ | |
| 137 | - Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) | |
| 138 | - (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) := by | |
| 139 | - refine ⟨point_mem_nativeDomain n ha i hw hc, ?_⟩ | |
| 140 | - rwa [point_profileRadius n ha i hw.1 hc] | |
| 141 | - | |
| 142 | 120 | end NavierStokes.CurrentModeGeometry |
+0 −58 NavierStokes/CurrentParticularLabelBounds.lean View file
| @@ -224,12 +224,6 @@ theorem finite_modes_jet_bound (n : ℕ) {w : SpaceTime} | ||
| 224 | 224 | |
| 225 | 225 | end Summation |
| 226 | 226 | |
| 227 | -theorem modes_card (N : ℕ) : (ParticularWaveAssembly.modes N).card = 2 * N := by | |
| 228 | - classical | |
| 229 | - unfold ParticularWaveAssembly.modes | |
| 230 | - rw [Finset.card_erase_of_mem (by simp), Int.card_Icc] | |
| 231 | - omega | |
| 232 | - | |
| 233 | 227 | section ActualSums |
| 234 | 228 | |
| 235 | 229 | variable (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| @@ -273,32 +267,6 @@ theorem localPressure_jet_bound (C : ℤ → ℝ) | ||
| 273 | 267 | (fun l j => ActualCurrentParticularPhysical.localPressureMode x l j n) m hf |
| 274 | 268 | (fun l _ j _ _y hy => (current_modes_window hN x l (hs l) j n hy).2) C hC hb |
| 275 | 269 | |
| 276 | -theorem localPotential_jet_bound_uniform {C : ℝ} (hC : 0 ≤ C) | |
| 277 | - (hf : ∀ l ∈ x.coefficients.labels n, | |
| 278 | - ∀ j ∈ ParticularWaveAssembly.modes x.coefficients.residualBand, | |
| 279 | - ContDiffAt ℝ m (ActualCurrentParticularPhysical.localPotentialMode x l j n) w) | |
| 280 | - (hb : ∀ l ∈ x.coefficients.labels n, | |
| 281 | - ∀ j ∈ ParticularWaveAssembly.modes x.coefficients.residualBand, | |
| 282 | - window w ∈ LabelSumBounds.closedWindow (CoordinateAlgebra.D h) (signedLabel l) → | |
| 283 | - ‖iteratedFDeriv ℝ m (ActualCurrentParticularPhysical.localPotentialMode x l j n) w‖ ≤ C) : | |
| 284 | - ‖iteratedFDeriv ℝ m (ActualCurrentParticularPhysical.localPotential x n) w‖ ≤ | |
| 285 | - 2250 * (2 * x.coefficients.residualBand : ℕ) * C := by | |
| 286 | - have hh := localPotential_jet_bound hN x hs n m hw (fun _ => C) (fun _ _ => hC) hf hb | |
| 287 | - simpa only [Finset.sum_const, nsmul_eq_mul, modes_card, mul_assoc] using hh | |
| 288 | - | |
| 289 | -theorem localPressure_jet_bound_uniform {C : ℝ} (hC : 0 ≤ C) | |
| 290 | - (hf : ∀ l ∈ x.coefficients.labels n, | |
| 291 | - ∀ j ∈ ParticularWaveAssembly.modes x.coefficients.residualBand, | |
| 292 | - ContDiffAt ℝ m (ActualCurrentParticularPhysical.localPressureMode x l j n) w) | |
| 293 | - (hb : ∀ l ∈ x.coefficients.labels n, | |
| 294 | - ∀ j ∈ ParticularWaveAssembly.modes x.coefficients.residualBand, | |
| 295 | - window w ∈ LabelSumBounds.closedWindow (CoordinateAlgebra.D h) (signedLabel l) → | |
| 296 | - ‖iteratedFDeriv ℝ m (ActualCurrentParticularPhysical.localPressureMode x l j n) w‖ ≤ C) : | |
| 297 | - ‖iteratedFDeriv ℝ m (ActualCurrentParticularPhysical.localPressure x n) w‖ ≤ | |
| 298 | - 2250 * (2 * x.coefficients.residualBand : ℕ) * C := by | |
| 299 | - have hh := localPressure_jet_bound hN x hs n m hw (fun _ => C) (fun _ _ => hC) hf hb | |
| 300 | - simpa only [Finset.sum_const, nsmul_eq_mul, modes_card, mul_assoc] using hh | |
| 301 | - | |
| 302 | 270 | end ActualSums |
| 303 | 271 | |
| 304 | 272 | /-! ## The incoming actual invariant supplies all mode regularity -/ |
| @@ -392,32 +360,6 @@ theorem localPressure_jet_bound_of_invariant (n m : ℕ) {w : SpaceTime} | ||
| 392 | 360 | (fun l _ j hj => (current_modes_contDiffAt H hN l j |
| 393 | 361 | ((ParticularWaveAssembly.mem_modes _ _).mp hj).1 n hw).2.of_le (nat_le_infty m)) hb |
| 394 | 362 | |
| 395 | -theorem localPotential_jet_bound_uniform_of_invariant (n m : ℕ) {w : SpaceTime} | |
| 396 | - (hw : w ∈ ValidDyadicBandCover.band h n) {C : ℝ} (hC : 0 ≤ C) | |
| 397 | - (hb : ∀ l ∈ (ActualCycleParameters.particularState x).coefficients.labels n, | |
| 398 | - ∀ j ∈ ParticularWaveAssembly.modes x.coefficients.residualBand, | |
| 399 | - window w ∈ LabelSumBounds.closedWindow (CoordinateAlgebra.D h) (signedLabel l) → | |
| 400 | - ‖iteratedFDeriv ℝ m (ActualCurrentParticularPhysical.localPotentialMode | |
| 401 | - (ActualCycleParameters.particularState x) l j n) w‖ ≤ C) : | |
| 402 | - ‖iteratedFDeriv ℝ m (ActualCurrentParticularPhysical.localPotential | |
| 403 | - (ActualCycleParameters.particularState x) n) w‖ ≤ | |
| 404 | - 2250 * (2 * x.coefficients.residualBand : ℕ) * C := by | |
| 405 | - have hh := localPotential_jet_bound_of_invariant H hN n m hw (fun _ => C) (fun _ _ => hC) hb | |
| 406 | - simpa only [Finset.sum_const, nsmul_eq_mul, modes_card, mul_assoc] using hh | |
| 407 | - | |
| 408 | -theorem localPressure_jet_bound_uniform_of_invariant (n m : ℕ) {w : SpaceTime} | |
| 409 | - (hw : w ∈ ValidDyadicBandCover.band h n) {C : ℝ} (hC : 0 ≤ C) | |
| 410 | - (hb : ∀ l ∈ (ActualCycleParameters.particularState x).coefficients.labels n, | |
| 411 | - ∀ j ∈ ParticularWaveAssembly.modes x.coefficients.residualBand, | |
| 412 | - window w ∈ LabelSumBounds.closedWindow (CoordinateAlgebra.D h) (signedLabel l) → | |
| 413 | - ‖iteratedFDeriv ℝ m (ActualCurrentParticularPhysical.localPressureMode | |
| 414 | - (ActualCycleParameters.particularState x) l j n) w‖ ≤ C) : | |
| 415 | - ‖iteratedFDeriv ℝ m (ActualCurrentParticularPhysical.localPressure | |
| 416 | - (ActualCycleParameters.particularState x) n) w‖ ≤ | |
| 417 | - 2250 * (2 * x.coefficients.residualBand : ℕ) * C := by | |
| 418 | - have hh := localPressure_jet_bound_of_invariant H hN n m hw (fun _ => C) (fun _ _ => hC) hb | |
| 419 | - simpa only [Finset.sum_const, nsmul_eq_mul, modes_card, mul_assoc] using hh | |
| 420 | - | |
| 421 | 363 | end Invariant |
| 422 | 364 | |
| 423 | 365 | end NavierStokes.CurrentParticularLabelBounds |
+0 −14 NavierStokes/CurrentPhysicalChartJets.lean View file
| @@ -174,15 +174,6 @@ theorem chart_smul {a c : ℝ} (ha : 0 < a) (hc : 0 < c) (j : PolarCharts.Index) | ||
| 174 | 174 | rw [PolarCharts.chart_eq_localChart (mul_pos hc ha) j (chartDomain_smul hc j hp), |
| 175 | 175 | PolarCharts.chart_eq_localChart ha j hp, PolarCharts.localChart_smul j hc] |
| 176 | 176 | |
| 177 | -/-- The scaling identity holds on an open neighborhood, so it can be used | |
| 178 | -for physical germ and jet comparisons without an angle-branch inference. -/ | |
| 179 | -theorem chart_smul_germ {a c : ℝ} (ha : 0 < a) (hc : 0 < c) (j : PolarCharts.Index) {p : Plane} | |
| 180 | - (hp : p ∈ PolarCharts.chartDomain a j) : | |
| 181 | - (fun y : Plane => PolarCharts.chart (c * a) j (c • y)) =ᶠ[𝓝 p] | |
| 182 | - (fun y => (c * (PolarCharts.chart a j y).1, (PolarCharts.chart a j y).2)) := by | |
| 183 | - filter_upwards [(PolarCharts.chartDomain_open a j).mem_nhds hp] with y hy | |
| 184 | - exact chart_smul ha hc j hy | |
| 185 | - | |
| 186 | 177 | /-! ## The actual Cartesian rotation -/ |
| 187 | 178 | |
| 188 | 179 | noncomputable def rotation (x : LiftPoint) : ComplexVector →L[ℝ] ComplexVector := |
| @@ -193,11 +184,6 @@ theorem rotation_smooth {a b : ℝ} (ha : 0 < a) : | ||
| 193 | 184 | CartesianCopySource.rotationMap_smooth.comp PhysicalGraphBounds.liftXY.contDiff.contDiffOn |
| 194 | 185 | (fun _ hx => PhysicalClassBounds.cylindricalDomain_axisFree ha hx) |
| 195 | 186 | |
| 196 | -theorem rotation_smoothNear {a b : ℝ} (ha : 0 < a) {x : LiftPoint} | |
| 197 | - (hx : x ∈ PhysicalClassBounds.cylindricalDomain a b) : | |
| 198 | - LocalPhysicalCopyBounds.SmoothNear rotation x := | |
| 199 | - ⟨_, PhysicalClassBounds.cylindricalDomain_open a b, hx, rotation_smooth ha⟩ | |
| 200 | - | |
| 201 | 187 | /-- These are full jets, including order zero, of the literal rotation |
| 202 | 188 | operator. The same constant works for every chart and free coordinate. -/ |
| 203 | 189 | theorem rotation_jets {a b : ℝ} (ha : 0 < a) (m : ℕ) : |
+0 −18 NavierStokes/CurrentSignedCurl.lean View file
| @@ -370,15 +370,6 @@ theorem currentPotential_overlap (l : SignedLabel B N0) (u : CorrectionState.Sta | ||
| 370 | 370 | currentPotential l u n a i z = currentPotential l u n b j z := |
| 371 | 371 | cartesianPotential_overlap_radius ha hb i j _ (cylindricalPotential_periodic l u n) hi hj |
| 372 | 372 | |
| 373 | -theorem currentPotential_overlap_germ (l : SignedLabel B N0) (u : CorrectionState.State Point) | |
| 374 | - (n : ℕ) {a b : ℝ} (ha : 0 < a) (hb : 0 < b) (i j : PolarCharts.Index) | |
| 375 | - {z : SpaceTime} (hi : z ∈ ActualMeanPotentialRealization.cartesianDomain a i) | |
| 376 | - (hj : z ∈ ActualMeanPotentialRealization.cartesianDomain b j) : | |
| 377 | - currentPotential l u n a i =ᶠ[𝓝 z] currentPotential l u n b j := by | |
| 378 | - filter_upwards [(ActualMeanPotentialRealization.cartesianDomain_open a i).mem_nhds hi, | |
| 379 | - (ActualMeanPotentialRealization.cartesianDomain_open b j).mem_nhds hj] with y hyi hyj | |
| 380 | - exact currentPotential_overlap l u n ha hb i j hyi hyj | |
| 381 | - | |
| 382 | 373 | /-! ## The actual pressure mode -/ |
| 383 | 374 | |
| 384 | 375 | theorem pressureMode_eq_exact (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| @@ -458,13 +449,4 @@ theorem currentPressure_overlap (l : SignedLabel B N0) (u : CorrectionState.Stat | ||
| 458 | 449 | polarScalar_overlap_radius ha hb i j (fun x => (cylindricalPressureMode l u n x).re) |
| 459 | 450 | (realCylindricalPressure_periodic l u n) hi hj |
| 460 | 451 | |
| 461 | -theorem currentPressure_overlap_germ (l : SignedLabel B N0) (u : CorrectionState.State Point) | |
| 462 | - (n : ℕ) {a b : ℝ} (ha : 0 < a) (hb : 0 < b) (i j : PolarCharts.Index) | |
| 463 | - {z : SpaceTime} (hi : z ∈ ActualMeanPotentialRealization.cartesianDomain a i) | |
| 464 | - (hj : z ∈ ActualMeanPotentialRealization.cartesianDomain b j) : | |
| 465 | - currentPressure l u n a i =ᶠ[𝓝 z] currentPressure l u n b j := by | |
| 466 | - filter_upwards [(ActualMeanPotentialRealization.cartesianDomain_open a i).mem_nhds hi, | |
| 467 | - (ActualMeanPotentialRealization.cartesianDomain_open b j).mem_nhds hj] with y hyi hyj | |
| 468 | - exact currentPressure_overlap l u n ha hb i j hyi hyj | |
| 469 | - | |
| 470 | 452 | end NavierStokes.CurrentSignedCurl |
+0 −115 NavierStokes/CutStageEstimates.lean View file
| @@ -343,30 +343,6 @@ theorem cut_product_bound_of_threshold {U S : Set E} (hU : IsOpen U) (hSU : S | ||
| 343 | 343 | rw [cut_product_jets_zero hU hq hA (hSU hx) a hprod m, norm_zero] |
| 344 | 344 | exact mul_nonneg hε (Real.rpow_nonneg hqx.le _) |
| 345 | 345 | |
| 346 | -/-- One numeric scale sequence controls every derivative budget `m ≤ j+2` | |
| 347 | -of every positive stage. The actual cut-stage estimate is proved from the | |
| 348 | -raw estimates and the coordinate estimates. -/ | |
| 349 | -theorem exists_diagonal_cut_bounds {U S : Set E} (hU : IsOpen U) (hSU : S ⊆ U) | |
| 350 | - {q : E → ℝ} (hq : ContDiffOn ℝ ∞ q U) (hpos : ∀ x ∈ S, 0 < q x) | |
| 351 | - (Bq : ℕ → ℝ) | |
| 352 | - (hBq : ∀ k x, x ∈ S → q x ≤ 1 → | |
| 353 | - ‖iteratedFDeriv ℝ k q x‖ ≤ Bq k * q x ^ (1 - (k : ℝ))) | |
| 354 | - {A : ℕ → E → V} (hA : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (A j) U) | |
| 355 | - (g L : ℕ → ℝ) (C p : ℕ → ℕ → ℝ) | |
| 356 | - (hraw : RawStageBounds q A g L C p S) (hg : ∀ j, 1 ≤ j → 0 < g j) (lower : ℕ) : | |
| 357 | - ∃ a : ℕ → ℕ, lower ≤ a 0 ∧ (∀ j, 0 < a j) ∧ | |
| 358 | - (∀ j, 2 * a j ≤ a (j + 1)) ∧ StrictMono a ∧ | |
| 359 | - Tendsto (fun j => (a j : ℝ)) atTop atTop ∧ | |
| 360 | - DiagonalJetBounds.CutStageBounds (fun j => (a j : ℝ)) q A | |
| 361 | - (fun j => g j / 2) (cutLoss L) S := by | |
| 362 | - obtain ⟨K, hK, hb⟩ := exists_cut_stage_constants hU hSU hq hpos Bq hBq hA g L C p hraw | |
| 363 | - obtain ⟨a, halower, hapos, hadouble, hamono, _, hasmall⟩ := | |
| 364 | - DiagonalScale.exists_diagonal_scales K (cutLog p) g hg lower | |
| 365 | - refine ⟨a, halower, hapos, hadouble, hamono, SolenoidalDiagonal.realScales_tendsto hamono, ?_⟩ | |
| 366 | - intro j hj m hm x hx | |
| 367 | - exact cut_product_bound_of_threshold hU hSU hq hpos (hA j hj) m | |
| 368 | - (by exact_mod_cast hapos j) (by positivity) (hb j hj m) (hasmall j hj m hm) x hx | |
| 369 | - | |
| 370 | 346 | section FiniteFamilies |
| 371 | 347 | |
| 372 | 348 | variable {ι : Type*} [Fintype ι] {W : ι → Type*} |
| @@ -465,17 +441,6 @@ theorem positiveStages_cut_bounds {q : E → ℝ} {A : ℕ → E → V} | ||
| 465 | 441 | rw [he] |
| 466 | 442 | exact hb j hj m hm x hx |
| 467 | 443 | |
| 468 | -/-- The selected positive-stage series is the actual locally finite sum | |
| 469 | -and is smooth on the full positive-coordinate domain. -/ | |
| 470 | -theorem positive_sum_smooth {U : Set E} (hU : IsOpen U) {q : E → ℝ} | |
| 471 | - (hq : ContDiffOn ℝ ∞ q U) (hpos : ∀ x ∈ U, 0 < q x) | |
| 472 | - {A : ℕ → E → V} (hA : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (A j) U) | |
| 473 | - {a : ℕ → ℕ} (ha : StrictMono a) : | |
| 474 | - ContDiffOn ℝ ∞ (SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) q | |
| 475 | - (positiveStages A)) U := | |
| 476 | - SolenoidalDiagonal.potentialSum_contDiffOn (SolenoidalDiagonal.realScales_tendsto ha) | |
| 477 | - hU hpos hq (positiveStages_smooth hA) | |
| 478 | - | |
| 479 | 444 | omit [NormedSpace ℝ E] in |
| 480 | 445 | /-- Beyond strict cutoff support the product has a zero germ, regardless |
| 481 | 446 | of any arbitrary totalization of the raw field there. -/ |
| @@ -563,43 +528,8 @@ theorem physicalQ_jet_bound {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (m : ℕ) : | ||
| 563 | 528 | mul_le_mul hqb hpow (pow_nonneg (norm_nonneg _) _) (by positivity) |
| 564 | 529 | _ = _ := by ring |
| 565 | 530 | |
| 566 | -theorem physical_cutoff_jet_bound {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (m : ℕ) : | |
| 567 | - ∃ C : ℝ, 0 < C ∧ ∀ a : ℝ, 0 ≤ a → ∀ w ∈ PhysicalWaveSum.preterminal, | |
| 568 | - PhysicalWaveSum.physicalQ h w ≤ 1 → | |
| 569 | - ‖iteratedFDeriv ℝ m | |
| 570 | - (fun z => SmoothCutoffs.scaledCutoff a (PhysicalWaveSum.physicalQ h z)) w‖ ≤ | |
| 571 | - C * PhysicalWaveSum.physicalQ h w ^ (-(m : ℝ)) := by | |
| 572 | - choose B hB hb using physicalQ_jet_bound hh hh1 | |
| 573 | - obtain ⟨C, hC, hc⟩ := cutoff_jet_bound PhysicalWaveSum.preterminal_open | |
| 574 | - (S := PhysicalWaveSum.preterminal ∩ {w | PhysicalWaveSum.physicalQ h w ≤ 1}) | |
| 575 | - (fun _ hw => hw.1) | |
| 576 | - (fun w hw => (PhysicalWaveSum.physicalQ_smoothAt hh hh1 hw).contDiffWithinAt) | |
| 577 | - (fun w hw => PhysicalWaveSum.physicalQ_pos hh hh1 hw.1) B | |
| 578 | - (fun k w hw => hb k w hw.1 hw.2) m | |
| 579 | - exact ⟨C, hC, fun a ha w hw hq1 => hc a ha w ⟨hw, hq1⟩⟩ | |
| 580 | - | |
| 581 | 531 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 582 | 532 | |
| 583 | -/-- Actual physical cutoff stages and their single selected schedule. | |
| 584 | -The only stage estimate premise concerns uncut physical derivatives. -/ | |
| 585 | -theorem exists_physical_diagonal_cut_bounds {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 586 | - {S : Set SpaceTime} (hS : S ⊆ PhysicalWaveSum.preterminal) | |
| 587 | - {A : ℕ → SpaceTime → V} | |
| 588 | - (hA : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (A j) PhysicalWaveSum.preterminal) | |
| 589 | - (g L : ℕ → ℝ) (C p : ℕ → ℕ → ℝ) | |
| 590 | - (hraw : RawStageBounds (PhysicalWaveSum.physicalQ h) A g L C p S) | |
| 591 | - (hg : ∀ j, 1 ≤ j → 0 < g j) (lower : ℕ) : | |
| 592 | - ∃ a : ℕ → ℕ, lower ≤ a 0 ∧ (∀ j, 0 < a j) ∧ | |
| 593 | - (∀ j, 2 * a j ≤ a (j + 1)) ∧ StrictMono a ∧ | |
| 594 | - Tendsto (fun j => (a j : ℝ)) atTop atTop ∧ | |
| 595 | - DiagonalJetBounds.CutStageBounds (fun j => (a j : ℝ)) | |
| 596 | - (PhysicalWaveSum.physicalQ h) A (fun j => g j / 2) (cutLoss L) S := by | |
| 597 | - choose B hB hb using physicalQ_jet_bound hh hh1 | |
| 598 | - exact exists_diagonal_cut_bounds PhysicalWaveSum.preterminal_open hS | |
| 599 | - (fun w hw => (PhysicalWaveSum.physicalQ_smoothAt hh hh1 hw).contDiffWithinAt) | |
| 600 | - (fun w hw => PhysicalWaveSum.physicalQ_pos hh hh1 (hS hw)) B | |
| 601 | - (fun k w hw hq1 => hb k w (hS hw) hq1) hA g L C p hraw hg lower | |
| 602 | - | |
| 603 | 533 | variable {ι : Type*} [Fintype ι] {W : ι → Type*} |
| 604 | 534 | [∀ i, NormedAddCommGroup (W i)] [∀ i, NormedSpace ℝ (W i)] |
| 605 | 535 | |
| @@ -623,51 +553,6 @@ theorem exists_physical_finite_diagonal_cut_bounds {h : ℝ} (hh : 0 < h) (hh1 : | ||
| 623 | 553 | (fun w hw => PhysicalWaveSum.physicalQ_pos hh hh1 (hS hw)) B |
| 624 | 554 | (fun k w hw hq1 => hb k w (hS hw) hq1) hA g L C p hraw hg lower |
| 625 | 555 | |
| 626 | -/-- The common case supplied by physical-copy estimates: the uncut bounds | |
| 627 | -have no logarithmic factor and their constants are existential. The same | |
| 628 | -constructed sequence controls all positive components and gives smooth | |
| 629 | -actual sums on the entire preterminal spacetime domain. -/ | |
| 630 | -theorem exists_physical_positive_sums_of_power {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 631 | - {S : Set SpaceTime} (hS : S ⊆ PhysicalWaveSum.preterminal) | |
| 632 | - {A : ∀ i, ℕ → SpaceTime → W i} | |
| 633 | - (hA : ∀ i j, 1 ≤ j → ContDiffOn ℝ ∞ (A i j) PhysicalWaveSum.preterminal) | |
| 634 | - (g L : ℕ → ℝ) | |
| 635 | - (hraw : ∀ i j, 1 ≤ j → ∀ m, ∃ C : ℝ, ∀ w ∈ S, | |
| 636 | - PhysicalWaveSum.physicalQ h w ≤ 1 → | |
| 637 | - ‖iteratedFDeriv ℝ m (A i j) w‖ ≤ | |
| 638 | - C * PhysicalWaveSum.physicalQ h w ^ (g j - L m)) | |
| 639 | - (hg : ∀ j, 1 ≤ j → 0 < g j) (lower : ℕ) : | |
| 640 | - ∃ a : ℕ → ℕ, lower ≤ a 0 ∧ (∀ j, 0 < a j) ∧ | |
| 641 | - (∀ j, 2 * a j ≤ a (j + 1)) ∧ StrictMono a ∧ | |
| 642 | - Tendsto (fun j => (a j : ℝ)) atTop atTop ∧ | |
| 643 | - ∀ i, DiagonalJetBounds.CutStageBounds (fun j => (a j : ℝ)) | |
| 644 | - (PhysicalWaveSum.physicalQ h) (positiveStages (A i)) | |
| 645 | - (fun j => g j / 2) (cutLoss L) S ∧ | |
| 646 | - ContDiffOn ℝ ∞ | |
| 647 | - (SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) | |
| 648 | - (PhysicalWaveSum.physicalQ h) (positiveStages (A i))) PhysicalWaveSum.preterminal := by | |
| 649 | - have hex : ∀ i j m, ∃ C : ℝ, 1 ≤ j → ∀ w ∈ S, | |
| 650 | - PhysicalWaveSum.physicalQ h w ≤ 1 → | |
| 651 | - ‖iteratedFDeriv ℝ m (A i j) w‖ ≤ | |
| 652 | - C * PhysicalWaveSum.physicalQ h w ^ (g j - L m) := by | |
| 653 | - intro i j m | |
| 654 | - by_cases hj : 1 ≤ j | |
| 655 | - · obtain ⟨C, hb⟩ := hraw i j hj m | |
| 656 | - exact ⟨C, fun _ => hb⟩ | |
| 657 | - · exact ⟨0, fun hj' => False.elim (hj hj')⟩ | |
| 658 | - choose C hC using hex | |
| 659 | - have hb : ∀ i, RawStageBounds (PhysicalWaveSum.physicalQ h) (A i) g L (C i) | |
| 660 | - (fun _ _ => 0) S := by | |
| 661 | - intro i j hj m w hw hq1 | |
| 662 | - simpa only [Real.rpow_zero, mul_one] using hC i j m hj w hw hq1 | |
| 663 | - obtain ⟨a, halower, hapos, hadouble, hamono, hatop, hab⟩ := | |
| 664 | - exists_physical_finite_diagonal_cut_bounds hh hh1 hS hA g L C (fun _ _ _ => 0) hb hg lower | |
| 665 | - refine ⟨a, halower, hapos, hadouble, hamono, hatop, fun i => ?_⟩ | |
| 666 | - exact ⟨positiveStages_cut_bounds (hab i), | |
| 667 | - positive_sum_smooth PhysicalWaveSum.preterminal_open | |
| 668 | - (fun w hw => (PhysicalWaveSum.physicalQ_smoothAt hh hh1 hw).contDiffWithinAt) | |
| 669 | - (fun w hw => PhysicalWaveSum.physicalQ_pos hh hh1 hw) (hA i) hamono⟩ | |
| 670 | - | |
| 671 | 556 | /-- The genuine open validity region for locally constructed raw stages. -/ |
| 672 | 557 | noncomputable def physicalSublevel (h qbig : ℝ) : Set SpaceTime := |
| 673 | 558 | PhysicalWaveSum.preterminal ∩ {w | PhysicalWaveSum.physicalQ h w < qbig} |
+0 −751 NavierStokes/SignedRequestContinuation.lean deleted
| @@ -1,751 +0,0 @@ | ||
| 1 | -import NavierStokes.ActualCorrectionModels | |
| 2 | - | |
| 3 | -/-! | |
| 4 | -# Continuation of the actual mean residual and signed request | |
| 5 | - | |
| 6 | -The input consists of continued primitive velocity and pressure components. | |
| 7 | -Covariances, graph derivatives, mean residuals, and the moving signed radial | |
| 8 | -primitive are computed from those components. Agreement always retains the | |
| 9 | -entire free radial and torus fibers, as well as the free angular variable. | |
| 10 | --/ | |
| 11 | - | |
| 12 | -noncomputable section | |
| 13 | - | |
| 14 | -namespace NavierStokes.SignedRequestContinuation | |
| 15 | - | |
| 16 | -open Set Function Filter MeasureTheory | |
| 17 | -open scoped ContDiff Topology Interval BigOperators | |
| 18 | - | |
| 19 | - | |
| 20 | -abbrev Slow := TorusInverse.Plane | |
| 21 | -abbrev Point := LocalSignedRequest.Point | |
| 22 | -abbrev ScalarField := MeanIncrementBounds.Field Point | |
| 23 | - | |
| 24 | -/-! ## Support of the literal differential expressions -/ | |
| 25 | - | |
| 26 | -def Supported (a b : ℝ) (ell : Slow → ℝ) (U : Set Slow) (f : ScalarField) : Prop := | |
| 27 | - ∀ n, VariableGaugeMean.SupportedGauge a b ell U (f n) | |
| 28 | - | |
| 29 | -namespace Supported | |
| 30 | - | |
| 31 | -variable {a b : ℝ} {ell : Slow → ℝ} {U : Set Slow} {f g : ScalarField} | |
| 32 | - | |
| 33 | -theorem zero : Supported a b ell U (0 : ScalarField) := | |
| 34 | - fun _ _ _ hn => (hn rfl).elim | |
| 35 | - | |
| 36 | -theorem add (hf : Supported a b ell U f) (hg : Supported a b ell U g) : | |
| 37 | - Supported a b ell U (f + g) := by | |
| 38 | - intro n x hx hn | |
| 39 | - by_contra hnot | |
| 40 | - have hf0 : f n x = 0 := by by_contra he; exact hnot (hf n x hx he) | |
| 41 | - have hg0 : g n x = 0 := by by_contra he; exact hnot (hg n x hx he) | |
| 42 | - exact hn (by simp [hf0, hg0]) | |
| 43 | - | |
| 44 | -theorem neg (hf : Supported a b ell U f) : Supported a b ell U (-f) := | |
| 45 | - fun n x hx hn => hf n x hx (neg_ne_zero.mp hn) | |
| 46 | - | |
| 47 | -theorem sub (hf : Supported a b ell U f) (hg : Supported a b ell U g) : | |
| 48 | - Supported a b ell U (f - g) := by | |
| 49 | - simpa only [sub_eq_add_neg] using hf.add hg.neg | |
| 50 | - | |
| 51 | -theorem mul_left (hf : Supported a b ell U f) (g : ScalarField) : | |
| 52 | - Supported a b ell U (g * f) := | |
| 53 | - fun n x hx hn => hf n x hx (right_ne_zero_of_mul hn) | |
| 54 | - | |
| 55 | -theorem mul_right (hf : Supported a b ell U f) (g : ScalarField) : | |
| 56 | - Supported a b ell U (f * g) := | |
| 57 | - fun n x hx hn => hf n x hx (left_ne_zero_of_mul hn) | |
| 58 | - | |
| 59 | -theorem band_mul (hf : Supported a b ell U f) (c : ℕ → ℝ) : | |
| 60 | - Supported a b ell U (fun n x => c n * f n x) := | |
| 61 | - fun n x hx hn => hf n x hx (right_ne_zero_of_mul hn) | |
| 62 | - | |
| 63 | -theorem smul (hf : Supported a b ell U f) (c : ℝ) : | |
| 64 | - Supported a b ell U (c • f) := hf.band_mul (fun _ => c) | |
| 65 | - | |
| 66 | -theorem directional (hf : Supported a b ell U f) (hU : IsOpen U) | |
| 67 | - (hell : ContinuousOn ell U) (v : Point) : | |
| 68 | - Supported a b ell U (fun n x => fderiv ℝ (f n) x v) := | |
| 69 | - fun n => LocalRankDefect.supportedGauge_directional hU hell (hf n) v | |
| 70 | - | |
| 71 | -theorem dr (hf : Supported a b ell U f) (hU : IsOpen U) | |
| 72 | - (hell : ContinuousOn ell U) (o : MeanIncrementBounds.Operators Point) : | |
| 73 | - Supported a b ell U (o.dr f) := | |
| 74 | - (hf.directional hU hell o.eR).add | |
| 75 | - (((hf.directional hU hell o.vR).mul_left (fun _ => o.radialProfile)).band_mul o.radialFrequency) | |
| 76 | - | |
| 77 | -theorem dz (hf : Supported a b ell U f) (hU : IsOpen U) | |
| 78 | - (hell : ContinuousOn ell U) (o : MeanIncrementBounds.Operators Point) : | |
| 79 | - Supported a b ell U (o.dz f) := (hf.directional hU hell o.eZ).band_mul o.epsilon | |
| 80 | - | |
| 81 | -theorem time (hf : Supported a b ell U f) (hU : IsOpen U) | |
| 82 | - (hell : ContinuousOn ell U) (o : MeanIncrementBounds.Operators Point) : | |
| 83 | - Supported a b ell U (o.time f) := | |
| 84 | - ((hf.directional hU hell o.eT).band_mul o.epsilon).neg.add | |
| 85 | - ((hf.directional hU hell o.vT).band_mul o.fastCoefficient) | |
| 86 | - | |
| 87 | -theorem radialDiv (hf : Supported a b ell U f) (hU : IsOpen U) | |
| 88 | - (hell : ContinuousOn ell U) (o : MeanIncrementBounds.Operators Point) (c : ℝ) : | |
| 89 | - Supported a b ell U (o.radialDiv c f) := | |
| 90 | - (hf.dr hU hell o).add ((hf.mul_left o.invRadius).smul c) | |
| 91 | - | |
| 92 | -theorem viscosity (hf : Supported a b ell U f) (hU : IsOpen U) | |
| 93 | - (hell : ContinuousOn ell U) (o : MeanIncrementBounds.Operators Point) (c : ℝ) : | |
| 94 | - Supported a b ell U (o.viscosity c f) := | |
| 95 | - (((((hf.dr hU hell o).dr hU hell o).add ((hf.dr hU hell o).mul_left o.invRadius)).add | |
| 96 | - ((hf.dz hU hell o).dz hU hell o)).sub | |
| 97 | - (((hf.mul_left o.invRadius).mul_left o.invRadius).smul c)).band_mul o.epsilon | |
| 98 | - | |
| 99 | -end Supported | |
| 100 | - | |
| 101 | -structure SupportedTriple (a b : ℝ) (ell : Slow → ℝ) (U : Set Slow) | |
| 102 | - (m : MeanIncrementBounds.Triple Point) : Prop where | |
| 103 | - radial : Supported a b ell U m.radial | |
| 104 | - angular : Supported a b ell U m.angular | |
| 105 | - axial : Supported a b ell U m.axial | |
| 106 | - | |
| 107 | -namespace SupportedTriple | |
| 108 | - | |
| 109 | -variable {a b : ℝ} {ell : Slow → ℝ} {U : Set Slow} {m : MeanIncrementBounds.Triple Point} | |
| 110 | - (hm : SupportedTriple a b ell U m) (base : MeanIncrementBounds.Triple Point) | |
| 111 | - | |
| 112 | -include hm | |
| 113 | - | |
| 114 | -theorem thetaRadial : Supported a b ell U (MeanIncrementBounds.thetaRadial base m) := | |
| 115 | - ((hm.angular.mul_left base.radial).add (hm.radial.mul_right base.angular)).add | |
| 116 | - (hm.radial.mul_right m.angular) | |
| 117 | - | |
| 118 | -theorem thetaAxial : Supported a b ell U (MeanIncrementBounds.thetaAxial base m) := | |
| 119 | - ((hm.angular.mul_left base.axial).add (hm.axial.mul_left base.angular)).add | |
| 120 | - (hm.axial.mul_right m.angular) | |
| 121 | - | |
| 122 | -theorem axialRadial : Supported a b ell U (MeanIncrementBounds.axialRadial base m) := | |
| 123 | - ((hm.axial.mul_left base.radial).add (hm.radial.mul_right base.axial)).add | |
| 124 | - (hm.radial.mul_right m.axial) | |
| 125 | - | |
| 126 | -theorem axialAxial : Supported a b ell U (MeanIncrementBounds.axialAxial base m) := | |
| 127 | - ((hm.axial.mul_left base.axial).smul 2).add (hm.axial.mul_right m.axial) | |
| 128 | - | |
| 129 | -theorem radialRadial : Supported a b ell U (MeanIncrementBounds.radialRadial base m) := | |
| 130 | - ((hm.radial.mul_left base.radial).smul 2).add (hm.radial.mul_right m.radial) | |
| 131 | - | |
| 132 | -theorem radialAngular : Supported a b ell U (MeanIncrementBounds.radialAngular base m) := | |
| 133 | - ((hm.angular.mul_left base.angular).smul 2).add (hm.angular.mul_right m.angular) | |
| 134 | - | |
| 135 | -end SupportedTriple | |
| 136 | - | |
| 137 | -theorem thetaResidual_supported {a b : ℝ} {ell : Slow → ℝ} {U : Set Slow} | |
| 138 | - (hU : IsOpen U) (hell : ContinuousOn ell U) (o : MeanIncrementBounds.Operators Point) (base : MeanIncrementBounds.Triple Point) | |
| 139 | - {m : MeanIncrementBounds.Triple Point} (hm : SupportedTriple a b ell U m) | |
| 140 | - (W : Fin 3 → Fin 3 → ScalarField) (hW : ∀ i j, Supported a b ell U (W i j)) | |
| 141 | - {T : ScalarField} (hT : Supported a b ell U T) : | |
| 142 | - Supported a b ell U (MeanIncrementBounds.thetaResidual o base m W T) := | |
| 143 | - ((((hm.angular.time hU hell o).add (((hm.thetaRadial base).add (hW 0 1)).radialDiv hU hell o 2)).add | |
| 144 | - (((hm.thetaAxial base).add (hW 2 1)).dz hU hell o)).sub | |
| 145 | - (hm.angular.viscosity hU hell o 1)).sub (hT.radialDiv hU hell o 2) | |
| 146 | - | |
| 147 | -theorem axialResidual_supported {a b : ℝ} {ell : Slow → ℝ} {U : Set Slow} | |
| 148 | - (hU : IsOpen U) (hell : ContinuousOn ell U) (o : MeanIncrementBounds.Operators Point) (base : MeanIncrementBounds.Triple Point) | |
| 149 | - {m : MeanIncrementBounds.Triple Point} (hm : SupportedTriple a b ell U m) | |
| 150 | - (W : Fin 3 → Fin 3 → ScalarField) (hW : ∀ i j, Supported a b ell U (W i j)) | |
| 151 | - {p T : ScalarField} (hp : Supported a b ell U p) (hT : Supported a b ell U T) : | |
| 152 | - Supported a b ell U (MeanIncrementBounds.axialResidual o base m W p T) := | |
| 153 | - ((((hm.axial.time hU hell o).add (((hm.axialRadial base).add (hW 0 2)).radialDiv hU hell o 1)).add | |
| 154 | - ((((hm.axialAxial base).add (hW 2 2)).add hp).dz hU hell o)).sub | |
| 155 | - (hm.axial.viscosity hU hell o 0)).sub (hT.radialDiv hU hell o 1) | |
| 156 | - | |
| 157 | -theorem gr_supported {a b : ℝ} {ell : Slow → ℝ} {U : Set Slow} | |
| 158 | - (hU : IsOpen U) (hell : ContinuousOn ell U) (o : MeanIncrementBounds.Operators Point) (base : MeanIncrementBounds.Triple Point) | |
| 159 | - {m : MeanIncrementBounds.Triple Point} (hm : SupportedTriple a b ell U m) | |
| 160 | - (W : Fin 3 → Fin 3 → ScalarField) (hW : ∀ i j, Supported a b ell U (W i j)) : | |
| 161 | - Supported a b ell U (MeanIncrementBounds.gr o base m W) := | |
| 162 | - (((((hm.radial.time hU hell o).add (((hm.radialRadial base).add (hW 0 0)).radialDiv hU hell o 1)).add | |
| 163 | - (((hm.axialRadial base).add (hW 2 0)).dz hU hell o)).sub | |
| 164 | - (((hm.radialAngular base).add (hW 1 1)).mul_left o.invRadius)).sub | |
| 165 | - (hm.radial.viscosity hU hell o 1)).neg | |
| 166 | - | |
| 167 | -/-! ## Smoothness with actual axis zero germs -/ | |
| 168 | - | |
| 169 | -theorem thetaRadial_localShell {a b : ℝ} (ha : 0 < a) {U : Set Slow} (hU : IsOpen U) | |
| 170 | - {base m : MeanIncrementBounds.Triple Point} (hb : MeanIncrementBounds.SmoothTriple (LocalRankDefect.positiveDomain U) base) | |
| 171 | - (hm : LocalRankDefect.LocalTriple a b U m) : LocalRankDefect.LocalShell a b U (MeanIncrementBounds.thetaRadial base m) := | |
| 172 | - ((hm.angular.coefficient_mul ha hU hb.radial).add | |
| 173 | - (hm.radial.mul_coefficient ha hU hb.angular)).add (hm.radial.mul hm.angular) | |
| 174 | - | |
| 175 | -theorem thetaResidual_localShell {a b : ℝ} (ha : 0 < a) {U : Set Slow} (hU : IsOpen U) | |
| 176 | - {o : MeanIncrementBounds.Operators Point} (ho : LocalRankDefect.LocalOperators U o) | |
| 177 | - {base m : MeanIncrementBounds.Triple Point} (hb : MeanIncrementBounds.SmoothTriple (LocalRankDefect.positiveDomain U) base) | |
| 178 | - (hm : LocalRankDefect.LocalTriple a b U m) (W : Fin 3 → Fin 3 → ScalarField) | |
| 179 | - (hW : ∀ i j, LocalRankDefect.LocalShell a b U (W i j)) | |
| 180 | - {T : ScalarField} (hT : LocalRankDefect.LocalShell a b U T) : | |
| 181 | - LocalRankDefect.LocalShell a b U (MeanIncrementBounds.thetaResidual o base m W T) := | |
| 182 | - ((((hm.angular.time hU o).add (((thetaRadial_localShell ha hU hb hm).add | |
| 183 | - (hW 0 1)).radialDiv ha hU ho 2)).add | |
| 184 | - (((LocalRankDefect.thetaAxial_localShell ha hU hb hm).add (hW 2 1)).dz hU o)).sub | |
| 185 | - (hm.angular.viscosity ha hU ho 1)).sub (hT.radialDiv ha hU ho 2) | |
| 186 | - | |
| 187 | -theorem axialResidual_localShell {a b : ℝ} (ha : 0 < a) {U : Set Slow} (hU : IsOpen U) | |
| 188 | - {o : MeanIncrementBounds.Operators Point} (ho : LocalRankDefect.LocalOperators U o) | |
| 189 | - {base m : MeanIncrementBounds.Triple Point} (hb : MeanIncrementBounds.SmoothTriple (LocalRankDefect.positiveDomain U) base) | |
| 190 | - (hm : LocalRankDefect.LocalTriple a b U m) (W : Fin 3 → Fin 3 → ScalarField) | |
| 191 | - (hW : ∀ i j, LocalRankDefect.LocalShell a b U (W i j)) | |
| 192 | - {p T : ScalarField} (hp : LocalRankDefect.LocalShell a b U p) (hT : LocalRankDefect.LocalShell a b U T) : | |
| 193 | - LocalRankDefect.LocalShell a b U (MeanIncrementBounds.axialResidual o base m W p T) := | |
| 194 | - ((((hm.axial.time hU o).add (((LocalRankDefect.axialRadial_localShell ha hU hb hm).add | |
| 195 | - (hW 0 2)).radialDiv ha hU ho 1)).add | |
| 196 | - ((((LocalRankDefect.axialAxial_localShell ha hU hb hm).add (hW 2 2)).add hp).dz hU o)).sub | |
| 197 | - (hm.axial.viscosity ha hU ho 0)).sub (hT.radialDiv ha hU ho 1) | |
| 198 | - | |
| 199 | -/-! ## Covariance is continued by its actual angular integral -/ | |
| 200 | - | |
| 201 | -theorem covariance_smooth {U : Set Slow} (hU : IsOpen U) (u : CorrectionState.State Point) | |
| 202 | - (hu : ∀ n i, ContDiffOn ℝ ∞ (fun x => u.oscillation n x i) | |
| 203 | - (PhysicalMeanDomain.slowDomain U ×ˢ univ)) (i j : Fin 3) : | |
| 204 | - MeanIncrementBounds.SmoothOn (PhysicalMeanDomain.slowDomain U) (u.covariance i j) := by | |
| 205 | - intro n | |
| 206 | - exact (ParametricRephase.intervalIntegral_contDiffOn_of_joint _ _ (PhysicalMeanDomain.slowDomain_open hU) | |
| 207 | - ((hu n i).mul (hu n j)) 0 (2 * Real.pi) (by positivity)).div_const _ | |
| 208 | - | |
| 209 | -theorem covariance_supported {a b : ℝ} {ell : Slow → ℝ} {U : Set Slow} | |
| 210 | - (u : CorrectionState.State Point) | |
| 211 | - (hu : ∀ n i θ, VariableGaugeMean.SupportedGauge a b ell U (fun x => u.oscillation n (x, θ) i)) | |
| 212 | - (i j : Fin 3) : Supported a b ell U (u.covariance i j) := by | |
| 213 | - intro n x hx hn | |
| 214 | - by_contra hnot | |
| 215 | - have hz (θ : ℝ) : u.oscillation n (x, θ) i = 0 := by | |
| 216 | - by_contra he | |
| 217 | - exact hnot (hu n i θ x hx he) | |
| 218 | - exact hn (by simp [CorrectionState.State.covariance, CorrectionState.bilinearCovariance, CorrectionState.angularAverage, hz]) | |
| 219 | - | |
| 220 | -theorem covariance_agreement {U : Set Slow} {v u : CorrectionState.State Point} | |
| 221 | - (hu : ∀ n i θ, OffplaneCorrectionExtensions.FiberAgreement U | |
| 222 | - (fun x => v.oscillation n (x, θ) i) (fun x => u.oscillation n (x, θ) i)) | |
| 223 | - (i j : Fin 3) (n : ℕ) : OffplaneCorrectionExtensions.FiberAgreement U (v.covariance i j n) (u.covariance i j n) := by | |
| 224 | - intro x hx | |
| 225 | - unfold CorrectionState.State.covariance CorrectionState.bilinearCovariance CorrectionState.angularAverage | |
| 226 | - congr 1 | |
| 227 | - apply intervalIntegral.integral_congr | |
| 228 | - intro θ _ | |
| 229 | - exact congrArg₂ (· * ·) (hu n i θ hx) (hu n j θ hx) | |
| 230 | - | |
| 231 | -/-! ## Full-fiber equality is preserved by the residual algebra -/ | |
| 232 | - | |
| 233 | -def Agrees (U : Set Slow) (f g : ScalarField) : Prop := | |
| 234 | - ∀ n, OffplaneCorrectionExtensions.FiberAgreement U (f n) (g n) | |
| 235 | - | |
| 236 | -namespace Agrees | |
| 237 | - | |
| 238 | -variable {U : Set Slow} {f f' g g' : ScalarField} | |
| 239 | - | |
| 240 | -theorem refl (f : ScalarField) : Agrees U f f := fun _ _ _ => rfl | |
| 241 | -theorem add (hf : Agrees U f f') (hg : Agrees U g g') : Agrees U (f + g) (f' + g') := | |
| 242 | - fun n _ hx => congrArg₂ (· + ·) (hf n hx) (hg n hx) | |
| 243 | -theorem sub (hf : Agrees U f f') (hg : Agrees U g g') : Agrees U (f - g) (f' - g') := | |
| 244 | - fun n _ hx => congrArg₂ (· - ·) (hf n hx) (hg n hx) | |
| 245 | -theorem mul (hf : Agrees U f f') (hg : Agrees U g g') : Agrees U (f * g) (f' * g') := | |
| 246 | - fun n _ hx => congrArg₂ (· * ·) (hf n hx) (hg n hx) | |
| 247 | -theorem neg (hf : Agrees U f f') : Agrees U (-f) (-f') := | |
| 248 | - fun n _ hx => congrArg Neg.neg (hf n hx) | |
| 249 | -theorem smul (hf : Agrees U f f') (c : ℝ) : Agrees U (c • f) (c • f') := | |
| 250 | - fun n _ hx => congrArg (c * ·) (hf n hx) | |
| 251 | -theorem dr (hf : Agrees U f f') (hU : IsOpen U) (o : MeanIncrementBounds.Operators Point) : | |
| 252 | - Agrees U (o.dr f) (o.dr f') := ActualCorrectionModels.fiberAgreement_dr hU o hf | |
| 253 | -theorem dz (hf : Agrees U f f') (hU : IsOpen U) (o : MeanIncrementBounds.Operators Point) : | |
| 254 | - Agrees U (o.dz f) (o.dz f') := ActualCorrectionModels.fiberAgreement_dz hU o hf | |
| 255 | -theorem time (hf : Agrees U f f') (hU : IsOpen U) (o : MeanIncrementBounds.Operators Point) : | |
| 256 | - Agrees U (o.time f) (o.time f') := ActualCorrectionModels.fiberAgreement_time hU o hf | |
| 257 | -theorem radialDiv (hf : Agrees U f f') (hU : IsOpen U) (o : MeanIncrementBounds.Operators Point) (c : ℝ) : | |
| 258 | - Agrees U (o.radialDiv c f) (o.radialDiv c f') := | |
| 259 | - (hf.dr hU o).add (((refl o.invRadius).mul hf).smul c) | |
| 260 | -theorem viscosity (hf : Agrees U f f') (hU : IsOpen U) (o : MeanIncrementBounds.Operators Point) (c : ℝ) : | |
| 261 | - Agrees U (o.viscosity c f) (o.viscosity c f') := ActualCorrectionModels.fiberAgreement_viscosity hU o c hf | |
| 262 | - | |
| 263 | -end Agrees | |
| 264 | - | |
| 265 | -structure TripleAgrees (U : Set Slow) (m m' : MeanIncrementBounds.Triple Point) : Prop where | |
| 266 | - radial : Agrees U m.radial m'.radial | |
| 267 | - angular : Agrees U m.angular m'.angular | |
| 268 | - axial : Agrees U m.axial m'.axial | |
| 269 | - | |
| 270 | -namespace TripleAgrees | |
| 271 | - | |
| 272 | -variable {U : Set Slow} {b b' m m' : MeanIncrementBounds.Triple Point} | |
| 273 | - (hb : TripleAgrees U b b') (hm : TripleAgrees U m m') | |
| 274 | - | |
| 275 | -include hb hm | |
| 276 | - | |
| 277 | -theorem thetaRadial : Agrees U (MeanIncrementBounds.thetaRadial b m) (MeanIncrementBounds.thetaRadial b' m') := | |
| 278 | - ((hb.radial.mul hm.angular).add (hm.radial.mul hb.angular)).add (hm.radial.mul hm.angular) | |
| 279 | -theorem thetaAxial : Agrees U (MeanIncrementBounds.thetaAxial b m) (MeanIncrementBounds.thetaAxial b' m') := | |
| 280 | - ((hb.axial.mul hm.angular).add (hb.angular.mul hm.axial)).add (hm.axial.mul hm.angular) | |
| 281 | -theorem axialRadial : Agrees U (MeanIncrementBounds.axialRadial b m) (MeanIncrementBounds.axialRadial b' m') := | |
| 282 | - ((hb.radial.mul hm.axial).add (hm.radial.mul hb.axial)).add (hm.radial.mul hm.axial) | |
| 283 | -theorem axialAxial : Agrees U (MeanIncrementBounds.axialAxial b m) (MeanIncrementBounds.axialAxial b' m') := | |
| 284 | - ((hb.axial.mul hm.axial).smul 2).add (hm.axial.mul hm.axial) | |
| 285 | -theorem radialRadial : Agrees U (MeanIncrementBounds.radialRadial b m) (MeanIncrementBounds.radialRadial b' m') := | |
| 286 | - ((hb.radial.mul hm.radial).smul 2).add (hm.radial.mul hm.radial) | |
| 287 | -theorem radialAngular : Agrees U (MeanIncrementBounds.radialAngular b m) (MeanIncrementBounds.radialAngular b' m') := | |
| 288 | - ((hb.angular.mul hm.angular).smul 2).add (hm.angular.mul hm.angular) | |
| 289 | - | |
| 290 | -end TripleAgrees | |
| 291 | - | |
| 292 | -theorem thetaResidual_agrees {U : Set Slow} (hU : IsOpen U) (o : MeanIncrementBounds.Operators Point) | |
| 293 | - {b b' m m' : MeanIncrementBounds.Triple Point} (hb : TripleAgrees U b b') (hm : TripleAgrees U m m') | |
| 294 | - {W W' : Fin 3 → Fin 3 → ScalarField} (hW : ∀ i j, Agrees U (W i j) (W' i j)) | |
| 295 | - {T T' : ScalarField} (hT : Agrees U T T') : | |
| 296 | - Agrees U (MeanIncrementBounds.thetaResidual o b m W T) (MeanIncrementBounds.thetaResidual o b' m' W' T') := | |
| 297 | - ((((hm.angular.time hU o).add (((hb.thetaRadial hm).add (hW 0 1)).radialDiv hU o 2)).add | |
| 298 | - (((hb.thetaAxial hm).add (hW 2 1)).dz hU o)).sub | |
| 299 | - (hm.angular.viscosity hU o 1)).sub (hT.radialDiv hU o 2) | |
| 300 | - | |
| 301 | -theorem axialResidual_agrees {U : Set Slow} (hU : IsOpen U) (o : MeanIncrementBounds.Operators Point) | |
| 302 | - {b b' m m' : MeanIncrementBounds.Triple Point} (hb : TripleAgrees U b b') (hm : TripleAgrees U m m') | |
| 303 | - {W W' : Fin 3 → Fin 3 → ScalarField} (hW : ∀ i j, Agrees U (W i j) (W' i j)) | |
| 304 | - {p p' T T' : ScalarField} (hp : Agrees U p p') (hT : Agrees U T T') : | |
| 305 | - Agrees U (MeanIncrementBounds.axialResidual o b m W p T) (MeanIncrementBounds.axialResidual o b' m' W' p' T') := | |
| 306 | - ((((hm.axial.time hU o).add (((hb.axialRadial hm).add (hW 0 2)).radialDiv hU o 1)).add | |
| 307 | - ((((hb.axialAxial hm).add (hW 2 2)).add hp).dz hU o)).sub | |
| 308 | - (hm.axial.viscosity hU o 0)).sub (hT.radialDiv hU o 1) | |
| 309 | - | |
| 310 | -theorem gr_agrees {U : Set Slow} (hU : IsOpen U) (o : MeanIncrementBounds.Operators Point) | |
| 311 | - {b b' m m' : MeanIncrementBounds.Triple Point} (hb : TripleAgrees U b b') (hm : TripleAgrees U m m') | |
| 312 | - {W W' : Fin 3 → Fin 3 → ScalarField} (hW : ∀ i j, Agrees U (W i j) (W' i j)) : | |
| 313 | - Agrees U (MeanIncrementBounds.gr o b m W) (MeanIncrementBounds.gr o b' m' W') := | |
| 314 | - (((((hm.radial.time hU o).add (((hb.radialRadial hm).add (hW 0 0)).radialDiv hU o 1)).add | |
| 315 | - (((hb.axialRadial hm).add (hW 2 0)).dz hU o)).sub | |
| 316 | - ((Agrees.refl o.invRadius).mul ((hb.radialAngular hm).add (hW 1 1)))).sub | |
| 317 | - (hm.radial.viscosity hU o 1)).neg | |
| 318 | - | |
| 319 | -/-! ## Primitive inputs and their literal state -/ | |
| 320 | - | |
| 321 | -/-- Only primitive fields are supplied. No covariance, residual, or signed | |
| 322 | -request continuation is part of this structure. -/ | |
| 323 | -structure Primitives {coord : ℝ} (P : SignedStressPrimitive.Patch) (W : OffplaneCorrectionExtensions.Window coord P.a P.b) | |
| 324 | - (u : CorrectionState.State Point) where | |
| 325 | - radial : ∀ n, OffplaneCorrectionExtensions.SupportedContinuation W (u.mean.radial n) | |
| 326 | - angular : ∀ n, OffplaneCorrectionExtensions.SupportedContinuation W (u.mean.angular n) | |
| 327 | - axial : ∀ n, OffplaneCorrectionExtensions.SupportedContinuation W (u.mean.axial n) | |
| 328 | - pressure : ∀ n, OffplaneCorrectionExtensions.SupportedContinuation W (u.pressure n) | |
| 329 | - oscillation : CorrectionState.Oscillation Point | |
| 330 | - oscillation_smooth : ∀ n i, ContDiffOn ℝ ∞ (fun x => oscillation n x i) | |
| 331 | - (PhysicalMeanDomain.slowDomain W.carrier ×ˢ univ) | |
| 332 | - oscillation_supported : ∀ n i θ, VariableGaugeMean.SupportedGauge P.a P.b (OffplaneCorrectionExtensions.stableLength coord) W.carrier | |
| 333 | - (fun x => oscillation n (x, θ) i) | |
| 334 | - oscillation_agrees : ∀ n i θ, OffplaneCorrectionExtensions.FiberAgreement W.carrier | |
| 335 | - (fun x => oscillation n (x, θ) i) (fun x => u.oscillation n (x, θ) i) | |
| 336 | - | |
| 337 | -namespace Primitives | |
| 338 | - | |
| 339 | -variable {coord : ℝ} {P : SignedStressPrimitive.Patch} {W : OffplaneCorrectionExtensions.Window coord P.a P.b} | |
| 340 | - {u : CorrectionState.State Point} (d : Primitives P W u) | |
| 341 | - | |
| 342 | -noncomputable def state : CorrectionState.State Point := | |
| 343 | - {u with | |
| 344 | - mean := ⟨fun n => (d.radial n).value, fun n => (d.angular n).value, fun n => (d.axial n).value⟩ | |
| 345 | - pressure := fun n => (d.pressure n).value | |
| 346 | - oscillation := d.oscillation } | |
| 347 | - | |
| 348 | -theorem mean_localShell : LocalRankDefect.LocalTriple W.lower W.upper W.carrier d.state.mean := | |
| 349 | - ⟨⟨fun n => (d.radial n).smooth, fun n => W.fixed_support (d.radial n).supported⟩, | |
| 350 | - ⟨fun n => (d.angular n).smooth, fun n => W.fixed_support (d.angular n).supported⟩, | |
| 351 | - ⟨fun n => (d.axial n).smooth, fun n => W.fixed_support (d.axial n).supported⟩⟩ | |
| 352 | - | |
| 353 | -theorem mean_supported : SupportedTriple P.a P.b (OffplaneCorrectionExtensions.stableLength coord) W.carrier d.state.mean := | |
| 354 | - ⟨fun n => (d.radial n).supported, fun n => (d.angular n).supported, fun n => (d.axial n).supported⟩ | |
| 355 | - | |
| 356 | -theorem pressure_localShell : LocalRankDefect.LocalShell W.lower W.upper W.carrier d.state.pressure := | |
| 357 | - ⟨fun n => (d.pressure n).smooth, fun n => W.fixed_support (d.pressure n).supported⟩ | |
| 358 | - | |
| 359 | -theorem pressure_supported : Supported P.a P.b (OffplaneCorrectionExtensions.stableLength coord) W.carrier d.state.pressure := | |
| 360 | - fun n => (d.pressure n).supported | |
| 361 | - | |
| 362 | -theorem covariance_localShell (i j : Fin 3) : | |
| 363 | - LocalRankDefect.LocalShell W.lower W.upper W.carrier (d.state.covariance i j) := | |
| 364 | - ⟨covariance_smooth W.isOpen d.state d.oscillation_smooth i j, | |
| 365 | - fun n => W.fixed_support (covariance_supported d.state d.oscillation_supported i j n)⟩ | |
| 366 | - | |
| 367 | -theorem covariance_supported (i j : Fin 3) : | |
| 368 | - Supported P.a P.b (OffplaneCorrectionExtensions.stableLength coord) W.carrier (d.state.covariance i j) := | |
| 369 | - SignedRequestContinuation.covariance_supported d.state d.oscillation_supported i j | |
| 370 | - | |
| 371 | -theorem mean_agrees : TripleAgrees W.carrier d.state.mean u.mean := | |
| 372 | - ⟨fun n => (d.radial n).agrees, fun n => (d.angular n).agrees, fun n => (d.axial n).agrees⟩ | |
| 373 | - | |
| 374 | -theorem pressure_agrees : Agrees W.carrier d.state.pressure u.pressure := | |
| 375 | - fun n => (d.pressure n).agrees | |
| 376 | - | |
| 377 | -theorem covariance_agrees (i j : Fin 3) : Agrees W.carrier (d.state.covariance i j) (u.covariance i j) := | |
| 378 | - covariance_agreement d.oscillation_agrees i j | |
| 379 | - | |
| 380 | -end Primitives | |
| 381 | - | |
| 382 | -/-! ## The moving signed primitive at any positive smooth scale -/ | |
| 383 | - | |
| 384 | -noncomputable def profileMap (q : Slow → ℝ) (x : Point) : Point := | |
| 385 | - (x.1 / Real.sqrt (q x.2.1), x.2) | |
| 386 | - | |
| 387 | -noncomputable def inverseProfileMap (q : Slow → ℝ) (x : Point) : Point := | |
| 388 | - (Real.sqrt (q x.2.1) * x.1, x.2) | |
| 389 | - | |
| 390 | -theorem profileMap_smooth {U : Set Slow} {q : Slow → ℝ} | |
| 391 | - (hq : ContDiffOn ℝ ∞ q U) (hp : ∀ s ∈ U, 0 < q s) : | |
| 392 | - ContDiffOn ℝ ∞ (profileMap q) (PhysicalMeanDomain.slowDomain U) := | |
| 393 | - (contDiffOn_fst.div ((hq.comp contDiffOn_snd.fst (fun _ hx => hx)).sqrt | |
| 394 | - (fun _ hx => (hp _ hx).ne')) (fun _ hx => (Real.sqrt_pos.mpr (hp _ hx)).ne')).prodMk contDiffOn_snd | |
| 395 | - | |
| 396 | -theorem inverseProfileMap_smooth {U : Set Slow} {q : Slow → ℝ} | |
| 397 | - (hq : ContDiffOn ℝ ∞ q U) (hp : ∀ s ∈ U, 0 < q s) : | |
| 398 | - ContDiffOn ℝ ∞ (inverseProfileMap q) (PhysicalMeanDomain.slowDomain U) := | |
| 399 | - (((hq.comp contDiffOn_snd.fst (fun _ hx => hx)).sqrt (fun _ hx => (hp _ hx).ne')).mul | |
| 400 | - contDiffOn_fst).prodMk contDiffOn_snd | |
| 401 | - | |
| 402 | -theorem inverseProfileMap_supported (P : SignedStressPrimitive.Patch) {U : Set Slow} {q : Slow → ℝ} | |
| 403 | - (hp : ∀ s ∈ U, 0 < q s) {f : Point → ℝ} | |
| 404 | - (hs : VariableGaugeMean.SupportedGauge P.a P.b (SignedStressPrimitive.lengthScale q) U f) : | |
| 405 | - PhysicalMeanDomain.SupportedOn P.a P.b U (fun x => f (inverseProfileMap q x)) := by | |
| 406 | - intro x hx hn | |
| 407 | - have h := hs (inverseProfileMap q x) hx hn | |
| 408 | - have he : 0 < Real.sqrt (q x.2.1) := Real.sqrt_pos.mpr (hp _ hx) | |
| 409 | - exact ⟨(mul_le_mul_iff_right₀ he).mp h.1, (mul_le_mul_iff_right₀ he).mp h.2⟩ | |
| 410 | - | |
| 411 | -theorem physicalBarSigma_profile (P : SignedStressPrimitive.Patch) (e : ℕ) (q : Slow → ℝ) (f : Point → ℝ) (x : Point) : | |
| 412 | - SignedStressPrimitive.physicalBarSigma P e q f (x.1, x.2.1) = | |
| 413 | - Real.sqrt (q x.2.1) * SignedStressPrimitive.barSigma P e (fun y => f (inverseProfileMap q y)) | |
| 414 | - ((profileMap q x).1, x.2.1) := rfl | |
| 415 | - | |
| 416 | -theorem physicalBarSigma_smooth (P : SignedStressPrimitive.Patch) (e : ℕ) {U : Set Slow} (hU : IsOpen U) | |
| 417 | - {q : Slow → ℝ} (hq : ContDiffOn ℝ ∞ q U) (hp : ∀ s ∈ U, 0 < q s) | |
| 418 | - {f : Point → ℝ} (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain U)) | |
| 419 | - (hs : VariableGaugeMean.SupportedGauge P.a P.b (SignedStressPrimitive.lengthScale q) U f) : | |
| 420 | - ContDiffOn ℝ ∞ (fun x : Point => SignedStressPrimitive.physicalBarSigma P e q f (x.1, x.2.1)) | |
| 421 | - (PhysicalMeanDomain.slowDomain U) := by | |
| 422 | - have hg := hf.comp (inverseProfileMap_smooth hq hp) (fun _ hx => hx) | |
| 423 | - have hgs := inverseProfileMap_supported P hp hs | |
| 424 | - have hb := LocalSignedRequest.sigma_contDiffOn P e hU | |
| 425 | - (PhysicalMeanDomain.liftedTorusAverage_contDiffOn hU hg) | |
| 426 | - (PhysicalMeanDomain.liftedTorusAverage_supportedOn hU hg hgs) | |
| 427 | - have hell : ContDiffOn ℝ ∞ (fun x : Point => Real.sqrt (q x.2.1)) | |
| 428 | - (PhysicalMeanDomain.slowDomain U) := | |
| 429 | - (hq.comp contDiffOn_snd.fst (fun _ hx => hx)).sqrt (fun _ hx => (hp _ hx).ne') | |
| 430 | - have h := hell.mul (hb.comp (profileMap_smooth hq hp) (fun _ hx => hx)) | |
| 431 | - simp only [Function.comp_def, SignedWaveUpdate.sigma_liftedTorusAverage] at h | |
| 432 | - exact h | |
| 433 | - | |
| 434 | -/-- Freezing is used only to apply the exact one-fiber integral theorem; | |
| 435 | -the smooth continuation above retains the full slow dependence. -/ | |
| 436 | -noncomputable def frozenAverage (f : Point → ℝ) (s : Slow) (x : ℝ × ℝ) : ℝ := | |
| 437 | - PressureStream.torusAverage f (x.1, s) | |
| 438 | - | |
| 439 | -theorem frozenAverage_smooth {U : Set Slow} (hU : IsOpen U) {s : Slow} (hs : s ∈ U) | |
| 440 | - {f : Point → ℝ} (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain U)) : | |
| 441 | - ContDiff ℝ ∞ (frozenAverage f s) := by | |
| 442 | - have hb := PhysicalMeanDomain.liftedTorusAverage_contDiffOn hU hf | |
| 443 | - rw [contDiff_iff_contDiffAt] | |
| 444 | - intro x | |
| 445 | - change ContDiffAt ℝ ∞ (fun z : ℝ × ℝ => | |
| 446 | - MeanMomentBounds.liftedTorusAverage f (z.1, (s, (0 : Slow)))) x | |
| 447 | - exact (hb.contDiffAt ((PhysicalMeanDomain.slowDomain_open hU).mem_nhds hs)).comp x | |
| 448 | - (contDiffAt_fst.prodMk (contDiffAt_const.prodMk contDiffAt_const)) | |
| 449 | - | |
| 450 | -theorem frozenAverage_supported (P : SignedStressPrimitive.Patch) {U : Set Slow} {q : Slow → ℝ} | |
| 451 | - (hp : ∀ s ∈ U, 0 < q s) {s : Slow} (hs : s ∈ U) {f : Point → ℝ} | |
| 452 | - (hfs : VariableGaugeMean.SupportedGauge P.a P.b (SignedStressPrimitive.lengthScale q) U f) : | |
| 453 | - SignedStressPrimitive.PhysicalSupport P (fun _ : ℝ => q s) (frozenAverage f s) := by | |
| 454 | - intro x hx | |
| 455 | - by_contra hn | |
| 456 | - apply hx | |
| 457 | - apply PressureStream.torusAverage_zero_of_forall | |
| 458 | - intro Y | |
| 459 | - by_contra hY | |
| 460 | - have hh := hfs (x.1, (s, Y)) hs hY | |
| 461 | - have hpos : 0 < SignedStressPrimitive.lengthScale q s := Real.sqrt_pos.mpr (hp _ hs) | |
| 462 | - apply hn | |
| 463 | - exact ⟨(le_div_iff₀ hpos).mpr (by simpa only [mul_comm] using hh.1), | |
| 464 | - (div_le_iff₀ hpos).mpr (by simpa only [mul_comm] using hh.2)⟩ | |
| 465 | - | |
| 466 | -theorem physicalBarSigma_frozen (P : SignedStressPrimitive.Patch) (e : ℕ) (q : Slow → ℝ) | |
| 467 | - (f : Point → ℝ) (s : Slow) (r : ℝ) : | |
| 468 | - SignedStressPrimitive.physicalBarSigma P e q f (r, s) = | |
| 469 | - SignedStressPrimitive.physicalSigma P e (fun _ : ℝ => q s) (frozenAverage f s) (r, 0) := | |
| 470 | - LocalSignedRequest.physicalSigma_fiber_congr (S := Slow) (T := ℝ) P e | |
| 471 | - (q := q) (q' := fun _ : ℝ => q s) (f := PressureStream.torusAverage f) | |
| 472 | - (g := frozenAverage f s) (s := s) (t := 0) rfl (fun _ => rfl) r | |
| 473 | - | |
| 474 | -theorem physicalBarSigma_supported (P : SignedStressPrimitive.Patch) (e : ℕ) {U : Set Slow} (hU : IsOpen U) | |
| 475 | - {q : Slow → ℝ} (hp : ∀ s ∈ U, 0 < q s) | |
| 476 | - {f : Point → ℝ} (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain U)) | |
| 477 | - (hs : VariableGaugeMean.SupportedGauge P.a P.b (SignedStressPrimitive.lengthScale q) U f) : | |
| 478 | - VariableGaugeMean.SupportedGauge P.a P.b (SignedStressPrimitive.lengthScale q) U | |
| 479 | - (fun x : Point => SignedStressPrimitive.physicalBarSigma P e q f (x.1, x.2.1)) := by | |
| 480 | - intro x hx hn | |
| 481 | - change SignedStressPrimitive.physicalBarSigma P e q f (x.1, x.2.1) ≠ 0 at hn | |
| 482 | - rw [physicalBarSigma_frozen] at hn | |
| 483 | - have h := SignedStressPrimitive.physicalSigma_supported P e contDiff_const (fun _ => hp _ hx) | |
| 484 | - (frozenAverage_smooth hU hx hf) (frozenAverage_supported P hp hx hs) (x.1, 0) hn | |
| 485 | - have he : 0 < SignedStressPrimitive.lengthScale q x.2.1 := Real.sqrt_pos.mpr (hp _ hx) | |
| 486 | - exact ⟨by simpa only [mul_comm] using (le_div_iff₀ he).mp h.1, | |
| 487 | - by simpa only [mul_comm] using (div_le_iff₀ he).mp h.2⟩ | |
| 488 | - | |
| 489 | -theorem physicalBarSigma_integral (P : SignedStressPrimitive.Patch) (e : ℕ) {U : Set Slow} (hU : IsOpen U) | |
| 490 | - {q : Slow → ℝ} (hp : ∀ s ∈ U, 0 < q s) | |
| 491 | - {f : Point → ℝ} (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain U)) | |
| 492 | - (hs : VariableGaugeMean.SupportedGauge P.a P.b (SignedStressPrimitive.lengthScale q) U f) {s : Slow} (hsp : s ∈ U) (r : ℝ) : | |
| 493 | - SignedStressPrimitive.physicalBarSigma P e q f (r, s) = -(∫ t in (0 : ℝ)..r, | |
| 494 | - t ^ e * SignedStressPrimitive.physicalAdjusted P e q (PressureStream.torusAverage f) (t, s)) / r ^ e := by | |
| 495 | - rw [physicalBarSigma_frozen] | |
| 496 | - exact SignedStressPrimitive.physicalSigma_eq_negative_primitive P e contDiff_const (fun _ => hp _ hsp) | |
| 497 | - (frozenAverage_smooth hU hsp hf) (frozenAverage_supported P hp hsp hs) (r, 0) | |
| 498 | - | |
| 499 | -theorem physicalBarSigma_agrees (P : SignedStressPrimitive.Patch) (e : ℕ) {U : Set Slow} | |
| 500 | - {q q' : Slow → ℝ} (hq : EqOn q q' (U ∩ OffplaneCorrectionExtensions.positiveSlow)) | |
| 501 | - {f g : Point → ℝ} (he : OffplaneCorrectionExtensions.FiberAgreement U f g) : | |
| 502 | - OffplaneCorrectionExtensions.FiberAgreement U | |
| 503 | - (fun x : Point => SignedStressPrimitive.physicalBarSigma P e q f (x.1, x.2.1)) | |
| 504 | - (fun x : Point => SignedStressPrimitive.physicalBarSigma P e q' g (x.1, x.2.1)) := by | |
| 505 | - intro x hx | |
| 506 | - apply LocalSignedRequest.physicalSigma_fiber_congr P e (hq hx) | |
| 507 | - intro r | |
| 508 | - exact PressureStream.torusAverage_congr_slice (r, x.2.1) (fun Y => he hx) | |
| 509 | - | |
| 510 | -/-- Continuation of the exact signed primitive, including both averages | |
| 511 | -and its moving radial scaling. -/ | |
| 512 | -noncomputable def signedPrimitive {coord : ℝ} (hc : 0 < coord) (hc1 : coord < 1) | |
| 513 | - {P : SignedStressPrimitive.Patch} {W : OffplaneCorrectionExtensions.Window coord P.a P.b} {f : Point → ℝ} | |
| 514 | - (d : OffplaneCorrectionExtensions.SupportedContinuation W f) (e : ℕ) : | |
| 515 | - OffplaneCorrectionExtensions.SupportedContinuation W (fun x : Point => SignedStressPrimitive.physicalBarSigma P e | |
| 516 | - (SimilarityCoordinates.coordinateQ coord) f (x.1, x.2.1)) where | |
| 517 | - value x := SignedStressPrimitive.physicalBarSigma P e (OffplaneCorrectionExtensions.stableQ coord) d.value (x.1, x.2.1) | |
| 518 | - smooth := physicalBarSigma_smooth P e W.isOpen | |
| 519 | - (fun _ hx => (OffplaneCorrectionExtensions.stableQ_contDiffAt hc hc1 (W.stable hx)).contDiffWithinAt) | |
| 520 | - (fun _ hx => OffplaneCorrectionExtensions.stableQ_pos (W.stable hx)) d.smooth d.supported | |
| 521 | - supported := physicalBarSigma_supported P e W.isOpen | |
| 522 | - (fun _ hx => OffplaneCorrectionExtensions.stableQ_pos (W.stable hx)) d.smooth d.supported | |
| 523 | - agrees := physicalBarSigma_agrees P e | |
| 524 | - (fun _ hx => OffplaneCorrectionExtensions.stableQ_eq_coordinateQ hc hc1 hx.2) d.agrees | |
| 525 | - | |
| 526 | -/-! ## Instantiation with the same constructed slow base -/ | |
| 527 | - | |
| 528 | -section ActualContext | |
| 529 | - | |
| 530 | -variable {F : OutgoingProfile.Profile} {W₀ : NominalProfile.Witness F} | |
| 531 | - (H : NominalConeAssembly.Certificate W₀) {ld : ModulatedProfileAssembly.LoopData W₀} | |
| 532 | - (v : ModulatedProfileAssembly.Witness ld) (upper : ℝ) (B : ℕ) (index : ℕ → ℕ) | |
| 533 | - {P : SignedStressPrimitive.Patch} (W : OffplaneCorrectionExtensions.Window (2 * F.data.h) P.a P.b) | |
| 534 | - | |
| 535 | -theorem actual_base_smooth : MeanIncrementBounds.SmoothTriple (LocalRankDefect.positiveDomain W.carrier) | |
| 536 | - (ActualCorrectionModels.context H v upper B index).base := by | |
| 537 | - have hsub : LocalRankDefect.positiveDomain W.carrier ⊆ ActualCorrectionModels.contextDomain F.data.h := | |
| 538 | - fun _ hx => ⟨W.stable hx.2, hx.1⟩ | |
| 539 | - have hb := ActualCorrectionModels.context_base_smooth H v upper B index | |
| 540 | - exact ⟨fun n => (hb.radial n).mono hsub, fun n => (hb.angular n).mono hsub, | |
| 541 | - fun n => (hb.axial n).mono hsub⟩ | |
| 542 | - | |
| 543 | -theorem actual_operators_local : LocalRankDefect.LocalOperators W.carrier (ActualCorrectionModels.context H v upper B index).operators := | |
| 544 | - CommonBaseContext.context_operators_local H v upper B W.carrier index | |
| 545 | - | |
| 546 | -theorem actual_stress_smooth (n : ℕ) : | |
| 547 | - ContDiffOn ℝ ∞ ((ActualCorrectionModels.context H v upper B index).virtualTheta n) (PhysicalMeanDomain.slowDomain W.carrier) ∧ | |
| 548 | - ContDiffOn ℝ ∞ ((ActualCorrectionModels.context H v upper B index).virtualAxial n) (PhysicalMeanDomain.slowDomain W.carrier) := by | |
| 549 | - constructor <;> intro x hx | |
| 550 | - · exact (((ActualCorrectionModels.virtualStress_smoothAt H v upper B n | |
| 551 | - (p := BaseContextAssembly.slowCoordinates x) (W.stable hx)).comp x | |
| 552 | - BaseContextAssembly.slowCoordinates.contDiff.contDiffAt).fst).contDiffWithinAt | |
| 553 | - · exact (((ActualCorrectionModels.virtualStress_smoothAt H v upper B n | |
| 554 | - (p := BaseContextAssembly.slowCoordinates x) (W.stable hx)).comp x | |
| 555 | - BaseContextAssembly.slowCoordinates.contDiff.contDiffAt).snd).contDiffWithinAt | |
| 556 | - | |
| 557 | -theorem actual_base_agrees : TripleAgrees W.carrier (ActualCorrectionModels.context H v upper B index).base | |
| 558 | - (CommonBaseContext.context H v upper B index).base := | |
| 559 | - ⟨fun n => (ActualCorrectionModels.context_base_fiberAgreement H v upper B index n W.carrier).1, | |
| 560 | - fun n => (ActualCorrectionModels.context_base_fiberAgreement H v upper B index n W.carrier).2.1, | |
| 561 | - fun n => (ActualCorrectionModels.context_base_fiberAgreement H v upper B index n W.carrier).2.2⟩ | |
| 562 | - | |
| 563 | -variable {u : CorrectionState.State Point} (d : Primitives P W u) | |
| 564 | - | |
| 565 | -/-- The continued radial source is computed before pressure reconstruction. -/ | |
| 566 | -noncomputable def radialSource (n : ℕ) : | |
| 567 | - OffplaneCorrectionExtensions.SupportedContinuation W (u.gr (CommonBaseContext.context H v upper B index) n) where | |
| 568 | - value := d.state.gr (ActualCorrectionModels.context H v upper B index) n | |
| 569 | - smooth := (LocalRankDefect.gr_localShell W.lower_pos W.isOpen | |
| 570 | - (actual_base_smooth H v upper B index W) d.mean_localShell | |
| 571 | - (actual_operators_local H v upper B index W) d.state.covariance d.covariance_localShell).smooth n | |
| 572 | - supported := gr_supported W.isOpen | |
| 573 | - (W.length_smooth (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half])).continuousOn | |
| 574 | - (ActualCorrectionModels.context H v upper B index).operators (ActualCorrectionModels.context H v upper B index).base | |
| 575 | - d.mean_supported d.state.covariance d.covariance_supported n | |
| 576 | - agrees := gr_agrees W.isOpen (ActualCorrectionModels.context H v upper B index).operators | |
| 577 | - (actual_base_agrees H v upper B index W) d.mean_agrees d.covariance_agrees n | |
| 578 | - | |
| 579 | -/-- This is primitive support geometry for the continued virtual tensor. | |
| 580 | -It does not assume any residual or request bound or continuation. -/ | |
| 581 | -structure ContextSupport : Prop where | |
| 582 | - theta : Supported P.a P.b (OffplaneCorrectionExtensions.stableLength (2 * F.data.h)) W.carrier | |
| 583 | - (ActualCorrectionModels.context H v upper B index).virtualTheta | |
| 584 | - axial : Supported P.a P.b (OffplaneCorrectionExtensions.stableLength (2 * F.data.h)) W.carrier | |
| 585 | - (ActualCorrectionModels.context H v upper B index).virtualAxial | |
| 586 | - | |
| 587 | -variable (hT : ContextSupport H v upper B index W) | |
| 588 | - | |
| 589 | -noncomputable def thetaSource (n : ℕ) : | |
| 590 | - OffplaneCorrectionExtensions.SupportedContinuation W (u.thetaResidual (CommonBaseContext.context H v upper B index) n) where | |
| 591 | - value := d.state.thetaResidual (ActualCorrectionModels.context H v upper B index) n | |
| 592 | - smooth := (thetaResidual_localShell W.lower_pos W.isOpen | |
| 593 | - (actual_operators_local H v upper B index W) (actual_base_smooth H v upper B index W) | |
| 594 | - d.mean_localShell d.state.covariance d.covariance_localShell | |
| 595 | - ⟨fun k => (actual_stress_smooth H v upper B index W k).1, | |
| 596 | - fun k => W.fixed_support (hT.theta k)⟩).smooth n | |
| 597 | - supported := thetaResidual_supported W.isOpen | |
| 598 | - (W.length_smooth (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half])).continuousOn | |
| 599 | - (ActualCorrectionModels.context H v upper B index).operators (ActualCorrectionModels.context H v upper B index).base | |
| 600 | - d.mean_supported d.state.covariance d.covariance_supported hT.theta n | |
| 601 | - agrees := thetaResidual_agrees W.isOpen (ActualCorrectionModels.context H v upper B index).operators | |
| 602 | - (actual_base_agrees H v upper B index W) d.mean_agrees d.covariance_agrees | |
| 603 | - (fun k => (ActualCorrectionModels.context_stress_fiberAgreement H v upper B index k W.carrier).1) n | |
| 604 | - | |
| 605 | -noncomputable def axialSource (n : ℕ) : | |
| 606 | - OffplaneCorrectionExtensions.SupportedContinuation W (u.axialResidual (CommonBaseContext.context H v upper B index) n) where | |
| 607 | - value := d.state.axialResidual (ActualCorrectionModels.context H v upper B index) n | |
| 608 | - smooth := (axialResidual_localShell W.lower_pos W.isOpen | |
| 609 | - (actual_operators_local H v upper B index W) (actual_base_smooth H v upper B index W) | |
| 610 | - d.mean_localShell d.state.covariance d.covariance_localShell d.pressure_localShell | |
| 611 | - ⟨fun k => (actual_stress_smooth H v upper B index W k).2, | |
| 612 | - fun k => W.fixed_support (hT.axial k)⟩).smooth n | |
| 613 | - supported := axialResidual_supported W.isOpen | |
| 614 | - (W.length_smooth (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half])).continuousOn | |
| 615 | - (ActualCorrectionModels.context H v upper B index).operators (ActualCorrectionModels.context H v upper B index).base | |
| 616 | - d.mean_supported d.state.covariance d.covariance_supported d.pressure_supported hT.axial n | |
| 617 | - agrees := axialResidual_agrees W.isOpen (ActualCorrectionModels.context H v upper B index).operators | |
| 618 | - (actual_base_agrees H v upper B index W) d.mean_agrees d.covariance_agrees d.pressure_agrees | |
| 619 | - (fun k => (ActualCorrectionModels.context_stress_fiberAgreement H v upper B index k W.carrier).2) n | |
| 620 | - | |
| 621 | -/-- The moving pressure reconstruction applied to the derived radial | |
| 622 | -source. No pressure-output continuation is assumed here. -/ | |
| 623 | -noncomputable def pressureFromRadial (n : ℕ) {exponent : ℝ} (he : 0 < exponent) | |
| 624 | - (M : ℝ) (vr : Slow) : | |
| 625 | - OffplaneCorrectionExtensions.SupportedContinuation W | |
| 626 | - (VariableGaugeMean.meanPressure exponent P.a P.b M P.a_lt_b (VariableGaugeMean.qLength (2 * F.data.h)) vr | |
| 627 | - (u.gr (CommonBaseContext.context H v upper B index) n)) := | |
| 628 | - (radialSource H v upper B index W d n).pressure (by linarith [F.data.h_pos]) | |
| 629 | - (by linarith [F.data.h_lt_half]) P.a_pos P.a_lt_b he M vr | |
| 630 | - | |
| 631 | -/-- The actual pressure reconstruction preserves primitive continuation | |
| 632 | -data, with no assumption on its output. -/ | |
| 633 | -noncomputable def reconstructPrimitives (g : VariableGaugeMean.GaugeData Slow) | |
| 634 | - (ha : g.radial.inner = P.a) (hb : g.radial.outer = P.b) | |
| 635 | - (hell : ∀ n, g.length n = VariableGaugeMean.qLength (2 * F.data.h)) (he : 0 < g.radial.exponent) : | |
| 636 | - Primitives P W (VariableGaugeMean.reconstructState g (CommonBaseContext.context H v upper B index) u) where | |
| 637 | - radial := d.radial | |
| 638 | - angular := d.angular | |
| 639 | - axial := d.axial | |
| 640 | - pressure := fun n => by | |
| 641 | - let p := pressureFromRadial H v upper B index W d n he | |
| 642 | - (g.radial.frequency n) g.radial.radialDirection | |
| 643 | - refine ⟨p.value, p.smooth, p.supported, ?_⟩ | |
| 644 | - intro x hx | |
| 645 | - have h := p.agrees hx | |
| 646 | - change p.value x = VariableGaugeMean.meanPressure g.radial.exponent g.radial.inner | |
| 647 | - g.radial.outer (g.radial.frequency n) g.radial.inner_lt_outer (g.length n) | |
| 648 | - g.radial.radialDirection (u.gr (CommonBaseContext.context H v upper B index) n) x | |
| 649 | - simpa only [ha, hb, hell] using h | |
| 650 | - oscillation := d.oscillation | |
| 651 | - oscillation_smooth := d.oscillation_smooth | |
| 652 | - oscillation_supported := d.oscillation_supported | |
| 653 | - oscillation_agrees := d.oscillation_agrees | |
| 654 | - | |
| 655 | -/-- The continued reconstructed pressure is the same integral recipe at | |
| 656 | -the stable positive scale, applied to the derived continued radial source. -/ | |
| 657 | -theorem reconstructPrimitives_pressure (g : VariableGaugeMean.GaugeData Slow) | |
| 658 | - (ha : g.radial.inner = P.a) (hb : g.radial.outer = P.b) | |
| 659 | - (hell : ∀ n, g.length n = VariableGaugeMean.qLength (2 * F.data.h)) (he : 0 < g.radial.exponent) | |
| 660 | - (n : ℕ) (x : Point) : | |
| 661 | - (reconstructPrimitives H v upper B index W d g ha hb hell he).state.pressure n x = | |
| 662 | - VariableGaugeMean.meanPressure g.radial.exponent P.a P.b (g.radial.frequency n) P.a_lt_b | |
| 663 | - (OffplaneCorrectionExtensions.stableLength (2 * F.data.h)) g.radial.radialDirection | |
| 664 | - (d.state.gr (ActualCorrectionModels.context H v upper B index) n) x := rfl | |
| 665 | - | |
| 666 | -/-- The literal normalized request: the same two derived residuals, the same patch, | |
| 667 | -the actual moving signed primitive, and the original epsilon factor. -/ | |
| 668 | -noncomputable def fullRequest (s : WeightedClasses.StripData Point) : | |
| 669 | - ℕ → Point × ℝ → SignedWaveUpdate.Vec2 := | |
| 670 | - fun n x => (s.epsilon n)⁻¹ • | |
| 671 | - ![SignedStressPrimitive.physicalBarSigma P 2 (OffplaneCorrectionExtensions.stableQ (2 * F.data.h)) | |
| 672 | - (d.state.thetaResidual (ActualCorrectionModels.context H v upper B index) n) (x.1.1, x.1.2.1), | |
| 673 | - SignedStressPrimitive.physicalBarSigma P 1 (OffplaneCorrectionExtensions.stableQ (2 * F.data.h)) | |
| 674 | - (d.state.axialResidual (ActualCorrectionModels.context H v upper B index) n) (x.1.1, x.1.2.1)] | |
| 675 | - | |
| 676 | -include hT in | |
| 677 | -theorem fullRequest_smooth (s : WeightedClasses.StripData Point) (n : ℕ) : | |
| 678 | - ContDiffOn ℝ ∞ (fullRequest H v upper B index W d s n) | |
| 679 | - (PhysicalMeanDomain.slowDomain W.carrier ×ˢ univ) := by | |
| 680 | - let θ := signedPrimitive (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half]) | |
| 681 | - (thetaSource H v upper B index W d hT n) 2 | |
| 682 | - let z := signedPrimitive (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half]) | |
| 683 | - (axialSource H v upper B index W d hT n) 1 | |
| 684 | - have hθ : ContDiffOn ℝ ∞ (fun x : Point × ℝ => θ.value x.1) | |
| 685 | - (PhysicalMeanDomain.slowDomain W.carrier ×ˢ univ) := | |
| 686 | - θ.smooth.comp contDiffOn_fst (fun _ hx => hx.1) | |
| 687 | - have hz : ContDiffOn ℝ ∞ (fun x : Point × ℝ => z.value x.1) | |
| 688 | - (PhysicalMeanDomain.slowDomain W.carrier ×ˢ univ) := | |
| 689 | - z.smooth.comp contDiffOn_fst (fun _ hx => hx.1) | |
| 690 | - apply contDiffOn_pi.mpr | |
| 691 | - intro i | |
| 692 | - fin_cases i | |
| 693 | - · exact contDiffOn_const.mul hθ | |
| 694 | - · exact contDiffOn_const.mul hz | |
| 695 | - | |
| 696 | -include hT in | |
| 697 | -theorem fullRequest_supported (s : WeightedClasses.StripData Point) (n : ℕ) (i : Fin 2) (θ : ℝ) : | |
| 698 | - VariableGaugeMean.SupportedGauge P.a P.b (OffplaneCorrectionExtensions.stableLength (2 * F.data.h)) W.carrier | |
| 699 | - (fun x => fullRequest H v upper B index W d s n (x, θ) i) := by | |
| 700 | - let th := signedPrimitive (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half]) | |
| 701 | - (thetaSource H v upper B index W d hT n) 2 | |
| 702 | - let z := signedPrimitive (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half]) | |
| 703 | - (axialSource H v upper B index W d hT n) 1 | |
| 704 | - intro x hx hn | |
| 705 | - fin_cases i | |
| 706 | - · exact th.supported x hx (right_ne_zero_of_mul hn) | |
| 707 | - · exact z.supported x hx (right_ne_zero_of_mul hn) | |
| 708 | - | |
| 709 | -include hT in | |
| 710 | -theorem fullRequest_agrees (s : WeightedClasses.StripData Point) (n : ℕ) (θ : ℝ) : | |
| 711 | - OffplaneCorrectionExtensions.FiberAgreement W.carrier | |
| 712 | - (fun x => fullRequest H v upper B index W d s n (x, θ)) | |
| 713 | - (fun x => LocalSignedRequest.fullRequest s P (2 * F.data.h) | |
| 714 | - (CommonBaseContext.context H v upper B index) u n (x, θ)) := by | |
| 715 | - let th := signedPrimitive (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half]) | |
| 716 | - (thetaSource H v upper B index W d hT n) 2 | |
| 717 | - let z := signedPrimitive (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half]) | |
| 718 | - (axialSource H v upper B index W d hT n) 1 | |
| 719 | - intro x hx | |
| 720 | - funext i | |
| 721 | - fin_cases i | |
| 722 | - · exact congrArg ((s.epsilon n)⁻¹ * ·) (th.agrees hx) | |
| 723 | - · exact congrArg ((s.epsilon n)⁻¹ * ·) (z.agrees hx) | |
| 724 | - | |
| 725 | -noncomputable def fullRequestComponent (s : WeightedClasses.StripData Point) (n : ℕ) (i : Fin 2) (θ : ℝ) : | |
| 726 | - OffplaneCorrectionExtensions.SupportedContinuation W (fun x => LocalSignedRequest.fullRequest s P (2 * F.data.h) | |
| 727 | - (CommonBaseContext.context H v upper B index) u n (x, θ) i) where | |
| 728 | - value x := fullRequest H v upper B index W d s n (x, θ) i | |
| 729 | - smooth := (contDiffOn_pi.mp ((fullRequest_smooth H v upper B index W d hT s n).comp | |
| 730 | - (contDiffOn_id.prodMk contDiffOn_const) (fun _ hx => ⟨hx, mem_univ _⟩))) i | |
| 731 | - supported := fullRequest_supported H v upper B index W d hT s n i θ | |
| 732 | - agrees := fun _ hx => congrFun (fullRequest_agrees H v upper B index W d hT s n θ hx) i | |
| 733 | - | |
| 734 | -theorem fullRequest_free_variables (s : WeightedClasses.StripData Point) (n : ℕ) | |
| 735 | - (r : ℝ) (p Y Y' : Slow) (θ θ' : ℝ) : | |
| 736 | - fullRequest H v upper B index W d s n ((r, (p, Y)), θ) = | |
| 737 | - fullRequest H v upper B index W d s n ((r, (p, Y')), θ') := rfl | |
| 738 | - | |
| 739 | -end ActualContext | |
| 740 | - | |
| 741 | -/-! The agreement is a neighborhood equality at positive time, so every | |
| 742 | -fixed ambient derivative tensor is also the tensor of the original field. -/ | |
| 743 | -theorem continuation_jets {coord a b : ℝ} {W : OffplaneCorrectionExtensions.Window coord a b} | |
| 744 | - {f : Point → ℝ} (d : OffplaneCorrectionExtensions.SupportedContinuation W f) {x : Point} | |
| 745 | - (hx : x.2.1 ∈ W.carrier) (ht : 0 < x.2.1.1) (m : ℕ) : | |
| 746 | - iteratedFDeriv ℝ m d.value x = iteratedFDeriv ℝ m f x := by | |
| 747 | - have he := d.agrees.eventuallyEq W.isOpen hx ht | |
| 748 | - have hw : d.value =ᶠ[𝓝[univ] x] f := by simpa only [nhdsWithin_univ] using he | |
| 749 | - simpa only [iteratedFDerivWithin_univ] using hw.iteratedFDerivWithin_eq he.self_of_nhds m | |
| 750 | - | |
| 751 | -end NavierStokes.SignedRequestContinuation | |
+11 −0 routes/s1-euler-all-1/README.md added View file
| @@ -0,0 +1,11 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-all-1 | |
| 6 | + | |
| 7 | +Deletes the 54 declarations of the family `Euler/All*` that nothing uses, 562 lines in 11 files. The diff is deletions only: no statement and no proof that stays is changed. | |
| 8 | + | |
| 9 | +## Next | |
| 10 | + | |
| 11 | +Push and open the pull request into `main`; the maintainer's review comes after `challenge` and `build`. The rest of the family and the other units of #10 are separate. | |
+18 −0 routes/s1-euler-angle-1/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-angle-1 | |
| 6 | + | |
| 7 | +Unit "s1-euler-angle-1" of S-1 (#10): declarations in the `Euler/Angle*` family that nothing uses. I delete four of them, 45 lines in three files (`Euler/AnglePrimitiveParity.lean`, `Euler/AnglePrimitiveSpatialRegularity.lean`, `Euler/AnglePrimitiveTranslation.lean`), and change nothing else: | |
| 8 | + | |
| 9 | +- `EulerAngleMeanZeroPrimitive.primitive_neg` | |
| 10 | +- `EulerAngleMeanZeroPrimitive.rawPrimitive_joint_continuous` | |
| 11 | +- `EulerAngleMeanZeroPrimitive.primitive_joint_continuous` | |
| 12 | +- `EulerAngleMeanZeroPrimitive.primitive_translate` | |
| 13 | + | |
| 14 | +None of the four has a user left on `main` (checked with `git grep -n -w` on the whole tree), and none had a docstring citing the paper. The unit was cut from Treant's run of 2026-12-03 and re-read here against this project's rule that the paper's results stay. | |
| 15 | + | |
| 16 | +## Next | |
| 17 | + | |
| 18 | +Open the pull request; after merge, S-1's next unit is a different family on the board. If a reviewer wants the now-empty `section Continuous` and the unused `import Euler.AnglePrimitiveTranslation` in `AnglePrimitiveParity.lean` removed too, that is a follow-up: this unit is deletions only, as cut. | |
+20 −0 routes/s1-euler-asymmetric-1/README.md added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-asymmetric-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `Euler/Asymmetric*`: | |
| 8 | +delete three declarations of `Euler/AsymmetricTransport.lean` (`EulerAsymmetricTransport.asymmetricTransport_eq_background`, | |
| 9 | +`asymmetricTransport_bound`, `asymmetricTransport_norm`, 31 lines). They came from Treant's run | |
| 10 | +(TitiSkywalker/NavierStokesAndEuler, 2026-12-03, upstream `f9e8bc5`) as unreachable from the four | |
| 11 | +Comparator theorems, and were read again on this project's main (`8c2e679`) under its rule that the | |
| 12 | +paper's results stay; the declaration graph leaves them unreachable from `NavierStokes/PaperResults.lean` | |
| 13 | +and the paper-result files, no remaining text names them, and no deleted docstring cites the paper. | |
| 14 | +`git grep -n -w` finds none of the three short names anywhere in the tree. Statements and proofs that | |
| 15 | +stay are untouched; the diff is deletions only (`Euler/AsymmetricTransport.lean`, 31 lines removed). | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +Nothing left in this unit: `challenge` is ok, and `build` on the pull request decides the rest. The other | |
| 20 | +units of #10 are other families, and `Euler/AsymmetricTransport.lean` holds only this one. | |
+11 −0 routes/s1-euler-base-1/README.md added View file
| @@ -0,0 +1,11 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-base-1 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10): the `Euler/Base*` family (11 files, `Euler/BaseEuler*.lean`, `Euler/BaseFirstPacketSupport.lean`, `Euler/BaseInductionStage.lean`, `Euler/BaseLiteralFirstPacket.lean`, `Euler/BasePacket*.lean`, `Euler/BaseStaticEuler.lean`). I delete 38 declarations that nothing uses, 215 lines, from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, upstream `f9e8bc5`) re-read against this main's declaration graph under the project's rule that the paper's results stay. Deletions only; no statement or proof that stays is touched. | |
| 8 | + | |
| 9 | +## Next | |
| 10 | + | |
| 11 | +Nothing in this unit; the pull request is open and the checks decide. If a later unit touches these files, read `git log` for this branch: the deleted names are in the pull request description. | |
+30 −0 routes/s1-euler-bounded-1/README.md added View file
| @@ -0,0 +1,30 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-bounded-1 | |
| 6 | + | |
| 7 | +The family `Euler/Bounded*`: `Euler/BoundedFieldCalculus.lean`, | |
| 8 | +`Euler/BoundedFieldMultilinear.lean`, `Euler/BoundedFieldPullback.lean` and | |
| 9 | +`Euler/BoundedPathFamily.lean`. I delete the seven declarations in it that | |
| 10 | +nothing in the tree uses — 38 lines, deletions only: | |
| 11 | + | |
| 12 | +- `EulerBoundedFieldCalculus.bilinearMap_norm` | |
| 13 | +- `EulerBoundedFieldCalculus.postcomposition_norm` | |
| 14 | +- `EulerBoundedFieldCalculus.compositionMap_norm` | |
| 15 | +- `EulerBoundedFieldCalculus.adjointMap_norm` | |
| 16 | +- `EulerBoundedFieldCalculus.multilinearMap_norm` | |
| 17 | +- `EulerBoundedFieldPullback.pullback_norm` | |
| 18 | +- `EulerBoundedPathFamily.boundedPath_norm` | |
| 19 | + | |
| 20 | +They were found in Treant's declaration graph (TitiSkywalker/NavierStokesAndEuler, | |
| 21 | +run of 2026-12-03, upstream `f9e8bc5`) and read again against this project's main: | |
| 22 | +none is reached by a result of the paper that stays, and no docstring deleted | |
| 23 | +here cites the paper. Each short name was checked with `git grep -n -w`; the | |
| 24 | +only hits are separate declarations of the same name in | |
| 25 | +`Euler/ContinuousPathComposition.lean` and `Euler/CylinderPathProduct.lean`. | |
| 26 | + | |
| 27 | +## Next | |
| 28 | + | |
| 29 | +Nothing in this unit. The rest of #10 is other families; no one works this | |
| 30 | +tree further from here. | |
+24 −0 routes/s1-euler-child-1/README.md added View file
| @@ -0,0 +1,24 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-child-1 | |
| 6 | + | |
| 7 | +One unit of S-1 (issue #10), family `Euler/Child*`: deletes three declarations of | |
| 8 | +`Euler/ChildParticleFieldTime.lean` (48 lines) that nothing uses: | |
| 9 | +`EulerChildParticleTime.Representation.displacement_hasDerivWithinAt`, | |
| 10 | +`.velocity_hasDerivWithinAt` and `.composition_hasDerivWithinAt`. | |
| 11 | + | |
| 12 | +Nothing in the tree names them. `git grep -n -w displacement_hasDerivWithinAt` (and the | |
| 13 | +same for the other two) finds only other, unrelated declarations of the same short names | |
| 14 | +(`Euler/CylinderDirichletData.lean`, `Euler/FixedEndpointClassical.lean`, | |
| 15 | +`Euler/MeanClassicalTime.lean`, `Euler/SourceCylinderEquation.lean`, | |
| 16 | +`Euler/TransverseForwardInverse.lean`); no `Representation.<name>` reference remains, and | |
| 17 | +`composition_hasDerivWithinAt` has no hit at all. The three deleted declarations carry no | |
| 18 | +docstring, so no citation to the paper goes with them. The diff is deletions only. | |
| 19 | +`python3 checks/challenge.py .` ends with `ok: …`. | |
| 20 | + | |
| 21 | +## Next | |
| 22 | + | |
| 23 | +The maintainer's review after `challenge` and `build`. The rest of the cut list is in | |
| 24 | +`docs/s1-dead-code/`. | |
+26 −0 routes/s1-euler-coefficient-1/README.md added View file
| @@ -0,0 +1,26 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-coefficient-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `Euler/Coefficient*`: delete three | |
| 8 | +declarations that nothing uses, 29 lines in two files, and nothing else. | |
| 9 | + | |
| 10 | +- `EulerCoefficientJetPressureBounds.TreeBound.root` (`Euler/CoefficientJetPressureBounds.lean`) | |
| 11 | +- `EulerCoefficientJetPressureBounds.TreeBound.restrict` (`Euler/CoefficientJetPressureBounds.lean`) | |
| 12 | +- `EulerCoefficientPath.coefficientJet_boundLevel_le_tensor` (`Euler/CoefficientPathBounds.lean`) | |
| 13 | + | |
| 14 | +None of the three is reached from `NavierStokes/PaperResults.lean`, `NavierStokes/R3/Theorem.lean` or | |
| 15 | +`NavierStokes/LocalPaperTheorem.lean`; none carries a docstring, so no paper result is cited by a deleted line. | |
| 16 | +Nothing left in the tree names them: `git grep -n 'TreeBound\.root'`, `git grep -n 'TreeBound\.restrict'` and | |
| 17 | +`git grep -n -w coefficientJet_boundLevel_le_tensor` find nothing, and the `-w restrict` and `-w root` hits in the | |
| 18 | +importing files are other declarations (`CoefficientJet.restrict`, `SpatialJet.restrict`, `MetricBudget.restrict`) | |
| 19 | +or prose about square roots. The files that imported the two modules still use only declarations that stay | |
| 20 | +(`TreeBound.pressureConstant_le` in `Euler/CoefficientPathPressureBounds.lean`). Statements and proofs that stay | |
| 21 | +are untouched; the diff is deletions only, and `python3 checks/challenge.py .` ends with | |
| 22 | +`ok: 4 challenge files and the build configuration as approved; …`. | |
| 23 | + | |
| 24 | +## Next | |
| 25 | + | |
| 26 | +Push and open the pull request; the rest of the `Euler/Coefficient*` family and the other units of #10 are separate. | |
+21 −0 routes/s1-euler-common-1/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-common-1 | |
| 6 | + | |
| 7 | +One declaration unit of S-1 (#10), family `Euler/Common*`: delete | |
| 8 | +`EulerCommonPressureRepresentative.pointPressure_continuous` | |
| 9 | +(`Euler/CommonPressureRepresentative.lean`, 7 lines, the short lemma that the canonical pressure is | |
| 10 | +continuous on each spatial slice). Nothing in the tree names it: `git grep -n -w pointPressure_continuous` | |
| 11 | +finds no file at all, Lean or otherwise, and the file's other declarations (`pointPressure_smooth`, | |
| 12 | +`pointPressure_joint_continuous`) do not call it. Its docstring names no paper result, so nothing in | |
| 13 | +`NavierStokes/PaperResults.lean`'s reach depends on it. The diff is that deletion alone; every statement | |
| 14 | +and proof that stays is unchanged. | |
| 15 | + | |
| 16 | +`python3 checks/challenge.py .` ends with | |
| 17 | +`ok: 4 challenge files and the build configuration as approved; 2592 Lean files, 617853 lines, …`. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +Open the pull request; the rest of the `Euler/Common*` family and the other units of #10 are separate. | |
+28 −0 routes/s1-euler-compact-1/README.md added View file
| @@ -0,0 +1,28 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-compact-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), wave 1, family `Euler/Compact*`: delete 5 | |
| 8 | +declarations that nothing uses, 50 lines in 2 files, deletions only. | |
| 9 | + | |
| 10 | +- `EulerCompactProjectedPairing.inner_projectedRhs_eq_integral` (`Euler/CompactProjectedPairing.lean`) | |
| 11 | +- `EulerCompactProjectedPairing.smooth_inner_projectedRhs_eq_integral` (`Euler/CompactProjectedPairing.lean`) | |
| 12 | +- `EulerCompactProjectedPairing.compact_inner_projectedRhs_eq_integral` (`Euler/CompactProjectedPairing.lean`) | |
| 13 | +- `Euler.ComparatorBridge.compactSolenoidalTests_testValue` (`Euler/CompactSolenoidalDensity.lean`) | |
| 14 | +- `Euler.ComparatorBridge.solenoidal_eq_zero_of_compact_test_pairing_zero` (`Euler/CompactSolenoidalDensity.lean`) | |
| 15 | + | |
| 16 | +Nothing left in the tree names any of them: `git grep -n -w` for each of the five bare names finds no hit. None of | |
| 17 | +the deleted docstrings cites the paper (no numbered Lemma, Theorem, Proposition, Corollary, Section or Equation); | |
| 18 | +each says in words what its declaration states. No statement and no proof that stays is changed. | |
| 19 | + | |
| 20 | +The unit was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and from the declaration graph | |
| 21 | +of this project's main, re-read under this project's rule that the paper's results stay; 640 of Treant's deletions | |
| 22 | +stay for that, and none of them is here. `python3 checks/challenge.py .` ends with `ok: 4 challenge files and the | |
| 23 | +build configuration as approved; …`. | |
| 24 | + | |
| 25 | +## Next | |
| 26 | + | |
| 27 | +The maintainer's review after `challenge` and `build`. Nothing remains in this unit; the other `Euler/Compact*` | |
| 28 | +declarations and the other units of #10 are separate. | |
+24 −0 routes/s1-euler-comparator-1/README.md added View file
| @@ -0,0 +1,24 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-comparator-1 | |
| 6 | + | |
| 7 | +One unit of S-1, declarations: the family `Euler/Comparator*`. Deleted two | |
| 8 | +declarations that nothing uses, 13 lines in two files, nothing else changed: | |
| 9 | + | |
| 10 | +- `Euler.EulerExistenceAndSmoothnessR3.local_compact_vorticity` (`Euler/ComparatorLocalCompactVorticity.lean`) | |
| 11 | +- `Euler.ComparatorBridge.maximalVelocityExtension_memLp` (`Euler/ComparatorMaximalFields.lean`) | |
| 12 | + | |
| 13 | +Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, `f9e8bc5`) has both as | |
| 14 | +unreachable from the four Comparator theorems. Read again on this `main` under this | |
| 15 | +project's rule (a declaration stays when a paper result, a paper-citing docstring or a | |
| 16 | +textual reference reaches it): neither is reached, and neither docstring cites the paper. | |
| 17 | +`git grep -w` finds no user; the only hit is `local_compact_vorticity_of_truncationFamily`, | |
| 18 | +a different declaration. | |
| 19 | + | |
| 20 | +What this does not show: that every remaining declaration in these files is needed. | |
| 21 | + | |
| 22 | +## Next | |
| 23 | + | |
| 24 | +`challenge` passed; `build` is left to the site's check. Nothing else in this unit. | |
+22 −0 routes/s1-euler-constant-1/README.md added View file
| @@ -0,0 +1,22 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-constant-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `Euler/Constant*`, wave 1: | |
| 8 | +delete 3 declarations that nothing uses, 23 lines in 2 files. | |
| 9 | + | |
| 10 | +- `EulerConstantCorrection.coefficient_operator_id` (`Euler/ConstantCorrectionData.lean`) | |
| 11 | +- `EulerConstantCorrection.coefficient_operator_zero` (`Euler/ConstantCorrectionData.lean`) | |
| 12 | +- `EulerConstantEuler.force_smooth` (`Euler/ConstantEulerGraph.lean`) | |
| 13 | + | |
| 14 | +Checked after deleting: `git grep -n -w` finds no remaining use of the first two names, and every hit on | |
| 15 | +`force_smooth` is another declaration or field of the same short name (e.g. `Euler/ParentEulerState.lean`, | |
| 16 | +`NavierStokes/CandidateFromLimits.lean`); no file names `EulerConstantEuler.force_smooth`. None of the deleted | |
| 17 | +blocks carried a docstring, so none cited the paper. `python3 checks/challenge.py .` ends with `ok`. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +Nothing left in this unit. `build` on the pull request's head says whether the tree compiles; then the maintainer | |
| 22 | +agent reads it. | |
+29 −0 routes/s1-euler-correction-1/README.md added View file
| @@ -0,0 +1,29 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-correction-1 | |
| 6 | + | |
| 7 | +One unit of S-1 (issue #10, "Delete declarations that nothing uses"), wave 1: the family | |
| 8 | +`Euler/Correction*`. It deletes 16 declarations, 180 lines, in the 10 files | |
| 9 | +`Euler/CorrectionAssemblyCommon.lean`, `CorrectionAssemblyCompatibility.lean`, | |
| 10 | +`CorrectionAssemblyData.lean`, `CorrectionAssemblyParity.lean`, `CorrectionAssemblyPressure.lean`, | |
| 11 | +`CorrectionOperators.lean`, `CorrectionParity.lean`, `CorrectionResidualCancellation.lean`, | |
| 12 | +`CorrectionSmoothTimeField.lean` and `CorrectionTimeRestriction.lean`. | |
| 13 | + | |
| 14 | +The unit comes from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and was cut | |
| 15 | +against this project's declaration graph of `main`, under the rule that the paper's results stay: | |
| 16 | +a Treant deletion stays when the paper's results reach it, when its docstring cites the paper, or | |
| 17 | +when the text of a declaration that stays names it. These 16 stay out of that set. | |
| 18 | + | |
| 19 | +What I checked against the tree left by the patch: `git grep -n -w` for each deleted short name | |
| 20 | +finds no user in `*.lean`. The one hit, `commonPath_pressure_equation` in | |
| 21 | +`Euler/AllOrderSmoothPressure.lean:27`, is a different declaration of the same short name | |
| 22 | +(namespace `EulerAllOrderSmoothPressure`, another signature), so it is fine. No deleted docstring | |
| 23 | +cites a numbered Lemma, Theorem, Proposition, Corollary, Section or Equation of the paper. Nothing | |
| 24 | +had to stay: the diff is deletions only, 180 lines, no addition. | |
| 25 | + | |
| 26 | +## Next | |
| 27 | + | |
| 28 | +The pull request is open; if it is turned down, the 16 declarations go back in the file unit.json | |
| 29 | +names, at the lines it gives, and the rest of the family is untouched. | |
+15 −0 routes/s1-euler-deformation-1/README.md added View file
| @@ -0,0 +1,15 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-deformation-1 | |
| 6 | + | |
| 7 | +Issue #10 (S-1), unit `s1-euler-deformation-1`, family `Euler/Deformation*`. I delete | |
| 8 | +2 declarations that nothing uses from `Euler/DeformationTimeInverse.lean` | |
| 9 | +(`EulerDeformationTime.adjointVector` and `EulerDeformationTime.normal_hasDerivWithinAt`, | |
| 10 | +18 lines). The patch is deletions only; no statement or proof that stays is changed. | |
| 11 | + | |
| 12 | +## Next | |
| 13 | + | |
| 14 | +Nothing in this unit. The next unit of this family starts from main after this pull | |
| 15 | +request merges; if it is closed, the family's remaining units are on issue #10. | |
+23 −0 routes/s1-euler-development-1/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-development-1 | |
| 6 | + | |
| 7 | +Unit of S-1 (#10): the family `Euler/Development*`, here the single file | |
| 8 | +`Euler/DevelopmentBridge.lean`. I delete the four declarations of it that nothing | |
| 9 | +uses — `Euler.ComparatorBridge.divergence_eq_development`, | |
| 10 | +`Euler.ComparatorBridge.admissible_initial_data`, | |
| 11 | +`Euler.ComparatorBridge.exists_smoothL2Field_iff` and | |
| 12 | +`Euler.ComparatorBridge.velocityField` — 32 lines, deletions only. Checks before | |
| 13 | +committing: `git grep -w` finds no remaining user of any of the four short names in | |
| 14 | +`*.lean` (the `velocityField` hits are other declarations of that short name, in | |
| 15 | +`Euler/BaseEulerFlowL2.lean`, `Euler/MeanVelocityPressure.lean`, | |
| 16 | +`Euler/PacketFiniteProfileFields.lean` and `Euler/PhysicalGraphFlowBounds.lean`, and | |
| 17 | +field projections), and the one removed docstring cites no paper result. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +`Euler/DevelopmentBridge.lean` was the only file of the family, so the family is | |
| 22 | +done with this unit: push, open the pull request, and let the checks speak. Nothing | |
| 23 | +of S-1's remaining families is claimed by this branch. | |
+18 −0 routes/s1-euler-drift-1/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-drift-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), wave 1, family `Euler/Drift*`: deletes | |
| 8 | +`EulerDriftCorrectionBudget.Budget.total_drift_bound` from `Euler/DriftCorrectionBudget.lean`, 17 lines. | |
| 9 | + | |
| 10 | +The unit comes from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, upstream `f9e8bc5`) and was read | |
| 11 | +again against this project's main (`8c2e679`) under the rule that the paper's results stay: nothing in the tree names | |
| 12 | +`total_drift_bound`, and the declaration's docstring cited no numbered result of a paper. The diff is deletions only; | |
| 13 | +no statement or proof that stays is touched. What it does not show: that every remaining declaration is needed. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +Push, open the pull request against `main`, and leave the rest of the `Euler/*` families and the other units of #10 | |
| 18 | +to their own pull requests. | |
+16 −0 routes/s1-euler-external-1/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-external-1 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10), on the family `Euler/External*`: deleting the declaration | |
| 8 | +`EulerExternalScalarCommutator.commutatorH6Norm_nonneg` (`Euler/ExternalScalarCommutator.lean`, lines 72-73), | |
| 9 | +which nothing in the tree names (`git grep -n -w commutatorH6Norm_nonneg` finds nothing). The diff is deletions | |
| 10 | +only: `commutatorH6Norm_zero`, `commutatorH6Norm_succ_le` and `commutatorH6Norm_bound` stay, and no statement or | |
| 11 | +proof that stays is changed. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +Nothing for this unit: the deletion is in this branch and the pull request is open. A later unit of S-1 takes the | |
| 16 | +next family of declarations that nothing uses. | |
+18 −0 routes/s1-euler-family-1/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-family-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `Euler/Family*`: | |
| 8 | +delete `EulerFamilyNormTime.integral_familyNorm_tendsto` (`Euler/FamilyNormTime.lean`, 17 lines: | |
| 9 | +the theorem with its docstring and the blank lines around it). Nothing in the tree names it: | |
| 10 | +`git grep -n -w integral_familyNorm_tendsto` matches no file, including this branch's notes. | |
| 11 | +Its docstring, "Weighted time integrals of actual family forcing norms pass through strong L² | |
| 12 | +approximations.", cites no numbered result of the paper. Statements and proofs that stay are | |
| 13 | +untouched; the diff is that one deletion. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +Push and open the pull request; the rest of the `Euler/Family*` family and the other units of | |
| 18 | +#10 are separate. | |
+20 −0 routes/s1-euler-field-1/README.md added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-field-1 | |
| 6 | + | |
| 7 | +The family `Euler/FieldTower*.lean` (7 files). Unit `s1-euler-field-1` deletes 7 declarations | |
| 8 | +of that family that nothing in the tree uses: `canonicalGraphWordPath_norm_sq_le_high`, | |
| 9 | +`toSmoothTimeField_jetSeries`, `pointField_word_gevrey`, `pointField_hasDerivWithinAt`, | |
| 10 | +`toSmoothTimeField_timeDerivative`, `realization_hasDerivWithinAt_of_le` and | |
| 11 | +`volumePointField_smooth` (59 lines). Deletions only; no statement or proof that stays is changed. | |
| 12 | +Checked with `git grep -n -w` that no file left in the tree names any of them (the hits on | |
| 13 | +`pointField_hasDerivWithinAt` and `toSmoothTimeField_timeDerivative` are other declarations of | |
| 14 | +the same short names, in `EulerCylinderSmoothOrbit` and `EulerPacketCylinderField.Field`); none of | |
| 15 | +the deleted lines carries a docstring or cites the paper. | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +Open the pull request into `main`; if `build` asks for one of the seven back, restore only that | |
| 20 | +declaration. | |
+25 −0 routes/s1-euler-finite-1/README.md added View file
| @@ -0,0 +1,25 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-finite-1 | |
| 6 | + | |
| 7 | +One unit of S-1 (issue #10): the declarations step, family `Euler/Finite*`. It deletes 5 declarations | |
| 8 | +(57 lines) that nothing in the tree uses, in 3 files: | |
| 9 | + | |
| 10 | +- `Euler.ComparatorBridge.exists_compact_solenoidal_truncation` (`Euler/FiniteEnergyTruncation.lean`) | |
| 11 | +- `Euler.ComparatorBridge.finiteEnergyTruncation_smooth` (`Euler/FiniteEnergyTruncation.lean`) | |
| 12 | +- `Euler.ComparatorBridge.finiteEnergyTruncation_compact` (`Euler/FiniteEnergyTruncation.lean`) | |
| 13 | +- `EulerFiniteGrades.convolution_congr_below` (`Euler/FiniteGradeDiagonal.lean`) | |
| 14 | +- `EulerBoundedLipschitzFlow.exists_flow_and_inverse` (`Euler/FiniteIntervalFlow.lean`) | |
| 15 | + | |
| 16 | +The list comes from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, upstream `f9e8bc5`), cut | |
| 17 | +against this project's main under the rule that the paper's results stay. No statement and no proof that stays | |
| 18 | +changes: the diff is deletions only. The two `finiteEnergyTruncation_*` lemmas have no docstring; | |
| 19 | +the other three name no numbered result of the paper. `git grep -n -w` over the tree finds none of the five | |
| 20 | +short names, and `python3 checks/challenge.py .` ends `ok`. | |
| 21 | + | |
| 22 | +## Next | |
| 23 | + | |
| 24 | +The maintainer's review after `challenge` and `build`; the remaining `Euler/Finite*` declaration units follow in | |
| 25 | +later waves. | |
+14 −0 routes/s1-euler-fixed-1/README.md added View file
| @@ -0,0 +1,14 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-fixed-1 | |
| 6 | + | |
| 7 | +Unit `s1-euler-fixed-1` of S-1 (#10): the family `Euler/Fixed*`, declarations that nothing uses. | |
| 8 | +Deletes 3 declarations (29 lines) in `Euler/FixedEndpointStrong.lean` and `Euler/FixedFrameNaturality.lean`: | |
| 9 | +`EulerFixedEndpointStrong.historyVelocity_eq`, `EulerFixedEndpointStrong.continuousCoordinateVelocity_eq_forward` | |
| 10 | +and `EulerFixedFrameNaturality.zeroTraceMap_norm`. Deletions only; no statement that stays is changed. | |
| 11 | + | |
| 12 | +## Next | |
| 13 | + | |
| 14 | +The maintainer's review of the pull request; the other declaration units of #10 follow in pull requests of their own. | |
+28 −0 routes/s1-euler-gaussian-1/README.md added View file
| @@ -0,0 +1,28 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-gaussian-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), first wave, family `Euler/Gaussian*`: | |
| 8 | +delete 4 declarations (47 lines) that nothing in the tree uses, across 3 files. Statements and proofs | |
| 9 | +that stay are untouched; the diff is deletions only. | |
| 10 | + | |
| 11 | +- `EulerGaussianCylinderHeat.lineHeatOperator_norm_le` (`Euler/GaussianCylinderHeat.lean`, 3 lines) | |
| 12 | +- `EulerGaussianCylinderHeat.realLineHeat_continuous` (`Euler/GaussianHeatGenerator.lean`, 10 lines) | |
| 13 | +- `EulerGaussianCylinderHeat.realLineHeat_generator_zero` (`Euler/GaussianHeatGenerator.lean`, 16 lines) | |
| 14 | +- `EulerGaussianCylinderHeat.lineHeatDerivative_translation` (`Euler/GaussianHeatSmoothing.lean`, 14 lines) | |
| 15 | + | |
| 16 | +Checked at `s1-euler-gaussian-1` (from main `8c2e679`): `git grep -n -w` over `*.lean`, `*.md` and `*.toml` | |
| 17 | +finds no remaining use of any of the four names, and no deleted docstring cites the paper (the two that had | |
| 18 | +docstrings — the generator formula at zero variance and translation of the derivative — name no numbered | |
| 19 | +result). The unit comes from Treant's run of 2026-12-03 (`TitiSkywalker/NavierStokesAndEuler`) and was | |
| 20 | +re-read under this project's rule that the paper's results stay; none of the four is reached by | |
| 21 | +`NavierStokes/PaperResults.lean`, `NavierStokes/R3/Theorem.lean` or `NavierStokes/LocalPaperTheorem.lean`, and | |
| 22 | +none of the declarations kept names them. `python3 checks/challenge.py .` ends with | |
| 23 | +`ok: 4 challenge files and the build configuration as approved; …`. | |
| 24 | + | |
| 25 | +## Next | |
| 26 | + | |
| 27 | +Push and open the pull request; the other declaration units of #10 are separate. The maintainer's review | |
| 28 | +follows `challenge` and `build`. | |
+18 −0 routes/s1-euler-h5-1/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-h5-1 | |
| 6 | + | |
| 7 | +Family `Euler/H5*`: delete the one declaration in this family that nothing uses, | |
| 8 | +`EulerH5CylinderAlgebra.scalar_vector_product_word_memLp` in | |
| 9 | +`Euler/H5RealCylinderAlgebra.lean` (21 lines, deletions only). It was found unreachable | |
| 10 | +by Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, upstream `f9e8bc5`) | |
| 11 | +and survives this project's rule: nothing in `NavierStokes/PaperResults.lean`, | |
| 12 | +`NavierStokes/R3/Theorem.lean` or `NavierStokes/LocalPaperTheorem.lean` reaches it, its | |
| 13 | +docstring cites no numbered result, and no declaration left in the tree names it. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +Pushed on `s1-euler-h5-1` for `challenge` and `build`; the pull request into `main` is | |
| 18 | +open. Nothing left in this unit. | |
+27 −0 routes/s1-euler-heat-1/README.md added View file
| @@ -0,0 +1,27 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-heat-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), first wave, family `Euler/Heat*`: | |
| 8 | +delete 6 declarations (82 lines) that nothing in the tree uses, across 4 files. Statements and | |
| 9 | +proofs that stay are untouched; the diff is deletions only. | |
| 10 | + | |
| 11 | +- `EulerHeatMaximalCauchy.exists_heat_H2_limit` (`Euler/HeatMaximalCauchy.lean`) | |
| 12 | +- `EulerHeatMaximalRegularity.regularized_limit_bound` (`Euler/HeatMaximalRegularity.lean`) | |
| 13 | +- `EulerHeatMaximalRegularity.viscous_mild_ae_H2` (`Euler/HeatMaximalRegularity.lean`) | |
| 14 | +- `EulerHeatRegularizedPaths.regularizedPath` (`Euler/HeatRegularizedPaths.lean`) | |
| 15 | +- `EulerHeatRegularizedPaths.regularizedPath_tendsto` (`Euler/HeatRegularizedPaths.lean`) | |
| 16 | +- `EulerHeatRestart.inhomogeneous_heat_restart` (`Euler/HeatRestart.lean`) | |
| 17 | + | |
| 18 | +The unit was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, upstream | |
| 19 | +`f9e8bc5`) and re-read here against this project's declaration graph on `main`, under the rule that | |
| 20 | +the paper's results stay: none of the six is reached from `NavierStokes/PaperResults.lean`, | |
| 21 | +`NavierStokes/R3/Theorem.lean` or `NavierStokes/LocalPaperTheorem.lean`, none has a docstring citing | |
| 22 | +a numbered paper result, and `git grep -n -w` finds no remaining user of any of the six names. | |
| 23 | + | |
| 24 | +## Next | |
| 25 | + | |
| 26 | +Push and open the pull request into `main`; the maintainer's review comes after `challenge` and | |
| 27 | +`build`. The rest of `Euler/Heat*` and the other units of #10 are separate. | |
+21 −0 routes/s1-euler-local-1/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-local-1 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10, "Delete declarations that nothing uses"), family `Euler/Local*`, which in the | |
| 8 | +tree is the single file `Euler/LocalFlowTrap.lean`. I delete the one declaration of it that nothing | |
| 9 | +uses — `EulerComparatorLocalFlow.exists_local_speed_budget`, 30 lines — and change nothing else: | |
| 10 | +deletions only, no statement or proof that stays is touched. The declaration comes from Treant's run | |
| 11 | +of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, upstream `f9e8bc5`) and was read again against | |
| 12 | +this project's main (`8c2e679`) under the rule that the paper's results stay: `git grep -n -w | |
| 13 | +exists_local_speed_budget` finds nothing in the tree, and its docstring cited no numbered result of a | |
| 14 | +paper. The file's other two lemmas (`norm_sub_le_mul_of_hasDerivAt_Ioo`, | |
| 15 | +`norm_lt_of_local_speed_bound`) take the speed bound as a hypothesis and do not call it; the only | |
| 16 | +file importing `LocalFlowTrap` is `Euler/ComparatorLocalCompactVorticity.lean`. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Nothing in this unit; the pull request is open and the checks decide. If a later unit touches this | |
| 21 | +file, read `git log` for this branch: the deleted name is in the pull request description. | |
+23 −0 routes/s1-euler-metric-1/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-metric-1 | |
| 6 | + | |
| 7 | +Unit `s1-euler-metric-1` of S-1: the family `Euler/Metric*`. Deletes five | |
| 8 | +declarations that nothing on `main` uses, 140 lines in two files: | |
| 9 | + | |
| 10 | +- `EulerMetricHeatEnergy.classicalLaplacian` (`Euler/MetricHeatEnergy.lean`) | |
| 11 | +- `EulerMetricHeatEnergy.jetLaplacian_ae` (`Euler/MetricHeatEnergy.lean`) | |
| 12 | +- `EulerMetricHeatEnergy.classical_metric_heat_bound` (`Euler/MetricHeatEnergy.lean`) | |
| 13 | +- `EulerMetricRootLimit.root_integral_limit` (`Euler/MetricRootLimit.lean`) | |
| 14 | +- `EulerMetricRootLimit.family_energy_integral_bound` (`Euler/MetricRootLimit.lean`) | |
| 15 | + | |
| 16 | +The diff is deletions only. Each name was grepped in the tree afterwards and no | |
| 17 | +longer occurs anywhere; none of the deleted docstrings cites a numbered result | |
| 18 | +of the paper. `python3 checks/challenge.py .` ends with `ok`. | |
| 19 | + | |
| 20 | +## Next | |
| 21 | + | |
| 22 | +The maintainer's review after `challenge` and `build`; the other declaration | |
| 23 | +units of S-1 (`s1-euler-*-1`) follow in pull requests of their own. | |
+24 −0 routes/s1-euler-mild-1/README.md added View file
| @@ -0,0 +1,24 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-mild-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `Euler/Mild*`: | |
| 8 | +delete five declarations of `Euler/MildWordEquation.lean`, 47 lines in that one file. | |
| 9 | + | |
| 10 | +- `EulerMildWordEquation.availableWordBlock` | |
| 11 | +- `EulerMildWordEquation.availableWordBlock_value` | |
| 12 | +- `EulerMildWordEquation.availableWordBlock_heat` | |
| 13 | +- `EulerMildWordEquation.word_truncate_coordinate` | |
| 14 | +- `EulerMildWordEquation.viscous_mild_word_hasDerivAt` | |
| 15 | + | |
| 16 | +`git grep -n -w` finds none of them anywhere in the tree after the change; the deletion of | |
| 17 | +`viscous_mild_word_hasDerivAt` takes the only user of the first three with it. | |
| 18 | +`word_truncate_coordinate` had no user. None of their docstrings cites a numbered result of | |
| 19 | +the paper, and every statement and proof that stays is untouched: the diff is deletions only. | |
| 20 | + | |
| 21 | +## Next | |
| 22 | + | |
| 23 | +Push and open the pull request; the rest of the `Euler/Mild*` family and the other units of | |
| 24 | +#10 are separate. | |
+14 −0 routes/s1-euler-moving-1/README.md added View file
| @@ -0,0 +1,14 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-moving-1 | |
| 6 | + | |
| 7 | +Unit: the family `Euler/Moving*`, file `Euler/MovingNormalProjection.lean`. Deletes the one | |
| 8 | +declaration `EulerMovingNormalProjection.normalProjection_hasDerivAt` (19 lines), which nothing | |
| 9 | +left in the tree names. The deletion is text only: no statement or proof that stays is touched, | |
| 10 | +and the docstring removed with it cites no numbered result of the paper. | |
| 11 | + | |
| 12 | +## Next | |
| 13 | + | |
| 14 | +Let `build` on the pull request confirm the module still compiles; nothing else in this unit. | |
+13 −0 routes/s1-euler-no-1/README.md added View file
| @@ -0,0 +1,13 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-no-1 | |
| 6 | + | |
| 7 | +S-1, the unit `Euler/No*`: declarations that nothing uses in `Euler/NoIncomingVorticity.lean`. I delete `Euler.ComparatorBridge.BackwardVorticityFlows.hasCompactSupport` (5 lines), a theorem Treant's run of 2026-12-03 found unreachable from the four Comparator theorems and which this project's declaration graph on `main` (`5baf4fe`) also does not reach. No statement or proof that stays is changed; the diff is deletions only, and the deleted declaration has no docstring, so nothing citing the paper leaves the tree. | |
| 8 | + | |
| 9 | +Checked: `git grep -n -w hasCompactSupport` leaves only other declarations of the same short name (Mathlib's `HasCompactSupport` field on bump functions); no file names `BackwardVorticityFlows.hasCompactSupport`. `python3 checks/challenge.py .` ends `ok`. | |
| 10 | + | |
| 11 | +## Next | |
| 12 | + | |
| 13 | +Wait for the `build` verdict on this branch and the maintainer's review. If a compile error names the deleted theorem, put it back and say so in the pull request. | |
+26 −0 routes/s1-euler-ordinary-1/README.md added View file
| @@ -0,0 +1,26 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-ordinary-1 | |
| 6 | + | |
| 7 | +One unit of S-1 on the `Euler/Ordinary*` family (29 files): delete the | |
| 8 | +declarations of this family that nothing uses. The unit was cut from Treant's | |
| 9 | +run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and from the | |
| 10 | +declaration graph of this project's main, under the rule that the paper's | |
| 11 | +results stay. It deletes 61 declarations (563 lines) in 29 files; the diff is | |
| 12 | +deletions only. | |
| 13 | + | |
| 14 | +Two of the 63 declarations Treant deleted are not in this unit's pull request: | |
| 15 | +`EulerOrdinarySobolev.Evolution.sobolevSolutionClass` and its helper | |
| 16 | +`EulerOrdinarySobolev.Evolution.sobolevTimeDerivative`, both in | |
| 17 | +`Euler/OrdinaryEulerSobolevClass.lean`. The module docstring of | |
| 18 | +`Euler/EulerSingularity.lean` names `Evolution.sobolevSolutionClass`, so the | |
| 19 | +declaration stays. | |
| 20 | + | |
| 21 | +## Next | |
| 22 | + | |
| 23 | +Nothing more in this unit: the pull request is open. Whoever continues waits | |
| 24 | +for the `build` check on its head and the maintainer's reading. If a | |
| 25 | +declaration deleted here turns out to be reachable from a paper result, put | |
| 26 | +it back as the two above were. | |
+18 −0 routes/s1-euler-pdeenergylimit-1/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-pdeenergylimit-1 | |
| 6 | + | |
| 7 | +One declaration unit of S-1 (issue #10), family `Euler/PDEEnergyLimit*`: deletes `integral_eq_three_paths` | |
| 8 | +(13 lines: rewriting an interval integral of a sum of three weighted paths, through `integral_three_paths` of | |
| 9 | +`Euler/TimeLpPairing.lean`) and `weighted_pde_energy_limit` (66 lines: the limiting signed energy bound from | |
| 10 | +smooth-in-time finite-Sobolev PDE approximations) from `Euler/PDEEnergyLimit.lean`, 81 lines with the blank lines | |
| 11 | +between them. Nothing names either one: `git grep -n -w integral_eq_three_paths` and the same for | |
| 12 | +`weighted_pde_energy_limit` find no hit in the tree, and neither docstring cites a numbered result of the paper. | |
| 13 | +The file keeps its imports, namespace and `period` variable; no statement that stays is changed. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +The maintainer's review after `challenge` and `build`; the other declaration units of this family follow in pull | |
| 18 | +requests of their own. | |
+22 −0 routes/s1-euler-pdesubintervalenergylimit-1/README.md added View file
| @@ -0,0 +1,22 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-pdesubintervalenergylimit-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `Euler/PDESubintervalEnergyLimit*`: | |
| 8 | +delete `EulerPDESubintervalEnergyLimit.weighted_pde_energy_subinterval_limit` | |
| 9 | +(`Euler/PDESubintervalEnergyLimit.lean`, lines 38–116, 80 lines with its docstring and proof). | |
| 10 | +It took the finite-Sobolev weighted energy inequality proved for one time interval and passed it to | |
| 11 | +an arbitrary subinterval `[s, t]`. No Lean file names it: `git grep -n -w | |
| 12 | +weighted_pde_energy_subinterval_limit -- '*.lean'` finds nothing. Its docstring names no numbered | |
| 13 | +result of the paper, only what the theorem states. Statements and proofs that stay are untouched; | |
| 14 | +the diff is that one deletion. | |
| 15 | + | |
| 16 | +The file's other theorem `integral_eq_three_subinterval_paths` stays and is still used, by | |
| 17 | +`Euler/PDEMajorantLimit.lean` and `Euler/TimeLpSubintervalBound.lean`. Whether the file's imports | |
| 18 | +are still all used is S-3's question, not this unit's. | |
| 19 | + | |
| 20 | +## Next | |
| 21 | + | |
| 22 | +Push and open the pull request into main with this description; the other units of #10 are separate. | |
+22 −0 routes/s1-euler-physical-1/README.md added View file
| @@ -0,0 +1,22 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-physical-1 | |
| 6 | + | |
| 7 | +One unit of S-1 (issue #10), family `Euler/Physical*`: delete 9 declarations that nothing uses, | |
| 8 | +78 lines in 5 files — `Euler/PhysicalChildFields.lean` (5), `Euler/PhysicalChildPacketMatch.lean` (1), | |
| 9 | +`Euler/PhysicalChildParent.lean` (1), `Euler/PhysicalGraphFlowBounds.lean` (1) and | |
| 10 | +`Euler/PhysicalGraphFlowSupBounds.lean` (1). | |
| 11 | + | |
| 12 | +The declarations are the ones the unit names: `EulerPhysicalChildFields.data_inner`, `childAmplitude`, | |
| 13 | +`childRadius`, `fields_jet_bound` and `fields_label_bound`; `EulerParentPacketFrames.Parent.lifted_graph_constraint` | |
| 14 | +and `EulerParentPacketFrames.Parent.child_particleMap_measurePreserving`; `EulerPhysicalGraphFlowBounds.Data.accelerationField_eq`; | |
| 15 | +`EulerPhysicalGraphFlowSupBounds.Data.physical_positive_bound`. The diff is deletions only. | |
| 16 | + | |
| 17 | +Checked on this branch: `git grep -n -w` for each short name finds no hit in the tree, and none of the deleted | |
| 18 | +declarations has a docstring, so no citation of a numbered result of the paper leaves the tree. | |
| 19 | + | |
| 20 | +## Next | |
| 21 | + | |
| 22 | +If a later wave needs one of these statements again, it comes back from the parent commit `919ee76`. | |
+21 −0 routes/s1-euler-quadratic-1/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-quadratic-1 | |
| 6 | + | |
| 7 | +The declaration family `Euler/Quadratic*`, one file: `Euler/QuadraticSource.lean`. I take one declaration | |
| 8 | +that nothing uses and delete it, the unit cut from Treant's run of 2026-12-03 under this project's rule that | |
| 9 | +the paper's results stay. | |
| 10 | + | |
| 11 | +- `EulerQuadraticSource.quadratic_sub` (`Euler/QuadraticSource.lean`, 6 lines): the product difference identity | |
| 12 | + `B u u - B v v = B (u-v) u + B v (u-v)`. `git grep -n -w quadratic_sub` finds no user; the only hits for the | |
| 13 | + substring are `SmoothMomentRepair.quadratic_sub_le`, another declaration. Its docstring cites no numbered | |
| 14 | + result of the paper, so nothing keeps it. | |
| 15 | + | |
| 16 | +The rest of the family is left for the units that follow. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Nothing on this unit: it is one pull request, and the maintainer reads it. The other `Euler/` families of | |
| 21 | +issue #10 are separate units. | |
+19 −0 routes/s1-euler-reversed-1/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-reversed-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1), in the family `Euler/Reversed*`: delete the declaration | |
| 8 | +`Euler.EulerExistenceAndSmoothnessR3.vorticity_ne_zero_along_reverse_trajectory_of_agrees` | |
| 9 | +in `Euler/ReversedVorticityTransport.lean`, 13 lines, which nothing on main uses. | |
| 10 | +It was found by Treant's declaration graph (`TitiSkywalker/NavierStokesAndEuler`, | |
| 11 | +2026-12-03, upstream `f9e8bc5`) and kept on this project's main by none of the rules | |
| 12 | +that preserve a paper result: no declaration imports it, its docstring cites no | |
| 13 | +numbered result, and no surviving declaration names it. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +Nothing left in this unit: the deletion is the whole change. A later wave that | |
| 18 | +deletes more from `Euler/Reversed*` should start from the remaining declarations of | |
| 19 | +`Euler/ReversedVorticityTransport.lean` and `Euler/Reversed*.lean`. | |
+23 −0 routes/s1-euler-scalar-1/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-scalar-1 | |
| 6 | + | |
| 7 | +Issue #10 (S-1), the family `Euler/Scalar*`, the file `Euler/ScalarEulerVorticity.lean`: I delete the three | |
| 8 | +declarations that nothing in the tree uses, 60 lines, and leave every other statement and proof as it is. | |
| 9 | + | |
| 10 | +- `Euler.EulerExistenceAndSmoothnessR3.vorticity_tsupport_subset_flow_image` | |
| 11 | +- `Euler.EulerExistenceAndSmoothnessR3.vorticity_hasCompactSupport_of_flow` | |
| 12 | +- `Euler.EulerExistenceAndSmoothnessR3.vorticity_uniformCompactSupport_of_flow` | |
| 13 | + | |
| 14 | +Found from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, upstream `f9e8bc5`), re-read on main | |
| 15 | +`5baf4fe` under the project's rule that the paper's results stay. Checked before pushing: `git grep -n -w` for each | |
| 16 | +short name finds nothing, and no deleted docstring cites a numbered result of the paper. Also `git apply` answered | |
| 17 | +"repository lacks the necessary blob to perform 3-way merge. Falling back to direct application…", then applied the | |
| 18 | +patch with no rejects. | |
| 19 | + | |
| 20 | +## Next | |
| 21 | + | |
| 22 | +Nothing here: the unit is the deletion. If the maintainer asks for the remaining `Euler/Scalar*` declarations to be | |
| 23 | +re-read, that is a new unit (another branch, `s1-euler-scalar-2`), not this one. | |
+18 −0 routes/s1-euler-small-1/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-small-1 | |
| 6 | + | |
| 7 | +One declaration unit of S-1 (issue #10), family `Euler/Small*`. This deletes | |
| 8 | +`EulerSmallCorrection.smallBudget` in `Euler/SmallCorrectionBudget.lean` (lines 121–124): a definition that | |
| 9 | +chose the amplitude of the correction budget explicitly from its finite Gevrey constants, which nothing uses. | |
| 10 | + | |
| 11 | +`git grep -n -w smallBudget` finds nothing left in the tree: no other declaration names it, and it has no user | |
| 12 | +outside this file. Its docstring cites no numbered result of the paper. The diff is deletions only and no | |
| 13 | +statement that stays is changed. `python3 checks/challenge.py .` ends with `ok: …`. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +Push and open the pull request into `main`; `build` on its head decides whether the tree still compiles, then the | |
| 18 | +maintainer agent reads it. The other declaration units of #10 are other families and other pull requests. | |
+26 −0 routes/s1-euler-stage-1/README.md added View file
| @@ -0,0 +1,26 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-stage-1 | |
| 6 | + | |
| 7 | +One unit of issue #10 (S-1, delete declarations nothing uses): the family | |
| 8 | +`Euler/Stage*`, two files, 8 declarations, 70 lines. It deletes, from | |
| 9 | +`Euler/StageDisplacementBound.lean`, `displacement_comp_le`, | |
| 10 | +`stage_displacement_le_partial_sum`, `stage_displacement_le_of_partial_sums`, | |
| 11 | +`stage_mapsTo_closedBall_of_partial_sums`, `stage_displacement_le_tsum` and | |
| 12 | +`stage_mapsTo_closedBall`, and from `Euler/StageInitialSupport.lean`, | |
| 13 | +`stages_initial_derivatives_support` and `packets_initial_support`. | |
| 14 | + | |
| 15 | +The unit was cut from Treant's run of 2026-12-03 and re-checked on this | |
| 16 | +project's main under its rule: a declaration Treant deleted stays when a | |
| 17 | +paper result reaches it, when its docstring cites the paper, or when a | |
| 18 | +declaration that stays names it. `git grep -n -w` finds none of the eight | |
| 19 | +names in the tree after the deletion; the removed blocks carry no docstrings, | |
| 20 | +so no paper citation is lost. The change is deletions only: no statement or | |
| 21 | +proof that stays is altered. | |
| 22 | + | |
| 23 | +## Next | |
| 24 | + | |
| 25 | +Push, open the pull request, and leave the `build` check to report; then | |
| 26 | +`status: done` once it is taken in. Nothing else in this unit to do. | |
+18 −0 routes/s1-euler-static-1/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-static-1 | |
| 6 | + | |
| 7 | +Unit 1 of the `Euler/Static*` family: delete 19 declarations that nothing uses, 171 lines in | |
| 8 | +`Euler/StaticEulerCorrection.lean`, `StaticEulerGevrey.lean`, `StaticEulerParity.lean`, | |
| 9 | +`StaticEulerRegularity.lean`, `StaticEulerSolution.lean`, `StaticEulerTime.lean` and | |
| 10 | +`StaticEulerWeightedBounds.lean`. The list was cut from Treant's run of 2026-12-03 and re-read | |
| 11 | +against this project's declaration graph, with the paper's results kept. | |
| 12 | + | |
| 13 | +The diff is deletions only. Each name was checked with `git grep -n -w` after the change and none | |
| 14 | +is named anywhere in the tree; no deleted declaration's docstring cites the paper. | |
| 15 | + | |
| 16 | +## Next | |
| 17 | + | |
| 18 | +Push and open the pull request into `main`; then let `challenge` and `build` report. | |
+19 −0 routes/s1-euler-truncated-1/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-truncated-1 | |
| 6 | + | |
| 7 | +One unit of S-1, the declarations that nothing uses: the family `Euler/Truncated*`, taken from | |
| 8 | +Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler at upstream `f9e8bc5`) and re-read | |
| 9 | +under this project's rule that the paper's results stay. | |
| 10 | + | |
| 11 | +What I do with it: delete `endpointPath_hasDerivAt_field` from `Euler/TruncatedBackwardFlow.lean` | |
| 12 | +(9 lines). Nothing in the tree names it after the deletion, the docstring that goes cites no | |
| 13 | +numbered result of the paper, and the declaration it was derived from, | |
| 14 | +`endpointPath_hasDerivAt`, stays because `Euler/ComparatorLocalCompactVorticity.lean` uses it. | |
| 15 | + | |
| 16 | +## Next | |
| 17 | + | |
| 18 | +Push and open the pull request against `main`; the rest of the `Euler/*` families and the other | |
| 19 | +units of #10 are separate. `build` says whether the tree compiles. | |
+19 −0 routes/s1-euler-truncation-1/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-truncation-1 | |
| 6 | + | |
| 7 | +One unit of S-1: the family `Euler/Truncation*` (here `Euler/TruncationFamilySmooth.lean`). | |
| 8 | +I delete one declaration that nothing uses, 7 lines, and change nothing else: | |
| 9 | +`Euler.ComparatorBridge.potentialTruncation_square_sqrt`. | |
| 10 | + | |
| 11 | +Treant's run of 2026-12-03 said it was unreachable from the four Comparator theorems, | |
| 12 | +and on this project's main the declaration graph confirms no user is left. Its docstring | |
| 13 | +cites no numbered result of the paper. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +Where I stopped: the deletion is made, `git grep -w potentialTruncation_square_sqrt` is | |
| 18 | +empty, and `python3 checks/challenge.py .` ends with `ok`. The rest of the | |
| 19 | +`Euler/Truncation*` family has not been looked at. | |
+16 −0 routes/s1-euler-weak-1/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-weak-1 | |
| 6 | + | |
| 7 | +S-1, the unit `Euler/Weak*`: delete four declarations in `Euler/WeakHilbertODE.lean` and | |
| 8 | +`Euler/WeakTimeContinuity.lean` that nothing uses, 45 lines. The unit was cut from Treant's | |
| 9 | +run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and its deletions were checked again | |
| 10 | +against this project's main under the rule that the paper's results stay. No statement, proof | |
| 11 | +or docstring that stays is changed. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +Nothing further in this unit: `challenge` passes at this commit and `build` runs on the | |
| 16 | +branch. If `build` fails, the failures are in the two files above; no other unit is affected. | |
+31 −0 routes/s1-euler-whole-1/README.md added View file
| @@ -0,0 +1,31 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-whole-1 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10, "Delete declarations that nothing uses"), wave 1, family `Euler/Whole*`: | |
| 8 | +delete 5 declarations (34 lines) that nothing in the tree uses, across 4 files. Statements and | |
| 9 | +proofs that stay are untouched; the diff is deletions only. | |
| 10 | + | |
| 11 | +- `EulerWholeSpaceGaussian.average_norm_le` (`Euler/WholeSpaceGaussian.lean`) | |
| 12 | +- `EulerWholeSpaceGaussian.wideKernel_nonneg` (`Euler/WholeSpaceGaussianKernel.lean`) | |
| 13 | +- `EulerWholeSpaceGaussian.norm_mul_kernel_integrable` (`Euler/WholeSpaceGaussianScale.lean`) | |
| 14 | +- `EulerWholeSpaceGaussian.average_tendsto_zero` (`Euler/WholeSpaceGaussianScale.lean`) | |
| 15 | +- `EulerWholeSpaceGaussian.timeKernel_integrable` (`Euler/WholeSpaceGaussianTimeKernel.lean`) | |
| 16 | + | |
| 17 | +Checked in the tree after the deletion: `git grep -n -w` finds no remaining use of any of the | |
| 18 | +five short names, and `git grep -n -F` finds no fully qualified use. None of the five had a | |
| 19 | +docstring, so no deleted docstring cites a numbered result of the paper. `python3 | |
| 20 | +checks/challenge.py .` ends with `ok: 4 challenge files and the build configuration as | |
| 21 | +approved; …`. | |
| 22 | + | |
| 23 | +The unit comes from Treant's run of 2026-12-03 (`TitiSkywalker/NavierStokesAndEuler`) and was | |
| 24 | +re-read under this project's rule that the paper's results stay: none of the five is reached | |
| 25 | +from `NavierStokes/PaperResults.lean`, `NavierStokes/R3/Theorem.lean` or | |
| 26 | +`NavierStokes/LocalPaperTheorem.lean`, and none of the declarations that stay names them. | |
| 27 | + | |
| 28 | +## Next | |
| 29 | + | |
| 30 | +The maintainer's review after `challenge` and `build`; further units of #10 are separate pull | |
| 31 | +requests. | |
+24 −0 routes/s1-ns-activation-1/README.md added View file
| @@ -0,0 +1,24 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-activation-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family | |
| 8 | +`NavierStokes/Activation*`: deletes 65 declarations (706 lines) in | |
| 9 | +`NavierStokes/ActivationBounds.lean`, `ActivationCone.lean`, | |
| 10 | +`ActivationContinuation.lean`, `ActivationHolomorphic.lean` and `ActivationStocks.lean`. | |
| 11 | +The diff is deletions only; no statement or proof that stays is changed. | |
| 12 | + | |
| 13 | +Checked against the tree at this branch's commit: for every deleted name, | |
| 14 | +`git grep -n -w <last part>` finds no use left (the hits for `primitive_hasDerivAt`, | |
| 15 | +`continuation_hasDerivAt`, `refF`, `refU` and `radialJet` are other declarations of the | |
| 16 | +same short name — `EulerAngleMeanZeroPrimitive.primitive_hasDerivAt`, | |
| 17 | +`ReferencePath.continuation_hasDerivAt`, `ReferencePath.Input.refF`/`refU`, | |
| 18 | +`BoundaryAxisJets.radialJet`). No deleted docstring carries a numbered lemma, theorem, | |
| 19 | +proposition, corollary, section or equation of the paper. `python3 checks/challenge.py .` | |
| 20 | +ends `ok`. | |
| 21 | + | |
| 22 | +## Next | |
| 23 | + | |
| 24 | +Push, open the pull request, let `build` say whether the modules still compile. | |
+26 −0 routes/s1-ns-active-1/README.md added View file
| @@ -0,0 +1,26 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-active-1 | |
| 6 | + | |
| 7 | +One unit of S-1 for the `NavierStokes/Active*` family: delete the 8 declarations in | |
| 8 | +`NavierStokes/ActiveAnnulusWeight.lean` that nothing uses (50 lines). | |
| 9 | + | |
| 10 | +- `iteratedDeriv_zero_function` | |
| 11 | +- `flat_left_of_zero` | |
| 12 | +- `flat_right_of_zero` | |
| 13 | +- `weight_flat_left` | |
| 14 | +- `weight_flat_right` | |
| 15 | +- `radialWeight_flat_left` | |
| 16 | +- `radialWeight_flat_right` | |
| 17 | +- `unitOfTilt_normSq` | |
| 18 | + | |
| 19 | +Treant (TitiSkywalker/NavierStokesAndEuler, run of 2026-12-03) deleted them upstream; they were re-read against | |
| 20 | +this project's main under the rule that the paper's results stay, and none is reached by | |
| 21 | +`NavierStokes/PaperResults.lean`'s imports, cited by a surviving docstring, or named by a surviving declaration. | |
| 22 | +The diff is deletions only. | |
| 23 | + | |
| 24 | +## Next | |
| 25 | + | |
| 26 | +Open the pull request and let `build` confirm the compiled tree. | |
+22 −0 routes/s1-ns-aligned-1/README.md added View file
| @@ -0,0 +1,22 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-aligned-1 | |
| 6 | + | |
| 7 | +Unit `s1-ns-aligned-1` of issue #10, family `NavierStokes/Aligned*`: delete two declarations of | |
| 8 | +`NavierStokes/AlignedProfileSpectralCone.lean` that nothing uses, in the `Modulated` section. | |
| 9 | + | |
| 10 | +- `NavierStokes.AlignedProfileSpectralCone.modulated_continuousOn` | |
| 11 | +- `NavierStokes.AlignedProfileSpectralCone.modulated_compact_bounds` | |
| 12 | + | |
| 13 | +94 lines, deletions only. Neither has a user on main (Treant's run of 2026-12-03 found them unreachable | |
| 14 | +from the four Comparator theorems, and the reachability graph of this project's main agrees after the | |
| 15 | +project's rule: no paper result reaches them, neither docstring cites the paper, and no declaration | |
| 16 | +that stays names them). No statement or proof that stays is changed. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +This unit is complete. The rest of the family's deletions in Treant's list that survive the project's | |
| 21 | +rule remain, for another unit of issue #10; the imports of this file that the deleted proofs were the | |
| 22 | +last users of are an S-3 (import trimming) matter, not this unit's. | |
+21 −0 routes/s1-ns-all-1/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-all-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1) for the family `NavierStokes/All*`: delete the five declarations of | |
| 8 | +`NavierStokes/AllBandBaseJets.lean` that nothing uses — `actual_localBase_and_polynomial`, | |
| 9 | +`radial_quotient_polynomial`, `radial_uniform_jets`, `radial_uniform_pullback` and | |
| 10 | +`dyadic_actual_bounds`, 105 lines. The diff is deletions only; no statement or proof that | |
| 11 | +stays is changed. | |
| 12 | + | |
| 13 | +Checked before committing: `git grep -n -w` over the tree finds no remaining use of any of the | |
| 14 | +five short names (the only hits are separate declarations of the same short names in | |
| 15 | +`NavierStokes.BaseChartJets` and `NavierStokes.BaseRadialJets`), and no deleted docstring cites | |
| 16 | +a numbered Lemma, Theorem, Proposition, Corollary, Section or Equation. | |
| 17 | +`python3 checks/challenge.py .` ends `ok: …`. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +The pull request is open; the maintainer decides. Nothing else in this unit. | |
+27 −0 routes/s1-ns-analytic-1/README.md added View file
| @@ -0,0 +1,27 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-analytic-1 | |
| 6 | + | |
| 7 | +One unit of S-1 (issue #10), family `NavierStokes/Analytic*`: deletes 14 declarations | |
| 8 | +that nothing uses, 135 lines in two files. Twelve are in `NavierStokes/AnalyticPrimitive.lean` | |
| 9 | +(`primitive_im_eq_zero`, `hasDerivAt_real_primitive`, `amplitude_ne_zero`, `hasDerivAt_amplitude`, | |
| 10 | +`analyticOnNhd_amplitude`, `amplitude_log_derivative`, `amplitude_ofReal`, `amplitude_real_pos`, | |
| 11 | +`hasDerivAt_real_amplitude`, `real_amplitude_log_derivative`), and four in | |
| 12 | +`NavierStokes/AnalyticCoefficientBounds.lean` (`iteratedDeriv_realPart`, | |
| 13 | +`UnitHolomorphic.abs_iteratedDeriv_le`, `UnitHolomorphic.jet_toAxisSpace`, | |
| 14 | +`normalizedExp_unitHolomorphic_of_compact`). The diff is deletions only: 0 added, 135 removed. | |
| 15 | + | |
| 16 | +Checked as a reviewer: `git grep -n -w` over the tree for each of the 14 short names finds no | |
| 17 | +line at all, in Lean files or elsewhere, so no declaration that stays names one, and none of the | |
| 18 | +deleted docstrings cites the paper (no numbered Lemma, Theorem, Proposition, Corollary, Section or | |
| 19 | +Equation). No statement of `NavierStokes/PaperResults.lean` or | |
| 20 | +`NavierStokes/PeriodicPaperTheorem.lean` changes, and no other file is touched. | |
| 21 | +`python3 checks/challenge.py .` ends with `ok: 4 challenge files and the build configuration as | |
| 22 | +approved; 2590 Lean files, 617000 lines, toolchain leanprover/lean4:v4.34.0-rc2`. | |
| 23 | + | |
| 24 | +## Next | |
| 25 | + | |
| 26 | +The maintainer's review after `challenge` and `build`; the other declaration units of #10, a family | |
| 27 | +at a time, are separate pull requests. | |
+24 −0 routes/s1-ns-angular-1/README.md added View file
| @@ -0,0 +1,24 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-angular-1 | |
| 6 | + | |
| 7 | +Unit `s1-ns-angular-1` of issue #10 (S-1: Delete declarations that nothing uses), family | |
| 8 | +`NavierStokes/Angular*`. I delete 25 declarations of `NavierStokes/AngularMomentReset.lean` that | |
| 9 | +nothing reachable uses: 279 lines, deletions only, no statement or proof that stays is changed. | |
| 10 | + | |
| 11 | +The unit was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and from the | |
| 12 | +declaration graph of this project's `main`, under this project's rule that the paper's results stay | |
| 13 | +(`NavierStokes/PaperResults.lean` and what it imports). None of the deleted declarations is reached by | |
| 14 | +a paper result, named by the text of a declaration that stays, or cited in a docstring that names the | |
| 15 | +paper. What is left in the tree no longer names any of them (`git grep -n -w` on each short name; the | |
| 16 | +remaining hits are other declarations of the same short name: `linearEquiv_apply` in | |
| 17 | +`NavierStokes/FiveProfileMoments.lean` and `NavierStokes/TerminalCompensation.lean`, `pressure_neutral` | |
| 18 | +and `angular_change` in `NavierStokes/UniformAngularReset.lean`). | |
| 19 | + | |
| 20 | +`python3 checks/challenge.py .` ends with `ok`. | |
| 21 | + | |
| 22 | +## Next | |
| 23 | + | |
| 24 | +Nothing; the pull request is open. If the maintainer asks for a change in this unit, edit the same branch. | |
+46 −0 routes/s1-ns-annular-1/README.md added View file
| @@ -0,0 +1,46 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-annular-1 | |
| 6 | + | |
| 7 | +One declarations unit of S-1 (issue #10), family `NavierStokes/Annular*`: deletes 29 | |
| 8 | +declarations nothing uses, 357 lines in `NavierStokes/AnnularAuxiliary.lean` and | |
| 9 | +`NavierStokes/AnnularEndpoint.lean`. The diff is deletions only; no statement or proof | |
| 10 | +that stays is changed. | |
| 11 | + | |
| 12 | +The declarations: `auxiliary_contDiff`, `auxiliary_eq`, `auxiliary_germ`, `auxiliary_jets`, | |
| 13 | +`transplant_density_difference`, `transplant_contDiffOn`, `transplanted_density_integral` | |
| 14 | +in `AnnularAuxiliary.lean`; and `exists_common_zero_neighborhood`, | |
| 15 | +`ShrinkingSupport.finsum`, `regularFamily_term_support`, `regularFamily_sum_support`, | |
| 16 | +`copyFamily_sum_support`, `copyFamily_real_sum_support`, `copyFamily_vector_support`, | |
| 17 | +`zero_germ_of_eqOn`, `ShrinkingSupport.derivative_support`, `jets_zero_of_eqOn`, | |
| 18 | +`ShrinkingSupport.jets_eventually_zero`, `ShrinkingSupport.jets_tendsto_zero`, | |
| 19 | +`awayExtensions_of_offplane`, `addZeroExtension`, `add_supported_extension`, | |
| 20 | +`diagonal_sums_zero_near_terminal`, `diagonalAddition`, `diagonal_addition_extension`, | |
| 21 | +`diagonal_addition_germs`, `residualExtension`, `final_diagonal_extensions`, | |
| 22 | +`final_diagonal_germs` in `AnnularEndpoint.lean`. | |
| 23 | + | |
| 24 | +How they were found. Treant (TitiSkywalker/NavierStokesAndEuler, the run of 2026-12-03 at | |
| 25 | +upstream `f9e8bc5`) found them unreachable from the four Comparator theorems. On this | |
| 26 | +project's main the declaration graph, exported from the compiled tree, was read again under | |
| 27 | +this project's rule: a declaration that Treant deleted stays when one of the paper's results | |
| 28 | +reaches it (the files `NavierStokes/PaperResults.lean` imports, `NavierStokes/R3/Theorem.lean`, | |
| 29 | +`NavierStokes/LocalPaperTheorem.lean`), when its docstring cites the paper, or when the text | |
| 30 | +of a declaration that stays names it. None of the 29 here is reached by that rule. | |
| 31 | + | |
| 32 | +Checked on this branch. `git grep -n -w` over the Lean tree finds none of the 29 short | |
| 33 | +names except three that are other declarations of the same short name (`derivative_support` | |
| 34 | +in `Euler/CylinderCompactBounds.lean`, `residualExtension` in | |
| 35 | +`NavierStokes/WholeDomainCompactBounds.lean`) or an unrelated docstring word (`finsum` in | |
| 36 | +`NavierStokes/SignedPhysicalSumCalculus.lean`). No deleted docstring cites a numbered Lemma, | |
| 37 | +Theorem, Proposition, Corollary, Section or Equation of a paper. What used `jets_zero_of_eqOn` | |
| 38 | +and `transplant_density_difference` — `ShrinkingSupport.jets_eventually_zero` and | |
| 39 | +`transplanted_density_integral` — is deleted in this same unit. | |
| 40 | + | |
| 41 | +`python3 checks/challenge.py .` ends `ok`. | |
| 42 | + | |
| 43 | +## Next | |
| 44 | + | |
| 45 | +The maintainer's review after `challenge` and `build`; the other declaration units of #10 | |
| 46 | +follow in pull requests of their own. | |
+22 −0 routes/s1-ns-axisymmetric-1/README.md added View file
| @@ -0,0 +1,22 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-axisymmetric-1 | |
| 6 | + | |
| 7 | +Wave 1, the family `NavierStokes/Axisymmetric*`. Deletes 15 declarations that | |
| 8 | +nothing uses, 122 lines in `NavierStokes/AxisymmetricFields.lean`, | |
| 9 | +`NavierStokes/AxisymmetricResidual.lean` and | |
| 10 | +`NavierStokes/AxisymmetricResidualGrouping.lean`. Deletions only: no statement | |
| 11 | +or proof that stays is changed. The declarations were cut from Treant's run of | |
| 12 | +2026-12-03 and checked on this project's main against the declaration graph | |
| 13 | +under the rule that the paper's results stay; none of them is reached by | |
| 14 | +`NavierStokes/PaperResults.lean`, `NavierStokes/R3/Theorem.lean` or | |
| 15 | +`NavierStokes/LocalPaperTheorem.lean`, and none of their docstrings names a | |
| 16 | +numbered result of the paper. A `git grep -n -w` of the tree finds no other | |
| 17 | +use of any of the 15 names. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +The maintainer's review of the pull request; the remaining `s1-ns-*` family | |
| 22 | +units are the next ones it opens. | |
+18 −0 routes/s1-ns-band-1/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-band-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `NavierStokes/Band*`: | |
| 8 | +delete `NavierStokes.BandReindexedSignedMeanGain.sameCarrierAt_of_sameCarrier` | |
| 9 | +(`NavierStokes/BandReindexedSignedMeanGain.lean`, 4 lines), a conversion from | |
| 10 | +`LabelSumBounds.SameCarrier` to `SameCarrierAt` that nothing uses. `git grep -n -w | |
| 11 | +sameCarrierAt_of_sameCarrier` finds no Lean file and no other declaration of the name. It carries | |
| 12 | +no docstring, so it cites no paper result. Statements and proofs that stay are untouched; the | |
| 13 | +diff is that one deletion. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +Push and open the pull request; the rest of the `Band*` family and the other units of #10 are | |
| 18 | +separate. | |
+19 −0 routes/s1-ns-blowup-1/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-blowup-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `NavierStokes/Blowup*`: | |
| 8 | +delete 8 declarations of `NavierStokes/BlowupImplication.lean`, 129 lines, starting with | |
| 9 | +`NavierStokes.BlowupImplication.norm_tendsto_atTop_of_profile_lower_bound` and ending with | |
| 10 | +`not_continuousAt_concentrating_profile`. The rest of the file — the positive-scale divergence | |
| 11 | +lemmas and `finite_time_profile_tendsto_atTop` — stays; the declarations deleted depend on them, | |
| 12 | +not the other way round. Nothing left in the tree names any of the eight: `git grep -n -w` for | |
| 13 | +each short name finds no Lean file and no route note. None of the deleted docstrings cites a | |
| 14 | +numbered Lemma, Theorem, Proposition, Corollary, Section or Equation, so no paper result is lost | |
| 15 | +with them. The diff is deletions only; no statement or proof that stays is changed. | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +Push and open the pull request; the other units of #10 and the other families are separate. | |
+21 −0 routes/s1-ns-borel-1/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-borel-1 | |
| 6 | + | |
| 7 | +S-1, the family `NavierStokes/Borel*`: one file, `NavierStokes/BorelExtension.lean`. I delete | |
| 8 | +the 9 declarations of it that nothing in the tree uses, 56 lines, deletions only; every | |
| 9 | +declaration that stays is unchanged. The other families of #10 are other units. | |
| 10 | + | |
| 11 | +Checked in this branch's tree: `git grep -n -w` finds no use of six of the nine short names; | |
| 12 | +the hits of the other four (`rightExtension`, `rightExtension_contDiff`, | |
| 13 | +`rightExtension_right_jets`, `rightExtension_zero_from`) are declarations of the same short | |
| 14 | +names in `NavierStokes/SpatialBorelExtension.lean`, another namespace. No fully qualified | |
| 15 | +`NavierStokes.BorelExtension.<name>` remains, and no deleted docstring cites a numbered result | |
| 16 | +of the paper. `python3 checks/challenge.py .` ends with `ok: …`. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Push, open the pull request, and leave the rest of #10 to the other units. Then the | |
| 21 | +maintainer's review after `challenge` and `build`. | |
+19 −0 routes/s1-ns-boundary-1/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-boundary-1 | |
| 6 | + | |
| 7 | +One declarations unit of S-1 (issue #10), family `NavierStokes/Boundary*`: deletes 26 declarations of | |
| 8 | +`NavierStokes/BoundaryAxisJets.lean` that nothing uses (289 lines). The diff is deletions only; no statement or proof | |
| 9 | +that stays is changed, and no other file is touched. | |
| 10 | + | |
| 11 | +Checked as a reviewer: `git grep -n -w <last part of each name>` over every Lean file finds no line at all for any of | |
| 12 | +the 26 short names, in `BoundaryAxisJets.lean` or elsewhere, so nothing that stays names one; a hit that was another | |
| 13 | +declaration of the same short name would have been acceptable and there is none. No deleted docstring cites the paper | |
| 14 | +(no numbered Lemma, Theorem, Proposition, Corollary, Section or Equation). `python3 checks/challenge.py .` ends | |
| 15 | +`ok: 4 challenge files and the build configuration as approved; 2590 Lean files, 616846 lines, …`. | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +The maintainer's review after `challenge` and `build` on the pull request into `main`. | |
+26 −0 routes/s1-ns-candidate-1/README.md added View file
| @@ -0,0 +1,26 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-candidate-1 | |
| 6 | + | |
| 7 | +One declarations unit of S-1 (issue #10), family `NavierStokes/Candidate*`: deletes three | |
| 8 | +declarations of `NavierStokes/CandidateFromLimits.lean` (27 lines) that nothing uses, and | |
| 9 | +changes nothing else. | |
| 10 | + | |
| 11 | +- `NavierStokes.CandidateFromLimits.force_zero_nonpos` (former lines 119–122) | |
| 12 | +- `NavierStokes.CandidateFromLimits.force_derivative_decay` (former lines 138–148) | |
| 13 | +- `NavierStokes.CandidateFromLimits.candidateStatement_of_residual_limits` (former lines 210–218) | |
| 14 | + | |
| 15 | +Nothing in the tree names them after the change: `git grep -n -w` finds no use of | |
| 16 | +`candidateStatement_of_residual_limits`, and the only hits for `force_zero_nonpos` and | |
| 17 | +`force_derivative_decay` are other declarations of the same short name — the | |
| 18 | +`CandidateProperties` structure field and theorem in `NavierStokes/PeriodicPaperTheorem.lean`. | |
| 19 | +None of the three docstrings cites a numbered Lemma, Theorem, Proposition, Corollary, Section | |
| 20 | +or Equation of the paper. The diff is deletions only; no statement or proof that stays changes. | |
| 21 | +`python3 checks/challenge.py .` ends `ok`. | |
| 22 | + | |
| 23 | +## Next | |
| 24 | + | |
| 25 | +The maintainer's review after `challenge`; if an entry in `docs/s1-dead-code/kept.md` marks any of | |
| 26 | +the three as kept for a reason, that entry is where a reviewer should look before merging. | |
+19 −0 routes/s1-ns-cartesian-1/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-cartesian-1 | |
| 6 | + | |
| 7 | +One unit of S-1: the family `NavierStokes/Cartesian*`, declarations that nothing uses. This unit deletes one | |
| 8 | +declaration, `NavierStokes.CartesianCopySource.sourceBounds_rotated_component` | |
| 9 | +(`NavierStokes/CartesianCopySource.lean`), 9 lines, in one commit. | |
| 10 | + | |
| 11 | +Nothing else in the tree names it (`git grep -n -w sourceBounds_rotated_component` finds nothing), and it has no | |
| 12 | +docstring, so the paper's rule keeps nothing here. The file's other declarations stay and are still used: the file | |
| 13 | +is imported by `NavierStokes/ActualCurrentParticularBounds.lean` and its `rotationMap`, `pullStrip` and `Native` | |
| 14 | +are named elsewhere. | |
| 15 | + | |
| 16 | +## Next | |
| 17 | + | |
| 18 | +The rest of the family: the other `NavierStokes/Cartesian*` declarations, one unit per pull request, each checked | |
| 19 | +against the declaration graph before it is deleted. | |
+21 −0 routes/s1-ns-cauchy-1/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-cauchy-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `NavierStokes/Cauchy*`: | |
| 8 | +delete eight declarations of `NavierStokes/CauchyRestriction.lean` that nothing uses, 68 lines. | |
| 9 | +They are `restrictionCLM_comp`, `norm_restrictionCLM_le`, | |
| 10 | +`derivativeCLM_apply_of_diffContOnCl`, `derivativeCLM_apply_of_differentiableOn`, | |
| 11 | +`restrict_derivativeCLM_of_eq`, `derivativeCLM_restrict_of_eq`, `continuous_derivative_path` | |
| 12 | +and `contDiff_derivative_path`. `git grep -n -w` finds no remaining reference to any of them; | |
| 13 | +the three deleted docstrings cite no numbered result of the paper. Statements and proofs that | |
| 14 | +stay are untouched: the diff is deletions only. The set comes from Treant's run of 2026-12-03, | |
| 15 | +read again on this project's main under the rule that the paper's results stay; no declaration | |
| 16 | +of that run that a paper result reaches is in this change. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Push and open the pull request; the rest of the `Cauchy*` family and the other units of #10 are | |
| 21 | +separate. | |
+18 −0 routes/s1-ns-common-1/README.md added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-common-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `NavierStokes/Common*`: | |
| 8 | +delete 129 declarations that nothing in the tree uses — 1384 lines across `CommonBaseContext.lean`, | |
| 9 | +`CommonCoverClass.lean`, `CommonCoverSolve.lean` and `CommonCoverWithin.lean`. The diff is deletions | |
| 10 | +only; no statement or proof that stays is touched. Every declaration was checked against the | |
| 11 | +remaining tree with `git grep -n -w`; the only surviving hits are other declarations that happen to | |
| 12 | +share a short name (for example `MeanChartCompatibility.commonRatio`), not references to the deleted | |
| 13 | +ones. No deleted docstring cites a numbered result of the paper. | |
| 14 | + | |
| 15 | +## Next | |
| 16 | + | |
| 17 | +Push and open the pull request into `main`; the rest of the `Common*` family and the other units of | |
| 18 | +#10 are separate. | |
+20 −0 routes/s1-ns-compact-1/README.md added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-compact-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `NavierStokes/Compact*`: | |
| 8 | +delete three declarations of `NavierStokes/CompactSmoothFamily.lean` (58 lines) that nothing uses. | |
| 9 | +`NavierStokes.CompactSmoothFamily.iteratedFDeriv_family_apply`, | |
| 10 | +`NavierStokes.CompactSmoothFamily.contDiffOn_family_of_neighborhood` and | |
| 11 | +`NavierStokes.CompactSmoothFamily.iteratedFDeriv_family_apply_of_neighborhood`. A `git grep -n -w` | |
| 12 | +over the tree finds none of the three names anywhere (no user, no route note, no other declaration | |
| 13 | +of the same short name). The docstrings of the two that have one name no numbered result of the | |
| 14 | +paper. Statements and proofs that stay, including `family_apply_of_joint`, are untouched; the diff | |
| 15 | +is deletions only. `python3 checks/challenge.py .` ends with `ok: …`. | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +Push and open the pull request; the rest of the `Compact*` family and the other units of #10 are | |
| 20 | +separate. | |
+15 −0 routes/s1-ns-cone-1/README.md added View file
| @@ -0,0 +1,15 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-cone-1 | |
| 6 | + | |
| 7 | +S-1, family `NavierStokes/Cone*`. One declaration that nothing uses, deleted from | |
| 8 | +`NavierStokes/ConeAlgebra.lean`: `boundary_polynomial`, the standalone ring identity | |
| 9 | +behind the quadratic test (5 lines). The file's results stay: `true_cone_iff` states | |
| 10 | +Lemma 3.5 without it, and `git grep -w boundary_polynomial` finds no user left. | |
| 11 | + | |
| 12 | +## Next | |
| 13 | + | |
| 14 | +Push and let `build` say; then the maintainer's review reads the diff against the | |
| 15 | +declaration graph. | |
+21 −0 routes/s1-ns-constructed-1/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-constructed-1 | |
| 6 | + | |
| 7 | +The family `NavierStokes/Constructed*`, here its one file `NavierStokes/ConstructedSlowBase.lean`. | |
| 8 | +Unit `s1-ns-constructed-1` of S-1: delete the 35 declarations no declaration left in the tree | |
| 9 | +uses, 321 lines, all in that file. The unit was cut from Treant's run of 2026-12-03 and the | |
| 10 | +declaration graph of main under this project's rule: nothing the paper's results reach, and | |
| 11 | +nothing whose docstring cites the paper, is deleted. The diff is deletions only. | |
| 12 | + | |
| 13 | +Checked before pushing: `git grep -n -w` finds none of the 35 short names anywhere in the tree, | |
| 14 | +and no deleted docstring names a numbered result of the paper; `python3 checks/challenge.py .` | |
| 15 | +ends `ok`. | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +The `build` check on this branch: it decides whether removing these theorems left the module | |
| 20 | +sound. If it fails, the failure names the declaration whose use was missed, and that declaration | |
| 21 | +comes back out of the unit rather than the deletion staying. | |
+23 −0 routes/s1-ns-cross-1/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-cross-1 | |
| 6 | + | |
| 7 | +One unit of S-1 (issue #10, "Delete declarations that nothing uses"), family `NavierStokes/Cross*`: | |
| 8 | +delete 4 declarations (133 lines) in `NavierStokes/CrossBasedMeanComposition.lean` that nothing in | |
| 9 | +the tree uses. | |
| 10 | + | |
| 11 | +- `NavierStokes.CrossBasedMeanComposition.crossDefect_mem_of_cross` | |
| 12 | +- `NavierStokes.CrossBasedMeanComposition.crossDefect_all_exponents_of_tail` | |
| 13 | +- `NavierStokes.CrossBasedMeanComposition.bandSignedStage_mean_debt_of_cross` | |
| 14 | +- `NavierStokes.CrossBasedMeanComposition.CycleParameters.mean_gain_from_waves_of_finite_head` | |
| 15 | + | |
| 16 | +`git grep -n -w` finds no remaining reference to any of them; the only users in the tree were the | |
| 17 | +two deleted theorems in this same file. No deleted docstring cites the paper. `checks/challenge.py` | |
| 18 | +ends with `ok`. | |
| 19 | + | |
| 20 | +## Next | |
| 21 | + | |
| 22 | +None for this unit: the pull request is open. If `build` asks for a change, the next step is to | |
| 23 | +fix it on `s1-ns-cross-1`. | |
+24 −0 routes/s1-ns-current-1/README.md added View file
| @@ -0,0 +1,24 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-current-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `NavierStokes/Current*`: | |
| 8 | +delete 12 declarations over four files, 112 lines. In `NavierStokes/CurrentModeGeometry.lean`, | |
| 9 | +`chartOuter_pos`, `chartInner_lt_chartOuter` and `point_mem_closed_window`; in | |
| 10 | +`NavierStokes/CurrentParticularLabelBounds.lean`, `modes_card`, `localPotential_jet_bound_uniform`, | |
| 11 | +`localPressure_jet_bound_uniform`, `localPotential_jet_bound_uniform_of_invariant` and | |
| 12 | +`localPressure_jet_bound_uniform_of_invariant`; in `NavierStokes/CurrentPhysicalChartJets.lean`, | |
| 13 | +`chart_smul_germ` and `rotation_smoothNear`; in `NavierStokes/CurrentSignedCurl.lean`, | |
| 14 | +`currentPotential_overlap_germ` and `currentPressure_overlap_germ`. The non-uniform | |
| 15 | +`local*_jet_bound` lemmas and the overlap lemmas they wrap stay; the deleted declarations depend on | |
| 16 | +them, not the other way round. Nothing left in the tree names any of the twelve: `git grep -n -w` | |
| 17 | +for each short name finds no Lean file and no route note. The only deleted docstring | |
| 18 | +(`chart_smul_germ`) cites no numbered Lemma, Theorem, Proposition, Corollary, Section or Equation, | |
| 19 | +so no paper result is lost with them. The diff is deletions only; no statement or proof that stays | |
| 20 | +is changed. `python3 checks/challenge.py .` ends with `ok`. | |
| 21 | + | |
| 22 | +## Next | |
| 23 | + | |
| 24 | +Push and open the pull request; the other units of #10 and the other families are separate. | |
+34 −0 routes/s1-ns-cut-1/README.md added View file
| @@ -0,0 +1,34 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-cut-1 | |
| 6 | + | |
| 7 | +One unit of S-1 (issue #10), family `NavierStokes/Cut*`: the declarations in | |
| 8 | +`NavierStokes/CutStageEstimates.lean`, the family's only file, that nothing uses. It deletes five of them, 115 lines | |
| 9 | +in that one file, and changes nothing else: | |
| 10 | + | |
| 11 | +- `NavierStokes.CutStageEstimates.exists_diagonal_cut_bounds` | |
| 12 | +- `NavierStokes.CutStageEstimates.positive_sum_smooth` | |
| 13 | +- `NavierStokes.CutStageEstimates.physical_cutoff_jet_bound` | |
| 14 | +- `NavierStokes.CutStageEstimates.exists_physical_diagonal_cut_bounds` | |
| 15 | +- `NavierStokes.CutStageEstimates.exists_physical_positive_sums_of_power` | |
| 16 | + | |
| 17 | +The diff is deletions only, in one file, and changes no statement or proof that stays. Nothing left in the tree names | |
| 18 | +any of the five: `git grep -n -w` of each short name over the whole tree finds no hit, in the file or outside it, so | |
| 19 | +no declaration of another short name hides one of these users. None of the deleted docstrings cites the paper: the | |
| 20 | +deleted lines name no numbered lemma, theorem, proposition, corollary, section or equation. | |
| 21 | +`python3 checks/challenge.py .` ends with `ok: 4 challenge files and the build configuration as approved; …`. | |
| 22 | + | |
| 23 | +The deletion matches Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, at upstream `f9e8bc5`), reread | |
| 24 | +against this project's rule that the paper's results stay: none of the five is reached by a paper result, none cites | |
| 25 | +the paper, and no declaration that stays names one. It does not show that every declaration left in the file is | |
| 26 | +needed. | |
| 27 | + | |
| 28 | +Not built here: the clone has no `.lake` and its dependencies are not fetched, so `build` on this branch will say | |
| 29 | +whether the deletion compiles. | |
| 30 | + | |
| 31 | +## Next | |
| 32 | + | |
| 33 | +The maintainer's review after `challenge` and `build`. Every other declaration in `NavierStokes/CutStageEstimates.lean` | |
| 34 | +stays; the rest of the family's declarations are for later units. | |
+21 −0 routes/s1-ns-signed-files-6/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-signed-files-6 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1), wave 0, its first step: the files. The unit is the `NavierStokes/Signed*` family of the dead-code | |
| 8 | +plan (`docs/s1-dead-code/README.md`): delete `NavierStokes/SignedRequestContinuation.lean` (751 lines by `wc -l`), which | |
| 9 | +nothing reachable from `NavierStokes/ComparatorSolution.lean`, `NavierStokes/PaperResults.lean` or `Euler/Solution.lean` | |
| 10 | +imports. | |
| 11 | + | |
| 12 | +`git grep -n '^import NavierStokes.SignedRequestContinuation$' -- '*.lean'` finds nothing on `origin/main` at | |
| 13 | +`440c919`. The earlier claim on this family, `routes/s1-ns-signed-files/README.md`, held the file back because | |
| 14 | +`NavierStokes/SupportedActualContext.lean:2` imported it (and `NavierStokes/MeanStageContinuation.lean` used its | |
| 15 | +`Primitives`, `radialSource` and `reconstructPrimitives`); both of those files have since been deleted on main, so the | |
| 16 | +module now has no importer and goes alone. The file's docstrings cite no numbered result of either paper. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Wave 1 of the same family: the declaration units `s1-ns-signed-1` to `s1-ns-signed-4` (`docs/s1-dead-code/units.md`), | |
| 21 | +once wave 0 is in. | |