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 origin/main into s1-ns-label-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 −7 Euler/ContinuousBoundedTensor.lean View file
| @@ -140,13 +140,6 @@ def tensorPathMap (n : ℕ) : | ||
| 140 | 140 | (t : K) (x : X) (v : Fin n → E) : tensorPathMap n A t x v = A v t x := |
| 141 | 141 | tensorPath_apply n A t x v |
| 142 | 142 | |
| 143 | -theorem tensorPathMap_norm_le (n : ℕ) : | |
| 144 | - ‖tensorPathMap (K := K) (X := X) (E := E) (V := V) n‖ ≤ 1 := by | |
| 145 | - apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one | |
| 146 | - intro A | |
| 147 | - change ‖tensorPath n A‖ ≤ 1 * ‖A‖ | |
| 148 | - simpa only [one_mul] using tensorPath_norm_le n A | |
| 149 | - | |
| 150 | 143 | theorem tensorPath_iteratedFDeriv (f : E → C(K, X →ᵇ V)) (hf : ContDiff ℝ ∞ f) |
| 151 | 144 | (n : ℕ) (a : E) (t : K) (x : X) : |
| 152 | 145 | tensorPathMap n (iteratedFDeriv ℝ n f a) t x = |
+0 −6 Euler/ContinuousForcingTranslation.lean View file
| @@ -78,10 +78,4 @@ genuinely smooth translation orbit in the uniform time norm. -/ | ||
| 78 | 78 | theorem forcing_translation_contDiff : ContDiff ℝ ∞ (fun a : Space => translate a f) := |
| 79 | 79 | (forcingFamily A hA f hf).contDiff_field |
| 80 | 80 | |
| 81 | -/-- Every actual orbit derivative is controlled by the original uniform-time | |
| 82 | -ordinary L² spatial derivative with constant one. -/ | |
| 83 | -theorem forcing_translation_jet_bound (n : ℕ) (a : Space) : | |
| 84 | - ‖iteratedFDeriv ℝ n (fun b : Space => translate b f) a‖ ≤ ‖spatialJetPath A hA n‖ := | |
| 85 | - (forcingFamily A hA f hf).norm_iteratedFDeriv_field_le n a | |
| 86 | - | |
| 87 | 81 | end EulerContinuousForcing |
+0 −5 Euler/ContinuousSpatialFamily.lean View file
| @@ -229,11 +229,6 @@ private theorem norm_iteratedFDeriv_field_aux (n : ℕ) : | ||
| 229 | 229 | (derivativeBundling_norm_le_one (K := K) (V := V)) (norm_nonneg _)).trans |
| 230 | 230 | (by simpa only [one_mul, derivative_bound] using ih (Space →L[ℝ] V) A.derivative a)) |
| 231 | 231 | |
| 232 | -/-- The original pointwise uniform derivative bound holds without any additional factor. -/ | |
| 233 | -theorem norm_iteratedFDeriv_field_le (A : SpatialFamily K V) (n : ℕ) (a : Space) : | |
| 234 | - ‖iteratedFDeriv ℝ n A.field a‖ ≤ A.bound n := | |
| 235 | - norm_iteratedFDeriv_field_aux n V A a | |
| 236 | - | |
| 237 | 232 | end SpatialFamily |
| 238 | 233 | |
| 239 | 234 | end EulerContinuousSpatialFamily |
+0 −6 Euler/ContinuousTimeIntegral.lean View file
| @@ -91,12 +91,6 @@ def integral : C(Icc (0 : ℝ) T,E) →L[ℝ] C(Icc (0 : ℝ) T,E) := | ||
| 91 | 91 | @[simp] theorem integral_apply (f : C(Icc (0 : ℝ) T,E)) (t : Icc (0 : ℝ) T) : |
| 92 | 92 | integral T hT f t = realIntegral T hT f t := rfl |
| 93 | 93 | |
| 94 | -/-- The exact operator bound for the initial primitive. -/ | |
| 95 | -theorem integral_norm : ‖integral (E := E) T hT‖ ≤ T := by | |
| 96 | - apply opNorm_le_bound _ hT | |
| 97 | - intro f | |
| 98 | - exact integralLinear_bound T hT f | |
| 99 | - | |
| 100 | 94 | @[simp] theorem integral_initial (f : C(Icc (0 : ℝ) T,E)) : |
| 101 | 95 | integral T hT f ⟨0,le_rfl,hT⟩ = 0 := by |
| 102 | 96 | exact intervalIntegral.integral_same |
+0 −7 Euler/ContinuousTimeWeight.lean View file
| @@ -66,13 +66,6 @@ theorem normalize_norm_le (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) | ||
| 66 | 66 | _ ≤ (g t)⁻¹ * (D*g t) := mul_le_mul_of_nonneg_left (hf t) (inv_nonneg.mpr (hg t).le) |
| 67 | 67 | _ = D := by field_simp [(hg t).ne'] |
| 68 | 68 | |
| 69 | -/-- Scalar normalization commutes with every coefficient multiplier. -/ | |
| 70 | -theorem normalize_multiplier (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) | |
| 71 | - (A : C(K,E →L[ℝ] E)) (f : C(K,E)) : | |
| 72 | - normalize g hg (multiplier A f) = multiplier A (normalize g hg f) := by | |
| 73 | - ext t | |
| 74 | - simp only [normalize_apply, multiplier_apply, map_smul] | |
| 75 | - | |
| 76 | 69 | /-- Scalar weighting commutes with every coefficient multiplier. -/ |
| 77 | 70 | theorem weight_multiplier (g : C(K,ℝ)) (A : C(K,E →L[ℝ] E)) (f : C(K,E)) : |
| 78 | 71 | weight g (multiplier A f) = multiplier A (weight g f) := by |
+0 −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 −62 Euler/GevreyCorrectionSplit.lean View file
| @@ -20,24 +20,6 @@ local instance splitSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := | ||
| 20 | 20 | local instance splitBilinearGroup (q : ℕ) : SeminormedAddCommGroup |
| 21 | 21 | (SobolevSpace period (q+1) →L[ℝ] SobolevSpace period (q+1) →L[ℝ] SobolevSpace period q) := inferInstance |
| 22 | 22 | |
| 23 | -/-- The fixed-level algebraic expression is exactly the algebraic term used in the mild solver. -/ | |
| 24 | -theorem algebraicAt_eq {s : ℕ} (hs : 6 ≤ s) | |
| 25 | - (C : Fin 3 → SobolevSpace period s →L[ℝ] SobolevSpace period s) | |
| 26 | - (u v : SobolevSpace period (s+1)) : | |
| 27 | - algebraicAt period hs C (truncateOperator period s u) (truncateOperator period s v) = | |
| 28 | - algebraicBilinear period hs C u v := by | |
| 29 | - rw [algebraicBilinear_apply] | |
| 30 | - rfl | |
| 31 | - | |
| 32 | -/-- The order-zero background transport is exactly e·D z_a in the mild solver. -/ | |
| 33 | -theorem backgroundDrift_eq {s : ℕ} (hs : 6 ≤ s) | |
| 34 | - (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) | |
| 35 | - (u background : SobolevSpace period (s+1)) : | |
| 36 | - backgroundDrift period hs L hL background (truncateOperator period s u) = | |
| 37 | - transportBilinear period hs L hL u background := by | |
| 38 | - rw [transportBilinear_apply] | |
| 39 | - rfl | |
| 40 | - | |
| 41 | 23 | /-- Exact splitting of the actual nonlinear increment into top transport plus the order-zero source. -/ |
| 42 | 24 | theorem correction_split_identity {s : ℕ} (hs : 6 ≤ s) |
| 43 | 25 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| @@ -81,34 +63,6 @@ theorem weightedNorm_neg {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) (u : | ||
| 81 | 63 | change ‖-u.val ⟨⟨n+r, by omega⟩,w⟩‖ = ‖u.val ⟨⟨n+r, by omega⟩,w⟩‖ |
| 82 | 64 | exact norm_neg _ |
| 83 | 65 | |
| 84 | -/-- The actual order-zero pressure bound follows from the genuine projected inverse and the derived nonlinear estimate. -/ | |
| 85 | -theorem orderZeroPressure_bound {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) | |
| 86 | - (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) | |
| 87 | - (G : SmoothCoefficient period) (KG : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s G) | |
| 88 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 89 | - (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪G.coefficient x v,v⟫_ℝ) | |
| 90 | - (hbase : (EulerH6Pressure.CoefficientJet.restrict KG 6 (by omega)).pressureConstant c ≤ M) | |
| 91 | - (hsmall : 4*M*(ρ*Rc) ≤ 1) | |
| 92 | - (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period KG 6 l ≤ Rc^l*(l.factorial : ℝ)^2) | |
| 93 | - (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) | |
| 94 | - (C0 : SmoothCoefficient period) (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s C0) | |
| 95 | - (C : Fin 3 → SmoothCoefficient period) | |
| 96 | - (K : ∀ i, EulerSpatialSobolevInverse.CoefficientJet period standardDirection s (C i)) | |
| 97 | - (background : SobolevSpace period (s+1)) (r e : SobolevSpace period s) : | |
| 98 | - weightedNorm period 6 N ρ (-(pressureSobolevOperator period KG κ m c hc hpos | |
| 99 | - (orderZeroSource period hs L hL (coefficientSobolevOperator period K0) | |
| 100 | - (fun i => coefficientSobolevOperator period (K i)) background r e))) ≤ | |
| 101 | - 2*M*(weightedNorm period 6 N ρ r + | |
| 102 | - (productConstant period 3 * (∑ i : Fin 4, weightedNorm period 6 N ρ (derivativeOperator period s i background)) + | |
| 103 | - weightedCoefficient period K0 6 N ρ + | |
| 104 | - 2 * (∑ i : Fin 3, weightedCoefficient period (K i) 6 N ρ) * productConstant period 3 * | |
| 105 | - weightedNorm period 6 N ρ (truncateOperator period s background)) * weightedNorm period 6 N ρ e + | |
| 106 | - (∑ i : Fin 3, weightedCoefficient period (K i) 6 N ρ) * productConstant period 3 * (weightedNorm period 6 N ρ e)^2) := by | |
| 107 | - rw [weightedNorm_neg period 6 N hN] | |
| 108 | - exact (weightedNorm_pressure period KG κ m c hc hpos N hN ρ Rc M hρ hRc hM hbase hsmall hcoeff _).trans | |
| 109 | - (mul_le_mul_of_nonneg_left (orderZeroSource_bound period hs N hN ρ hρ L hL C0 K0 C K background r e) | |
| 110 | - (by linarith : 0 ≤ 2*M)) | |
| 111 | - | |
| 112 | 66 | /-- The solver's actual raw source has exactly the transport/order-zero decomposition used by the energy estimate. -/ |
| 113 | 67 | theorem correctionData_rawSource_split {s : ℕ} {T : Type*} [TopologicalSpace T] |
| 114 | 68 | (D : CorrectionData period s T) (hs : 6 ≤ s) (t : T) (e : SobolevSpace period (s+1)) : |
| @@ -122,20 +76,4 @@ theorem correctionData_rawSource_split {s : ℕ} {T : Type*} [TopologicalSpace T | ||
| 122 | 76 | (D.approximation t) (D.residual t) (truncateOperator period s e) := |
| 123 | 77 | correction_split_identity period hs _ _ _ _ _ _ _ |
| 124 | 78 | |
| 125 | -/-- The actual signed correction pressure is the sum of its order-zero and transport pressure solves. -/ | |
| 126 | -theorem correctionData_pressure_split {s : ℕ} {T : Type*} [TopologicalSpace T] | |
| 127 | - (D : CorrectionData period s T) (hs : 6 ≤ s) (t : T) (e : SobolevSpace period (s+1)) : | |
| 128 | - D.pressure period hs t e = | |
| 129 | - -(pressureSobolevOperator period (D.metric.jet t) D.κ D.direction D.coercivity D.coercivity_pos (D.metric_pos t) | |
| 130 | - (transportBilinear period hs (velocityComponents D.κ D.direction) | |
| 131 | - (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) (D.approximation t+e) e)) + | |
| 132 | - -(pressureSobolevOperator period (D.metric.jet t) D.κ D.direction D.coercivity D.coercivity_pos (D.metric_pos t) | |
| 133 | - (orderZeroSource period hs (velocityComponents D.κ D.direction) | |
| 134 | - (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) | |
| 135 | - (coefficientSobolevOperator period (D.linear.jet t)) | |
| 136 | - (fun i => coefficientSobolevOperator period ((D.quadratic i).jet t)) | |
| 137 | - (D.approximation t) (D.residual t) (truncateOperator period s e))) := by | |
| 138 | - unfold CorrectionData.pressure | |
| 139 | - simp only [correctionData_rawSource_split period D hs t e, map_add, neg_add] | |
| 140 | - | |
| 141 | 79 | end EulerGevreyOrderZero |
+0 −27 Euler/GevreyFlowFinite.lean View file
| @@ -170,31 +170,4 @@ theorem flow_generating_sum_bound_of_jet_derivative | ||
| 170 | 170 | exact jet_integral_of_hasDerivWithinAt ψ (fun s => b s ∘ (id+ψ s)) |
| 171 | 171 | n T hψ0 (hd n hn) (hcv n hn) t ht x |
| 172 | 172 | |
| 173 | -/-- All positive spatial orders have the same radius 4R and the same | |
| 174 | -linear amplitude B*t. Smoothness and the jet equation are qualitative | |
| 175 | -inputs; the derivative estimates are conclusions. -/ | |
| 176 | -theorem flow_positive_derivative_bound | |
| 177 | - (ψ b : ℝ → E → E) (T B R : ℝ) | |
| 178 | - (hT : 0 ≤ T) (hB : 0 ≤ B) (hR : 0 < R) (hsmall : B*R*T ≤ 1/8) | |
| 179 | - (hψ : ∀ t ∈ Icc 0 T, ContDiff ℝ ∞ (ψ t)) | |
| 180 | - (hb : ∀ t ∈ Icc 0 T, ContDiff ℝ ∞ (b t)) (hψ0 : ψ 0 = 0) | |
| 181 | - (hbjet : ∀ t ∈ Icc 0 T, ∀ y, ∀ n, 0 < n → | |
| 182 | - ‖iteratedFDeriv ℝ n (b t) y‖ ≤ B*R^n*(n.factorial : ℝ)^2) | |
| 183 | - (hd : ∀ n, 0 < n → ∀ t ∈ Icc 0 T, ∀ x, | |
| 184 | - HasDerivWithinAt (fun s => iteratedFDeriv ℝ n (ψ s) x) | |
| 185 | - (iteratedFDeriv ℝ n (b t ∘ (id+ψ t)) x) (Icc 0 T) t) | |
| 186 | - (hcv : ∀ n, 0 < n → ∀ x, | |
| 187 | - ContinuousOn (fun t => iteratedFDeriv ℝ n (b t ∘ (id+ψ t)) x) (Icc 0 T)) : | |
| 188 | - ∀ t ∈ Icc 0 T, ∀ x, ∀ n, 0 < n → | |
| 189 | - ‖iteratedFDeriv ℝ n (ψ t) x‖ ≤ B*t*(4*R)^n*(n.factorial : ℝ)^2 := by | |
| 190 | - intro t ht x n hn | |
| 191 | - apply derivative_bound_of_generating_sum (ψ t) n n R (B*t) x hR | |
| 192 | - (Finset.mem_Icc.mpr ⟨hn,le_rfl⟩) | |
| 193 | - exact flow_generating_sum_bound_of_jet_derivative ψ b n T B R hT hB hR hsmall | |
| 194 | - (fun s hs => (hψ s hs).of_le (by simp)) | |
| 195 | - (fun s hs => (hb s hs).of_le (by simp)) hψ0 | |
| 196 | - (fun s hs y j hj => hbjet s hs y j (Finset.mem_Icc.mp hj).1) | |
| 197 | - (fun j hj => hd j (Finset.mem_Icc.mp hj).1) | |
| 198 | - (fun j hj => hcv j (Finset.mem_Icc.mp hj).1) t ht x | |
| 199 | - | |
| 200 | 173 | end EulerGevreyFlowFinite |
+0 −4 Euler/GevreyGeneratingDerivatives.lean View file
| @@ -21,10 +21,6 @@ variable {E F G : Type*} | ||
| 21 | 21 | def derivativeSum (f : E → F) (N : ℕ) (z : ℝ) (x : E) : ℝ := |
| 22 | 22 | generatingSum (ftaylorSeries ℝ f x) N z |
| 23 | 23 | |
| 24 | -theorem derivativeSum_nonneg (f : E → F) (N : ℕ) (z : ℝ) (x : E) | |
| 25 | - (hz : 0 ≤ z) : 0 ≤ derivativeSum f N z x := | |
| 26 | - generatingSum_nonneg _ _ _ hz | |
| 27 | - | |
| 28 | 24 | theorem derivativeSum_add_le (f g : E → F) (N : ℕ) (z : ℝ) (x : E) |
| 29 | 25 | (hf : ContDiffAt ℝ N f x) (hg : ContDiffAt ℝ N g x) (hz : 0 ≤ z) : |
| 30 | 26 | derivativeSum (f+g) N z x ≤ derivativeSum f N z x+derivativeSum g N z x := by |
+0 −26 Euler/GevreyGrowthCoefficient.lean View file
| @@ -20,17 +20,6 @@ def growthBase (K : SmoothCoefficient period) (K' : LiftL2 period →L[ℝ] Lift | ||
| 20 | 20 | def growthSlope (K : SmoothCoefficient period) (κ : ℝ) (m : Vector3) (c : ℝ) : ℝ := |
| 21 | 21 | (K.firstBound : ℝ)*(|κ|+‖m‖)/(2*c^2) |
| 22 | 22 | |
| 23 | -theorem growthBase_nonneg (K : SmoothCoefficient period) (K' : LiftL2 period →L[ℝ] LiftL2 period) (c : ℝ) : | |
| 24 | - 0 ≤ growthBase period K K' c := by | |
| 25 | - unfold growthBase heatEnergyConstant | |
| 26 | - positivity | |
| 27 | - | |
| 28 | -omit [Fact (0 < period)] in | |
| 29 | -theorem growthSlope_nonneg (K : SmoothCoefficient period) (κ : ℝ) (m : Vector3) (c : ℝ) : | |
| 30 | - 0 ≤ growthSlope period K κ m c := by | |
| 31 | - unfold growthSlope | |
| 32 | - positivity | |
| 33 | - | |
| 34 | 23 | /-- Artificial viscosity contributes no unbounded constant to the actual energy estimate as it tends to zero. -/ |
| 35 | 24 | theorem viscousGrowth_uniform (K : SmoothCoefficient period) (K' : LiftL2 period →L[ℝ] LiftL2 period) |
| 36 | 25 | (κ : ℝ) (m : Vector3) (c ν : ℝ) (B : NNReal) (hν : ν ≤ 1) : |
| @@ -42,27 +31,12 @@ theorem viscousGrowth_uniform (K : SmoothCoefficient period) (K' : LiftL2 period | ||
| 42 | 31 | have h := div_le_div_of_nonneg_right hn (mul_nonneg (by norm_num : (0 : ℝ) ≤ 2) (sq_nonneg c)) |
| 43 | 32 | exact h.trans_eq (by unfold growthBase growthSlope transportEnergyConstant; ring) |
| 44 | 33 | |
| 45 | -/-- The chosen genuine pointwise velocity bound depends continuously on the actual metric energy. -/ | |
| 46 | -theorem metricVelocityBound_continuous (c B : ℝ) : Continuous (metricVelocityBound period c B) := by | |
| 47 | - exact continuous_real_toNNReal.comp | |
| 48 | - (continuous_const.mul (continuous_const.add (continuous_const.mul continuous_id))) | |
| 49 | - | |
| 50 | 34 | /-- Its NNReal coercion is exactly the intended positive metric-energy majorant. -/ |
| 51 | 35 | theorem metricVelocityBound_coe (c B X : ℝ) (hc : 0 < c) (hB : 0 ≤ B) (hX : 0 ≤ X) : |
| 52 | 36 | (metricVelocityBound period c B X : ℝ) = sobolevEmbeddingConstant period 6*(B+metricAmplification c*X) := by |
| 53 | 37 | exact Real.coe_toNNReal _ (mul_nonneg (sobolevEmbeddingConstant_nonneg period 6) |
| 54 | 38 | (add_nonneg hB (mul_nonneg (le_trans zero_le_one (metricAmplification_one_le hc)) hX))) |
| 55 | 39 | |
| 56 | -/-- The actual energy growth coefficient is affine in the metric error energy, uniformly for 0<ν≤1. -/ | |
| 57 | -theorem viscousGrowth_metric (K : SmoothCoefficient period) (K' : LiftL2 period →L[ℝ] LiftL2 period) | |
| 58 | - (κ : ℝ) (m : Vector3) (c ν B X : ℝ) (hc : 0 < c) (hν : ν ≤ 1) (hB : 0 ≤ B) (hX : 0 ≤ X) : | |
| 59 | - viscousGrowthCoefficient period K K' κ m c ν (metricVelocityBound period c B X) ≤ | |
| 60 | - growthBase period K K' c+growthSlope period K κ m c*sobolevEmbeddingConstant period 6*B+ | |
| 61 | - (growthSlope period K κ m c*sobolevEmbeddingConstant period 6*metricAmplification c)*X := by | |
| 62 | - have h := viscousGrowth_uniform period K K' κ m c ν (metricVelocityBound period c B X) hν | |
| 63 | - rw [metricVelocityBound_coe period c B X hc hB hX] at h | |
| 64 | - exact h.trans_eq (by ring) | |
| 65 | - | |
| 66 | 40 | /-- One positive constant absorbs every derived scalar growth coefficient while preserving the signed radius term. -/ |
| 67 | 41 | theorem absorb_scalar_coefficients (g0 g1 f0 f1 f2 d r X Y B R C : ℝ) |
| 68 | 42 | (hg0 : 0 ≤ g0) (hg1 : 0 ≤ g1) (hf0 : 0 ≤ f0) (hf1 : 0 ≤ f1) (hf2 : 0 ≤ f2) (hd : 0 ≤ d) |
+0 −16 Euler/GevreyInverseMap.lean View file
| @@ -200,22 +200,6 @@ theorem fderiv_eq_inverse_field | ||
| 200 | 200 | have hv := congrArg (fun B : E →L[ℝ] E => A (Y x) (B v)) he |
| 201 | 201 | simpa only [ContinuousLinearMap.comp_apply, ContinuousLinearMap.id_apply, hleft] using hv |
| 202 | 202 | |
| 203 | -/-- Gevrey-two regularity of an actual smooth inverse map with a Gevrey-two | |
| 204 | -inverse derivative field. -/ | |
| 205 | -theorem norm_iteratedFDeriv_inverseMap | |
| 206 | - (X Y : E → E) (A : E → E →L[ℝ] E) | |
| 207 | - (hX : Differentiable ℝ X) (hY : ContDiff ℝ ∞ Y) (hA : ContDiff ℝ ∞ A) | |
| 208 | - (hXY : ∀ x, X (Y x) = x) | |
| 209 | - (hleft : ∀ x v, A x (fderiv ℝ X x v) = v) | |
| 210 | - (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) | |
| 211 | - (hAjet : ∀ j y, ‖iteratedFDeriv ℝ j A y‖ ≤ C * R^j * (j.factorial : ℝ)^2) | |
| 212 | - (n : ℕ) (x : E) : | |
| 213 | - ‖iteratedFDeriv ℝ (n+1) Y x‖ ≤ | |
| 214 | - C * (inverseMapRadius C R)^n * (n.factorial : ℝ)^2 := by | |
| 215 | - exact norm_iteratedFDeriv_of_fderiv_eq_comp Y A hY hA | |
| 216 | - (fderiv_eq_inverse_field X Y A hX (hY.differentiable (by simp)) hXY hleft) | |
| 217 | - C R hC hR hAjet n x | |
| 218 | - | |
| 219 | 203 | /-- Pullback by a map satisfying the actual inverse differential equation |
| 220 | 204 | preserves Gevrey two, with an explicit polynomial radius and unchanged |
| 221 | 205 | outer amplitude. Only differentiability of the inverse is an input. -/ |
+0 −21 Euler/GevreyMetricComparison.lean View file
| @@ -43,15 +43,6 @@ theorem blockNorm_metric_lower {s q n : ℕ} (u : SobolevSpace period s) (h : n+ | ||
| 43 | 43 | rw [blockNorm_baseWords period u h, Finset.mul_sum] |
| 44 | 44 | exact Finset.sum_le_sum fun w _ => sobolevNorm_le_baseWordMetric period K _ c hc hK |
| 45 | 45 | |
| 46 | -/-- The upper metric comparison is independent of the external word count. -/ | |
| 47 | -theorem blockNorm_metric_upper {s q n : ℕ} (u : SobolevSpace period s) (h : n+q ≤ s) | |
| 48 | - (K : LiftL2 period →L[ℝ] LiftL2 period) : | |
| 49 | - (∑ w : Fin n → Fin 4, baseWordMetricNorm period K | |
| 50 | - (EulerH6Pressure.SpatialJet.derivativeJet (q := q) (toJet period u) w h)) ≤ | |
| 51 | - Real.sqrt ‖K‖ * blockNorm period (toJet period u) q n := by | |
| 52 | - rw [blockNorm_baseWords period u h, Finset.mul_sum] | |
| 53 | - exact Finset.sum_le_sum fun w _ => baseWordMetric_le_sobolevNorm period K _ | |
| 54 | - | |
| 55 | 46 | /-- The metric-weighted energy is exactly the external-word sum of fixed-base metric roots. -/ |
| 56 | 47 | theorem metricSum_eq {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) |
| 57 | 48 | (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period s) : |
| @@ -74,18 +65,6 @@ theorem weightedNorm_metric_lower {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : | ||
| 74 | 65 | (weight_pos hρ n.val).le |
| 75 | 66 | exact h.trans_eq (by ring) |
| 76 | 67 | |
| 77 | -/-- The actual metric weighted energy is bounded by its Sobolev counterpart without a cutoff factor. -/ | |
| 78 | -theorem weightedNorm_metric_upper {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) (hρ : 0 < ρ) | |
| 79 | - (K : LiftL2 period →L[ℝ] LiftL2 period) (u : SobolevSpace period s) : | |
| 80 | - weightedMetricSum ρ (fun I : ExternalWord N => I.1.val) K (energyValues period q N hN u) ≤ | |
| 81 | - Real.sqrt ‖K‖ * weightedNorm period q N ρ u := by | |
| 82 | - rw [metricSum_eq, weightedNorm, ← Fin.sum_univ_eq_sum_range, Finset.mul_sum] | |
| 83 | - apply Finset.sum_le_sum | |
| 84 | - intro n _ | |
| 85 | - have h := mul_le_mul_of_nonneg_left (blockNorm_metric_upper period (q := q) (n := n.val) u (by have := n.isLt; omega) K) | |
| 86 | - (weight_pos hρ n.val).le | |
| 87 | - exact h.trans_eq (by ring) | |
| 88 | - | |
| 89 | 68 | /-- At the fixed base index six the comparison uses exactly 5461 base words. -/ |
| 90 | 69 | theorem card_baseWord_six : Fintype.card (BaseWord 6) = 5461 := by |
| 91 | 70 | rw [card_baseWord] |
+0 −16 Euler/GevreyRestriction.lean View file
| @@ -22,16 +22,6 @@ theorem weightedNorm_restrict {p q : ℕ} (hqp : q ≤ p) (r N : ℕ) (hN : N+r | ||
| 22 | 22 | exact blockNorm_unique period (toJet period (restrictOperator period hqp u)) (toJet period u) rfl |
| 23 | 23 | (by have := Finset.mem_range.mp hn; omega) (by have := Finset.mem_range.mp hn; omega) |
| 24 | 24 | |
| 25 | -/-- The actual radius-loss sum is identical under every restriction retaining its cutoff. -/ | |
| 26 | -theorem weightedLoss_restrict {p q : ℕ} (hqp : q ≤ p) (r N : ℕ) (hN : N+r ≤ q) (ρ : ℝ) | |
| 27 | - (u : SobolevSpace period p) : | |
| 28 | - weightedLoss period r N ρ (restrictOperator period hqp u) = weightedLoss period r N ρ u := by | |
| 29 | - apply Finset.sum_congr rfl | |
| 30 | - intro n hn | |
| 31 | - apply congrArg (fun x : ℝ => (n : ℝ)*EulerPacketWeights.weight ρ n*x) | |
| 32 | - exact blockNorm_unique period (toJet period (restrictOperator period hqp u)) (toJet period u) rfl | |
| 33 | - (by have := Finset.mem_range.mp hn; omega) (by have := Finset.mem_range.mp hn; omega) | |
| 34 | - | |
| 35 | 25 | /-- Actual derivative words agree after restricting the input to any sufficiently high Sobolev level. -/ |
| 36 | 26 | theorem wordAtLevel_restrict {p q r n : ℕ} (hqp : q ≤ p) (w : Fin n → Fin 4) (hq : n+r ≤ q) |
| 37 | 27 | (u : SobolevSpace period p) : |
| @@ -57,10 +47,4 @@ theorem weightedNorm_truncate {s : ℕ} (r N : ℕ) (hN : N+r ≤ s) (ρ : ℝ) | ||
| 57 | 47 | weightedNorm period r N ρ (truncateOperator period s u) = weightedNorm period r N ρ u := |
| 58 | 48 | weightedNorm_restrict period (by omega : s ≤ s+1) r N hN ρ u |
| 59 | 49 | |
| 60 | -/-- The complete-solution truncation leaves the retained radius-loss sum unchanged. -/ | |
| 61 | -theorem weightedLoss_truncate {s : ℕ} (r N : ℕ) (hN : N+r ≤ s) (ρ : ℝ) | |
| 62 | - (u : SobolevSpace period (s+1)) : | |
| 63 | - weightedLoss period r N ρ (truncateOperator period s u) = weightedLoss period r N ρ u := | |
| 64 | - weightedLoss_restrict period (by omega : s ≤ s+1) r N hN ρ u | |
| 65 | - | |
| 66 | 50 | end EulerGevreyRestriction |
+0 −20 Euler/GraphInvariantFlow.lean View file
| @@ -60,13 +60,6 @@ theorem graphFlow_invariant (s t : ℝ) (x : Vector3) : | ||
| 60 | 60 | @[simp] theorem graphFlow_initial (s : ℝ) (x : Vector3) : graphFlow k m V s s x=x := by |
| 61 | 61 | simp [graphFlow] |
| 62 | 62 | |
| 63 | -include hV in | |
| 64 | -theorem graphFlow_inverse (s t : ℝ) (x : Vector3) : | |
| 65 | - graphFlow k m V t s (graphFlow k m V s t x)=x := by | |
| 66 | - change (V.flow t s (graphLinear k m (graphFlow k m V s t x))).1=x | |
| 67 | - rw [← graphFlow_invariant k m V hV,V.flow_inverse] | |
| 68 | - rfl | |
| 69 | - | |
| 70 | 63 | include hV in |
| 71 | 64 | theorem graphFlow_hasDerivAt (s t : ℝ) (x : Vector3) : |
| 72 | 65 | HasDerivAt (fun r => graphFlow k m V s r x) |
| @@ -74,17 +67,4 @@ theorem graphFlow_hasDerivAt (s t : ℝ) (x : Vector3) : | ||
| 74 | 67 | have hd := (V.flow_hasDerivAt s t (graphLinear k m x)).fst |
| 75 | 68 | rwa [graphFlow_invariant k m V hV] at hd |
| 76 | 69 | |
| 77 | -theorem graphFlow_continuous (s t : ℝ) : Continuous (graphFlow k m V s t) := | |
| 78 | - continuous_fst.comp ((V.flowHomeomorph s t).continuous.comp (graphLinear k m).continuous) | |
| 79 | - | |
| 80 | -theorem graphFlow_forward_joint_continuous : | |
| 81 | - Continuous (fun r : ℝ × Vector3 => graphFlow k m V 0 r.1 r.2) := | |
| 82 | - continuous_fst.comp (V.forward_joint_continuous.comp | |
| 83 | - (continuous_fst.prodMk ((graphLinear k m).continuous.comp continuous_snd))) | |
| 84 | - | |
| 85 | -theorem graphFlow_backward_joint_continuous : | |
| 86 | - Continuous (fun r : ℝ × Vector3 => graphFlow k m V r.1 0 r.2) := | |
| 87 | - continuous_fst.comp (V.backward_joint_continuous.comp | |
| 88 | - (continuous_fst.prodMk ((graphLinear k m).continuous.comp continuous_snd))) | |
| 89 | - | |
| 90 | 70 | end EulerGraphInvariantFlow |
+0 −17 Euler/GraphPressurePotential.lean View file
| @@ -59,21 +59,4 @@ theorem gradientSpace_has_graph_potential (κ k : ℝ) (hκ : k * κ = 1) (m : V | ||
| 59 | 59 | simpa only [P, localFieldLift, Prod.fst_zero, Prod.snd_zero, zero_add, |
| 60 | 60 | graphMap_apply, cylinderGraph] using hq x |
| 61 | 61 | |
| 62 | -/-- All-order coefficient and forcing jets yield an actual smooth scalar potential for the coercive graph pressure. -/ | |
| 63 | -theorem coercive_pressure_has_graph_potential (A : SmoothCoefficient period) (f : LiftL2 period) | |
| 64 | - (K : ∀ s : ℕ, CoefficientJet period EulerCylinderSobolev.standardDirection s A) | |
| 65 | - (J : ∀ s : ℕ, SpatialJet period EulerCylinderSobolev.standardDirection s f) | |
| 66 | - (κ k : ℝ) (hκ : k * κ = 1) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 67 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) : | |
| 68 | - ∃ (g : LiftDomain period → Vector3) (q : Vector3 → ℝ), | |
| 69 | - (∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) ∧ | |
| 70 | - (A.pressure κ m c hc hpos f : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g ∧ | |
| 71 | - ContDiff ℝ ∞ q ∧ ∀ x, gradient q x = κ • g (cylinderGraph period k m x) := by | |
| 72 | - obtain ⟨g, hgs, hrep⟩ := exists_smooth_pressure period A f K J κ m c hc hpos | |
| 73 | - have hp : A.pressure κ m c hc hpos f ∈ gradientSpace period κ m := | |
| 74 | - liftedPressure_mem period κ m A.coefficient A.measurable A.bound A.norm_bound c hc hpos f | |
| 75 | - obtain ⟨q, hqs, hq⟩ := gradientSpace_has_graph_potential period κ k hκ m | |
| 76 | - (A.pressure κ m c hc hpos f) hp g hrep hgs | |
| 77 | - exact ⟨g, q, hgs, hrep, hqs, hq⟩ | |
| 78 | - | |
| 79 | 62 | end EulerGraphPressurePotential |
+0 −21 Euler/H5RealCylinderAlgebra.lean View file
| @@ -54,27 +54,6 @@ theorem real_product_word_memLp {q n : ℕ} (hq : 5 ≤ q) (hn : n ≤ q) (w : F | ||
| 54 | 54 | filter_upwards [] with x |
| 55 | 55 | exact (Complex.norm_real _).ge |
| 56 | 56 | |
| 57 | -/-- Every scalar-vector product derivative through order q is genuinely in L². -/ | |
| 58 | -theorem scalar_vector_product_word_memLp {q n : ℕ} (hq : 5 ≤ q) (hn : n ≤ q) (d : ℕ) | |
| 59 | - (w : Fin n → Fin 4) (f : LiftDomain period → ℝ) (g : LiftDomain period → Domain d) | |
| 60 | - (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) | |
| 61 | - (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) | |
| 62 | - (hfL2 : ∀ j ≤ q, ∀ v : Fin j → Fin 4, MemLp (iteratedFieldDerivative period v f) 2 (liftMeasure period)) | |
| 63 | - (hgL2 : ∀ j ≤ q, ∀ v : Fin j → Fin 4, MemLp (iteratedFieldDerivative period v g) 2 (liftMeasure period)) : | |
| 64 | - MemLp (iteratedFieldDerivative period w (fun x => f x • g x)) 2 (liftMeasure period) := by | |
| 65 | - apply MemLp.of_eval_piLp | |
| 66 | - intro i | |
| 67 | - have h := real_product_word_memLp period hq hn w f (coordinate d i ∘ g) hf | |
| 68 | - (postcomp_smooth period _ g hg) hfL2 | |
| 69 | - (fun j hj v => postcomp_word_memLp period hj _ g hg hgL2 v) | |
| 70 | - rw [← coordinate_smul period d i f g] at h | |
| 71 | - have he : (fun x => iteratedFieldDerivative period w (fun x => f x • g x) x i) = | |
| 72 | - iteratedFieldDerivative period w (coordinate d i ∘ (fun x => f x • g x)) := by | |
| 73 | - funext x | |
| 74 | - exact (coordinate_word period d i w (fun x => f x • g x) (fun x => (hf x).smul (hg x)) x).symm | |
| 75 | - rw [he] | |
| 76 | - exact h | |
| 77 | - | |
| 78 | 57 | /-- Multiplication of an actual vector field by a scalar field is bounded in every Hq, q≥5. -/ |
| 79 | 58 | theorem cylinder_Hq_scalar_vector_product {q : ℕ} (hq : 5 ≤ q) (d : ℕ) |
| 80 | 59 | (f : LiftDomain period → ℝ) (g : LiftDomain period → Domain d) |
+0 −18 Euler/H6PressureCommutator.lean View file
| @@ -52,24 +52,6 @@ theorem commutatorBlock_zero {s q : ℕ} {A : SmoothCoefficient period} {f : Lif | ||
| 52 | 52 | (J : EulerSpatialSobolevInverse.SpatialJet period directions s f) : commutatorBlock K J q 0 = 0 := by |
| 53 | 53 | simp [commutatorBlock] |
| 54 | 54 | |
| 55 | -theorem commutatorBlock_nonneg {s q n : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 56 | - (K : EulerSpatialSobolevInverse.CoefficientJet period directions s A) | |
| 57 | - (J : EulerSpatialSobolevInverse.SpatialJet period directions s f) : 0 ≤ commutatorBlock K J q n := | |
| 58 | - Finset.sum_nonneg (fun _ _ => sobolevSize_nonneg _ _) | |
| 59 | - | |
| 60 | -/-- Truncation preserves every valid external commutator as an actual L² field. -/ | |
| 61 | -theorem commutatorBlock_truncate {s q n : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 62 | - (K : EulerSpatialSobolevInverse.CoefficientJet period directions (s + 1) A) | |
| 63 | - (J : EulerSpatialSobolevInverse.SpatialJet period directions (s + 1) f) (h : n ≤ s) : | |
| 64 | - commutatorBlock K.truncate J.truncate q n = commutatorBlock K J q n := by | |
| 65 | - unfold commutatorBlock | |
| 66 | - apply Finset.sum_congr rfl | |
| 67 | - intro w _ | |
| 68 | - rw [EulerPressureJetIdentities.SpatialJet.word_unique | |
| 69 | - (EulerSpatialSobolevInverse.SpatialJet.multiply K.truncate J.truncate) | |
| 70 | - (EulerSpatialSobolevInverse.SpatialJet.multiply K J) rfl h (by omega) w, | |
| 71 | - EulerPressureJetIdentities.SpatialJet.word_unique J.truncate J rfl h (by omega) w] | |
| 72 | - | |
| 73 | 55 | /-- The external commutator recurrence uses a fixed Sobolev norm at every leaf. -/ |
| 74 | 56 | theorem commutatorBlock_succ_le {s q n : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} |
| 75 | 57 | (K : EulerSpatialSobolevInverse.CoefficientJet period directions (s + 1) A) |
+0 −26 Euler/H6PressureConstants.lean View file
| @@ -166,30 +166,4 @@ theorem pressureConstant_polynomial {q : ℕ} {A : SmoothCoefficient period} | ||
| 166 | 166 | _ ≤ M ^ 3 := inverse_majorant_step hL hB hM |
| 167 | 167 | _ = (9 * L) ^ (3 ^ (q + 1)) := by dsimp [M]; rw [← pow_mul, pow_succ] |
| 168 | 168 | |
| 169 | -/-- The shifted Hq pressure estimate with an explicit polynomial coefficient constant. | |
| 170 | -All assumptions concern the actual coefficient, its derivative bounds, and coercivity. -/ | |
| 171 | -theorem pressure_shifted_Hq_polynomial_bound {s q : ℕ} {A : SmoothCoefficient period} {f : LiftL2 period} | |
| 172 | - (K : EulerSpatialSobolevInverse.CoefficientJet period directions s A) | |
| 173 | - (J : EulerSpatialSobolevInverse.SpatialJet period directions s f) | |
| 174 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 175 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) | |
| 176 | - (N : ℕ) (hN : N + q ≤ s) (L ρ Rc : ℝ) | |
| 177 | - (hL : 1 ≤ L) (hcL : c⁻¹ ≤ L) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) | |
| 178 | - (hbasecoeff : ∀ r ≤ q, boundLevel period K r ≤ L) | |
| 179 | - (hsmall : 4 * (9 * L) ^ (3 ^ q) * (ρ * Rc) ≤ 1) | |
| 180 | - (hcoeff : ∀ l, 1 ≤ l → l ≤ N → | |
| 181 | - coefficientBlock period K q l ≤ Rc ^ l * (l.factorial : ℝ) ^ 2) : | |
| 182 | - (∑ n ∈ Finset.range (N + 1), ((n + 1 : ℕ) : ℝ) * EulerPacketWeights.weight ρ (n + 1) * | |
| 183 | - blockNorm period (J.solvePressure K κ m c hc hpos) q n) ≤ | |
| 184 | - 2 * (9 * L) ^ (3 ^ q) * ∑ n ∈ Finset.range (N + 1), | |
| 185 | - ((n + 1 : ℕ) : ℝ) * EulerPacketWeights.weight ρ (n + 1) * blockNorm period J q n := by | |
| 186 | - have hq : q ≤ s := by omega | |
| 187 | - have hbase : (CoefficientJet.restrict K q hq).pressureConstant c ≤ (9 * L) ^ (3 ^ q) := by | |
| 188 | - apply pressureConstant_polynomial _ c L hc hL hcL | |
| 189 | - intro r hr | |
| 190 | - rw [coefficient_restrict_level period K hq hr] | |
| 191 | - exact hbasecoeff r hr | |
| 192 | - exact pressure_shifted_Hq_bound K J κ m c hc hpos N hN hq ρ Rc ((9 * L) ^ (3 ^ q)) | |
| 193 | - hρ hRc (one_le_pow₀ (by linarith)) hbase hsmall hcoeff | |
| 194 | - | |
| 195 | 169 | end EulerH6Pressure |
+0 −16 Euler/H6TransportSource.lean View file
| @@ -109,22 +109,6 @@ def transportField (q : ℕ) (b : LiftDomain period → Domain 4) (e : LiftDomai | ||
| 109 | 109 | LiftDomain period → Domain q := |
| 110 | 110 | ∑ i : Fin 4, (fun x => b x i • fieldDerivative period (standardDirection i) e x) |
| 111 | 111 | |
| 112 | -theorem transport_all_memLp (q : ℕ) (b : LiftDomain period → Domain 4) (e : LiftDomain period → Domain q) | |
| 113 | - (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) | |
| 114 | - (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) | |
| 115 | - (hbL2 : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w b) 2 (liftMeasure period)) | |
| 116 | - (heL2 : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w e) 2 (liftMeasure period)) : | |
| 117 | - ∀ j, ∀ w : Fin j → Fin 4, | |
| 118 | - MemLp (iteratedFieldDerivative period w (transportField period q b e)) 2 (liftMeasure period) := by | |
| 119 | - apply sum_all_memLp period Finset.univ | |
| 120 | - · intro i _ x | |
| 121 | - exact (postcomp_smooth period (coordinate 4 i) b hb x).smul (fieldDerivative_smooth period _ e he x) | |
| 122 | - · intro i _ | |
| 123 | - exact product_all_memLp period q (coordinate 4 i ∘ b) _ | |
| 124 | - (postcomp_smooth period _ b hb) (fieldDerivative_smooth period _ e he) | |
| 125 | - (fun j w => postcomp_word_memLp period (show j ≤ j by omega) _ b hb (fun r _ v => hbL2 r v) w) | |
| 126 | - (derivative_all_memLp period e heL2 i) | |
| 127 | - | |
| 128 | 112 | /-- The actual transport source has a single derivative on the transported H⁶ block. -/ |
| 129 | 113 | theorem transport_wordSobolevNorm_bound (q n : ℕ) |
| 130 | 114 | (b : LiftDomain period → Domain 4) (e : LiftDomain period → Domain q) |
+0 −17 Euler/HeatMaximalCauchy.lean View file
| @@ -128,21 +128,4 @@ theorem heat_H2_cauchy (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) | ||
| 128 | 128 | exact first_derivative_difference period T hT ν (u n) (u m) (f n) (f m) t i |
| 129 | 129 | (hd n t ht i) (hd m t ht i) |
| 130 | 130 | |
| 131 | -/-- Completeness constructs a genuine Bochner L²-time H² limit of the regularized heat solutions. -/ | |
| 132 | -theorem exists_heat_H2_limit (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) | |
| 133 | - (u : ℕ → C(Icc (0 : ℝ) T, SobolevSpace period 3)) | |
| 134 | - (f : ℕ → C(Icc (0 : ℝ) T, SobolevSpace period 1)) | |
| 135 | - (hd : ∀ n t, t ∈ Ioo 0 T → ∀ i : Fin 4, | |
| 136 | - HasDerivAt (fun s => value period (derivativeOperator period 2 i (extendPath T hT (u n) s))) | |
| 137 | - (value period (derivativeOperator period 0 i | |
| 138 | - (ν • laplacianOperator period 1 (extendPath T hT (u n) t) + extendPath T hT (f n) t))) t) | |
| 139 | - (hu : CauchySeq (fun n => (restrictOperator period (by norm_num : 1 ≤ 3)).compLeftContinuous ℝ | |
| 140 | - (Icc (0 : ℝ) T) (u n))) | |
| 141 | - (hf : CauchySeq (fun n => pathLp T hT ((valueOperator period 1).compLeftContinuous ℝ | |
| 142 | - (Icc (0 : ℝ) T) (f n)))) : | |
| 143 | - ∃ U : TimeLp T (SobolevSpace period 2), | |
| 144 | - Filter.Tendsto (fun n => pathLp T hT ((truncateOperator period 2).compLeftContinuous ℝ | |
| 145 | - (Icc (0 : ℝ) T) (u n))) Filter.atTop (𝓝 U) := | |
| 146 | - cauchySeq_tendsto_of_complete (heat_H2_cauchy period T hT ν hν u f hd hu hf) | |
| 147 | - | |
| 148 | 131 | end EulerHeatMaximalCauchy |
+0 −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 −36 Euler/HilbertCoerciveGevrey.lean View file
| @@ -94,42 +94,6 @@ theorem coerciveSolution_derivative_recurrence | ||
| 94 | 94 | exact hrec.trans (mul_le_mul_of_nonneg_right |
| 95 | 95 | (coerciveInverse_norm_le (A x) (c x) (hc x) (hcoercive x)) (by positivity)) |
| 96 | 96 | |
| 97 | -/-- A single factorial shift controls every actual derivative of the inverse solve. -/ | |
| 98 | -theorem coerciveSolution_gevrey | |
| 99 | - (A : P → E →L[ℝ] E) (c : P → ℝ) (hc : ∀ x, 0 < c x) | |
| 100 | - (hcoercive : ∀ x v, c x * ‖v‖^2 ≤ ⟪A x v, v⟫_ℝ) | |
| 101 | - (f : P → E) (hA : ContDiff ℝ ∞ A) (hf : ContDiff ℝ ∞ f) | |
| 102 | - (M Rc R : ℝ) (hM : 1 ≤ M) (hRc : 0 ≤ Rc) (hR : 2*M*(Rc+1) ≤ R) | |
| 103 | - (hinv : ∀ x, (c x)⁻¹ ≤ M) | |
| 104 | - (hcoeff : ∀ j x, ‖iteratedFDeriv ℝ (j+1) A x‖ ≤ | |
| 105 | - Rc^(j+1) * ((j+1).factorial : ℝ)^2) | |
| 106 | - (d : ℕ) (hforce : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ majorant R d n) | |
| 107 | - (n : ℕ) (x : P) : | |
| 108 | - ‖iteratedFDeriv ℝ n | |
| 109 | - (fun y => coerciveInverse (A y) (c y) (hc y) (hcoercive y) (f y)) x‖ ≤ | |
| 110 | - majorant R (d+1) n := by | |
| 111 | - let u := fun y => coerciveInverse (A y) (c y) (hc y) (hcoercive y) (f y) | |
| 112 | - apply triangular_inverse_majorant M Rc R hM hRc hR d | |
| 113 | - (fun k => ‖iteratedFDeriv ℝ k f x‖) | |
| 114 | - (fun k => ‖iteratedFDeriv ℝ k u x‖) (fun k => hforce k x) _ n | |
| 115 | - intro k | |
| 116 | - have hrec := coerciveSolution_derivative_recurrence A c hc hcoercive f hA hf x k | |
| 117 | - have hsum : (∑ j ∈ range k, | |
| 118 | - (k.choose (j+1) : ℝ) * ‖iteratedFDeriv ℝ (j+1) A x‖ * | |
| 119 | - ‖iteratedFDeriv ℝ (k-(j+1)) u x‖) ≤ | |
| 120 | - ∑ j ∈ range k, (k.choose (j+1) : ℝ) * Rc^(j+1) * | |
| 121 | - ((j+1).factorial : ℝ)^2 * ‖iteratedFDeriv ℝ (k-(j+1)) u x‖ := by | |
| 122 | - apply sum_le_sum | |
| 123 | - intro j _ | |
| 124 | - have h := mul_le_mul_of_nonneg_right | |
| 125 | - (mul_le_mul_of_nonneg_left (hcoeff j x) (by positivity : (0 : ℝ) ≤ k.choose (j+1))) | |
| 126 | - (norm_nonneg (iteratedFDeriv ℝ (k-(j+1)) u x)) | |
| 127 | - simpa only [mul_assoc] using h | |
| 128 | - exact hrec.trans ((mul_le_mul_of_nonneg_left | |
| 129 | - (add_le_add (le_refl ‖iteratedFDeriv ℝ k f x‖) hsum) | |
| 130 | - (inv_nonneg.mpr (hc x).le)).trans | |
| 131 | - (mul_le_mul_of_nonneg_right (hinv x) (by positivity))) | |
| 132 | - | |
| 133 | 97 | /-- Polynomial coefficient and forcing amplitudes enter only the fixed top |
| 134 | 98 | constant, not the derivative-order radius. -/ |
| 135 | 99 | theorem coerciveSolution_gevrey_amplitudes |
+0 −23 Euler/HilbertCoerciveParameter.lean View file
| @@ -40,29 +40,6 @@ theorem contDiff_coerciveInverse_variable | ||
| 40 | 40 | exact contDiffAt_map_inverse (coerciveEquiv (A x) (c x) (hc x) (hA x)) |
| 41 | 41 | exact hinv.comp x hreg.contDiffAt |
| 42 | 42 | |
| 43 | -/-- The actual derivative of an inverse, even with a varying coercivity certificate. -/ | |
| 44 | -theorem hasDerivAt_coerciveInverse_variable | |
| 45 | - (A : ℝ → E →L[ℝ] E) (c : ℝ → ℝ) (hc : ∀ x, 0 < c x) | |
| 46 | - (hA : ∀ x v, c x * ‖v‖^2 ≤ ⟪A x v, v⟫_ℝ) | |
| 47 | - (x : ℝ) (A₁ : E →L[ℝ] E) (hder : HasDerivAt A A₁ x) : | |
| 48 | - HasDerivAt (fun r => coerciveInverse (A r) (c r) (hc r) (hA r)) | |
| 49 | - (-(coerciveInverse (A x) (c x) (hc x) (hA x)).comp | |
| 50 | - (A₁.comp (coerciveInverse (A x) (c x) (hc x) (hA x)))) x := by | |
| 51 | - let u : (E →L[ℝ] E)ˣ := (coerciveEquiv (A x) (c x) (hc x) (hA x)).toUnit | |
| 52 | - have hu : (u : E →L[ℝ] E) = A x := by | |
| 53 | - ext v | |
| 54 | - exact coerciveEquiv_apply (A x) (c x) (hc x) (hA x) v | |
| 55 | - have hui : (↑u⁻¹ : E →L[ℝ] E) = coerciveInverse (A x) (c x) (hc x) (hA x) := rfl | |
| 56 | - have hi := hasFDerivAt_ringInverse (𝕜 := ℝ) u | |
| 57 | - rw [hu] at hi | |
| 58 | - have hcomp := hi.comp_hasDerivAt x hder | |
| 59 | - have hfun : (fun r => coerciveInverse (A r) (c r) (hc r) (hA r)) = Ring.inverse ∘ A := by | |
| 60 | - funext r | |
| 61 | - exact coerciveInverse_eq_ringInverse (A r) (c r) (hc r) (hA r) | |
| 62 | - rw [hfun] | |
| 63 | - simpa only [neg_apply, ContinuousLinearMap.mulLeftRight_apply, hui, | |
| 64 | - ContinuousLinearMap.mul_def, ContinuousLinearMap.comp_assoc] using hcomp | |
| 65 | - | |
| 66 | 43 | /-- Actual forcing-to-solution regularity for a parameterized coercive solve. -/ |
| 67 | 44 | theorem contDiff_coerciveSolution_variable |
| 68 | 45 | {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
+0 −16 Euler/HilbertCoerciveTransport.lean View file
| @@ -26,20 +26,4 @@ theorem transportedOperator_inner (D : V →L[ℝ] W) (A : W →L[ℝ] W) (u v : | ||
| 26 | 26 | ⟪transportedOperator D A u, v⟫_ℝ = ⟪A (D u), D v⟫_ℝ := by |
| 27 | 27 | exact adjoint_inner_left D v (A (D u)) |
| 28 | 28 | |
| 29 | -/-- Coercivity transports using only a proved lower bound for the coordinate map. -/ | |
| 30 | -theorem transportedOperator_coercive (D : V →L[ℝ] W) (A : W →L[ℝ] W) | |
| 31 | - (a d : ℝ) (ha : 0 ≤ a) | |
| 32 | - (hA : ∀ w, a * ‖w‖^2 ≤ ⟪A w, w⟫_ℝ) | |
| 33 | - (hD : ∀ v, d * ‖v‖^2 ≤ ‖D v‖^2) (v : V) : | |
| 34 | - (a*d) * ‖v‖^2 ≤ ⟪transportedOperator D A v, v⟫_ℝ := by | |
| 35 | - rw [transportedOperator_inner] | |
| 36 | - calc | |
| 37 | - (a*d) * ‖v‖^2 = a * (d * ‖v‖^2) := by ring | |
| 38 | - _ ≤ a * ‖D v‖^2 := mul_le_mul_of_nonneg_left (hD v) ha | |
| 39 | - _ ≤ ⟪A (D v), D v⟫_ℝ := hA (D v) | |
| 40 | - | |
| 41 | -/-- The transported forcing is the actual adjoint pullback. -/ | |
| 42 | -theorem transported_forcing_inner (D : V →L[ℝ] W) (f : W) (v : V) : | |
| 43 | - ⟪D.adjoint f, v⟫_ℝ = ⟪f, D v⟫_ℝ := adjoint_inner_left D v f | |
| 44 | - | |
| 45 | 29 | end EulerHilbertCoerciveTransport |
+0 −3 Euler/HilbertQuadraticFlow.lean View file
| @@ -55,9 +55,6 @@ theorem radial_sub_norm (x y : E) : ‖radial x-radial y‖ ≤ 2*‖x-y‖ := b | ||
| 55 | 55 | _ ≤ _ := by simpa only [mul_one] using h1 |
| 56 | 56 | linarith |
| 57 | 57 | |
| 58 | -theorem radial_lipschitz : LipschitzWith 2 (radial : E → E) := | |
| 59 | - lipschitzWith_iff_norm_sub_le.mpr radial_sub_norm | |
| 60 | - | |
| 61 | 58 | def normalized (B : E →L[ℝ] E →L[ℝ] E) (x : E) : E := B (radial x) (radial x) |
| 62 | 59 | |
| 63 | 60 | theorem bilinear_bound (B : E →L[ℝ] E →L[ℝ] E) (x y : E) : |
+0 −4 Euler/IntegralPathLimit.lean View file
| @@ -29,10 +29,6 @@ def pathIntegralOperator (T : ℝ) (hT : 0 ≤ T) (a b : ℝ) : C(Icc (0 : ℝ) | ||
| 29 | 29 | intervalIntegral.norm_integral_le_of_norm_le_const (fun t _ => extendPath_norm_le T hT f t) |
| 30 | 30 | exact h.trans_eq (mul_comm _ _)) |
| 31 | 31 | |
| 32 | -/-- The time-integral operator is the literal Bochner interval integral. -/ | |
| 33 | -theorem pathIntegralOperator_apply (T : ℝ) (hT : 0 ≤ T) (a b : ℝ) (f : C(Icc (0 : ℝ) T,E)) : | |
| 34 | - pathIntegralOperator T hT a b f = ∫ t in a..b, extendPath T hT f t := rfl | |
| 35 | - | |
| 36 | 32 | variable [CompleteSpace E] |
| 37 | 33 | |
| 38 | 34 | /-- Interior time derivatives with continuous endpoint traces give the exact integral evolution formula. -/ |
+0 −101 Euler/LinearDuhamelGevrey.lean View file
| @@ -50,105 +50,4 @@ theorem weightedSolution_contDiff {n : ℕ∞ω} (hB : ContDiff ℝ n B) | ||
| 50 | 50 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := n) |
| 51 | 51 | (E := C(Icc (0 : ℝ) T,E)) (F := C(Icc (0 : ℝ) T,E)) (normalize g hg)).comp hs |
| 52 | 52 | |
| 53 | -/-- The exact differentiated ODE yields a triangular estimate in the fixed | |
| 54 | -profile norm, with the same homogeneous and Green operators at every order. -/ | |
| 55 | -theorem weightedSolution_derivative_recurrence | |
| 56 | - (hB : ContDiff ℝ ∞ B) (hf : ContDiff ℝ ∞ f) (ha₀ : ContDiff ℝ ∞ a₀) | |
| 57 | - (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) (C : ℝ) (hC : 0 ≤ C) | |
| 58 | - (hU : ∀ x (t s : Icc (0 : ℝ) T), s ≤ t → ‖(U x).propagator t s‖ ≤ C*g t/g s) | |
| 59 | - (x : P) (n : ℕ) : | |
| 60 | - ‖iteratedFDeriv ℝ n (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖ ≤ | |
| 61 | - C*‖iteratedFDeriv ℝ n a₀ x‖ + (C*T)* | |
| 62 | - (‖iteratedFDeriv ℝ n f x‖ + ∑ j ∈ range n, | |
| 63 | - (n.choose (j+1) : ℝ) * ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ * | |
| 64 | - ‖iteratedFDeriv ℝ (n-(j+1)) | |
| 65 | - (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖) := by | |
| 66 | - let u := fun y => (U y).weightedSolution g hg (f y) (a₀ y) | |
| 67 | - have hu := weightedSolution_contDiff T hT B U g hg f a₀ hB hf ha₀ | |
| 68 | - have hfreeze : ∀ y, u y = (U x).weightedInitial g hg (a₀ y) + | |
| 69 | - (U x).weightedForcing g hg (f y + (multiplier (B y)-multiplier (B x)) (u y)) := by | |
| 70 | - intro y | |
| 71 | - have hd : multiplier (B y-B x) = multiplier (B y)-multiplier (B x) := by | |
| 72 | - ext p t | |
| 73 | - rfl | |
| 74 | - simpa only [hd] using (U x).weighted_frozen_solution g hg (U y) (f y) (a₀ y) | |
| 75 | - have hr := EulerFrozenEvolutionGevrey.derivative_recurrence | |
| 76 | - (fun y => multiplier (B y)) u f a₀ (contDiff_multiplier B hB) hu hf ha₀ x | |
| 77 | - ((U x).weightedInitial g hg) ((U x).weightedForcing g hg) hfreeze n | |
| 78 | - exact hr.trans (add_le_add | |
| 79 | - (mul_le_mul_of_nonneg_right ((U x).weightedInitial_norm g hg hg₀ C hC (hU x)) (norm_nonneg _)) | |
| 80 | - (mul_le_mul_of_nonneg_right ((U x).weightedForcing_norm g hg hg₀ C hC (hU x)) (by positivity))) | |
| 81 | - | |
| 82 | -/-- The fixed polynomial amplitude controlling the differentiated forward solve. -/ | |
| 83 | -def forwardCost (T C A D CB : ℝ) : ℝ := 1 + C*A + C*T*(D+CB) | |
| 84 | - | |
| 85 | -/-- The actual forward solve loses one factorial shift. Its radius condition | |
| 86 | -contains only the propagator, coefficient and data amplitudes, and time length. -/ | |
| 87 | -theorem weightedSolution_gevrey | |
| 88 | - (hB : ContDiff ℝ ∞ B) (hf : ContDiff ℝ ∞ f) (ha₀ : ContDiff ℝ ∞ a₀) | |
| 89 | - (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) | |
| 90 | - (C A D CB Rc R : ℝ) (hC : 0 ≤ C) (hA : 0 ≤ A) (hD : 0 ≤ D) (hCB : 0 ≤ CB) | |
| 91 | - (hRc : 0 ≤ Rc) (hR : 2*forwardCost T C A D CB*(Rc+1) ≤ R) | |
| 92 | - (hU : ∀ x (t s : Icc (0 : ℝ) T), s ≤ t → ‖(U x).propagator t s‖ ≤ C*g t/g s) | |
| 93 | - (hcoeff : ∀ j x, ‖iteratedFDeriv ℝ (j+1) B x‖ ≤ CB*(Rc^(j+1)*((j+1).factorial : ℝ)^2)) | |
| 94 | - (d : ℕ) (hforce : ∀ n x, ‖iteratedFDeriv ℝ n f x‖ ≤ D*majorant R d n) | |
| 95 | - (hinitial : ∀ n x, ‖iteratedFDeriv ℝ n a₀ x‖ ≤ A*majorant R d n) | |
| 96 | - (n : ℕ) (x : P) : | |
| 97 | - ‖iteratedFDeriv ℝ n (fun y => (U y).weightedSolution g hg (f y) (a₀ y)) x‖ ≤ | |
| 98 | - majorant R (d+1) n := by | |
| 99 | - let u := fun y => (U y).weightedSolution g hg (f y) (a₀ y) | |
| 100 | - let M := forwardCost T C A D CB | |
| 101 | - have hCT : 0 ≤ C*T := mul_nonneg hC hT | |
| 102 | - have hM : 1 ≤ M := by | |
| 103 | - dsimp [M,forwardCost] | |
| 104 | - nlinarith [mul_nonneg hC hA, mul_nonneg hCT (add_nonneg hD hCB)] | |
| 105 | - have hR0 : 0 ≤ R := le_trans | |
| 106 | - (mul_nonneg (mul_nonneg (by norm_num) (le_trans zero_le_one hM)) (by linarith)) hR | |
| 107 | - have htop : C*A + C*T*D ≤ M := by | |
| 108 | - dsimp [M,forwardCost] | |
| 109 | - nlinarith [mul_nonneg hCT hCB] | |
| 110 | - have hcoef : C*T*CB ≤ M := by | |
| 111 | - dsimp [M,forwardCost] | |
| 112 | - nlinarith [mul_nonneg hC hA, mul_nonneg hCT hD] | |
| 113 | - apply triangular_inverse_majorant M Rc R hM hRc hR d | |
| 114 | - (fun k => majorant R d k) (fun k => ‖iteratedFDeriv ℝ k u x‖) (fun _ => le_rfl) _ n | |
| 115 | - intro k | |
| 116 | - let S : ℝ := ∑ j ∈ range k, (k.choose (j+1) : ℝ) * Rc^(j+1) * | |
| 117 | - ((j+1).factorial : ℝ)^2 * ‖iteratedFDeriv ℝ (k-(j+1)) u x‖ | |
| 118 | - have hS : 0 ≤ S := by dsimp [S]; positivity | |
| 119 | - have hmajor : 0 ≤ majorant R d k := majorant_nonneg R hR0 d k | |
| 120 | - have hcoeffOp (j : ℕ) : | |
| 121 | - ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ ≤ | |
| 122 | - CB*(Rc^(j+1)*((j+1).factorial : ℝ)^2) := by | |
| 123 | - have hl := ContinuousLinearMap.norm_iteratedFDeriv_comp_left | |
| 124 | - (𝕜 := ℝ) (E := P) (F := C(Icc (0 : ℝ) T,E →L[ℝ] E)) | |
| 125 | - (G := C(Icc (0 : ℝ) T,E) →L[ℝ] C(Icc (0 : ℝ) T,E)) | |
| 126 | - (coefficientMap (K := Icc (0 : ℝ) T) (E := E) (F := E)) | |
| 127 | - (x := x) hB.contDiffAt (n := j+1) (by simp) | |
| 128 | - exact hl.trans ((mul_le_mul_of_nonneg_right coefficientMap_norm (norm_nonneg _)).trans | |
| 129 | - (by simpa only [one_mul] using hcoeff j x)) | |
| 130 | - have hsum : (∑ j ∈ range k, (k.choose (j+1) : ℝ) * | |
| 131 | - ‖iteratedFDeriv ℝ (j+1) (fun y => multiplier (B y)) x‖ * | |
| 132 | - ‖iteratedFDeriv ℝ (k-(j+1)) u x‖) ≤ CB*S := by | |
| 133 | - dsimp [S] | |
| 134 | - rw [mul_sum] | |
| 135 | - apply sum_le_sum | |
| 136 | - intro j _ | |
| 137 | - have hh := mul_le_mul_of_nonneg_right | |
| 138 | - (mul_le_mul_of_nonneg_left (hcoeffOp j) (by positivity : (0 : ℝ) ≤ k.choose (j+1))) | |
| 139 | - (norm_nonneg (iteratedFDeriv ℝ (k-(j+1)) u x)) | |
| 140 | - convert hh using 1 | |
| 141 | - ring | |
| 142 | - have hr := weightedSolution_derivative_recurrence T hT B U g hg f a₀ hB hf ha₀ hg₀ C hC hU x k | |
| 143 | - have hb : ‖iteratedFDeriv ℝ k u x‖ ≤ C*(A*majorant R d k) + (C*T)*(D*majorant R d k+CB*S) := | |
| 144 | - hr.trans (add_le_add (mul_le_mul_of_nonneg_left (hinitial k x) hC) | |
| 145 | - (mul_le_mul_of_nonneg_left (add_le_add (hforce k x) hsum) hCT)) | |
| 146 | - change ‖iteratedFDeriv ℝ k u x‖ ≤ M*(majorant R d k+S) | |
| 147 | - apply hb.trans | |
| 148 | - calc | |
| 149 | - _ = (C*A+C*T*D)*majorant R d k+(C*T*CB)*S := by ring | |
| 150 | - _ ≤ M*majorant R d k+M*S := add_le_add | |
| 151 | - (mul_le_mul_of_nonneg_right htop hmajor) (mul_le_mul_of_nonneg_right hcoef hS) | |
| 152 | - _ = _ := by ring | |
| 153 | - | |
| 154 | 53 | end EulerLinearDuhamel |
+0 −7 Euler/LinearDuhamelNaturality.lean View file
| @@ -48,11 +48,4 @@ theorem solution_map (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : | ||
| 48 | 48 | · change L (U.solution f a₀ ⟨0,le_rfl,hT⟩) = L a₀ |
| 49 | 49 | rw [U.solution_initial] |
| 50 | 50 | |
| 51 | -/-- Pointwise form of the same identity, including both endpoints. -/ | |
| 52 | -theorem solution_map_apply (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) | |
| 53 | - (t : Icc (0 : ℝ) T) : | |
| 54 | - V.solution (L.compLeftContinuous ℝ (Icc (0 : ℝ) T) f) (L a₀) t = | |
| 55 | - L (U.solution f a₀ t) := by | |
| 56 | - exact congrArg (fun p : C(Icc (0 : ℝ) T,F) => p t) (U.solution_map V L hL f a₀) | |
| 57 | - | |
| 58 | 51 | end EulerLinearDuhamel.Evolution |
+0 −38 Euler/LinearDuhamelSymmetry.lean View file
| @@ -19,13 +19,6 @@ variable {T : ℝ} {hT : 0 ≤ T} {B : C(Icc (0 : ℝ) T,E →L[ℝ] E)} | ||
| 19 | 19 | |
| 20 | 20 | namespace Evolution |
| 21 | 21 | |
| 22 | -/-- The true forced path is independent of the fundamental evolution chosen to represent it. -/ | |
| 23 | -theorem solution_independent (U V : Evolution T hT B) (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : | |
| 24 | - U.solution f a₀ = V.solution f a₀ := by | |
| 25 | - ext t | |
| 26 | - exact V.solution_unique f a₀ (U.solutionReal f a₀) (U.solution_derivative f a₀) | |
| 27 | - (U.solution_initial f a₀) t | |
| 28 | - | |
| 29 | 22 | /-- Sign reversal of both data reverses the actual solution. -/ |
| 30 | 23 | theorem solution_neg (U : Evolution T hT B) (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : |
| 31 | 24 | U.solution (-f) (-a₀) = -U.solution f a₀ := by |
| @@ -41,35 +34,4 @@ end Evolution | ||
| 41 | 34 | variable {P : Type*} (T : ℝ) (hT : 0 ≤ T) |
| 42 | 35 | (B : P → C(Icc (0 : ℝ) T,E →L[ℝ] E)) (U : ∀ x, Evolution T hT (B x)) |
| 43 | 36 | |
| 44 | -/-- Reflection or any other parameter symmetry is inherited from coefficients | |
| 45 | -and data; no regularity or symmetry of the chosen propagators is required. -/ | |
| 46 | -theorem solution_odd_under (σ : P → P) (hB : ∀ x, B (σ x) = B x) | |
| 47 | - (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → E) | |
| 48 | - (hf : ∀ x, f (σ x) = -f x) (ha₀ : ∀ x, a₀ (σ x) = -a₀ x) (x : P) : | |
| 49 | - (U (σ x)).solution (f (σ x)) (a₀ (σ x)) = -(U x).solution (f x) (a₀ x) := by | |
| 50 | - have he := (U x).frozen_solution (U (σ x)) (f (σ x)) (a₀ (σ x)) | |
| 51 | - have hm : multiplier (0 : C(Icc (0 : ℝ) T,E →L[ℝ] E)) = 0 := by | |
| 52 | - ext p t | |
| 53 | - rfl | |
| 54 | - have hcoeff : B (σ x)-B x = 0 := by rw [hB x, sub_self] | |
| 55 | - rw [hcoeff, hm, zero_apply, add_zero] at he | |
| 56 | - calc | |
| 57 | - (U (σ x)).solution (f (σ x)) (a₀ (σ x)) = | |
| 58 | - (U x).initialOperator (a₀ (σ x)) + (U x).forcingOperator (f (σ x)) := he | |
| 59 | - _ = -((U x).initialOperator (a₀ x) + (U x).forcingOperator (f x)) := by | |
| 60 | - rw [hf x, ha₀ x, map_neg, map_neg, neg_add] | |
| 61 | - _ = -(U x).solution (f x) (a₀ x) := by rw [(U x).solution_eq_operators] | |
| 62 | - | |
| 63 | -/-- The actual forward solution stays in the union of the supports of its data. -/ | |
| 64 | -theorem solution_support_subset (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → E) : | |
| 65 | - Function.support (fun x => (U x).solution (f x) (a₀ x)) ⊆ | |
| 66 | - Function.support f ∪ Function.support a₀ := by | |
| 67 | - intro x hx | |
| 68 | - by_cases hf : f x = 0 | |
| 69 | - · by_cases ha : a₀ x = 0 | |
| 70 | - · have hz : (U x).solution (f x) (a₀ x) = 0 := by rw [hf, ha, Evolution.solution_zero] | |
| 71 | - exact (hx hz).elim | |
| 72 | - · exact Or.inr ha | |
| 73 | - · exact Or.inl hf | |
| 74 | - | |
| 75 | 37 | end EulerLinearDuhamel |
+0 −7 Euler/LinearDuhamelWeighted.lean View file
| @@ -64,13 +64,6 @@ theorem weightedForcing_norm (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) (C : ℝ) (hC : 0 | ||
| 64 | 64 | def weightedSolution (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : C(Icc (0 : ℝ) T,E) := |
| 65 | 65 | normalize g hg (U.solution (weight g f) a₀) |
| 66 | 66 | |
| 67 | -/-- The normalized solution is still exactly the two actual data maps. -/ | |
| 68 | -theorem weightedSolution_eq (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : | |
| 69 | - U.weightedSolution g hg f a₀ = U.weightedInitial g hg a₀ + U.weightedForcing g hg f := by | |
| 70 | - unfold weightedSolution | |
| 71 | - rw [U.solution_eq_operators, map_add] | |
| 72 | - rfl | |
| 73 | - | |
| 74 | 67 | variable {D : C(Icc (0 : ℝ) T,E →L[ℝ] E)} (V : Evolution T hT D) |
| 75 | 68 | |
| 76 | 69 | /-- Freezing the coefficient is an actual identity of constructed solutions. -/ |
+0 −30 Euler/LocalFlowTrap.lean View file
| @@ -76,34 +76,4 @@ theorem norm_lt_of_local_speed_bound (X : ℝ → E) (V : ℝ → E → E) | ||
| 76 | 76 | have hbudget : M * s ≤ M * δ := mul_le_mul_of_nonneg_left hsI.2 hM |
| 77 | 77 | nlinarith |
| 78 | 78 | |
| 79 | -omit [NormedSpace ℝ E] in | |
| 80 | -/-- Compactness supplies a common speed bound and positive time budget on a fixed ball. -/ | |
| 81 | -theorem exists_local_speed_budget [ProperSpace E] (u : ℝ → E → E) {A B : ℝ} | |
| 82 | - (hAB : A < B) | |
| 83 | - (hu : ContinuousOn (Function.uncurry u) | |
| 84 | - (Icc (0 : ℝ) 1 ×ˢ Metric.closedBall (0 : E) B)) : | |
| 85 | - ∃ δ M : ℝ, 0 < δ ∧ δ ≤ 1 ∧ 0 < M ∧ δ * M < B - A ∧ | |
| 86 | - ∀ s ∈ Icc 0 δ, ∀ x : E, ‖x‖ ≤ B → ‖u s x‖ ≤ M := by | |
| 87 | - obtain ⟨C, hC⟩ := | |
| 88 | - (isCompact_Icc.prod (isCompact_closedBall (0 : E) B)).exists_bound_of_continuousOn hu | |
| 89 | - let M : ℝ := max C 0 + 1 | |
| 90 | - have hM : 0 < M := by dsimp [M]; positivity | |
| 91 | - let δ : ℝ := min 1 ((B - A) / (2 * M)) | |
| 92 | - have hδ : 0 < δ := lt_min zero_lt_one (div_pos (sub_pos.mpr hAB) (by positivity)) | |
| 93 | - have hδone : δ ≤ 1 := min_le_left _ _ | |
| 94 | - have hsmall : δ * M < B - A := by | |
| 95 | - have hb : δ * M ≤ (B - A) / 2 := by | |
| 96 | - calc | |
| 97 | - δ * M ≤ ((B - A) / (2 * M)) * M := | |
| 98 | - mul_le_mul_of_nonneg_right (min_le_right _ _) hM.le | |
| 99 | - _ = (B - A) / 2 := by field_simp | |
| 100 | - linarith | |
| 101 | - refine ⟨δ, M, hδ, hδone, hM, hsmall, ?_⟩ | |
| 102 | - intro s hs x hx | |
| 103 | - have hxball : x ∈ Metric.closedBall (0 : E) B := by | |
| 104 | - simpa only [Metric.mem_closedBall, dist_zero_right] using hx | |
| 105 | - have hc := hC (s, x) ⟨⟨hs.1, hs.2.trans hδone⟩, hxball⟩ | |
| 106 | - have hCM : C ≤ M := (le_max_left C 0).trans (by dsimp [M]; linarith) | |
| 107 | - exact hc.trans hCM | |
| 108 | - | |
| 109 | 79 | end EulerComparatorLocalFlow |
+0 −24 Euler/LpBochnerRealization.lean View file
| @@ -59,30 +59,6 @@ def realization (w : Lp (Lp E 2 ν) 2 μ) (f : α × β → E) | ||
| 59 | 59 | (hrep : ∀ᵐ x ∂μ, (w x : β → E) =ᵐ[ν] fun y => f (x,y)) : Lp E 2 (μ.prod ν) := |
| 60 | 60 | (field_memLp w f hf hrep).toLp f |
| 61 | 61 | |
| 62 | -theorem realization_ae (w : Lp (Lp E 2 ν) 2 μ) (f : α × β → E) | |
| 63 | - (hf : AEStronglyMeasurable f (μ.prod ν)) | |
| 64 | - (hrep : ∀ᵐ x ∂μ, (w x : β → E) =ᵐ[ν] fun y => f (x,y)) : | |
| 65 | - (realization w f hf hrep : α × β → E) =ᵐ[μ.prod ν] f := | |
| 66 | - (field_memLp w f hf hrep).coeFn_toLp | |
| 67 | - | |
| 68 | 62 | variable [SFinite μ] |
| 69 | 63 | |
| 70 | -/-- Fubini preserves the exact L² norm, with no angle or dimension factor. -/ | |
| 71 | -theorem realization_norm (w : Lp (Lp E 2 ν) 2 μ) (f : α × β → E) | |
| 72 | - (hf : AEStronglyMeasurable f (μ.prod ν)) | |
| 73 | - (hrep : ∀ᵐ x ∂μ, (w x : β → E) =ᵐ[ν] fun y => f (x,y)) : | |
| 74 | - ‖realization w f hf hrep‖ = ‖w‖ := by | |
| 75 | - have he : ‖realization w f hf hrep‖^2 = ‖w‖^2 := by | |
| 76 | - rw [norm_sq_eq_integral] | |
| 77 | - calc | |
| 78 | - _ = ∫ z, ‖f z‖^2 ∂μ.prod ν := by | |
| 79 | - apply integral_congr_ae | |
| 80 | - filter_upwards [realization_ae w f hf hrep] with z hz | |
| 81 | - rw [hz] | |
| 82 | - _ = ∫ x, ∫ y, ‖f (x,y)‖^2 ∂ν ∂μ := | |
| 83 | - integral_prod _ ((memLp_two_iff_integrable_sq_norm hf).1 (field_memLp w f hf hrep)) | |
| 84 | - _ = ∫ x, ‖w x‖^2 ∂μ := integral_congr_ae (fiber_integral w f hrep) | |
| 85 | - _ = _ := (norm_sq_eq_integral w).symm | |
| 86 | - nlinarith [norm_nonneg (realization w f hf hrep), norm_nonneg w] | |
| 87 | - | |
| 88 | 64 | end EulerLpBochnerRealization |
+0 −37 Euler/LpCylinderCoefficients.lean View file
| @@ -116,43 +116,6 @@ theorem liftedOperatorPathMap_norm : ‖liftedOperatorPathMap (V := V) period S | ||
| 116 | 116 | change ‖liftedOperatorPath period S hS T A‖ ≤ 1*‖A‖ |
| 117 | 117 | exact (liftedOperatorPath_norm period S hS T A).trans_eq (one_mul ‖A‖).symm |
| 118 | 118 | |
| 119 | -omit [CompleteSpace V] in | |
| 120 | -/-- The actual cylinder coefficient varies smoothly with all four covering parameters. -/ | |
| 121 | -theorem mixedOperator_contDiff (B : SmoothCoefficientPath (Icc (0 : ℝ) T) (V →L[ℝ] V)) : | |
| 122 | - ContDiff ℝ ∞ (fun a : LiftTangent => liftedOperatorPath period S hS T | |
| 123 | - (translateCoefficientPath B.field a.1)) := by | |
| 124 | - exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 125 | - (E := C(Icc (0 : ℝ) T,Space →ᵇ V →L[ℝ] V)) | |
| 126 | - (F := C(Icc (0 : ℝ) T,Supported period V S hS →L[ℝ] Supported period V S hS)) | |
| 127 | - (liftedOperatorPathMap period S hS T)).comp | |
| 128 | - (B.translation_contDiff.comp (ContinuousLinearMap.fst ℝ Space ℝ).contDiff) | |
| 129 | - | |
| 130 | -omit [CompleteSpace V] in | |
| 131 | -/-- Mixed coefficient jets obey the original spatial tensor bound, with constant one. -/ | |
| 132 | -theorem mixedOperator_bound (B : SmoothCoefficientPath (Icc (0 : ℝ) T) (V →L[ℝ] V)) | |
| 133 | - (n : ℕ) (C : ℝ) (hC : 0 ≤ C) | |
| 134 | - (hb : ∀ t x, ‖iteratedFDeriv ℝ n (B.field t : Space → V →L[ℝ] V) x‖ ≤ C) | |
| 135 | - (a : LiftTangent) : | |
| 136 | - ‖iteratedFDeriv ℝ n (fun b : LiftTangent => liftedOperatorPath period S hS T | |
| 137 | - (translateCoefficientPath B.field b.1)) a‖ ≤ C := by | |
| 138 | - let f : Space → C(Icc (0 : ℝ) T,Space →ᵇ V →L[ℝ] V) := translateCoefficientPath B.field | |
| 139 | - have hf : ContDiff ℝ ∞ f := B.translation_contDiff | |
| 140 | - have hright : ‖iteratedFDeriv ℝ n (f ∘ ContinuousLinearMap.fst ℝ Space ℝ) a‖ ≤ C := by | |
| 141 | - rw [(ContinuousLinearMap.fst ℝ Space ℝ).iteratedFDeriv_comp_right hf a (by simp)] | |
| 142 | - apply (ContinuousMultilinearMap.norm_compContinuousLinearMap_le _ _).trans | |
| 143 | - calc | |
| 144 | - _ ≤ ‖iteratedFDeriv ℝ n f a.1‖ * ∏ _i : Fin n, (1 : ℝ) := by | |
| 145 | - apply mul_le_mul_of_nonneg_left _ (norm_nonneg _) | |
| 146 | - exact Finset.prod_le_prod (fun _ _ => norm_nonneg _) (fun _ _ => ContinuousLinearMap.norm_fst_le ℝ Space ℝ) | |
| 147 | - _ ≤ C := by simpa only [Finset.prod_const_one, mul_one] using B.norm_iteratedFDeriv_translation_le n C hC hb a.1 | |
| 148 | - have hleft := ContinuousLinearMap.norm_iteratedFDeriv_comp_left (𝕜 := ℝ) (E := LiftTangent) | |
| 149 | - (F := C(Icc (0 : ℝ) T,Space →ᵇ V →L[ℝ] V)) | |
| 150 | - (G := C(Icc (0 : ℝ) T,Supported period V S hS →L[ℝ] Supported period V S hS)) | |
| 151 | - (liftedOperatorPathMap period S hS T) | |
| 152 | - ((hf.comp (ContinuousLinearMap.fst ℝ Space ℝ).contDiff).contDiffAt (x := a)) (n := n) (by simp) | |
| 153 | - exact hleft.trans ((mul_le_mul_of_nonneg_right (liftedOperatorPathMap_norm period S hS T) | |
| 154 | - (norm_nonneg _)).trans (by simpa only [one_mul] using hright)) | |
| 155 | - | |
| 156 | 119 | variable (hT : 0 ≤ T) (B : C(Icc (0 : ℝ) T,Space →ᵇ V →L[ℝ] V)) |
| 157 | 120 | |
| 158 | 121 | /-- The cylinder evolution is constructed from the genuine spatial fundamental fields. -/ |
+0 −7 Euler/LpCylinderPathBounds.lean View file
| @@ -33,13 +33,6 @@ private local instance : NormedSpace ℝ C(K,CylinderL2 P E →L[ℝ] CylinderL2 | ||
| 33 | 33 | def mixedOperatorPath (A : C(K,Space →ᵇ E →L[ℝ] F)) (a : LiftTangent) : |
| 34 | 34 | C(K,CylinderL2 P E →L[ℝ] CylinderL2 P F) := fullPathMap P (translateCoefficientPath A a.1) |
| 35 | 35 | |
| 36 | -theorem mixedOperatorPath_contDiff (A : C(K,Space →ᵇ E →L[ℝ] F)) | |
| 37 | - (hA : ContDiff ℝ ∞ (translateCoefficientPath A)) : | |
| 38 | - ContDiff ℝ ∞ (mixedOperatorPath P A) := | |
| 39 | - (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 40 | - (E := C(K,Space →ᵇ E →L[ℝ] F)) (F := C(K,CylinderL2 P E →L[ℝ] CylinderL2 P F)) | |
| 41 | - (fullPathMap P)).comp (hA.comp (ContinuousLinearMap.fst ℝ Space ℝ).contDiff) | |
| 42 | - | |
| 43 | 36 | theorem mixedOperatorPath_bound (A : C(K,Space →ᵇ E →L[ℝ] F)) |
| 44 | 37 | (hA : ContDiff ℝ ∞ (translateCoefficientPath A)) (n : ℕ) (C : ℝ) |
| 45 | 38 | (hb : ∀ a, ‖iteratedFDeriv ℝ n (translateCoefficientPath A) a‖ ≤ C) (a : LiftTangent) : |
+0 −22 Euler/LpCylinderPaths.lean View file
| @@ -114,16 +114,6 @@ theorem translatedData_contDiff (u : CylinderL2 period V) | ||
| 114 | 114 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) (E := CylinderL2 period V) |
| 115 | 115 | (F := Supported period V S hS) (projection (liftMeasure period) (spatialSet period S) (spatialSet_measurable period S hS))).comp hu |
| 116 | 116 | |
| 117 | -/-- The supported parameter family has no larger actual derivative norm. -/ | |
| 118 | -theorem norm_iteratedFDeriv_translatedData_le (u : CylinderL2 period V) | |
| 119 | - (hu : ContDiff ℝ ∞ (fun a : LiftTangent => translate period a u)) (n : ℕ) (a : LiftTangent) : | |
| 120 | - ‖iteratedFDeriv ℝ n (translatedData period S hS u) a‖ ≤ | |
| 121 | - ‖iteratedFDeriv ℝ n (fun b : LiftTangent => translate period b u) a‖ := by | |
| 122 | - have h := (projection (V := V) (liftMeasure period) (spatialSet period S) (spatialSet_measurable period S hS)).norm_iteratedFDeriv_comp_left | |
| 123 | - (hu.contDiffAt (x := a)) (n := n) (by simp) | |
| 124 | - exact h.trans (by simpa only [one_mul] using | |
| 125 | - mul_le_mul_of_nonneg_right (projection_norm (V := V) (liftMeasure period) (spatialSet period S) (spatialSet_measurable period S hS)) (norm_nonneg _)) | |
| 126 | - | |
| 127 | 117 | /-- Uniform-time orbit smoothness is preserved by the fixed support projection. -/ |
| 128 | 118 | theorem translatedForcing_contDiff (f : C(K,CylinderL2 period V)) |
| 129 | 119 | (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a f)) : |
| @@ -131,18 +121,6 @@ theorem translatedForcing_contDiff (f : C(K,CylinderL2 period V)) | ||
| 131 | 121 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) (E := C(K,CylinderL2 period V)) |
| 132 | 122 | (F := C(K,Supported period V S hS)) (projectPath period S hS)).comp hf |
| 133 | 123 | |
| 134 | -/-- The projected forcing jets are bounded by the genuine uniform-time spatial orbit jets. -/ | |
| 135 | -theorem norm_iteratedFDeriv_translatedForcing_le (f : C(K,CylinderL2 period V)) | |
| 136 | - (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a f)) | |
| 137 | - (n : ℕ) (a : LiftTangent) : | |
| 138 | - ‖iteratedFDeriv ℝ n (translatedForcing period S hS f) a‖ ≤ | |
| 139 | - ‖iteratedFDeriv ℝ n (fun b : LiftTangent => pathTranslate period b f) a‖ := by | |
| 140 | - have h := ContinuousLinearMap.norm_iteratedFDeriv_comp_left (𝕜 := ℝ) (E := LiftTangent) | |
| 141 | - (F := C(K,CylinderL2 period V)) (G := C(K,Supported period V S hS)) | |
| 142 | - (projectPath (K := K) (V := V) period S hS) (hf.contDiffAt (x := a)) (n := n) (by simp) | |
| 143 | - exact h.trans (by simpa only [one_mul] using | |
| 144 | - mul_le_mul_of_nonneg_right (projectPath_norm (K := K) (V := V) period S hS) (norm_nonneg _)) | |
| 145 | - | |
| 146 | 124 | |
| 147 | 125 | variable {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q : ℕ) |
| 148 | 126 | |
+0 −8 Euler/LpCylinderRectangular.lean View file
| @@ -164,14 +164,6 @@ def supportedOperatorMap : (Space →ᵇ E →L[ℝ] F) →L[ℝ] | ||
| 164 | 164 | (supportedOperatorMap period S hS A u : CylinderL2 period F) = |
| 165 | 165 | fullOperatorMap period A (u : CylinderL2 period E) := rfl |
| 166 | 166 | |
| 167 | -theorem supportedOperatorMap_norm : ‖supportedOperatorMap (E := E) (F := F) period S hS‖ ≤ 1 := by | |
| 168 | - apply opNorm_le_bound _ zero_le_one | |
| 169 | - intro A | |
| 170 | - rw [one_mul] | |
| 171 | - exact (EulerLpOperatorField.supported_norm (liftMeasure period) (spatialSet period S) | |
| 172 | - (spatialSet_measurable period S hS) (fieldLift period A) ‖A‖ (norm_nonneg A) | |
| 173 | - (fun x _ => A.norm_coe_le_norm x.1)) | |
| 174 | - | |
| 175 | 167 | def supportedPathMap : C(K,Space →ᵇ E →L[ℝ] F) →L[ℝ] |
| 176 | 168 | C(K,Supported period E S hS →L[ℝ] Supported period F S hS) := |
| 177 | 169 | (supportedOperatorMap (E := E) (F := F) period S hS).compLeftContinuous ℝ K |
+0 −9 Euler/LpCylinderTimeWeight.lean View file
| @@ -25,18 +25,9 @@ theorem supportedMultiplier_weight (A : C(K,Space →ᵇ E →L[ℝ] F)) | ||
| 25 | 25 | intro t |
| 26 | 26 | exact (supportedOperatorMap period S hS (A t)).map_smul (g t) (u t) |
| 27 | 27 | |
| 28 | -theorem supportedMultiplier_normalize (hg : ∀ t, 0 < g t) | |
| 29 | - (A : C(K,Space →ᵇ E →L[ℝ] F)) (u : C(K,Supported period E S hS)) : | |
| 30 | - supportedMultiplierMap period S hS A (normalize g hg u) = | |
| 31 | - normalize g hg (supportedMultiplierMap period S hS A u) := | |
| 32 | - supportedMultiplier_weight period S hS (reciprocal g hg) A u | |
| 33 | - | |
| 34 | 28 | theorem include_weight (u : C(K,Supported period E S hS)) : |
| 35 | 29 | includePath period S hS (weight g u) = weight g (includePath period S hS u) := rfl |
| 36 | 30 | |
| 37 | -theorem include_normalize (hg : ∀ t, 0 < g t) (u : C(K,Supported period E S hS)) : | |
| 38 | - includePath period S hS (normalize g hg u) = normalize g hg (includePath period S hS u) := rfl | |
| 39 | - | |
| 40 | 31 | theorem translate_weight (a : LiftTangent) (u : C(K,CylinderL2 period E)) : |
| 41 | 32 | pathTranslate period a (weight g u) = weight g (pathTranslate period a u) := by |
| 42 | 33 | apply ContinuousMap.ext |
+0 −21 Euler/LpCylinderTranslation.lean View file
| @@ -75,16 +75,6 @@ omit [CompactSpace K] in | ||
| 75 | 75 | @[simp] theorem pathTranslate_apply (a : LiftTangent) (u : C(K,CylinderL2 period V)) (t : K) : |
| 76 | 76 | pathTranslate period a u t = translate period a (u t) := rfl |
| 77 | 77 | |
| 78 | -theorem pathTranslate_norm (a : LiftTangent) : ‖pathTranslate (K := K) (V := V) period a‖ ≤ 1 := by | |
| 79 | - apply opNorm_le_bound _ zero_le_one | |
| 80 | - intro u | |
| 81 | - rw [one_mul] | |
| 82 | - apply (ContinuousMap.norm_le _ (norm_nonneg u)).2 | |
| 83 | - intro t | |
| 84 | - change ‖translate period a (u t)‖ ≤ ‖u‖ | |
| 85 | - rw [LinearIsometry.norm_map] | |
| 86 | - exact u.norm_coe_le_norm t | |
| 87 | - | |
| 88 | 78 | end Translation |
| 89 | 79 | |
| 90 | 80 | section Fields |
| @@ -118,17 +108,6 @@ omit [CompactSpace K] [Fact (0 < period)] in | ||
| 118 | 108 | @[simp] theorem fieldPathLift_apply (A : C(K,Space →ᵇ W)) (t : K) (x : LiftDomain period) : |
| 119 | 109 | fieldPathLift period A t x = A t x.1 := rfl |
| 120 | 110 | |
| 121 | -omit [Fact (0 < period)] in | |
| 122 | -theorem fieldPathLift_norm : ‖fieldPathLift (K := K) (W := W) period‖ ≤ 1 := by | |
| 123 | - apply opNorm_le_bound _ zero_le_one | |
| 124 | - intro A | |
| 125 | - rw [one_mul] | |
| 126 | - apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 | |
| 127 | - intro t | |
| 128 | - apply (BoundedContinuousFunction.norm_le (norm_nonneg A)).2 | |
| 129 | - intro x | |
| 130 | - exact ((A t).norm_coe_le_norm x.1).trans (A.norm_coe_le_norm t) | |
| 131 | - | |
| 132 | 111 | end Fields |
| 133 | 112 | |
| 134 | 113 | /-- Support in a set of spatial labels, with arbitrary angular coordinate. -/ |
+0 −16 Euler/LpMultilinearBundling.lean View file
| @@ -32,20 +32,4 @@ theorem multilinearBundling_ae (D : Lp (P [×n]→L[ℝ] V) 2 μ) (v : Fin n → | ||
| 32 | 32 | exact ContinuousLinearMap.coeFn_compLp (𝕜 := ℝ) (𝕜' := ℝ) |
| 33 | 33 | (E := P [×n]→L[ℝ] V) (F := V) (σ := RingHom.id ℝ) L D |
| 34 | 34 | |
| 35 | -theorem multilinearBundling_apply_norm_le (D : Lp (P [×n]→L[ℝ] V) 2 μ) : | |
| 36 | - ‖multilinearBundling (P := P) (V := V) μ n D‖ ≤ ‖D‖ := by | |
| 37 | - apply ContinuousMultilinearMap.opNorm_le_bound (norm_nonneg D) | |
| 38 | - intro v | |
| 39 | - rw [mul_comm] | |
| 40 | - apply Lp.norm_le_mul_norm_of_ae_le_mul | |
| 41 | - filter_upwards [multilinearBundling_ae μ n D v] with x hx | |
| 42 | - rw [hx, mul_comm] | |
| 43 | - exact (D x).le_opNorm v | |
| 44 | - | |
| 45 | -theorem multilinearBundling_norm_le_one : | |
| 46 | - ‖multilinearBundling (P := P) (V := V) μ n‖ ≤ 1 := by | |
| 47 | - apply (multilinearBundling (P := P) (V := V) μ n).opNorm_le_bound zero_le_one | |
| 48 | - intro D | |
| 49 | - simpa only [one_mul] using multilinearBundling_apply_norm_le μ n D | |
| 50 | - | |
| 51 | 35 | end EulerLpDerivative |
+0 −31 Euler/LpOperatorField.lean View file
| @@ -113,12 +113,6 @@ def fullMap : (α →ᵇ (E →L[ℝ] F)) →L[ℝ] (Lp E 2 μ →L[ℝ] Lp F 2 | ||
| 113 | 113 | change ‖full μ A‖ ≤ (1 : ℝ)*‖A‖ |
| 114 | 114 | simpa only [one_mul] using full_norm μ A) |
| 115 | 115 | |
| 116 | -theorem fullMap_norm : ‖fullMap (E := E) (F := F) μ‖ ≤ 1 := by | |
| 117 | - apply opNorm_le_bound _ zero_le_one | |
| 118 | - intro A | |
| 119 | - change ‖full μ A‖ ≤ (1 : ℝ)*‖A‖ | |
| 120 | - simpa only [one_mul] using full_norm μ A | |
| 121 | - | |
| 122 | 116 | end EulerLpOperatorField |
| 123 | 117 | |
| 124 | 118 | namespace EulerLpOperatorField |
| @@ -144,10 +138,6 @@ def supported (A : α →ᵇ (E →L[ℝ] F)) : | ||
| 144 | 138 | ((full μ A).comp (supportedSpace μ S hS).subtypeL).codRestrict |
| 145 | 139 | (supportedSpace μ S hS) (full_mem μ S hS A) |
| 146 | 140 | |
| 147 | -theorem supported_ae (A : α →ᵇ (E →L[ℝ] F)) (u : supportedSpace (V := E) μ S hS) : | |
| 148 | - ((supported μ S hS A u : supportedSpace (V := F) μ S hS) : Lp F 2 μ) =ᵐ[μ] | |
| 149 | - fun x => A x ((u : Lp E 2 μ) x) := full_ae μ A u | |
| 150 | - | |
| 151 | 141 | /-- Only values on the supporting region enter the actual operator norm. -/ |
| 152 | 142 | theorem supported_norm (A : α →ᵇ (E →L[ℝ] F)) (C : ℝ) (hC : 0 ≤ C) |
| 153 | 143 | (hA : ∀ x ∈ S, ‖A x‖ ≤ C) : ‖supported μ S hS A‖ ≤ C := by |
| @@ -162,25 +152,4 @@ theorem supported_norm (A : α →ᵇ (E →L[ℝ] F)) (C : ℝ) (hC : 0 ≤ C) | ||
| 162 | 152 | · exact ((A x).le_opNorm _).trans (mul_le_mul_of_nonneg_right (hA x hx) (norm_nonneg _)) |
| 163 | 153 | · simp only [hu hx,map_zero,norm_zero,mul_zero,le_refl] |
| 164 | 154 | |
| 165 | -/-- A pointwise lower frame bound becomes the actual spatial-L² lower frame bound. -/ | |
| 166 | -theorem supported_norm_sq_lower (A : α →ᵇ (E →L[ℝ] F)) (c : ℝ) (hc : 0 ≤ c) | |
| 167 | - (hA : ∀ x ∈ S, ∀ v : E, c*‖v‖^2 ≤ ‖A x v‖^2) | |
| 168 | - (u : supportedSpace (V := E) μ S hS) : | |
| 169 | - c*‖u‖^2 ≤ ‖supported μ S hS A u‖^2 := by | |
| 170 | - have hroot : (Real.sqrt c)^2 = c := Real.sq_sqrt hc | |
| 171 | - have h : ‖Real.sqrt c • (u : Lp E 2 μ)‖ ≤ ‖full μ A (u : Lp E 2 μ)‖ := by | |
| 172 | - apply Lp.norm_le_norm_of_ae_le | |
| 173 | - filter_upwards [full_ae μ A (u : Lp E 2 μ), Lp.coeFn_smul (Real.sqrt c) (u : Lp E 2 μ), | |
| 174 | - (mem_supportedSpace_ae μ S hS (u : Lp E 2 μ)).1 u.property] with x ha hs hu | |
| 175 | - rw [ha,hs,Pi.smul_apply,norm_smul,Real.norm_eq_abs,abs_of_nonneg (Real.sqrt_nonneg c)] | |
| 176 | - by_cases hx : x ∈ S | |
| 177 | - · apply (sq_le_sq₀ (mul_nonneg (Real.sqrt_nonneg c) (norm_nonneg _)) (norm_nonneg _)).1 | |
| 178 | - rw [mul_pow,hroot] | |
| 179 | - exact hA x hx _ | |
| 180 | - · simp only [hu hx,map_zero,norm_zero,mul_zero,le_refl] | |
| 181 | - rw [norm_smul,Real.norm_eq_abs,abs_of_nonneg (Real.sqrt_nonneg c)] at h | |
| 182 | - have hs := (sq_le_sq₀ (mul_nonneg (Real.sqrt_nonneg c) (norm_nonneg _)) (norm_nonneg _)).2 h | |
| 183 | - change c*‖(u : Lp E 2 μ)‖^2 ≤ ‖full μ A (u : Lp E 2 μ)‖^2 | |
| 184 | - simpa only [mul_pow,hroot] using hs | |
| 185 | - | |
| 186 | 155 | end EulerLpOperatorField |
+0 −61 Euler/LpOperatorFieldPath.lean View file
| @@ -74,12 +74,6 @@ def supportedMap : (α →ᵇ E →L[ℝ] F) →L[ℝ] | ||
| 74 | 74 | |
| 75 | 75 | @[simp] theorem supportedMap_apply (A : α →ᵇ E →L[ℝ] F) : supportedMap μ S hS A = supported μ S hS A := rfl |
| 76 | 76 | |
| 77 | -theorem supportedMap_norm : ‖supportedMap (E := E) (F := F) μ S hS‖ ≤ 1 := by | |
| 78 | - apply opNorm_le_bound _ zero_le_one | |
| 79 | - intro A | |
| 80 | - simpa only [one_mul,supportedMap_apply] using | |
| 81 | - supported_norm μ S hS A ‖A‖ (norm_nonneg _) (fun x _ => A.norm_coe_le_norm x) | |
| 82 | - | |
| 83 | 77 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 84 | 78 | |
| 85 | 79 | /-- The actual rectangular coefficient map uniformly along a compact time set. -/ |
| @@ -91,66 +85,11 @@ omit [CompactSpace K] in | ||
| 91 | 85 | @[simp] theorem supportedPathMap_apply (A : C(K,α →ᵇ E →L[ℝ] F)) (t : K) : |
| 92 | 86 | supportedPathMap μ S hS A t = supported μ S hS (A t) := rfl |
| 93 | 87 | |
| 94 | -theorem supportedPathMap_norm : ‖supportedPathMap (K := K) (E := E) (F := F) μ S hS‖ ≤ 1 := by | |
| 95 | - apply opNorm_le_bound _ zero_le_one | |
| 96 | - intro A | |
| 97 | - rw [one_mul] | |
| 98 | - apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 | |
| 99 | - intro t | |
| 100 | - exact (supported_norm μ S hS (A t) ‖A t‖ (norm_nonneg _) (fun x _ => (A t).norm_coe_le_norm x)).trans | |
| 101 | - (A.norm_coe_le_norm t) | |
| 102 | - | |
| 103 | -omit [CompactSpace K] in | |
| 104 | -/-- Every-time pointwise lower frame bounds hold on the real L² frame path. -/ | |
| 105 | -theorem supportedPath_lower (A : C(K,α →ᵇ E →L[ℝ] F)) (c : ℝ) (hc : 0 ≤ c) | |
| 106 | - (hA : ∀ t x, x ∈ S → ∀ v, c*‖v‖^2 ≤ ‖A t x v‖^2) | |
| 107 | - (t : K) (u : supportedSpace (V := E) μ S hS) : | |
| 108 | - c*‖u‖^2 ≤ ‖supportedPathMap μ S hS A t u‖^2 := | |
| 109 | - supported_norm_sq_lower μ S hS (A t) c hc (hA t) u | |
| 110 | - | |
| 111 | 88 | section Derivative |
| 112 | 89 | |
| 113 | 90 | variable [CompleteSpace F] |
| 114 | 91 | (T : ℝ) (hT : 0 ≤ T) (A A' : C(Icc (0 : ℝ) T,α →ᵇ E →L[ℝ] F)) |
| 115 | 92 | |
| 116 | -/-- Literal pointwise coefficient time derivatives give the genuine within-time | |
| 117 | -operator derivative; no global time extension is assumed. -/ | |
| 118 | -theorem supportedPath_hasDerivWithinAt | |
| 119 | - (hpoint : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : α, | |
| 120 | - HasDerivWithinAt (fun s => extendPath T hT A s x) | |
| 121 | - (extendPath T hT A' t x) (Icc (0 : ℝ) T) t) | |
| 122 | - (t : Icc (0 : ℝ) T) : | |
| 123 | - HasDerivWithinAt (extendPath T hT (supportedPathMap μ S hS A)) | |
| 124 | - (supportedPathMap μ S hS A' t) (Icc (0 : ℝ) T) t := by | |
| 125 | - have hfield := EulerBoundedFieldTimeDerivative.hasDerivWithinAt T hT A A' hpoint t t.property | |
| 126 | - have hlinear : HasFDerivAt | |
| 127 | - (fun B : α →ᵇ E →L[ℝ] F => supportedMap μ S hS B) | |
| 128 | - (supportedMap μ S hS) (extendPath T hT A t) := | |
| 129 | - ContinuousLinearMap.hasFDerivAt (𝕜 := ℝ) (E := α →ᵇ E →L[ℝ] F) | |
| 130 | - (F := supportedSpace (V := E) μ S hS →L[ℝ] supportedSpace (V := F) μ S hS) | |
| 131 | - (supportedMap μ S hS) | |
| 132 | - have hd := hlinear.comp_hasDerivWithinAt (t : ℝ) hfield | |
| 133 | - change HasDerivWithinAt (fun s => supportedMap μ S hS (A (projIcc 0 T hT s))) | |
| 134 | - (supportedMap μ S hS (A' t)) (Icc (0 : ℝ) T) t | |
| 135 | - change HasDerivWithinAt (fun s => supportedMap μ S hS (A (projIcc 0 T hT s))) | |
| 136 | - (supportedMap μ S hS (A' (projIcc 0 T hT t))) (Icc (0 : ℝ) T) t at hd | |
| 137 | - rwa [projIcc_of_mem hT t.property] at hd | |
| 138 | - | |
| 139 | 93 | end Derivative |
| 140 | 94 | |
| 141 | -/-- A localized Hessian upper bound passes to its genuine supported L² operator. -/ | |
| 142 | -theorem supported_quadratic_upper (A : α →ᵇ E →L[ℝ] E) (C : ℝ) | |
| 143 | - (hA : ∀ x ∈ S, ∀ v, ⟪A x v,v⟫_ℝ ≤ C*‖v‖^2) (u : supportedSpace (V := E) μ S hS) : | |
| 144 | - ⟪supported μ S hS A u,u⟫_ℝ ≤ C*‖u‖^2 := by | |
| 145 | - change ⟪full μ A (u : Lp E 2 μ),(u : Lp E 2 μ)⟫_ℝ ≤ C*‖(u : Lp E 2 μ)‖^2 | |
| 146 | - rw [← real_inner_self_eq_norm_sq,L2.inner_def,L2.inner_def,← integral_const_mul] | |
| 147 | - apply integral_mono_ae (L2.integrable_inner (full μ A (u : Lp E 2 μ)) (u : Lp E 2 μ)) | |
| 148 | - ((L2.integrable_inner (u : Lp E 2 μ) (u : Lp E 2 μ)).const_mul C) | |
| 149 | - filter_upwards [full_ae μ A (u : Lp E 2 μ), | |
| 150 | - (mem_supportedSpace_ae μ S hS (u : Lp E 2 μ)).1 u.property] with x hx hu | |
| 151 | - rw [hx,real_inner_self_eq_norm_sq] | |
| 152 | - by_cases hs : x ∈ S | |
| 153 | - · exact hA x hs _ | |
| 154 | - · simp only [hu hs,map_zero,inner_zero_left,norm_zero,zero_pow (by decide : 2 ≠ 0),mul_zero,le_refl] | |
| 155 | - | |
| 156 | 95 | end EulerLpOperatorField |
+0 −6 Euler/LpSmoothJetField.lean View file
| @@ -59,12 +59,6 @@ private theorem jetField_field_aux (n : ℕ) : | ||
| 59 | 59 | (jetField n A).field x = iteratedFDeriv ℝ n A.field x := |
| 60 | 60 | jetField_field_aux n V A x |
| 61 | 61 | |
| 62 | -theorem jetField_toLp {V : Type u} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 63 | - (A : SmoothL2Field V) (n : ℕ) : (jetField n A).toLp = A.jetLp n := by | |
| 64 | - apply Lp.ext | |
| 65 | - filter_upwards [(jetField n A).toLp_ae, A.jetLp_ae n] with x h₁ h₂ | |
| 66 | - exact h₁.trans ((jetField_field A n x).trans h₂.symm) | |
| 67 | - | |
| 68 | 62 | variable {K : Type v} [TopologicalSpace K] |
| 69 | 63 | |
| 70 | 64 | private theorem continuous_jetField_jet_aux (n : ℕ) : |
+0 −25 Euler/LpSupportedConstructedEvolution.lean View file
| @@ -46,29 +46,4 @@ theorem fundamental_pointwise_derivative (t : ℝ) (ht : t ∈ Icc (0 : ℝ) T) | ||
| 46 | 46 | convert hd using 1 |
| 47 | 47 | all_goals rfl |
| 48 | 48 | |
| 49 | -/-- A genuine supported-L² evolution constructed from the original bounded coefficient. -/ | |
| 50 | -def constructedSupportedEvolution (μ : Measure α) (S : Set α) (hS : MeasurableSet S) : | |
| 51 | - Evolution T hT (operatorPath μ S hS T B) := | |
| 52 | - liftEvolution μ S hS T hT B (fundamentalPath T hT B).forward (fundamentalPath T hT B).backward | |
| 53 | - (fun t x _ => congrArg (fun A : Field (α := α) (V := V) => A x) | |
| 54 | - ((fundamentalPath T hT B).forward_backward t)) | |
| 55 | - (fun t x _ => congrArg (fun A : Field (α := α) (V := V) => A x) | |
| 56 | - ((fundamentalPath T hT B).backward_forward t)) | |
| 57 | - (fundamental_pointwise_derivative T hT B) | |
| 58 | - | |
| 59 | -/-- The actual supported-L² propagator retains the exact localized H3 bound. -/ | |
| 60 | -theorem constructedSupportedEvolution_propagator_norm | |
| 61 | - (μ : Measure α) (S : Set α) (hS : MeasurableSet S) | |
| 62 | - (g : Icc (0 : ℝ) T → ℝ) (hg : ∀ t, 0 < g t) (C : ℝ) (hC : 0 ≤ C) | |
| 63 | - (hprop : ∀ t s : Icc (0 : ℝ) T, s ≤ t → ∀ x ∈ S, | |
| 64 | - ‖((fundamentalPath T hT B).forward t x).comp ((fundamentalPath T hT B).backward s x)‖ ≤ | |
| 65 | - C*g t/g s) | |
| 66 | - (t s : Icc (0 : ℝ) T) (hst : s ≤ t) : | |
| 67 | - ‖(constructedSupportedEvolution T hT B μ S hS).propagator t s‖ ≤ C*g t/g s := by | |
| 68 | - change ‖(operator μ S hS ((fundamentalPath T hT B).forward t)).comp | |
| 69 | - (operator μ S hS ((fundamentalPath T hT B).backward s))‖ ≤ _ | |
| 70 | - rw [← operator_mul] | |
| 71 | - exact operator_norm_le μ S hS _ (C*g t/g s) | |
| 72 | - (div_nonneg (mul_nonneg hC (hg t).le) (hg s).le) (hprop t s hst) | |
| 73 | - | |
| 74 | 49 | end EulerLpSupportedConstructedEvolution |
+0 −42 Euler/LpSupportedEvolution.lean View file
| @@ -111,46 +111,4 @@ def liftEvolution : Evolution T hT (operatorPath μ S hS T B) where | ||
| 111 | 111 | rw [operator_mul] at hd |
| 112 | 112 | exact hd |
| 113 | 113 | |
| 114 | -/-- The pointwise localized (H3) estimate is the actual L² propagator norm, | |
| 115 | -with the identical relative profile factor. -/ | |
| 116 | -theorem liftEvolution_propagator_norm (g : Icc (0 : ℝ) T → ℝ) (hg : ∀ t, 0 < g t) | |
| 117 | - (C : ℝ) (hC : 0 ≤ C) | |
| 118 | - (hprop : ∀ t s : Icc (0 : ℝ) T, s ≤ t → ∀ x ∈ S, | |
| 119 | - ‖(Φ t x).comp (Ψ s x)‖ ≤ C*g t/g s) | |
| 120 | - (t s : Icc (0 : ℝ) T) (hst : s ≤ t) : | |
| 121 | - ‖(liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ).propagator t s‖ ≤ C*g t/g s := by | |
| 122 | - change ‖(operator μ S hS (Φ t)).comp (operator μ S hS (Ψ s))‖ ≤ _ | |
| 123 | - rw [← operator_mul] | |
| 124 | - exact operator_norm_le μ S hS (Φ t*Ψ s) (C*g t/g s) | |
| 125 | - (div_nonneg (mul_nonneg hC (hg t).le) (hg s).le) (hprop t s hst) | |
| 126 | - | |
| 127 | -/-- The actual forced supported-L² path has the source's polynomial profile bound. -/ | |
| 128 | -theorem liftedSolution_profile_bound | |
| 129 | - (f : C(Icc (0 : ℝ) T,supportedSpace (V := V) μ S hS)) | |
| 130 | - (a₀ : supportedSpace (V := V) μ S hS) | |
| 131 | - (g : Icc (0 : ℝ) T → ℝ) (hg : ∀ t, 0 < g t) (hg₀ : g ⟨0,le_rfl,hT⟩ = 1) | |
| 132 | - (C D : ℝ) (hC : 0 ≤ C) | |
| 133 | - (hprop : ∀ t s : Icc (0 : ℝ) T, s ≤ t → ∀ x ∈ S, | |
| 134 | - ‖(Φ t x).comp (Ψ s x)‖ ≤ C*g t/g s) | |
| 135 | - (hf : ∀ s, ‖f s‖ ≤ D*g s) (t : Icc (0 : ℝ) T) : | |
| 136 | - ‖(liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ).solution f a₀ t‖ ≤ | |
| 137 | - C*g t*(‖a₀‖+(t : ℝ)*D) := | |
| 138 | - (liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ).solution_profile_bound f a₀ g hg hg₀ C D hC | |
| 139 | - (liftEvolution_propagator_norm μ S hS T hT B Φ Ψ hRight hLeft hΦ g hg C hC hprop) hf t | |
| 140 | - | |
| 141 | -/-- This profile-bounded path solves the actual supported-L² differential equation. -/ | |
| 142 | -theorem liftedSolution_hasDerivWithinAt | |
| 143 | - (f : C(Icc (0 : ℝ) T,supportedSpace (V := V) μ S hS)) | |
| 144 | - (a₀ : supportedSpace (V := V) μ S hS) (t : Icc (0 : ℝ) T) : | |
| 145 | - HasDerivWithinAt | |
| 146 | - (extendPath T hT ((liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ).solution f a₀)) | |
| 147 | - (operator μ S hS (B t) ((liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ).solution f a₀ t) + f t) | |
| 148 | - (Icc (0 : ℝ) T) t := by | |
| 149 | - let U := liftEvolution μ S hS T hT B Φ Ψ hRight hLeft hΦ | |
| 150 | - have hd := U.solution_derivative f a₀ t | |
| 151 | - apply hd.congr_of_mem _ t.property | |
| 152 | - intro s hs | |
| 153 | - simp only [extendPath, projIcc_of_mem hT hs] | |
| 154 | - rfl | |
| 155 | - | |
| 156 | 114 | end EulerLpSupportedEvolution |
+0 −5 Euler/LpSupportedMultiplier.lean View file
| @@ -49,11 +49,6 @@ def operator (A : Field (α := α) (V := V)) : | ||
| 49 | 49 | ((full μ A).comp (supportedSpace μ S hS).subtypeL).codRestrict |
| 50 | 50 | (supportedSpace μ S hS) (full_mem μ S hS A) |
| 51 | 51 | |
| 52 | -/-- The supported operator retains the actual pointwise representative. -/ | |
| 53 | -theorem operator_ae (A : Field (α := α) (V := V)) (u : supportedSpace (V := V) μ S hS) : | |
| 54 | - ((operator μ S hS A u : supportedSpace μ S hS) : Lp V 2 μ) =ᵐ[μ] | |
| 55 | - fun x => A x ((u : Lp V 2 μ) x) := full_ae μ A u | |
| 56 | - | |
| 57 | 52 | /-- The actual L² bound only requires control on the set supporting the input. -/ |
| 58 | 53 | theorem operator_apply_norm_le (A : Field (α := α) (V := V)) (C : ℝ) |
| 59 | 54 | (hbound : ∀ x ∈ S, ‖A x‖ ≤ C) (u : supportedSpace (V := V) μ S hS) : |
+0 −25 Euler/LpSupportedTranslation.lean View file
| @@ -26,10 +26,6 @@ variable {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] | ||
| 26 | 26 | /-- The exact support set of a translated field. -/ |
| 27 | 27 | def shiftedSet (a : Space) (S : Set Space) : Set Space := {x | x+a ∈ S} |
| 28 | 28 | |
| 29 | -/-- Translated supports remain measurable. -/ | |
| 30 | -theorem shiftedSet_measurable (a : Space) (S : Set Space) (hS : MeasurableSet S) : | |
| 31 | - MeasurableSet (shiftedSet a S) := hS.preimage (measurable_id.add measurable_const) | |
| 32 | - | |
| 33 | 29 | /-- Translation carries an actual supported L² field into its translated support set. -/ |
| 34 | 30 | theorem translation_mem (a : Space) (S Ω : Set Space) (hS : MeasurableSet S) (hΩ : MeasurableSet Ω) |
| 35 | 31 | (hsub : shiftedSet a S ⊆ Ω) (u : supportedSpace (V := V) volume S hS) : |
| @@ -56,27 +52,6 @@ def intoLarger (a : Space) (S Ω : Set Space) (hS : MeasurableSet S) (hΩ : Meas | ||
| 56 | 52 | (hsub : shiftedSet a S ⊆ Ω) (u : supportedSpace (V := V) volume S hS) : |
| 57 | 53 | (intoLarger a S Ω hS hΩ hsub u : L2Space V) = translation a (u : L2Space V) := rfl |
| 58 | 54 | |
| 59 | -/-- The translated coefficient is the literal original field at `x+a`. -/ | |
| 60 | -def translatedField (A : Field (α := Space) (V := V)) (a : Space) : Field (α := Space) (V := V) := | |
| 61 | - EulerMeanCoefficients.translated A a | |
| 62 | - | |
| 63 | -/-- Actual coefficient multiplication intertwines the support-changing translation. -/ | |
| 64 | -theorem operator_intertwines (a : Space) (S Ω : Set Space) (hS : MeasurableSet S) (hΩ : MeasurableSet Ω) | |
| 65 | - (hsub : shiftedSet a S ⊆ Ω) (A : Field (α := Space) (V := V)) | |
| 66 | - (u : supportedSpace (V := V) volume S hS) : | |
| 67 | - operator volume Ω hΩ (translatedField A a) (intoLarger a S Ω hS hΩ hsub u) = | |
| 68 | - intoLarger a S Ω hS hΩ hsub (operator volume S hS A u) := by | |
| 69 | - apply Subtype.ext | |
| 70 | - apply Lp.ext | |
| 71 | - filter_upwards [full_ae volume (translatedField A a) (translation a (u : L2Space V)), | |
| 72 | - translation_ae a (u : L2Space V), translation_ae a (full volume A (u : L2Space V)), | |
| 73 | - (measurePreserving_add_right (volume : Measure Space) a).quasiMeasurePreserving.ae | |
| 74 | - (full_ae volume A (u : L2Space V))] with x hl hu hr ha | |
| 75 | - change (full volume (translatedField A a) (translation a (u : L2Space V))) x = | |
| 76 | - (translation a (full volume A (u : L2Space V))) x | |
| 77 | - rw [hl, hu, hr, ha] | |
| 78 | - rfl | |
| 79 | - | |
| 80 | 55 | /-- Compactly supported data have a qualitative translation neighborhood |
| 81 | 56 | inside any prescribed larger open support region. -/ |
| 82 | 57 | theorem compact_support_translation_margin (K Ω : Set Space) (hK : IsCompact K) (hΩ : IsOpen Ω) |
+0 −18 Euler/LpTranslation.lean View file
| @@ -44,30 +44,12 @@ theorem translation_continuous (u : L2Space V) : Continuous (fun a : Space => tr | ||
| 44 | 44 | exact continuous_const.compMeasurePreservingLp hg |
| 45 | 45 | (fun a => measurePreserving_add_right (volume : Measure Space) a) (by norm_num) |
| 46 | 46 | |
| 47 | -theorem translation_norm_le (a : Space) : | |
| 48 | - ‖(translation (V := V) a).toContinuousLinearMap‖ ≤ 1 := by | |
| 49 | - apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one | |
| 50 | - intro u | |
| 51 | - simp only [LinearIsometry.coe_toContinuousLinearMap, LinearIsometry.norm_map, one_mul, le_refl] | |
| 52 | - | |
| 53 | 47 | theorem translation_hasFDerivAt_all (u : L2Space V) (D : Space →L[ℝ] L2Space V) |
| 54 | 48 | (h : HasFDerivAt (fun a : Space => translation a u) D 0) (a : Space) : |
| 55 | 49 | HasFDerivAt (fun b : Space => translation b u) |
| 56 | 50 | ((translation a).toContinuousLinearMap.comp D) a := |
| 57 | 51 | EulerIsometricAction.hasFDerivAt_all translation translation_add u D h a |
| 58 | 52 | |
| 59 | -theorem translation_orbits_tendstoUniformly {ι : Type*} {l : Filter ι} | |
| 60 | - (u : ι → L2Space V) (v : L2Space V) (hu : Tendsto u l (𝓝 v)) : | |
| 61 | - TendstoUniformly (fun n a => translation a (u n)) (fun a => translation a v) l := | |
| 62 | - EulerIsometricAction.orbits_tendstoUniformly translation u v hu | |
| 63 | - | |
| 64 | -theorem translation_derivatives_tendstoUniformly {ι : Type*} {l : Filter ι} | |
| 65 | - (D : ι → Space →L[ℝ] L2Space V) (D₀ : Space →L[ℝ] L2Space V) | |
| 66 | - (hD : Tendsto D l (𝓝 D₀)) : | |
| 67 | - TendstoUniformly (fun n a => (translation a).toContinuousLinearMap.comp (D n)) | |
| 68 | - (fun a => (translation a).toContinuousLinearMap.comp D₀) l := | |
| 69 | - EulerIsometricAction.derivatives_tendstoUniformly translation D D₀ hD | |
| 70 | - | |
| 71 | 53 | /-- Convergent ordinary L² fields and their actual translation derivatives have the expected derivative in the limit. -/ |
| 72 | 54 | theorem translation_hasFDerivAt_limit (u : ℕ → L2Space V) |
| 73 | 55 | (D : ℕ → Space →L[ℝ] L2Space V) (u₀ : L2Space V) (D₀ : Space →L[ℝ] L2Space V) |
+0 −44 Euler/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 −43 Euler/SmoothCoefficientTimeRestriction.lean View file
| @@ -44,33 +44,6 @@ theorem comp_norm_le (A : SmoothCoefficientPath K V) (φ : C(L,K)) : | ||
| 44 | 44 | intro t |
| 45 | 45 | exact A.field.norm_coe_le_norm (φ t) |
| 46 | 46 | |
| 47 | -theorem comp_jet_norm_le (A : SmoothCoefficientPath K V) (φ : C(L,K)) (n : ℕ) : | |
| 48 | - ‖(A.comp φ).jet n‖ ≤ ‖A.jet n‖ := by | |
| 49 | - apply (ContinuousMap.norm_le _ (norm_nonneg _)).2 | |
| 50 | - intro t | |
| 51 | - exact (A.jet n).norm_coe_le_norm (φ t) | |
| 52 | - | |
| 53 | -theorem comp_translation (A : SmoothCoefficientPath K V) (φ : C(L,K)) (a : Space) : | |
| 54 | - translateCoefficientPath (A.comp φ).field a = | |
| 55 | - (translateCoefficientPath A.field a).comp φ := rfl | |
| 56 | - | |
| 57 | -/-- A continuous change of time parameter preserves each literal spatial | |
| 58 | -derivative bound with exactly the same constant. -/ | |
| 59 | -theorem comp_derivative_bound (A : SmoothCoefficientPath K V) (φ : C(L,K)) | |
| 60 | - (n : ℕ) (C : ℝ) | |
| 61 | - (hb : ∀ t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C) | |
| 62 | - (t : L) (x : Space) : | |
| 63 | - ‖iteratedFDeriv ℝ n ((A.comp φ).field t : Space → V) x‖ ≤ C := | |
| 64 | - hb (φ t) x | |
| 65 | - | |
| 66 | -theorem comp_translation_bound (A : SmoothCoefficientPath K V) (φ : C(L,K)) | |
| 67 | - (n : ℕ) (C : ℝ) (hC : 0 ≤ C) | |
| 68 | - (hb : ∀ t x, ‖iteratedFDeriv ℝ n (A.field t : Space → V) x‖ ≤ C) | |
| 69 | - (a : Space) : | |
| 70 | - ‖iteratedFDeriv ℝ n (translateCoefficientPath (A.comp φ).field) a‖ ≤ C := | |
| 71 | - (A.comp φ).norm_iteratedFDeriv_translation_le n C hC | |
| 72 | - (A.comp_derivative_bound φ n C hb) a | |
| 73 | - | |
| 74 | 47 | end SmoothCoefficientPath |
| 75 | 48 | |
| 76 | 49 | end EulerMeanCoefficients |
| @@ -95,22 +68,6 @@ def initialPath (S τ : ℝ) (hτS : τ ≤ S) : C(Icc (0 : ℝ) S,V) →L[ℝ] | ||
| 95 | 68 | def tailPath (S τ : ℝ) (hτ : 0 ≤ τ) : C(Icc (0 : ℝ) S,V) →L[ℝ] C(Icc (0 : ℝ) (S-τ),V) := |
| 96 | 69 | ContinuousMap.compCLM ℝ V (tailInclusion S τ hτ) |
| 97 | 70 | |
| 98 | -theorem initialPath_norm (S τ : ℝ) (hτS : τ ≤ S) : ‖initialPath (V := V) S τ hτS‖ ≤ 1 := by | |
| 99 | - apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one | |
| 100 | - intro A | |
| 101 | - rw [one_mul] | |
| 102 | - apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 | |
| 103 | - intro t | |
| 104 | - exact A.norm_coe_le_norm _ | |
| 105 | - | |
| 106 | -theorem tailPath_norm (S τ : ℝ) (hτ : 0 ≤ τ) : ‖tailPath (V := V) S τ hτ‖ ≤ 1 := by | |
| 107 | - apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one | |
| 108 | - intro A | |
| 109 | - rw [one_mul] | |
| 110 | - apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 | |
| 111 | - intro t | |
| 112 | - exact A.norm_coe_le_norm _ | |
| 113 | - | |
| 114 | 71 | theorem initial_extend (S τ : ℝ) (hS : 0 ≤ S) (hτ : 0 ≤ τ) (hτS : τ ≤ S) |
| 115 | 72 | (A : C(Icc (0 : ℝ) S,V)) (t : ℝ) (ht : t ∈ Icc (0 : ℝ) τ) : |
| 116 | 73 | extendPath τ hτ (initialPath S τ hτS A) t = extendPath S hS A t := by |
+0 −10 Euler/SmoothCylinderAccelerationComposition.lean View file
| @@ -27,16 +27,6 @@ def materialAccelerationJet (t : Icc (0 : ℝ) T) (q : LiftDomain P) (n : ℕ) : | ||
| 27 | 27 | LiftTangent [×n]→L[ℝ] LiftTangent := |
| 28 | 28 | jetSeries P (materialAcceleration T hT A A₁ t) q n |
| 29 | 29 | |
| 30 | -include hA hA₁ in | |
| 31 | -theorem materialAccelerationJet_local (t : Icc (0 : ℝ) T) (q : LiftDomain P) (n : ℕ) : | |
| 32 | - materialAccelerationJet P T hT A A₁ t q n = | |
| 33 | - iteratedFDeriv ℝ n (EulerMetricTransport.localFieldLift P | |
| 34 | - (descend P (materialAcceleration T hT A A₁ t)) q) 0 := by | |
| 35 | - apply jetSeries_eq_local | |
| 36 | - exact comp_deck P (accelerationField T A A₁ t) | |
| 37 | - (accelerationField_deck P T A A₁ hA hA₁ t) ((flowData T hT A).forward t) | |
| 38 | - (EulerCylinderPeriodicFlow.flow_deck P (flowData T hT A) (velocity_deck P T hT A hA) 0 t) | |
| 39 | - | |
| 40 | 30 | include hA hA₁ hdiv in |
| 41 | 31 | theorem materialAccelerationJet_memLp_and_bound (B R C S C₁ S₁ : ℝ) |
| 42 | 32 | (hB : 0 ≤ B) (hR : 0 < R) (hC : 0 ≤ C) (hS : 0 ≤ S) |
+0 −35 Euler/SmoothCylinderFlow.lean View file
| @@ -28,35 +28,6 @@ theorem velocity_deck (c : AddSubgroup.zmultiples P) (t : ℝ) (z : LiftTangent) | ||
| 28 | 28 | def forward (t : ℝ) : LiftDomain P → LiftDomain P := |
| 29 | 29 | EulerCylinderPeriodicFlow.flow P (flowData T hT A) 0 t |
| 30 | 30 | |
| 31 | -def backward (t : ℝ) : LiftDomain P → LiftDomain P := | |
| 32 | - EulerCylinderPeriodicFlow.flow P (flowData T hT A) t 0 | |
| 33 | - | |
| 34 | -include hA in | |
| 35 | -theorem forward_cover (t : ℝ) (z : LiftTangent) : | |
| 36 | - forward P T hT A t (coveringMap P z)=coveringMap P ((flowData T hT A).forward t z) := | |
| 37 | - EulerCylinderPeriodicFlow.flow_cover P (flowData T hT A) (velocity_deck P T hT A hA) 0 t z | |
| 38 | - | |
| 39 | -include hA in | |
| 40 | -theorem backward_cover (t : ℝ) (z : LiftTangent) : | |
| 41 | - backward P T hT A t (coveringMap P z)=coveringMap P ((flowData T hT A).backward t z) := | |
| 42 | - EulerCylinderPeriodicFlow.flow_cover P (flowData T hT A) (velocity_deck P T hT A hA) t 0 z | |
| 43 | - | |
| 44 | -include hA in | |
| 45 | -theorem forward_joint_continuous : Continuous (Function.uncurry (forward P T hT A)) := | |
| 46 | - EulerCylinderPeriodicFlow.forward_joint_continuous P (flowData T hT A) (velocity_deck P T hT A hA) | |
| 47 | - | |
| 48 | -include hA in | |
| 49 | -theorem backward_joint_continuous : Continuous (Function.uncurry (backward P T hT A)) := | |
| 50 | - EulerCylinderPeriodicFlow.backward_joint_continuous P (flowData T hT A) (velocity_deck P T hT A hA) | |
| 51 | - | |
| 52 | -include hA in | |
| 53 | -theorem backward_forward (t : ℝ) : Function.LeftInverse (backward P T hT A t) (forward P T hT A t) := | |
| 54 | - EulerCylinderPeriodicFlow.flow_inverse P (flowData T hT A) (velocity_deck P T hT A hA) 0 t | |
| 55 | - | |
| 56 | -include hA in | |
| 57 | -theorem forward_backward (t : ℝ) : Function.RightInverse (backward P T hT A t) (forward P T hT A t) := | |
| 58 | - EulerCylinderPeriodicFlow.flow_inverse P (flowData T hT A) (velocity_deck P T hT A hA) t 0 | |
| 59 | - | |
| 60 | 31 | variable (hdiv : ∀ t x, |
| 61 | 32 | LinearMap.trace ℝ LiftTangent (fderiv ℝ (A.field t : LiftTangent → LiftTangent) x).toLinearMap=0) |
| 62 | 33 | |
| @@ -66,10 +37,4 @@ theorem forward_measurePreserving (t : Icc (0 : ℝ) T) : | ||
| 66 | 37 | EulerCylinderPeriodicFlow.flow_measurePreserving P (flowData T hT A) (velocity_deck P T hT A hA) 0 t |
| 67 | 38 | (EulerSmoothBanachFlow.forward_measurePreserving T hT A hdiv volume t) |
| 68 | 39 | |
| 69 | -include hA hdiv in | |
| 70 | -theorem backward_measurePreserving (t : Icc (0 : ℝ) T) : | |
| 71 | - MeasurePreserving (backward P T hT A t) (liftMeasure P) (liftMeasure P) := | |
| 72 | - EulerCylinderPeriodicFlow.flow_measurePreserving P (flowData T hT A) (velocity_deck P T hT A hA) t 0 | |
| 73 | - (EulerSmoothBanachFlow.backward_measurePreserving T hT A hdiv volume t) | |
| 74 | - | |
| 75 | 40 | end EulerSmoothCylinderFlow |
+0 −35 Euler/SmoothCylinderGevrey.lean View file
| @@ -32,44 +32,9 @@ variable (P T : ℝ) [Fact (0 < P)] (hT : 0 ≤ T) | ||
| 32 | 32 | (hA : ∀ (c : AddSubgroup.zmultiples P) (t : Icc (0 : ℝ) T) z, |
| 33 | 33 | A.field t (z.1,(c : ℝ)+z.2)=A.field t z) |
| 34 | 34 | |
| 35 | -theorem displacementJet_bound (B R : ℝ) | |
| 36 | - (hB : 0 ≤ B) (hR : 0 < R) (hsmall : B*R*T ≤ 1/8) | |
| 37 | - (hb : ∀ n, ‖A.jet n‖ ≤ B*R^n*(n.factorial : ℝ)^2) | |
| 38 | - (n : ℕ) (t : Icc (0 : ℝ) T) (q : LiftDomain P) : | |
| 39 | - ‖displacementJet P T hT A t q n‖ ≤ B*(t : ℝ)*(4*R)^n*(n.factorial : ℝ)^2 := | |
| 40 | - EulerSmoothFlowGevrey.displacement_bound T hT A B R hB hR hsmall hb | |
| 41 | - n t t.property (sectionPoint P q) | |
| 42 | - | |
| 43 | 35 | variable (hdiv : ∀ t x, |
| 44 | 36 | LinearMap.trace ℝ LiftTangent (fderiv ℝ (A.field t : LiftTangent → LiftTangent) x).toLinearMap=0) |
| 45 | 37 | |
| 46 | -include hA hdiv in | |
| 47 | -theorem compositionJet_memLp_and_bound (B R C S : ℝ) | |
| 48 | - (hB : 0 ≤ B) (hR : 0 < R) (hC : 0 ≤ C) (hS : 0 ≤ S) | |
| 49 | - (hsmall : B*R*T ≤ 1/8) | |
| 50 | - (hb : ∀ n, ‖A.jet n‖ ≤ B*R^n*(n.factorial : ℝ)^2) | |
| 51 | - (n : ℕ) | |
| 52 | - (hLp : ∀ t : Icc (0 : ℝ) T, ∀ j ≤ n, | |
| 53 | - MemLp (fun q => jetSeries P (A.field t : LiftTangent → LiftTangent) q j) 2 (liftMeasure P)) | |
| 54 | - (hNorm : ∀ t : Icc (0 : ℝ) T, ∀ j ≤ n, | |
| 55 | - (eLpNorm (fun q => jetSeries P (A.field t : LiftTangent → LiftTangent) q j) | |
| 56 | - 2 (liftMeasure P)).toReal ≤ C*S^j*(j.factorial : ℝ)^2) | |
| 57 | - (t : ℝ) : | |
| 58 | - MemLp (fun q => compositionJet P T hT A t q n) 2 (liftMeasure P) ∧ | |
| 59 | - (eLpNorm (fun q => compositionJet P T hT A t q n) 2 (liftMeasure P)).toReal ≤ | |
| 60 | - C*(flowRadius B R T S)^n*(n.factorial : ℝ)^2 := by | |
| 61 | - apply EulerGevreyJetCompositionLp.composition_memLp_and_bound (liftMeasure P) | |
| 62 | - (forward P T hT A (projIcc 0 T hT t)) | |
| 63 | - (forward_measurePreserving P T hT A hA hdiv (projIcc 0 T hT t)) | |
| 64 | - (jetSeries P (forwardCover T hT A t)) (jetSeries P (velocityCover T hT A t)) n | |
| 65 | - ((compositionJet_joint_measurable P T hT A hA n).comp (measurable_const.prodMk measurable_id)).aestronglyMeasurable | |
| 66 | - C (1+B*T) (4*R+1) S hC (by positivity) (by positivity) hS | |
| 67 | - · exact hLp (projIcc 0 T hT t) | |
| 68 | - · exact hNorm (projIcc 0 T hT t) | |
| 69 | - · intro j hj _ q | |
| 70 | - exact forward_positive_bound T hT A B R hB hR hsmall hb j hj | |
| 71 | - (projIcc 0 T hT t) (sectionPoint P q) | |
| 72 | - | |
| 73 | 38 | include hA hdiv in |
| 74 | 39 | theorem displacementJet_memLp_and_bound (B R C S : ℝ) |
| 75 | 40 | (hB : 0 ≤ B) (hR : 0 < R) (hC : 0 ≤ C) (hS : 0 ≤ S) |
+0 −33 Euler/SmoothCylinderJets.lean View file
| @@ -55,23 +55,6 @@ def compositionJet (t : ℝ) (q : LiftDomain P) (n : ℕ) : LiftTangent [×n]→ | ||
| 55 | 55 | (jetSeries P (velocityCover T hT A t) (forward P T hT A (projIcc 0 T hT t) q)).taylorComp |
| 56 | 56 | (jetSeries P (forwardCover T hT A t) q) n |
| 57 | 57 | |
| 58 | -include hA in | |
| 59 | -theorem displacement_cover (t : ℝ) (z : LiftTangent) : | |
| 60 | - displacement P T hT A t (coveringMap P z)=EulerSmoothBanachFlow.displacement T hT A t z := | |
| 61 | - descend_cover P _ (fiber_constant_of_deck P _ (coverDisplacement_deck P T hT A hA t)) z | |
| 62 | - | |
| 63 | -include hA in | |
| 64 | -theorem displacement_smooth (t : ℝ) (q : LiftDomain P) : | |
| 65 | - ContDiff ℝ ∞ (EulerMetricTransport.localFieldLift P (displacement P T hT A t) q) := | |
| 66 | - descend_smooth P _ (coverDisplacement_deck P T hT A hA t) | |
| 67 | - (EulerSmoothBanachFlow.displacement_contDiff T hT A t) q | |
| 68 | - | |
| 69 | -include hA in | |
| 70 | -theorem displacementJet_local (t : ℝ) (q : LiftDomain P) (n : ℕ) : | |
| 71 | - displacementJet P T hT A t q n = | |
| 72 | - iteratedFDeriv ℝ n (EulerMetricTransport.localFieldLift P (displacement P T hT A t) q) 0 := | |
| 73 | - jetSeries_eq_local P _ (coverDisplacement_deck P T hT A hA t) q n | |
| 74 | - | |
| 75 | 58 | include hA in |
| 76 | 59 | theorem compositionJet_eq (t : ℝ) (q : LiftDomain P) (n : ℕ) : |
| 77 | 60 | compositionJet P T hT A t q n = |
| @@ -108,12 +91,6 @@ theorem velocityJetPath_label_continuous (n : ℕ) : | ||
| 108 | 91 | (tensorPathMap n).continuous.comp |
| 109 | 92 | (ContDiff.continuous_iteratedFDeriv (by simp) (velocityFamily_contDiff T hT A)) |
| 110 | 93 | |
| 111 | -omit [Fact (0 < P)] in | |
| 112 | -theorem displacementJetPath_label_continuous (n : ℕ) : | |
| 113 | - Continuous (displacementJetPath T hT A n) := | |
| 114 | - (tensorPathMap n).continuous.comp | |
| 115 | - (ContDiff.continuous_iteratedFDeriv (by simp) (displacementFamily_contDiff T hT A)) | |
| 116 | - | |
| 117 | 94 | include hA in |
| 118 | 95 | theorem compositionJet_joint_measurable (n : ℕ) : |
| 119 | 96 | Measurable (fun z : ℝ × LiftDomain P => compositionJet P T hT A z.1 z.2 n) := by |
| @@ -125,14 +102,4 @@ theorem compositionJet_joint_measurable (n : ℕ) : | ||
| 125 | 102 | ((sectionPoint_measurable P).comp measurable_snd)) |
| 126 | 103 | simpa only [compositionJet_path P T hT A hA,Function.comp_def] using hm |
| 127 | 104 | |
| 128 | -theorem displacementJet_joint_measurable (n : ℕ) : | |
| 129 | - Measurable (fun z : ℝ × LiftDomain P => displacementJet P T hT A z.1 z.2 n) := by | |
| 130 | - have hc : Continuous (fun z : ℝ × LiftTangent => | |
| 131 | - extendPath T hT (displacementJetPath T hT A n z.2) z.1) := | |
| 132 | - ((displacementJetPath_label_continuous T hT A n).comp continuous_snd).eval | |
| 133 | - (continuous_projIcc.comp continuous_fst) | |
| 134 | - have hm := hc.measurable.comp (measurable_fst.prodMk | |
| 135 | - ((sectionPoint_measurable P).comp measurable_snd)) | |
| 136 | - simpa only [displacementJet_path,Function.comp_def] using hm | |
| 137 | - | |
| 138 | 105 | end EulerSmoothCylinderFlow |
+0 −7 Euler/SmoothFieldSobolevTime.lean View file
| @@ -103,11 +103,4 @@ theorem sobolevPath_hasDerivWithinAt (q : ℕ) (t : Icc (0 : ℝ) T) : | ||
| 103 | 103 | simp only [extendPath,sobolevPath,ContinuousMap.coe_mk,Function.comp_def,restrict_sobolev] |
| 104 | 104 | rfl |
| 105 | 105 | |
| 106 | -include hd in | |
| 107 | -theorem sobolevPath_hasDerivAt (q : ℕ) (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 108 | - HasDerivAt (extendPath T hT (sobolevPath A hA q)) | |
| 109 | - (sobolevPath B hB q ⟨t,ht.1.le,ht.2.le⟩) t := | |
| 110 | - (sobolevPath_hasDerivWithinAt T hT A B hA hB hd q ⟨t,ht.1.le,ht.2.le⟩).hasDerivAt | |
| 111 | - (Icc_mem_nhds ht.1 ht.2) | |
| 112 | - | |
| 113 | 106 | end EulerSmoothFieldSobolevTime |
+0 −14 Euler/SmoothFlowAcceleration.lean View file
| @@ -70,18 +70,4 @@ theorem velocityFamily_time_derivative | ||
| 70 | 70 | · intro _ s hs |
| 71 | 71 | exact velocityFamily_time_derivative_interior T hT A A₁ htime x s hs |
| 72 | 72 | |
| 73 | -theorem forward_second_time_derivative | |
| 74 | - (htime : SmoothTimeField.TimeDerivative T hT A A₁) | |
| 75 | - (x : E) (t : Icc (0 : ℝ) T) : | |
| 76 | - HasDerivWithinAt (fun s => deriv (fun r => (flowData T hT A).forward r x) s) | |
| 77 | - (accelerationFamily T hT A A₁ x t) (Icc (0 : ℝ) T) t := by | |
| 78 | - apply (velocityFamily_time_derivative T hT A A₁ htime x t).congr_of_mem _ t.property | |
| 79 | - intro s hs | |
| 80 | - rw [((flowData T hT A).forward_hasDerivAt s x).deriv] | |
| 81 | - change (flowData T hT A).velocity s ((flowData T hT A).forward s x) = | |
| 82 | - velocityFamily T hT A x (projIcc 0 T hT s) | |
| 83 | - rw [projIcc_of_mem hT hs] | |
| 84 | - exact EulerBoundedLipschitzFlow.ofTimeInterval_velocity T hT A.field | |
| 85 | - ‖A.derivative.field‖₊ (velocity_lipschitz T A) ⟨s,hs⟩ _ | |
| 86 | - | |
| 87 | 73 | end EulerSmoothBanachFlow |
+0 −10 Euler/SmoothFlowCoefficientPaths.lean View file
| @@ -65,11 +65,6 @@ def displacementCoefficient : SmoothTimeField (Icc (0 : ℝ) T) E E := | ||
| 65 | 65 | (displacementCoefficient T hT A B R hB hR hsmall hb).field t x = |
| 66 | 66 | (flowData T hT A).forward t x-x := rfl |
| 67 | 67 | |
| 68 | -theorem displacementCoefficient_jet_norm (n : ℕ) : | |
| 69 | - ‖(displacementCoefficient T hT A B R hB hR hsmall hb).jet n‖ ≤ | |
| 70 | - B*T*(4*R)^n*(n.factorial : ℝ)^2 := by | |
| 71 | - apply SmoothTimeField.ofPathFamily_jet_norm | |
| 72 | - | |
| 73 | 68 | variable (A₁ : SmoothTimeField (Icc (0 : ℝ) T) E E) |
| 74 | 69 | (htime : SmoothTimeField.TimeDerivative T hT A A₁) |
| 75 | 70 | (B₁ R₁ : ℝ) (hB₁ : 0 ≤ B₁) (hR₁ : 0 ≤ R₁) |
| @@ -98,9 +93,4 @@ def velocityCoefficient : SmoothTimeField (Icc (0 : ℝ) T) E E := | ||
| 98 | 93 | (velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁).field t x = |
| 99 | 94 | A.field t ((flowData T hT A).forward t x) := rfl |
| 100 | 95 | |
| 101 | -theorem velocityCoefficient_jet_norm (n : ℕ) : | |
| 102 | - ‖(velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁).jet n‖ ≤ | |
| 103 | - B*(flowRadius B R T R)^n*(n.factorial : ℝ)^2 := by | |
| 104 | - apply SmoothTimeField.ofPathFamily_jet_norm | |
| 105 | - | |
| 106 | 96 | end EulerSmoothBanachFlow |
+0 −33 Euler/SmoothFlowDeformation.lean View file
| @@ -81,37 +81,4 @@ variable (htime : SmoothTimeField.TimeDerivative T hT A A₁) | ||
| 81 | 81 | (B₁ R₁ : ℝ) (hB₁ : 0 ≤ B₁) (hR₁ : 0 ≤ R₁) |
| 82 | 82 | (hb₁ : ∀ n, ‖A₁.jet n‖ ≤ B₁*R₁^n*(n.factorial : ℝ)^2) |
| 83 | 83 | |
| 84 | -def deformationTimeCoefficient : SmoothTimeField (Icc (0 : ℝ) T) E (E →L[ℝ] E) := | |
| 85 | - (velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁).derivative | |
| 86 | - | |
| 87 | -def deformationSecondCoefficient : SmoothTimeField (Icc (0 : ℝ) T) E (E →L[ℝ] E) := | |
| 88 | - (accelerationCoefficient T hT A B R hB hR hsmall hb A₁).derivative | |
| 89 | - | |
| 90 | -theorem displacementCoefficient_time : SmoothTimeField.TimeDerivative T hT | |
| 91 | - (displacementCoefficient T hT A B R hB hR hsmall hb) | |
| 92 | - (velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) := by | |
| 93 | - intro t x | |
| 94 | - exact displacementFamily_time_derivative T hT A x t | |
| 95 | - | |
| 96 | -theorem velocityCoefficient_time : SmoothTimeField.TimeDerivative T hT | |
| 97 | - (velocityCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) | |
| 98 | - (accelerationCoefficient T hT A B R hB hR hsmall hb A₁) := by | |
| 99 | - intro t x | |
| 100 | - rw [accelerationCoefficient_apply] | |
| 101 | - exact velocityFamily_time_derivative T hT A A₁ htime x t | |
| 102 | - | |
| 103 | -theorem deformationCoefficient_time : SmoothTimeField.TimeDerivative T hT | |
| 104 | - (deformationCoefficient T hT A B R hB hR hsmall hb) | |
| 105 | - (deformationTimeCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) := by | |
| 106 | - have hd := SmoothTimeField.TimeDerivative.derivative T hT _ _ | |
| 107 | - (displacementCoefficient_time T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) | |
| 108 | - intro t x | |
| 109 | - exact (hd t x).const_add (ContinuousLinearMap.id ℝ E) | |
| 110 | - | |
| 111 | -theorem deformationTimeCoefficient_time : SmoothTimeField.TimeDerivative T hT | |
| 112 | - (deformationTimeCoefficient T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) | |
| 113 | - (deformationSecondCoefficient T hT A B R hB hR hsmall hb A₁) := | |
| 114 | - SmoothTimeField.TimeDerivative.derivative T hT _ _ | |
| 115 | - (velocityCoefficient_time T hT A B R hB hR hsmall hb A₁ htime B₁ R₁ hB₁ hR₁ hb₁) | |
| 116 | - | |
| 117 | 84 | end EulerSmoothBanachFlow |
+0 −36 Euler/SmoothFlowJacobian.lean View file
| @@ -79,40 +79,4 @@ theorem forward_fderiv (t : Icc (0 : ℝ) T) (x : E) : | ||
| 79 | 79 | (jacobianEvolution T hT A x).forward t := |
| 80 | 80 | (forward_hasFDerivAt_label T hT A t x).fderiv |
| 81 | 81 | |
| 82 | -def jacobianEquiv (t : Icc (0 : ℝ) T) (x : E) : E ≃L[ℝ] E := | |
| 83 | - ContinuousLinearEquiv.equivOfInverse ((jacobianEvolution T hT A x).forward t) | |
| 84 | - ((jacobianEvolution T hT A x).backward t) | |
| 85 | - (fun v => congrArg (fun L : E →L[ℝ] E => L v) | |
| 86 | - ((jacobianEvolution T hT A x).backward_forward t)) | |
| 87 | - (fun v => congrArg (fun L : E →L[ℝ] E => L v) | |
| 88 | - ((jacobianEvolution T hT A x).forward_backward t)) | |
| 89 | - | |
| 90 | -theorem backward_hasFDerivAt_label (t : Icc (0 : ℝ) T) (x : E) : | |
| 91 | - HasFDerivAt (fun y => (flowData T hT A).backward t y) | |
| 92 | - ((jacobianEvolution T hT A ((flowData T hT A).backward t x)).backward t) x := by | |
| 93 | - apply EulerContinuousInverseDerivative.hasFDerivAt_inverse | |
| 94 | - (fun y => (flowData T hT A).forward t y) (fun y => (flowData T hT A).backward t y) x | |
| 95 | - ((jacobianEvolution T hT A ((flowData T hT A).backward t x)).forward t) | |
| 96 | - · exact ((flowData T hT A).backward_joint_continuous.comp | |
| 97 | - (continuous_const.prodMk continuous_id)).continuousAt | |
| 98 | - · exact forward_hasFDerivAt_label T hT A t _ | |
| 99 | - · exact Filter.Eventually.of_forall ((flowData T hT A).forward_backward t) | |
| 100 | - · intro v | |
| 101 | - exact congrArg (fun L : E →L[ℝ] E => L v) | |
| 102 | - ((jacobianEvolution T hT A ((flowData T hT A).backward t x)).backward_forward t) | |
| 103 | - | |
| 104 | -theorem backward_contDiff (t : Icc (0 : ℝ) T) : | |
| 105 | - ContDiff ℝ ∞ (fun y => (flowData T hT A).backward t y) := by | |
| 106 | - rw [contDiff_iff_contDiffAt] | |
| 107 | - intro x | |
| 108 | - apply EulerSmoothImplicitLift.contDiffAt_of_identity | |
| 109 | - (fun y => (flowData T hT A).backward t y) | |
| 110 | - (fun y => (flowData T hT A).forward t y) id x ∞ (by simp) | |
| 111 | - (((flowData T hT A).backward_joint_continuous.comp | |
| 112 | - (continuous_const.prodMk continuous_id)).continuousAt) | |
| 113 | - (forward_contDiff T hT A t).contDiffAt contDiff_id.contDiffAt | |
| 114 | - (jacobianEquiv T hT A t ((flowData T hT A).backward t x)) | |
| 115 | - · exact forward_hasFDerivAt_label T hT A t _ | |
| 116 | - · exact (flowData T hT A).forward_backward t | |
| 117 | - | |
| 118 | 82 | end EulerSmoothBanachFlow |
+0 −13 Euler/SmoothFlowJets.lean View file
| @@ -51,11 +51,6 @@ def velocityJetPath (n : ℕ) (x : E) : C(Icc (0 : ℝ) T,E [×n]→L[ℝ] E) := | ||
| 51 | 51 | def displacementJetPath (n : ℕ) (x : E) : C(Icc (0 : ℝ) T,E [×n]→L[ℝ] E) := |
| 52 | 52 | tensorPathMap n (iteratedFDeriv ℝ n (displacementFamily T hT A) x) |
| 53 | 53 | |
| 54 | -theorem jetPath_apply (n : ℕ) (x : E) (t : Icc (0 : ℝ) T) : | |
| 55 | - jetPath T hT A n x t = iteratedFDeriv ℝ n | |
| 56 | - (fun y => (flowData T hT A).forward t y) x := | |
| 57 | - tensorPath_iteratedFDeriv _ (pathFamily_contDiff T hT A) n x t | |
| 58 | - | |
| 59 | 54 | theorem velocityJetPath_apply (n : ℕ) (x : E) (t : Icc (0 : ℝ) T) : |
| 60 | 55 | velocityJetPath T hT A n x t = iteratedFDeriv ℝ n |
| 61 | 56 | (fun y => A.field t ((flowData T hT A).forward t y)) x := |
| @@ -127,14 +122,6 @@ theorem displacement_jet_hasDerivWithinAt (n : ℕ) (x : E) (t : Icc (0 : ℝ) T | ||
| 127 | 122 | rw [he, ← velocityJetPath_displacement] |
| 128 | 123 | exact displacementJetPath_hasDerivWithinAt T hT A n x t |
| 129 | 124 | |
| 130 | -theorem displacement_jet_continuous (n : ℕ) (x : E) : | |
| 131 | - Continuous (fun t => iteratedFDeriv ℝ n (displacement T hT A t) x) := by | |
| 132 | - have he : (fun t => iteratedFDeriv ℝ n (displacement T hT A t) x) = | |
| 133 | - extendPath T hT (displacementJetPath T hT A n x) := | |
| 134 | - funext (fun t => (displacementJetPath_apply T hT A n x t).symm) | |
| 135 | - rw [he] | |
| 136 | - exact extendPath_continuous T hT _ | |
| 137 | - | |
| 138 | 125 | theorem velocity_jet_continuous (n : ℕ) (x : E) : |
| 139 | 126 | Continuous (fun t : Icc (0 : ℝ) T => iteratedFDeriv ℝ n |
| 140 | 127 | (fun y => A.field t (y + displacement T hT A t y)) x) := by |
+0 −113 Euler/SmoothFlowJoint.lean View file
| @@ -25,63 +25,6 @@ theorem accelerationFamily_contDiff : ContDiff ℝ ∞ (accelerationFamily T hT | ||
| 25 | 25 | (contDiff_apply _ _ (A.derivative.superposition_contDiff.comp hp) |
| 26 | 26 | (velocityFamily_contDiff T hT A)) |
| 27 | 27 | |
| 28 | -theorem forward_joint_hasFDerivAt (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 29 | - HasFDerivAt (Function.uncurry (flowData T hT A).forward) | |
| 30 | - (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A) t x) (t,x) := by | |
| 31 | - have h := joint_hasFDerivAt T hT (pathFamily T hT A) (velocityFamily T hT A) | |
| 32 | - (pathFamily_contDiff T hT A) (velocityFamily_contDiff T hT A) | |
| 33 | - (pathFamily_time_derivative T hT A) t ht x | |
| 34 | - apply h.congr_of_eventuallyEq | |
| 35 | - filter_upwards [(continuous_fst.tendsto (t,x)).eventually (Ioo_mem_nhds ht.1 ht.2)] with p hp | |
| 36 | - change (flowData T hT A).forward p.1 p.2 = | |
| 37 | - extendPath T hT (pathFamily T hT A p.2) p.1 | |
| 38 | - simp only [extendPath, projIcc_of_mem hT ⟨hp.1.le,hp.2.le⟩, pathFamily_apply] | |
| 39 | - | |
| 40 | -theorem forward_joint_contDiffAt_one (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 41 | - ContDiffAt ℝ 1 (Function.uncurry (flowData T hT A).forward) (t,x) := by | |
| 42 | - rw [contDiffAt_one_iff] | |
| 43 | - refine ⟨Function.uncurry (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A)), | |
| 44 | - {p : ℝ × E | p.1 ∈ Ioo 0 T}, ?_, | |
| 45 | - (jointDerivative_continuous T hT _ _ (pathFamily_contDiff T hT A) | |
| 46 | - (velocityFamily_contDiff T hT A).continuous).continuousOn, ?_⟩ | |
| 47 | - · exact (continuous_fst.tendsto (t,x)).eventually (Ioo_mem_nhds ht.1 ht.2) | |
| 48 | - · intro p hp | |
| 49 | - exact forward_joint_hasFDerivAt T hT A p.1 hp p.2 | |
| 50 | - | |
| 51 | -theorem forward_jointDerivative_contDiffAt_one | |
| 52 | - (htime : SmoothTimeField.TimeDerivative T hT A A₁) | |
| 53 | - (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 54 | - ContDiffAt ℝ 1 | |
| 55 | - (Function.uncurry (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A))) (t,x) := by | |
| 56 | - have hq := joint_contDiffAt_one T hT (velocityFamily T hT A) (accelerationFamily T hT A A₁) | |
| 57 | - (velocityFamily_contDiff T hT A) (accelerationFamily_contDiff T hT A A₁) | |
| 58 | - (velocityFamily_time_derivative T hT A A₁ htime) t ht x | |
| 59 | - have hJ := joint_contDiffAt_one T hT (spatialDerivative T (pathFamily T hT A)) | |
| 60 | - (spatialDerivative T (velocityFamily T hT A)) | |
| 61 | - (spatialDerivative_contDiff T _ (pathFamily_contDiff T hT A)) | |
| 62 | - (spatialDerivative_contDiff T _ (velocityFamily_contDiff T hT A)) | |
| 63 | - (spatialDerivative_time T hT _ _ (pathFamily_contDiff T hT A) | |
| 64 | - (velocityFamily_contDiff T hT A) (pathFamily_time_derivative T hT A)) t ht x | |
| 65 | - have hs := (ContinuousLinearMap.toSpanSingletonLIE ℝ E).toContinuousLinearEquiv.contDiff.contDiffAt.comp | |
| 66 | - (t,x) hq | |
| 67 | - let L : ((ℝ →L[ℝ] E) × (E →L[ℝ] E)) →L[ℝ] ((ℝ × E) →L[ℝ] E) := | |
| 68 | - (ContinuousLinearMap.coprodEquivL (𝕜 := ℝ) (E := ℝ) (F := E) (G := E) ℝ).toContinuousLinearMap | |
| 69 | - exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := 1) | |
| 70 | - (E := (ℝ →L[ℝ] E) × (E →L[ℝ] E)) (F := (ℝ × E) →L[ℝ] E) L).contDiffAt.comp | |
| 71 | - (t,x) (hs.prodMk hJ) | |
| 72 | - | |
| 73 | -theorem forward_joint_contDiffAt_two | |
| 74 | - (htime : SmoothTimeField.TimeDerivative T hT A A₁) | |
| 75 | - (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 76 | - ContDiffAt ℝ 2 (Function.uncurry (flowData T hT A).forward) (t,x) := by | |
| 77 | - rw [show (2 : ℕ∞ω) = ((1 : ℕ) + 1) from rfl, contDiffAt_succ_iff_hasFDerivAt] | |
| 78 | - refine ⟨Function.uncurry (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A)), | |
| 79 | - ⟨{p : ℝ × E | p.1 ∈ Ioo 0 T}, ?_, ?_⟩, | |
| 80 | - forward_jointDerivative_contDiffAt_one T hT A A₁ htime t ht x⟩ | |
| 81 | - · exact (continuous_fst.tendsto (t,x)).eventually (Ioo_mem_nhds ht.1 ht.2) | |
| 82 | - · intro p hp | |
| 83 | - exact forward_joint_hasFDerivAt T hT A p.1 hp p.2 | |
| 84 | - | |
| 85 | 28 | omit [FiniteDimensional ℝ E] in |
| 86 | 29 | def timeLiftEquiv (J : E ≃L[ℝ] E) (v : E) : (ℝ × E) ≃L[ℝ] (ℝ × E) := |
| 87 | 30 | ContinuousLinearEquiv.equivOfInverse |
| @@ -95,61 +38,5 @@ def timeLiftEquiv (J : E ≃L[ℝ] E) (v : E) : (ℝ × E) ≃L[ℝ] (ℝ × E) | ||
| 95 | 38 | (by intro p; ext <;> simp) |
| 96 | 39 | (by intro p; ext <;> simp) |
| 97 | 40 | |
| 98 | -def liftForward (p : ℝ × E) : ℝ × E := (p.1, (flowData T hT A).forward p.1 p.2) | |
| 99 | -def liftBackward (p : ℝ × E) : ℝ × E := (p.1, (flowData T hT A).backward p.1 p.2) | |
| 100 | - | |
| 101 | -theorem liftForward_hasFDerivAt (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 102 | - HasFDerivAt (liftForward T hT A) | |
| 103 | - (timeLiftEquiv (jacobianEquiv T hT A ⟨t,ht.1.le,ht.2.le⟩ x) | |
| 104 | - (velocityFamily T hT A x ⟨t,ht.1.le,ht.2.le⟩)).toContinuousLinearMap (t,x) := by | |
| 105 | - have h : HasFDerivAt (liftForward T hT A) | |
| 106 | - ((ContinuousLinearMap.fst ℝ ℝ E).prod | |
| 107 | - (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A) t x)) (t,x) := | |
| 108 | - hasFDerivAt_fst.prodMk (forward_joint_hasFDerivAt T hT A t ht x) | |
| 109 | - have he : (timeLiftEquiv (jacobianEquiv T hT A ⟨t,ht.1.le,ht.2.le⟩ x) | |
| 110 | - (velocityFamily T hT A x ⟨t,ht.1.le,ht.2.le⟩)).toContinuousLinearMap = | |
| 111 | - (ContinuousLinearMap.fst ℝ ℝ E).prod | |
| 112 | - (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A) t x) := by | |
| 113 | - apply ContinuousLinearMap.ext | |
| 114 | - intro p | |
| 115 | - ext | |
| 116 | - · rfl | |
| 117 | - · change p.1 • velocityFamily T hT A x ⟨t,ht.1.le,ht.2.le⟩ + | |
| 118 | - (jacobianEvolution T hT A x).forward ⟨t,ht.1.le,ht.2.le⟩ p.2 = | |
| 119 | - (jointDerivative T hT (pathFamily T hT A) (velocityFamily T hT A) t x) p | |
| 120 | - simp only [jointDerivative, timeSlice, extendPath, | |
| 121 | - projIcc_of_mem hT ⟨ht.1.le,ht.2.le⟩, ContinuousLinearMap.coprod_apply, | |
| 122 | - ContinuousLinearMap.toSpanSingleton_apply] | |
| 123 | - rw [spatialDerivative_apply T _ (pathFamily_contDiff T hT A)] | |
| 124 | - change _ = p.1 • velocityFamily T hT A x ⟨t,ht.1.le,ht.2.le⟩ + | |
| 125 | - fderiv ℝ (fun y => (flowData T hT A).forward t y) x p.2 | |
| 126 | - rw [forward_fderiv T hT A ⟨t,ht.1.le,ht.2.le⟩ x] | |
| 127 | - rw [he] | |
| 128 | - exact h | |
| 129 | - | |
| 130 | -theorem liftBackward_contDiffAt_two | |
| 131 | - (htime : SmoothTimeField.TimeDerivative T hT A A₁) | |
| 132 | - (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 133 | - ContDiffAt ℝ 2 (liftBackward T hT A) (t,x) := by | |
| 134 | - let y := (flowData T hT A).backward t x | |
| 135 | - have hg : ContDiffAt ℝ 2 (liftForward T hT A) (t,y) := | |
| 136 | - contDiffAt_fst.prodMk (forward_joint_contDiffAt_two T hT A A₁ htime t ht y) | |
| 137 | - apply EulerSmoothImplicitLift.contDiffAt_of_identity | |
| 138 | - (liftBackward T hT A) (liftForward T hT A) id (t,x) 2 (by norm_num) | |
| 139 | - ((continuous_fst.prodMk (flowData T hT A).backward_joint_continuous).continuousAt) | |
| 140 | - hg contDiff_id.contDiffAt | |
| 141 | - (timeLiftEquiv (jacobianEquiv T hT A ⟨t,ht.1.le,ht.2.le⟩ y) | |
| 142 | - (velocityFamily T hT A y ⟨t,ht.1.le,ht.2.le⟩)) | |
| 143 | - · exact liftForward_hasFDerivAt T hT A t ht y | |
| 144 | - · intro p | |
| 145 | - ext | |
| 146 | - · rfl | |
| 147 | - · exact (flowData T hT A).forward_backward p.1 p.2 | |
| 148 | - | |
| 149 | -theorem backward_joint_contDiffAt_two | |
| 150 | - (htime : SmoothTimeField.TimeDerivative T hT A A₁) | |
| 151 | - (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 152 | - ContDiffAt ℝ 2 (Function.uncurry (flowData T hT A).backward) (t,x) := | |
| 153 | - (liftBackward_contDiffAt_two T hT A A₁ htime t ht x).snd | |
| 154 | 41 | |
| 155 | 42 | end EulerSmoothBanachFlow |
+0 −7 Euler/SmoothFlowParity.lean View file
| @@ -23,9 +23,6 @@ theorem flow_odd (ho : ∀ t, Function.Odd (V.velocity t)) (s t : ℝ) : Functio | ||
| 23 | 23 | theorem forward_odd (ho : ∀ t, Function.Odd (V.velocity t)) (t : ℝ) : |
| 24 | 24 | Function.Odd (V.forward t) := V.flow_odd ho 0 t |
| 25 | 25 | |
| 26 | -theorem backward_odd (ho : ∀ t, Function.Odd (V.velocity t)) (t : ℝ) : | |
| 27 | - Function.Odd (V.backward t) := V.flow_odd ho t 0 | |
| 28 | - | |
| 29 | 26 | end EulerBoundedLipschitzFlow.Data |
| 30 | 27 | |
| 31 | 28 | namespace EulerSmoothBanachFlow |
| @@ -39,8 +36,4 @@ theorem forward_odd (ho : ∀ t, Function.Odd (A.field t : E → E)) (t : ℝ) : | ||
| 39 | 36 | Function.Odd ((flowData T hT A).forward t) := |
| 40 | 37 | (flowData T hT A).forward_odd (fun r => ho (projIcc 0 T hT r)) t |
| 41 | 38 | |
| 42 | -theorem backward_odd (ho : ∀ t, Function.Odd (A.field t : E → E)) (t : ℝ) : | |
| 43 | - Function.Odd ((flowData T hT A).backward t) := | |
| 44 | - (flowData T hT A).backward_odd (fun r => ho (projIcc 0 T hT r)) t | |
| 45 | - | |
| 46 | 39 | end EulerSmoothBanachFlow |
+0 −8 Euler/SmoothFlowVolume.lean View file
| @@ -42,12 +42,4 @@ theorem forward_measurePreserving (t : Icc (0 : ℝ) T) : | ||
| 42 | 42 | · exact ((flowData T hT A).flowHomeomorph 0 t).bijective |
| 43 | 43 | · exact jacobianEvolution_det_one T hT A hdiv t |
| 44 | 44 | |
| 45 | -include hdiv in | |
| 46 | -theorem backward_measurePreserving (t : Icc (0 : ℝ) T) : | |
| 47 | - MeasurePreserving ((flowData T hT A).backward t) μ μ := by | |
| 48 | - let e := (flowData T hT A).flowHomeomorph 0 t | |
| 49 | - have hm : MeasurePreserving e.toMeasurableEquiv μ μ := | |
| 50 | - forward_measurePreserving T hT A hdiv μ t | |
| 51 | - exact MeasurePreserving.symm e.toMeasurableEquiv hm | |
| 52 | - | |
| 53 | 45 | end EulerSmoothBanachFlow |
+0 −29 Euler/SmoothGraphFlow.lean View file
| @@ -64,15 +64,6 @@ theorem graph_displacement_eq (t : Icc (0 : ℝ) T) (x : Vector3) : | ||
| 64 | 64 | rw [graph_flow_cover k m T hT A hgraph] |
| 65 | 65 | rfl |
| 66 | 66 | |
| 67 | -include hgraph in | |
| 68 | -theorem graph_forward_contDiff (t : Icc (0 : ℝ) T) : | |
| 69 | - ContDiff ℝ ∞ (graphFlow k m (flowData T hT A) 0 t) := by | |
| 70 | - have he : graphFlow k m (flowData T hT A) 0 t = | |
| 71 | - (flowData T hT (graphCoefficient k m T A)).forward t := | |
| 72 | - funext (graph_flow_eq k m T hT A hgraph 0 t) | |
| 73 | - rw [he] | |
| 74 | - exact forward_contDiff T hT (graphCoefficient k m T A) t | |
| 75 | - | |
| 76 | 67 | variable (hdiv : ∀ t z, |
| 77 | 68 | LinearMap.trace ℝ LiftTangent (fderiv ℝ (A.field t : LiftTangent → LiftTangent) z).toLinearMap=0) |
| 78 | 69 | |
| @@ -83,24 +74,4 @@ theorem graphCoefficient_trace_zero (t : Icc (0 : ℝ) T) (x : Vector3) : | ||
| 83 | 74 | graphVelocity_trace_zero k m (A.field t) ((A.smooth t).differentiable (by simp)) |
| 84 | 75 | (hgraph t) (hdiv t) x |
| 85 | 76 | |
| 86 | -include hgraph hdiv in | |
| 87 | -theorem graph_forward_measurePreserving (t : Icc (0 : ℝ) T) : | |
| 88 | - MeasurePreserving (graphFlow k m (flowData T hT A) 0 t) volume volume := by | |
| 89 | - have he : graphFlow k m (flowData T hT A) 0 t = | |
| 90 | - (flowData T hT (graphCoefficient k m T A)).forward t := | |
| 91 | - funext (graph_flow_eq k m T hT A hgraph 0 t) | |
| 92 | - rw [he] | |
| 93 | - exact forward_measurePreserving T hT (graphCoefficient k m T A) | |
| 94 | - (graphCoefficient_trace_zero k m T A hgraph hdiv) volume t | |
| 95 | - | |
| 96 | -include hgraph hdiv in | |
| 97 | -theorem graph_backward_measurePreserving (t : Icc (0 : ℝ) T) : | |
| 98 | - MeasurePreserving (graphFlow k m (flowData T hT A) t 0) volume volume := by | |
| 99 | - have he : graphFlow k m (flowData T hT A) t 0 = | |
| 100 | - (flowData T hT (graphCoefficient k m T A)).backward t := | |
| 101 | - funext (graph_flow_eq k m T hT A hgraph t 0) | |
| 102 | - rw [he] | |
| 103 | - exact backward_measurePreserving T hT (graphCoefficient k m T A) | |
| 104 | - (graphCoefficient_trace_zero k m T A hgraph hdiv) volume t | |
| 105 | - | |
| 106 | 77 | end EulerGraphInvariantFlow |
+0 −10 Euler/SmoothL2Series.lean View file
| @@ -46,12 +46,6 @@ theorem partialSum_field (A : ℕ → SmoothL2Field Space) (n : ℕ) (x : Space) | ||
| 46 | 46 | | zero => simp only [partialSum,zeroField,sum_range_zero]; rfl |
| 47 | 47 | | succ n ih => simp only [partialSum,addField_field,ih,sum_range_succ] |
| 48 | 48 | |
| 49 | -theorem partialSum_jet (A : ℕ → SmoothL2Field Space) (n q : ℕ) : | |
| 50 | - (partialSum A n).jetLp q=∑ i ∈ range n, (A i).jetLp q := by | |
| 51 | - induction n with | |
| 52 | - | zero => simp only [partialSum,zeroField_jet,sum_range_zero] | |
| 53 | - | succ n ih => simp only [partialSum,jetLp_addField,ih,sum_range_succ] | |
| 54 | - | |
| 55 | 49 | theorem partialSum_value (A : ℕ → SmoothL2Field Space) (n : ℕ) : |
| 56 | 50 | (partialSum A n).toLp=∑ i ∈ range n, (A i).toLp := by |
| 57 | 51 | induction n with |
| @@ -104,10 +98,6 @@ theorem sumField_jet_tendsto (q : ℕ) : | ||
| 104 | 98 | Tendsto (fun n => (partialSum A n).jetLp q) atTop (𝓝 ((sumField A hA).jetLp q)) := |
| 105 | 99 | (limitData A hA).jet_convergence q ⟨0,le_rfl,le_rfl⟩ |
| 106 | 100 | |
| 107 | -theorem sumField_value_tendsto : | |
| 108 | - Tendsto (fun n => (partialSum A n).toLp) atTop (𝓝 ((sumField A hA).toLp)) := | |
| 109 | - (limitData A hA).toLp_convergence ⟨0,le_rfl,le_rfl⟩ | |
| 110 | - | |
| 111 | 101 | theorem sumField_Hm_tendsto (q : ℕ) : |
| 112 | 102 | Tendsto (fun n => ∑ j ∈ range (q+1), |
| 113 | 103 | ‖(partialSum A n).jetLp j-(sumField A hA).jetLp j‖) atTop (𝓝 0) := by |
+0 −89 Euler/SmoothPathJoint.lean View file
| @@ -18,97 +18,8 @@ variable {E V : Type*} | ||
| 18 | 18 | [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 19 | 19 | (T : ℝ) (hT : 0 ≤ T) (f q : E → C(Icc (0 : ℝ) T,V)) |
| 20 | 20 | |
| 21 | -def timeSlice (t : ℝ) (x : E) : V := extendPath T hT (f x) t | |
| 22 | - | |
| 23 | -omit [NormedSpace ℝ E] [FiniteDimensional ℝ E] [NormedSpace ℝ V] [FiniteDimensional ℝ V] in | |
| 24 | -theorem timeSlice_joint_continuous (hf : Continuous f) : | |
| 25 | - Continuous (Function.uncurry (timeSlice T hT f)) := by | |
| 26 | - unfold timeSlice extendPath | |
| 27 | - fun_prop | |
| 28 | - | |
| 29 | -def spatialDerivative (x : E) : C(Icc (0 : ℝ) T,E →L[ℝ] V) := | |
| 30 | - ((continuousMultilinearCurryFin1 ℝ E V).toContinuousLinearEquiv.toContinuousLinearMap.compLeftContinuous | |
| 31 | - ℝ (Icc (0 : ℝ) T)) (jetFamily T f 1 x) | |
| 32 | - | |
| 33 | -theorem spatialDerivative_contDiff (hf : ContDiff ℝ ∞ f) : | |
| 34 | - ContDiff ℝ ∞ (spatialDerivative T f) := by | |
| 35 | - exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) | |
| 36 | - (E := C(Icc (0 : ℝ) T,E [×1]→L[ℝ] V)) (F := C(Icc (0 : ℝ) T,E →L[ℝ] V)) | |
| 37 | - ((continuousMultilinearCurryFin1 ℝ E V).toContinuousLinearEquiv.toContinuousLinearMap.compLeftContinuous | |
| 38 | - ℝ (Icc (0 : ℝ) T))).comp (jetFamily_contDiff T f hf 1) | |
| 39 | - | |
| 40 | -theorem spatialDerivative_apply (hf : ContDiff ℝ ∞ f) (x : E) (t : Icc (0 : ℝ) T) : | |
| 41 | - spatialDerivative T f x t = fderiv ℝ (fun y => f y t) x := by | |
| 42 | - change continuousMultilinearCurryFin1 ℝ E V (jetFamily T f 1 x t) = _ | |
| 43 | - rw [jetFamily_apply T f hf] | |
| 44 | - apply ContinuousLinearMap.ext | |
| 45 | - intro v | |
| 46 | - rw [continuousMultilinearCurryFin1_apply, iteratedFDeriv_one_apply] | |
| 47 | - simp | |
| 48 | - | |
| 49 | -theorem timeSlice_hasFDerivAt (hf : ContDiff ℝ ∞ f) (t : ℝ) (x : E) : | |
| 50 | - HasFDerivAt (timeSlice T hT f t) (spatialDerivative T f x (projIcc 0 T hT t)) x := by | |
| 51 | - rw [spatialDerivative_apply T f hf] | |
| 52 | - exact (((ContinuousMap.evalCLM ℝ (projIcc 0 T hT t)).contDiff.comp hf).differentiable | |
| 53 | - (by simp) x).hasFDerivAt | |
| 54 | - | |
| 55 | -def jointDerivative (t : ℝ) (x : E) : (ℝ × E) →L[ℝ] V := | |
| 56 | - (ContinuousLinearMap.toSpanSingleton ℝ (timeSlice T hT q t x)).coprod | |
| 57 | - (timeSlice T hT (spatialDerivative T f) t x) | |
| 58 | - | |
| 59 | -theorem jointDerivative_continuous (hf : ContDiff ℝ ∞ f) (hq : Continuous q) : | |
| 60 | - Continuous (Function.uncurry (jointDerivative T hT f q)) := by | |
| 61 | - exact ((ContinuousLinearMap.toSpanSingletonLIE ℝ V).continuous.comp | |
| 62 | - (timeSlice_joint_continuous T hT q hq)).continuousLinearMapCoprod | |
| 63 | - (timeSlice_joint_continuous T hT (spatialDerivative T f) | |
| 64 | - (spatialDerivative_contDiff T f hf).continuous) | |
| 65 | - | |
| 66 | 21 | variable (hf : ContDiff ℝ ∞ f) (hq : ContDiff ℝ ∞ q) |
| 67 | 22 | (hd : ∀ x (t : Icc (0 : ℝ) T), |
| 68 | 23 | HasDerivWithinAt (extendPath T hT (f x)) (q x t) (Icc (0 : ℝ) T) t) |
| 69 | 24 | |
| 70 | -include hf hq hd in | |
| 71 | -theorem joint_hasFDerivAt (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 72 | - HasFDerivAt (Function.uncurry (timeSlice T hT f)) (jointDerivative T hT f q t x) (t,x) := by | |
| 73 | - have hloc : ∀ᶠ p : ℝ × E in 𝓝 (t,x), p.1 ∈ Ioo 0 T := | |
| 74 | - (continuous_fst.tendsto (t,x)).eventually (Ioo_mem_nhds ht.1 ht.2) | |
| 75 | - apply HasStrictFDerivAt.hasFDerivAt | |
| 76 | - apply hasStrictFDerivAt_uncurry_coprod | |
| 77 | - (f := timeSlice T hT f) (u := (t,x)) | |
| 78 | - (f₁ := fun s y => ContinuousLinearMap.toSpanSingleton ℝ (timeSlice T hT q s y)) | |
| 79 | - (f₂ := timeSlice T hT (spatialDerivative T f)) | |
| 80 | - · filter_upwards [hloc] with p hp | |
| 81 | - change HasFDerivAt (fun s => timeSlice T hT f s p.2) | |
| 82 | - (ContinuousLinearMap.toSpanSingleton ℝ (timeSlice T hT q p.1 p.2)) p.1 | |
| 83 | - have hh := (hd p.2 ⟨p.1,hp.1.le,hp.2.le⟩).hasDerivAt (Icc_mem_nhds hp.1 hp.2) | |
| 84 | - have he : timeSlice T hT q p.1 p.2 = q p.2 ⟨p.1,hp.1.le,hp.2.le⟩ := by | |
| 85 | - simp only [timeSlice, extendPath, projIcc_of_mem hT ⟨hp.1.le,hp.2.le⟩] | |
| 86 | - rw [he] | |
| 87 | - exact hh.hasFDerivAt | |
| 88 | - · apply Eventually.of_forall | |
| 89 | - intro p | |
| 90 | - exact timeSlice_hasFDerivAt T hT f hf p.1 p.2 | |
| 91 | - · exact ((ContinuousLinearMap.toSpanSingletonLIE ℝ V).continuous.comp | |
| 92 | - (timeSlice_joint_continuous T hT q hq.continuous)).continuousAt | |
| 93 | - · exact (timeSlice_joint_continuous T hT (spatialDerivative T f) | |
| 94 | - (spatialDerivative_contDiff T f hf).continuous).continuousAt | |
| 95 | - | |
| 96 | -include hf hq hd in | |
| 97 | -theorem joint_contDiffAt_one (t : ℝ) (ht : t ∈ Ioo 0 T) (x : E) : | |
| 98 | - ContDiffAt ℝ 1 (Function.uncurry (timeSlice T hT f)) (t,x) := by | |
| 99 | - rw [contDiffAt_one_iff] | |
| 100 | - refine ⟨Function.uncurry (jointDerivative T hT f q), {p : ℝ × E | p.1 ∈ Ioo 0 T}, ?_, | |
| 101 | - (jointDerivative_continuous T hT f q hf hq.continuous).continuousOn, ?_⟩ | |
| 102 | - · exact (continuous_fst.tendsto (t,x)).eventually (Ioo_mem_nhds ht.1 ht.2) | |
| 103 | - · intro p hp | |
| 104 | - exact joint_hasFDerivAt T hT f q hf hq hd p.1 hp p.2 | |
| 105 | - | |
| 106 | -include hf hq hd in | |
| 107 | -theorem spatialDerivative_time (x : E) (t : Icc (0 : ℝ) T) : | |
| 108 | - HasDerivWithinAt (extendPath T hT (spatialDerivative T f x)) | |
| 109 | - (spatialDerivative T q x t) (Icc (0 : ℝ) T) t := by | |
| 110 | - have h := (continuousMultilinearCurryFin1 ℝ E V).toContinuousLinearEquiv.toContinuousLinearMap.hasFDerivAt.comp_hasDerivWithinAt | |
| 111 | - (t : ℝ) (jetFamily_hasDerivWithinAt T hT f q hf hq hd 1 x t) | |
| 112 | - exact h | |
| 113 | - | |
| 114 | 25 | end EulerSmoothPathJoint |
+0 −4 Euler/SmoothPathSuperposition.lean View file
| @@ -103,8 +103,4 @@ private theorem superposition_contDiff_nat (n : ℕ) : | ||
| 103 | 103 | exact contDiff_multiplier A.derivative.superposition |
| 104 | 104 | (ih (Space →L[ℝ] V) A.derivative) |
| 105 | 105 | |
| 106 | -theorem superposition_contDiff (A : SmoothCoefficientPath K V) : | |
| 107 | - ContDiff ℝ ∞ A.superposition := | |
| 108 | - contDiff_infty.mpr (fun n => superposition_contDiff_nat n V A) | |
| 109 | - | |
| 110 | 106 | end EulerMeanCoefficients.SmoothCoefficientPath |
+0 −8 Euler/SmoothPhysicalGraphFlow.lean View file
| @@ -69,14 +69,6 @@ theorem physicalCoefficient_timeDerivative (ell : ℝ) | ||
| 69 | 69 | scaledCoefficient_timeDerivative T hT (graphCoefficient k m T A) ell |
| 70 | 70 | (graphCoefficient k m T A₁) (graphCoefficient_timeDerivative k m T hT A A₁ htime) |
| 71 | 71 | |
| 72 | -include hgraph in | |
| 73 | -theorem physical_flow_eq (ell : ℝ) (hell : ell ≠ 0) (s t : ℝ) (x : Vector3) : | |
| 74 | - (flowData T hT (physicalCoefficient k m T A ell)).flow s t x = | |
| 75 | - ell • ((flowData T hT A).flow s t (graphLinear k m (ell⁻¹ • x))).1 := by | |
| 76 | - rw [physicalCoefficient,scaled_flow_eq T hT (graphCoefficient k m T A) ell hell] | |
| 77 | - rw [← graph_flow_eq k m T hT A hgraph] | |
| 78 | - rfl | |
| 79 | - | |
| 80 | 72 | include hgraph in |
| 81 | 73 | theorem physical_displacement_eq (ell : ℝ) (hell : ell ≠ 0) |
| 82 | 74 | (t : Icc (0 : ℝ) T) (x : Vector3) : |
+0 −20 Euler/SmoothTimeFieldDerivativeBounds.lean View file
| @@ -22,24 +22,4 @@ private local instance (n : ℕ) : NormedSpace ℝ (E →ᵇ (E [×n]→L[ℝ] V | ||
| 22 | 22 | private local instance (n : ℕ) : NormedAddCommGroup (E →ᵇ (E [×n]→L[ℝ] (E →L[ℝ] V))) := inferInstance |
| 23 | 23 | private local instance (n : ℕ) : NormedSpace ℝ (E →ᵇ (E [×n]→L[ℝ] (E →L[ℝ] V))) := inferInstance |
| 24 | 24 | |
| 25 | -theorem derivative_jet_norm_le (A : SmoothTimeField K E V) (n : ℕ) : | |
| 26 | - ‖A.derivative.jet n‖ ≤ ‖A.jet (n+1)‖ := by | |
| 27 | - apply (ContinuousMap.norm_le _ (norm_nonneg _)).2 | |
| 28 | - intro t | |
| 29 | - apply (BoundedContinuousFunction.norm_le (norm_nonneg _)).2 | |
| 30 | - intro x | |
| 31 | - change ‖continuousMultilinearCurryRightEquiv' ℝ n E V (A.jet (n+1) t x)‖ ≤ _ | |
| 32 | - rw [LinearIsometryEquiv.norm_map] | |
| 33 | - exact ((A.jet (n+1) t).norm_coe_le_norm x).trans ((A.jet (n+1)).norm_coe_le_norm t) | |
| 34 | - | |
| 35 | -theorem derivative_field_norm_le (A : SmoothTimeField K E V) : | |
| 36 | - ‖A.derivative.field‖ ≤ ‖A.jet 1‖ := by | |
| 37 | - apply (ContinuousMap.norm_le _ (norm_nonneg _)).2 | |
| 38 | - intro t | |
| 39 | - apply (BoundedContinuousFunction.norm_le (norm_nonneg _)).2 | |
| 40 | - intro x | |
| 41 | - change ‖continuousMultilinearCurryFin1 ℝ E V (A.jet 1 t x)‖ ≤ _ | |
| 42 | - rw [LinearIsometryEquiv.norm_map] | |
| 43 | - exact ((A.jet 1 t).norm_coe_le_norm x).trans ((A.jet 1).norm_coe_le_norm t) | |
| 44 | - | |
| 45 | 25 | end SmoothTimeField |
+0 −19 Euler/SmoothTimeFieldFromPaths.lean View file
| @@ -63,23 +63,4 @@ def ofPathFamily : SmoothTimeField (Icc (0 : ℝ) T) E V where | ||
| 63 | 63 | iteratedFDeriv ℝ n (fun y => f y t) x := |
| 64 | 64 | jetFamily_apply T f hf n x t |
| 65 | 65 | |
| 66 | -theorem ofPathFamily_jet_norm (n : ℕ) : | |
| 67 | - ‖(ofPathFamily T hT f q hf hq hd C D hC hD).jet n‖ ≤ C n := by | |
| 68 | - have hnonneg : 0 ≤ C n := (norm_nonneg _).trans (hC n ⟨0,le_rfl,hT⟩ 0) | |
| 69 | - apply (ContinuousMap.norm_le _ hnonneg).2 | |
| 70 | - intro t | |
| 71 | - apply (BoundedContinuousFunction.norm_le hnonneg).2 | |
| 72 | - intro x | |
| 73 | - rw [ofPathFamily_jet_apply] | |
| 74 | - exact hC n t x | |
| 75 | - | |
| 76 | -theorem ofPathFamily_field_norm : | |
| 77 | - ‖(ofPathFamily T hT f q hf hq hd C D hC hD).field‖ ≤ C 0 := by | |
| 78 | - have hnonneg : 0 ≤ C 0 := (norm_nonneg _).trans (hC 0 ⟨0,le_rfl,hT⟩ 0) | |
| 79 | - apply (ContinuousMap.norm_le _ hnonneg).2 | |
| 80 | - intro t | |
| 81 | - apply (BoundedContinuousFunction.norm_le hnonneg).2 | |
| 82 | - intro x | |
| 83 | - exact value_bound T f C hC t x | |
| 84 | - | |
| 85 | 66 | end SmoothTimeField |
+0 −10 Euler/SmoothTimeFieldTimeJets.lean View file
| @@ -66,14 +66,4 @@ theorem TimeDerivative.derivative (htime : TimeDerivative T hT A A₁) : | ||
| 66 | 66 | (TimeDerivative.jet_pointwise T hT A A₁ htime 1 x t) |
| 67 | 67 | exact h |
| 68 | 68 | |
| 69 | -theorem TimeDerivative.jet_uniform (htime : TimeDerivative T hT A A₁) | |
| 70 | - (n : ℕ) (t : Icc (0 : ℝ) T) : | |
| 71 | - HasDerivWithinAt (extendPath T hT (A.jet n)) | |
| 72 | - (A₁.jet n t) (Icc (0 : ℝ) T) t := by | |
| 73 | - have h := EulerBoundedFieldTimeDerivative.hasDerivWithinAt T hT (A.jet n) (A₁.jet n) | |
| 74 | - (fun s hs x => by | |
| 75 | - simpa only [extendPath, projIcc_of_mem hT hs] using | |
| 76 | - TimeDerivative.jet_pointwise T hT A A₁ htime n x ⟨s,hs⟩) t t.property | |
| 77 | - simpa only [extendPath, projIcc_of_mem hT t.property] using h | |
| 78 | - | |
| 79 | 69 | end SmoothTimeField |
+0 −9 Euler/SobolevCoefficientPressure.lean View file
| @@ -121,15 +121,6 @@ theorem pressureSobolevOperator_value {q : ℕ} {A : SmoothCoefficient period} | ||
| 121 | 121 | jetLift_value period (pressureL2Operator period A κ m c hc hpos) |
| 122 | 122 | (fun J => J.solvePressure K κ m c hc hpos) u |
| 123 | 123 | |
| 124 | -/-- The explicit finite-order pressure bound on the complete Sobolev norm. -/ | |
| 125 | -theorem pressureSobolevOperator_bound {q : ℕ} {A : SmoothCoefficient period} | |
| 126 | - (K : CoefficientJet period standardDirection q A) (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 127 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) (u : SobolevSpace period q) : | |
| 128 | - ‖pressureSobolevOperator period K κ m c hc hpos u‖ ≤ | |
| 129 | - (K.pressureConstant c * (Fintype.card (SobolevWord q) : ℝ)) * ‖u‖ := | |
| 130 | - jetLift_bound period _ _ _ (K.pressureConstant_nonneg c hc) | |
| 131 | - (fun J => J.solvePressure_norm_le K κ m c hc hpos) u | |
| 132 | - | |
| 133 | 124 | /-- Subtracting the actual coefficient-weighted pressure defines the projected Euler forcing. -/ |
| 134 | 125 | def projectedSourceOperator {q : ℕ} {A : SmoothCoefficient period} |
| 135 | 126 | (K : CoefficientJet period standardDirection q A) (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
+0 −59 Euler/SobolevDriftNorm.lean View file
| @@ -235,63 +235,4 @@ theorem weightedDriftNorm_eq_classical {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) ( | ||
| 235 | 235 | intro n hn |
| 236 | 236 | rw [driftBlockNorm_eq_classical period (by have := Finset.mem_range.mp hn; omega) L u f hu hf] |
| 237 | 237 | |
| 238 | -/-- Restriction of the finite Sobolev ambient space preserves each retained drift coordinate. -/ | |
| 239 | -theorem driftLevelNorm_restrict {s t n : ℕ} (h : t ≤ s) (hn : n ≤ t) | |
| 240 | - (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period s) : | |
| 241 | - driftLevelNorm period n L (restrictOperator period h u) = driftLevelNorm period n L u := by | |
| 242 | - apply Finset.sum_congr rfl | |
| 243 | - intro w _ | |
| 244 | - rw [toJet_word period (restrictOperator period h u) hn, toJet_word period u (hn.trans h)] | |
| 245 | - rfl | |
| 246 | - | |
| 247 | -theorem weightedDriftNorm_restrict {s t : ℕ} (h : t ≤ s) (q N : ℕ) (hN : N+q ≤ t) | |
| 248 | - (ρ : ℝ) (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period s) : | |
| 249 | - weightedDriftNorm period q N ρ L (restrictOperator period h u) = weightedDriftNorm period q N ρ L u := by | |
| 250 | - apply Finset.sum_congr rfl | |
| 251 | - intro n hn | |
| 252 | - congr 1 | |
| 253 | - apply Finset.sum_congr rfl | |
| 254 | - intro r hr | |
| 255 | - exact driftLevelNorm_restrict period h | |
| 256 | - (by have := Finset.mem_range.mp hn; have := Finset.mem_range.mp hr; omega) L u | |
| 257 | - | |
| 258 | -theorem weightedDriftNorm_truncate {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) | |
| 259 | - (ρ : ℝ) (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period (s+1)) : | |
| 260 | - weightedDriftNorm period q N ρ L (truncateOperator period s u) = weightedDriftNorm period q N ρ L u := by | |
| 261 | - have he : truncateOperator period s u = restrictOperator period (Nat.le_succ s) u := by | |
| 262 | - apply value_injective period | |
| 263 | - rfl | |
| 264 | - rw [he] | |
| 265 | - exact weightedDriftNorm_restrict period (Nat.le_succ s) q N hN ρ L u | |
| 266 | - | |
| 267 | -/-- Actual smooth approximations converge in the drift norm at every retained weighted cutoff. -/ | |
| 268 | -theorem weightedDriftNorm_smoothApprox_tendsto {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) | |
| 269 | - (ρ : ℝ) (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period s) : | |
| 270 | - Tendsto (fun n => weightedDriftNorm period q N ρ L | |
| 271 | - (restrictOperator period (by omega : s ≤ s+3) (smoothApprox period s n u))) atTop | |
| 272 | - (𝓝 (weightedDriftNorm period q N ρ L u)) := | |
| 273 | - ((continuous_weightedDriftNorm period q N hN ρ L).tendsto u).comp (smoothApprox_tendsto period u) | |
| 274 | - | |
| 275 | -/-- A zero field has zero drift at every valid weighted cutoff. -/ | |
| 276 | -theorem weightedDriftNorm_zero {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) | |
| 277 | - (L : Vector3 →L[ℝ] Domain 4) : weightedDriftNorm period q N ρ L (0 : SobolevSpace period s) = 0 := by | |
| 278 | - apply Finset.sum_eq_zero | |
| 279 | - intro n hn | |
| 280 | - apply mul_eq_zero_of_right | |
| 281 | - apply Finset.sum_eq_zero | |
| 282 | - intro r hr | |
| 283 | - apply Finset.sum_eq_zero | |
| 284 | - intro w _ | |
| 285 | - rw [driftWordOperator_eq period | |
| 286 | - (by have := Finset.mem_range.mp hn; have := Finset.mem_range.mp hr; omega : n+r ≤ s), map_zero, norm_zero] | |
| 287 | - | |
| 288 | -/-- Smoothing errors themselves tend to zero in the genuine drift norm. -/ | |
| 289 | -theorem weightedDriftNorm_smoothApprox_sub_tendsto {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) | |
| 290 | - (ρ : ℝ) (L : Vector3 →L[ℝ] Domain 4) (u : SobolevSpace period s) : | |
| 291 | - Tendsto (fun n => weightedDriftNorm period q N ρ L | |
| 292 | - (restrictOperator period (by omega : s ≤ s+3) (smoothApprox period s n u) - u)) atTop (𝓝 0) := by | |
| 293 | - have h := ((continuous_weightedDriftNorm period q N hN ρ L).tendsto (0 : SobolevSpace period s)).comp | |
| 294 | - (by simpa only [sub_self] using (smoothApprox_tendsto period u).sub (tendsto_const_nhds (x := u))) | |
| 295 | - simpa only [Function.comp_def, weightedDriftNorm_zero period q N hN ρ L] using h | |
| 296 | - | |
| 297 | 238 | end EulerSobolevDriftNorm |
+0 −52 Euler/SobolevEnergyPaths.lean View file
| @@ -16,21 +16,6 @@ open scoped Topology | ||
| 16 | 16 | |
| 17 | 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | 18 | |
| 19 | -/-- Underlying L² values of a finite actual Sobolev family form a bounded linear map. -/ | |
| 20 | -def familyValueOperator (q : ℕ) {I : Type*} : | |
| 21 | - (I → SobolevSpace period q) →L[ℝ] (I → LiftL2 period) := | |
| 22 | - ContinuousLinearMap.pi (fun i => (valueOperator period q).comp (ContinuousLinearMap.proj i)) | |
| 23 | - | |
| 24 | -/-- The genuine L² field-family path underlying an actual Sobolev family path. -/ | |
| 25 | -def familyValuePath (q : ℕ) {I : Type*} (T : ℝ) | |
| 26 | - (u : C(Icc (0 : ℝ) T, I → SobolevSpace period q)) : C(Icc (0 : ℝ) T, I → LiftL2 period) := | |
| 27 | - (familyValueOperator period q).compLeftContinuous ℝ (Icc (0 : ℝ) T) u | |
| 28 | - | |
| 29 | -/-- Family-path values are the literal underlying L² values of the Sobolev fields. -/ | |
| 30 | -theorem familyValuePath_apply (q : ℕ) {I : Type*} (T : ℝ) | |
| 31 | - (u : C(Icc (0 : ℝ) T, I → SobolevSpace period q)) (t : Icc (0 : ℝ) T) (i : I) : | |
| 32 | - familyValuePath period q T u t i = value period (u t i) := rfl | |
| 33 | - | |
| 34 | 19 | omit [Fact (0 < period)] in |
| 35 | 20 | /-- The actual factorial Gevrey weight along a continuous radius path. -/ |
| 36 | 21 | def gevreyWeightPath (T : ℝ) (ρ : C(Icc (0 : ℝ) T, ℝ)) (n : ℕ) : C(Icc (0 : ℝ) T, ℝ) := |
| @@ -41,41 +26,4 @@ omit [Fact (0 < period)] in | ||
| 41 | 26 | def gevreyLossWeightPath (T : ℝ) (ρ : C(Icc (0 : ℝ) T, ℝ)) (n : ℕ) : C(Icc (0 : ℝ) T, ℝ) := |
| 42 | 27 | (n : ℝ) • gevreyWeightPath T ρ n |
| 43 | 28 | |
| 44 | -/-- A continuous-path weighted forcing integral is exactly its genuine Bochner forcing pairing. -/ | |
| 45 | -theorem forcing_integral_eq {A I : Type*} [Fintype A] [Fintype I] | |
| 46 | - (T : ℝ) (hT : 0 ≤ T) (c : C(Icc (0 : ℝ) T, ℝ)) | |
| 47 | - (w : A → C(Icc (0 : ℝ) T, ℝ)) (F : A → C(Icc (0 : ℝ) T, I → LiftL2 period)) : | |
| 48 | - (∫ t, pathLp T hT c t * weightedForcingTime T hT w (fun i => pathLp T hT (F i)) t ∂timeMeasure T) = | |
| 49 | - ∫ t in (0 : ℝ)..T, extendPath T hT c t * extendPath T hT (weightedForcingPath T w F) t := by | |
| 50 | - rw [weightedForcingTime_pathLp, ← inner_eq_integral, path_inner_eq_integral] | |
| 51 | - | |
| 52 | -/-- Finite actual weighted metric energy passes through uniform field limits and strong L² forcing limits, preserving the signed radius-loss integral. -/ | |
| 53 | -theorem weighted_energy_limit {A I : Type*} [Fintype A] [Fintype I] | |
| 54 | - (T : ℝ) (hT : 0 ≤ T) (w loss : A → C(Icc (0 : ℝ) T, ℝ)) | |
| 55 | - (K : C(Icc (0 : ℝ) T, LiftL2 period →L[ℝ] LiftL2 period)) | |
| 56 | - (a b c : C(Icc (0 : ℝ) T, ℝ)) | |
| 57 | - (E : ℕ → A → C(Icc (0 : ℝ) T, I → LiftL2 period)) | |
| 58 | - (F : ℕ → A → C(Icc (0 : ℝ) T, I → LiftL2 period)) | |
| 59 | - (e : A → C(Icc (0 : ℝ) T, I → LiftL2 period)) (f : A → TimeLp T (I → LiftL2 period)) | |
| 60 | - (hE : ∀ i, Filter.Tendsto (fun n => E n i) Filter.atTop (𝓝 (e i))) | |
| 61 | - (hF : ∀ i, Filter.Tendsto (fun n => pathLp T hT (F n i)) Filter.atTop (𝓝 (f i))) | |
| 62 | - (henergy : ∀ n, weightedMetricPath T w K (E n) ⟨T, hT, le_rfl⟩ - | |
| 63 | - weightedMetricPath T w K (E n) ⟨0, le_rfl, hT⟩ ≤ | |
| 64 | - (∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT (weightedMetricPath T w K (E n)) t) + | |
| 65 | - (∫ t in (0 : ℝ)..T, extendPath T hT b t * extendPath T hT (weightedMetricPath T loss K (E n)) t) + | |
| 66 | - ∫ t in (0 : ℝ)..T, extendPath T hT c t * extendPath T hT (weightedForcingPath T w (F n)) t) : | |
| 67 | - weightedMetricPath T w K e ⟨T, hT, le_rfl⟩ - weightedMetricPath T w K e ⟨0, le_rfl, hT⟩ ≤ | |
| 68 | - (∫ t in (0 : ℝ)..T, extendPath T hT a t * extendPath T hT (weightedMetricPath T w K e) t) + | |
| 69 | - (∫ t in (0 : ℝ)..T, extendPath T hT b t * extendPath T hT (weightedMetricPath T loss K e) t) + | |
| 70 | - ∫ t, pathLp T hT c t * weightedForcingTime T hT w f t ∂timeMeasure T := by | |
| 71 | - apply integral_energy_limit T hT a b (pathLp T hT c) | |
| 72 | - (fun n => weightedMetricPath T w K (E n)) (fun n => weightedMetricPath T loss K (E n)) | |
| 73 | - (fun n => weightedForcingTime T hT w (fun i => pathLp T hT (F n i))) | |
| 74 | - (weightedMetricPath T w K e) (weightedMetricPath T loss K e) (weightedForcingTime T hT w f) | |
| 75 | - (weightedMetricPath_tendsto T w K E e hE) (weightedMetricPath_tendsto T loss K E e hE) | |
| 76 | - (weightedForcingTime_tendsto T hT w (fun n i => pathLp T hT (F n i)) f hF) | |
| 77 | - intro n | |
| 78 | - rw [forcing_integral_eq period] | |
| 79 | - exact henergy n | |
| 80 | - | |
| 81 | 29 | end EulerSobolevEnergyPaths |
+0 −27 Euler/SobolevHeat.lean View file
| @@ -90,31 +90,4 @@ theorem truncate_heatGain {q : ℕ} (v : ℝ≥0) (hv : 0 < v) (u : SobolevSpace | ||
| 90 | 90 | apply value_injective period |
| 91 | 91 | simp only [value_truncateOperator, heatGain_value, heatOperator_value] |
| 92 | 92 | |
| 93 | -/-- A fixed positive amount of smoothing may be separated from any remaining heat evolution. -/ | |
| 94 | -theorem heatGain_semigroup {q : ℕ} (v w : ℝ≥0) (hv : 0 < v) (u : SobolevSpace period q) : | |
| 95 | - heatGain period q v hv (heatOperator period q w u) = | |
| 96 | - heatGain period q (v + w) (add_pos_of_pos_of_nonneg hv (show 0 ≤ w from bot_le)) u := by | |
| 97 | - apply value_injective period | |
| 98 | - simp only [heatGain_value, heatOperator_value, cylinderHeat_semigroup] | |
| 99 | - | |
| 100 | -/-- The gained-derivative heat orbit is strongly continuous at every positive variance. -/ | |
| 101 | -theorem heatGain_continuous {q : ℕ} (u : SobolevSpace period q) : | |
| 102 | - Continuous (fun v : {v : ℝ≥0 // 0 < v} => heatGain period q v.val v.property u) := by | |
| 103 | - apply continuous_iff_continuousAt.mpr | |
| 104 | - intro v | |
| 105 | - let ε : ℝ≥0 := v.val / 2 | |
| 106 | - have hε : 0 < ε := div_pos v.property (by norm_num) | |
| 107 | - have hεv : ε < v.val := by dsimp [ε]; exact half_lt_self v.property | |
| 108 | - have hc : Continuous (fun w : {v : ℝ≥0 // 0 < v} => | |
| 109 | - heatGain period q ε hε (heatOperator period q (w.val - ε) u)) := | |
| 110 | - (heatGain period q ε hε).continuous.comp | |
| 111 | - ((heatOperator_continuous period u).comp (continuous_subtype_val.sub continuous_const)) | |
| 112 | - apply hc.continuousAt.congr_of_eventuallyEq | |
| 113 | - have he : ∀ᶠ w : {v : ℝ≥0 // 0 < v} in 𝓝 v, ε < w.val := | |
| 114 | - (continuous_subtype_val.tendsto v).eventually (Ioi_mem_nhds hεv) | |
| 115 | - filter_upwards [he] with w hw | |
| 116 | - apply value_injective period | |
| 117 | - simp only [heatGain_value, heatOperator_value, cylinderHeat_semigroup] | |
| 118 | - rw [add_tsub_cancel_of_le hw.le] | |
| 119 | - | |
| 120 | 93 | end EulerSobolevHeat |
+0 −9 Euler/SobolevHeatDerivativeCommutation.lean View file
| @@ -19,13 +19,4 @@ theorem derivative_heat {q : ℕ} (i : Fin 4) (v : ℝ≥0) (u : SobolevSpace pe | ||
| 19 | 19 | funext w |
| 20 | 20 | rfl |
| 21 | 21 | |
| 22 | -/-- Actual heat commutes with the genuine Laplacian between Sobolev levels. -/ | |
| 23 | -theorem laplacian_heat {q : ℕ} (v : ℝ≥0) (u : SobolevSpace period (q+2)) : | |
| 24 | - laplacianOperator period q (heatOperator period (q+2) v u) = | |
| 25 | - heatOperator period q v (laplacianOperator period q u) := by | |
| 26 | - rw [laplacianOperator_apply, laplacianOperator_apply, map_sum] | |
| 27 | - apply Finset.sum_congr rfl | |
| 28 | - intro i _ | |
| 29 | - rw [derivative_heat, derivative_heat] | |
| 30 | - | |
| 31 | 22 | end EulerSobolevLaplacian |
+0 −10 Euler/SobolevLaplacian.lean View file
| @@ -87,16 +87,6 @@ theorem laplacianOperator_value {q : ℕ} (u : SobolevSpace period (q+2)) : | ||
| 87 | 87 | fin_cases j <;> rfl |
| 88 | 88 | rw [hw] |
| 89 | 89 | |
| 90 | -/-- The actual complete-Sobolev Laplacian has norm at most four. -/ | |
| 91 | -theorem laplacianOperator_bound {q : ℕ} (u : SobolevSpace period (q+2)) : | |
| 92 | - ‖laplacianOperator period q u‖ ≤ 4 * ‖u‖ := by | |
| 93 | - rw [laplacianOperator_apply] | |
| 94 | - apply (norm_sum_le _ _).trans | |
| 95 | - calc | |
| 96 | - _ ≤ ∑ _i : Fin 4, ‖u‖ := Finset.sum_le_sum fun i _ => | |
| 97 | - (derivativeOperator_bound period i _).trans (derivativeOperator_bound period i u) | |
| 98 | - _ = _ := by simp | |
| 99 | - | |
| 100 | 90 | /-- The actual Laplacian commutes with every coordinate derivative. -/ |
| 101 | 91 | theorem laplacian_derivative {q : ℕ} (i : Fin 4) (u : SobolevSpace period (q+3)) : |
| 102 | 92 | laplacianOperator period q (derivativeOperator period (q+2) i u) = |
+0 −28 Euler/SobolevMaximalRegularity.lean View file
| @@ -40,32 +40,4 @@ theorem maximal_limit_restriction {q : ℕ} (T : ℝ) (hT : 0 ≤ T) | ||
| 40 | 40 | limit_restriction_ae T hT (restrictOperator period (by omega : q+1 ≤ 2+q)) |
| 41 | 41 | (fun n => maximalApproximation period q T n u) u U hU (maximalApproximation_low_tendsto period q T u) |
| 42 | 42 | |
| 43 | -/-- Actual viscous mild solutions with continuous Hq forcing and H^(q+1) values possess full H^(q+2) regularity in Bochner L² time. | |
| 44 | -The stronger field is constructed from genuine heat approximations and identified with the original field almost everywhere. -/ | |
| 45 | -theorem viscous_mild_maximal_regularity {q : ℕ} (ν : ℝ) (hν : 0 < ν) (T : ℝ) (hT : 0 ≤ T) | |
| 46 | - (u₀ : SobolevSpace period (q+1)) (f : C(Icc (0 : ℝ) T, SobolevSpace period q)) | |
| 47 | - (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) | |
| 48 | - (hsol : ∀ t : Icc (0 : ℝ) T, | |
| 49 | - u t = heatOperator period (q+1) (2*ν*t.val).toNNReal u₀ + | |
| 50 | - ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r (extendPath T hT f (t.val-r))) : | |
| 51 | - ∃ U : TimeLp T (SobolevSpace period (2+q)), | |
| 52 | - ((fun t => restrictOperator period (by omega : q+1 ≤ 2+q) (U t)) =ᵐ[timeMeasure T] extendPath T hT u) ∧ | |
| 53 | - Filter.Tendsto (fun n => pathLp T hT (maximalApproximation period q T n u)) Filter.atTop (𝓝 U) := by | |
| 54 | - refine (exists_maximal_mild_limit period ν hν T hT u₀ f u hsol).imp ?_ | |
| 55 | - intro U hU | |
| 56 | - exact ⟨maximal_limit_restriction period T hT u U hU, hU⟩ | |
| 57 | - | |
| 58 | -/-- The genuine full higher-order spatial derivatives exist at almost every time of the actual viscous solution. -/ | |
| 59 | -theorem viscous_mild_ae_higher {q : ℕ} (ν : ℝ) (hν : 0 < ν) (T : ℝ) (hT : 0 ≤ T) | |
| 60 | - (u₀ : SobolevSpace period (q+1)) (f : C(Icc (0 : ℝ) T, SobolevSpace period q)) | |
| 61 | - (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) | |
| 62 | - (hsol : ∀ t : Icc (0 : ℝ) T, | |
| 63 | - u t = heatOperator period (q+1) (2*ν*t.val).toNNReal u₀ + | |
| 64 | - ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r (extendPath T hT f (t.val-r))) : | |
| 65 | - ∀ᵐ t ∂timeMeasure T, ∃ v : SobolevSpace period (2+q), | |
| 66 | - restrictOperator period (by omega : q+1 ≤ 2+q) v = extendPath T hT u t := by | |
| 67 | - obtain ⟨U, hU, _⟩ := viscous_mild_maximal_regularity period ν hν T hT u₀ f u hsol | |
| 68 | - filter_upwards [hU] with t ht | |
| 69 | - exact ⟨U t, ht⟩ | |
| 70 | - | |
| 71 | 43 | end EulerSobolevMaximalRegularity |
+0 −12 Euler/SobolevNonlinearCompatibility.lean View file
| @@ -71,16 +71,4 @@ theorem restrict_projectedSource {p q : ℕ} (hqp : q ≤ p) {A : SmoothCoeffici | ||
| 71 | 71 | apply value_injective period |
| 72 | 72 | rw [value_restrictOperator, projectedSourceOperator_value, projectedSourceOperator_value, value_restrictOperator] |
| 73 | 73 | |
| 74 | -/-- The actual order-zero algebraic term as a bilinear map on one complete Sobolev level. -/ | |
| 75 | -def algebraicAtBilinear {s : ℕ} (hs : 6 ≤ s) | |
| 76 | - (C : Fin 3 → SobolevSpace period s →L[ℝ] SobolevSpace period s) : | |
| 77 | - SobolevSpace period s →L[ℝ] SobolevSpace period s →L[ℝ] SobolevSpace period s := | |
| 78 | - ∑ i : Fin 3, postcompose (C i) (productHqBilinear period hs (coordinate 3 i) (coordinate_norm_le 3 i)) | |
| 79 | - | |
| 80 | -/-- This bilinear map is precisely the already bounded order-zero Euler term. -/ | |
| 81 | -theorem algebraicAtBilinear_apply {s : ℕ} (hs : 6 ≤ s) | |
| 82 | - (C : Fin 3 → SobolevSpace period s →L[ℝ] SobolevSpace period s) (u v : SobolevSpace period s) : | |
| 83 | - algebraicAtBilinear period hs C u v = algebraicAt period hs C u v := by | |
| 84 | - simp only [algebraicAtBilinear, sum_apply, postcompose_apply, productHqBilinear_apply, algebraicAt] | |
| 85 | - | |
| 86 | 74 | end EulerSobolevNonlinearCompatibility |
+0 −12 Euler/SobolevPathInterpolation.lean View file
| @@ -55,11 +55,6 @@ def wordPathOperator {s n : ℕ} (h : n ≤ s) (w : Fin n → Fin 4) (T : ℝ) : | ||
| 55 | 55 | C(Icc (0 : ℝ) T,SobolevSpace period s) →L[ℝ] C(Icc (0 : ℝ) T,LiftL2 period) := |
| 56 | 56 | (wordOperator period ⟨⟨n,Nat.lt_succ_of_le h⟩,w⟩).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 57 | 57 | |
| 58 | -/-- The derivative path is its literal derivative coordinate at each time. -/ | |
| 59 | -theorem wordPathOperator_apply {s n : ℕ} (h : n ≤ s) (w : Fin n → Fin 4) (T : ℝ) | |
| 60 | - (u : C(Icc (0 : ℝ) T,SobolevSpace period s)) (t : Icc (0 : ℝ) T) : | |
| 61 | - wordPathOperator period h w T u t = word period (u t) h w := rfl | |
| 62 | - | |
| 63 | 58 | /-- The exact strong-derivative interpolation inequality also controls the uniform time-path norm. -/ |
| 64 | 59 | theorem wordPath_square_bound {s n : ℕ} (h : n+2 ≤ s) (w : Fin n → Fin 4) (i : Fin 4) |
| 65 | 60 | (T : ℝ) (u : C(Icc (0 : ℝ) T,SobolevSpace period s)) : |
| @@ -79,13 +74,6 @@ theorem wordPath_square_bound {s n : ℕ} (h : n+2 ≤ s) (w : Fin n → Fin 4) | ||
| 79 | 74 | rw [Real.sq_sqrt hA] at hs |
| 80 | 75 | exact hs |
| 81 | 76 | |
| 82 | -/-- Actual derivative-coordinate paths preserve subtraction. -/ | |
| 83 | -theorem wordPath_sub {s n : ℕ} (h : n ≤ s) (w : Fin n → Fin 4) (T : ℝ) | |
| 84 | - (u v : C(Icc (0 : ℝ) T,SobolevSpace period s)) : | |
| 85 | - wordPathOperator period h w T (u-v) = wordPathOperator period h w T u-wordPathOperator period h w T v := by | |
| 86 | - ext t | |
| 87 | - rfl | |
| 88 | - | |
| 89 | 77 | /-- The actual difference interpolation estimate depends only on the two given uniform state bounds. -/ |
| 90 | 78 | theorem wordPath_difference_square_bound {s n : ℕ} (h : n+2 ≤ s) (w : Fin n → Fin 4) (i : Fin 4) |
| 91 | 79 | (T M : ℝ) (u v : C(Icc (0 : ℝ) T,SobolevSpace period s)) (hu : ‖u‖ ≤ M) (hv : ‖v‖ ≤ M) : |
+0 −47 Euler/SobolevPressureResolvent.lean View file
| @@ -28,38 +28,6 @@ theorem pressureSobolev_mem_gradient {q : ℕ} {A : SmoothCoefficient period} | ||
| 28 | 28 | rw [pressureSobolevOperator_value] |
| 29 | 29 | exact liftedPressure_mem period κ m A.coefficient A.measurable A.bound A.norm_bound c hc hpos _ |
| 30 | 30 | |
| 31 | -/-- The actual Sobolev pressure solves the original projected coefficient equation. -/ | |
| 32 | -theorem pressureSobolev_equation {q : ℕ} {A : SmoothCoefficient period} | |
| 33 | - (K : CoefficientJet period standardDirection q A) (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 34 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) (u : SobolevSpace period q) : | |
| 35 | - gradientProjection period κ m | |
| 36 | - (A.operator (value period (pressureSobolevOperator period K κ m c hc hpos u))) = | |
| 37 | - gradientProjection period κ m (value period u) := by | |
| 38 | - rw [pressureSobolevOperator_value] | |
| 39 | - exact liftedPressure_equation period κ m A.coefficient A.measurable A.bound A.norm_bound c hc hpos _ | |
| 40 | - | |
| 41 | -/-- Uniqueness of the Lax–Milgram solution gives uniqueness in the complete Sobolev space. -/ | |
| 42 | -theorem pressureSobolev_unique {q : ℕ} {A : SmoothCoefficient period} | |
| 43 | - (K : CoefficientJet period standardDirection q A) (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 44 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) | |
| 45 | - (u p : SobolevSpace period q) (hp : value period p ∈ gradientSpace period κ m) | |
| 46 | - (heq : gradientProjection period κ m (A.operator (value period p)) = | |
| 47 | - gradientProjection period κ m (value period u)) : | |
| 48 | - p = pressureSobolevOperator period K κ m c hc hpos u := by | |
| 49 | - apply value_injective period | |
| 50 | - rw [pressureSobolevOperator_value] | |
| 51 | - exact liftedPressure_unique period κ m A.coefficient A.measurable A.bound A.norm_bound c hc hpos | |
| 52 | - (value period u) (value period p) hp heq | |
| 53 | - | |
| 54 | -/-- The actual projected forcing lies in the lifted divergence-free space. -/ | |
| 55 | -theorem projectedSource_divergenceFree {q : ℕ} {A : SmoothCoefficient period} | |
| 56 | - (K : CoefficientJet period standardDirection q A) (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 57 | - (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) (u : SobolevSpace period q) : | |
| 58 | - value period (projectedSourceOperator period K κ m c hc hpos u) ∈ divergenceFreeSpace period κ m := by | |
| 59 | - apply (gradientSpace period κ m).orthogonalProjectionOnto_eq_zero_iff.mp | |
| 60 | - apply Subtype.ext | |
| 61 | - exact projectedSource_gradient_zero period K κ m c hc hpos u | |
| 62 | - | |
| 63 | 31 | /-- The difference of actual coefficient multipliers has the expected underlying L² action. -/ |
| 64 | 32 | theorem coefficientDifference_value {q : ℕ} {A B : SmoothCoefficient period} |
| 65 | 33 | (KA : CoefficientJet period standardDirection q A) (KB : CoefficientJet period standardDirection q B) |
| @@ -124,19 +92,4 @@ theorem pressure_resolvent {q : ℕ} {A B : SmoothCoefficient period} | ||
| 124 | 92 | intro u |
| 125 | 93 | exact pressure_resolvent_apply period KA KB κ m c d hc hd hA hB u |
| 126 | 94 | |
| 127 | -/-- The norm of the genuine pressure difference is controlled by the coefficient multiplier difference. -/ | |
| 128 | -theorem pressure_resolvent_bound {q : ℕ} {A B : SmoothCoefficient period} | |
| 129 | - (KA : CoefficientJet period standardDirection q A) (KB : CoefficientJet period standardDirection q B) | |
| 130 | - (κ : ℝ) (m : Vector3) (c d : ℝ) (hc : 0 < c) (hd : 0 < d) | |
| 131 | - (hA : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v, v⟫_ℝ) | |
| 132 | - (hB : ∀ x v, d * ‖v‖ ^ 2 ≤ ⟪B.coefficient x v, v⟫_ℝ) : | |
| 133 | - ‖pressureSobolevOperator period KA κ m c hc hA - pressureSobolevOperator period KB κ m d hd hB‖ ≤ | |
| 134 | - ‖pressureSobolevOperator period KA κ m c hc hA‖ * | |
| 135 | - ‖coefficientSobolevOperator period KB - coefficientSobolevOperator period KA‖ * | |
| 136 | - ‖pressureSobolevOperator period KB κ m d hd hB‖ := by | |
| 137 | - rw [pressure_resolvent period KA KB κ m c d hc hd hA hB] | |
| 138 | - exact ContinuousLinearMap.opNorm_comp_le _ _ |>.trans | |
| 139 | - ((mul_le_mul_of_nonneg_left (ContinuousLinearMap.opNorm_comp_le _ _) (norm_nonneg _)).trans_eq | |
| 140 | - (mul_assoc _ _ _).symm) | |
| 141 | - | |
| 142 | 95 | end EulerSobolevCoefficientPressure |
+0 −33 Euler/SobolevPressureTime.lean View file
| @@ -47,37 +47,4 @@ theorem projectedSource_continuousAt {α : Type*} [TopologicalSpace α] {q : ℕ | ||
| 47 | 47 | have hMP := hM.clm_comp hP |
| 48 | 48 | exact hMP.const_sub (ContinuousLinearMap.id ℝ (SobolevSpace period q)) |
| 49 | 49 | |
| 50 | -/-- Differentiating the genuine resolvent gives the actual Hq pressure derivative −P M′ P. -/ | |
| 51 | -theorem pressureSobolev_hasDerivAt {q : ℕ} | |
| 52 | - (A : ℝ → SmoothCoefficient period) (K : ∀ s, CoefficientJet period standardDirection q (A s)) | |
| 53 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 54 | - (hpos : ∀ s x v, c * ‖v‖ ^ 2 ≤ ⟪(A s).coefficient x v, v⟫_ℝ) | |
| 55 | - (t : ℝ) (M' : SobolevSpace period q →L[ℝ] SobolevSpace period q) | |
| 56 | - (hM : HasDerivAt (fun s => coefficientSobolevOperator period (K s)) M' t) : | |
| 57 | - HasDerivAt (fun s => pressureSobolevOperator period (K s) κ m c hc (hpos s)) | |
| 58 | - (-((pressureSobolevOperator period (K t) κ m c hc (hpos t)).comp | |
| 59 | - (M'.comp (pressureSobolevOperator period (K t) κ m c hc (hpos t))))) t := by | |
| 60 | - apply hasDerivAt_of_resolvent | |
| 61 | - (fun s => pressureSobolevOperator period (K s) κ m c hc (hpos s)) | |
| 62 | - (fun s => coefficientSobolevOperator period (K s)) _ t M' hM | |
| 63 | - intro s r | |
| 64 | - exact pressure_resolvent period (K s) (K r) κ m c c hc hc (hpos s) (hpos r) | |
| 65 | - | |
| 66 | -/-- The complete Sobolev pressure-corrected source has the actual derivative obtained by the product rule. -/ | |
| 67 | -theorem projectedSource_hasDerivAt {q : ℕ} | |
| 68 | - (A : ℝ → SmoothCoefficient period) (K : ∀ s, CoefficientJet period standardDirection q (A s)) | |
| 69 | - (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) | |
| 70 | - (hpos : ∀ s x v, c * ‖v‖ ^ 2 ≤ ⟪(A s).coefficient x v, v⟫_ℝ) | |
| 71 | - (t : ℝ) (M' : SobolevSpace period q →L[ℝ] SobolevSpace period q) | |
| 72 | - (hM : HasDerivAt (fun s => coefficientSobolevOperator period (K s)) M' t) : | |
| 73 | - HasDerivAt (fun s => projectedSourceOperator period (K s) κ m c hc (hpos s)) | |
| 74 | - (-(M'.comp (pressureSobolevOperator period (K t) κ m c hc (hpos t)) + | |
| 75 | - (coefficientSobolevOperator period (K t)).comp | |
| 76 | - (-((pressureSobolevOperator period (K t) κ m c hc (hpos t)).comp | |
| 77 | - (M'.comp (pressureSobolevOperator period (K t) κ m c hc (hpos t))))))) t := by | |
| 78 | - have hP := pressureSobolev_hasDerivAt period A K κ m c hc hpos t M' hM | |
| 79 | - have hMP := hM.clm_comp hP | |
| 80 | - simpa only [zero_sub, Pi.sub_def, projectedSourceOperator] using | |
| 81 | - (hasDerivAt_const t (ContinuousLinearMap.id ℝ (SobolevSpace period q))).sub hMP | |
| 82 | - | |
| 83 | 50 | end EulerSobolevCoefficientPressure |
+0 −36 Euler/SobolevReflection.lean View file
| @@ -56,33 +56,6 @@ def sobolevReflection (q : ℕ) : SobolevSpace period q →L[ℝ] SobolevSpace p | ||
| 56 | 56 | apply value_injective period |
| 57 | 57 | rw [value_sobolevReflection, value_sobolevReflection, reflection_involutive] |
| 58 | 58 | |
| 59 | -/-- Every genuine derivative coordinate keeps its L² norm under reflection. -/ | |
| 60 | -theorem sobolevReflection_word_norm {q : ℕ} (u : SobolevSpace period q) (w : SobolevWord q) : | |
| 61 | - ‖(sobolevReflection period q u).val w‖ = ‖u.val w‖ := by | |
| 62 | - rw [sobolevReflection_apply, norm_smul, reflection_norm, norm_pow] | |
| 63 | - norm_num | |
| 64 | - | |
| 65 | -/-- Reflection preserves the actual finite Sobolev norm. -/ | |
| 66 | -theorem sobolevReflection_norm {q : ℕ} (u : SobolevSpace period q) : | |
| 67 | - ‖sobolevReflection period q u‖ = ‖u‖ := by | |
| 68 | - apply le_antisymm | |
| 69 | - · change ‖(sobolevReflection period q u).val‖ ≤ ‖u.val‖ | |
| 70 | - apply (pi_norm_le_iff_of_nonneg (norm_nonneg u.val)).mpr | |
| 71 | - intro w | |
| 72 | - rw [sobolevReflection_word_norm] | |
| 73 | - exact norm_le_pi_norm u.val w | |
| 74 | - · change ‖u.val‖ ≤ ‖(sobolevReflection period q u).val‖ | |
| 75 | - apply (pi_norm_le_iff_of_nonneg (norm_nonneg _)).mpr | |
| 76 | - intro w | |
| 77 | - have hh := norm_le_pi_norm (sobolevReflection period q u).val w | |
| 78 | - rwa [sobolevReflection_word_norm] at hh | |
| 79 | - | |
| 80 | -/-- Reflection also preserves the source's sum-over-derivatives Sobolev norm. -/ | |
| 81 | -theorem sobolevReflection_sumNorm {q : ℕ} (u : SobolevSpace period q) : | |
| 82 | - sumNorm period (sobolevReflection period q u) = sumNorm period u := by | |
| 83 | - unfold sumNorm | |
| 84 | - exact Finset.sum_congr rfl fun w _ => sobolevReflection_word_norm period u w | |
| 85 | - | |
| 86 | 59 | /-- Truncating the Sobolev order commutes with actual reflection. -/ |
| 87 | 60 | theorem truncate_reflection {q : ℕ} (u : SobolevSpace period (q + 1)) : |
| 88 | 61 | truncateOperator period q (sobolevReflection period (q + 1) u) = |
| @@ -108,15 +81,6 @@ def oddReflection (q : ℕ) : SobolevSpace period q →L[ℝ] SobolevSpace perio | ||
| 108 | 81 | @[simp] theorem oddReflection_apply {q : ℕ} (u : SobolevSpace period q) : |
| 109 | 82 | oddReflection period q u = -sobolevReflection period q u := rfl |
| 110 | 83 | |
| 111 | -/-- The signed reflection is involutive. -/ | |
| 112 | -theorem oddReflection_involutive {q : ℕ} (u : SobolevSpace period q) : | |
| 113 | - oddReflection period q (oddReflection period q u) = u := by | |
| 114 | - simp only [oddReflection_apply, map_neg, neg_neg, sobolevReflection_involutive] | |
| 115 | - | |
| 116 | -/-- The signed reflection preserves the Sobolev norm. -/ | |
| 117 | -theorem oddReflection_norm {q : ℕ} (u : SobolevSpace period q) : | |
| 118 | - ‖oddReflection period q u‖ = ‖u‖ := by rw [oddReflection_apply, norm_neg, sobolevReflection_norm] | |
| 119 | - | |
| 120 | 84 | /-- Signed reflection preserves the genuine weak divergence constraint. -/ |
| 121 | 85 | theorem oddReflection_divergenceFree {q : ℕ} (κ : ℝ) (m : Vector3) (u : SobolevSpace period q) |
| 122 | 86 | (hu : value period u ∈ divergenceFreeSpace period κ m) : |
+0 −7 Euler/SobolevRestriction.lean View file
| @@ -65,11 +65,4 @@ theorem restrictOperator_derivative {p q : ℕ} (h : q ≤ p) (i : Fin 4) (u : S | ||
| 65 | 65 | apply value_injective period |
| 66 | 66 | rfl |
| 67 | 67 | |
| 68 | -/-- Restriction commutes with every genuine cylinder translation. -/ | |
| 69 | -theorem restrictOperator_translation {p q : ℕ} (h : q ≤ p) (a : LiftDomain period) (u : SobolevSpace period p) : | |
| 70 | - restrictOperator period h (sobolevTranslation period p a u) = | |
| 71 | - sobolevTranslation period q a (restrictOperator period h u) := by | |
| 72 | - apply value_injective period | |
| 73 | - rfl | |
| 74 | - | |
| 75 | 68 | end EulerCylinderSobolevSpace |
+0 −17 Euler/SobolevSmoothProduct.lean View file
| @@ -95,23 +95,6 @@ theorem productHighLow_bound_smooth {q : ℕ} (hq : 6 ≤ q) | ||
| 95 | 95 | (mul_nonneg hpos (mul_nonneg (Nat.cast_nonneg _) (norm_nonneg U))) |
| 96 | 96 | _ = sobolevProductConstant period q * ‖U‖ * ‖v‖ := by unfold sobolevProductConstant; ring |
| 97 | 97 | |
| 98 | -/-- The high-low product is additive in its first argument. -/ | |
| 99 | -theorem productHighLow_add_left {q : ℕ} (L : Vector3 →L[ℝ] ℝ) | |
| 100 | - (u w : SobolevSpace period (q+3)) (v : SobolevSpace period q) : | |
| 101 | - productHighLow period L (u+w) v = productHighLow period L u v + productHighLow period L w v := by | |
| 102 | - apply value_injective period | |
| 103 | - change value period (productHighLow period L (u+w) v) = value period (productHighLow period L u v) + value period (productHighLow period L w v) | |
| 104 | - simp only [productHighLow_value, map_add, scalarProduct_add_left] | |
| 105 | - | |
| 106 | -/-- The high-low product is additive in its second argument. -/ | |
| 107 | -theorem productHighLow_add_right {q : ℕ} (L : Vector3 →L[ℝ] ℝ) | |
| 108 | - (u : SobolevSpace period (q+3)) (v w : SobolevSpace period q) : | |
| 109 | - productHighLow period L u (v+w) = productHighLow period L u v + productHighLow period L u w := by | |
| 110 | - apply value_injective period | |
| 111 | - change value period (productHighLow period L u (v+w)) = value period (productHighLow period L u v) + value period (productHighLow period L u w) | |
| 112 | - simp only [productHighLow_value] | |
| 113 | - exact scalarProduct_add_right period (le_refl 3) L _ _ _ | |
| 114 | - | |
| 115 | 98 | /-- Exact product difference decomposition. -/ |
| 116 | 99 | theorem productHighLow_sub {q : ℕ} (L : Vector3 →L[ℝ] ℝ) |
| 117 | 100 | (u w : SobolevSpace period (q+3)) (v z : SobolevSpace period q) : |
+0 −2 Euler/SobolevSourceExponent.lean View file
| @@ -13,8 +13,6 @@ open Finset EulerSmoothLimit EulerLpTranslation EulerLpTranslation.SmoothL2Field | ||
| 13 | 13 | |
| 14 | 14 | def fixedCost (q : ℕ) : ℝ := (2 : ℝ)^q*∑ j ∈ range (q+1), (j.factorial : ℝ)^2 |
| 15 | 15 | |
| 16 | -theorem fixedCost_nonneg (q : ℕ) : 0 ≤ fixedCost q := by unfold fixedCost; positivity | |
| 17 | - | |
| 18 | 16 | theorem coefficient_radius_le (k R : ℝ) (hk : 12 ≤ k) (hR : R ≤ k^5) : |
| 19 | 17 | sobolevCoefficientRadius (Fin 3) R ≤ k^6 := by |
| 20 | 18 | have he : sobolevCoefficientRadius (Fin 3) R = 12*R := by |
+0 −10 Euler/SobolevTimeRegularization.lean View file
| @@ -37,14 +37,4 @@ theorem heat_time_commutator_tendsto (p q : ℕ) (T : ℝ) (hT : 0 ≤ T) | ||
| 37 | 37 | have hB := heat_timeLp_tendsto period p T (timeMultiplier T hT A u) |
| 38 | 38 | simpa only [sub_self, Function.comp_def] using hA.sub hB |
| 39 | 39 | |
| 40 | -/-- The actual heat commutator vanishes in the full L² time norm. -/ | |
| 41 | -theorem heat_time_commutator_norm_tendsto (p q : ℕ) (T : ℝ) (hT : 0 ≤ T) | |
| 42 | - (A : C(Icc (0 : ℝ) T, SobolevSpace period q →L[ℝ] SobolevSpace period p)) | |
| 43 | - (u : TimeLp T (SobolevSpace period q)) : | |
| 44 | - Filter.Tendsto (fun n => ‖ | |
| 45 | - timeMultiplier T hT A ((heatOperator period q (regularizerVariance n)).compLpL 2 (timeMeasure T) u) - | |
| 46 | - (heatOperator period p (regularizerVariance n)).compLpL 2 (timeMeasure T) (timeMultiplier T hT A u)‖) | |
| 47 | - Filter.atTop (𝓝 (0 : ℝ)) := by | |
| 48 | - simpa only [norm_zero] using (heat_time_commutator_tendsto period p q T hT A u).norm | |
| 49 | - | |
| 50 | 40 | end EulerSobolevTimeRegularization |
+0 −28 Euler/SobolevTransport.lean View file
| @@ -31,34 +31,6 @@ theorem transportBilinear_apply {q : ℕ} (hq : 6 ≤ q) | ||
| 31 | 31 | simp only [transportBilinear, sum_apply, ContinuousLinearMap.bilinearComp_apply, |
| 32 | 32 | productHqBilinear_apply] |
| 33 | 33 | |
| 34 | -/-- The actual transport loses exactly one derivative, with an explicit fixed-order constant. -/ | |
| 35 | -theorem transportBilinear_bound {q : ℕ} (hq : 6 ≤ q) | |
| 36 | - (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) | |
| 37 | - (u v : SobolevSpace period (q+1)) : | |
| 38 | - ‖transportBilinear period hq L hL u v‖ ≤ (4 * sobolevProductConstant period q) * ‖u‖ * ‖v‖ := by | |
| 39 | - rw [transportBilinear_apply] | |
| 40 | - have hi (i : Fin 4) : ‖productHq period hq (L i) (hL i) | |
| 41 | - (truncateOperator period q u) (derivativeOperator period q i v)‖ ≤ | |
| 42 | - sobolevProductConstant period q * ‖u‖ * ‖v‖ := | |
| 43 | - (productHq_norm period hq (L i) (hL i) _ _).trans | |
| 44 | - (mul_le_mul (mul_le_mul_of_nonneg_left (truncateOperator_bound period u) | |
| 45 | - (sobolevProductConstant_nonneg period q)) (derivativeOperator_bound period i v) | |
| 46 | - (norm_nonneg _) (mul_nonneg (sobolevProductConstant_nonneg period q) (norm_nonneg u))) | |
| 47 | - have h := (norm_sum_le _ _).trans (Finset.sum_le_sum (fun i (_ : i ∈ (Finset.univ : Finset (Fin 4))) => hi i)) | |
| 48 | - simpa only [Finset.sum_const, Finset.card_univ, Fintype.card_fin, nsmul_eq_mul, Nat.cast_ofNat, | |
| 49 | - mul_assoc] using h | |
| 50 | - | |
| 51 | -/-- The transport norm in the derivative-losing operator topology. -/ | |
| 52 | -theorem transportBilinear_norm {q : ℕ} (hq : 6 ≤ q) | |
| 53 | - (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) : | |
| 54 | - ‖transportBilinear period hq L hL‖ ≤ 4 * sobolevProductConstant period q := by | |
| 55 | - apply ContinuousLinearMap.opNorm_le_bound _ (mul_nonneg (by norm_num) (sobolevProductConstant_nonneg period q)) | |
| 56 | - intro u | |
| 57 | - apply ContinuousLinearMap.opNorm_le_bound _ (mul_nonneg (mul_nonneg (by norm_num) | |
| 58 | - (sobolevProductConstant_nonneg period q)) (norm_nonneg u)) | |
| 59 | - intro v | |
| 60 | - exact transportBilinear_bound period hq L hL u v | |
| 61 | - | |
| 62 | 34 | /-- The genuine transport is represented by the literal sum of pointwise directional products. -/ |
| 63 | 35 | theorem transportBilinear_value {q : ℕ} (hq : 6 ≤ q) |
| 64 | 36 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
+0 −40 Euler/SobolevWordBlocks.lean View file
| @@ -19,15 +19,6 @@ def wordBlock (q : ℕ) : (n : ℕ) → (Fin n → Fin 4) → | ||
| 19 | 19 | | 0, _ => ContinuousLinearMap.id ℝ (SobolevSpace period q) |
| 20 | 20 | | n + 1, w => (wordBlock q n (Fin.init w)).comp (derivativeOperator period (q + n) (w (Fin.last n))) |
| 21 | 21 | |
| 22 | -/-- Actual word differentiation is contractive between the corresponding array norms. -/ | |
| 23 | -theorem wordBlock_bound (q n : ℕ) (w : Fin n → Fin 4) (u : SobolevSpace period (q + n)) : | |
| 24 | - ‖wordBlock period q n w u‖ ≤ ‖u‖ := by | |
| 25 | - induction n with | |
| 26 | - | zero => exact le_rfl | |
| 27 | - | succ n ih => | |
| 28 | - exact (ih (Fin.init w) (derivativeOperator period (q + n) (w (Fin.last n)) u)).trans | |
| 29 | - (derivativeOperator_bound period (w (Fin.last n)) u) | |
| 30 | - | |
| 31 | 22 | /-- The field underlying a derivative block is exactly its genuine derivative-word coordinate. -/ |
| 32 | 23 | theorem wordBlock_value (q n : ℕ) (w : Fin n → Fin 4) (u : SobolevSpace period (q + n)) : |
| 33 | 24 | value period (wordBlock period q n w u) = word period u (by omega : n ≤ q + n) w := by |
| @@ -44,35 +35,4 @@ theorem wordBlock_value (q n : ℕ) (w : Fin n → Fin 4) (u : SobolevSpace peri | ||
| 44 | 35 | rw [Fin.snoc_init_self] |
| 45 | 36 | rfl |
| 46 | 37 | |
| 47 | -/-- Every derivative block commutes with actual cylinder translation. -/ | |
| 48 | -theorem wordBlock_translation (q n : ℕ) (w : Fin n → Fin 4) | |
| 49 | - (a : LiftDomain period) (u : SobolevSpace period (q+n)) : | |
| 50 | - wordBlock period q n w (sobolevTranslation period (q+n) a u) = | |
| 51 | - sobolevTranslation period q a (wordBlock period q n w u) := by | |
| 52 | - induction n with | |
| 53 | - | zero => rfl | |
| 54 | - | succ n ih => | |
| 55 | - change wordBlock period q n (Fin.init w) | |
| 56 | - (derivativeOperator period (q+n) (w (Fin.last n)) (sobolevTranslation period (q+n+1) a u)) = _ | |
| 57 | - rw [derivativeOperator_translation, ih] | |
| 58 | - rfl | |
| 59 | - | |
| 60 | -/-- Every actual derivative block commutes with the Gaussian heat semigroup. -/ | |
| 61 | -theorem wordBlock_heat (q n : ℕ) (w : Fin n → Fin 4) | |
| 62 | - (v : ℝ≥0) (u : SobolevSpace period (q+n)) : | |
| 63 | - wordBlock period q n w (heatOperator period (q+n) v u) = | |
| 64 | - heatOperator period q v (wordBlock period q n w u) := by | |
| 65 | - apply value_injective period | |
| 66 | - rw [wordBlock_value, heatOperator_value, wordBlock_value] | |
| 67 | - rfl | |
| 68 | - | |
| 69 | -/-- Truncating a derivative block agrees with taking the same word after truncating its input. -/ | |
| 70 | -theorem truncate_wordBlock (q n : ℕ) (w : Fin n → Fin 4) | |
| 71 | - (u : SobolevSpace period (q+1+n)) : | |
| 72 | - truncateOperator period q (wordBlock period (q+1) n w u) = | |
| 73 | - wordBlock period q n w (restrictOperator period (by omega : q+n ≤ q+1+n) u) := by | |
| 74 | - apply value_injective period | |
| 75 | - rw [value_truncateOperator, wordBlock_value, wordBlock_value] | |
| 76 | - rfl | |
| 77 | - | |
| 78 | 38 | end EulerSobolevWordBlocks |
+0 −7 Euler/SourceCylinderClassical.lean View file
| @@ -70,13 +70,6 @@ theorem field_tsupport_subset (t : Icc (0 : ℝ) T) : | ||
| 70 | 70 | exact representative_tsupport_subset period S hS hSc.isClosed _ _ |
| 71 | 71 | (velocity period S hS T hT Q Q₁ c hc hQ f a₀ t).property |
| 72 | 72 | |
| 73 | -theorem field_hasCompactSupport (t : Icc (0 : ℝ) T) : | |
| 74 | - HasCompactSupport (field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t) := by | |
| 75 | - change HasCompactSupport (pointField period _ _ t) | |
| 76 | - rw [pointField_eq_representative] | |
| 77 | - exact representative_hasCompactSupport period S hS hSc _ _ | |
| 78 | - (velocity period S hS T hT Q Q₁ c hc hQ f a₀ t).property | |
| 79 | - | |
| 80 | 73 | /-- Inclusion in full cylinder L² preserves the already proved time derivative. -/ |
| 81 | 74 | theorem fullVelocity_hasDerivWithinAt |
| 82 | 75 | (hQt : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, |
+0 −5 Euler/SourceCylinderForward.lean View file
| @@ -37,11 +37,6 @@ private local instance : NormedRing (Space →ᵇ U →L[ℝ] U) := inferInstanc | ||
| 37 | 37 | def evolution (S : Set Space) (hS : MeasurableSet S) := |
| 38 | 38 | constructedEvolution period S hS T hT (sourceGenerator Q Q₁ c hc hQ) |
| 39 | 39 | |
| 40 | -/-- The source coefficient automatically has the translated regularity needed by the solver. -/ | |
| 41 | -theorem source_coefficient_contDiff : | |
| 42 | - ContDiff ℝ ∞ (translateCoefficientPath (sourceGenerator Q Q₁ c hc hQ)) := | |
| 43 | - sourceGenerator_translation_contDiff Q Q₁ c hc hQ | |
| 44 | - | |
| 45 | 40 | include hd in |
| 46 | 41 | /-- Mixed spatial-angular external words, including a fixed Sobolev base, |
| 47 | 42 | obey the same radius for the actual constructed source solution. -/ |
+0 −20 Euler/SourceCylinderPressureField.lean View file
| @@ -124,26 +124,6 @@ theorem pressureField_zero_outside (t : Icc (0 : ℝ) T) (y : Space) (hy : y ∉ | ||
| 124 | 124 | classicalPrimitive_zero P _ _ _ y |
| 125 | 125 | (normalResidual_zero_outside P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m t y hy) θ |
| 126 | 126 | |
| 127 | -theorem pressureField_tsupport_subset (t : Icc (0 : ℝ) T) : | |
| 128 | - tsupport (pressureField P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm hf₀ ha₀zero t) ⊆ | |
| 129 | - spatialSet P S := by | |
| 130 | - apply closure_minimal _ (hSc.isClosed.preimage continuous_fst) | |
| 131 | - intro x hx | |
| 132 | - by_contra hn | |
| 133 | - exact hx (pressureField_zero_outside P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm | |
| 134 | - hf₀ ha₀zero t x.1 hn x.2) | |
| 135 | - | |
| 136 | -theorem pressureField_hasCompactSupport (t : Icc (0 : ℝ) T) : | |
| 137 | - HasCompactSupport (pressureField P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm hf₀ ha₀zero t) := by | |
| 138 | - have hcompact : IsCompact (spatialSet P S) := by | |
| 139 | - have he : spatialSet P S = S ×ˢ (univ : Set (AddCircle P)) := by | |
| 140 | - ext x | |
| 141 | - simp only [spatialSet,mem_preimage,mem_prod,mem_univ,and_true] | |
| 142 | - rw [he] | |
| 143 | - exact hSc.prod isCompact_univ | |
| 144 | - exact hcompact.of_isClosed_subset (isClosed_tsupport _) | |
| 145 | - (pressureField_tsupport_subset P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm hf₀ ha₀zero t) | |
| 146 | - | |
| 147 | 127 | /-- Equation (11) with the actual angular derivative of the normalized pressure. -/ |
| 148 | 128 | theorem field_pressure_equation |
| 149 | 129 | (hTangent : ∀ t x v, ⟪m.field t x,Q.field t x v⟫_ℝ = 0) |
+0 −23 Euler/SourceCylinderPressureWeight.lean View file
| @@ -65,29 +65,6 @@ variable (P : ℝ) [Fact (0 < P)] | ||
| 65 | 65 | (m : SmoothCoefficientPath (Icc (0 : ℝ) T) Space) |
| 66 | 66 | (cm : ℝ) (hcm : 0 < cm) (hm : ∀ t x, cm ≤ ‖m.field t x‖^2) |
| 67 | 67 | |
| 68 | -/-- The bounded pressure used in the coefficient estimate is exactly the PDE pressure. -/ | |
| 69 | -theorem pressurePath_eq_sourcePressure : | |
| 70 | - pressurePath P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm = | |
| 71 | - sourcePressure P M m cm hcm hm (includePath P S hS f) | |
| 72 | - (includePath P S hS (velocity P S hS T hT Q Q₁ c hc hQ f a₀)) := rfl | |
| 73 | - | |
| 74 | 68 | variable (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 75 | 69 | |
| 76 | -/-- The actual pressure path divided by g, written in terms of the normalized | |
| 77 | -physical forcing and the already constructed normalized physical velocity. -/ | |
| 78 | -def normalizedPressure : C(Icc (0 : ℝ) T,CylinderL2 P ℝ) := | |
| 79 | - sourcePressure P M m cm hcm hm (includePath P S hS f) | |
| 80 | - (includePath P S hS (normalizedVelocity P T hT S hS Q Q₁ c hc hQ g hg f a₀)) | |
| 81 | - | |
| 82 | -theorem pressurePath_weight_eq : | |
| 83 | - pressurePath P S hS T hT Q Q₁ c hc hQ (weight g f) a₀ M m cm hcm hm = | |
| 84 | - weight g (normalizedPressure P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm g hg) := by | |
| 85 | - rw [pressurePath_eq_sourcePressure, velocity_weight_eq, include_weight, include_weight] | |
| 86 | - exact sourcePressure_weight P M m cm hcm hm g _ _ | |
| 87 | - | |
| 88 | -theorem normalized_full_pressure_eq : | |
| 89 | - normalize g hg (pressurePath P S hS T hT Q Q₁ c hc hQ (weight g f) a₀ M m cm hcm hm) = | |
| 90 | - normalizedPressure P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm g hg := by | |
| 91 | - rw [pressurePath_weight_eq, normalize_weight] | |
| 92 | - | |
| 93 | 70 | end EulerSourceCylinderEquation |
+0 −10 Euler/SourceCylinderTimeBounds.lean View file
| @@ -49,16 +49,6 @@ theorem coordinateRhs_contDiff | ||
| 49 | 49 | have h₂ := projectedForcing_contDiff P S hS Q c hc hQ f hf |
| 50 | 50 | simpa only [coordinateRhs,map_add] using h₁.add h₂ |
| 51 | 51 | |
| 52 | -theorem physicalRhs_contDiff | |
| 53 | - (hf : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS f))) | |
| 54 | - (ha : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS a))) : | |
| 55 | - ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b | |
| 56 | - (includePath P S hS (physicalRhs P S hS Q Q₁ c hc hQ f a))) := by | |
| 57 | - have h₁ := supported_product_orbit_contDiff P Q₁.field Q₁.translation_contDiff S hS a ha | |
| 58 | - have h₂ := supported_product_orbit_contDiff P Q.field Q.translation_contDiff S hS | |
| 59 | - (coordinateRhs P S hS Q Q₁ c hc hQ f a) (coordinateRhs_contDiff P S hS Q Q₁ c hc hQ f a hf ha) | |
| 60 | - simpa only [physicalRhs,map_add] using h₁.add h₂ | |
| 61 | - | |
| 62 | 52 | def coordinateCost (ι : Type*) [Fintype ι] (q : ℕ) (Ri C₀ C₁ Df Da : ℝ) : ℝ := |
| 63 | 53 | 3*sobolevCoefficientAmplitude ι q (4*Ri) (18*Ri*C₀*C₁)*Da+ |
| 64 | 54 | 3*sobolevCoefficientAmplitude ι q (4*Ri) (3*Ri*C₀)*Df |
+0 −40 Euler/SourcePotentialTime.lean View file
| @@ -25,48 +25,8 @@ variable (hmt : ∀ t ∈ Icc (0 : ℝ) T, ∀ y : Space, | ||
| 25 | 25 | HasDerivWithinAt (fun r => extendPath T hT m.field r y) |
| 26 | 26 | (extendPath T hT m₁.field t y) (Icc (0 : ℝ) T) t) |
| 27 | 27 | |
| 28 | -include hmt in | |
| 29 | -/-- The polynomial coefficient really differentiates the actual source multiplier. -/ | |
| 30 | -theorem potentialCoefficient_hasDerivWithinAt (t : Icc (0 : ℝ) T) (y : Space) : | |
| 31 | - HasDerivWithinAt (fun r => extendPath T hT (potentialCoefficient m c hc hm) r y) | |
| 32 | - (potentialTimeCoefficient m m₁ c hc hm t y) (Icc (0 : ℝ) T) t := by | |
| 33 | - have hn : extendPath T hT m.field t y ≠ 0 := by | |
| 34 | - change m.field (projIcc 0 T hT t) y ≠ 0 | |
| 35 | - rw [projIcc_of_mem hT t.property] | |
| 36 | - intro hz | |
| 37 | - have h := hm t y | |
| 38 | - rw [hz, norm_zero, zero_pow (by decide : 2 ≠ 0)] at h | |
| 39 | - linarith | |
| 40 | - have h := potentialMultiplier_hasDerivWithinAt (Icc (0 : ℝ) T) t | |
| 41 | - (fun r => extendPath T hT m.field r y) (extendPath T hT m₁.field t y) | |
| 42 | - (hmt t t.property y) hn | |
| 43 | - convert h using 1 <;> try rfl | |
| 44 | - · funext r | |
| 45 | - exact potentialCoefficient_apply m c hc hm (projIcc 0 T hT r) y | |
| 46 | - · rw [potentialTimeCoefficient_apply] | |
| 47 | - change potentialMultiplierDerivative (m.field t y) (m₁.field t y) = | |
| 48 | - potentialMultiplierDerivative (m.field (projIcc 0 T hT t) y) (m₁.field (projIcc 0 T hT t) y) | |
| 49 | - rw [projIcc_of_mem hT t.property] | |
| 50 | - | |
| 51 | 28 | variable (P : ℝ) [Fact (0 < P)] |
| 52 | 29 | (p f : C(Icc (0 : ℝ) T,LiftL2 P)) |
| 53 | 30 | (hd : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT p) (f t) (Icc (0 : ℝ) T) t) |
| 54 | 31 | |
| 55 | -include hmt hd in | |
| 56 | -/-- Q_t is constructed from m, m_t, A and A_t; no regularity of Q is assumed. -/ | |
| 57 | -theorem sourcePotentialPath_hasDerivWithinAt (t : Icc (0 : ℝ) T) : | |
| 58 | - HasDerivWithinAt (extendPath T hT (potentialPath P (potentialCoefficient m c hc hm) p)) | |
| 59 | - (potentialDerivative P T (potentialCoefficient m c hc hm) | |
| 60 | - (potentialTimeCoefficient m m₁ c hc hm) p f t) (Icc (0 : ℝ) T) t := by | |
| 61 | - have hcoeff : ∀ r ∈ Icc (0 : ℝ) T, ∀ y : Space, | |
| 62 | - HasDerivWithinAt (fun s => extendPath T hT (potentialCoefficient m c hc hm) s y) | |
| 63 | - (extendPath T hT (potentialTimeCoefficient m m₁ c hc hm) r y) (Icc (0 : ℝ) T) r := by | |
| 64 | - intro r hr y | |
| 65 | - have h := potentialCoefficient_hasDerivWithinAt T hT m m₁ c hc hm hmt ⟨r,hr⟩ y | |
| 66 | - exact h.congr_deriv (congrArg (fun z : Icc (0 : ℝ) T => | |
| 67 | - potentialTimeCoefficient m m₁ c hc hm z y) (projIcc_of_mem hT hr).symm) | |
| 68 | - have h := potentialPath_hasDerivWithinAt P T hT (potentialCoefficient m c hc hm) | |
| 69 | - (potentialTimeCoefficient m m₁ c hc hm) p f hcoeff hd t | |
| 70 | - exact h | |
| 71 | - | |
| 72 | 32 | end EulerSourcePotentialCoefficient |
+0 −70 Euler/SourcePotentialTimeCoefficient.lean View file
| @@ -43,18 +43,6 @@ def timeNormalPath (N : C(K,NormalField)) (Q₁ : C(K,Space →ᵇ ℝ →L[ℝ] | ||
| 43 | 43 | pathCompositionMap (pathCompositionMap N (pathAdjointMap N)) (pathAdjointMap Q₁) - |
| 44 | 44 | (2 : ℝ) • pathCompositionMap (pathCompositionMap N Q₁) N |
| 45 | 45 | |
| 46 | -theorem timeNormalPath_apply (N : C(K,NormalField)) (Q₁ : C(K,Space →ᵇ ℝ →L[ℝ] Space)) | |
| 47 | - (t : K) (y : Space) : timeNormalPath N Q₁ t y = normalTimeMap (N t y) (Q₁ t y) := rfl | |
| 48 | - | |
| 49 | -theorem timeNormalPath_translation (N : C(K,NormalField)) (Q₁ : C(K,Space →ᵇ ℝ →L[ℝ] Space)) | |
| 50 | - (a : Space) : translateCoefficientPath (timeNormalPath N Q₁) a = | |
| 51 | - timeNormalPath (translateCoefficientPath N a) (translateCoefficientPath Q₁ a) := by | |
| 52 | - apply ContinuousMap.ext | |
| 53 | - intro t | |
| 54 | - apply BoundedContinuousFunction.ext | |
| 55 | - intro y | |
| 56 | - rfl | |
| 57 | - | |
| 58 | 46 | section Families |
| 59 | 47 | |
| 60 | 48 | variable {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| @@ -115,62 +103,4 @@ end Families | ||
| 115 | 103 | variable (m m₁ : SmoothCoefficientPath K Space) (c : ℝ) (hc : 0 < c) |
| 116 | 104 | (hm : ∀ t y, c ≤ ‖m.field t y‖^2) |
| 117 | 105 | |
| 118 | -def potentialTimeCoefficient : C(K,PotentialField) := | |
| 119 | - potentialPathMap (timeNormalPath (normalFunctional m c hc hm) (normalColumn m₁).field) | |
| 120 | - | |
| 121 | -theorem potentialTimeCoefficient_apply (t : K) (y : Space) : | |
| 122 | - potentialTimeCoefficient m m₁ c hc hm t y = | |
| 123 | - potentialMultiplierDerivative (m.field t y) (m₁.field t y) := by | |
| 124 | - have hn : m.field t y ≠ 0 := by | |
| 125 | - intro hz | |
| 126 | - have h := hm t y | |
| 127 | - rw [hz, norm_zero, zero_pow (by decide : 2 ≠ 0)] at h | |
| 128 | - linarith | |
| 129 | - exact normalTimeMap_potential (m.field t y) (m₁.field t y) | |
| 130 | - (normalFunctional m c hc hm t y) hn (normalFunctional_apply m c hc hm t y) | |
| 131 | - | |
| 132 | -theorem potentialTimeCoefficient_translation : | |
| 133 | - translateCoefficientPath (potentialTimeCoefficient m m₁ c hc hm) = | |
| 134 | - fun a => potentialPathMap (timeNormalPath | |
| 135 | - (translateCoefficientPath (normalFunctional m c hc hm) a) | |
| 136 | - (translateCoefficientPath (normalColumn m₁).field a)) := by | |
| 137 | - funext a | |
| 138 | - apply ContinuousMap.ext | |
| 139 | - intro t | |
| 140 | - apply BoundedContinuousFunction.ext | |
| 141 | - intro y | |
| 142 | - rfl | |
| 143 | - | |
| 144 | -theorem potentialTimeCoefficient_translation_contDiff : | |
| 145 | - ContDiff ℝ ∞ (translateCoefficientPath (potentialTimeCoefficient m m₁ c hc hm)) := by | |
| 146 | - rw [potentialTimeCoefficient_translation] | |
| 147 | - have h := timeNormalPath_contDiff _ _ | |
| 148 | - (normalFunctional_translation_contDiff m c hc hm) (normalColumn m₁).translation_contDiff | |
| 149 | - exact (potentialPathMap (K := K)).contDiff.comp h | |
| 150 | - | |
| 151 | -/-- The derivative coefficient is polynomial in the already constructed normal functional. -/ | |
| 152 | -theorem potentialTimeCoefficient_translation_bound (R C D : ℝ) | |
| 153 | - (hR : 0 ≤ R) (hC : 0 ≤ C) (hD : 0 ≤ D) | |
| 154 | - (hbN : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath (normalFunctional m c hc hm)) a‖ ≤ | |
| 155 | - C*majorant R 0 n) | |
| 156 | - (hbm₁ : ∀ n t y, ‖iteratedFDeriv ℝ n (m₁.field t : Space → Space) y‖ ≤ D*majorant R 0 n) | |
| 157 | - (n : ℕ) (a : Space) : | |
| 158 | - ‖iteratedFDeriv ℝ n (translateCoefficientPath (potentialTimeCoefficient m m₁ c hc hm)) a‖ ≤ | |
| 159 | - (27*C^2*D)*majorant R 0 n := by | |
| 160 | - have hQ (j : ℕ) (x : Space) : | |
| 161 | - ‖iteratedFDeriv ℝ j (translateCoefficientPath (normalColumn m₁).field) x‖ ≤ D*majorant R 0 j := by | |
| 162 | - apply (normalColumn m₁).norm_iteratedFDeriv_translation_le j (D*majorant R 0 j) | |
| 163 | - (mul_nonneg hD (majorant_nonneg R hR 0 j)) | |
| 164 | - intro t y | |
| 165 | - exact SmoothCoefficientPath.map_derivative_bound | |
| 166 | - (ContinuousLinearMap.toSpanSingletonLIE ℝ Space).toLinearIsometry.toContinuousLinearMap | |
| 167 | - (ContinuousLinearMap.toSpanSingletonLIE ℝ Space).toLinearIsometry.norm_toContinuousLinearMap_le | |
| 168 | - m₁ j (D*majorant R 0 j) (hbm₁ j) t y | |
| 169 | - rw [potentialTimeCoefficient_translation] | |
| 170 | - exact contraction_bound (potentialPathMap (K := K)) potentialPathMap_norm _ | |
| 171 | - (timeNormalPath_contDiff _ _ (normalFunctional_translation_contDiff m c hc hm) | |
| 172 | - (normalColumn m₁).translation_contDiff) R (27*C^2*D) hR (by positivity) 0 | |
| 173 | - (timeNormalPath_bound _ _ (normalFunctional_translation_contDiff m c hc hm) | |
| 174 | - (normalColumn m₁).translation_contDiff R C D hR hC hD hbN hQ) n a | |
| 175 | - | |
| 176 | 106 | end EulerSourcePotentialCoefficient |
+0 −9 Euler/SourcePotentialTimePath.lean View file
| @@ -50,15 +50,6 @@ theorem columnPath_norm : ‖columnPath (K := K)‖ ≤ 1 := by | ||
| 50 | 50 | rw [LinearIsometryEquiv.norm_map] |
| 51 | 51 | exact ((A t).norm_coe_le_norm y).trans (A.norm_coe_le_norm t) |
| 52 | 52 | |
| 53 | -omit [CompactSpace K] in | |
| 54 | -theorem columnPath_translation (A : C(K,Space →ᵇ Space)) (a : Space) : | |
| 55 | - translateCoefficientPath (columnPath A) a = columnPath (translateCoefficientPath A a) := by | |
| 56 | - apply ContinuousMap.ext | |
| 57 | - intro t | |
| 58 | - apply BoundedContinuousFunction.ext | |
| 59 | - intro y | |
| 60 | - rfl | |
| 61 | - | |
| 62 | 53 | section Coefficient |
| 63 | 54 | |
| 64 | 55 | variable (m : SmoothCoefficientPath K Space) (m₁ : C(K,Space →ᵇ Space)) |
+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 −12 Euler/StrongOperatorDerivative.lean View file
| @@ -31,18 +31,6 @@ theorem hasDerivAt_apply (A : ℝ → E →L[ℝ] F) (u : ℝ → E) (t : ℝ) ( | ||
| 31 | 31 | exact (hfirst.add ha.tendsto_slope).congr' |
| 32 | 32 | (Filter.Eventually.of_forall (fun s => (slope_apply A u t s).symm)) |
| 33 | 33 | |
| 34 | -/-- The same product rule for a one-sided derivative. -/ | |
| 35 | -theorem hasDerivWithinAt_apply (A : ℝ → E →L[ℝ] F) (u : ℝ → E) (t : ℝ) (s : Set ℝ) (u' : E) (a' : F) | |
| 36 | - (hu : HasDerivWithinAt u u' s t) (ha : HasDerivWithinAt (fun r => A r (u t)) a' s t) | |
| 37 | - (hc : ContinuousAt (fun p : ℝ × E => A p.1 p.2) (t, u')) : | |
| 38 | - HasDerivWithinAt (fun r => A r (u r)) (A t u' + a') s t := by | |
| 39 | - apply hasDerivWithinAt_iff_tendsto_slope.mpr | |
| 40 | - have hfirst : Tendsto (fun r => A r (slope u t r)) (𝓝[s \ {t}] t) (𝓝 (A t u')) := | |
| 41 | - hc.tendsto.comp ((show Tendsto (fun r : ℝ => r) (𝓝[s \ {t}] t) (𝓝 t) from nhdsWithin_le_nhds).prodMk_nhds | |
| 42 | - (hasDerivWithinAt_iff_tendsto_slope.mp hu)) | |
| 43 | - exact (hfirst.add (hasDerivWithinAt_iff_tendsto_slope.mp ha)).congr' | |
| 44 | - (Filter.Eventually.of_forall (fun r => (slope_apply A u t r).symm)) | |
| 45 | - | |
| 46 | 34 | end EulerStrongOperatorDerivative |
| 47 | 35 | |
| 48 | 36 | namespace EulerGaussianCylinderHeat |
+0 −11 Euler/TerminalTimePrimitive.lean View file
| @@ -274,17 +274,6 @@ theorem primitiveTimeLp_ae (T : ℝ) (hT : 0 ≤ T) (u : TimeLp T E) : | ||
| 274 | 274 | change realPrimitive T u (projIcc 0 T hT t) = realPrimitive T u t |
| 275 | 275 | rw [projIcc_of_mem hT hmem] |
| 276 | 276 | |
| 277 | -/-- The primitive's increments within the interval are literal integrals of its L² derivative. -/ | |
| 278 | -theorem terminalPrimitive_increment (T : ℝ) (hT : 0 ≤ T) (u : TimeLp T E) | |
| 279 | - (s t : Icc (0 : ℝ) T) : | |
| 280 | - terminalPrimitive T hT u t-terminalPrimitive T hT u s = ∫ r in s.val..t.val, u r := by | |
| 281 | - rw [terminalPrimitive_apply, terminalPrimitive_apply, realPrimitive_increment] | |
| 282 | - apply intervalIntegral.integral_congr | |
| 283 | - intro r hr | |
| 284 | - have hm : r ∈ Icc (0 : ℝ) T := | |
| 285 | - (uIcc_subset_Icc s.property t.property) hr | |
| 286 | - exact Set.indicator_of_mem hm _ | |
| 287 | - | |
| 288 | 277 | /-- The explicit initial trace is the negative total integral of the derivative. -/ |
| 289 | 278 | theorem initialTrace_eq_integral (T : ℝ) (hT : 0 ≤ T) (u : TimeLp T E) : |
| 290 | 279 | initialTrace T hT u = -(∫ t in 0..T, u t) := |
+0 −8 Euler/TopBlockTimeNorm.lean View file
| @@ -37,12 +37,4 @@ theorem pathLp_quadratic_bound {X Y Z I : Type*} [Fintype I] | ||
| 37 | 37 | simp only [pathLp_norm_sq] |
| 38 | 38 | exact h |
| 39 | 39 | |
| 40 | -/-- All actual order-q H² blocks and the lower H^(q+1) norm control the full H^(q+2) time norm. -/ | |
| 41 | -theorem top_blocks_time_norm (period : ℝ) [Fact (0 < period)] (q : ℕ) | |
| 42 | - (T : ℝ) (hT : 0 ≤ T) (u : C(Icc (0 : ℝ) T, SobolevSpace period (2+q))) : | |
| 43 | - ‖pathLp T hT u‖^2 ≤ | |
| 44 | - ‖pathLp T hT ((restrictOperator period (by omega : 1+q ≤ 2+q)).compLeftContinuous ℝ (Icc (0 : ℝ) T) u)‖^2 + | |
| 45 | - ∑ w : Fin q → Fin 4, ‖pathLp T hT ((wordBlock period 2 q w).compLeftContinuous ℝ (Icc (0 : ℝ) T) u)‖^2 := | |
| 46 | - pathLp_quadratic_bound _ _ (top_blocks_norm_sq period q) T hT u | |
| 47 | - | |
| 48 | 40 | end EulerTopBlockTimeNorm |
+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 −32 Euler/VolterraUniqueness.lean View file
| @@ -17,38 +17,6 @@ variable (hK : ContinuousOn (fun p : ℝ × Y => K p.1 p.2) (Ioi 0 ×ˢ (univ : | ||
| 17 | 17 | variable (hk : IntegrableOn k (Ioc 0 T)) (hk0 : ∀ r ∈ Ioc 0 T, 0 ≤ k r) |
| 18 | 18 | variable (hbound : ∀ r ∈ Ioc 0 T, ∀ y, ‖K r y‖ ≤ k r * ‖y‖) |
| 19 | 19 | |
| 20 | -include hK hk hk0 hbound in | |
| 21 | -/-- Two actual mild solutions in the contraction ball agree as continuous paths. -/ | |
| 22 | -theorem mild_solution_unique (a : C(Icc (0 : ℝ) T, X)) (F : Icc (0 : ℝ) T → X → Y) | |
| 23 | - (hF : Continuous (fun p : Icc (0 : ℝ) T × X => F p.1 p.2)) | |
| 24 | - (R L : ℝ) (hL : 0 ≤ L) | |
| 25 | - (hFL : ∀ t x y, ‖x‖ ≤ R → ‖y‖ ≤ R → ‖F t x - F t y‖ ≤ L * ‖x - y‖) | |
| 26 | - (hsmall : kernelMass T k * L < 1) | |
| 27 | - (u v : C(Icc (0 : ℝ) T, X)) (hu : ‖u‖ ≤ R) (hv : ‖v‖ ≤ R) | |
| 28 | - (hsolu : ∀ t : Icc (0 : ℝ) T, u t = a t + ∫ r in (0 : ℝ)..t.val, | |
| 29 | - K r (F (projIcc 0 T hT (t.val - r)) (u (projIcc 0 T hT (t.val - r))))) | |
| 30 | - (hsolv : ∀ t : Icc (0 : ℝ) T, v t = a t + ∫ r in (0 : ℝ)..t.val, | |
| 31 | - K r (F (projIcc 0 T hT (t.val - r)) (v (projIcc 0 T hT (t.val - r))))) : u = v := by | |
| 32 | - have hfix (z : C(Icc (0 : ℝ) T, X)) | |
| 33 | - (hz : ∀ t : Icc (0 : ℝ) T, z t = a t + ∫ r in (0 : ℝ)..t.val, | |
| 34 | - K r (F (projIcc 0 T hT (t.val - r)) (z (projIcc 0 T hT (t.val - r))))) : | |
| 35 | - picard T hT K k hK hk hk0 hbound a F hF z = z := by | |
| 36 | - ext t | |
| 37 | - change a t + convolution T hT K k hK hk hk0 hbound (pathNonlinearity T F hF z) t = z t | |
| 38 | - rw [convolution_eq_interval T hT K k hK hk hk0 hbound] | |
| 39 | - exact (hz t).symm | |
| 40 | - have h := picard_sub_bound T hT K k hK hk hk0 hbound a F hF R L hL hFL u v hu hv | |
| 41 | - rw [hfix u hsolu, hfix v hsolv] at h | |
| 42 | - have hn : ‖u - v‖ = 0 := by nlinarith [norm_nonneg (u - v)] | |
| 43 | - exact sub_eq_zero.mp (norm_eq_zero.mp hn) | |
| 44 | - | |
| 45 | -/-- The actual Volterra integral vanishes at time zero, giving the prescribed initial trace. -/ | |
| 46 | -theorem mild_solution_initial (a u : C(Icc (0 : ℝ) T, X)) (F : Icc (0 : ℝ) T → X → Y) | |
| 47 | - (hsol : ∀ t : Icc (0 : ℝ) T, u t = a t + ∫ r in (0 : ℝ)..t.val, | |
| 48 | - K r (F (projIcc 0 T hT (t.val - r)) (u (projIcc 0 T hT (t.val - r))))) : | |
| 49 | - u ⟨0, le_rfl, hT⟩ = a ⟨0, le_rfl, hT⟩ := by | |
| 50 | - simpa only [intervalIntegral.integral_same, add_zero] using hsol ⟨0, le_rfl, hT⟩ | |
| 51 | - | |
| 52 | 20 | end EulerVolterraConvolution |
| 53 | 21 | |
| 54 | 22 | namespace EulerSobolevHeat |
+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 −102 Euler/WeightedCylinderEnergy.lean View file
| @@ -39,106 +39,4 @@ def viscousGrowthCoefficient (K : SmoothCoefficient period) | ||
| 39 | 39 | (‖K'‖ + 2 * transportEnergyConstant period K κ m B + |
| 40 | 40 | 2 * ν * heatEnergyConstant period K c) / (2 * c ^ 2) |
| 41 | 41 | |
| 42 | -/-- The finite Gevrey-weighted integral energy inequality derived from the actual viscous PDE. | |
| 43 | -The signed radius term is retained exactly, and no differentiability of the unregularized norm is assumed. -/ | |
| 44 | -theorem weighted_cylinder_energy_integral {α β : Type*} [Fintype α] [Fintype β] | |
| 45 | - (order : α → ℕ) (ρ ρ' : ℝ → ℝ) | |
| 46 | - (κ : ℝ) (m : Vector3) (K G : ℝ → SmoothCoefficient period) | |
| 47 | - (e e' p forcing : α → β → ℝ → LiftL2 period) (z : ℝ → LiftL2 period) | |
| 48 | - (s t c ν : ℝ) (K' : ℝ → LiftL2 period →L[ℝ] LiftL2 period) (B : ℝ → ℝ≥0) | |
| 49 | - (J : ∀ i j u, u ∈ Ioo s t → SpatialJet period standardDirection 2 (e i j u)) | |
| 50 | - (g : α → β → ℝ → LiftDomain period → Vector3) | |
| 51 | - (hrep : ∀ i j u, u ∈ Ioo s t → (e i j u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g i j u) | |
| 52 | - (hg : ∀ i j u, u ∈ Ioo s t → ∀ x, ContDiff ℝ ∞ (localFieldLift period (g i j u) x)) | |
| 53 | - (hDg : ∀ i j u, u ∈ Ioo s t → MemLp (fun x => fderiv ℝ (localFieldLift period (g i j u) x) 0) | |
| 54 | - 2 (liftMeasure period)) | |
| 55 | - (hst : s ≤ t) (hc : 0 < c) (hν : 0 ≤ ν) | |
| 56 | - (hρc : ContinuousOn ρ (Icc s t)) (hρpos : ∀ u ∈ Icc s t, 0 < ρ u) | |
| 57 | - (hρd : ∀ u ∈ Ioo s t, HasDerivAt ρ (ρ' u) u) | |
| 58 | - (hKc : ContinuousOn (fun u => (K u).operator) (Icc s t)) | |
| 59 | - (hec : ∀ i j, ContinuousOn (e i j) (Icc s t)) | |
| 60 | - (hKt : ∀ u ∈ Ioo s t, HasDerivAt (fun v => (K v).operator) (K' u) u) | |
| 61 | - (het : ∀ i j u, u ∈ Ioo s t → HasDerivAt (e i j) (e' i j u) u) | |
| 62 | - (hsym : ∀ u ∈ Ioo s t, ∀ x v w, | |
| 63 | - ⟪(K u).coefficient x v, w⟫_ℝ = ⟪v, (K u).coefficient x w⟫_ℝ) | |
| 64 | - (hpos : ∀ u ∈ Icc s t, ∀ x v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪(K u).coefficient x v, v⟫_ℝ) | |
| 65 | - (hKG : ∀ u ∈ Ioo s t, ∀ x v, (K u).coefficient x ((G u).coefficient x v) = v) | |
| 66 | - (hediv : ∀ i j u, u ∈ Ioo s t → e i j u ∈ divergenceFreeSpace period κ m) | |
| 67 | - (hp : ∀ i j u, u ∈ Ioo s t → p i j u ∈ gradientSpace period κ m) | |
| 68 | - (hz : ∀ u ∈ Ioo s t, z u ∈ divergenceFreeSpace period κ m) | |
| 69 | - (hzB : ∀ u ∈ Ioo s t, ∀ᵐ x ∂liftMeasure period, ‖z u x‖ ≤ B u) | |
| 70 | - (heq : ∀ i j u (hu : u ∈ Ioo s t), e' i j u + | |
| 71 | - EulerRepresentativeMetricEvolution.liftedTransport period κ m (g i j u) (z u) | |
| 72 | - (hDg i j u hu) (B u) (hzB u hu) + (G u).operator (p i j u) = | |
| 73 | - forcing i j u + ν • jetLaplacian period (J i j u hu)) | |
| 74 | - (hAint : ∀ i, IntegrableOn (fun u => weight (ρ u) (order i) * | |
| 75 | - viscousGrowthCoefficient period (K u) (K' u) κ m c ν (B u) + | |
| 76 | - (ρ' u / ρ u) * (order i : ℝ) * weight (ρ u) (order i)) (Icc s t)) | |
| 77 | - (hFint : ∀ i, IntegrableOn (fun u => weight (ρ u) (order i) * | |
| 78 | - ((((K u).bound : ℝ) / c) * familyNorm (fun j => forcing i j u))) (Icc s t)) : | |
| 79 | - weightedMetricSum (ρ t) order (K t).operator (fun i j => e i j t) - | |
| 80 | - weightedMetricSum (ρ s) order (K s).operator (fun i j => e i j s) ≤ | |
| 81 | - ∫ u in s..t, | |
| 82 | - viscousGrowthCoefficient period (K u) (K' u) κ m c ν (B u) * | |
| 83 | - weightedMetricSum (ρ u) order (K u).operator (fun i j => e i j u) + | |
| 84 | - (ρ' u / ρ u) * weightedMetricLoss (ρ u) order (K u).operator (fun i j => e i j u) + | |
| 85 | - (((K u).bound : ℝ) / c) * weightedForcingSum (ρ u) order (fun i j => forcing i j u) := by | |
| 86 | - let Q := fun i u => familyEnergy (K u).operator (fun j => e i j u) | |
| 87 | - let a := fun u => viscousGrowthCoefficient period (K u) (K' u) κ m c ν (B u) | |
| 88 | - let F := fun i u => (((K u).bound : ℝ) / c) * familyNorm (fun j => forcing i j u) | |
| 89 | - let w := fun i u => weight (ρ u) (order i) | |
| 90 | - let w' := fun i u => (ρ' u / ρ u) * (order i : ℝ) * weight (ρ u) (order i) | |
| 91 | - let A := fun i u => w i u * a u + w' i u | |
| 92 | - let Ψ := fun i u => A i u * √(Q i u) + w i u * F i u | |
| 93 | - have hQ (i : α) : ContinuousOn (Q i) (Icc s t) := | |
| 94 | - continuousOn_finsetSum Finset.univ (fun j _ => (hKc.clm_apply (hec i j)).inner (hec i j)) | |
| 95 | - have hQ0 (i : α) (u : ℝ) (hu : u ∈ Icc s t) : 0 ≤ Q i u := by | |
| 96 | - have hcoer : ∀ v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪(K u).operator v, v⟫_ℝ := | |
| 97 | - coefficientOperator_coercive (K u).coefficient (K u).measurable (K u).bound | |
| 98 | - (K u).norm_bound (c ^ 2) (hpos u hu) | |
| 99 | - exact (mul_nonneg (sq_nonneg c) (familySquaredNorm_nonneg _)).trans | |
| 100 | - (familyEnergy_coercive (K u).operator (fun j => e i j u) c hcoer) | |
| 101 | - have hregd (i : α) (δ : ℝ) (hδ : 0 < δ) (u : ℝ) (hu : u ∈ Ioo s t) : | |
| 102 | - DifferentiableAt ℝ (fun v => √(Q i v + δ ^ 2)) u := by | |
| 103 | - have hsymL : ∀ v w, ⟪(K u).operator v, w⟫_ℝ = ⟪v, (K u).operator w⟫_ℝ := | |
| 104 | - coefficientOperator_inner_swap (K u).coefficient (K u).measurable | |
| 105 | - (K u).bound (K u).norm_bound (hsym u hu) | |
| 106 | - have hd : HasDerivAt (Q i) (∑ j, (⟪K' u (e i j u), e i j u⟫_ℝ + | |
| 107 | - 2 * ⟪(K u).operator (e i j u), e' i j u⟫_ℝ)) u := | |
| 108 | - HasDerivAt.fun_sum (u := Finset.univ) (fun j _ => | |
| 109 | - metric_energy_hasDerivAt (fun v => (K v).operator) (e i j) u (K' u) (e' i j u) | |
| 110 | - (hKt u hu) (het i j u hu) hsymL) | |
| 111 | - have hq := hQ0 i u ⟨hu.1.le, hu.2.le⟩ | |
| 112 | - exact (HasDerivAt.sqrt (hd.add_const (δ ^ 2)) (by nlinarith : Q i u + δ ^ 2 ≠ 0)).differentiableAt | |
| 113 | - have hreg (i : α) (δ : ℝ) (hδ : 0 < δ) (u : ℝ) (hu : u ∈ Ioo s t) : | |
| 114 | - deriv (fun v => √(Q i v + δ ^ 2)) u ≤ a u * √(Q i u + δ ^ 2) + F i u := by | |
| 115 | - exact finite_cylinder_viscous_energy period κ m K (G u) (e i) u δ c ν (K' u) | |
| 116 | - (fun j => e' i j u) (fun j => p i j u) (fun j => forcing i j u) (z u) | |
| 117 | - (fun j => J i j u hu) (fun j => g i j u) (fun j => hrep i j u hu) (fun j => hg i j u hu) | |
| 118 | - (fun j => hDg i j u hu) hδ hc hν (hKt u hu) (fun j => het i j u hu) | |
| 119 | - (hsym u hu) (hpos u ⟨hu.1.le, hu.2.le⟩) (hKG u hu) (fun j => hediv i j u hu) | |
| 120 | - (fun j => hp i j u hu) (hz u hu) (B u) (hzB u hu) (fun j => heq i j u hu) | |
| 121 | - have hi (i : α) : w i t * √(Q i t) - w i s * √(Q i s) ≤ ∫ u in s..t, Ψ i u := by | |
| 122 | - apply weighted_root_integral_of_deriv_bound (Q i) a (F i) (w i) (w' i) s t | |
| 123 | - hst (hQ i) (hQ0 i) ?_ ?_ ?_ (hregd i) (hreg i) (hAint i) (hFint i) | |
| 124 | - · exact (hρc.pow (order i)).div_const (((order i).factorial : ℝ) ^ 2) | |
| 125 | - · intro u hu | |
| 126 | - exact (weight_pos (hρpos u ⟨hu.1.le, hu.2.le⟩) (order i)).le | |
| 127 | - · intro u hu | |
| 128 | - exact weight_hasDerivAt ρ (ρ' u) u (hρd u hu) (hρpos u ⟨hu.1.le, hu.2.le⟩) (order i) | |
| 129 | - have hΨ (i : α) : IntervalIntegrable (Ψ i) volume s t := by | |
| 130 | - apply (intervalIntegrable_iff_integrableOn_Icc_of_le hst).mpr | |
| 131 | - exact ((hAint i).mul_continuousOn (hQ i).sqrt isCompact_Icc).add (hFint i) | |
| 132 | - have hsum := Finset.sum_le_sum (fun i (_ : i ∈ (Finset.univ : Finset α)) => hi i) | |
| 133 | - rw [Finset.sum_sub_distrib] at hsum | |
| 134 | - rw [← intervalIntegral.integral_finsetSum (fun i _ => hΨ i)] at hsum | |
| 135 | - have halg (u : ℝ) : (∑ i, Ψ i u) = | |
| 136 | - a u * weightedMetricSum (ρ u) order (K u).operator (fun i j => e i j u) + | |
| 137 | - (ρ' u / ρ u) * weightedMetricLoss (ρ u) order (K u).operator (fun i j => e i j u) + | |
| 138 | - (((K u).bound : ℝ) / c) * weightedForcingSum (ρ u) order (fun i j => forcing i j u) := by | |
| 139 | - simp only [Ψ, A, w, w', F, Q, weightedMetricSum, weightedMetricLoss, weightedForcingSum, | |
| 140 | - familyMetricNorm, add_mul, Finset.sum_add_distrib, Finset.mul_sum] | |
| 141 | - simp only [mul_comm, mul_left_comm, mul_assoc] | |
| 142 | - simpa only [halg, w, Q, a, weightedMetricSum, familyMetricNorm] using hsum | |
| 143 | - | |
| 144 | 42 | end EulerWeightedCylinderEnergy |
+0 −11 Euler/WeightedForcingAlgebra.lean View file
| @@ -47,15 +47,4 @@ theorem weightedForcingSum_neg (ρ : ℝ) (order : α → ℕ) (f : α → β | ||
| 47 | 47 | weightedForcingSum ρ order (-f) = weightedForcingSum ρ order f := by |
| 48 | 48 | simp only [weightedForcingSum, Pi.neg_apply, familyNorm_neg] |
| 49 | 49 | |
| 50 | -/-- The forcing norm of a sum is controlled by the sum of the norms of its actual terms. -/ | |
| 51 | -theorem weightedForcingSum_sum_le {ι : Type*} (ρ : ℝ) (hρ : 0 < ρ) (order : α → ℕ) | |
| 52 | - (S : Finset ι) (f : ι → α → β → H) : | |
| 53 | - weightedForcingSum ρ order (∑ i ∈ S, f i) ≤ ∑ i ∈ S, weightedForcingSum ρ order (f i) := by | |
| 54 | - classical | |
| 55 | - induction S using Finset.induction_on with | |
| 56 | - | empty => simp [weightedForcingSum, familyNorm, familySquaredNorm] | |
| 57 | - | @insert i S hi ih => | |
| 58 | - rw [Finset.sum_insert hi, Finset.sum_insert hi] | |
| 59 | - exact (weightedForcingSum_add_le ρ hρ order (f i) (∑ j ∈ S, f j)).trans (add_le_add le_rfl ih) | |
| 60 | - | |
| 61 | 50 | end EulerWeightedForcingAlgebra |
+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 | -- [mind, checked] A pending build is a queue, not a failure: builds on `s1-euler-*` submitted 16:08–16:17 were running at 16:17 while challenge passes landed 16:11–16:17, and the earliest filed success at 16:25–16:27, about 15 minutes later (job 2965, commit 22d3f8e, commit 280a7fa). | |
| 20 | -- [mind, checked] A challenge verdict counts its own head's tree: main read 2,647 Lean files and 633,913 lines at 14:49 and 2,592 and 617,861 at 15:57, while `s1-ns-*` heads read 2,590 files with 615,069–617,130 lines, so a count snapshots one tree (commit 8ad63a7, commit e4d5bfd, commit 014da1d). | |
| 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 | +- A pending build is a queue, not a failure: builds submitted 12-04 16:10–16:37 were still running at 17:00, some starting only 16:30–16:52, while 39 build successes for other heads landed 16:52–16:59 (job 3157, job 3258, job 3400, commit 014da1d). | |
| 20 | +- [mind, checked] A challenge verdict counts its own head's tree: successes at 12-04 16:42–16:44 read 2,589–2,590 Lean files and 609,889–615,327 lines, main's heads 609,889–614,223, so a count snapshots one tree (commit af5b347, commit 0a679eb, commit 127f8c0, commit cb98f62). | |
| 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 −55 NavierStokes/ActualBaseResidual.lean View file
| @@ -813,16 +813,6 @@ theorem basePressure_eq_fixedPressure (n : ℕ) (x : Full) : | ||
| 813 | 813 | basePressure H v upper B n x = fixedPressure H v upper B n x.1 := |
| 814 | 814 | basePressure_angle_eq H v upper B n x.1 x.2 |
| 815 | 815 | |
| 816 | -/-- Full band transition. The auxiliary cover is arbitrary because this is | |
| 817 | -the same physical base field on every free lift. -/ | |
| 818 | -theorem basePressure_band (n m k : ℕ) (x : Point) (theta : ℝ) : | |
| 819 | - basePressure H v upper B n (x, theta) = | |
| 820 | - (ChartScales.Q n / ChartScales.Q m) ^ (2 * CoordinateAlgebra.A F.data.h) * | |
| 821 | - basePressure H v upper B m (GaugeStateCoherence.bandChartEquiv F.data.h n m k x, theta) := by | |
| 822 | - simp only [basePressure, pressureAtScale, physicalPoint_bandChart] | |
| 823 | - rw [← mul_assoc, mul_comm ((ChartScales.Q n / ChartScales.Q m) ^ _) (ChartScales.Q m ^ _), | |
| 824 | - band_power_product] | |
| 825 | - | |
| 826 | 816 | theorem baseError_band (n m k : ℕ) (x : Point) (theta : ℝ) (i : Fin 3) : |
| 827 | 817 | baseError H v upper B n (x, theta) i = |
| 828 | 818 | (ChartScales.Q n / ChartScales.Q m) ^ (2 * CoordinateAlgebra.A F.data.h + 1 / 2) * |
| @@ -864,21 +854,6 @@ theorem errorState_band (U : Set Point) (n m k : ℕ) : | ||
| 864 | 854 | · intro x hx theta i; simp [errorState] |
| 865 | 855 | · intro x hx theta i; simp [errorState] |
| 866 | 856 | |
| 867 | -theorem fixedPressure_band (U : Set Point) (n m k : ℕ) : | |
| 868 | - PhysicalResidualNaturality.ScalarOn U (GaugeStateCoherence.bandChartEquiv F.data.h n m k) | |
| 869 | - (GaugeStateCoherence.bandVelocityScale F.data.h n m * | |
| 870 | - GaugeStateCoherence.bandVelocityScale F.data.h n m) | |
| 871 | - (fixedPressure H v upper B n) (fixedPressure H v upper B m) := by | |
| 872 | - intro x hx | |
| 873 | - have hp : GaugeStateCoherence.bandVelocityScale F.data.h n m * | |
| 874 | - GaugeStateCoherence.bandVelocityScale F.data.h n m = | |
| 875 | - (ChartScales.Q n / ChartScales.Q m) ^ (2 * CoordinateAlgebra.A F.data.h) := by | |
| 876 | - unfold GaugeStateCoherence.bandVelocityScale | |
| 877 | - rw [← Real.rpow_add (div_pos (ChartScales.Q_pos n) (ChartScales.Q_pos m))] | |
| 878 | - congr 1 | |
| 879 | - ring | |
| 880 | - simpa only [fixedPressure, hp] using basePressure_band H v upper B n m k x 0 | |
| 881 | - | |
| 882 | 857 | |
| 883 | 858 | /-- The actual excluded error has no angular dependence on positive time |
| 884 | 859 | and radius; this follows from the proved base equation. -/ |
| @@ -919,36 +894,6 @@ theorem baseError_angle_eq (n : ℕ) {x : Point} (hR : 0 < x.1) (hT : 0 < x.2.1. | ||
| 919 | 894 | exact add_left_cancel he |
| 920 | 895 | |
| 921 | 896 | |
| 922 | -theorem baseError_auxiliary_eq (n : ℕ) (R : ℝ) (s Y Y' : ℝ × ℝ) (theta : ℝ) : | |
| 923 | - baseError H v upper B n ((R, (s, Y)), theta) = | |
| 924 | - baseError H v upper B n ((R, (s, Y')), theta) := rfl | |
| 925 | - | |
| 926 | -theorem basePressure_auxiliary_eq (n : ℕ) (R : ℝ) (s Y Y' : ℝ × ℝ) (theta : ℝ) : | |
| 927 | - basePressure H v upper B n ((R, (s, Y)), theta) = | |
| 928 | - basePressure H v upper B n ((R, (s, Y')), theta) := rfl | |
| 929 | - | |
| 930 | -/-- Fixed-band common-cover specialization of the same physical error field. -/ | |
| 931 | -theorem errorState_common (U : Set Point) (n k : ℕ) : | |
| 932 | - PhysicalResidualNaturality.StateOn U (CommonBaseContext.coverLift k) 1 1 | |
| 933 | - (errorState H v upper B) (errorState H v upper B) n n := by | |
| 934 | - refine ⟨⟨?_, ?_, ?_⟩, ?_, ?_, ?_, ?_, ?_, ?_⟩ | |
| 935 | - · intro x hx; simp [errorState] | |
| 936 | - · intro x hx; simp [errorState] | |
| 937 | - · intro x hx; simp [errorState] | |
| 938 | - · intro x hx; simp [errorState] | |
| 939 | - · intro x hx theta i; simp [errorState] | |
| 940 | - · intro x hx theta; simp [errorState] | |
| 941 | - · intro x hx theta i | |
| 942 | - simp [errorState, baseError, errorAtScale, physicalPoint, cylinderPoint] | |
| 943 | - · intro x hx theta i; simp [errorState] | |
| 944 | - · intro x hx theta i; simp [errorState] | |
| 945 | - | |
| 946 | -theorem fixedPressure_common (U : Set Point) (n k : ℕ) : | |
| 947 | - PhysicalResidualNaturality.ScalarOn U (CommonBaseContext.coverLift k) 1 | |
| 948 | - (fixedPressure H v upper B n) (fixedPressure H v upper B n) := by | |
| 949 | - intro x hx | |
| 950 | - simp [fixedPressure, basePressure, pressureAtScale, physicalPoint, cylinderPoint] | |
| 951 | - | |
| 952 | 897 | end Actual |
| 953 | 898 | |
| 954 | 899 | end NavierStokes.ActualBaseResidual |
+0 −21 NavierStokes/ActualBaseVelocityBounds.lean View file
| @@ -402,10 +402,6 @@ theorem heatLoss_controls_middle {h : ℝ} (hh1 : h < 1 / 2) (m : ℕ) : | ||
| 402 | 402 | have hm : 0 ≤ (m : ℝ) := by positivity |
| 403 | 403 | linarith |
| 404 | 404 | |
| 405 | -theorem heatLoss_mono {n m : ℕ} (hnm : n ≤ m) : heatLoss n ≤ heatLoss m := by | |
| 406 | - unfold heatLoss powerLoss | |
| 407 | - gcongr | |
| 408 | - | |
| 409 | 405 | section Actual |
| 410 | 406 | |
| 411 | 407 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| @@ -535,23 +531,6 @@ theorem velocity_rate (upper : ℝ) (B m : ℕ) : | ||
| 535 | 531 | exact (restricted_mem endpoint Sᶜ).mono (fun _ hz => |
| 536 | 532 | (outer_lt_box (W := W) upper).trans (lt_of_not_ge hz)) |
| 537 | 533 | |
| 538 | -/-- A common constant and neighborhood control the entire finite jet. -/ | |
| 539 | -theorem velocity_finite_rate (upper : ℝ) (B m : ℕ) : | |
| 540 | - FiniteJetRate endpoint (PhysicalWaveSum.physicalQ F.data.h) (FinalSlowBase.velocity H v upper B) | |
| 541 | - m (-heatLoss m) := by | |
| 542 | - have hq := endpoint_q_small F.data.h_pos F.data.h_lt_half | |
| 543 | - apply finiteJetRate_of_jetRate (hq.mono (fun _ hz => hz.1)) | |
| 544 | - intro i hi | |
| 545 | - exact (velocity_rate H v upper B i).weaken hq (neg_le_neg (heatLoss_mono hi)) | |
| 546 | - | |
| 547 | -/-- Public statement with the endpoint filter and existential loss explicit. -/ | |
| 548 | -theorem exists_fixed_loss (upper : ℝ) (B : ℕ) : | |
| 549 | - ∀ m : ℕ, ∃ L : ℝ, 0 ≤ L ∧ | |
| 550 | - JetRate (𝓝[SpacetimeEndpoint.openPast 1] (1, (0 : Space))) | |
| 551 | - (PhysicalWaveSum.physicalQ F.data.h) (FinalSlowBase.velocity H v upper B) m (-L) := by | |
| 552 | - intro m | |
| 553 | - exact ⟨heatLoss m, heatLoss_nonneg m, velocity_rate H v upper B m⟩ | |
| 554 | - | |
| 555 | 534 | end Actual |
| 556 | 535 | |
| 557 | 536 | end NavierStokes.ActualBaseVelocityBounds |
+0 −30 NavierStokes/ActualCandidateAssembly.lean View file
| @@ -132,15 +132,6 @@ theorem initialPressure_support (B N0 : ℕ) : | ||
| 132 | 132 | rw [initialPressure, ActualCandidateConstruction.pressureMeanStages_zero] |
| 133 | 133 | exact PhysicalStageSupport.support_add hw hm |
| 134 | 134 | |
| 135 | -theorem initialDirect_support (B N0 : ℕ) : | |
| 136 | - MixedDiagonalExtensions.SublevelShrinkingSupport h PhysicalStageSupport.actualOuterConstant | |
| 137 | - (ActualCandidateConstruction.qbig B N0) (initialDirect B N0) := by | |
| 138 | - have hm := (ActualMeanStageData.initial_shrinkingSupport B N0 | |
| 139 | - (ActualCandidateConstruction.firstBand B N0) (ActualCandidateConstruction.qbig B N0) le_rfl).1 | |
| 140 | - erw [ActualMeanStageData.initialAngularSupport_field] at hm | |
| 141 | - simp only [initialDirect, ActualCandidateConstruction.angularMeanStages_zero] | |
| 142 | - exact hm | |
| 143 | - | |
| 144 | 135 | theorem initialPotential_axisZeroOn (B N0 : ℕ) : |
| 145 | 136 | GermCandidateAssembly.AxisZeroOn |
| 146 | 137 | (MixedAxisPreservation.localDomain h (ActualCandidateConstruction.qbig B N0)) |
| @@ -217,16 +208,6 @@ theorem zerothPotential_eq_initialPotential (B N0 : ℕ) : | ||
| 217 | 208 | rw [zerothPotential, initialPotential_eq_increment] |
| 218 | 209 | rfl |
| 219 | 210 | |
| 220 | -theorem zerothPotential_smooth (B N0 : ℕ) : | |
| 221 | - ContDiffOn ℝ ∞ (zerothPotential B N0) (ActualCandidateConstruction.physicalDomain B N0) := by | |
| 222 | - rw [zerothPotential_eq_initialPotential] | |
| 223 | - exact ActualPhysicalStageBounds.initialPotential_smooth certificate modulation upper B _ _ _ le_rfl le_rfl | |
| 224 | - | |
| 225 | -theorem zerothPressure_smooth (B N0 : ℕ) : | |
| 226 | - ContDiffOn ℝ ∞ (zerothPressure B N0) (ActualCandidateConstruction.physicalDomain B N0) := | |
| 227 | - ((FinalSlowBase.pressure_smooth certificate modulation upper B).mono | |
| 228 | - (fun _ hw => ⟨hw.1, mem_univ _⟩)).add (initialPressure_smooth B N0) | |
| 229 | - | |
| 230 | 211 | /-! ## The particular fields come from the same current state |
| 231 | 212 | |
| 232 | 213 | The valid-band representative uses the common physical floor. Its local |
| @@ -859,13 +840,6 @@ theorem signedPotential_smooth (B N0 : ℕ) | ||
| 859 | 840 | outgoing.data.h_pos outgoing.data.h_lt_half).congr |
| 860 | 841 | (fun _ hw => (signedPotential_eq_native B N0 hN j hw).symm) |
| 861 | 842 | |
| 862 | -theorem signedPressure_smooth (B N0 : ℕ) | |
| 863 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : | |
| 864 | - ContDiffOn ℝ ∞ (signedPressure B N0 hN j) PhysicalWaveSum.preterminal := | |
| 865 | - (((ActualSignedWaveData.signedInputs B N0 hN).pressure j).pressure_smooth | |
| 866 | - outgoing.data.h_pos outgoing.data.h_lt_half).congr | |
| 867 | - (fun _ hw => (signedPressure_eq_native B N0 hN j hw).symm) | |
| 868 | - | |
| 869 | 843 | theorem representations (B N0 : ℕ) |
| 870 | 844 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) : |
| 871 | 845 | GluedStageEstimates.ActualRepresentations (runData B N0 hN) (meanCycleInput B N0 hN) |
| @@ -1180,8 +1154,4 @@ theorem selected_witness : | ||
| 1180 | 1154 | witness ActualCandidateConstruction.selectedBudget ActualCandidateConstruction.selectedThreshold |
| 1181 | 1155 | ActualCandidateConstruction.selectedThreshold_geometry |
| 1182 | 1156 | |
| 1183 | -theorem selected_candidate : ProblemStatement.candidateStatement := by | |
| 1184 | - obtain ⟨a, _, ea, eb, ep, forcing, hc, _⟩ := selected_witness | |
| 1185 | - exact ⟨_, _, forcing, hc⟩ | |
| 1186 | - | |
| 1187 | 1157 | end NavierStokes.ActualCandidateAssembly |
+0 −293 NavierStokes/ActualCandidateConstruction.lean View file
| @@ -44,33 +44,12 @@ noncomputable def cycle (B N0 : ℕ) : ℕ → CycleState (Index B N0) := | ||
| 44 | 44 | @[simp] theorem cycle_zero (B N0 : ℕ) : |
| 45 | 45 | cycle B N0 0 = ActualInitialization.initialCycleState B N0 := rfl |
| 46 | 46 | |
| 47 | -theorem cycle_succ (B N0 j : ℕ) : | |
| 48 | - cycle B N0 (j + 1) = (cycle B N0 j).step (parameters B N0) (commonContext B) := rfl | |
| 49 | - | |
| 50 | -theorem cycle_labels (B N0 j : ℕ) : | |
| 51 | - (cycle B N0 j).coefficients.labels = activeLabels standardRegion B N0 := by | |
| 52 | - induction j with | |
| 53 | - | zero => rfl | |
| 54 | - | succ j ih => exact ih | |
| 55 | - | |
| 56 | -theorem cycle_aliasCoefficients (B N0 j : ℕ) : | |
| 57 | - (cycle B N0 j).coefficients.aliasCoefficients = fun _ => 0 := by | |
| 58 | - induction j with | |
| 59 | - | zero => rfl | |
| 60 | - | succ j ih => exact ih | |
| 61 | - | |
| 62 | 47 | theorem cycle_carrier (B N0 j : ℕ) (l : Index B N0) : |
| 63 | 48 | SameCarrier ((cycle B N0 j).coefficients.blocks l) (ActualInitialization.tangentBlock l) := by |
| 64 | 49 | induction j with |
| 65 | 50 | | zero => exact ActualInitialization.primary_tangent_carrier l |
| 66 | 51 | | succ j ih => exact ⟨ih.frequency, ih.phase, ih.angular⟩ |
| 67 | 52 | |
| 68 | -/-- Recomputing the actual constructor at this state selects precisely | |
| 69 | -the fixed parameters used by the recurrence. -/ | |
| 70 | -theorem current_parameters (B N0 j : ℕ) : | |
| 71 | - ActualCycleParameters.parameters (cycle B N0 j) = parameters B N0 := | |
| 72 | - ActualCycleParameters.parameters_eq_fixed _ (cycle_carrier B N0 j) | |
| 73 | - | |
| 74 | 53 | theorem cycle_signed_carrier (B N0 j : ℕ) (l : Index B N0) : |
| 75 | 54 | SameCarrier ((cycle B N0 j).coefficients.blocks l) |
| 76 | 55 | ((parameters B N0).signedBlock (cycle B N0 j).coefficients (commonContext B) |
| @@ -84,22 +63,6 @@ theorem cycle_representation (B N0 j : ℕ) : | ||
| 84 | 63 | (ActualInitialization.initialCycleState B N0) (ActualInitialization.initialCycleState_represents B N0) |
| 85 | 64 | (cycle_signed_carrier B N0) j |
| 86 | 65 | |
| 87 | -theorem cycle_coefficientBands (B N0 j : ℕ) : | |
| 88 | - CoefficientBands (cycle B N0 j).coefficients := | |
| 89 | - CycleState.iterate_bands (parameterSequence B N0) (commonContext B) | |
| 90 | - (ActualInitialization.initialCycleState B N0) (ActualInitialization.coefficients_band B N0) j | |
| 91 | - | |
| 92 | -theorem cycle_residualBand (B N0 j : ℕ) : | |
| 93 | - (cycle B N0 j).coefficients.residualBand = 2 ^ (j + 1) := by | |
| 94 | - induction j with | |
| 95 | - | zero => rfl | |
| 96 | - | succ j ih => | |
| 97 | - change 2 * max (cycle B N0 j).coefficients.residualBand 1 = 2 ^ (j + 1 + 1) | |
| 98 | - have hp : 1 ≤ (2 : ℕ) ^ (j + 1) := Nat.succ_le_iff.mpr (by positivity) | |
| 99 | - rw [ih, max_eq_left hp] | |
| 100 | - simp only [pow_succ] | |
| 101 | - ring | |
| 102 | - | |
| 103 | 66 | theorem cycle_base_error (B N0 j : ℕ) : |
| 104 | 67 | (cycle B N0 j).state.errors.base = ActualInitialization.baseError B := by |
| 105 | 68 | induction j with |
| @@ -110,56 +73,15 @@ theorem cycle_base_error (B N0 j : ℕ) : | ||
| 110 | 73 | rw [CycleParameters.next_base_error] |
| 111 | 74 | exact ih |
| 112 | 75 | |
| 113 | -theorem cycle_reconstructed (B N0 j : ℕ) : | |
| 114 | - (VariableGaugeMean.reconstructState commonGauge (commonContext B) (cycle B N0 j).state).pressure = | |
| 115 | - (cycle B N0 j).state.pressure := by | |
| 116 | - cases j with | |
| 117 | - | zero => exact congrArg State.pressure (ActualInitialization.initialState_reconstructed B N0) | |
| 118 | - | succ j => | |
| 119 | - exact (parameters B N0).next_reconstructed (cycle B N0 j).coefficients | |
| 120 | - (commonContext B) (cycle B N0 j).state | |
| 121 | - | |
| 122 | -noncomputable def initialTemporalAlias (B N0 : ℕ) : Oscillation Point := | |
| 123 | - VariableGaugeMean.temporalAliasState commonGauge h (CorrectionInitialization.CommonWindow.index h) | |
| 124 | - (commonContext B) (ActualInitialization.primaryState B N0) | |
| 125 | - | |
| 126 | -noncomputable def temporalAlias (B N0 j : ℕ) : Oscillation Point := | |
| 127 | - CycleStateCoherence.temporalAliasAt (parameterSequence B N0) (commonContext B) | |
| 128 | - (ActualInitialization.initialCycleState B N0) j | |
| 129 | - | |
| 130 | -/-- Every earlier temporal alias and exactly the current pressure alias | |
| 131 | -remain present, with the signs inherited from the actual state updates. -/ | |
| 132 | -theorem cycle_alias_error (B N0 J : ℕ) : | |
| 133 | - (cycle B N0 J).state.errors.aliasError = initialTemporalAlias B N0 + | |
| 134 | - (∑ j ∈ Finset.range J, temporalAlias B N0 j) + | |
| 135 | - VariableGaugeMean.pressureAliasState commonGauge (commonContext B) (cycle B N0 J).state := by | |
| 136 | - apply CycleStateCoherence.iterate_alias_separated (parameterSequence B N0) (commonContext B) | |
| 137 | - (ActualInitialization.initialCycleState B N0) commonGauge (fun _ => rfl) | |
| 138 | - (initialTemporalAlias B N0) | |
| 139 | - exact (ActualInitialization.initialState_error_components B N0).2.2 | |
| 140 | - | |
| 141 | 76 | /-- One positive band floor is retained for every physical stage. -/ |
| 142 | 77 | noncomputable def firstBand (B N0 : ℕ) : ℕ := max 4 (ActualCycleParameters.bandFloor B N0) |
| 143 | 78 | |
| 144 | 79 | theorem firstBand_four (B N0 : ℕ) : 4 ≤ firstBand B N0 := le_max_left _ _ |
| 145 | 80 | |
| 146 | -theorem firstBand_pos (B N0 : ℕ) : 1 ≤ firstBand B N0 := | |
| 147 | - (by norm_num : 1 ≤ (4 : ℕ)).trans (firstBand_four B N0) | |
| 148 | - | |
| 149 | -theorem firstBand_ge_choice (B N0 : ℕ) : | |
| 150 | - ActualCycleParameters.bandFloor B N0 ≤ firstBand B N0 := le_max_right _ _ | |
| 151 | - | |
| 152 | -theorem firstBand_ge (B N0 : ℕ) : N0 ≤ firstBand B N0 := | |
| 153 | - (ActualCycleParameters.bandFloor_ge B N0).trans (firstBand_ge_choice B N0) | |
| 154 | - | |
| 155 | 81 | noncomputable def qbig (B N0 : ℕ) : ℝ := ChartScales.Q (firstBand B N0) |
| 156 | 82 | |
| 157 | 83 | theorem qbig_pos (B N0 : ℕ) : 0 < qbig B N0 := ChartScales.Q_pos _ |
| 158 | 84 | |
| 159 | -theorem qbig_le_choice (B N0 : ℕ) : | |
| 160 | - qbig B N0 ≤ ChartScales.Q (ActualCycleParameters.bandFloor B N0) := | |
| 161 | - ActualPrimaryCovariance.Q_antitone (firstBand_ge_choice B N0) | |
| 162 | - | |
| 163 | 85 | /-- One extra comparison band keeps every native point with `q/Q < 2` |
| 164 | 86 | inside the original raw field's validity domain. -/ |
| 165 | 87 | noncomputable def residualBand (B N0 : ℕ) : ℕ := firstBand B N0 + 1 |
| @@ -177,29 +99,9 @@ theorem twice_residual_scale (B N0 : ℕ) : | ||
| 177 | 99 | Real.rpow_add (by norm_num : (0 : ℝ) < 2), Real.rpow_neg_one] |
| 178 | 100 | ring |
| 179 | 101 | |
| 180 | -theorem nativeScale_lt_qbig (B N0 n : ℕ) (hn : residualBand B N0 ≤ n) | |
| 181 | - {r : ℝ} (hr : r < 2) : ChartScales.Q n * r < qbig B N0 := by | |
| 182 | - calc | |
| 183 | - ChartScales.Q n * r < ChartScales.Q n * 2 := | |
| 184 | - mul_lt_mul_of_pos_left hr (ChartScales.Q_pos n) | |
| 185 | - _ ≤ ChartScales.Q (residualBand B N0) * 2 := | |
| 186 | - mul_le_mul_of_nonneg_right (ActualPrimaryCovariance.Q_antitone hn) (by norm_num) | |
| 187 | - _ = qbig B N0 := by rw [mul_comm, twice_residual_scale] | |
| 188 | - | |
| 189 | 102 | noncomputable def physicalDomain (B N0 : ℕ) : Set SpaceTime := |
| 190 | 103 | CutStageEstimates.physicalSublevel h (qbig B N0) |
| 191 | 104 | |
| 192 | -theorem physicalDomain_open (B N0 : ℕ) : IsOpen (physicalDomain B N0) := | |
| 193 | - CutStageEstimates.physicalSublevel_open outgoing.data.h_pos outgoing.data.h_lt_half _ | |
| 194 | - | |
| 195 | -theorem initial_invariant (B N0 : ℕ) : | |
| 196 | - CycleAnalyticInvariant ActualInitialization.geometry (commonContext B) | |
| 197 | - (ActualInitialization.tangentBlock (B := B) (N0 := N0)) | |
| 198 | - ActualInitialization.envelope ActualInitialization.labelCarrier | |
| 199 | - (ActualIterationLedger.sigma 0) (cycle B N0 0) := by | |
| 200 | - simp only [ActualIterationLedger.sigma_zero] | |
| 201 | - exact ActualInitialization.initial_invariant B N0 | |
| 202 | - | |
| 203 | 105 | /-! ## One selected initialization -/ |
| 204 | 106 | |
| 205 | 107 | noncomputable def selectedBudget : ℕ := 0 |
| @@ -209,24 +111,8 @@ noncomputable def selectedThreshold : ℕ := ActualCarrierGeometry.startingThres | ||
| 209 | 111 | theorem selectedThreshold_geometry : ActualCarrierGeometry.geometricThreshold ≤ selectedThreshold := |
| 210 | 112 | ActualCarrierGeometry.geometricThreshold_le_startingThreshold 0 |
| 211 | 113 | |
| 212 | -noncomputable def selectedCycle : ℕ → CycleState (Index selectedBudget selectedThreshold) := | |
| 213 | - cycle selectedBudget selectedThreshold | |
| 214 | - | |
| 215 | 114 | noncomputable def selectedQbig : ℝ := qbig selectedBudget selectedThreshold |
| 216 | 115 | |
| 217 | -theorem selectedQbig_pos : 0 < selectedQbig := qbig_pos _ _ | |
| 218 | - | |
| 219 | -theorem selected_initial_invariant : | |
| 220 | - CycleAnalyticInvariant ActualInitialization.geometry (commonContext selectedBudget) | |
| 221 | - (ActualInitialization.tangentBlock (B := selectedBudget) (N0 := selectedThreshold)) | |
| 222 | - ActualInitialization.envelope ActualInitialization.labelCarrier | |
| 223 | - (ActualIterationLedger.sigma 0) (selectedCycle 0) := initial_invariant _ _ | |
| 224 | - | |
| 225 | -theorem selected_initial_meanHypotheses : | |
| 226 | - LiftedMeanResidual.MeanHypotheses ActualInitialMeanEquation.strip.domain | |
| 227 | - (commonContext selectedBudget) (selectedCycle 0).state := | |
| 228 | - ActualInitialMeanEquation.initialized_meanHypotheses _ _ | |
| 229 | - | |
| 230 | 116 | /-! ## Exact finite physical prefixes in any valid polar chart -/ |
| 231 | 117 | |
| 232 | 118 | noncomputable def graph (n : ℕ) : PhysicalResidualBridge.ScaledGraph := |
| @@ -235,16 +121,6 @@ noncomputable def graph (n : ℕ) : PhysicalResidualBridge.ScaledGraph := | ||
| 235 | 121 | noncomputable def basePressure (B n : ℕ) : Full → ℝ := |
| 236 | 122 | ActualBaseResidual.basePressure certificate modulation upper B n |
| 237 | 123 | |
| 238 | -noncomputable def chartVelocity (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n j : ℕ) : VelocityField := | |
| 239 | - CyclePhysicalPrefixes.velocity a i (graph n) n (commonContext B) (cycle B N0 j).state | |
| 240 | - | |
| 241 | -noncomputable def chartPressure (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n j : ℕ) : PressureField := | |
| 242 | - CyclePhysicalPrefixes.pressure a i (graph n) n (basePressure B n) (cycle B N0 j).state | |
| 243 | - | |
| 244 | -noncomputable def chartVelocityStages (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n : ℕ) : ℕ → VelocityField := | |
| 245 | - CyclePhysicalPrefixes.velocityStages (parameterSequence B N0) (commonContext B) | |
| 246 | - (ActualInitialization.initialCycleState B N0) a i (graph n) n | |
| 247 | - | |
| 248 | 124 | noncomputable def chartPressureStages (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n : ℕ) : ℕ → PressureField := |
| 249 | 125 | CyclePhysicalPrefixes.pressureStages (parameterSequence B N0) (commonContext B) |
| 250 | 126 | (ActualInitialization.initialCycleState B N0) a i (graph n) n (basePressure B n) |
| @@ -257,94 +133,10 @@ noncomputable def chartDirectStages (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Inde | ||
| 257 | 133 | CyclePhysicalPrefixes.directStages (parameterSequence B N0) (commonContext B) |
| 258 | 134 | (ActualInitialization.initialCycleState B N0) a i (graph n) n |
| 259 | 135 | |
| 260 | -theorem chart_velocity_prefix (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n J : ℕ) : | |
| 261 | - DiagonalJetBounds.uncutPrefix (chartVelocityStages B N0 a i n) (J + 1) = | |
| 262 | - chartVelocity B N0 a i n J := | |
| 263 | - CyclePhysicalPrefixes.velocity_prefix (parameterSequence B N0) (commonContext B) | |
| 264 | - (ActualInitialization.initialCycleState B N0) a i (graph n) n J | |
| 265 | - | |
| 266 | -theorem chart_pressure_prefix (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n J : ℕ) : | |
| 267 | - DiagonalJetBounds.uncutPrefix (chartPressureStages B N0 a i n) (J + 1) = | |
| 268 | - chartPressure B N0 a i n J := | |
| 269 | - CyclePhysicalPrefixes.pressure_prefix (parameterSequence B N0) (commonContext B) | |
| 270 | - (ActualInitialization.initialCycleState B N0) a i (graph n) n (basePressure B n) J | |
| 271 | - | |
| 272 | -theorem chart_velocity_split (B N0 : ℕ) (a : ℝ) (i : PolarCharts.Index) (n j : ℕ) : | |
| 273 | - chartVelocityStages B N0 a i n j = | |
| 274 | - chartPotentialParts B N0 a i n j + chartDirectStages B N0 a i n j := | |
| 275 | - CyclePhysicalPrefixes.velocityStages_split (parameterSequence B N0) (commonContext B) | |
| 276 | - (ActualInitialization.initialCycleState B N0) a i (graph n) n j | |
| 277 | - | |
| 278 | 136 | /-! The global physical representatives need only agree with an individual |
| 279 | 137 | chart on its open validity set. Finite summation and the genuine residual |
| 280 | 138 | preserve precisely this local agreement. -/ |
| 281 | 139 | |
| 282 | -theorem uncutPrefix_eqOn {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 283 | - {U : Set SpaceTime} {f g : ℕ → SpaceTime → V} | |
| 284 | - (hf : ∀ j, EqOn (f j) (g j) U) (N : ℕ) : | |
| 285 | - EqOn (DiagonalJetBounds.uncutPrefix f N) (DiagonalJetBounds.uncutPrefix g N) U := by | |
| 286 | - intro z hz | |
| 287 | - exact Finset.sum_congr rfl (fun j _ => hf j hz) | |
| 288 | - | |
| 289 | -theorem chart_velocity_of_stage_realizations (B N0 : ℕ) (a : ℝ) | |
| 290 | - (i : PolarCharts.Index) (n : ℕ) {U : Set SpaceTime} (hU : IsOpen U) | |
| 291 | - (AP BP : ℕ → VelocityField) (hA : ∀ k, DifferentiableOn ℝ (AP k) U) | |
| 292 | - (hcurl : ∀ k, EqOn (SpatialCurl.spatialCurl (AP k)) | |
| 293 | - (chartPotentialParts B N0 a i n k) U) | |
| 294 | - (hB : ∀ k, EqOn (BP k) (chartDirectStages B N0 a i n k) U) (J : ℕ) : | |
| 295 | - EqOn (MixedDiagonalResidual.uncutVelocity AP BP J) (chartVelocity B N0 a i n J) U := by | |
| 296 | - intro z hz | |
| 297 | - change SpatialCurl.spatialCurl (DiagonalJetBounds.uncutPrefix AP (J + 1)) z + | |
| 298 | - DiagonalJetBounds.uncutPrefix BP (J + 1) z = _ | |
| 299 | - rw [uncutPrefix_eqOn hB (J + 1) hz] | |
| 300 | - exact CyclePhysicalPrefixes.mixedVelocity_prefix (parameterSequence B N0) (commonContext B) | |
| 301 | - (ActualInitialization.initialCycleState B N0) a i (graph n) n hU AP hA hcurl J hz | |
| 302 | - | |
| 303 | -theorem chart_pressure_of_stage_realizations (B N0 : ℕ) (a : ℝ) | |
| 304 | - (i : PolarCharts.Index) (n : ℕ) {U : Set SpaceTime} (PP : ℕ → PressureField) | |
| 305 | - (hP : ∀ k, EqOn (PP k) (chartPressureStages B N0 a i n k) U) (J : ℕ) : | |
| 306 | - EqOn (DiagonalJetBounds.uncutPrefix PP (J + 1)) (chartPressure B N0 a i n J) U := by | |
| 307 | - rw [← chart_pressure_prefix B N0 a i n J] | |
| 308 | - exact uncutPrefix_eqOn hP (J + 1) | |
| 309 | - | |
| 310 | -theorem chart_residual_of_stage_realizations (B N0 : ℕ) (a : ℝ) | |
| 311 | - (i : PolarCharts.Index) (n : ℕ) {U : Set SpaceTime} (hU : IsOpen U) | |
| 312 | - (AP BP : ℕ → VelocityField) (PP : ℕ → PressureField) | |
| 313 | - (hA : ∀ k, DifferentiableOn ℝ (AP k) U) | |
| 314 | - (hcurl : ∀ k, EqOn (SpatialCurl.spatialCurl (AP k)) | |
| 315 | - (chartPotentialParts B N0 a i n k) U) | |
| 316 | - (hB : ∀ k, EqOn (BP k) (chartDirectStages B N0 a i n k) U) | |
| 317 | - (hP : ∀ k, EqOn (PP k) (chartPressureStages B N0 a i n k) U) (J : ℕ) : | |
| 318 | - EqOn (fun z => navierStokesResidual (MixedDiagonalResidual.uncutVelocity AP BP J) | |
| 319 | - (DiagonalJetBounds.uncutPrefix PP (J + 1)) z.1 z.2) | |
| 320 | - (fun z => navierStokesResidual (chartVelocity B N0 a i n J) | |
| 321 | - (chartPressure B N0 a i n J) z.1 z.2) U := by | |
| 322 | - intro z hz | |
| 323 | - apply ResidualRegularity.residual_congr | |
| 324 | - · exact eventually_of_mem (hU.mem_nhds hz) (fun _ hy => | |
| 325 | - chart_velocity_of_stage_realizations B N0 a i n hU AP BP hA hcurl hB J hy) | |
| 326 | - · exact eventually_of_mem (hU.mem_nhds hz) (fun _ hy => | |
| 327 | - chart_pressure_of_stage_realizations B N0 a i n PP hP J hy) | |
| 328 | - | |
| 329 | -theorem chart_residual_jets_of_stage_realizations (B N0 : ℕ) (a : ℝ) | |
| 330 | - (i : PolarCharts.Index) (n : ℕ) {U : Set SpaceTime} (hU : IsOpen U) | |
| 331 | - (AP BP : ℕ → VelocityField) (PP : ℕ → PressureField) | |
| 332 | - (hA : ∀ k, DifferentiableOn ℝ (AP k) U) | |
| 333 | - (hcurl : ∀ k, EqOn (SpatialCurl.spatialCurl (AP k)) | |
| 334 | - (chartPotentialParts B N0 a i n k) U) | |
| 335 | - (hB : ∀ k, EqOn (BP k) (chartDirectStages B N0 a i n k) U) | |
| 336 | - (hP : ∀ k, EqOn (PP k) (chartPressureStages B N0 a i n k) U) (J m : ℕ) : | |
| 337 | - EqOn (iteratedFDeriv ℝ m (fun z => | |
| 338 | - navierStokesResidual (MixedDiagonalResidual.uncutVelocity AP BP J) | |
| 339 | - (DiagonalJetBounds.uncutPrefix PP (J + 1)) z.1 z.2)) | |
| 340 | - (iteratedFDeriv ℝ m (fun z => navierStokesResidual (chartVelocity B N0 a i n J) | |
| 341 | - (chartPressure B N0 a i n J) z.1 z.2)) U := by | |
| 342 | - intro z hz | |
| 343 | - exact (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq | |
| 344 | - (eventually_of_mem (hU.mem_nhds hz) (fun _ hy => | |
| 345 | - chart_residual_of_stage_realizations B N0 a i n hU AP BP PP hA hcurl hB hP J hy)) | |
| 346 | - m).self_of_nhds | |
| 347 | - | |
| 348 | 140 | /-! ## The actual mean fields, with one common physical representative |
| 349 | 141 | |
| 350 | 142 | The selector defining this atlas depends on the physical point and the |
| @@ -365,30 +157,6 @@ noncomputable def meanAngularField (B N0 : ℕ) (degree : ℝ) | ||
| 365 | 157 | fun w => meanField B N0 degree f w • |
| 366 | 158 | PhysicalMeanJetBounds.angularVector (PhysicalGraphBounds.radialProjection w) |
| 367 | 159 | |
| 368 | -theorem meanField_add (B N0 : ℕ) (degree : ℝ) (f g : ActualMeanPhysicalData.Scalar) : | |
| 369 | - meanField B N0 degree (f + g) = meanField B N0 degree f + meanField B N0 degree g := by | |
| 370 | - funext w | |
| 371 | - exact congrFun ((meanAtlas B N0).physical_add standardRegion.carrier degree f g) | |
| 372 | - (PhysicalMeanJetBounds.physicalPoint h w) | |
| 373 | - | |
| 374 | -theorem meanField_sub (B N0 : ℕ) (degree : ℝ) (f g : ActualMeanPhysicalData.Scalar) : | |
| 375 | - meanField B N0 degree (f - g) = meanField B N0 degree f - meanField B N0 degree g := by | |
| 376 | - funext w | |
| 377 | - exact congrFun ((meanAtlas B N0).physical_sub standardRegion.carrier degree f g) | |
| 378 | - (PhysicalMeanJetBounds.physicalPoint h w) | |
| 379 | - | |
| 380 | -theorem meanAngularField_add (B N0 : ℕ) (degree : ℝ) (f g : ActualMeanPhysicalData.Scalar) : | |
| 381 | - meanAngularField B N0 degree (f + g) = | |
| 382 | - meanAngularField B N0 degree f + meanAngularField B N0 degree g := by | |
| 383 | - funext w | |
| 384 | - simp only [meanAngularField, meanField_add, Pi.add_apply, add_smul] | |
| 385 | - | |
| 386 | -theorem meanAngularField_sub (B N0 : ℕ) (degree : ℝ) (f g : ActualMeanPhysicalData.Scalar) : | |
| 387 | - meanAngularField B N0 degree (f - g) = | |
| 388 | - meanAngularField B N0 degree f - meanAngularField B N0 degree g := by | |
| 389 | - funext w | |
| 390 | - simp only [meanAngularField, meanField_sub, Pi.sub_apply, sub_smul] | |
| 391 | - | |
| 392 | 160 | noncomputable def angularNativeStages (B N0 : ℕ) : ℕ → ActualMeanPhysicalData.Scalar := |
| 393 | 161 | fun k => Nat.casesOn k (cycle B N0 0).state.mean.angular |
| 394 | 162 | (fun j => (cycle B N0 (j + 1)).state.mean.angular - (cycle B N0 j).state.mean.angular) |
| @@ -416,40 +184,6 @@ theorem angularNativeStages_succ (B N0 j : ℕ) : | ||
| 416 | 184 | change (_ + _) + _ - _ = _ |
| 417 | 185 | abel |
| 418 | 186 | |
| 419 | -theorem uncutPrefix_succ {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 420 | - (f : ℕ → SpaceTime → V) (N : ℕ) : | |
| 421 | - DiagonalJetBounds.uncutPrefix f (N + 1) = DiagonalJetBounds.uncutPrefix f N + f N := by | |
| 422 | - funext w | |
| 423 | - exact Finset.sum_range_succ (fun j => f j w) N | |
| 424 | - | |
| 425 | -theorem angularMeanStages_prefix (B N0 J : ℕ) : | |
| 426 | - DiagonalJetBounds.uncutPrefix (angularMeanStages B N0) (J + 1) = | |
| 427 | - meanAngularField B N0 (CoordinateAlgebra.A h) (cycle B N0 J).state.mean.angular := by | |
| 428 | - induction J with | |
| 429 | - | zero => | |
| 430 | - funext w | |
| 431 | - simp [DiagonalJetBounds.uncutPrefix, angularMeanStages, angularNativeStages] | |
| 432 | - | succ J ih => | |
| 433 | - rw [uncutPrefix_succ, ih] | |
| 434 | - change _ + meanAngularField B N0 (CoordinateAlgebra.A h) | |
| 435 | - ((cycle B N0 (J + 1)).state.mean.angular - (cycle B N0 J).state.mean.angular) = _ | |
| 436 | - rw [meanAngularField_sub] | |
| 437 | - abel | |
| 438 | - | |
| 439 | -theorem pressureMeanStages_prefix (B N0 J : ℕ) : | |
| 440 | - DiagonalJetBounds.uncutPrefix (pressureMeanStages B N0) (J + 1) = | |
| 441 | - meanField B N0 (2 * CoordinateAlgebra.A h) (cycle B N0 J).state.pressure := by | |
| 442 | - induction J with | |
| 443 | - | zero => | |
| 444 | - funext w | |
| 445 | - simp [DiagonalJetBounds.uncutPrefix, pressureMeanStages, pressureNativeStages] | |
| 446 | - | succ J ih => | |
| 447 | - rw [uncutPrefix_succ, ih] | |
| 448 | - change _ + meanField B N0 (2 * CoordinateAlgebra.A h) | |
| 449 | - ((cycle B N0 (J + 1)).state.pressure - (cycle B N0 J).state.pressure) = _ | |
| 450 | - rw [meanField_sub] | |
| 451 | - abel | |
| 452 | - | |
| 453 | 187 | noncomputable def temporalNative (B N0 j : ℕ) : ActualMeanPhysicalData.Scalar := |
| 454 | 188 | VariableGaugeMean.temporalPotential (parameters B N0).gauge (parameters B N0).timeExponent |
| 455 | 189 | (parameters B N0).commonIndex (commonContext B) |
| @@ -484,11 +218,6 @@ theorem pressureMeanStages_zero (B N0 : ℕ) : | ||
| 484 | 218 | abbrev MeanCycleInput (B N0 : ℕ) := |
| 485 | 219 | ActualMeanPhysicalData.InitialCycleInput B N0 (firstBand B N0) (parameterSequence B N0) |
| 486 | 220 | |
| 487 | -theorem parameters_realizes (B N0 j : ℕ) : | |
| 488 | - CycleStateCoherence.Realizes ActualMeanPhysicalData.initialGeometry | |
| 489 | - (parameterSequence B N0 j) (commonContext B) := | |
| 490 | - ActualMeanPhysicalData.initial_realizes B _ _ | |
| 491 | - | |
| 492 | 221 | theorem streamMeanStages_succ {B N0 : ℕ} (H : MeanCycleInput B N0) (j : ℕ) : |
| 493 | 222 | streamMeanStages B N0 (j + 1) = |
| 494 | 223 | ((ActualMeanPhysicalData.initialCycleData H).streamFamily j).angularField := rfl |
| @@ -868,11 +597,6 @@ theorem streamData_field {B N0 : ℕ} (H : MeanCycleInput B N0) (j : ℕ) : | ||
| 868 | 597 | theorem meanStreamSupport_field {B N0 : ℕ} (H : MeanCycleInput B N0) (j : ℕ) : |
| 869 | 598 | (meanStreamSupport H j).field = streamMeanStages B N0 j := streamData_field H j |
| 870 | 599 | |
| 871 | -theorem angularMeanStages_smooth {B N0 : ℕ} (H : MeanCycleInput B N0) (j : ℕ) : | |
| 872 | - ContDiffOn ℝ ∞ (angularMeanStages B N0 j) (physicalDomain B N0) := by | |
| 873 | - rw [← directData_field H j] | |
| 874 | - exact LocalAngularDiagonal.rawSeries_smooth outgoing.data.h_pos outgoing.data.h_lt_half (directData H) j | |
| 875 | - | |
| 876 | 600 | theorem streamMeanStages_smooth {B N0 : ℕ} (H : MeanCycleInput B N0) (j : ℕ) : |
| 877 | 601 | ContDiffOn ℝ ∞ (streamMeanStages B N0 j) (physicalDomain B N0) := by |
| 878 | 602 | rw [← streamData_field H j] |
| @@ -942,14 +666,6 @@ noncomputable def initialPotentialStage (B N0 : ℕ) | ||
| 942 | 666 | streamCount := 1 |
| 943 | 667 | streams _ := ActualMeanStageData.initialStreamSupport B N0 (firstBand B N0) (qbig B N0) le_rfl |
| 944 | 668 | |
| 945 | -noncomputable def positivePotentialStage {B N0 : ℕ} (H : MeanCycleInput B N0) | |
| 946 | - (j : ℕ) (particular signed : MixedAxisPreservation.CopyPotential.{u} h) : | |
| 947 | - MixedAxisPreservation.PotentialStage.{u} h (MixedAxisPreservation.localDomain h (qbig B N0)) where | |
| 948 | - waveCount := 2 | |
| 949 | - waves := ![particular, signed] | |
| 950 | - streamCount := 1 | |
| 951 | - streams _ := meanStreamSupport H (j + 1) | |
| 952 | - | |
| 953 | 669 | theorem initialPotentialStage_field (B N0 : ℕ) |
| 954 | 670 | (wave : MixedAxisPreservation.CopyPotential.{u} h) : |
| 955 | 671 | (initialPotentialStage B N0 wave).field = wave.field + streamMeanStages B N0 0 := by |
| @@ -960,13 +676,4 @@ theorem initialPotentialStage_field (B N0 : ℕ) | ||
| 960 | 676 | simp [streamMeanStages_zero] |
| 961 | 677 | erw [ActualMeanStageData.initialStreamSupport_field] |
| 962 | 678 | |
| 963 | -theorem positivePotentialStage_field {B N0 : ℕ} (H : MeanCycleInput B N0) | |
| 964 | - (j : ℕ) (particular signed : MixedAxisPreservation.CopyPotential.{u} h) : | |
| 965 | - (positivePotentialStage H j particular signed).field = | |
| 966 | - particular.field + signed.field + streamMeanStages B N0 (j + 1) := by | |
| 967 | - funext w | |
| 968 | - change (∑ i : Fin 2, (![particular, signed] i).field w) + | |
| 969 | - (∑ _ : Fin 1, (meanStreamSupport H (j + 1)).field w) = _ | |
| 970 | - simp [Fin.sum_univ_two, meanStreamSupport_field] | |
| 971 | - | |
| 972 | 679 | end NavierStokes.ActualCandidateConstruction |
+0 −17 NavierStokes/ActualCarrierGeometry.lean View file
| @@ -33,16 +33,9 @@ noncomputable def geometricThreshold : ℕ := | ||
| 33 | 33 | before selecting `ActualPrimary.choice`. -/ |
| 34 | 34 | noncomputable def startingThreshold (requested : ℕ) : ℕ := max requested geometricThreshold |
| 35 | 35 | |
| 36 | -theorem requested_le_startingThreshold (requested : ℕ) : requested ≤ startingThreshold requested := | |
| 37 | - le_max_left _ _ | |
| 38 | - | |
| 39 | 36 | theorem geometricThreshold_le_startingThreshold (requested : ℕ) : |
| 40 | 37 | geometricThreshold ≤ startingThreshold requested := le_max_right _ _ |
| 41 | 38 | |
| 42 | -theorem startingThreshold_le_prepared (B requested : ℕ) : | |
| 43 | - startingThreshold requested ≤ (choice B (startingThreshold requested)).prepared.N := | |
| 44 | - ActualPrimary.threshold B (startingThreshold requested) | |
| 45 | - | |
| 46 | 39 | section Cells |
| 47 | 40 | |
| 48 | 41 | variable {B N0 : ℕ} |
| @@ -286,16 +279,6 @@ theorem signedLabel_injective : Function.Injective | ||
| 286 | 279 | have he' := ActualPrimaryCovariance.signedLabelOf_injective he |
| 287 | 280 | exact Prod.ext (congrArg Prod.snd he') (congrArg Prod.fst he') |
| 288 | 281 | |
| 289 | -theorem labelCarrier_window_card (hN : geometricThreshold ≤ N0) | |
| 290 | - (n : ℕ) {x : Point} | |
| 291 | - (hx : x ∈ (BaseContextAssembly.nativeStrip nominal standardRegion).domain) | |
| 292 | - (s : Finset (ActualPrimaryBounds.SignedLabel B N0)) | |
| 293 | - (hs : ∀ l ∈ s, x ∈ ActualInitialExcluded.labelCarrier l n) : s.card ≤ 2250 := by | |
| 294 | - apply LabelSumBounds.window_card_le s | |
| 295 | - (fun l => ActualPrimaryCovariance.signedLabelOf (l.2, l.1)) signedLabel_injective.injOn | |
| 296 | - intro l hl | |
| 297 | - exact ⟨l.2.val.property.1, labelCarrier_window hN l n hx (hs l hl)⟩ | |
| 298 | - | |
| 299 | 282 | end Windows |
| 300 | 283 | |
| 301 | 284 | section Separation |
+0 −22 NavierStokes/ActualCarrierTransport.lean View file
| @@ -35,32 +35,10 @@ variable {B N0 : ℕ} | ||
| 35 | 35 | @[simp] theorem labelCarrier_eq (l : Index B N0) (n : ℕ) : |
| 36 | 36 | ActualCarrierTransportBase.labelCarrier l n = ActualInitialization.labelCarrier l n := rfl |
| 37 | 37 | |
| 38 | -theorem canonical_geometry (l : Index B N0) (n : ℕ) : | |
| 39 | - (ActualParticularStageControls.canonicalParameters (l.2,l.1)).geometry n = | |
| 40 | - geometry l n := rfl | |
| 41 | - | |
| 42 | -theorem canonical_length (l : Index B N0) (n : ℕ) : | |
| 43 | - (ActualParticularStageControls.canonicalParameters (l.2,l.1)).length n = | |
| 44 | - referenceLength l / clock l n := rfl | |
| 45 | - | |
| 46 | 38 | theorem canonical_cutoff (l : Index B N0) (n : ℕ) : |
| 47 | 39 | (ActualParticularStageControls.canonicalParameters (l.2,l.1)).cutoff n = |
| 48 | 40 | ActualGaussianCoverage.nativeCutoff slots.radius (referenceLength l) |
| 49 | 41 | slots.radius_pos (referenceLength_pos l) (clock l n) := |
| 50 | 42 | ActualCarrierTransportBase.cutoff_eq_native l n |
| 51 | 43 | |
| 52 | -theorem fixed_geometry (l : Index B N0) (n : ℕ) : | |
| 53 | - ((ActualCycleParameters.fixedParameters B N0).particular l).geometry n = | |
| 54 | - geometry l n := rfl | |
| 55 | - | |
| 56 | -theorem fixed_length (l : Index B N0) (n : ℕ) : | |
| 57 | - ((ActualCycleParameters.fixedParameters B N0).particular l).length n = | |
| 58 | - referenceLength l / clock l n := rfl | |
| 59 | - | |
| 60 | -theorem fixed_cutoff (l : Index B N0) (n : ℕ) : | |
| 61 | - ((ActualCycleParameters.fixedParameters B N0).particular l).cutoff n = | |
| 62 | - ActualGaussianCoverage.nativeCutoff slots.radius (referenceLength l) | |
| 63 | - slots.radius_pos (referenceLength_pos l) (clock l n) := | |
| 64 | - canonical_cutoff l n | |
| 65 | - | |
| 66 | 44 | end NavierStokes.ActualCarrierTransport |
+0 −12 NavierStokes/ActualCoreSupport.lean View file
| @@ -48,11 +48,6 @@ theorem refinedCarrier_subset_broad {B N0 : ℕ} (l : Index B N0) (n : ℕ) : | ||
| 48 | 48 | refinedCarrier l n ⊆ ActualInitialization.labelCarrier l n := |
| 49 | 49 | closure_minimal (fun _ hx => hx.2.1) (ActualInitialization.labelCarrier_closed l n) |
| 50 | 50 | |
| 51 | -theorem refinedCarrier_nonnegative_time {B N0 : ℕ} (l : Index B N0) (n : ℕ) : | |
| 52 | - refinedCarrier l n ⊆ {x : Point | 0 ≤ x.2.1.1} := | |
| 53 | - closure_minimal (fun _ hx => hx.1.le) | |
| 54 | - (isClosed_le continuous_const continuous_snd.fst.fst) | |
| 55 | - | |
| 56 | 51 | theorem radialRatio_continuousAt {x : Point} (hT : 0 < x.2.1.1) : |
| 57 | 52 | ContinuousAt radialRatio x := by |
| 58 | 53 | have hh : 0 < 2 * ActualPrimary.h := by linarith [ActualPrimary.outgoing.data.h_pos] |
| @@ -108,13 +103,6 @@ theorem mem_refinedCarrier_of_mem {B N0 : ℕ} (l : Index B N0) (n : ℕ) | ||
| 108 | 103 | (hq : nativeQ l n x ∈ Icc (1 / 2 : ℝ) 2) : x ∈ refinedCarrier l n := |
| 109 | 104 | (mem_refinedCarrier_iff l n hT).2 ⟨hb, hr, hq⟩ |
| 110 | 105 | |
| 111 | -theorem radialRatio_fast (x : Point) (Y : TorusInverse.Plane) : | |
| 112 | - radialRatio (x.1, (x.2.1, Y)) = radialRatio x := rfl | |
| 113 | - | |
| 114 | -theorem nativeQ_fast {B N0 : ℕ} (l : Index B N0) (n : ℕ) | |
| 115 | - (x : Point) (Y : TorusInverse.Plane) : | |
| 116 | - nativeQ l n (x.1, (x.2.1, Y)) = nativeQ l n x := rfl | |
| 117 | - | |
| 118 | 106 | section ActualCutoffs |
| 119 | 107 | |
| 120 | 108 | variable {B N0 : ℕ} |
+0 −55 NavierStokes/ActualCurrentCarrierJets.lean View file
| @@ -65,9 +65,6 @@ theorem actualCarrier_character | ||
| 65 | 65 | rw [actualCarrier_phase b hb j l n, ActualParticularBackground.carrier_frequency b hb j l] |
| 66 | 66 | exact harmonic_carrier_eq l n j |
| 67 | 67 | |
| 68 | -theorem paddedCell_eq_phaseCell (n : ℕ) (i : ActualPhaseJetBounds.CopyIndex B N0) : | |
| 69 | - ParticularPaddedBackground.paddedCell n i = ActualPhaseJetBounds.phaseCell n i := rfl | |
| 70 | - | |
| 71 | 68 | theorem mem_cells_iff (n : ℕ) (i : ActualPhaseJetBounds.CopyIndex B N0) (z : Native) : |
| 72 | 69 | z ∈ ParticularPaddedBackground.cells n i ↔ |
| 73 | 70 | ActualParticularBackground.nativeToFull z ∈ ActualPhaseJetBounds.phaseCell n i := Iff.rfl |
| @@ -121,17 +118,6 @@ theorem weightedPhase_smoothNear {n : ℕ} {i : ActualPhaseJetBounds.CopyIndex B | ||
| 121 | 118 | hf.comp ActualParticularBackground.nativeToFull.toContinuousLinearEquiv.contDiff.contDiffOn |
| 122 | 119 | (fun _ hy => hy)⟩ |
| 123 | 120 | |
| 124 | -theorem phase_smoothNear {n : ℕ} {i : ActualPhaseJetBounds.CopyIndex B N0} | |
| 125 | - {z : Native} (hz : z ∈ ParticularPaddedBackground.cells n i) : | |
| 126 | - LocalPhysicalCopyBounds.SmoothNear (phase i.1 n) z := by | |
| 127 | - obtain ⟨U, hU, hx, hf⟩ := weightedPhase_smoothNear hz | |
| 128 | - have hk : (ChartScales.carrier ActualPrimary.h n : ℝ) ≠ 0 := | |
| 129 | - (ActualPrimary.chartCoefficients_frequency_pos i.1.1 i.1.2 n).ne' | |
| 130 | - refine ⟨U, hU, hx, (hf.div_const (ChartScales.carrier ActualPrimary.h n : ℝ)).congr ?_⟩ | |
| 131 | - intro y _ | |
| 132 | - rw [weightedPhase_eq] | |
| 133 | - field_simp [hk] | |
| 134 | - | |
| 135 | 121 | /-- Constants are chosen before the active label, band, copy, point, and |
| 136 | 122 | positive derivative order. Reindexing is an isometry and adds no loss. -/ |
| 137 | 123 | theorem weightedPhase_positive_jets (m : ℕ) : |
| @@ -147,31 +133,6 @@ theorem weightedPhase_positive_jets (m : ℕ) : | ||
| 147 | 133 | rw [StateReindex.norm_iteratedFDeriv_pull] |
| 148 | 134 | exact hb n i _ ((mem_cells_iff n i z).mp hz) r hr hrm |
| 149 | 135 | |
| 150 | -theorem phase_positive_jets (m : ℕ) : | |
| 151 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ n (i : ActualPhaseJetBounds.CopyIndex B N0) z, | |
| 152 | - z ∈ ParticularPaddedBackground.cells n i → ∀ r, 1 ≤ r → r ≤ m → | |
| 153 | - ‖iteratedFDeriv ℝ r (phase i.1 n) z‖ ≤ | |
| 154 | - C * ChartScales.S n ^ p * ChartScales.Q n ^ (-(2 * ActualPrimary.h)) := by | |
| 155 | - obtain ⟨C,hC,p,hb⟩ := ActualPhaseJetBounds.phase_positive_jets (B := B) (N0 := N0) m | |
| 156 | - refine ⟨C,hC,p,?_⟩ | |
| 157 | - intro n i z hz r hr hrm | |
| 158 | - change ‖iteratedFDeriv ℝ r (fun y => (ActualPrimary.chartCoefficients i.1.1 i.1.2).phase n | |
| 159 | - (ActualParticularBackground.nativeToFull y)) z‖ ≤ _ | |
| 160 | - rw [StateReindex.norm_iteratedFDeriv_pull] | |
| 161 | - exact hb n i _ ((mem_cells_iff n i z).mp hz) r hr hrm | |
| 162 | - | |
| 163 | -/-- The displayed physical loss is exactly two inverse powers of epsilon. -/ | |
| 164 | -theorem weightedPhase_positive_jets_epsilon (m : ℕ) : | |
| 165 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ n (i : ActualPhaseJetBounds.CopyIndex B N0) z, | |
| 166 | - z ∈ ParticularPaddedBackground.cells n i → ∀ r, 1 ≤ r → r ≤ m → | |
| 167 | - ‖iteratedFDeriv ℝ r (weightedPhase i.1 n) z‖ ≤ | |
| 168 | - C * ChartScales.S n ^ p * (ChartScales.epsilon ActualPrimary.h n)⁻¹ ^ 2 := by | |
| 169 | - obtain ⟨C,hC,p,hb⟩ := weightedPhase_positive_jets (B := B) (N0 := N0) m | |
| 170 | - refine ⟨C,hC,p,?_⟩ | |
| 171 | - intro n i z hz r hr hrm | |
| 172 | - rw [ActualPhaseJetBounds.inverse_epsilon_sq] | |
| 173 | - exact hb n i z hz r hr hrm | |
| 174 | - | |
| 175 | 136 | theorem weightedPhase_smoothNear_controlPatch (l : Label B N0) (n : ℕ) |
| 176 | 137 | (k : TorusInverse.Frequency) {z : Native} |
| 177 | 138 | (hz : z ∈ ActualParticularStageControls.controlPatch l n k) : |
| @@ -179,13 +140,6 @@ theorem weightedPhase_smoothNear_controlPatch (l : Label B N0) (n : ℕ) | ||
| 179 | 140 | weightedPhase_smoothNear (n := n) (i := (l,k)) (z := z) |
| 180 | 141 | (ActualParticularStageControls.controlPatch_subset_padded l n k hz) |
| 181 | 142 | |
| 182 | -theorem phase_smoothNear_controlPatch (l : Label B N0) (n : ℕ) | |
| 183 | - (k : TorusInverse.Frequency) {z : Native} | |
| 184 | - (hz : z ∈ ActualParticularStageControls.controlPatch l n k) : | |
| 185 | - LocalPhysicalCopyBounds.SmoothNear (phase l n) z := | |
| 186 | - phase_smoothNear (n := n) (i := (l,k)) (z := z) | |
| 187 | - (ActualParticularStageControls.controlPatch_subset_padded l n k hz) | |
| 188 | - | |
| 189 | 143 | /-- The quantitative statement on the actual retained current-copy cells. |
| 190 | 144 | The cell hypothesis already supplies activeness; no native-band interior |
| 191 | 145 | or separate phase-jet assumption is added. -/ |
| @@ -198,13 +152,4 @@ theorem weightedPhase_positive_jets_controlPatch (m : ℕ) : | ||
| 198 | 152 | exact ⟨C,hC,p,fun l n k z hz r hr hrm => |
| 199 | 153 | hb n (l,k) z (ActualParticularStageControls.controlPatch_subset_padded l n k hz) r hr hrm⟩ |
| 200 | 154 | |
| 201 | -theorem phase_positive_jets_controlPatch (m : ℕ) : | |
| 202 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ (l : Label B N0) n k z, | |
| 203 | - z ∈ ActualParticularStageControls.controlPatch l n k → ∀ r, 1 ≤ r → r ≤ m → | |
| 204 | - ‖iteratedFDeriv ℝ r (phase l n) z‖ ≤ | |
| 205 | - C * ChartScales.S n ^ p * ChartScales.Q n ^ (-(2 * ActualPrimary.h)) := by | |
| 206 | - obtain ⟨C,hC,p,hb⟩ := phase_positive_jets (B := B) (N0 := N0) m | |
| 207 | - exact ⟨C,hC,p,fun l n k z hz r hr hrm => | |
| 208 | - hb n (l,k) z (ActualParticularStageControls.controlPatch_subset_padded l n k hz) r hr hrm⟩ | |
| 209 | - | |
| 210 | 155 | end NavierStokes.ActualCurrentCarrierJets |
+0 −7 NavierStokes/ActualCurrentParticularAssembly.lean View file
| @@ -48,13 +48,6 @@ theorem localPressure_eq_sum (x : CycleState (ActualInitialization.Index B N0)) | ||
| 48 | 48 | Equiv.symm_symm, Finset.sum_map, Equiv.toEmbedding_apply, |
| 49 | 49 | ActualCycleParameters.swap_apply] |
| 50 | 50 | |
| 51 | -theorem nativeMode_eq (x : CycleState (ActualInitialization.Index B N0)) | |
| 52 | - (l : ActualInitialization.Index B N0) (j : ℤ) (n : ℕ) | |
| 53 | - (z : PhysicalResidualBridge.Cylinder) (k : Fin 3) : | |
| 54 | - ActualParticularCycleData.nativeMode x l j n z k = | |
| 55 | - (nativeVelocity (ActualCycleParameters.particularState x) (l.2,l.1) j n | |
| 56 | - (ActualWaveRegularity.particularChart z) k).re := rfl | |
| 57 | - | |
| 58 | 51 | theorem particularVelocity_eq_sum {x : CycleState (ActualInitialization.Index B N0)} {σ : ℝ} |
| 59 | 52 | (H : ActualParticularCycleData.Invariant σ x) (n : ℕ) |
| 60 | 53 | (z : PhysicalResidualBridge.Cylinder) (k : Fin 3) : |
+0 −114 NavierStokes/ActualCurrentParticularBounds.lean View file
| @@ -300,32 +300,6 @@ theorem character_comp_positive_jets {Φ : E → ℝ} (hΦ : ContDiff ℝ ∞ Φ | ||
| 300 | 300 | |
| 301 | 301 | variable [FiniteDimensional ℝ E] |
| 302 | 302 | |
| 303 | -theorem mode_jet_bound_local {a : E → ℂ} {Φ : E → ℝ} {x : E} | |
| 304 | - (ha : LocalPhysicalCopyBounds.SmoothNear a x) | |
| 305 | - (hΦ : LocalPhysicalCopyBounds.SmoothNear Φ x) | |
| 306 | - (m : ℕ) {c A B M : ℝ} (hA : 0 ≤ A) (hB : 1 ≤ B) (hM : 1 ≤ M) (hc : |c| ≤ M) | |
| 307 | - (hab : ∀ i ≤ m, ‖iteratedFDeriv ℝ i a x‖ ≤ A) | |
| 308 | - (hΦb : ∀ i, 1 ≤ i → i ≤ m → ‖iteratedFDeriv ℝ i Φ x‖ ≤ B) : | |
| 309 | - ∀ k ≤ m, ‖iteratedFDeriv ℝ k | |
| 310 | - (fun y => a y * PhysicalGraphBounds.character c (Φ y)) x‖ ≤ | |
| 311 | - (2 : ℝ) ^ m * A * ((m.factorial : ℝ) * M ^ m * B ^ m) := by | |
| 312 | - obtain ⟨a', ha', hea⟩ := ha.exists_global_germ | |
| 313 | - obtain ⟨Φ', hΦ', heΦ⟩ := hΦ.exists_global_germ | |
| 314 | - have hprod : (fun y => a y * PhysicalGraphBounds.character c (Φ y)) =ᶠ[𝓝 x] | |
| 315 | - (fun y => a' y * PhysicalGraphBounds.character c (Φ' y)) := by | |
| 316 | - filter_upwards [hea, heΦ] with y hay hφy | |
| 317 | - rw [hay, hφy] | |
| 318 | - have hφbound := character_comp_positive_jets hΦ' x m hB hM hc (by | |
| 319 | - intro i hi him | |
| 320 | - rw [← PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq heΦ i] | |
| 321 | - exact hΦb i hi him) | |
| 322 | - intro k hk | |
| 323 | - rw [PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq hprod k] | |
| 324 | - exact PhysicalGraphBounds.pointwise_product_jet_bound ha' | |
| 325 | - ((PhysicalGraphBounds.character_smooth c).comp hΦ') x hk hA (by positivity) | |
| 326 | - (by intro i hi; rw [← PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq hea i]; exact hab i hi) | |
| 327 | - hφbound | |
| 328 | - | |
| 329 | 303 | theorem smul_mode_jet_bound_local {V : Type*} [NormedAddCommGroup V] |
| 330 | 304 | [NormedSpace ℝ V] [NormedSpace ℂ V] [IsScalarTower ℝ ℂ V] |
| 331 | 305 | {a : E → V} {Φ : E → ℝ} {x : E} |
| @@ -374,17 +348,6 @@ theorem smul_mode_jet_bound_local {V : Type*} [NormedAddCommGroup V] | ||
| 374 | 348 | (pow_le_pow_right₀ (by norm_num) hk) hD) hA |
| 375 | 349 | _ = _ := by dsimp [D]; ring |
| 376 | 350 | |
| 377 | -omit [FiniteDimensional ℝ E] in | |
| 378 | -theorem smoothNear_mode {a : E → ℂ} {Φ : E → ℝ} {x : E} | |
| 379 | - (ha : LocalPhysicalCopyBounds.SmoothNear a x) | |
| 380 | - (hΦ : LocalPhysicalCopyBounds.SmoothNear Φ x) (c : ℝ) : | |
| 381 | - LocalPhysicalCopyBounds.SmoothNear (fun y => a y * PhysicalGraphBounds.character c (Φ y)) x := by | |
| 382 | - obtain ⟨U, hU, hxU, haU⟩ := ha | |
| 383 | - obtain ⟨V, hV, hxV, hΦV⟩ := hΦ | |
| 384 | - exact ⟨U ∩ V, hU.inter hV, ⟨hxU, hxV⟩, | |
| 385 | - (haU.mono inter_subset_left).mul | |
| 386 | - ((PhysicalGraphBounds.character_smooth c).comp_contDiffOn (hΦV.mono inter_subset_right))⟩ | |
| 387 | - | |
| 388 | 351 | end Carrier |
| 389 | 352 | |
| 390 | 353 | /-! ## The current physical graph, with no copy-family premise -/ |
| @@ -570,19 +533,6 @@ theorem actual_native_pressure_bound (x : CycleState (Label B N0)) | ||
| 570 | 533 | (fun l n z hz => (common_control_or_zero x hs hN l j n hz).imp_right And.right) j m |
| 571 | 534 | simpa only [← actual_nativePressure_eq_character x hx] using hb |
| 572 | 535 | |
| 573 | -theorem actual_native_potential_smoothNear (x : CycleState (Label B N0)) | |
| 574 | - (hx : ActualParticularStageControls.PreservesCarriers x) | |
| 575 | - (hs : ActualParticularStageControls.InputSupport x) | |
| 576 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 577 | - {α : ℝ} (j : ℤ) (hj : j ≠ 0) | |
| 578 | - (H : LabelSumBounds.UniformWaveClass nativeStrip ActualParticularStageControls.nativeEnvelope | |
| 579 | - α (ActualParticularStageControls.currentSource x j)) | |
| 580 | - (l : Label B N0) (n : ℕ) {z : Native} (hz : z ∈ nativeStrip.domain) : | |
| 581 | - LocalPhysicalCopyBounds.SmoothNear (ActualCurrentParticularPhysical.nativePotential x l j n) z := by | |
| 582 | - rw [actual_nativePotential_eq_character x hx] | |
| 583 | - exact native_modulated_smoothNear (actual_potential_coefficient_class x hx hs hN j hj H) | |
| 584 | - (fun l n z hz => (common_control_or_zero x hs hN l j n hz).imp_right And.left) j l n hz | |
| 585 | - | |
| 586 | 536 | theorem actual_native_pressure_smoothNear (x : CycleState (Label B N0)) |
| 587 | 537 | (hx : ActualParticularStageControls.PreservesCarriers x) |
| 588 | 538 | (hs : ActualParticularStageControls.InputSupport x) |
| @@ -790,70 +740,6 @@ theorem vector_chart_physical_bound {h a b : ℝ} | ||
| 790 | 740 | (hm chart _ hdoma f hf _ ha' hfb i hi) (norm_nonneg _) (by norm_num : (0 : ℝ) ≤ 3) |
| 791 | 741 | simpa only [mul_assoc] using hb |
| 792 | 742 | |
| 793 | -/-- A physical estimate for the literal current-band oscillatory formula. | |
| 794 | -The scalar phase may already include the rounded carrier. Its positive | |
| 795 | -derivatives alone are needed, so no bound on the free angular coordinate | |
| 796 | -is introduced. -/ | |
| 797 | -theorem current_mode_physical_bound {h a b : ℝ} | |
| 798 | - (hh : 0 ≤ h) (hh1 : h ≤ 1 / 2) (ha : 0 < a) | |
| 799 | - (Δ m : ℕ) (gain degree ρ A B H : ℝ) (p r : ℕ) | |
| 800 | - (hρ : 0 ≤ ρ) (hA : 0 ≤ A) (hB : 1 ≤ B) (hH : 0 ≤ H) : | |
| 801 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ d : ℕ, d ≤ Δ → | |
| 802 | - ∀ w : SpaceTime, PhysicalGraphBounds.scaledRadial n w ∈ PhysicalGraphBounds.annulus a b → | |
| 803 | - |w.1| ≤ 1 → ∀ q : ℝ, 0 < q → q / 2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2 * q → | |
| 804 | - ∀ (amp : PhysicalWaveSum.LiftPoint → ℂ) (Φ : PhysicalWaveSum.LiftPoint → ℝ) (c : ℝ), | |
| 805 | - |c| ≤ H → | |
| 806 | - LocalPhysicalCopyBounds.SmoothNear amp (PhysicalWaveSum.commonLift h n d w) → | |
| 807 | - LocalPhysicalCopyBounds.SmoothNear Φ (PhysicalWaveSum.commonLift h n d w) → | |
| 808 | - (∀ i ≤ m, ‖iteratedFDeriv ℝ i amp (PhysicalWaveSum.commonLift h n d w)‖ ≤ | |
| 809 | - A * ChartScales.Q n ^ gain * ChartScales.S n ^ p) → | |
| 810 | - (∀ i, 1 ≤ i → i ≤ m → ‖iteratedFDeriv ℝ i Φ (PhysicalWaveSum.commonLift h n d w)‖ ≤ | |
| 811 | - B * ChartScales.Q n ^ (-ρ) * ChartScales.S n ^ r) → | |
| 812 | - ‖iteratedFDeriv ℝ m (fun y => (ChartScales.Q n ^ (-degree)) • | |
| 813 | - (amp (PhysicalWaveSum.commonLift h n d y) * | |
| 814 | - PhysicalGraphBounds.character c (Φ (PhysicalWaveSum.commonLift h n d y)))) w‖ ≤ | |
| 815 | - C * q ^ (gain - currentLoss degree ρ m) := by | |
| 816 | - let A' : ℝ := (2 : ℝ) ^ m * A * (m.factorial : ℝ) * (1 + H) ^ m * B ^ m | |
| 817 | - have hA' : 0 ≤ A' := by dsimp [A']; positivity | |
| 818 | - obtain ⟨C, hC, hbound⟩ := PhysicalMeanJetBounds.common_stripped_physical_bound_local (E := ℂ) (b := b) | |
| 819 | - hh hh1 ha Δ m (gain - degree - ρ * m) (p + r * m : ℕ) A' hA' | |
| 820 | - refine ⟨C, hC, ?_⟩ | |
| 821 | - intro n hn d hd w hann ht q hq hlo hhi amp Φ c hc hamp hPhi hab hPhib | |
| 822 | - have hQ := ChartScales.Q_pos n | |
| 823 | - have hS : 1 ≤ ChartScales.S n := PhysicalGraphBounds.S_ge_one (by omega) | |
| 824 | - have hQρ : 1 ≤ ChartScales.Q n ^ (-ρ) := | |
| 825 | - Real.one_le_rpow_of_pos_of_le_one_of_nonpos hQ (ChartScales.Q_le_one n) (neg_nonpos.mpr hρ) | |
| 826 | - have hBPhi : 1 ≤ B * ChartScales.Q n ^ (-ρ) * ChartScales.S n ^ r := | |
| 827 | - one_le_mul_of_one_le_of_one_le (one_le_mul_of_one_le_of_one_le hB hQρ) (one_le_pow₀ hS) | |
| 828 | - have hAc : 0 ≤ A * ChartScales.Q n ^ gain * ChartScales.S n ^ p := by positivity | |
| 829 | - have hc' : |c| ≤ 1 + H := hc.trans (by linarith) | |
| 830 | - have hjets := mode_jet_bound_local hamp hPhi m hAc hBPhi (by linarith : 1 ≤ 1 + H) hc' hab hPhib | |
| 831 | - let F : PhysicalWaveSum.LiftPoint → ℂ := fun y => (ChartScales.Q n ^ (-degree)) • | |
| 832 | - (amp y * PhysicalGraphBounds.character c (Φ y)) | |
| 833 | - have hnear : LocalPhysicalCopyBounds.SmoothNear F (PhysicalWaveSum.commonLift h n d w) := by | |
| 834 | - obtain ⟨V, hV, hxV, hs⟩ := smoothNear_mode hamp hPhi c | |
| 835 | - exact ⟨V, hV, hxV, hs.const_smul _⟩ | |
| 836 | - have hFjets : ∀ i ≤ m, ‖iteratedFDeriv ℝ i F (PhysicalWaveSum.commonLift h n d w)‖ ≤ | |
| 837 | - A' * ChartScales.Q n ^ (gain - degree - ρ * m) * | |
| 838 | - ChartScales.S n ^ ((p + r * m : ℕ) : ℝ) := by | |
| 839 | - intro i hi | |
| 840 | - have hcDiff := (smoothNear_mode hamp hPhi c).contDiffAt.of_le (nat_le_infty i) | |
| 841 | - rw [show F = fun y => (ChartScales.Q n ^ (-degree)) • | |
| 842 | - (amp y * PhysicalGraphBounds.character c (Φ y)) from rfl, | |
| 843 | - iteratedFDeriv_const_smul_apply' hcDiff, | |
| 844 | - norm_smul (ChartScales.Q n ^ (-degree) : ℝ) | |
| 845 | - (iteratedFDeriv ℝ i (fun y => amp y * PhysicalGraphBounds.character c (Φ y)) | |
| 846 | - (PhysicalWaveSum.commonLift h n d w)), | |
| 847 | - Real.norm_of_nonneg (Real.rpow_pos_of_pos hQ (-degree)).le] | |
| 848 | - exact (mul_le_mul_of_nonneg_left (hjets i hi) (Real.rpow_pos_of_pos hQ (-degree)).le).trans_eq | |
| 849 | - (by simpa only [Real.rpow_natCast, A'] using | |
| 850 | - mode_majorant_factorization hQ (ChartScales.S n) A B H gain degree ρ p r m) | |
| 851 | - have he := hbound n hn d hd w hann ht q hq hlo hhi F hnear hFjets | |
| 852 | - convert! he using 1 | |
| 853 | - congr 2 | |
| 854 | - unfold currentLoss | |
| 855 | - ring | |
| 856 | - | |
| 857 | 743 | section ActualPhysicalRates |
| 858 | 744 | |
| 859 | 745 | open CorrectionStep CorrectionInitialization CorrectionInitialization.ActualPrimary |
+0 −53 NavierStokes/ActualCurrentParticularPhysical.lean View file
| @@ -481,36 +481,6 @@ theorem copyData_phase {x : CycleState (Label B N0)} | ||
| 481 | 481 | rw [copyData_eq_actual x l j (ActualParticularStageControls.preserves_frequency hx l)] |
| 482 | 482 | exact ActualParticularDynamics.data_phase hx l j |
| 483 | 483 | |
| 484 | -/-- The native smoothness hypotheses are consequences of the actual | |
| 485 | -source class and support theorem; no physical jet estimate is assumed. -/ | |
| 486 | -theorem native_smooth_of_current_source (x : CycleState (Label B N0)) | |
| 487 | - (hx : ActualParticularStageControls.PreservesCarriers x) | |
| 488 | - (hs : ActualParticularStageControls.InputSupport x) | |
| 489 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 490 | - {α : ℝ} (j : ℤ) (hj : j ≠ 0) | |
| 491 | - (H : LabelSumBounds.UniformWaveClass | |
| 492 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip ActualParticularStageControls.slowStrip)) | |
| 493 | - ActualParticularStageControls.nativeEnvelope α (ActualParticularStageControls.currentSource x j)) | |
| 494 | - (l : Label B N0) (hz : RawBoundaryZero x l j) (n : ℕ) : | |
| 495 | - ContDiffOn ℝ ∞ (nativePotential x l j n) nativeDomain ∧ | |
| 496 | - ContDiffOn ℝ ∞ (fun z => (nativePressure x l j n z).re) nativeDomain := by | |
| 497 | - have hc := ActualParticularStageControls.common_bounds x hx hs hN j hj H | |
| 498 | - have ha := (ActualParticularStageControls.native_wave_to_weighted hc.1).each l | |
| 499 | - have hp := (ActualParticularStageControls.native_wave_to_weighted hc.2.2.1).each l | |
| 500 | - have he := copyData_eq_actual x l j (ActualParticularStageControls.preserves_frequency hx l) | |
| 501 | - have ha' : WeightedClasses.MemClass ActualWaveRegularityData.particularFullStrip | |
| 502 | - (fun _ z => Real.sqrt (ActualWaveRegularityData.particularFullStrip.zeta z)) α | |
| 503 | - (copyData x l j).common.amplitude := by | |
| 504 | - rw [he] | |
| 505 | - exact ha | |
| 506 | - have hp' : WeightedClasses.MemClass ActualWaveRegularityData.particularFullStrip | |
| 507 | - (fun _ z => Real.sqrt (ActualWaveRegularityData.particularFullStrip.zeta z)) (α + 1/2) | |
| 508 | - (copyData x l j).common.pressure := by | |
| 509 | - rw [he] | |
| 510 | - exact hp | |
| 511 | - exact ⟨nativePotential_contDiffOn x l j (copyData_phase hx l j) ha' hz n, | |
| 512 | - nativePressure_re_contDiffOn x l j (copyData_phase hx l j) hp' hz n⟩ | |
| 513 | - | |
| 514 | 484 | theorem nativeMap_polar_mem_iff (n : ℕ) (a : ℝ) (i : PolarCharts.Index) (w : SpaceTime) : |
| 515 | 485 | PhysicalParticularWave.nativeMap CorrectionInitialization.ActualPrimary.h (ChartScales.Q n) |
| 516 | 486 | (CommonWindow.index CorrectionInitialization.ActualPrimary.h n) |
| @@ -525,29 +495,6 @@ theorem nativeMap_polar_mem_iff (n : ℕ) (a : ℝ) (i : PolarCharts.Index) (w : | ||
| 525 | 495 | PhysicalResidualBridge.ScaledGraph.map, PhysicalCurlCovariance.polarCoordinates, |
| 526 | 496 | AxisymmetricResidual.pack_two, nativePoint, cylinderPoint] |
| 527 | 497 | |
| 528 | -theorem localModes_contDiffAt_of_current_source (x : CycleState (Label B N0)) | |
| 529 | - (hx : ActualParticularStageControls.PreservesCarriers x) | |
| 530 | - (hs : ActualParticularStageControls.InputSupport x) | |
| 531 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 532 | - {α : ℝ} (j : ℤ) (hj : j ≠ 0) | |
| 533 | - (H : LabelSumBounds.UniformWaveClass | |
| 534 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip ActualParticularStageControls.slowStrip)) | |
| 535 | - ActualParticularStageControls.nativeEnvelope α (ActualParticularStageControls.currentSource x j)) | |
| 536 | - (l : Label B N0) (hz : RawBoundaryZero x l j) (n : ℕ) | |
| 537 | - {a : ℝ} (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} | |
| 538 | - (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a i) | |
| 539 | - (hm : nativePoint n w ∈ nativeDomain) : | |
| 540 | - ContDiffAt ℝ ∞ (localPotentialMode x l j n) w ∧ | |
| 541 | - ContDiffAt ℝ ∞ (localPressureMode x l j n) w := by | |
| 542 | - have hh := native_smooth_of_current_source x hx hs hN j hj H l hz n | |
| 543 | - have hm' := (nativeMap_polar_mem_iff n a i w).mpr hm | |
| 544 | - exact ⟨localPotentialMode_contDiffAt_of_native x l j | |
| 545 | - (ActualParticularStageControls.preserves_frequency hx l) n ha i hw | |
| 546 | - (hh.1.contDiffAt (nativeDomain_open.mem_nhds hm')), | |
| 547 | - localPressureMode_contDiffAt_of_native x l j | |
| 548 | - (ActualParticularStageControls.preserves_frequency hx l) n ha i hw | |
| 549 | - (hh.2.contDiffAt (nativeDomain_open.mem_nhds hm'))⟩ | |
| 550 | - | |
| 551 | 498 | /-! The literal cycle input discharges the raw endpoint condition. -/ |
| 552 | 499 | |
| 553 | 500 | theorem copyData_particularState (x : CycleState (ActualInitialization.Index B N0)) |
+0 −57 NavierStokes/ActualCurrentWaveSupport.lean View file
| @@ -377,31 +377,6 @@ theorem current_raw_pressure_zero_germs | ||
| 377 | 377 | n hz hr |
| 378 | 378 | exact ⟨hz'.1, hz'.2.2.1⟩ |
| 379 | 379 | |
| 380 | -theorem current_raw_pressure_annulus | |
| 381 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 382 | - (x : CorrectionStep.CycleState (ActualCurrentParticularPhysical.Label B N0)) | |
| 383 | - (l : ActualCurrentParticularPhysical.Label B N0) | |
| 384 | - (hs : HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 385 | - (ActualCoreSupport.refinedCarrier (l.2,l.1)) (x.coefficients.blocks l) | |
| 386 | - (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l)) | |
| 387 | - (j : ℤ) (n : ℕ) {z : ActualCurrentParticularPhysical.Native} | |
| 388 | - (hz : z.1.1 ∈ ActualCarrierTransport.parameterDomain) : | |
| 389 | - ((ActualCurrentParticularPhysical.copyData x l j).common.amplitude n z ≠ 0 → | |
| 390 | - ActualCoreSupport.radialRatio (ActualCarrierTransport.associatedPoint z.1.1 z.2) ∈ | |
| 391 | - Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) | |
| 392 | - (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) ∧ | |
| 393 | - ((ActualCurrentParticularPhysical.copyData x l j).common.pressure n z ≠ 0 → | |
| 394 | - ActualCoreSupport.radialRatio (ActualCarrierTransport.associatedPoint z.1.1 z.2) ∈ | |
| 395 | - Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) | |
| 396 | - (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) := by | |
| 397 | - constructor | |
| 398 | - · intro hne | |
| 399 | - by_contra hr | |
| 400 | - exact hne (current_raw_pressure_zero_germs hN x l hs j n hz hr).1.eq_of_nhds | |
| 401 | - · intro hne | |
| 402 | - by_contra hr | |
| 403 | - exact hne (current_raw_pressure_zero_germs hN x l hs j n hz hr).2.eq_of_nhds | |
| 404 | - | |
| 405 | 380 | theorem current_native_zero_germs |
| 406 | 381 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 407 | 382 | (x : CorrectionStep.CycleState (ActualCurrentParticularPhysical.Label B N0)) |
| @@ -598,26 +573,6 @@ theorem current_annulus | ||
| 598 | 573 | BandAnnulus.finset_sum (fun _ => ParticularWaveAssembly.modes x.coefficients.residualBand) |
| 599 | 574 | (fun j => (current_mode_annulus hN x l (hs l) j N).2)) |
| 600 | 575 | |
| 601 | -theorem current_local_active_zero | |
| 602 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 603 | - (x : CorrectionStep.CycleState (ActualCurrentParticularPhysical.Label B N0)) | |
| 604 | - (hs : ∀ l, HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 605 | - (ActualCoreSupport.refinedCarrier (l.2,l.1)) (x.coefficients.blocks l) | |
| 606 | - (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l)) | |
| 607 | - (n : ℕ) {w : SpaceTime} (hw : w ∈ ValidDyadicBandCover.band ActualPrimary.h n) | |
| 608 | - (hX : (SlowBorelBase.cartesianChart ActualPrimary.h w).2.1 ∉ | |
| 609 | - Icc (NominalConeAssembly.activeLeft ActualPrimary.nominal) | |
| 610 | - (NominalConeAssembly.activeRight ActualPrimary.nominal)) : | |
| 611 | - ActualCurrentParticularPhysical.localPotential x n w = 0 ∧ | |
| 612 | - ActualCurrentParticularPhysical.localPressure x n w = 0 := by | |
| 613 | - have hr : profileRadius ActualPrimary.h w ∉ | |
| 614 | - Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) | |
| 615 | - (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) := | |
| 616 | - fun hp => hX ((profileRadius_mem_iff_active hw.1).mp hp) | |
| 617 | - have hh := current_annulus hN x hs 0 | |
| 618 | - exact ⟨hh.1.zero_of_exterior (Nat.zero_le n) hw hr, | |
| 619 | - hh.2.zero_of_exterior (Nat.zero_le n) hw hr⟩ | |
| 620 | - | |
| 621 | 576 | theorem current_local_axis_germs |
| 622 | 577 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 623 | 578 | (x : CorrectionStep.CycleState (ActualCurrentParticularPhysical.Label B N0)) |
| @@ -673,18 +628,6 @@ theorem current_field_active_germs {w : SpaceTime} | ||
| 673 | 628 | hh.2.field_zero_germ ActualPrimary.outgoing.data.h_pos |
| 674 | 629 | ActualPrimary.outgoing.data.h_lt_half hP hqbig hw hr⟩ |
| 675 | 630 | |
| 676 | -theorem current_field_active_zero {w : SpaceTime} | |
| 677 | - (hw : w ∈ CutStageEstimates.physicalSublevel ActualPrimary.h qbig) | |
| 678 | - (hX : (SlowBorelBase.cartesianChart ActualPrimary.h w).2.1 ∉ | |
| 679 | - Icc (NominalConeAssembly.activeLeft ActualPrimary.nominal) | |
| 680 | - (NominalConeAssembly.activeRight ActualPrimary.nominal)) : | |
| 681 | - ValidDyadicBandCover.field ActualPrimary.h N | |
| 682 | - (ActualCurrentParticularPhysical.localPotential x) w = 0 ∧ | |
| 683 | - ValidDyadicBandCover.field ActualPrimary.h N | |
| 684 | - (ActualCurrentParticularPhysical.localPressure x) w = 0 := by | |
| 685 | - have hh := current_field_active_germs hN x hs hA hP hqbig hw hX | |
| 686 | - exact ⟨hh.1.eq_of_nhds, hh.2.eq_of_nhds⟩ | |
| 687 | - | |
| 688 | 631 | theorem current_field_support : |
| 689 | 632 | MixedDiagonalExtensions.SublevelShrinkingSupport ActualPrimary.h |
| 690 | 633 | PhysicalStageSupport.actualOuterConstant qbig |
+0 −95 NavierStokes/ActualCycleAssembly.lean View file
| @@ -533,29 +533,6 @@ theorem refined_signed_inputSupport (l : Index B N0) (s : StripData Point) | ||
| 533 | 533 | · intro n x hx hn |
| 534 | 534 | exact refined_signed_gaussian_zero l s request n hx hn |
| 535 | 535 | |
| 536 | -theorem refined_tangent_inputSupport (l : Index B N0) (s : StripData Point) | |
| 537 | - (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) : | |
| 538 | - HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 539 | - (ActualCoreSupport.refinedCarrier l) | |
| 540 | - ((ActualSignedStageControls.parameters l).tangentBlock s request) 0 0 := by | |
| 541 | - apply block_inputSupport_of_zero | |
| 542 | - · intro n x hx hn | |
| 543 | - exact (refined_signed_common_zero l s request n (x := (x,0)) hx hn).1 | |
| 544 | - · intro n x hx hn | |
| 545 | - exact (refined_signed_common_zero l s request n (x := (x,0)) hx hn).2 | |
| 546 | - | |
| 547 | -theorem refined_curl_inputSupport (l : Index B N0) (s : StripData Point) | |
| 548 | - (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) : | |
| 549 | - HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 550 | - (ActualCoreSupport.refinedCarrier l) | |
| 551 | - ((ActualSignedStageControls.parameters l).curlBlock s request) 0 0 := by | |
| 552 | - apply inputSupport_subBlock _ (refined_tangent_inputSupport l s request) | |
| 553 | - apply block_inputSupport_of_zero | |
| 554 | - · intro n x hx hn | |
| 555 | - exact (refined_signed_common_zero_germs l s request n (x := (x,0)) hx hn).2.1.self_of_nhds | |
| 556 | - · intro n x hx hn | |
| 557 | - exact (refined_signed_common_zero l s request n (x := (x,0)) hx hn).2 | |
| 558 | - | |
| 559 | 536 | end RefinedSignedSupport |
| 560 | 537 | |
| 561 | 538 | |
| @@ -610,20 +587,6 @@ variable {B N0 : ℕ} (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | ||
| 610 | 587 | theorem parameterDomain_open : IsOpen ActualCarrierTransport.parameterDomain := |
| 611 | 588 | ActualPrimary.standardRegion.isOpen.preimage continuous_snd |
| 612 | 589 | |
| 613 | -include hN in | |
| 614 | -theorem associated_inputSupport | |
| 615 | - {b : HarmonicBlock Point} {G A : HarmonicResidual.BlockCoefficients Point} | |
| 616 | - (hs : HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 617 | - (ActualInitialization.labelCarrier l) b G A) : | |
| 618 | - HarmonicSourceSupport.InputSupportOn (ActualCarrierTransport.parameterDomain ×ˢ Set.univ) | |
| 619 | - (ActualCarrierTransport.canonicalSourceRegion l) (StateReindex.block cycleAssoc.symm b) | |
| 620 | - (StateReindex.blockCoefficients cycleAssoc.symm G) (StateReindex.blockCoefficients cycleAssoc.symm A) := by | |
| 621 | - apply inputSupport_reindex_on cycleAssoc.symm hs | |
| 622 | - · intro z hz | |
| 623 | - exact hz.1 | |
| 624 | - · intro n z hz hk | |
| 625 | - exact (ActualCarrierTransport.labelCarrier_iff_canonicalSourceRegion hN l n hz.1 z.2).mp hk | |
| 626 | - | |
| 627 | 590 | theorem canonical_copyData_eq_scalar |
| 628 | 591 | (c : Context (CycleSlow × TorusInverse.Plane)) (u : State (CycleSlow × TorusInverse.Plane)) |
| 629 | 592 | (b : HarmonicBlock (CycleSlow × TorusInverse.Plane)) |
| @@ -669,38 +632,6 @@ variable (c : Context Point) (u : State Point) (b : HarmonicBlock Point) | ||
| 669 | 632 | |
| 670 | 633 | include hN hs |
| 671 | 634 | |
| 672 | -theorem canonical_source_zero_germ (j : ℤ) (n : ℕ) | |
| 673 | - {z : (CycleSlow × ℝ) × TorusInverse.Plane} | |
| 674 | - (hz : z.1.1 ∈ ActualCarrierTransport.parameterDomain) | |
| 675 | - (hn : (z.1.1, z.2) ∉ ActualCarrierTransport.canonicalSourceRegion l n) : | |
| 676 | - ParticularWaveAssembly.sourceFamily (StateReindex.context cycleAssoc.symm c) | |
| 677 | - (StateReindex.state cycleAssoc.symm u) (StateReindex.block cycleAssoc.symm b) | |
| 678 | - (StateReindex.blockCoefficients cycleAssoc.symm G) (StateReindex.blockCoefficients cycleAssoc.symm A) | |
| 679 | - j n =ᶠ[𝓝 z] fun _ => 0 := | |
| 680 | - ActualGaussianCoverage.sourceFamily_zero_germ _ _ _ _ _ (parameterDomain_open.prod isOpen_univ) | |
| 681 | - (ActualCarrierTransport.canonicalSourceRegion_closed l) (associated_inputSupport hN l hs) | |
| 682 | - j n ⟨hz, mem_univ _⟩ hn | |
| 683 | - | |
| 684 | -theorem canonical_copy_zero_germs (j : ℤ) | |
| 685 | - (s : StripData ((CycleSlow × ℝ) × TorusInverse.Plane)) | |
| 686 | - (d : LinearWaveBounds.GraphDirections ((CycleSlow × ℝ) × TorusInverse.Plane)) | |
| 687 | - (n : ℕ) {z : (CycleSlow × ℝ) × TorusInverse.Plane} | |
| 688 | - (hz : z.1.1 ∈ ActualCarrierTransport.parameterDomain) | |
| 689 | - (hn : (z.1.1, z.2) ∉ ActualCarrierTransport.canonicalSourceRegion l n) : | |
| 690 | - let a := (ActualParticularStageControls.canonicalParameters (l.2,l.1)).copyData | |
| 691 | - (StateReindex.context cycleAssoc.symm c) (StateReindex.state cycleAssoc.symm u) | |
| 692 | - (StateReindex.block cycleAssoc.symm b) (StateReindex.blockCoefficients cycleAssoc.symm G) | |
| 693 | - (StateReindex.blockCoefficients cycleAssoc.symm A) j | |
| 694 | - ((a.commonCorrected s d).amplitude n =ᶠ[𝓝 z] fun _ => 0) ∧ | |
| 695 | - (a.common.pressure n =ᶠ[𝓝 z] fun _ => 0) ∧ | |
| 696 | - (a.globalGaussian d n =ᶠ[𝓝 z] fun _ => 0) := by | |
| 697 | - dsimp only | |
| 698 | - rw [canonical_copyData_eq_scalar] | |
| 699 | - exact ScalarParticularSupport.scalarData_zero_germs _ _ _ _ _ _ _ _ _ _ | |
| 700 | - (ActualCarrierTransport.geometry_outer_injective l) ActualCarrierTransport.parameterDomain | |
| 701 | - (ActualCarrierTransport.activeSlowCore l) | |
| 702 | - (fun n z hz hn => canonical_source_zero_germ hN l c u b G A hs j n hz hn) s d n hz hn | |
| 703 | - | |
| 704 | 635 | end CanonicalParticular |
| 705 | 636 | |
| 706 | 637 | section FactorizedCarrier |
| @@ -982,17 +913,6 @@ theorem refined_particular_zero_germs (hN : ActualCarrierGeometry.geometricThres | ||
| 982 | 913 | (refined_carrier_factorization hN l) c u b G A hs j s |
| 983 | 914 | (ActualParticularStageControls.canonicalParameters (l.2,l.1)).directions n hz hns⟩ |
| 984 | 915 | |
| 985 | -/-- The literal recomputed signed request is allowed, so this is the | |
| 986 | -fixed cycle's exact block and Gaussian coefficient support. -/ | |
| 987 | -theorem cycle_refined_signed_inputSupport (x : CycleState (Index B N0)) (c : Context Point) | |
| 988 | - (l : Index B N0) : | |
| 989 | - HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain | |
| 990 | - (ActualCoreSupport.refinedCarrier l) | |
| 991 | - ((ActualCycleParameters.fixedParameters B N0).signedBlock x.coefficients c x.state l) | |
| 992 | - ((ActualCycleParameters.fixedParameters B N0).signedGaussianBlock x.coefficients c x.state l).velocity 0 := | |
| 993 | - refined_signed_inputSupport l ActualInitialization.geometry.strip | |
| 994 | - ((ActualCycleParameters.fixedParameters B N0).signedRequest x.coefficients c x.state) | |
| 995 | - | |
| 996 | 916 | end ConcreteCarriers |
| 997 | 917 | |
| 998 | 918 | section ComputedFamily |
| @@ -1106,10 +1026,6 @@ noncomputable def assemblyOfParticularSupport : | ||
| 1106 | 1026 | ((ActualCycleParameters.fixedParameters B N0).signedRequest x.coefficients |
| 1107 | 1027 | (ActualPrimary.commonContext B) x.state) |
| 1108 | 1028 | |
| 1109 | -theorem assemblyOfParticularSupport_labels : | |
| 1110 | - (assemblyOfParticularSupport x H hσ hpart htangent hcurl hP0 hP1 hN hcarrier hpartSupport).labels = | |
| 1111 | - x.coefficients.labels := rfl | |
| 1112 | - | |
| 1113 | 1029 | /-- The actual geometric constructor. Incoming primitive support is |
| 1114 | 1030 | transported through the particular solve; signed support is proved above. -/ |
| 1115 | 1031 | noncomputable def assembly : |
| @@ -1118,17 +1034,6 @@ noncomputable def assembly : | ||
| 1118 | 1034 | (cycle_particular_inputSupport hN x (ActualPrimary.commonContext B) |
| 1119 | 1035 | (fun l => inputSupport_mono (H.inputSupport l) (hcarrier l))) |
| 1120 | 1036 | |
| 1121 | -theorem assembly_labels : | |
| 1122 | - (assembly x H hσ hpart htangent hcurl hP0 hP1 hN hcarrier).labels = x.coefficients.labels := rfl | |
| 1123 | - | |
| 1124 | -theorem family_primary : | |
| 1125 | - (family x H hσ hpart htangent hcurl hP0 hP1).primary = ActualInitialization.tangentBlock := rfl | |
| 1126 | - | |
| 1127 | -theorem family_tangent : | |
| 1128 | - (family x H hσ hpart htangent hcurl hP0 hP1).tangent = | |
| 1129 | - (ActualCycleParameters.fixedParameters B N0).signedTangent x.coefficients | |
| 1130 | - (ActualPrimary.commonContext B) x.state := rfl | |
| 1131 | - | |
| 1132 | 1037 | /-- The two additional support predicates consumed by mean composition |
| 1133 | 1038 | come from the same assembly and the same finite labels. -/ |
| 1134 | 1039 | theorem assembly_supports : |
+0 −104 NavierStokes/ActualCycleCoherence.lean View file
| @@ -87,22 +87,6 @@ theorem initial_axis (B N0 : ℕ) : AxisCoherent (ActualInitialization.initialAl | ||
| 87 | 87 | theorem initial (B N0 : ℕ) : Coherent (ActualInitialization.initialCycleState B N0) := |
| 88 | 88 | ⟨initial_state B N0, initial_blocks B N0, initial_axis B N0, rfl⟩ |
| 89 | 89 | |
| 90 | -theorem BlocksCoherent.reindex {ι κ : Type} (e : κ ≃ ι) {v : CycleCoefficients ι} | |
| 91 | - (H : BlocksCoherent v) : BlocksCoherent (ActualCycleParameters.reindexCoefficients e v) := by | |
| 92 | - intro l n m k hi | |
| 93 | - exact H (e l) n m k hi | |
| 94 | - | |
| 95 | -theorem Coherent.particular_state {B N0 : ℕ} {x : CycleState (Index B N0)} (H : Coherent x) : | |
| 96 | - StateCoherent (ActualCycleParameters.particularState x).state := H.state | |
| 97 | - | |
| 98 | -theorem Coherent.particular_blocks {B N0 : ℕ} {x : CycleState (Index B N0)} (H : Coherent x) : | |
| 99 | - BlocksCoherent (ActualCycleParameters.particularState x).coefficients := | |
| 100 | - H.blocks.reindex (ActualCycleParameters.swap B N0).symm | |
| 101 | - | |
| 102 | -theorem StateCoherent.atlas {u : State Point} (H : StateCoherent u) (N : ℕ) : | |
| 103 | - (ActualMeanPhysicalData.initialAtlas N).StateOverlap standardRegion.carrier u := | |
| 104 | - fun n _ m _ k hi => H n m k hi | |
| 105 | - | |
| 106 | 90 | theorem Coherent.reference_state {B N0 : ℕ} {x : CycleState (Index B N0)} (H : Coherent x) |
| 107 | 91 | (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) : |
| 108 | 92 | ActualReferenceRebase.StateComparison (ActualCycleParameters.particularState x) |
| @@ -731,54 +715,6 @@ theorem step (hS : ∀ l n, IsClosed (S l n)) | ||
| 731 | 715 | Coherent (x.step (ActualCycleParameters.fixedParameters B N0) (commonContext B)) := |
| 732 | 716 | step_of_waves H W C (waves H W C hcover hS hcore) |
| 733 | 717 | |
| 734 | -include H W in | |
| 735 | -theorem next_primitive : | |
| 736 | - MeanStateRegularity.PrimitiveData standardRegion geometry.inner geometry.outer | |
| 737 | - (commonContext B) (x.step (ActualCycleParameters.fixedParameters B N0) (commonContext B)).state := | |
| 738 | - ((ActualCycleParameters.fixedParameters B N0).next_primitive x.coefficients (commonContext B) | |
| 739 | - x.state standardRegion (realizes B N0).inner_pos (realizes B N0).exponent_pos | |
| 740 | - (realizes B N0).length H.primitives (covariance_moving H W).1 (covariance_moving H W).2 | |
| 741 | - (rank_geometry H)).1 | |
| 742 | - | |
| 743 | -include H W C in | |
| 744 | -theorem temporal_potential_overlap (N : ℕ) | |
| 745 | - (HW : ∀ n m k, CommonWindow.index h n + k = CommonWindow.index h m → | |
| 746 | - CycleStateCoherence.CycleWavesOn geometry (ActualCycleParameters.fixedParameters B N0) | |
| 747 | - x.coefficients (commonContext B) x.state (overlap n m) n m k) : | |
| 748 | - (ActualMeanPhysicalData.initialAtlas N).OverlapLaw standardRegion.carrier | |
| 749 | - (CoordinateAlgebra.A h - 1 / 2) | |
| 750 | - (VariableGaugeMean.temporalPotential (ActualCycleParameters.fixedParameters B N0).gauge | |
| 751 | - (ActualCycleParameters.fixedParameters B N0).timeExponent | |
| 752 | - (ActualCycleParameters.fixedParameters B N0).commonIndex (commonContext B) | |
| 753 | - ((ActualCycleParameters.fixedParameters B N0).afterSigned x.coefficients (commonContext B) x.state)) := by | |
| 754 | - have HS : (ActualMeanPhysicalData.initialAtlas N).StateOverlap standardRegion.carrier | |
| 755 | - ((ActualCycleParameters.fixedParameters B N0).afterSigned x.coefficients (commonContext B) x.state) := | |
| 756 | - fun n _ m _ k hi => (transport_of_waves H W C n m k hi (HW n m k hi)).signed | |
| 757 | - exact (ActualMeanPhysicalData.initialAtlas N).temporal_overlap standardRegion | |
| 758 | - (ActualCycleParameters.fixedParameters B N0).gauge (commonContext B) _ | |
| 759 | - (ActualMeanPhysicalData.initial_context_overlap B N) HS | |
| 760 | - (ActualMeanPhysicalData.initial_gauge_overlap N) (stage_primitives H W).signed | |
| 761 | - (realizes B N0).inner_pos (realizes B N0).exponent_pos (realizes B N0).length rfl | |
| 762 | - | |
| 763 | -include H W C in | |
| 764 | -theorem rank_potential_overlap (N : ℕ) | |
| 765 | - (HW : ∀ n m k, CommonWindow.index h n + k = CommonWindow.index h m → | |
| 766 | - CycleStateCoherence.CycleWavesOn geometry (ActualCycleParameters.fixedParameters B N0) | |
| 767 | - x.coefficients (commonContext B) x.state (overlap n m) n m k) : | |
| 768 | - (ActualMeanPhysicalData.initialAtlas N).OverlapLaw standardRegion.carrier | |
| 769 | - (CoordinateAlgebra.A h - 1 / 2) | |
| 770 | - (VariableGaugeMean.rankPotential (ActualCycleParameters.fixedParameters B N0).gauge | |
| 771 | - (ActualCycleParameters.fixedParameters B N0).rank (commonContext B) | |
| 772 | - ((ActualCycleParameters.fixedParameters B N0).afterTemporal x.coefficients (commonContext B) x.state)) := by | |
| 773 | - have HS : (ActualMeanPhysicalData.initialAtlas N).StateOverlap standardRegion.carrier | |
| 774 | - ((ActualCycleParameters.fixedParameters B N0).afterTemporal x.coefficients (commonContext B) x.state) := | |
| 775 | - fun n _ m _ k hi => (transport_of_waves H W C n m k hi (HW n m k hi)).temporal | |
| 776 | - exact (ActualMeanPhysicalData.initialAtlas N).rank_overlap standardRegion | |
| 777 | - (ActualCycleParameters.fixedParameters B N0).gauge (ActualCycleParameters.fixedParameters B N0).rank | |
| 778 | - (commonContext B) _ (ActualMeanPhysicalData.initial_context_overlap B N) HS | |
| 779 | - (ActualMeanPhysicalData.initial_gauge_overlap N) (ActualMeanPhysicalData.initial_rank_overlap N) | |
| 780 | - (stage_primitives H W).temporal (stage_primitives H W).rankGeometry | |
| 781 | - | |
| 782 | 718 | end Step |
| 783 | 719 | |
| 784 | 720 | /-! ## The fixed actual recurrence and the mean atlas input -/ |
| @@ -787,19 +723,10 @@ noncomputable def state (B N0 : ℕ) : ℕ → CycleState (Index B N0) := | ||
| 787 | 723 | CycleState.iterate (fun _ => ActualCycleParameters.fixedParameters B N0) |
| 788 | 724 | (commonContext B) (ActualInitialization.initialCycleState B N0) |
| 789 | 725 | |
| 790 | -theorem state_zero (B N0 : ℕ) : state B N0 0 = ActualInitialization.initialCycleState B N0 := rfl | |
| 791 | - | |
| 792 | -theorem state_succ (B N0 j : ℕ) : state B N0 (j + 1) = | |
| 793 | - (state B N0 j).step (ActualCycleParameters.fixedParameters B N0) (commonContext B) := rfl | |
| 794 | - | |
| 795 | 726 | theorem state_labels (B N0 j : ℕ) : |
| 796 | 727 | (state B N0 j).coefficients.labels = activeLabels standardRegion B N0 := |
| 797 | 728 | CycleStateCoherence.iterate_labels _ _ _ j |
| 798 | 729 | |
| 799 | -theorem state_aliasCoefficients (B N0 j : ℕ) : | |
| 800 | - (state B N0 j).coefficients.aliasCoefficients = 0 := | |
| 801 | - CycleStateCoherence.iterate_aliasCoefficients _ _ _ j | |
| 802 | - | |
| 803 | 730 | /-- Collection of the already proved actual transport laws into precisely |
| 804 | 731 | the input used by the physical mean atlas. Its covariance fields are |
| 805 | 732 | derived from the same stage data as the analytic induction. -/ |
| @@ -832,37 +759,6 @@ variable (B N0 : ℕ) (sigma : ℕ → ℝ) (S : Index B N0 → ℕ → Set Poin | ||
| 832 | 759 | (hcover : ∀ l n z, z ∈ ActualInitialization.geometry.domain → z ∈ S l n → |
| 833 | 760 | l ∈ activeLabels standardRegion B N0 n) |
| 834 | 761 | |
| 835 | -include H W hS hcore hcover in | |
| 836 | -/-- The geometric induction uses the same fixed recurrence and supplied | |
| 837 | -analytic stage data; no sequence of coherent states is assumed. -/ | |
| 838 | -theorem iterate_coherent (j : ℕ) : Coherent (state B N0 j) := by | |
| 839 | - induction j with | |
| 840 | - | zero => exact initial B N0 | |
| 841 | - | succ j ih => | |
| 842 | - exact step (H j) (W j) ih | |
| 843 | - (fun l n z hz hs => by | |
| 844 | - change l ∈ (state B N0 j).coefficients.labels n | |
| 845 | - rw [state_labels] | |
| 846 | - exact hcover l n z hz hs) hS hcore | |
| 847 | - | |
| 848 | -include H W hS hcore hcover in | |
| 849 | -theorem iterate_waves (j n m k : ℕ) | |
| 850 | - (hi : CommonWindow.index h n + k = CommonWindow.index h m) : | |
| 851 | - CycleStateCoherence.CycleWavesOn geometry (ActualCycleParameters.fixedParameters B N0) | |
| 852 | - (state B N0 j).coefficients (commonContext B) (state B N0 j).state (overlap n m) n m k := | |
| 853 | - waves (H j) (W j) (iterate_coherent B N0 sigma S H W hS hcore hcover j) | |
| 854 | - (fun l n z hz hs => by | |
| 855 | - rw [state_labels] | |
| 856 | - exact hcover l n z hz hs) hS hcore n m k hi | |
| 857 | - | |
| 858 | -include H W hS hcore hcover in | |
| 859 | -/-- The actual mean-atlas input is derived from the same analytic | |
| 860 | -recurrence; its wave and covariance transports are conclusions. -/ | |
| 861 | -theorem mean_input (N : ℕ) : | |
| 862 | - ActualMeanPhysicalData.InitialCycleInput B N0 N (fun _ => ActualCycleParameters.fixedParameters B N0) := | |
| 863 | - mean_input_of_transport B N0 N sigma S H W | |
| 864 | - (iterate_waves B N0 sigma S H W hS hcore hcover) | |
| 865 | - | |
| 866 | 762 | end Iteration |
| 867 | 763 | |
| 868 | 764 | end NavierStokes.ActualCycleCoherence |
+0 −62 NavierStokes/ActualCycleGeometry.lean View file
| @@ -41,10 +41,6 @@ noncomputable def similarityData : ActualCycleExcluded.SimilarityData where | ||
| 41 | 41 | slow_one := BaseContextAssembly.one_le_slowScale |
| 42 | 42 | slow_scale := fun _ => le_max_right _ _ |
| 43 | 43 | |
| 44 | -theorem strip_eq : similarityData.strip = ActualInitialization.strip := rfl | |
| 45 | - | |
| 46 | -theorem strip_eq_geometry : similarityData.strip = ActualInitialization.geometry.strip := rfl | |
| 47 | - | |
| 48 | 44 | /-- The normalization factor is exactly one, so the similarity gauge agrees |
| 49 | 45 | with the common reconstruction used by initialization. -/ |
| 50 | 46 | theorem gauge_eq : similarityData.gauge = ActualPrimary.commonGauge := |
| @@ -53,62 +49,4 @@ theorem gauge_eq : similarityData.gauge = ActualPrimary.commonGauge := | ||
| 53 | 49 | theorem gauge_eq_geometry : similarityData.gauge = ActualInitialization.geometry.gauge := |
| 54 | 50 | gauge_eq |
| 55 | 51 | |
| 56 | -theorem region_eq : similarityData.region = ActualInitialization.geometry.region := rfl | |
| 57 | - | |
| 58 | -theorem inner_eq : similarityData.inner = ActualInitialization.geometry.patch.a := rfl | |
| 59 | - | |
| 60 | -theorem outer_eq : similarityData.outer = ActualInitialization.geometry.patch.b := rfl | |
| 61 | - | |
| 62 | -theorem index_eq : similarityData.index = CommonWindow.index ActualPrimary.h := rfl | |
| 63 | - | |
| 64 | -theorem index_bounds : CommonBaseContext.IndexBounds similarityData.h | |
| 65 | - similarityData.index similarityData.gap := | |
| 66 | - CommonWindow.indexBounds ActualPrimary.h ActualPrimary.outgoing.data.h_pos.le | |
| 67 | - | |
| 68 | -theorem slow_eq : similarityData.slow = BaseContextAssembly.slowScale := rfl | |
| 69 | - | |
| 70 | -theorem epsilon_eq : similarityData.strip.epsilon = ChartScales.epsilon ActualPrimary.h := rfl | |
| 71 | - | |
| 72 | -theorem fast_eq (B : ℕ) : (ActualPrimary.commonContext B).operators.fastCoefficient = | |
| 73 | - fun n => ChartScales.Tg ^ similarityData.index n * | |
| 74 | - ChartScales.Q n ^ (1 + similarityData.h) := rfl | |
| 75 | - | |
| 76 | -theorem temporal_eq (B : ℕ) : (ActualPrimary.commonContext B).operators.vT = | |
| 77 | - (0, (0, TorusInverse.vector .temporal)) := rfl | |
| 78 | - | |
| 79 | -/-- Changing either wave family leaves the entire similarity certificate | |
| 80 | -unchanged. The rank stage is the actual reserved rank construction. -/ | |
| 81 | -theorem compatible {ι : Type} (B : ℕ) | |
| 82 | - (particular : ι → ParticularParameters CycleSlow) | |
| 83 | - (signed : ι → PeriodizedSignedParameters CyclePoint TorusInverse.Frequency) : | |
| 84 | - ActualCycleExcluded.Compatible similarityData | |
| 85 | - (CycleParameters.ofGeometry ActualInitialization.geometry ActualPrimary.h | |
| 86 | - (CommonWindow.index ActualPrimary.h) ActualInitialization.axial | |
| 87 | - particular signed ActualPrimary.rankData) | |
| 88 | - (ActualPrimary.commonContext B) where | |
| 89 | - gauge := gauge_eq.symm | |
| 90 | - strip := strip_eq_geometry.symm | |
| 91 | - time := rfl | |
| 92 | - index := rfl | |
| 93 | - fast := fast_eq B | |
| 94 | - temporal := temporal_eq B | |
| 95 | - | |
| 96 | -/-- The actual operator bounds on precisely the strip in the certificate. -/ | |
| 97 | -theorem operators (B : ℕ) : | |
| 98 | - MeanIncrementBounds.OperatorBounds similarityData.strip | |
| 99 | - (ActualPrimary.commonContext B).operators ChartScales.kappa := | |
| 100 | - ActualInitialization.operators B | |
| 101 | - | |
| 102 | -/-- These bounds concern the actual same-profile base in the common context. -/ | |
| 103 | -theorem base_bounds (B : ℕ) : | |
| 104 | - MeanIncrementBounds.BaseBounds similarityData.strip (ActualPrimary.commonContext B).base := | |
| 105 | - ActualInitialization.base_bounds B | |
| 106 | - | |
| 107 | -theorem radius_pos (B : ℕ) (x : Point) (hx : x ∈ similarityData.strip.domain) : | |
| 108 | - 0 < (ActualPrimary.commonContext B).operators.radius x := | |
| 109 | - ActualInitialization.radius_pos B x hx | |
| 110 | - | |
| 111 | -theorem strip_time (x : Point) (hx : x ∈ similarityData.strip.domain) : 0 < x.2.1.1 := | |
| 112 | - ActualInitialization.strip_time x hx | |
| 113 | - | |
| 114 | 52 | end NavierStokes.ActualCycleGeometry |
+0 −206 NavierStokes/ActualCycleParameters.lean View file
| @@ -40,19 +40,6 @@ noncomputable def reindexState {ι κ : Type} (e : κ ≃ ι) | ||
| 40 | 40 | coefficients := reindexCoefficients e x.coefficients |
| 41 | 41 | axisymmetricAlias := x.axisymmetricAlias |
| 42 | 42 | |
| 43 | -noncomputable def reindexParameters {ι κ : Type} (e : κ ≃ ι) | |
| 44 | - (p : CycleParameters ι) : CycleParameters κ where | |
| 45 | - gauge := p.gauge | |
| 46 | - strip := p.strip | |
| 47 | - patch := p.patch | |
| 48 | - coordinate := p.coordinate | |
| 49 | - timeExponent := p.timeExponent | |
| 50 | - commonIndex := p.commonIndex | |
| 51 | - axial := p.axial | |
| 52 | - particular l := p.particular (e l) | |
| 53 | - signed l := p.signed (e l) | |
| 54 | - rank := p.rank | |
| 55 | - | |
| 56 | 43 | @[simp] theorem reindexCoefficients_mem {ι κ : Type} (e : κ ≃ ι) |
| 57 | 44 | (v : CycleCoefficients ι) (n : ℕ) (l : κ) : |
| 58 | 45 | l ∈ (reindexCoefficients e v).labels n ↔ e l ∈ v.labels n := by |
| @@ -69,56 +56,6 @@ noncomputable def reindexParameters {ι κ : Type} (e : κ ≃ ι) | ||
| 69 | 56 | (x : CycleState ι) : |
| 70 | 57 | (reindexState e x).coefficients.residualBand = x.coefficients.residualBand := rfl |
| 71 | 58 | |
| 72 | -theorem reindexCoefficients_symm {ι κ : Type} (e : κ ≃ ι) | |
| 73 | - (v : CycleCoefficients ι) : | |
| 74 | - reindexCoefficients e.symm (reindexCoefficients e v) = v := by | |
| 75 | - classical | |
| 76 | - rcases v with ⟨labels, blocks, gaussian, aliasCoefficients, residualBand⟩ | |
| 77 | - simp only [reindexCoefficients] | |
| 78 | - congr 1 | |
| 79 | - · funext n | |
| 80 | - ext l | |
| 81 | - simp | |
| 82 | - · funext l | |
| 83 | - simp | |
| 84 | - · funext l | |
| 85 | - simp | |
| 86 | - · funext l | |
| 87 | - simp | |
| 88 | - | |
| 89 | -theorem reindexState_symm {ι κ : Type} (e : κ ≃ ι) | |
| 90 | - (x : CycleState ι) : reindexState e.symm (reindexState e x) = x := by | |
| 91 | - rcases x with ⟨state, coefficients, axis⟩ | |
| 92 | - simp only [reindexState, reindexCoefficients_symm] | |
| 93 | - | |
| 94 | -theorem reindexCoefficients_sum {ι κ : Type} (e : κ ≃ ι) | |
| 95 | - (v : CycleCoefficients ι) {E : Type*} [AddCommMonoid E] | |
| 96 | - (n : ℕ) (f : ι → E) : | |
| 97 | - (∑ l ∈ (reindexCoefficients e v).labels n, f (e l)) = ∑ l ∈ v.labels n, f l := by | |
| 98 | - classical | |
| 99 | - simp [reindexCoefficients] | |
| 100 | - | |
| 101 | -theorem reindexState_representation {ι κ : Type} (e : κ ≃ ι) | |
| 102 | - (x : CycleState ι) | |
| 103 | - (H : CycleRepresentation x.coefficients x.state x.axisymmetricAlias) : | |
| 104 | - CycleRepresentation (reindexState e x).coefficients (reindexState e x).state | |
| 105 | - (reindexState e x).axisymmetricAlias := by | |
| 106 | - constructor | |
| 107 | - · intro n z i | |
| 108 | - simpa [reindexState, reindexCoefficients] using H.velocity n z i | |
| 109 | - · intro n z | |
| 110 | - simpa [reindexState, reindexCoefficients] using H.pressure n z | |
| 111 | - · intro n z i | |
| 112 | - simpa [reindexState, reindexCoefficients] using H.gaussian n z i | |
| 113 | - · intro n z i | |
| 114 | - simpa [reindexState, reindexCoefficients] using H.aliasError n z i | |
| 115 | - | |
| 116 | -theorem reindexState_bands {ι κ : Type} (e : κ ≃ ι) | |
| 117 | - (x : CycleState ι) (H : CoefficientBands x.coefficients) : | |
| 118 | - CoefficientBands (reindexState e x).coefficients := | |
| 119 | - ⟨fun l => H.velocityPressure (e l), fun l => H.gaussian (e l), | |
| 120 | - fun l => H.aliasError (e l)⟩ | |
| 121 | - | |
| 122 | 59 | /-! ## The two label orders describe the same primary choice -/ |
| 123 | 60 | |
| 124 | 61 | abbrev Index (B N0 : ℕ) := ActualInitialization.Index B N0 |
| @@ -157,10 +94,6 @@ noncomputable def particularState {B N0 : ℕ} (x : CycleState (Index B N0)) : | ||
| 157 | 94 | simpa only [particularState, reindexState, Equiv.symm_apply_apply] using |
| 158 | 95 | reindexCoefficients_mem (swap B N0).symm x.coefficients n (swap B N0 l) |
| 159 | 96 | |
| 160 | -theorem particularState_roundtrip {B N0 : ℕ} (x : CycleState (Index B N0)) : | |
| 161 | - reindexState (swap B N0) (particularState x) = x := | |
| 162 | - reindexState_symm (swap B N0).symm x | |
| 163 | - | |
| 164 | 97 | /-! ## The actual four-stage parameter constructor -/ |
| 165 | 98 | |
| 166 | 99 | noncomputable def parameters {B N0 : ℕ} (x : CycleState (Index B N0)) : |
| @@ -170,19 +103,6 @@ noncomputable def parameters {B N0 : ℕ} (x : CycleState (Index B N0)) : | ||
| 170 | 103 | (fun l => ActualParticularStageControls.parameters (particularState x) (swap B N0 l)) |
| 171 | 104 | ActualSignedStageControls.parameters ActualPrimary.rankData |
| 172 | 105 | |
| 173 | -/-- The same literal builder expressed in the particular solver's label | |
| 174 | -order. This has no additional geometric or analytic choices. -/ | |
| 175 | -noncomputable def parametersInParticularOrder {B N0 : ℕ} | |
| 176 | - (x : CycleState (ParticularIndex B N0)) : CycleParameters (ParticularIndex B N0) := | |
| 177 | - CycleParameters.ofGeometry ActualInitialization.geometry ActualPrimary.h | |
| 178 | - (CommonWindow.index ActualPrimary.h) ActualInitialization.axial | |
| 179 | - (ActualParticularStageControls.parameters x) | |
| 180 | - (fun l => ActualSignedStageControls.parameters ((swap B N0).symm l)) ActualPrimary.rankData | |
| 181 | - | |
| 182 | -theorem parameters_swap {B N0 : ℕ} (x : CycleState (Index B N0)) : | |
| 183 | - reindexParameters (swap B N0).symm (parameters x) = | |
| 184 | - parametersInParticularOrder (particularState x) := rfl | |
| 185 | - | |
| 186 | 106 | @[simp] theorem parameters_gauge {B N0 : ℕ} (x : CycleState (Index B N0)) : |
| 187 | 107 | (parameters x).gauge = ActualPrimary.commonGauge := rfl |
| 188 | 108 | |
| @@ -216,40 +136,12 @@ theorem parameters_swap {B N0 : ℕ} (x : CycleState (Index B N0)) : | ||
| 216 | 136 | (l : Index B N0) : |
| 217 | 137 | (parameters x).signed l = ActualSignedStageControls.parameters l := rfl |
| 218 | 138 | |
| 219 | -theorem parameters_indexBounds {B N0 : ℕ} (x : CycleState (Index B N0)) : | |
| 220 | - CommonBaseContext.IndexBounds ActualPrimary.h (parameters x).commonIndex | |
| 221 | - (CommonWindow.gap ActualPrimary.h) := | |
| 222 | - CommonWindow.indexBounds ActualPrimary.h ActualPrimary.outgoing.data.h_pos.le | |
| 223 | - | |
| 224 | -theorem parameters_geometry_operators {B N0 : ℕ} (_x : CycleState (Index B N0)) : | |
| 225 | - ActualInitialization.geometry.operators = (ActualPrimary.commonContext B).operators := rfl | |
| 226 | - | |
| 227 | -theorem parameters_compatible {B N0 : ℕ} (x : CycleState (Index B N0)) : | |
| 228 | - ActualCycleExcluded.Compatible ActualCycleGeometry.similarityData (parameters x) | |
| 229 | - (ActualPrimary.commonContext B) := | |
| 230 | - ActualCycleGeometry.compatible B | |
| 231 | - (fun l => ActualParticularStageControls.parameters (particularState x) (swap B N0 l)) | |
| 232 | - ActualSignedStageControls.parameters | |
| 233 | - | |
| 234 | 139 | /-- The physical band floor belongs to the already selected primary |
| 235 | 140 | choice and does not change with the current correction state. -/ |
| 236 | 141 | noncomputable def bandFloor (B N0 : ℕ) : ℕ := (ActualPrimary.choice B N0).prepared.N |
| 237 | 142 | |
| 238 | 143 | noncomputable def sourceBand {B N0 : ℕ} (l : Index B N0) : ℕ := BaseChartJets.cellBand l.1 |
| 239 | 144 | |
| 240 | -theorem bandFloor_ge (B N0 : ℕ) : N0 ≤ bandFloor B N0 := ActualPrimary.threshold B N0 | |
| 241 | - | |
| 242 | -theorem sourceBand_ge_floor {B N0 : ℕ} (l : Index B N0) : | |
| 243 | - bandFloor B N0 ≤ sourceBand l := l.1.property | |
| 244 | - | |
| 245 | -theorem particular_reference_band {B N0 : ℕ} (l : Index B N0) : | |
| 246 | - (ActualParticularStageControls.reference (swap B N0 l)).band = sourceBand l := rfl | |
| 247 | - | |
| 248 | -theorem particular_gap {B N0 : ℕ} (l : Index B N0) (n : ℕ) : | |
| 249 | - ActualParticularStageControls.gap (swap B N0 l) n = | |
| 250 | - ChartScales.nativeIndex ActualPrimary.h (sourceBand l) - | |
| 251 | - CommonWindow.index ActualPrimary.h n := rfl | |
| 252 | - | |
| 253 | 145 | theorem activeLabel_band {B N0 : ℕ} (n : ℕ) (l : Index B N0) |
| 254 | 146 | (hl : l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n) : |
| 255 | 147 | sourceBand l ∈ CommonWindow.levels n := by |
| @@ -266,59 +158,8 @@ theorem activeLabel_index {B N0 : ℕ} (n : ℕ) (l : Index B N0) | ||
| 266 | 158 | ChartScales.nativeIndex ActualPrimary.h (sourceBand l) := |
| 267 | 159 | CommonWindow.index_le (activeLabel_band n l hl) |
| 268 | 160 | |
| 269 | -theorem activeLabel_particular {B N0 : ℕ} (n : ℕ) (hn : 1 ≤ n) (l : Index B N0) | |
| 270 | - (hl : l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n) : | |
| 271 | - 1 ≤ n ∧ BaseChartJets.cellBand (swap B N0 l).2 ∈ CommonWindow.levels n := | |
| 272 | - ⟨hn, activeLabel_band n l hl⟩ | |
| 273 | - | |
| 274 | 161 | /-! The particular source really is the current stored residual. -/ |
| 275 | 162 | |
| 276 | -theorem particular_assembly_context {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 277 | - (l : Index B N0) : | |
| 278 | - (ActualParticularStageControls.assembly (particularState x) (swap B N0 l)).context = | |
| 279 | - StateReindex.context cycleAssoc.symm (ActualPrimary.commonContext B) := rfl | |
| 280 | - | |
| 281 | -theorem particular_assembly_state {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 282 | - (l : Index B N0) : | |
| 283 | - (ActualParticularStageControls.assembly (particularState x) (swap B N0 l)).state = | |
| 284 | - StateReindex.state cycleAssoc.symm x.state := rfl | |
| 285 | - | |
| 286 | -theorem particular_assembly_carrier {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 287 | - (l : Index B N0) : | |
| 288 | - (ActualParticularStageControls.assembly (particularState x) (swap B N0 l)).carrierBlock = | |
| 289 | - StateReindex.block cycleAssoc.symm (x.coefficients.blocks l) := rfl | |
| 290 | - | |
| 291 | -theorem particular_assembly_gaussian {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 292 | - (l : Index B N0) : | |
| 293 | - (ActualParticularStageControls.assembly (particularState x) (swap B N0 l)).gaussianInput = | |
| 294 | - StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.gaussian l) := rfl | |
| 295 | - | |
| 296 | -theorem particular_assembly_alias {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 297 | - (l : Index B N0) : | |
| 298 | - (ActualParticularStageControls.assembly (particularState x) (swap B N0 l)).aliasInput = | |
| 299 | - StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.aliasCoefficients l) := rfl | |
| 300 | - | |
| 301 | -theorem particular_source {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 302 | - (l : Index B N0) (j : ℤ) : | |
| 303 | - (((parameters x).particular l).copyData | |
| 304 | - (StateReindex.context cycleAssoc.symm (ActualPrimary.commonContext B)) | |
| 305 | - (StateReindex.state cycleAssoc.symm x.state) | |
| 306 | - (StateReindex.block cycleAssoc.symm (x.coefficients.blocks l)) | |
| 307 | - (StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.gaussian l)) | |
| 308 | - (StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.aliasCoefficients l)) j).source = | |
| 309 | - ParticularWaveAssembly.sourceFamily | |
| 310 | - (StateReindex.context cycleAssoc.symm (ActualPrimary.commonContext B)) | |
| 311 | - (StateReindex.state cycleAssoc.symm x.state) | |
| 312 | - (StateReindex.block cycleAssoc.symm (x.coefficients.blocks l)) | |
| 313 | - (StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.gaussian l)) | |
| 314 | - (StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.aliasCoefficients l)) j := rfl | |
| 315 | - | |
| 316 | -theorem signed_request {B N0 : ℕ} (x : CycleState (Index B N0)) : | |
| 317 | - (parameters x).signedRequest x.coefficients (ActualPrimary.commonContext B) x.state = | |
| 318 | - LocalSignedRequest.fullRequest ActualInitialization.strip ActualInitialization.patch | |
| 319 | - (2 * ActualPrimary.h) (ActualPrimary.commonContext B) | |
| 320 | - ((parameters x).afterParticular x.coefficients (ActualPrimary.commonContext B) x.state) := rfl | |
| 321 | - | |
| 322 | 163 | /-! ## The signed update uses the initialized primary carrier -/ |
| 323 | 164 | |
| 324 | 165 | theorem signed_frequency (p : PeriodizedSignedParameters CyclePoint TorusInverse.Frequency) |
| @@ -374,42 +215,6 @@ theorem signed_tangent_carrier {B N0 : ℕ} (l : Index B N0) | ||
| 374 | 215 | exact ⟨hs.frequency.trans hp.frequency.symm, hs.phase.trans hp.phase.symm, |
| 375 | 216 | hs.angular.trans hp.angular.symm⟩ |
| 376 | 217 | |
| 377 | -theorem parameters_signed_carrier {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 378 | - (c : Context CyclePoint) (l : Index B N0) | |
| 379 | - (H : SameCarrier (x.coefficients.blocks l) (ActualInitialization.tangentBlock l)) : | |
| 380 | - SameCarrier (x.coefficients.blocks l) | |
| 381 | - ((parameters x).signedBlock x.coefficients c x.state l) := by | |
| 382 | - have hs := signed_tangent_carrier l (parameters x).strip | |
| 383 | - ((parameters x).signedRequest x.coefficients c x.state) | |
| 384 | - exact ⟨hs.frequency.trans H.frequency, hs.phase.trans H.phase, hs.angular.trans H.angular⟩ | |
| 385 | - | |
| 386 | -theorem parameters_particular_carrier {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 387 | - (c : Context CyclePoint) (l : Index B N0) : | |
| 388 | - SameCarrier (x.coefficients.blocks l) | |
| 389 | - ((parameters x).particularBlock x.coefficients c x.state l) := | |
| 390 | - (parameters x).particular_carrier x.coefficients c x.state l | |
| 391 | - | |
| 392 | -theorem parameters_gaussian_carrier {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 393 | - (c : Context CyclePoint) (l : Index B N0) : | |
| 394 | - SameCarrier (x.coefficients.blocks l) | |
| 395 | - ((parameters x).particularGaussianBlock x.coefficients c x.state l) := | |
| 396 | - (parameters x).particularGaussian_carrier x.coefficients c x.state l | |
| 397 | - | |
| 398 | -theorem invariant_signed_carrier {B N0 : ℕ} {x : CycleState (Index B N0)} | |
| 399 | - {P : Index B N0 → ℕ → CyclePoint → ℝ} | |
| 400 | - {labelCarrier : Index B N0 → ℕ → Set CyclePoint} {sigma : ℝ} | |
| 401 | - (H : CycleAnalyticInvariant ActualInitialization.geometry (ActualPrimary.commonContext B) | |
| 402 | - ActualInitialization.tangentBlock P labelCarrier sigma x) (l : Index B N0) : | |
| 403 | - SameCarrier (x.coefficients.blocks l) | |
| 404 | - ((parameters x).signedBlock x.coefficients (ActualPrimary.commonContext B) x.state l) := | |
| 405 | - parameters_signed_carrier x _ l (H.carrier l) | |
| 406 | - | |
| 407 | -theorem initial_signed_carrier (B N0 : ℕ) (l : Index B N0) : | |
| 408 | - let x := ActualInitialization.initialCycleState B N0 | |
| 409 | - SameCarrier (x.coefficients.blocks l) | |
| 410 | - ((parameters x).signedBlock x.coefficients (ActualPrimary.commonContext B) x.state l) := | |
| 411 | - parameters_signed_carrier _ _ l (ActualInitialization.primary_tangent_carrier l) | |
| 412 | - | |
| 413 | 218 | /-! ## The same fixed primitives at every valid state -/ |
| 414 | 219 | |
| 415 | 220 | noncomputable def fixedParameters (B N0 : ℕ) : CycleParameters (Index B N0) := |
| @@ -449,13 +254,6 @@ noncomputable def fixedParameters (B N0 : ℕ) : CycleParameters (Index B N0) := | ||
| 449 | 254 | @[simp] theorem fixedParameters_rank (B N0 : ℕ) : |
| 450 | 255 | (fixedParameters B N0).rank = ActualPrimary.rankData := rfl |
| 451 | 256 | |
| 452 | -theorem fixedParameters_compatible (B N0 : ℕ) : | |
| 453 | - ActualCycleExcluded.Compatible ActualCycleGeometry.similarityData (fixedParameters B N0) | |
| 454 | - (ActualPrimary.commonContext B) := | |
| 455 | - ActualCycleGeometry.compatible B | |
| 456 | - (fun l => ActualParticularStageControls.canonicalParameters (swap B N0 l)) | |
| 457 | - ActualSignedStageControls.parameters | |
| 458 | - | |
| 459 | 257 | theorem current_frequency {B N0 : ℕ} (x : CycleState (Index B N0)) (l : Index B N0) |
| 460 | 258 | (H : SameCarrier (x.coefficients.blocks l) (ActualInitialization.tangentBlock l)) (n : ℕ) : |
| 461 | 259 | (x.coefficients.blocks l).frequency n = ChartScales.carrier ActualPrimary.h n := by |
| @@ -492,10 +290,6 @@ theorem invariant_parameters_eq_fixed {B N0 : ℕ} {x : CycleState (Index B N0)} | ||
| 492 | 290 | ActualInitialization.tangentBlock P labelCarrier sigma x) : |
| 493 | 291 | parameters x = fixedParameters B N0 := parameters_eq_fixed x H.carrier |
| 494 | 292 | |
| 495 | -theorem initial_parameters_eq_fixed (B N0 : ℕ) : | |
| 496 | - parameters (ActualInitialization.initialCycleState B N0) = fixedParameters B N0 := | |
| 497 | - parameters_eq_fixed _ ActualInitialization.primary_tangent_carrier | |
| 498 | - | |
| 499 | 293 | theorem fixedParameters_signed_carrier {B N0 : ℕ} (x : CycleState (Index B N0)) |
| 500 | 294 | (c : Context CyclePoint) (l : Index B N0) |
| 501 | 295 | (H : SameCarrier (x.coefficients.blocks l) (ActualInitialization.tangentBlock l)) : |
+0 −22 NavierStokes/ActualCyclePeriodicity.lean View file
| @@ -353,28 +353,6 @@ theorem state_phase_translation (l : Index B N0) (n : ℕ) | ||
| 353 | 353 | simpa only [ActualPrimaryCoherence.chartDeck, pointDeck, Prod.add_def, add_zero] using |
| 354 | 354 | ActualPrimaryCoherence.chart_phase_periodic l.2 l.1 n hn k (z, 0) |
| 355 | 355 | |
| 356 | -include H in | |
| 357 | -/-- The per-label real velocity, pressure, and retained Gaussian field | |
| 358 | -have the same periods as their literal coefficients. -/ | |
| 359 | -theorem fields_ordered (h : Periodic x) (l : Index B N0) (n : ℕ) | |
| 360 | - (hn : ActualWaveRegularityData.Ordered l n) (k : TorusInverse.Frequency) (θ : ℝ) : | |
| 361 | - TranslationOn ActualInitialization.geometry.domain (pointDeck k) | |
| 362 | - (fun z => (x.coefficients.blocks l).oscillation n (z, θ)) ∧ | |
| 363 | - TranslationOn ActualInitialization.geometry.domain (pointDeck k) | |
| 364 | - (fun z => (x.coefficients.blocks l).oscillatoryPressure n (z, θ)) ∧ | |
| 365 | - TranslationOn ActualInitialization.geometry.domain (pointDeck k) | |
| 366 | - (fun z => coefficientField (x.coefficients.blocks l) (x.coefficients.gaussian l) n (z, θ)) := by | |
| 367 | - have hΦ := state_phase_translation H l n hn k | |
| 368 | - refine ⟨?_, ?_, ?_⟩ | |
| 369 | - · intro z hz | |
| 370 | - funext i | |
| 371 | - exact congrArg Complex.re ((h.velocity l n hn k i).field hΦ _ _ θ z hz) | |
| 372 | - · intro z hz | |
| 373 | - exact congrArg Complex.re ((h.pressure l n hn k).field hΦ _ _ θ z hz) | |
| 374 | - · intro z hz | |
| 375 | - funext i | |
| 376 | - exact congrArg Complex.re ((h.gaussian l n hn k i).field hΦ _ _ θ z hz) | |
| 377 | - | |
| 378 | 356 | include H in |
| 379 | 357 | /-- Every actual residual coefficient has the common periods on an ordered band. |
| 380 | 358 | This uses the separate per-label hypotheses, not merely the total velocity. -/ |
+0 −99 NavierStokes/ActualCyclePreservation.lean View file
| @@ -142,16 +142,10 @@ end CurrentState | ||
| 142 | 142 | |
| 143 | 143 | /-! The actual label set is unchanged by every correction. -/ |
| 144 | 144 | |
| 145 | -theorem step_labels {B N0 : ℕ} (x : CycleState (Index B N0)) : | |
| 146 | - (x.step (ActualCycleParameters.fixedParameters B N0) (ActualPrimary.commonContext B)).coefficients.labels = | |
| 147 | - x.coefficients.labels := rfl | |
| 148 | - | |
| 149 | 145 | noncomputable def state (B N0 : ℕ) : ℕ → CycleState (Index B N0) := |
| 150 | 146 | CycleState.iterate (fun _ => ActualCycleParameters.fixedParameters B N0) |
| 151 | 147 | (ActualPrimary.commonContext B) (ActualInitialization.initialCycleState B N0) |
| 152 | 148 | |
| 153 | -theorem state_zero (B N0 : ℕ) : state B N0 0 = ActualInitialization.initialCycleState B N0 := rfl | |
| 154 | - | |
| 155 | 149 | theorem state_succ (B N0 n : ℕ) : |
| 156 | 150 | state B N0 (n+1) = (state B N0 n).step (ActualCycleParameters.fixedParameters B N0) |
| 157 | 151 | (ActualPrimary.commonContext B) := rfl |
| @@ -601,20 +595,6 @@ noncomputable def stepData_of_waves (H : Invariant σ x) | ||
| 601 | 595 | |
| 602 | 596 | end Assembly |
| 603 | 597 | |
| 604 | -/-- In a band with no compatible common cover, the actual incoming | |
| 605 | -source has a zero germ throughout the complete slow cylinder. -/ | |
| 606 | -theorem residualSource_zero_germ_of_not_ordered {B N0 : ℕ} {σ : ℝ} | |
| 607 | - {x : CycleState (Index B N0)} (H : Invariant σ x) | |
| 608 | - (l : Index B N0) (n : ℕ) (hn : ¬ActualWaveRegularityData.Ordered l n) | |
| 609 | - (j : ℤ) {z : Point} (hz : z ∈ (G).domain) : | |
| 610 | - ParticularWaveAssembly.residualSource (ActualPrimary.commonContext B) x.state | |
| 611 | - (x.coefficients.blocks l) (x.coefficients.gaussian l) | |
| 612 | - (x.coefficients.aliasCoefficients l) j n =ᶠ[𝓝 z] fun _ => 0 := by | |
| 613 | - apply HarmonicSourceSupport.residualSource_zero_germ_on _ _ _ _ _ | |
| 614 | - (G).domain_open (ActualCoreSupport.refinedCarrier_closed l) (H.inputSupport l) j n hz | |
| 615 | - intro hc | |
| 616 | - exact hn (ActualCycleParameters.activeLabel_index n l (core_active l n hz hc)) | |
| 617 | - | |
| 618 | 598 | section SignedEquations |
| 619 | 599 | variable {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| 620 | 600 | local notation "p" => ActualCycleParameters.fixedParameters B N0 |
| @@ -652,32 +632,6 @@ theorem signed_inputSupport (l : Index B N0) : | ||
| 652 | 632 | |
| 653 | 633 | end SignedEquations |
| 654 | 634 | |
| 655 | -noncomputable def nativeParticularData {B N0 : ℕ} (x : CycleState (Index B N0)) | |
| 656 | - (l : Index B N0) (j : ℤ) := | |
| 657 | - (ActualParticularStageControls.canonicalParameters (l.2,l.1)).copyData | |
| 658 | - (StateReindex.context cycleAssoc.symm (ActualPrimary.commonContext B)) | |
| 659 | - (StateReindex.state cycleAssoc.symm x.state) | |
| 660 | - (StateReindex.block cycleAssoc.symm (x.coefficients.blocks l)) | |
| 661 | - (StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.gaussian l)) | |
| 662 | - (StateReindex.blockCoefficients cycleAssoc.symm (x.coefficients.aliasCoefficients l)) j | |
| 663 | - | |
| 664 | -theorem nativeParticular_inactive {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} | |
| 665 | - (H : Invariant σ x) (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 666 | - (l : Index B N0) (n : ℕ) (hn : ¬ActualWaveRegularityData.Ordered l n) (j : ℤ) | |
| 667 | - {z : ActualParticularStageControls.Native} | |
| 668 | - (hz : z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart | |
| 669 | - ActualPrimary.standardRegion) : | |
| 670 | - (nativeParticularData x l j).common.amplitude n =ᶠ[𝓝 z] fun _ => 0 := by | |
| 671 | - have hp : z.1.1 ∈ ActualCarrierTransport.parameterDomain := hz.1 | |
| 672 | - apply ActualCycleAssembly.common_raw_zero_germ_of_factorization l | |
| 673 | - (ActualCoreSupport.refinedCarrier l) (ActualCycleAssembly.refinedSlowCore l) | |
| 674 | - (ActualCoreSupport.refinedCarrier_closed l) (ActualCycleAssembly.refined_carrier_factorization hN l) | |
| 675 | - (ActualPrimary.commonContext B) x.state (x.coefficients.blocks l) | |
| 676 | - (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) (H.inputSupport l) j n hp | |
| 677 | - intro hs | |
| 678 | - have hc := (ActualCycleAssembly.refined_carrier_factorization hN l n z.1.1 hp z.2).mpr hs | |
| 679 | - exact hn (ActualCycleParameters.activeLabel_index n l (core_active l n hp hc)) | |
| 680 | - | |
| 681 | 635 | |
| 682 | 636 | section Factory |
| 683 | 637 | variable {B N0 : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} |
| @@ -752,15 +706,6 @@ theorem stepResult_of_particular (H : Invariant σ x) | ||
| 752 | 706 | CorrectionAnalyticStep.step _ _ _ _ _ _ _ _ _ _ _ _ |
| 753 | 707 | (staticData B) H hσ kappa_small (stepData_of_particular H hN hσ hl P) |
| 754 | 708 | |
| 755 | -theorem afterTemporal_debt_of_particular (H : Invariant σ x) | |
| 756 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (hσ : 1/5 ≤ σ) | |
| 757 | - (hl : (v).labels = ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) | |
| 758 | - (P : ActualParticularCycleData.Data x σ) : | |
| 759 | - UnweightedClass ActualInitialization.slowStrip (1+σ-2*κ) | |
| 760 | - (debt c (ActualIntermediateDebtBounds.postTemporal x)) := | |
| 761 | - ActualIntermediateDebtBounds.afterTemporal_debt_from_stepData | |
| 762 | - (staticData B) H hσ (P.inputs H hN) (stepData_of_particular H hN hσ hl P) | |
| 763 | - | |
| 764 | 709 | end Factory |
| 765 | 710 | |
| 766 | 711 | /-- The actual run retains analytic bounds, full chart coherence, and |
| @@ -842,11 +787,6 @@ theorem state_coherent (B N0 : ℕ) | ||
| 842 | 787 | ActualCycleCoherence.Coherent (state B N0 j) := |
| 843 | 788 | (state_runInvariant B N0 hN j).coherent |
| 844 | 789 | |
| 845 | -theorem state_periodic (B N0 : ℕ) | |
| 846 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : | |
| 847 | - ActualCyclePeriodicity.Periodic (state B N0 j) := | |
| 848 | - (state_runInvariant B N0 hN j).periodic | |
| 849 | - | |
| 850 | 790 | theorem state_particularData (B N0 : ℕ) |
| 851 | 791 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : |
| 852 | 792 | ActualParticularCycleData.Data (state B N0 j) (ActualIterationLedger.sigma j) := |
| @@ -879,28 +819,6 @@ noncomputable def state_stepData (B N0 : ℕ) | ||
| 879 | 819 | (ActualIterationLedger.sigma_admissible j) (state_labels B N0 j) |
| 880 | 820 | (state_particularData B N0 hN j) |
| 881 | 821 | |
| 882 | -theorem state_result (B N0 : ℕ) | |
| 883 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : | |
| 884 | - CorrectionAnalyticStep.StepResult ActualInitialization.geometry ActualPrimary.h | |
| 885 | - (CommonWindow.index ActualPrimary.h) ActualInitialization.axial | |
| 886 | - (fun l => ActualParticularStageControls.canonicalParameters (l.2,l.1)) | |
| 887 | - ActualSignedStageControls.parameters ActualPrimary.rankData (ActualPrimary.commonContext B) | |
| 888 | - (state B N0 j) ActualInitialization.tangentBlock ActualInitialization.envelope | |
| 889 | - ActualCoreSupport.refinedCarrier (σ := ActualIterationLedger.sigma j) («κ» := ChartScales.kappa) := | |
| 890 | - stepResult_of_particular (state_invariant B N0 hN j) hN | |
| 891 | - (ActualIterationLedger.sigma_admissible j) (state_labels B N0 j) | |
| 892 | - (state_particularData B N0 hN j) | |
| 893 | - | |
| 894 | -theorem state_afterTemporal_debt (B N0 : ℕ) | |
| 895 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : | |
| 896 | - UnweightedClass ActualInitialization.slowStrip | |
| 897 | - (1+ActualIterationLedger.sigma j-2*ChartScales.kappa) | |
| 898 | - (debt (ActualPrimary.commonContext B) | |
| 899 | - (ActualIntermediateDebtBounds.postTemporal (state B N0 j))) := | |
| 900 | - afterTemporal_debt_of_particular (state_invariant B N0 hN j) hN | |
| 901 | - (ActualIterationLedger.sigma_admissible j) (state_labels B N0 j) | |
| 902 | - (state_particularData B N0 hN j) | |
| 903 | - | |
| 904 | 822 | theorem state_wave_transport (B N0 : ℕ) |
| 905 | 823 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j n m k : ℕ) |
| 906 | 824 | (hi : CommonWindow.index ActualPrimary.h n + k = CommonWindow.index ActualPrimary.h m) : |
| @@ -911,22 +829,5 @@ theorem state_wave_transport (B N0 : ℕ) | ||
| 911 | 829 | wave_transport_of_particular (state_runInvariant B N0 hN j) hN |
| 912 | 830 | (ActualIterationLedger.sigma_admissible j) (state_particularData B N0 hN j) n m k hi |
| 913 | 831 | |
| 914 | -theorem state_covariance_moving (B N0 : ℕ) | |
| 915 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j : ℕ) : | |
| 916 | - (∀ i k, GaugeMomentBalances.MovingField ActualPrimary.standardRegion | |
| 917 | - ActualInitialization.patch.a ActualInitialization.patch.b | |
| 918 | - (SignedMeanGain.covarianceIncrement (state B N0 j).state.oscillation | |
| 919 | - ((ActualCycleParameters.fixedParameters B N0).particularVelocity (state B N0 j).coefficients | |
| 920 | - (ActualPrimary.commonContext B) (state B N0 j).state) i k)) ∧ | |
| 921 | - (∀ i k, GaugeMomentBalances.MovingField ActualPrimary.standardRegion | |
| 922 | - ActualInitialization.patch.a ActualInitialization.patch.b | |
| 923 | - (SignedMeanGain.covarianceIncrement | |
| 924 | - ((ActualCycleParameters.fixedParameters B N0).afterParticular (state B N0 j).coefficients | |
| 925 | - (ActualPrimary.commonContext B) (state B N0 j).state).oscillation | |
| 926 | - ((ActualCycleParameters.fixedParameters B N0).signedVelocity (state B N0 j).coefficients | |
| 927 | - (ActualPrimary.commonContext B) (state B N0 j).state) i k)) := | |
| 928 | - (state_waveData B N0 hN j).covariance_moving (state_invariant B N0 hN j).oscillationSmooth | |
| 929 | - (state_invariant B N0 hN j).oscillationPeriodic | |
| 930 | - | |
| 931 | 832 | |
| 932 | 833 | end NavierStokes.ActualCyclePreservation |
+0 −13 NavierStokes/ActualCycleResidualBounds.lean View file
| @@ -68,12 +68,6 @@ theorem source_zero (l : Index B N0) (n : ℕ) (i : Fin 3) : (source x l).veloci | ||
| 68 | 68 | theorem source_carrier (l : Index B N0) : CorrectionStep.SameCarrier (source x l) (ActualInitialization.primaryBlock l) := |
| 69 | 69 | ⟨(H.carrier l).frequency, (H.carrier l).phase, (H.carrier l).angular⟩ |
| 70 | 70 | |
| 71 | -theorem source_fullPhase (l : Index B N0) (j : ℤ) (n : ℕ) : | |
| 72 | - fullPhase (source x l) j n = fullPhase (ActualInitialization.primaryBlock l) j n := by | |
| 73 | - funext z | |
| 74 | - simp only [fullPhase, (H.source_carrier l).frequency, (H.source_carrier l).phase, | |
| 75 | - (H.source_carrier l).angular] | |
| 76 | - | |
| 77 | 71 | theorem source_zero_germ (l : Index B N0) (j : ℤ) (n : ℕ) {z : Point} |
| 78 | 72 | (hz : z ∈ ActualInitialization.geometry.domain) (hout : z ∉ labelCarrier l n) : |
| 79 | 73 | (fun y => fun i => (source x l).velocity n i j y) =ᶠ[𝓝 z] fun _ => 0 := by |
| @@ -1144,9 +1138,6 @@ abbrev PhysicalData (B N : ℕ) (s : State Point) (u : VelocityField) (P : Press | ||
| 1144 | 1138 | |
| 1145 | 1139 | noncomputable def fixedLoss (m : ℕ) : ℝ := physicalLoss ActualPrimary.h (2 * ActualPrimary.h) m |
| 1146 | 1140 | |
| 1147 | -theorem fixedLoss_eq_ledger (m : ℕ) : | |
| 1148 | - fixedLoss m = ActualIterationLedger.residualLoss ActualPrimary.h (2 * ActualPrimary.h) m := rfl | |
| 1149 | - | |
| 1150 | 1141 | namespace Invariant |
| 1151 | 1142 | |
| 1152 | 1143 | variable {B N0 N : ℕ} {σ : ℝ} {x : CycleState (Index B N0)} (H : Invariant σ x) |
| @@ -1173,10 +1164,6 @@ theorem residual_jetRate {u : VelocityField} {P : PressureField} | ||
| 1173 | 1164 | |
| 1174 | 1165 | end Invariant |
| 1175 | 1166 | |
| 1176 | -theorem initial_invariant (B N0 : ℕ) : | |
| 1177 | - Invariant (1/5) (ActualInitialization.initialCycleState B N0) := | |
| 1178 | - ActualInitialization.initial_invariant B N0 | |
| 1179 | - | |
| 1180 | 1167 | theorem origin_positive_small : ∀ᶠ w in GlobalBaseError.originPast, |
| 1181 | 1168 | 0 < physicalQ ActualPrimary.h w ∧ physicalQ ActualPrimary.h w ≤ 1 := by |
| 1182 | 1169 | have hs := (GlobalBaseError.originPast_q_tendsto_zero ActualPrimary.outgoing.data.h_pos |
+0 −206 NavierStokes/ActualEndpointInputs.lean View file
| @@ -38,75 +38,6 @@ section InitialModels | ||
| 38 | 38 | variable {DA DP : Type} [NormedAddCommGroup DA] [NormedSpace ℝ DA] |
| 39 | 39 | [NormedAddCommGroup DP] [NormedSpace ℝ DP] {IA KA IP KP : Type*} |
| 40 | 40 | |
| 41 | -/-- The exact base and bounded finite initial potential correction. -/ | |
| 42 | -noncomputable def initialPotentialModel (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 43 | - (WA : PhysicalStageBounds.WaveData h DA IA KA (Fin 3)) : VelocityField := | |
| 44 | - ActualPhysicalStageBounds.initialPotential certificate modulation upper B WA | |
| 45 | - (ActualPhysicalStageBounds.actualInitialTemporalInput B N0 N hN) | |
| 46 | - (ActualPhysicalStageBounds.actualInitialRankInput B N0 N hN) | |
| 47 | - | |
| 48 | -noncomputable def initialDirectModel (B N0 N : ℕ) : VelocityField := | |
| 49 | - (ActualMeanPhysicalData.initialAngularFamily B N0 N).angularField | |
| 50 | - | |
| 51 | -/-- The pressure of the same summed base and the actual finite initial | |
| 52 | -wave and mean-pressure correction. -/ | |
| 53 | -noncomputable def initialPressureModel (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 54 | - (WP : PhysicalStageBounds.WaveData h DP IP KP Unit) : PressureField := | |
| 55 | - fun w => FinalSlowBase.pressure certificate modulation upper B w + | |
| 56 | - ActualPhysicalStageBounds.initialPressureIncrement WP | |
| 57 | - (ActualPhysicalStageBounds.actualInitialPressureInput B N0 N hN) w | |
| 58 | - | |
| 59 | -theorem initialPotentialModel_eq (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 60 | - (WA : PhysicalStageBounds.WaveData h DA IA KA (Fin 3)) (w : SpaceTime) : | |
| 61 | - initialPotentialModel B N0 N hN WA w = | |
| 62 | - TailGaugePotential.finalPotential certificate modulation upper B w + | |
| 63 | - (WA.vector w + (ActualMeanPhysicalData.initialStreamFamily B N0 N).angularField w) := by | |
| 64 | - change _ + (WA.vector w + (ActualMeanPhysicalData.initialTemporalFamily B N0 N).angularField w + | |
| 65 | - (ActualMeanPhysicalData.initialRankFamily B N0 N).angularField w) = _ | |
| 66 | - rw [ActualMeanPhysicalData.initialStream_angularField] | |
| 67 | - simp only [Pi.add_apply] | |
| 68 | - abel | |
| 69 | - | |
| 70 | -theorem initialPressureModel_eq (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 71 | - (WP : PhysicalStageBounds.WaveData h DP IP KP Unit) (w : SpaceTime) : | |
| 72 | - initialPressureModel B N0 N hN WP w = | |
| 73 | - FinalSlowBase.pressure certificate modulation upper B w + | |
| 74 | - (WP.pressure w + (ActualMeanPhysicalData.initialPressureFamily B N0 N).field w) := rfl | |
| 75 | - | |
| 76 | -theorem initialPotentialModel_extension (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 77 | - (WA : PhysicalStageBounds.WaveData h DA IA KA (Fin 3)) | |
| 78 | - {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) {x : Space} (hx : x 2 ≠ 0) | |
| 79 | - (hqx : EndpointCoordinates.endpointRoot (2 * h) (x 2) < qbig) : | |
| 80 | - Nonempty (JointResidualLimits.OneSidedExtension (initialPotentialModel B N0 N hN WA) x) := by | |
| 81 | - have hx0 : x ≠ 0 := by intro he; exact hx (by simp [he]) | |
| 82 | - have hb := TailGaugePotential.finalPotential_awayExtensions certificate modulation upper B x hx0 | |
| 83 | - have hi := OffplaneJetExtensions.initialIncrement_extension WA | |
| 84 | - (ActualPhysicalStageBounds.actualInitialTemporalInput B N0 N hN) | |
| 85 | - (ActualPhysicalStageBounds.actualInitialRankInput B N0 N hN) | |
| 86 | - outgoing.data.h_pos outgoing.data.h_lt_half (hq.trans (ChartScales.Q_le_one N)) hq hq hx hqx | |
| 87 | - exact OffplaneJetExtensions.extension_add hb hi | |
| 88 | - | |
| 89 | -theorem initialDirectModel_extension (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 90 | - {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) {x : Space} (hx : x 2 ≠ 0) | |
| 91 | - (hqx : EndpointCoordinates.endpointRoot (2 * h) (x 2) < qbig) : | |
| 92 | - Nonempty (JointResidualLimits.OneSidedExtension (initialDirectModel B N0 N) x) := | |
| 93 | - OffplaneJetExtensions.mean_angular_extension | |
| 94 | - (ActualPhysicalStageBounds.actualInitialAngularInput B N0 N hN) | |
| 95 | - outgoing.data.h_pos outgoing.data.h_lt_half (hq.trans (ChartScales.Q_le_one N)) hq hx hqx | |
| 96 | - | |
| 97 | -theorem initialPressureModel_extension (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 98 | - (WP : PhysicalStageBounds.WaveData h DP IP KP Unit) | |
| 99 | - {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) {x : Space} (hx : x 2 ≠ 0) | |
| 100 | - (hqx : EndpointCoordinates.endpointRoot (2 * h) (x 2) < qbig) : | |
| 101 | - Nonempty (JointResidualLimits.OneSidedExtension (initialPressureModel B N0 N hN WP) x) := by | |
| 102 | - have hb : Nonempty (JointResidualLimits.OneSidedExtension | |
| 103 | - (FinalSlowBase.pressure certificate modulation upper B) x) := | |
| 104 | - ⟨SlowBaseEndpoint.finalPressureNonzeroAxial certificate modulation upper B hx⟩ | |
| 105 | - have hi := OffplaneJetExtensions.initialPressureIncrement_extension WP | |
| 106 | - (ActualPhysicalStageBounds.actualInitialPressureInput B N0 N hN) | |
| 107 | - outgoing.data.h_pos outgoing.data.h_lt_half (hq.trans (ChartScales.Q_le_one N)) hq hx hqx | |
| 108 | - exact OffplaneJetExtensions.extension_add hb hi | |
| 109 | - | |
| 110 | 41 | end InitialModels |
| 111 | 42 | |
| 112 | 43 | section RawFamilies |
| @@ -114,91 +45,6 @@ section RawFamilies | ||
| 114 | 45 | variable {DA DP : Type} [NormedAddCommGroup DA] [NormedSpace ℝ DA] |
| 115 | 46 | [NormedAddCommGroup DP] [NormedSpace ℝ DP] {IA KA IP KP : Type*} |
| 116 | 47 | |
| 117 | -/-- The physical bounds and exact initial representations supply all | |
| 118 | -three endpoint inputs, including index zero. No extension or endpoint | |
| 119 | -limit is assumed for any raw stage. -/ | |
| 120 | -theorem endpointInputs_of_representations (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 121 | - {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) | |
| 122 | - (WA : PhysicalStageBounds.WaveData h DA IA KA (Fin 3)) | |
| 123 | - (WP : PhysicalStageBounds.WaveData h DP IP KP Unit) | |
| 124 | - {A V : ℕ → VelocityField} {P : ℕ → PressureField} | |
| 125 | - (E : MixedCandidateAssembly.StageEstimates h qbig A V P) | |
| 126 | - (hA : EqOn (A 0) (initialPotentialModel B N0 N hN WA) (CutStageEstimates.physicalSublevel h qbig)) | |
| 127 | - (hV : EqOn (V 0) (initialDirectModel B N0 N) (CutStageEstimates.physicalSublevel h qbig)) | |
| 128 | - (hP : EqOn (P 0) (initialPressureModel B N0 N hN WP) (CutStageEstimates.physicalSublevel h qbig)) : | |
| 129 | - EndpointInputs h qbig A V P := by | |
| 130 | - have hq1 := hq.trans (ChartScales.Q_le_one N) | |
| 131 | - constructor | |
| 132 | - · intro x hx hqx j | |
| 133 | - cases j with | |
| 134 | - | zero => | |
| 135 | - exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half | |
| 136 | - hA hx hqx (initialPotentialModel_extension B N0 N hN WA hq hx hqx) | |
| 137 | - | succ j => | |
| 138 | - exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 | |
| 139 | - E.potential_bound (Nat.succ_le_succ (Nat.zero_le j)) (E.potential_smooth (j + 1)) hx hqx | |
| 140 | - · intro x hx hqx j | |
| 141 | - cases j with | |
| 142 | - | zero => | |
| 143 | - exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half | |
| 144 | - hV hx hqx (initialDirectModel_extension B N0 N hN hq hx hqx) | |
| 145 | - | succ j => | |
| 146 | - exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 | |
| 147 | - E.direct_bound (Nat.succ_le_succ (Nat.zero_le j)) (E.direct_smooth (j + 1)) hx hqx | |
| 148 | - · intro x hx hqx j | |
| 149 | - cases j with | |
| 150 | - | zero => | |
| 151 | - exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half | |
| 152 | - hP hx hqx (initialPressureModel_extension B N0 N hN WP hq hx hqx) | |
| 153 | - | succ j => | |
| 154 | - exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 | |
| 155 | - E.pressure_bound (Nat.succ_le_succ (Nat.zero_le j)) (E.pressure_smooth (j + 1)) hx hqx | |
| 156 | - | |
| 157 | -/-- Application to the literal raw families expected by | |
| 158 | -`MixedCandidateAssembly.candidate_of_finite_stages`. The remaining | |
| 159 | -equalities identify the produced physical fields, not their endpoint jets. -/ | |
| 160 | -theorem actual_stage_endpoints (B N0 N : ℕ) (hN : 4 ≤ N) | |
| 161 | - {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) | |
| 162 | - (WA : PhysicalStageBounds.WaveData h DA IA KA (Fin 3)) | |
| 163 | - (WP : PhysicalStageBounds.WaveData h DP IP KP Unit) | |
| 164 | - (initial : MixedAxisPreservation.PotentialStage.{u} h (MixedAxisPreservation.localDomain h qbig)) | |
| 165 | - (stages : ℕ → MixedAxisPreservation.PotentialStage.{u} h (MixedAxisPreservation.localDomain h qbig)) | |
| 166 | - (direct : ℕ → DirectAngularDiagonal.AngularData (LocalAngularDiagonal.localSlowDomain h qbig)) | |
| 167 | - (pInitial : PressureField) (pStages : ℕ → PressureField) | |
| 168 | - (E : MixedCandidateAssembly.StageEstimates h qbig | |
| 169 | - (MixedCandidateAssembly.potentialStages certificate modulation upper B initial stages) | |
| 170 | - (LocalAngularDiagonal.rawSeries direct) | |
| 171 | - (MixedCandidateAssembly.pressureStages certificate modulation upper B pInitial pStages)) | |
| 172 | - (hInitial : EqOn initial.field | |
| 173 | - (fun w => WA.vector w + (ActualMeanPhysicalData.initialStreamFamily B N0 N).angularField w) | |
| 174 | - (CutStageEstimates.physicalSublevel h qbig)) | |
| 175 | - (hDirect : EqOn (LocalAngularDiagonal.rawSeries direct 0) (initialDirectModel B N0 N) | |
| 176 | - (CutStageEstimates.physicalSublevel h qbig)) | |
| 177 | - (hPressure : EqOn pInitial | |
| 178 | - (fun w => WP.pressure w + (ActualMeanPhysicalData.initialPressureFamily B N0 N).field w) | |
| 179 | - (CutStageEstimates.physicalSublevel h qbig)) : | |
| 180 | - EndpointInputs h qbig | |
| 181 | - (MixedCandidateAssembly.potentialStages certificate modulation upper B initial stages) | |
| 182 | - (LocalAngularDiagonal.rawSeries direct) | |
| 183 | - (MixedCandidateAssembly.pressureStages certificate modulation upper B pInitial pStages) := by | |
| 184 | - refine endpointInputs_of_representations B N0 N hN hq WA WP E ?_ hDirect ?_ | |
| 185 | - · intro w hw | |
| 186 | - change TailGaugePotential.finalPotential certificate modulation upper B w + initial.field w = _ | |
| 187 | - rw [initialPotentialModel_eq] | |
| 188 | - exact congrArg (fun z => TailGaugePotential.finalPotential certificate modulation upper B w + z) (hInitial hw) | |
| 189 | - · intro w hw | |
| 190 | - rw [MixedCandidateAssembly.pressureStages_zero, initialPressureModel_eq] | |
| 191 | - exact congrArg (fun z => FinalSlowBase.pressure certificate modulation upper B w + z) (hPressure hw) | |
| 192 | - | |
| 193 | -/-- The chosen direct angular constructor supplies its stage-zero | |
| 194 | -representation by its proved global field identity. -/ | |
| 195 | -theorem direct_initial_representation (B N0 N : ℕ) {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) | |
| 196 | - (direct : ℕ → DirectAngularDiagonal.AngularData (LocalAngularDiagonal.localSlowDomain h qbig)) | |
| 197 | - (hDirect : direct 0 = ActualMeanStageData.initialAngularData B N0 N qbig hq) : | |
| 198 | - LocalAngularDiagonal.rawSeries direct 0 = initialDirectModel B N0 N := by | |
| 199 | - rw [LocalAngularDiagonal.rawSeries_eq, hDirect, ActualMeanStageData.initialAngularData_field] | |
| 200 | - rfl | |
| 201 | - | |
| 202 | 48 | end RawFamilies |
| 203 | 49 | |
| 204 | 50 | section ActualRun |
| @@ -211,58 +57,6 @@ variable {B N0 N : ℕ} | ||
| 211 | 57 | [NormedAddCommGroup DP0] [NormedSpace ℝ DP0] |
| 212 | 58 | {IP KP IS KS IA0 KA0 IP0 KP0 : Type*} |
| 213 | 59 | |
| 214 | -/-- Direct application to the fixed actual run. Native wave and mean data | |
| 215 | -and their exact physical representations already imply the endpoint | |
| 216 | -inputs; no finite-residual estimate or completed `StageEstimates` record | |
| 217 | -is required for this conclusion. -/ | |
| 218 | -theorem endpointInputs_of_run | |
| 219 | - (R : ActualStageEstimates.RunData B N0) | |
| 220 | - (M : ActualMeanPhysicalData.InitialCycleInput B N0 N | |
| 221 | - (fun _ => ActualCycleParameters.fixedParameters B N0)) | |
| 222 | - (hN : 4 ≤ N) | |
| 223 | - (W : ActualStageEstimates.WaveInputs DP IP KP DS IS KS) | |
| 224 | - (WA : PhysicalStageBounds.WaveData h DA0 IA0 KA0 (Fin 3)) | |
| 225 | - (WP : PhysicalStageBounds.WaveData h DP0 IP0 KP0 Unit) | |
| 226 | - {qbig : ℝ} {A V : ℕ → VelocityField} {P : ℕ → PressureField} | |
| 227 | - (e : ActualStageEstimates.Representations R M hN W qbig WA WP A V P) | |
| 228 | - (hq : qbig ≤ ChartScales.Q N) : EndpointInputs h qbig A V P := by | |
| 229 | - let Cyc := ActualStageEstimates.cycleInputs R M hN W | |
| 230 | - obtain ⟨CA, CV, CP, _, ha, hv, hp⟩ := | |
| 231 | - ActualPhysicalStageBounds.CycleInputs.represented_raw_bounds Cyc | |
| 232 | - (ActualStageEstimates.cycleInputs_metadata R M hN W) | |
| 233 | - (ActualStageEstimates.cycleInputs_validScale R M hN W hq) | |
| 234 | - outgoing.data.h_pos outgoing.data.h_lt_half ActualCyclePreservation.kappa_small | |
| 235 | - A V P e.potential_succ e.direct_succ e.pressure_succ | |
| 236 | - have hsA := e.potential_smooth R M hN W WA WP hq | |
| 237 | - have hsV := e.direct_smooth R M hN W WA WP hq | |
| 238 | - have hsP := e.pressure_smooth R M hN W WA WP hq | |
| 239 | - have hq1 := hq.trans (ChartScales.Q_le_one N) | |
| 240 | - constructor | |
| 241 | - · intro x hx hqx j | |
| 242 | - cases j with | |
| 243 | - | zero => | |
| 244 | - exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half | |
| 245 | - e.potential_zero hx hqx (initialPotentialModel_extension B N0 N hN WA hq hx hqx) | |
| 246 | - | succ j => | |
| 247 | - exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 | |
| 248 | - ha (Nat.succ_le_succ (Nat.zero_le j)) (hsA (j + 1)) hx hqx | |
| 249 | - · intro x hx hqx j | |
| 250 | - cases j with | |
| 251 | - | zero => | |
| 252 | - exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half | |
| 253 | - e.direct_zero hx hqx (initialDirectModel_extension B N0 N hN hq hx hqx) | |
| 254 | - | succ j => | |
| 255 | - exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 | |
| 256 | - hv (Nat.succ_le_succ (Nat.zero_le j)) (hsV (j + 1)) hx hqx | |
| 257 | - · intro x hx hqx j | |
| 258 | - cases j with | |
| 259 | - | zero => | |
| 260 | - exact OffplaneJetExtensions.extension_of_eqOn_sublevel outgoing.data.h_pos outgoing.data.h_lt_half | |
| 261 | - e.pressure_zero hx hqx (initialPressureModel_extension B N0 N hN WP hq hx hqx) | |
| 262 | - | succ j => | |
| 263 | - exact OffplaneJetExtensions.rawStage_extension outgoing.data.h_pos outgoing.data.h_lt_half hq1 | |
| 264 | - hp (Nat.succ_le_succ (Nat.zero_le j)) (hsP (j + 1)) hx hqx | |
| 265 | - | |
| 266 | 60 | end ActualRun |
| 267 | 61 | |
| 268 | 62 | end NavierStokes.ActualEndpointInputs |
+0 −8 NavierStokes/ActualExteriorPrefix.lean View file
| @@ -148,14 +148,6 @@ theorem prefix_exterior (J : ℕ) {w : SpaceTime} (ht : w ∈ preterminal) | ||
| 148 | 148 | have hw := mem_exteriorDomain.mpr ⟨ht, hq, hout⟩ |
| 149 | 149 | exact ⟨H.velocity_prefix_eqOn J hw, H.pressure_prefix_eqOn J hw⟩ |
| 150 | 150 | |
| 151 | -theorem prefix_germs (J : ℕ) {w : SpaceTime} (hw : w ∈ exteriorDomain Nr) : | |
| 152 | - MixedDiagonalResidual.uncutVelocity A D J =ᶠ[𝓝 w] | |
| 153 | - FinalSlowBase.velocity ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B ∧ | |
| 154 | - DiagonalJetBounds.uncutPrefix P (J + 1) =ᶠ[𝓝 w] | |
| 155 | - FinalSlowBase.pressure ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B := | |
| 156 | - ⟨eqOn_exterior_germ (H.velocity_prefix_eqOn J) hw, | |
| 157 | - eqOn_exterior_germ (H.pressure_prefix_eqOn J) hw⟩ | |
| 158 | - | |
| 159 | 151 | end ExteriorStages |
| 160 | 152 | |
| 161 | 153 | end NavierStokes.ActualExteriorPrefix |
+0 −536 NavierStokes/ActualGaussianCoverage.lean View file
| @@ -26,11 +26,6 @@ theorem normalized_clock {L c : ℝ} (hL : L ≠ 0) (_hc : c ≠ 0) (v : ℝ) : | ||
| 26 | 26 | c * v / L = v / (L / c) := by |
| 27 | 27 | field_simp |
| 28 | 28 | |
| 29 | -theorem slotCutoff_clock {L c : ℝ} (hL : L ≠ 0) (hc : c ≠ 0) (v : ℝ) : | |
| 30 | - GaussianTailFlat.slotCutoff L (c * v) = GaussianTailFlat.slotCutoff (L / c) v := by | |
| 31 | - unfold GaussianTailFlat.slotCutoff | |
| 32 | - rw [normalized_clock hL hc] | |
| 33 | - | |
| 34 | 29 | noncomputable def gaussianRate (lam u : ℝ) : ℝ := |
| 35 | 30 | u * GaussianEnvelope.referenceMinSlope lam u / 2 |
| 36 | 31 | |
| @@ -106,18 +101,6 @@ theorem envelope_uniform_bound {lam0 u0 : ℝ} (_hlam0 : 0 < lam0) (hu0 : 0 < u0 | ||
| 106 | 101 | (ScaledActualParticularControl.length_pos F clock l n).le |
| 107 | 102 | nlinarith |
| 108 | 103 | |
| 109 | -theorem length_uniform_lower {ell : ℝ} | |
| 110 | - (hL : ∀ l n, ell * ChartScales.S n ≤ F.L (l, n)) (l : Label) (n : ℕ) : | |
| 111 | - (ell / clock.upper) * ChartScales.S n ≤ ScaledActualParticularControl.length F clock l n := by | |
| 112 | - have hu : 0 < clock.upper := zero_lt_one.trans_le clock.upper_one | |
| 113 | - have hs : 0 ≤ ChartScales.S n := sq_nonneg _ | |
| 114 | - change (ell / clock.upper) * ChartScales.S n ≤ F.L (l, n) / clock.value l n | |
| 115 | - calc | |
| 116 | - _ = (ell * ChartScales.S n) / clock.upper := by ring | |
| 117 | - _ ≤ F.L (l, n) / clock.upper := div_le_div_of_nonneg_right (hL l n) hu.le | |
| 118 | - _ ≤ F.L (l, n) / clock.value l n := | |
| 119 | - div_le_div_of_nonneg_left (F.L_pos (l, n)).le (clock.value_pos l n) (clock.bounds l n).2 | |
| 120 | - | |
| 121 | 104 | end ScaledEnvelope |
| 122 | 105 | |
| 123 | 106 | /-! ## Compact whole-path zero germs for the genuine Volterra solve -/ |
| @@ -158,9 +141,6 @@ noncomputable def referenceWindow (r L : ℝ) (hr : 0 < r) (hL : 0 < L) : | ||
| 158 | 141 | padding := padding r L |
| 159 | 142 | padding_pos := padding_pos hr hL |
| 160 | 143 | |
| 161 | -theorem referenceWindow_core (r L : ℝ) (hr : 0 < r) (hL : 0 < L) : | |
| 162 | - (referenceWindow r L hr hL).core = WaveEnvelopeTransport.rectangle r L := rfl | |
| 163 | - | |
| 164 | 144 | /-- This cutoff is separate from every dyadic, radial and slow source |
| 165 | 145 | mask. The outer padding is transported together with the Gaussian. -/ |
| 166 | 146 | noncomputable def nativeCutoff (r L : ℝ) (hr : 0 < r) (hL : 0 < L) (c : ℝ) : Plane → ℝ := |
| @@ -315,21 +295,6 @@ theorem sourceFamily_zero_germ | ||
| 315 | 295 | (HarmonicSourceSupport.residualSource_zero_germ_on ctx u b G A hU hK hs j n hx hn).comp_tendsto |
| 316 | 296 | (continuous_fst.fst.prodMk continuous_snd).continuousAt |
| 317 | 297 | |
| 318 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 319 | -theorem sourceSupport_mono | |
| 320 | - {U : Set (P × Plane)} {K T : ℕ → Set (P × Plane)} | |
| 321 | - {b : CorrectionState.HarmonicBlock (P × Plane)} | |
| 322 | - {G A : HarmonicResidual.BlockCoefficients (P × Plane)} | |
| 323 | - (hs : HarmonicSourceSupport.InputSupportOn U K b G A) (hKT : ∀ n, K n ⊆ T n) : | |
| 324 | - HarmonicSourceSupport.InputSupportOn U T b G A := by | |
| 325 | - have hm {f : HarmonicFields.Coefficients (P × Plane)} {n : ℕ} | |
| 326 | - (hf : HarmonicSourceSupport.NonzeroSupportedOn U (K n) f) : | |
| 327 | - HarmonicSourceSupport.NonzeroSupportedOn U (T n) f := by | |
| 328 | - intro j hj x hx hn | |
| 329 | - exact hf j hj x hx (fun h => hn (hKT n h)) | |
| 330 | - exact ⟨fun n i => hm (hs.velocity n i), fun n => hm (hs.pressure n), | |
| 331 | - fun n i => hm (hs.gaussian n i), fun n i => hm (hs.aliasError n i)⟩ | |
| 332 | - | |
| 333 | 298 | end ActualSource |
| 334 | 299 | |
| 335 | 300 | theorem transported_outer_injective (g : Geometry) (gap : ℕ) {r L c : ℝ} |
| @@ -346,14 +311,6 @@ theorem transported_outer_injective (g : Geometry) (gap : ℕ) {r L c : ℝ} | ||
| 346 | 311 | CopySolveCompatibility.refineGeometry, CopySolveCompatibility.timeGeometry, |
| 347 | 312 | CommonCoverClass.scaledBasis_apply, zero_add, Prod.mk_zero_zero, map_zero, add_zero] |
| 348 | 313 | |
| 349 | -theorem reference_outer_separated (g : Geometry) {r L : ℝ} (hr : 0 < r) (hL : 0 < L) | |
| 350 | - (hinj : InjOn TorusAverages.quotientPoint | |
| 351 | - ((fun z => g.center + g.basis z) '' (referenceWindow r L hr hL).outer)) : | |
| 352 | - WaveEnvelopeTransport.Separated g r L := by | |
| 353 | - apply hinj.mono | |
| 354 | - rintro _ ⟨z, hz, rfl⟩ | |
| 355 | - exact ⟨z, (referenceWindow r L hr hL).core_subset_outer hz, rfl⟩ | |
| 356 | - | |
| 357 | 314 | /-! ## One literal family of scaled solves and cutoffs -/ |
| 358 | 315 | |
| 359 | 316 | section Family |
| @@ -403,23 +360,6 @@ theorem data_cutoff_support (l : Label) (n : ℕ) (k : Frequency) : | ||
| 403 | 360 | (outerFamily F clock r l n) k := |
| 404 | 361 | native_cutoff_support _ (nativeCutoff_support (hr l n) (F.L_pos (l,n)) (clock.value_pos l n)) k |
| 405 | 362 | |
| 406 | -theorem data_central (s : StripData P) (χ : P →L[ℝ] PhaseCalculus.Slow) | |
| 407 | - (φ : (Label × ℕ) → PhaseCalculus.Slow →L[ℝ] PhaseCalculus.Slow) | |
| 408 | - (l : Label) (n : ℕ) (k : Frequency) {x : (P × ℝ) × Plane} | |
| 409 | - (hx : x ∈ analyticPatches F clock reference gap r s χ φ l n k) | |
| 410 | - (hm : |theta F clock l n | |
| 411 | - ((ScaledActualParticularControl.geometry reference gap clock l n).coordinates k x.2).2 - 1 / 2| < 1 / 5) : | |
| 412 | - (data F clock reference gap r hr base tangent ctx u b G A j l).cutoff n k | |
| 413 | - =ᶠ[𝓝 x] fun _ => 1 := by | |
| 414 | - have hrect : (ScaledActualParticularControl.geometry reference gap clock l n).coordinates k x.2 ∈ | |
| 415 | - WaveEnvelopeTransport.rectangle (r l n) (F.L (l,n) / clock.value l n) := | |
| 416 | - ⟨hx.2, hx.1.2.2.1.le, hx.1.2.2.2.le⟩ | |
| 417 | - have hg := nativeCutoff_central_germ (hr l n) (F.L_pos (l,n)) (clock.value_pos l n) | |
| 418 | - hrect (by simpa only [theta_eq, ScaledActualParticularControl.length] using hm) | |
| 419 | - exact hg.comp_tendsto | |
| 420 | - (((ScaledActualParticularControl.geometry reference gap clock l n).coordinates_contDiff k).continuous.comp | |
| 421 | - continuous_snd).continuousAt | |
| 422 | - | |
| 423 | 363 | variable (s : StripData P) (S : Label → ℕ → Set P) (hS : ∀ l n, IsClosed (S l n)) |
| 424 | 364 | (hsupport : ∀ l, HarmonicSourceSupport.InputSupportOn (s.domain ×ˢ univ) |
| 425 | 365 | (sourceRegions F clock reference gap r S l) (b l) (G l) (A l)) |
| @@ -444,88 +384,6 @@ theorem data_amplitude_zero_germ (l : Label) (n : ℕ) (k : Frequency) {x : (P | ||
| 444 | 384 | exact data_source_zero_germ F clock reference gap r hr base tangent ctx u b G A j |
| 445 | 385 | s S hS hsupport l n (x := (x.1, _)) hx (hn v hv) |
| 446 | 386 | |
| 447 | -/-- The source is supported in an actual closed slow core and in the | |
| 448 | -Gaussian support rectangle. On the rest of a padded copy, either the | |
| 449 | -Gaussian cutoff is zero or the entire source path is zero. -/ | |
| 450 | -theorem data_outside (χ : P →L[ℝ] PhaseCalculus.Slow) | |
| 451 | - (φ : (Label × ℕ) → PhaseCalculus.Slow →L[ℝ] PhaseCalculus.Slow) | |
| 452 | - (hinside : ∀ l n p, p ∈ s.domain → p ∈ S l n → φ (l,n) (χ p) ∈ D.carrier (l,n)) | |
| 453 | - (hinj : ∀ l n, InjOn TorusAverages.quotientPoint | |
| 454 | - ((fun z => (reference l n).center + (reference l n).basis z) '' | |
| 455 | - (referenceWindow (r l n) (F.L (l,n)) (hr l n) (F.L_pos (l,n))).outer)) | |
| 456 | - (l : Label) (n : ℕ) (k : Frequency) {x : (P × ℝ) × Plane} | |
| 457 | - (hx : x ∈ (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)).domain) | |
| 458 | - (hk : x ∈ nativeCell (ScaledActualParticularControl.geometry reference gap clock l n) | |
| 459 | - (outerFamily F clock r l n) k) | |
| 460 | - (hnot : x ∉ analyticPatches F clock reference gap r s χ φ l n k) : | |
| 461 | - (((data F clock reference gap r hr base tangent ctx u b G A j l).cutoff n k | |
| 462 | - =ᶠ[𝓝 x] fun _ => 0) ∧ | |
| 463 | - ((data F clock reference gap r hr base tangent ctx u b G A j l).source n | |
| 464 | - =ᶠ[𝓝 x] fun _ => 0)) ∨ | |
| 465 | - (((data F clock reference gap r hr base tangent ctx u b G A j l).amplitude n k | |
| 466 | - =ᶠ[𝓝 x] fun _ => 0) ∧ | |
| 467 | - ((data F clock reference gap r hr base tangent ctx u b G A j l).source n | |
| 468 | - =ᶠ[𝓝 x] fun _ => 0)) := by | |
| 469 | - let g := ScaledActualParticularControl.geometry reference gap clock l n | |
| 470 | - have hi : InjOn TorusAverages.quotientPoint | |
| 471 | - ((fun z => g.center + g.basis z) '' outerCell (r l n) (F.L (l,n)) (clock.value l n)) := | |
| 472 | - transported_outer_injective (reference l n) (gap l n) (hr l n) (F.L_pos (l,n)) | |
| 473 | - (clock.value_pos l n) (hinj l n) | |
| 474 | - have hk' : g.coordinates k x.2 ∈ outerCell (r l n) (F.L (l,n)) (clock.value l n) := hk | |
| 475 | - have hx' : x.1.1 ∈ s.domain := hx | |
| 476 | - by_cases hp : φ (l,n) (χ x.1.1) ∈ D.carrier (l,n) | |
| 477 | - · by_cases hxi : (g.coordinates k x.2).1 ∈ Icc (-(r l n)) (r l n) | |
| 478 | - · have hv : (g.coordinates k x.2).2 ∉ Ioo 0 (ScaledActualParticularControl.length F clock l n) := by | |
| 479 | - intro hv | |
| 480 | - exact hnot ⟨⟨hx, hp, hv⟩, hxi⟩ | |
| 481 | - have hg := nativeCutoff_time_zero_germ (hr l n) (F.L_pos (l,n)) (clock.value_pos l n) hv | |
| 482 | - refine Or.inl ⟨hg.comp_tendsto ((g.coordinates_contDiff k).continuous.comp continuous_snd).continuousAt, ?_⟩ | |
| 483 | - apply data_source_zero_germ F clock reference gap r hr base tangent ctx u b G A j s S hS hsupport l n hx' | |
| 484 | - intro hs | |
| 485 | - obtain ⟨i, hi'⟩ := mem_iUnion.mp hs.2 | |
| 486 | - exact (other_sourceCell_excluded g (hr l n) (F.L_pos (l,n)) (clock.value_pos l n) hi hk' | |
| 487 | - (fun h => hv (sourceCell_time (F.L_pos (l,n)) (clock.value_pos l n) h)) i) hi' | |
| 488 | - · refine Or.inr ⟨?_, ?_⟩ | |
| 489 | - · apply data_amplitude_zero_germ F clock reference gap r hr base tangent ctx u b G A j s S hS hsupport l n k hx' | |
| 490 | - intro v hv hs | |
| 491 | - obtain ⟨i, hi'⟩ := mem_iUnion.mp hs.2 | |
| 492 | - exact path_sourceCell_excluded g (hr l n) (F.L_pos (l,n)) (clock.value_pos l n) hi hk' hxi v hv i hi' | |
| 493 | - · apply data_source_zero_germ F clock reference gap r hr base tangent ctx u b G A j s S hS hsupport l n hx' | |
| 494 | - intro hs | |
| 495 | - obtain ⟨i, hi'⟩ := mem_iUnion.mp hs.2 | |
| 496 | - exact (other_sourceCell_excluded g (hr l n) (F.L_pos (l,n)) (clock.value_pos l n) hi hk' | |
| 497 | - (fun h => hxi h.1) i) hi' | |
| 498 | - · have hp' : x.1.1 ∉ S l n := fun h => hp (hinside l n _ hx' h) | |
| 499 | - refine Or.inr ⟨?_, ?_⟩ | |
| 500 | - · apply data_amplitude_zero_germ F clock reference gap r hr base tangent ctx u b G A j s S hS hsupport l n k hx' | |
| 501 | - intro _ _ hs | |
| 502 | - exact hp' hs.1 | |
| 503 | - · apply data_source_zero_germ F clock reference gap r hr base tangent ctx u b G A j s S hS hsupport l n hx' | |
| 504 | - intro hs | |
| 505 | - exact hp' hs.1 | |
| 506 | - | |
| 507 | -omit hS in | |
| 508 | -theorem data_source_complement (β : ℝ) : | |
| 509 | - LocalizedGaussianBounds.UniformComplementJets | |
| 510 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) (fun _ _ _ => 1) β | |
| 511 | - (fun l n => nativeCell (ScaledActualParticularControl.geometry reference gap clock l n) | |
| 512 | - (outerFamily F clock r l n)) | |
| 513 | - (fun l => (data F clock reference gap r hr base tangent ctx u b G A j l).source) := by | |
| 514 | - have hlarge l : HarmonicSourceSupport.InputSupportOn (s.domain ×ˢ univ) | |
| 515 | - (fun n => HarmonicSourceSupport.nativeUnion | |
| 516 | - (ScaledActualParticularControl.geometry reference gap clock l n) (outerFamily F clock r l n)) | |
| 517 | - (b l) (G l) (A l) := by | |
| 518 | - apply sourceSupport_mono (hsupport l) | |
| 519 | - intro n x hx | |
| 520 | - obtain ⟨k, hk⟩ := mem_iUnion.mp hx.2 | |
| 521 | - exact mem_iUnion.mpr ⟨k, sourceCell_subset_outer (hr l n) (F.L_pos (l,n)) (clock.value_pos l n) hk⟩ | |
| 522 | - exact LocalizedGaussianBounds.uniform_source_complement_of_harmonicSupport | |
| 523 | - (data F clock reference gap r hr base tangent ctx u b G A j) | |
| 524 | - ctx u b G A (ScaledActualParticularControl.geometry reference gap clock) (outerFamily F clock r) | |
| 525 | - (fun l n => outerCell_compact _ _ _) (s.isOpen_domain.prod isOpen_univ) hlarge | |
| 526 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) (fun _ hx => ⟨hx, mem_univ _⟩) | |
| 527 | - (fun _ => j) (fun _ => rfl) β | |
| 528 | - | |
| 529 | 387 | end Family |
| 530 | 388 | |
| 531 | 389 | /-! ## Uniform jets of the actual Gaussian clock cutoff -/ |
| @@ -675,51 +533,6 @@ variable {Label P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 675 | 533 | (s : StripData P) (χ : P →L[ℝ] PhaseCalculus.Slow) |
| 676 | 534 | (φ : (Label × ℕ) → PhaseCalculus.Slow →L[ℝ] PhaseCalculus.Slow) |
| 677 | 535 | |
| 678 | -/-- On the analytic native cell the outer padding is identically one | |
| 679 | -nearby, leaving exactly the normalized Gaussian profile. -/ | |
| 680 | -theorem data_cutoff_gaussian_germ (l : Label) (n : ℕ) (k : Frequency) {x : (P × ℝ) × Plane} | |
| 681 | - (hx : x ∈ analyticPatches F clock reference gap r s χ φ l n k) : | |
| 682 | - (data F clock reference gap r hr base tangent ctx u b G A j l).cutoff n k =ᶠ[𝓝 x] | |
| 683 | - fun y => GaussianTailFlat.profile (theta F clock l n | |
| 684 | - ((ScaledActualParticularControl.geometry reference gap clock l n).coordinates k y.2).2) := by | |
| 685 | - let g := ScaledActualParticularControl.geometry reference gap clock l n | |
| 686 | - have hm : CopySolveCompatibility.nativeTimeMap 0 (clock.value l n) (g.coordinates k x.2) ∈ | |
| 687 | - (referenceWindow (r l n) (F.L (l,n)) (hr l n) (F.L_pos (l,n))).core := by | |
| 688 | - change (g.coordinates k x.2).1 ∈ Icc (-(r l n)) (r l n) ∧ | |
| 689 | - 0 + clock.value l n * (g.coordinates k x.2).2 ∈ Icc 0 (F.L (l,n)) | |
| 690 | - simp only [zero_add] | |
| 691 | - exact And.intro hx.2 (ScaledActualParticularControl.clock_mem F clock | |
| 692 | - ⟨hx.1.2.2.1.le, hx.1.2.2.2.le⟩) | |
| 693 | - have hc : Continuous (fun y : (P × ℝ) × Plane => | |
| 694 | - CopySolveCompatibility.nativeTimeMap 0 (clock.value l n) (g.coordinates k y.2)) := | |
| 695 | - (CopySolveCompatibility.nativeTimeMap_continuous _ _).comp | |
| 696 | - ((g.coordinates_contDiff k).continuous.comp continuous_snd) | |
| 697 | - have he := ((referenceWindow (r l n) (F.L (l,n)) (hr l n) | |
| 698 | - (F.L_pos (l,n))).cutoff_germ hm).comp_tendsto hc.continuousAt | |
| 699 | - filter_upwards [he] with y hy | |
| 700 | - dsimp only [Function.comp_def] at hy | |
| 701 | - change (referenceWindow (r l n) (F.L (l,n)) (hr l n) (F.L_pos (l,n))).cutoff | |
| 702 | - (CopySolveCompatibility.nativeTimeMap 0 (clock.value l n) (g.coordinates k y.2)) * _ = _ | |
| 703 | - rw [hy, one_mul] | |
| 704 | - rfl | |
| 705 | - | |
| 706 | -theorem data_cutoff_jets {u0 : ℝ} (hu0 : 0 < u0) (hu : ∀ l n, F.u (l,n) = u0) | |
| 707 | - (hcost : ∃ K : ℝ, 1 ≤ K ∧ ∃ p : ℕ, ∀ l n, | |
| 708 | - CommonCoverClass.argumentCost (ScaledActualParticularControl.geometry reference gap clock l n) ≤ | |
| 709 | - K * s.slow n ^ p) : | |
| 710 | - UniformLocalJets (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) | |
| 711 | - (fun _ _ _ => 1) 0 (analyticPatches F clock reference gap r s χ φ) | |
| 712 | - (fun l => (data F clock reference gap r hr base tangent ctx u b G A j l).cutoff) := by | |
| 713 | - have hj := gaussian_clock_uniform_jets F clock | |
| 714 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) | |
| 715 | - (analyticPatches F clock reference gap r s χ φ) | |
| 716 | - (ScaledActualParticularControl.geometry reference gap clock) hu0 hu hcost | |
| 717 | - apply LocalizedWaveBounds.LocalClass.to_uniformLocalJets | |
| 718 | - apply (LocalizedWaveBounds.LocalClass.of_uniformLocalJets (fun _ _ _ _ => zero_le_one) hj).congr_germ | |
| 719 | - intro n li x hx hi | |
| 720 | - exact (data_cutoff_gaussian_germ F clock reference gap r hr base tangent ctx u b G A j | |
| 721 | - s χ φ li.1 n li.2 hi).symm | |
| 722 | - | |
| 723 | 536 | end CutoffJets |
| 724 | 537 | |
| 725 | 538 | /-! ## The actual complex solve inherits the modal amplitude estimates -/ |
| @@ -729,28 +542,6 @@ section ModalAmplitude | ||
| 729 | 542 | variable {P Label : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 730 | 543 | [Countable Label] [Nonempty Label] |
| 731 | 544 | |
| 732 | -theorem complex_amplitude_uniform_jets {s : StripData (P × Plane)} {α : ℝ} | |
| 733 | - (t : Label → ℕ → TangentData P ProblemStatement.Space) | |
| 734 | - (source : Label → ℕ → P × Plane → ComplexVector) | |
| 735 | - (g : Label → ℕ → Geometry) (L : Label → ℕ → ℝ) (hL : ∀ l n, 0 < L l n) | |
| 736 | - (envelope : Label → ℕ → ℝ → ℝ) (W : Label → ℕ → P × Plane → ℝ) | |
| 737 | - (d : Label → ℕ → PrimaryODE.FrameData (P × ℝ)) (harmonic : ℤ) | |
| 738 | - (C : Label → ℕ → Frequency → Set (P × Plane)) | |
| 739 | - (hr : ParticularCopyBounds.UniformModalControl s α d | |
| 740 | - (fun l n => realData (t l n) (source l n)) harmonic g L envelope C) | |
| 741 | - (hi : ParticularCopyBounds.UniformModalControl s α d | |
| 742 | - (fun l n => imagData (t l n) (source l n)) harmonic g L envelope C) | |
| 743 | - (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) | |
| 744 | - (hcompare : ∀ l n k x, x ∈ s.domain → x ∈ C l n k → | |
| 745 | - envelope l n ((g l n).coordinates k x.2).2 ≤ W l n x) : | |
| 746 | - UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) α C | |
| 747 | - (fun l n k => complexCopyVelocity (t l n) (source l n) (g l n) (hL l n).le k) := by | |
| 748 | - have hw l n x hx := mul_nonneg (Real.sqrt_nonneg (s.zeta x)) (hW l n x hx) | |
| 749 | - have hreal := LocalizedWaveBounds.LocalClass.of_uniformLocalJets hw (hr.localJets hL W hcompare) | |
| 750 | - have himag := LocalizedWaveBounds.LocalClass.of_uniformLocalJets hw (hi.localJets hL W hcompare) | |
| 751 | - exact ((hreal.map CurlClassBounds.complexify).add | |
| 752 | - (himag.map ((complexScale Complex.I).comp CurlClassBounds.complexify))).to_uniformLocalJets | |
| 753 | - | |
| 754 | 545 | end ModalAmplitude |
| 755 | 546 | |
| 756 | 547 | /-! ## The all-powers bound for the assembled, actual Gaussian error -/ |
| @@ -763,31 +554,6 @@ variable {Label P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] | ||
| 763 | 554 | (reference : Label → ℕ → Geometry) (gap : Label → ℕ → ℕ) |
| 764 | 555 | (r : Label → ℕ → ℝ) (hr : ∀ l n, 0 < r l n) |
| 765 | 556 | |
| 766 | -noncomputable def fieldEnvelope : Label → ℕ → (P × ℝ) × Plane → ℝ := | |
| 767 | - ActualParticularControl.groupedEnvelope | |
| 768 | - (ScaledActualParticularControl.geometry reference gap clock) r | |
| 769 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.envelope F clock) | |
| 770 | - | |
| 771 | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in | |
| 772 | -theorem fieldEnvelope_nonneg (l : Label) (n : ℕ) (x : (P × ℝ) × Plane) : | |
| 773 | - 0 ≤ fieldEnvelope F clock reference gap r l n x := | |
| 774 | - WaveEnvelopeTransport.copyEnvelope_nonneg _ _ _ (fun v => | |
| 775 | - (referenceP_pos (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)) (clock.value l n * v)).le) x.2 | |
| 776 | - | |
| 777 | -theorem fieldEnvelope_eq (s : StripData P) (χ : P →L[ℝ] PhaseCalculus.Slow) | |
| 778 | - (φ : (Label × ℕ) → PhaseCalculus.Slow →L[ℝ] PhaseCalculus.Slow) | |
| 779 | - (hinj : ∀ l n, InjOn TorusAverages.quotientPoint | |
| 780 | - ((fun z => (reference l n).center + (reference l n).basis z) '' | |
| 781 | - (referenceWindow (r l n) (F.L (l,n)) (hr l n) (F.L_pos (l,n))).outer)) | |
| 782 | - {l : Label} {n : ℕ} {k : Frequency} {x : (P × ℝ) × Plane} | |
| 783 | - (hx : x ∈ analyticPatches F clock reference gap r s χ φ l n k) : | |
| 784 | - fieldEnvelope F clock reference gap r l n x = | |
| 785 | - ScaledActualParticularControl.envelope F clock l n | |
| 786 | - ((ScaledActualParticularControl.geometry reference gap clock l n).coordinates k x.2).2 := | |
| 787 | - ScaledActualParticularControl.patch_envelope (ActualParticularControl.angleStrip s) F | |
| 788 | - (χ.comp (ContinuousLinearMap.fst ℝ P ℝ)) φ clock reference gap r | |
| 789 | - (fun l n => reference_outer_separated _ (hr l n) (F.L_pos (l,n)) (hinj l n)) hx | |
| 790 | - | |
| 791 | 557 | noncomputable def cells |
| 792 | 558 | (hinj : ∀ l n, InjOn TorusAverages.quotientPoint |
| 793 | 559 | ((fun z => (reference l n).center + (reference l n).basis z) '' |
| @@ -807,84 +573,6 @@ variable [Countable Label] [Nonempty Label] | ||
| 807 | 573 | (s : StripData P) (χ : P →L[ℝ] PhaseCalculus.Slow) |
| 808 | 574 | (φ : (Label × ℕ) → PhaseCalculus.Slow →L[ℝ] PhaseCalculus.Slow) |
| 809 | 575 | |
| 810 | -/-- Every real power is gained by the literal global Gaussian error, | |
| 811 | -including its uncovered-source term. The source support assumptions are | |
| 812 | -on the incoming harmonic coefficients; all output zero germs and all | |
| 813 | -cutoff estimates are derived. The modal controls are precisely those | |
| 814 | -constructed by `ScaledActualParticularControl`. -/ | |
| 815 | -theorem globalGaussian_all_gains | |
| 816 | - (frame : Label → ℕ → PrimaryODE.FrameData ((P × ℝ) × ℝ)) | |
| 817 | - {α lam0 u0 ell : ℝ} (hlam0 : 0 < lam0) (hu0 : 0 < u0) (hell : 0 < ell) | |
| 818 | - (hlam : ∀ l n, lam0 ≤ F.lam (l,n)) (hu : ∀ l n, F.u (l,n) = u0) | |
| 819 | - (hL : ∀ l n, ell * ChartScales.S n ≤ F.L (l,n)) | |
| 820 | - (hinj : ∀ l n, InjOn TorusAverages.quotientPoint | |
| 821 | - ((fun z => (reference l n).center + (reference l n).basis z) '' | |
| 822 | - (referenceWindow (r l n) (F.L (l,n)) (hr l n) (F.L_pos (l,n))).outer)) | |
| 823 | - (S : Label → ℕ → Set P) (hS : ∀ l n, IsClosed (S l n)) | |
| 824 | - (hsupport : ∀ l, HarmonicSourceSupport.InputSupportOn (s.domain ×ˢ univ) | |
| 825 | - (sourceRegions F clock reference gap r S l) (b l) (G l) (A l)) | |
| 826 | - (hinside : ∀ l n p, p ∈ s.domain → p ∈ S l n → φ (l,n) (χ p) ∈ D.carrier (l,n)) | |
| 827 | - (hreal : ParticularCopyBounds.UniformModalControl | |
| 828 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) α frame | |
| 829 | - (fun l n => realData (tangent l n) (ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j n)) | |
| 830 | - j (ScaledActualParticularControl.geometry reference gap clock) | |
| 831 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.envelope F clock) | |
| 832 | - (analyticPatches F clock reference gap r s χ φ)) | |
| 833 | - (himag : ParticularCopyBounds.UniformModalControl | |
| 834 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) α frame | |
| 835 | - (fun l n => imagData (tangent l n) (ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j n)) | |
| 836 | - j (ScaledActualParticularControl.geometry reference gap clock) | |
| 837 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.envelope F clock) | |
| 838 | - (analyticPatches F clock reference gap r s χ φ)) | |
| 839 | - (hsource : UniformLocalJets | |
| 840 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) | |
| 841 | - (fun l n x => Real.sqrt (s.zeta x.1.1) * fieldEnvelope F clock reference gap r l n x) α | |
| 842 | - (analyticPatches F clock reference gap r s χ φ) | |
| 843 | - (fun l n _ => ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j n)) | |
| 844 | - (dirs : LinearWaveBounds.GraphDirections ((P × ℝ) × Plane)) | |
| 845 | - (hfast : BandBound (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) 0 dirs.fastScale) | |
| 846 | - (edges : GaussianTailFlat.FlatEdges (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s))) | |
| 847 | - (scales : GaussianTailFlat.BandScaleControl (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s))) | |
| 848 | - (β : ℝ) : | |
| 849 | - LabelSumBounds.UniformClass (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) | |
| 850 | - (fun _ _ _ => 1) β | |
| 851 | - (fun l => (data F clock reference gap r hr base tangent ctx u b G A j l).globalGaussian dirs) := by | |
| 852 | - have hw l n x (_ : x ∈ (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)).domain) := | |
| 853 | - fieldEnvelope_nonneg F clock reference gap r l n x | |
| 854 | - have he l n k x (_ : x ∈ (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)).domain) | |
| 855 | - (hx : x ∈ analyticPatches F clock reference gap r s χ φ l n k) := | |
| 856 | - (fieldEnvelope_eq F clock reference gap r hr s χ φ hinj hx).ge | |
| 857 | - have hamp := complex_amplitude_uniform_jets tangent | |
| 858 | - (fun l => ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j) | |
| 859 | - (ScaledActualParticularControl.geometry reference gap clock) | |
| 860 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.length_pos F clock) | |
| 861 | - (ScaledActualParticularControl.envelope F clock) (fieldEnvelope F clock reference gap r) | |
| 862 | - frame j (analyticPatches F clock reference gap r s χ φ) hreal himag hw he | |
| 863 | - apply LocalizedGaussianBounds.uniform_globalGaussian_all_gains_from_supported_native | |
| 864 | - (data F clock reference gap r hr base tangent ctx u b G A j) | |
| 865 | - (cells F clock reference gap r hr hinj) | |
| 866 | - (data_cutoff_support F clock reference gap r hr base tangent ctx u b G A j) | |
| 867 | - dirs (analyticPatches F clock reference gap r s χ φ) hw | |
| 868 | - (data_cutoff_jets F clock reference gap r hr base tangent ctx u b G A j s χ φ hu0 hu | |
| 869 | - ⟨hreal.constant, hreal.constant_ge_one, hreal.coordinate_power, hreal.coordinate_bound⟩) | |
| 870 | - hfast hamp hsource edges scales | |
| 871 | - (fun l n k x => theta F clock l n | |
| 872 | - ((ScaledActualParticularControl.geometry reference gap clock l n).coordinates k x.2).2) | |
| 873 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.length_pos F clock) | |
| 874 | - (ell / clock.upper) (div_pos hell (zero_lt_one.trans_le clock.upper_one)) | |
| 875 | - (length_uniform_lower F clock hL) | |
| 876 | - (mul_pos (gaussianRate_pos hlam0 hu0) clock.lower_pos) | |
| 877 | - ?_ ?_ ?_ β | |
| 878 | - (data_source_complement F clock reference gap r hr base tangent ctx u b G A j s S hsupport β) | |
| 879 | - · intro l n k x hx hc | |
| 880 | - rw [fieldEnvelope_eq F clock reference gap r hr s χ φ hinj hc] | |
| 881 | - exact envelope_uniform_bound F clock hlam0 hu0 hlam hu l n ⟨hc.1.2.2.1.le, hc.1.2.2.2.le⟩ | |
| 882 | - · intro l n k x hx hc hm | |
| 883 | - exact Or.inl (data_central F clock reference gap r hr base tangent ctx u b G A j s χ φ l n k hc hm) | |
| 884 | - · intro l n k x hx hk hn | |
| 885 | - exact data_outside F clock reference gap r hr base tangent ctx u b G A j s S hS hsupport | |
| 886 | - χ φ hinside hinj l n k hx hk hn | |
| 887 | - | |
| 888 | 576 | end AllGains |
| 889 | 577 | |
| 890 | 578 | section CurrentSourceJets |
| @@ -892,36 +580,6 @@ section CurrentSourceJets | ||
| 892 | 580 | variable {Label P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 893 | 581 | {D : PhaseJetBounds.Domain (Label × ℕ) PhaseCalculus.Slow} |
| 894 | 582 | |
| 895 | -/-- The local source estimate consumed above follows from the actual | |
| 896 | -current harmonic residual classes, with the angular variable inserted | |
| 897 | -by the literal source-family definition. -/ | |
| 898 | -theorem source_jets_of_residual_classes | |
| 899 | - (F : PhaseConstruction D) (clock : ActualSignedControl.PositiveScale Label) | |
| 900 | - (reference : Label → ℕ → Geometry) (gap : Label → ℕ → ℕ) (r : Label → ℕ → ℝ) | |
| 901 | - (s : StripData P) (χ : P →L[ℝ] PhaseCalculus.Slow) | |
| 902 | - (φ : (Label × ℕ) → PhaseCalculus.Slow →L[ℝ] PhaseCalculus.Slow) | |
| 903 | - (ctx : CorrectionState.Context (P × Plane)) (u : CorrectionState.State (P × Plane)) | |
| 904 | - (b : Label → CorrectionState.HarmonicBlock (P × Plane)) | |
| 905 | - (G A : Label → HarmonicResidual.BlockCoefficients (P × Plane)) (j : ℤ) (α : ℝ) | |
| 906 | - (h : ∀ i : Fin 3, LabelSumBounds.UniformWaveClass (CommonCoverClass.sourceStrip s) | |
| 907 | - (ActualParticularControl.groupedEnvelope | |
| 908 | - (ScaledActualParticularControl.geometry reference gap clock) r | |
| 909 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.envelope F clock)) α | |
| 910 | - (fun l n x => (HarmonicResidual.residualBlock ctx u (b l) (G l) (A l)).velocity n i j x)) : | |
| 911 | - UniformLocalJets (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) | |
| 912 | - (fun l n x => Real.sqrt (s.zeta x.1.1) * fieldEnvelope F clock reference gap r l n x) α | |
| 913 | - (analyticPatches F clock reference gap r s χ φ) | |
| 914 | - (fun l n _ => ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j n) := by | |
| 915 | - have hs := ActualParticularControl.sourceFamily_uniform s | |
| 916 | - (ScaledActualParticularControl.geometry reference gap clock) r | |
| 917 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.envelope F clock) | |
| 918 | - α ctx u b G A (fun _ => j) h | |
| 919 | - refine ⟨fun l n _ x hx _ => (hs.smooth l n).contDiffAt | |
| 920 | - ((CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)).isOpen_domain.mem_nhds hx), ?_⟩ | |
| 921 | - intro m | |
| 922 | - obtain ⟨C, hC, p, hb⟩ := hs.bounds m | |
| 923 | - exact ⟨C, hC, p, fun l n _ x hx _ k hk => hb l n x hx k hk⟩ | |
| 924 | - | |
| 925 | 583 | end CurrentSourceJets |
| 926 | 584 | |
| 927 | 585 | /-! ## Bindings to the selected reference window and primary family -/ |
| @@ -929,24 +587,6 @@ end CurrentSourceJets | ||
| 929 | 587 | noncomputable def referenceCutoff (r L : ℝ) (hr : 0 < r) (hL : 0 < L) (z : Plane) : ℝ := |
| 930 | 588 | (referenceWindow r L hr hL).cutoff z * GaussianTailFlat.slotCutoff L z.2 |
| 931 | 589 | |
| 932 | -theorem nativeCutoff_eq_reference_transport {r L c : ℝ} (hr : 0 < r) (hL : 0 < L) : | |
| 933 | - nativeCutoff r L hr hL c = referenceCutoff r L hr hL ∘ | |
| 934 | - CopySolveCompatibility.nativeTimeMap 0 c := by | |
| 935 | - funext z | |
| 936 | - simp only [nativeCutoff, referenceCutoff, Function.comp_def, | |
| 937 | - CopySolveCompatibility.nativeTimeMap, zero_add] | |
| 938 | - | |
| 939 | -theorem referenceCutoff_support {r L : ℝ} (hr : 0 < r) (hL : 0 < L) : | |
| 940 | - support (referenceCutoff r L hr hL) ⊆ univ ×ˢ Icc 0 L := by | |
| 941 | - intro z hz | |
| 942 | - have hg : GaussianTailFlat.profile (z.2 / L) ≠ 0 := (mul_ne_zero_iff.mp hz).2 | |
| 943 | - have hd : |z.2 / L - 1 / 2| < 1 / 3 := by | |
| 944 | - exact lt_of_not_ge (fun h => hg (GaussianTailFlat.profile_zero h)) | |
| 945 | - have hlo : 0 ≤ z.2 / L := by linarith [(abs_lt.mp hd).1] | |
| 946 | - have hhi : z.2 / L ≤ 1 := by linarith [(abs_lt.mp hd).2] | |
| 947 | - exact ⟨mem_univ _, by simpa only [zero_mul] using (le_div_iff₀ hL).mp hlo, | |
| 948 | - (div_le_one hL).mp hhi⟩ | |
| 949 | - | |
| 950 | 590 | theorem mem_sourceCell_clock {r L c : ℝ} (hc : 0 < c) (z : Plane) : |
| 951 | 591 | z ∈ sourceCell r L c ↔ |
| 952 | 592 | CopySolveCompatibility.nativeTimeMap 0 c z ∈ sourceCell r L 1 := by |
| @@ -965,10 +605,6 @@ variable {D h : ℝ} {vr vt : Plane} | ||
| 965 | 605 | theorem actual_slot_length_pos (m : ℕ) : 0 < ChartScales.slotLength sys.radius h m := |
| 966 | 606 | div_pos (mul_pos (by norm_num) sys.radius_pos) (ChartScales.timeCoefficient_pos h m) |
| 967 | 607 | |
| 968 | -theorem referenceWindow_eq_actual (m : ℕ) : | |
| 969 | - referenceWindow sys.radius (ChartScales.slotLength sys.radius h m) sys.radius_pos | |
| 970 | - (actual_slot_length_pos sys m) = ActualSignedGeometry.clockWindow sys m := rfl | |
| 971 | - | |
| 972 | 608 | /-- The actual slot system supplies the geometric injectivity needed |
| 973 | 609 | for finite periodization cells, including their outer padding. -/ |
| 974 | 610 | theorem actual_outer_injective (hh : 0 ≤ h) {l : SlotColoring.Label} (hl : 4 ≤ l.1) |
| @@ -980,16 +616,6 @@ theorem actual_outer_injective (hh : 0 ≤ h) {l : SlotColoring.Label} (hl : 4 | ||
| 980 | 616 | (actual_slot_length_pos sys l.1)).outer) := |
| 981 | 617 | ActualSignedGeometry.clockWindow_injective sys hdet hh hl gap |
| 982 | 618 | |
| 983 | -theorem actual_scaled_slot_lower (hh : 0 ≤ h) {m : ℕ} (hm : 4 ≤ m) | |
| 984 | - {c upper : ℝ} (hc : 0 < c) (hcU : c ≤ upper) : | |
| 985 | - (2 * sys.radius / upper) * ChartScales.S m ≤ ChartScales.slotLength sys.radius h m / c := by | |
| 986 | - have hU := hc.trans_le hcU | |
| 987 | - calc | |
| 988 | - _ = (2 * sys.radius * ChartScales.S m) / upper := by ring | |
| 989 | - _ ≤ ChartScales.slotLength sys.radius h m / upper := | |
| 990 | - div_le_div_of_nonneg_right (ChartScales.slotLength_bounds sys.radius h sys.radius_pos.le hh hm).1 hU.le | |
| 991 | - _ ≤ _ := div_le_div_of_nonneg_left (actual_slot_length_pos sys m).le hc hcU | |
| 992 | - | |
| 993 | 619 | end ActualWindow |
| 994 | 620 | |
| 995 | 621 | section ActualParametersAndMasks |
| @@ -1027,83 +653,8 @@ noncomputable def actualSourceCore (L : PrimaryGeometryAssembly.Index W a.N) : S | ||
| 1027 | 653 | actualSlowCore H v a L ×ˢ sourceCell r0 |
| 1028 | 654 | (ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L)) 1 |
| 1029 | 655 | |
| 1030 | -theorem actualSourceCore_closed (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 1031 | - IsClosed (actualSourceCore H v a L) := | |
| 1032 | - (actualSlowCore_closed H v a L).prod (sourceCell_compact _ _ _).isClosed | |
| 1033 | - | |
| 1034 | -include hr0 in | |
| 1035 | -/-- The full actual source mask retains all its factors. Its support is | |
| 1036 | -contained in the closed slow core and the Gaussian support rectangle; | |
| 1037 | -none of the dyadic or radial factors is asserted to equal one. -/ | |
| 1038 | -theorem actualMask_support (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 1039 | - support (ActualSignedGeometry.nativeCutoff H v a L) ⊆ actualSourceCore H v a L := by | |
| 1040 | - intro x hx | |
| 1041 | - change ActualSignedGeometry.nativeCutoff H v a L x ≠ 0 at hx | |
| 1042 | - simp only [ActualSignedGeometry.nativeCutoff, mul_ne_zero_iff] at hx | |
| 1043 | - have hL : 0 < ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L) := | |
| 1044 | - div_pos (mul_pos (by norm_num) hr0) (ChartScales.timeCoefficient_pos _ _) | |
| 1045 | - have hs : x.1 ∈ actualSlowCore H v a L := subset_closure hx.1.1.2 | |
| 1046 | - have htrans : x.2.1 ∈ Ioo (-r0) r0 := by | |
| 1047 | - rw [← PartitionedCovariance.cutoff_support hr0] | |
| 1048 | - exact hx.1.2 | |
| 1049 | - have hg : |x.2.2 / ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L) - 1 / 2| < 1 / 3 := | |
| 1050 | - lt_of_not_ge (fun h => hx.2 (GaussianTailFlat.profile_zero h)) | |
| 1051 | - have hlow : (1 / 6 : ℝ) < x.2.2 / ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L) := by | |
| 1052 | - linarith [(abs_lt.mp hg).1] | |
| 1053 | - have hhigh : x.2.2 / ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L) < 5 / 6 := by | |
| 1054 | - linarith [(abs_lt.mp hg).2] | |
| 1055 | - refine ⟨hs, ⟨htrans.1.le, htrans.2.le⟩, ?_, ?_⟩ | |
| 1056 | - · change (ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L) / 1) / 6 ≤ x.2.2 | |
| 1057 | - simpa only [div_eq_mul_inv, inv_one, mul_one, one_mul, mul_comm] using (lt_div_iff₀ hL).mp hlow |>.le | |
| 1058 | - · have ht := ((div_lt_iff₀ hL).mp hhigh).le | |
| 1059 | - change x.2.2 ≤ 5 * (ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L) / 1) / 6 | |
| 1060 | - simpa only [div_eq_mul_inv, inv_one, mul_one, one_mul, mul_comm, mul_assoc, mul_left_comm] using ht | |
| 1061 | - | |
| 1062 | -include hr0 in | |
| 1063 | -theorem actualMask_tsupport (L : PrimaryGeometryAssembly.Index W a.N) : | |
| 1064 | - tsupport (ActualSignedGeometry.nativeCutoff H v a L) ⊆ actualSourceCore H v a L := | |
| 1065 | - closure_minimal (actualMask_support H v a hr0 L) (actualSourceCore_closed H v a L) | |
| 1066 | - | |
| 1067 | -include hr0 in | |
| 1068 | -theorem actualMask_jet_support (L : PrimaryGeometryAssembly.Index W a.N) (m : ℕ) : | |
| 1069 | - tsupport (iteratedFDeriv ℝ m (ActualSignedGeometry.nativeCutoff H v a L)) ⊆ actualSourceCore H v a L := | |
| 1070 | - (tsupport_iteratedFDeriv_subset (𝕜 := ℝ) m).trans (actualMask_tsupport H v a hr0 L) | |
| 1071 | - | |
| 1072 | 656 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 1073 | 657 | |
| 1074 | -include hr0 in | |
| 1075 | -/-- Clock transport of the full actual mask supplies the exact closed | |
| 1076 | -source region used above. The spatial mask remains part of the source. -/ | |
| 1077 | -theorem actualMask_transported_support (L : PrimaryGeometryAssembly.Index W a.N) | |
| 1078 | - (χ : P →L[ℝ] PhaseCalculus.Slow) (g : Geometry) (k : Frequency) {c : ℝ} (hc : 0 < c) : | |
| 1079 | - support (fun x : P × Plane => ActualSignedGeometry.nativeCutoff H v a L | |
| 1080 | - (χ x.1, CopySolveCompatibility.nativeTimeMap 0 c (g.coordinates k x.2))) ⊆ | |
| 1081 | - sourceRegion (χ ⁻¹' actualSlowCore H v a L) g r0 | |
| 1082 | - (ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L)) c := by | |
| 1083 | - intro x hx | |
| 1084 | - have hs := actualMask_support H v a hr0 L hx | |
| 1085 | - exact ⟨hs.1, mem_iUnion.mpr ⟨k, (mem_sourceCell_clock hc _).mpr hs.2⟩⟩ | |
| 1086 | - | |
| 1087 | -include hr0 in | |
| 1088 | -theorem actualMask_transported_tsupport (L : PrimaryGeometryAssembly.Index W a.N) | |
| 1089 | - (χ : P →L[ℝ] PhaseCalculus.Slow) (g : Geometry) (k : Frequency) {c : ℝ} (hc : 0 < c) : | |
| 1090 | - tsupport (fun x : P × Plane => ActualSignedGeometry.nativeCutoff H v a L | |
| 1091 | - (χ x.1, CopySolveCompatibility.nativeTimeMap 0 c (g.coordinates k x.2))) ⊆ | |
| 1092 | - sourceRegion (χ ⁻¹' actualSlowCore H v a L) g r0 | |
| 1093 | - (ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L)) c := | |
| 1094 | - closure_minimal (actualMask_transported_support H v a hr0 L χ g k hc) | |
| 1095 | - (sourceRegion_closed ((actualSlowCore_closed H v a L).preimage χ.continuous) _ _ _ _) | |
| 1096 | - | |
| 1097 | -include hr0 in | |
| 1098 | -theorem actualMask_transported_jet_support (L : PrimaryGeometryAssembly.Index W a.N) | |
| 1099 | - (χ : P →L[ℝ] PhaseCalculus.Slow) (g : Geometry) (k : Frequency) {c : ℝ} (hc : 0 < c) (m : ℕ) : | |
| 1100 | - tsupport (iteratedFDeriv ℝ m (fun x : P × Plane => ActualSignedGeometry.nativeCutoff H v a L | |
| 1101 | - (χ x.1, CopySolveCompatibility.nativeTimeMap 0 c (g.coordinates k x.2)))) ⊆ | |
| 1102 | - sourceRegion (χ ⁻¹' actualSlowCore H v a L) g r0 | |
| 1103 | - (ChartScales.slotLength r0 profile.data.h (BaseChartJets.cellBand L)) c := | |
| 1104 | - (tsupport_iteratedFDeriv_subset (𝕜 := ℝ) m).trans | |
| 1105 | - (actualMask_transported_tsupport H v a hr0 L χ g k hc) | |
| 1106 | - | |
| 1107 | 658 | end ActualParametersAndMasks |
| 1108 | 659 | |
| 1109 | 660 | /-! ## A weighted companion for physical edge estimates -/ |
| @@ -1257,93 +808,6 @@ variable [Countable Label] [Nonempty Label] | ||
| 1257 | 808 | (s : StripData P) (χ : P →L[ℝ] PhaseCalculus.Slow) |
| 1258 | 809 | (φ : (Label × ℕ) → PhaseCalculus.Slow →L[ℝ] PhaseCalculus.Slow) |
| 1259 | 810 | |
| 1260 | -/-- The actual Gaussian error retains precisely the flat `sqrt(zeta)` | |
| 1261 | -weight at every decay exponent. This companion is suitable for the | |
| 1262 | -physical local-source bounds; no completed edge extension is assumed. -/ | |
| 1263 | -theorem globalGaussian_weighted_all_gains | |
| 1264 | - (frame : Label → ℕ → PrimaryODE.FrameData ((P × ℝ) × ℝ)) | |
| 1265 | - {α lam0 u0 ell : ℝ} (hlam0 : 0 < lam0) (hu0 : 0 < u0) (hell : 0 < ell) | |
| 1266 | - (hlam : ∀ l n, lam0 ≤ F.lam (l,n)) (hu : ∀ l n, F.u (l,n) = u0) | |
| 1267 | - (hL : ∀ l n, ell * ChartScales.S n ≤ F.L (l,n)) | |
| 1268 | - (hinj : ∀ l n, InjOn TorusAverages.quotientPoint | |
| 1269 | - ((fun z => (reference l n).center + (reference l n).basis z) '' | |
| 1270 | - (referenceWindow (r l n) (F.L (l,n)) (hr l n) (F.L_pos (l,n))).outer)) | |
| 1271 | - (S : Label → ℕ → Set P) (hS : ∀ l n, IsClosed (S l n)) | |
| 1272 | - (hsupport : ∀ l, HarmonicSourceSupport.InputSupportOn (s.domain ×ˢ univ) | |
| 1273 | - (sourceRegions F clock reference gap r S l) (b l) (G l) (A l)) | |
| 1274 | - (hinside : ∀ l n p, p ∈ s.domain → p ∈ S l n → φ (l,n) (χ p) ∈ D.carrier (l,n)) | |
| 1275 | - (hreal : ParticularCopyBounds.UniformModalControl | |
| 1276 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) α frame | |
| 1277 | - (fun l n => realData (tangent l n) (ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j n)) | |
| 1278 | - j (ScaledActualParticularControl.geometry reference gap clock) | |
| 1279 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.envelope F clock) | |
| 1280 | - (analyticPatches F clock reference gap r s χ φ)) | |
| 1281 | - (himag : ParticularCopyBounds.UniformModalControl | |
| 1282 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) α frame | |
| 1283 | - (fun l n => imagData (tangent l n) (ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j n)) | |
| 1284 | - j (ScaledActualParticularControl.geometry reference gap clock) | |
| 1285 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.envelope F clock) | |
| 1286 | - (analyticPatches F clock reference gap r s χ φ)) | |
| 1287 | - (hsource : UniformLocalJets | |
| 1288 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) | |
| 1289 | - (fun l n x => Real.sqrt (s.zeta x.1.1) * fieldEnvelope F clock reference gap r l n x) α | |
| 1290 | - (analyticPatches F clock reference gap r s χ φ) | |
| 1291 | - (fun l n _ => ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j n)) | |
| 1292 | - (dirs : LinearWaveBounds.GraphDirections ((P × ℝ) × Plane)) | |
| 1293 | - (hfast : BandBound (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) 0 dirs.fastScale) | |
| 1294 | - (scales : GaussianTailFlat.BandScaleControl (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s))) | |
| 1295 | - (β : ℝ) : | |
| 1296 | - LabelSumBounds.UniformClass (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) | |
| 1297 | - (fun _ _ x => Real.sqrt (s.zeta x.1.1)) β | |
| 1298 | - (fun l => (data F clock reference gap r hr base tangent ctx u b G A j l).globalGaussian dirs) := by | |
| 1299 | - have hw l n x (_ : x ∈ (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)).domain) := | |
| 1300 | - fieldEnvelope_nonneg F clock reference gap r l n x | |
| 1301 | - have he l n k x (_ : x ∈ (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)).domain) | |
| 1302 | - (hx : x ∈ analyticPatches F clock reference gap r s χ φ l n k) := | |
| 1303 | - (fieldEnvelope_eq F clock reference gap r hr s χ φ hinj hx).ge | |
| 1304 | - have hamp := complex_amplitude_uniform_jets tangent | |
| 1305 | - (fun l => ParticularWaveAssembly.sourceFamily ctx u (b l) (G l) (A l) j) | |
| 1306 | - (ScaledActualParticularControl.geometry reference gap clock) | |
| 1307 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.length_pos F clock) | |
| 1308 | - (ScaledActualParticularControl.envelope F clock) (fieldEnvelope F clock reference gap r) | |
| 1309 | - frame j (analyticPatches F clock reference gap r s χ φ) hreal himag hw he | |
| 1310 | - have hcomp : LocalizedGaussianBounds.UniformComplementJets | |
| 1311 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip s)) | |
| 1312 | - (fun _ _ x => Real.sqrt (s.zeta x.1.1)) β | |
| 1313 | - (fun l => (cells F clock reference gap r hr hinj l).carrier) | |
| 1314 | - (fun l => (data F clock reference gap r hr base tangent ctx u b G A j l).source) := by | |
| 1315 | - apply LocalizedGaussianBounds.UniformComplementJets.of_zero_germs | |
| 1316 | - intro l n x hx hn | |
| 1317 | - apply data_source_zero_germ F clock reference gap r hr base tangent ctx u b G A j | |
| 1318 | - s S hS hsupport l n hx | |
| 1319 | - intro hreg | |
| 1320 | - obtain ⟨k,hk⟩ := mem_iUnion.mp hreg.2 | |
| 1321 | - exact hn k (sourceCell_subset_outer (hr l n) (F.L_pos (l,n)) (clock.value_pos l n) hk) | |
| 1322 | - apply uniform_globalGaussian_weighted_from_supported_native | |
| 1323 | - (data F clock reference gap r hr base tangent ctx u b G A j) | |
| 1324 | - (cells F clock reference gap r hr hinj) | |
| 1325 | - (data_cutoff_support F clock reference gap r hr base tangent ctx u b G A j) | |
| 1326 | - dirs (analyticPatches F clock reference gap r s χ φ) hw | |
| 1327 | - (data_cutoff_jets F clock reference gap r hr base tangent ctx u b G A j s χ φ hu0 hu | |
| 1328 | - ⟨hreal.constant, hreal.constant_ge_one, hreal.coordinate_power, hreal.coordinate_bound⟩) | |
| 1329 | - hfast hamp hsource scales | |
| 1330 | - (fun l n k x => theta F clock l n | |
| 1331 | - ((ScaledActualParticularControl.geometry reference gap clock l n).coordinates k x.2).2) | |
| 1332 | - (ScaledActualParticularControl.length F clock) (ScaledActualParticularControl.length_pos F clock) | |
| 1333 | - (ell / clock.upper) (div_pos hell (zero_lt_one.trans_le clock.upper_one)) | |
| 1334 | - (length_uniform_lower F clock hL) | |
| 1335 | - (mul_pos (gaussianRate_pos hlam0 hu0) clock.lower_pos) | |
| 1336 | - ?_ ?_ ?_ β | |
| 1337 | - hcomp | |
| 1338 | - · intro l n k x hx hc | |
| 1339 | - rw [fieldEnvelope_eq F clock reference gap r hr s χ φ hinj hc] | |
| 1340 | - exact envelope_uniform_bound F clock hlam0 hu0 hlam hu l n ⟨hc.1.2.2.1.le, hc.1.2.2.2.le⟩ | |
| 1341 | - · intro l n k x hx hc hm | |
| 1342 | - exact Or.inl (data_central F clock reference gap r hr base tangent ctx u b G A j s χ φ l n k hc hm) | |
| 1343 | - · intro l n k x hx hk hn | |
| 1344 | - exact data_outside F clock reference gap r hr base tangent ctx u b G A j s S hS hsupport | |
| 1345 | - χ φ hinside hinj l n k hx hk hn | |
| 1346 | - | |
| 1347 | 811 | end ActualWeighted |
| 1348 | 812 | |
| 1349 | 813 | end NavierStokes.ActualGaussianCoverage |
+0 −297 NavierStokes/ActualInitialExcluded.lean View file
| @@ -498,18 +498,6 @@ theorem normalizedBase_prefix (alpha : ℝ) (m : ℕ) : | ||
| 498 | 498 | rw [ChartScales.epsilon, ← Real.rpow_mul (ChartScales.Q_pos n).le] |
| 499 | 499 | exact Real.rpow_le_rpow_of_exponent_ge (ChartScales.Q_pos n) (ChartScales.Q_le_one n) hexp |
| 500 | 500 | |
| 501 | -theorem normalizedBase_envelope (alpha : ℝ) : | |
| 502 | - PrimaryPulseBounds.EnvelopeJets (BaseChartJets.unitScale (BaseContextAssembly.phaseDomain W U ℕ)) | |
| 503 | - (fun n _ => ChartScales.epsilon F.data.h n ^ alpha) (normalizedBase H v upper B) := by | |
| 504 | - refine ⟨fun n _ _ => (Real.rpow_pos_of_pos (ChartScales.epsilon_pos F.data.h n) _).le, | |
| 505 | - normalizedBase_smooth H v upper B U, ?_⟩ | |
| 506 | - intro m | |
| 507 | - obtain ⟨C, hC, hb⟩ := normalizedBase_prefix H v upper B U alpha m | |
| 508 | - refine ⟨C + 1, by linarith, 0, fun n p hp j hj => ?_⟩ | |
| 509 | - simpa only [pow_zero, mul_one] using (hb n p hp j hj).trans | |
| 510 | - (mul_le_mul_of_nonneg_right (by linarith : C ≤ C + 1) | |
| 511 | - (Real.rpow_pos_of_pos (ChartScales.epsilon_pos F.data.h n) alpha).le) | |
| 512 | - | |
| 513 | 501 | theorem baseError_zero_angle (n : ℕ) (x : BaseContextAssembly.Point) (i : Fin 3) : |
| 514 | 502 | ActualBaseResidual.baseError H v upper B n (x, 0) i = |
| 515 | 503 | normalizedBase H v upper B n (BaseContextAssembly.slowCoordinates x) i := by |
| @@ -520,29 +508,6 @@ theorem baseError_zero_angle (n : ℕ) (x : BaseContextAssembly.Point) (i : Fin | ||
| 520 | 508 | congr 1 |
| 521 | 509 | fin_cases i <;> simp |
| 522 | 510 | |
| 523 | -/-- Every actual base-error component has all powers on the full free | |
| 524 | -auxiliary lift. No vanishing edge-weight premise is imposed on this term. -/ | |
| 525 | -theorem baseError_component_class (alpha : ℝ) (i : Fin 3) : | |
| 526 | - UnweightedClass (BaseContextAssembly.nativeStrip W U) alpha | |
| 527 | - (fun n x => ActualBaseResidual.baseError H v upper B n (x, 0) i) := by | |
| 528 | - have hh := BaseContextAssembly.envelope_pullback (BaseContextAssembly.nativeStrip W U) | |
| 529 | - (normalizedBase_envelope H v upper B U alpha) | |
| 530 | - (fun _ => BaseContextAssembly.slowCoordinates_maps W U) (fun _ => rfl) | |
| 531 | - have hi := hh.map (AxisymmetricFields.projection i) | |
| 532 | - apply WaveInteractionBounds.class_congr hi | |
| 533 | - intro n x _ | |
| 534 | - exact (baseError_zero_angle H v upper B n x i).symm | |
| 535 | - | |
| 536 | -theorem baseError_angle_component_class (alpha : ℝ) (i : Fin 3) : | |
| 537 | - UnweightedClass (HarmonicWaveInteraction.productStrip (BaseContextAssembly.nativeStrip W U)) alpha | |
| 538 | - (fun n x => ActualBaseResidual.baseError H v upper B n x i) := by | |
| 539 | - have hh := HarmonicWaveInteraction.class_lift (baseError_component_class H v upper B U alpha i) | |
| 540 | - apply WaveInteractionBounds.class_congr hh | |
| 541 | - intro n x hx | |
| 542 | - exact (ActualBaseResidual.baseError_angle_eq H v upper B n | |
| 543 | - (BaseContextAssembly.nativeStrip_radius W U hx) (BaseContextAssembly.nativeStrip_time W U hx) | |
| 544 | - x.2 i).symm | |
| 545 | - | |
| 546 | 511 | end NormalizedBase |
| 547 | 512 | |
| 548 | 513 | section NativeGaussianBounds |
| @@ -795,14 +760,6 @@ theorem nativeGaussian_source_support (l : SignedLabel B N0) : | ||
| 795 | 760 | simpa only [div_eq_mul_inv, inv_one, mul_one, one_mul, mul_comm, mul_assoc, mul_left_comm] using |
| 796 | 761 | (div_le_iff₀ hL).mp hhi |
| 797 | 762 | |
| 798 | -theorem nativeGaussian_source_tsupport (l : SignedLabel B N0) : | |
| 799 | - tsupport (nativeGaussian l) ⊆ | |
| 800 | - ActualGaussianCoverage.actualSourceCore ActualPrimary.certificate ActualPrimary.modulation | |
| 801 | - (ActualPrimary.choice B N0).prepared l.2 := | |
| 802 | - closure_minimal (nativeGaussian_source_support l) | |
| 803 | - (ActualGaussianCoverage.actualSourceCore_closed ActualPrimary.certificate ActualPrimary.modulation | |
| 804 | - (ActualPrimary.choice B N0).prepared l.2) | |
| 805 | - | |
| 806 | 763 | end InitialLabelSupport |
| 807 | 764 | |
| 808 | 765 | section ActualGaussianIdentification |
| @@ -986,19 +943,6 @@ theorem gaussianCoefficient_all_gains (β : ℝ) (i : Fin 3) (j : ℤ) : | ||
| 986 | 943 | (fun l n x => chartGaussian l n (x, 0) i) := hs.map (ContinuousLinearMap.proj i) |
| 987 | 944 | exact UniformBlockBounds.pair_uniform hi 1 j |
| 988 | 945 | |
| 989 | -theorem gaussianCoefficient_zero (l : SignedLabel B N0) (n : ℕ) (i : Fin 3) (j : ℤ) | |
| 990 | - {x : Point} (hx : x ∉ labelCarrier l n) : | |
| 991 | - ErrorHarmonics.conjugatePair 1 (fun y => chartGaussian l n (y, 0) i) j x = 0 := by | |
| 992 | - have hz : chartGaussian l n (x, 0) = 0 := (chartGaussian_zero_germ l n hx).eq_of_nhds | |
| 993 | - simp only [ParticularWaveAssembly.pair_apply, hz, Pi.zero_apply, zero_div] | |
| 994 | - split_ifs <;> simp | |
| 995 | - | |
| 996 | -theorem gaussianCoefficient_support (l : SignedLabel B N0) (n : ℕ) (i : Fin 3) : | |
| 997 | - HarmonicSourceSupport.NonzeroSupported (labelCarrier l n) | |
| 998 | - (ErrorHarmonics.conjugatePair 1 (fun y => chartGaussian l n (y, 0) i)) := by | |
| 999 | - intro j _ x hx | |
| 1000 | - exact gaussianCoefficient_zero l n i j hx | |
| 1001 | - | |
| 1002 | 946 | end ActualGaussianIdentification |
| 1003 | 947 | |
| 1004 | 948 | section FlatProducts |
| @@ -1007,46 +951,6 @@ variable {D : Type} {I : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] | ||
| 1007 | 951 | {s : StripData D} {w : I → ℕ → D → ℝ} {K : I → ℕ → Set D} |
| 1008 | 952 | {f g : I → ℕ → D → ℂ} |
| 1009 | 953 | |
| 1010 | -/-- Only carrier jets on the actual coefficient support are used. Their | |
| 1011 | -fixed-order loss is absorbed by the independently proved all-power input. -/ | |
| 1012 | -theorem uniform_flat_mul | |
| 1013 | - (hf : ∀ α : ℝ, LabelSumBounds.UniformClass s w α f) | |
| 1014 | - (hg : ∀ i n, ContDiffOn ℝ ∞ (g i n) s.domain) | |
| 1015 | - (hz : ∀ i n x, x ∈ s.domain → x ∉ K i n → f i n =ᶠ[𝓝 x] fun _ => 0) | |
| 1016 | - (hb : ∀ m : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∃ r : ℝ, | |
| 1017 | - ∀ i n x, x ∈ s.domain → x ∈ K i n → ∀ j ≤ m, | |
| 1018 | - ‖iteratedFDeriv ℝ j (g i n) x‖ ≤ majorant s (fun _ _ => 1) r C p n x) | |
| 1019 | - (β : ℝ) : LabelSumBounds.UniformClass s w β (fun i n x => f i n x * g i n x) := by | |
| 1020 | - refine ⟨(hf β).weight_nonneg, fun i n => ((hf β).smooth i n).mul (hg i n), ?_⟩ | |
| 1021 | - intro m | |
| 1022 | - obtain ⟨B, hB, q, r, hgb⟩ := hb m | |
| 1023 | - obtain ⟨A, hA, p, hfb⟩ := (hf (β-r)).bounds m | |
| 1024 | - let c := ‖ContinuousLinearMap.mul ℝ ℂ‖ * (2 : ℝ)^m * A * B | |
| 1025 | - refine ⟨c, by dsimp [c]; positivity, p+q, ?_⟩ | |
| 1026 | - intro i n x hx j hj | |
| 1027 | - by_cases hK : x ∈ K i n | |
| 1028 | - · have h := LabelSumBounds.bilinear_jet_bound (ContinuousLinearMap.mul ℝ ℂ) | |
| 1029 | - s.isOpen_domain ((hf (β-r)).smooth i n) (hg i n) hx hj | |
| 1030 | - (majorant_nonneg s (w i) (β-r) hA p n x ((hf (β-r)).weight_nonneg i n x hx)) | |
| 1031 | - (majorant_nonneg s (fun _ _ => 1) r hB q n x zero_le_one) | |
| 1032 | - (hfb i n x hx) (hgb i n x hx hK) | |
| 1033 | - refine h.trans_eq ?_ | |
| 1034 | - calc | |
| 1035 | - _ = (‖ContinuousLinearMap.mul ℝ ℂ‖ * (2 : ℝ)^m) * | |
| 1036 | - (majorant s (w i) (β-r) A p n x * majorant s (fun _ _ => 1) r B q n x) := by ring | |
| 1037 | - _ = _ := by | |
| 1038 | - rw [majorant_mul] | |
| 1039 | - simp only [mul_one, sub_add_cancel] | |
| 1040 | - unfold majorant c | |
| 1041 | - ring | |
| 1042 | - · have he : (fun y => f i n y * g i n y) =ᶠ[𝓝 x] fun _ => 0 := by | |
| 1043 | - filter_upwards [hz i n x hx hK] with y hy | |
| 1044 | - rw [hy, zero_mul] | |
| 1045 | - rw [PeriodizedWaveBounds.jets_eq_of_germ he j] | |
| 1046 | - simpa only [iteratedFDeriv_fun_zero, Pi.zero_apply, norm_zero] using | |
| 1047 | - majorant_nonneg s (w i) β (by dsimp [c]; positivity) (p+q) n x | |
| 1048 | - ((hf β).weight_nonneg i n x hx) | |
| 1049 | - | |
| 1050 | 954 | end FlatProducts |
| 1051 | 955 | |
| 1052 | 956 | section FullGaussian |
| @@ -1058,24 +962,6 @@ variable {B N0 : ℕ} | ||
| 1058 | 962 | noncomputable abbrev gaussianStrip : StripData ActualPrimary.FullPoint := |
| 1059 | 963 | HarmonicWaveInteraction.productStrip strip |
| 1060 | 964 | |
| 1061 | -noncomputable def chartCarrier (l : SignedLabel B N0) (n : ℕ) : ActualPrimary.FullPoint → ℂ := | |
| 1062 | - HarmonicCalculus.carrier ((ActualPrimary.chartCoefficients l.1 l.2).frequency n) | |
| 1063 | - ((ActualPrimary.chartCoefficients l.1 l.2).phase n) | |
| 1064 | - | |
| 1065 | -theorem chartCarrier_smooth (l : SignedLabel B N0) (n : ℕ) : | |
| 1066 | - ContDiffOn ℝ ∞ (chartCarrier l n) gaussianStrip.domain := | |
| 1067 | - HarmonicCalculus.contDiffOn_carrier ((ActualPrimary.chartCoefficients l.1 l.2).frequency n) | |
| 1068 | - (ActualPrimaryCoherence.piece_phase_smooth ActualPrimary.standardRegion l.1 l.2 n) | |
| 1069 | - | |
| 1070 | -noncomputable def gaussianField (l : SignedLabel B N0) : | |
| 1071 | - ℕ → ActualPrimary.FullPoint → Fin 3 → ℝ := | |
| 1072 | - (ActualPrimary.piece ActualPrimary.standardRegion l.1 l.2).excluded | |
| 1073 | - | |
| 1074 | -theorem gaussianField_eq (l : SignedLabel B N0) (n : ℕ) (x : ActualPrimary.FullPoint) (i : Fin 3) : | |
| 1075 | - gaussianField l n x i = (chartGaussian l n x i * HarmonicCalculus.carrier | |
| 1076 | - ((ActualPrimary.chartCoefficients l.1 l.2).frequency n) | |
| 1077 | - ((ActualPrimary.chartCoefficients l.1 l.2).phase n) x).re := rfl | |
| 1078 | - | |
| 1079 | 965 | theorem chartGaussian_cut_support (l : SignedLabel B N0) (n : ℕ) {x : ActualPrimary.FullPoint} |
| 1080 | 966 | (hx : chartGaussian l n x ≠ 0) : |
| 1081 | 967 | x ∈ support (((ActualPrimary.chartCoefficients l.1 l.2).withCutoff |
| @@ -1096,107 +982,6 @@ theorem chartGaussian_cut_support (l : SignedLabel B N0) (n : ℕ) {x : ActualPr | ||
| 1096 | 982 | _root_.zero_apply, Pi.zero_apply, zero_smul, smul_zero, add_zero]) |
| 1097 | 983 | exact smul_ne_zero hψ ha |
| 1098 | 984 | |
| 1099 | -theorem chartGaussian_zero_off_cut (l : SignedLabel B N0) (n : ℕ) {x : ActualPrimary.FullPoint} | |
| 1100 | - (hx : x ∉ tsupport (((ActualPrimary.chartCoefficients l.1 l.2).withCutoff | |
| 1101 | - (ActualPrimary.chartCutoff l.1 l.2)).amplitude n)) : | |
| 1102 | - chartGaussian l n =ᶠ[𝓝 x] fun _ => 0 := by | |
| 1103 | - apply notMem_tsupport_iff_eventuallyEq.mp | |
| 1104 | - exact fun hz => hx (closure_mono (fun y hy => chartGaussian_cut_support l n hy) hz) | |
| 1105 | - | |
| 1106 | -theorem gaussianField_window (l : SignedLabel B N0) (n : ℕ) {x : ActualPrimary.FullPoint} | |
| 1107 | - (hx : x ∈ gaussianStrip.domain) (i : Fin 3) (hn : gaussianField l n x i ≠ 0) : | |
| 1108 | - ActualPrimaryCovariance.physicalWindow n x.1 ∈ | |
| 1109 | - LabelSumBounds.closedWindow (CoordinateAlgebra.D ActualPrimary.h) | |
| 1110 | - (ActualPrimaryCovariance.signedLabelOf (l.2,l.1)) := by | |
| 1111 | - have hc : chartGaussian l n x ≠ 0 := by | |
| 1112 | - intro hz | |
| 1113 | - exact hn (by simp only [gaussianField_eq, hz, Pi.zero_apply, zero_mul, Complex.zero_re]) | |
| 1114 | - exact (ActualPrimaryCovariance.piece_support (l.2,l.1) n x.1 hx x.2 | |
| 1115 | - (subset_tsupport _ (chartGaussian_cut_support l n hc))).1 | |
| 1116 | - | |
| 1117 | -theorem gaussianField_zero_germ (l : SignedLabel B N0) (n : ℕ) (i : Fin 3) | |
| 1118 | - {x : ActualPrimary.FullPoint} (hx : x.1 ∉ labelCarrier l n) : | |
| 1119 | - (fun y => gaussianField l n y i) =ᶠ[𝓝 x] fun _ => 0 := by | |
| 1120 | - filter_upwards [chartGaussian_zero_germ l n hx] with y hy | |
| 1121 | - simp only [gaussianField_eq, hy, Pi.zero_apply, zero_mul, Complex.zero_re] | |
| 1122 | - | |
| 1123 | -theorem gaussianField_all_gains_of_carrier | |
| 1124 | - (hc : ∀ m : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∃ r : ℝ, | |
| 1125 | - ∀ (l : SignedLabel B N0) n x, x ∈ gaussianStrip.domain → | |
| 1126 | - x ∈ tsupport (((ActualPrimary.chartCoefficients l.1 l.2).withCutoff | |
| 1127 | - (ActualPrimary.chartCutoff l.1 l.2)).amplitude n) → ∀ j ≤ m, | |
| 1128 | - ‖iteratedFDeriv ℝ j (HarmonicCalculus.carrier | |
| 1129 | - ((ActualPrimary.chartCoefficients l.1 l.2).frequency n) | |
| 1130 | - ((ActualPrimary.chartCoefficients l.1 l.2).phase n)) x‖ ≤ | |
| 1131 | - majorant gaussianStrip (fun _ _ => 1) r C p n x) | |
| 1132 | - (β : ℝ) (i : Fin 3) : | |
| 1133 | - LabelSumBounds.UniformClass gaussianStrip (fun _ _ x => Real.sqrt (strip.zeta x.1)) β | |
| 1134 | - (fun l : SignedLabel B N0 => fun n x => gaussianField l n x i) := by | |
| 1135 | - have hf : LabelSumBounds.UniformClass gaussianStrip | |
| 1136 | - (fun _ : SignedLabel B N0 => fun _ x => Real.sqrt (strip.zeta x.1)) β | |
| 1137 | - (fun l n x => chartGaussian l n x i * chartCarrier l n x) := | |
| 1138 | - uniform_flat_mul (s := gaussianStrip) | |
| 1139 | - (f := fun (l : SignedLabel B N0) n x => chartGaussian l n x i) | |
| 1140 | - (g := chartCarrier (B := B) (N0 := N0)) | |
| 1141 | - (fun α => (chartGaussian_all_gains (B := B) (N0 := N0) α).map (ContinuousLinearMap.proj i)) | |
| 1142 | - (chartCarrier_smooth (B := B) (N0 := N0)) | |
| 1143 | - (K := fun (l : SignedLabel B N0) n => tsupport (((ActualPrimary.chartCoefficients l.1 l.2).withCutoff | |
| 1144 | - (ActualPrimary.chartCutoff l.1 l.2)).amplitude n)) | |
| 1145 | - (fun l n x _ hx => by | |
| 1146 | - filter_upwards [chartGaussian_zero_off_cut l n hx] with y hy | |
| 1147 | - exact congrFun hy i) | |
| 1148 | - hc β | |
| 1149 | - apply (hf.map Complex.reCLM).congr | |
| 1150 | - intro l n x _ | |
| 1151 | - exact (gaussianField_eq l n x i).symm | |
| 1152 | - | |
| 1153 | -noncomputable def initialGaussian (B N0 : ℕ) : ℕ → ActualPrimary.FullPoint → Fin 3 → ℝ := | |
| 1154 | - LabelSumBounds.fieldSum (ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) | |
| 1155 | - (fun l => (ActualPrimary.piece ActualPrimary.standardRegion l.2 l.1).excluded) | |
| 1156 | - | |
| 1157 | -/-- The number of active labels may grow, but at most the fixed geometric | |
| 1158 | -overlap number contributes to an actual derivative at one point. -/ | |
| 1159 | -theorem initialGaussian_class_of_fields (β : ℝ) (i : Fin 3) | |
| 1160 | - (hf : LabelSumBounds.UniformClass gaussianStrip | |
| 1161 | - (fun _ _ x => Real.sqrt (strip.zeta x.1)) β | |
| 1162 | - (fun l : SignedLabel B N0 => fun n x => gaussianField l n x i)) : | |
| 1163 | - MemClass gaussianStrip (fun _ x => Real.sqrt (strip.zeta x.1)) β | |
| 1164 | - (fun n x => initialGaussian B N0 n x i) := by | |
| 1165 | - have h := hf.reindex (fun l : ActualPrimary.Label B N0 × Fin 2 => (l.2,l.1)) | |
| 1166 | - have hχ (n : ℕ) : ContinuousOn | |
| 1167 | - (fun x : ActualPrimary.FullPoint => ActualPrimaryCovariance.physicalWindow n x.1) | |
| 1168 | - gaussianStrip.domain := | |
| 1169 | - (ActualPrimaryCovariance.physicalWindow_continuousOn n).comp | |
| 1170 | - continuous_fst.continuousOn (fun _ hx => hx) | |
| 1171 | - exact LabelSumBounds.window_sum_memClass (s := gaussianStrip) | |
| 1172 | - (w := fun _ x => Real.sqrt (strip.zeta x.1)) | |
| 1173 | - (ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) | |
| 1174 | - (fun _ => ActualPrimaryCovariance.signedLabelOf) | |
| 1175 | - (fun _ => ActualPrimaryCovariance.signedLabelOf_injective.injOn) | |
| 1176 | - (fun _ l _ => l.1.val.property.1) | |
| 1177 | - (CoordinateAlgebra.D ActualPrimary.h) | |
| 1178 | - (fun n x => ActualPrimaryCovariance.physicalWindow n x.1) | |
| 1179 | - hχ h | |
| 1180 | - (fun _ _ _ => Real.sqrt_nonneg _) | |
| 1181 | - (fun n l _ x hx hn => gaussianField_window (l.2,l.1) n hx i hn) | |
| 1182 | - | |
| 1183 | -theorem strip_zeta_le_one (x : Point) : strip.zeta x ≤ 1 := | |
| 1184 | - GaugeExcludedBounds.movingStrip_zeta_le_one ActualPrimary.standardRegion | |
| 1185 | - (PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal) | |
| 1186 | - (div_pos (FinalSlowBase.edgeExponent_pos ActualPrimary.nominal) (by norm_num)) zero_lt_one | |
| 1187 | - (ChartScales.epsilon ActualPrimary.h) BaseContextAssembly.slowScale | |
| 1188 | - (ChartScales.epsilon_pos ActualPrimary.h) | |
| 1189 | - (ChartScales.epsilon_le_one ActualPrimary.h ActualPrimary.outgoing.data.h_pos.le) | |
| 1190 | - BaseContextAssembly.one_le_slowScale x | |
| 1191 | - | |
| 1192 | -theorem initialGaussian_unweighted_of_fields (β : ℝ) (i : Fin 3) | |
| 1193 | - (hf : LabelSumBounds.UniformClass gaussianStrip | |
| 1194 | - (fun _ _ x => Real.sqrt (strip.zeta x.1)) β | |
| 1195 | - (fun l : SignedLabel B N0 => fun n x => gaussianField l n x i)) : | |
| 1196 | - UnweightedClass gaussianStrip β (fun n x => initialGaussian B N0 n x i) := | |
| 1197 | - (initialGaussian_class_of_fields β i hf).mono_weight (fun _ _ _ => zero_le_one) | |
| 1198 | - (fun _ x _ => Real.sqrt_le_one.mpr (strip_zeta_le_one x.1)) | |
| 1199 | - | |
| 1200 | 985 | end FullGaussian |
| 1201 | 986 | |
| 1202 | 987 | section InitialAliases |
| @@ -1287,100 +1072,18 @@ theorem initialAlias_all_gains (B N0 : ℕ) (β : ℝ) : | ||
| 1287 | 1072 | initialAlias_all_gains_of_data (ActualInitialMean.primary_mean_data B N0) |
| 1288 | 1073 | (ActualInitialMean.rank_bounds B N0).cumulative β |
| 1289 | 1074 | |
| 1290 | -theorem initializedAlias_all_gains (B N0 : ℕ) (β : ℝ) : | |
| 1291 | - MeanClass gaussianStrip β (ActualInitialMean.initialized B N0).errors.aliasError := by | |
| 1292 | - have ht := (temporalAlias_all_gains_of_primaryData (ActualInitialMean.primary_mean_data B N0) β).2 | |
| 1293 | - have hp := (pressureAlias_all_gains_of_cumulative (ActualInitialMean.primary_mean_data B N0) | |
| 1294 | - (ActualInitialMean.rank_bounds B N0).cumulative β).2 | |
| 1295 | - have he : (ActualInitialMean.initialized B N0).errors.aliasError = | |
| 1296 | - VariableGaugeMean.temporalAliasState ActualPrimary.commonGauge ActualPrimary.h | |
| 1297 | - (CommonWindow.index ActualPrimary.h) (ActualPrimary.commonContext B) (ActualInitialMean.primary B N0) + | |
| 1298 | - VariableGaugeMean.pressureAliasState ActualPrimary.commonGauge (ActualPrimary.commonContext B) | |
| 1299 | - (ActualInitialMean.ranked B N0) := ActualInitialCoherence.initialized_aliases B N0 | |
| 1300 | - rw [he] | |
| 1301 | - exact ht.add hp | |
| 1302 | - | |
| 1303 | -theorem initializedAlias_unweighted (B N0 : ℕ) (β : ℝ) : | |
| 1304 | - UnweightedClass gaussianStrip β (ActualInitialMean.initialized B N0).errors.aliasError := | |
| 1305 | - GaugeExcludedBounds.meanClass_unweighted (initializedAlias_all_gains B N0 β) | |
| 1306 | - (fun x _ => strip_zeta_le_one x.1) | |
| 1307 | - | |
| 1308 | 1075 | end InitialAliases |
| 1309 | 1076 | |
| 1310 | 1077 | section TotalExcluded |
| 1311 | 1078 | |
| 1312 | 1079 | open CorrectionInitialization ActualPrimaryBounds |
| 1313 | 1080 | |
| 1314 | -theorem initialized_errors_formula (B N0 : ℕ) : | |
| 1315 | - (ActualInitialMean.initialized B N0).errors.total = | |
| 1316 | - ActualBaseResidual.baseError ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B + | |
| 1317 | - initialGaussian B N0 + (ActualInitialMean.initialized B N0).errors.aliasError := by | |
| 1318 | - obtain ⟨hb, hg, _⟩ := GaugeInitialization.initializedBands_error_components | |
| 1319 | - ActualPrimary.commonGauge ActualPrimary.rankData ActualPrimary.h (CommonWindow.index ActualPrimary.h) | |
| 1320 | - ActualInitialMean.axial (ActualPrimary.commonContext B) | |
| 1321 | - (ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) ActualInitialMean.primaryPiece | |
| 1322 | - (ActualInitialMean.baseError B) | |
| 1323 | - change (ActualInitialMean.initialized B N0).errors.base = _ at hb | |
| 1324 | - change (ActualInitialMean.initialized B N0).errors.gaussian = initialGaussian B N0 at hg | |
| 1325 | - simp only [CorrectionState.ExcludedErrors.total, hb, hg] | |
| 1326 | - rfl | |
| 1327 | - | |
| 1328 | -/-- The remaining Gaussian premise is an estimate for the literal full | |
| 1329 | -field; the base and both aliases in this formula are already constructed. -/ | |
| 1330 | -theorem initializedErrors_all_gains_of_gaussian (B N0 : ℕ) (β : ℝ) (i : Fin 3) | |
| 1331 | - (hg : UnweightedClass gaussianStrip β (fun n x => initialGaussian B N0 n x i)) : | |
| 1332 | - UnweightedClass gaussianStrip β (fun n x => (ActualInitialMean.initialized B N0).errors.total n x i) := by | |
| 1333 | - have hb := baseError_angle_component_class ActualPrimary.certificate ActualPrimary.modulation | |
| 1334 | - ActualPrimary.upper B ActualPrimary.standardRegion β i | |
| 1335 | - have ha := (initializedAlias_unweighted B N0 β).map (ContinuousLinearMap.proj i) | |
| 1336 | - apply WaveInteractionBounds.class_congr ((hb.add hg).add ha) | |
| 1337 | - intro n x _ | |
| 1338 | - exact (congrArg (fun f => f n x i) (initialized_errors_formula B N0)).symm | |
| 1339 | - | |
| 1340 | 1081 | end TotalExcluded |
| 1341 | 1082 | |
| 1342 | 1083 | section ConstructedEndpoint |
| 1343 | 1084 | |
| 1344 | 1085 | open CorrectionInitialization ActualPrimaryBounds |
| 1345 | 1086 | |
| 1346 | -/-- All actual derivatives of the restored primary Gaussian field retain | |
| 1347 | -the flat edge weight, uniformly over the whole label family. -/ | |
| 1348 | -theorem gaussianField_all_gains (B N0 : ℕ) (β : ℝ) (i : Fin 3) : | |
| 1349 | - LabelSumBounds.UniformClass gaussianStrip (fun _ _ x => Real.sqrt (strip.zeta x.1)) β | |
| 1350 | - (fun l : SignedLabel B N0 => fun n x => gaussianField l n x i) := | |
| 1351 | - gaussianField_all_gains_of_carrier | |
| 1352 | - (ActualPhaseJetBounds.carrier_jets_cut (B := B) (N0 := N0)) β i | |
| 1353 | - | |
| 1354 | -theorem initialGaussian_all_gains (B N0 : ℕ) (β : ℝ) (i : Fin 3) : | |
| 1355 | - MemClass gaussianStrip (fun _ x => Real.sqrt (strip.zeta x.1)) β | |
| 1356 | - (fun n x => initialGaussian B N0 n x i) := | |
| 1357 | - initialGaussian_class_of_fields β i (gaussianField_all_gains B N0 β i) | |
| 1358 | - | |
| 1359 | -theorem initialGaussian_unweighted (B N0 : ℕ) (β : ℝ) (i : Fin 3) : | |
| 1360 | - UnweightedClass gaussianStrip β (fun n x => initialGaussian B N0 n x i) := | |
| 1361 | - initialGaussian_unweighted_of_fields β i (gaussianField_all_gains B N0 β i) | |
| 1362 | - | |
| 1363 | -/-- The actual full excluded error of the literal initialized state has | |
| 1364 | -every positive power (indeed every real power), on the whole angular and | |
| 1365 | -free auxiliary lift. There is no supplied output-bound premise. -/ | |
| 1366 | -theorem initializedErrors_all_gains (B N0 : ℕ) (β : ℝ) (i : Fin 3) : | |
| 1367 | - UnweightedClass gaussianStrip β | |
| 1368 | - (fun n x => (ActualInitialMean.initialized B N0).errors.total n x i) := | |
| 1369 | - initializedErrors_all_gains_of_gaussian B N0 β i (initialGaussian_unweighted B N0 β i) | |
| 1370 | - | |
| 1371 | -theorem initializedErrors_vector_all_gains (B N0 : ℕ) (β : ℝ) : | |
| 1372 | - UnweightedClass gaussianStrip β (ActualInitialMean.initialized B N0).errors.total := by | |
| 1373 | - have h0 := (initializedErrors_all_gains B N0 β 0).map | |
| 1374 | - (ContinuousLinearMap.single ℝ (fun _ : Fin 3 => ℝ) 0) | |
| 1375 | - have h1 := (initializedErrors_all_gains B N0 β 1).map | |
| 1376 | - (ContinuousLinearMap.single ℝ (fun _ : Fin 3 => ℝ) 1) | |
| 1377 | - have h2 := (initializedErrors_all_gains B N0 β 2).map | |
| 1378 | - (ContinuousLinearMap.single ℝ (fun _ : Fin 3 => ℝ) 2) | |
| 1379 | - apply WaveInteractionBounds.class_congr ((h0.add h1).add h2) | |
| 1380 | - intro n x _ | |
| 1381 | - ext i | |
| 1382 | - fin_cases i <;> simp | |
| 1383 | - | |
| 1384 | 1087 | end ConstructedEndpoint |
| 1385 | 1088 | |
| 1386 | 1089 | end NavierStokes.ActualInitialExcluded |
+0 −18 NavierStokes/ActualInitialMean.lean View file
| @@ -656,22 +656,4 @@ theorem initial_zeroMasses (B N0 : ℕ) : | ||
| 656 | 656 | GaugeMassPreservation.ZeroMassesOn ActualPrimary.standardRegion.carrier (initialized B N0) := |
| 657 | 657 | (initial_bounds B N0).2.2.2 |
| 658 | 658 | |
| 659 | -theorem initial_mean_smooth (B N0 : ℕ) : | |
| 660 | - MeanIncrementBounds.SmoothTriple (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) | |
| 661 | - (initialized B N0).mean := | |
| 662 | - (rank_bounds B N0).mean_smooth | |
| 663 | - | |
| 664 | -theorem initial_mean_support (B N0 : ℕ) : | |
| 665 | - CorrectionStep.GaugeSupportedTriple ActualPrimary.commonGauge.radial.inner ActualPrimary.commonGauge.radial.outer | |
| 666 | - (VariableGaugeMean.qLength (2 * ActualPrimary.h)) ActualPrimary.standardRegion.carrier | |
| 667 | - (initialized B N0).mean := | |
| 668 | - (rank_bounds B N0).mean_support | |
| 669 | - | |
| 670 | -theorem initialized_formula (B N0 : ℕ) : | |
| 671 | - initialized B N0 = GaugeInitialization.initializedBands ActualPrimary.commonGauge ActualPrimary.rankData | |
| 672 | - ActualPrimary.h (CommonWindow.index ActualPrimary.h) ((0, 1), 0) (ActualPrimary.commonContext B) | |
| 673 | - (ActualPrimary.activeLabels ActualPrimary.standardRegion B N0) | |
| 674 | - (fun l => ActualPrimary.piece ActualPrimary.standardRegion l.2 l.1) | |
| 675 | - (ActualBaseResidual.baseError ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B) := rfl | |
| 676 | - | |
| 677 | 659 | end NavierStokes.ActualInitialMean |
+0 −12 NavierStokes/ActualInitialMeanEquation.lean View file
| @@ -380,10 +380,6 @@ theorem seed_oscillation_divergence (B N0 n : ℕ) {x : Full} | ||
| 380 | 380 | (ActualPrimaryCoherence.positiveChart_open.mem_nhds (strip_time hx.1))).differentiableAt (by simp))] |
| 381 | 381 | exact Finset.sum_eq_zero (fun l _ => piece_divergence l n ⟨strip_radius hx.1, strip_time hx.1⟩) |
| 382 | 382 | |
| 383 | -theorem primary_oscillation (B N0 : ℕ) : | |
| 384 | - (ActualInitialCoherence.primary B N0).oscillation = | |
| 385 | - (ActualInitialCoherence.seed B N0).oscillation := rfl | |
| 386 | - | |
| 387 | 383 | theorem temporal_oscillation (B N0 : ℕ) : |
| 388 | 384 | (ActualInitialCoherence.temporal B N0).oscillation = |
| 389 | 385 | (ActualInitialCoherence.seed B N0).oscillation := by |
| @@ -627,12 +623,4 @@ theorem initialized_meanHypotheses (B N0 : ℕ) : | ||
| 627 | 623 | (initialized_angularData B N0) (fun n _ hx => base_divergence B n hx) |
| 628 | 624 | (fun n _ hx => initialized_fullDivergence B N0 n hx) |
| 629 | 625 | |
| 630 | -/-- Exact mean equation, with the same Gaussian and alias errors retained | |
| 631 | -by `initializedBands`. -/ | |
| 632 | -theorem initialized_angularMean_fullGoodResidual (B N0 n : ℕ) {x : Point} | |
| 633 | - (hx : x ∈ strip.domain) (i : Fin 3) : | |
| 634 | - angularMeanVector (fullGoodResidual (commonContext B) (ActualInitialCoherence.initialized B N0)) n x i = | |
| 635 | - (ActualInitialCoherence.initialized B N0).meanGoodResidual (commonContext B) n x i := | |
| 636 | - LiftedMeanResidual.angularMean_fullGoodResidual (initialized_meanHypotheses B N0) n hx i | |
| 637 | - | |
| 638 | 626 | end NavierStokes.ActualInitialMeanEquation |
+0 −193 NavierStokes/ActualInitialization.lean View file
| @@ -43,9 +43,6 @@ noncomputable def primaryBlock (l : Index B N0) : HarmonicBlock Point := | ||
| 43 | 43 | noncomputable def tangentBlock (l : Index B N0) : HarmonicBlock Point := |
| 44 | 44 | (primaryPiece l).tangentBlock (phase l) (angularMode l) |
| 45 | 45 | |
| 46 | -noncomputable def curlBlock (l : Index B N0) : HarmonicBlock Point := | |
| 47 | - (primaryPiece l).differenceBlock (phase l) (angularMode l) | |
| 48 | - | |
| 49 | 46 | noncomputable def gaussianBlock (l : Index B N0) : HarmonicBlock Point := |
| 50 | 47 | (primaryPiece l).excludedBlock (phase l) (angularMode l) |
| 51 | 48 | |
| @@ -101,26 +98,11 @@ theorem tangentBlock_represents (l : Index B N0) : | ||
| 101 | 98 | ((primaryPiece l).coefficients.withCutoff (primaryPiece l).cutoff) |
| 102 | 99 | (phase l) (angularMode l) (tangent_amplitude_angle l) (phase_split l) n x i |
| 103 | 100 | |
| 104 | -theorem curlBlock_represents (l : Index B N0) : | |
| 105 | - (curlBlock l).oscillation = (primaryPiece l).velocity - (primaryPiece l).tangentVelocity := | |
| 106 | - (primaryPiece l).differenceBlock_represents (phase l) (angularMode l) | |
| 107 | - (exact_amplitude_angle l) (tangent_amplitude_angle l) (phase_split l) | |
| 108 | - | |
| 109 | 101 | theorem gaussianBlock_represents (l : Index B N0) : |
| 110 | 102 | (gaussianBlock l).oscillation = (primaryPiece l).excluded := |
| 111 | 103 | (primaryPiece l).excludedBlock_represents (phase l) (angularMode l) |
| 112 | 104 | (cutoff_smooth l) (cutoff_angle l) (amplitude_angle l) (phase_split l) |
| 113 | 105 | |
| 114 | -theorem gaussian_mean_zero (l : Index B N0) : | |
| 115 | - CorrectionStep.angularMeanVector (primaryPiece l).excluded = 0 := | |
| 116 | - (primaryPiece l).excluded_mean_zero (phase l) (angularMode l) (angularMode_ne_zero l) | |
| 117 | - (cutoff_smooth l) (cutoff_angle l) (amplitude_angle l) (phase_split l) | |
| 118 | - | |
| 119 | -theorem gaussian_angularContinuous (l : Index B N0) : | |
| 120 | - CorrectionStep.AngularContinuous (primaryPiece l).excluded := | |
| 121 | - (primaryPiece l).excluded_angularContinuous (phase l) (angularMode l) | |
| 122 | - (cutoff_smooth l) (cutoff_angle l) (amplitude_angle l) (phase_split l) | |
| 123 | - | |
| 124 | 106 | theorem primaryBlock_band (l : Index B N0) : (primaryBlock l).BandLimited 1 := |
| 125 | 107 | PrimaryHarmonics.block_band _ _ _ |
| 126 | 108 | |
| @@ -187,11 +169,6 @@ noncomputable def initialCycleState (B N0 : ℕ) : CorrectionStep.CycleState (In | ||
| 187 | 169 | coefficients := coefficients B N0 |
| 188 | 170 | axisymmetricAlias := initialAlias B N0 |
| 189 | 171 | |
| 190 | -theorem initialState_eq_bands (B N0 : ℕ) : | |
| 191 | - initialState B N0 = GaugeInitialization.initializedBands ActualPrimary.commonGauge ActualPrimary.rankData | |
| 192 | - ActualPrimary.h (CommonWindow.index ActualPrimary.h) axial (ActualPrimary.commonContext B) | |
| 193 | - (coefficients B N0).labels primaryPiece (baseError B) := rfl | |
| 194 | - | |
| 195 | 172 | theorem initialState_error_components (B N0 : ℕ) : |
| 196 | 173 | (initialState B N0).errors.base = baseError B ∧ |
| 197 | 174 | (initialState B N0).errors.gaussian = |
| @@ -296,16 +273,6 @@ theorem initialResidualBlock_band (l : Index B N0) : (initialResidualBlock l).Ba | ||
| 296 | 273 | exact HarmonicResidual.residualBlock_band (ActualPrimary.commonContext B) (initialState B N0) |
| 297 | 274 | (primaryBlock l) (gaussianBlock l).velocity 0 (primaryBlock_band l) hG hA |
| 298 | 275 | |
| 299 | -theorem initialResidualBlock_zeroMode (l : Index B N0) : | |
| 300 | - HarmonicWaveInteraction.ZeroMode (initialResidualBlock l) := | |
| 301 | - HarmonicResidual.residualBlock_zero_mode (ActualPrimary.commonContext B) (initialState B N0) | |
| 302 | - (primaryBlock l) (gaussianBlock l).velocity 0 | |
| 303 | - | |
| 304 | -theorem initialResidualBlock_symmetric (l : Index B N0) (n : ℕ) (i : Fin 3) : | |
| 305 | - HarmonicFields.ConjugateSymmetric ((initialResidualBlock l).velocity n i) := | |
| 306 | - HarmonicResidual.residualBlock_conjugate (ActualPrimary.commonContext B) (initialState B N0) | |
| 307 | - (primaryBlock l) (gaussianBlock l).velocity 0 n i | |
| 308 | - | |
| 309 | 276 | end NavierStokes.ActualInitialization |
| 310 | 277 | |
| 311 | 278 | namespace NavierStokes.ActualInitialization |
| @@ -416,11 +383,6 @@ theorem radius_pos (B : ℕ) (x : Point) (hx : x ∈ strip.domain) : | ||
| 416 | 383 | theorem strip_time (x : Point) (hx : x ∈ strip.domain) : 0 < x.2.1.1 := |
| 417 | 384 | BaseContextAssembly.nativeStrip_time ActualPrimary.nominal ActualPrimary.standardRegion hx |
| 418 | 385 | |
| 419 | -theorem tangent_coefficients_uniform (B N0 : ℕ) (i : Fin 3) (j : ℤ) : | |
| 420 | - LabelSumBounds.UniformWaveClass strip envelope (1/2) | |
| 421 | - (fun l : Index B N0 => fun n x => (tangentBlock l).velocity n i j x) := | |
| 422 | - (ActualPrimaryBounds.tangent_block_uniform.1 i j).reindex Prod.swap | |
| 423 | - | |
| 424 | 386 | /-- The exact curl construction retains the same pressure coefficient. -/ |
| 425 | 387 | theorem pressure_coefficients_uniform (B N0 : ℕ) (j : ℤ) : |
| 426 | 388 | LabelSumBounds.UniformWaveClass strip envelope 1 |
| @@ -662,8 +624,6 @@ noncomputable def geometry : SignedMeanGain.Geometry where | ||
| 662 | 624 | time := (1, 0) |
| 663 | 625 | temporal := TorusInverse.vector .temporal |
| 664 | 626 | |
| 665 | -theorem geometry_strip : geometry.strip = strip := rfl | |
| 666 | -theorem geometry_slowStrip : geometry.slowStrip = slowStrip := rfl | |
| 667 | 627 | theorem geometry_operators (B : ℕ) : geometry.operators = (ActualPrimary.commonContext B).operators := rfl |
| 668 | 628 | |
| 669 | 629 | theorem initial_primitive (B N0 : ℕ) : |
| @@ -736,40 +696,6 @@ theorem exact_pressure_smooth_full {B N0 : ℕ} (l : Index B N0) (n : ℕ) : | ||
| 736 | 696 | ((ActualPrimaryBounds.chart_cut_pressure_uniform.each (l.2,l.1)).smooth n).mono |
| 737 | 697 | (fun _ hx => hx.1) |
| 738 | 698 | |
| 739 | -theorem initial_meanGood (B N0 n : ℕ) {x : Point} (hT : 0 < x.2.1.1) (i : Fin 3) : | |
| 740 | - (initialState B N0).meanGoodResidual (ActualPrimary.commonContext B) n x i = | |
| 741 | - (initialState B N0).reducedMeanResidual (ActualPrimary.commonContext B) n x i - | |
| 742 | - initialAlias B N0 n x i := | |
| 743 | - ActualInitialMean.initialized_meanGood B N0 n hT i | |
| 744 | - | |
| 745 | -theorem initialAlias_radial (B N0 n : ℕ) (x : Point) : | |
| 746 | - initialAlias B N0 n x 0 = VariableGaugeMean.pressureAliasState ActualPrimary.commonGauge | |
| 747 | - (ActualPrimary.commonContext B) (initialState B N0) n (x, 0) 0 := by | |
| 748 | - simp only [initialAlias, VariableGaugeMean.temporalAliasState, Matrix.cons_val_zero, zero_add] | |
| 749 | - rfl | |
| 750 | - | |
| 751 | -/-- The remaining radial mean is controlled by the actual measured pressure debt. -/ | |
| 752 | -theorem initial_radial_mean_class (B N0 : ℕ) {alpha : ℝ} | |
| 753 | - (hdebt : UnweightedClass slowStrip alpha | |
| 754 | - (pressureDefect (ActualPrimary.commonContext B) (initialState B N0))) : | |
| 755 | - MeanClass strip alpha (fun n x => | |
| 756 | - (initialState B N0).meanGoodResidual (ActualPrimary.commonContext B) n x 0) := by | |
| 757 | - have hr : GaugeRadialResidualBounds.RadialMatch geometry.region.carrier geometry.gauge | |
| 758 | - (ActualPrimary.commonContext B).operators := by | |
| 759 | - rw [← geometry_operators B] | |
| 760 | - exact GaugeRadialResidualBounds.RadialMatch.nativeOperators geometry.region.carrier | |
| 761 | - geometry.gauge geometry.epsilon geometry.fast geometry.axial geometry.time geometry.temporal | |
| 762 | - have hclass := GaugeRadialResidualBounds.radialMinusAlias_class geometry.region geometry.gauge | |
| 763 | - geometry.inner_pos geometry.exponent_pos geometry.left_pos geometry.right_pos | |
| 764 | - geometry.epsilon geometry.slow geometry.epsilon_pos geometry.epsilon_le_one geometry.slow_ge_one | |
| 765 | - geometry.length_eq (ActualPrimary.commonContext B) (initialState B N0) | |
| 766 | - (initial_primitive B N0) hr rfl hdebt | |
| 767 | - apply MeanIncrementBounds.class_congr hclass | |
| 768 | - intro n x hx | |
| 769 | - change (initialState B N0).meanGoodResidual (ActualPrimary.commonContext B) n x 0 = _ | |
| 770 | - rw [initial_meanGood B N0 n (strip_time x hx) 0, initialAlias_radial] | |
| 771 | - rfl | |
| 772 | - | |
| 773 | 699 | end NavierStokes.ActualInitialization |
| 774 | 700 | |
| 775 | 701 | namespace NavierStokes.ActualInitialization |
| @@ -790,33 +716,6 @@ theorem primary_coefficients_smooth {B N0 : ℕ} (l : Index B N0) (n : ℕ) (i : | ||
| 790 | 716 | exact (exact_amplitude_smooth_full l n i).comp |
| 791 | 717 | (HarmonicWaveInteraction.inclusion (D := Point)).contDiff.contDiffOn (fun _ hx => ⟨hx, trivial⟩) |
| 792 | 718 | |
| 793 | -theorem primary_pressure_smooth {B N0 : ℕ} (l : Index B N0) (n : ℕ) : | |
| 794 | - SmoothCoefficients strip.domain ((primaryBlock l).pressure n) := by | |
| 795 | - apply smooth_conjugatePair | |
| 796 | - exact (exact_pressure_smooth_full l n).comp | |
| 797 | - (HarmonicWaveInteraction.inclusion (D := Point)).contDiff.contDiffOn (fun _ hx => ⟨hx, trivial⟩) | |
| 798 | - | |
| 799 | -theorem gaussian_coefficients_smooth {B N0 : ℕ} (l : Index B N0) (n : ℕ) (i : Fin 3) : | |
| 800 | - SmoothCoefficients strip.domain ((gaussianBlock l).velocity n i) := by | |
| 801 | - have hm : MapsTo (ActualPrimaryCoherence.absoluteChart n) | |
| 802 | - (HarmonicResidual.liftDomain strip.domain) ActualPrimaryCoherence.positiveAbsolute := by | |
| 803 | - intro x hx | |
| 804 | - exact mul_pos (ChartScales.Q_pos n) (strip_time x.1 hx.1) | |
| 805 | - have he : LinearWaveBounds.excludedSlotError (primaryPiece l).directions (primaryPiece l).cutoff | |
| 806 | - (primaryPiece l).coefficients.amplitude 0 n = | |
| 807 | - fun x => ChartScales.Q n ^ (2 * CoordinateAlgebra.A ActualPrimary.h + 1/2) • | |
| 808 | - ActualPrimaryCoherence.absoluteGaussianCoefficient l.2 l.1 (ActualPrimaryCoherence.absoluteChart n x) := | |
| 809 | - funext (ActualPrimaryCoherence.gaussianCoefficient_representation ActualPrimary.standardRegion l.2 l.1 n) | |
| 810 | - have hs : ContDiffOn ℝ ∞ (LinearWaveBounds.excludedSlotError (primaryPiece l).directions | |
| 811 | - (primaryPiece l).cutoff (primaryPiece l).coefficients.amplitude 0 n) | |
| 812 | - (HarmonicResidual.liftDomain strip.domain) := by | |
| 813 | - rw [he] | |
| 814 | - exact ((ActualPrimaryCoherence.absoluteGaussianCoefficient_smooth l.2 l.1).comp | |
| 815 | - (ActualPrimaryCoherence.absoluteChart n).contDiff.contDiffOn hm).const_smul _ | |
| 816 | - apply smooth_conjugatePair | |
| 817 | - exact (contDiffOn_pi.mp hs i).comp | |
| 818 | - (HarmonicWaveInteraction.inclusion (D := Point)).contDiff.contDiffOn (fun _ hx => ⟨hx, trivial⟩) | |
| 819 | - | |
| 820 | 719 | /-- Harmonic solenoidality is extracted from the actual corrected curl. -/ |
| 821 | 720 | theorem primary_modeSolenoidal {B N0 : ℕ} (l : Index B N0) : |
| 822 | 721 | ModeSolenoidal strip (ActualPrimary.commonContext B) (primaryBlock l) := by |
| @@ -843,51 +742,6 @@ theorem primary_pressure_zero {B N0 : ℕ} (l : Index B N0) (n : ℕ) : | ||
| 843 | 742 | theorem primary_tangent_carrier {B N0 : ℕ} (l : Index B N0) : |
| 844 | 743 | CorrectionStep.SameCarrier (primaryBlock l) (tangentBlock l) := ⟨rfl, rfl, rfl⟩ |
| 845 | 744 | |
| 846 | -/-- All assumptions of local harmonic extraction follow from the actual | |
| 847 | -initial state and the proved support separation of its primary pieces. -/ | |
| 848 | -theorem initial_extraction_regular (B N0 n : ℕ) : | |
| 849 | - LocalResidualGrouping.ExtractionRegular strip.domain (ActualPrimary.commonContext B) | |
| 850 | - (initialState B N0) (coefficients B N0).labels (coefficients B N0).blocks | |
| 851 | - (coefficients B N0).gaussian (coefficients B N0).aliasCoefficients n := by | |
| 852 | - constructor | |
| 853 | - · exact contextFrame_regular (ActualPrimary.commonContext B) n contDiffOn_fst | |
| 854 | - (fun x hx => (radius_pos B x hx).ne') ((operators B).radialProfile.smooth n) | |
| 855 | - · intro i | |
| 856 | - fin_cases i | |
| 857 | - · exact Complex.ofRealCLM.contDiff.comp_contDiffOn ((base_bounds B).radial.smooth n) | |
| 858 | - · exact Complex.ofRealCLM.contDiff.comp_contDiffOn ((base_bounds B).angular.smooth n) | |
| 859 | - · exact Complex.ofRealCLM.contDiff.comp_contDiffOn ((base_bounds B).axial.smooth n) | |
| 860 | - · intro i | |
| 861 | - have hm := (initial_primitive B N0).mean | |
| 862 | - fin_cases i | |
| 863 | - · exact Complex.ofRealCLM.contDiff.comp_contDiffOn ((hm.radial.smooth n).mono geometry.strip_subset) | |
| 864 | - · exact Complex.ofRealCLM.contDiff.comp_contDiffOn ((hm.angular.smooth n).mono geometry.strip_subset) | |
| 865 | - · exact Complex.ofRealCLM.contDiff.comp_contDiffOn ((hm.axial.smooth n).mono geometry.strip_subset) | |
| 866 | - · exact (((initial_primitive B N0).pressure geometry.inner_pos geometry.exponent_pos | |
| 867 | - geometry.length_eq rfl).smooth n).mono geometry.strip_subset | |
| 868 | - · intro l hl | |
| 869 | - exact ⟨phase_smooth l n, fun i => (primary_coefficients_smooth l n i).realCoefficients, | |
| 870 | - (primary_pressure_smooth l n).realCoefficients⟩ | |
| 871 | - · intro l hl i | |
| 872 | - exact gaussian_coefficients_smooth l n i | |
| 873 | - · intro l hl i | |
| 874 | - exact smoothCoefficients_zero strip.domain | |
| 875 | - · intro l hl m hm hlm | |
| 876 | - change Disjoint (liftDomain strip.domain ∩ tsupport ((primaryBlock l).oscillation n)) | |
| 877 | - (liftDomain strip.domain ∩ tsupport ((primaryBlock m).oscillation n)) | |
| 878 | - rw [(primaryBlock_represents l).1, (primaryBlock_represents m).1, | |
| 879 | - LocalResidualGrouping.liftDomain_eq_preimage] | |
| 880 | - exact ActualPrimaryCovariance.velocity_tsupport_disjoint n hlm | |
| 881 | - · intro l hl | |
| 882 | - exact angularMode_ne_zero l n | |
| 883 | - | |
| 884 | -theorem initial_goodWave_grouped (B N0 n : ℕ) {x : Point × ℝ} | |
| 885 | - (hx : x.1 ∈ strip.domain) (i : Fin 3) : | |
| 886 | - CorrectionStep.fullGoodWaveResidual (ActualPrimary.commonContext B) (initialState B N0) n x i = | |
| 887 | - ∑ l ∈ (coefficients B N0).labels n, (initialResidualBlock l).oscillation n x i := | |
| 888 | - (initialCycleState_represents B N0).fullGoodWaveResidual_grouped_local strip.isOpen_domain | |
| 889 | - (initial_extraction_regular B N0 n) ⟨hx, trivial⟩ i | |
| 890 | - | |
| 891 | 745 | end NavierStokes.ActualInitialization |
| 892 | 746 | |
| 893 | 747 | namespace NavierStokes.ActualInitialization |
| @@ -1466,52 +1320,5 @@ theorem initial_invariant (B N0 : ℕ) : | ||
| 1466 | 1320 | axisFlat := initial_axis_flat B N0 |
| 1467 | 1321 | baseAngular := initial_base_angular B N0 |
| 1468 | 1322 | |
| 1469 | -/-- The radial component is included: all three actual good mean | |
| 1470 | -residuals have exponent six fifths. -/ | |
| 1471 | -theorem initial_mean_all_components (B N0 : ℕ) (i : Fin 3) : | |
| 1472 | - MeanClass strip (6/5) (fun n x => | |
| 1473 | - (initialState B N0).meanGoodResidual (ActualPrimary.commonContext B) n x i) := by | |
| 1474 | - have he : (1 + (1 : ℝ)/5) = 6/5 := by norm_num | |
| 1475 | - fin_cases i | |
| 1476 | - · apply initial_radial_mean_class | |
| 1477 | - simpa only [debt, Matrix.cons_val_zero, he] using initial_debt B N0 0 | |
| 1478 | - · have hc := (initial_mean B N0).angular | |
| 1479 | - simp only [he] at hc | |
| 1480 | - exact hc | |
| 1481 | - · have hc := (initial_mean B N0).axial | |
| 1482 | - simp only [he] at hc | |
| 1483 | - exact hc | |
| 1484 | - | |
| 1485 | -theorem initial_fullDivergence (B N0 n : ℕ) {x : Point × ℝ} (hx : x.1 ∈ strip.domain) : | |
| 1486 | - CorrectionStep.fullDivergence (ActualPrimary.commonContext B) (initialState B N0) n x = 0 := | |
| 1487 | - ActualInitialMeanEquation.initialized_fullDivergence B N0 n ⟨hx,trivial⟩ | |
| 1488 | - | |
| 1489 | -/-- Exact decomposition of the actual differentiated PDE, with both the | |
| 1490 | -mean and every stored excluded error retained. -/ | |
| 1491 | -theorem initial_fullResidual (B N0 n : ℕ) {x : Point × ℝ} (hx : x.1 ∈ strip.domain) (i : Fin 3) : | |
| 1492 | - CorrectionStep.fullResidual (ActualPrimary.commonContext B) (initialState B N0) n x i = | |
| 1493 | - (∑ l ∈ (coefficients B N0).labels n, (initialResidualBlock l).oscillation n x i) + | |
| 1494 | - (initialState B N0).meanGoodResidual (ActualPrimary.commonContext B) n x.1 i + | |
| 1495 | - (initialState B N0).errors.total n x i := by | |
| 1496 | - have he := congrArg (fun f : Oscillation Point => f n x i) | |
| 1497 | - (CorrectionStep.fullResidual_decomposition (ActualPrimary.commonContext B) (initialState B N0)) | |
| 1498 | - change CorrectionStep.fullResidual _ _ n x i = CorrectionStep.fullGoodWaveResidual _ _ n x i + | |
| 1499 | - CorrectionStep.angularMeanVector (CorrectionStep.fullGoodResidual _ _) n x.1 i + _ at he | |
| 1500 | - rw [initial_goodWave_grouped B N0 n hx i, | |
| 1501 | - CorrectionStep.angularMean_fullGoodResidual (initial_meanHypotheses B N0) n hx i] at he | |
| 1502 | - exact he | |
| 1503 | - | |
| 1504 | - | |
| 1505 | -/-- All derivatives of the complete stored excluded error satisfy estimates for every | |
| 1506 | -power on the full angular and auxiliary lift. -/ | |
| 1507 | -theorem initial_excluded_all_gains (B N0 : ℕ) (beta : ℝ) : | |
| 1508 | - UnweightedClass (HarmonicWaveInteraction.productStrip strip) beta | |
| 1509 | - (initialState B N0).errors.total := | |
| 1510 | - ActualInitialExcluded.initializedErrors_vector_all_gains B N0 beta | |
| 1511 | - | |
| 1512 | -theorem initial_excluded_component_all_gains (B N0 : ℕ) (beta : ℝ) (i : Fin 3) : | |
| 1513 | - UnweightedClass (HarmonicWaveInteraction.productStrip strip) beta | |
| 1514 | - (fun n x => (initialState B N0).errors.total n x i) := | |
| 1515 | - ActualInitialExcluded.initializedErrors_all_gains B N0 beta i | |
| 1516 | 1323 | |
| 1517 | 1324 | end NavierStokes.ActualInitialization |
+0 −228 NavierStokes/ActualIterationLedger.lean View file
| @@ -41,12 +41,6 @@ theorem sigma_succ (J : ℕ) : sigma (J + 1) = sigma J + 1 / 10 := | ||
| 41 | 41 | theorem sigma_admissible (J : ℕ) : 1 / 5 ≤ sigma J := |
| 42 | 42 | ExponentLedger.stage_parameter_admissible J |
| 43 | 43 | |
| 44 | -theorem sigma_strictMono : StrictMono sigma := by | |
| 45 | - intro j k hjk | |
| 46 | - have hk : (j : ℝ) < k := by exact_mod_cast hjk | |
| 47 | - simp only [sigma_formula] | |
| 48 | - linarith | |
| 49 | - | |
| 50 | 44 | @[simp] theorem inputSigma_succ (j : ℕ) : inputSigma (j + 1) = sigma j := by |
| 51 | 45 | simp [inputSigma] |
| 52 | 46 | |
| @@ -55,23 +49,8 @@ theorem inputSigma_formula {j : ℕ} (hj : 1 ≤ j) : | ||
| 55 | 49 | simp only [inputSigma, sigma_formula, Nat.cast_sub hj, Nat.cast_one] |
| 56 | 50 | ring |
| 57 | 51 | |
| 58 | -theorem inputSigma_index {j : ℕ} (hj : 1 ≤ j) : inputSigma j + 1 / 10 = sigma j := by | |
| 59 | - rw [inputSigma_formula hj, sigma_formula] | |
| 60 | - ring | |
| 61 | - | |
| 62 | -theorem inputSigma_admissible (j : ℕ) : 1 / 5 ≤ inputSigma j := sigma_admissible _ | |
| 63 | - | |
| 64 | 52 | @[simp] theorem gain_zero (h : ℝ) : gain h 0 = 0 := by simp [gain] |
| 65 | 53 | |
| 66 | -theorem gain_succ (h : ℝ) (j : ℕ) : gain h (j + 1) = gain h j + h / 10 := by | |
| 67 | - simp only [gain, Nat.cast_add, Nat.cast_one] | |
| 68 | - ring | |
| 69 | - | |
| 70 | -theorem gain_eq_accuracy (h : ℝ) (J : ℕ) : gain h J = h * (sigma J - 1 / 5) := by | |
| 71 | - rw [sigma_formula] | |
| 72 | - unfold gain | |
| 73 | - ring | |
| 74 | - | |
| 75 | 54 | theorem gain_nonneg {h : ℝ} (hh : 0 ≤ h) (j : ℕ) : 0 ≤ gain h j := by |
| 76 | 55 | unfold gain |
| 77 | 56 | positivity |
| @@ -86,12 +65,6 @@ theorem gain_monotone {h : ℝ} (hh : 0 ≤ h) : Monotone (gain h) := by | ||
| 86 | 65 | have hk : (j : ℝ) ≤ k := by exact_mod_cast hjk |
| 87 | 66 | exact div_le_div_of_nonneg_right (mul_le_mul_of_nonneg_left hk hh) (by norm_num) |
| 88 | 67 | |
| 89 | -theorem gain_strictMono {h : ℝ} (hh : 0 < h) : StrictMono (gain h) := by | |
| 90 | - intro j k hjk | |
| 91 | - have hk : (j : ℝ) < k := by exact_mod_cast hjk | |
| 92 | - exact (div_lt_div_iff_of_pos_right (by norm_num : (0 : ℝ) < 10)).mpr | |
| 93 | - (mul_lt_mul_of_pos_left hk hh) | |
| 94 | - | |
| 95 | 68 | theorem gain_add_tendsto_atTop {h : ℝ} (hh : 0 < h) (a : ℝ) : |
| 96 | 69 | Tendsto (fun j => gain h j + a) atTop atTop := by |
| 97 | 70 | apply Filter.tendsto_atTop.mpr |
| @@ -107,27 +80,6 @@ theorem gain_add_tendsto_atTop {h : ℝ} (hh : 0 < h) (a : ℝ) : | ||
| 107 | 80 | theorem gain_tendsto_atTop {h : ℝ} (hh : 0 < h) : Tendsto (gain h) atTop atTop := by |
| 108 | 81 | simpa only [add_zero] using gain_add_tendsto_atTop hh 0 |
| 109 | 82 | |
| 110 | -theorem sigma_tendsto_atTop : Tendsto sigma atTop atTop := by | |
| 111 | - have hs := gain_add_tendsto_atTop (by norm_num : (0 : ℝ) < 1) (1 / 5) | |
| 112 | - simp only [gain, one_mul, add_comm] at hs ⊢ | |
| 113 | - exact hs | |
| 114 | - | |
| 115 | -theorem kappa_admissible : 0 ≤ kappa ∧ kappa ≤ 1 / 100000 := by norm_num [kappa] | |
| 116 | - | |
| 117 | -theorem kappa_pos : 0 < kappa := by norm_num [kappa] | |
| 118 | - | |
| 119 | -theorem all_cycle_margins (n : ℕ) {κ : ℝ} (hκ : κ ≤ 1 / 100000) : | |
| 120 | - ExponentLedger.waveExponent (sigma (n + 1)) < | |
| 121 | - ExponentLedger.waveExponent (sigma n) + ExponentLedger.particularGain (sigma n) κ ∧ | |
| 122 | - ExponentLedger.waveExponent (sigma (n + 1)) < | |
| 123 | - ExponentLedger.waveExponent (sigma n) + ExponentLedger.signedGain (sigma n) κ ∧ | |
| 124 | - ExponentLedger.waveExponent (sigma (n + 1)) < ExponentLedger.meanUpdateExponent (sigma n) κ ∧ | |
| 125 | - ExponentLedger.meanExponent (sigma (n + 1)) < | |
| 126 | - ExponentLedger.meanExponent (sigma n) + min (17 / 100) (1 - 4 * κ) ∧ | |
| 127 | - ExponentLedger.meanExponent (sigma (n + 1)) < | |
| 128 | - ExponentLedger.meanExponent (sigma n) + 9 / 10 - 4 * κ := | |
| 129 | - ExponentLedger.all_stage_arithmetic n hκ | |
| 130 | - | |
| 131 | 83 | /-! ## The native increment exponents and their physical comparison -/ |
| 132 | 84 | |
| 133 | 85 | /-- Conservative class for the actual wave potential. The local inverse |
| @@ -140,8 +92,6 @@ noncomputable def wavePressureNative (κ : ℝ) (j : ℕ) : ℝ := waveNative κ | ||
| 140 | 92 | noncomputable def meanNative (κ : ℝ) (j : ℕ) : ℝ := |
| 141 | 93 | ExponentLedger.meanUpdateExponent (inputSigma j) κ |
| 142 | 94 | |
| 143 | -noncomputable def radialNative (κ : ℝ) (j : ℕ) : ℝ := meanNative κ j + 1 | |
| 144 | - | |
| 145 | 95 | theorem waveNative_formula (κ : ℝ) {j : ℕ} (hj : 1 ≤ j) : |
| 146 | 96 | waveNative κ j = (j : ℝ) / 10 + (3 / 5 - κ) := by |
| 147 | 97 | rw [waveNative, ExponentLedger.waveExponent, inputSigma_formula hj] |
| @@ -157,11 +107,6 @@ theorem meanNative_formula (κ : ℝ) {j : ℕ} (hj : 1 ≤ j) : | ||
| 157 | 107 | rw [meanNative, ExponentLedger.meanUpdateExponent, ExponentLedger.meanExponent, inputSigma_formula hj] |
| 158 | 108 | ring |
| 159 | 109 | |
| 160 | -theorem radialNative_formula (κ : ℝ) {j : ℕ} (hj : 1 ≤ j) : | |
| 161 | - radialNative κ j = (j : ℝ) / 10 + (21 / 10 - 2 * κ) := by | |
| 162 | - rw [radialNative, meanNative_formula κ hj] | |
| 163 | - ring | |
| 164 | - | |
| 165 | 110 | theorem wave_physical_gap (h κ : ℝ) {j : ℕ} (hj : 1 ≤ j) : |
| 166 | 111 | h * waveNative κ j = gain h j + h * (3 / 5 - κ) := by |
| 167 | 112 | rw [waveNative_formula κ hj] |
| @@ -195,12 +140,6 @@ theorem gain_le_mean {h κ : ℝ} (hh : 0 ≤ h) (hκ : κ ≤ 1 / 100000) {j : | ||
| 195 | 140 | rw [mean_physical_gap h κ hj] |
| 196 | 141 | exact le_add_of_nonneg_right (mul_nonneg hh (by linarith)) |
| 197 | 142 | |
| 198 | -theorem gain_le_radial {h κ : ℝ} (hh : 0 ≤ h) (hκ : κ ≤ 1 / 100000) {j : ℕ} (hj : 1 ≤ j) : | |
| 199 | - gain h j ≤ h * radialNative κ j := by | |
| 200 | - have he := gain_le_mean hh hκ hj | |
| 201 | - unfold radialNative | |
| 202 | - nlinarith | |
| 203 | - | |
| 204 | 143 | structure Offsets where |
| 205 | 144 | wavePotential : ℝ |
| 206 | 145 | meanStream : ℝ |
| @@ -208,112 +147,25 @@ structure Offsets where | ||
| 208 | 147 | wavePressure : ℝ |
| 209 | 148 | meanPressure : ℝ |
| 210 | 149 | |
| 211 | -/-- These five constants do not depend on an increment or derivative index. -/ | |
| 212 | -noncomputable def offsets (h : ℝ) : Offsets := | |
| 213 | - ⟨h, 0, 0, 2 * CoordinateAlgebra.A h, 0⟩ | |
| 214 | - | |
| 215 | -theorem fixed_offset_inequalities {h κ : ℝ} (hh : 0 ≤ h) (hκ : κ ≤ 1 / 100000) | |
| 216 | - {j : ℕ} (hj : 1 ≤ j) : | |
| 217 | - gain h j ≤ h * waveNative κ j + (-h) + (offsets h).wavePotential ∧ | |
| 218 | - gain h j ≤ h * meanNative κ j + (offsets h).meanStream ∧ | |
| 219 | - gain h j ≤ h * meanNative κ j + (offsets h).directAngular ∧ | |
| 220 | - gain h j ≤ h * wavePressureNative κ j + (-(2 * CoordinateAlgebra.A h)) + (offsets h).wavePressure ∧ | |
| 221 | - gain h j ≤ h * meanNative κ j + (offsets h).meanPressure := by | |
| 222 | - simpa only [offsets, add_assoc, neg_add_cancel, add_zero] using | |
| 223 | - And.intro (gain_le_wave hh hκ hj) (And.intro (gain_le_mean hh hκ hj) | |
| 224 | - (And.intro (gain_le_mean hh hκ hj) (And.intro (gain_le_wavePressure hh hκ hj) (gain_le_mean hh hκ hj)))) | |
| 225 | - | |
| 226 | 150 | /-! ## Residual indexing after a finite number of cycles -/ |
| 227 | 151 | |
| 228 | 152 | noncomputable def residualWave (J : ℕ) : ℝ := ExponentLedger.waveExponent (sigma J) |
| 229 | -noncomputable def residualMean (J : ℕ) : ℝ := ExponentLedger.meanExponent (sigma J) | |
| 230 | 153 | |
| 231 | 154 | theorem residualWave_formula (J : ℕ) : residualWave J = (J : ℝ) / 10 + 7 / 10 := by |
| 232 | 155 | rw [residualWave, ExponentLedger.waveExponent, sigma_formula] |
| 233 | 156 | ring |
| 234 | 157 | |
| 235 | -theorem residualMean_formula (J : ℕ) : residualMean J = (J : ℝ) / 10 + 6 / 5 := by | |
| 236 | - rw [residualMean, ExponentLedger.meanExponent, sigma_formula] | |
| 237 | - ring | |
| 238 | - | |
| 239 | -theorem cycle_wave_output (n : ℕ) : | |
| 240 | - ExponentLedger.waveExponent (sigma n) + 1 / 10 = residualWave (n + 1) := by | |
| 241 | - rw [residualWave, sigma_succ, ExponentLedger.wave_increment] | |
| 242 | - | |
| 243 | -theorem cycle_mean_output (n : ℕ) : | |
| 244 | - ExponentLedger.meanExponent (sigma n) + 1 / 10 = residualMean (n + 1) := by | |
| 245 | - rw [residualMean, sigma_succ, ExponentLedger.mean_increment] | |
| 246 | - | |
| 247 | -theorem residual_minimum (J : ℕ) : min (residualWave J) (residualMean J) = residualWave J := by | |
| 248 | - apply min_eq_left | |
| 249 | - rw [residualWave_formula, residualMean_formula] | |
| 250 | - linarith | |
| 251 | - | |
| 252 | 158 | theorem residual_physical_gap (h : ℝ) (J : ℕ) : |
| 253 | 159 | h * residualWave J = gain h J + 7 * h / 10 := by |
| 254 | 160 | rw [residualWave_formula] |
| 255 | 161 | unfold gain |
| 256 | 162 | ring |
| 257 | 163 | |
| 258 | -theorem residual_mean_physical_gap (h : ℝ) (J : ℕ) : | |
| 259 | - h * residualMean J = gain h J + 6 * h / 5 := by | |
| 260 | - rw [residualMean_formula] | |
| 261 | - unfold gain | |
| 262 | - ring | |
| 263 | - | |
| 264 | 164 | theorem gain_le_residualWave {h : ℝ} (hh : 0 ≤ h) (J : ℕ) : |
| 265 | 165 | gain h J ≤ h * residualWave J := by |
| 266 | 166 | rw [residual_physical_gap] |
| 267 | 167 | linarith |
| 268 | 168 | |
| 269 | -theorem gain_le_residualMean {h : ℝ} (hh : 0 ≤ h) (J : ℕ) : | |
| 270 | - gain h J ≤ h * residualMean J := by | |
| 271 | - rw [residual_mean_physical_gap] | |
| 272 | - linarith | |
| 273 | - | |
| 274 | -theorem gain_le_residualMinimum {h : ℝ} (hh : 0 ≤ h) (J : ℕ) : | |
| 275 | - gain h J ≤ h * min (residualWave J) (residualMean J) := by | |
| 276 | - rw [residual_minimum] | |
| 277 | - exact gain_le_residualWave hh J | |
| 278 | - | |
| 279 | -theorem gain_after_cycle {h : ℝ} (hh : 0 ≤ h) (n : ℕ) : | |
| 280 | - gain h (n + 1) ≤ h * (ExponentLedger.waveExponent (sigma n) + 1 / 10) := by | |
| 281 | - rw [cycle_wave_output] | |
| 282 | - exact gain_le_residualWave hh (n + 1) | |
| 283 | - | |
| 284 | -/-- The full-phase derivative cost is a fixed parameter `beta`, not a | |
| 285 | -stage-dependent loss. -/ | |
| 286 | -noncomputable def residualLoss (h beta : ℝ) (m : ℕ) : ℝ := | |
| 287 | - PhysicalGraphBounds.graphLoss m + 1 + (2 * CoordinateAlgebra.A h + 1 / 2) + beta * m | |
| 288 | - | |
| 289 | -noncomputable def residualRate (h beta : ℝ) (J m : ℕ) : ℝ := | |
| 290 | - h * residualWave J - residualLoss h beta m | |
| 291 | - | |
| 292 | -theorem residualRate_eq (h beta : ℝ) (J m : ℕ) : | |
| 293 | - residualRate h beta J m = gain h J + (7 * h / 10 - residualLoss h beta m) := by | |
| 294 | - rw [residualRate, residual_physical_gap] | |
| 295 | - ring | |
| 296 | - | |
| 297 | -theorem gain_le_residual_rate {h : ℝ} (hh : 0 ≤ h) (beta : ℝ) (J m : ℕ) : | |
| 298 | - gain h J - residualLoss h beta m ≤ residualRate h beta J m := by | |
| 299 | - rw [residualRate_eq] | |
| 300 | - linarith | |
| 301 | - | |
| 302 | -theorem residualRate_tendsto_atTop {h : ℝ} (hh : 0 < h) (beta : ℝ) (m : ℕ) : | |
| 303 | - Tendsto (fun J => residualRate h beta J m) atTop atTop := by | |
| 304 | - simpa only [residualRate_eq] using gain_add_tendsto_atTop hh (7 * h / 10 - residualLoss h beta m) | |
| 305 | - | |
| 306 | -theorem eventually_residualRate_ge {h : ℝ} (hh : 0 < h) (beta : ℝ) (m : ℕ) (a : ℝ) : | |
| 307 | - ∀ᶠ J in atTop, a ≤ residualRate h beta J m := | |
| 308 | - (residualRate_tendsto_atTop hh beta m).eventually (eventually_ge_atTop a) | |
| 309 | - | |
| 310 | -theorem residual_bound_with_gain {V : Type*} [NormedAddCommGroup V] | |
| 311 | - {h beta C q : ℝ} (hh : 0 ≤ h) (hC : 0 ≤ C) (hq : 0 < q) (hq1 : q ≤ 1) | |
| 312 | - (J m : ℕ) {v : V} (hv : ‖v‖ ≤ C * q ^ residualRate h beta J m) : | |
| 313 | - ‖v‖ ≤ C * q ^ (gain h J - residualLoss h beta m) := | |
| 314 | - hv.trans (mul_le_mul_of_nonneg_left | |
| 315 | - (Real.rpow_le_rpow_of_exponent_ge hq hq1 (gain_le_residual_rate hh beta J m)) hC) | |
| 316 | - | |
| 317 | 169 | /-! ## Binding the ledger to the actual physical-stage interface -/ |
| 318 | 170 | |
| 319 | 171 | section StageInputs |
| @@ -347,86 +199,6 @@ variable {WA : ℕ → WaveData h DA IA KA (Fin 3)} | ||
| 347 | 199 | {WP : ℕ → WaveData h DP IP KP Unit} |
| 348 | 200 | {MP : ℕ → MeanData h (2 * CoordinateAlgebra.A h)} |
| 349 | 201 | |
| 350 | -theorem StageMetadata.gain_inequalities (H : StageMetadata WA MA MB WP MP κ) | |
| 351 | - (hh : 0 ≤ h) (hκ : κ ≤ 1 / 100000) : | |
| 352 | - (∀ j, 1 ≤ j → gain h j ≤ h * (WA j).alpha + (WA j).shift + (offsets h).wavePotential) ∧ | |
| 353 | - (∀ j, 1 ≤ j → gain h j ≤ h * (MA j).alpha + (offsets h).meanStream) ∧ | |
| 354 | - (∀ j, 1 ≤ j → gain h j ≤ h * (MB j).alpha + (offsets h).directAngular) ∧ | |
| 355 | - (∀ j, 1 ≤ j → gain h j ≤ h * (WP j).alpha + (WP j).shift + (offsets h).wavePressure) ∧ | |
| 356 | - (∀ j, 1 ≤ j → gain h j ≤ h * (MP j).alpha + (offsets h).meanPressure) := by | |
| 357 | - refine ⟨?_, ?_, ?_, ?_, ?_⟩ | |
| 358 | - · intro j hj | |
| 359 | - have ha := mul_le_mul_of_nonneg_left (H.wavePotential j hj) hh | |
| 360 | - have hs := H.wavePotentialShift j hj | |
| 361 | - have hg := gain_le_wave hh hκ hj | |
| 362 | - dsimp only [offsets] | |
| 363 | - linarith | |
| 364 | - · intro j hj | |
| 365 | - have ha := mul_le_mul_of_nonneg_left (H.meanStream j hj) hh | |
| 366 | - simpa only [offsets, add_zero] using (gain_le_mean hh hκ hj).trans ha | |
| 367 | - · intro j hj | |
| 368 | - have ha := mul_le_mul_of_nonneg_left (H.directAngular j hj) hh | |
| 369 | - simpa only [offsets, add_zero] using (gain_le_mean hh hκ hj).trans ha | |
| 370 | - · intro j hj | |
| 371 | - have ha := mul_le_mul_of_nonneg_left (H.wavePressure j hj) hh | |
| 372 | - have hs := H.wavePressureShift j hj | |
| 373 | - have hg := gain_le_wavePressure hh hκ hj | |
| 374 | - dsimp only [offsets] | |
| 375 | - linarith | |
| 376 | - · intro j hj | |
| 377 | - have ha := mul_le_mul_of_nonneg_left (H.meanPressure j hj) hh | |
| 378 | - simpa only [offsets, add_zero] using (gain_le_mean hh hκ hj).trans ha | |
| 379 | - | |
| 380 | -/-- All five arithmetic premises of `derived_stage_inputs` are discharged | |
| 381 | -for the one explicit gain sequence. Analytic input data remain explicit. -/ | |
| 382 | -theorem StageMetadata.derived_stage_inputs (H : StageMetadata WA MA MB WP MP κ) | |
| 383 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hκ : 0 ≤ κ ∧ κ ≤ 1 / 100000) | |
| 384 | - (baseA : VelocityField) (baseP : PressureField) | |
| 385 | - (hbaseA : ContDiffOn ℝ ∞ baseA (CutStageEstimates.physicalSublevel h qbig)) | |
| 386 | - (hbaseP : ContDiffOn ℝ ∞ baseP (CutStageEstimates.physicalSublevel h qbig)) | |
| 387 | - (hqA : ∀ j, qbig ≤ ChartScales.Q (MA j).firstBand) | |
| 388 | - (hqB : ∀ j, qbig ≤ ChartScales.Q (MB j).firstBand) | |
| 389 | - (hqP : ∀ j, qbig ≤ ChartScales.Q (MP j).firstBand) : | |
| 390 | - ∃ CA CB CP : ℕ → ℕ → ℝ, | |
| 391 | - (∀ j, ContDiffOn ℝ ∞ (potentialStages baseA WA MA j) | |
| 392 | - (CutStageEstimates.physicalSublevel h qbig)) ∧ | |
| 393 | - (∀ j, ContDiffOn ℝ ∞ (directStages MB j) | |
| 394 | - (CutStageEstimates.physicalSublevel h qbig)) ∧ | |
| 395 | - (∀ j, ContDiffOn ℝ ∞ (pressureStages baseP WP MP j) | |
| 396 | - (CutStageEstimates.physicalSublevel h qbig)) ∧ | |
| 397 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) | |
| 398 | - (potentialStages baseA WA MA) (gain h) | |
| 399 | - (potentialLoss h (offsets h).wavePotential (offsets h).meanStream) CA (fun _ _ => 0) | |
| 400 | - (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) ∧ | |
| 401 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) | |
| 402 | - (directStages MB) (gain h) (directLoss h (offsets h).directAngular) CB (fun _ _ => 0) | |
| 403 | - (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) ∧ | |
| 404 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) | |
| 405 | - (pressureStages baseP WP MP) (gain h) | |
| 406 | - (pressureLoss h (offsets h).wavePressure (offsets h).meanPressure) CP (fun _ _ => 0) | |
| 407 | - (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) := by | |
| 408 | - obtain ⟨hWA, hMA, hMB, hWP, hMP⟩ := H.gain_inequalities hh.le hκ.2 | |
| 409 | - exact PhysicalStageBounds.derived_stage_inputs baseA baseP WA MA MB WP MP hh hh1 | |
| 410 | - hbaseA hbaseP hqA hqB hqP (gain h) (offsets h).wavePotential (offsets h).meanStream | |
| 411 | - (offsets h).directAngular (offsets h).wavePressure (offsets h).meanPressure | |
| 412 | - hWA hMA hMB hWP hMP | |
| 413 | - | |
| 414 | 202 | end StageInputs |
| 415 | 203 | |
| 416 | -/-- A single fixed κ, the explicit accuracy sequence, and the explicit | |
| 417 | -gain work simultaneously at every stage. No iteration is asserted here. -/ | |
| 418 | -theorem fixed_ledger {h : ℝ} (hh : 0 < h) : | |
| 419 | - (0 ≤ kappa ∧ kappa ≤ 1 / 100000) ∧ sigma 0 = 1 / 5 ∧ | |
| 420 | - (∀ n, sigma (n + 1) = sigma n + 1 / 10) ∧ gain h 0 = 0 ∧ | |
| 421 | - (∀ j, 1 ≤ j → 0 < gain h j) ∧ Monotone (gain h) ∧ Tendsto (gain h) atTop atTop ∧ | |
| 422 | - (∀ j, 1 ≤ j → | |
| 423 | - gain h j ≤ h * waveNative kappa j + (-h) + (offsets h).wavePotential ∧ | |
| 424 | - gain h j ≤ h * meanNative kappa j + (offsets h).meanStream ∧ | |
| 425 | - gain h j ≤ h * meanNative kappa j + (offsets h).directAngular ∧ | |
| 426 | - gain h j ≤ h * wavePressureNative kappa j + (-(2 * CoordinateAlgebra.A h)) + (offsets h).wavePressure ∧ | |
| 427 | - gain h j ≤ h * meanNative kappa j + (offsets h).meanPressure) := | |
| 428 | - ⟨kappa_admissible, sigma_zero, sigma_succ, gain_zero h, fun _ hj => gain_pos hh hj, | |
| 429 | - gain_monotone hh.le, gain_tendsto_atTop hh, | |
| 430 | - fun _ hj => fixed_offset_inequalities hh.le kappa_admissible.2 hj⟩ | |
| 431 | - | |
| 432 | 204 | end NavierStokes.ActualIterationLedger |
+0 −48 NavierStokes/ActualMeanExterior.lean View file
| @@ -92,20 +92,6 @@ theorem exterior_zero | ||
| 92 | 92 | have hg := exterior_zero_germs D Hm ht hq he |
| 93 | 93 | exact ⟨hg.1.eq_of_nhds, hg.2.eq_of_nhds⟩ |
| 94 | 94 | |
| 95 | -/-- The direct angular-field constructor used for both angular velocity and | |
| 96 | -stream potentials retains the same exact exterior zero. -/ | |
| 97 | -theorem actualAngularData_exterior | |
| 98 | - (D : CoherentFamily h degree N Δ standardRegion.carrier ℝ) | |
| 99 | - (Hm : GaugeMomentBalances.MovingField standardRegion commonGauge.radial.inner | |
| 100 | - commonGauge.radial.outer D.native) | |
| 101 | - (qbig : ℝ) (hbound : qbig ≤ ChartScales.Q N) | |
| 102 | - {w : SpaceTime} (ht : w ∈ preterminal) | |
| 103 | - (hq : physicalQ h w < qbig) (he : w ∉ ActualPolarCoverage.active) : | |
| 104 | - DirectAngularDiagonal.angularField | |
| 105 | - (ActualMeanStageData.actualAngularData D Hm qbig hbound).scalar w = 0 := by | |
| 106 | - rw [ActualMeanStageData.actualAngularData_field] | |
| 107 | - exact (exterior_zero D Hm ht (hq.le.trans hbound) he).2 | |
| 108 | - | |
| 109 | 95 | end Support |
| 110 | 96 | |
| 111 | 97 | /-! ## The same initialized fields -/ |
| @@ -128,16 +114,6 @@ theorem initialPressure_exterior : | ||
| 128 | 114 | (initialPressureFamily B N0 N).angularField w = 0 := |
| 129 | 115 | exterior_zero (initialPressureFamily B N0 N) (initial_pressure_moving B N0) ht hq he |
| 130 | 116 | |
| 131 | -theorem initialTemporal_exterior : | |
| 132 | - (initialTemporalFamily B N0 N).field w = 0 ∧ | |
| 133 | - (initialTemporalFamily B N0 N).angularField w = 0 := | |
| 134 | - exterior_zero (initialTemporalFamily B N0 N) (initialTemporal_moving B N0) ht hq he | |
| 135 | - | |
| 136 | -theorem initialRank_exterior : | |
| 137 | - (initialRankFamily B N0 N).field w = 0 ∧ | |
| 138 | - (initialRankFamily B N0 N).angularField w = 0 := | |
| 139 | - exterior_zero (initialRankFamily B N0 N) (initialRank_moving B N0) ht hq he | |
| 140 | - | |
| 141 | 117 | /-- The full initialized stream is the literal temporal-plus-rank stream. -/ |
| 142 | 118 | theorem initialStream_exterior : |
| 143 | 119 | (initialStreamFamily B N0 N).field w = 0 ∧ |
| @@ -166,18 +142,6 @@ private theorem seed_reconstructed : | ||
| 166 | 142 | |
| 167 | 143 | include ht hq he |
| 168 | 144 | |
| 169 | -theorem cycleAngular_exterior : | |
| 170 | - ((initialCycleData H).angularFamily j).field w = 0 ∧ | |
| 171 | - ((initialCycleData H).angularFamily j).angularField w = 0 := | |
| 172 | - exterior_zero ((initialCycleData H).angularFamily j) | |
| 173 | - ((initialCycleData H).primitives j).mean.angular ht hq he | |
| 174 | - | |
| 175 | -theorem cyclePressure_exterior : | |
| 176 | - ((initialCycleData H).pressureFamily j).field w = 0 ∧ | |
| 177 | - ((initialCycleData H).pressureFamily j).angularField w = 0 := | |
| 178 | - exterior_zero ((initialCycleData H).pressureFamily j) | |
| 179 | - ((initialCycleData H).pressure_moving seed_reconstructed j) ht hq he | |
| 180 | - | |
| 181 | 145 | theorem cycleAngularIncrement_exterior : |
| 182 | 146 | ((initialCycleData H).angularIncrementFamily j).field w = 0 ∧ |
| 183 | 147 | ((initialCycleData H).angularIncrementFamily j).angularField w = 0 := |
| @@ -190,18 +154,6 @@ theorem cyclePressureIncrement_exterior : | ||
| 190 | 154 | exterior_zero ((initialCycleData H).pressureIncrementFamily j) |
| 191 | 155 | ((initialCycleData H).pressureIncrement_moving seed_reconstructed j) ht hq he |
| 192 | 156 | |
| 193 | -theorem cycleTemporal_exterior : | |
| 194 | - ((initialCycleData H).temporalFamily j).field w = 0 ∧ | |
| 195 | - ((initialCycleData H).temporalFamily j).angularField w = 0 := | |
| 196 | - exterior_zero ((initialCycleData H).temporalFamily j) | |
| 197 | - ((initialCycleData H).temporal_moving j) ht hq he | |
| 198 | - | |
| 199 | -theorem cycleRank_exterior : | |
| 200 | - ((initialCycleData H).rankFamily j).field w = 0 ∧ | |
| 201 | - ((initialCycleData H).rankFamily j).angularField w = 0 := | |
| 202 | - exterior_zero ((initialCycleData H).rankFamily j) | |
| 203 | - ((initialCycleData H).rank_moving j) ht hq he | |
| 204 | - | |
| 205 | 157 | theorem cycleStream_exterior : |
| 206 | 158 | ((initialCycleData H).streamFamily j).field w = 0 ∧ |
| 207 | 159 | ((initialCycleData H).streamFamily j).angularField w = 0 := |
+0 −126 NavierStokes/ActualMeanPhysicalData.lean View file
| @@ -192,15 +192,9 @@ theorem Atlas.StateOverlap.pressure {h : ℝ} {N Δ : ℕ} {A : Atlas h N Δ} | ||
| 192 | 192 | intro n hn m hm k hk x hx |
| 193 | 193 | simpa only [velocityScale_square] using (H n hn m hm k hk).pressure x hx |
| 194 | 194 | |
| 195 | -noncomputable def Atlas.radialFamily {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | |
| 196 | - {U : Set Plane} {u : CorrectionState.State Point} (H : A.StateOverlap U u) := A.family H.radial | |
| 197 | - | |
| 198 | 195 | noncomputable def Atlas.angularFamily {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) |
| 199 | 196 | {U : Set Plane} {u : CorrectionState.State Point} (H : A.StateOverlap U u) := A.family H.angular |
| 200 | 197 | |
| 201 | -noncomputable def Atlas.axialFamily {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | |
| 202 | - {U : Set Plane} {u : CorrectionState.State Point} (H : A.StateOverlap U u) := A.family H.axial | |
| 203 | - | |
| 204 | 198 | noncomputable def Atlas.pressureFamily {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) |
| 205 | 199 | {U : Set Plane} {u : CorrectionState.State Point} (H : A.StateOverlap U u) := A.family H.pressure |
| 206 | 200 | |
| @@ -215,15 +209,9 @@ theorem initialized_overlap (B N0 N : ℕ) : | ||
| 215 | 209 | intro n hn m hm k hk |
| 216 | 210 | exact ActualInitialCoherence.initialized_on_overlap B N0 n m k hk |
| 217 | 211 | |
| 218 | -noncomputable def initialRadialFamily (B N0 N : ℕ) := | |
| 219 | - (initialAtlas N).radialFamily (initialized_overlap B N0 N) | |
| 220 | - | |
| 221 | 212 | noncomputable def initialAngularFamily (B N0 N : ℕ) := |
| 222 | 213 | (initialAtlas N).angularFamily (initialized_overlap B N0 N) |
| 223 | 214 | |
| 224 | -noncomputable def initialAxialFamily (B N0 N : ℕ) := | |
| 225 | - (initialAtlas N).axialFamily (initialized_overlap B N0 N) | |
| 226 | - | |
| 227 | 215 | noncomputable def initialPressureFamily (B N0 N : ℕ) := |
| 228 | 216 | (initialAtlas N).pressureFamily (initialized_overlap B N0 N) |
| 229 | 217 | |
| @@ -266,46 +254,18 @@ theorem initial_nativeJets_of_class {α : ℝ} {f : Scalar} | ||
| 266 | 254 | intro n hn |
| 267 | 255 | simpa only [one_mul, pow_one] using slowScale_le_S (hN.trans hn) |
| 268 | 256 | |
| 269 | -theorem initialRadial_nativeJets (B N0 N : ℕ) (hN : 1 ≤ N) : | |
| 270 | - PhysicalMeanJetBounds.NativeJets N standardRegion.carrier (h * (19 / 10)) | |
| 271 | - (initialRadialFamily B N0 N).native := | |
| 272 | - initial_nativeJets_of_class (initial_mean_moving B N0).radial | |
| 273 | - (ActualInitialMean.initial_cumulative_bounds B N0).velocity.radial N hN | |
| 274 | - | |
| 275 | 257 | theorem initialAngular_nativeJets (B N0 N : ℕ) (hN : 1 ≤ N) : |
| 276 | 258 | PhysicalMeanJetBounds.NativeJets N standardRegion.carrier (h * (9 / 10)) |
| 277 | 259 | (initialAngularFamily B N0 N).native := |
| 278 | 260 | initial_nativeJets_of_class (initial_mean_moving B N0).angular |
| 279 | 261 | (ActualInitialMean.initial_cumulative_bounds B N0).velocity.angular N hN |
| 280 | 262 | |
| 281 | -theorem initialAxial_nativeJets (B N0 N : ℕ) (hN : 1 ≤ N) : | |
| 282 | - PhysicalMeanJetBounds.NativeJets N standardRegion.carrier (h * (9 / 10)) | |
| 283 | - (initialAxialFamily B N0 N).native := | |
| 284 | - initial_nativeJets_of_class (initial_mean_moving B N0).axial | |
| 285 | - (ActualInitialMean.initial_cumulative_bounds B N0).velocity.axial N hN | |
| 286 | - | |
| 287 | 263 | theorem initialPressure_nativeJets (B N0 N : ℕ) (hN : 1 ≤ N) : |
| 288 | 264 | PhysicalMeanJetBounds.NativeJets N standardRegion.carrier (h * (9 / 10)) |
| 289 | 265 | (initialPressureFamily B N0 N).native := |
| 290 | 266 | initial_nativeJets_of_class (initial_pressure_moving B N0) |
| 291 | 267 | (ActualInitialMean.initial_cumulative_bounds B N0).pressure N hN |
| 292 | 268 | |
| 293 | -theorem initialAngular_field_eq (B N0 N n : ℕ) (hn : N ≤ n) {w : SpaceTime} | |
| 294 | - (ht : w ∈ PhysicalWaveSum.preterminal) | |
| 295 | - (hu : (PhysicalMeanJetBounds.graph h n ((initialAtlas N).gap n) w).2.1 ∈ standardRegion.carrier) : | |
| 296 | - (initialAngularFamily B N0 N).field w = ChartScales.Q n ^ (-CoordinateAlgebra.A h) * | |
| 297 | - (ActualInitialCoherence.initialized B N0).mean.angular n | |
| 298 | - (PhysicalMeanJetBounds.graph h n ((initialAtlas N).gap n) w) := | |
| 299 | - (initialAngularFamily B N0 N).field_eq n hn ht hu | |
| 300 | - | |
| 301 | -theorem initialPressure_field_eq (B N0 N n : ℕ) (hn : N ≤ n) {w : SpaceTime} | |
| 302 | - (ht : w ∈ PhysicalWaveSum.preterminal) | |
| 303 | - (hu : (PhysicalMeanJetBounds.graph h n ((initialAtlas N).gap n) w).2.1 ∈ standardRegion.carrier) : | |
| 304 | - (initialPressureFamily B N0 N).field w = ChartScales.Q n ^ (-(2 * CoordinateAlgebra.A h)) * | |
| 305 | - (ActualInitialCoherence.initialized B N0).pressure n | |
| 306 | - (PhysicalMeanJetBounds.graph h n ((initialAtlas N).gap n) w) := | |
| 307 | - (initialPressureFamily B N0 N).field_eq n hn ht hu | |
| 308 | - | |
| 309 | 269 | /-! ## Scalar stream overlap from the actual primitive operators -/ |
| 310 | 270 | |
| 311 | 271 | def Atlas.ContextOverlap {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) |
| @@ -663,10 +623,6 @@ theorem stage_transport (j : ℕ) (n : ℕ) (hn : N ≤ n) (m : ℕ) (hm : N ≤ | ||
| 663 | 623 | · exact D.rank_geometry j |
| 664 | 624 | · exact D.waves n hn m hm k hk j |
| 665 | 625 | |
| 666 | -noncomputable def radialFamily (j : ℕ) := D.atlas.radialFamily (D.state_overlap j) | |
| 667 | -noncomputable def angularFamily (j : ℕ) := D.atlas.angularFamily (D.state_overlap j) | |
| 668 | -noncomputable def axialFamily (j : ℕ) := D.atlas.axialFamily (D.state_overlap j) | |
| 669 | -noncomputable def pressureFamily (j : ℕ) := D.atlas.pressureFamily (D.state_overlap j) | |
| 670 | 626 | |
| 671 | 627 | noncomputable def temporalScalar (_D : CycleData G N Δ p c seed U) (j : ℕ) : Scalar := |
| 672 | 628 | VariableGaugeMean.temporalPotential (p j).gauge (p j).timeExponent (p j).commonIndex c |
| @@ -847,15 +803,6 @@ theorem Atlas.physical_add {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | ||
| 847 | 803 | · simp only [Atlas.physical, dite_eq_left hz, Pi.add_apply, mul_add] |
| 848 | 804 | · simp only [Atlas.physical, dite_eq_right hz, Pi.add_apply, zero_add] |
| 849 | 805 | |
| 850 | -theorem Atlas.physical_sub {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | |
| 851 | - (U : Set Plane) (d : ℝ) (f g : Scalar) : | |
| 852 | - A.physical U d (f - g) = A.physical U d f - A.physical U d g := by | |
| 853 | - classical | |
| 854 | - funext z | |
| 855 | - by_cases hz : ∃ n, A.Valid U z n | |
| 856 | - · simp only [Atlas.physical, dite_eq_left hz, Pi.sub_apply, mul_sub] | |
| 857 | - · simp only [Atlas.physical, dite_eq_right hz, Pi.sub_apply, sub_self] | |
| 858 | - | |
| 859 | 806 | noncomputable def initialStreamFamily (B N0 N : ℕ) := |
| 860 | 807 | (initialAtlas N).family ((initialTemporal_overlap B N0 N).add (initialRank_overlap B N0 N)) |
| 861 | 808 | |
| @@ -864,12 +811,6 @@ theorem initialStream_moving (B N0 : ℕ) : | ||
| 864 | 811 | (initialTemporalScalar B N0 + initialRankScalar B N0) := |
| 865 | 812 | MeanStateRegularity.MovingField.add (initialTemporal_moving B N0) (initialRank_moving B N0) |
| 866 | 813 | |
| 867 | -theorem initialStream_nativeJets (B N0 N : ℕ) (hN : 1 ≤ N) : | |
| 868 | - PhysicalMeanJetBounds.NativeJets N standardRegion.carrier (h * (1 - ChartScales.kappa)) | |
| 869 | - (initialStreamFamily B N0 N).native := | |
| 870 | - initial_nativeJets_of_class (initialStream_moving B N0) | |
| 871 | - ((initialTemporal_class B N0).add (initialRank_class B N0)) N hN | |
| 872 | - | |
| 873 | 814 | namespace CycleData |
| 874 | 815 | |
| 875 | 816 | variable {ι : Type} {G : CycleStateCoherence.Geometry} {N Δ : ℕ} |
| @@ -898,10 +839,6 @@ theorem angularIncrement_native (j : ℕ) : | ||
| 898 | 839 | change (_ + _) + _ - _ = _ |
| 899 | 840 | abel |
| 900 | 841 | |
| 901 | -theorem pressureIncrement_native (j : ℕ) : | |
| 902 | - (D.pressureIncrementFamily j).native = (CycleState.iterate p c seed (j+1)).state.pressure - | |
| 903 | - (CycleState.iterate p c seed j).state.pressure := rfl | |
| 904 | - | |
| 905 | 842 | theorem angularIncrement_moving (j : ℕ) : |
| 906 | 843 | GaugeMomentBalances.MovingField U G.inner G.outer (D.angularIncrementFamily j).native := |
| 907 | 844 | MeanStateRegularity.MovingField.sub (D.primitives (j+1)).mean.angular (D.primitives j).mean.angular |
| @@ -925,25 +862,6 @@ section RunJets | ||
| 925 | 862 | variable {B N0 N : ℕ} {p : ℕ → CycleParameters (ActualInitialization.Index B N0)} |
| 926 | 863 | (H : InitialCycleInput B N0 N p) |
| 927 | 864 | |
| 928 | -theorem cycleAngular_nativeJets (j : ℕ) (hN : 1 ≤ N) | |
| 929 | - (HC : CorrectionState.CumulativeBounds ActualInitialMean.strip | |
| 930 | - (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) j).state) : | |
| 931 | - PhysicalMeanJetBounds.NativeJets N standardRegion.carrier (h * (9 / 10)) | |
| 932 | - ((initialCycleData H).angularFamily j).native := | |
| 933 | - initial_nativeJets_of_class ((initialCycleData H).primitives j).mean.angular HC.velocity.angular N hN | |
| 934 | - | |
| 935 | -theorem cyclePressure_nativeJets (j : ℕ) (hN : 1 ≤ N) | |
| 936 | - (HC : CorrectionState.CumulativeBounds ActualInitialMean.strip | |
| 937 | - (CycleState.iterate p (commonContext B) (ActualInitialization.initialCycleState B N0) j).state) : | |
| 938 | - PhysicalMeanJetBounds.NativeJets N standardRegion.carrier (h * (9 / 10)) | |
| 939 | - ((initialCycleData H).pressureFamily j).native := by | |
| 940 | - have hs : (VariableGaugeMean.reconstructState initialGeometry.gauge (commonContext B) | |
| 941 | - (ActualInitialization.initialCycleState B N0).state).pressure = | |
| 942 | - (ActualInitialization.initialCycleState B N0).state.pressure := by | |
| 943 | - rw [initialGeometry_gauge] | |
| 944 | - rfl | |
| 945 | - exact initial_nativeJets_of_class ((initialCycleData H).pressure_moving hs j) HC.pressure N hN | |
| 946 | - | |
| 947 | 865 | theorem angularIncrement_nativeJets (j : ℕ) (hN : 1 ≤ N) {α : ℝ} |
| 948 | 866 | (HT : MeanIncrementBounds.IncrementBounds ActualInitialMean.strip α |
| 949 | 867 | ((p j).temporalIncrement |
| @@ -993,28 +911,6 @@ theorem Atlas.field_on_chart {h d : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | ||
| 993 | 911 | change ChartScales.Q n ^ (-d) * f n (PhysicalMeanJetBounds.graph h n (A.gap n) w) = _ |
| 994 | 912 | rw [hc] |
| 995 | 913 | |
| 996 | -theorem Atlas.stream_curl {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | |
| 997 | - {U : Set Plane} (hU : IsOpen U) {f : Scalar} | |
| 998 | - (H : A.OverlapLaw U (CoordinateAlgebra.A h - 1 / 2) f) | |
| 999 | - (hf : ∀ n ≥ N, ContDiffOn ℝ ∞ (f n) (PhysicalMeanDomain.slowDomain U)) | |
| 1000 | - {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) (n : ℕ) (hn : N ≤ n) | |
| 1001 | - {w : SpaceTime} (ht : w ∈ PhysicalWaveSum.preterminal) | |
| 1002 | - (hu : (PhysicalMeanJetBounds.graph h n (A.gap n) w).2.1 ∈ U) | |
| 1003 | - (hw : w ∈ ActualMeanPotentialRealization.cartesianDomain a j) : | |
| 1004 | - SpatialCurl.spatialCurl (A.family H).angularField w = | |
| 1005 | - let G := PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (A.index n) | |
| 1006 | - CyclePhysicalPrefixes.polarVelocityMap a j | |
| 1007 | - (CyclePhysicalPrefixes.velocityMap G (ActualMeanPotentialRealization.meridional G (f n))) w := by | |
| 1008 | - have hc := ActualMeanPotentialRealization.coherent_angularField_curl ha j (A.family H) | |
| 1009 | - hU n hn ht hu hw ((hf n hn).contDiffAt ((PhysicalMeanDomain.slowDomain_open hU).mem_nhds hu)) | |
| 1010 | - change SpatialCurl.spatialCurl (A.family H).angularField w = | |
| 1011 | - CyclePhysicalPrefixes.polarVelocityMap a j (CyclePhysicalPrefixes.velocityMap | |
| 1012 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (ChartScales.nativeIndex h n - A.gap n)) | |
| 1013 | - (ActualMeanPotentialRealization.meridional | |
| 1014 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (ChartScales.nativeIndex h n - A.gap n)) | |
| 1015 | - (f n))) w at hc | |
| 1016 | - simpa only [A.index_eq hn] using hc | |
| 1017 | - | |
| 1018 | 914 | theorem Atlas.angular_field {h : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) |
| 1019 | 915 | {U : Set Plane} {f : Scalar} (H : A.OverlapLaw U (CoordinateAlgebra.A h) f) |
| 1020 | 916 | {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) (n : ℕ) (hn : N ≤ n) |
| @@ -1071,19 +967,6 @@ theorem Atlas.family_add_angular {h d : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | ||
| 1071 | 967 | simp only [PhysicalMeanJetBounds.CoherentFamily.angularField, A.family_add_field Hf Hg, |
| 1072 | 968 | Pi.add_apply, add_smul] |
| 1073 | 969 | |
| 1074 | -theorem Atlas.family_sub_field {h d : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | |
| 1075 | - {U : Set Plane} {f g : Scalar} (Hf : A.OverlapLaw U d f) (Hg : A.OverlapLaw U d g) : | |
| 1076 | - (A.family (Hf.sub Hg)).field = (A.family Hf).field - (A.family Hg).field := by | |
| 1077 | - funext w | |
| 1078 | - exact congrFun (A.physical_sub U d f g) (PhysicalMeanJetBounds.physicalPoint h w) | |
| 1079 | - | |
| 1080 | -theorem Atlas.family_sub_angular {h d : ℝ} {N Δ : ℕ} (A : Atlas h N Δ) | |
| 1081 | - {U : Set Plane} {f g : Scalar} (Hf : A.OverlapLaw U d f) (Hg : A.OverlapLaw U d g) : | |
| 1082 | - (A.family (Hf.sub Hg)).angularField = (A.family Hf).angularField - (A.family Hg).angularField := by | |
| 1083 | - funext w | |
| 1084 | - simp only [PhysicalMeanJetBounds.CoherentFamily.angularField, A.family_sub_field Hf Hg, | |
| 1085 | - Pi.sub_apply, sub_smul] | |
| 1086 | - | |
| 1087 | 970 | theorem initialStream_angularField (B N0 N : ℕ) : |
| 1088 | 971 | (initialStreamFamily B N0 N).angularField = |
| 1089 | 972 | (initialTemporalFamily B N0 N).angularField + (initialRankFamily B N0 N).angularField := |
| @@ -1099,15 +982,6 @@ theorem stream_angularField (j : ℕ) : | ||
| 1099 | 982 | (D.streamFamily j).angularField = (D.temporalFamily j).angularField + (D.rankFamily j).angularField := |
| 1100 | 983 | D.atlas.family_add_angular (D.temporalScalar_overlap j) (D.rankScalar_overlap j) |
| 1101 | 984 | |
| 1102 | -theorem angularIncrement_angularField (j : ℕ) : | |
| 1103 | - (D.angularIncrementFamily j).angularField = | |
| 1104 | - (D.angularFamily (j+1)).angularField - (D.angularFamily j).angularField := | |
| 1105 | - D.atlas.family_sub_angular (D.state_overlap (j+1)).angular (D.state_overlap j).angular | |
| 1106 | - | |
| 1107 | -theorem pressureIncrement_field (j : ℕ) : | |
| 1108 | - (D.pressureIncrementFamily j).field = (D.pressureFamily (j+1)).field - (D.pressureFamily j).field := | |
| 1109 | - D.atlas.family_sub_field (D.state_overlap (j+1)).pressure (D.state_overlap j).pressure | |
| 1110 | - | |
| 1111 | 985 | end CycleData |
| 1112 | 986 | |
| 1113 | 987 | /-! ## Actual temporal-source and measured-debt class inputs -/ |
+0 −223 NavierStokes/ActualMeanPotentialRealization.lean View file
| @@ -290,31 +290,6 @@ theorem meridional_rank (g : VariableGaugeMean.GaugeData (ℝ × ℝ)) (r : Corr | ||
| 290 | 290 | fin_cases i <;> simp [meridional, CyclePhysicalPrefixes.meridionalComponents, |
| 291 | 291 | VariableGaugeMean.rankIncrementState, H.epsilon, H.exponent, H.frequency, H.radialVector] |
| 292 | 292 | |
| 293 | -theorem temporalPotential_curl {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) | |
| 294 | - (g : VariableGaugeMean.GaugeData (ℝ × ℝ)) (h : ℝ) (index : ℕ → ℕ) | |
| 295 | - (c : CorrectionState.Context Point) (u : CorrectionState.State Point) | |
| 296 | - (G : ScaledGraph) (hl : 0 < G.radialScale) (n : ℕ) (H : GaugeMatches g c G n) | |
| 297 | - {w : SpaceTime} (hw : w ∈ cartesianDomain a j) | |
| 298 | - (hΨ : ContDiffAt ℝ ∞ (VariableGaugeMean.temporalPotential g h index c u n) | |
| 299 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) : | |
| 300 | - SpatialCurl.spatialCurl (cartesianPotential a j G (VariableGaugeMean.temporalPotential g h index c u n)) w = | |
| 301 | - CyclePhysicalPrefixes.polarVelocityMap a j (CyclePhysicalPrefixes.velocityMap G | |
| 302 | - (CyclePhysicalPrefixes.meridionalComponents | |
| 303 | - (VariableGaugeMean.temporalIncrementState g h index axial c u) n)) w := by | |
| 304 | - rw [cartesianPotential_curl ha j G hl hw hΨ, meridional_temporal g h index c u G n H] | |
| 305 | - | |
| 306 | -theorem rankPotential_curl {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) | |
| 307 | - (g : VariableGaugeMean.GaugeData (ℝ × ℝ)) (r : CorrectionState.RankData (ℝ × ℝ)) | |
| 308 | - (c : CorrectionState.Context Point) (u : CorrectionState.State Point) | |
| 309 | - (G : ScaledGraph) (hl : 0 < G.radialScale) (n : ℕ) (H : GaugeMatches g c G n) | |
| 310 | - {w : SpaceTime} (hw : w ∈ cartesianDomain a j) | |
| 311 | - (hΨ : ContDiffAt ℝ ∞ (VariableGaugeMean.rankPotential g r c u n) | |
| 312 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) : | |
| 313 | - SpatialCurl.spatialCurl (cartesianPotential a j G (VariableGaugeMean.rankPotential g r c u n)) w = | |
| 314 | - CyclePhysicalPrefixes.polarVelocityMap a j (CyclePhysicalPrefixes.velocityMap G | |
| 315 | - (CyclePhysicalPrefixes.meridionalComponents (VariableGaugeMean.rankIncrementState g r axial c u) n)) w := by | |
| 316 | - rw [cartesianPotential_curl ha j G hl hw hΨ, meridional_rank g r c u G n H] | |
| 317 | - | |
| 318 | 293 | /-! ## Identification with the coherent physical mean potential -/ |
| 319 | 294 | |
| 320 | 295 | theorem projection_forward (z : SpaceTime) : |
| @@ -424,50 +399,6 @@ theorem coherent_angularField_germ {a h : ℝ} (ha : 0 < a) (j : PolarCharts.Ind | ||
| 424 | 399 | filter_upwards [(cartesianDomain_open a j).mem_nhds hw] with z hz |
| 425 | 400 | exact bandAngularField_eq_cartesianPotential ha j h n (D.gap n) (D.gap_native n hn) (D.native n) hz |
| 426 | 401 | |
| 427 | -/-- This is a curl identity for the coherent physical field itself, obtained | |
| 428 | -from its proved value coherence and the actual Cartesian derivative. -/ | |
| 429 | -theorem coherent_angularField_curl {a h : ℝ} (ha : 0 < a) (j : PolarCharts.Index) | |
| 430 | - {N Δ : ℕ} {U : Set (ℝ × ℝ)} | |
| 431 | - (D : PhysicalMeanJetBounds.CoherentFamily h (CoordinateAlgebra.A h - 1 / 2) N Δ U ℝ) | |
| 432 | - (hU : IsOpen U) (n : ℕ) (hn : N ≤ n) {w : SpaceTime} | |
| 433 | - (ht : w ∈ PhysicalWaveSum.preterminal) (hu : (PhysicalMeanJetBounds.graph h n (D.gap n) w).2.1 ∈ U) | |
| 434 | - (hw : w ∈ cartesianDomain a j) | |
| 435 | - (hΨ : ContDiffAt ℝ ∞ (D.native n) (PhysicalMeanJetBounds.graph h n (D.gap n) w)) : | |
| 436 | - SpatialCurl.spatialCurl D.angularField w = | |
| 437 | - let G := PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (ChartScales.nativeIndex h n - D.gap n) | |
| 438 | - CyclePhysicalPrefixes.polarVelocityMap a j (CyclePhysicalPrefixes.velocityMap G (meridional G (D.native n))) w := by | |
| 439 | - rw [PhysicalCurlCovariance.spatialCurl_congr (coherent_angularField_germ ha j D hU n hn ht hu hw)] | |
| 440 | - apply cartesianPotential_curl ha j _ (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _) hw | |
| 441 | - rwa [chartPoint_eq_graph ha j h n (D.gap n) (D.gap_native n hn) hw] | |
| 442 | - | |
| 443 | -/-- For the reconstructed mean stream, smoothness of the scalar potential is | |
| 444 | -proved from the supported axial source. No curl identity or smoothness of the | |
| 445 | -output is an input. The radial exponent and frequency are the physical ones. -/ | |
| 446 | -theorem reconstructStream_curl {a b h ρ : ℝ} (hρ : 0 < ρ) (j : PolarCharts.Index) | |
| 447 | - (U : LocalSignedRequest.SlowRegion (2 * h)) {N Δ : ℕ} | |
| 448 | - (D : PhysicalMeanJetBounds.CoherentFamily h (CoordinateAlgebra.A h) N Δ U.carrier ℝ) | |
| 449 | - (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hab : a < b) | |
| 450 | - (hf : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U.carrier)) | |
| 451 | - (hs : PhysicalMeanJetBounds.NativeSupport h a b N U.carrier D.native) | |
| 452 | - (n : ℕ) (hn : N ≤ n) {w : SpaceTime} | |
| 453 | - (ht : w ∈ PhysicalWaveSum.preterminal) | |
| 454 | - (hu : (PhysicalMeanJetBounds.graph h n (D.gap n) w).2.1 ∈ U.carrier) | |
| 455 | - (hw : w ∈ cartesianDomain ρ j) : | |
| 456 | - let R := D.reconstructStream hh hh1 ha hab (ChartScales.radialExponent_pos h hh.le) | |
| 457 | - 1 U.isOpen hf hs | |
| 458 | - SpatialCurl.spatialCurl R.angularField w = | |
| 459 | - let G := PhysicalResidualBridge.commonGraph (ChartScales.Q n) h | |
| 460 | - (ChartScales.nativeIndex h n - D.gap n) | |
| 461 | - CyclePhysicalPrefixes.polarVelocityMap ρ j | |
| 462 | - (CyclePhysicalPrefixes.velocityMap G (meridional G (R.native n))) w := by | |
| 463 | - dsimp only | |
| 464 | - apply coherent_angularField_curl hρ j | |
| 465 | - (D.reconstructStream hh hh1 ha hab (ChartScales.radialExponent_pos h hh.le) 1 U.isOpen hf hs) | |
| 466 | - U.isOpen n hn ht hu hw | |
| 467 | - exact (VariableGaugeMean.streamPotential_q_contDiffOn U ha hab | |
| 468 | - (ChartScales.radialExponent_pos h hh.le) _ _ (hf n hn) (hs n hn)).contDiffAt | |
| 469 | - ((PhysicalMeanDomain.slowDomain_open U.isOpen).mem_nhds hu) | |
| 470 | - | |
| 471 | 402 | /-! ## Finite sums of the actual potentials -/ |
| 472 | 403 | |
| 473 | 404 | theorem cartesianPotential_finset_curl {ι : Type} (S : Finset ι) |
| @@ -508,84 +439,12 @@ theorem meridionalComponents_updated (m t : MeanIncrementBounds.Triple Point) (n | ||
| 508 | 439 | funext x i |
| 509 | 440 | fin_cases i <;> simp [CyclePhysicalPrefixes.meridionalComponents, MeanIncrementBounds.updated] |
| 510 | 441 | |
| 511 | -/-- The temporal and rank inputs may be successive actual states. Their | |
| 512 | -potentials realize exactly the radial/axial parts of those literal increments. -/ | |
| 513 | -theorem temporal_rank_curl {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) | |
| 514 | - (g : VariableGaugeMean.GaugeData (ℝ × ℝ)) (r : CorrectionState.RankData (ℝ × ℝ)) | |
| 515 | - (h : ℝ) (index : ℕ → ℕ) (c : CorrectionState.Context Point) | |
| 516 | - (ut ur : CorrectionState.State Point) (G : ScaledGraph) (hl : 0 < G.radialScale) | |
| 517 | - (n : ℕ) (H : GaugeMatches g c G n) {w : SpaceTime} (hw : w ∈ cartesianDomain a j) | |
| 518 | - (ht : ContDiffAt ℝ ∞ (VariableGaugeMean.temporalPotential g h index c ut n) | |
| 519 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) | |
| 520 | - (hr : ContDiffAt ℝ ∞ (VariableGaugeMean.rankPotential g r c ur n) | |
| 521 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) : | |
| 522 | - SpatialCurl.spatialCurl | |
| 523 | - (cartesianPotential a j G (VariableGaugeMean.temporalPotential g h index c ut n) + | |
| 524 | - cartesianPotential a j G (VariableGaugeMean.rankPotential g r c ur n)) w = | |
| 525 | - CyclePhysicalPrefixes.polarVelocityMap a j (CyclePhysicalPrefixes.velocityMap G | |
| 526 | - (CyclePhysicalPrefixes.meridionalComponents | |
| 527 | - (VariableGaugeMean.temporalIncrementState g h index axial c ut) n + | |
| 528 | - CyclePhysicalPrefixes.meridionalComponents | |
| 529 | - (VariableGaugeMean.rankIncrementState g r axial c ur) n)) w := by | |
| 530 | - rw [cartesianPotential_add_curl ha j G hl _ _ hw ht hr, | |
| 531 | - meridional_temporal g h index c ut G n H, meridional_rank g r c ur G n H] | |
| 532 | - | |
| 533 | 442 | open CorrectionState CorrectionStep |
| 534 | 443 | |
| 535 | -/-- The two scalar streams are evaluated at the actual successive states of | |
| 536 | -the four-stage cycle. -/ | |
| 537 | -noncomputable def cycleMeanPotential {ι : Type} (p : CycleParameters ι) | |
| 538 | - (v : CycleCoefficients ι) (c : Context Point) (u : State Point) | |
| 539 | - (a : ℝ) (j : PolarCharts.Index) (G : ScaledGraph) (n : ℕ) : VelocityField := | |
| 540 | - cartesianPotential a j G | |
| 541 | - (VariableGaugeMean.temporalPotential p.gauge p.timeExponent p.commonIndex c (p.afterSigned v c u) n) + | |
| 542 | - cartesianPotential a j G | |
| 543 | - (VariableGaugeMean.rankPotential p.gauge p.rank c (p.afterTemporal v c u) n) | |
| 544 | - | |
| 545 | -theorem cycleMeanPotential_curl {ι : Type} (p : CycleParameters ι) (v : CycleCoefficients ι) | |
| 546 | - (c : Context Point) (u : State Point) {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) | |
| 547 | - (G : ScaledGraph) (hl : 0 < G.radialScale) (n : ℕ) (H : GaugeMatches p.gauge c G n) | |
| 548 | - (hax : p.axial = axial) {w : SpaceTime} (hw : w ∈ cartesianDomain a j) | |
| 549 | - (ht : ContDiffAt ℝ ∞ | |
| 550 | - (VariableGaugeMean.temporalPotential p.gauge p.timeExponent p.commonIndex c (p.afterSigned v c u) n) | |
| 551 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) | |
| 552 | - (hr : ContDiffAt ℝ ∞ (VariableGaugeMean.rankPotential p.gauge p.rank c (p.afterTemporal v c u) n) | |
| 553 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) : | |
| 554 | - SpatialCurl.spatialCurl (cycleMeanPotential p v c u a j G n) w = | |
| 555 | - CyclePhysicalPrefixes.polarVelocityMap a j (CyclePhysicalPrefixes.velocityMap G | |
| 556 | - (CyclePhysicalPrefixes.meridionalComponents (p.temporalIncrement v c u) n + | |
| 557 | - CyclePhysicalPrefixes.meridionalComponents (p.rankIncrement v c u) n)) w := by | |
| 558 | - simpa only [cycleMeanPotential, CycleParameters.temporalIncrement, CycleParameters.rankIncrement, hax] | |
| 559 | - using temporal_rank_curl ha j p.gauge p.rank p.timeExponent p.commonIndex c | |
| 560 | - (p.afterSigned v c u) (p.afterTemporal v c u) G hl n H hw ht hr | |
| 561 | - | |
| 562 | -theorem cycleMeanPotential_smoothAt {ι : Type} (p : CycleParameters ι) (v : CycleCoefficients ι) | |
| 563 | - (c : Context Point) (u : State Point) {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) | |
| 564 | - (G : ScaledGraph) (hl : 0 < G.radialScale) (n : ℕ) {w : SpaceTime} (hw : w ∈ cartesianDomain a j) | |
| 565 | - (ht : ContDiffAt ℝ ∞ | |
| 566 | - (VariableGaugeMean.temporalPotential p.gauge p.timeExponent p.commonIndex c (p.afterSigned v c u) n) | |
| 567 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) | |
| 568 | - (hr : ContDiffAt ℝ ∞ (VariableGaugeMean.rankPotential p.gauge p.rank c (p.afterTemporal v c u) n) | |
| 569 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) : | |
| 570 | - ContDiffAt ℝ ∞ (cycleMeanPotential p v c u a j G n) w := | |
| 571 | - (cartesianPotential_smoothAt ha j G (mul_pos hl (polarCoordinates_valid ha j hw).1).ne' ht).add | |
| 572 | - (cartesianPotential_smoothAt ha j G (mul_pos hl (polarCoordinates_valid ha j hw).1).ne' hr) | |
| 573 | - | |
| 574 | 444 | /-! ## The actual initialized mean -/ |
| 575 | 445 | |
| 576 | 446 | open CorrectionInitialization CorrectionInitialization.GaugeInitialization |
| 577 | 447 | |
| 578 | -noncomputable def initializedMeanPotential {ι : Type} | |
| 579 | - (g : VariableGaugeMean.GaugeData (ℝ × ℝ)) (r : RankData (ℝ × ℝ)) | |
| 580 | - (h : ℝ) (index : ℕ → ℕ) (c : Context Point) | |
| 581 | - (labels : ℕ → Finset ι) (pieces : ι → PrimaryPiece (Point × ℝ)) | |
| 582 | - (baseError : Oscillation Point) (a : ℝ) (j : PolarCharts.Index) (G : ScaledGraph) (n : ℕ) : | |
| 583 | - VelocityField := | |
| 584 | - cartesianPotential a j G (VariableGaugeMean.temporalPotential g h index c | |
| 585 | - (primaryBands g c labels pieces baseError) n) + | |
| 586 | - cartesianPotential a j G (VariableGaugeMean.rankPotential g r c | |
| 587 | - (temporalBands g h index axial c labels pieces baseError) n) | |
| 588 | - | |
| 589 | 448 | theorem initializedBands_mean {ι : Type} |
| 590 | 449 | (g : VariableGaugeMean.GaugeData (ℝ × ℝ)) (r : RankData (ℝ × ℝ)) |
| 591 | 450 | (h : ℝ) (index : ℕ → ℕ) (c : Context Point) |
| @@ -603,88 +462,6 @@ theorem initializedBands_mean {ι : Type} | ||
| 603 | 462 | (temporalBands g h index axial c labels pieces baseError)) = _ |
| 604 | 463 | simp only [MeanIncrementBounds.updated, zero_add] |
| 605 | 464 | |
| 606 | -/-- The initial mean potential is the sum of the two actual initialized | |
| 607 | -streams. Its curl equals the initialized mean's meridional components. -/ | |
| 608 | -theorem initializedMeanPotential_curl {ι : Type} | |
| 609 | - (g : VariableGaugeMean.GaugeData (ℝ × ℝ)) (r : RankData (ℝ × ℝ)) | |
| 610 | - (h : ℝ) (index : ℕ → ℕ) (c : Context Point) | |
| 611 | - (labels : ℕ → Finset ι) (pieces : ι → PrimaryPiece (Point × ℝ)) | |
| 612 | - (baseError : Oscillation Point) {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) | |
| 613 | - (G : ScaledGraph) (hl : 0 < G.radialScale) (n : ℕ) (H : GaugeMatches g c G n) | |
| 614 | - {w : SpaceTime} (hw : w ∈ cartesianDomain a j) | |
| 615 | - (ht : ContDiffAt ℝ ∞ (VariableGaugeMean.temporalPotential g h index c | |
| 616 | - (primaryBands g c labels pieces baseError) n) | |
| 617 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) | |
| 618 | - (hr : ContDiffAt ℝ ∞ (VariableGaugeMean.rankPotential g r c | |
| 619 | - (temporalBands g h index axial c labels pieces baseError) n) | |
| 620 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) : | |
| 621 | - SpatialCurl.spatialCurl (initializedMeanPotential g r h index c labels pieces baseError a j G n) w = | |
| 622 | - CyclePhysicalPrefixes.polarVelocityMap a j (CyclePhysicalPrefixes.velocityMap G | |
| 623 | - (CyclePhysicalPrefixes.meridionalComponents | |
| 624 | - (initializedBands g r h index axial c labels pieces baseError).mean n)) w := by | |
| 625 | - rw [initializedBands_mean, meridionalComponents_updated] | |
| 626 | - exact temporal_rank_curl ha j g r h index c _ _ G hl n H hw ht hr | |
| 627 | - | |
| 628 | 465 | /-! ## Finite prefixes of the literal iteration -/ |
| 629 | 466 | |
| 630 | -noncomputable def meanIncrementComponents {ι : Type} (p : CycleParameters ι) | |
| 631 | - (v : CycleCoefficients ι) (c : Context Point) (u : State Point) (n : ℕ) : | |
| 632 | - CyclePhysicalPrefixes.Components := | |
| 633 | - CyclePhysicalPrefixes.meridionalComponents (p.temporalIncrement v c u) n + | |
| 634 | - CyclePhysicalPrefixes.meridionalComponents (p.rankIncrement v c u) n | |
| 635 | - | |
| 636 | -theorem meridionalComponents_next {ι : Type} (p : CycleParameters ι) | |
| 637 | - (v : CycleCoefficients ι) (c : Context Point) (u : State Point) (n : ℕ) : | |
| 638 | - CyclePhysicalPrefixes.meridionalComponents (p.next v c u).mean n = | |
| 639 | - CyclePhysicalPrefixes.meridionalComponents u.mean n + meanIncrementComponents p v c u n := by | |
| 640 | - rw [p.next_mean, meridionalComponents_updated, meridionalComponents_updated] | |
| 641 | - exact add_assoc _ _ _ | |
| 642 | - | |
| 643 | -theorem meridionalComponents_iterate {ι : Type} (p : ℕ → CycleParameters ι) | |
| 644 | - (c : Context Point) (seed : CycleState ι) (n J : ℕ) : | |
| 645 | - CyclePhysicalPrefixes.meridionalComponents (CycleState.iterate p c seed J).state.mean n = | |
| 646 | - CyclePhysicalPrefixes.meridionalComponents seed.state.mean n + | |
| 647 | - ∑ k ∈ Finset.range J, meanIncrementComponents (p k) | |
| 648 | - (CycleState.iterate p c seed k).coefficients c (CycleState.iterate p c seed k).state n := by | |
| 649 | - induction J with | |
| 650 | - | zero => simp only [CycleState.iterate_zero, Finset.range_zero, Finset.sum_empty, add_zero] | |
| 651 | - | succ J ih => | |
| 652 | - change CyclePhysicalPrefixes.meridionalComponents | |
| 653 | - ((p J).next (CycleState.iterate p c seed J).coefficients c (CycleState.iterate p c seed J).state).mean n = _ | |
| 654 | - rw [meridionalComponents_next, ih, Finset.sum_range_succ, add_assoc] | |
| 655 | - | |
| 656 | -/-- The finite sum is evaluated on the actual successive cycle states. -/ | |
| 657 | -noncomputable def cycleMeanPrefix {ι : Type} (p : ℕ → CycleParameters ι) | |
| 658 | - (c : Context Point) (seed : CycleState ι) | |
| 659 | - (a : ℝ) (j : PolarCharts.Index) (G : ScaledGraph) (n J : ℕ) : VelocityField := | |
| 660 | - fun w => ∑ k ∈ Finset.range J, cycleMeanPotential (p k) | |
| 661 | - (CycleState.iterate p c seed k).coefficients c (CycleState.iterate p c seed k).state a j G n w | |
| 662 | - | |
| 663 | -theorem cycleMeanPrefix_curl {ι : Type} (p : ℕ → CycleParameters ι) | |
| 664 | - (c : Context Point) (seed : CycleState ι) {a : ℝ} (ha : 0 < a) | |
| 665 | - (j : PolarCharts.Index) (G : ScaledGraph) (hl : 0 < G.radialScale) (n J : ℕ) | |
| 666 | - (H : ∀ k < J, GaugeMatches (p k).gauge c G n) | |
| 667 | - (hax : ∀ k < J, (p k).axial = axial) {w : SpaceTime} (hw : w ∈ cartesianDomain a j) | |
| 668 | - (ht : ∀ k < J, ContDiffAt ℝ ∞ | |
| 669 | - (VariableGaugeMean.temporalPotential (p k).gauge (p k).timeExponent (p k).commonIndex c | |
| 670 | - ((p k).afterSigned (CycleState.iterate p c seed k).coefficients c (CycleState.iterate p c seed k).state) n) | |
| 671 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) | |
| 672 | - (hr : ∀ k < J, ContDiffAt ℝ ∞ | |
| 673 | - (VariableGaugeMean.rankPotential (p k).gauge (p k).rank c | |
| 674 | - ((p k).afterTemporal (CycleState.iterate p c seed k).coefficients c (CycleState.iterate p c seed k).state) n) | |
| 675 | - (chartPoint G (PhysicalCurlCovariance.polarCoordinates a j w))) : | |
| 676 | - SpatialCurl.spatialCurl (cycleMeanPrefix p c seed a j G n J) w = | |
| 677 | - CyclePhysicalPrefixes.polarVelocityMap a j (CyclePhysicalPrefixes.velocityMap G | |
| 678 | - (CyclePhysicalPrefixes.meridionalComponents (CycleState.iterate p c seed J).state.mean n - | |
| 679 | - CyclePhysicalPrefixes.meridionalComponents seed.state.mean n)) w := by | |
| 680 | - rw [meridionalComponents_iterate, add_sub_cancel_left] | |
| 681 | - unfold cycleMeanPrefix | |
| 682 | - rw [PhysicalParticularWave.spatialCurl_finset_sum _ _ (fun k hk => | |
| 683 | - (cycleMeanPotential_smoothAt (p k) _ c _ ha j G hl n hw | |
| 684 | - (ht k (Finset.mem_range.mp hk)) (hr k (Finset.mem_range.mp hk))).differentiableAt (by simp))] | |
| 685 | - simp only [map_sum, Finset.sum_apply] | |
| 686 | - exact Finset.sum_congr rfl (fun k hk => cycleMeanPotential_curl (p k) _ c _ ha j G hl n | |
| 687 | - (H k (Finset.mem_range.mp hk)) (hax k (Finset.mem_range.mp hk)) hw | |
| 688 | - (ht k (Finset.mem_range.mp hk)) (hr k (Finset.mem_range.mp hk))) | |
| 689 | - | |
| 690 | 467 | end NavierStokes.ActualMeanPotentialRealization |
+0 −36 NavierStokes/ActualMeanStageData.lean View file
| @@ -175,16 +175,6 @@ noncomputable def coherentAngularData (D : PhysicalMeanJetBounds.CoherentFamily | ||
| 175 | 175 | inner_pos _ hp := innerRadius_pos hh hh1 ha hp |
| 176 | 176 | vanishes := coefficient_vanishes D hh hh1 ha hab hU hcover hs hq |
| 177 | 177 | |
| 178 | -theorem coherentAngularData_field (D : PhysicalMeanJetBounds.CoherentFamily h degree N Δ U ℝ) | |
| 179 | - (hh : 0 < h) (hh1 : h < 1 / 2) {a b : ℝ} (ha : 0 < a) (hab : a < b) | |
| 180 | - (hU : IsOpen U) | |
| 181 | - (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 2) 2 ⊆ U) | |
| 182 | - (hsm : ∀ n ≥ N, ContDiffOn ℝ ∞ (D.native n) (PhysicalMeanDomain.slowDomain U)) | |
| 183 | - (hs : PhysicalMeanJetBounds.NativeSupport h a b N U D.native) | |
| 184 | - (qbig : ℝ) (hq : qbig ≤ ChartScales.Q N) : | |
| 185 | - DirectAngularDiagonal.angularField (coherentAngularData D hh hh1 ha hab hU hcover hsm hs qbig hq).scalar = D.angularField := | |
| 186 | - coefficient_angularField D | |
| 187 | - | |
| 188 | 178 | end Generic |
| 189 | 179 | |
| 190 | 180 | /-! ## The fixed actual atlas and native moving support -/ |
| @@ -265,32 +255,6 @@ theorem actualAngularSupport_shrinkingSupport | ||
| 265 | 255 | (actualAngularSupport D Hm qbig hq).field := |
| 266 | 256 | actualAngularData_shrinkingSupport D Hm qbig hq |
| 267 | 257 | |
| 268 | -theorem actualAngular_zero_germ | |
| 269 | - (D : PhysicalMeanJetBounds.CoherentFamily h degree N Δ standardRegion.carrier ℝ) | |
| 270 | - (Hm : GaugeMomentBalances.MovingField standardRegion commonGauge.radial.inner | |
| 271 | - commonGauge.radial.outer D.native) | |
| 272 | - (qbig : ℝ) (hq : qbig ≤ ChartScales.Q N) | |
| 273 | - {w : SpaceTime} (hw : w ∈ MixedAxisPreservation.localDomain h qbig) | |
| 274 | - (hr : DirectAngularDiagonal.radius w < | |
| 275 | - innerRadius h ActualInitialization.geometry.patch.a (DirectAngularDiagonal.slowPoint w)) : | |
| 276 | - D.angularField =ᶠ[𝓝 w] fun _ => 0 := by | |
| 277 | - have he := (actualAngularData D Hm qbig hq).field_zero_germ | |
| 278 | - (LocalAngularDiagonal.localSlowDomain_open outgoing.data.h_pos outgoing.data.h_lt_half qbig) hw hr | |
| 279 | - rwa [actualAngularData_field] at he | |
| 280 | - | |
| 281 | -theorem actualAngular_axis_zero_germ | |
| 282 | - (D : PhysicalMeanJetBounds.CoherentFamily h degree N Δ standardRegion.carrier ℝ) | |
| 283 | - (Hm : GaugeMomentBalances.MovingField standardRegion commonGauge.radial.inner | |
| 284 | - commonGauge.radial.outer D.native) | |
| 285 | - (qbig : ℝ) (hq : qbig ≤ ChartScales.Q N) | |
| 286 | - {w : SpaceTime} (hw : w ∈ MixedAxisPreservation.localDomain h qbig) | |
| 287 | - (hr : DirectAngularDiagonal.radius w = 0) : | |
| 288 | - D.angularField =ᶠ[𝓝 w] fun _ => 0 := by | |
| 289 | - apply actualAngular_zero_germ D Hm qbig hq hw | |
| 290 | - rw [hr] | |
| 291 | - exact innerRadius_pos outgoing.data.h_pos outgoing.data.h_lt_half | |
| 292 | - ActualInitialization.geometry.patch.a_pos hw | |
| 293 | - | |
| 294 | 258 | end Actual |
| 295 | 259 | |
| 296 | 260 | /-! ## Initialized direct angular mean and actual temporal/rank streams -/ |
+0 −94 NavierStokes/ActualParticularBackground.lean View file
| @@ -114,29 +114,6 @@ theorem zeroRescale_defect (q : ℝ) (a : WaveFamily D I) | ||
| 114 | 114 | (s : StripData D) (d : GraphDirections D) : |
| 115 | 115 | (zeroRescale q a).defect s d = a.defect s d := rfl |
| 116 | 116 | |
| 117 | -theorem inputBounds_zeroRescale {s : StripData D} {K : ℕ → I → Set D} | |
| 118 | - {P : ℕ → I → D → ℝ} {α κ : ℝ} {d : GraphDirections D} {a : WaveFamily D I} | |
| 119 | - (h : InputBounds s K P α κ d a) (q : ℝ) (W : ℕ → I → D → ℝ) | |
| 120 | - (hW : ∀ n i x, x ∈ s.domain → 0 ≤ W n i x) (β : ℝ) : | |
| 121 | - InputBounds s K W β κ d (zeroRescale q a) where | |
| 122 | - loss_nonneg := h.loss_nonneg | |
| 123 | - radial_profile := h.radial_profile | |
| 124 | - radial_scale := h.radial_scale | |
| 125 | - fast_scale := h.fast_scale | |
| 126 | - frequency_scale := LocalizedWaveBounds.constant_real_mul h.frequency_scale q | |
| 127 | - radius := h.radius | |
| 128 | - inverse_radius := h.inverse_radius | |
| 129 | - radial_base := h.radial_base | |
| 130 | - frequency_base := h.frequency_base | |
| 131 | - axial_base := h.axial_base | |
| 132 | - radial_base_aux := h.radial_base_aux | |
| 133 | - frequency_base_aux := h.frequency_base_aux | |
| 134 | - axial_base_aux := h.axial_base_aux | |
| 135 | - normal := h.normal | |
| 136 | - defect := h.defect | |
| 137 | - amplitude := fun _ => LocalClass.zero (fun n i x hx => mul_nonneg (Real.sqrt_nonneg _) (hW n i x hx)) | |
| 138 | - pressure := LocalClass.zero (fun n i x hx => mul_nonneg (Real.sqrt_nonneg _) (hW n i x hx)) | |
| 139 | - | |
| 140 | 117 | end Isometry |
| 141 | 118 | |
| 142 | 119 | theorem coefficients_ext {D : Type} {a b : WaveCoefficients D} |
| @@ -233,29 +210,6 @@ theorem backgroundFamily_eq {B N0 : ℕ} (b : Label B N0 → HarmonicBlock Cycle | ||
| 233 | 210 | · rfl |
| 234 | 211 | · exact carrier_frequency b hb j i.1 |
| 235 | 212 | |
| 236 | -/-- All order-zero background classes, at every derivative order, are | |
| 237 | -derived from the primary inputs. The envelope can be any nonnegative one | |
| 238 | -because the velocity and pressure slots are zero. Constants remain uniform | |
| 239 | -in the spatial label and lattice copy. -/ | |
| 240 | -theorem actual_background_inputs {B N0 : ℕ} (b : Label B N0 → HarmonicBlock CyclePoint) | |
| 241 | - (hb : ∀ l, SameCarrier (b l) (primaryBlock l)) (j : ℤ) | |
| 242 | - (W : ℕ → CopyIndex B N0 → Native → ℝ) | |
| 243 | - (hW : ∀ n i x, x ∈ nativeStrip.domain → 0 ≤ W n i x) : | |
| 244 | - InputBounds nativeStrip cells W 0 ChartScales.kappa (directions B) (backgroundFamily b j) := by | |
| 245 | - rw [backgroundFamily_eq b hb j] | |
| 246 | - let Wfull : ℕ → CopyIndex B N0 → ActualPrimary.FullPoint → ℝ := | |
| 247 | - fun n i x => W n i (nativeToFull.symm x) | |
| 248 | - have hWfull : ∀ n i x, x ∈ ActualPrimaryBounds.fullStrip.domain → 0 ≤ Wfull n i x := by | |
| 249 | - intro n i x hx | |
| 250 | - apply hW | |
| 251 | - change nativeToFull (nativeToFull.symm x) ∈ ActualPrimaryBounds.fullStrip.domain | |
| 252 | - simpa only [nativeToFull.apply_symm_apply] using hx | |
| 253 | - have hh := inputBounds_reindex nativeToFull | |
| 254 | - (inputBounds_zeroRescale (ActualPrimaryBounds.actual_local_inputs (B := B) (N0 := N0)) | |
| 255 | - (j : ℝ) Wfull hWfull 0) | |
| 256 | - simp only [Wfull, nativeToFull.symm_apply_apply] at hh | |
| 257 | - exact hh | |
| 258 | - | |
| 259 | 213 | theorem background_normal {B N0 : ℕ} (b : Label B N0 → HarmonicBlock CyclePoint) |
| 260 | 214 | (hb : ∀ l, SameCarrier (b l) (primaryBlock l)) (j : ℤ) (n : ℕ) |
| 261 | 215 | (i : CopyIndex B N0) (x : Native) : |
| @@ -271,52 +225,4 @@ theorem background_normal {B N0 : ℕ} (b : Label B N0 → HarmonicBlock CyclePo | ||
| 271 | 225 | _ _ n i (nativeToFull x) = _ |
| 272 | 226 | rw [zeroRescale_normal, ActualPrimaryBounds.actualFamily_normal_eq] |
| 273 | 227 | |
| 274 | -theorem background_normal_range {B N0 : ℕ} (b : Label B N0 → HarmonicBlock CyclePoint) | |
| 275 | - (hb : ∀ l, SameCarrier (b l) (primaryBlock l)) (j : ℤ) | |
| 276 | - {n : ℕ} {i : CopyIndex B N0} {x : Native} | |
| 277 | - (hx : x ∈ nativeStrip.domain) (hi : x ∈ cells n i) : | |
| 278 | - ActualPrimaryBounds.normalFloor B N0 ≤ ‖(backgroundFamily b j).normal nativeStrip (directions B) n i x‖ ∧ | |
| 279 | - ‖(backgroundFamily b j).normal nativeStrip (directions B) n i x‖ ≤ | |
| 280 | - ActualPrimaryBounds.normalCeiling B N0 := by | |
| 281 | - rw [background_normal b hb j] | |
| 282 | - exact ActualPrimaryBounds.chart_normal_range hx hi | |
| 283 | - | |
| 284 | -theorem background_defect {B N0 : ℕ} (b : Label B N0 → HarmonicBlock CyclePoint) | |
| 285 | - (hb : ∀ l, SameCarrier (b l) (primaryBlock l)) (j : ℤ) (n : ℕ) | |
| 286 | - (i : CopyIndex B N0) (x : Native) : | |
| 287 | - (backgroundFamily b j).defect nativeStrip (directions B) n i x = | |
| 288 | - ActualPhaseDefect.defect i.1.1 i.1.2 n (nativeToFull x) := by | |
| 289 | - rw [backgroundFamily_eq b hb j] | |
| 290 | - change (ParticularWaveBounds.reindexCoefficients nativeToFull | |
| 291 | - ((zeroRescale (j : ℝ) ActualPrimaryBounds.actualFamily).coefficients i)).defect | |
| 292 | - _ _ n x = _ | |
| 293 | - unfold nativeStrip directions | |
| 294 | - rw [defect_reindex] | |
| 295 | - change (zeroRescale (j : ℝ) ActualPrimaryBounds.actualFamily).defect | |
| 296 | - _ _ n i (nativeToFull x) = _ | |
| 297 | - rw [zeroRescale_defect, ActualPrimaryBounds.actualFamily_defect_eq] | |
| 298 | - | |
| 299 | -theorem background_inverse_frequency {B N0 : ℕ} (b : Label B N0 → HarmonicBlock CyclePoint) | |
| 300 | - (hb : ∀ l, SameCarrier (b l) (primaryBlock l)) (j : ℤ) : | |
| 301 | - LocalUnweighted nativeStrip cells (1 / 2 : ℝ) | |
| 302 | - (fun n i (_ : Native) => 1 / (backgroundFamily b j).frequency n i) := by | |
| 303 | - have hh := localClass_reindex nativeToFull | |
| 304 | - (LocalizedWaveBounds.constant_real_mul | |
| 305 | - (ActualPrimaryBounds.inverse_carrier_local (B := B) (N0 := N0)) ((j : ℝ)⁻¹)) | |
| 306 | - apply hh.congr | |
| 307 | - intro n i x | |
| 308 | - change (j : ℝ)⁻¹ * (1 / (ChartScales.carrier ActualPrimary.h n : ℝ)) = | |
| 309 | - 1 / (carrier b j i.1).frequency n | |
| 310 | - rw [carrier_frequency b hb j] | |
| 311 | - simp only [one_div, mul_inv_rev] | |
| 312 | - ring | |
| 313 | - | |
| 314 | -theorem background_frequency_ne {B N0 : ℕ} (b : Label B N0 → HarmonicBlock CyclePoint) | |
| 315 | - (hb : ∀ l, SameCarrier (b l) (primaryBlock l)) {j : ℤ} (hj : j ≠ 0) | |
| 316 | - (n : ℕ) (i : CopyIndex B N0) : (backgroundFamily b j).frequency n i ≠ 0 := by | |
| 317 | - change (carrier b j i.1).frequency n ≠ 0 | |
| 318 | - rw [carrier_frequency b hb j] | |
| 319 | - exact mul_ne_zero (Int.cast_ne_zero.mpr hj) | |
| 320 | - (Scaling.carrier_frequency_pos (ChartScales.epsilon_pos ActualPrimary.h n)).ne' | |
| 321 | - | |
| 322 | 228 | end NavierStokes.ActualParticularBackground |
+0 −100 NavierStokes/ActualParticularCoherence.lean View file
| @@ -42,14 +42,6 @@ noncomputable def corrected (x : CorrectionStep.CycleState (Label B N0)) | ||
| 42 | 42 | ActualParticularRealization.corrected (ActualParticularStageControls.assembly x l) |
| 43 | 43 | ActualParticularStageControls.associatedStrip h (ActualParticularStageControls.gap l) j |
| 44 | 44 | |
| 45 | -noncomputable def cylinderParameter (z : Cylinder) : Parameter := (waveEquiv z).1.1 | |
| 46 | - | |
| 47 | -noncomputable def cylinderDomain (V : Set Plane) : Set Cylinder := | |
| 48 | - {z | (cylinderParameter z).2 ∈ V} | |
| 49 | - | |
| 50 | -theorem cylinderDomain_open {V : Set Plane} (hV : IsOpen V) : IsOpen (cylinderDomain V) := | |
| 51 | - hV.preimage waveEquiv.continuous.fst.fst.snd | |
| 52 | - | |
| 53 | 45 | /-- The target operator is the literal common-cover graph at the target |
| 54 | 46 | band. This identification is independent of the current source. -/ |
| 55 | 47 | theorem targetChart (x : CorrectionStep.CycleState (Label B N0)) |
| @@ -74,98 +66,6 @@ theorem targetChart (x : CorrectionStep.CycleState (Label B N0)) | ||
| 74 | 66 | ActualReferenceRebase.associatedContext_frame] |
| 75 | 67 | rfl |
| 76 | 68 | |
| 77 | -theorem corrected_amplitude_chart (x : CorrectionStep.CycleState (Label B N0)) | |
| 78 | - (l : Label B N0) (j : ℤ) (n : ℕ) : | |
| 79 | - (fun z => (corrected x l j).amplitude n (waveEquiv z)) = | |
| 80 | - CurlClassBounds.realizedCoefficient ((j : ℝ) * (x.coefficients.blocks l).frequency n) | |
| 81 | - PhysicalResidualBridge.ScaledGraph.radius | |
| 82 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (CommonWindow.index h n)).radial | |
| 83 | - PhysicalResidualBridge.ScaledGraph.angular | |
| 84 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (CommonWindow.index h n)).axial | |
| 85 | - (fun z => (ActualReferenceRebase.actualCoefficients x l j).phase n (waveEquiv z)) | |
| 86 | - (fun z => (ActualReferenceRebase.actualCoefficients x l j).amplitude n (waveEquiv z)) := by | |
| 87 | - have hp := ActualParticularRealization.realizedCoefficient_pull waveEquiv | |
| 88 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) | |
| 89 | - ((ActualParticularStageControls.assembly x l).background.radius n) | |
| 90 | - ((ActualReferenceRebase.actualCoefficients x l j).phase n) | |
| 91 | - ((ActualParticularStageControls.assembly x l).directions.radialField n) | |
| 92 | - (fun _ => (ActualParticularStageControls.assembly x l).directions.angular) | |
| 93 | - ((ActualParticularStageControls.assembly x l).directions.axialField | |
| 94 | - (CorrectionStep.ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip) n) | |
| 95 | - ((ActualReferenceRebase.actualCoefficients x l j).amplitude n) | |
| 96 | - rw [(targetChart x l n).radius, (targetChart x l n).radial, | |
| 97 | - (targetChart x l n).angular, (targetChart x l n).axial] at hp | |
| 98 | - exact hp.symm | |
| 99 | - | |
| 100 | -/-- Local agreement of the two primitive inputs propagates through the | |
| 101 | -entire curl correction, including all cutoff derivatives. -/ | |
| 102 | -theorem corrected_eq_band_of_germs (x : CorrectionStep.CycleState (Label B N0)) | |
| 103 | - (l : Label B N0) (j : ℤ) (n : ℕ) (z : Cylinder) | |
| 104 | - (ha : (fun y => (ActualReferenceRebase.actualCoefficients x l j).amplitude n (waveEquiv y)) | |
| 105 | - =ᶠ[𝓝 z] bandRaw (ActualReferenceRebase.nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 106 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 107 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j) | |
| 108 | - (hphi : (fun y => (ActualReferenceRebase.actualCoefficients x l j).phase n (waveEquiv y)) | |
| 109 | - =ᶠ[𝓝 z] bandPhase (ActualReferenceRebase.nativeAssembly x l) h (ChartScales.Q n) | |
| 110 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 111 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j) : | |
| 112 | - vectorMode ((corrected x l j).frequency n) ((corrected x l j).phase n) | |
| 113 | - ((corrected x l j).amplitude n) (waveEquiv z) = | |
| 114 | - bandVelocity (ActualReferenceRebase.nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 115 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (CommonWindow.index h n) | |
| 116 | - (ActualParticularStageControls.gap l n) | |
| 117 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j z := by | |
| 118 | - have hg := ParticularWaveAssembly.realizedCoefficient_germ ha | |
| 119 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) | |
| 120 | - PhysicalResidualBridge.ScaledGraph.radius | |
| 121 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (CommonWindow.index h n)).radial | |
| 122 | - PhysicalResidualBridge.ScaledGraph.angular | |
| 123 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (CommonWindow.index h n)).axial | |
| 124 | - (fun y => (ActualReferenceRebase.actualCoefficients x l j).phase n (waveEquiv y)) | |
| 125 | - have hq := ActualParticularRealization.realizedCoefficient_phase_germ hphi | |
| 126 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) | |
| 127 | - PhysicalResidualBridge.ScaledGraph.radius | |
| 128 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (CommonWindow.index h n)).radial | |
| 129 | - PhysicalResidualBridge.ScaledGraph.angular | |
| 130 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (CommonWindow.index h n)).axial | |
| 131 | - (bandRaw (ActualReferenceRebase.nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 132 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 133 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j) | |
| 134 | - have hv := congrFun (corrected_amplitude_chart x l j n) z | |
| 135 | - rw [(hg.trans hq).eq_of_nhds] at hv | |
| 136 | - funext i | |
| 137 | - change (corrected x l j).amplitude n (waveEquiv z) i * | |
| 138 | - carrier ((j : ℝ) * (x.coefficients.blocks l).frequency n) | |
| 139 | - ((ActualReferenceRebase.actualCoefficients x l j).phase n) (waveEquiv z) = _ | |
| 140 | - rw [hv] | |
| 141 | - exact congrArg₂ (· * ·) rfl (PhysicalCurlCovariance.carrier_eq_of_products | |
| 142 | - (congrArg (((j : ℝ) * (x.coefficients.blocks l).frequency n) * ·) hphi.eq_of_nhds)) | |
| 143 | - | |
| 144 | -/-- Forward cover order: the germ inputs are consequences of the current | |
| 145 | -state and coefficient identities, not assumptions about the solved wave. -/ | |
| 146 | -theorem corrected_forward (x : CorrectionStep.CycleState (Label B N0)) | |
| 147 | - (l : Label B N0) {V : Set Plane} (hV : IsOpen V) (htime : ∀ s ∈ V, 0 < s.1) | |
| 148 | - (n k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h (BaseChartJets.cellBand l.2)) | |
| 149 | - (HS : ActualReferenceRebase.StateComparison x V n (BaseChartJets.cellBand l.2) k) | |
| 150 | - (HB : ActualReferenceRebase.BlockComparison x l V n (BaseChartJets.cellBand l.2) k) | |
| 151 | - (j : ℤ) (hj : j ≠ 0) | |
| 152 | - (hn : (x.coefficients.blocks l).frequency n ≠ 0) | |
| 153 | - (hm : (x.coefficients.blocks l).frequency (BaseChartJets.cellBand l.2) ≠ 0) | |
| 154 | - (z : Cylinder) (hz : z ∈ cylinderDomain V) : | |
| 155 | - vectorMode ((corrected x l j).frequency n) ((corrected x l j).phase n) | |
| 156 | - ((corrected x l j).amplitude n) (waveEquiv z) = | |
| 157 | - bandVelocity (ActualReferenceRebase.nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 158 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (CommonWindow.index h n) | |
| 159 | - (ActualParticularStageControls.gap l n) | |
| 160 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j z := by | |
| 161 | - apply corrected_eq_band_of_germs | |
| 162 | - · filter_upwards [(cylinderDomain_open hV).mem_nhds hz] with y hy | |
| 163 | - exact ActualReferenceRebase.actualAmplitude_forward x l hV htime n k hi HS HB j | |
| 164 | - (cylinderParameter y) hy (waveEquiv y).1.2 (waveEquiv y).2 | |
| 165 | - · filter_upwards [(cylinderDomain_open hV).mem_nhds hz] with y hy | |
| 166 | - exact (ActualReferenceRebase.actualPhase_forward x l V n k hi HB j hj hn hm | |
| 167 | - (cylinderParameter y) hy (waveEquiv y).1.2 (waveEquiv y).2).symm | |
| 168 | - | |
| 169 | 69 | /-! ## Composition of the actual primitive copy data |
| 170 | 70 | |
| 171 | 71 | These identities allow two current bands to be compared directly. In |
+0 −280 NavierStokes/ActualParticularControl.lean View file
| @@ -387,40 +387,6 @@ theorem frame_input_jets | ||
| 387 | 387 | W l n v := by rw [pow_add]; ring |
| 388 | 388 | _ ≤ _ := by gcongr |
| 389 | 389 | |
| 390 | -/-- Instantiation of the input bound for the selected actual phase. -/ | |
| 391 | -theorem selected_input_jets | |
| 392 | - (s : StripData P) (F : PhaseConstruction D) (χ : P →L[ℝ] PhaseCalculus.Slow) | |
| 393 | - (g : Label → ℕ → Geometry) (r : Label → ℕ → ℝ) | |
| 394 | - (hscale : ∀ l n, D.scale (l,n) = s.slow n) | |
| 395 | - (hsep : ∀ l n, WaveEnvelopeTransport.Separated (g l n) (r l n) (F.L (l,n))) | |
| 396 | - {A : ℝ} {a : ℕ} (hA : 1 ≤ A) | |
| 397 | - (hgeometry : ∀ l n, CommonCoverClass.argumentCost (g l n) ≤ A*s.slow n^a) | |
| 398 | - (harmonic : Label → ℤ) {J : ℝ} (hJ : 1 ≤ J) (hj : ∀ l, |(harmonic l : ℝ)| ≤ J) | |
| 399 | - {α : ℝ} {f : Label → ℕ → P × Plane → ProblemStatement.Space} | |
| 400 | - (hf : UniformWaveClass (CommonCoverClass.sourceStrip s) | |
| 401 | - (groupedEnvelope g r (fun l n => F.L (l,n)) | |
| 402 | - (fun l n => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)))) α f) | |
| 403 | - (N : ℕ) : | |
| 404 | - ∃ C : ℝ, 0 ≤ C ∧ ∃ m : ℕ, ∀ l n k (x : P × Plane), x.1 ∈ s.domain → | |
| 405 | - χ x.1 ∈ D.carrier (l,n) → | |
| 406 | - ((g l n).coordinates k x.2).1 ∈ Icc (-(r l n)) (r l n) → | |
| 407 | - ∀ j ≤ N, ∀ v ∈ Icc 0 (F.L (l,n)), | |
| 408 | - ‖iteratedFDeriv ℝ j | |
| 409 | - ((PrimaryCopyBridge.copyFrame (nativeFrame (F.frame (l,n)) χ) (g l n) k).coefficient | |
| 410 | - (harmonic l)) (x,v)‖ ≤ C*s.growth n x.1^m ∧ | |
| 411 | - ‖iteratedFDeriv ℝ j | |
| 412 | - ((PrimaryCopyBridge.copyFrame (nativeFrame (F.frame (l,n)) χ) (g l n) k).forcing | |
| 413 | - (PrimaryCopyBridge.copySource (f l n) (g l n) k)) (x,v)‖ ≤ | |
| 414 | - (s.epsilon n^α * Real.sqrt (s.zeta x.1))*C*s.growth n x.1^m * | |
| 415 | - referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)) v ∧ | |
| 416 | - ∀ i : Fin 2, ‖iteratedFDeriv ℝ j | |
| 417 | - (synthesisColumn (PrimaryCopyBridge.copyFrame (nativeFrame (F.frame (l,n)) χ) (g l n) k) i) | |
| 418 | - (x,v)‖ ≤ C*s.growth n x.1^m := by | |
| 419 | - exact frame_input_jets s F.V F.openV F.frame F.L | |
| 420 | - (fun l n => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n))) | |
| 421 | - (selected_frame_jets F) F.interval (fun _ _ _ => (referenceP_pos _ _ _ _).le) | |
| 422 | - χ g r hscale hsep hA hgeometry harmonic hJ hj hf N | |
| 423 | - | |
| 424 | 390 | end NativeInputs |
| 425 | 391 | |
| 426 | 392 | section CurrentResidual |
| @@ -513,39 +479,6 @@ private theorem majorant_enlarge (s : StripData E) (w : ℕ → E → ℝ) (α : | ||
| 513 | 479 | unfold majorant |
| 514 | 480 | nlinarith only [ht] |
| 515 | 481 | |
| 516 | -/-- A stage's finite harmonic range can be folded into the external label | |
| 517 | -with one constant before both. This never infers uniformity over an | |
| 518 | -unbounded harmonic family from separate class memberships. -/ | |
| 519 | -theorem finite_harmonic_uniform | |
| 520 | - (s : StripData E) (w : Label → ℕ → E → ℝ) (α : ℝ) | |
| 521 | - (H : Finset ℤ) (f : ℤ → Label → ℕ → E → V) | |
| 522 | - (hf : ∀ j ∈ H, UniformClass s w α (f j)) : | |
| 523 | - UniformClass s (fun l : Label × {j : ℤ // j ∈ H} => w l.1) α | |
| 524 | - (fun l => f l.2.1 l.1) := by | |
| 525 | - have hbounds (N : ℕ) : ∃ C : ℝ, 0 ≤ C ∧ ∃ m : ℕ, | |
| 526 | - ∀ j ∈ H, ∀ l n x, x ∈ s.domain → ∀ k ≤ N, | |
| 527 | - ‖iteratedFDeriv ℝ k (f j l n) x‖ ≤ majorant s (w l) α C m n x := by | |
| 528 | - induction H using Finset.induction_on with | |
| 529 | - | empty => exact ⟨0,le_rfl,0,by simp⟩ | |
| 530 | - | @insert j H hj ih => | |
| 531 | - obtain ⟨A,hA,a,ha⟩ := (hf j (Finset.mem_insert_self _ _)).bounds N | |
| 532 | - obtain ⟨B,hB,b,hb⟩ := ih (fun k hk => hf k (Finset.mem_insert_of_mem hk)) | |
| 533 | - refine ⟨A+B,add_nonneg hA hB,a+b,?_⟩ | |
| 534 | - intro k hk l n x hx i hi | |
| 535 | - rcases Finset.mem_insert.mp hk with he | hk | |
| 536 | - · subst k | |
| 537 | - exact (ha l n x hx i hi).trans (majorant_enlarge s (w l) α hA | |
| 538 | - (le_add_of_nonneg_right hB) (Nat.le_add_right _ _) n x | |
| 539 | - ((hf j (Finset.mem_insert_self _ _)).weight_nonneg l n x hx)) | |
| 540 | - · exact (hb k hk l n x hx i hi).trans (majorant_enlarge s (w l) α hB | |
| 541 | - (le_add_of_nonneg_left hA) (Nat.le_add_left _ _) n x | |
| 542 | - ((hf k (Finset.mem_insert_of_mem hk)).weight_nonneg l n x hx)) | |
| 543 | - refine ⟨fun l => (hf l.2.1 l.2.2).weight_nonneg l.1, | |
| 544 | - fun l => (hf l.2.1 l.2.2).smooth l.1, ?_⟩ | |
| 545 | - intro N | |
| 546 | - obtain ⟨C,hC,m,hb⟩ := hbounds N | |
| 547 | - exact ⟨C,hC,m,fun l => hb l.2.1 l.2.2 l.1⟩ | |
| 548 | - | |
| 549 | 482 | end FiniteHarmonics |
| 550 | 483 | |
| 551 | 484 | section ReferenceControl |
| @@ -573,130 +506,6 @@ noncomputable def phasePatch (s : StripData P) (F : PhaseConstruction D) | ||
| 573 | 506 | phaseNeighborhood s F χ g l n k ∩ |
| 574 | 507 | {x | ((g l n).coordinates k x.2).1 ∈ Icc (-(r l n)) (r l n)} |
| 575 | 508 | |
| 576 | -theorem phaseNeighborhood_open (s : StripData P) (F : PhaseConstruction D) | |
| 577 | - (χ : P →L[ℝ] PhaseCalculus.Slow) (g : Label → ℕ → Geometry) | |
| 578 | - (l : Label) (n : ℕ) (k : Frequency) : | |
| 579 | - IsOpen (phaseNeighborhood s F χ g l n k) := | |
| 580 | - (s.isOpen_domain.preimage continuous_fst).inter | |
| 581 | - (((D.isOpen (l,n)).preimage (χ.continuous.comp continuous_fst)).inter | |
| 582 | - (isOpen_Ioo.preimage (((g l n).coordinates_contDiff k).continuous.comp continuous_snd |>.snd))) | |
| 583 | - | |
| 584 | -/-- The output majorant is this same native Gaussian on the phase patch; | |
| 585 | -there is no replacement by an unweighted bound. -/ | |
| 586 | -theorem phasePatch_envelope (s : StripData P) (F : PhaseConstruction D) | |
| 587 | - (χ : P →L[ℝ] PhaseCalculus.Slow) (g : Label → ℕ → Geometry) (r : Label → ℕ → ℝ) | |
| 588 | - (hsep : ∀ l n, WaveEnvelopeTransport.Separated (g l n) (r l n) (F.L (l,n))) | |
| 589 | - {l : Label} {n : ℕ} {k : Frequency} {x : P × Plane} | |
| 590 | - (hx : x ∈ phasePatch s F χ g r l n k) : | |
| 591 | - groupedEnvelope g r (fun l n => F.L (l,n)) | |
| 592 | - (fun l n => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n))) l n x = | |
| 593 | - referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)) ((g l n).coordinates k x.2).2 := | |
| 594 | - WaveEnvelopeTransport.copyEnvelope_eq_copy (hsep l n) _ | |
| 595 | - ⟨hx.2,hx.1.2.2.1.le,hx.1.2.2.2.le⟩ | |
| 596 | - | |
| 597 | -theorem selected_copy_smooth (s : StripData P) (F : PhaseConstruction D) | |
| 598 | - (χ : P →L[ℝ] PhaseCalculus.Slow) (g : Label → ℕ → Geometry) | |
| 599 | - (l : Label) (n : ℕ) (k : Frequency) : | |
| 600 | - (PrimaryCopyBridge.copyFrame (nativeFrame (F.frame (l,n)) χ) (g l n) k).SmoothOn | |
| 601 | - (phaseNeighborhood s F χ g l n k ×ˢ F.V (l,n)) := by | |
| 602 | - change (PrimaryCopyBridge.reindex (F.frame (l,n)) (fun x : P × Plane => χ x.1)).SmoothOn _ | |
| 603 | - exact PrimaryCopyBridge.reindex_smoothOn _ _ ((selected_frame_jets F).smoothOn (l,n)) | |
| 604 | - (frameArgument χ).contDiff.contDiffOn (fun z hz => ⟨hz.1.2.1,hz.2⟩) | |
| 605 | - | |
| 606 | -/-- The reference/native control is assembled from the selected phase and | |
| 607 | -the current source class. Its energy and all input jets are conclusions. | |
| 608 | -Only the geometric separation and scale comparison remain geometric inputs. -/ | |
| 609 | -noncomputable def referenceControl | |
| 610 | - (s : StripData P) (F : PhaseConstruction D) (χ : P →L[ℝ] PhaseCalculus.Slow) | |
| 611 | - (g : Label → ℕ → Geometry) (r : Label → ℕ → ℝ) | |
| 612 | - (hscale : ∀ l n, D.scale (l,n) = s.slow n) | |
| 613 | - (hsep : ∀ l n, WaveEnvelopeTransport.Separated (g l n) (r l n) (F.L (l,n))) | |
| 614 | - {A : ℝ} {a : ℕ} (hA : 1 ≤ A) | |
| 615 | - (hgeometry : ∀ l n, CommonCoverClass.argumentCost (g l n) ≤ A*s.slow n^a) | |
| 616 | - (j : ℤ) (hj : j ≠ 0) {α : ℝ} (f : Label → ℕ → P × Plane → ProblemStatement.Space) | |
| 617 | - (hf : UniformWaveClass (CommonCoverClass.sourceStrip s) | |
| 618 | - (groupedEnvelope g r (fun l n => F.L (l,n)) | |
| 619 | - (fun l n => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)))) α f) : | |
| 620 | - ParticularCopyBounds.UniformModalControl (CommonCoverClass.sourceStrip s) α | |
| 621 | - (fun l n => nativeFrame (F.frame (l,n)) χ) | |
| 622 | - (fun l n => PrimaryCopyBridge.frameTangentData (nativeFrame (F.frame (l,n)) χ) j (f l n)) | |
| 623 | - j g (fun l n => F.L (l,n)) | |
| 624 | - (fun l n => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n))) | |
| 625 | - (phasePatch s F χ g r) := by | |
| 626 | - let K := F.M + Real.exp ((F.E+4*F.C)*F.M) + A + 1 | |
| 627 | - have hKM : F.M ≤ K := by dsimp [K]; linarith [Real.exp_pos ((F.E+4*F.C)*F.M)] | |
| 628 | - have hKA : A ≤ K := by dsimp [K]; linarith [F.one_le_M, Real.exp_pos ((F.E+4*F.C)*F.M)] | |
| 629 | - have hK : 1 ≤ K := F.one_le_M.trans hKM | |
| 630 | - have hnonneg : 0 ≤ F.E+4*F.C := by linarith [F.C_nonneg,F.E_nonneg] | |
| 631 | - have hlength (l : Label) (n : ℕ) : F.L (l,n) ≤ F.M*D.scale (l,n) := by | |
| 632 | - have hh := F.slot (l,n) (F.L (l,n)) (F.interval (l,n) ⟨(F.L_pos (l,n)).le,le_rfl⟩) | |
| 633 | - simpa only [abs_of_pos (F.L_pos (l,n))] using hh | |
| 634 | - have hsourceSmooth (l : Label) (n : ℕ) (k : Frequency) : | |
| 635 | - ContDiffOn ℝ ∞ (PrimaryCopyBridge.copySource (f l n) (g l n) k) | |
| 636 | - (phaseNeighborhood s F χ g l n k ×ˢ F.V (l,n)) := | |
| 637 | - PrimaryCopyBridge.copySource_contDiffOn (g l n) k (hf.smooth l n) | |
| 638 | - (fun z hz => hz.1.1) | |
| 639 | - refine { | |
| 640 | - neighborhood := phaseNeighborhood s F χ g | |
| 641 | - open_neighborhood := phaseNeighborhood_open s F χ g | |
| 642 | - contains := fun _ _ _ _ _ hx => hx.1 | |
| 643 | - interval := fun l n => F.V (l,n) | |
| 644 | - open_interval := fun l n => F.openV (l,n) | |
| 645 | - length_pos := fun l n => F.L_pos (l,n) | |
| 646 | - contains_interval := fun l n => F.interval (l,n) | |
| 647 | - bridge := ?_ | |
| 648 | - coefficient_smooth := fun l n k => (selected_copy_smooth s F χ g l n k).coefficient j | |
| 649 | - forcing_smooth := fun l n k => (selected_copy_smooth s F χ g l n k).forcing (hsourceSmooth l n k) | |
| 650 | - columns_smooth := ?_ | |
| 651 | - current_slot := fun _ _ _ _ hx => hx.2.2 | |
| 652 | - rate := fun l n => GaussianEnvelope.referenceRate (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)) | |
| 653 | - envelope_pos := fun _ _ _ => referenceP_pos _ _ _ _ | |
| 654 | - envelope_deriv := fun _ _ _ => referenceP_hasDerivAt _ _ _ _ | |
| 655 | - errorRate := fun l n => (F.E+4*F.C)/D.scale (l,n) | |
| 656 | - errorRate_nonneg := fun l n => div_nonneg hnonneg (zero_le_one.trans (D.one_le_scale (l,n))) | |
| 657 | - constant := K | |
| 658 | - constant_ge_one := hK | |
| 659 | - coordinate_power := a | |
| 660 | - length_bound := ?_ | |
| 661 | - exponential_bound := ?_ | |
| 662 | - coordinate_bound := fun l n => (hgeometry l n).trans | |
| 663 | - (mul_le_mul_of_nonneg_right hKA (pow_nonneg (zero_le_one.trans (s.one_le_slow n)) _)) | |
| 664 | - energy := ?_ | |
| 665 | - input_jets := ?_ } | |
| 666 | - · intro l n k | |
| 667 | - apply PrimaryCopyBridge.inputs_of_smooth_frame | |
| 668 | - · exact frame_smooth_mono (selected_copy_smooth s F χ g l n k) | |
| 669 | - (prod_mono Subset.rfl (F.interval (l,n))) | |
| 670 | - · exact (hsourceSmooth l n k).mono (prod_mono Subset.rfl (F.interval (l,n))) | |
| 671 | - · intro x hx | |
| 672 | - exact PrimaryCopyBridge.reindex_kinematics _ _ (selected_kinematics F (l,n) hx.2.1) | |
| 673 | - · intro l n k i | |
| 674 | - have hs := (synthesisColumn_polynomial (selected_frame_jets F) i).smooth (l,n) | |
| 675 | - exact hs.comp (frameArgument χ).contDiff.contDiffOn (fun z hz => ⟨hz.1.2.1,hz.2⟩) | |
| 676 | - · intro l n | |
| 677 | - change F.L (l,n) ≤ K*s.slow n | |
| 678 | - rw [← hscale l n] | |
| 679 | - exact (hlength l n).trans (mul_le_mul_of_nonneg_right hKM (zero_le_one.trans (D.one_le_scale (l,n)))) | |
| 680 | - · intro l n | |
| 681 | - have hS : 0 < D.scale (l,n) := zero_lt_one.trans_le (D.one_le_scale (l,n)) | |
| 682 | - have hμ : 0 ≤ (F.E+4*F.C)/D.scale (l,n) := div_nonneg hnonneg hS.le | |
| 683 | - have he : ((F.E+4*F.C)/D.scale (l,n))*F.L (l,n) ≤ (F.E+4*F.C)*F.M := by | |
| 684 | - calc | |
| 685 | - _ ≤ ((F.E+4*F.C)/D.scale (l,n))*(F.M*D.scale (l,n)) := | |
| 686 | - mul_le_mul_of_nonneg_left (hlength l n) hμ | |
| 687 | - _ = _ := by field_simp | |
| 688 | - apply (Real.exp_le_exp.mpr he).trans | |
| 689 | - dsimp [K] | |
| 690 | - linarith [F.one_le_M] | |
| 691 | - · intro l n k x hx hcell v hv z | |
| 692 | - exact selected_energy F (l,n) hcell.1.2.1 hv hj z | |
| 693 | - · intro N | |
| 694 | - obtain ⟨C,hC,m,hb⟩ := selected_input_jets s F χ g r hscale hsep hA hgeometry | |
| 695 | - (fun _ => j) (J := |(j : ℝ)|+1) (by linarith [abs_nonneg (j:ℝ)]) | |
| 696 | - (fun _ => by linarith) hf N | |
| 697 | - exact ⟨C,hC,m,fun l n k x hx hcell i hi v hv => | |
| 698 | - hb l n k x hx hcell.1.2.1 hcell.2 i hi v hv⟩ | |
| 699 | - | |
| 700 | 509 | end ReferenceControl |
| 701 | 510 | |
| 702 | 511 | section ActualSourceControl |
| @@ -704,39 +513,6 @@ section ActualSourceControl | ||
| 704 | 513 | variable {Label P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 705 | 514 | {D : PhaseJetBounds.Domain (Label × ℕ) PhaseCalculus.Slow} |
| 706 | 515 | |
| 707 | -/-- The actual HR-source control, with an arbitrary fixed real projection. | |
| 708 | -The two applications `part = realPart` and `part = imagPart` are the two | |
| 709 | -literal Volterra solves in `complexCopyCoefficients`. -/ | |
| 710 | -noncomputable def actualSourceControl | |
| 711 | - (s : StripData P) (F : PhaseConstruction D) (χ : P →L[ℝ] PhaseCalculus.Slow) | |
| 712 | - (g : Label → ℕ → Geometry) (r : Label → ℕ → ℝ) | |
| 713 | - (hscale : ∀ l n, D.scale (l,n) = s.slow n) | |
| 714 | - (hsep : ∀ l n, WaveEnvelopeTransport.Separated (g l n) (r l n) (F.L (l,n))) | |
| 715 | - {K : ℝ} {a : ℕ} (hK : 1 ≤ K) | |
| 716 | - (hgeometry : ∀ l n, CommonCoverClass.argumentCost (g l n) ≤ K*s.slow n^a) | |
| 717 | - (c : CorrectionState.Context (P × Plane)) (u : CorrectionState.State (P × Plane)) | |
| 718 | - (b : Label → CorrectionState.HarmonicBlock (P × Plane)) | |
| 719 | - (G A : Label → HarmonicResidual.BlockCoefficients (P × Plane)) (j : ℤ) (hj : j ≠ 0) | |
| 720 | - {α : ℝ} | |
| 721 | - (h : ∀ i : Fin 3, UniformWaveClass (CommonCoverClass.sourceStrip s) | |
| 722 | - (groupedEnvelope g r (fun l n => F.L (l,n)) | |
| 723 | - (fun l n => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)))) α (fun l n x => | |
| 724 | - (HarmonicResidual.residualBlock c u (b l) (G l) (A l)).velocity n i j x)) | |
| 725 | - (part : HarmonicCalculus.ComplexVector →L[ℝ] ProblemStatement.Space) : | |
| 726 | - ParticularCopyBounds.UniformModalControl (CommonCoverClass.sourceStrip (angleStrip s)) α | |
| 727 | - (fun l n => nativeFrame (F.frame (l,n)) (χ.comp (ContinuousLinearMap.fst ℝ P ℝ))) | |
| 728 | - (fun l n => PrimaryCopyBridge.frameTangentData | |
| 729 | - (nativeFrame (F.frame (l,n)) (χ.comp (ContinuousLinearMap.fst ℝ P ℝ))) j | |
| 730 | - (fun x => part (ParticularWaveAssembly.sourceFamily c u (b l) (G l) (A l) j n x))) | |
| 731 | - j g (fun l n => F.L (l,n)) | |
| 732 | - (fun l n => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n))) | |
| 733 | - (phasePatch (angleStrip s) F (χ.comp (ContinuousLinearMap.fst ℝ P ℝ)) g r) := | |
| 734 | - referenceControl (angleStrip s) F (χ.comp (ContinuousLinearMap.fst ℝ P ℝ)) g r | |
| 735 | - hscale hsep hK hgeometry j hj _ | |
| 736 | - ((sourceFamily_uniform s g r (fun l n => F.L (l,n)) | |
| 737 | - (fun l n => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n))) α c u b G A | |
| 738 | - (fun _ => j) h).map part) | |
| 739 | - | |
| 740 | 516 | end ActualSourceControl |
| 741 | 517 | |
| 742 | 518 | section ClockTransport |
| @@ -1054,62 +830,6 @@ theorem scaled_selected_copy_energy | ||
| 1054 | 830 | simp only [zero_add] at he |
| 1055 | 831 | exact he |
| 1056 | 832 | |
| 1057 | -/-- All input jets at every target band are derived from the selected | |
| 1058 | -reference phase, bounded affine clock data, and the *current* residual | |
| 1059 | -source class on that target band. Neither transported modal energies nor | |
| 1060 | -transported output bounds are inputs. -/ | |
| 1061 | -theorem scaled_selected_input_jets | |
| 1062 | - (s : StripData P) (F : PhaseConstruction D) | |
| 1063 | - (V : (Label × ℕ) → Set ℝ) (hV : ∀ i, IsOpen (V i)) | |
| 1064 | - (φ : (Label × ℕ) → PhaseCalculus.Slow →L[ℝ] PhaseCalculus.Slow) | |
| 1065 | - (rate normalScale : (Label × ℕ) → ℝ) | |
| 1066 | - (χ : P →L[ℝ] PhaseCalculus.Slow) | |
| 1067 | - {A B R : ℝ} {a b : ℕ} (hA : 1 ≤ A) (hB : 1 ≤ B) (hR : 1 ≤ R) | |
| 1068 | - (hrateBound : ∀ i, |rate i| ≤ R) (hnormal : ∀ i, |normalScale i| ≤ R) | |
| 1069 | - (hlin : ∀ i, ‖transportArgument (φ i) (rate i)‖ ≤ A*T.scale i^a) | |
| 1070 | - (hscale : ∀ i, D.scale i ≤ B*T.scale i^b) | |
| 1071 | - (hmap : ∀ i, MapsTo (fun z : PhaseCalculus.Slow × ℝ => (φ i z.1,rate i*z.2)) | |
| 1072 | - ((T.slot V hV).carrier i) ((D.slot F.V F.openV).carrier i)) | |
| 1073 | - (hinterval : ∀ i, Icc 0 (F.L i/rate i) ⊆ V i) | |
| 1074 | - (g : Label → ℕ → Geometry) (r : Label → ℕ → ℝ) | |
| 1075 | - (hscaleTarget : ∀ l n, T.scale (l,n) = s.slow n) | |
| 1076 | - (hsep : ∀ l n, WaveEnvelopeTransport.Separated (g l n) (r l n) (F.L (l,n)/rate (l,n))) | |
| 1077 | - {C : ℝ} {c : ℕ} (hC : 1 ≤ C) | |
| 1078 | - (hgeometry : ∀ l n, CommonCoverClass.argumentCost (g l n) ≤ C*s.slow n^c) | |
| 1079 | - (harmonic : Label → ℤ) {J : ℝ} (hJ : 1 ≤ J) (hj : ∀ l, |(harmonic l : ℝ)| ≤ J) | |
| 1080 | - {α : ℝ} {f : Label → ℕ → P × Plane → ProblemStatement.Space} | |
| 1081 | - (hf : UniformWaveClass (CommonCoverClass.sourceStrip s) | |
| 1082 | - (groupedEnvelope g r (fun l n => F.L (l,n)/rate (l,n)) | |
| 1083 | - (fun l n v => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)) (rate (l,n)*v))) α f) | |
| 1084 | - (N : ℕ) : | |
| 1085 | - ∃ C0 : ℝ, 0 ≤ C0 ∧ ∃ m : ℕ, ∀ l n k (x : P × Plane), x.1 ∈ s.domain → | |
| 1086 | - χ x.1 ∈ T.carrier (l,n) → | |
| 1087 | - ((g l n).coordinates k x.2).1 ∈ Icc (-(r l n)) (r l n) → | |
| 1088 | - ∀ j ≤ N, ∀ v ∈ Icc 0 (F.L (l,n)/rate (l,n)), | |
| 1089 | - ‖iteratedFDeriv ℝ j | |
| 1090 | - ((PrimaryCopyBridge.copyFrame (nativeFrame (scaledSelectedFrame F φ rate normalScale (l,n)) χ) | |
| 1091 | - (g l n) k).coefficient (harmonic l)) (x,v)‖ ≤ C0*s.growth n x.1^m ∧ | |
| 1092 | - ‖iteratedFDeriv ℝ j | |
| 1093 | - ((PrimaryCopyBridge.copyFrame (nativeFrame (scaledSelectedFrame F φ rate normalScale (l,n)) χ) | |
| 1094 | - (g l n) k).forcing (PrimaryCopyBridge.copySource (f l n) (g l n) k)) (x,v)‖ ≤ | |
| 1095 | - (s.epsilon n^α*Real.sqrt (s.zeta x.1))*C0*s.growth n x.1^m * | |
| 1096 | - referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)) (rate (l,n)*v) ∧ | |
| 1097 | - ∀ i : Fin 2, ‖iteratedFDeriv ℝ j | |
| 1098 | - (synthesisColumn (PrimaryCopyBridge.copyFrame | |
| 1099 | - (nativeFrame (scaledSelectedFrame F φ rate normalScale (l,n)) χ) (g l n) k) i) | |
| 1100 | - (x,v)‖ ≤ C0*s.growth n x.1^m := by | |
| 1101 | - have hd : FrameJets (T.slot V hV) (scaledSelectedFrame F φ rate normalScale) := by | |
| 1102 | - have he := transported_frame_jets (selected_frame_jets F) φ (fun _ => 0) (fun _ => 0) | |
| 1103 | - rate normalScale hA hB hR hrateBound hnormal hlin hscale | |
| 1104 | - (by simpa only [add_zero,zero_add] using hmap) | |
| 1105 | - simp only [add_zero] at he ⊢ | |
| 1106 | - exact he | |
| 1107 | - exact frame_input_jets s V hV (scaledSelectedFrame F φ rate normalScale) | |
| 1108 | - (fun i => F.L i/rate i) | |
| 1109 | - (fun l n v => referenceP (F.lam (l,n)) (F.u (l,n)) (F.L (l,n)) (rate (l,n)*v)) | |
| 1110 | - hd hinterval (fun _ _ _ => (referenceP_pos _ _ _ _).le) χ g r hscaleTarget hsep hC hgeometry | |
| 1111 | - harmonic hJ hj hf N | |
| 1112 | - | |
| 1113 | 833 | end TransportedSelectedInputs |
| 1114 | 834 | |
| 1115 | 835 | end NavierStokes.ActualParticularControl |
+0 −12 NavierStokes/ActualParticularCycleData.lean View file
| @@ -326,13 +326,6 @@ theorem native_gaussian_class (H : Invariant σ x) (hN : ActualCarrierGeometry.g | ||
| 326 | 326 | (native_inputSupport H) hN j hj (native_source_class H j hj) β).each (l.2,l.1) |
| 327 | 327 | rwa [← nativeData_eq_data H l j] at hg |
| 328 | 328 | |
| 329 | -theorem native_raw_smooth (H : Invariant σ x) (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) | |
| 330 | - (l : Index B N0) (j : ℤ) (hj : j ≠ 0) (n : ℕ) : | |
| 331 | - ContDiffOn ℝ ∞ ((nativeData x l j).common.amplitude n) | |
| 332 | - (ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion) := | |
| 333 | - (ActualWaveRegularityData.particular_full_regular_of_class (native_raw_class H hN l j hj) | |
| 334 | - (fun n _ hz hr => (native_common_boundary H l j n hz hr).1) n).1 | |
| 335 | - | |
| 336 | 329 | theorem native_pressure_smooth (H : Invariant σ x) (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 337 | 330 | (l : Index B N0) (j : ℤ) (hj : j ≠ 0) (n : ℕ) : |
| 338 | 331 | ContDiffOn ℝ ∞ ((nativeData x l j).common.pressure n) |
| @@ -811,11 +804,6 @@ theorem actual_data (H : Invariant σ x) (T : ActualCyclePeriodicity.Periodic x) | ||
| 811 | 804 | support := (field_regular H T hN).2.2 |
| 812 | 805 | linear := linear_bounds H hN |
| 813 | 806 | |
| 814 | -theorem actual_inputs (H : Invariant σ x) (T : ActualCyclePeriodicity.Periodic x) | |
| 815 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (hσ : 1/5 ≤ σ) : | |
| 816 | - ActualParticularMeanGain.Inputs x σ := | |
| 817 | - (actual_data H T hN hσ).inputs H hN | |
| 818 | - | |
| 819 | 807 | end Outputs |
| 820 | 808 | |
| 821 | 809 | end NavierStokes.ActualParticularCycleData |
+0 −48 NavierStokes/ActualParticularDynamics.lean View file
| @@ -908,26 +908,6 @@ theorem native_cancellation {x : CycleState (Label B N0)} (Hc : PreservesCarrier | ||
| 908 | 908 | (native_geometry x l j n hR hT).radial_radius (data x l j).source |
| 909 | 909 | (native_principal Hc j hj Hs l n k hz) |
| 910 | 910 | |
| 911 | -theorem native_realizes_curl {x : CycleState (Label B N0)} (Hc : PreservesCarriers x) | |
| 912 | - {α : ℝ} (j : ℤ) (hj : j ≠ 0) | |
| 913 | - (Hs : LabelSumBounds.UniformWaveClass | |
| 914 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip slowStrip)) | |
| 915 | - nativeEnvelope α (currentSource x j)) | |
| 916 | - (l : Label B N0) (n : ℕ) (k : Frequency) {z : Native} | |
| 917 | - (hz : z ∈ controlPatch l n k) : | |
| 918 | - CurlClassBounds.cylindricalCurl ((data x l j).background.radius n) | |
| 919 | - ((directions (B := B)).radialField n) (fun _ => (directions (B := B)).angular) | |
| 920 | - ((directions (B := B)).axialField (ParticularParameters.nativeStrip associatedStrip) n) | |
| 921 | - (((data x l j).localized k).curlPotential (ParticularParameters.nativeStrip associatedStrip) | |
| 922 | - (directions (B := B)) n) z = | |
| 923 | - vectorMode ((data x l j).background.frequency n) ((data x l j).background.phase n) | |
| 924 | - (((data x l j).corrected (ParticularParameters.nativeStrip associatedStrip) | |
| 925 | - (directions (B := B)) k).amplitude n) z := | |
| 926 | - ClosedNativeWaveIdentities.native_realizes_curl_at (a := data x l j) | |
| 927 | - (s := ParticularParameters.nativeStrip associatedStrip) (d := directions (B := B)) n k z | |
| 928 | - (native_rawJets Hc j hj Hs l n k hz) (frequency_ne Hc l j hj n) | |
| 929 | - (native_tangency_germ Hc j hj Hs l n k hz).eq_of_nhds | |
| 930 | - | |
| 931 | 911 | theorem native_divergence_zero {x : CycleState (Label B N0)} (Hc : PreservesCarriers x) |
| 932 | 912 | {α : ℝ} (j : ℤ) (hj : j ≠ 0) |
| 933 | 913 | (Hs : LabelSumBounds.UniformWaveClass |
| @@ -1014,27 +994,6 @@ theorem common_cancellation {x : CycleState (Label B N0)} (Hc : PreservesCarrier | ||
| 1014 | 994 | exact CorrectionStep.local_cancellation_of_zero_germs _ _ _ ha' hp' |
| 1015 | 995 | ((data x l j).localGaussian_zero_of_fields _ ha hf) hf |
| 1016 | 996 | |
| 1017 | -theorem common_realizes_curl {x : CycleState (Label B N0)} (Hc : PreservesCarriers x) | |
| 1018 | - {α : ℝ} (j : ℤ) (hj : j ≠ 0) | |
| 1019 | - (Hs : LabelSumBounds.UniformWaveClass | |
| 1020 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip slowStrip)) | |
| 1021 | - nativeEnvelope α (currentSource x j)) | |
| 1022 | - (l : Label B N0) (S : SupportData x l j) (n : ℕ) {z : Native} | |
| 1023 | - (hz : z ∈ (ParticularParameters.nativeStrip associatedStrip).domain) : | |
| 1024 | - CurlClassBounds.cylindricalCurl ((data x l j).background.radius n) | |
| 1025 | - ((directions (B := B)).radialField n) (fun _ => (directions (B := B)).angular) | |
| 1026 | - ((directions (B := B)).axialField (ParticularParameters.nativeStrip associatedStrip) n) | |
| 1027 | - ((data x l j).common.curlPotential (ParticularParameters.nativeStrip associatedStrip) | |
| 1028 | - (directions (B := B)) n) z = | |
| 1029 | - vectorMode ((actualWave x l j).frequency n) ((actualWave x l j).phase n) | |
| 1030 | - ((actualWave x l j).amplitude n) z := by | |
| 1031 | - apply (data x l j).common_realizes_curl S.cells S.cutoff_support | |
| 1032 | - (ParticularParameters.nativeStrip associatedStrip) (directions (B := B)) ?_ n hz | |
| 1033 | - intro m k y hy hk | |
| 1034 | - rcases S.localized_alternative hy hk with hc | ⟨ha,_⟩ | |
| 1035 | - · exact native_realizes_curl Hc j hj Hs l m k hc | |
| 1036 | - · exact (LocalizedCurlRealization.native_identities_of_zero_germ _ _ _ ha).1 | |
| 1037 | - | |
| 1038 | 997 | theorem common_divergence_zero {x : CycleState (Label B N0)} (Hc : PreservesCarriers x) |
| 1039 | 998 | {α : ℝ} (j : ℤ) (hj : j ≠ 0) |
| 1040 | 999 | (Hs : LabelSumBounds.UniformWaveClass |
| @@ -1536,13 +1495,6 @@ theorem cycle_modeSolenoidal {x : CycleState (Label B N0)} (Hc : PreservesCarrie | ||
| 1536 | 1495 | StateReindex.context_roundtrip] at hh ⊢ |
| 1537 | 1496 | exact hh |
| 1538 | 1497 | |
| 1539 | -theorem actualUpdate_eq_canonical {x : CycleState (Label B N0)} (Hc : PreservesCarriers x) | |
| 1540 | - (l : Label B N0) (N : ℕ) : actualUpdate x l N = | |
| 1541 | - (canonicalParameters l).updateBlock associatedStrip (assembly x l).context (assembly x l).state | |
| 1542 | - (assembly x l).carrierBlock (assembly x l).gaussianInput (assembly x l).aliasInput N := by | |
| 1543 | - unfold actualUpdate | |
| 1544 | - rw [parameters_eq_canonical x l (carrier_frequency Hc l)] | |
| 1545 | - | |
| 1546 | 1498 | |
| 1547 | 1499 | theorem linearBlockField_pull {D E : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 1548 | 1500 | [NormedAddCommGroup E] [NormedSpace ℝ E] (e : D ≃ₗᵢ[ℝ] E) |
+0 −52 NavierStokes/ActualParticularPotentialCoherence.lean View file
| @@ -65,13 +65,6 @@ theorem potential_weight {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) (h : ℝ) : | ||
| 65 | 65 | unfold CoordinateAlgebra.A |
| 66 | 66 | ring |
| 67 | 67 | |
| 68 | -theorem pressure_weight {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) (h : ℝ) : | |
| 69 | - pressureWeight h Q Qr = (velocityWeight h Q Qr) ^ 2 := by | |
| 70 | - rw [pow_two, velocityWeight, ratioPower_mul hQ hQr] | |
| 71 | - unfold pressureWeight | |
| 72 | - congr 1 | |
| 73 | - ring | |
| 74 | - | |
| 75 | 68 | variable {B N0 : ℕ} |
| 76 | 69 | |
| 77 | 70 | abbrev Label := ActualParticularStageControls.Label |
| @@ -232,49 +225,4 @@ theorem pressureMode_band (x : CorrectionStep.CycleState (Label B N0)) (l : Labe | ||
| 232 | 225 | j hj z hz (by rw [ActualParticularCoherence.parameterChange_slow]; exact hmap hz)).2.1 |
| 233 | 226 | · exact ActualParticularCoherence.phase_band x l n m k hi HB j hj (hf n) (hf m) z hz |
| 234 | 227 | |
| 235 | -theorem pressureMode_band_sq (x : CorrectionStep.CycleState (Label B N0)) (l : Label B N0) | |
| 236 | - (I : ActualParticularCoherence.SourceInputs x l) | |
| 237 | - (hfrequency : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier h n) | |
| 238 | - {V : Set TorusInverse.Plane} (hV : IsOpen V) (htime : ∀ s ∈ V, 0 < s.1) | |
| 239 | - (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) | |
| 240 | - (hmap : MapsTo (GaugeStateCoherence.bandSlowEquiv h n m) V standardRegion.carrier) | |
| 241 | - (HS : ActualReferenceRebase.StateComparison x V n m k) | |
| 242 | - (HB : ActualReferenceRebase.BlockComparison x l V n m k) | |
| 243 | - (j : ℤ) (hj : j ≠ 0) (z : WaveSpace) (hz : z ∈ ActualParticularCoherence.waveDomain V) : | |
| 244 | - pressureMode x l j n z = (velocityWeight h (ChartScales.Q n) (ChartScales.Q m)) ^ 2 • | |
| 245 | - pressureMode x l j m (ActualParticularCoherence.bandMap n m z) := by | |
| 246 | - simpa only [pressure_weight (ChartScales.Q_pos n) (ChartScales.Q_pos m)] using | |
| 247 | - pressureMode_band x l I hfrequency hV htime n m k hi hmap HS HB j hj z hz | |
| 248 | - | |
| 249 | -/-- Equality holds as an ambient germ at every point of the open slow | |
| 250 | -overlap, including all free radial, angular, and fast coordinates. -/ | |
| 251 | -theorem potential_band_germ (x : CorrectionStep.CycleState (Label B N0)) (l : Label B N0) | |
| 252 | - (I : ActualParticularCoherence.SourceInputs x l) | |
| 253 | - (hfrequency : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier h n) | |
| 254 | - {V : Set TorusInverse.Plane} (hV : IsOpen V) (htime : ∀ s ∈ V, 0 < s.1) | |
| 255 | - (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) | |
| 256 | - (hmap : MapsTo (GaugeStateCoherence.bandSlowEquiv h n m) V standardRegion.carrier) | |
| 257 | - (HS : ActualReferenceRebase.StateComparison x V n m k) | |
| 258 | - (HB : ActualReferenceRebase.BlockComparison x l V n m k) | |
| 259 | - (j : ℤ) (hj : j ≠ 0) (z : WaveSpace) (hz : z ∈ ActualParticularCoherence.waveDomain V) : | |
| 260 | - potential x l j n =ᶠ[𝓝 z] fun y => ratioPower (ChartScales.Q n) (ChartScales.Q m) h • | |
| 261 | - potential x l j m (ActualParticularCoherence.bandMap n m y) := by | |
| 262 | - filter_upwards [(ActualParticularCoherence.waveDomain_open hV).mem_nhds hz] with y hy | |
| 263 | - exact potential_band x l I hfrequency hV htime n m k hi hmap HS HB j hj y hy | |
| 264 | - | |
| 265 | -theorem pressureMode_band_germ (x : CorrectionStep.CycleState (Label B N0)) (l : Label B N0) | |
| 266 | - (I : ActualParticularCoherence.SourceInputs x l) | |
| 267 | - (hfrequency : ∀ n, (x.coefficients.blocks l).frequency n = ChartScales.carrier h n) | |
| 268 | - {V : Set TorusInverse.Plane} (hV : IsOpen V) (htime : ∀ s ∈ V, 0 < s.1) | |
| 269 | - (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) | |
| 270 | - (hmap : MapsTo (GaugeStateCoherence.bandSlowEquiv h n m) V standardRegion.carrier) | |
| 271 | - (HS : ActualReferenceRebase.StateComparison x V n m k) | |
| 272 | - (HB : ActualReferenceRebase.BlockComparison x l V n m k) | |
| 273 | - (j : ℤ) (hj : j ≠ 0) (z : WaveSpace) (hz : z ∈ ActualParticularCoherence.waveDomain V) : | |
| 274 | - pressureMode x l j n =ᶠ[𝓝 z] | |
| 275 | - fun y => pressureWeight h (ChartScales.Q n) (ChartScales.Q m) • | |
| 276 | - pressureMode x l j m (ActualParticularCoherence.bandMap n m y) := by | |
| 277 | - filter_upwards [(ActualParticularCoherence.waveDomain_open hV).mem_nhds hz] with y hy | |
| 278 | - exact pressureMode_band x l I hfrequency hV htime n m k hi hmap HS HB j hj y hy | |
| 279 | - | |
| 280 | 228 | end NavierStokes.ActualParticularPotentialCoherence |
+0 −811 NavierStokes/ActualParticularRealization.lean View file
| @@ -24,21 +24,12 @@ abbrev Parameter := PhysicalParticularWave.Parameter | ||
| 24 | 24 | abbrev Plane := TorusInverse.Plane |
| 25 | 25 | abbrev Associated := Parameter × Plane |
| 26 | 26 | abbrev WaveSpace := PhysicalParticularWave.WaveSpace |
| 27 | -abbrev Cylinder := PhysicalParticularWave.Cylinder | |
| 28 | 27 | |
| 29 | 28 | section Reindex |
| 30 | 29 | |
| 31 | 30 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 32 | 31 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 33 | 32 | |
| 34 | -/-- An invertible linear coordinate change transports the actual Fréchet | |
| 35 | -derivative, including its totalized value away from differentiability. -/ | |
| 36 | -theorem normal_pull (e : E ≃ₗᵢ[ℝ] F) (R Φ : F → ℝ) (Vr Vθ Vz : F → F) : | |
| 37 | - phaseNormal (fun x => R (e x)) (StateReindex.vector e Vr) (StateReindex.vector e Vθ) | |
| 38 | - (StateReindex.vector e Vz) (fun x => Φ (e x)) = fun x => phaseNormal R Vr Vθ Vz Φ (e x) := by | |
| 39 | - funext x | |
| 40 | - simp only [phaseNormal, StateReindex.along_pull] | |
| 41 | - | |
| 42 | 33 | theorem curl_pull (e : E ≃ₗᵢ[ℝ] F) (R : F → ℝ) (Vr Vθ Vz : F → F) |
| 43 | 34 | (a : F → ComplexVector) : |
| 44 | 35 | cylindricalCurl (fun x => R (e x)) (StateReindex.vector e Vr) (StateReindex.vector e Vθ) |
| @@ -46,19 +37,6 @@ theorem curl_pull (e : E ≃ₗᵢ[ℝ] F) (R : F → ℝ) (Vr Vθ Vz : F → F) | ||
| 46 | 37 | funext x |
| 47 | 38 | simp only [cylindricalCurl, StateReindex.along_pull_component] |
| 48 | 39 | |
| 49 | -theorem realizedCoefficient_pull (e : E ≃ₗᵢ[ℝ] F) (K : ℝ) (R Φ : F → ℝ) | |
| 50 | - (Vr Vθ Vz : F → F) (a : F → ComplexVector) : | |
| 51 | - realizedCoefficient K (fun x => R (e x)) (StateReindex.vector e Vr) (StateReindex.vector e Vθ) | |
| 52 | - (StateReindex.vector e Vz) (fun x => Φ (e x)) (fun x => a (e x)) = | |
| 53 | - fun x => realizedCoefficient K R Vr Vθ Vz Φ a (e x) := by | |
| 54 | - have hc : coefficient (fun x => R (e x)) (StateReindex.vector e Vr) (StateReindex.vector e Vθ) | |
| 55 | - (StateReindex.vector e Vz) (fun x => Φ (e x)) (fun x => a (e x)) = | |
| 56 | - fun x => coefficient R Vr Vθ Vz Φ a (e x) := by | |
| 57 | - funext x | |
| 58 | - simp only [coefficient, normal_pull] | |
| 59 | - funext x | |
| 60 | - simp only [realizedCoefficient, hc, curlRemainder_eq, curl_pull] | |
| 61 | - | |
| 62 | 40 | /-- Phase agreement on a neighborhood suffices for the complete curl |
| 63 | 41 | correction; no global continuation of the phase identity is required. -/ |
| 64 | 42 | theorem realizedCoefficient_phase_germ {Φ Ψ : E → ℝ} {x : E} (hΦ : Φ =ᶠ[𝓝 x] Ψ) |
| @@ -105,144 +83,10 @@ variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | ||
| 105 | 83 | (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) |
| 106 | 84 | (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) |
| 107 | 85 | |
| 108 | -include H hn hr in | |
| 109 | -theorem raw_amplitude_pull (j : ℤ) : | |
| 110 | - (fun x => (raw D h gap j).amplitude n (PhysicalParticularWave.waveEquiv x)) = | |
| 111 | - PhysicalParticularWave.bandRaw D h (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 112 | - (gap n) ((j : ℝ) * D.carrierBlock.frequency n) j := by | |
| 113 | - funext x | |
| 114 | - exact congrFun (CorrectionStep.ParticularParameters.fromReference_coherent_amplitude | |
| 115 | - D h gap j n i H hn hr) (PhysicalParticularWave.waveEquiv x) | |
| 116 | - | |
| 117 | -include H hn hr in | |
| 118 | -theorem raw_pressure_pull (j : ℤ) (hk : (j : ℝ) * D.carrierBlock.frequency n ≠ 0) : | |
| 119 | - (fun x => (raw D h gap j).pressure n (PhysicalParticularWave.waveEquiv x)) = | |
| 120 | - PhysicalParticularWave.bandRawPressure D h (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 121 | - (gap n) ((j : ℝ) * D.carrierBlock.frequency n) j := by | |
| 122 | - funext x | |
| 123 | - exact congrFun (CorrectionStep.ParticularParameters.fromReference_coherent_pressure | |
| 124 | - D h gap j n i H hn hr hk) (PhysicalParticularWave.waveEquiv x) | |
| 125 | - | |
| 126 | -include H in | |
| 127 | -/-- The phase identity is derived on the full positive-radius lift from | |
| 128 | -the current-state band coherence and the same integer angular harmonic. -/ | |
| 129 | -theorem bandPhase_eq (j : ℤ) (hj : j ≠ 0) (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 130 | - {x : Cylinder} (hx : 0 < x.1.1) : | |
| 131 | - PhysicalParticularWave.bandPhase D h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 132 | - (gap n) ((j : ℝ) * D.carrierBlock.frequency n) j x = | |
| 133 | - (raw D h gap j).phase n (PhysicalParticularWave.waveEquiv x) := by | |
| 134 | - have hK : (j : ℝ) * D.carrierBlock.frequency n ≠ 0 := | |
| 135 | - mul_ne_zero (by exact_mod_cast hj) (hf n) | |
| 136 | - apply mul_left_cancel₀ hK | |
| 137 | - have htarget := actualCarrier_phase D.background D.carrierBlock j hf n | |
| 138 | - ((PhysicalParticularWave.waveEquiv x).1.1, (PhysicalParticularWave.waveEquiv x).2) | |
| 139 | - (PhysicalParticularWave.waveEquiv x).1.2 | |
| 140 | - have href := actualCarrier_phase D.background D.carrierBlock j hf D.reference.band | |
| 141 | - (PhysicalParticularWave.parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 142 | - (PhysicalParticularWave.waveEquiv x).1.1, CommonCoverSolve.coverPower (gap n) (PhysicalParticularWave.waveEquiv x).2) | |
| 143 | - (PhysicalParticularWave.waveEquiv x).1.2 | |
| 144 | - have hphase := H.block.phase | |
| 145 | - (x := ((PhysicalParticularWave.waveEquiv x).1.1, (PhysicalParticularWave.waveEquiv x).2)) hx | |
| 146 | - change D.carrierBlock.frequency n * D.carrierBlock.phase n _ = | |
| 147 | - D.carrierBlock.frequency D.reference.band * D.carrierBlock.phase D.reference.band _ at hphase | |
| 148 | - change ((j : ℝ) * D.carrierBlock.frequency n) * (raw D h gap j).phase n | |
| 149 | - (PhysicalParticularWave.waveEquiv x) = _ at htarget | |
| 150 | - change PhysicalParticularWave.referenceFrequency D j * PhysicalParticularWave.liftPhase D j | |
| 151 | - (PhysicalParticularWave.cylinderChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x) = _ at href | |
| 152 | - rw [hphase, H.block.angular] at htarget | |
| 153 | - unfold PhysicalParticularWave.bandPhase | |
| 154 | - calc | |
| 155 | - _ = PhysicalParticularWave.referenceFrequency D j * PhysicalParticularWave.liftPhase D j | |
| 156 | - (PhysicalParticularWave.cylinderChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x) := by | |
| 157 | - field_simp [hf n] | |
| 158 | - _ = _ := href.trans htarget.symm | |
| 159 | - | |
| 160 | -include H in | |
| 161 | -theorem bandPhase_germ (j : ℤ) (hj : j ≠ 0) (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 162 | - {x : Cylinder} (hx : 0 < x.1.1) : | |
| 163 | - (fun y => (raw D h gap j).phase n (PhysicalParticularWave.waveEquiv y)) =ᶠ[𝓝 x] | |
| 164 | - PhysicalParticularWave.bandPhase D h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 165 | - (gap n) ((j : ℝ) * D.carrierBlock.frequency n) j := by | |
| 166 | - filter_upwards [(isOpen_lt continuous_const continuous_fst.fst).mem_nhds hx] with y hy | |
| 167 | - exact (bandPhase_eq D h gap n i H j hj hf hy).symm | |
| 168 | - | |
| 169 | -include H hn hr in | |
| 170 | -theorem corrected_amplitude_pull (T : TargetChart D s h n i) (j : ℤ) : | |
| 171 | - (fun x => (corrected D s h gap j).amplitude n (PhysicalParticularWave.waveEquiv x)) = | |
| 172 | - realizedCoefficient ((j : ℝ) * D.carrierBlock.frequency n) | |
| 173 | - PhysicalResidualBridge.ScaledGraph.radius | |
| 174 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).radial | |
| 175 | - PhysicalResidualBridge.ScaledGraph.angular | |
| 176 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).axial | |
| 177 | - (fun x => (raw D h gap j).phase n (PhysicalParticularWave.waveEquiv x)) | |
| 178 | - (PhysicalParticularWave.bandRaw D h (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 179 | - (gap n) ((j : ℝ) * D.carrierBlock.frequency n) j) := by | |
| 180 | - have hp := realizedCoefficient_pull PhysicalParticularWave.waveEquiv | |
| 181 | - ((j : ℝ) * D.carrierBlock.frequency n) (D.background.radius n) ((raw D h gap j).phase n) | |
| 182 | - (D.directions.radialField n) (fun _ => D.directions.angular) | |
| 183 | - (D.directions.axialField (CorrectionStep.ParticularParameters.nativeStrip s) n) | |
| 184 | - ((raw D h gap j).amplitude n) | |
| 185 | - rw [T.radius, T.radial, T.angular, T.axial, raw_amplitude_pull D h gap n i H hn hr j] at hp | |
| 186 | - exact hp.symm | |
| 187 | - | |
| 188 | -include H hn hr in | |
| 189 | -theorem corrected_velocity_eq_band (T : TargetChart D s h n i) (j : ℤ) (hj : j ≠ 0) | |
| 190 | - (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) {x : Cylinder} (hx : 0 < x.1.1) : | |
| 191 | - vectorMode ((corrected D s h gap j).frequency n) ((corrected D s h gap j).phase n) | |
| 192 | - ((corrected D s h gap j).amplitude n) (PhysicalParticularWave.waveEquiv x) = | |
| 193 | - PhysicalParticularWave.bandVelocity D h (ChartScales.Q_pos n) | |
| 194 | - (ChartScales.Q_pos D.reference.band) i (gap n) ((j : ℝ) * D.carrierBlock.frequency n) j x := by | |
| 195 | - have hΦ := bandPhase_germ D h gap n i H j hj hf hx | |
| 196 | - have ha := congrFun (corrected_amplitude_pull D s h gap n i H hn hr T j) x | |
| 197 | - have hg := (realizedCoefficient_phase_germ hΦ ((j : ℝ) * D.carrierBlock.frequency n) | |
| 198 | - PhysicalResidualBridge.ScaledGraph.radius | |
| 199 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).radial | |
| 200 | - PhysicalResidualBridge.ScaledGraph.angular | |
| 201 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).axial | |
| 202 | - (PhysicalParticularWave.bandRaw D h (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 203 | - (gap n) ((j : ℝ) * D.carrierBlock.frequency n) j)).eq_of_nhds | |
| 204 | - funext k | |
| 205 | - change (corrected D s h gap j).amplitude n (PhysicalParticularWave.waveEquiv x) k * | |
| 206 | - carrier ((j : ℝ) * D.carrierBlock.frequency n) ((raw D h gap j).phase n) (PhysicalParticularWave.waveEquiv x) = _ | |
| 207 | - rw [ha, hg] | |
| 208 | - change _ * carrier ((j : ℝ) * D.carrierBlock.frequency n) | |
| 209 | - (fun y => (raw D h gap j).phase n (PhysicalParticularWave.waveEquiv y)) x = _ | |
| 210 | - exact congrArg₂ (· * ·) rfl (PhysicalCurlCovariance.carrier_eq_of_products | |
| 211 | - (congrArg (((j : ℝ) * D.carrierBlock.frequency n) * ·) hΦ.eq_of_nhds)) | |
| 212 | - | |
| 213 | -include H hn hr in | |
| 214 | -theorem corrected_pressure_eq_band (j : ℤ) (hj : j ≠ 0) | |
| 215 | - (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) {x : Cylinder} (hx : 0 < x.1.1) : | |
| 216 | - mode ((corrected D s h gap j).frequency n) ((corrected D s h gap j).phase n) | |
| 217 | - ((corrected D s h gap j).pressure n) (PhysicalParticularWave.waveEquiv x) = | |
| 218 | - PhysicalParticularWave.bandPressureMode D h (ChartScales.Q_pos n) | |
| 219 | - (ChartScales.Q_pos D.reference.band) (gap n) ((j : ℝ) * D.carrierBlock.frequency n) j x := by | |
| 220 | - have hK : (j : ℝ) * D.carrierBlock.frequency n ≠ 0 := | |
| 221 | - mul_ne_zero (by exact_mod_cast hj) (hf n) | |
| 222 | - have hp := congrFun (raw_pressure_pull D h gap n i H hn hr j hK) x | |
| 223 | - have hΦ := (bandPhase_eq D h gap n i H j hj hf hx).symm | |
| 224 | - change (raw D h gap j).pressure n (PhysicalParticularWave.waveEquiv x) * _ = _ | |
| 225 | - rw [hp] | |
| 226 | - exact congrArg₂ (· * ·) rfl (PhysicalCurlCovariance.carrier_eq_of_products | |
| 227 | - (congrArg (((j : ℝ) * D.carrierBlock.frequency n) * ·) hΦ)) | |
| 228 | - | |
| 229 | 86 | end Band |
| 230 | 87 | |
| 231 | 88 | /-! ## The literal finite harmonic block -/ |
| 232 | 89 | |
| 233 | -noncomputable def block (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | |
| 234 | - (h : ℝ) (gap : ℕ → ℕ) (N : ℕ) : HarmonicBlock Associated := | |
| 235 | - (CorrectionStep.ParticularParameters.fromReference D h gap).updateBlock s | |
| 236 | - D.context D.state D.carrierBlock D.gaussianInput D.aliasInput N | |
| 237 | - | |
| 238 | -/-- Cylindrical coordinates with the cycle's slow-coordinate order and the | |
| 239 | -association used by the harmonic coefficient block. -/ | |
| 240 | -noncomputable def associatedCylinder : Cylinder ≃ₗᵢ[ℝ] (Associated × ℝ) := | |
| 241 | - StateReindex.cylinder PhysicalResidualNaturality.associatedToLift.symm | |
| 242 | - | |
| 243 | -theorem angleShuffle_associatedCylinder (x : Cylinder) : | |
| 244 | - angleShuffle (associatedCylinder x) = PhysicalParticularWave.waveEquiv x := rfl | |
| 245 | - | |
| 246 | 90 | section Assembly |
| 247 | 91 | |
| 248 | 92 | variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) |
| @@ -250,152 +94,16 @@ variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | ||
| 250 | 94 | |
| 251 | 95 | open CopyAngularInvariance |
| 252 | 96 | |
| 253 | -theorem corrected_amplitude_invariant (j : ℤ) | |
| 254 | - (B : BackgroundControl (CorrectionStep.ParticularParameters.nativeStrip s) | |
| 255 | - D.directions D.background D.carrierBlock j) (n : ℕ) : | |
| 256 | - Invariant (((0 : Parameter), (1 : ℝ)), (0 : Plane)) | |
| 257 | - ((corrected D s h gap j).amplitude n) := by | |
| 258 | - have ha : Invariant D.directions.angular ((raw D h gap j).amplitude n) := by | |
| 259 | - rw [B.angular] | |
| 260 | - change Invariant _ (((CorrectionStep.ParticularParameters.fromReference D h gap).copyData | |
| 261 | - D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j).common.amplitude n) | |
| 262 | - rw [CorrectionStep.ParticularParameters.common_amplitude] | |
| 263 | - exact angleLift_invariant _ | |
| 264 | - have hphi := actualCarrier_affine D.background D.carrierBlock j n | |
| 265 | - rw [← B.angular] at hphi ⊢ | |
| 266 | - exact realizedCoefficient_invariant (B.radius_invariant n) (B.radial_invariant n) | |
| 267 | - (Invariant.const _) (B.axial_invariant n) hphi ha ((j : ℝ) * D.carrierBlock.frequency n) | |
| 268 | - | |
| 269 | -theorem corrected_pressure_invariant (j : ℤ) | |
| 270 | - (hK : (j : ℝ) * D.carrierBlock.frequency n ≠ 0) : | |
| 271 | - Invariant (((0 : Parameter), (1 : ℝ)), (0 : Plane)) | |
| 272 | - ((corrected D s h gap j).pressure n) := by | |
| 273 | - change Invariant _ (((CorrectionStep.ParticularParameters.fromReference D h gap).copyData | |
| 274 | - D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j).common.pressure n) | |
| 275 | - rw [CorrectionStep.ParticularParameters.common_pressure _ _ _ _ _ _ _ _ hK] | |
| 276 | - exact angleLift_invariant _ | |
| 277 | - | |
| 278 | -theorem block_velocity_represents {N : ℕ} | |
| 279 | - (B : ∀ j ∈ modes N, BackgroundControl (CorrectionStep.ParticularParameters.nativeStrip s) | |
| 280 | - D.directions D.background D.carrierBlock j) | |
| 281 | - (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) (n : ℕ) (x : Associated × ℝ) (k : Fin 3) : | |
| 282 | - (block D s h gap N).oscillation n x k = | |
| 283 | - ∑ j ∈ modes N, (vectorMode ((corrected D s h gap j).frequency n) | |
| 284 | - ((corrected D s h gap j).phase n) ((corrected D s h gap j).amplitude n) | |
| 285 | - (angleShuffle x) k).re := by | |
| 286 | - rw [block, CorrectionStep.ParticularParameters.updateBlock, assembledBlock_value] | |
| 287 | - apply Finset.sum_congr rfl | |
| 288 | - intro j hj | |
| 289 | - have hi := invariant_angleShuffle (corrected_amplitude_invariant D s h gap j (B j hj) n) x.1 x.2 | |
| 290 | - change Complex.re (_ * _) = ((corrected D s h gap j).amplitude n (angleShuffle x) k * | |
| 291 | - carrier ((actualCarrier D.background D.carrierBlock j).frequency n) | |
| 292 | - ((actualCarrier D.background D.carrierBlock j).phase n) (angleShuffle x)).re | |
| 293 | - rw [actualCarrier_character D.background D.carrierBlock j hf n x, hi] | |
| 294 | - rfl | |
| 295 | - | |
| 296 | -theorem block_pressure_represents {N : ℕ} | |
| 297 | - (hj : ∀ j ∈ modes N, j ≠ 0) (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 298 | - (n : ℕ) (x : Associated × ℝ) : | |
| 299 | - (block D s h gap N).oscillatoryPressure n x = | |
| 300 | - ∑ j ∈ modes N, (mode ((corrected D s h gap j).frequency n) | |
| 301 | - ((corrected D s h gap j).phase n) ((corrected D s h gap j).pressure n) (angleShuffle x)).re := by | |
| 302 | - rw [block, CorrectionStep.ParticularParameters.updateBlock, assembledBlock_pressure_value] | |
| 303 | - apply Finset.sum_congr rfl | |
| 304 | - intro j hmem | |
| 305 | - have hK : (j : ℝ) * D.carrierBlock.frequency n ≠ 0 := | |
| 306 | - mul_ne_zero (by exact_mod_cast hj j hmem) (hf n) | |
| 307 | - have hi := invariant_angleShuffle (corrected_pressure_invariant D s h gap j hK) x.1 x.2 | |
| 308 | - change Complex.re (_ * _) = ((corrected D s h gap j).pressure n (angleShuffle x) * | |
| 309 | - carrier ((actualCarrier D.background D.carrierBlock j).frequency n) | |
| 310 | - ((actualCarrier D.background D.carrierBlock j).phase n) (angleShuffle x)).re | |
| 311 | - rw [actualCarrier_character D.background D.carrierBlock j hf n x, hi] | |
| 312 | - rfl | |
| 313 | - | |
| 314 | 97 | variable (n i : ℕ) |
| 315 | 98 | (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) |
| 316 | 99 | (ChartScales.Q_pos D.reference.band) i (gap n) n) |
| 317 | 100 | (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) |
| 318 | 101 | (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) |
| 319 | 102 | |
| 320 | -include H hn hr in | |
| 321 | -theorem block_velocity_eq_band (T : TargetChart D s h n i) {N : ℕ} | |
| 322 | - (B : ∀ j ∈ modes N, BackgroundControl (CorrectionStep.ParticularParameters.nativeStrip s) | |
| 323 | - D.directions D.background D.carrierBlock j) | |
| 324 | - (hj : ∀ j ∈ modes N, j ≠ 0) (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 325 | - {x : Cylinder} (hx : 0 < x.1.1) (k : Fin 3) : | |
| 326 | - (block D s h gap N).oscillation n (associatedCylinder x) k = | |
| 327 | - PhysicalParticularWave.labelBandVelocity D h (ChartScales.Q_pos n) | |
| 328 | - (ChartScales.Q_pos D.reference.band) i (gap n) | |
| 329 | - (fun j => (j : ℝ) * D.carrierBlock.frequency n) N x k := by | |
| 330 | - rw [block_velocity_represents D s h gap B hf] | |
| 331 | - unfold PhysicalParticularWave.labelBandVelocity | |
| 332 | - apply Finset.sum_congr rfl | |
| 333 | - intro j hmem | |
| 334 | - rw [angleShuffle_associatedCylinder, corrected_velocity_eq_band D s h gap n i H hn hr T j (hj j hmem) hf hx] | |
| 335 | - | |
| 336 | -include H hn hr in | |
| 337 | -theorem block_pressure_eq_band {N : ℕ} | |
| 338 | - (hj : ∀ j ∈ modes N, j ≠ 0) (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 339 | - {x : Cylinder} (hx : 0 < x.1.1) : | |
| 340 | - (block D s h gap N).oscillatoryPressure n (associatedCylinder x) = | |
| 341 | - PhysicalParticularWave.labelBandPressure D h (ChartScales.Q_pos n) | |
| 342 | - (ChartScales.Q_pos D.reference.band) (gap n) | |
| 343 | - (fun j => (j : ℝ) * D.carrierBlock.frequency n) N x := by | |
| 344 | - rw [block_pressure_represents D s h gap hj hf] | |
| 345 | - unfold PhysicalParticularWave.labelBandPressure | |
| 346 | - apply Finset.sum_congr rfl | |
| 347 | - intro j hmem | |
| 348 | - rw [angleShuffle_associatedCylinder, corrected_pressure_eq_band D s h gap n i H hn hr j (hj j hmem) hf hx] | |
| 349 | - | |
| 350 | 103 | end Assembly |
| 351 | 104 | |
| 352 | 105 | /-! ## Primitive frame matching -/ |
| 353 | 106 | |
| 354 | -theorem targetChart_of_frameMatch (D : AssemblyData Parameter) | |
| 355 | - (s : WeightedClasses.StripData Associated) (h : ℝ) (n i : ℕ) | |
| 356 | - (hm : CorrectionStep.WaveFrameMatch D.context (HarmonicWaveInteraction.productStrip s) | |
| 357 | - (reindexDirections angleShuffle D.directions) (reindexCoefficients angleShuffle D.background)) | |
| 358 | - (hframe : HarmonicResidual.contextFrame D.context n = | |
| 359 | - PhysicalResidualNaturality.associatedFrame h (ChartScales.Q n) i) : | |
| 360 | - TargetChart D s h n i := by | |
| 361 | - have hr : StateReindex.vector (angleShuffle (P := Parameter)) (D.directions.radialField n) = | |
| 362 | - CorrectionStep.radialDirection D.context n := | |
| 363 | - (reindex_radialField (angleShuffle (P := Parameter)) D.directions n).symm.trans (hm.radial n) | |
| 364 | - have hz : StateReindex.vector (angleShuffle (P := Parameter)) | |
| 365 | - (D.directions.axialField (CorrectionStep.ParticularParameters.nativeStrip s) n) = | |
| 366 | - CorrectionStep.axialDirection D.context n := by | |
| 367 | - change reindexVector angleShuffle (D.directions.axialField | |
| 368 | - (CorrectionStep.ParticularParameters.nativeStrip s) n) = _ | |
| 369 | - rw [← reindex_axialField, CorrectionStep.ParticularParameters.angleStrip_nativeStrip] | |
| 370 | - exact hm.axial n | |
| 371 | - have ht : StateReindex.vector (angleShuffle (P := Parameter)) (fun _ => D.directions.angular) = | |
| 372 | - CorrectionStep.angularDirection (D := Associated) := by | |
| 373 | - funext y | |
| 374 | - exact hm.angular | |
| 375 | - constructor | |
| 376 | - · funext x | |
| 377 | - exact (congrFun (hm.radius n) (associatedCylinder x)).trans | |
| 378 | - (congrArg (fun g : HarmonicResidual.Frame Associated => g.radius (associatedCylinder x).1) hframe) | |
| 379 | - · change StateReindex.vector associatedCylinder | |
| 380 | - (StateReindex.vector angleShuffle (D.directions.radialField n)) = _ | |
| 381 | - rw [hr] | |
| 382 | - change StateReindex.vector associatedCylinder | |
| 383 | - (fun y => ((HarmonicResidual.contextFrame D.context n).radial y.1, 0)) = _ | |
| 384 | - rw [hframe] | |
| 385 | - rfl | |
| 386 | - · change StateReindex.vector associatedCylinder | |
| 387 | - (StateReindex.vector angleShuffle (fun _ => D.directions.angular)) = _ | |
| 388 | - rw [ht] | |
| 389 | - rfl | |
| 390 | - · change StateReindex.vector associatedCylinder | |
| 391 | - (StateReindex.vector angleShuffle (D.directions.axialField | |
| 392 | - (CorrectionStep.ParticularParameters.nativeStrip s) n)) = _ | |
| 393 | - rw [hz] | |
| 394 | - change StateReindex.vector associatedCylinder | |
| 395 | - (fun y => ((HarmonicResidual.contextFrame D.context n).axial y.1, 0)) = _ | |
| 396 | - rw [hframe] | |
| 397 | - rfl | |
| 398 | - | |
| 399 | 107 | /-! ## One fixed Cartesian reference label -/ |
| 400 | 108 | |
| 401 | 109 | section Physical |
| @@ -412,93 +120,10 @@ variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | ||
| 412 | 120 | {N : ℕ} {α κ : ℝ} (C : D.controls N α κ) |
| 413 | 121 | (hstrip : D.strip = CorrectionStep.ParticularParameters.nativeStrip s) |
| 414 | 122 | |
| 415 | -include H hn hr T C hstrip in | |
| 416 | -theorem block_velocity_physical | |
| 417 | - (Href : ReferenceChart D h (ChartScales.Q D.reference.band) (i + gap n)) | |
| 418 | - {U : Set Parameter} (hU : IsOpen U) (R : ∀ j ∈ modes N, ReferenceODE D j U) | |
| 419 | - {z : SpaceTime} | |
| 420 | - (hz : z ∈ (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).source | |
| 421 | - (bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) U)) | |
| 422 | - {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) | |
| 423 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) (k : Fin 3) : | |
| 424 | - (block D s h gap N).oscillation n | |
| 425 | - (associatedCylinder ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).map z)) k = | |
| 426 | - (ChartScales.Q n) ^ CoordinateAlgebra.A h * CylindricalResidual.frame (-(z.2 1)) | |
| 427 | - (labelVelocity D h (ChartScales.Q D.reference.band) (i + gap n) delta N | |
| 428 | - (z.1, CylindricalResidual.chart z.2)) k := by | |
| 429 | - by_cases hN : N = 0 | |
| 430 | - · subst N | |
| 431 | - simp [block, CorrectionStep.ParticularParameters.updateBlock, assembledBlock_value, | |
| 432 | - modes, labelVelocity, labelPotential, SpatialCurl.spatialCurl, | |
| 433 | - SpatialCurl.curl, CylindricalResidual.frame] | |
| 434 | - have hm : ∃ j, j ∈ modes N := by | |
| 435 | - refine ⟨1, ?_⟩ | |
| 436 | - simp only [modes, Finset.mem_erase, ne_eq, one_ne_zero, not_false_eq_true, | |
| 437 | - Finset.mem_Icc, true_and] | |
| 438 | - constructor <;> omega | |
| 439 | - obtain ⟨j, hj⟩ := hm | |
| 440 | - rw [block_velocity_eq_band D s h gap n i H hn hr T | |
| 441 | - (fun j hj => hstrip ▸ (C j hj).background) | |
| 442 | - (fun j hj => (C j hj).harmonic_ne) (C j hj).frequency_ne hz.2.1 k] | |
| 443 | - exact label_physical_velocity D (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 444 | - i (gap n) Href C (fun j => (j : ℝ) * D.carrierBlock.frequency n) | |
| 445 | - (fun j hj => mul_ne_zero (by exact_mod_cast (C j hj).harmonic_ne) ((C j hj).frequency_ne n)) | |
| 446 | - hU R hz hdelta chart hchart k | |
| 447 | - | |
| 448 | -include H hn hr C in | |
| 449 | -theorem block_pressure_physical | |
| 450 | - {U : Set Parameter} (R : ∀ j ∈ modes N, ReferenceODE D j U) | |
| 451 | - {z : SpaceTime} (hz : 0 < z.2 0) | |
| 452 | - (hp : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 453 | - (nativeMap h (ChartScales.Q n) i z).1.1 ∈ U) | |
| 454 | - {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) | |
| 455 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) : | |
| 456 | - (block D s h gap N).oscillatoryPressure n | |
| 457 | - (associatedCylinder ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).map z)) = | |
| 458 | - (ChartScales.Q n) ^ (2 * CoordinateAlgebra.A h) * | |
| 459 | - labelPressure D h (ChartScales.Q D.reference.band) (i + gap n) delta N | |
| 460 | - (z.1, CylindricalResidual.chart z.2) := by | |
| 461 | - by_cases hN : N = 0 | |
| 462 | - · subst N | |
| 463 | - simp [block, CorrectionStep.ParticularParameters.updateBlock, assembledBlock_pressure_value, | |
| 464 | - modes, labelPressure] | |
| 465 | - have hm : ∃ j, j ∈ modes N := by | |
| 466 | - refine ⟨1, ?_⟩ | |
| 467 | - simp only [modes, Finset.mem_erase, ne_eq, one_ne_zero, not_false_eq_true, | |
| 468 | - Finset.mem_Icc, true_and] | |
| 469 | - constructor <;> omega | |
| 470 | - obtain ⟨j, hj⟩ := hm | |
| 471 | - rw [block_pressure_eq_band D s h gap n i H hn hr | |
| 472 | - (fun j hj => (C j hj).harmonic_ne) (C j hj).frequency_ne | |
| 473 | - (mul_pos (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _) hz)] | |
| 474 | - exact label_physical_pressure D h (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 475 | - i (gap n) (fun j => (j : ℝ) * D.carrierBlock.frequency n) | |
| 476 | - (fun j hj => mul_ne_zero (by exact_mod_cast (C j hj).harmonic_ne) ((C j hj).frequency_ne n)) | |
| 477 | - (fun j hj => mul_ne_zero (by exact_mod_cast (C j hj).harmonic_ne) ((C j hj).frequency_ne D.reference.band)) | |
| 478 | - R hz hp hdelta chart hchart | |
| 479 | - | |
| 480 | 123 | end Physical |
| 481 | 124 | |
| 482 | 125 | /-! ## The cycle's actual coordinate layout -/ |
| 483 | 126 | |
| 484 | -noncomputable def cycleBlock (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | |
| 485 | - (h : ℝ) (gap : ℕ → ℕ) (N : ℕ) : HarmonicBlock CorrectionStep.CyclePoint := | |
| 486 | - StateReindex.block CorrectionStep.cycleAssoc (block D s h gap N) | |
| 487 | - | |
| 488 | -theorem cycleBlock_velocity (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | |
| 489 | - (h : ℝ) (gap : ℕ → ℕ) (N n : ℕ) (x : Cylinder) : | |
| 490 | - (cycleBlock D s h gap N).oscillation n (PhysicalResidualTZ.swapCylinder x) = | |
| 491 | - (block D s h gap N).oscillation n (associatedCylinder x) := by | |
| 492 | - rw [cycleBlock, StateReindex.block_oscillation] | |
| 493 | - rfl | |
| 494 | - | |
| 495 | -theorem cycleBlock_pressure (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | |
| 496 | - (h : ℝ) (gap : ℕ → ℕ) (N n : ℕ) (x : Cylinder) : | |
| 497 | - (cycleBlock D s h gap N).oscillatoryPressure n (PhysicalResidualTZ.swapCylinder x) = | |
| 498 | - (block D s h gap N).oscillatoryPressure n (associatedCylinder x) := by | |
| 499 | - rw [cycleBlock, StateReindex.block_pressure] | |
| 500 | - rfl | |
| 501 | - | |
| 502 | 127 | section CyclePhysical |
| 503 | 128 | |
| 504 | 129 | open ProblemStatement PhysicalParticularWave CyclePhysicalPrefixes |
| @@ -517,76 +142,6 @@ variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | ||
| 517 | 142 | {U : Set Parameter} (hU : IsOpen U) (R : ∀ j ∈ modes N, ReferenceODE D j U) |
| 518 | 143 | {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) |
| 519 | 144 | |
| 520 | -include H hn hr T C hstrip hcover Href hU R hdelta in | |
| 521 | -/-- The exact cycle block is the cylindrical view of one fixed reference | |
| 522 | -curl. The covering index enters only through `i + gap n = I`. -/ | |
| 523 | -theorem cycle_velocity_cylindrical {z : SpaceTime} | |
| 524 | - (hz : z ∈ (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).source | |
| 525 | - (bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) U)) | |
| 526 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) : | |
| 527 | - velocityMap (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i) | |
| 528 | - ((cycleBlock D s h gap N).oscillation n) z = | |
| 529 | - CylindricalResidual.frame (-(z.2 1)) | |
| 530 | - (labelVelocity D h (ChartScales.Q D.reference.band) I delta N | |
| 531 | - (z.1, CylindricalResidual.chart z.2)) := by | |
| 532 | - have Href' : ReferenceChart D h (ChartScales.Q D.reference.band) (i + gap n) := hcover.symm ▸ Href | |
| 533 | - ext k | |
| 534 | - change (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).velocity | |
| 535 | - (fun x => (cycleBlock D s h gap N).oscillation n (PhysicalResidualTZ.swapCylinder x)) z k = _ | |
| 536 | - rw [PhysicalResidualBridge.ScaledGraph.velocity_apply, cycleBlock_velocity, | |
| 537 | - block_velocity_physical D s h gap n i H hn hr T C hstrip Href' hU R hz hdelta chart hchart k, | |
| 538 | - hcover] | |
| 539 | - change (ChartScales.Q n) ^ (-CoordinateAlgebra.A h) * | |
| 540 | - ((ChartScales.Q n) ^ CoordinateAlgebra.A h * _) = _ | |
| 541 | - rw [← mul_assoc, ← Real.rpow_add (ChartScales.Q_pos n)] | |
| 542 | - simp | |
| 543 | - | |
| 544 | -include H hn hr T C hstrip hcover Href hU R hdelta in | |
| 545 | -/-- Cartesian realization of the literal stored finite harmonic block, | |
| 546 | -using the same physical potential for every compatible covering. -/ | |
| 547 | -theorem cycle_velocity_realization {z : SpaceTime} | |
| 548 | - (hz : z ∈ (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).source | |
| 549 | - (bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) U)) | |
| 550 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) : | |
| 551 | - polarVelocityMap delta chart | |
| 552 | - (velocityMap (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i) | |
| 553 | - ((cycleBlock D s h gap N).oscillation n)) (z.1, CylindricalResidual.chart z.2) = | |
| 554 | - SpatialCurl.spatialCurl (labelPotential D h (ChartScales.Q D.reference.band) I delta N) | |
| 555 | - (z.1, CylindricalResidual.chart z.2) := by | |
| 556 | - change CylindricalResidual.frame | |
| 557 | - (PhysicalCurlCovariance.polarInput delta chart (z.1, CylindricalResidual.chart z.2)).2 | |
| 558 | - (velocityMap _ ((cycleBlock D s h gap N).oscillation n) | |
| 559 | - (PhysicalCurlCovariance.polarCoordinates delta chart (z.1, CylindricalResidual.chart z.2))) = _ | |
| 560 | - rw [PhysicalCurlCovariance.polarInput_forward hdelta chart hchart, | |
| 561 | - PhysicalCurlCovariance.polarCoordinates_forward hdelta chart hchart, | |
| 562 | - cycle_velocity_cylindrical D s h gap n i H hn hr T C hstrip hcover Href hU R hdelta chart hz hchart, | |
| 563 | - CylindricalResidual.frame_inverse'] | |
| 564 | - rfl | |
| 565 | - | |
| 566 | -include H hn hr C hcover R hdelta in | |
| 567 | -theorem cycle_pressure_realization {z : SpaceTime} (hz : 0 < z.2 0) | |
| 568 | - (hp : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 569 | - (nativeMap h (ChartScales.Q n) i z).1.1 ∈ U) | |
| 570 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) : | |
| 571 | - polarPressureMap delta chart | |
| 572 | - (pressureMap (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i) | |
| 573 | - ((cycleBlock D s h gap N).oscillatoryPressure n)) (z.1, CylindricalResidual.chart z.2) = | |
| 574 | - labelPressure D h (ChartScales.Q D.reference.band) I delta N | |
| 575 | - (z.1, CylindricalResidual.chart z.2) := by | |
| 576 | - change pressureMap _ ((cycleBlock D s h gap N).oscillatoryPressure n) | |
| 577 | - (PhysicalCurlCovariance.polarCoordinates delta chart (z.1, CylindricalResidual.chart z.2)) = _ | |
| 578 | - rw [PhysicalCurlCovariance.polarCoordinates_forward hdelta chart hchart] | |
| 579 | - change ((ChartScales.Q n) ^ (-CoordinateAlgebra.A h)) ^ 2 * | |
| 580 | - (cycleBlock D s h gap N).oscillatoryPressure n | |
| 581 | - (PhysicalResidualTZ.swapCylinder ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).map z)) = _ | |
| 582 | - rw [cycleBlock_pressure, block_pressure_physical D s h gap n i H hn hr C R hz hp hdelta chart hchart, | |
| 583 | - hcover, ← mul_assoc, ← Real.rpow_mul_natCast (ChartScales.Q_pos n).le, | |
| 584 | - ← Real.rpow_add (ChartScales.Q_pos n)] | |
| 585 | - have hexp : -CoordinateAlgebra.A h * (2 : ℝ) + 2 * CoordinateAlgebra.A h = 0 := by ring | |
| 586 | - norm_num only [Nat.cast_ofNat] | |
| 587 | - rw [hexp] | |
| 588 | - simp | |
| 589 | - | |
| 590 | 145 | end CyclePhysical |
| 591 | 146 | |
| 592 | 147 | /-! ## Binding to the current cycle inputs -/ |
| @@ -604,15 +159,6 @@ structure CurrentInputs {ι : Type} (D : AssemblyData Parameter) | ||
| 604 | 159 | aliasError : D.aliasInput = StateReindex.blockCoefficients CorrectionStep.cycleAssoc.symm (v.aliasCoefficients l) |
| 605 | 160 | parameters : p.particular l = CorrectionStep.ParticularParameters.fromReference D h gap |
| 606 | 161 | |
| 607 | -theorem CurrentInputs.particularBlock {ι : Type} {D : AssemblyData Parameter} | |
| 608 | - {p : CorrectionStep.CycleParameters ι} {v : CorrectionStep.CycleCoefficients ι} | |
| 609 | - {c : Context CorrectionStep.CyclePoint} {u : State CorrectionStep.CyclePoint} | |
| 610 | - {l : ι} {h : ℝ} {gap : ℕ → ℕ} (J : CurrentInputs D p v c u l h gap) : | |
| 611 | - p.particularBlock v c u l = cycleBlock D | |
| 612 | - (reindexStrip CorrectionStep.cycleAssoc.symm p.strip) h gap v.residualBand := by | |
| 613 | - unfold CorrectionStep.CycleParameters.particularBlock cycleBlock block | |
| 614 | - rw [J.parameters, J.context, J.state, J.carrier, J.gaussian, J.aliasError] | |
| 615 | - | |
| 616 | 162 | /-! ## Full-variable transport of the curl correction -/ |
| 617 | 163 | |
| 618 | 164 | section FullVariable |
| @@ -644,78 +190,12 @@ variable {Γ : E → F} {r : E → ℝ} {R : F → ℝ} | ||
| 644 | 190 | |
| 645 | 191 | include G hK hb hKL hΦ hx hB |
| 646 | 192 | |
| 647 | -/-- The complete differentiated coefficient has the velocity scale. This | |
| 648 | -uses actual Fréchet derivatives, not an assumed curl-output covariance. -/ | |
| 649 | -theorem realizedCoefficient_scaled : | |
| 650 | - realizedCoefficient K r Sr Sθ Sz (fun y => b * Φ (Γ y)) (fun y => c • a (Γ y)) x = | |
| 651 | - c • realizedCoefficient L R Vr Vθ Vz Φ a (Γ x) := by | |
| 652 | - have hc : coefficient r Sr Sθ Sz (fun y => b * Φ (Γ y)) (fun y => c • a (Γ y)) =ᶠ[𝓝 x] | |
| 653 | - (fun y => ((c / (b * l) : ℝ) : ℂ) • coefficient R Vr Vθ Vz Φ a (Γ y)) := by | |
| 654 | - filter_upwards [G.isOpen.mem_nhds hx] with y hy | |
| 655 | - have hn := PhysicalCurlCovariance.phaseNormal_pull G.scale_ne (G.radius_ne y hy) | |
| 656 | - (G.differentiable y hy) (G.radial y hy) (G.angular y hy) (G.axial y hy) | |
| 657 | - (G.radius y hy) (hΦ y hy) b | |
| 658 | - simp only [coefficient, hn, | |
| 659 | - PhysicalCurlCovariance.normalCoefficient_scale _ _ (mul_ne_zero hb G.scale_ne) c] | |
| 660 | - ext k | |
| 661 | - simp only [Pi.smul_apply, Complex.real_smul, smul_eq_mul] | |
| 662 | - have hc' := (ParticularWaveAssembly.curl_germ hc r Sr Sθ Sz).eq_of_nhds | |
| 663 | - have hcurl := PhysicalCurlCovariance.cylindricalCurl_pull G.scale_ne (G.radius_ne x hx) | |
| 664 | - (G.differentiable x hx) (G.radial x hx) (G.angular x hx) (G.axial x hx) | |
| 665 | - (G.radius x hx) hB (((c / (b * l) : ℝ) : ℂ)) | |
| 666 | - have hs : inverseCarrier K * ((c / (b * l) : ℝ) : ℂ) * (l : ℂ) = | |
| 667 | - (c : ℂ) * inverseCarrier L := by | |
| 668 | - rw [← hKL] | |
| 669 | - unfold inverseCarrier | |
| 670 | - push_cast | |
| 671 | - field_simp [Complex.ofReal_ne_zero.mpr hK, Complex.ofReal_ne_zero.mpr hb, | |
| 672 | - Complex.ofReal_ne_zero.mpr G.scale_ne] | |
| 673 | - simp only [realizedCoefficient, curlRemainder_eq, hc', hcurl] | |
| 674 | - ext k | |
| 675 | - simp only [Pi.add_apply, Pi.smul_apply, Complex.real_smul, smul_eq_mul] | |
| 676 | - rw [← mul_assoc (inverseCarrier K), ← mul_assoc (inverseCarrier K), hs] | |
| 677 | - ring | |
| 678 | - | |
| 679 | -/-- Full lifted corrected-mode covariance, before evaluation on any | |
| 680 | -physical graph. The integer-carrier matching is `K * b = L`. -/ | |
| 681 | -theorem correctedMode_scaled : | |
| 682 | - vectorMode K (fun y => b * Φ (Γ y)) | |
| 683 | - (realizedCoefficient K r Sr Sθ Sz (fun y => b * Φ (Γ y)) (fun y => c • a (Γ y))) x = | |
| 684 | - c • vectorMode L Φ (realizedCoefficient L R Vr Vθ Vz Φ a) (Γ x) := by | |
| 685 | - have ha := realizedCoefficient_scaled G c hK hb hKL hΦ hx hB | |
| 686 | - have hc : carrier K (fun y => b * Φ (Γ y)) x = carrier L Φ (Γ x) := | |
| 687 | - PhysicalCurlCovariance.carrier_eq_of_products (by rw [← mul_assoc, hKL]) | |
| 688 | - ext k | |
| 689 | - simp only [vectorMode, mode, ha, hc, Pi.smul_apply, Complex.real_smul] | |
| 690 | - ring | |
| 691 | - | |
| 692 | 193 | end FullVariable |
| 693 | 194 | |
| 694 | 195 | namespace SpatialScaling |
| 695 | 196 | |
| 696 | 197 | open PhysicalParticularWave |
| 697 | 198 | |
| 698 | -theorem commonChart {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) (h : ℝ) (i gap : ℕ) | |
| 699 | - {U : Set Cylinder} (hU : IsOpen U) (hpos : ∀ x ∈ U, 0 < x.1.1) : | |
| 700 | - SpatialScaling (cylinderChange h Q Qr gap) PhysicalResidualBridge.ScaledGraph.radius | |
| 701 | - PhysicalResidualBridge.ScaledGraph.radius | |
| 702 | - (PhysicalResidualBridge.commonGraph Q h i).radial PhysicalResidualBridge.ScaledGraph.angular | |
| 703 | - (PhysicalResidualBridge.commonGraph Q h i).axial | |
| 704 | - (PhysicalResidualBridge.commonGraph Qr h (i + gap)).radial PhysicalResidualBridge.ScaledGraph.angular | |
| 705 | - (PhysicalResidualBridge.commonGraph Qr h (i + gap)).axial | |
| 706 | - (ratioPower Q Qr (1/2)) U where | |
| 707 | - isOpen := hU | |
| 708 | - scale_ne := (ratioPower_pos hQ hQr (1/2)).ne' | |
| 709 | - radius_ne x hx := (hpos x hx).ne' | |
| 710 | - differentiable _ _ := (cylinderChange h Q Qr gap).differentiableAt | |
| 711 | - radial x hx := by | |
| 712 | - simpa only [ContinuousLinearMap.fderiv] using cylinderChange_radial hQ hQr h i gap (hpos x hx) | |
| 713 | - angular x _ := by | |
| 714 | - simpa only [ContinuousLinearMap.fderiv] using cylinderChange_angular h Q Qr gap x | |
| 715 | - axial x _ := by | |
| 716 | - simpa only [ContinuousLinearMap.fderiv] using cylinderChange_axial hQ hQr h i gap x | |
| 717 | - radius _ _ := rfl | |
| 718 | - | |
| 719 | 199 | end SpatialScaling |
| 720 | 200 | |
| 721 | 201 | section LiftedReference |
| @@ -727,78 +207,6 @@ variable (D : AssemblyData Parameter) {h Qr : ℝ} {I : ℕ} | ||
| 727 | 207 | (C : LocalControl D.reference D.charts D.context D.state D.carrierBlock |
| 728 | 208 | D.gaussianInput D.aliasInput j D.background D.copy D.strip D.directions α κ) |
| 729 | 209 | |
| 730 | -include H C in | |
| 731 | -theorem liftCoefficient_smooth : | |
| 732 | - ContDiffOn ℝ ∞ (coefficient PhysicalResidualBridge.ScaledGraph.radius | |
| 733 | - (PhysicalResidualBridge.commonGraph Qr h I).radial PhysicalResidualBridge.ScaledGraph.angular | |
| 734 | - (PhysicalResidualBridge.commonGraph Qr h I).axial (liftPhase D j) (liftRaw D j)) (referenceDomain D) := by | |
| 735 | - have hs : ContDiffOn ℝ ∞ | |
| 736 | - (coefficient (D.background.radius D.reference.band) (D.directions.radialField D.reference.band) | |
| 737 | - (fun _ => D.directions.angular) (D.directions.axialField D.strip D.reference.band) | |
| 738 | - ((rawCommon D j).phase D.reference.band) ((rawCommon D j).amplitude D.reference.band)) D.strip.domain := | |
| 739 | - normalCoefficient_contDiffOn | |
| 740 | - (phaseNormal_contDiffOn (C.background.cylindrical D.reference.band) | |
| 741 | - (C.background.phase_smooth D.reference.band)) | |
| 742 | - (commonRaw_smooth D C D.reference.band) (C.normal_nonzero D.reference.band) | |
| 743 | - have he : coefficient PhysicalResidualBridge.ScaledGraph.radius | |
| 744 | - (PhysicalResidualBridge.commonGraph Qr h I).radial PhysicalResidualBridge.ScaledGraph.angular | |
| 745 | - (PhysicalResidualBridge.commonGraph Qr h I).axial (liftPhase D j) (liftRaw D j) = | |
| 746 | - fun x => coefficient (D.background.radius D.reference.band) (D.directions.radialField D.reference.band) | |
| 747 | - (fun _ => D.directions.angular) (D.directions.axialField D.strip D.reference.band) | |
| 748 | - ((rawCommon D j).phase D.reference.band) ((rawCommon D j).amplitude D.reference.band) (waveEquiv x) := by | |
| 749 | - have hn := normal_pull waveEquiv (D.background.radius D.reference.band) | |
| 750 | - ((rawCommon D j).phase D.reference.band) (D.directions.radialField D.reference.band) | |
| 751 | - (fun _ => D.directions.angular) (D.directions.axialField D.strip D.reference.band) | |
| 752 | - have hR : (fun x => D.background.radius D.reference.band (waveEquiv x)) = | |
| 753 | - PhysicalResidualBridge.ScaledGraph.radius := H.radius | |
| 754 | - have hr : StateReindex.vector waveEquiv (D.directions.radialField D.reference.band) = | |
| 755 | - (PhysicalResidualBridge.commonGraph Qr h I).radial := H.radial | |
| 756 | - have ht : StateReindex.vector waveEquiv (fun _ => D.directions.angular) = | |
| 757 | - PhysicalResidualBridge.ScaledGraph.angular := H.angular | |
| 758 | - have hz : StateReindex.vector waveEquiv (D.directions.axialField D.strip D.reference.band) = | |
| 759 | - (PhysicalResidualBridge.commonGraph Qr h I).axial := H.axial | |
| 760 | - rw [hR, hr, ht, hz] at hn | |
| 761 | - funext x | |
| 762 | - simp only [coefficient, liftRaw, referenceRaw_eq_common D H.identity] | |
| 763 | - exact congrArg₂ normalCoefficient (congrFun hn x) rfl | |
| 764 | - rw [he] | |
| 765 | - exact hs.comp waveEquiv.contDiff.contDiffOn (fun _ hx => hx) | |
| 766 | - | |
| 767 | -/-- The same reference corrected wave as a function of all free lifted | |
| 768 | -variables. No graph evaluation occurs in this definition. -/ | |
| 769 | -noncomputable def referenceLiftVelocity (D : AssemblyData Parameter) (h Qr : ℝ) (I : ℕ) (j : ℤ) : | |
| 770 | - Cylinder → ComplexVector := | |
| 771 | - vectorMode (referenceFrequency D j) (liftPhase D j) | |
| 772 | - (realizedCoefficient (referenceFrequency D j) PhysicalResidualBridge.ScaledGraph.radius | |
| 773 | - (PhysicalResidualBridge.commonGraph Qr h I).radial PhysicalResidualBridge.ScaledGraph.angular | |
| 774 | - (PhysicalResidualBridge.commonGraph Qr h I).axial (liftPhase D j) (liftRaw D j)) | |
| 775 | - | |
| 776 | -include H in | |
| 777 | -theorem referenceLiftVelocity_eq_wave : | |
| 778 | - referenceLiftVelocity D h Qr I j = fun x => | |
| 779 | - vectorMode ((D.wave j).frequency D.reference.band) ((D.wave j).phase D.reference.band) | |
| 780 | - ((D.wave j).amplitude D.reference.band) (waveEquiv x) := by | |
| 781 | - have he := realizedCoefficient_pull waveEquiv (referenceFrequency D j) | |
| 782 | - (D.background.radius D.reference.band) ((rawCommon D j).phase D.reference.band) | |
| 783 | - (D.directions.radialField D.reference.band) (fun _ => D.directions.angular) | |
| 784 | - (D.directions.axialField D.strip D.reference.band) ((rawCommon D j).amplitude D.reference.band) | |
| 785 | - have hR : (fun x => D.background.radius D.reference.band (waveEquiv x)) = | |
| 786 | - PhysicalResidualBridge.ScaledGraph.radius := H.radius | |
| 787 | - have hr : StateReindex.vector waveEquiv (D.directions.radialField D.reference.band) = | |
| 788 | - (PhysicalResidualBridge.commonGraph Qr h I).radial := H.radial | |
| 789 | - have ht : StateReindex.vector waveEquiv (fun _ => D.directions.angular) = | |
| 790 | - PhysicalResidualBridge.ScaledGraph.angular := H.angular | |
| 791 | - have hz : StateReindex.vector waveEquiv (D.directions.axialField D.strip D.reference.band) = | |
| 792 | - (PhysicalResidualBridge.commonGraph Qr h I).axial := H.axial | |
| 793 | - rw [hR, hr, ht, hz] at he | |
| 794 | - funext x | |
| 795 | - have ha : liftRaw D j = fun y => (rawCommon D j).amplitude D.reference.band (waveEquiv y) := by | |
| 796 | - unfold liftRaw | |
| 797 | - rw [referenceRaw_eq_common D H.identity] | |
| 798 | - simp only [referenceLiftVelocity, ha] | |
| 799 | - rw [show liftPhase D j = (fun y => (rawCommon D j).phase D.reference.band (waveEquiv y)) from rfl, he] | |
| 800 | - rfl | |
| 801 | - | |
| 802 | 210 | end LiftedReference |
| 803 | 211 | |
| 804 | 212 | section FullBand |
| @@ -811,75 +219,8 @@ variable (D : AssemblyData Parameter) {h Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) | ||
| 811 | 219 | D.gaussianInput D.aliasInput j D.background D.copy D.strip D.directions α κ) |
| 812 | 220 | {K : ℝ} (hK : K ≠ 0) {U : Set Parameter} (hU : IsOpen U) (R : ReferenceODE D j U) |
| 813 | 221 | |
| 814 | -include H C hK hU R in | |
| 815 | -/-- Exact covariance of the actual curl-corrected transported solve on | |
| 816 | -the full positive lift. This is stronger than equality on a graph. -/ | |
| 817 | -theorem bandVelocity_eq_reference {x : Cylinder} (hx : x ∈ bandDomain D h Q Qr gap U) : | |
| 818 | - bandVelocity D h hQ hQr i gap K j x = | |
| 819 | - velocityWeight h Q Qr • referenceLiftVelocity D h Qr (i + gap) j (cylinderChange h Q Qr gap x) := by | |
| 820 | - have hKr : referenceFrequency D j ≠ 0 := C.frequency_nonzero D.reference.band | |
| 821 | - have hraw : bandRaw D h hQ hQr gap K j =ᶠ[𝓝 x] | |
| 822 | - (fun y => velocityWeight h Q Qr • liftRaw D j (cylinderChange h Q Qr gap y)) := by | |
| 823 | - filter_upwards [(bandDomain_open D h Q Qr gap hU).mem_nhds hx] with y hy | |
| 824 | - exact bandRaw_eq_lift D h hQ hQr gap hK j hKr R y hy.2.2 | |
| 825 | - have ha := (ParticularWaveAssembly.realizedCoefficient_germ hraw K | |
| 826 | - PhysicalResidualBridge.ScaledGraph.radius (PhysicalResidualBridge.commonGraph Q h i).radial | |
| 827 | - PhysicalResidualBridge.ScaledGraph.angular (PhysicalResidualBridge.commonGraph Q h i).axial | |
| 828 | - (bandPhase D h Q Qr gap K j)).eq_of_nhds | |
| 829 | - have he := correctedMode_scaled | |
| 830 | - (SpatialScaling.commonChart hQ hQr h i gap (bandDomain_open D h Q Qr gap hU) (fun _ hy => hy.1)) | |
| 831 | - (velocityWeight h Q Qr) hK (div_ne_zero hKr hK) | |
| 832 | - (show K * (referenceFrequency D j / K) = referenceFrequency D j by field_simp) | |
| 833 | - (fun y hy => ((liftPhase_smooth D C).contDiffAt ((referenceDomain_open D).mem_nhds hy.2.1)).differentiableAt (by simp)) | |
| 834 | - hx (fun k => ((contDiffOn_pi.mp (liftCoefficient_smooth D H C) k).contDiffAt | |
| 835 | - ((referenceDomain_open D).mem_nhds hx.2.1)).differentiableAt (by simp)) | |
| 836 | - change vectorMode K (bandPhase D h Q Qr gap K j) _ x = _ | |
| 837 | - have hv := congrArg (fun v : ComplexVector => | |
| 838 | - fun k => v k * carrier K (bandPhase D h Q Qr gap K j) x) ha | |
| 839 | - exact hv.trans he | |
| 840 | - | |
| 841 | 222 | end FullBand |
| 842 | 223 | |
| 843 | -noncomputable def referenceLiftPressure (D : AssemblyData Parameter) (j : ℤ) : Cylinder → ℂ := | |
| 844 | - mode (PhysicalParticularWave.referenceFrequency D j) (PhysicalParticularWave.liftPhase D j) | |
| 845 | - (fun x => PhysicalParticularWave.referenceRawPressure D j (PhysicalParticularWave.waveEquiv x)) | |
| 846 | - | |
| 847 | -theorem bandPressureMode_eq_reference (D : AssemblyData Parameter) (h : ℝ) {Q Qr : ℝ} | |
| 848 | - (hQ : 0 < Q) (hQr : 0 < Qr) (gap : ℕ) {K : ℝ} (hK : K ≠ 0) (j : ℤ) | |
| 849 | - (hKr : PhysicalParticularWave.referenceFrequency D j ≠ 0) | |
| 850 | - {U : Set Parameter} (R : PhysicalParticularWave.ReferenceODE D j U) (x : Cylinder) | |
| 851 | - (hx : PhysicalParticularWave.parameterChange h Q Qr (PhysicalParticularWave.waveEquiv x).1.1 ∈ U) : | |
| 852 | - PhysicalParticularWave.bandPressureMode D h hQ hQr gap K j x = | |
| 853 | - PhysicalParticularWave.pressureWeight h Q Qr * | |
| 854 | - referenceLiftPressure D j (PhysicalParticularWave.cylinderChange h Q Qr gap x) := by | |
| 855 | - have hp := PhysicalParticularWave.bandRawPressure_eq_lift D h hQ hQr gap hK j hKr R x hx | |
| 856 | - have hc : carrier K (PhysicalParticularWave.bandPhase D h Q Qr gap K j) x = | |
| 857 | - carrier (PhysicalParticularWave.referenceFrequency D j) (PhysicalParticularWave.liftPhase D j) | |
| 858 | - (PhysicalParticularWave.cylinderChange h Q Qr gap x) := | |
| 859 | - PhysicalCurlCovariance.carrier_eq_of_products (by | |
| 860 | - unfold PhysicalParticularWave.bandPhase | |
| 861 | - field_simp) | |
| 862 | - unfold PhysicalParticularWave.bandPressureMode referenceLiftPressure mode | |
| 863 | - rw [hp, hc] | |
| 864 | - simp only [Complex.real_smul] | |
| 865 | - ring | |
| 866 | - | |
| 867 | -theorem referenceLiftPressure_eq_wave (D : AssemblyData Parameter) | |
| 868 | - (H : PhysicalParticularWave.ReferenceIdentity D) (j : ℤ) (hj : j ≠ 0) | |
| 869 | - (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) : | |
| 870 | - referenceLiftPressure D j = fun x => | |
| 871 | - mode ((D.wave j).frequency D.reference.band) ((D.wave j).phase D.reference.band) | |
| 872 | - ((D.wave j).pressure D.reference.band) (PhysicalParticularWave.waveEquiv x) := by | |
| 873 | - unfold referenceLiftPressure | |
| 874 | - rw [PhysicalParticularWave.referenceRawPressure_eq_common D H hj hf] | |
| 875 | - rfl | |
| 876 | - | |
| 877 | -theorem associatedCylinder_change (h : ℝ) {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) | |
| 878 | - (gap : ℕ) (x : Cylinder) : | |
| 879 | - associatedCylinder (PhysicalParticularWave.cylinderChange h Q Qr gap x) = | |
| 880 | - (PhysicalResidualNaturality.associatedChart h hQ hQr gap (associatedCylinder x).1, | |
| 881 | - (associatedCylinder x).2) := rfl | |
| 882 | - | |
| 883 | 224 | section ActualReferenceFields |
| 884 | 225 | |
| 885 | 226 | open ProblemStatement PhysicalParticularWave |
| @@ -894,85 +235,6 @@ variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | ||
| 894 | 235 | (Href : ReferenceChart D h (ChartScales.Q D.reference.band) (i + gap n)) |
| 895 | 236 | {U : Set Parameter} (hU : IsOpen U) |
| 896 | 237 | |
| 897 | -include H hn hr T Href hU in | |
| 898 | -theorem corrected_velocity_eq_reference {j : ℤ} {α κ : ℝ} | |
| 899 | - (C : LocalControl D.reference D.charts D.context D.state D.carrierBlock | |
| 900 | - D.gaussianInput D.aliasInput j D.background D.copy D.strip D.directions α κ) | |
| 901 | - (R : ReferenceODE D j U) {x : Cylinder} | |
| 902 | - (hx : x ∈ bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) U) : | |
| 903 | - vectorMode ((corrected D s h gap j).frequency n) ((corrected D s h gap j).phase n) | |
| 904 | - ((corrected D s h gap j).amplitude n) (waveEquiv x) = | |
| 905 | - velocityWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) • | |
| 906 | - vectorMode ((D.wave j).frequency D.reference.band) ((D.wave j).phase D.reference.band) | |
| 907 | - ((D.wave j).amplitude D.reference.band) | |
| 908 | - (waveEquiv (cylinderChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x)) := by | |
| 909 | - rw [corrected_velocity_eq_band D s h gap n i H hn hr T j C.harmonic_ne C.frequency_ne hx.1, | |
| 910 | - bandVelocity_eq_reference D (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 911 | - i (gap n) Href C (C.frequency_nonzero n) hU R hx, | |
| 912 | - referenceLiftVelocity_eq_wave D Href] | |
| 913 | - | |
| 914 | -include H hn hr Href in | |
| 915 | -theorem corrected_pressure_eq_reference {j : ℤ} {α κ : ℝ} | |
| 916 | - (C : LocalControl D.reference D.charts D.context D.state D.carrierBlock | |
| 917 | - D.gaussianInput D.aliasInput j D.background D.copy D.strip D.directions α κ) | |
| 918 | - (R : ReferenceODE D j U) {x : Cylinder} | |
| 919 | - (hx : x ∈ bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) U) : | |
| 920 | - mode ((corrected D s h gap j).frequency n) ((corrected D s h gap j).phase n) | |
| 921 | - ((corrected D s h gap j).pressure n) (waveEquiv x) = | |
| 922 | - pressureWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) * | |
| 923 | - mode ((D.wave j).frequency D.reference.band) ((D.wave j).phase D.reference.band) | |
| 924 | - ((D.wave j).pressure D.reference.band) | |
| 925 | - (waveEquiv (cylinderChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x)) := by | |
| 926 | - rw [corrected_pressure_eq_band D s h gap n i H hn hr j C.harmonic_ne C.frequency_ne hx.1, | |
| 927 | - bandPressureMode_eq_reference D h (ChartScales.Q_pos n) (ChartScales.Q_pos D.reference.band) | |
| 928 | - (gap n) (C.frequency_nonzero n) j (C.frequency_nonzero D.reference.band) R x hx.2.2, | |
| 929 | - referenceLiftPressure_eq_wave D Href.identity j C.harmonic_ne C.frequency_ne] | |
| 930 | - | |
| 931 | -include H hn hr T Href hU in | |
| 932 | -/-- The entire literal target block equals the same finite reference | |
| 933 | -block, on the full radial/free-torus/angular domain. -/ | |
| 934 | -theorem block_velocity_eq_reference {N : ℕ} {α κ : ℝ} (C : D.controls N α κ) | |
| 935 | - (hstrip : D.strip = CorrectionStep.ParticularParameters.nativeStrip s) | |
| 936 | - (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 937 | - (R : ∀ j ∈ modes N, ReferenceODE D j U) {x : Cylinder} | |
| 938 | - (hx : x ∈ bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) U) | |
| 939 | - (k : Fin 3) : | |
| 940 | - (block D s h gap N).oscillation n (associatedCylinder x) k = | |
| 941 | - velocityWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) * | |
| 942 | - (D.updateBlock N).oscillation D.reference.band | |
| 943 | - (associatedCylinder (cylinderChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x)) k := by | |
| 944 | - rw [block_velocity_represents D s h gap (fun j hj => hstrip ▸ (C j hj).background) hf] | |
| 945 | - rw [(AssemblyData.update_represents C).1] | |
| 946 | - change (∑ j ∈ modes N, _) = _ * (∑ j ∈ modes N, _) | |
| 947 | - rw [Finset.mul_sum] | |
| 948 | - apply Finset.sum_congr rfl | |
| 949 | - intro j hj | |
| 950 | - rw [angleShuffle_associatedCylinder, | |
| 951 | - corrected_velocity_eq_reference D s h gap n i H hn hr T Href hU (C j hj) (R j hj) hx, | |
| 952 | - angleShuffle_associatedCylinder] | |
| 953 | - simp only [Pi.smul_apply, Complex.real_smul, Complex.mul_re, Complex.ofReal_re, | |
| 954 | - Complex.ofReal_im, zero_mul, sub_zero] | |
| 955 | - | |
| 956 | -include H hn hr Href in | |
| 957 | -theorem block_pressure_eq_reference {N : ℕ} {α κ : ℝ} (C : D.controls N α κ) | |
| 958 | - (hf : ∀ m, D.carrierBlock.frequency m ≠ 0) | |
| 959 | - (R : ∀ j ∈ modes N, ReferenceODE D j U) {x : Cylinder} | |
| 960 | - (hx : x ∈ bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) U) : | |
| 961 | - (block D s h gap N).oscillatoryPressure n (associatedCylinder x) = | |
| 962 | - pressureWeight h (ChartScales.Q n) (ChartScales.Q D.reference.band) * | |
| 963 | - (D.updateBlock N).oscillatoryPressure D.reference.band | |
| 964 | - (associatedCylinder (cylinderChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) x)) := by | |
| 965 | - rw [block_pressure_represents D s h gap (fun j hj => (C j hj).harmonic_ne) hf] | |
| 966 | - rw [(AssemblyData.update_represents C).2] | |
| 967 | - change (∑ j ∈ modes N, _) = _ * (∑ j ∈ modes N, _) | |
| 968 | - rw [Finset.mul_sum] | |
| 969 | - apply Finset.sum_congr rfl | |
| 970 | - intro j hj | |
| 971 | - rw [angleShuffle_associatedCylinder, | |
| 972 | - corrected_pressure_eq_reference D s h gap n i H hn hr Href (C j hj) (R j hj) hx, | |
| 973 | - angleShuffle_associatedCylinder] | |
| 974 | - simp only [Complex.mul_re, Complex.ofReal_re, Complex.ofReal_im, zero_mul, sub_zero] | |
| 975 | - | |
| 976 | 238 | end ActualReferenceFields |
| 977 | 239 | |
| 978 | 240 | /-! ## Direct consumers for the current correction step -/ |
| @@ -992,59 +254,8 @@ variable {ι : Type} {D : AssemblyData Parameter} | ||
| 992 | 254 | (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) |
| 993 | 255 | {α κ : ℝ} (C : D.controls v.residualBand α κ) |
| 994 | 256 | |
| 995 | -include J H hn hr C in | |
| 996 | -theorem CurrentInputs.velocity_realization | |
| 997 | - (hstrip : D.strip = CorrectionStep.ParticularParameters.nativeStrip | |
| 998 | - (reindexStrip CorrectionStep.cycleAssoc.symm p.strip)) | |
| 999 | - (hm : CorrectionStep.WaveFrameMatch D.context | |
| 1000 | - (HarmonicWaveInteraction.productStrip (reindexStrip CorrectionStep.cycleAssoc.symm p.strip)) | |
| 1001 | - (reindexDirections angleShuffle D.directions) (reindexCoefficients angleShuffle D.background)) | |
| 1002 | - {I : ℕ} (hcover : i + gap n = I) | |
| 1003 | - (Href : ReferenceChart D h (ChartScales.Q D.reference.band) I) | |
| 1004 | - {U : Set Parameter} (hU : IsOpen U) (R : ∀ j ∈ modes v.residualBand, ReferenceODE D j U) | |
| 1005 | - {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) {z : SpaceTime} | |
| 1006 | - (hz : z ∈ (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).source | |
| 1007 | - (bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) (gap n) U)) | |
| 1008 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) : | |
| 1009 | - polarVelocityMap delta chart | |
| 1010 | - (velocityMap (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i) | |
| 1011 | - ((p.particularBlock v c u label).oscillation n)) (z.1, CylindricalResidual.chart z.2) = | |
| 1012 | - SpatialCurl.spatialCurl (labelPotential D h (ChartScales.Q D.reference.band) I delta v.residualBand) | |
| 1013 | - (z.1, CylindricalResidual.chart z.2) := by | |
| 1014 | - rw [J.particularBlock] | |
| 1015 | - exact cycle_velocity_realization D (reindexStrip CorrectionStep.cycleAssoc.symm p.strip) h gap n i | |
| 1016 | - H hn hr (targetChart_of_frameMatch D _ h n i hm H.targetFrame) C hstrip hcover Href hU R | |
| 1017 | - hdelta chart hz hchart | |
| 1018 | - | |
| 1019 | -include J H hn hr C in | |
| 1020 | -theorem CurrentInputs.pressure_realization | |
| 1021 | - {I : ℕ} (hcover : i + gap n = I) | |
| 1022 | - {U : Set Parameter} (R : ∀ j ∈ modes v.residualBand, ReferenceODE D j U) | |
| 1023 | - {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) {z : SpaceTime} | |
| 1024 | - (hz : 0 < z.2 0) | |
| 1025 | - (hp : parameterChange h (ChartScales.Q n) (ChartScales.Q D.reference.band) | |
| 1026 | - (nativeMap h (ChartScales.Q n) i z).1.1 ∈ U) | |
| 1027 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) : | |
| 1028 | - polarPressureMap delta chart | |
| 1029 | - (pressureMap (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i) | |
| 1030 | - ((p.particularBlock v c u label).oscillatoryPressure n)) (z.1, CylindricalResidual.chart z.2) = | |
| 1031 | - labelPressure D h (ChartScales.Q D.reference.band) I delta v.residualBand | |
| 1032 | - (z.1, CylindricalResidual.chart z.2) := by | |
| 1033 | - rw [J.particularBlock] | |
| 1034 | - exact cycle_pressure_realization D (reindexStrip CorrectionStep.cycleAssoc.symm p.strip) h gap n i | |
| 1035 | - H hn hr C hcover R hdelta chart hz hp hchart | |
| 1036 | - | |
| 1037 | 257 | end CurrentCycle |
| 1038 | 258 | |
| 1039 | -/-- The Cartesian image of the actual common-chart domain and valid | |
| 1040 | -polar branch; no extension of the raw formulas beyond this set is used. -/ | |
| 1041 | -noncomputable def physicalDomain (D : AssemblyData Parameter) (h : ℝ) (n i gap : ℕ) | |
| 1042 | - (U : Set Parameter) (delta : ℝ) (chart : PolarCharts.Index) : Set ProblemStatement.SpaceTime := | |
| 1043 | - (fun z : ProblemStatement.SpaceTime => (z.1, CylindricalResidual.chart z.2)) '' | |
| 1044 | - ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).source | |
| 1045 | - (PhysicalParticularWave.bandDomain D h (ChartScales.Q n) (ChartScales.Q D.reference.band) gap U) ∩ | |
| 1046 | - PhysicalCurlCovariance.validCylindrical delta chart) | |
| 1047 | - | |
| 1048 | 259 | section LocalIdentity |
| 1049 | 260 | |
| 1050 | 261 | open ProblemStatement PhysicalParticularWave CyclePhysicalPrefixes |
| @@ -1063,28 +274,6 @@ variable (D : AssemblyData Parameter) (s : WeightedClasses.StripData Associated) | ||
| 1063 | 274 | {U : Set Parameter} (hU : IsOpen U) (R : ∀ j ∈ modes N, ReferenceODE D j U) |
| 1064 | 275 | {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) |
| 1065 | 276 | |
| 1066 | -include H hn hr T C hstrip hcover Href hU R hdelta in | |
| 1067 | -theorem cycle_velocity_eqOn : | |
| 1068 | - EqOn (SpatialCurl.spatialCurl (labelPotential D h (ChartScales.Q D.reference.band) I delta N)) | |
| 1069 | - (polarVelocityMap delta chart | |
| 1070 | - (velocityMap (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i) | |
| 1071 | - ((cycleBlock D s h gap N).oscillation n))) | |
| 1072 | - (physicalDomain D h n i (gap n) U delta chart) := by | |
| 1073 | - rintro _ ⟨z, ⟨hz, hc⟩, rfl⟩ | |
| 1074 | - exact (cycle_velocity_realization D s h gap n i H hn hr T C hstrip hcover Href hU R | |
| 1075 | - hdelta chart hz hc).symm | |
| 1076 | - | |
| 1077 | -include H hn hr C hcover R hdelta in | |
| 1078 | -theorem cycle_pressure_eqOn : | |
| 1079 | - EqOn (labelPressure D h (ChartScales.Q D.reference.band) I delta N) | |
| 1080 | - (polarPressureMap delta chart | |
| 1081 | - (pressureMap (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i) | |
| 1082 | - ((cycleBlock D s h gap N).oscillatoryPressure n))) | |
| 1083 | - (physicalDomain D h n i (gap n) U delta chart) := by | |
| 1084 | - rintro _ ⟨z, ⟨hz, hc⟩, rfl⟩ | |
| 1085 | - exact (cycle_pressure_realization D s h gap n i H hn hr C hcover R hdelta chart | |
| 1086 | - hz.1 hz.2.2.2 hc).symm | |
| 1087 | - | |
| 1088 | 277 | end LocalIdentity |
| 1089 | 278 | |
| 1090 | 279 | end NavierStokes.ActualParticularRealization |
+0 −91 NavierStokes/ActualParticularStageControls.lean View file
| @@ -182,17 +182,6 @@ noncomputable def parameters (x : CycleState (Label B N0)) (l : Label B N0) : | ||
| 182 | 182 | ParticularParameters Parameter := |
| 183 | 183 | ParticularParameters.fromReference (assembly x l) h (gap l) |
| 184 | 184 | |
| 185 | -theorem parameters_source (x : CycleState (Label B N0)) (l : Label B N0) (j : ℤ) : | |
| 186 | - ((parameters x l).copyData (assembly x l).context (assembly x l).state | |
| 187 | - (assembly x l).carrierBlock (assembly x l).gaussianInput (assembly x l).aliasInput j).source = | |
| 188 | - ParticularWaveAssembly.sourceFamily (assembly x l).context (assembly x l).state | |
| 189 | - (assembly x l).carrierBlock (assembly x l).gaussianInput (assembly x l).aliasInput j := rfl | |
| 190 | - | |
| 191 | -theorem parameters_length (x : CycleState (Label B N0)) (l : Label B N0) (n : ℕ) : | |
| 192 | - (parameters x l).length n = (phases B N0 l.1).L l.2 / | |
| 193 | - PhysicalParticularWave.clockWeight h (ChartScales.Q n) | |
| 194 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) := rfl | |
| 195 | - | |
| 196 | 185 | /-- Fixed primitive data for all iterations of the same labeled construction. -/ |
| 197 | 186 | noncomputable def canonicalParameters (l : Label B N0) : ParticularParameters Parameter where |
| 198 | 187 | tangent j n := ScaledTangentTransport.transportTangent ((reference l).tangent j) |
| @@ -328,8 +317,6 @@ noncomputable def signedConstruction {ι : Type} {D : Domain ι Slow} | ||
| 328 | 317 | noncomputable def jointDomain : Domain (Label B N0) Slow := |
| 329 | 318 | reindexDomain (PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N) Prod.snd |
| 330 | 319 | |
| 331 | -noncomputable def jointPhase : PhaseFamily (Label B N0) := signedPhase (phases B N0) | |
| 332 | - | |
| 333 | 320 | theorem phase_common_bounds (j : Fin 2) : |
| 334 | 321 | (phases B N0 j).r = (phases B N0 0).r ∧ |
| 335 | 322 | (phases B N0 j).b = (phases B N0 0).b ∧ |
| @@ -413,14 +400,6 @@ noncomputable def slowInsert : Parameter →L[ℝ] CyclePoint where | ||
| 413 | 400 | noncomputable def slowStrip : StripData Parameter := |
| 414 | 401 | HarmonicWaveInteraction.pullbackStrip (BaseContextAssembly.nativeStrip nominal standardRegion) slowInsert |
| 415 | 402 | |
| 416 | -theorem sourceStrip_eq : CommonCoverClass.sourceStrip slowStrip = associatedStrip := by | |
| 417 | - rfl | |
| 418 | - | |
| 419 | -theorem nativeStrip_eq : | |
| 420 | - CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip slowStrip) = | |
| 421 | - ParticularParameters.nativeStrip associatedStrip := by | |
| 422 | - rfl | |
| 423 | - | |
| 424 | 403 | noncomputable def pulseEnvelope (l : Label B N0) : ℝ → ℝ := |
| 425 | 404 | PrimaryPulseBounds.referenceP ((phases B N0 l.1).lam l.2) ((phases B N0 l.1).u l.2) |
| 426 | 405 | ((phases B N0 l.1).L l.2) |
| @@ -488,12 +467,6 @@ noncomputable def selectedLength := | ||
| 488 | 467 | noncomputable def selectedPulseEnvelope := |
| 489 | 468 | ScaledActualParticularControl.envelope (selectedConstruction e) (selectedClock e) |
| 490 | 469 | |
| 491 | -theorem selected_geometry_eq (x : CycleState (Label B N0)) (n : ℕ) : | |
| 492 | - selectedGeometry e () n = (parameters x (selectedLabel e n)).geometry (selectedBand e n) := rfl | |
| 493 | - | |
| 494 | -theorem selected_length_eq (x : CycleState (Label B N0)) (n : ℕ) : | |
| 495 | - selectedLength e () n = (parameters x (selectedLabel e n)).length (selectedBand e n) := rfl | |
| 496 | - | |
| 497 | 470 | theorem selected_gap_bound (u : Unit) (n : ℕ) : |
| 498 | 471 | selectedGap e u n ≤ CommonWindow.gap h + SlotColoring.nativeGap h := |
| 499 | 472 | ActualSignedGeometry.common_native_gap outgoing.data.h_pos.le |
| @@ -578,17 +551,6 @@ theorem current_source_class (x : CycleState (Label B N0)) {α : ℝ} | ||
| 578 | 551 | rw [he] at ht |
| 579 | 552 | exact ht |
| 580 | 553 | |
| 581 | -theorem invariant_current_source_class (x : CycleState (Label B N0)) | |
| 582 | - {G : SignedMeanGain.Geometry} {primary : Label B N0 → HarmonicBlock CyclePoint} {σ : ℝ} | |
| 583 | - {labelCarrier : Label B N0 → ℕ → Set CyclePoint} | |
| 584 | - (H : CycleAnalyticInvariant G (commonContext B) primary meanEnvelope labelCarrier σ x) | |
| 585 | - (hstrip : G.strip = BaseContextAssembly.nativeStrip nominal standardRegion) | |
| 586 | - (j : ℤ) (hj : j ≠ 0) : | |
| 587 | - LabelSumBounds.UniformWaveClass (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip slowStrip)) | |
| 588 | - nativeEnvelope (1/2+σ) (currentSource x j) := by | |
| 589 | - apply current_source_class x _ j hj | |
| 590 | - simpa only [hstrip] using H.residual | |
| 591 | - | |
| 592 | 554 | theorem source_angle_reindex (s : StripData Parameter) (index : ℕ → ℕ) : |
| 593 | 555 | CommonCoverClass.sourceStrip |
| 594 | 556 | (ActualParticularControl.angleStrip |
| @@ -991,16 +953,6 @@ theorem raw_jets (x : CycleState (Label B N0)) | ||
| 991 | 953 | noncomputable def supportLabel (l : Label B N0) : ActualCarrierTransportBase.Index B N0 := |
| 992 | 954 | (l.2,l.1) |
| 993 | 955 | |
| 994 | -theorem support_geometry_eq (x : CycleState (Label B N0)) (l : Label B N0) (n : ℕ) : | |
| 995 | - ActualCarrierTransportBase.geometry (supportLabel l) n = (parameters x l).geometry n := rfl | |
| 996 | - | |
| 997 | -theorem support_length_eq (x : CycleState (Label B N0)) (l : Label B N0) (n : ℕ) : | |
| 998 | - ActualCarrierTransportBase.referenceLength (supportLabel l) / | |
| 999 | - ActualCarrierTransportBase.clock (supportLabel l) n = (parameters x l).length n := rfl | |
| 1000 | - | |
| 1001 | -theorem support_cutoff_eq (x : CycleState (Label B N0)) (l : Label B N0) (n : ℕ) : | |
| 1002 | - ActualCarrierTransportBase.cutoff (supportLabel l) n = (parameters x l).cutoff n := rfl | |
| 1003 | - | |
| 1004 | 956 | theorem copyData_ext {D I : Type} {a b : PeriodizedWaveBounds.CopyData D I} |
| 1005 | 957 | (hb : a.background = b.background) (ha : a.amplitude = b.amplitude) |
| 1006 | 958 | (hp : a.pressure = b.pressure) (hc : a.cutoff = b.cutoff) (hs : a.source = b.source) : a = b := by |
| @@ -1309,10 +1261,6 @@ theorem preserves_frequency {x : CycleState (Label B N0)} (hx : PreservesCarrier | ||
| 1309 | 1261 | (x.coefficients.blocks l).frequency n = ChartScales.carrier h n := |
| 1310 | 1262 | (congrFun (hx l).frequency n).symm |
| 1311 | 1263 | |
| 1312 | -theorem data_background_eq (x : CycleState (Label B N0)) (l : Label B N0) (j : ℤ) : | |
| 1313 | - (data x l j).background = | |
| 1314 | - ActualParticularBackground.carrier (fun l => x.coefficients.blocks l) j l := rfl | |
| 1315 | - | |
| 1316 | 1264 | theorem native_background_eq (x : CycleState (Label B N0)) (j : ℤ) : |
| 1317 | 1265 | jointRawBackground (fun l => data x l j) = |
| 1318 | 1266 | ActualParticularBackground.backgroundFamily (fun l => x.coefficients.blocks l) j := rfl |
| @@ -1384,21 +1332,6 @@ theorem common_bounds (x : CycleState (Label B N0)) (hx : PreservesCarriers x) | ||
| 1384 | 1332 | theorem meanEnvelope_eq_primary (l : Label B N0) (n : ℕ) (z : CyclePoint) : |
| 1385 | 1333 | meanEnvelope l n z = ActualPrimaryBounds.meanEnvelope l n z := rfl |
| 1386 | 1334 | |
| 1387 | -theorem nativeEnvelope_le_one (l : Label B N0) (n : ℕ) (z : Native) : | |
| 1388 | - nativeEnvelope l n z ≤ 1 := | |
| 1389 | - ActualPrimaryBounds.fullEnvelope_le_one l n (nativeToFull z) | |
| 1390 | - | |
| 1391 | -theorem native_wave_to_weighted {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 1392 | - {α : ℝ} {f : Label B N0 → ℕ → Native → E} | |
| 1393 | - (hf : LabelSumBounds.UniformWaveClass | |
| 1394 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip slowStrip)) nativeEnvelope α f) : | |
| 1395 | - LabelSumBounds.UniformClass | |
| 1396 | - (CommonCoverClass.sourceStrip (ActualParticularControl.angleStrip slowStrip)) | |
| 1397 | - (fun _ _ z => Real.sqrt ((CommonCoverClass.sourceStrip | |
| 1398 | - (ActualParticularControl.angleStrip slowStrip)).zeta z)) α f := | |
| 1399 | - hf.mono_weight (fun _ _ _ _ => Real.sqrt_nonneg _) | |
| 1400 | - (fun l n z _ => mul_le_of_le_one_right (Real.sqrt_nonneg _) (nativeEnvelope_le_one l n z)) | |
| 1401 | - | |
| 1402 | 1335 | abbrev ResidualBounds (x : CycleState (Label B N0)) (α : ℝ) : Prop := |
| 1403 | 1336 | UniformHarmonicInteraction.UniformVelocity |
| 1404 | 1337 | (BaseContextAssembly.nativeStrip nominal standardRegion) meanEnvelope α |
| @@ -1467,28 +1400,4 @@ theorem assembled_bounds (x : CycleState (Label B N0)) | ||
| 1467 | 1400 | exact ⟨fun i j => associated_wave_return (ha i j), |
| 1468 | 1401 | fun j => associated_wave_return (hp j), fun i j => associated_wave_return (hg i j)⟩ |
| 1469 | 1402 | |
| 1470 | -/-- The quantitative inputs are precisely fields of the current analytic | |
| 1471 | -invariant. The geometric equalities identify its actual strip and carrier. -/ | |
| 1472 | -theorem invariant_assembled_bounds (x : CycleState (Label B N0)) | |
| 1473 | - {G : SignedMeanGain.Geometry} {σ : ℝ} | |
| 1474 | - (H : CycleAnalyticInvariant G (commonContext B) ActualParticularBackground.primaryBlock | |
| 1475 | - meanEnvelope (fun l => ActualCarrierTransportBase.labelCarrier (supportLabel l)) σ x) | |
| 1476 | - (hstrip : G.strip = BaseContextAssembly.nativeStrip nominal standardRegion) | |
| 1477 | - (hdomain : G.domain = ActualCarrierTransportBase.domain) | |
| 1478 | - (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) : | |
| 1479 | - (∀ i j, LabelSumBounds.UniformWaveClass G.strip meanEnvelope (1/2+σ) | |
| 1480 | - (fun l n z => (outputBlock x x.coefficients.residualBand l).velocity n i j z)) ∧ | |
| 1481 | - (∀ j, LabelSumBounds.UniformWaveClass G.strip meanEnvelope (1+σ) | |
| 1482 | - (fun l n z => (outputBlock x x.coefficients.residualBand l).pressure n j z)) ∧ | |
| 1483 | - (∀ i j, LabelSumBounds.UniformWaveClass G.strip meanEnvelope (1+σ-3*ChartScales.kappa) | |
| 1484 | - (fun l n z => (outputGood x x.coefficients.residualBand l).velocity n i j z)) := by | |
| 1485 | - have hs : InputSupport x := by | |
| 1486 | - intro l | |
| 1487 | - simpa only [hdomain] using H.inputSupport l | |
| 1488 | - have hr : ResidualBounds x (1/2+σ) := by | |
| 1489 | - simpa only [hstrip] using H.residual | |
| 1490 | - have hout := assembled_bounds x H.carrier hs hN hr x.coefficients.residualBand | |
| 1491 | - have hα : (1/2:ℝ)+σ+1/2 = 1+σ := by ring | |
| 1492 | - simpa only [hstrip, hα] using hout | |
| 1493 | - | |
| 1494 | 1403 | end NavierStokes.ActualParticularStageControls |
+0 −564 NavierStokes/ActualPeriodizedSignedRealization.lean View file
| @@ -76,21 +76,6 @@ theorem gaussian_eq_native (n : ℕ) (k : Frequency) (Y : Plane) (hk : l.nativeM | ||
| 76 | 76 | l.gaussian n Y = l.nativeGaussian n k Y := |
| 77 | 77 | congrArg GaussianTailFlat.profile (l.clock_eq_native n k Y hk) |
| 78 | 78 | |
| 79 | -theorem mask_smooth (n : ℕ) : ContDiff ℝ ∞ (l.mask n) := | |
| 80 | - PeriodicPhaseAssembly.periodizeScalar_contDiff (l.geometry n) (l.cutoff_smooth n) (l.cutoff_compact n) | |
| 81 | - | |
| 82 | -theorem clock_smooth (n : ℕ) : ContDiff ℝ ∞ (l.clock n) := | |
| 83 | - (PeriodicPhaseAssembly.periodicClock_contDiff (l.geometry n) (l.window n)).div_const _ | |
| 84 | - | |
| 85 | -theorem mask_periodic (n : ℕ) (Y : Plane) (k : Frequency) : | |
| 86 | - l.mask n (Y + TorusAverages.latticePoint k) = l.mask n Y := | |
| 87 | - PeriodicPhaseAssembly.periodizeScalar_periodic (l.geometry n) (l.cutoff n) Y k | |
| 88 | - | |
| 89 | -theorem gaussian_periodic (n : ℕ) (Y : Plane) (k : Frequency) : | |
| 90 | - l.gaussian n (Y + TorusAverages.latticePoint k) = l.gaussian n Y := by | |
| 91 | - unfold gaussian clock | |
| 92 | - rw [PeriodicPhaseAssembly.periodicClock_periodic] | |
| 93 | - | |
| 94 | 79 | /-- Actual finite native support justifies the scalar/vector infinite sum. |
| 95 | 80 | The Gaussian is inserted once, on each native copy. -/ |
| 96 | 81 | theorem gaussian_mask_sum {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| @@ -108,40 +93,6 @@ theorem gaussian_mask_sum {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | ||
| 108 | 93 | _ = l.mask n Y • (l.gaussian n Y • a) := (l.mask_summable n Y).tsum_smul_const _ |
| 109 | 94 | _ = _ := smul_comm _ _ _ |
| 110 | 95 | |
| 111 | -/-- Local finiteness of the actual native cutoffs permits arbitrary | |
| 112 | -smooth slow factors; only their germs on the native support are needed. -/ | |
| 113 | -theorem maskedSum_contDiffOn {D E : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] | |
| 114 | - [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 115 | - (n : ℕ) (projection : D → Plane) (hprojection : ContDiff ℝ ∞ projection) | |
| 116 | - {O : Set D} (hO : IsOpen O) (f : Frequency → D → E) | |
| 117 | - (hf : ∀ k x, x ∈ O → (l.geometry n).coordinates k (projection x) ∈ tsupport (l.cutoff n) → | |
| 118 | - ContDiffAt ℝ ∞ (f k) x) : | |
| 119 | - ContDiffOn ℝ ∞ (fun x => ∑' k, l.nativeMask n k (projection x) • f k x) O := by | |
| 120 | - classical | |
| 121 | - have hc (k : Frequency) : ContDiff ℝ ∞ (fun x => (l.geometry n).coordinates k (projection x)) := | |
| 122 | - ((l.geometry n).coordinates_contDiff k).comp hprojection | |
| 123 | - have ht (k : Frequency) (x : D) (hx : x ∈ O) : | |
| 124 | - ContDiffAt ℝ ∞ (fun y => l.nativeMask n k (projection y) • f k y) x := by | |
| 125 | - by_cases hs : (l.geometry n).coordinates k (projection x) ∈ tsupport (l.cutoff n) | |
| 126 | - · exact (((l.cutoff_smooth n).comp (hc k)).contDiffAt).smul (hf k x hx hs) | |
| 127 | - · have hz := (notMem_tsupport_iff_eventuallyEq.mp hs).comp_tendsto (hc k).continuous.continuousAt | |
| 128 | - apply (contDiffAt_const (c := (0 : E))).congr_of_eventuallyEq | |
| 129 | - filter_upwards [hz] with y hy | |
| 130 | - change l.cutoff n ((l.geometry n).coordinates k (projection y)) = 0 at hy | |
| 131 | - simp only [nativeMask, hy, zero_smul] | |
| 132 | - apply hO.contDiffOn_iff.mpr | |
| 133 | - intro x hx | |
| 134 | - obtain ⟨J, hJ⟩ := (l.geometry n).finite_copy_cutoffs (l.cutoff_compact n) (‖projection x‖ + 1) | |
| 135 | - have he : (fun y => ∑' k, l.nativeMask n k (projection y) • f k y) =ᶠ[𝓝 x] | |
| 136 | - fun y => ∑ k ∈ J, l.nativeMask n k (projection y) • f k y := by | |
| 137 | - filter_upwards [(isOpen_lt hprojection.continuous.norm continuous_const).mem_nhds | |
| 138 | - (show ‖projection x‖ < ‖projection x‖ + 1 by linarith)] with y hy | |
| 139 | - apply tsum_eq_sum | |
| 140 | - intro k hk | |
| 141 | - change l.cutoff n ((l.geometry n).coordinates k (projection y)) • f k y = 0 | |
| 142 | - rw [hJ (projection y) hy.le k hk, zero_smul] | |
| 143 | - exact (ContDiffAt.sum (fun k _ => ht k x hx)).congr_of_eventuallyEq he | |
| 144 | - | |
| 145 | 96 | end Layout |
| 146 | 97 | |
| 147 | 98 | /-! ## The primitive homogeneous pressure is linear in its velocity -/ |
| @@ -157,10 +108,6 @@ theorem homogeneousPressure_smul (K c : ℝ) (N Ndot : Space) (A : Space →L[ | ||
| 157 | 108 | push_cast |
| 158 | 109 | ring |
| 159 | 110 | |
| 160 | -theorem homogeneousPressure_zero (K : ℝ) (N Ndot : Space) (A : Space →L[ℝ] Space) : | |
| 161 | - homogeneousPressure K N Ndot A 0 = 0 := by | |
| 162 | - simpa only [zero_smul] using homogeneousPressure_smul K 0 N Ndot A (0 : Space) | |
| 163 | - | |
| 164 | 111 | theorem coefficients_amplitude_at {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 165 | 112 | (a : WaveCoefficients D) (s : StripData D) (d : GraphDirections D) |
| 166 | 113 | (H : ℕ → D → Mat2) (T R : ℕ → D → Vec2) (mask : ℕ → D → ℝ) |
| @@ -260,27 +207,11 @@ variable {reference : ℕ} (V : B.Views reference) | ||
| 260 | 207 | |
| 261 | 208 | noncomputable def sharedMask (n : ℕ) (x : Cylinder) : ℝ := B.mask reference (V.map n x) |
| 262 | 209 | |
| 263 | -noncomputable def totalMask (n : ℕ) (x : Cylinder) : ℝ := | |
| 264 | - sharedMask B V n x * l.mask reference (V.map n x).1.2.2 | |
| 265 | - | |
| 266 | -noncomputable def copyMask (k : Frequency) (n : ℕ) (x : Cylinder) : ℝ := | |
| 267 | - sharedMask B V n x * l.nativeMask reference k (V.map n x).1.2.2 | |
| 268 | - | |
| 269 | -noncomputable def commonUnit (j : Fin 2) (n : ℕ) (x : Cylinder) : Space := | |
| 270 | - (periodizedPrimary B l).fundamental j reference (V.map n x) | |
| 271 | - | |
| 272 | 210 | noncomputable def nativeUnit (j : Fin 2) (k : Frequency) (n : ℕ) (x : Cylinder) : Space := |
| 273 | 211 | PrimaryPulseBounds.normalizedPulse ((B.pulse j).frame reference) |
| 274 | 212 | ((B.pulse j).lam reference) ((B.pulse j).u reference) ((B.pulse j).L reference) |
| 275 | 213 | ((B.coordinate reference (V.map n x)).1, l.nativeClock reference k (V.map n x).1.2.2) |
| 276 | 214 | |
| 277 | -theorem commonUnit_eq_native (j : Fin 2) (k : Frequency) (n : ℕ) (x : Cylinder) | |
| 278 | - (hk : l.nativeMask reference k (V.map n x).1.2.2 ≠ 0) : | |
| 279 | - commonUnit B l V j n x = nativeUnit B l V j k n x := by | |
| 280 | - change PrimaryPulseBounds.normalizedPulse _ _ _ _ (_, l.clock reference (V.map n x).1.2.2) = _ | |
| 281 | - rw [l.clock_eq_native reference k (V.map n x).1.2.2 hk] | |
| 282 | - rfl | |
| 283 | - | |
| 284 | 215 | /-- One call to the original homogeneous signed quotient constructor. -/ |
| 285 | 216 | noncomputable def coefficientsWith (request : ℕ → Cylinder → Vec2) (j : Fin 2) |
| 286 | 217 | (mask : ℕ → Cylinder → ℝ) (unit : ℕ → Cylinder → Space) : WaveCoefficients Cylinder := |
| @@ -290,255 +221,8 @@ noncomputable def coefficientsWith (request : ℕ → Cylinder → Vec2) (j : Fi | ||
| 290 | 221 | (fun n x => (V.normal n * V.clock n) • B.normalMotion reference (V.map n x)) |
| 291 | 222 | (fun n x => V.clock n • B.action reference (V.map n x)) j |
| 292 | 223 | |
| 293 | -noncomputable def commonCoefficients (request : ℕ → Cylinder → Vec2) (j : Fin 2) : WaveCoefficients Cylinder := | |
| 294 | - coefficientsWith B l V request j (sharedMask B V) (commonUnit B l V j) | |
| 295 | - | |
| 296 | -noncomputable def nativeCoefficients (request : ℕ → Cylinder → Vec2) (j : Fin 2) (k : Frequency) : | |
| 297 | - WaveCoefficients Cylinder := | |
| 298 | - coefficientsWith B l V request j (copyMask B l V k) (nativeUnit B l V j k) | |
| 299 | - | |
| 300 | -theorem views_coefficients (request : ℕ → Cylinder → Vec2) (j : Fin 2) : | |
| 301 | - (views B l V).coefficients request j = | |
| 302 | - coefficientsWith B l V request j (totalMask B l V) (commonUnit B l V j) := rfl | |
| 303 | - | |
| 304 | -noncomputable def commonScalar (request : ℕ → Cylinder → Vec2) (j : Fin 2) (n : ℕ) (x : Cylinder) : ℝ := | |
| 305 | - SignedWaveUpdate.signedScalar V.strip (fun n x => B.matrix reference (V.map n x)) | |
| 306 | - (B.viewTarget V.strip V.velocity (fun n => V.map n) reference) request (sharedMask B V) j n x | |
| 307 | - | |
| 308 | -theorem coefficientsWith_amplitude (request : ℕ → Cylinder → Vec2) (j : Fin 2) | |
| 309 | - (mask : ℕ → Cylinder → ℝ) (unit : ℕ → Cylinder → Space) (n : ℕ) (x : Cylinder) : | |
| 310 | - (coefficientsWith B l V request j mask unit).amplitude n x = | |
| 311 | - SignedWaveUpdate.signedScalar V.strip (fun n x => B.matrix reference (V.map n x)) | |
| 312 | - (B.viewTarget V.strip V.velocity (fun n => V.map n) reference) request mask j n x • | |
| 313 | - CurlClassBounds.complexify (unit n x) := | |
| 314 | - coefficients_amplitude_at _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| 315 | - | |
| 316 | -theorem coefficientsWith_pressure (request : ℕ → Cylinder → Vec2) (j : Fin 2) | |
| 317 | - (mask : ℕ → Cylinder → ℝ) (unit : ℕ → Cylinder → Space) (n : ℕ) (x : Cylinder) : | |
| 318 | - (coefficientsWith B l V request j mask unit).pressure n x = | |
| 319 | - SignedWaveUpdate.signedScalar V.strip (fun n x => B.matrix reference (V.map n x)) | |
| 320 | - (B.viewTarget V.strip V.velocity (fun n => V.map n) reference) request mask j n x • | |
| 321 | - homogeneousPressure (V.frequency n) | |
| 322 | - (((periodizedPrimary B l).viewBase V.background V.frequency (fun n => V.map n) reference).normal | |
| 323 | - V.strip V.directions n x) | |
| 324 | - ((V.normal n * V.clock n) • B.normalMotion reference (V.map n x)) | |
| 325 | - (V.clock n • B.action reference (V.map n x)) (unit n x) := | |
| 326 | - coefficients_pressure_at _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| 327 | - | |
| 328 | -theorem copy_scalar (request : ℕ → Cylinder → Vec2) (j : Fin 2) (k : Frequency) | |
| 329 | - (n : ℕ) (x : Cylinder) : | |
| 330 | - SignedWaveUpdate.signedScalar V.strip (fun n x => B.matrix reference (V.map n x)) | |
| 331 | - (B.viewTarget V.strip V.velocity (fun n => V.map n) reference) request (copyMask B l V k) j n x = | |
| 332 | - l.nativeMask reference k (V.map n x).1.2.2 * | |
| 333 | - SignedWaveUpdate.signedScalar V.strip (fun n x => B.matrix reference (V.map n x)) | |
| 334 | - (B.viewTarget V.strip V.velocity (fun n => V.map n) reference) request (sharedMask B V) j n x := by | |
| 335 | - unfold SignedWaveUpdate.signedScalar copyMask | |
| 336 | - ring | |
| 337 | - | |
| 338 | -theorem total_scalar (request : ℕ → Cylinder → Vec2) (j : Fin 2) (n : ℕ) (x : Cylinder) : | |
| 339 | - SignedWaveUpdate.signedScalar V.strip (fun n x => B.matrix reference (V.map n x)) | |
| 340 | - (B.viewTarget V.strip V.velocity (fun n => V.map n) reference) request (totalMask B l V) j n x = | |
| 341 | - l.mask reference (V.map n x).1.2.2 * | |
| 342 | - SignedWaveUpdate.signedScalar V.strip (fun n x => B.matrix reference (V.map n x)) | |
| 343 | - (B.viewTarget V.strip V.velocity (fun n => V.map n) reference) request (sharedMask B V) j n x := by | |
| 344 | - unfold SignedWaveUpdate.signedScalar totalMask | |
| 345 | - ring | |
| 346 | - | |
| 347 | -theorem native_amplitude (request : ℕ → Cylinder → Vec2) (j : Fin 2) (k : Frequency) | |
| 348 | - (n : ℕ) (x : Cylinder) : | |
| 349 | - (nativeCoefficients B l V request j k).amplitude n x = | |
| 350 | - l.nativeMask reference k (V.map n x).1.2.2 • (commonCoefficients B l V request j).amplitude n x := by | |
| 351 | - simp only [nativeCoefficients, commonCoefficients, coefficientsWith_amplitude] | |
| 352 | - rw [copy_scalar, mul_smul] | |
| 353 | - by_cases hk : l.nativeMask reference k (V.map n x).1.2.2 = 0 | |
| 354 | - · simp only [hk, zero_smul] | |
| 355 | - · rw [commonUnit_eq_native B l V j k n x hk] | |
| 356 | - | |
| 357 | -theorem native_pressure (request : ℕ → Cylinder → Vec2) (j : Fin 2) (k : Frequency) | |
| 358 | - (n : ℕ) (x : Cylinder) : | |
| 359 | - (nativeCoefficients B l V request j k).pressure n x = | |
| 360 | - l.nativeMask reference k (V.map n x).1.2.2 • (commonCoefficients B l V request j).pressure n x := by | |
| 361 | - simp only [nativeCoefficients, commonCoefficients, coefficientsWith_pressure] | |
| 362 | - rw [copy_scalar, mul_smul] | |
| 363 | - by_cases hk : l.nativeMask reference k (V.map n x).1.2.2 = 0 | |
| 364 | - · simp only [hk, zero_smul] | |
| 365 | - · rw [commonUnit_eq_native B l V j k n x hk] | |
| 366 | - | |
| 367 | -theorem view_amplitude (request : ℕ → Cylinder → Vec2) (j : Fin 2) (n : ℕ) (x : Cylinder) : | |
| 368 | - ((views B l V).coefficients request j).amplitude n x = | |
| 369 | - l.mask reference (V.map n x).1.2.2 • (commonCoefficients B l V request j).amplitude n x := by | |
| 370 | - rw [views_coefficients] | |
| 371 | - simp only [commonCoefficients, coefficientsWith_amplitude] | |
| 372 | - rw [total_scalar, mul_smul] | |
| 373 | - | |
| 374 | -theorem view_pressure (request : ℕ → Cylinder → Vec2) (j : Fin 2) (n : ℕ) (x : Cylinder) : | |
| 375 | - ((views B l V).coefficients request j).pressure n x = | |
| 376 | - l.mask reference (V.map n x).1.2.2 • (commonCoefficients B l V request j).pressure n x := by | |
| 377 | - rw [views_coefficients] | |
| 378 | - simp only [commonCoefficients, coefficientsWith_pressure] | |
| 379 | - rw [total_scalar, mul_smul] | |
| 380 | - | |
| 381 | -/-- Every lattice copy is built by the actual native signed quotient and | |
| 382 | -projected homogeneous pressure; the cutoff is applied before summation. -/ | |
| 383 | -noncomputable def copyData (request : ℕ → Cylinder → Vec2) (j : Fin 2) : | |
| 384 | - PeriodizedWaveBounds.CopyData Cylinder Frequency where | |
| 385 | - background := (periodizedPrimary B l).viewBase V.background V.frequency (fun n => V.map n) reference | |
| 386 | - amplitude n k := (nativeCoefficients B l V request j k).amplitude n | |
| 387 | - pressure n k := (nativeCoefficients B l V request j k).pressure n | |
| 388 | - cutoff n k x := l.nativeGaussian reference k (V.map n x).1.2.2 | |
| 389 | - source := fun _ _ => 0 | |
| 390 | - | |
| 391 | -theorem copyData_raw (request : ℕ → Cylinder → Vec2) (j : Fin 2) (k : Frequency) : | |
| 392 | - (copyData B l V request j).raw k = nativeCoefficients B l V request j k := rfl | |
| 393 | - | |
| 394 | -theorem common_amplitude (request : ℕ → Cylinder → Vec2) (j : Fin 2) (n : ℕ) (x : Cylinder) : | |
| 395 | - (copyData B l V request j).common.amplitude n x = | |
| 396 | - (((views B l V).coefficients request j).withCutoff (views B l V).cutoff).amplitude n x := by | |
| 397 | - change (∑' k, l.nativeGaussian reference k (V.map n x).1.2.2 • | |
| 398 | - (nativeCoefficients B l V request j k).amplitude n x) = | |
| 399 | - l.gaussian reference (V.map n x).1.2.2 • ((views B l V).coefficients request j).amplitude n x | |
| 400 | - simp_rw [native_amplitude] | |
| 401 | - rw [l.gaussian_mask_sum, view_amplitude] | |
| 402 | - | |
| 403 | -theorem common_pressure (request : ℕ → Cylinder → Vec2) (j : Fin 2) (n : ℕ) (x : Cylinder) : | |
| 404 | - (copyData B l V request j).common.pressure n x = | |
| 405 | - (((views B l V).coefficients request j).withCutoff (views B l V).cutoff).pressure n x := by | |
| 406 | - change (∑' k, (l.nativeGaussian reference k (V.map n x).1.2.2 : ℂ) * | |
| 407 | - (nativeCoefficients B l V request j k).pressure n x) = | |
| 408 | - (l.gaussian reference (V.map n x).1.2.2 : ℂ) * ((views B l V).coefficients request j).pressure n x | |
| 409 | - simp_rw [native_pressure, ← Complex.real_smul] | |
| 410 | - rw [l.gaussian_mask_sum, view_pressure] | |
| 411 | - | |
| 412 | -theorem common_eq (request : ℕ → Cylinder → Vec2) (j : Fin 2) : | |
| 413 | - (copyData B l V request j).common = | |
| 414 | - ((views B l V).coefficients request j).withCutoff (views B l V).cutoff := by | |
| 415 | - let a := copyData B l V request j | |
| 416 | - let b := ((views B l V).coefficients request j).withCutoff (views B l V).cutoff | |
| 417 | - have ha : a.common.amplitude = b.amplitude := funext fun n => funext fun x => common_amplitude B l V request j n x | |
| 418 | - have hp : a.common.pressure = b.pressure := funext fun n => funext fun x => common_pressure B l V request j n x | |
| 419 | - calc | |
| 420 | - a.common = {a.background with amplitude := a.common.amplitude, pressure := a.common.pressure} := rfl | |
| 421 | - _ = {a.background with amplitude := b.amplitude, pressure := b.pressure} := by rw [ha, hp] | |
| 422 | - _ = b := rfl | |
| 423 | - | |
| 424 | -/-- Exact coefficient equality precedes all differentiation. In | |
| 425 | -particular every derivative of the native cutoffs remains in the curl. -/ | |
| 426 | -theorem commonCorrected_eq (request : ℕ → Cylinder → Vec2) (j : Fin 2) : | |
| 427 | - (copyData B l V request j).commonCorrected V.strip V.directions = | |
| 428 | - (views B l V).exactCoefficients request j := by | |
| 429 | - unfold PeriodizedWaveBounds.CopyData.commonCorrected | |
| 430 | - rw [common_eq] | |
| 431 | - rfl | |
| 432 | - | |
| 433 | 224 | /-! ## The literal current-state request and one physical reference -/ |
| 434 | 225 | |
| 435 | -/-- The native copies use the current state's actual signed request. -/ | |
| 436 | -noncomputable def actualCopyData (D : V.StateData) (j : Fin 2) : | |
| 437 | - PeriodizedWaveBounds.CopyData Cylinder Frequency := | |
| 438 | - copyData B l V D.request j | |
| 439 | - | |
| 440 | -theorem actual_commonCorrected_eq (D : V.StateData) (j : Fin 2) : | |
| 441 | - (actualCopyData B l V D j).commonCorrected V.strip V.directions = | |
| 442 | - (views B l V).exactCoefficients (stateData B l D).request j := | |
| 443 | - commonCorrected_eq B l V D.request j | |
| 444 | - | |
| 445 | -/-- This equality holds before restriction to a physical graph, at every | |
| 446 | -point of the full slow/angle/fast strip. -/ | |
| 447 | -theorem actual_amplitude_transport (D : V.StateData) (j : Fin 2) | |
| 448 | - (n : ℕ) (x : Cylinder) (hx : x ∈ V.strip.domain) : | |
| 449 | - (actualCopyData B l V D j).common.amplitude n x = | |
| 450 | - V.velocity n • (periodizedPrimary B l).raw D.referenceRequest j reference (V.map n x) := by | |
| 451 | - rw [actualCopyData, common_amplitude] | |
| 452 | - exact (views B l V).amplitude_transport D.request D.referenceRequest j n x | |
| 453 | - (D.request_transport n x hx) | |
| 454 | - | |
| 455 | -theorem actual_amplitude_transport_germ (D : V.StateData) (j : Fin 2) | |
| 456 | - (n : ℕ) {x : Cylinder} (hx : x ∈ V.strip.domain) : | |
| 457 | - (actualCopyData B l V D j).common.amplitude n =ᶠ[𝓝 x] | |
| 458 | - fun y => V.velocity n • (periodizedPrimary B l).raw D.referenceRequest j reference (V.map n y) := by | |
| 459 | - filter_upwards [V.strip.isOpen_domain.mem_nhds hx] with y hy | |
| 460 | - exact actual_amplitude_transport B l V D j n y hy | |
| 461 | - | |
| 462 | -theorem actual_pressure_transport (D : V.StateData) (j : Fin 2) (n : ℕ) | |
| 463 | - (hK : B.base.frequency reference ≠ 0) | |
| 464 | - (G : PhysicalSignedWave.ChartGeometry B.base B.strip B.directions reference | |
| 465 | - V.exponent V.referenceScale V.referenceCover) | |
| 466 | - (H : PhysicalSignedWave.ChartGeometry | |
| 467 | - (B.viewBase V.background V.frequency (fun n => V.map n) reference) | |
| 468 | - V.strip V.directions n V.exponent (V.scale n) (V.cover n)) | |
| 469 | - {x : Cylinder} (hx : x ∈ V.strip.domain) (hr : 0 < x.1.1) | |
| 470 | - (hPhi : DifferentiableAt ℝ (B.base.phase reference) (V.map n x)) : | |
| 471 | - (actualCopyData B l V D j).common.pressure n x = | |
| 472 | - PhysicalParticularWave.pressureWeight V.exponent (V.scale n) V.referenceScale • | |
| 473 | - (periodizedPrimary B l).rawPressure D.referenceRequest j reference (V.map n x) := by | |
| 474 | - rw [actualCopyData, common_pressure] | |
| 475 | - exact (views B l V).pressure_transport D.request D.referenceRequest j n hr hK G H hPhi | |
| 476 | - (D.request_transport n x hx) | |
| 477 | - | |
| 478 | -/-- One genuine periodized Cartesian potential, retaining the same pulse, | |
| 479 | -reference state, scales, and integer covers as the native copies. -/ | |
| 480 | -noncomputable def physicalPotential (D : V.StateData) (j : Fin 2) (delta : ℝ) : VelocityField := | |
| 481 | - (views B l V).physicalPotential D.referenceRequest j delta | |
| 482 | - | |
| 483 | -noncomputable def physicalVelocity (D : V.StateData) (j : Fin 2) (delta : ℝ) : VelocityField := | |
| 484 | - SpatialCurl.spatialCurl (physicalPotential B l V D j delta) | |
| 485 | - | |
| 486 | -noncomputable def physicalPressure (D : V.StateData) (j : Fin 2) (delta : ℝ) : PressureField := | |
| 487 | - (views B l V).physicalPressure D.referenceRequest j delta | |
| 488 | - | |
| 489 | -theorem physicalVelocity_eq_curl (D : V.StateData) (j : Fin 2) (delta : ℝ) : | |
| 490 | - physicalVelocity B l V D j delta = SpatialCurl.spatialCurl (physicalPotential B l V D j delta) := rfl | |
| 491 | - | |
| 492 | -/-- The actual native-copy sum, corrected after cutoff and summation, is | |
| 493 | -the band view of the single constructed Cartesian curl. Analytic inputs | |
| 494 | -concern the primitive reference data and coordinate charts. -/ | |
| 495 | -theorem actual_wave_physical (D : V.StateData) (j : Fin 2) (n : ℕ) | |
| 496 | - (R : (periodizedPrimary B l).Regular D.referenceRequest reference j) | |
| 497 | - (A : (periodizedPrimary B l).Angular D.referenceRequest reference) | |
| 498 | - (hK : B.base.frequency reference ≠ 0) | |
| 499 | - (G : PhysicalSignedWave.ChartGeometry B.base B.strip B.directions reference | |
| 500 | - V.exponent V.referenceScale V.referenceCover) | |
| 501 | - (H : PhysicalSignedWave.ChartGeometry | |
| 502 | - (B.viewBase V.background V.frequency (fun n => V.map n) reference) | |
| 503 | - V.strip V.directions n V.exponent (V.scale n) (V.cover n)) | |
| 504 | - (hmap : MapsTo (V.map n) V.strip.domain B.strip.domain) | |
| 505 | - (hradius : ∀ x ∈ V.strip.domain, 0 < x.1.1) | |
| 506 | - {z : SpaceTime} | |
| 507 | - (hz : z ∈ (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).source V.strip.domain) | |
| 508 | - {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) | |
| 509 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) (component : Fin 3) : | |
| 510 | - (vectorMode (((actualCopyData B l V D j).commonCorrected V.strip V.directions).frequency n) | |
| 511 | - (((actualCopyData B l V D j).commonCorrected V.strip V.directions).phase n) | |
| 512 | - (((actualCopyData B l V D j).commonCorrected V.strip V.directions).amplitude n) | |
| 513 | - ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map z) component).re = | |
| 514 | - V.scale n ^ CoordinateAlgebra.A V.exponent * CylindricalResidual.frame (-(z.2 1)) | |
| 515 | - (physicalVelocity B l V D j delta (z.1, CylindricalResidual.chart z.2)) component := by | |
| 516 | - rw [actual_commonCorrected_eq] | |
| 517 | - exact (stateData B l D).actual_wave_physical j n R A hK G H hmap hradius hz hdelta chart hchart component | |
| 518 | - | |
| 519 | -theorem actual_pressure_physical (D : V.StateData) (j : Fin 2) (n : ℕ) | |
| 520 | - (R : (periodizedPrimary B l).Regular D.referenceRequest reference j) | |
| 521 | - (A : (periodizedPrimary B l).Angular D.referenceRequest reference) | |
| 522 | - (hK : B.base.frequency reference ≠ 0) | |
| 523 | - (G : PhysicalSignedWave.ChartGeometry B.base B.strip B.directions reference | |
| 524 | - V.exponent V.referenceScale V.referenceCover) | |
| 525 | - (H : PhysicalSignedWave.ChartGeometry | |
| 526 | - (B.viewBase V.background V.frequency (fun n => V.map n) reference) | |
| 527 | - V.strip V.directions n V.exponent (V.scale n) (V.cover n)) | |
| 528 | - (hmap : MapsTo (V.map n) V.strip.domain B.strip.domain) | |
| 529 | - {z : SpaceTime} | |
| 530 | - (hz : z ∈ (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).source V.strip.domain) | |
| 531 | - {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) | |
| 532 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) : | |
| 533 | - (HarmonicCalculus.mode (((actualCopyData B l V D j).commonCorrected V.strip V.directions).frequency n) | |
| 534 | - (((actualCopyData B l V D j).commonCorrected V.strip V.directions).phase n) | |
| 535 | - (((actualCopyData B l V D j).commonCorrected V.strip V.directions).pressure n) | |
| 536 | - ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map z)).re = | |
| 537 | - V.scale n ^ (2 * CoordinateAlgebra.A V.exponent) * | |
| 538 | - physicalPressure B l V D j delta (z.1, CylindricalResidual.chart z.2) := by | |
| 539 | - rw [actual_commonCorrected_eq] | |
| 540 | - exact (stateData B l D).actual_pressure_physical j n R A hK G H hmap hz hdelta chart hchart | |
| 541 | - | |
| 542 | 226 | end Reference |
| 543 | 227 | |
| 544 | 228 | /-! ## Support-local primitive regularity on the complete reference strip -/ |
| @@ -619,258 +303,10 @@ variable {B l} {request : ℕ → Cylinder → Vec2} {reference : ℕ} {column : | ||
| 619 | 303 | |
| 620 | 304 | include R |
| 621 | 305 | |
| 622 | -theorem matrix_smooth (i j : Fin 2) : | |
| 623 | - ContDiffOn ℝ ∞ (fun x => B.matrix reference x i j) B.strip.domain := by | |
| 624 | - have hm := PrimaryPulseBounds.primaryCovariance_entry_polynomial U B.prefactor | |
| 625 | - (fun j => (B.pulse j).frame) (fun j => (B.pulse j).lam) (fun j => (B.pulse j).u) | |
| 626 | - (fun j => (B.pulse j).L) R.prefactor (fun j => (B.pulse j).pulse_jets) | |
| 627 | - (fun j => (B.pulse j).lam_pos) (fun j => (B.pulse j).u_pos) (fun j => (B.pulse j).L_pos) i j | |
| 628 | - exact (hm.smooth reference).comp R.coordinate R.coordinate_mem | |
| 629 | - | |
| 630 | -theorem scalar_smooth (j : Fin 2) : | |
| 631 | - ContDiffOn ℝ ∞ (referenceScalar B request j reference) B.strip.domain := by | |
| 632 | - have hi := SmoothCovariance.contDiffOn_inverse_solution R.matrix_smooth R.request | |
| 633 | - (fun x hx => (R.cone x hx).det_ne_zero) j | |
| 634 | - have ha := SmoothCovariance.contDiffOn_amplitudes R.matrix_smooth R.target R.cone j | |
| 635 | - have hd : ∀ x ∈ B.strip.domain, 2 * SmoothCovariance.amplitudes | |
| 636 | - (B.matrix reference x) (B.target reference x) j ≠ 0 := by | |
| 637 | - intro x hx | |
| 638 | - exact mul_ne_zero (by norm_num) ((R.cone x hx).amplitudes_pos j).ne' | |
| 639 | - exact (contDiffOn_const.mul (hi.div (contDiffOn_const.mul ha) hd)).mul R.mask | |
| 640 | - | |
| 641 | -theorem unit_smoothAt (j : Fin 2) (k : Frequency) {x : Cylinder} (hx : x ∈ B.strip.domain) | |
| 642 | - (hs : (l.geometry reference).coordinates k x.1.2.2 ∈ tsupport (l.cutoff reference)) : | |
| 643 | - ContDiffAt ℝ ∞ (referenceNativeUnit B l j reference k) x := by | |
| 644 | - have hc : ContDiff ℝ ∞ (fun y : Cylinder => l.nativeClock reference k y.1.2.2) := | |
| 645 | - (((l.geometry reference).coordinates_contDiff k).comp contDiff_fst.snd.snd).snd.div_const _ | |
| 646 | - have hu : ContDiffAt ℝ ∞ (PrimaryPulseBounds.normalizedPulse ((B.pulse j).frame reference) | |
| 647 | - ((B.pulse j).lam reference) ((B.pulse j).u reference) ((B.pulse j).L reference)) | |
| 648 | - ((B.coordinate reference x).1, l.nativeClock reference k x.1.2.2) := | |
| 649 | - ((B.pulse j).pulse_jets.smooth reference).contDiffAt | |
| 650 | - (((U.isOpen reference).prod isOpen_Ioo).mem_nhds | |
| 651 | - ⟨R.coordinate_mem x hx, R.native_time k x hx hs⟩) | |
| 652 | - exact hu.comp x | |
| 653 | - ((R.coordinate.contDiffAt (B.strip.isOpen_domain.mem_nhds hx)).prodMk hc.contDiffAt) | |
| 654 | - | |
| 655 | -/-- Smoothness is derived from the actual native sum, including its | |
| 656 | -zero germs between support cells. -/ | |
| 657 | -theorem raw_smooth (j : Fin 2) : | |
| 658 | - ContDiffOn ℝ ∞ ((periodizedPrimary B l).raw request j reference) B.strip.domain := by | |
| 659 | - rw [reference_raw_eq_sum] | |
| 660 | - apply l.maskedSum_contDiffOn reference (fun x : Cylinder => x.1.2.2) contDiff_fst.snd.snd | |
| 661 | - B.strip.isOpen_domain | |
| 662 | - intro k x hx hs | |
| 663 | - have hg : ContDiff ℝ ∞ (fun y : Cylinder => l.nativeGaussian reference k y.1.2.2) := | |
| 664 | - GaussianTailFlat.profile_contDiff.comp | |
| 665 | - ((((l.geometry reference).coordinates_contDiff k).comp contDiff_fst.snd.snd).snd.div_const _) | |
| 666 | - exact hg.contDiffAt.smul | |
| 667 | - ((R.scalar_smooth j).contDiffAt (B.strip.isOpen_domain.mem_nhds hx) |>.smul | |
| 668 | - (CurlClassBounds.complexify.contDiff.contDiffAt.comp x (R.unit_smoothAt j k hx hs))) | |
| 669 | - | |
| 670 | -theorem raw_tangent {x : Cylinder} (hx : x ∈ B.strip.domain) : | |
| 671 | - normalDot (B.base.normal B.strip B.directions reference x) | |
| 672 | - ((periodizedPrimary B l).raw request column reference x) = 0 := by | |
| 673 | - classical | |
| 674 | - rw [reference_raw_formula] | |
| 675 | - by_cases hm : l.mask reference x.1.2.2 = 0 | |
| 676 | - · simp only [hm, zero_smul, smul_zero, normalDot] | |
| 677 | - simp | |
| 678 | - · have hk : ∃ k, l.nativeMask reference k x.1.2.2 ≠ 0 := by | |
| 679 | - by_contra h | |
| 680 | - push Not at h | |
| 681 | - apply hm | |
| 682 | - change (∑' k, l.nativeMask reference k x.1.2.2) = 0 | |
| 683 | - simp only [h, tsum_zero] | |
| 684 | - obtain ⟨k, hk⟩ := hk | |
| 685 | - rw [referenceUnit_eq_native B l column reference k x hk] | |
| 686 | - have ht : normalDot (B.base.normal B.strip B.directions reference x) | |
| 687 | - (CurlClassBounds.complexify (referenceNativeUnit B l column reference k x)) = 0 := by | |
| 688 | - rw [SignedWaveUpdate.normalDot_complexify, R.normal_frame k x hx hk] | |
| 689 | - exact_mod_cast ((B.pulse column).frame reference).ambient_tangent | |
| 690 | - ((B.coordinate reference x).1, | |
| 691 | - (B.pulse column).L reference * l.nativeClock reference k x.1.2.2) _ | |
| 692 | - simp only [smul_smul] | |
| 693 | - simpa only [one_smul, Complex.ofReal_one, one_mul, ht, mul_zero] using | |
| 694 | - PhysicalParticularWave.normalDot_scaled 1 | |
| 695 | - (l.gaussian reference x.1.2.2 * (l.mask reference x.1.2.2 * referenceScalar B request column reference x)) | |
| 696 | - (B.base.normal B.strip B.directions reference x) | |
| 697 | - (CurlClassBounds.complexify (referenceNativeUnit B l column reference k x)) | |
| 698 | - | |
| 699 | 306 | end SupportedRegular |
| 700 | 307 | |
| 701 | -theorem fast_invariant : CopyAngularInvariance.Invariant ((0, 1) : Cylinder) | |
| 702 | - (fun x : Cylinder => x.1.2.2) := by | |
| 703 | - intro x t | |
| 704 | - simp only [Prod.fst_add, Prod.smul_fst, smul_zero, add_zero] | |
| 705 | - | |
| 706 | -/-- Angular invariance is inherited from the same primary inputs. The | |
| 707 | -new clock and native mask depend only on the auxiliary torus coordinate. -/ | |
| 708 | -noncomputable def periodizedAngular {request : ℕ → Cylinder → Vec2} {reference : ℕ} | |
| 709 | - (A : B.Angular request reference) : (periodizedPrimary B l).Angular request reference where | |
| 710 | - mode := A.mode | |
| 711 | - phase := A.phase | |
| 712 | - coordinate := (A.coordinate.map Prod.fst).map₂ | |
| 713 | - (fast_invariant.map (l.clock reference)) Prod.mk | |
| 714 | - target := A.target | |
| 715 | - request := A.request | |
| 716 | - mask := A.mask.map₂ (fast_invariant.map (l.mask reference)) (· * ·) | |
| 717 | - normalMotion := A.normalMotion | |
| 718 | - action := A.action | |
| 719 | - | |
| 720 | 308 | variable {reference : ℕ} (V : B.Views reference) (D : V.StateData) |
| 721 | 309 | |
| 722 | -/-- The integer harmonic block is built from the same corrected native | |
| 723 | -sum. No independent wave is substituted into the iteration. -/ | |
| 724 | -noncomputable def actualBlock (j : Fin 2) (angularFrequency : ℕ → ℤ) : | |
| 725 | - CorrectionState.HarmonicBlock PhysicalResidualBridge.Lift := | |
| 726 | - SignedWaveUpdate.blockOfCoefficients | |
| 727 | - ((actualCopyData B l V D j).commonCorrected V.strip V.directions) angularFrequency | |
| 728 | - | |
| 729 | -theorem actualBlock_eq (j : Fin 2) (angularFrequency : ℕ → ℤ) : | |
| 730 | - actualBlock B l V D j angularFrequency = SignedWaveUpdate.blockOfCoefficients | |
| 731 | - ((views B l V).exactCoefficients D.request j) angularFrequency := by | |
| 732 | - unfold actualBlock | |
| 733 | - rw [actual_commonCorrected_eq, stateData_request] | |
| 734 | - | |
| 735 | -/-- Full-strip realization from support-local native input regularity. | |
| 736 | -There is no condition on the uncut pulse in inactive periodic gaps. -/ | |
| 737 | -theorem supported_wave_physical (j : Fin 2) (n : ℕ) | |
| 738 | - (R : SupportedRegular B l D.referenceRequest reference j) | |
| 739 | - (A : B.Angular D.referenceRequest reference) | |
| 740 | - (hK : B.base.frequency reference ≠ 0) | |
| 741 | - (G : PhysicalSignedWave.ChartGeometry B.base B.strip B.directions reference | |
| 742 | - V.exponent V.referenceScale V.referenceCover) | |
| 743 | - (H : PhysicalSignedWave.ChartGeometry | |
| 744 | - (B.viewBase V.background V.frequency (fun n => V.map n) reference) | |
| 745 | - V.strip V.directions n V.exponent (V.scale n) (V.cover n)) | |
| 746 | - (hmap : MapsTo (V.map n) V.strip.domain B.strip.domain) | |
| 747 | - (hradius : ∀ x ∈ V.strip.domain, 0 < x.1.1) | |
| 748 | - {z : SpaceTime} | |
| 749 | - (hz : z ∈ (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).source V.strip.domain) | |
| 750 | - {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) | |
| 751 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) (component : Fin 3) : | |
| 752 | - (vectorMode (((actualCopyData B l V D j).commonCorrected V.strip V.directions).frequency n) | |
| 753 | - (((actualCopyData B l V D j).commonCorrected V.strip V.directions).phase n) | |
| 754 | - (((actualCopyData B l V D j).commonCorrected V.strip V.directions).amplitude n) | |
| 755 | - ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map z) component).re = | |
| 756 | - V.scale n ^ CoordinateAlgebra.A V.exponent * CylindricalResidual.frame (-(z.2 1)) | |
| 757 | - (physicalVelocity B l V D j delta (z.1, CylindricalResidual.chart z.2)) component := by | |
| 758 | - rw [actual_commonCorrected_eq, stateData_request, | |
| 759 | - ← (views B l V).wave_eq_exact D.request j n H] | |
| 760 | - have hphi : ContDiffOn ℝ ∞ (((views B l V).coefficients D.request j).phase n) V.strip.domain := | |
| 761 | - contDiffOn_const.mul (R.phase.comp (V.map n).contDiff.contDiffOn hmap) | |
| 762 | - have ha : ContDiffOn ℝ ∞ | |
| 763 | - ((((views B l V).coefficients D.request j).withCutoff (views B l V).cutoff).amplitude n) | |
| 764 | - V.strip.domain := by | |
| 765 | - apply (((R.raw_smooth j).comp (V.map n).contDiff.contDiffOn hmap).const_smul | |
| 766 | - (V.velocity n)).congr | |
| 767 | - intro x hx | |
| 768 | - exact (views B l V).amplitude_transport D.request D.referenceRequest j n x (D.request_transport n x hx) | |
| 769 | - have hnrel (x : Cylinder) (hx : x ∈ V.strip.domain) : | |
| 770 | - phaseNormal PhysicalResidualBridge.ScaledGraph.radius | |
| 771 | - (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).radial | |
| 772 | - PhysicalResidualBridge.ScaledGraph.angular | |
| 773 | - (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).axial | |
| 774 | - (((views B l V).coefficients D.request j).phase n) x = | |
| 775 | - V.normal n • B.base.normal B.strip B.directions reference (V.map n x) := by | |
| 776 | - exact (congrFun H.normal x).symm.trans ((views B l V).normal_transport G n H (hradius x hx) | |
| 777 | - ((R.phase.contDiffAt (B.strip.isOpen_domain.mem_nhds (hmap hx))).differentiableAt (by simp))) | |
| 778 | - have hn (x : Cylinder) (hx : x ∈ V.strip.domain) : | |
| 779 | - phaseNormal PhysicalResidualBridge.ScaledGraph.radius | |
| 780 | - (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).radial | |
| 781 | - PhysicalResidualBridge.ScaledGraph.angular | |
| 782 | - (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).axial | |
| 783 | - (((views B l V).coefficients D.request j).phase n) x ≠ 0 := by | |
| 784 | - rw [hnrel x hx] | |
| 785 | - exact smul_ne_zero (PhysicalParticularWave.normalWeight_ne (V.scale_pos n) V.referenceScale_pos | |
| 786 | - (V.frequency_ne n) hK) (R.normal_ne _ (hmap hx)) | |
| 787 | - have ht (x : Cylinder) (hx : x ∈ V.strip.domain) : | |
| 788 | - normalDot (phaseNormal PhysicalResidualBridge.ScaledGraph.radius | |
| 789 | - (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).radial | |
| 790 | - PhysicalResidualBridge.ScaledGraph.angular | |
| 791 | - (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).axial | |
| 792 | - (((views B l V).coefficients D.request j).phase n) x) | |
| 793 | - ((((views B l V).coefficients D.request j).withCutoff (views B l V).cutoff).amplitude n x) = 0 := by | |
| 794 | - rw [hnrel x hx, (views B l V).amplitude_transport D.request D.referenceRequest j n x | |
| 795 | - (D.request_transport n x hx), PhysicalParticularWave.normalDot_scaled] | |
| 796 | - change (V.normal n : ℂ) * (V.velocity n : ℂ) * | |
| 797 | - normalDot (B.base.normal B.strip B.directions reference (V.map n x)) | |
| 798 | - ((periodizedPrimary B l).raw D.referenceRequest j reference (V.map n x)) = 0 | |
| 799 | - rw [R.raw_tangent (hmap hx), mul_zero] | |
| 800 | - have hp : ∀ y ∈ (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).source V.strip.domain, | |
| 801 | - B.base.frequency reference * (views B l V).physicalPhase y = | |
| 802 | - V.frequency n * ((views B l V).coefficients D.request j).phase n | |
| 803 | - ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map y) := by | |
| 804 | - intro y hy | |
| 805 | - change B.base.frequency reference * B.base.phase reference | |
| 806 | - ((PhysicalResidualBridge.commonGraph V.referenceScale V.exponent V.referenceCover).map y) = | |
| 807 | - V.frequency n * ((B.base.frequency reference / V.frequency n) * | |
| 808 | - B.base.phase reference (V.map n | |
| 809 | - ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map y))) | |
| 810 | - rw [V.map_graph n hy.1] | |
| 811 | - field_simp [V.frequency_ne n] | |
| 812 | - have hav : ∀ y ∈ (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).source V.strip.domain, | |
| 813 | - (views B l V).physicalRaw D.referenceRequest j y = V.scale n ^ (-CoordinateAlgebra.A V.exponent) • | |
| 814 | - (((views B l V).coefficients D.request j).withCutoff (views B l V).cutoff).amplitude n | |
| 815 | - ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map y) := by | |
| 816 | - intro y hy | |
| 817 | - rw [(views B l V).amplitude_transport D.request D.referenceRequest j n _ (D.request_transport _ _ hy.2)] | |
| 818 | - change V.referenceScale ^ (-CoordinateAlgebra.A V.exponent) • | |
| 819 | - (periodizedPrimary B l).raw D.referenceRequest j reference | |
| 820 | - ((PhysicalResidualBridge.commonGraph V.referenceScale V.exponent V.referenceCover).map y) = | |
| 821 | - V.scale n ^ (-CoordinateAlgebra.A V.exponent) • V.velocity n • | |
| 822 | - (periodizedPrimary B l).raw D.referenceRequest j reference | |
| 823 | - (V.map n ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map y)) | |
| 824 | - rw [V.map_graph n hy.1, smul_smul] | |
| 825 | - change V.referenceScale ^ (-CoordinateAlgebra.A V.exponent) • _ = | |
| 826 | - (V.scale n ^ (-CoordinateAlgebra.A V.exponent) * V.velocity n) • _ | |
| 827 | - congr 1 | |
| 828 | - rw [mul_comm] | |
| 829 | - exact (PhysicalParticularWave.ratioPower_cancel (V.scale_pos n) V.referenceScale_pos _).symm | |
| 830 | - exact PhysicalCurlCovariance.reference_correctedWave_constructed (V.scale_pos n) V.exponent (V.cover n) | |
| 831 | - V.strip.isOpen_domain (fun x hx => (hradius x hx).ne') hK (V.frequency_ne n) hphi ha hn ht | |
| 832 | - (views B l V).physicalPhase ((views B l V).physicalRaw D.referenceRequest j) hp hav | |
| 833 | - ((views B l V).referencePotential_periodic (periodizedAngular B l A) hK j) | |
| 834 | - hz hdelta chart hchart component | |
| 835 | - | |
| 836 | -/-- Pressure uses the same native quotient, normal motion, action and | |
| 837 | -single Gaussian, with its physical squared-velocity scaling. -/ | |
| 838 | -theorem supported_pressure_physical (j : Fin 2) (n : ℕ) | |
| 839 | - (R : SupportedRegular B l D.referenceRequest reference j) | |
| 840 | - (A : B.Angular D.referenceRequest reference) | |
| 841 | - (hK : B.base.frequency reference ≠ 0) | |
| 842 | - (G : PhysicalSignedWave.ChartGeometry B.base B.strip B.directions reference | |
| 843 | - V.exponent V.referenceScale V.referenceCover) | |
| 844 | - (H : PhysicalSignedWave.ChartGeometry | |
| 845 | - (B.viewBase V.background V.frequency (fun n => V.map n) reference) | |
| 846 | - V.strip V.directions n V.exponent (V.scale n) (V.cover n)) | |
| 847 | - (hmap : MapsTo (V.map n) V.strip.domain B.strip.domain) | |
| 848 | - {z : SpaceTime} | |
| 849 | - (hz : z ∈ (PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).source V.strip.domain) | |
| 850 | - {delta : ℝ} (hdelta : 0 < delta) (chart : PolarCharts.Index) | |
| 851 | - (hchart : z ∈ PhysicalCurlCovariance.validCylindrical delta chart) : | |
| 852 | - (HarmonicCalculus.mode (((actualCopyData B l V D j).commonCorrected V.strip V.directions).frequency n) | |
| 853 | - (((actualCopyData B l V D j).commonCorrected V.strip V.directions).phase n) | |
| 854 | - (((actualCopyData B l V D j).commonCorrected V.strip V.directions).pressure n) | |
| 855 | - ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map z)).re = | |
| 856 | - V.scale n ^ (2 * CoordinateAlgebra.A V.exponent) * | |
| 857 | - physicalPressure B l V D j delta (z.1, CylindricalResidual.chart z.2) := by | |
| 858 | - have hx : (PhysicalResidualBridge.commonGraph V.referenceScale V.exponent V.referenceCover).map z ∈ B.strip.domain := by | |
| 859 | - rw [← V.map_graph n hz.1] | |
| 860 | - exact hmap hz.2 | |
| 861 | - have he := (views B l V).pressure_physical D.request D.referenceRequest j n | |
| 862 | - (periodizedAngular B l A) hK G H hz.1 | |
| 863 | - ((R.phase.contDiffAt (B.strip.isOpen_domain.mem_nhds hx)).differentiableAt (by simp)) | |
| 864 | - (by | |
| 865 | - have ht := D.request_transport n | |
| 866 | - ((PhysicalResidualBridge.commonGraph (V.scale n) V.exponent (V.cover n)).map z) hz.2 | |
| 867 | - simp only [V.map_graph n hz.1] at ht | |
| 868 | - exact ht) | |
| 869 | - hdelta chart hchart | |
| 870 | - rw [(views B l V).pressureMode_eq_exact D.request j n] at he | |
| 871 | - simp only [actual_commonCorrected_eq, stateData_request] at he ⊢ | |
| 872 | - exact he | |
| 873 | - | |
| 874 | 310 | end SupportLocal |
| 875 | 311 | |
| 876 | 312 | end NavierStokes.ActualPeriodizedSignedRealization |
+0 −27 NavierStokes/ActualPhaseDefect.lean View file
| @@ -634,13 +634,6 @@ theorem materialWeight_bound (L : Label B N0) (n : ℕ) | ||
| 634 | 634 | (PhysicalParticularWave.ratioPower_pos (ChartScales.Q_pos n) (ChartScales.Q_pos _) _).le |
| 635 | 635 | (by have := ActualSignedGeometry.powerBound_one (h/2+1/2); linarith) |
| 636 | 636 | |
| 637 | -theorem native_core_of_interval (j : Fin 2) (L : Label B N0) (n : ℕ) | |
| 638 | - (k : TorusInverse.Frequency) {x : FullPoint} | |
| 639 | - (hu : |(nativeCopy j L n k x).2.1| ≤ slots.radius) | |
| 640 | - (hv : (nativeCopy j L n k x).2.2 ∈ Ioo 0 ((phases B N0 j).L L)) : | |
| 641 | - (nativeCopy j L n k x).2 ∈ (ActualSignedGeometry.clockWindow slots (BaseChartJets.cellBand L)).core := | |
| 642 | - ⟨abs_le.mp hu, hv.1.le, hv.2.le⟩ | |
| 643 | - | |
| 644 | 637 | theorem active_copy_defect_germ (j : Fin 2) (L : Label B N0) (n : ℕ) |
| 645 | 638 | (hactive : BaseChartJets.cellBand L ∈ CommonWindow.levels n) |
| 646 | 639 | (k : TorusInverse.Frequency) {x : FullPoint} |
| @@ -655,19 +648,6 @@ theorem active_copy_defect_germ (j : Fin 2) (L : Label B N0) (n : ℕ) | ||
| 655 | 648 | (BaseContextAssembly.nativeStrip_time nominal standardRegion hx) |
| 656 | 649 | (BaseContextAssembly.nativeStrip_radius nominal standardRegion hx) hp hc |
| 657 | 650 | |
| 658 | -theorem active_copy_defect_jets (j : Fin 2) (L : Label B N0) (n : ℕ) | |
| 659 | - (hactive : BaseChartJets.cellBand L ∈ CommonWindow.levels n) | |
| 660 | - (k : TorusInverse.Frequency) {x : FullPoint} | |
| 661 | - (hx : x ∈ (HarmonicWaveInteraction.productStrip | |
| 662 | - (BaseContextAssembly.nativeStrip nominal standardRegion)).domain) | |
| 663 | - (hp : (nativeCopy j L n k x).1 ∈ | |
| 664 | - (PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N).carrier L) | |
| 665 | - (hc : (nativeCopy j L n k x).2 ∈ (ActualSignedGeometry.clockWindow slots (BaseChartJets.cellBand L)).core) | |
| 666 | - (m : ℕ) : | |
| 667 | - iteratedFDeriv ℝ m (defect j L n) x = iteratedFDeriv ℝ m | |
| 668 | - (fun y => ChartScales.epsilon h n * materialWeight L n * reducedExpression j L n k y) x := | |
| 669 | - PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq (active_copy_defect_germ j L n hactive k hx hp hc) m | |
| 670 | - | |
| 671 | 651 | theorem active_materialWeight_bound (L : Label B N0) (n : ℕ) |
| 672 | 652 | (hactive : BaseChartJets.cellBand L ∈ CommonWindow.levels n) : |
| 673 | 653 | 0 < materialWeight L n ∧ materialWeight L n ≤ materialWeightBound := |
| @@ -809,13 +789,6 @@ theorem native_reduced_polynomial (U : LocalSignedRequest.SlowRegion (2*h)) : | ||
| 809 | 789 | (hbb.mul hx0).sub (ht.mul (((hbb.mul ((hp.mul hFR).add (hpz.mul hGR))).sub |
| 810 | 790 | ((hp.mul hFT).add (hpz.mul hGT))).add (hGG.mul ((hp.mul hFZ).add (hpz.mul hGZ))))) |
| 811 | 791 | |
| 812 | -theorem native_reduced_finite_jets (U : LocalSignedRequest.SlowRegion (2*h)) (N : ℕ) : | |
| 813 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ m : ℕ, ∀ (j : Fin 2) (L : Label B N0), | |
| 814 | - JetBounds.FiniteJetBound N (nativeReduced (j,L)) | |
| 815 | - ((reducedJetDomain U).carrier (j,L)) (C*ChartScales.S (BaseChartJets.cellBand L)^m) := by | |
| 816 | - obtain ⟨C,hC,m,hm⟩ := (native_reduced_polynomial (B := B) (N0 := N0) U).bound N | |
| 817 | - exact ⟨C,hC,m,fun j L => hm (j,L)⟩ | |
| 818 | - | |
| 819 | 792 | theorem native_reduced_domain_mem (U : LocalSignedRequest.SlowRegion (2*h)) |
| 820 | 793 | (j : Fin 2) (L : Label B N0) {p : Slow} {t : ℝ} |
| 821 | 794 | (hp : p ∈ (PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N).carrier L) |
+0 −144 NavierStokes/ActualPhaseJetBounds.lean View file
| @@ -142,10 +142,6 @@ noncomputable def phaseCell (n : ℕ) (i : CopyIndex B N0) : Set ActualPrimary.F | ||
| 142 | 142 | (ActualPrimary.choice B N0).prepared.N).carrier i.1.2 ∧ |
| 143 | 143 | (ActualPrimaryBounds.fullCopy i.1 n i.2 x).2 ∈ (ActualPrimary.clockWindow i.1.2).core} |
| 144 | 144 | |
| 145 | -theorem controlCell_subset_phaseCell (n : ℕ) (i : CopyIndex B N0) : | |
| 146 | - ActualPrimaryBounds.controlCell n i ⊆ phaseCell n i := | |
| 147 | - fun _ hx => ⟨hx.1, hx.2.1, hx.2.2.1⟩ | |
| 148 | - | |
| 149 | 145 | theorem phaseCell_maps {n : ℕ} {i : CopyIndex B N0} {x : ActualPrimary.FullPoint} |
| 150 | 146 | (hx : x ∈ phaseCell n i) : |
| 151 | 147 | ((ActualPrimaryBounds.fullCopy i.1 n i.2 x).1, |
| @@ -517,146 +513,6 @@ theorem weightedPhase_eq_section (l : SignedLabel B N0) (n : ℕ) (x : ActualPri | ||
| 517 | 513 | ActualPrimaryBounds.angularFrequency] |
| 518 | 514 | ring |
| 519 | 515 | |
| 520 | -theorem phaseCell_of_cut_tsupport (l : SignedLabel B N0) (n : ℕ) | |
| 521 | - {x : ActualPrimary.FullPoint} (hx : x ∈ ActualPrimaryBounds.fullStrip.domain) | |
| 522 | - (hs : x ∈ tsupport ((ActualPrimaryBounds.cutCoefficients l).amplitude n)) : | |
| 523 | - ∃ k : TorusInverse.Frequency, x ∈ phaseCell n (l,k) := by | |
| 524 | - rcases ActualPrimaryBounds.actual_input_cover l n hx with hc | hz | |
| 525 | - · obtain ⟨k,hk⟩ := hc | |
| 526 | - exact ⟨k, controlCell_subset_phaseCell n (l,k) hk⟩ | |
| 527 | - · exact False.elim ((notMem_tsupport_iff_eventuallyEq.mpr hz.1) hs) | |
| 528 | - | |
| 529 | -theorem weightedPhase_positive_jets_cut (m : ℕ) : | |
| 530 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ (l : SignedLabel B N0) n x, | |
| 531 | - x ∈ ActualPrimaryBounds.fullStrip.domain → | |
| 532 | - x ∈ tsupport ((ActualPrimaryBounds.cutCoefficients l).amplitude n) → | |
| 533 | - ∀ j, 1 ≤ j → j ≤ m → | |
| 534 | - ‖iteratedFDeriv ℝ j (weightedPhase l n) x‖ ≤ | |
| 535 | - C * ChartScales.S n ^ p * ChartScales.Q n ^ (-(2 * ActualPrimary.h)) := by | |
| 536 | - obtain ⟨C,hC,p,hb⟩ := weightedPhase_positive_jets (B := B) (N0 := N0) m | |
| 537 | - refine ⟨C,hC,p,?_⟩ | |
| 538 | - intro l n x hx hs j hj hjm | |
| 539 | - obtain ⟨k,hk⟩ := phaseCell_of_cut_tsupport l n hx hs | |
| 540 | - exact hb n (l,k) x hk j hj hjm | |
| 541 | - | |
| 542 | -theorem carrier_eq_character (l : SignedLabel B N0) (n : ℕ) : | |
| 543 | - HarmonicCalculus.carrier ((ActualPrimary.chartCoefficients l.1 l.2).frequency n) | |
| 544 | - ((ActualPrimary.chartCoefficients l.1 l.2).phase n) = | |
| 545 | - PhysicalGraphBounds.character 1 ∘ weightedPhase l n := by | |
| 546 | - funext x | |
| 547 | - simp only [HarmonicCalculus.carrier, HarmonicCalculus.phaseFactor, | |
| 548 | - PhysicalGraphBounds.character, PhysicalGraphBounds.phaseFactor, Function.comp_apply, | |
| 549 | - weightedPhase, Complex.ofReal_mul, Complex.ofReal_one, one_mul] | |
| 550 | - congr 1 | |
| 551 | - ring | |
| 552 | - | |
| 553 | -theorem inverse_power_eq_rpow (n m : ℕ) : | |
| 554 | - (ChartScales.epsilon ActualPrimary.h n)⁻¹ ^ (2*m) = | |
| 555 | - ChartScales.epsilon ActualPrimary.h n ^ (-(2*(m : ℝ))) := by | |
| 556 | - rw [← Real.rpow_natCast, Real.inv_rpow (ChartScales.epsilon_pos _ _).le, | |
| 557 | - ← Real.rpow_neg (ChartScales.epsilon_pos _ _).le] | |
| 558 | - norm_num | |
| 559 | - | |
| 560 | -/-- Restoring the unit-modulus exponential uses only positive inner | |
| 561 | -phase jets. Its finite-prefix loss is explicit, including order zero. -/ | |
| 562 | -theorem carrier_jets_phaseCell (m : ℕ) : | |
| 563 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ n (i : CopyIndex B N0) x, | |
| 564 | - x ∈ ActualPrimaryBounds.fullStrip.domain → x ∈ phaseCell n i → ∀ j ≤ m, | |
| 565 | - ‖iteratedFDeriv ℝ j (HarmonicCalculus.carrier | |
| 566 | - ((ActualPrimary.chartCoefficients i.1.1 i.1.2).frequency n) | |
| 567 | - ((ActualPrimary.chartCoefficients i.1.1 i.1.2).phase n)) x‖ ≤ | |
| 568 | - WeightedClasses.majorant ActualPrimaryBounds.fullStrip (fun _ _ => 1) | |
| 569 | - (-(2*(m : ℝ))) C p n x := by | |
| 570 | - obtain ⟨C,hC,p,hb⟩ := weightedPhase_positive_jets (B := B) (N0 := N0) m | |
| 571 | - refine ⟨(m.factorial : ℝ) * C^m, ?_, p*m, ?_⟩ | |
| 572 | - · exact one_le_mul_of_one_le_of_one_le | |
| 573 | - (by exact_mod_cast (Nat.succ_le_of_lt (Nat.factorial_pos m))) (one_le_pow₀ hC) | |
| 574 | - intro n i x hx hc j hj | |
| 575 | - have hS := PhysicalGraphBounds.S_ge_one hc.1.1 | |
| 576 | - have hQ : 1 ≤ ChartScales.Q n ^ (-(2*ActualPrimary.h)) := by | |
| 577 | - rw [← inverse_epsilon_sq] | |
| 578 | - exact one_le_pow₀ (one_le_inverse_epsilon n) | |
| 579 | - have hD : 1 ≤ C * ChartScales.S n^p * ChartScales.Q n ^ (-(2*ActualPrimary.h)) := | |
| 580 | - one_le_mul_of_one_le_of_one_le (one_le_mul_of_one_le_of_one_le hC (one_le_pow₀ hS)) hQ | |
| 581 | - have hcomp := PhysicalClassBounds.composition_jet_bound | |
| 582 | - (PhysicalGraphBounds.character_smooth 1) ActualPrimaryBounds.fullStrip.isOpen_domain | |
| 583 | - (weightedPhase_contDiffOn i.1 n) hx m zero_le_one hD | |
| 584 | - (fun q _ => by rw [PhysicalGraphBounds.norm_character_jet]; simp) | |
| 585 | - (fun q hq hqm => hb n i x hc q hq hqm) j hj | |
| 586 | - rw [carrier_eq_character] | |
| 587 | - apply hcomp.trans | |
| 588 | - have hSG : ChartScales.S n ≤ ActualPrimaryBounds.fullStrip.growth n x := by | |
| 589 | - rw [← slow_eq_S hc.1.1] | |
| 590 | - exact ActualPrimaryBounds.fullStrip.slow_le_growth n x | |
| 591 | - calc | |
| 592 | - _ = ((m.factorial : ℝ) * C^m) * | |
| 593 | - ChartScales.S n ^ (p*m) * (ChartScales.epsilon ActualPrimary.h n)⁻¹ ^ (2*m) := by | |
| 594 | - rw [← inverse_epsilon_sq, mul_one, mul_pow, mul_pow, ← pow_mul, ← pow_mul] | |
| 595 | - ring | |
| 596 | - _ ≤ ((m.factorial : ℝ) * C^m) * | |
| 597 | - ActualPrimaryBounds.fullStrip.growth n x ^ (p*m) * | |
| 598 | - (ChartScales.epsilon ActualPrimary.h n)⁻¹ ^ (2*m) := by | |
| 599 | - gcongr | |
| 600 | - exact pow_nonneg (inv_nonneg.mpr (ChartScales.epsilon_pos _ _).le) _ | |
| 601 | - _ = _ := by | |
| 602 | - rw [inverse_power_eq_rpow, WeightedClasses.majorant, mul_one] | |
| 603 | - change _ = ((m.factorial : ℝ) * C^m) * | |
| 604 | - ChartScales.epsilon ActualPrimary.h n ^ (-(2*(m : ℝ))) * | |
| 605 | - ActualPrimaryBounds.fullStrip.growth n x ^ (p*m) | |
| 606 | - ring | |
| 607 | - | |
| 608 | -/-- The actual cut amplitude's support supplies the needed native copy; | |
| 609 | -no independent carrier-jet estimate is assumed. -/ | |
| 610 | -theorem carrier_jets_cut (m : ℕ) : | |
| 611 | - ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∃ r : ℝ, ∀ (l : SignedLabel B N0) n x, | |
| 612 | - x ∈ ActualPrimaryBounds.fullStrip.domain → | |
| 613 | - x ∈ tsupport ((ActualPrimaryBounds.cutCoefficients l).amplitude n) → ∀ j ≤ m, | |
| 614 | - ‖iteratedFDeriv ℝ j (HarmonicCalculus.carrier | |
| 615 | - ((ActualPrimary.chartCoefficients l.1 l.2).frequency n) | |
| 616 | - ((ActualPrimary.chartCoefficients l.1 l.2).phase n)) x‖ ≤ | |
| 617 | - WeightedClasses.majorant ActualPrimaryBounds.fullStrip (fun _ _ => 1) r C p n x := by | |
| 618 | - obtain ⟨C,hC,p,hb⟩ := carrier_jets_phaseCell (B := B) (N0 := N0) m | |
| 619 | - refine ⟨C,zero_le_one.trans hC,p,-(2*(m : ℝ)),?_⟩ | |
| 620 | - intro l n x hx hs j hj | |
| 621 | - obtain ⟨k,hk⟩ := phaseCell_of_cut_tsupport l n hx hs | |
| 622 | - exact hb n (l,k) x hx hk j hj | |
| 623 | - | |
| 624 | -theorem phase_jet_le_weighted {n : ℕ} {i : CopyIndex B N0} {x : ActualPrimary.FullPoint} | |
| 625 | - (hx : x ∈ phaseCell n i) (j : ℕ) : | |
| 626 | - ‖iteratedFDeriv ℝ j ((ActualPrimary.chartCoefficients i.1.1 i.1.2).phase n) x‖ ≤ | |
| 627 | - ‖iteratedFDeriv ℝ j (weightedPhase i.1 n) x‖ := by | |
| 628 | - have hk : 0 < (ActualPrimary.chartCoefficients i.1.1 i.1.2).frequency n := | |
| 629 | - ActualPrimary.chartCoefficients_frequency_pos _ _ _ | |
| 630 | - have hk' : 0 < (ChartScales.carrier ActualPrimary.h n : ℝ) := hk | |
| 631 | - have hkN : 0 < ChartScales.carrier ActualPrimary.h n := by exact_mod_cast hk' | |
| 632 | - have hk1 : 1 ≤ (ActualPrimary.chartCoefficients i.1.1 i.1.2).frequency n := by | |
| 633 | - change 1 ≤ (ChartScales.carrier ActualPrimary.h n : ℝ) | |
| 634 | - exact_mod_cast (Nat.succ_le_of_lt hkN) | |
| 635 | - have he : (ActualPrimary.chartCoefficients i.1.1 i.1.2).phase n = | |
| 636 | - (fun y => ((ActualPrimary.chartCoefficients i.1.1 i.1.2).frequency n)⁻¹ • | |
| 637 | - weightedPhase i.1 n y) := by | |
| 638 | - funext y | |
| 639 | - simp only [weightedPhase, smul_eq_mul, ← mul_assoc, inv_mul_cancel₀ hk.ne', one_mul] | |
| 640 | - rw [he, iteratedFDeriv_const_smul_apply' | |
| 641 | - ((weightedPhase_smooth hx).of_le (nat_le_infty j))] | |
| 642 | - have hnorm : ‖((ActualPrimary.chartCoefficients i.1.1 i.1.2).frequency n)⁻¹‖ ≤ 1 := by | |
| 643 | - rw [Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hk)] | |
| 644 | - exact (inv_le_one₀ hk).mpr hk1 | |
| 645 | - exact (norm_smul_le _ _).trans | |
| 646 | - (by | |
| 647 | - simpa only [one_mul] using (mul_le_mul_of_nonneg_right hnorm | |
| 648 | - (norm_nonneg (iteratedFDeriv ℝ j (weightedPhase i.1 n) x)))) | |
| 649 | - | |
| 650 | -/-- The literal normalized phase satisfies the same fixed-loss bound. -/ | |
| 651 | -theorem phase_positive_jets (m : ℕ) : | |
| 652 | - ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ n (i : CopyIndex B N0) x, | |
| 653 | - x ∈ phaseCell n i → ∀ j, 1 ≤ j → j ≤ m → | |
| 654 | - ‖iteratedFDeriv ℝ j ((ActualPrimary.chartCoefficients i.1.1 i.1.2).phase n) x‖ ≤ | |
| 655 | - C * ChartScales.S n ^ p * ChartScales.Q n ^ (-(2 * ActualPrimary.h)) := by | |
| 656 | - obtain ⟨C,hC,p,hb⟩ := weightedPhase_positive_jets (B := B) (N0 := N0) m | |
| 657 | - exact ⟨C,hC,p,fun n i x hx j hj hjm => | |
| 658 | - (phase_jet_le_weighted hx j).trans (hb n i x hx j hj hjm)⟩ | |
| 659 | - | |
| 660 | 516 | /-- A bounded set of harmonic multiples changes only the constant. |
| 661 | 517 | The power of Q is independent of both harmonic and derivative order. -/ |
| 662 | 518 | theorem harmonicPhase_positive_jets (H : ℝ) (hH : 1 ≤ H) (m : ℕ) : |
+0 −243 NavierStokes/ActualPhysicalStageBounds.lean View file
| @@ -199,74 +199,6 @@ theorem pressureIncrement_smooth | ||
| 199 | 199 | (((WP.pressure_smooth hh hh1).mono inter_subset_left).add |
| 200 | 200 | ((WS.pressure_smooth hh hh1).mono inter_subset_left)).add (MP.field_smooth hh hh1 hq) |
| 201 | 201 | |
| 202 | -theorem potentialIncrement_bound | |
| 203 | - (WP : PhysicalStageBounds.WaveData h DP IP KP (Fin 3)) | |
| 204 | - (WS : PhysicalStageBounds.WaveData h DS IS KS (Fin 3)) | |
| 205 | - (MT MR : MeanInput h (CoordinateAlgebra.A h - 1 / 2)) | |
| 206 | - (hh : 0 < h) (hh1 : h < 1 / 2) {qbig g dw dm : ℝ} | |
| 207 | - (hqT : qbig ≤ ChartScales.Q MT.firstBand) (hqR : qbig ≤ ChartScales.Q MR.firstBand) | |
| 208 | - (hWP : g ≤ h * WP.alpha + WP.shift + dw) (hWS : g ≤ h * WS.alpha + WS.shift + dw) | |
| 209 | - (hMT : g ≤ h * MT.alpha + dm) (hMR : g ≤ h * MR.alpha + dm) (m : ℕ) : | |
| 210 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, | |
| 211 | - PhysicalWaveSum.physicalQ h w ≤ 1 → | |
| 212 | - ‖iteratedFDeriv ℝ m (potentialIncrement WP WS MT MR) w‖ ≤ | |
| 213 | - C * PhysicalWaveSum.physicalQ h w ^ (g - PhysicalStageBounds.potentialLoss h dw dm m) := by | |
| 214 | - have hp0 := WP.vector_bound_with_gain hh hh1 hWP m | |
| 215 | - have hs0 := WS.vector_bound_with_gain hh hh1 hWS m | |
| 216 | - have hp := weaken_bound (qbig := qbig) (s := g - PhysicalStageBounds.potentialLoss h dw dm m) hh hh1 | |
| 217 | - (sub_le_sub_left (le_max_left _ _) g) (by | |
| 218 | - obtain ⟨C, hC, hb⟩ := hp0 | |
| 219 | - exact ⟨C, hC, fun w hw hqw => hb w hw.1 hqw⟩) | |
| 220 | - have hs := weaken_bound (qbig := qbig) (s := g - PhysicalStageBounds.potentialLoss h dw dm m) hh hh1 | |
| 221 | - (sub_le_sub_left (le_max_left _ _) g) (by | |
| 222 | - obtain ⟨C, hC, hb⟩ := hs0 | |
| 223 | - exact ⟨C, hC, fun w hw hqw => hb w hw.1 hqw⟩) | |
| 224 | - have ht := weaken_bound (s := g - PhysicalStageBounds.potentialLoss h dw dm m) | |
| 225 | - hh hh1 (sub_le_sub_left (le_max_right _ _) g) | |
| 226 | - (MT.angular_bound_with_gain hh hh1 hqT hMT m) | |
| 227 | - have hr := weaken_bound (s := g - PhysicalStageBounds.potentialLoss h dw dm m) | |
| 228 | - hh hh1 (sub_le_sub_left (le_max_right _ _) g) | |
| 229 | - (MR.angular_bound_with_gain hh hh1 hqR hMR m) | |
| 230 | - have sp : ContDiffOn ℝ ∞ WP.vector (CutStageEstimates.physicalSublevel h qbig) := | |
| 231 | - (WP.vector_smooth hh hh1).mono inter_subset_left | |
| 232 | - have ss : ContDiffOn ℝ ∞ WS.vector (CutStageEstimates.physicalSublevel h qbig) := | |
| 233 | - (WS.vector_smooth hh hh1).mono inter_subset_left | |
| 234 | - have st := MT.angular_smooth hh hh1 hqT | |
| 235 | - exact add_bounds hh hh1 ((sp.add ss).add st) (MR.angular_smooth hh hh1 hqR) | |
| 236 | - (add_bounds hh hh1 (sp.add ss) st (add_bounds hh hh1 sp ss hp hs) ht) hr | |
| 237 | - | |
| 238 | -theorem pressureIncrement_bound | |
| 239 | - (WP : PhysicalStageBounds.WaveData h DP IP KP Unit) | |
| 240 | - (WS : PhysicalStageBounds.WaveData h DS IS KS Unit) | |
| 241 | - (MP : MeanInput h (2 * CoordinateAlgebra.A h)) | |
| 242 | - (hh : 0 < h) (hh1 : h < 1 / 2) {qbig g dw dm : ℝ} | |
| 243 | - (hq : qbig ≤ ChartScales.Q MP.firstBand) | |
| 244 | - (hWP : g ≤ h * WP.alpha + WP.shift + dw) (hWS : g ≤ h * WS.alpha + WS.shift + dw) | |
| 245 | - (hMP : g ≤ h * MP.alpha + dm) (m : ℕ) : | |
| 246 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, | |
| 247 | - PhysicalWaveSum.physicalQ h w ≤ 1 → | |
| 248 | - ‖iteratedFDeriv ℝ m (pressureIncrement WP WS MP) w‖ ≤ | |
| 249 | - C * PhysicalWaveSum.physicalQ h w ^ (g - PhysicalStageBounds.pressureLoss h dw dm m) := by | |
| 250 | - have hp0 := WP.pressure_bound_with_gain hh hh1 hWP m | |
| 251 | - have hs0 := WS.pressure_bound_with_gain hh hh1 hWS m | |
| 252 | - have hp := weaken_bound (qbig := qbig) (s := g - PhysicalStageBounds.pressureLoss h dw dm m) hh hh1 | |
| 253 | - (sub_le_sub_left (le_max_left _ _) g) (by | |
| 254 | - obtain ⟨C, hC, hb⟩ := hp0 | |
| 255 | - exact ⟨C, hC, fun w hw hqw => hb w hw.1 hqw⟩) | |
| 256 | - have hs := weaken_bound (qbig := qbig) (s := g - PhysicalStageBounds.pressureLoss h dw dm m) hh hh1 | |
| 257 | - (sub_le_sub_left (le_max_left _ _) g) (by | |
| 258 | - obtain ⟨C, hC, hb⟩ := hs0 | |
| 259 | - exact ⟨C, hC, fun w hw hqw => hb w hw.1 hqw⟩) | |
| 260 | - have hm := weaken_bound (s := g - PhysicalStageBounds.pressureLoss h dw dm m) | |
| 261 | - hh hh1 (sub_le_sub_left (le_max_right _ _) g) | |
| 262 | - (MP.field_bound_with_gain hh hh1 hq hMP m) | |
| 263 | - have sp : ContDiffOn ℝ ∞ WP.pressure (CutStageEstimates.physicalSublevel h qbig) := | |
| 264 | - (WP.pressure_smooth hh hh1).mono inter_subset_left | |
| 265 | - have ss : ContDiffOn ℝ ∞ WS.pressure (CutStageEstimates.physicalSublevel h qbig) := | |
| 266 | - (WS.pressure_smooth hh hh1).mono inter_subset_left | |
| 267 | - exact add_bounds hh hh1 (sp.add ss) (MP.field_smooth hh hh1 hq) | |
| 268 | - (add_bounds hh hh1 sp ss hp hs) hm | |
| 269 | - | |
| 270 | 202 | end Increments |
| 271 | 203 | |
| 272 | 204 | /-! ## Positive correction stages and the exact ledger gain -/ |
| @@ -349,18 +281,6 @@ variable {h κ qbig : ℝ} | ||
| 349 | 281 | [NormedAddCommGroup DS] [NormedSpace ℝ DS] {IP KP IS KS : Type*} |
| 350 | 282 | (D : CycleInputs h DP IP KP DS IS KS) |
| 351 | 283 | |
| 352 | -theorem potential_bound (H : D.Metadata κ) (Q : D.ValidScale qbig) | |
| 353 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hκ : κ ≤ 1 / 100000) (k m : ℕ) : | |
| 354 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, | |
| 355 | - PhysicalWaveSum.physicalQ h w ≤ 1 → | |
| 356 | - ‖iteratedFDeriv ℝ m (D.potential k) w‖ ≤ C * PhysicalWaveSum.physicalQ h w ^ | |
| 357 | - (ActualIterationLedger.gain h (k + 1) - PhysicalStageBounds.potentialLoss h h 0 m) := | |
| 358 | - potentialIncrement_bound (D.particularPotential k) (D.signedPotential k) (D.temporal k) (D.rank k) | |
| 359 | - hh hh1 (Q.temporal k) (Q.rank k) | |
| 360 | - (potential_gain hh.le hκ k (H.particularPotential k) (H.particularPotentialShift k)) | |
| 361 | - (potential_gain hh.le hκ k (H.signedPotential k) (H.signedPotentialShift k)) | |
| 362 | - (mean_gain hh.le hκ k (H.temporal k)) (mean_gain hh.le hκ k (H.rank k)) m | |
| 363 | - | |
| 364 | 284 | theorem direct_bound (H : D.Metadata κ) (Q : D.ValidScale qbig) |
| 365 | 285 | (hh : 0 < h) (hh1 : h < 1 / 2) (hκ : κ ≤ 1 / 100000) (k m : ℕ) : |
| 366 | 286 | ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, |
| @@ -369,18 +289,6 @@ theorem direct_bound (H : D.Metadata κ) (Q : D.ValidScale qbig) | ||
| 369 | 289 | (ActualIterationLedger.gain h (k + 1) - PhysicalStageBounds.directLoss h 0 m) := |
| 370 | 290 | (D.angular k).angular_bound_with_gain hh hh1 (Q.angular k) (mean_gain hh.le hκ k (H.angular k)) m |
| 371 | 291 | |
| 372 | -theorem pressure_bound (H : D.Metadata κ) (Q : D.ValidScale qbig) | |
| 373 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hκ : κ ≤ 1 / 100000) (k m : ℕ) : | |
| 374 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, | |
| 375 | - PhysicalWaveSum.physicalQ h w ≤ 1 → | |
| 376 | - ‖iteratedFDeriv ℝ m (D.pressureField k) w‖ ≤ C * PhysicalWaveSum.physicalQ h w ^ | |
| 377 | - (ActualIterationLedger.gain h (k + 1) - PhysicalStageBounds.pressureLoss h (2 * CoordinateAlgebra.A h) 0 m) := | |
| 378 | - pressureIncrement_bound (D.particularPressure k) (D.signedPressure k) (D.pressure k) | |
| 379 | - hh hh1 (Q.pressure k) | |
| 380 | - (pressure_gain hh.le hκ k (H.particularPressure k) (H.particularPressureShift k)) | |
| 381 | - (pressure_gain hh.le hκ k (H.signedPressure k) (H.signedPressureShift k)) | |
| 382 | - (mean_gain hh.le hκ k (H.pressure k)) m | |
| 383 | - | |
| 384 | 292 | theorem potential_smooth (Q : D.ValidScale qbig) (hh : 0 < h) (hh1 : h < 1 / 2) (k : ℕ) : |
| 385 | 293 | ContDiffOn ℝ ∞ (D.potential k) (CutStageEstimates.physicalSublevel h qbig) := |
| 386 | 294 | potentialIncrement_smooth _ _ _ _ hh hh1 (Q.temporal k) (Q.rank k) |
| @@ -444,33 +352,6 @@ variable {h κ qbig : ℝ} | ||
| 444 | 352 | [NormedAddCommGroup DS] [NormedSpace ℝ DS] {IP KP IS KS : Type*} |
| 445 | 353 | (D : CycleInputs h DP IP KP DS IS KS) |
| 446 | 354 | |
| 447 | -/-- Literal sequence identities transfer the derived estimates to the | |
| 448 | -actual potential/direct/pressure stages. Index zero is deliberately absent. -/ | |
| 449 | -theorem represented_raw_bounds (H : D.Metadata κ) (Q : D.ValidScale qbig) | |
| 450 | - (hh : 0 < h) (hh1 : h < 1 / 2) (hκ : κ ≤ 1 / 100000) | |
| 451 | - (A B : ℕ → VelocityField) (P : ℕ → PressureField) | |
| 452 | - (hA : ∀ k, EqOn (D.potential k) (A (k + 1)) (CutStageEstimates.physicalSublevel h qbig)) | |
| 453 | - (hB : ∀ k, EqOn (D.direct k) (B (k + 1)) (CutStageEstimates.physicalSublevel h qbig)) | |
| 454 | - (hP : ∀ k, EqOn (D.pressureField k) (P (k + 1)) (CutStageEstimates.physicalSublevel h qbig)) : | |
| 455 | - ∃ CA CB CP : ℕ → ℕ → ℝ, | |
| 456 | - (∀ j m, 0 ≤ CA j m ∧ 0 ≤ CB j m ∧ 0 ≤ CP j m) ∧ | |
| 457 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) A (ActualIterationLedger.gain h) | |
| 458 | - (PhysicalStageBounds.potentialLoss h h 0) CA (fun _ _ => 0) | |
| 459 | - (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) ∧ | |
| 460 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) B (ActualIterationLedger.gain h) | |
| 461 | - (PhysicalStageBounds.directLoss h 0) CB (fun _ _ => 0) | |
| 462 | - (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) ∧ | |
| 463 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ h) P (ActualIterationLedger.gain h) | |
| 464 | - (PhysicalStageBounds.pressureLoss h (2 * CoordinateAlgebra.A h) 0) CP (fun _ _ => 0) | |
| 465 | - (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel h qbig) := by | |
| 466 | - obtain ⟨CA, hCA, ha⟩ := raw_of_positive_bounds | |
| 467 | - (fun k m => bound_congr hh hh1 (hA k) (D.potential_bound H Q hh hh1 hκ k m)) | |
| 468 | - obtain ⟨CB, hCB, hb⟩ := raw_of_positive_bounds | |
| 469 | - (fun k m => bound_congr hh hh1 (hB k) (D.direct_bound H Q hh hh1 hκ k m)) | |
| 470 | - obtain ⟨CP, hCP, hp⟩ := raw_of_positive_bounds | |
| 471 | - (fun k m => bound_congr hh hh1 (hP k) (D.pressure_bound H Q hh hh1 hκ k m)) | |
| 472 | - exact ⟨CA, CB, CP, fun j m => ⟨hCA j m, hCB j m, hCP j m⟩, ha, hb, hp⟩ | |
| 473 | - | |
| 474 | 355 | end CycleInputs |
| 475 | 356 | |
| 476 | 357 | /-! ## Initialization on the true native mean domain -/ |
| @@ -579,18 +460,6 @@ theorem initialPressureIncrement_bound (W : PhysicalStageBounds.WaveData h D I K | ||
| 579 | 460 | (W.pressure_smooth hh hh1).mono inter_subset_left |
| 580 | 461 | exact add_bounds hh hh1 sw (M.field_smooth hh hh1 hq) hw hm |
| 581 | 462 | |
| 582 | -theorem initialPressureIncrement_rate (W : PhysicalStageBounds.WaveData h D I K Unit) | |
| 583 | - (M : MeanInput h (2 * CoordinateAlgebra.A h)) | |
| 584 | - (hh : 0 < h) (hh1 : h < 1 / 2) {qbig : ℝ} (hqbig : 0 < qbig) | |
| 585 | - (hq : qbig ≤ ChartScales.Q M.firstBand) (m : ℕ) : | |
| 586 | - JetRate ActualBaseVelocityBounds.endpoint (PhysicalWaveSum.physicalQ h) | |
| 587 | - (initialPressureIncrement W M) m (-initialPressureLoss h W.alpha W.shift M.alpha m) := by | |
| 588 | - obtain ⟨C, hC, hb⟩ := initialPressureIncrement_bound W M hh hh1 hq m | |
| 589 | - refine ⟨C, hC, ?_⟩ | |
| 590 | - filter_upwards [InitializedPhysicalBackground.endpoint_sublevel hh hh1 hqbig, | |
| 591 | - ActualBaseVelocityBounds.endpoint_q_small hh hh1] with w hw hqw | |
| 592 | - exact hb w hw hqw.2 | |
| 593 | - | |
| 594 | 463 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 595 | 464 | theorem initialDirect_rate (MB : MeanInput h (CoordinateAlgebra.A h)) |
| 596 | 465 | (hh : 0 < h) (hh1 : h < 1 / 2) {qbig : ℝ} (hqbig : 0 < qbig) |
| @@ -721,63 +590,6 @@ theorem represented_initial_rate (upper : ℝ) (B : ℕ) | ||
| 721 | 590 | MB.family.angularField w = SpatialCurl.spatialCurl (A 0) w + Bdirect 0 w |
| 722 | 591 | rw [SolenoidalDiagonal.spatialCurl_eq_of_eventuallyEq he, hB hw] |
| 723 | 592 | |
| 724 | -/-- The finite-background consumer now uses only native wave/mean data | |
| 725 | -on the true domain, plus exact initial and positive-stage identities. -/ | |
| 726 | -theorem background_from_representations | |
| 727 | - {DP DS : Type} [NormedAddCommGroup DP] [NormedSpace ℝ DP] | |
| 728 | - [NormedAddCommGroup DS] [NormedSpace ℝ DS] {IP KP IS KS : Type*} | |
| 729 | - (Cyc : CycleInputs F.data.h DP IP KP DS IS KS) {κ qbig : ℝ} | |
| 730 | - (HM : Cyc.Metadata κ) (HQ : Cyc.ValidScale qbig) (hκ : κ ≤ 1 / 100000) | |
| 731 | - (hqbig : 0 < qbig) (upper : ℝ) (bandFloor : ℕ) | |
| 732 | - (WA : PhysicalStageBounds.WaveData F.data.h D I K (Fin 3)) | |
| 733 | - (MT MR : MeanInput F.data.h (CoordinateAlgebra.A F.data.h - 1 / 2)) | |
| 734 | - (MB : MeanInput F.data.h (CoordinateAlgebra.A F.data.h)) | |
| 735 | - (hqT : qbig ≤ ChartScales.Q MT.firstBand) (hqR : qbig ≤ ChartScales.Q MR.firstBand) | |
| 736 | - (hqB : qbig ≤ ChartScales.Q MB.firstBand) | |
| 737 | - (A B : ℕ → VelocityField) | |
| 738 | - (hA0 : EqOn (A 0) (initialPotential H v upper bandFloor WA MT MR) | |
| 739 | - (CutStageEstimates.physicalSublevel F.data.h qbig)) | |
| 740 | - (hB0 : EqOn (B 0) MB.family.angularField (CutStageEstimates.physicalSublevel F.data.h qbig)) | |
| 741 | - (hA : ∀ k, EqOn (Cyc.potential k) (A (k + 1)) (CutStageEstimates.physicalSublevel F.data.h qbig)) | |
| 742 | - (hB : ∀ k, EqOn (Cyc.direct k) (B (k + 1)) (CutStageEstimates.physicalSublevel F.data.h qbig)) | |
| 743 | - (J m : ℕ) : | |
| 744 | - JetRate ActualBaseVelocityBounds.endpoint (PhysicalWaveSum.physicalQ F.data.h) | |
| 745 | - (MixedDiagonalResidual.uncutVelocity A B J) m | |
| 746 | - (-MixedFiniteBackground.initialBackgroundLoss | |
| 747 | - (initialLoss F.data.h WA.alpha WA.shift (min MT.alpha MR.alpha) MB.alpha) | |
| 748 | - (PhysicalStageBounds.potentialLoss F.data.h F.data.h 0) | |
| 749 | - (PhysicalStageBounds.directLoss F.data.h 0) m) := by | |
| 750 | - have hU := CutStageEstimates.physicalSublevel_open F.data.h_pos F.data.h_lt_half qbig | |
| 751 | - have hlU := InitializedPhysicalBackground.endpoint_sublevel F.data.h_pos F.data.h_lt_half hqbig | |
| 752 | - have hsa : ∀ j, ContDiffOn ℝ ∞ (A j) (CutStageEstimates.physicalSublevel F.data.h qbig) := by | |
| 753 | - intro j | |
| 754 | - cases j with | |
| 755 | - | zero => | |
| 756 | - exact (initialPotential_smooth H v upper bandFloor WA MT MR hqT hqR).congr | |
| 757 | - (fun _ hw => hA0 hw) | |
| 758 | - | succ k => | |
| 759 | - exact (Cyc.potential_smooth HQ F.data.h_pos F.data.h_lt_half k).congr | |
| 760 | - (fun _ hw => (hA k hw).symm) | |
| 761 | - have hsb : ∀ j, ContDiffOn ℝ ∞ (B j) (CutStageEstimates.physicalSublevel F.data.h qbig) := by | |
| 762 | - intro j | |
| 763 | - cases j with | |
| 764 | - | zero => | |
| 765 | - exact (MB.angular_smooth F.data.h_pos F.data.h_lt_half hqB).congr (fun _ hw => hB0 hw) | |
| 766 | - | succ k => | |
| 767 | - exact (Cyc.direct_smooth HQ F.data.h_pos F.data.h_lt_half k).congr | |
| 768 | - (fun _ hw => (hB k hw).symm) | |
| 769 | - obtain ⟨CA, _, hrawA⟩ := raw_of_positive_bounds (fun k m => | |
| 770 | - bound_congr F.data.h_pos F.data.h_lt_half (hA k) | |
| 771 | - (Cyc.potential_bound HM HQ F.data.h_pos F.data.h_lt_half hκ k m)) | |
| 772 | - obtain ⟨CB, _, hrawB⟩ := raw_of_positive_bounds (fun k m => | |
| 773 | - bound_congr F.data.h_pos F.data.h_lt_half (hB k) | |
| 774 | - (Cyc.direct_bound HM HQ F.data.h_pos F.data.h_lt_half hκ k m)) | |
| 775 | - exact MixedFiniteBackground.mixed_background_from_initial hU hlU | |
| 776 | - (ActualBaseVelocityBounds.endpoint_past.and hlU) | |
| 777 | - (ActualBaseVelocityBounds.endpoint_q_small F.data.h_pos F.data.h_lt_half) | |
| 778 | - hsa hsb hrawA hrawB (fun j _ => ActualIterationLedger.gain_nonneg F.data.h_pos.le j) | |
| 779 | - (represented_initial_rate H v upper bandFloor WA MT MR MB hU hlU hA0 hB0) J m | |
| 780 | - | |
| 781 | 593 | end ActualInitialBase |
| 782 | 594 | |
| 783 | 595 | /-! ## Literal candidate sequence interface -/ |
| @@ -792,44 +604,6 @@ variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | ||
| 792 | 604 | {DP DS : Type} [NormedAddCommGroup DP] [NormedSpace ℝ DP] |
| 793 | 605 | [NormedAddCommGroup DS] [NormedSpace ℝ DS] {IP KP IS KS : Type*} |
| 794 | 606 | |
| 795 | -/-- Quantitative bounds for the actual MCA/MAS indexing convention. | |
| 796 | -The remaining representations concern the literal component fields. -/ | |
| 797 | -theorem candidate_raw_bounds | |
| 798 | - (Cyc : CycleInputs F.data.h DP IP KP DS IS KS) {κ qbig : ℝ} | |
| 799 | - (HM : Cyc.Metadata κ) (HQ : Cyc.ValidScale qbig) (hκ : κ ≤ 1 / 100000) | |
| 800 | - (upper : ℝ) (bandFloor : ℕ) | |
| 801 | - (initial : MixedAxisPreservation.PotentialStage.{u} F.data.h | |
| 802 | - (MixedAxisPreservation.localDomain F.data.h qbig)) | |
| 803 | - (stages : ℕ → MixedAxisPreservation.PotentialStage.{u} F.data.h | |
| 804 | - (MixedAxisPreservation.localDomain F.data.h qbig)) | |
| 805 | - (angular : ℕ → DirectAngularDiagonal.AngularData (LocalAngularDiagonal.localSlowDomain F.data.h qbig)) | |
| 806 | - (pInitial : PressureField) (pStages : ℕ → PressureField) | |
| 807 | - (hA : ∀ k, EqOn (Cyc.potential k) (stages k).field (CutStageEstimates.physicalSublevel F.data.h qbig)) | |
| 808 | - (hB : ∀ k, EqOn (Cyc.direct k) (LocalAngularDiagonal.rawSeries angular (k + 1)) | |
| 809 | - (CutStageEstimates.physicalSublevel F.data.h qbig)) | |
| 810 | - (hP : ∀ k, EqOn (Cyc.pressureField k) (pStages k) (CutStageEstimates.physicalSublevel F.data.h qbig)) : | |
| 811 | - ∃ CA CB CP : ℕ → ℕ → ℝ, | |
| 812 | - (∀ j m, 0 ≤ CA j m ∧ 0 ≤ CB j m ∧ 0 ≤ CP j m) ∧ | |
| 813 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ F.data.h) | |
| 814 | - (MixedCandidateAssembly.potentialStages H v upper bandFloor initial stages) | |
| 815 | - (ActualIterationLedger.gain F.data.h) (PhysicalStageBounds.potentialLoss F.data.h F.data.h 0) | |
| 816 | - CA (fun _ _ => 0) (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel F.data.h qbig) ∧ | |
| 817 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ F.data.h) | |
| 818 | - (LocalAngularDiagonal.rawSeries angular) (ActualIterationLedger.gain F.data.h) | |
| 819 | - (PhysicalStageBounds.directLoss F.data.h 0) CB (fun _ _ => 0) | |
| 820 | - (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel F.data.h qbig) ∧ | |
| 821 | - CutStageEstimates.RawStageBounds (PhysicalWaveSum.physicalQ F.data.h) | |
| 822 | - (MixedCandidateAssembly.pressureStages H v upper bandFloor pInitial pStages) | |
| 823 | - (ActualIterationLedger.gain F.data.h) | |
| 824 | - (PhysicalStageBounds.pressureLoss F.data.h (2 * CoordinateAlgebra.A F.data.h) 0) | |
| 825 | - CP (fun _ _ => 0) (PhysicalWaveSum.preterminal ∩ CutStageEstimates.physicalSublevel F.data.h qbig) := by | |
| 826 | - apply Cyc.represented_raw_bounds HM HQ F.data.h_pos F.data.h_lt_half hκ | |
| 827 | - · intro k | |
| 828 | - simpa only [MixedCandidateAssembly.potentialStages, MixedAxisPreservation.initializedSeries_succ] using hA k | |
| 829 | - · exact hB | |
| 830 | - · intro k | |
| 831 | - simpa only [MixedCandidateAssembly.pressureStages_succ] using hP k | |
| 832 | - | |
| 833 | 607 | end CandidateSequences |
| 834 | 608 | |
| 835 | 609 | /-! ## Adapters for the constructed native mean families -/ |
| @@ -877,23 +651,6 @@ noncomputable def actualInitialPressureInput (B N0 N : ℕ) (hN : 4 ≤ N) : | ||
| 877 | 651 | @[simp] theorem actualInitialPressureInput_family (B N0 N : ℕ) (hN : 4 ≤ N) : |
| 878 | 652 | (actualInitialPressureInput B N0 N hN).family = initialPressureFamily B N0 N := rfl |
| 879 | 653 | |
| 880 | -/-- The actual initialized velocity, with its actual initial temporal, | |
| 881 | -rank, and direct angular families. Only the primary wave representation | |
| 882 | -is supplied by the separate physical-copy construction. -/ | |
| 883 | -theorem actualInitialVelocity_rate | |
| 884 | - {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] {I K : Type*} | |
| 885 | - (B N0 N : ℕ) (hN : 4 ≤ N) (WA : PhysicalStageBounds.WaveData h D I K (Fin 3)) (m : ℕ) : | |
| 886 | - JetRate ActualBaseVelocityBounds.endpoint (PhysicalWaveSum.physicalQ h) | |
| 887 | - (initialVelocity certificate modulation upper B WA | |
| 888 | - (actualInitialTemporalInput B N0 N hN) (actualInitialRankInput B N0 N hN) | |
| 889 | - (actualInitialAngularInput B N0 N hN)) m | |
| 890 | - (-initialLoss h WA.alpha WA.shift (1 - ChartScales.kappa) (9 / 10) m) := by | |
| 891 | - simpa only [actualInitialTemporalInput, actualInitialRankInput, actualInitialAngularInput, | |
| 892 | - MeanInput.ofMoving, min_self] using | |
| 893 | - initialVelocity_rate certificate modulation upper B WA | |
| 894 | - (actualInitialTemporalInput B N0 N hN) (actualInitialRankInput B N0 N hN) | |
| 895 | - (actualInitialAngularInput B N0 N hN) m | |
| 896 | - | |
| 897 | 654 | variable {B N0 N : ℕ} {p : ℕ → CycleParameters (ActualInitialization.Index B N0)} |
| 898 | 655 | |
| 899 | 656 | /-- These four cycle adapters retain the literal families of the actual |
+0 −55 NavierStokes/ActualPolarCoverage.lean View file
| @@ -39,16 +39,6 @@ noncomputable def nativeDomain : Set Cylinder := | ||
| 39 | 39 | theorem inner_pos : 0 < inner := |
| 40 | 40 | div_pos (PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal) (by norm_num) |
| 41 | 41 | |
| 42 | -theorem outer_pos : 0 < outer := | |
| 43 | - mul_pos (by norm_num) (PrimaryTargetBounds.rightRadius_pos ActualPrimary.nominal) | |
| 44 | - | |
| 45 | -theorem inner_lt_outer : inner < outer := by | |
| 46 | - have ha := PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal | |
| 47 | - have hab := PrimaryTargetBounds.radii_ordered ActualPrimary.nominal | |
| 48 | - change PrimaryTargetBounds.leftRadius ActualPrimary.nominal / 4 < | |
| 49 | - 2 * PrimaryTargetBounds.rightRadius ActualPrimary.nominal | |
| 50 | - linarith | |
| 51 | - | |
| 52 | 42 | theorem nativeDomain_open : IsOpen nativeDomain := |
| 53 | 43 | HarmonicResidual.liftDomain_open |
| 54 | 44 | (ActualInitialization.geometry.domain_open.inter |
| @@ -57,9 +47,6 @@ theorem nativeDomain_open : IsOpen nativeDomain := | ||
| 57 | 47 | theorem nativeDomain_radius_pos {x : Cylinder} (hx : x ∈ nativeDomain) : |
| 58 | 48 | 0 < x.1.1 := hx.1.2 |
| 59 | 49 | |
| 60 | -theorem nativeDomain_radius_ne {x : Cylinder} (hx : x ∈ nativeDomain) : | |
| 61 | - x.1.1 ≠ 0 := (nativeDomain_radius_pos hx).ne' | |
| 62 | - | |
| 63 | 50 | /-! ## Scale identities independent of the particular actual profile -/ |
| 64 | 51 | |
| 65 | 52 | theorem graph_radius_nonneg (h : ℝ) (n d : ℕ) (w : SpaceTime) : |
| @@ -225,15 +212,6 @@ theorem selected_annulus (n : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) | ||
| 225 | 212 | · change PrimaryTargetBounds.leftRadius ActualPrimary.nominal / 4 ≤ ‖scaledRadial n w‖ |
| 226 | 213 | linarith only [hRlo, PolarCharts.radius_le_two_norm (scaledRadial n w)] |
| 227 | 214 | |
| 228 | -theorem selected_chart_exists (n : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) | |
| 229 | - (hactive : w ∈ active) | |
| 230 | - (hqQ : physicalQ ActualPrimary.h w ≤ ChartScales.Q n) | |
| 231 | - (hQq : ChartScales.Q n < 2 * physicalQ ActualPrimary.h w) : | |
| 232 | - ∃ j : PolarCharts.Index, scaledRadial n w ∈ PolarCharts.chartDomain inner j := by | |
| 233 | - obtain ⟨j, hj⟩ := PolarCharts.annulus_covered inner_pos | |
| 234 | - (selected_annulus n hw hactive hqQ hQq) | |
| 235 | - exact ⟨j, PolarCharts.sector_subset_chartDomain inner_pos j hj⟩ | |
| 236 | - | |
| 237 | 215 | theorem selected_polar_nativeDomain (j : PolarCharts.Index) (n d : ℕ) |
| 238 | 216 | {w : SpaceTime} (hw : w ∈ preterminal) (hactive : w ∈ active) |
| 239 | 217 | (hqQ : physicalQ ActualPrimary.h w ≤ ChartScales.Q n) |
| @@ -262,37 +240,4 @@ theorem selected_polar_closure (j : PolarCharts.Index) (n d : ℕ) | ||
| 262 | 240 | |
| 263 | 241 | /-! ## Selection above an arbitrary certified floor -/ |
| 264 | 242 | |
| 265 | -theorem exists_selected_band (N : ℕ) {w : SpaceTime} | |
| 266 | - (hw : w ∈ preterminal) (hactive : w ∈ active) | |
| 267 | - (hsmall : physicalQ ActualPrimary.h w ≤ ChartScales.Q N) : | |
| 268 | - ∃ n : ℕ, N ≤ n ∧ physicalQ ActualPrimary.h w ≤ ChartScales.Q n ∧ | |
| 269 | - ChartScales.Q n < 2 * physicalQ ActualPrimary.h w ∧ | |
| 270 | - scaledRadial n w ∈ annulus inner outer ∧ | |
| 271 | - ∀ (j : PolarCharts.Index) (d : ℕ), | |
| 272 | - scaledRadial n w ∈ PolarCharts.chartDomain inner j → | |
| 273 | - PhysicalResidualJetBounds.polarGraph inner ActualPrimary.h j n d w ∈ nativeDomain ∧ | |
| 274 | - PhysicalResidualJetBounds.polarGraph inner ActualPrimary.h j n d w ∈ | |
| 275 | - closure (HarmonicResidual.liftDomain ActualInitialization.geometry.strip.domain) := by | |
| 276 | - obtain ⟨n, hn, hqQ, hQq⟩ := exists_comparable_band N | |
| 277 | - (physicalQ_pos ActualPrimary.outgoing.data.h_pos ActualPrimary.outgoing.data.h_lt_half hw) | |
| 278 | - hsmall | |
| 279 | - refine ⟨n, hn, hqQ, hQq, selected_annulus n hw hactive hqQ hQq, ?_⟩ | |
| 280 | - intro j d hj | |
| 281 | - exact ⟨selected_polar_nativeDomain j n d hw hactive hqQ hQq hj, | |
| 282 | - selected_polar_closure j n d hw hactive hqQ hQq hj⟩ | |
| 283 | - | |
| 284 | -theorem exists_selected_band_of_qbig (firstBand : ℕ) {qbig : ℝ} {w : SpaceTime} | |
| 285 | - (hw : w ∈ preterminal) (hactive : w ∈ active) | |
| 286 | - (hsmall : physicalQ ActualPrimary.h w ≤ qbig) | |
| 287 | - (hfloor : qbig ≤ ChartScales.Q firstBand) : | |
| 288 | - ∃ n : ℕ, firstBand ≤ n ∧ physicalQ ActualPrimary.h w ≤ ChartScales.Q n ∧ | |
| 289 | - ChartScales.Q n < 2 * physicalQ ActualPrimary.h w ∧ | |
| 290 | - scaledRadial n w ∈ annulus inner outer ∧ | |
| 291 | - ∀ (j : PolarCharts.Index) (d : ℕ), | |
| 292 | - scaledRadial n w ∈ PolarCharts.chartDomain inner j → | |
| 293 | - PhysicalResidualJetBounds.polarGraph inner ActualPrimary.h j n d w ∈ nativeDomain ∧ | |
| 294 | - PhysicalResidualJetBounds.polarGraph inner ActualPrimary.h j n d w ∈ | |
| 295 | - closure (HarmonicResidual.liftDomain ActualInitialization.geometry.strip.domain) := | |
| 296 | - exists_selected_band firstBand hw hactive (hsmall.trans hfloor) | |
| 297 | - | |
| 298 | 243 | end NavierStokes.ActualPolarCoverage |
+0 −60 NavierStokes/ActualPrimaryBounds.lean View file
| @@ -480,22 +480,6 @@ theorem periodized_uniform {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E | ||
| 480 | 480 | · exact (hx (by simp only [copied, ite_eq_right hn])).elim |
| 481 | 481 | · exact copied_uniformLocalJets hf |
| 482 | 482 | |
| 483 | -theorem periodized_velocity_uniform : | |
| 484 | - LabelSumBounds.UniformWaveClass nativeStrip envelope (1 / 2) | |
| 485 | - (periodized (CoordinateAlgebra.A ActualPrimary.h) | |
| 486 | - (fun l : SignedLabel B N0 => fun x => CurlClassBounds.complexify (ActualPrimary.attachedRawVelocity l.1 l.2 x))) := by | |
| 487 | - apply periodized_uniform complex_velocity_native_jets | |
| 488 | - intro l x hx | |
| 489 | - apply ActualPrimary.attachedRawVelocity_core l.1 l.2 x | |
| 490 | - intro hz | |
| 491 | - exact hx (by rw [hz, map_zero]) | |
| 492 | - | |
| 493 | -theorem periodized_pressure_uniform : | |
| 494 | - LabelSumBounds.UniformWaveClass nativeStrip envelope 1 | |
| 495 | - (periodized (2 * CoordinateAlgebra.A ActualPrimary.h) | |
| 496 | - (fun l : SignedLabel B N0 => ActualPrimary.attachedRawPressure l.1 l.2)) := | |
| 497 | - periodized_uniform pressure_native_jets (fun l x => ActualPrimary.attachedRawPressure_core l.1 l.2 x) | |
| 498 | - | |
| 499 | 483 | end ActualCopySums |
| 500 | 484 | |
| 501 | 485 | section InactiveBands |
| @@ -652,36 +636,6 @@ theorem uniform_lift {D E ι : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] | ||
| 652 | 636 | noncomputable def fullEnvelope (l : SignedLabel B N0) (n : ℕ) (x : ActualPrimary.FullPoint) : ℝ := |
| 653 | 637 | envelope l n (ActualSignedGeometry.meanEquiv.symm x.1) |
| 654 | 638 | |
| 655 | -theorem chart_amplitude_uniform : | |
| 656 | - LabelSumBounds.UniformWaveClass (HarmonicWaveInteraction.productStrip strip) fullEnvelope (1 / 2) | |
| 657 | - (fun l : SignedLabel B N0 => (ActualPrimary.chartCoefficients l.1 l.2).amplitude) := by | |
| 658 | - have hh := UniformBlockBounds.uniform_reindex ActualSignedGeometry.meanEquiv.symm | |
| 659 | - (periodized_velocity_uniform (B := B) (N0 := N0)) | |
| 660 | - change LabelSumBounds.UniformWaveClass strip | |
| 661 | - (fun l n x => envelope l n (ActualSignedGeometry.meanEquiv.symm x)) (1 / 2) | |
| 662 | - (fun l n x => periodized (CoordinateAlgebra.A ActualPrimary.h) | |
| 663 | - (fun l : SignedLabel B N0 => fun y => CurlClassBounds.complexify (ActualPrimary.attachedRawVelocity l.1 l.2 y)) | |
| 664 | - l n (ActualSignedGeometry.meanEquiv.symm x)) at hh | |
| 665 | - apply (uniform_lift hh).congr | |
| 666 | - intro l n x hx | |
| 667 | - simpa only [ActualSignedGeometry.meanEquiv.apply_symm_apply] using | |
| 668 | - periodized_velocity_eq l n (x := ActualSignedGeometry.meanEquiv.symm x.1) hx x.2 | |
| 669 | - | |
| 670 | -theorem chart_pressure_uniform : | |
| 671 | - LabelSumBounds.UniformWaveClass (HarmonicWaveInteraction.productStrip strip) fullEnvelope 1 | |
| 672 | - (fun l : SignedLabel B N0 => (ActualPrimary.chartCoefficients l.1 l.2).pressure) := by | |
| 673 | - have hh := UniformBlockBounds.uniform_reindex ActualSignedGeometry.meanEquiv.symm | |
| 674 | - (periodized_pressure_uniform (B := B) (N0 := N0)) | |
| 675 | - change LabelSumBounds.UniformWaveClass strip | |
| 676 | - (fun l n x => envelope l n (ActualSignedGeometry.meanEquiv.symm x)) 1 | |
| 677 | - (fun l n x => periodized (2 * CoordinateAlgebra.A ActualPrimary.h) | |
| 678 | - (fun l : SignedLabel B N0 => ActualPrimary.attachedRawPressure l.1 l.2) | |
| 679 | - l n (ActualSignedGeometry.meanEquiv.symm x)) at hh | |
| 680 | - apply (uniform_lift hh).congr | |
| 681 | - intro l n x hx | |
| 682 | - simpa only [ActualSignedGeometry.meanEquiv.apply_symm_apply] using | |
| 683 | - periodized_pressure_eq l n (x := ActualSignedGeometry.meanEquiv.symm x.1) hx x.2 | |
| 684 | - | |
| 685 | 639 | end LiteralCoefficients |
| 686 | 640 | |
| 687 | 641 | section GaussianCutoff |
| @@ -1734,20 +1688,6 @@ theorem exact_block_uniform : | ||
| 1734 | 1688 | (fun l : SignedLabel B N0 => (ActualPrimary.piece region l.1 l.2).exactCoefficients) |
| 1735 | 1689 | angularFrequency chart_exact_amplitude_uniform chart_exact_pressure_uniform |
| 1736 | 1690 | |
| 1737 | -theorem difference_block_uniform : | |
| 1738 | - ∀ i m, LabelSumBounds.UniformWaveClass strip (meanEnvelope (B := B) (N0 := N0)) | |
| 1739 | - (1 - ChartScales.kappa) | |
| 1740 | - (fun l n x => ((ActualPrimary.piece region l.1 l.2).differenceBlock (phase l) (angularFrequency l)).velocity n i m x) := by | |
| 1741 | - have hp : LabelSumBounds.UniformWaveClass fullStrip (fullEnvelope (B := B) (N0 := N0)) | |
| 1742 | - (1 - ChartScales.kappa) (fun _ _ _ => (0 : ℂ)) := | |
| 1743 | - LabelSumBounds.UniformClass.zero (fun l n x _ => | |
| 1744 | - mul_nonneg (Real.sqrt_nonneg _) (fullEnvelope_nonneg l n x)) | |
| 1745 | - exact (UniformBlockBounds.blockOfCoefficients_product_uniform | |
| 1746 | - (s := strip) (P := meanEnvelope (B := B) (N0 := N0)) | |
| 1747 | - (α := 1 - ChartScales.kappa) (γ := 1 - ChartScales.kappa) | |
| 1748 | - (fun l : SignedLabel B N0 => (ActualPrimary.piece region l.1 l.2).differenceCoefficients) | |
| 1749 | - angularFrequency chart_difference_uniform hp).1 | |
| 1750 | - | |
| 1751 | 1691 | end UniformActualOutputs |
| 1752 | 1692 | |
| 1753 | 1693 | end NavierStokes.ActualPrimaryBounds |
+0 −129 NavierStokes/ActualPrimaryCoherence.lean View file
| @@ -746,36 +746,6 @@ theorem absoluteGaussianCoefficient_smooth (j : Fin 2) (L : Label B N0) : | ||
| 746 | 746 | (absoluteCutoff_smooth j L).contDiffOn |
| 747 | 747 | exact hd.smul (absoluteAmplitude_smooth j L) |
| 748 | 748 | |
| 749 | -theorem absoluteGaussian_smooth (j : Fin 2) (L : Label B N0) : | |
| 750 | - ContDiffOn ℝ ∞ (absoluteGaussian j L) positiveAbsolute := by | |
| 751 | - have ha : ContDiffOn ℝ ∞ (absoluteGaussianCoefficient j L) positiveRadialAbsolute := | |
| 752 | - (absoluteGaussianCoefficient_smooth j L).mono (fun _ hx => hx.2) | |
| 753 | - have hs : ContDiffOn ℝ ∞ (absoluteGaussian j L) positiveRadialAbsolute := by | |
| 754 | - apply contDiffOn_pi.mpr | |
| 755 | - intro i | |
| 756 | - exact Complex.reCLM.contDiff.comp_contDiffOn (HarmonicCalculus.contDiffOn_mode 1 | |
| 757 | - (absolutePhase_smooth j L) (contDiffOn_pi.mp ha i)) | |
| 758 | - intro x hx | |
| 759 | - by_cases hr : 0 < x.1.1.1 | |
| 760 | - · exact (hs.contDiffAt (positiveRadialAbsolute_open.mem_nhds ⟨hr,hx⟩)).contDiffWithinAt | |
| 761 | - · have hp := (absolutePair_zero_germ_outside j L hx | |
| 762 | - (amplitudeRadius_outside_nonpositive L (le_of_not_gt hr))).1 | |
| 763 | - have hz : absoluteGaussian j L =ᶠ[𝓝 x] fun _ => 0 := by | |
| 764 | - filter_upwards [hp] with y hy | |
| 765 | - funext i | |
| 766 | - simp [absoluteGaussian, absoluteGaussianCoefficient, vectorMode, mode, hy] | |
| 767 | - exact (contDiffAt_const.congr_of_eventuallyEq hz).contDiffWithinAt | |
| 768 | - | |
| 769 | -theorem piece_excluded_smooth (U : LocalSignedRequest.SlowRegion (2*h)) | |
| 770 | - (j : Fin 2) (L : Label B N0) (n : ℕ) : | |
| 771 | - ContDiffOn ℝ ∞ ((piece U j L).excluded n) positiveChart := by | |
| 772 | - have hm : MapsTo (absoluteChart n) positiveChart positiveAbsolute := by | |
| 773 | - intro x hx | |
| 774 | - exact mul_pos (ChartScales.Q_pos n) hx | |
| 775 | - exact (((absoluteGaussian_smooth j L).comp (absoluteChart n).contDiff.contDiffOn hm).const_smul | |
| 776 | - (ChartScales.Q n ^ (2 * CoordinateAlgebra.A h + 1/2))).congr | |
| 777 | - (fun x _ => piece_excluded_representation U j L n x) | |
| 778 | - | |
| 779 | 749 | theorem amplitudeRadius_chart (L : Label B N0) (n : ℕ) {x : ChartPoint} |
| 780 | 750 | (hT : 0 < x.1.2.1.1) (hR : 0 < x.1.1) : |
| 781 | 751 | amplitudeRadius L (absoluteChart n x) = x.1.1 / VariableGaugeMean.qLength (2*h) x.1.2.1 := by |
| @@ -987,78 +957,6 @@ theorem piece_tangentVelocity_periodic (U : LocalSignedRequest.SlowRegion (2*h)) | ||
| 987 | 957 | simp only [carrier, chart_phase_periodic j L n hi k] |
| 988 | 958 | rfl |
| 989 | 959 | |
| 990 | -theorem piece_pressure_periodic (U : LocalSignedRequest.SlowRegion (2*h)) | |
| 991 | - (j : Fin 2) (L : Label B N0) (n : ℕ) | |
| 992 | - (hi : CommonWindow.index h n ≤ ChartScales.nativeIndex h (BaseChartJets.cellBand L)) | |
| 993 | - (k : TorusInverse.Frequency) (x : ChartPoint) : | |
| 994 | - (piece U j L).pressure n (x+chartDeck k) = (piece U j L).pressure n x := by | |
| 995 | - change ((chartCutoff j L n (x+chartDeck k) • (chartCoefficients j L).pressure n (x+chartDeck k)) * | |
| 996 | - carrier ((chartCoefficients j L).frequency n) ((chartCoefficients j L).phase n) (x+chartDeck k)).re = _ | |
| 997 | - rw [chart_cutoff_periodic j L n hi k, chart_pressure_periodic j L n hi k] | |
| 998 | - simp only [carrier, chart_phase_periodic j L n hi k] | |
| 999 | - rfl | |
| 1000 | - | |
| 1001 | -theorem piece_excluded_periodic (U : LocalSignedRequest.SlowRegion (2*h)) | |
| 1002 | - (j : Fin 2) (L : Label B N0) (n : ℕ) | |
| 1003 | - (hi : CommonWindow.index h n ≤ ChartScales.nativeIndex h (BaseChartJets.cellBand L)) | |
| 1004 | - (k : TorusInverse.Frequency) (x : ChartPoint) : | |
| 1005 | - (piece U j L).excluded n (x+chartDeck k) = (piece U j L).excluded n x := by | |
| 1006 | - have hd := along_translate (chartDeck k) (chart_cutoff_periodic j L n hi k) | |
| 1007 | - (show ∀ y, (piece U j L).directions.fastField n (y+chartDeck k) = | |
| 1008 | - (piece U j L).directions.fastField n y from fun _ => rfl) x | |
| 1009 | - funext i | |
| 1010 | - change ((along ((piece U j L).directions.fastField n) (chartCutoff j L n) (x+chartDeck k) • | |
| 1011 | - (chartCoefficients j L).amplitude n (x+chartDeck k) + (1-chartCutoff j L n (x+chartDeck k)) • | |
| 1012 | - (0 : ComplexVector)) i * carrier ((chartCoefficients j L).frequency n) | |
| 1013 | - ((chartCoefficients j L).phase n) (x+chartDeck k)).re = _ | |
| 1014 | - rw [hd, chart_amplitude_periodic j L n hi k, chart_cutoff_periodic j L n hi k] | |
| 1015 | - simp only [carrier, chart_phase_periodic j L n hi k] | |
| 1016 | - rfl | |
| 1017 | - | |
| 1018 | -theorem radius_mem_of_amplitudeRadius_mem (L : Label B N0) (n : ℕ) {x : ChartPoint} | |
| 1019 | - (hT : 0 < x.1.2.1.1) | |
| 1020 | - (hm : amplitudeRadius L (absoluteChart n x) ∈ | |
| 1021 | - Icc (PrimaryTargetBounds.leftRadius nominal) (PrimaryTargetBounds.rightRadius nominal)) : | |
| 1022 | - x.1.1 ∈ Icc (VariableGaugeMean.qLength (2*h) x.1.2.1 * PrimaryTargetBounds.leftRadius nominal) | |
| 1023 | - (VariableGaugeMean.qLength (2*h) x.1.2.1 * PrimaryTargetBounds.rightRadius nominal) := by | |
| 1024 | - have hr : 0 < x.1.1 := by | |
| 1025 | - by_contra hh | |
| 1026 | - exact amplitudeRadius_outside_nonpositive L | |
| 1027 | - (mul_nonpos_of_nonneg_of_nonpos (Real.sqrt_nonneg _) (le_of_not_gt hh)) hm | |
| 1028 | - rw [amplitudeRadius_chart L n hT hr] at hm | |
| 1029 | - have hq : 0 < VariableGaugeMean.qLength (2*h) x.1.2.1 := | |
| 1030 | - VariableGaugeMean.qLength_pos (by linarith [outgoing.data.h_pos]) | |
| 1031 | - (by linarith [outgoing.data.h_lt_half]) hT | |
| 1032 | - exact ⟨by simpa only [mul_comm] using (le_div_iff₀ hq).mp hm.1, | |
| 1033 | - by simpa only [mul_comm] using (div_le_iff₀ hq).mp hm.2⟩ | |
| 1034 | - | |
| 1035 | -theorem piece_pressure_support (U : LocalSignedRequest.SlowRegion (2*h)) | |
| 1036 | - (j : Fin 2) (L : Label B N0) (n : ℕ) {x : ChartPoint} | |
| 1037 | - (hT : 0 < x.1.2.1.1) (hne : (piece U j L).pressure n x ≠ 0) : | |
| 1038 | - x.1.1 ∈ Icc (VariableGaugeMean.qLength (2*h) x.1.2.1 * PrimaryTargetBounds.leftRadius nominal) | |
| 1039 | - (VariableGaugeMean.qLength (2*h) x.1.2.1 * PrimaryTargetBounds.rightRadius nominal) := by | |
| 1040 | - apply radius_mem_of_amplitudeRadius_mem L n hT | |
| 1041 | - by_contra hh | |
| 1042 | - have hp := (absolutePair_zero_germ_outside j L (mul_pos (ChartScales.Q_pos n) hT) hh).2.self_of_nhds | |
| 1043 | - change absolutePressure j L (toAbsolute n x.1) = 0 at hp | |
| 1044 | - apply hne | |
| 1045 | - rw [piece_pressure_representation] | |
| 1046 | - simp [absolutePressureMode, mode, hp] | |
| 1047 | - | |
| 1048 | -theorem piece_excluded_support (U : LocalSignedRequest.SlowRegion (2*h)) | |
| 1049 | - (j : Fin 2) (L : Label B N0) (n : ℕ) {x : ChartPoint} | |
| 1050 | - (hT : 0 < x.1.2.1.1) (hne : (piece U j L).excluded n x ≠ 0) : | |
| 1051 | - x.1.1 ∈ Icc (VariableGaugeMean.qLength (2*h) x.1.2.1 * PrimaryTargetBounds.leftRadius nominal) | |
| 1052 | - (VariableGaugeMean.qLength (2*h) x.1.2.1 * PrimaryTargetBounds.rightRadius nominal) := by | |
| 1053 | - apply radius_mem_of_amplitudeRadius_mem L n hT | |
| 1054 | - by_contra hh | |
| 1055 | - have hp := (absolutePair_zero_germ_outside j L (mul_pos (ChartScales.Q_pos n) hT) hh).1.self_of_nhds | |
| 1056 | - change absoluteAmplitude j L (toAbsolute n x.1) = 0 at hp | |
| 1057 | - apply hne | |
| 1058 | - rw [piece_excluded_representation] | |
| 1059 | - ext i | |
| 1060 | - simp [absoluteGaussian, absoluteGaussianCoefficient, vectorMode, mode, hp] | |
| 1061 | - | |
| 1062 | 960 | /-! ## Tangency of the actual native pulse -/ |
| 1063 | 961 | |
| 1064 | 962 | theorem constructed_frame_normal {ι : Type} {D : PhaseJetBounds.Domain ι PhaseCalculus.Slow} |
| @@ -1217,12 +1115,6 @@ theorem piece_phase_smooth (U : LocalSignedRequest.SlowRegion (2*h)) | ||
| 1217 | 1115 | (HarmonicWaveInteraction.productStrip (BaseContextAssembly.nativeStrip nominal U)).domain := |
| 1218 | 1116 | (chart_phase_smooth j L n).mono (piece_domain_positive U) |
| 1219 | 1117 | |
| 1220 | -theorem piece_amplitude_smooth (U : LocalSignedRequest.SlowRegion (2*h)) | |
| 1221 | - (j : Fin 2) (L : Label B N0) (n : ℕ) : | |
| 1222 | - ContDiffOn ℝ ∞ ((chartCoefficients j L).amplitude n) | |
| 1223 | - (HarmonicWaveInteraction.productStrip (BaseContextAssembly.nativeStrip nominal U)).domain := | |
| 1224 | - (chart_amplitude_smooth j L n).mono (fun _ hx => (piece_domain_positive U hx).2) | |
| 1225 | - | |
| 1226 | 1118 | theorem chart_normal_copy (U : LocalSignedRequest.SlowRegion (2*h)) |
| 1227 | 1119 | (j : Fin 2) (L : Label B N0) (n : ℕ) |
| 1228 | 1120 | (hi : CommonWindow.index h n ≤ ChartScales.nativeIndex h (BaseChartJets.cellBand L)) |
| @@ -1877,14 +1769,6 @@ theorem cartesianPotential_smooth (j : Fin 2) (L : Label B N0) : | ||
| 1877 | 1769 | (physicalPotential_smooth j L) (physicalPotential_periodic j L) (physicalPotential_zero_axis j L)).mono |
| 1878 | 1770 | (fun _ hz => ⟨hz,trivial⟩) |
| 1879 | 1771 | |
| 1880 | -theorem cartesianVelocity_axis_zero (j : Fin 2) (L : Label B N0) (t : ℝ) (x : ProblemStatement.Space) | |
| 1881 | - (hx : x 0 = 0) (hy : x 1 = 0) : cartesianVelocity j L (t,x) = 0 := by | |
| 1882 | - apply PhysicalCurlCovariance.spatialCurl_zero_of_zero_near | |
| 1883 | - apply PhysicalCurlCovariance.globalCartesianPotential_zero_germ (physicalAxisRadius_pos L) | |
| 1884 | - (physicalPotential_zero_axis j L) | |
| 1885 | - simpa only [PhysicalGraphBounds.radialProjection_apply,PolarCharts.radius,hx,hy, | |
| 1886 | - zero_pow (by decide : 2 ≠ 0),zero_add,Real.sqrt_zero] using physicalAxisRadius_pos L | |
| 1887 | - | |
| 1888 | 1772 | /-- Every actual band velocity is the rotating-frame representation of |
| 1889 | 1773 | the curl of the same constructed Cartesian potential. This includes all |
| 1890 | 1774 | positive radii and all angles, without a native-cover restriction. -/ |
| @@ -1926,17 +1810,4 @@ theorem piece_physical_pressure (U : LocalSignedRequest.SlowRegion (2*h)) | ||
| 1926 | 1810 | rw [absoluteChart_physical n hr] |
| 1927 | 1811 | rfl |
| 1928 | 1812 | |
| 1929 | -theorem cartesianVelocity_smooth (j : Fin 2) (L : Label B N0) : | |
| 1930 | - ContDiffOn ℝ ∞ (cartesianVelocity j L) {z : ProblemStatement.SpaceTime | z.1 < 1} := by | |
| 1931 | - have ha : ContDiffOn ℝ ∞ (cartesianPotential j L) ((Iio 1) ×ˢ (univ : Set ProblemStatement.Space)) := | |
| 1932 | - (cartesianPotential_smooth j L).mono (fun _ hx => hx.1) | |
| 1933 | - exact (SpatialCurl.contDiffOn_spatialCurl ha (by simp)).mono (fun _ hx => ⟨hx,trivial⟩) | |
| 1934 | - | |
| 1935 | -theorem cartesianVelocity_divergence (j : Fin 2) (L : Label B N0) {t : ℝ} | |
| 1936 | - (ht : t < 1) (x : ProblemStatement.Space) : | |
| 1937 | - ProblemStatement.spatialDivergence (cartesianVelocity j L) t x = 0 := by | |
| 1938 | - have ha : ContDiffOn ℝ 2 (cartesianPotential j L) ((Iio 1) ×ˢ (univ : Set ProblemStatement.Space)) := | |
| 1939 | - ((cartesianPotential_smooth j L).mono (fun _ hx => hx.1)).of_le (WithTop.coe_le_coe.mpr le_top) | |
| 1940 | - exact SpatialCurl.spatialDivergence_spatialCurl_on ha ht x | |
| 1941 | - | |
| 1942 | 1813 | end NavierStokes.ActualPrimaryCoherence |
+0 −88 NavierStokes/ActualPrimaryCovariance.lean View file
| @@ -128,9 +128,6 @@ theorem physicalTangentMode_eq_slot (j : Fin 2) (L : Label B N0) (p : Slow) | ||
| 128 | 128 | noncomputable def nativePoint (n : ℕ) (x : Point) (L : Label B N0) : Slow := |
| 129 | 129 | nativeSlow L (toAbsolute n x) |
| 130 | 130 | |
| 131 | -theorem nativePoint_auxiliary (n : ℕ) (x : Point) (L : Label B N0) (Y : Plane) : | |
| 132 | - nativePoint n (x.1, (x.2.1, Y)) L = nativePoint n x L := rfl | |
| 133 | - | |
| 134 | 131 | theorem nativePoint_time (n : ℕ) {x : Point} (hT : 0 < x.2.1.1) (L : Label B N0) : |
| 135 | 132 | 0 < (nativePoint n x L).2.2 := by |
| 136 | 133 | change 0 < ChartScales.Q n * x.2.1.1 / ChartScales.Q (BaseChartJets.cellBand L) |
| @@ -618,15 +615,6 @@ theorem mean_tangentCovariance_eq_leading (B N0 : ℕ) {n : ℕ} | ||
| 618 | 615 | rw [mean_tangentCovariance_factor B N0 n hx i, |
| 619 | 616 | partitionFactor_eq_one B N0 n hx (physicalScale_tail B N0 hn hx), one_mul] |
| 620 | 617 | |
| 621 | -theorem mean_tangentCovariance_jets (B N0 : ℕ) {n : ℕ} | |
| 622 | - (hn : (choice B N0).prepared.N + 1 ≤ n) {x : Point} | |
| 623 | - (hx : x ∈ (BaseContextAssembly.nativeStrip nominal standardRegion).domain) (i : Fin 2) (m : ℕ) : | |
| 624 | - iteratedFDeriv ℝ m (StateMomentBalances.meanBar (tangentCovariance B N0 0 i.succ) n) x = | |
| 625 | - iteratedFDeriv ℝ m (leadingStress i n) x := by | |
| 626 | - apply (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq | |
| 627 | - (eventually_of_mem ((BaseContextAssembly.nativeStrip nominal standardRegion).isOpen_domain.mem_nhds hx) | |
| 628 | - (fun y hy => mean_tangentCovariance_eq_leading B N0 hn hy i)) m).self_of_nhds | |
| 629 | - | |
| 630 | 618 | /-! ## The exact finite low-band defect -/ |
| 631 | 619 | |
| 632 | 620 | noncomputable def dyadicTail (N : ℕ) (q : ℝ) : ℝ := |
| @@ -850,23 +838,6 @@ theorem averagedDefect_meanClass (B N0 : ℕ) (i : Fin 2) (beta : ℝ) : | ||
| 850 | 838 | ((choice B N0).prepared.N + 1) |
| 851 | 839 | (fun _ hn _ hx => averagedDefect_zero_tail B N0 hn hx i) |
| 852 | 840 | |
| 853 | -/-- Every actual spatial derivative of the averaged covariance error has | |
| 854 | -the same arbitrary exponent; the finite-prefix constants may depend on | |
| 855 | -the chosen exponent and derivative order. -/ | |
| 856 | -theorem averagedDefect_derivative_meanClass (B N0 : ℕ) (i : Fin 2) (beta : ℝ) : | |
| 857 | - MeanClass (BaseContextAssembly.nativeStrip nominal standardRegion) beta | |
| 858 | - (fun n => fderiv ℝ (averagedDefect B N0 i n)) := | |
| 859 | - (averagedDefect_meanClass B N0 i beta).fderiv | |
| 860 | - | |
| 861 | -theorem averagedDefect_radialDiv_meanClass (B N0 : ℕ) (i : Fin 2) (beta weight : ℝ) : | |
| 862 | - MeanClass (BaseContextAssembly.nativeStrip nominal standardRegion) beta | |
| 863 | - ((commonContext B).operators.radialDiv weight (averagedDefect B N0 i)) := by | |
| 864 | - have ho := CommonBaseContext.context_operator_bounds certificate modulation upper B standardRegion | |
| 865 | - (CorrectionInitialization.CommonWindow.index_le_native h) | |
| 866 | - have hc := ho.radialDiv (averagedDefect_meanClass B N0 i (beta + ChartScales.kappa)) weight | |
| 867 | - simp only [add_sub_cancel_right] at hc | |
| 868 | - exact hc | |
| 869 | - | |
| 870 | 841 | /-! ## Direct interfaces for the initial mean balance -/ |
| 871 | 842 | |
| 872 | 843 | theorem meanBar_of_fiber_constant (f : CorrectionState.ScalarField Point) |
| @@ -875,10 +846,6 @@ theorem meanBar_of_fiber_constant (f : CorrectionState.ScalarField Point) | ||
| 875 | 846 | change (∫ y in (0 : ℝ)..1, ∫ z in (0 : ℝ)..1, f n (x.1, (x.2.1, (z, y)))) = f n x |
| 876 | 847 | simp only [hf, intervalIntegral.integral_const, sub_zero, one_smul] |
| 877 | 848 | |
| 878 | -theorem meanBar_leadingStress (i : Fin 2) : | |
| 879 | - StateMomentBalances.meanBar (leadingStress i) = leadingStress i := | |
| 880 | - meanBar_of_fiber_constant _ (fun _ _ _ => rfl) | |
| 881 | - | |
| 882 | 849 | theorem meanBar_virtualTheta (B : ℕ) : |
| 883 | 850 | StateMomentBalances.meanBar (commonContext B).virtualTheta = (commonContext B).virtualTheta := |
| 884 | 851 | meanBar_of_fiber_constant _ (fun _ _ _ => rfl) |
| @@ -1128,61 +1095,6 @@ theorem piece_support (l : Label B N0 × Fin 2) (n : ℕ) (x : Point) | ||
| 1128 | 1095 | (slotSet h slots.radius radialVector temporalVector (signedLabelOf l)) := |
| 1129 | 1096 | cutAmplitude_tsupport l.2 l.1 n hx theta ht |
| 1130 | 1097 | |
| 1131 | -theorem cutAmplitude_tsupport_active (l : Label B N0 × Fin 2) (n : ℕ) {x : Point} | |
| 1132 | - (hx : x ∈ (BaseContextAssembly.nativeStrip nominal standardRegion).domain) (theta : ℝ) | |
| 1133 | - (ht : (x, theta) ∈ tsupport (cutAmplitude l.2 l.1 n)) : | |
| 1134 | - l ∈ activeLabels standardRegion B N0 n := | |
| 1135 | - activeLabels_cover n hx l.1 l.2 (cutAmplitude_tsupport_physical l.2 l.1 n hx theta ht).1 | |
| 1136 | - | |
| 1137 | -theorem cutAmplitude_inactive_germ (l : Label B N0 × Fin 2) (n : ℕ) {x : Point} | |
| 1138 | - (hx : x ∈ (BaseContextAssembly.nativeStrip nominal standardRegion).domain) (theta : ℝ) | |
| 1139 | - (hl : l ∉ activeLabels standardRegion B N0 n) : | |
| 1140 | - cutAmplitude l.2 l.1 n =ᶠ[𝓝 (x, theta)] fun _ => 0 := | |
| 1141 | - notMem_tsupport_iff_eventuallyEq.mp (fun ht => hl (cutAmplitude_tsupport_active l n hx theta ht)) | |
| 1142 | - | |
| 1143 | -theorem velocity_inactive_germ (l : Label B N0 × Fin 2) (n : ℕ) {x : Point} | |
| 1144 | - (hx : x ∈ (BaseContextAssembly.nativeStrip nominal standardRegion).domain) (theta : ℝ) | |
| 1145 | - (hl : l ∉ activeLabels standardRegion B N0 n) : | |
| 1146 | - (piece standardRegion l.2 l.1).velocity n =ᶠ[𝓝 (x, theta)] fun _ => 0 := by | |
| 1147 | - apply notMem_tsupport_iff_eventuallyEq.mp | |
| 1148 | - intro ht | |
| 1149 | - exact hl (cutAmplitude_tsupport_active l n hx theta | |
| 1150 | - ((piece standardRegion l.2 l.1).velocity_tsupport_subset_tangent n ht)) | |
| 1151 | - | |
| 1152 | -theorem cutAmplitude_tsupport_disjoint (n : ℕ) {l m : Label B N0 × Fin 2} (hlm : l ≠ m) : | |
| 1153 | - Disjoint | |
| 1154 | - ((Prod.fst ⁻¹' (BaseContextAssembly.nativeStrip nominal standardRegion).domain) ∩ | |
| 1155 | - tsupport (cutAmplitude l.2 l.1 n)) | |
| 1156 | - ((Prod.fst ⁻¹' (BaseContextAssembly.nativeStrip nominal standardRegion).domain) ∩ | |
| 1157 | - tsupport (cutAmplitude m.2 m.1 n)) := by | |
| 1158 | - apply Set.disjoint_left.mpr | |
| 1159 | - rintro ⟨x, theta⟩ ⟨hx, hl⟩ ⟨_, hm⟩ | |
| 1160 | - obtain ⟨hwl, hsl⟩ := cutAmplitude_tsupport l.2 l.1 n hx theta hl | |
| 1161 | - obtain ⟨hwm, hsm⟩ := cutAmplitude_tsupport m.2 m.1 n hx theta hm | |
| 1162 | - have hne : signedLabelOf l ≠ signedLabelOf m := fun he => hlm (signedLabelOf_injective he) | |
| 1163 | - exact Set.disjoint_left.mp (slots.disjoint _ _ (LabelSumBounds.closedWindow_adjacency | |
| 1164 | - l.1.val.property.1 m.1.val.property.1 hne hwl hwm)) hsl hsm | |
| 1165 | - | |
| 1166 | -theorem exactAmplitude_tsupport_disjoint (n : ℕ) {l m : Label B N0 × Fin 2} (hlm : l ≠ m) : | |
| 1167 | - Disjoint | |
| 1168 | - ((Prod.fst ⁻¹' (BaseContextAssembly.nativeStrip nominal standardRegion).domain) ∩ | |
| 1169 | - tsupport ((piece standardRegion l.2 l.1).exactCoefficients.amplitude n)) | |
| 1170 | - ((Prod.fst ⁻¹' (BaseContextAssembly.nativeStrip nominal standardRegion).domain) ∩ | |
| 1171 | - tsupport ((piece standardRegion m.2 m.1).exactCoefficients.amplitude n)) := | |
| 1172 | - (cutAmplitude_tsupport_disjoint n hlm).mono | |
| 1173 | - (inter_subset_inter_right _ ((piece standardRegion l.2 l.1).exactAmplitude_tsupport_subset_tangent n)) | |
| 1174 | - (inter_subset_inter_right _ ((piece standardRegion m.2 m.1).exactAmplitude_tsupport_subset_tangent n)) | |
| 1175 | - | |
| 1176 | -theorem velocity_tsupport_disjoint (n : ℕ) {l m : Label B N0 × Fin 2} (hlm : l ≠ m) : | |
| 1177 | - Disjoint | |
| 1178 | - ((Prod.fst ⁻¹' (BaseContextAssembly.nativeStrip nominal standardRegion).domain) ∩ | |
| 1179 | - tsupport ((piece standardRegion l.2 l.1).velocity n)) | |
| 1180 | - ((Prod.fst ⁻¹' (BaseContextAssembly.nativeStrip nominal standardRegion).domain) ∩ | |
| 1181 | - tsupport ((piece standardRegion m.2 m.1).velocity n)) := | |
| 1182 | - (cutAmplitude_tsupport_disjoint n hlm).mono | |
| 1183 | - (inter_subset_inter_right _ ((piece standardRegion l.2 l.1).velocity_tsupport_subset_tangent n)) | |
| 1184 | - (inter_subset_inter_right _ ((piece standardRegion m.2 m.1).velocity_tsupport_subset_tangent n)) | |
| 1185 | - | |
| 1186 | 1098 | /-! ## Inactive physical labels vanish on entire slow fibers |
| 1187 | 1099 | |
| 1188 | 1100 | The radial coordinate is unrestricted here. A nonzero literal attached |
+0 −789 NavierStokes/ActualReferenceRebase.lean View file
| @@ -29,169 +29,12 @@ section Pullback | ||
| 29 | 29 | variable {D E : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 30 | 30 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 31 | 31 | |
| 32 | -noncomputable def pullField (e : D ≃L[ℝ] E) (f : MeanIncrementBounds.Field E) : | |
| 33 | - MeanIncrementBounds.Field D := fun n x => f n (e x) | |
| 34 | - | |
| 35 | -noncomputable def pullTriple (e : D ≃L[ℝ] E) (v : MeanIncrementBounds.Triple E) : | |
| 36 | - MeanIncrementBounds.Triple D := | |
| 37 | - ⟨pullField e v.radial, pullField e v.angular, pullField e v.axial⟩ | |
| 38 | - | |
| 39 | -noncomputable def pullOperators (e : D ≃L[ℝ] E) (o : MeanIncrementBounds.Operators E) : | |
| 40 | - MeanIncrementBounds.Operators D where | |
| 41 | - epsilon := o.epsilon | |
| 42 | - radialFrequency := o.radialFrequency | |
| 43 | - fastCoefficient := o.fastCoefficient | |
| 44 | - radius x := o.radius (e x) | |
| 45 | - radialProfile x := o.radialProfile (e x) | |
| 46 | - eR := e.symm o.eR | |
| 47 | - eZ := e.symm o.eZ | |
| 48 | - eT := e.symm o.eT | |
| 49 | - vR := e.symm o.vR | |
| 50 | - vT := e.symm o.vT | |
| 51 | - | |
| 52 | -noncomputable def pullContext (e : D ≃L[ℝ] E) (c : Context E) : Context D where | |
| 53 | - operators := pullOperators e c.operators | |
| 54 | - base := pullTriple e c.base | |
| 55 | - virtualTheta := pullField e c.virtualTheta | |
| 56 | - virtualAxial := pullField e c.virtualAxial | |
| 57 | - | |
| 58 | -noncomputable def pullOscillation (e : D ≃L[ℝ] E) (u : Oscillation E) : Oscillation D := | |
| 59 | - fun n x => u n (e x.1, x.2) | |
| 60 | - | |
| 61 | -noncomputable def pullErrors (e : D ≃L[ℝ] E) (u : ExcludedErrors E) : ExcludedErrors D := | |
| 62 | - ⟨pullOscillation e u.base, pullOscillation e u.gaussian, pullOscillation e u.aliasError⟩ | |
| 63 | - | |
| 64 | -noncomputable def pullState (e : D ≃L[ℝ] E) (u : State E) : State D where | |
| 65 | - mean := pullTriple e u.mean | |
| 66 | - pressure := pullField e u.pressure | |
| 67 | - oscillation := pullOscillation e u.oscillation | |
| 68 | - oscillatoryPressure n x := u.oscillatoryPressure n (e x.1, x.2) | |
| 69 | - errors := pullErrors e u.errors | |
| 70 | - | |
| 71 | 32 | noncomputable def pullCoefficients (e : D ≃L[ℝ] E) (a : Coefficients E) : Coefficients D := |
| 72 | 33 | AddMonoidAlgebra.ofCoeff (Finsupp.mapRange (fun f : E → ℂ => fun x => f (e x)) rfl a.coeff) |
| 73 | 34 | |
| 74 | 35 | @[simp] theorem pullCoefficients_apply (e : D ≃L[ℝ] E) (a : Coefficients E) |
| 75 | 36 | (j : ℤ) (x : D) : pullCoefficients e a j x = a j (e x) := rfl |
| 76 | 37 | |
| 77 | -theorem pullCoefficients_support (e : D ≃L[ℝ] E) (a : Coefficients E) : | |
| 78 | - (pullCoefficients e a).support = a.support := by | |
| 79 | - ext j | |
| 80 | - simp only [Finsupp.mem_support_iff] | |
| 81 | - apply not_congr | |
| 82 | - constructor | |
| 83 | - · intro h | |
| 84 | - funext y | |
| 85 | - obtain ⟨x, rfl⟩ := e.surjective y | |
| 86 | - exact congrFun h x | |
| 87 | - · intro h | |
| 88 | - funext x | |
| 89 | - exact congrFun h (e x) | |
| 90 | - | |
| 91 | -theorem pullCoefficients_field (e : D ≃L[ℝ] E) (a : Coefficients E) | |
| 92 | - (K : ℝ) (Phi : E → ℝ) (kp : ℤ) (x : D × ℝ) : | |
| 93 | - field (pullCoefficients e a) K (fun y => Phi (e y)) kp x = | |
| 94 | - field a K Phi kp (e x.1, x.2) := by | |
| 95 | - simp only [field, evaluate, Finsupp.sum, pullCoefficients_support, pullCoefficients_apply] | |
| 96 | - | |
| 97 | -noncomputable def pullBlock (e : D ≃L[ℝ] E) (b : HarmonicBlock E) : HarmonicBlock D where | |
| 98 | - velocity n i := pullCoefficients e (b.velocity n i) | |
| 99 | - pressure n := pullCoefficients e (b.pressure n) | |
| 100 | - frequency := b.frequency | |
| 101 | - phase n x := b.phase n (e x) | |
| 102 | - angularFrequency := b.angularFrequency | |
| 103 | - | |
| 104 | -noncomputable def pullBlockCoefficients (e : D ≃L[ℝ] E) | |
| 105 | - (a : HarmonicResidual.BlockCoefficients E) : HarmonicResidual.BlockCoefficients D := | |
| 106 | - fun n i => pullCoefficients e (a n i) | |
| 107 | - | |
| 108 | -theorem pullBlock_oscillation (e : D ≃L[ℝ] E) (b : HarmonicBlock E) | |
| 109 | - (n : ℕ) (x : D × ℝ) : | |
| 110 | - (pullBlock e b).oscillation n x = b.oscillation n (e x.1, x.2) := by | |
| 111 | - funext i | |
| 112 | - exact congrArg Complex.re (pullCoefficients_field e (b.velocity n i) | |
| 113 | - (b.frequency n) (b.phase n) (b.angularFrequency n) x) | |
| 114 | - | |
| 115 | -theorem pullBlock_pressure (e : D ≃L[ℝ] E) (b : HarmonicBlock E) | |
| 116 | - (n : ℕ) (x : D × ℝ) : | |
| 117 | - (pullBlock e b).oscillatoryPressure n x = b.oscillatoryPressure n (e x.1, x.2) := | |
| 118 | - congrArg Complex.re (pullCoefficients_field e (b.pressure n) | |
| 119 | - (b.frequency n) (b.phase n) (b.angularFrequency n) x) | |
| 120 | - | |
| 121 | -noncomputable def pullFrame (e : D ≃L[ℝ] E) (g : HarmonicResidual.Frame E) : | |
| 122 | - HarmonicResidual.Frame D where | |
| 123 | - radius x := g.radius (e x) | |
| 124 | - radial x := e.symm (g.radial (e x)) | |
| 125 | - axial x := e.symm (g.axial (e x)) | |
| 126 | - time x := e.symm (g.time (e x)) | |
| 127 | - viscosity := g.viscosity | |
| 128 | - | |
| 129 | -theorem pullContext_frame (e : D ≃L[ℝ] E) (c : Context E) (n : ℕ) : | |
| 130 | - HarmonicResidual.contextFrame (pullContext e c) n = | |
| 131 | - pullFrame e (HarmonicResidual.contextFrame c n) := by | |
| 132 | - unfold HarmonicResidual.contextFrame pullContext pullOperators pullFrame | |
| 133 | - congr 1 <;> funext x <;> simp only [map_add, map_smul, map_sub] | |
| 134 | - | |
| 135 | -theorem pullFrame_on (e : D ≃L[ℝ] E) (g : HarmonicResidual.Frame E) : | |
| 136 | - PhysicalResidualNaturality.FrameOn univ e 1 1 (pullFrame e g) g := by | |
| 137 | - constructor <;> simp [pullFrame] | |
| 138 | - | |
| 139 | -/-- The full residual, rather than only its on-graph values, is pulled back. | |
| 140 | -No carrier nondegeneracy or differentiability premise is needed. -/ | |
| 141 | -theorem pull_residualSource (e : D ≃L[ℝ] E) (c : Context E) (u : State E) | |
| 142 | - (b : HarmonicBlock E) (G A : HarmonicResidual.BlockCoefficients E) | |
| 143 | - (j : ℤ) (n : ℕ) (x : D) : | |
| 144 | - ParticularWaveAssembly.residualSource (pullContext e c) (pullState e u) | |
| 145 | - (pullBlock e b) (pullBlockCoefficients e G) (pullBlockCoefficients e A) j n x = | |
| 146 | - ParticularWaveAssembly.residualSource c u b G A j n (e x) := by | |
| 147 | - have hlabel : PhysicalResidualNaturality.LabelOn univ e 1 1 | |
| 148 | - (HarmonicResidual.ofBlock (pullBlock e b) (pullBlockCoefficients e G) | |
| 149 | - (pullBlockCoefficients e A) n) (HarmonicResidual.ofBlock b G A n) := by | |
| 150 | - constructor | |
| 151 | - · intro y hy; rfl | |
| 152 | - · rfl | |
| 153 | - · intro i k y hy | |
| 154 | - simp [HarmonicResidual.ofBlock, HarmonicResidual.realCoefficients_apply, | |
| 155 | - pullBlock] | |
| 156 | - · intro k y hy | |
| 157 | - simp [HarmonicResidual.ofBlock, HarmonicResidual.realCoefficients_apply, | |
| 158 | - pullBlock] | |
| 159 | - · intro i k y hy | |
| 160 | - simp [HarmonicResidual.ofBlock, HarmonicResidual.realCoefficients_apply, | |
| 161 | - pullBlockCoefficients] | |
| 162 | - · intro i k y hy | |
| 163 | - simp [HarmonicResidual.ofBlock, HarmonicResidual.realCoefficients_apply, | |
| 164 | - pullBlockCoefficients] | |
| 165 | - have hg : PhysicalResidualNaturality.FrameOn univ e 1 1 | |
| 166 | - (HarmonicResidual.contextFrame (pullContext e c) n) | |
| 167 | - (HarmonicResidual.contextFrame c n) := by | |
| 168 | - rw [pullContext_frame] | |
| 169 | - exact pullFrame_on e _ | |
| 170 | - have hb : ∀ y ∈ (univ : Set D), HarmonicResidual.contextBase (pullContext e c) n y = | |
| 171 | - (1 : ℝ) • HarmonicResidual.contextBase c n (e y) := by | |
| 172 | - intro y hy; simp [HarmonicResidual.contextBase, pullContext, pullTriple, pullField] | |
| 173 | - have hm : ∀ y ∈ (univ : Set D), HarmonicResidual.stateMean (pullState e u) n y = | |
| 174 | - (1 : ℝ) • HarmonicResidual.stateMean u n (e y) := by | |
| 175 | - intro y hy; simp [HarmonicResidual.stateMean, pullState, pullTriple, pullField] | |
| 176 | - funext i | |
| 177 | - have he := hlabel.waveResidualCoefficients isOpen_univ one_ne_zero hg hb hm i j x (mem_univ x) | |
| 178 | - simp only [one_mul, one_smul] at he | |
| 179 | - exact he | |
| 180 | - | |
| 181 | -noncomputable def pullStrip (e : D ≃L[ℝ] E) (s : StripData E) : StripData D where | |
| 182 | - domain := e ⁻¹' s.domain | |
| 183 | - isOpen_domain := s.isOpen_domain.preimage e.continuous | |
| 184 | - epsilon := s.epsilon | |
| 185 | - epsilon_pos := s.epsilon_pos | |
| 186 | - epsilon_le_one := s.epsilon_le_one | |
| 187 | - slow := s.slow | |
| 188 | - one_le_slow := s.one_le_slow | |
| 189 | - delta x := s.delta (e x) | |
| 190 | - delta_pos x hx := s.delta_pos (e x) hx | |
| 191 | - zeta x := s.zeta (e x) | |
| 192 | - zeta_smooth := s.zeta_smooth.comp e.contDiff.contDiffOn (fun _ hx => hx) | |
| 193 | - zeta_nonneg x hx := s.zeta_nonneg (e x) hx | |
| 194 | - | |
| 195 | 38 | noncomputable def pullWave (e : D ≃L[ℝ] E) (a : LinearWaveBounds.WaveCoefficients E) : |
| 196 | 39 | LinearWaveBounds.WaveCoefficients D where |
| 197 | 40 | radius n x := a.radius n (e x) |
| @@ -215,16 +58,6 @@ noncomputable def pullDirections (e : D ≃L[ℝ] E) (d : LinearWaveBounds.Graph | ||
| 215 | 58 | fastScale := d.fastScale |
| 216 | 59 | radialProfile x := d.radialProfile (e x) |
| 217 | 60 | |
| 218 | -theorem pullDirections_radial (e : D ≃L[ℝ] E) (d : LinearWaveBounds.GraphDirections E) | |
| 219 | - (n : ℕ) (x : D) : (pullDirections e d).radialField n x = | |
| 220 | - e.symm (d.radialField n (e x)) := by | |
| 221 | - simp only [LinearWaveBounds.GraphDirections.radialField, pullDirections, map_add, map_smul] | |
| 222 | - | |
| 223 | -theorem pullDirections_axial (e : D ≃L[ℝ] E) (d : LinearWaveBounds.GraphDirections E) | |
| 224 | - (s : StripData E) (n : ℕ) (x : D) : | |
| 225 | - (pullDirections e d).axialField (pullStrip e s) n x = e.symm (d.axialField s n (e x)) := by | |
| 226 | - simp only [LinearWaveBounds.GraphDirections.axialField, pullDirections, pullStrip, map_smul] | |
| 227 | - | |
| 228 | 61 | end Pullback |
| 229 | 62 | |
| 230 | 63 | /-! ## A separate, genuine native-reference assembly -/ |
| @@ -240,114 +73,12 @@ noncomputable def inverseCover (k : ℕ) : (P × Plane) ≃L[ℝ] (P × Plane) : | ||
| 240 | 73 | @[simp] theorem inverseCover_symm_apply (k : ℕ) (x : P × Plane) : |
| 241 | 74 | (inverseCover (P := P) k).symm x = (x.1, coverPower k x.2) := rfl |
| 242 | 75 | |
| 243 | -/-- All fields, all directions and the complete source are expressed in the | |
| 244 | -native fast coordinate. This assembly is only a reference view; the target | |
| 245 | -solver keeps its original common-cover data. -/ | |
| 246 | -noncomputable def rebaseAssembly (D : ParticularWaveAssembly.AssemblyData P) (k : ℕ) : | |
| 247 | - ParticularWaveAssembly.AssemblyData P where | |
| 248 | - reference := D.reference | |
| 249 | - charts := ⟨fun _ => id, fun _ => 0, fun _ => 1⟩ | |
| 250 | - context := pullContext (inverseCover k) D.context | |
| 251 | - state := pullState (inverseCover k) D.state | |
| 252 | - carrierBlock := pullBlock (inverseCover k) D.carrierBlock | |
| 253 | - gaussianInput := pullBlockCoefficients (inverseCover k) D.gaussianInput | |
| 254 | - aliasInput := pullBlockCoefficients (inverseCover k) D.aliasInput | |
| 255 | - background := pullWave (inverseCover k) D.background | |
| 256 | - copy := D.copy | |
| 257 | - strip := pullStrip (inverseCover k) D.strip | |
| 258 | - directions := pullDirections (inverseCover k) D.directions | |
| 259 | - | |
| 260 | -theorem rebaseAssembly_source (D : ParticularWaveAssembly.AssemblyData P) (k : ℕ) | |
| 261 | - (j : ℤ) (n : ℕ) (x : P × Plane) : | |
| 262 | - ParticularWaveAssembly.residualSource (rebaseAssembly D k).context | |
| 263 | - (rebaseAssembly D k).state (rebaseAssembly D k).carrierBlock | |
| 264 | - (rebaseAssembly D k).gaussianInput (rebaseAssembly D k).aliasInput j n x = | |
| 265 | - ParticularWaveAssembly.residualSource D.context D.state D.carrierBlock | |
| 266 | - D.gaussianInput D.aliasInput j n (x.1, (coverPower k).symm x.2) := by | |
| 267 | - change ParticularWaveAssembly.residualSource | |
| 268 | - (pullContext (inverseCover k) D.context) (pullState (inverseCover k) D.state) | |
| 269 | - (pullBlock (inverseCover k) D.carrierBlock) | |
| 270 | - (pullBlockCoefficients (inverseCover k) D.gaussianInput) | |
| 271 | - (pullBlockCoefficients (inverseCover k) D.aliasInput) j n x = _ | |
| 272 | - simpa only [inverseCover_apply] using | |
| 273 | - (pull_residualSource (inverseCover (P := P) k) D.context D.state D.carrierBlock | |
| 274 | - D.gaussianInput D.aliasInput j n x) | |
| 275 | - | |
| 276 | -theorem rebaseAssembly_referenceIdentity | |
| 277 | - (D : ParticularWaveAssembly.AssemblyData PhysicalParticularWave.Parameter) (k : ℕ) : | |
| 278 | - PhysicalParticularWave.ReferenceIdentity (rebaseAssembly D k) := ⟨rfl, rfl, rfl⟩ | |
| 279 | - | |
| 280 | 76 | /-! ## Binding to the one actual initializer choice and current cycle state -/ |
| 281 | 77 | |
| 282 | 78 | open CorrectionInitialization CorrectionInitialization.ActualPrimary |
| 283 | 79 | |
| 284 | 80 | variable {B N0 : ℕ} |
| 285 | 81 | |
| 286 | -noncomputable def referenceResidualSource | |
| 287 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 288 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) : | |
| 289 | - PhysicalResidualNaturality.Associated → ComplexVector := | |
| 290 | - fun z => ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 291 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 292 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 293 | - j (BaseChartJets.cellBand l.2) | |
| 294 | - (z.1, (coverPower (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))).symm z.2) | |
| 295 | - | |
| 296 | -noncomputable def nativeAssembly | |
| 297 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 298 | - (l : ActualParticularStageControls.Label B N0) : ParticularWaveAssembly.AssemblyData Parameter := | |
| 299 | - rebaseAssembly (ActualParticularStageControls.assembly x l) | |
| 300 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2)) | |
| 301 | - | |
| 302 | -theorem nativeAssembly_reference | |
| 303 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 304 | - (l : ActualParticularStageControls.Label B N0) : | |
| 305 | - (nativeAssembly x l).reference = ActualParticularStageControls.reference l := rfl | |
| 306 | - | |
| 307 | -theorem nativeAssembly_source | |
| 308 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 309 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) : | |
| 310 | - PhysicalParticularWave.referenceSource (nativeAssembly x l) j = referenceResidualSource x l j := by | |
| 311 | - funext z | |
| 312 | - exact rebaseAssembly_source (ActualParticularStageControls.assembly x l) | |
| 313 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2)) j | |
| 314 | - (BaseChartJets.cellBand l.2) z | |
| 315 | - | |
| 316 | -theorem nativeAssembly_identity | |
| 317 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 318 | - (l : ActualParticularStageControls.Label B N0) : | |
| 319 | - PhysicalParticularWave.ReferenceIdentity (nativeAssembly x l) := | |
| 320 | - rebaseAssembly_referenceIdentity _ _ | |
| 321 | - | |
| 322 | -theorem nativeAssembly_raw | |
| 323 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 324 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) : | |
| 325 | - PhysicalParticularWave.referenceRaw (nativeAssembly x l) j = | |
| 326 | - ParticularWaveAssembly.angleLift (ParticularWaveBounds.commonVelocity | |
| 327 | - ((ActualParticularStageControls.reference l).tangent j) (referenceResidualSource x l j) | |
| 328 | - (ActualParticularStageControls.reference l).geometry | |
| 329 | - (ActualParticularStageControls.reference l).length_pos.le | |
| 330 | - (ActualParticularStageControls.reference l).cutoff) := by | |
| 331 | - change ParticularWaveAssembly.angleLift (ParticularWaveBounds.commonVelocity _ | |
| 332 | - (PhysicalParticularWave.referenceSource (nativeAssembly x l) j) _ _ _) = _ | |
| 333 | - rw [nativeAssembly_source] | |
| 334 | - rfl | |
| 335 | - | |
| 336 | -theorem nativeAssembly_rawPressure | |
| 337 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 338 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) : | |
| 339 | - PhysicalParticularWave.referenceRawPressure (nativeAssembly x l) j = | |
| 340 | - ParticularWaveAssembly.angleLift (ParticularWaveBounds.commonPressure | |
| 341 | - ((ActualParticularStageControls.reference l).tangent j) (referenceResidualSource x l j) | |
| 342 | - (ActualParticularStageControls.reference l).geometry | |
| 343 | - (ActualParticularStageControls.reference l).length_pos.le | |
| 344 | - (ActualParticularStageControls.reference l).cutoff | |
| 345 | - ((j : ℝ) * (x.coefficients.blocks l).frequency (BaseChartJets.cellBand l.2))) := by | |
| 346 | - change ParticularWaveAssembly.angleLift (ParticularWaveBounds.commonPressure _ | |
| 347 | - (PhysicalParticularWave.referenceSource (nativeAssembly x l) j) _ _ _ _) = _ | |
| 348 | - rw [nativeAssembly_source] | |
| 349 | - rfl | |
| 350 | - | |
| 351 | 82 | /-! The native reference has its own actual frame and phase. -/ |
| 352 | 83 | |
| 353 | 84 | @[simp] theorem associatedToLift_symm_apply (z : PhysicalResidualNaturality.Lift) : |
| @@ -360,36 +91,6 @@ theorem nativeAssembly_rawPressure | ||
| 360 | 91 | @[simp] theorem cycleAssoc_symm_apply (z : PhysicalResidualNaturality.Associated) : |
| 361 | 92 | CorrectionStep.cycleAssoc.symm z = (z.1.1, (z.1.2, z.2)) := rfl |
| 362 | 93 | |
| 363 | -theorem inverseCover_associatedFrame (h Q : ℝ) (i k : ℕ) : | |
| 364 | - pullFrame (inverseCover k) (PhysicalResidualNaturality.associatedFrame h Q i) = | |
| 365 | - PhysicalResidualNaturality.associatedFrame h Q (i+k) := by | |
| 366 | - unfold pullFrame PhysicalResidualNaturality.associatedFrame StateReindex.frame | |
| 367 | - StateReindex.vector ParticularWaveBounds.reindexVector PhysicalResidualNaturality.commonFrame | |
| 368 | - congr 1 | |
| 369 | - · funext x | |
| 370 | - change ((1, (0, 0)), coverPower k | |
| 371 | - ((ChartScales.Lambda ^ i * Q ^ (ChartScales.radialExponent h / 2) * | |
| 372 | - GraphCalculus.radialSpeed (ChartScales.radialExponent h) x.1.1) • | |
| 373 | - PhysicalGraphBounds.radialDirection)) = _ | |
| 374 | - rw [map_smul, coverPower_apply, PhysicalGraphBounds.cover_pow_radialDirection, smul_smul] | |
| 375 | - congr 2 | |
| 376 | - simp only [ PhysicalResidualBridge.commonGraph, | |
| 377 | - PhysicalResidualNaturality.associatedToLift_apply] | |
| 378 | - rw [pow_add] | |
| 379 | - ring | |
| 380 | - · funext x | |
| 381 | - change ((0, (0, Q ^ h)), coverPower k 0) = _ | |
| 382 | - rw [map_zero] | |
| 383 | - rfl | |
| 384 | - · funext x | |
| 385 | - change ((0, (-(Q ^ h), 0)), coverPower k | |
| 386 | - ((ChartScales.Tg ^ i * Q ^ (1+h)) • PhysicalGraphBounds.timeDirection)) = _ | |
| 387 | - rw [map_smul, coverPower_apply, PhysicalGraphBounds.cover_pow_timeDirection, smul_smul] | |
| 388 | - congr 2 | |
| 389 | - simp only [PhysicalResidualBridge.commonGraph] | |
| 390 | - rw [pow_add] | |
| 391 | - ring | |
| 392 | - | |
| 393 | 94 | theorem associatedContext_frame (B n : ℕ) : |
| 394 | 95 | HarmonicResidual.contextFrame (ActualParticularStageControls.associatedContext (B := B)) n = |
| 395 | 96 | PhysicalResidualNaturality.associatedFrame h (ChartScales.Q n) (CommonWindow.index h n) := by |
| @@ -414,58 +115,9 @@ theorem associatedContext_frame (B n : ℕ) : | ||
| 414 | 115 | PhysicalResidualBridge.ScaledGraph.temporal, PhysicalResidualBridge.commonGraph, StateReindex.vector, ParticularWaveBounds.reindexVector, |
| 415 | 116 | PhysicalGraphBounds.timeDirection, TorusInverse.vector, ChartScales.epsilon] |
| 416 | 117 | |
| 417 | -theorem nativeAssembly_frame | |
| 418 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 419 | - (l : ActualParticularStageControls.Label B N0) : | |
| 420 | - HarmonicResidual.contextFrame (nativeAssembly x l).context (BaseChartJets.cellBand l.2) = | |
| 421 | - PhysicalResidualNaturality.associatedFrame h (ChartScales.Q (BaseChartJets.cellBand l.2)) | |
| 422 | - (ChartScales.nativeIndex h (BaseChartJets.cellBand l.2)) := by | |
| 423 | - change HarmonicResidual.contextFrame | |
| 424 | - (pullContext (inverseCover (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))) | |
| 425 | - (ActualParticularStageControls.associatedContext (B := B))) _ = _ | |
| 426 | - rw [pullContext_frame, associatedContext_frame, inverseCover_associatedFrame] | |
| 427 | - rw [ActualParticularStageControls.gap, Nat.add_sub_of_le (CommonWindow.index_le_native h _)] | |
| 428 | - | |
| 429 | -theorem rebaseAssembly_phase (D : ParticularWaveAssembly.AssemblyData Parameter) (k : ℕ) | |
| 430 | - (j : ℤ) (z : WaveSpace) : | |
| 431 | - PhysicalParticularWave.referencePhase (rebaseAssembly D k) j z = | |
| 432 | - PhysicalParticularWave.referencePhase D j (inverseCover k z) := rfl | |
| 433 | - | |
| 434 | -theorem rebaseAssembly_frequency (D : ParticularWaveAssembly.AssemblyData Parameter) | |
| 435 | - (k : ℕ) (j : ℤ) : | |
| 436 | - PhysicalParticularWave.referenceFrequency (rebaseAssembly D k) j = | |
| 437 | - PhysicalParticularWave.referenceFrequency D j := rfl | |
| 438 | - | |
| 439 | 118 | theorem ratioPower_self {Q : ℝ} (hQ : 0 < Q) (a : ℝ) : ratioPower Q Q a = 1 := |
| 440 | 119 | div_self (Real.rpow_pos_of_pos hQ a).ne' |
| 441 | 120 | |
| 442 | -theorem cylinderChange_inverseCover (h : ℝ) {Q : ℝ} (hQ : 0 < Q) (k : ℕ) | |
| 443 | - (z : WaveSpace) : | |
| 444 | - cylinderChange h Q Q k (waveEquiv.symm (inverseCover k z)) = waveEquiv.symm z := by | |
| 445 | - change ((ratioPower Q Q (1/2) * z.1.1.1, | |
| 446 | - ((ratioPower Q Q (CoordinateAlgebra.D h) * z.1.1.2.2, | |
| 447 | - ratioPower Q Q 1 * z.1.1.2.1), coverPower k ((coverPower k).symm z.2))), z.1.2) = _ | |
| 448 | - simp only [ratioPower_self hQ, one_mul, ContinuousLinearEquiv.apply_symm_apply] | |
| 449 | - rfl | |
| 450 | - | |
| 451 | -theorem nativeAssembly_background_phase | |
| 452 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 453 | - (l : ActualParticularStageControls.Label B N0) (z : WaveSpace) : | |
| 454 | - (nativeAssembly x l).background.phase (BaseChartJets.cellBand l.2) z = | |
| 455 | - ActualSignedGeometry.preparedPhase certificate modulation slots (choice B N0).prepared | |
| 456 | - l.1 l.2 (waveEquiv.symm z) := by | |
| 457 | - let m := BaseChartJets.cellBand l.2 | |
| 458 | - let k := ActualParticularStageControls.gap l m | |
| 459 | - change (chartCoefficients l.1 l.2).phase m | |
| 460 | - (ActualParticularStageControls.nativeToFull (inverseCover k z)) = _ | |
| 461 | - rw [chartCoefficients_phase_view l.1 l.2 m (CommonWindow.index_le_native h m)] | |
| 462 | - change (ChartScales.carrier h m : ℝ) / ChartScales.carrier h m * | |
| 463 | - ActualSignedGeometry.preparedPhase certificate modulation slots (choice B N0).prepared l.1 l.2 | |
| 464 | - (cylinderChange h (ChartScales.Q m) (ChartScales.Q m) k | |
| 465 | - (waveEquiv.symm (inverseCover k z))) = _ | |
| 466 | - rw [div_self (by exact_mod_cast (Scaling.carrier_frequency_pos (ChartScales.epsilon_pos h m)).ne'), one_mul, | |
| 467 | - cylinderChange_inverseCover h (ChartScales.Q_pos m)] | |
| 468 | - | |
| 469 | 121 | /-! ## Dependence of a copy solve on one complete parameter fiber -/ |
| 470 | 122 | |
| 471 | 123 | section FiberLocality |
| @@ -567,21 +219,6 @@ theorem associatedChart_stateChart (n m k : ℕ) (z : PhysicalResidualNaturality | ||
| 567 | 219 | parameterChange, ratioPower, Real.rpow_one, |
| 568 | 220 | Real.div_rpow (ChartScales.Q_pos n).le (ChartScales.Q_pos m).le] |
| 569 | 221 | |
| 570 | -theorem commonReferenceChart_forward (l : ActualParticularStageControls.Label B N0) | |
| 571 | - (n k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h (BaseChartJets.cellBand l.2)) | |
| 572 | - (z : PhysicalResidualNaturality.Associated) : | |
| 573 | - CorrectionStep.cycleAssoc.symm (commonReferenceChart l n z) = | |
| 574 | - GaugeStateCoherence.bandChartEquiv h n (BaseChartJets.cellBand l.2) k | |
| 575 | - (CorrectionStep.cycleAssoc.symm z) := by | |
| 576 | - have hg : ActualParticularStageControls.gap l n = | |
| 577 | - ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2) + k := by | |
| 578 | - have hm := CommonWindow.index_le_native h (BaseChartJets.cellBand l.2) | |
| 579 | - unfold ActualParticularStageControls.gap | |
| 580 | - omega | |
| 581 | - rw [commonReferenceChart_apply, hg, CopySolveCompatibility.coverPower_add, | |
| 582 | - ContinuousLinearEquiv.symm_apply_apply] | |
| 583 | - exact associatedChart_stateChart n (BaseChartJets.cellBand l.2) k z | |
| 584 | - | |
| 585 | 222 | theorem assembly_source |
| 586 | 223 | (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) |
| 587 | 224 | (l : ActualParticularStageControls.Label B N0) (j : ℤ) (n : ℕ) |
| @@ -597,22 +234,6 @@ theorem assembly_source | ||
| 597 | 234 | (StateReindex.residualBlock_pull CorrectionStep.cycleAssoc.symm (commonContext B) x.state |
| 598 | 235 | (x.coefficients.blocks l) (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l)) |
| 599 | 236 | |
| 600 | -theorem transportedSource_eq_commonReference | |
| 601 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 602 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) (n : ℕ) | |
| 603 | - (z : PhysicalResidualNaturality.Associated) : | |
| 604 | - PhysicalParticularWave.transportedResidualSource (nativeAssembly x l) h (ChartScales.Q n) | |
| 605 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) j z = | |
| 606 | - sourceWeight h (ChartScales.Q n) (ChartScales.Q (BaseChartJets.cellBand l.2)) • | |
| 607 | - ParticularWaveAssembly.residualSource (commonContext B) x.state (x.coefficients.blocks l) | |
| 608 | - (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) j (BaseChartJets.cellBand l.2) | |
| 609 | - (CorrectionStep.cycleAssoc.symm (commonReferenceChart l n z)) := by | |
| 610 | - rw [PhysicalParticularWave.transportedResidualSource_apply _ h (ChartScales.Q_pos n) | |
| 611 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)), nativeAssembly_source] | |
| 612 | - exact congrArg (fun v : ComplexVector => sourceWeight h (ChartScales.Q n) | |
| 613 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) • v) | |
| 614 | - (assembly_source x l j (BaseChartJets.cellBand l.2) (commonReferenceChart l n z)) | |
| 615 | - | |
| 616 | 237 | theorem state_sourceWeight (n m : ℕ) : |
| 617 | 238 | GaugeStateCoherence.bandVelocityScale h n m * GaugeStateCoherence.bandVelocityScale h n m * |
| 618 | 239 | GaugeStateCoherence.bandScale n m = sourceWeight h (ChartScales.Q n) (ChartScales.Q m) := by |
| @@ -620,38 +241,6 @@ theorem state_sourceWeight (n m : ℕ) : | ||
| 620 | 241 | GaugeStateCoherence.bandScale_eq_ratioPower, velocityWeight] using |
| 621 | 242 | PhysicalResidualNaturality.weight_source (ChartScales.Q_pos n) (ChartScales.Q_pos m) h |
| 622 | 243 | |
| 623 | -/-- This consumes exactly the full-fiber state and block conclusions of the | |
| 624 | -physical recurrence. It does not assume source or solved-wave coherence. -/ | |
| 625 | -theorem source_forward | |
| 626 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 627 | - (l : ActualParticularStageControls.Label B N0) {V : Set Plane} (hV : IsOpen V) | |
| 628 | - (htime : ∀ s ∈ V, 0 < s.1) (n k : ℕ) | |
| 629 | - (hi : CommonWindow.index h n + k = CommonWindow.index h (BaseChartJets.cellBand l.2)) | |
| 630 | - (HS : PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain V) | |
| 631 | - (GaugeStateCoherence.bandChartEquiv h n (BaseChartJets.cellBand l.2) k) | |
| 632 | - (GaugeStateCoherence.bandVelocityScale h n (BaseChartJets.cellBand l.2)) | |
| 633 | - (GaugeStateCoherence.bandScale n (BaseChartJets.cellBand l.2)) | |
| 634 | - x.state x.state n (BaseChartJets.cellBand l.2)) | |
| 635 | - (HB : PhysicalResidualNaturality.BlockFieldsOn (PhysicalMeanDomain.slowDomain V) | |
| 636 | - (GaugeStateCoherence.bandChartEquiv h n (BaseChartJets.cellBand l.2) k) | |
| 637 | - (GaugeStateCoherence.bandVelocityScale h n (BaseChartJets.cellBand l.2)) | |
| 638 | - (GaugeStateCoherence.bandScale n (BaseChartJets.cellBand l.2)) | |
| 639 | - (x.coefficients.blocks l) (x.coefficients.blocks l) | |
| 640 | - (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) | |
| 641 | - (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) n (BaseChartJets.cellBand l.2)) | |
| 642 | - (j : ℤ) (z : PhysicalResidualNaturality.Associated) (hz : z.1.2 ∈ V) : | |
| 643 | - ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 644 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 645 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 646 | - j n z = PhysicalParticularWave.transportedResidualSource (nativeAssembly x l) h (ChartScales.Q n) | |
| 647 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) j z := by | |
| 648 | - have he := HS.source (ActualInitialCoherence.context_band B htime n (BaseChartJets.cellBand l.2) k hi) | |
| 649 | - (PhysicalMeanDomain.slowDomain_open hV) (GaugeStateCoherence.bandScale_pos n (BaseChartJets.cellBand l.2)).ne' | |
| 650 | - HB j (x := CorrectionStep.cycleAssoc.symm z) hz | |
| 651 | - rw [state_sourceWeight] at he | |
| 652 | - rw [assembly_source, transportedSource_eq_commonReference, commonReferenceChart_forward l n k hi] | |
| 653 | - exact he | |
| 654 | - | |
| 655 | 244 | /-! The reference operator identities hold on the entire free lift. -/ |
| 656 | 245 | |
| 657 | 246 | noncomputable def angleEmbed (v : PhysicalResidualNaturality.Associated) : WaveSpace := |
| @@ -678,98 +267,8 @@ theorem associatedDirections_axial (B n : ℕ) (z : WaveSpace) : | ||
| 678 | 267 | simp only [Prod.smul_mk, smul_zero] |
| 679 | 268 | rfl |
| 680 | 269 | |
| 681 | -theorem nativeDirections_radial | |
| 682 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 683 | - (l : ActualParticularStageControls.Label B N0) (n : ℕ) (z : WaveSpace) : | |
| 684 | - (nativeAssembly x l).directions.radialField n z = | |
| 685 | - angleEmbed ((HarmonicResidual.contextFrame (nativeAssembly x l).context n).radial (z.1.1,z.2)) := by | |
| 686 | - change (pullDirections (inverseCover (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))) | |
| 687 | - (ActualParticularStageControls.directions (B := B))).radialField n z = _ | |
| 688 | - rw [pullDirections_radial, associatedDirections_radial] | |
| 689 | - change _ = angleEmbed ((HarmonicResidual.contextFrame | |
| 690 | - (pullContext (inverseCover (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))) | |
| 691 | - (ActualParticularStageControls.associatedContext (B := B))) n).radial _) | |
| 692 | - rw [pullContext_frame] | |
| 693 | - rfl | |
| 694 | - | |
| 695 | -theorem nativeDirections_axial | |
| 696 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 697 | - (l : ActualParticularStageControls.Label B N0) (n : ℕ) (z : WaveSpace) : | |
| 698 | - (nativeAssembly x l).directions.axialField (nativeAssembly x l).strip n z = | |
| 699 | - angleEmbed ((HarmonicResidual.contextFrame (nativeAssembly x l).context n).axial (z.1.1,z.2)) := by | |
| 700 | - change (pullDirections (inverseCover (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))) | |
| 701 | - (ActualParticularStageControls.directions (B := B))).axialField | |
| 702 | - (pullStrip (inverseCover (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))) | |
| 703 | - (CorrectionStep.ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip)) n z = _ | |
| 704 | - rw [pullDirections_axial, associatedDirections_axial] | |
| 705 | - change _ = angleEmbed ((HarmonicResidual.contextFrame | |
| 706 | - (pullContext (inverseCover (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))) | |
| 707 | - (ActualParticularStageControls.associatedContext (B := B))) n).axial _) | |
| 708 | - rw [pullContext_frame] | |
| 709 | - rfl | |
| 710 | - | |
| 711 | -theorem nativeDirections_angular | |
| 712 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 713 | - (l : ActualParticularStageControls.Label B N0) : | |
| 714 | - (nativeAssembly x l).directions.angular = (((0 : Parameter),1),(0 : Plane)) := by | |
| 715 | - change ((inverseCover (P := Parameter × ℝ) | |
| 716 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))).symm | |
| 717 | - (((0 : Parameter),1),(0 : Plane))) = _ | |
| 718 | - rw [inverseCover_symm_apply, map_zero] | |
| 719 | - | |
| 720 | -theorem nativeAssembly_referenceChart | |
| 721 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 722 | - (l : ActualParticularStageControls.Label B N0) : | |
| 723 | - PhysicalParticularWave.ReferenceChart (nativeAssembly x l) h | |
| 724 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ChartScales.nativeIndex h (BaseChartJets.cellBand l.2)) := by | |
| 725 | - refine ⟨nativeAssembly_identity x l, ?_, ?_, ?_, ?_⟩ | |
| 726 | - · rfl | |
| 727 | - · funext z | |
| 728 | - apply waveEquiv.injective | |
| 729 | - change (nativeAssembly x l).directions.radialField (BaseChartJets.cellBand l.2) (waveEquiv z) = _ | |
| 730 | - rw [nativeDirections_radial, nativeAssembly_frame] | |
| 731 | - rfl | |
| 732 | - · rw [nativeDirections_angular] | |
| 733 | - rfl | |
| 734 | - · funext z | |
| 735 | - apply waveEquiv.injective | |
| 736 | - change (nativeAssembly x l).directions.axialField (nativeAssembly x l).strip | |
| 737 | - (BaseChartJets.cellBand l.2) (waveEquiv z) = _ | |
| 738 | - rw [nativeDirections_axial, nativeAssembly_frame] | |
| 739 | - rfl | |
| 740 | - | |
| 741 | 270 | /-! ## Reverse index order and the original recurrence interface -/ |
| 742 | 271 | |
| 743 | -theorem ratioPower_reverse_mul {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) (a : ℝ) : | |
| 744 | - ratioPower Q Qr a * ratioPower Qr Q a = 1 := by | |
| 745 | - unfold ratioPower | |
| 746 | - field_simp [(Real.rpow_pos_of_pos hQ a).ne', (Real.rpow_pos_of_pos hQr a).ne'] | |
| 747 | - | |
| 748 | -theorem parameterChange_inverse (h : ℝ) {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) | |
| 749 | - (p : Parameter) : parameterChange h Qr Q (parameterChange h Q Qr p) = p := by | |
| 750 | - ext <;> simp only [parameterChange, ← mul_assoc, ratioPower_reverse_mul hQr hQ, one_mul] | |
| 751 | - | |
| 752 | -theorem commonReferenceChart_backward (l : ActualParticularStageControls.Label B N0) | |
| 753 | - (n k : ℕ) (hi : CommonWindow.index h (BaseChartJets.cellBand l.2) + k = CommonWindow.index h n) | |
| 754 | - (hn : CommonWindow.index h n ≤ ChartScales.nativeIndex h (BaseChartJets.cellBand l.2)) | |
| 755 | - (z : PhysicalResidualNaturality.Associated) : | |
| 756 | - GaugeStateCoherence.bandChartEquiv h (BaseChartJets.cellBand l.2) n k | |
| 757 | - (CorrectionStep.cycleAssoc.symm (commonReferenceChart l n z)) = CorrectionStep.cycleAssoc.symm z := by | |
| 758 | - have hg : ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2) = | |
| 759 | - ActualParticularStageControls.gap l n + k := by | |
| 760 | - unfold ActualParticularStageControls.gap | |
| 761 | - omega | |
| 762 | - rw [← associatedChart_stateChart] | |
| 763 | - apply congrArg CorrectionStep.cycleAssoc.symm | |
| 764 | - rw [PhysicalResidualNaturality.associatedChart_apply, commonReferenceChart_apply, | |
| 765 | - parameterChange_inverse h (ChartScales.Q_pos n) (ChartScales.Q_pos (BaseChartJets.cellBand l.2))] | |
| 766 | - apply Prod.ext | |
| 767 | - · rfl | |
| 768 | - · change coverPower k ((coverPower (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))).symm | |
| 769 | - (coverPower (ActualParticularStageControls.gap l n) z.2)) = z.2 | |
| 770 | - apply (coverPower (ActualParticularStageControls.gap l n)).injective | |
| 771 | - rw [← CopySolveCompatibility.coverPower_add, ← hg, ContinuousLinearEquiv.apply_symm_apply] | |
| 772 | - | |
| 773 | 272 | abbrev StateComparison (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) |
| 774 | 273 | (V : Set Plane) (n m k : ℕ) : Prop := |
| 775 | 274 | PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain V) |
| @@ -784,86 +283,10 @@ abbrev BlockComparison (x : CorrectionStep.CycleState (ActualParticularStageCont | ||
| 784 | 283 | (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) |
| 785 | 284 | (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) n m |
| 786 | 285 | |
| 787 | -theorem source_backward | |
| 788 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 789 | - (l : ActualParticularStageControls.Label B N0) {V : Set Plane} (hV : IsOpen V) | |
| 790 | - (htime : ∀ s ∈ V, 0 < s.1) (n k : ℕ) | |
| 791 | - (hi : CommonWindow.index h (BaseChartJets.cellBand l.2) + k = CommonWindow.index h n) | |
| 792 | - (hn : CommonWindow.index h n ≤ ChartScales.nativeIndex h (BaseChartJets.cellBand l.2)) | |
| 793 | - (HS : StateComparison x V (BaseChartJets.cellBand l.2) n k) | |
| 794 | - (HB : BlockComparison x l V (BaseChartJets.cellBand l.2) n k) | |
| 795 | - (j : ℤ) (z : PhysicalResidualNaturality.Associated) | |
| 796 | - (hz : (commonReferenceChart l n z).1.2 ∈ V) : | |
| 797 | - ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 798 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 799 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 800 | - j n z = PhysicalParticularWave.transportedResidualSource (nativeAssembly x l) h (ChartScales.Q n) | |
| 801 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) j z := by | |
| 802 | - have he := HS.source (ActualInitialCoherence.context_band B htime (BaseChartJets.cellBand l.2) n k hi) | |
| 803 | - (PhysicalMeanDomain.slowDomain_open hV) (GaugeStateCoherence.bandScale_pos (BaseChartJets.cellBand l.2) n).ne' | |
| 804 | - HB j (x := CorrectionStep.cycleAssoc.symm (commonReferenceChart l n z)) hz | |
| 805 | - rw [state_sourceWeight, commonReferenceChart_backward l n k hi hn] at he | |
| 806 | - have he' := congrArg (fun v : ComplexVector => | |
| 807 | - sourceWeight h (ChartScales.Q n) (ChartScales.Q (BaseChartJets.cellBand l.2)) • v) he | |
| 808 | - rw [smul_smul, show sourceWeight h (ChartScales.Q n) (ChartScales.Q (BaseChartJets.cellBand l.2)) * | |
| 809 | - sourceWeight h (ChartScales.Q (BaseChartJets.cellBand l.2)) (ChartScales.Q n) = 1 from | |
| 810 | - ratioPower_reverse_mul (ChartScales.Q_pos n) (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) _, one_smul] at he' | |
| 811 | - rw [assembly_source, transportedSource_eq_commonReference] | |
| 812 | - exact he'.symm | |
| 813 | - | |
| 814 | 286 | /-! ## Regularity and support are transported, not postulated anew -/ |
| 815 | 287 | |
| 816 | -theorem referenceResidualSource_smooth | |
| 817 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 818 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) (V : Set Parameter) | |
| 819 | - (hf : ContDiffOn ℝ ∞ (ParticularWaveAssembly.residualSource | |
| 820 | - (ActualParticularStageControls.assembly x l).context (ActualParticularStageControls.assembly x l).state | |
| 821 | - (ActualParticularStageControls.assembly x l).carrierBlock | |
| 822 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 823 | - j (BaseChartJets.cellBand l.2)) (V ×ˢ univ)) : | |
| 824 | - ContDiffOn ℝ ∞ (referenceResidualSource x l j) (V ×ˢ univ) := | |
| 825 | - hf.comp (inverseCover (P := Parameter) | |
| 826 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))).contDiff.contDiffOn | |
| 827 | - (fun _ hz => ⟨hz.1, mem_univ _⟩) | |
| 828 | - | |
| 829 | -theorem referenceResidualSource_support | |
| 830 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 831 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) : | |
| 832 | - support (referenceResidualSource x l j) = | |
| 833 | - inverseCover (P := Parameter) (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2)) ⁻¹' | |
| 834 | - support (ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 835 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 836 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 837 | - j (BaseChartJets.cellBand l.2)) := rfl | |
| 838 | - | |
| 839 | 288 | /-! ## The unchanged target solve uses this native reference -/ |
| 840 | 289 | |
| 841 | -theorem residualBandAmplitude_rebase_at (D : ParticularWaveAssembly.AssemblyData Parameter) | |
| 842 | - (h : ℝ) {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) (kr gap : ℕ) | |
| 843 | - (K : ℝ) (j : ℤ) (n : ℕ) (p : Parameter) | |
| 844 | - (hf : ∀ Y, ParticularWaveAssembly.residualSource D.context D.state D.carrierBlock | |
| 845 | - D.gaussianInput D.aliasInput j n (p,Y) = | |
| 846 | - PhysicalParticularWave.transportedResidualSource (rebaseAssembly D kr) h Q Qr gap j (p,Y)) | |
| 847 | - (Y : Plane) : | |
| 848 | - PhysicalParticularWave.residualBandAmplitude D h hQ hQr gap K j n (p,Y) = | |
| 849 | - PhysicalParticularWave.bandAmplitude (rebaseAssembly D kr) h hQ hQr gap K j (p,Y) := by | |
| 850 | - unfold PhysicalParticularWave.residualBandAmplitude PhysicalParticularWave.bandAmplitude | |
| 851 | - apply commonVelocity_source_congr | |
| 852 | - exact hf | |
| 853 | - | |
| 854 | -theorem residualBandPressure_rebase_at (D : ParticularWaveAssembly.AssemblyData Parameter) | |
| 855 | - (h : ℝ) {Q Qr : ℝ} (hQ : 0 < Q) (hQr : 0 < Qr) (kr gap : ℕ) | |
| 856 | - (K : ℝ) (j : ℤ) (n : ℕ) (p : Parameter) | |
| 857 | - (hf : ∀ Y, ParticularWaveAssembly.residualSource D.context D.state D.carrierBlock | |
| 858 | - D.gaussianInput D.aliasInput j n (p,Y) = | |
| 859 | - PhysicalParticularWave.transportedResidualSource (rebaseAssembly D kr) h Q Qr gap j (p,Y)) | |
| 860 | - (Y : Plane) : | |
| 861 | - PhysicalParticularWave.residualBandPressure D h hQ hQr gap K j n (p,Y) = | |
| 862 | - PhysicalParticularWave.bandPressure (rebaseAssembly D kr) h hQ hQr gap K j (p,Y) := by | |
| 863 | - unfold PhysicalParticularWave.residualBandPressure PhysicalParticularWave.bandPressure | |
| 864 | - apply commonPressure_source_congr | |
| 865 | - exact hf | |
| 866 | - | |
| 867 | 290 | /-- The literal current-source common coefficient in the actual stage. -/ |
| 868 | 291 | noncomputable def actualCoefficients |
| 869 | 292 | (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) |
| @@ -874,111 +297,6 @@ noncomputable def actualCoefficients | ||
| 874 | 297 | (ActualParticularStageControls.assembly x l).gaussianInput |
| 875 | 298 | (ActualParticularStageControls.assembly x l).aliasInput j).common |
| 876 | 299 | |
| 877 | -theorem actualAmplitude_rebase_at | |
| 878 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 879 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) (n : ℕ) (p : Parameter) | |
| 880 | - (hf : ∀ Y, ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 881 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 882 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 883 | - j n (p,Y) = PhysicalParticularWave.transportedResidualSource (nativeAssembly x l) h (ChartScales.Q n) | |
| 884 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) j (p,Y)) | |
| 885 | - (theta : ℝ) (Y : Plane) : | |
| 886 | - (actualCoefficients x l j).amplitude n ((p,theta),Y) = | |
| 887 | - PhysicalParticularWave.bandAmplitude (nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 888 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 889 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (p,Y) := by | |
| 890 | - have he := congrFun (CorrectionStep.ParticularParameters.fromReference_amplitude | |
| 891 | - (ActualParticularStageControls.assembly x l) h (ActualParticularStageControls.gap l) j n) ((p,theta),Y) | |
| 892 | - exact he.trans (residualBandAmplitude_rebase_at (ActualParticularStageControls.assembly x l) h | |
| 893 | - (ChartScales.Q_pos n) (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) | |
| 894 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 895 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j n p hf Y) | |
| 896 | - | |
| 897 | -theorem actualPressure_rebase_at | |
| 898 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 899 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) (n : ℕ) (p : Parameter) | |
| 900 | - (hK : (j : ℝ) * (x.coefficients.blocks l).frequency n ≠ 0) | |
| 901 | - (hf : ∀ Y, ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 902 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 903 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 904 | - j n (p,Y) = PhysicalParticularWave.transportedResidualSource (nativeAssembly x l) h (ChartScales.Q n) | |
| 905 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) j (p,Y)) | |
| 906 | - (theta : ℝ) (Y : Plane) : | |
| 907 | - (actualCoefficients x l j).pressure n ((p,theta),Y) = | |
| 908 | - PhysicalParticularWave.bandPressure (nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 909 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 910 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (p,Y) := by | |
| 911 | - have he := congrFun (CorrectionStep.ParticularParameters.fromReference_pressure | |
| 912 | - (ActualParticularStageControls.assembly x l) h (ActualParticularStageControls.gap l) j n hK) ((p,theta),Y) | |
| 913 | - exact he.trans (residualBandPressure_rebase_at (ActualParticularStageControls.assembly x l) h | |
| 914 | - (ChartScales.Q_pos n) (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) | |
| 915 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 916 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j n p hf Y) | |
| 917 | - | |
| 918 | -theorem actualAmplitude_forward | |
| 919 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 920 | - (l : ActualParticularStageControls.Label B N0) {V : Set Plane} (hV : IsOpen V) | |
| 921 | - (htime : ∀ s ∈ V, 0 < s.1) (n k : ℕ) | |
| 922 | - (hi : CommonWindow.index h n + k = CommonWindow.index h (BaseChartJets.cellBand l.2)) | |
| 923 | - (HS : StateComparison x V n (BaseChartJets.cellBand l.2) k) | |
| 924 | - (HB : BlockComparison x l V n (BaseChartJets.cellBand l.2) k) | |
| 925 | - (j : ℤ) (p : Parameter) (hp : p.2 ∈ V) (theta : ℝ) (Y : Plane) : | |
| 926 | - (actualCoefficients x l j).amplitude n ((p,theta),Y) = | |
| 927 | - PhysicalParticularWave.bandAmplitude (nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 928 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 929 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (p,Y) := | |
| 930 | - actualAmplitude_rebase_at x l j n p (fun Z => source_forward x l hV htime n k hi HS HB j (p,Z) hp) theta Y | |
| 931 | - | |
| 932 | -theorem actualPressure_forward | |
| 933 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 934 | - (l : ActualParticularStageControls.Label B N0) {V : Set Plane} (hV : IsOpen V) | |
| 935 | - (htime : ∀ s ∈ V, 0 < s.1) (n k : ℕ) | |
| 936 | - (hi : CommonWindow.index h n + k = CommonWindow.index h (BaseChartJets.cellBand l.2)) | |
| 937 | - (HS : StateComparison x V n (BaseChartJets.cellBand l.2) k) | |
| 938 | - (HB : BlockComparison x l V n (BaseChartJets.cellBand l.2) k) | |
| 939 | - (j : ℤ) (hK : (j : ℝ) * (x.coefficients.blocks l).frequency n ≠ 0) | |
| 940 | - (p : Parameter) (hp : p.2 ∈ V) (theta : ℝ) (Y : Plane) : | |
| 941 | - (actualCoefficients x l j).pressure n ((p,theta),Y) = | |
| 942 | - PhysicalParticularWave.bandPressure (nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 943 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 944 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (p,Y) := | |
| 945 | - actualPressure_rebase_at x l j n p hK (fun Z => source_forward x l hV htime n k hi HS HB j (p,Z) hp) theta Y | |
| 946 | - | |
| 947 | -theorem actualAmplitude_backward | |
| 948 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 949 | - (l : ActualParticularStageControls.Label B N0) {V : Set Plane} (hV : IsOpen V) | |
| 950 | - (htime : ∀ s ∈ V, 0 < s.1) (n k : ℕ) | |
| 951 | - (hi : CommonWindow.index h (BaseChartJets.cellBand l.2) + k = CommonWindow.index h n) | |
| 952 | - (hn : CommonWindow.index h n ≤ ChartScales.nativeIndex h (BaseChartJets.cellBand l.2)) | |
| 953 | - (HS : StateComparison x V (BaseChartJets.cellBand l.2) n k) | |
| 954 | - (HB : BlockComparison x l V (BaseChartJets.cellBand l.2) n k) | |
| 955 | - (j : ℤ) (p : Parameter) | |
| 956 | - (hp : (parameterChange h (ChartScales.Q n) (ChartScales.Q (BaseChartJets.cellBand l.2)) p).2 ∈ V) | |
| 957 | - (theta : ℝ) (Y : Plane) : | |
| 958 | - (actualCoefficients x l j).amplitude n ((p,theta),Y) = | |
| 959 | - PhysicalParticularWave.bandAmplitude (nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 960 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 961 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (p,Y) := | |
| 962 | - actualAmplitude_rebase_at x l j n p (fun Z => source_backward x l hV htime n k hi hn HS HB j (p,Z) hp) theta Y | |
| 963 | - | |
| 964 | -theorem actualPressure_backward | |
| 965 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 966 | - (l : ActualParticularStageControls.Label B N0) {V : Set Plane} (hV : IsOpen V) | |
| 967 | - (htime : ∀ s ∈ V, 0 < s.1) (n k : ℕ) | |
| 968 | - (hi : CommonWindow.index h (BaseChartJets.cellBand l.2) + k = CommonWindow.index h n) | |
| 969 | - (hn : CommonWindow.index h n ≤ ChartScales.nativeIndex h (BaseChartJets.cellBand l.2)) | |
| 970 | - (HS : StateComparison x V (BaseChartJets.cellBand l.2) n k) | |
| 971 | - (HB : BlockComparison x l V (BaseChartJets.cellBand l.2) n k) | |
| 972 | - (j : ℤ) (hK : (j : ℝ) * (x.coefficients.blocks l).frequency n ≠ 0) | |
| 973 | - (p : Parameter) | |
| 974 | - (hp : (parameterChange h (ChartScales.Q n) (ChartScales.Q (BaseChartJets.cellBand l.2)) p).2 ∈ V) | |
| 975 | - (theta : ℝ) (Y : Plane) : | |
| 976 | - (actualCoefficients x l j).pressure n ((p,theta),Y) = | |
| 977 | - PhysicalParticularWave.bandPressure (nativeAssembly x l) h (ChartScales.Q_pos n) | |
| 978 | - (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 979 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (p,Y) := | |
| 980 | - actualPressure_rebase_at x l j n p hK (fun Z => source_backward x l hV htime n k hi hn HS HB j (p,Z) hp) theta Y | |
| 981 | - | |
| 982 | 300 | /-! The full carrier uses the same rebase, including the angular integer. -/ |
| 983 | 301 | |
| 984 | 302 | theorem carrier_phase_rebase {K Kr J a theta phi psi : ℝ} |
| @@ -992,113 +310,6 @@ theorem carrier_phase_rebase {K Kr J a theta phi psi : ℝ} | ||
| 992 | 310 | _ = (Kr/K)*psi + ((Kr/K)*(a/Kr))*theta := by ring |
| 993 | 311 | _ = phi + (a/K)*theta := by rw [he]; congr 2 ; field_simp |
| 994 | 312 | |
| 995 | -theorem actualPhase_rebase_at | |
| 996 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 997 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) (hj : j ≠ 0) (n : ℕ) | |
| 998 | - (hn : (x.coefficients.blocks l).frequency n ≠ 0) | |
| 999 | - (hm : (x.coefficients.blocks l).frequency (BaseChartJets.cellBand l.2) ≠ 0) | |
| 1000 | - (p : Parameter) (Y : Plane) | |
| 1001 | - (hp : (x.coefficients.blocks l).frequency n * | |
| 1002 | - (x.coefficients.blocks l).phase n (CorrectionStep.cycleAssoc.symm (p,Y)) = | |
| 1003 | - (x.coefficients.blocks l).frequency (BaseChartJets.cellBand l.2) * | |
| 1004 | - (x.coefficients.blocks l).phase (BaseChartJets.cellBand l.2) | |
| 1005 | - (CorrectionStep.cycleAssoc.symm (commonReferenceChart l n (p,Y)))) | |
| 1006 | - (ha : (x.coefficients.blocks l).angularFrequency n = | |
| 1007 | - (x.coefficients.blocks l).angularFrequency (BaseChartJets.cellBand l.2)) (theta : ℝ) : | |
| 1008 | - PhysicalParticularWave.bandPhase (nativeAssembly x l) h (ChartScales.Q n) | |
| 1009 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 1010 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (waveEquiv.symm ((p,theta),Y)) = | |
| 1011 | - (actualCoefficients x l j).phase n ((p,theta),Y) := by | |
| 1012 | - change ((j : ℝ) * (x.coefficients.blocks l).frequency (BaseChartJets.cellBand l.2)) / | |
| 1013 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) * | |
| 1014 | - ((x.coefficients.blocks l).phase (BaseChartJets.cellBand l.2) | |
| 1015 | - (CorrectionStep.cycleAssoc.symm (commonReferenceChart l n (p,Y))) + | |
| 1016 | - ((x.coefficients.blocks l).angularFrequency (BaseChartJets.cellBand l.2) : ℝ) / | |
| 1017 | - (x.coefficients.blocks l).frequency (BaseChartJets.cellBand l.2) * theta) = | |
| 1018 | - (x.coefficients.blocks l).phase n (CorrectionStep.cycleAssoc.symm (p,Y)) + | |
| 1019 | - ((x.coefficients.blocks l).angularFrequency n : ℝ) / (x.coefficients.blocks l).frequency n * theta | |
| 1020 | - rw [ha] | |
| 1021 | - exact carrier_phase_rebase hn hm (by exact_mod_cast hj) hp | |
| 1022 | - | |
| 1023 | -theorem actualPhase_forward | |
| 1024 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 1025 | - (l : ActualParticularStageControls.Label B N0) (V : Set Plane) (n k : ℕ) | |
| 1026 | - (hi : CommonWindow.index h n + k = CommonWindow.index h (BaseChartJets.cellBand l.2)) | |
| 1027 | - (HB : BlockComparison x l V n (BaseChartJets.cellBand l.2) k) | |
| 1028 | - (j : ℤ) (hj : j ≠ 0) (hn : (x.coefficients.blocks l).frequency n ≠ 0) | |
| 1029 | - (hm : (x.coefficients.blocks l).frequency (BaseChartJets.cellBand l.2) ≠ 0) | |
| 1030 | - (p : Parameter) (hp : p.2 ∈ V) (theta : ℝ) (Y : Plane) : | |
| 1031 | - PhysicalParticularWave.bandPhase (nativeAssembly x l) h (ChartScales.Q n) | |
| 1032 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 1033 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (waveEquiv.symm ((p,theta),Y)) = | |
| 1034 | - (actualCoefficients x l j).phase n ((p,theta),Y) := by | |
| 1035 | - apply actualPhase_rebase_at x l j hj n hn hm p Y _ HB.angular theta | |
| 1036 | - rw [commonReferenceChart_forward l n k hi] | |
| 1037 | - exact HB.phase (x := CorrectionStep.cycleAssoc.symm (p,Y)) hp | |
| 1038 | - | |
| 1039 | -theorem actualPhase_backward | |
| 1040 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 1041 | - (l : ActualParticularStageControls.Label B N0) (V : Set Plane) (n k : ℕ) | |
| 1042 | - (hi : CommonWindow.index h (BaseChartJets.cellBand l.2) + k = CommonWindow.index h n) | |
| 1043 | - (hcover : CommonWindow.index h n ≤ ChartScales.nativeIndex h (BaseChartJets.cellBand l.2)) | |
| 1044 | - (HB : BlockComparison x l V (BaseChartJets.cellBand l.2) n k) | |
| 1045 | - (j : ℤ) (hj : j ≠ 0) (hn : (x.coefficients.blocks l).frequency n ≠ 0) | |
| 1046 | - (hm : (x.coefficients.blocks l).frequency (BaseChartJets.cellBand l.2) ≠ 0) | |
| 1047 | - (p : Parameter) | |
| 1048 | - (hp : (parameterChange h (ChartScales.Q n) (ChartScales.Q (BaseChartJets.cellBand l.2)) p).2 ∈ V) | |
| 1049 | - (theta : ℝ) (Y : Plane) : | |
| 1050 | - PhysicalParticularWave.bandPhase (nativeAssembly x l) h (ChartScales.Q n) | |
| 1051 | - (ChartScales.Q (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n) | |
| 1052 | - ((j : ℝ) * (x.coefficients.blocks l).frequency n) j (waveEquiv.symm ((p,theta),Y)) = | |
| 1053 | - (actualCoefficients x l j).phase n ((p,theta),Y) := by | |
| 1054 | - apply actualPhase_rebase_at x l j hj n hn hm p Y _ HB.angular.symm theta | |
| 1055 | - have he := HB.phase (x := CorrectionStep.cycleAssoc.symm (commonReferenceChart l n (p,Y))) hp | |
| 1056 | - dsimp only at he | |
| 1057 | - rw [commonReferenceChart_backward l n k hi hcover] at he | |
| 1058 | - exact he.symm | |
| 1059 | - | |
| 1060 | 313 | /-! Precisely the inherited lattice is retained. -/ |
| 1061 | 314 | |
| 1062 | -theorem referenceResidualSource_subcoverPeriodic | |
| 1063 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 1064 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) (p : Parameter) | |
| 1065 | - (hf : PeriodicAt (ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 1066 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 1067 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 1068 | - j (BaseChartJets.cellBand l.2)) p) : | |
| 1069 | - SubcoverPeriodicity.SubcoverPeriodicAt | |
| 1070 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2)) (referenceResidualSource x l j) p := | |
| 1071 | - SubcoverPeriodicity.inverseCoverSource_subcoverPeriodic _ _ p hf | |
| 1072 | - | |
| 1073 | -theorem nativeRaw_subcoverPeriodic | |
| 1074 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 1075 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) (p : Parameter) | |
| 1076 | - (hf : PeriodicAt (ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 1077 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 1078 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 1079 | - j (BaseChartJets.cellBand l.2)) p) : | |
| 1080 | - SubcoverPeriodicity.SubcoverPeriodicAt | |
| 1081 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2)) | |
| 1082 | - (ParticularWaveBounds.commonVelocity ((ActualParticularStageControls.reference l).tangent j) | |
| 1083 | - (referenceResidualSource x l j) (ActualParticularStageControls.reference l).geometry | |
| 1084 | - (ActualParticularStageControls.reference l).length_pos.le (ActualParticularStageControls.reference l).cutoff) p := | |
| 1085 | - SubcoverPeriodicity.commonVelocity_subcoverPeriodic _ _ _ _ _ _ p | |
| 1086 | - (referenceResidualSource_subcoverPeriodic x l j p hf) | |
| 1087 | - | |
| 1088 | -theorem nativePressure_subcoverPeriodic | |
| 1089 | - (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) | |
| 1090 | - (l : ActualParticularStageControls.Label B N0) (j : ℤ) (p : Parameter) | |
| 1091 | - (hf : PeriodicAt (ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context | |
| 1092 | - (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock | |
| 1093 | - (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput | |
| 1094 | - j (BaseChartJets.cellBand l.2)) p) : | |
| 1095 | - SubcoverPeriodicity.SubcoverPeriodicAt | |
| 1096 | - (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2)) | |
| 1097 | - (ParticularWaveBounds.commonPressure ((ActualParticularStageControls.reference l).tangent j) | |
| 1098 | - (referenceResidualSource x l j) (ActualParticularStageControls.reference l).geometry | |
| 1099 | - (ActualParticularStageControls.reference l).length_pos.le (ActualParticularStageControls.reference l).cutoff | |
| 1100 | - (PhysicalParticularWave.referenceFrequency (nativeAssembly x l) j)) p := | |
| 1101 | - SubcoverPeriodicity.commonPressure_subcoverPeriodic _ _ _ _ _ _ _ p | |
| 1102 | - (referenceResidualSource_subcoverPeriodic x l j p hf) | |
| 1103 | - | |
| 1104 | 315 | end NavierStokes.ActualReferenceRebase |
+0 −13 NavierStokes/ActualSeedPeriodicity.lean View file
| @@ -24,9 +24,6 @@ unchanged. This is definitionally the shift used by the seed continuation. -/ | ||
| 24 | 24 | noncomputable def pointDeck (k : TorusInverse.Frequency) : Point := |
| 25 | 25 | (ActualPrimaryCoherence.chartDeck k).1 |
| 26 | 26 | |
| 27 | -theorem pointDeck_eq (k : TorusInverse.Frequency) : | |
| 28 | - pointDeck k = (0, (0, TorusAverages.latticePoint k)) := rfl | |
| 29 | - | |
| 30 | 27 | theorem zeroSlice_add_deck (k : TorusInverse.Frequency) (x : Point) : |
| 31 | 28 | (x + pointDeck k, (0 : ℝ)) = (x, 0) + ActualPrimaryCoherence.chartDeck k := by |
| 32 | 29 | simp [pointDeck, ActualPrimaryCoherence.chartDeck] |
| @@ -38,16 +35,6 @@ theorem conjugatePair_periodic {E : Type} [NormedAddCommGroup E] [NormedSpace | ||
| 38 | 35 | ErrorHarmonics.conjugatePair 1 f j x := by |
| 39 | 36 | simp only [SignedWaveUpdate.conjugatePair_apply, hf] |
| 40 | 37 | |
| 41 | -/-- The stored phase uses the same ordered common cover. -/ | |
| 42 | -theorem phase_periodic (l : ActualInitialization.Index B N0) (n : ℕ) | |
| 43 | - (hn : ActualWaveRegularityData.Ordered l n) (k : TorusInverse.Frequency) | |
| 44 | - (x : Point) : | |
| 45 | - ActualInitialization.phase l n (x + pointDeck k) = | |
| 46 | - ActualInitialization.phase l n x := by | |
| 47 | - simpa only [ActualInitialization.phase, ActualInitialization.primaryPiece, | |
| 48 | - ActualPrimary.piece, ← zeroSlice_add_deck] using | |
| 49 | - ActualPrimaryCoherence.chart_phase_periodic l.2 l.1 n hn k (x, 0) | |
| 50 | - | |
| 51 | 38 | /-- Every harmonic coefficient of the actual exact-curl seed velocity is |
| 52 | 39 | periodic, including the conjugate mode. -/ |
| 53 | 40 | theorem primary_velocity_periodic (l : ActualInitialization.Index B N0) (n : ℕ) |
+0 −17 NavierStokes/ActualSignedCoherence.lean View file
| @@ -74,10 +74,6 @@ theorem radiusWeight_eq (n m : ℕ) : | ||
| 74 | 74 | theorem velocity_pos (n m : ℕ) : 0 < bandVelocityScale h n m := |
| 75 | 75 | Real.rpow_pos_of_pos (div_pos (ChartScales.Q_pos n) (ChartScales.Q_pos m)) _ |
| 76 | 76 | |
| 77 | -theorem coefficientWeight_pos (n m : ℕ) : 0 < coefficientWeight n m := | |
| 78 | - PhysicalSignedWave.coefficientScale_pos (ChartScales.epsilon_pos h n) | |
| 79 | - (ChartScales.epsilon_pos h m) (velocity_pos n m) | |
| 80 | - | |
| 81 | 77 | theorem carrier_pos (n : ℕ) : 0 < (ChartScales.carrier h n : ℝ) := by |
| 82 | 78 | exact Scaling.carrier_frequency_pos (ChartScales.epsilon_pos h n) |
| 83 | 79 | |
| @@ -368,19 +364,6 @@ theorem raw_amplitude_of_request (l : SignedLabel B N0) (u : CorrectionState.Sta | ||
| 368 | 364 | (ActualSignedStageControls.fundamental l copy) l.2 m (chart n m k x)) |
| 369 | 365 | rw [signedVector_of_request l u n m k hi copy x hR, map_smul] |
| 370 | 366 | |
| 371 | -theorem raw_amplitude_transport (l : SignedLabel B N0) (u : CorrectionState.State Point) | |
| 372 | - (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region | |
| 373 | - ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) | |
| 374 | - (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge | |
| 375 | - (commonContext B) u).pressure = u.pressure) | |
| 376 | - (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) | |
| 377 | - (HS : PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) | |
| 378 | - (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) | |
| 379 | - (copy : TorusInverse.Frequency) (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : | |
| 380 | - (copies l u).amplitude n copy x = | |
| 381 | - bandVelocityScale h n m • (copies l u).amplitude m copy (chart n m k x) := | |
| 382 | - raw_amplitude_of_request l u n m k hi copy x (fullRequest_transport u H hfixed n m k hi HS x hx) | |
| 383 | - | |
| 384 | 367 | theorem pressure_factor (n m : ℕ) : |
| 385 | 368 | (clockWeight n m * bandVelocityScale h n m / (phaseWeight n m * bandScale n m)) * |
| 386 | 369 | phaseWeight n m = bandVelocityScale h n m * bandVelocityScale h n m := by |
+0 −351 NavierStokes/ActualSignedControl.lean View file
| @@ -31,55 +31,6 @@ noncomputable def phaseNormal {U : Domain ι PhaseCalculus.Slow} | ||
| 31 | 31 | (F : PhaseConstruction U) (χ : ι → D → PhaseCalculus.Slow × ℝ) : ι → D → Space := |
| 32 | 32 | fun i x => F.phase.normal i (PrimaryCopyBounds.phasePoint F χ i x) |
| 33 | 33 | |
| 34 | -noncomputable def phaseMotion {U : Domain ι PhaseCalculus.Slow} | |
| 35 | - (F : PhaseConstruction U) (χ : ι → D → PhaseCalculus.Slow × ℝ) : ι → D → Space := | |
| 36 | - fun i x => F.phase.velocity i (PrimaryCopyBounds.phasePoint F χ i x) | |
| 37 | - | |
| 38 | -noncomputable def phaseAction {U : Domain ι PhaseCalculus.Slow} | |
| 39 | - (F : PhaseConstruction U) (χ : ι → D → PhaseCalculus.Slow × ℝ) : | |
| 40 | - ι → D → Space →L[ℝ] Space := | |
| 41 | - fun i x => PrimaryCopyBridge.baseOperator (F.phase.F i (χ i x).1) | |
| 42 | - (F.phase.shear i (PrimaryCopyBounds.phasePoint F χ i x)) | |
| 43 | - | |
| 44 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 45 | -theorem pulseMatrix_eq_phaseMatrix {U : Domain ℕ PhaseCalculus.Slow} | |
| 46 | - (F : Fin 2 → PhaseConstruction U) (pref : Fin 2 → ℕ → ℝ) | |
| 47 | - (χ : ℕ → D → PhaseCalculus.Slow × ℝ) : | |
| 48 | - pulseMatrix F pref χ = SignedWaveUpdate.phaseMatrix F pref χ := rfl | |
| 49 | - | |
| 50 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 51 | -theorem pulseVector_eq_phaseFundamental {U : Domain ℕ PhaseCalculus.Slow} | |
| 52 | - (F : Fin 2 → PhaseConstruction U) (χ : ℕ → D → PhaseCalculus.Slow × ℝ) (j : Fin 2) : | |
| 53 | - pulseVector F χ j = SignedWaveUpdate.phaseFundamental F χ j := rfl | |
| 54 | - | |
| 55 | -/-- The three geometric jet estimates are obtained from the actual phase | |
| 56 | -construction, rather than being supplied for the pressure output. -/ | |
| 57 | -theorem phase_geometry_jets {V : JetDomain ι D} {U : Domain ι PhaseCalculus.Slow} | |
| 58 | - (F : PhaseConstruction U) (χ : ι → D → PhaseCalculus.Slow × ℝ) | |
| 59 | - (hscale : ∀ i, U.scale i = V.scale i) (hχ : PolynomialJets V.toDomain χ) | |
| 60 | - (hmap : ∀ i x, x ∈ V.carrier i → χ i x ∈ U.carrier i ×ˢ Ioo (0 : ℝ) 1) : | |
| 61 | - PolynomialJets V.toDomain (phaseNormal F χ) ∧ | |
| 62 | - PolynomialJets V.toDomain (phaseMotion F χ) ∧ | |
| 63 | - PolynomialJets V.toDomain (phaseAction F χ) ∧ | |
| 64 | - (∀ i x, x ∈ V.carrier i → F.b ≤ ‖phaseNormal F χ i x‖) ∧ | |
| 65 | - (∀ i x, x ∈ V.carrier i → ‖phaseNormal F χ i x‖ ≤ F.M ^ 2 + 3 * F.M) := by | |
| 66 | - have hp := PrimaryCopyBounds.phasePoint_jets F χ hscale hχ | |
| 67 | - have hm := PrimaryCopyBounds.phasePoint_maps F χ hmap | |
| 68 | - have hb := F.phase.polynomial_jets U F.V F.openV F.baseF F.baseG | |
| 69 | - F.r_pos F.one_le_M F.constants F.epsilon_ne F.radius F.slot | |
| 70 | - have hN := ((EnvelopeJets.of_polynomial hb.1).comp hp hscale hm).to_polynomial | |
| 71 | - (fun _ _ _ => le_rfl) | |
| 72 | - have hNd := ((EnvelopeJets.of_polynomial hb.2.1).comp hp hscale hm).to_polynomial | |
| 73 | - (fun _ _ _ => le_rfl) | |
| 74 | - have hshear := ((EnvelopeJets.of_polynomial hb.2.2).comp hp hscale hm).to_polynomial | |
| 75 | - (fun _ _ _ => le_rfl) | |
| 76 | - have hF := ((EnvelopeJets.of_polynomial F.baseF).comp | |
| 77 | - (hχ.clm (ContinuousLinearMap.fst ℝ PhaseCalculus.Slow ℝ)) hscale | |
| 78 | - (fun i x hx => (hmap i x hx).1)).to_polynomial (fun _ _ _ => le_rfl) | |
| 79 | - exact ⟨hN, hNd, (hF.pair hshear).clm PrimaryCopyBridge.baseOperatorFamily, | |
| 80 | - fun i x hx => F.normal_range.1 i _ (hm i x hx), | |
| 81 | - fun i x hx => F.normal_range.2 i _ (hm i x hx)⟩ | |
| 82 | - | |
| 83 | 34 | /-- A proved reference certificate. The prepared-family constructor below |
| 84 | 35 | derives its target and mask estimates and all three scalar margins. -/ |
| 85 | 36 | structure ReferenceBounds (V : JetDomain ι D) (U : Domain ι PhaseCalculus.Slow) |
| @@ -113,22 +64,6 @@ variable {V : JetDomain ι D} {U : Domain ι PhaseCalculus.Slow} | ||
| 113 | 64 | |
| 114 | 65 | include h |
| 115 | 66 | |
| 116 | -theorem matrix_jets (j k : Fin 2) : | |
| 117 | - PolynomialJets V.toDomain (fun i x => pulseMatrix F pref χ i x j k) := | |
| 118 | - pulseMatrix_jets F pref χ h.scale h.coordinate_jets | |
| 119 | - (fun i x hx => (h.coordinate_mem i x hx).1) h.prefactor_jets j k | |
| 120 | - | |
| 121 | -theorem unit_jets (j : Fin 2) : NativeJets V (pulseEnvelope F χ j) (pulseVector F χ j) := | |
| 122 | - pulseVector_jets F χ h.scale h.coordinate_jets h.coordinate_mem j | |
| 123 | - | |
| 124 | -theorem geometry_jets (j : Fin 2) : | |
| 125 | - PolynomialJets V.toDomain (phaseNormal (F j) χ) ∧ | |
| 126 | - PolynomialJets V.toDomain (phaseMotion (F j) χ) ∧ | |
| 127 | - PolynomialJets V.toDomain (phaseAction (F j) χ) ∧ | |
| 128 | - (∀ i x, x ∈ V.carrier i → (F j).b ≤ ‖phaseNormal (F j) χ i x‖) ∧ | |
| 129 | - (∀ i x, x ∈ V.carrier i → ‖phaseNormal (F j) χ i x‖ ≤ (F j).M ^ 2 + 3 * (F j).M) := | |
| 130 | - phase_geometry_jets (F j) χ h.scale h.coordinate_jets h.coordinate_mem | |
| 131 | - | |
| 132 | 67 | theorem cutoff_jets : PolynomialJets V.toDomain |
| 133 | 68 | (fun i x => GaussianTailFlat.profile (χ i x).2) := by |
| 134 | 69 | apply (h.coordinate_jets.clm (ContinuousLinearMap.snd ℝ PhaseCalculus.Slow ℝ)).compact_comp |
| @@ -174,14 +109,6 @@ variable {s : StripData X} {V : JetDomain ι D} {ζ : ι → D → ℝ} | ||
| 174 | 109 | noncomputable def pull (f : ι → D → E) : Λ → ℕ → I → X → E := |
| 175 | 110 | affineCopy f c.index c.linear c.shift |
| 176 | 111 | |
| 177 | -theorem unweighted {f : ι → D → E} (hf : PolynomialJets V.toDomain f) : | |
| 178 | - UniformLocalJets s (fun _ _ _ => 1) 0 K (c.pull f) := by | |
| 179 | - apply (NativeJets.of_polynomial hf).copy_localJets s (fun _ _ _ => 1) 0 | |
| 180 | - c.index c.linear c.shift K (fun _ _ _ _ => zero_le_one) c.maps c.growth_one c.linear_one | |
| 181 | - c.growthDegree c.linearDegree c.growth_bound c.linear_bound | |
| 182 | - intro l n i x hx hi | |
| 183 | - simp | |
| 184 | - | |
| 185 | 112 | theorem weighted {f : ι → D → E} (hf : NativeJets V ζ f) : |
| 186 | 113 | UniformLocalJets s (fun _ _ x => s.zeta x) 0 K (c.pull f) := by |
| 187 | 114 | apply hf.copy_localJets s (fun _ _ x => s.zeta x) 0 c.index c.linear c.shift K |
| @@ -318,21 +245,6 @@ noncomputable def referenceBounds (hcone : LeadingStressWeights.FullTrueCone v | ||
| 318 | 245 | |
| 319 | 246 | end PreparedChart |
| 320 | 247 | |
| 321 | -/-- A supplied prepared family is only restricted to a later tail. | |
| 322 | -Every surviving phase and representative is the same one used by the | |
| 323 | -primary construction. No determinant or final control record is assumed. -/ | |
| 324 | -theorem exists_referenceBounds (a : PrimaryGeometryAssembly.Prepared H₀ v₀ upper B r0 N0) | |
| 325 | - (hcone : LeadingStressWeights.FullTrueCone v₀) (hr0 : 0 < r0) | |
| 326 | - (vr vt : TorusInverse.Plane) (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) : | |
| 327 | - ∃ N : ℕ, ∃ hN : a.N ≤ N, | |
| 328 | - ∀ c : PreparedChart H₀ v₀ (a.restrict N hN) D, | |
| 329 | - Nonempty (ReferenceBounds c.native (PrimaryGeometryAssembly.domain W₀ N) | |
| 330 | - (PrimaryGeometryAssembly.construction H₀ v₀ (a.restrict N hN) hr0) | |
| 331 | - (preparedPrefactor r0 vr vt) c.coordinate c.target c.mask c.weight) := by | |
| 332 | - obtain ⟨N, hN, dg, eb, il, hdg, heb, hil, hz⟩ := | |
| 333 | - PrimaryTargetBounds.exists_restricted_actual_bounds H₀ v₀ a hcone vr vt hdet hr0 | |
| 334 | - exact ⟨N, hN, fun c => ⟨c.referenceBounds hcone hr0 vr vt dg eb il hdg heb hil hz⟩⟩ | |
| 335 | - | |
| 336 | 248 | end Prepared |
| 337 | 249 | |
| 338 | 250 | /-! ## Transport through the actual affine views -/ |
| @@ -352,19 +264,6 @@ variable (a b : PositiveScale Λ) | ||
| 352 | 264 | |
| 353 | 265 | theorem value_pos (l : Λ) (n : ℕ) : 0 < a.value l n := a.lower_pos.trans_le (a.bounds l n).1 |
| 354 | 266 | |
| 355 | -theorem bandBound (s : StripData X) : UniformPrimaryWeights.UniformBandBound s 0 a.value := by | |
| 356 | - refine ⟨a.upper, zero_le_one.trans a.upper_one, 0, ?_⟩ | |
| 357 | - intro l n | |
| 358 | - simpa only [Real.norm_eq_abs, abs_of_pos (a.value_pos l n), Real.rpow_zero, | |
| 359 | - pow_zero, mul_one] using (a.bounds l n).2 | |
| 360 | - | |
| 361 | -theorem square_bandBound (s : StripData X) : | |
| 362 | - UniformPrimaryWeights.UniformBandBound s 0 (fun l n => a.value l n ^ 2) := by | |
| 363 | - refine ⟨a.upper ^ 2, sq_nonneg _, 0, ?_⟩ | |
| 364 | - intro l n | |
| 365 | - simpa only [Real.norm_eq_abs, abs_of_nonneg (sq_nonneg (a.value l n)), Real.rpow_zero, | |
| 366 | - pow_zero, mul_one] using pow_le_pow_left₀ (a.value_pos l n).le (a.bounds l n).2 2 | |
| 367 | - | |
| 368 | 267 | noncomputable def mul : PositiveScale Λ where |
| 369 | 268 | value l n := a.value l n * b.value l n |
| 370 | 269 | lower := a.lower * b.lower |
| @@ -376,21 +275,6 @@ noncomputable def mul : PositiveScale Λ where | ||
| 376 | 275 | |
| 377 | 276 | end PositiveScale |
| 378 | 277 | |
| 379 | -theorem uniform_band_smul [Countable Λ] [Nonempty Λ] | |
| 380 | - {s : StripData X} {K : Λ → ℕ → I → Set X} {w : Λ → ℕ → X → ℝ} {α β : ℝ} | |
| 381 | - {f : Λ → ℕ → I → X → E} {r : Λ → ℕ → ℝ} | |
| 382 | - (hf : UniformLocalJets s w α K f) (hr : UniformPrimaryWeights.UniformBandBound s β r) | |
| 383 | - (hw : ∀ l n x, x ∈ s.domain → 0 ≤ w l n x) : | |
| 384 | - UniformLocalJets s w (α + β) K (fun l n i x => r l n • f l n i x) := by | |
| 385 | - let e := UniformPrimaryWeights.enumeration Λ | |
| 386 | - apply SignedCopyBounds.uniform_local_of_pull (UniformPrimaryWeights.enumeration_surjective Λ) | |
| 387 | - have hr' : UniformPrimaryWeights.UniformBandBound (UniformPrimaryWeights.reindexedStrip s e) β | |
| 388 | - (fun (_ : I) k => r (e k).2 (e k).1) := by | |
| 389 | - obtain ⟨C, hC, p, hb⟩ := hr | |
| 390 | - exact ⟨C, hC, p, fun _ k => hb (e k).2 (e k).1⟩ | |
| 391 | - exact SignedCopyBounds.local_indexed_band_smul (SignedCopyBounds.local_pull hf e) hr' | |
| 392 | - (fun k => hw (e k).2 (e k).1) | |
| 393 | - | |
| 394 | 278 | theorem uniform_local_congr {s : StripData X} {K : Λ → ℕ → I → Set X} |
| 395 | 279 | {w : Λ → ℕ → X → ℝ} {α : ℝ} {f g : Λ → ℕ → I → X → E} |
| 396 | 280 | (hf : UniformLocalJets s w α K f) |
| @@ -449,123 +333,10 @@ variable [Countable Λ] [Nonempty Λ] | ||
| 449 | 333 | {s : StripData X} {K : Λ → ℕ → I → Set X} |
| 450 | 334 | (c : CopyChart s V ζ K) (scale : PositiveScale Λ) |
| 451 | 335 | |
| 452 | -/-- Construct the actual uniform native covariance record from the | |
| 453 | -derived reference jets and the primitive view geometry. -/ | |
| 454 | -noncomputable def nativeCovariance (hzeta : ∀ x ∈ s.domain, 0 < s.zeta x) : | |
| 455 | - SignedCopyBounds.UniformNativeCovariance s K | |
| 456 | - (fun l i n => c.pull (pulseMatrix F pref χ) l n i) | |
| 457 | - (fun l i n x => scale.value l n ^ 2 • c.pull T l n i x) where | |
| 458 | - matrix_jets j k := c.unweighted (h.matrix_jets j k) | |
| 459 | - target_jets q := by | |
| 460 | - have ht := uniform_band_smul (c.weighted (h.target_jets q)) (scale.square_bandBound s) | |
| 461 | - (fun _ _ x hx => s.zeta_nonneg x hx) | |
| 462 | - simp only [zero_add] at ht | |
| 463 | - exact ht | |
| 464 | - zeta_pos := hzeta | |
| 465 | - determinantGap := c.ratioLower ^ 2 * h.determinantGap | |
| 466 | - entryBound := c.ratioUpper * h.entryBound | |
| 467 | - primaryLower := scale.lower ^ 2 * h.primaryLower | |
| 468 | - gap_pos := mul_pos (sq_pos_of_pos c.ratio_pos) h.gap_pos | |
| 469 | - entry_one := one_le_mul_of_one_le_of_one_le c.ratio_one h.entry_one | |
| 470 | - lower_pos := mul_pos (sq_pos_of_pos scale.lower_pos) h.lower_pos | |
| 471 | - determinant := by | |
| 472 | - intro l n i x hx hi | |
| 473 | - have hz := h.zero_order (c.index l n) _ (c.maps l n i x hx hi) | |
| 474 | - rw [c.weight_eq l n i x hx hi] at hz | |
| 475 | - exact (rescale_margins hz (Real.one_le_sqrt.mpr (V.one_le_scale _)) h.gap_pos.le h.lower_pos.le | |
| 476 | - (s.zeta_nonneg x hx) scale.lower_pos (scale.bounds l n).1 c.ratio_pos | |
| 477 | - (c.scale_ratio l n).1 (c.scale_ratio l n).2).1 | |
| 478 | - entries := by | |
| 479 | - intro l n i x hx hi | |
| 480 | - have hz := h.zero_order (c.index l n) _ (c.maps l n i x hx hi) | |
| 481 | - rw [c.weight_eq l n i x hx hi] at hz | |
| 482 | - exact (rescale_margins hz (Real.one_le_sqrt.mpr (V.one_le_scale _)) h.gap_pos.le h.lower_pos.le | |
| 483 | - (s.zeta_nonneg x hx) scale.lower_pos (scale.bounds l n).1 c.ratio_pos | |
| 484 | - (c.scale_ratio l n).1 (c.scale_ratio l n).2).2.1 | |
| 485 | - lower := by | |
| 486 | - intro l n i x hx hi | |
| 487 | - have hz := h.zero_order (c.index l n) _ (c.maps l n i x hx hi) | |
| 488 | - rw [c.weight_eq l n i x hx hi] at hz | |
| 489 | - exact (rescale_margins hz (Real.one_le_sqrt.mpr (V.one_le_scale _)) h.gap_pos.le h.lower_pos.le | |
| 490 | - (s.zeta_nonneg x hx) scale.lower_pos (scale.bounds l n).1 c.ratio_pos | |
| 491 | - (c.scale_ratio l n).1 (c.scale_ratio l n).2).2.2 | |
| 492 | - | |
| 493 | -/-- The requested copy-level `NativeCovariance` is a projection of the | |
| 494 | -jointly proved record, retaining the same numerical margins. -/ | |
| 495 | -noncomputable def nativeCovarianceAt (hzeta : ∀ x ∈ s.domain, 0 < s.zeta x) (l : Λ) : | |
| 496 | - SignedCopyBounds.NativeCovariance s (K l) | |
| 497 | - (fun i n => c.pull (pulseMatrix F pref χ) l n i) | |
| 498 | - (fun i n x => scale.value l n ^ 2 • c.pull T l n i x) := by | |
| 499 | - let hc := h.nativeCovariance c scale hzeta | |
| 500 | - exact { | |
| 501 | - matrix_jets := fun j k => (hc.matrix_jets j k).each l | |
| 502 | - target_jets := fun j => (hc.target_jets j).each l | |
| 503 | - zeta_pos := hc.zeta_pos | |
| 504 | - determinantGap := hc.determinantGap | |
| 505 | - entryBound := hc.entryBound | |
| 506 | - primaryLower := hc.primaryLower | |
| 507 | - gap_pos := hc.gap_pos | |
| 508 | - entry_one := hc.entry_one | |
| 509 | - lower_pos := hc.lower_pos | |
| 510 | - determinant := hc.determinant l | |
| 511 | - entries := hc.entries l | |
| 512 | - lower := hc.lower l } | |
| 513 | - | |
| 514 | 336 | include h |
| 515 | 337 | |
| 516 | -omit [Countable Λ] [Nonempty Λ] in | |
| 517 | -theorem copied_unit_jets (j : Fin 2) {W : Λ → ℕ → X → ℝ} | |
| 518 | - (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) | |
| 519 | - (henv : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → | |
| 520 | - c.pull (pulseEnvelope F χ j) l n i x ≤ W l n x) : | |
| 521 | - UniformLocalJets s W 0 K (c.pull (pulseVector F χ j)) := | |
| 522 | - c.envelope (h.unit_jets j) hW henv | |
| 523 | - | |
| 524 | -/-- The modeled normal, normal motion and action are the transported | |
| 525 | -ones from the selected primary phase, with its actual clock factors. -/ | |
| 526 | -theorem copied_geometry_jets (normal clock : PositiveScale Λ) (j : Fin 2) : | |
| 527 | - UniformLocalJets s (fun _ _ _ => 1) 0 K | |
| 528 | - (fun l n i x => normal.value l n • c.pull (phaseNormal (F j) χ) l n i x) ∧ | |
| 529 | - UniformLocalJets s (fun _ _ _ => 1) 0 K | |
| 530 | - (fun l n i x => (normal.value l n * clock.value l n) • c.pull (phaseMotion (F j) χ) l n i x) ∧ | |
| 531 | - UniformLocalJets s (fun _ _ _ => 1) 0 K | |
| 532 | - (fun l n i x => clock.value l n • c.pull (phaseAction (F j) χ) l n i x) := by | |
| 533 | - have hg := h.geometry_jets j | |
| 534 | - refine ⟨?_, ?_, ?_⟩ | |
| 535 | - · simpa only [zero_add] using uniform_band_smul (c.unweighted hg.1) (normal.bandBound s) | |
| 536 | - (fun _ _ _ _ => zero_le_one) | |
| 537 | - · simpa only [zero_add, PositiveScale.mul] using | |
| 538 | - uniform_band_smul (c.unweighted hg.2.1) ((normal.mul clock).bandBound s) | |
| 539 | - (fun _ _ _ _ => zero_le_one) | |
| 540 | - · simpa only [zero_add] using uniform_band_smul (c.unweighted hg.2.2.1) (clock.bandBound s) | |
| 541 | - (fun _ _ _ _ => zero_le_one) | |
| 542 | - | |
| 543 | -omit [Countable Λ] [Nonempty Λ] in | |
| 544 | -theorem copied_normal_bounds (normal : PositiveScale Λ) (j : Fin 2) | |
| 545 | - (l : Λ) (n : ℕ) (i : I) {x : X} (hx : x ∈ s.domain) (hi : x ∈ K l n i) : | |
| 546 | - normal.lower * (F j).b ≤ ‖normal.value l n • c.pull (phaseNormal (F j) χ) l n i x‖ ∧ | |
| 547 | - ‖normal.value l n • c.pull (phaseNormal (F j) χ) l n i x‖ ≤ | |
| 548 | - normal.upper * ((F j).M ^ 2 + 3 * (F j).M) := by | |
| 549 | - have hg := h.geometry_jets j | |
| 550 | - have hlo := hg.2.2.2.1 (c.index l n) _ (c.maps l n i x hx hi) | |
| 551 | - have hhi := hg.2.2.2.2 (c.index l n) _ (c.maps l n i x hx hi) | |
| 552 | - simp only [norm_smul, Real.norm_eq_abs, abs_of_pos (normal.value_pos l n)] | |
| 553 | - exact ⟨mul_le_mul (normal.bounds l n).1 hlo (F j).b_pos.le (normal.value_pos l n).le, | |
| 554 | - mul_le_mul (normal.bounds l n).2 hhi (norm_nonneg _) (zero_le_one.trans normal.upper_one)⟩ | |
| 555 | - | |
| 556 | 338 | end ReferenceBounds |
| 557 | 339 | |
| 558 | -/-- The carrier bound is derived for any nonzero integral harmonic, with | |
| 559 | -one constant before both the label and the copy. -/ | |
| 560 | -theorem harmonic_frequency_bound (s : StripData X) | |
| 561 | - (base : Λ → I → LinearWaveBounds.WaveCoefficients X) | |
| 562 | - (harmonic : Λ → ℕ → ℤ) (hn : ∀ l n, harmonic l n ≠ 0) | |
| 563 | - (hf : ∀ l i n, (base l i).frequency n = CurlClassBounds.carrierFrequency s n * (harmonic l n : ℝ)) : | |
| 564 | - UniformPrimaryWeights.UniformBandBound s (1 / 2) | |
| 565 | - (fun li : Λ × I => fun n => 1 / (base li.1 li.2).frequency n) := by | |
| 566 | - obtain ⟨C, hC, p, hb⟩ := UniformPrimaryWeights.harmonic_inverse_bandBound s harmonic hn | |
| 567 | - exact ⟨C, hC, p, fun li n => by dsimp only; rw [hf]; exact hb li.1 n⟩ | |
| 568 | - | |
| 569 | 340 | namespace ReferenceBounds |
| 570 | 341 | |
| 571 | 342 | variable [Countable Λ] [Nonempty Λ] |
| @@ -576,58 +347,8 @@ variable [Countable Λ] [Nonempty Λ] | ||
| 576 | 347 | {s : StripData X} {K : Λ → ℕ → I → Set X} |
| 577 | 348 | (c : CopyChart s V ζ K) (scale normal clock : PositiveScale Λ) |
| 578 | 349 | |
| 579 | -/-- Exact functional form of the transported shared-reference signed | |
| 580 | -constructor, including the target square and the pressure clock factors. -/ | |
| 581 | -noncomputable def copiedCoefficients | |
| 582 | - (base : Λ → I → LinearWaveBounds.WaveCoefficients X) | |
| 583 | - (dirs : Λ → I → LinearWaveBounds.GraphDirections X) | |
| 584 | - (request : ℕ → X → Vec2) (j : Fin 2) (l : Λ) (i : I) : | |
| 585 | - LinearWaveBounds.WaveCoefficients X := | |
| 586 | - SignedWaveUpdate.coefficients (base l i) s (dirs l i) | |
| 587 | - (fun n => c.pull (pulseMatrix F pref χ) l n i) | |
| 588 | - (fun n x => scale.value l n ^ 2 • c.pull T l n i x) request | |
| 589 | - (fun n => c.pull mask l n i) (fun n => c.pull (pulseVector F χ j) l n i) | |
| 590 | - (fun n x => (normal.value l n * clock.value l n) • c.pull (phaseMotion (F j) χ) l n i x) | |
| 591 | - (fun n x => clock.value l n • c.pull (phaseAction (F j) χ) l n i x) j | |
| 592 | - | |
| 593 | 350 | include h |
| 594 | 351 | |
| 595 | -/-- The native signed estimates are obtained from the constructed | |
| 596 | -reference, without accepting a completed native covariance record. -/ | |
| 597 | -theorem copied_coefficients_jets | |
| 598 | - (base : Λ → I → LinearWaveBounds.WaveCoefficients X) | |
| 599 | - (dirs : Λ → I → LinearWaveBounds.GraphDirections X) | |
| 600 | - (request : ℕ → X → Vec2) {β : ℝ} {W : Λ → ℕ → X → ℝ} | |
| 601 | - (hzeta : ∀ x ∈ s.domain, 0 < s.zeta x) | |
| 602 | - (hR : ∀ q, UniformLocalJets s (fun _ _ x => s.zeta x) β K (fun _ n _ x => request n x q)) | |
| 603 | - (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) | |
| 604 | - (j : Fin 2) | |
| 605 | - (henv : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → | |
| 606 | - c.pull (pulseEnvelope F χ j) l n i x ≤ W l n x) | |
| 607 | - (hnormal : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → | |
| 608 | - (fun y => normal.value l n • c.pull (phaseNormal (F j) χ) l n i y) =ᶠ[𝓝 x] | |
| 609 | - (base l i).normal s (dirs l i) n) | |
| 610 | - (hfrequency : UniformPrimaryWeights.UniformBandBound s (1 / 2) | |
| 611 | - (fun li : Λ × I => fun n => 1 / (base li.1 li.2).frequency n)) : | |
| 612 | - UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) (β + 1 / 2) K | |
| 613 | - (fun l n i => (copiedCoefficients (F := F) (pref := pref) (χ := χ) (T := T) (mask := mask) | |
| 614 | - c scale normal clock base dirs request j l i).amplitude n) ∧ | |
| 615 | - UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) (β + 1) K | |
| 616 | - (fun l n i => (copiedCoefficients (F := F) (pref := pref) (χ := χ) (T := T) (mask := mask) | |
| 617 | - c scale normal clock base dirs request j l i).pressure n) := by | |
| 618 | - have hg := h.copied_geometry_jets c normal clock j | |
| 619 | - have hN := uniform_local_congr hg.1 hnormal | |
| 620 | - apply SignedCopyBounds.uniform_coefficients_jets (M := normal.upper * ((F j).M ^ 2 + 3 * (F j).M)) | |
| 621 | - (h.nativeCovariance c scale hzeta) hR | |
| 622 | - (c.unweighted h.mask_jets) (h.copied_unit_jets c j hW henv) hW hN hg.2.1 hg.2.2 | |
| 623 | - (mul_pos normal.lower_pos (F j).b_pos) _ _ hfrequency j | |
| 624 | - · intro l n i x hx hi | |
| 625 | - rw [← Filter.EventuallyEq.eq_of_nhds (hnormal l n i x hx hi)] | |
| 626 | - exact (h.copied_normal_bounds c normal j l n i hx hi).1 | |
| 627 | - · intro l n i x hx hi | |
| 628 | - rw [← Filter.EventuallyEq.eq_of_nhds (hnormal l n i x hx hi)] | |
| 629 | - exact (h.copied_normal_bounds c normal j l n i hx hi).2 | |
| 630 | - | |
| 631 | 352 | end ReferenceBounds |
| 632 | 353 | |
| 633 | 354 | /-! ## The signed request is the measured current-state request -/ |
| @@ -693,80 +414,8 @@ variable {a : PrimaryGeometryAssembly.Prepared H₀ v₀ upper B r0 N0} | ||
| 693 | 414 | {s : StripData X} {K : Λ → ℕ → I → Set X} |
| 694 | 415 | (copy : CopyChart s C.native C.weight K) |
| 695 | 416 | |
| 696 | -noncomputable def copiedMatrix : Λ → I → ℕ → X → Mat2 := | |
| 697 | - fun l i n => copy.pull (pulseMatrix (PrimaryGeometryAssembly.construction H₀ v₀ a hr0) | |
| 698 | - (preparedPrefactor r0 vr vt) C.coordinate) l n i | |
| 699 | - | |
| 700 | -noncomputable def copiedTarget (scale : PositiveScale Λ) : Λ → I → ℕ → X → Vec2 := | |
| 701 | - fun l i n x => scale.value l n ^ 2 • copy.pull C.target l n i x | |
| 702 | - | |
| 703 | -noncomputable def copiedCoefficients (scale normal clock : PositiveScale Λ) | |
| 704 | - (base : Λ → I → LinearWaveBounds.WaveCoefficients X) | |
| 705 | - (dirs : Λ → I → LinearWaveBounds.GraphDirections X) (request : ℕ → X → Vec2) (j : Fin 2) : | |
| 706 | - Λ → I → LinearWaveBounds.WaveCoefficients X := | |
| 707 | - ReferenceBounds.copiedCoefficients | |
| 708 | - (F := PrimaryGeometryAssembly.construction H₀ v₀ a hr0) | |
| 709 | - (pref := preparedPrefactor r0 vr vt) (χ := C.coordinate) (T := C.target) (mask := C.mask) | |
| 710 | - copy scale normal clock base dirs request j | |
| 711 | - | |
| 712 | 417 | end PreparedChart |
| 713 | 418 | |
| 714 | -/-- Starting with an already selected prepared primary, a common tail | |
| 715 | -restriction gives actual uniform native covariance, request-driven signed | |
| 716 | -amplitude/pressure bounds, and the actual cutoff jets. No finished control | |
| 717 | -record, target jet, fundamental jet, or copied request jet is an input. -/ | |
| 718 | -theorem exists_actual_signed_control | |
| 719 | - (a : PrimaryGeometryAssembly.Prepared H₀ v₀ upper B r0 N0) | |
| 720 | - (hcone : LeadingStressWeights.FullTrueCone v₀) (hr0 : 0 < r0) | |
| 721 | - (vr vt : TorusInverse.Plane) (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) : | |
| 722 | - ∃ N : ℕ, ∃ hN : a.N ≤ N, | |
| 723 | - ∀ (C : PreparedChart H₀ v₀ (a.restrict N hN) D) | |
| 724 | - (s : StripData LocalSignedRequest.Point) | |
| 725 | - (K : Λ → ℕ → I → Set (LocalSignedRequest.Point × ℝ)) | |
| 726 | - (copy : CopyChart (HarmonicWaveInteraction.productStrip s) C.native C.weight K) | |
| 727 | - (scale normal clock : PositiveScale Λ) | |
| 728 | - (base : Λ → I → LinearWaveBounds.WaveCoefficients (LocalSignedRequest.Point × ℝ)) | |
| 729 | - (dirs : Λ → I → LinearWaveBounds.GraphDirections (LocalSignedRequest.Point × ℝ)) | |
| 730 | - (P : SignedStressPrimitive.Patch) (coord : ℝ) | |
| 731 | - (ctx : CorrectionState.Context LocalSignedRequest.Point) | |
| 732 | - (u : CorrectionState.State LocalSignedRequest.Point) (β : ℝ) | |
| 733 | - (W : Λ → ℕ → LocalSignedRequest.Point × ℝ → ℝ) | |
| 734 | - (j : Fin 2), | |
| 735 | - (∀ x ∈ s.domain, 0 < s.zeta x) → | |
| 736 | - (∀ q, MeanClass s β (fun n x => LocalSignedRequest.normalizedRequest s P coord ctx u n x q)) → | |
| 737 | - (∀ l n x, x ∈ (HarmonicWaveInteraction.productStrip s).domain → 0 ≤ W l n x) → | |
| 738 | - (∀ l n i x, x ∈ (HarmonicWaveInteraction.productStrip s).domain → x ∈ K l n i → | |
| 739 | - copy.pull (pulseEnvelope (PrimaryGeometryAssembly.construction H₀ v₀ (a.restrict N hN) hr0) | |
| 740 | - C.coordinate j) l n i x ≤ W l n x) → | |
| 741 | - (∀ l n i x, x ∈ (HarmonicWaveInteraction.productStrip s).domain → x ∈ K l n i → | |
| 742 | - (fun y => normal.value l n • copy.pull | |
| 743 | - (phaseNormal (PrimaryGeometryAssembly.construction H₀ v₀ (a.restrict N hN) hr0 j) C.coordinate) | |
| 744 | - l n i y) =ᶠ[𝓝 x] (base l i).normal (HarmonicWaveInteraction.productStrip s) (dirs l i) n) → | |
| 745 | - UniformPrimaryWeights.UniformBandBound (HarmonicWaveInteraction.productStrip s) (1 / 2) | |
| 746 | - (fun li : Λ × I => fun n => 1 / (base li.1 li.2).frequency n) → | |
| 747 | - Nonempty (SignedCopyBounds.UniformNativeCovariance (HarmonicWaveInteraction.productStrip s) K | |
| 748 | - (C.copiedMatrix hr0 vr vt copy) (C.copiedTarget copy scale)) ∧ | |
| 749 | - UniformLocalJets (HarmonicWaveInteraction.productStrip s) | |
| 750 | - (fun l n x => Real.sqrt (s.zeta x.1) * W l n x) (β + 1 / 2) K | |
| 751 | - (fun l n i => (C.copiedCoefficients hr0 vr vt copy scale normal clock base dirs | |
| 752 | - (LocalSignedRequest.fullRequest s P coord ctx u) j l i).amplitude n) ∧ | |
| 753 | - UniformLocalJets (HarmonicWaveInteraction.productStrip s) | |
| 754 | - (fun l n x => Real.sqrt (s.zeta x.1) * W l n x) (β + 1) K | |
| 755 | - (fun l n i => (C.copiedCoefficients hr0 vr vt copy scale normal clock base dirs | |
| 756 | - (LocalSignedRequest.fullRequest s P coord ctx u) j l i).pressure n) ∧ | |
| 757 | - UniformLocalJets (HarmonicWaveInteraction.productStrip s) (fun _ _ _ => 1) 0 K | |
| 758 | - (copy.pull (fun L x => GaussianTailFlat.profile (C.coordinate L x).2)) := by | |
| 759 | - obtain ⟨N, hN, hc⟩ := exists_referenceBounds (D := D) H₀ v₀ a hcone hr0 vr vt hdet | |
| 760 | - refine ⟨N, hN, ?_⟩ | |
| 761 | - intro C s K copy scale normal clock base dirs P coord ctx u β W j hzeta hrequest hW henv hnormal hfrequency | |
| 762 | - obtain ⟨hr⟩ := hc C | |
| 763 | - have hζ : ∀ x ∈ (HarmonicWaveInteraction.productStrip s).domain, | |
| 764 | - 0 < (HarmonicWaveInteraction.productStrip s).zeta x := fun x hx => hzeta x.1 hx | |
| 765 | - have hb := hr.copied_coefficients_jets copy scale normal clock base dirs | |
| 766 | - (LocalSignedRequest.fullRequest s P coord ctx u) hζ | |
| 767 | - (fullRequest_localJets s P coord ctx u hrequest K) hW j henv hnormal hfrequency | |
| 768 | - exact ⟨⟨hr.nativeCovariance copy scale hζ⟩, hb.1, hb.2, copy.unweighted hr.cutoff_jets⟩ | |
| 769 | - | |
| 770 | 419 | end Combined |
| 771 | 420 | |
| 772 | 421 | end NavierStokes.ActualSignedControl |
+0 −125 NavierStokes/ActualSignedCurrentSupport.lean View file
| @@ -61,19 +61,6 @@ theorem pressureMode_zero (l : Index B N0) (u : State Point) (n : ℕ) {x : Full | ||
| 61 | 61 | simp only [ActualSignedPotentialCoherence.pressureMode, mode, |
| 62 | 62 | (common_zero l u n hx hn).2, zero_mul] |
| 63 | 63 | |
| 64 | -theorem native_zero_germs (l : Index B N0) (u : State Point) (n : ℕ) {x : FullPoint} | |
| 65 | - (hx : x.1 ∈ ActualInitialization.geometry.domain) | |
| 66 | - (hn : l ∉ activeLabels standardRegion B N0 n) : | |
| 67 | - (ActualSignedPotentialCoherence.potential l u n =ᶠ[𝓝 x] fun _ => 0) ∧ | |
| 68 | - (ActualSignedPotentialCoherence.pressureMode l u n =ᶠ[𝓝 x] fun _ => 0) := by | |
| 69 | - have hU : {y : FullPoint | y.1 ∈ ActualInitialization.geometry.domain} ∈ 𝓝 x := | |
| 70 | - (ActualInitialization.geometry.domain_open.preimage continuous_fst).mem_nhds hx | |
| 71 | - constructor | |
| 72 | - · filter_upwards [hU] with y hy | |
| 73 | - exact potential_zero l u n hy hn | |
| 74 | - · filter_upwards [hU] with y hy | |
| 75 | - exact pressureMode_zero l u n hy hn | |
| 76 | - | |
| 77 | 64 | theorem cylindrical_zero (l : Index B N0) (u : State Point) (n : ℕ) |
| 78 | 65 | {z : ProblemStatement.SpaceTime} |
| 79 | 66 | (hz : z ∈ ActualSignedPotentialCoherence.physicalDomain n) |
| @@ -91,118 +78,6 @@ theorem physicalDomain_of_source (n : ℕ) {z : ProblemStatement.SpaceTime} | ||
| 91 | 78 | z ∈ ActualSignedPotentialCoherence.physicalDomain n := |
| 92 | 79 | ⟨hz.1, (CurrentSignedCurl.nativePoint_mem n hz).1.1⟩ |
| 93 | 80 | |
| 94 | -theorem currentPotential_zero (l : Index B N0) (u : State Point) (n : ℕ) | |
| 95 | - {qbig a : ℝ} {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 96 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) | |
| 97 | - (hn : l ∉ activeLabels standardRegion B N0 n) : | |
| 98 | - CurrentSignedCurl.currentPotential l u n a i z = 0 := by | |
| 99 | - have hp := (cylindrical_zero l u n (physicalDomain_of_source n hz.2.2) hn).1 | |
| 100 | - have hzero : PhysicalCurlCovariance.realVector (0 : ComplexVector) = 0 := by | |
| 101 | - ext j | |
| 102 | - simp | |
| 103 | - simp only [CurrentSignedCurl.currentPotential, PhysicalCurlCovariance.cartesianPotential, | |
| 104 | - hp, hzero, map_zero] | |
| 105 | - | |
| 106 | -theorem currentPressure_zero (l : Index B N0) (u : State Point) (n : ℕ) | |
| 107 | - {qbig a : ℝ} {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 108 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) | |
| 109 | - (hn : l ∉ activeLabels standardRegion B N0 n) : | |
| 110 | - CurrentSignedCurl.currentPressure l u n a i z = 0 := by | |
| 111 | - have hp := (cylindrical_zero l u n (physicalDomain_of_source n hz.2.2) hn).2 | |
| 112 | - simp only [CurrentSignedCurl.currentPressure, hp, Complex.zero_re] | |
| 113 | - | |
| 114 | -theorem currentPotential_zero_germ (l : Index B N0) (u : State Point) (n : ℕ) | |
| 115 | - {qbig a : ℝ} (ha : 0 < a) {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 116 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) | |
| 117 | - (hn : l ∉ activeLabels standardRegion B N0 n) : | |
| 118 | - CurrentSignedCurl.currentPotential l u n a i =ᶠ[𝓝 z] fun _ => 0 := by | |
| 119 | - filter_upwards [(ActualPhysicalPrefixFields.cartesianChartDomain_open qbig n ha i).mem_nhds hz] | |
| 120 | - with w hw | |
| 121 | - exact currentPotential_zero l u n hw hn | |
| 122 | - | |
| 123 | -theorem currentPressure_zero_germ (l : Index B N0) (u : State Point) (n : ℕ) | |
| 124 | - {qbig a : ℝ} (ha : 0 < a) {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 125 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) | |
| 126 | - (hn : l ∉ activeLabels standardRegion B N0 n) : | |
| 127 | - CurrentSignedCurl.currentPressure l u n a i =ᶠ[𝓝 z] fun _ => 0 := by | |
| 128 | - filter_upwards [(ActualPhysicalPrefixFields.cartesianChartDomain_open qbig n ha i).mem_nhds hz] | |
| 129 | - with w hw | |
| 130 | - exact currentPressure_zero l u n hw hn | |
| 131 | - | |
| 132 | 81 | /-! ## The canonical sum is the finite current active-label sum -/ |
| 133 | 82 | |
| 134 | -theorem finsum_eq_active_sum {E : Type*} [AddCommMonoid E] (n : ℕ) | |
| 135 | - (f : Index B N0 → E) | |
| 136 | - (hz : ∀ l, l ∉ activeLabels standardRegion B N0 n → f l = 0) : | |
| 137 | - (∑ᶠ l, f l) = ∑ l ∈ activeLabels standardRegion B N0 n, f l := by | |
| 138 | - classical | |
| 139 | - apply finsum_eq_sum_of_support_subset | |
| 140 | - intro l hl | |
| 141 | - by_contra hn | |
| 142 | - exact hl (hz l hn) | |
| 143 | - | |
| 144 | -theorem finsum_eq_labels_sum {E : Type*} [AddCommMonoid E] | |
| 145 | - (v : CycleCoefficients (Index B N0)) | |
| 146 | - (hv : v.labels = activeLabels standardRegion B N0) (n : ℕ) | |
| 147 | - (f : Index B N0 → E) | |
| 148 | - (hz : ∀ l, l ∉ activeLabels standardRegion B N0 n → f l = 0) : | |
| 149 | - (∑ᶠ l, f l) = ∑ l ∈ v.labels n, f l := by | |
| 150 | - rw [hv] | |
| 151 | - exact finsum_eq_active_sum n f hz | |
| 152 | - | |
| 153 | -theorem potential_finsum (u : State Point) (n : ℕ) {x : FullPoint} | |
| 154 | - (hx : x.1 ∈ ActualInitialization.geometry.domain) : | |
| 155 | - (∑ᶠ l : Index B N0, ActualSignedPotentialCoherence.potential l u n x) = | |
| 156 | - ∑ l ∈ activeLabels standardRegion B N0 n, ActualSignedPotentialCoherence.potential l u n x := | |
| 157 | - finsum_eq_active_sum n _ (fun l hn => potential_zero l u n hx hn) | |
| 158 | - | |
| 159 | -theorem pressureMode_finsum (u : State Point) (n : ℕ) {x : FullPoint} | |
| 160 | - (hx : x.1 ∈ ActualInitialization.geometry.domain) : | |
| 161 | - (∑ᶠ l : Index B N0, ActualSignedPotentialCoherence.pressureMode l u n x) = | |
| 162 | - ∑ l ∈ activeLabels standardRegion B N0 n, ActualSignedPotentialCoherence.pressureMode l u n x := | |
| 163 | - finsum_eq_active_sum n _ (fun l hn => pressureMode_zero l u n hx hn) | |
| 164 | - | |
| 165 | -theorem currentPotential_finsum (u : State Point) (n : ℕ) | |
| 166 | - {qbig a : ℝ} {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 167 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : | |
| 168 | - (∑ᶠ l : Index B N0, CurrentSignedCurl.currentPotential l u n a i z) = | |
| 169 | - ∑ l ∈ activeLabels standardRegion B N0 n, CurrentSignedCurl.currentPotential l u n a i z := | |
| 170 | - finsum_eq_active_sum n _ (fun l hn => currentPotential_zero l u n hz hn) | |
| 171 | - | |
| 172 | -theorem currentPressure_finsum (u : State Point) (n : ℕ) | |
| 173 | - {qbig a : ℝ} {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 174 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : | |
| 175 | - (∑ᶠ l : Index B N0, CurrentSignedCurl.currentPressure l u n a i z) = | |
| 176 | - ∑ l ∈ activeLabels standardRegion B N0 n, CurrentSignedCurl.currentPressure l u n a i z := | |
| 177 | - finsum_eq_active_sum n _ (fun l hn => currentPressure_zero l u n hz hn) | |
| 178 | - | |
| 179 | -theorem currentPotential_finsum_germ (u : State Point) (n : ℕ) | |
| 180 | - {qbig a : ℝ} (ha : 0 < a) {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 181 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : | |
| 182 | - (fun w => ∑ᶠ l : Index B N0, CurrentSignedCurl.currentPotential l u n a i w) =ᶠ[𝓝 z] | |
| 183 | - fun w => ∑ l ∈ activeLabels standardRegion B N0 n, CurrentSignedCurl.currentPotential l u n a i w := by | |
| 184 | - filter_upwards [(ActualPhysicalPrefixFields.cartesianChartDomain_open qbig n ha i).mem_nhds hz] | |
| 185 | - with w hw | |
| 186 | - exact currentPotential_finsum u n hw | |
| 187 | - | |
| 188 | -theorem currentPressure_finsum_germ (u : State Point) (n : ℕ) | |
| 189 | - {qbig a : ℝ} (ha : 0 < a) {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 190 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : | |
| 191 | - (fun w => ∑ᶠ l : Index B N0, CurrentSignedCurl.currentPressure l u n a i w) =ᶠ[𝓝 z] | |
| 192 | - fun w => ∑ l ∈ activeLabels standardRegion B N0 n, CurrentSignedCurl.currentPressure l u n a i w := by | |
| 193 | - filter_upwards [(ActualPhysicalPrefixFields.cartesianChartDomain_open qbig n ha i).mem_nhds hz] | |
| 194 | - with w hw | |
| 195 | - exact currentPressure_finsum u n hw | |
| 196 | - | |
| 197 | -theorem current_finsums_eq_labels (u : State Point) (v : CycleCoefficients (Index B N0)) | |
| 198 | - (hv : v.labels = activeLabels standardRegion B N0) (n : ℕ) | |
| 199 | - {qbig a : ℝ} {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} | |
| 200 | - (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : | |
| 201 | - (∑ᶠ l : Index B N0, CurrentSignedCurl.currentPotential l u n a i z) = | |
| 202 | - ∑ l ∈ v.labels n, CurrentSignedCurl.currentPotential l u n a i z ∧ | |
| 203 | - (∑ᶠ l : Index B N0, CurrentSignedCurl.currentPressure l u n a i z) = | |
| 204 | - ∑ l ∈ v.labels n, CurrentSignedCurl.currentPressure l u n a i z := by | |
| 205 | - rw [hv] | |
| 206 | - exact ⟨currentPotential_finsum u n hz, currentPressure_finsum u n hz⟩ | |
| 207 | - | |
| 208 | 83 | end NavierStokes.ActualSignedCurrentSupport |
+0 −12 NavierStokes/ActualSignedDynamics.lean View file
| @@ -259,16 +259,4 @@ theorem unitPulse_tangent_germ (j : Fin 2) (L : Label B N0) (n : ℕ) | ||
| 259 | 259 | filter_upwards [normal_eq_copy_germ j L n U k hR hT hc, hp', ht'] with y hy hyp hyt |
| 260 | 260 | rw [hy, inner_smul_left, unitPulse, nativeUnit_tangent j L hyp ⟨hyt.1.le, hyt.2.le⟩, mul_zero] |
| 261 | 261 | |
| 262 | -theorem unitPulse_tangent (j : Fin 2) (L : Label B N0) (n : ℕ) | |
| 263 | - (U : LocalSignedRequest.SlowRegion (2*h)) (k : TorusInverse.Frequency) {x : FullPoint} | |
| 264 | - (hR : 0 < x.1.1) (hT : 0 < x.1.2.1.1) | |
| 265 | - (hp : (copyPoint j L n k x).1 ∈ | |
| 266 | - (PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N).carrier L) | |
| 267 | - (ht : (copyPoint j L n k x).2.2 / (phases B N0 j).L L ∈ Ioo (0 : ℝ) 1) | |
| 268 | - (hc : (copyPoint j L n k x).2 ∈ (clockWindow L).core) : | |
| 269 | - ⟪(chartCoefficients j L).normal | |
| 270 | - (HarmonicWaveInteraction.productStrip (BaseContextAssembly.nativeStrip nominal U)) | |
| 271 | - (PrimaryResidualClass.directions (commonContext B)) n x, unitPulse j L n k x⟫_ℝ = 0 := | |
| 272 | - (unitPulse_tangent_germ j L n U k hR hT hp ht hc).eq_of_nhds | |
| 273 | - | |
| 274 | 262 | end NavierStokes.ActualSignedDynamics |
+0 −49 NavierStokes/ActualSignedExterior.lean View file
| @@ -134,12 +134,6 @@ theorem nativeLabel_ext {S : Set BandLabel} | ||
| 134 | 134 | nativeLabel (actualLabel L) = L := |
| 135 | 135 | nativeLabel_ext (congrArg Subtype.val (bandLabel_actualLabel L)) |
| 136 | 136 | |
| 137 | -noncomputable def labelEquiv : Label B N0 ≃ ActualSignedPhysicalData.NativeLabel (labels B N0) where | |
| 138 | - toFun := nativeLabel | |
| 139 | - invFun := actualLabel | |
| 140 | - left_inv := actualLabel_nativeLabel | |
| 141 | - right_inv := nativeLabel_actualLabel | |
| 142 | - | |
| 143 | 137 | theorem actualLabel_reference (L : ActualSignedPhysicalData.NativeLabel (labels B N0)) : |
| 144 | 138 | ActualSignedPhysicalBinding.reference (actualLabel L) = L.val.1 := |
| 145 | 139 | congrArg (fun L : BandLabel => L.val.1) (bandLabel_actualLabel L) |
| @@ -322,17 +316,6 @@ theorem pressure_zero_germ {w : SpaceTime} (hw : w ∈ preterminal) (hout : w | ||
| 322 | 316 | filter_upwards [exterior_open.mem_nhds ⟨hw, hout⟩] with y hy |
| 323 | 317 | exact pressure_zero s hy.1 hy.2 |
| 324 | 318 | |
| 325 | -theorem velocity_zero {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : | |
| 326 | - SpatialCurl.spatialCurl (potential s) w = 0 := | |
| 327 | - PhysicalCurlCovariance.spatialCurl_zero_of_zero_near (potential_zero_germ s hw hout) | |
| 328 | - | |
| 329 | -/-- Any fixed residual floor is allowed, since the stronger exterior | |
| 330 | -identity above holds on the whole preterminal set. -/ | |
| 331 | -theorem exterior_below (Nres : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) | |
| 332 | - (_hq : physicalQ h w < ChartScales.Q Nres) (hout : w ∉ active) : | |
| 333 | - potential s w = 0 ∧ pressure s w = 0 := | |
| 334 | - ⟨potential_zero s hw hout, pressure_zero s hw hout⟩ | |
| 335 | - | |
| 336 | 319 | end Fields |
| 337 | 320 | |
| 338 | 321 | /-! ## The same state and request as the actual correction cycle -/ |
| @@ -355,48 +338,16 @@ noncomputable def cycleNativeStates (l : Label B N0) : | ||
| 355 | 338 | ((ActualCycleParameters.fixedParameters B N0).afterParticular |
| 356 | 339 | x.coefficients (commonContext B) x.state) H hp |
| 357 | 340 | |
| 358 | -noncomputable def cycleFamily : DependentSignedPhysicalFamily.Family := | |
| 359 | - family (cycleNativeStates x H hp) | |
| 360 | - | |
| 361 | 341 | noncomputable def cyclePotential : VelocityField := potential (cycleNativeStates x H hp) |
| 362 | 342 | |
| 363 | 343 | noncomputable def cyclePressure : PressureField := pressure (cycleNativeStates x H hp) |
| 364 | 344 | |
| 365 | -/-- The exterior statement concerns the signed request of the literal | |
| 366 | -cycle after its particular update, without replacing the incoming state. -/ | |
| 367 | -theorem cycle_referenceRequest (l : Label B N0) (z : ActualSignedPhysicalBinding.Cylinder) : | |
| 368 | - ((cycleFamily x H hp).state (nativeLabel l)).referenceRequest | |
| 369 | - (ActualSignedPhysicalBinding.reference l) z = | |
| 370 | - (ActualCycleParameters.fixedParameters B N0).signedRequest | |
| 371 | - x.coefficients (commonContext B) x.state (ActualSignedPhysicalBinding.reference l) | |
| 372 | - (ActualSignedPhysicalBinding.toCommonCylinder l z) := by | |
| 373 | - change ((family (cycleNativeStates x H hp)).state (nativeLabel l)).referenceRequest _ _ = _ | |
| 374 | - rw [family_referenceRequest_nativeLabel] | |
| 375 | - exact ActualSignedPhysicalBinding.nativeStateData_referenceRequest l ActualInitialization.patch | |
| 376 | - ((ActualCycleParameters.fixedParameters B N0).afterParticular | |
| 377 | - x.coefficients (commonContext B) x.state) H hp z | |
| 378 | - | |
| 379 | -theorem cycle_potential_zero {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : | |
| 380 | - cyclePotential x H hp w = 0 := potential_zero (cycleNativeStates x H hp) hw hout | |
| 381 | - | |
| 382 | -theorem cycle_pressure_zero {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : | |
| 383 | - cyclePressure x H hp w = 0 := pressure_zero (cycleNativeStates x H hp) hw hout | |
| 384 | - | |
| 385 | 345 | theorem cycle_zero_germs {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : |
| 386 | 346 | (cyclePotential x H hp =ᶠ[𝓝 w] fun _ => 0) ∧ |
| 387 | 347 | (cyclePressure x H hp =ᶠ[𝓝 w] fun _ => 0) := |
| 388 | 348 | ⟨potential_zero_germ (cycleNativeStates x H hp) hw hout, |
| 389 | 349 | pressure_zero_germ (cycleNativeStates x H hp) hw hout⟩ |
| 390 | 350 | |
| 391 | -theorem cycle_velocity_zero {w : SpaceTime} (hw : w ∈ preterminal) (hout : w ∉ active) : | |
| 392 | - SpatialCurl.spatialCurl (cyclePotential x H hp) w = 0 := | |
| 393 | - velocity_zero (cycleNativeStates x H hp) hw hout | |
| 394 | - | |
| 395 | -theorem cycle_exterior (Nres : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) | |
| 396 | - (hq : physicalQ h w < ChartScales.Q Nres) (hout : w ∉ active) : | |
| 397 | - cyclePotential x H hp w = 0 ∧ cyclePressure x H hp w = 0 := | |
| 398 | - exterior_below (cycleNativeStates x H hp) Nres hw hq hout | |
| 399 | - | |
| 400 | 351 | end Cycle |
| 401 | 352 | |
| 402 | 353 | end NavierStokes.ActualSignedExterior |
+0 −23 NavierStokes/ActualSignedGaussian.lean View file
| @@ -31,9 +31,6 @@ noncomputable def localGaussian (request : ℕ → FullPoint → SignedWaveUpdat | ||
| 31 | 31 | (l : SignedLabel B N0) (n : ℕ) (k : Frequency) : FullPoint → HarmonicCalculus.ComplexVector := |
| 32 | 32 | (copies request l).localGaussian (directions B) n k |
| 33 | 33 | |
| 34 | -theorem source_zero (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) (l : SignedLabel B N0) : | |
| 35 | - (copies request l).source = fun _ _ => 0 := rfl | |
| 36 | - | |
| 37 | 34 | theorem localGaussian_formula (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) |
| 38 | 35 | (l : SignedLabel B N0) (n : ℕ) (k : Frequency) (x : FullPoint) : |
| 39 | 36 | localGaussian request l n k x = |
| @@ -65,26 +62,6 @@ theorem transverse_fast_zero (l : SignedLabel B N0) (n : ℕ) (k : Frequency) (x | ||
| 65 | 62 | simp only [smul_zero] at h |
| 66 | 63 | exact h |
| 67 | 64 | |
| 68 | -/-- The product cutoff is differentiated literally. The transverse | |
| 69 | -derivative term vanishes; no cutoff factor is silently moved into the mask. -/ | |
| 70 | -theorem cutoff_fast (l : SignedLabel B N0) (n : ℕ) (k : Frequency) (x : FullPoint) : | |
| 71 | - (directions B).Dfast (cutoff l k) n x = | |
| 72 | - transverse l k n x * (directions B).Dfast | |
| 73 | - (fun m y => GaussianTailFlat.profile (nativeTime l m k y)) n x := by | |
| 74 | - have ht := ((transverse_smooth l n k).differentiable (by simp)).differentiableAt (x := x) | |
| 75 | - have hg := ((GaussianTailFlat.profile_contDiff.comp (nativeTime_smooth l n k)).differentiable | |
| 76 | - (by simp)).differentiableAt (x := x) | |
| 77 | - simp only [Function.comp_def] at hg | |
| 78 | - have hz := transverse_fast_zero l n k x | |
| 79 | - change fderiv ℝ (transverse l k n) x ((directions B).fastField n x) = 0 at hz | |
| 80 | - change fderiv ℝ (fun y => transverse l k n y * GaussianTailFlat.profile (nativeTime l n k y)) | |
| 81 | - x ((directions B).fastField n x) = | |
| 82 | - transverse l k n x * fderiv ℝ (fun y => GaussianTailFlat.profile (nativeTime l n k y)) | |
| 83 | - x ((directions B).fastField n x) | |
| 84 | - rw [fderiv_fun_mul ht hg] | |
| 85 | - simp only [_root_.add_apply, _root_.smul_apply, smul_eq_mul, hz] | |
| 86 | - ring | |
| 87 | - | |
| 88 | 65 | /-- The central Gaussian plateau kills the actual error even when the |
| 89 | 66 | transverse cutoff is strictly between zero and one. -/ |
| 90 | 67 | theorem localGaussian_zero_plateau (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) |
+0 −70 NavierStokes/ActualSignedGaussianCoherence.lean View file
| @@ -75,17 +75,6 @@ theorem globalGaussian_equiv (e : D ≃L[ℝ] E) | ||
| 75 | 75 | |
| 76 | 76 | end EquivariantCutoff |
| 77 | 77 | |
| 78 | -/-- Exchanging the two bands inverts the physical Gaussian weight. -/ | |
| 79 | -theorem gaussianWeight_swap (exponent : ℝ) (n m : ℕ) : | |
| 80 | - (bandVelocityScale exponent n m * bandVelocityScale exponent n m * bandScale n m)⁻¹ = | |
| 81 | - bandVelocityScale exponent m n * bandVelocityScale exponent m n * bandScale m n := by | |
| 82 | - have hr : ChartScales.Q m / ChartScales.Q n = (ChartScales.Q n / ChartScales.Q m)⁻¹ := | |
| 83 | - (inv_div _ _).symm | |
| 84 | - unfold bandVelocityScale bandScale | |
| 85 | - simp only [hr, Real.inv_rpow (div_nonneg (ChartScales.Q_pos n).le (ChartScales.Q_pos m).le), | |
| 86 | - mul_inv_rev] | |
| 87 | - ring | |
| 88 | - | |
| 89 | 78 | section ActualFourierField |
| 90 | 79 | |
| 91 | 80 | variable {B N0 : ℕ} |
| @@ -178,33 +167,6 @@ theorem gaussian_transport (l : SignedLabel B N0) (u : State Point) | ||
| 178 | 167 | gaussian_transport_of_request l u n m k hi x |
| 179 | 168 | (fullRequest_transport u H hfixed n m k hi HS x hx) |
| 180 | 169 | |
| 181 | -/-- Reverse transport of the actual complex Gaussian coefficient on the | |
| 182 | -image of the same overlap, with the reciprocal physical weight. -/ | |
| 183 | -theorem gaussian_transport_symm (l : SignedLabel B N0) (u : State Point) | |
| 184 | - (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region | |
| 185 | - ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) | |
| 186 | - (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge | |
| 187 | - (commonContext B) u).pressure = u.pressure) | |
| 188 | - (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) | |
| 189 | - (HS : PhysicalResidualNaturality.StateOn | |
| 190 | - (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) | |
| 191 | - (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) | |
| 192 | - (x : ActualSignedCoherence.FullPoint) | |
| 193 | - (hx : ((chart n m k).symm x).1.2.1 ∈ ActualInitialCoherence.overlap n m) : | |
| 194 | - (copies l u).globalGaussian (ActualSignedStageControls.directions B) m x = | |
| 195 | - (bandVelocityScale h m n * bandVelocityScale h m n * bandScale m n) • | |
| 196 | - (copies l u).globalGaussian (ActualSignedStageControls.directions B) n ((chart n m k).symm x) := by | |
| 197 | - have he := gaussian_transport l u H hfixed n m k hi HS ((chart n m k).symm x) hx | |
| 198 | - have hw : bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m ≠ 0 := | |
| 199 | - mul_ne_zero (mul_ne_zero (velocity_pos n m).ne' (velocity_pos n m).ne') | |
| 200 | - (bandScale_pos n m).ne' | |
| 201 | - have he' := congrArg (fun z : ComplexVector => | |
| 202 | - (bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m)⁻¹ • z) he | |
| 203 | - have he'' := he'.symm | |
| 204 | - simp only [ContinuousLinearEquiv.apply_symm_apply, smul_smul, | |
| 205 | - inv_mul_cancel₀ hw, one_smul] at he'' | |
| 206 | - simpa only [gaussianWeight_swap] using he'' | |
| 207 | - | |
| 208 | 170 | /-- The Gaussian component of `WaveOn`, for the actual signed Fourier |
| 209 | 171 | block, on all radial and free auxiliary fibers and at every angle. -/ |
| 210 | 172 | theorem gaussianBlock_transport (l : SignedLabel B N0) (u : State Point) |
| @@ -227,38 +189,6 @@ theorem gaussianBlock_transport (l : SignedLabel B N0) (u : State Point) | ||
| 227 | 189 | n m k hi x theta _ i |
| 228 | 190 | exact gaussian_transport l u H hfixed n m k hi HS (x,0) hx |
| 229 | 191 | |
| 230 | -/-- The same field comparison in the reverse common-chart direction. | |
| 231 | -Its domain is the exact image of the forward overlap. -/ | |
| 232 | -theorem gaussianBlock_transport_symm (l : SignedLabel B N0) (u : State Point) | |
| 233 | - (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region | |
| 234 | - ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) | |
| 235 | - (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge | |
| 236 | - (commonContext B) u).pressure = u.pressure) | |
| 237 | - (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) | |
| 238 | - (HS : PhysicalResidualNaturality.StateOn | |
| 239 | - (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) | |
| 240 | - (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) | |
| 241 | - (x : Point) | |
| 242 | - (hx : (bandChartEquiv h n m k).symm x ∈ | |
| 243 | - PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) | |
| 244 | - (theta : ℝ) (i : Fin 3) : | |
| 245 | - ((ActualSignedStageControls.parameters l).gaussianBlock ActualInitialization.geometry.strip | |
| 246 | - (request B u)).oscillation m (x,theta) i = | |
| 247 | - (bandVelocityScale h m n * bandVelocityScale h m n * bandScale m n) * | |
| 248 | - ((ActualSignedStageControls.parameters l).gaussianBlock ActualInitialization.geometry.strip | |
| 249 | - (request B u)).oscillation n ((bandChartEquiv h n m k).symm x,theta) i := by | |
| 250 | - have he := gaussianBlock_transport l u H hfixed n m k hi HS | |
| 251 | - ((bandChartEquiv h n m k).symm x) hx theta i | |
| 252 | - have hw : bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m ≠ 0 := | |
| 253 | - mul_ne_zero (mul_ne_zero (velocity_pos n m).ne' (velocity_pos n m).ne') | |
| 254 | - (bandScale_pos n m).ne' | |
| 255 | - have he' := congrArg (fun z : ℝ => | |
| 256 | - (bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m)⁻¹ * z) he | |
| 257 | - have he'' := he'.symm | |
| 258 | - simp only [ContinuousLinearEquiv.apply_symm_apply, ← mul_assoc, | |
| 259 | - inv_mul_cancel₀ hw, one_mul] at he'' | |
| 260 | - simpa only [gaussianWeight_swap] using he'' | |
| 261 | - | |
| 262 | 192 | end ActualTransport |
| 263 | 193 | |
| 264 | 194 | end NavierStokes.ActualSignedGaussianCoherence |
+0 −284 NavierStokes/ActualSignedGeometry.lean View file
| @@ -555,10 +555,6 @@ noncomputable def viewStrip {F : OutgoingProfile.Profile} (W : NominalProfile.Wi | ||
| 555 | 555 | (UniformPrimaryWeights.reindexedStrip (BaseContextAssembly.nativeStrip W U) |
| 556 | 556 | (fun n => (chart n, ()))) |
| 557 | 557 | |
| 558 | -theorem viewStrip_slow {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) | |
| 559 | - (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) (chart : ℕ → ℕ) (n : ℕ) : | |
| 560 | - (viewStrip W U chart).slow n = max 1 (ChartScales.S (chart n)) := rfl | |
| 561 | - | |
| 562 | 558 | theorem viewStrip_mem {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) |
| 563 | 559 | (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) (chart : ℕ → ℕ) (x : Native) : |
| 564 | 560 | x ∈ (viewStrip W U chart).domain ↔ x.1 ∈ BaseContextAssembly.slowCarrier W U := Iff.rfl |
| @@ -737,134 +733,6 @@ variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} | ||
| 737 | 733 | {Λ : Type} (reference : Λ → ℕ → Label H v a) |
| 738 | 734 | (chart index : ℕ → ℕ) (sign : Λ → ℕ → Fin 2) |
| 739 | 735 | |
| 740 | -noncomputable def copyLabel (l : Λ) (n : ℕ) : SlotColoring.Label := | |
| 741 | - PartitionedCovariance.signedLabel (PrimaryGeometryAssembly.label W (reference l n)) (sign l n) | |
| 742 | - | |
| 743 | -noncomputable def phaseCell (l : Λ) (n : ℕ) (k : TorusInverse.Frequency) : Set Native := | |
| 744 | - copyPoint sys hdet (copyLabel H v a reference sign l n) (chart n) (index (chart n)) k ⁻¹' | |
| 745 | - (nativeDomain H v a).carrier (reference l n) | |
| 746 | - | |
| 747 | -theorem phaseCell_open (l : Λ) (n : ℕ) (k : TorusInverse.Frequency) : | |
| 748 | - IsOpen (phaseCell H v a sys hdet reference chart index sign l n k) := by | |
| 749 | - apply ((nativeDomain H v a).isOpen (reference l n)).preimage | |
| 750 | - exact ((slowChange F.data.h _ _).continuous.comp continuous_fst).prodMk | |
| 751 | - (((slotGeometry sys hdet _ _).coordinates_contDiff k).continuous.comp continuous_snd) | |
| 752 | - | |
| 753 | -theorem copy_weight_eq (hr0 : 0 < r0) (l : Λ) (n : ℕ) (k : TorusInverse.Frequency) | |
| 754 | - {x : Native} (hx : x ∈ (viewStrip W U chart).domain) : | |
| 755 | - (preparedChart H v a hr0).weight (reference l n) | |
| 756 | - (copyPoint sys hdet (copyLabel H v a reference sign l n) (chart n) (index (chart n)) k x) = | |
| 757 | - (viewStrip W U chart).zeta x := by | |
| 758 | - have hp := (viewStrip_mem W U chart x).mp hx | |
| 759 | - have ht := BaseContextAssembly.nativeStrip_time W U hp | |
| 760 | - have hr := BaseContextAssembly.nativeStrip_radius W U hp | |
| 761 | - change PrimaryTargetBounds.movingWeight W (slowChange F.data.h _ _ x.1) = _ | |
| 762 | - rw [movingWeight_slowChange W (ChartScales.Q_pos _) (ChartScales.Q_pos _) ht hr, | |
| 763 | - viewStrip_zeta] | |
| 764 | - | |
| 765 | -theorem copy_growth_le | |
| 766 | - (hchart : ∀ n, 1 ≤ chart n) | |
| 767 | - (hnear : ∀ l n, chart n ≤ BaseChartJets.cellBand (reference l n) + 4 ∧ | |
| 768 | - BaseChartJets.cellBand (reference l n) ≤ chart n + 4) | |
| 769 | - (l : Λ) (n : ℕ) (k : TorusInverse.Frequency) | |
| 770 | - {x : Native} (hx : x ∈ (viewStrip W U chart).domain) : | |
| 771 | - (nativeDomain H v a).growth (reference l n) | |
| 772 | - (copyPoint sys hdet (copyLabel H v a reference sign l n) (chart n) (index (chart n)) k x) ≤ | |
| 773 | - 25 * (viewStrip W U chart).growth n x := by | |
| 774 | - have hp := (viewStrip_mem W U chart x).mp hx | |
| 775 | - have ht := BaseContextAssembly.nativeStrip_time W U hp | |
| 776 | - have hr := BaseContextAssembly.nativeStrip_radius W U hp | |
| 777 | - have he : (BaseContextAssembly.nativeStrip W (standardSlowRegion F.data.h_pos F.data.h_lt_half)).delta | |
| 778 | - (BaseContextAssembly.insertSlow (slowChange F.data.h (ChartScales.Q (chart n)) | |
| 779 | - (ChartScales.Q (BaseChartJets.cellBand (reference l n))) x.1)) = | |
| 780 | - (viewStrip W U chart).delta x := by | |
| 781 | - change (viewStrip W (standardSlowRegion F.data.h_pos F.data.h_lt_half) id).delta | |
| 782 | - (slowChange F.data.h (ChartScales.Q (chart n)) | |
| 783 | - (ChartScales.Q (BaseChartJets.cellBand (reference l n))) x.1, 0) = _ | |
| 784 | - rw [viewStrip_delta, viewStrip_delta, | |
| 785 | - profileRadius_slowChange (ChartScales.Q_pos _) (ChartScales.Q_pos _) ht hr] | |
| 786 | - have hSn := PhysicalGraphBounds.S_ge_one (hchart n) | |
| 787 | - have hSm := S_window_le (hchart n) (hnear l n).2 | |
| 788 | - have hmax : BaseContextAssembly.slowScale (BaseChartJets.cellBand (reference l n)) ≤ | |
| 789 | - 25 * BaseContextAssembly.slowScale (chart n) := by | |
| 790 | - unfold BaseContextAssembly.slowScale | |
| 791 | - rw [max_eq_right hSn] | |
| 792 | - exact max_le (by linarith) hSm | |
| 793 | - change BaseContextAssembly.slowScale (BaseChartJets.cellBand (reference l n)) * | |
| 794 | - max 1 ((BaseContextAssembly.nativeStrip W _).delta | |
| 795 | - (BaseContextAssembly.insertSlow (slowChange F.data.h (ChartScales.Q (chart n)) | |
| 796 | - (ChartScales.Q (BaseChartJets.cellBand (reference l n))) x.1)))⁻¹ ≤ _ | |
| 797 | - rw [he] | |
| 798 | - exact (mul_le_mul_of_nonneg_right hmax (zero_le_one.trans (le_max_left 1 _))).trans_eq (by | |
| 799 | - change (25 * BaseContextAssembly.slowScale (chart n)) * max 1 ((viewStrip W U chart).delta x)⁻¹ = | |
| 800 | - 25 * (BaseContextAssembly.slowScale (chart n) * max 1 ((viewStrip W U chart).delta x)⁻¹) | |
| 801 | - ring) | |
| 802 | - | |
| 803 | -/-- The copy chart is assembled from the actual dyadic and slot maps. | |
| 804 | -The only indexing restrictions are the active four-level window and | |
| 805 | -the chosen common-cover budget; all analytic comparisons are derived. -/ | |
| 806 | -noncomputable def copyChart (hr0 : 0 < r0) | |
| 807 | - (hchart : ∀ n, 1 ≤ chart n) | |
| 808 | - (hnear : ∀ l n, chart n ≤ BaseChartJets.cellBand (reference l n) + 4 ∧ | |
| 809 | - BaseChartJets.cellBand (reference l n) ≤ chart n + 4) | |
| 810 | - {budget : ℕ} (hi : CommonBaseContext.IndexBounds F.data.h index budget) : | |
| 811 | - ActualSignedControl.CopyChart (viewStrip W U chart) (nativeDomain H v a) | |
| 812 | - (preparedChart H v a hr0).weight | |
| 813 | - (phaseCell H v a sys hdet reference chart index sign) where | |
| 814 | - index := reference | |
| 815 | - linear l n _ := copyLinear sys hdet (copyLabel H v a reference sign l n) (chart n) (index (chart n)) | |
| 816 | - shift l n k := copyPoint sys hdet (copyLabel H v a reference sign l n) (chart n) (index (chart n)) k 0 | |
| 817 | - maps l n k x hx hi := by | |
| 818 | - rw [← copyPoint_affine] | |
| 819 | - exact hi | |
| 820 | - growthConstant := 25 | |
| 821 | - linearConstant := slowChangeCost F.data.h + | |
| 822 | - 25 * CommonCoverClass.bandArgumentCost (TorusAverages.slotChart vr vt hdet) | |
| 823 | - (budget + SlotColoring.nativeGap F.data.h) | |
| 824 | - growth_one := by norm_num | |
| 825 | - linear_one := by | |
| 826 | - have h1 := slowChangeCost_one F.data.h | |
| 827 | - have h2 := CommonCoverClass.bandArgumentCost_one_le (TorusAverages.slotChart vr vt hdet) | |
| 828 | - (budget + SlotColoring.nativeGap F.data.h) | |
| 829 | - linarith | |
| 830 | - growthDegree := 1 | |
| 831 | - linearDegree := 1 | |
| 832 | - growth_bound l n k x hx _ := by | |
| 833 | - rw [← copyPoint_affine, pow_one] | |
| 834 | - exact copy_growth_le H v a sys hdet U reference chart index sign hchart hnear l n k hx | |
| 835 | - linear_bound l n _ := by | |
| 836 | - rw [pow_one] | |
| 837 | - exact norm_copyLinear_le sys hdet F.data.h_pos.le hi (hchart n) | |
| 838 | - (a.large _ (reference l n).property).four_le (hnear l n).1 (hnear l n).2 | |
| 839 | - weight_eq l n k x hx _ := by | |
| 840 | - rw [← copyPoint_affine] | |
| 841 | - exact copy_weight_eq H v a sys hdet U reference chart index sign hr0 l n k hx | |
| 842 | - ratioLower := 1 / 5 | |
| 843 | - ratioUpper := 5 | |
| 844 | - ratio_pos := by norm_num | |
| 845 | - ratio_one := by norm_num | |
| 846 | - scale_ratio l n := by | |
| 847 | - change 1 / 5 ≤ Real.sqrt (max 1 (ChartScales.S (chart n))) / | |
| 848 | - Real.sqrt (ChartScales.S (BaseChartJets.cellBand (reference l n))) ∧ | |
| 849 | - Real.sqrt (max 1 (ChartScales.S (chart n))) / | |
| 850 | - Real.sqrt (ChartScales.S (BaseChartJets.cellBand (reference l n))) ≤ 5 | |
| 851 | - rw [max_eq_right (PhysicalGraphBounds.S_ge_one (hchart n))] | |
| 852 | - exact sqrt_S_window (hchart n) (reference l n).val.property.1 (hnear l n).1 (hnear l n).2 | |
| 853 | - | |
| 854 | -theorem copyChart_pull (hr0 : 0 < r0) (hchart : ∀ n, 1 ≤ chart n) | |
| 855 | - (hnear : ∀ l n, chart n ≤ BaseChartJets.cellBand (reference l n) + 4 ∧ | |
| 856 | - BaseChartJets.cellBand (reference l n) ≤ chart n + 4) | |
| 857 | - {budget : ℕ} (hi : CommonBaseContext.IndexBounds F.data.h index budget) | |
| 858 | - {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 859 | - (f : Label H v a → Native → E) (l : Λ) (n : ℕ) (k : TorusInverse.Frequency) (x : Native) : | |
| 860 | - (copyChart H v a sys hdet U reference chart index sign hr0 hchart hnear hi).pull f l n k x = | |
| 861 | - f (reference l n) (copyPoint sys hdet (copyLabel H v a reference sign l n) | |
| 862 | - (chart n) (index (chart n)) k x) := by | |
| 863 | - change f (reference l n) | |
| 864 | - (copyLinear sys hdet (copyLabel H v a reference sign l n) (chart n) (index (chart n)) x + | |
| 865 | - copyPoint sys hdet (copyLabel H v a reference sign l n) (chart n) (index (chart n)) k 0) = _ | |
| 866 | - rw [← copyPoint_affine] | |
| 867 | - | |
| 868 | 736 | end PreparedCopies |
| 869 | 737 | |
| 870 | 738 | /-! ## Actual periodic phase normals on the native cores -/ |
| @@ -1119,16 +987,6 @@ theorem copyPoint_eq_reference_view (l : SlotColoring.Label) (n common : ℕ) | ||
| 1119 | 987 | apply Prod.ext rfl |
| 1120 | 988 | exact (slot_coordinates_from_zero sys hdet l _ k _).symm |
| 1121 | 989 | |
| 1122 | -theorem reference_view_graph (l : SlotColoring.Label) (n common : ℕ) | |
| 1123 | - (hi : common ≤ ChartScales.nativeIndex h l.1) | |
| 1124 | - {z : ProblemStatement.SpaceTime} (hz : 0 < z.2 0) : | |
| 1125 | - PhysicalParticularWave.cylinderChange h (ChartScales.Q n) (ChartScales.Q l.1) | |
| 1126 | - (ChartScales.nativeIndex h l.1 - common) | |
| 1127 | - ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) h common).map z) = | |
| 1128 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q l.1) h (ChartScales.nativeIndex h l.1)).map z := by | |
| 1129 | - rw [PhysicalParticularWave.cylinderChange_graph (ChartScales.Q_pos _) (ChartScales.Q_pos _) h common _ hz, | |
| 1130 | - Nat.add_sub_of_le hi] | |
| 1131 | - | |
| 1132 | 990 | end ReferenceViews |
| 1133 | 991 | |
| 1134 | 992 | section PreparedNormals |
| @@ -1268,48 +1126,8 @@ noncomputable def ActivePairCondition (l : Λ) (n : ℕ) : Prop := | ||
| 1268 | 1126 | |
| 1269 | 1127 | abbrev ActivePair := {q : Λ × ℕ // ActivePairCondition H v a reference chart q.1 q.2} |
| 1270 | 1128 | |
| 1271 | -noncomputable def activePhaseCell (l : Λ) (n : ℕ) (k : TorusInverse.Frequency) : Set Native := | |
| 1272 | - {x | ActivePairCondition H v a reference chart l n ∧ | |
| 1273 | - x ∈ phaseCell H v a sys hdet reference chart index sign l n k} | |
| 1274 | - | |
| 1275 | 1129 | variable [Countable Λ] [Nonempty (ActivePair H v a reference chart)] |
| 1276 | 1130 | |
| 1277 | -noncomputable def activeEnumeration : ℕ → ActivePair H v a reference chart := | |
| 1278 | - Classical.choose (exists_surjective_nat (ActivePair H v a reference chart)) | |
| 1279 | - | |
| 1280 | -theorem activeEnumeration_surjective : Surjective (activeEnumeration H v a reference chart) := | |
| 1281 | - Classical.choose_spec (exists_surjective_nat (ActivePair H v a reference chart)) | |
| 1282 | - | |
| 1283 | -noncomputable def activeReference (_ : Unit) (q : ℕ) : Label H v a := | |
| 1284 | - reference (activeEnumeration H v a reference chart q).val.1 | |
| 1285 | - (activeEnumeration H v a reference chart q).val.2 | |
| 1286 | - | |
| 1287 | -noncomputable def activeChart (q : ℕ) : ℕ := | |
| 1288 | - chart (activeEnumeration H v a reference chart q).val.2 | |
| 1289 | - | |
| 1290 | -noncomputable def activeSign (_ : Unit) (q : ℕ) : Fin 2 := | |
| 1291 | - sign (activeEnumeration H v a reference chart q).val.1 | |
| 1292 | - (activeEnumeration H v a reference chart q).val.2 | |
| 1293 | - | |
| 1294 | -theorem active_near (q : ℕ) : | |
| 1295 | - activeChart H v a reference chart q ≤ BaseChartJets.cellBand (activeReference H v a reference chart () q) + 4 ∧ | |
| 1296 | - BaseChartJets.cellBand (activeReference H v a reference chart () q) ≤ activeChart H v a reference chart q + 4 := | |
| 1297 | - (activeEnumeration H v a reference chart q).property.2 | |
| 1298 | - | |
| 1299 | -/-- Every input of this chart is the original active pair. Its uniform | |
| 1300 | -bounds are valid without any comparison for inactive label-band pairs. -/ | |
| 1301 | -noncomputable def activeCopyChart (hr0 : 0 < r0) {budget : ℕ} | |
| 1302 | - (hi : CommonBaseContext.IndexBounds F.data.h index budget) := | |
| 1303 | - copyChart H v a sys hdet U (activeReference H v a reference chart) | |
| 1304 | - (activeChart H v a reference chart) index (activeSign H v a reference chart sign) hr0 | |
| 1305 | - (fun q => (activeEnumeration H v a reference chart q).property.1) | |
| 1306 | - (fun _ q => active_near H v a reference chart q) hi | |
| 1307 | - | |
| 1308 | -theorem active_reindexed_strip : | |
| 1309 | - viewStrip W U (activeChart H v a reference chart) = | |
| 1310 | - UniformPrimaryWeights.reindexedStrip (viewStrip W U chart) | |
| 1311 | - (fun q => ((activeEnumeration H v a reference chart q).val.2, ())) := rfl | |
| 1312 | - | |
| 1313 | 1131 | end ActiveCopies |
| 1314 | 1132 | |
| 1315 | 1133 | /-! ## The angle coordinate is retained when making harmonic blocks -/ |
| @@ -1321,49 +1139,6 @@ noncomputable def cylinderNativeLinear : Cylinder →L[ℝ] Native := | ||
| 1321 | 1139 | @[simp] theorem cylinderNativeLinear_apply (x : Cylinder) : |
| 1322 | 1140 | cylinderNativeLinear x = cylinderNative x := rfl |
| 1323 | 1141 | |
| 1324 | -theorem norm_cylinderNativeLinear : ‖cylinderNativeLinear‖ ≤ 1 := by | |
| 1325 | - apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one | |
| 1326 | - intro x | |
| 1327 | - change ‖(ParticularWaveBounds.liftAssoc Plane) x.1‖ ≤ 1 * ‖x‖ | |
| 1328 | - rw [LinearIsometryEquiv.norm_map, one_mul] | |
| 1329 | - exact norm_fst_le x | |
| 1330 | - | |
| 1331 | -noncomputable def cylinderStrip (s : StripData Native) : StripData Cylinder := | |
| 1332 | - ParticularWaveBounds.reindexStrip (StateReindex.cylinder (ParticularWaveBounds.liftAssoc Plane)) | |
| 1333 | - (HarmonicWaveInteraction.productStrip s) | |
| 1334 | - | |
| 1335 | -noncomputable def cylinderCopyChart {Λ I i : Type} {s : StripData Native} | |
| 1336 | - {V : JetDomain i Native} {weight : i → Native → ℝ} {K : Λ → ℕ → I → Set Native} | |
| 1337 | - (c : ActualSignedControl.CopyChart s V weight K) : | |
| 1338 | - ActualSignedControl.CopyChart (cylinderStrip s) V weight | |
| 1339 | - (fun l n k => cylinderNative ⁻¹' K l n k) where | |
| 1340 | - index := c.index | |
| 1341 | - linear l n k := (c.linear l n k).comp cylinderNativeLinear | |
| 1342 | - shift := c.shift | |
| 1343 | - maps l n k x hx hk := c.maps l n k (cylinderNative x) hx hk | |
| 1344 | - growthConstant := c.growthConstant | |
| 1345 | - linearConstant := c.linearConstant | |
| 1346 | - growth_one := c.growth_one | |
| 1347 | - linear_one := c.linear_one | |
| 1348 | - growthDegree := c.growthDegree | |
| 1349 | - linearDegree := c.linearDegree | |
| 1350 | - growth_bound l n k x hx hk := c.growth_bound l n k (cylinderNative x) hx hk | |
| 1351 | - linear_bound l n k := by | |
| 1352 | - exact (ContinuousLinearMap.opNorm_comp_le _ _).trans | |
| 1353 | - ((mul_le_of_le_one_right (norm_nonneg _) norm_cylinderNativeLinear).trans (c.linear_bound l n k)) | |
| 1354 | - weight_eq l n k x hx hk := c.weight_eq l n k (cylinderNative x) hx hk | |
| 1355 | - ratioLower := c.ratioLower | |
| 1356 | - ratioUpper := c.ratioUpper | |
| 1357 | - ratio_pos := c.ratio_pos | |
| 1358 | - ratio_one := c.ratio_one | |
| 1359 | - scale_ratio := c.scale_ratio | |
| 1360 | - | |
| 1361 | -theorem cylinderCopyChart_pull {Λ I i E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 1362 | - {s : StripData Native} {V : JetDomain i Native} {weight : i → Native → ℝ} | |
| 1363 | - {K : Λ → ℕ → I → Set Native} (c : ActualSignedControl.CopyChart s V weight K) | |
| 1364 | - (f : i → Native → E) (l : Λ) (n : ℕ) (k : I) (x : Cylinder) : | |
| 1365 | - (cylinderCopyChart c).pull f l n k x = c.pull f l n k (cylinderNative x) := rfl | |
| 1366 | - | |
| 1367 | 1142 | /-! ## The actual cutoffs locate every nonzero native contribution -/ |
| 1368 | 1143 | |
| 1369 | 1144 | section CutoffSupport |
| @@ -1410,51 +1185,6 @@ theorem nativeCutoff_nonzero_mem (hr0 : 0 < r0) (L : Label H v a) {x : Native} | ||
| 1410 | 1185 | apply (BaseContextAssembly.nativeStrip_mem W _ _).mpr |
| 1411 | 1186 | exact ⟨⟨ht, hq⟩, hactive⟩ |
| 1412 | 1187 | |
| 1413 | -theorem nativeCutoff_zero_germ_outside_q (L : Label H v a) {x : Native} | |
| 1414 | - (ht : 0 < x.1.2.2) | |
| 1415 | - (hq : SimilarityHomogeneity.chartQ F.data.h x.1 ∉ Icc (1 / 2 : ℝ) 2) : | |
| 1416 | - nativeCutoff H v a L =ᶠ[𝓝 x] fun _ => 0 := by | |
| 1417 | - have he : SquaredPartition.dyadicProfile =ᶠ[𝓝 (SimilarityHomogeneity.chartQ F.data.h x.1)] fun _ => 0 := | |
| 1418 | - notMem_tsupport_iff_eventuallyEq.mp (by simpa only [SquaredPartition.dyadicProfile_tsupport] using hq) | |
| 1419 | - have hc : ContinuousAt (fun y : Native => SimilarityHomogeneity.chartQ F.data.h y.1) x := by | |
| 1420 | - exact ((SimilarityCoordinates.coordinateQ_smooth | |
| 1421 | - (by linarith [F.data.h_pos]) (by linarith [F.data.h_lt_half]) ht).continuousAt).comp | |
| 1422 | - (continuousAt_fst.snd.snd.prodMk continuousAt_fst.snd.fst) | |
| 1423 | - filter_upwards [hc.eventually he] with y hy | |
| 1424 | - simp only [nativeCutoff, hy, zero_mul] | |
| 1425 | - | |
| 1426 | -theorem nativeCutoff_zero_germ_outside_cell (L : Label H v a) {x : Native} | |
| 1427 | - (ht : 0 < x.1.2.2) (hx : x.1 ∉ (PrimaryGeometryAssembly.domain W a.N).carrier L) : | |
| 1428 | - nativeCutoff H v a L =ᶠ[𝓝 x] fun _ => 0 := by | |
| 1429 | - have hs : x.1 ∉ tsupport (PrimaryRepresentatives.nativeMask | |
| 1430 | - (BaseChartJets.cellBand L) (PrimaryGeometryAssembly.label W L).2) := by | |
| 1431 | - intro hs | |
| 1432 | - exact hx (PrimaryGeometryAssembly.native_support_in_carrier W L ⟨hs, ht⟩) | |
| 1433 | - have he := notMem_tsupport_iff_eventuallyEq.mp hs | |
| 1434 | - filter_upwards [continuousAt_fst.eventually he] with y hy | |
| 1435 | - simp only [nativeCutoff, hy, Pi.zero_apply, mul_zero, zero_mul] | |
| 1436 | - | |
| 1437 | -theorem copy_cutoff_mem_phaseCell (hr0 : 0 < r0) | |
| 1438 | - {vr vt : Plane} | |
| 1439 | - (sys : PartitionedCovariance.SlotSystem (CoordinateAlgebra.D F.data.h) F.data.h vr vt) | |
| 1440 | - (hdet : vr.1 * vt.2 - vr.2 * vt.1 ≠ 0) | |
| 1441 | - (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) | |
| 1442 | - {Λ : Type} (reference : Λ → ℕ → Label H v a) (chart index : ℕ → ℕ) | |
| 1443 | - (sign : Λ → ℕ → Fin 2) (l : Λ) (n : ℕ) (k : TorusInverse.Frequency) | |
| 1444 | - {x : Native} (hx : x ∈ (viewStrip W U chart).domain) | |
| 1445 | - (hn : nativeCutoff H v a (reference l n) | |
| 1446 | - (copyPoint sys hdet (copyLabel H v a reference sign l n) (chart n) (index (chart n)) k x) ≠ 0) : | |
| 1447 | - x ∈ phaseCell H v a sys hdet reference chart index sign l n k := by | |
| 1448 | - have hp := (viewStrip_mem W U chart x).mp hx | |
| 1449 | - have ht := BaseContextAssembly.nativeStrip_time W U hp | |
| 1450 | - have hr := BaseContextAssembly.nativeStrip_radius W U hp | |
| 1451 | - have ha := ((BaseContextAssembly.nativeStrip_mem W U _).mp hp).2 | |
| 1452 | - apply nativeCutoff_nonzero_mem H v a hr0 (reference l n) _ _ hn | |
| 1453 | - · exact slowChange_time (ChartScales.Q_pos _) (ChartScales.Q_pos _) ht | |
| 1454 | - · change PrimaryTargetBounds.profileRadius F.data.h (slowChange F.data.h _ _ x.1) ∈ _ | |
| 1455 | - rw [profileRadius_slowChange (ChartScales.Q_pos _) (ChartScales.Q_pos _) ht hr] | |
| 1456 | - exact ha | |
| 1457 | - | |
| 1458 | 1188 | end CutoffSupport |
| 1459 | 1189 | |
| 1460 | 1190 | /-! ## The solver's `(R,(T,Z))` parameter ordering -/ |
| @@ -1477,18 +1207,4 @@ noncomputable def parameterLinear (h Q Qr : ℝ) : Slow →L[ℝ] Slow := | ||
| 1477 | 1207 | @[simp] theorem parameterLinear_apply (h Q Qr : ℝ) (x : Slow) : |
| 1478 | 1208 | parameterLinear h Q Qr x = PhysicalParticularWave.parameterChange h Q Qr x := rfl |
| 1479 | 1209 | |
| 1480 | -theorem norm_parameterLinear_le (h : ℝ) {n m : ℕ} | |
| 1481 | - (hnm : n ≤ m + 4) (hmn : m ≤ n + 4) : | |
| 1482 | - ‖parameterLinear h (ChartScales.Q n) (ChartScales.Q m)‖ ≤ slowChangeCost h := by | |
| 1483 | - apply ContinuousLinearMap.opNorm_le_bound _ (zero_le_one.trans (slowChangeCost_one h)) | |
| 1484 | - intro x | |
| 1485 | - change ‖swapParameter (slowChange h (ChartScales.Q n) (ChartScales.Q m) (swapParameter x))‖ ≤ _ | |
| 1486 | - rw [LinearIsometryEquiv.norm_map] | |
| 1487 | - calc | |
| 1488 | - _ ≤ ‖slowChange h (ChartScales.Q n) (ChartScales.Q m)‖ * ‖swapParameter x‖ := | |
| 1489 | - (slowChange h _ _).le_opNorm _ | |
| 1490 | - _ ≤ slowChangeCost h * ‖x‖ := by | |
| 1491 | - rw [LinearIsometryEquiv.norm_map] | |
| 1492 | - exact mul_le_mul_of_nonneg_right (norm_slowChange_le h hnm hmn) (norm_nonneg _) | |
| 1493 | - | |
| 1494 | 1210 | end NavierStokes.ActualSignedGeometry |
+0 −247 NavierStokes/ActualSignedMeanBinding.lean View file
| @@ -31,45 +31,6 @@ abbrev Frequency := TorusInverse.Frequency | ||
| 31 | 31 | |
| 32 | 32 | /-! ## The legacy normalized-tail input cannot describe this chart -/ |
| 33 | 33 | |
| 34 | -theorem Q_le_half {n : ℕ} (hn : 1 ≤ n) : ChartScales.Q n ≤ 1 / 2 := by | |
| 35 | - calc | |
| 36 | - ChartScales.Q n ≤ (2 : ℝ) ^ (-1 : ℝ) := | |
| 37 | - Real.rpow_le_rpow_of_exponent_le (by norm_num) | |
| 38 | - (neg_le_neg (by exact_mod_cast hn : (1 : ℝ) ≤ n)) | |
| 39 | - _ = 1 / 2 := by norm_num | |
| 40 | - | |
| 41 | -theorem legacy_nativeData_excludes_strip (B : SignedMeanGain.NativeData ActualInitialization.geometry) | |
| 42 | - {x : Point} (hx : x ∈ ActualInitialization.geometry.strip.domain) : False := by | |
| 43 | - have hs := ActualInitialization.geometry.strip_subset hx | |
| 44 | - have hlarge : (1 / 2 : ℝ) < SimilarityCoordinates.coordinateQ (2 * h) x.2.1 := hs.2.1 | |
| 45 | - have hsmall := (B.tail_bound 0 x hx).trans (Q_le_half (B.index_pos 0)) | |
| 46 | - exact (not_lt_of_ge hsmall) hlarge | |
| 47 | - | |
| 48 | -theorem normalized_axis_scale : SimilarityCoordinates.coordinateQ (2 * h) (1, 0) = 1 := by | |
| 49 | - symm | |
| 50 | - exact SimilarityCoordinates.eq_coordinateQ (by linarith [outgoing.data.h_pos]) | |
| 51 | - (by linarith [outgoing.data.h_lt_half]) (by norm_num) (by norm_num) | |
| 52 | - (by simp [SimilarityCoordinates.forwardScalar]) | |
| 53 | - | |
| 54 | -theorem actual_strip_nonempty : ActualInitialization.geometry.strip.domain.Nonempty := by | |
| 55 | - let G := ActualInitialization.geometry | |
| 56 | - refine ⟨((G.patch.a + G.patch.b) / 2, ((1, 0), (0, 0))), ?_⟩ | |
| 57 | - apply (LocalSignedRequest.movingStrip_domain G.region G.patch.a G.patch.b | |
| 58 | - G.leftWeight G.rightWeight G.patch.a_pos G.left_pos G.right_pos | |
| 59 | - G.epsilon G.slow G.epsilon_pos G.epsilon_le_one G.slow_ge_one _).mpr | |
| 60 | - constructor | |
| 61 | - · change 0 < (1 : ℝ) ∧ SimilarityCoordinates.coordinateQ (2 * h) (1, 0) ∈ Ioo (1 / 2 : ℝ) 2 | |
| 62 | - rw [normalized_axis_scale] | |
| 63 | - norm_num | |
| 64 | - · change ((G.patch.a + G.patch.b) / 2) / | |
| 65 | - Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) (1, 0)) ∈ Ioo G.patch.a G.patch.b | |
| 66 | - rw [normalized_axis_scale, Real.sqrt_one, div_one] | |
| 67 | - constructor <;> linarith [G.patch.a_lt_b] | |
| 68 | - | |
| 69 | -theorem no_legacy_nativeData : IsEmpty (SignedMeanGain.NativeData ActualInitialization.geometry) := by | |
| 70 | - obtain ⟨x, hx⟩ := actual_strip_nonempty | |
| 71 | - exact ⟨fun B => legacy_nativeData_excludes_strip B hx⟩ | |
| 72 | - | |
| 73 | 34 | /-! ## Shared matrix, scaled target and ratio of the signed coefficients -/ |
| 74 | 35 | |
| 75 | 36 | variable {B N0 : ℕ} |
| @@ -100,12 +61,6 @@ theorem velocityScale_eq (L : Label B N0) (n : ℕ) : | ||
| 100 | 61 | simp only [velocityScale, PhysicalParticularWave.velocityWeight, PhysicalParticularWave.ratioPower, |
| 101 | 62 | Real.rpow_neg (ChartScales.Q_pos _).le, div_eq_mul_inv] |
| 102 | 63 | |
| 103 | -theorem commonMatrix_eq (L : Label B N0) (n : ℕ) (x : Point) (j : Fin 2) (k : Frequency) : | |
| 104 | - ActualSignedStageControls.matrix (L, j) k n (x, 0) = commonMatrix L n x := rfl | |
| 105 | - | |
| 106 | -theorem commonTarget_eq (L : Label B N0) (n : ℕ) (x : Point) (j : Fin 2) (k : Frequency) : | |
| 107 | - ActualSignedStageControls.target (L, j) k n (x, 0) = commonTarget L n x := rfl | |
| 108 | - | |
| 109 | 64 | theorem commonTarget_cone (L : Label B N0) (n : ℕ) {x : Point} |
| 110 | 65 | (hx : x ∈ ActualInitialization.geometry.strip.domain) |
| 111 | 66 | (hm : spatialMask L (nativePoint n x L) ≠ 0) : |
| @@ -189,15 +144,6 @@ theorem primaryBlock_eq_model (L : Label B N0) (j : Fin 2) : | ||
| 189 | 144 | ((chartCoefficients j L).withCutoff (chartCutoff j L)) |
| 190 | 145 | (fun _ => PrimaryGeometryAssembly.angularMode certificate modulation (choice B N0).prepared j L) := rfl |
| 191 | 146 | |
| 192 | -theorem primary_tangent_band (l : Label B N0 × Fin 2) : | |
| 193 | - (ActualInitialization.tangentBlock l).BandLimited 1 := | |
| 194 | - CorrectionInitialization.PrimaryHarmonics.block_band _ _ _ | |
| 195 | - | |
| 196 | -theorem actual_sameCarrier (request : ℕ → FullPoint → Vec2) (L : Label B N0) (j : Fin 2) : | |
| 197 | - LabelSumBounds.SameCarrier (ActualInitialization.tangentBlock (L, j)) | |
| 198 | - ((ActualSignedStageControls.parameters (L, j)).tangentBlock ActualInitialization.geometry.strip request) := | |
| 199 | - ⟨rfl, rfl, rfl⟩ | |
| 200 | - | |
| 201 | 147 | theorem signed_tangent_ratio (request : ℕ → FullPoint → Vec2) (L : Label B N0) |
| 202 | 148 | (n : ℕ) {x : Point} (hx : x ∈ ActualInitialization.geometry.strip.domain) |
| 203 | 149 | (j : Fin 2) (theta : ℝ) (i : Fin 3) : |
| @@ -215,14 +161,6 @@ theorem signed_tangent_ratio (request : ℕ → FullPoint → Vec2) (L : Label B | ||
| 215 | 161 | zero_mul, mul_zero, add_zero, sub_zero] |
| 216 | 162 | ring |
| 217 | 163 | |
| 218 | -theorem signedRatio_fiber (c : CorrectionState.Context Point) (u : CorrectionState.State Point) | |
| 219 | - (L : Label B N0) (n : ℕ) (x : Point) (Y : TorusInverse.Plane) (j : Fin 2) : | |
| 220 | - signedRatio (LocalSignedRequest.fullRequest ActualInitialization.geometry.strip | |
| 221 | - ActualInitialization.geometry.patch ActualInitialization.geometry.coord c u) | |
| 222 | - L n (x.1, (x.2.1, Y)) j = | |
| 223 | - signedRatio (LocalSignedRequest.fullRequest ActualInitialization.geometry.strip | |
| 224 | - ActualInitialization.geometry.patch ActualInitialization.geometry.coord c u) L n x j := rfl | |
| 225 | - | |
| 226 | 164 | /-! ## Individual primary modes at the actual common cover -/ |
| 227 | 165 | |
| 228 | 166 | theorem primary_mode_view (n : ℕ) {x : Point} |
| @@ -470,171 +408,14 @@ theorem requested_cross_tail (B N0 : ℕ) (c : CorrectionState.Context Point) | ||
| 470 | 408 | rw [requested_cross_factor B N0 c u n hx i, |
| 471 | 409 | partitionFactor_eq_one B N0 n hx (physicalScale_tail B N0 hn hx), one_mul] |
| 472 | 410 | |
| 473 | -/-- Earlier bands retain their actual cutoff deficit. In particular this | |
| 474 | -theorem makes no assertion of cancellation on every normalized band. -/ | |
| 475 | -theorem requested_cross_defect (B N0 : ℕ) (c : CorrectionState.Context Point) | |
| 476 | - (u : CorrectionState.State Point) (n : ℕ) {x : Point} | |
| 477 | - (hx : x ∈ ActualInitialization.geometry.strip.domain) (i : Fin 2) : | |
| 478 | - StateMomentBalances.meanBar (actualCross B N0 c u 0 i.succ) n x - | |
| 479 | - LocalSignedRequest.requestedStress ActualInitialization.geometry.patch | |
| 480 | - ActualInitialization.geometry.coord c u n x i = | |
| 481 | - -missingWeight (choice B N0).prepared.N (physicalScale n x) * | |
| 482 | - LocalSignedRequest.requestedStress ActualInitialization.geometry.patch | |
| 483 | - ActualInitialization.geometry.coord c u n x i := by | |
| 484 | - rw [requested_cross_factor B N0 c u n hx i, partitionFactor_eq_one_sub_missing B N0 n hx] | |
| 485 | - ring | |
| 486 | - | |
| 487 | -theorem theta_cross_tail (B N0 : ℕ) (c : CorrectionState.Context Point) | |
| 488 | - (u : CorrectionState.State Point) {n : ℕ} | |
| 489 | - (hn : (choice B N0).prepared.N + 1 ≤ n) {x : Point} | |
| 490 | - (hx : x ∈ ActualInitialization.geometry.strip.domain) : | |
| 491 | - StateMomentBalances.meanBar (actualCross B N0 c u 0 1) n x = | |
| 492 | - SignedMeanGain.physicalSigma ActualInitialization.geometry 2 (u.thetaResidual c) n x := | |
| 493 | - requested_cross_tail B N0 c u hn hx 0 | |
| 494 | - | |
| 495 | -theorem axial_cross_tail (B N0 : ℕ) (c : CorrectionState.Context Point) | |
| 496 | - (u : CorrectionState.State Point) {n : ℕ} | |
| 497 | - (hn : (choice B N0).prepared.N + 1 ≤ n) {x : Point} | |
| 498 | - (hx : x ∈ ActualInitialization.geometry.strip.domain) : | |
| 499 | - StateMomentBalances.meanBar (actualCross B N0 c u 0 2) n x = | |
| 500 | - SignedMeanGain.physicalSigma ActualInitialization.geometry 1 (u.axialResidual c) n x := | |
| 501 | - requested_cross_tail B N0 c u hn hx 1 | |
| 502 | - | |
| 503 | -theorem requested_cross_tail_jets (B N0 : ℕ) (c : CorrectionState.Context Point) | |
| 504 | - (u : CorrectionState.State Point) {n : ℕ} | |
| 505 | - (hn : (choice B N0).prepared.N + 1 ≤ n) {x : Point} | |
| 506 | - (hx : x ∈ ActualInitialization.geometry.strip.domain) (i : Fin 2) (m : ℕ) : | |
| 507 | - iteratedFDeriv ℝ m (StateMomentBalances.meanBar (actualCross B N0 c u 0 i.succ) n) x = | |
| 508 | - iteratedFDeriv ℝ m (fun x => LocalSignedRequest.requestedStress | |
| 509 | - ActualInitialization.geometry.patch ActualInitialization.geometry.coord c u n x i) x := by | |
| 510 | - exact (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq | |
| 511 | - (eventually_of_mem (ActualInitialization.geometry.strip.isOpen_domain.mem_nhds hx) | |
| 512 | - (fun y hy => requested_cross_tail B N0 c u hn hy i)) m).self_of_nhds | |
| 513 | - | |
| 514 | 411 | /-! ## Binding to the signed family of the literal correction cycle -/ |
| 515 | 412 | |
| 516 | 413 | open CorrectionStep CorrectionState |
| 517 | 414 | |
| 518 | -/-- This is the actual cycle constructor with its particular solver left | |
| 519 | -as a parameter. Both fixed and state-dependent actual particular solvers | |
| 520 | -use this very signed subsystem. -/ | |
| 521 | -noncomputable def cycleParameters | |
| 522 | - (particular : (Label B N0 × Fin 2) → ParticularParameters CycleSlow) : | |
| 523 | - CycleParameters (Label B N0 × Fin 2) := | |
| 524 | - CycleParameters.ofGeometry ActualInitialization.geometry h | |
| 525 | - (CorrectionInitialization.CommonWindow.index h) ActualInitialization.axial | |
| 526 | - particular ActualSignedStageControls.parameters rankData | |
| 527 | - | |
| 528 | -theorem cycle_signedRequest_eq | |
| 529 | - (particular : (Label B N0 × Fin 2) → ParticularParameters CycleSlow) | |
| 530 | - (v : CycleCoefficients (Label B N0 × Fin 2)) (c : Context Point) (u : State Point) : | |
| 531 | - (cycleParameters particular).signedRequest v c u = | |
| 532 | - actualRequest c ((cycleParameters particular).afterParticular v c u) := rfl | |
| 533 | - | |
| 534 | -theorem cycle_signedTangent_eq | |
| 535 | - (particular : (Label B N0 × Fin 2) → ParticularParameters CycleSlow) | |
| 536 | - (v : CycleCoefficients (Label B N0 × Fin 2)) (c : Context Point) (u : State Point) | |
| 537 | - (l : Label B N0 × Fin 2) : | |
| 538 | - (cycleParameters particular).signedTangent v c u l = | |
| 539 | - actualSignedBlock c ((cycleParameters particular).afterParticular v c u) l := rfl | |
| 540 | - | |
| 541 | -theorem cycle_signed_sameCarrier | |
| 542 | - (particular : (Label B N0 × Fin 2) → ParticularParameters CycleSlow) | |
| 543 | - (v : CycleCoefficients (Label B N0 × Fin 2)) (c : Context Point) (u : State Point) | |
| 544 | - (l : Label B N0 × Fin 2) : | |
| 545 | - LabelSumBounds.SameCarrier (ActualInitialization.tangentBlock l) | |
| 546 | - ((cycleParameters particular).signedBlock v c u l) := ⟨rfl, rfl, rfl⟩ | |
| 547 | - | |
| 548 | -theorem cycle_current_signedCarrier | |
| 549 | - (particular : (Label B N0 × Fin 2) → ParticularParameters CycleSlow) | |
| 550 | - (v : CycleCoefficients (Label B N0 × Fin 2)) (c : Context Point) (u : State Point) | |
| 551 | - (hcp : ∀ l, LabelSumBounds.SameCarrier (v.blocks l) (ActualInitialization.tangentBlock l)) | |
| 552 | - (l : Label B N0 × Fin 2) : | |
| 553 | - LabelSumBounds.SameCarrier (v.blocks l) ((cycleParameters particular).signedBlock v c u l) := | |
| 554 | - ⟨(hcp l).frequency, (hcp l).phase, (hcp l).angular⟩ | |
| 555 | - | |
| 556 | -theorem fixedParameters_eq_cycle (B N0 : ℕ) : | |
| 557 | - ActualCycleParameters.fixedParameters B N0 = | |
| 558 | - cycleParameters (fun l : Label B N0 × Fin 2 => | |
| 559 | - ActualParticularStageControls.canonicalParameters (l.2, l.1)) := rfl | |
| 560 | - | |
| 561 | -theorem parameters_eq_cycle (x : CycleState (Label B N0 × Fin 2)) : | |
| 562 | - ActualCycleParameters.parameters x = | |
| 563 | - cycleParameters (fun l => ActualParticularStageControls.parameters | |
| 564 | - (ActualCycleParameters.particularState x) (ActualCycleParameters.swap B N0 l)) := rfl | |
| 565 | - | |
| 566 | -theorem initial_labels (B N0 : ℕ) : | |
| 567 | - (ActualInitialization.coefficients B N0).labels = activeLabels standardRegion B N0 := rfl | |
| 568 | - | |
| 569 | -theorem next_labels | |
| 570 | - (p : CycleParameters (Label B N0 × Fin 2)) | |
| 571 | - (v : CycleCoefficients (Label B N0 × Fin 2)) (c : Context Point) (u : State Point) : | |
| 572 | - (p.nextCoefficients v c u).labels = v.labels := rfl | |
| 573 | - | |
| 574 | 415 | /-! The cycle field identity is stated without expanding its quantitative |
| 575 | 416 | `SignedFamily` proof object. Its coefficient projections are all that the |
| 576 | 417 | covariance uses. -/ |
| 577 | 418 | |
| 578 | -theorem cycle_cross_eq | |
| 579 | - (particular : (Label B N0 × Fin 2) → ParticularParameters CycleSlow) | |
| 580 | - (v : CycleCoefficients (Label B N0 × Fin 2)) (c : Context Point) (u : State Point) | |
| 581 | - (hlabels : v.labels = activeLabels standardRegion B N0) : | |
| 582 | - LabelSumBounds.symmetricCovariance | |
| 583 | - (LabelSumBounds.fieldSum v.labels (fun l => (ActualInitialization.tangentBlock l).oscillation)) | |
| 584 | - (LabelSumBounds.fieldSum v.labels | |
| 585 | - (fun l => ((cycleParameters particular).signedTangent v c u l).oscillation)) = | |
| 586 | - actualCross B N0 c ((cycleParameters particular).afterParticular v c u) := by | |
| 587 | - rw [hlabels] | |
| 588 | - rfl | |
| 589 | - | |
| 590 | -theorem cycle_requested_cross_tail | |
| 591 | - (particular : (Label B N0 × Fin 2) → ParticularParameters CycleSlow) | |
| 592 | - (v : CycleCoefficients (Label B N0 × Fin 2)) (c : Context Point) (u : State Point) | |
| 593 | - (hlabels : v.labels = activeLabels standardRegion B N0) {n : ℕ} | |
| 594 | - (hn : (choice B N0).prepared.N + 1 ≤ n) {x : Point} | |
| 595 | - (hx : x ∈ ActualInitialization.geometry.strip.domain) (i : Fin 2) : | |
| 596 | - StateMomentBalances.meanBar (LabelSumBounds.symmetricCovariance | |
| 597 | - (LabelSumBounds.fieldSum v.labels (fun l => (ActualInitialization.tangentBlock l).oscillation)) | |
| 598 | - (LabelSumBounds.fieldSum v.labels | |
| 599 | - (fun l => ((cycleParameters particular).signedTangent v c u l).oscillation)) 0 i.succ) n x = | |
| 600 | - LocalSignedRequest.requestedStress ActualInitialization.geometry.patch | |
| 601 | - ActualInitialization.geometry.coord c ((cycleParameters particular).afterParticular v c u) n x i := by | |
| 602 | - rw [cycle_cross_eq particular v c u hlabels] | |
| 603 | - exact requested_cross_tail B N0 c _ hn hx i | |
| 604 | - | |
| 605 | -theorem fixed_requested_cross_tail | |
| 606 | - (v : CycleCoefficients (Label B N0 × Fin 2)) (c : Context Point) (u : State Point) | |
| 607 | - (hlabels : v.labels = activeLabels standardRegion B N0) {n : ℕ} | |
| 608 | - (hn : (choice B N0).prepared.N + 1 ≤ n) {x : Point} | |
| 609 | - (hx : x ∈ ActualInitialization.geometry.strip.domain) (i : Fin 2) : | |
| 610 | - StateMomentBalances.meanBar (LabelSumBounds.symmetricCovariance | |
| 611 | - (LabelSumBounds.fieldSum v.labels (fun l => (ActualInitialization.tangentBlock l).oscillation)) | |
| 612 | - (LabelSumBounds.fieldSum v.labels | |
| 613 | - (fun l => ((ActualCycleParameters.fixedParameters B N0).signedTangent v c u l).oscillation)) | |
| 614 | - 0 i.succ) n x = | |
| 615 | - LocalSignedRequest.requestedStress ActualInitialization.geometry.patch | |
| 616 | - ActualInitialization.geometry.coord c | |
| 617 | - ((ActualCycleParameters.fixedParameters B N0).afterParticular v c u) n x i := by | |
| 618 | - rw [fixedParameters_eq_cycle] | |
| 619 | - exact cycle_requested_cross_tail _ v c u hlabels hn hx i | |
| 620 | - | |
| 621 | -theorem literal_requested_cross_tail (state : CycleState (Label B N0 × Fin 2)) | |
| 622 | - (hlabels : state.coefficients.labels = activeLabels standardRegion B N0) {n : ℕ} | |
| 623 | - (hn : (choice B N0).prepared.N + 1 ≤ n) {x : Point} | |
| 624 | - (hx : x ∈ ActualInitialization.geometry.strip.domain) (i : Fin 2) : | |
| 625 | - StateMomentBalances.meanBar (LabelSumBounds.symmetricCovariance | |
| 626 | - (LabelSumBounds.fieldSum state.coefficients.labels | |
| 627 | - (fun l => (ActualInitialization.tangentBlock l).oscillation)) | |
| 628 | - (LabelSumBounds.fieldSum state.coefficients.labels | |
| 629 | - (fun l => ((ActualCycleParameters.parameters state).signedTangent | |
| 630 | - state.coefficients (commonContext B) state.state l).oscillation)) 0 i.succ) n x = | |
| 631 | - LocalSignedRequest.requestedStress ActualInitialization.geometry.patch | |
| 632 | - ActualInitialization.geometry.coord (commonContext B) | |
| 633 | - ((ActualCycleParameters.parameters state).afterParticular | |
| 634 | - state.coefficients (commonContext B) state.state) n x i := by | |
| 635 | - rw [parameters_eq_cycle] | |
| 636 | - exact cycle_requested_cross_tail _ state.coefficients (commonContext B) state.state hlabels hn hx i | |
| 637 | - | |
| 638 | 419 | section Family |
| 639 | 420 | |
| 640 | 421 | variable {P : (Label B N0 × Fin 2) → ℕ → Point → ℝ} {α δ β η : ℝ} |
| @@ -666,34 +447,6 @@ theorem family_requested_cross_tail (c : Context Point) (u : State Point) | ||
| 666 | 447 | rw [family_cross_eq c u f a hprimary htangent hlabels] |
| 667 | 448 | exact requested_cross_tail B N0 c u hn hx i |
| 668 | 449 | |
| 669 | -/-- Every requested exponent follows for the literal finite-head defects. | |
| 670 | -The analytic inputs are the usual supported residual/coefficient estimates, | |
| 671 | -not an assumption on the cross defect or its vanishing. -/ | |
| 672 | -theorem family_defects_all_exponents (c : Context Point) (u : State Point) {σ κ : ℝ} | |
| 673 | - (f : LabelSumBounds.SignedFamily ActualInitialization.geometry.strip P (1 / 2) (17 / 25) | |
| 674 | - (1 / 2 + σ - κ) (1 + σ - 2 * κ)) (a : SignedMeanGain.Assembly f) | |
| 675 | - (hprimary : f.primary = ActualInitialization.tangentBlock) | |
| 676 | - (htangent : f.tangent = actualSignedBlock c u) | |
| 677 | - (hlabels : a.labels = activeLabels standardRegion B N0) | |
| 678 | - (hS : ∀ i j, SignedMeanGain.MovingField ActualInitialization.geometry | |
| 679 | - (SignedMeanGain.crossTensor f a i j)) | |
| 680 | - (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region | |
| 681 | - ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b c u) | |
| 682 | - (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge c u).pressure = u.pressure) | |
| 683 | - (hθ : WeightedClasses.MeanClass ActualInitialization.geometry.strip (1 + σ - κ) (u.thetaResidual c)) | |
| 684 | - (hz : WeightedClasses.MeanClass ActualInitialization.geometry.strip (1 + σ - κ) (u.axialResidual c)) : | |
| 685 | - ∀ γ : ℝ, | |
| 686 | - WeightedClasses.MeanClass ActualInitialization.geometry.strip γ | |
| 687 | - (StateMomentBalances.meanBar (SignedMeanGain.crossTensor f a 0 1) - | |
| 688 | - SignedMeanGain.physicalSigma ActualInitialization.geometry 2 (u.thetaResidual c)) ∧ | |
| 689 | - WeightedClasses.MeanClass ActualInitialization.geometry.strip γ | |
| 690 | - (StateMomentBalances.meanBar (SignedMeanGain.crossTensor f a 0 2) - | |
| 691 | - SignedMeanGain.physicalSigma ActualInitialization.geometry 1 (u.axialResidual c)) := by | |
| 692 | - apply SignedCrossDefectClass.residual_defects_all_exponents_of_primitive | |
| 693 | - ActualInitialization.geometry c u f a hS H hfixed hθ hz ((choice B N0).prepared.N + 1) | |
| 694 | - intro n hn x hx i | |
| 695 | - exact family_requested_cross_tail c u f a hprimary htangent hlabels hn hx i | |
| 696 | - | |
| 697 | 450 | end Family |
| 698 | 451 | |
| 699 | 452 | end NavierStokes.ActualSignedMeanBinding |
+0 −21 NavierStokes/ActualSignedNativeBounds.lean View file
| @@ -680,25 +680,4 @@ theorem source_bounds {β : ℝ} | ||
| 680 | 680 | |
| 681 | 681 | end Bounds |
| 682 | 682 | |
| 683 | -/-- The request premise can itself be discharged by the measured theta and | |
| 684 | -axial residual classes of this same reconstructed state. -/ | |
| 685 | -theorem source_bounds_from_residuals | |
| 686 | - (u : State LocalSignedRequest.Point) (α : ℝ) | |
| 687 | - (H : MeanStateRegularity.PrimitiveData standardRegion | |
| 688 | - ActualInitialization.patch.a ActualInitialization.patch.b (commonContext B) u) | |
| 689 | - (hp : GaugeMomentBalances.MovingField standardRegion | |
| 690 | - ActualInitialization.patch.a ActualInitialization.patch.b u.pressure) | |
| 691 | - (hfixed : VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge | |
| 692 | - (commonContext B) u = u) | |
| 693 | - (hθ : MeanClass ActualInitialization.geometry.strip α (u.thetaResidual (commonContext B))) | |
| 694 | - (hz : MeanClass ActualInitialization.geometry.strip α (u.axialResidual (commonContext B))) : | |
| 695 | - LocalPhysicalCopyBounds.LocalSourceBounds ActualPrimaryBounds.strip h α weight | |
| 696 | - (potentialSource (N0 := N0) ActualInitialization.patch u H hp) ∧ | |
| 697 | - LocalPhysicalCopyBounds.LocalSourceBounds ActualPrimaryBounds.strip h α weight | |
| 698 | - (pressureSource (N0 := N0) ActualInitialization.patch u H hp) := by | |
| 699 | - have hR := ActualSignedStageControls.fullRequest_jets_from_residuals | |
| 700 | - ActualInitialization.geometry (commonContext B) u α H hfixed hθ hz | |
| 701 | - (ActualSignedStageControls.phaseCell (B := B) (N0 := N0)) | |
| 702 | - simpa only [sub_add_cancel] using source_bounds ActualInitialization.patch u H hp hR | |
| 703 | - | |
| 704 | 683 | end NavierStokes.ActualSignedNativeBounds |
+0 −45 NavierStokes/ActualSignedNativeRegularity.lean View file
| @@ -202,16 +202,9 @@ noncomputable def nativeCylinderMap : Native →L[ℝ] PhysicalSignedWave.Cylind | ||
| 202 | 202 | let swap := (ContinuousLinearMap.snd ℝ ℝ ℝ).prod (ContinuousLinearMap.fst ℝ ℝ ℝ) |
| 203 | 203 | (r.prod ((swap.comp tz).prod y)).prod 0 |
| 204 | 204 | |
| 205 | -theorem nativeCylinderMap_apply (y : Native) : | |
| 206 | - nativeCylinderMap y = ActualSignedPhysicalData.nativeCylinder y := rfl | |
| 207 | - | |
| 208 | 205 | noncomputable def nativeToCommon {B N0 : ℕ} (l : Label B N0) : Native →L[ℝ] FullPoint := |
| 209 | 206 | (ActualSignedPhysicalBinding.toCommonCylinder l).toContinuousLinearMap.comp nativeCylinderMap |
| 210 | 207 | |
| 211 | -theorem nativeToCommon_apply {B N0 : ℕ} (l : Label B N0) (y : Native) : | |
| 212 | - nativeToCommon l y = ActualSignedPhysicalBinding.toCommonCylinder l | |
| 213 | - (ActualSignedPhysicalData.nativeCylinder y) := rfl | |
| 214 | - | |
| 215 | 208 | noncomputable def nativeQ (y : Native) : ℝ := |
| 216 | 209 | SimilarityCoordinates.coordinateQ (2 * ActualPrimary.h) y.2.1 |
| 217 | 210 | |
| @@ -252,14 +245,6 @@ theorem primary_mask_zero_outside {B N0 : ℕ} (l : Label B N0) (n : ℕ) | ||
| 252 | 245 | by_contra hn |
| 253 | 246 | exact ho (ActualPrimary.spatialMask_q_range l.1 (x.1.1,x.1.2.1) hn) |
| 254 | 247 | |
| 255 | -theorem referenceScalar_zero_outside {B N0 : ℕ} (l : Label B N0) | |
| 256 | - (request : ℕ → PhysicalSignedWave.Cylinder → SignedWaveUpdate.Vec2) | |
| 257 | - (j : Fin 2) (n : ℕ) (x : PhysicalSignedWave.Cylinder) | |
| 258 | - (ho : SimilarityCoordinates.coordinateQ (2 * ActualPrimary.h) (x.1.2.1.2,x.1.2.1.1) ∉ Ioo (1/2 : ℝ) 2) : | |
| 259 | - ActualPeriodizedSignedRealization.referenceScalar (ActualSignedPhysicalBinding.primary l) request j n x = 0 := by | |
| 260 | - simp only [ActualPeriodizedSignedRealization.referenceScalar, SignedWaveUpdate.signedScalar, | |
| 261 | - primary_mask_zero_outside l n x ho, mul_zero] | |
| 262 | - | |
| 263 | 248 | section ActualCoefficients |
| 264 | 249 | |
| 265 | 250 | open ActualSignedUnmaskedBounds |
| @@ -493,36 +478,6 @@ theorem nativeRegular_from_residuals | ||
| 493 | 478 | nativeRegular ActualInitialization.patch u H hp |
| 494 | 479 | (request_jets_from_residuals u α H hfixed hθ hz) L |
| 495 | 480 | |
| 496 | -/-- This is the literal post-particular state used to construct the | |
| 497 | -canonical signed physical family, with its initialization and gauge intact. -/ | |
| 498 | -theorem cycleNativeRegular | |
| 499 | - (x : CorrectionStep.CycleState (Label B N0)) | |
| 500 | - (H : MeanStateRegularity.PrimitiveData ActualPrimary.standardRegion | |
| 501 | - ActualInitialization.patch.a ActualInitialization.patch.b (ActualPrimary.commonContext B) | |
| 502 | - ((ActualCycleParameters.fixedParameters B N0).afterParticular | |
| 503 | - x.coefficients (ActualPrimary.commonContext B) x.state)) | |
| 504 | - (hp : GaugeMomentBalances.MovingField ActualPrimary.standardRegion | |
| 505 | - ActualInitialization.patch.a ActualInitialization.patch.b | |
| 506 | - ((ActualCycleParameters.fixedParameters B N0).afterParticular | |
| 507 | - x.coefficients (ActualPrimary.commonContext B) x.state).pressure) | |
| 508 | - (α : ℝ) | |
| 509 | - (hfixed : VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge | |
| 510 | - (ActualPrimary.commonContext B) | |
| 511 | - ((ActualCycleParameters.fixedParameters B N0).afterParticular | |
| 512 | - x.coefficients (ActualPrimary.commonContext B) x.state) = | |
| 513 | - ((ActualCycleParameters.fixedParameters B N0).afterParticular | |
| 514 | - x.coefficients (ActualPrimary.commonContext B) x.state)) | |
| 515 | - (hθ : MeanClass ActualInitialization.geometry.strip α | |
| 516 | - (((ActualCycleParameters.fixedParameters B N0).afterParticular | |
| 517 | - x.coefficients (ActualPrimary.commonContext B) x.state).thetaResidual (ActualPrimary.commonContext B))) | |
| 518 | - (hz : MeanClass ActualInitialization.geometry.strip α | |
| 519 | - (((ActualCycleParameters.fixedParameters B N0).afterParticular | |
| 520 | - x.coefficients (ActualPrimary.commonContext B) x.state).axialResidual (ActualPrimary.commonContext B))) | |
| 521 | - (L : NativeLabel B N0) : | |
| 522 | - ActualSignedPhysicalData.NativeRegular ActualPrimary.slots ActualPrimary.outgoing.data.h_pos.le | |
| 523 | - ((ActualSignedExterior.cycleFamily x H hp).singleton L) := | |
| 524 | - nativeRegular_from_residuals _ H hp α hfixed hθ hz L | |
| 525 | - | |
| 526 | 481 | end ActualResiduals |
| 527 | 482 | |
| 528 | 483 | end NavierStokes.ActualSignedNativeRegularity |
+0 −36 NavierStokes/ActualSignedOutputBounds.lean View file
| @@ -45,14 +45,6 @@ theorem primary_local {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | ||
| 45 | 45 | theorem envelope_nonneg (l : SignedLabel B N0) (n : ℕ) (x : FullPoint) : |
| 46 | 46 | 0 ≤ envelope l n x := ActualPrimaryBounds.fullEnvelope_nonneg (l.2, l.1) n x |
| 47 | 47 | |
| 48 | -theorem background_normal_eq (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) : | |
| 49 | - (jointRawBackground (copies (B := B) (N0 := N0) request)).normal fullStrip (directions B) = | |
| 50 | - fun n i => ActualPrimaryBounds.actualFamily.normal fullStrip (directions B) n (primaryIndex i) := rfl | |
| 51 | - | |
| 52 | -theorem background_defect_eq (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) : | |
| 53 | - (jointRawBackground (copies (B := B) (N0 := N0) request)).defect fullStrip (directions B) = | |
| 54 | - fun n i => ActualPrimaryBounds.actualFamily.defect fullStrip (directions B) n (primaryIndex i) := rfl | |
| 55 | - | |
| 56 | 48 | /-- This background certificate has zero amplitude and pressure. Every |
| 57 | 49 | nonzero field in it is an actual primary background or phase expression. -/ |
| 58 | 50 | theorem background_inputs (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) : |
| @@ -326,32 +318,4 @@ theorem localized_pressure_jets {β : ℝ} {request : ℕ → FullPoint → Sign | ||
| 326 | 318 | rw [show β + 1 / 2 + 1 / 2 = β + 1 by ring] at hp |
| 327 | 319 | exact hp.to_uniformLocalJets |
| 328 | 320 | |
| 329 | -/-- Native potential and pressure bounds directly from the actual | |
| 330 | -incoming residual classes, before their distinct physical prefactors. -/ | |
| 331 | -theorem actual_native_potential_pressure_jets (G : SignedMeanGain.Geometry) | |
| 332 | - (hs : G.strip = ActualPrimaryBounds.strip) | |
| 333 | - (c : CorrectionState.Context Point) (u : CorrectionState.State Point) (α : ℝ) | |
| 334 | - (H : MeanStateRegularity.PrimitiveData G.region G.patch.a G.patch.b c u) | |
| 335 | - (hfixed : VariableGaugeMean.reconstructState G.gauge c u = u) | |
| 336 | - (hθ : MeanClass G.strip α (u.thetaResidual c)) | |
| 337 | - (hz : MeanClass G.strip α (u.axialResidual c)) : | |
| 338 | - let request := LocalSignedRequest.fullRequest G.strip G.patch G.coord c u | |
| 339 | - PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 340 | - (fun l n x => Real.sqrt (fullStrip.zeta x) * envelope l n x) α | |
| 341 | - (phaseCell (B := B) (N0 := N0)) (localPotential request) ∧ | |
| 342 | - PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 343 | - (fun l n x => Real.sqrt (fullStrip.zeta x) * envelope l n x) α | |
| 344 | - (phaseCell (B := B) (N0 := N0)) | |
| 345 | - (fun l n k => ((copies request l).localized k).pressure n) := by | |
| 346 | - dsimp only | |
| 347 | - have hr := fullRequest_jets_from_residuals G c u α H hfixed hθ hz | |
| 348 | - (phaseCell (B := B) (N0 := N0)) | |
| 349 | - have hr' : ∀ q, PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 350 | - (fun _ _ x => fullStrip.zeta x) (α - 1) (phaseCell (B := B) (N0 := N0)) | |
| 351 | - (fun _ n _ x => LocalSignedRequest.fullRequest G.strip G.patch G.coord c u n x q) := by | |
| 352 | - simp only [hs] at hr ⊢ | |
| 353 | - exact hr | |
| 354 | - exact ⟨by simpa only [sub_add_cancel] using localPotential_jets hr', | |
| 355 | - by simpa only [sub_add_cancel] using localized_pressure_jets hr'⟩ | |
| 356 | - | |
| 357 | 321 | end NavierStokes.ActualSignedOutputBounds |
+0 −60 NavierStokes/ActualSignedPhysicalBinding.lean View file
| @@ -174,17 +174,6 @@ theorem primary_phase (l : Label B N0) (n : ℕ) : | ||
| 174 | 174 | rw [div_self hK, one_mul] |
| 175 | 175 | rfl |
| 176 | 176 | |
| 177 | -/-- The native record retains the exact annular domain; it is not an empty | |
| 178 | -or shrinking domain chosen to make the reference data vacuous. -/ | |
| 179 | -theorem primary_domain (l : Label B N0) (x : Cylinder) : | |
| 180 | - x ∈ (primary l).strip.domain ↔ | |
| 181 | - PhysicalResidualTZ.swapSlow x.1 ∈ | |
| 182 | - (BaseContextAssembly.nativeStrip nominal standardRegion).domain := Iff.rfl | |
| 183 | - | |
| 184 | -theorem primary_time_pos (l : Label B N0) {x : Cylinder} | |
| 185 | - (hx : x ∈ (primary l).strip.domain) : 0 < x.1.2.1.2 := | |
| 186 | - BaseContextAssembly.nativeStrip_time nominal standardRegion hx | |
| 187 | - | |
| 188 | 177 | theorem primary_slow_mem (l : Label B N0) {x : Cylinder} |
| 189 | 178 | (hx : x ∈ (primary l).strip.domain) : (x.1.2.1.2, x.1.2.1.1) ∈ standardRegion.carrier := |
| 190 | 179 | ((BaseContextAssembly.nativeStrip_mem nominal standardRegion |
| @@ -439,13 +428,6 @@ theorem signed_action_reference (l : Label B N0) (k : TorusInverse.Frequency) {x | ||
| 439 | 428 | rw [nativeClock_on_core l k hx] |
| 440 | 429 | rfl |
| 441 | 430 | |
| 442 | -/-- The lower endpoint is the integration anchor; the physical carrier | |
| 443 | -retains the individual copy midpoint. -/ | |
| 444 | -theorem carrier_midpoint (l : Label B N0) (k : TorusInverse.Frequency) : | |
| 445 | - ActualSignedPhysicalData.center (h := h) (spatialLabel l) k = | |
| 446 | - (geometry l).center + TorusAverages.latticePoint k + slots.radius • ActualSignedGeometry.temporalVector := | |
| 447 | - ActualSignedPhysicalData.center_eq_anchor slots (spatialLabel l) 0 k | |
| 448 | - | |
| 449 | 431 | theorem primary_radial_pull (l : Label B N0) (n : ℕ) (x : Cylinder) : |
| 450 | 432 | (primary l).directions.radialField n x = |
| 451 | 433 | (toCommonCylinder l).symm ((PrimaryResidualClass.directions (commonContext B)).radialField |
| @@ -690,18 +672,6 @@ theorem localized_pressure_reference (k : TorusInverse.Frequency) (x : Cylinder) | ||
| 690 | 672 | · simp only [hc, Complex.ofReal_zero, zero_mul] |
| 691 | 673 | · rw [raw_pressure_reference l P u H hp k (reference_cutoff_core l P u H hp k hc)] |
| 692 | 674 | |
| 693 | -theorem referenceCopies_eq_nativeCopies : | |
| 694 | - referenceCopies l P u H hp = nativeCopies l P u := rfl | |
| 695 | - | |
| 696 | -/-- Exact cutoff repartition into the existing compact periodized family. -/ | |
| 697 | -theorem referenceCopies_localized (k : TorusInverse.Frequency) : | |
| 698 | - (referenceCopies l P u H hp).localized k = | |
| 699 | - (ActualPeriodizedSignedRealization.copyData (primary l) (layout l) (nativeViews l) | |
| 700 | - (nativeStateData l P u H hp).referenceRequest l.2).localized k := | |
| 701 | - ActualSignedPhysicalData.dynamic_localized_eq slots outgoing.data.h_pos.le | |
| 702 | - (spatialLabel l) (label_large l) 0 (primary l) (nativeViews l) | |
| 703 | - (nativeStateData l P u H hp).referenceRequest l.2 k | |
| 704 | - | |
| 705 | 675 | theorem common_amplitude_reference (x : Cylinder) : |
| 706 | 676 | (commonCopies l P u).common.amplitude (reference l) (toCommonCylinder l x) = |
| 707 | 677 | (referenceCopies l P u H hp).common.amplitude (reference l) x := by |
| @@ -770,14 +740,6 @@ theorem curlPotential_reference (x : Cylinder) : | ||
| 770 | 740 | rw [reference_phase] |
| 771 | 741 | rfl |
| 772 | 742 | |
| 773 | -theorem reference_exactCoefficients : | |
| 774 | - (referenceCopies l P u H hp).commonCorrected (primary l).strip (primary l).directions = | |
| 775 | - (ActualPeriodizedSignedRealization.views (primary l) (layout l) (nativeViews l)).exactCoefficients | |
| 776 | - (nativeStateData l P u H hp).referenceRequest l.2 := | |
| 777 | - ActualSignedPhysicalData.dynamic_commonCorrected_eq slots outgoing.data.h_pos.le | |
| 778 | - (spatialLabel l) (label_large l) 0 (primary l) (nativeViews l) | |
| 779 | - (nativeStateData l P u H hp).referenceRequest l.2 | |
| 780 | - | |
| 781 | 743 | end LocalizedComparison |
| 782 | 744 | |
| 783 | 745 | /-! Bind to the literal request after the actual particular update. -/ |
| @@ -785,13 +747,6 @@ end LocalizedComparison | ||
| 785 | 747 | noncomputable def afterParticular (x : CorrectionStep.CycleState (Label B N0)) : State Point := |
| 786 | 748 | (ActualCycleParameters.fixedParameters B N0).afterParticular x.coefficients (commonContext B) x.state |
| 787 | 749 | |
| 788 | -noncomputable def cycleStateData (l : Label B N0) (x : CorrectionStep.CycleState (Label B N0)) | |
| 789 | - (H : MeanStateRegularity.PrimitiveData standardRegion ActualInitialization.patch.a | |
| 790 | - ActualInitialization.patch.b (commonContext B) (afterParticular x)) | |
| 791 | - (hp : GaugeMomentBalances.MovingField standardRegion ActualInitialization.patch.a | |
| 792 | - ActualInitialization.patch.b (afterParticular x).pressure) : (nativeViews l).StateData := | |
| 793 | - nativeStateData l ActualInitialization.patch (afterParticular x) H hp | |
| 794 | - | |
| 795 | 750 | theorem afterParticular_pressure (x : CorrectionStep.CycleState (Label B N0)) |
| 796 | 751 | (H : MeanStateRegularity.PrimitiveData standardRegion ActualInitialization.patch.a |
| 797 | 752 | ActualInitialization.patch.b (commonContext B) (afterParticular x)) : |
| @@ -800,19 +755,4 @@ theorem afterParticular_pressure (x : CorrectionStep.CycleState (Label B N0)) | ||
| 800 | 755 | H.pressure (g := ActualInitialization.geometry.gauge) ActualInitialization.geometry.inner_pos |
| 801 | 756 | ActualInitialization.geometry.exponent_pos ActualInitialization.geometry.length_eq rfl |
| 802 | 757 | |
| 803 | -noncomputable def cycleStateDataOfPrimitive (l : Label B N0) (x : CorrectionStep.CycleState (Label B N0)) | |
| 804 | - (H : MeanStateRegularity.PrimitiveData standardRegion ActualInitialization.patch.a | |
| 805 | - ActualInitialization.patch.b (commonContext B) (afterParticular x)) : (nativeViews l).StateData := | |
| 806 | - cycleStateData l x H (afterParticular_pressure x H) | |
| 807 | - | |
| 808 | -theorem cycleStateData_request (l : Label B N0) (x : CorrectionStep.CycleState (Label B N0)) | |
| 809 | - (H : MeanStateRegularity.PrimitiveData standardRegion ActualInitialization.patch.a | |
| 810 | - ActualInitialization.patch.b (commonContext B) (afterParticular x)) | |
| 811 | - (hp : GaugeMomentBalances.MovingField standardRegion ActualInitialization.patch.a | |
| 812 | - ActualInitialization.patch.b (afterParticular x).pressure) (z : Cylinder) : | |
| 813 | - (cycleStateData l x H hp).referenceRequest (reference l) z = | |
| 814 | - (ActualCycleParameters.fixedParameters B N0).signedRequest x.coefficients | |
| 815 | - (commonContext B) x.state (reference l) (toCommonCylinder l z) := | |
| 816 | - nativeStateData_referenceRequest l ActualInitialization.patch (afterParticular x) H hp z | |
| 817 | - | |
| 818 | 758 | end NavierStokes.ActualSignedPhysicalBinding |
+0 −30 NavierStokes/ActualSignedPhysicalCoherence.lean View file
| @@ -49,13 +49,6 @@ theorem finsum_injective_support (e : α → β) (he : Injective e) (f : β → | ||
| 49 | 49 | · simp only [indicator_of_notMem hb, hz b hb] |
| 50 | 50 | _ = _ := finsum_mem_range he |
| 51 | 51 | |
| 52 | -theorem finsum_finite_support (s : Finset α) (f : α → V) | |
| 53 | - (hz : ∀ a, a ∉ s → f a = 0) : (∑ᶠ a, f a) = ∑ a ∈ s, f a := by | |
| 54 | - apply finsum_eq_sum_of_support_subset | |
| 55 | - intro a ha | |
| 56 | - by_contra hn | |
| 57 | - exact ha (hz a hn) | |
| 58 | - | |
| 59 | 52 | end FiniteSums |
| 60 | 53 | |
| 61 | 54 | noncomputable def physicalIndex (l : Label B N0) : WaveIndex 1 := |
| @@ -188,19 +181,6 @@ theorem toCommon_nativeGraph (l : Label B N0) (z : SpaceTime) (hr : 0 < z.2 0) : | ||
| 188 | 181 | (((1 - z.1) / ChartScales.Q m, ChartScales.Q m ^ (-CoordinateAlgebra.D h) * z.2 2), Y)), z.2 1)) |
| 189 | 182 | (he _) |
| 190 | 183 | |
| 191 | -theorem nativePoint_radius (n : ℕ) (z : SpaceTime) (hr : 0 < z.2 0) : | |
| 192 | - (ActualSignedPotentialCoherence.nativePoint n z).1.1 = | |
| 193 | - ChartScales.Q n ^ (-(1 / 2 : ℝ)) * z.2 0 := by | |
| 194 | - simp only [ActualSignedPotentialCoherence.nativePoint, | |
| 195 | - PhysicalResidualBridge.commonGraph_map (ChartScales.Q_pos _) h _ hr, | |
| 196 | - PhysicalResidualTZ.swapCylinder_apply, PhysicalResidualTZ.swapSlow_apply] | |
| 197 | - | |
| 198 | -theorem nativePoint_time (n : ℕ) (z : SpaceTime) (hr : 0 < z.2 0) : | |
| 199 | - (ActualSignedPotentialCoherence.nativePoint n z).1.2.1.1 = (1 - z.1) / ChartScales.Q n := by | |
| 200 | - simp only [ActualSignedPotentialCoherence.nativePoint, | |
| 201 | - PhysicalResidualBridge.commonGraph_map (ChartScales.Q_pos _) h _ hr, | |
| 202 | - PhysicalResidualTZ.swapCylinder_apply, PhysicalResidualTZ.swapSlow_apply] | |
| 203 | - | |
| 204 | 184 | section ReferenceAlgebra |
| 205 | 185 | |
| 206 | 186 | variable (l : Label B N0) (P : SignedStressPrimitive.Patch) (u : CorrectionState.State Point) |
| @@ -722,16 +702,6 @@ theorem measuredPotential_germ (v : CorrectionStep.CycleCoefficients (Label B N0 | ||
| 722 | 702 | with z hz |
| 723 | 703 | exact measuredPotential_eq_sum u H hp hfixed HS v hlabels n ha i hz |
| 724 | 704 | |
| 725 | -theorem measuredPressure_germ (v : CorrectionStep.CycleCoefficients (Label B N0)) | |
| 726 | - (hlabels : v.labels = activeLabels standardRegion B N0) (n : ℕ) {qbig a : ℝ} | |
| 727 | - (ha : 0 < a) (i : PolarCharts.Index) {w : SpaceTime} | |
| 728 | - (hw : w ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : | |
| 729 | - ActualSignedExterior.pressure (measuredStates (N0 := N0) ActualInitialization.patch u H hp) =ᶠ[𝓝 w] | |
| 730 | - fun z => ∑ l ∈ v.labels n, CurrentSignedCurl.currentPressure l u n a i z := by | |
| 731 | - filter_upwards [(ActualPhysicalPrefixFields.cartesianChartDomain_open qbig n ha i).mem_nhds hw] | |
| 732 | - with z hz | |
| 733 | - exact measuredPressure_eq_sum u H hp hfixed HS v hlabels n ha i hz | |
| 734 | - | |
| 735 | 705 | theorem measuredPotential_curl (v : CorrectionStep.CycleCoefficients (Label B N0)) |
| 736 | 706 | (hlabels : v.labels = activeLabels standardRegion B N0) (n : ℕ) {α : ℝ} |
| 737 | 707 | (hamp : ∀ l ∈ v.labels n, CurrentSignedCurl.AmplitudeBound l u α) |
+0 −459 NavierStokes/ActualSignedPhysicalData.lean View file
| @@ -36,100 +36,12 @@ variable {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] | ||
| 36 | 36 | (mask factor cutoff : ℕ → D → ℝ) (unit Ndot : ℕ → D → Space) |
| 37 | 37 | (A : ℕ → D → Space →L[ℝ] Space) (j : Fin 2) |
| 38 | 38 | |
| 39 | -theorem repartition_amplitude (n : ℕ) (x : D) : | |
| 40 | - ((SignedWaveUpdate.coefficients a s d H T R (fun n x => mask n x * factor n x) | |
| 41 | - unit Ndot A j).withCutoff cutoff).amplitude n x = | |
| 42 | - ((SignedWaveUpdate.coefficients a s d H T R mask unit Ndot A j).withCutoff | |
| 43 | - (fun n x => cutoff n x * factor n x)).amplitude n x := by | |
| 44 | - simp only [WaveCoefficients.withCutoff, | |
| 45 | - ActualPeriodizedSignedRealization.coefficients_amplitude_at, | |
| 46 | - ActualPeriodizedSignedRealization.signedScalar_mul_mask, mul_smul] | |
| 47 | - | |
| 48 | -theorem repartition_pressure (n : ℕ) (x : D) : | |
| 49 | - ((SignedWaveUpdate.coefficients a s d H T R (fun n x => mask n x * factor n x) | |
| 50 | - unit Ndot A j).withCutoff cutoff).pressure n x = | |
| 51 | - ((SignedWaveUpdate.coefficients a s d H T R mask unit Ndot A j).withCutoff | |
| 52 | - (fun n x => cutoff n x * factor n x)).pressure n x := by | |
| 53 | - simp only [WaveCoefficients.withCutoff, | |
| 54 | - ActualPeriodizedSignedRealization.coefficients_pressure_at, | |
| 55 | - ActualPeriodizedSignedRealization.signedScalar_mul_mask, | |
| 56 | - Complex.real_smul, Complex.ofReal_mul] | |
| 57 | - ring | |
| 58 | - | |
| 59 | -/-- Moving a scalar cutoff from the raw signed mask to the final cutoff | |
| 60 | -preserves both coefficients, before any differentiation. -/ | |
| 61 | -theorem coefficients_repartition : | |
| 62 | - (SignedWaveUpdate.coefficients a s d H T R (fun n x => mask n x * factor n x) | |
| 63 | - unit Ndot A j).withCutoff cutoff = | |
| 64 | - (SignedWaveUpdate.coefficients a s d H T R mask unit Ndot A j).withCutoff | |
| 65 | - (fun n x => cutoff n x * factor n x) := by | |
| 66 | - let u := (SignedWaveUpdate.coefficients a s d H T R (fun n x => mask n x * factor n x) | |
| 67 | - unit Ndot A j).withCutoff cutoff | |
| 68 | - let v := (SignedWaveUpdate.coefficients a s d H T R mask unit Ndot A j).withCutoff | |
| 69 | - (fun n x => cutoff n x * factor n x) | |
| 70 | - have ha : u.amplitude = v.amplitude := funext fun n => funext fun x => | |
| 71 | - repartition_amplitude a s d H T R mask factor cutoff unit Ndot A j n x | |
| 72 | - have hp : u.pressure = v.pressure := funext fun n => funext fun x => | |
| 73 | - repartition_pressure a s d H T R mask factor cutoff unit Ndot A j n x | |
| 74 | - calc | |
| 75 | - u = {a with amplitude := u.amplitude, pressure := u.pressure} := rfl | |
| 76 | - _ = {a with amplitude := v.amplitude, pressure := v.pressure} := by rw [ha, hp] | |
| 77 | - _ = v := rfl | |
| 78 | - | |
| 79 | -/-- The outer bump is one on the Gaussian support, so it can be removed | |
| 80 | -from the raw mask without changing the actual once-cutoff signed wave. -/ | |
| 81 | -theorem coefficients_outer (clock : ℕ → D → ℝ) : | |
| 82 | - (SignedWaveUpdate.coefficients a s d H T R | |
| 83 | - (fun n x => mask n x * PrimaryCopyBounds.outerCutoff (clock n x)) | |
| 84 | - unit Ndot A j).withCutoff (fun n x => GaussianTailFlat.profile (clock n x)) = | |
| 85 | - (SignedWaveUpdate.coefficients a s d H T R mask unit Ndot A j).withCutoff | |
| 86 | - (fun n x => GaussianTailFlat.profile (clock n x)) := by | |
| 87 | - rw [coefficients_repartition] | |
| 88 | - have he : (fun n x => GaussianTailFlat.profile (clock n x) * PrimaryCopyBounds.outerCutoff (clock n x)) = | |
| 89 | - (fun n x => GaussianTailFlat.profile (clock n x)) := | |
| 90 | - funext fun n => funext fun x => PrimaryCopyBounds.profile_mul_outerCutoff (clock n x) | |
| 91 | - rw [he] | |
| 92 | - | |
| 93 | -theorem corrected_outer (clock : ℕ → D → ℝ) : | |
| 94 | - (SignedWaveUpdate.coefficients a s d H T R | |
| 95 | - (fun n x => mask n x * PrimaryCopyBounds.outerCutoff (clock n x)) | |
| 96 | - unit Ndot A j).corrected s d (fun n x => GaussianTailFlat.profile (clock n x)) = | |
| 97 | - (SignedWaveUpdate.coefficients a s d H T R mask unit Ndot A j).corrected s d | |
| 98 | - (fun n x => GaussianTailFlat.profile (clock n x)) := by | |
| 99 | - simp only [WaveCoefficients.corrected, coefficients_outer] | |
| 100 | - | |
| 101 | 39 | end Repartition |
| 102 | 40 | |
| 103 | 41 | section Copies |
| 104 | 42 | |
| 105 | 43 | variable {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] {K : Type} |
| 106 | 44 | |
| 107 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 108 | -/-- Equality of every actual localized copy is enough for equality of the | |
| 109 | -whole common coefficients. Summability is not assumed here. -/ | |
| 110 | -theorem common_eq_of_localized (f g : PeriodizedWaveBounds.CopyData D K) | |
| 111 | - (hb : f.background = g.background) (he : ∀ k, f.localized k = g.localized k) : | |
| 112 | - f.common = g.common := by | |
| 113 | - have ha : f.common.amplitude = g.common.amplitude := by | |
| 114 | - funext n x | |
| 115 | - change (∑' k, (f.localized k).amplitude n x) = ∑' k, (g.localized k).amplitude n x | |
| 116 | - exact tsum_congr fun k => congrArg (fun a : WaveCoefficients D => a.amplitude n x) (he k) | |
| 117 | - have hp : f.common.pressure = g.common.pressure := by | |
| 118 | - funext n x | |
| 119 | - change (∑' k, (f.localized k).pressure n x) = ∑' k, (g.localized k).pressure n x | |
| 120 | - exact tsum_congr fun k => congrArg (fun a : WaveCoefficients D => a.pressure n x) (he k) | |
| 121 | - calc | |
| 122 | - f.common = {f.background with amplitude := f.common.amplitude, pressure := f.common.pressure} := rfl | |
| 123 | - _ = {g.background with amplitude := g.common.amplitude, pressure := g.common.pressure} := by rw [hb, ha, hp] | |
| 124 | - _ = g.common := rfl | |
| 125 | - | |
| 126 | -theorem commonCorrected_eq_of_localized (f g : PeriodizedWaveBounds.CopyData D K) | |
| 127 | - (hb : f.background = g.background) (he : ∀ k, f.localized k = g.localized k) | |
| 128 | - (s : StripData D) (d : GraphDirections D) : | |
| 129 | - f.commonCorrected s d = g.commonCorrected s d := by | |
| 130 | - unfold PeriodizedWaveBounds.CopyData.commonCorrected | |
| 131 | - rw [common_eq_of_localized f g hb he] | |
| 132 | - | |
| 133 | 45 | end Copies |
| 134 | 46 | |
| 135 | 47 | section Geometry |
| @@ -308,46 +220,6 @@ noncomputable def dynamicCopyData (request : ℕ → Cylinder → Vec2) (j : Fin | ||
| 308 | 220 | (layout sys hh label hl gap).nativeGaussian reference k (V.map n x).1.2.2 |
| 309 | 221 | source := fun _ _ => 0 |
| 310 | 222 | |
| 311 | -theorem dynamic_localized_eq (request : ℕ → Cylinder → Vec2) (j : Fin 2) (k : Frequency) : | |
| 312 | - (dynamicCopyData sys hh label hl gap B V request j).localized k = | |
| 313 | - (ActualPeriodizedSignedRealization.copyData B (layout sys hh label hl gap) V request j).localized k := by | |
| 314 | - have hm : ActualPeriodizedSignedRealization.copyMask B (layout sys hh label hl gap) V k = | |
| 315 | - fun n x => ActualPeriodizedSignedRealization.sharedMask B V n x * | |
| 316 | - nativeMask sys label ((geometry sys label gap).coordinates k (V.map n x).1.2.2) := rfl | |
| 317 | - change ((dynamicCoefficients sys hh label hl gap B V request j k).withCutoff _) = | |
| 318 | - ((ActualPeriodizedSignedRealization.nativeCoefficients B (layout sys hh label hl gap) V request j k).withCutoff _) | |
| 319 | - unfold dynamicCoefficients ActualPeriodizedSignedRealization.nativeCoefficients | |
| 320 | - rw [hm] | |
| 321 | - unfold ActualPeriodizedSignedRealization.coefficientsWith | |
| 322 | - rw [coefficients_repartition] | |
| 323 | - congr 1 | |
| 324 | - funext n x | |
| 325 | - change PartitionedCovariance.cutoff sys.radius | |
| 326 | - ((geometry sys label gap).coordinates k (V.map n x).1.2.2).1 * | |
| 327 | - GaussianTailFlat.profile (((geometry sys label gap).coordinates k (V.map n x).1.2.2).2 / | |
| 328 | - ChartScales.slotLength sys.radius h label.1) = | |
| 329 | - GaussianTailFlat.profile (((geometry sys label gap).coordinates k (V.map n x).1.2.2).2 / | |
| 330 | - ChartScales.slotLength sys.radius h label.1) * | |
| 331 | - (PartitionedCovariance.cutoff sys.radius | |
| 332 | - ((geometry sys label gap).coordinates k (V.map n x).1.2.2).1 * | |
| 333 | - PrimaryCopyBounds.outerCutoff (((geometry sys label gap).coordinates k (V.map n x).1.2.2).2 / | |
| 334 | - ChartScales.slotLength sys.radius h label.1)) | |
| 335 | - rw [mul_left_comm, PrimaryCopyBounds.profile_mul_outerCutoff] | |
| 336 | - | |
| 337 | -theorem dynamic_common_eq (request : ℕ → Cylinder → Vec2) (j : Fin 2) : | |
| 338 | - (dynamicCopyData sys hh label hl gap B V request j).common = | |
| 339 | - (ActualPeriodizedSignedRealization.copyData B (layout sys hh label hl gap) V request j).common := | |
| 340 | - common_eq_of_localized _ _ rfl (dynamic_localized_eq sys hh label hl gap B V request j) | |
| 341 | - | |
| 342 | -theorem dynamic_commonCorrected_eq (request : ℕ → Cylinder → Vec2) (j : Fin 2) : | |
| 343 | - (dynamicCopyData sys hh label hl gap B V request j).commonCorrected V.strip V.directions = | |
| 344 | - (ActualPeriodizedSignedRealization.views B (layout sys hh label hl gap) V).exactCoefficients request j := by | |
| 345 | - rw [commonCorrected_eq_of_localized | |
| 346 | - (dynamicCopyData sys hh label hl gap B V request j) | |
| 347 | - (ActualPeriodizedSignedRealization.copyData B (layout sys hh label hl gap) V request j) rfl | |
| 348 | - (dynamic_localized_eq sys hh label hl gap B V request j), | |
| 349 | - ActualPeriodizedSignedRealization.commonCorrected_eq] | |
| 350 | - | |
| 351 | 223 | end ActualCopies |
| 352 | 224 | |
| 353 | 225 | /-! ## Literal physical copies of the same signed reference data -/ |
| @@ -405,11 +277,6 @@ theorem rotateCoefficient_real_smul (Y : Plane) (c : ℝ) (v : ComplexVector) : | ||
| 405 | 277 | rotateCoefficient Y (c • v) = c • rotateCoefficient Y v := by |
| 406 | 278 | simpa only [rotationMap_apply] using (rotationMap Y).map_smul c v |
| 407 | 279 | |
| 408 | -theorem rotateCoefficient_complex_smul (Y : Plane) (c : ℂ) (v : ComplexVector) : | |
| 409 | - rotateCoefficient Y (c • v) = c • rotateCoefficient Y v := by | |
| 410 | - ext i | |
| 411 | - fin_cases i <;> simp [rotateCoefficient, Complex.real_smul, Pi.smul_apply, smul_eq_mul] <;> ring | |
| 412 | - | |
| 413 | 280 | theorem rotateCoefficient_vectorMode (Y : Plane) (K : ℝ) (Phi : Cylinder → ℝ) |
| 414 | 281 | (v : Cylinder → ComplexVector) (x : Cylinder) (i : Fin 3) : |
| 415 | 282 | rotateCoefficient Y (HarmonicCalculus.vectorMode K Phi v x) i = |
| @@ -889,29 +756,6 @@ theorem pressure_commonWave (L : NativeLabel f.active) (k : Frequency) | ||
| 889 | 756 | congr 1 |
| 890 | 757 | ring |
| 891 | 758 | |
| 892 | -/-- The complete copy sum is exactly the same reference pressure mode. -/ | |
| 893 | -theorem pressure_periodized (L : NativeLabel f.active) {a b : ℝ} (ha : 0 < a) | |
| 894 | - (w : SpaceTime) (hw : PhysicalGraphBounds.scaledRadial L.val.1 w ∈ PhysicalGraphBounds.annulus a b) : | |
| 895 | - (pressureFamily sys hh f).periodized a h sys.radius (positiveIndex L) w = | |
| 896 | - (ChartScales.Q L.val.1 ^ (-(2 * CoordinateAlgebra.A h)) : ℝ) • | |
| 897 | - HarmonicCalculus.mode ((f.primary L).base.frequency L.val.1) | |
| 898 | - ((f.primary L).base.phase L.val.1) | |
| 899 | - ((ActualPeriodizedSignedRealization.periodizedPrimary (f.primary L) | |
| 900 | - (layout sys hh L.val L.property 0)).rawPressure (f.state L).referenceRequest (f.column L) L.val.1) | |
| 901 | - (cylinderAt a (PhysicalWaveSum.chooseChart a (PhysicalGraphBounds.scaledRadial L.val.1 w)) | |
| 902 | - (PhysicalGraphBounds.physicalLift h L.val.1 w)) := by | |
| 903 | - have hc := PhysicalWaveSum.chooseChart_valid ha hw | |
| 904 | - unfold PhysicalCopyBounds.CopyFamily.periodized | |
| 905 | - simp_rw [pressure_term_active] | |
| 906 | - change (∑' k, PhysicalWaveSum.commonWave a h L.val.1 0 sys.radius | |
| 907 | - ((selectedCarrier (h := h) f L k).withChart | |
| 908 | - (PhysicalWaveSum.chooseChart a (PhysicalGraphBounds.scaledRadial L.val.1 w))) | |
| 909 | - ((pressureFamily sys hh f).amplitude k (positiveIndex L)) 1 w) = _ | |
| 910 | - simp_rw [pressure_commonWave sys hh f G L _ ha _ w hc] | |
| 911 | - rw [tsum_mul_right, tsum_const_smul''] | |
| 912 | - rw [HarmonicCalculus.mode, signed_pressure_eq_sum sys hh f L] | |
| 913 | - exact smul_mul_assoc _ _ _ | |
| 914 | - | |
| 915 | 759 | |
| 916 | 760 | theorem potential_commonWave (L : NativeLabel f.active) (k : Frequency) (i : Fin 3) |
| 917 | 761 | {a : ℝ} (ha : 0 < a) (chart : PolarCharts.Index) (w : SpaceTime) |
| @@ -962,36 +806,6 @@ theorem rotatedPotential_sum (L : NativeLabel f.active) (x : Cylinder) (Y : Plan | ||
| 962 | 806 | rw [← signed_potential_eq_sum sys hh f L x] at he |
| 963 | 807 | exact he.symm |
| 964 | 808 | |
| 965 | -/-- The complete vector-potential copy sum retains the same reference | |
| 966 | -coefficient. The rotation acts on the actual sum, not a surrogate field. -/ | |
| 967 | -theorem potential_periodized (L : NativeLabel f.active) (i : Fin 3) | |
| 968 | - {a b : ℝ} (ha : 0 < a) (w : SpaceTime) | |
| 969 | - (hw : PhysicalGraphBounds.scaledRadial L.val.1 w ∈ PhysicalGraphBounds.annulus a b) : | |
| 970 | - (potentialFamily sys hh f i).periodized a h sys.radius (positiveIndex L) w = | |
| 971 | - (ChartScales.Q L.val.1 ^ (-h) : ℝ) • | |
| 972 | - (rotateCoefficient (PhysicalGraphBounds.liftXY (PhysicalGraphBounds.physicalLift h L.val.1 w)) | |
| 973 | - (referencePotentialCoefficient sys hh f L | |
| 974 | - (cylinderAt a (PhysicalWaveSum.chooseChart a (PhysicalGraphBounds.scaledRadial L.val.1 w)) | |
| 975 | - (PhysicalGraphBounds.physicalLift h L.val.1 w))) i * | |
| 976 | - HarmonicCalculus.carrier ((f.primary L).base.frequency L.val.1) | |
| 977 | - ((f.primary L).base.phase L.val.1) | |
| 978 | - (cylinderAt a (PhysicalWaveSum.chooseChart a (PhysicalGraphBounds.scaledRadial L.val.1 w)) | |
| 979 | - (PhysicalGraphBounds.physicalLift h L.val.1 w))) := by | |
| 980 | - have hc := PhysicalWaveSum.chooseChart_valid ha hw | |
| 981 | - unfold PhysicalCopyBounds.CopyFamily.periodized | |
| 982 | - simp_rw [potential_term_active] | |
| 983 | - change (∑' k, PhysicalWaveSum.commonWave a h L.val.1 0 sys.radius | |
| 984 | - ((selectedCarrier (h := h) f L k).withChart | |
| 985 | - (PhysicalWaveSum.chooseChart a (PhysicalGraphBounds.scaledRadial L.val.1 w))) | |
| 986 | - ((potentialFamily sys hh f i).amplitude k (positiveIndex L)) 1 w) = _ | |
| 987 | - simp_rw [potential_commonWave sys hh f G L _ i ha _ w hc] | |
| 988 | - rw [tsum_mul_right, tsum_const_smul''] | |
| 989 | - rw [← rotatedPotential_sum sys hh f L | |
| 990 | - (cylinderAt a (PhysicalWaveSum.chooseChart a (PhysicalGraphBounds.scaledRadial L.val.1 w)) | |
| 991 | - (PhysicalGraphBounds.physicalLift h L.val.1 w)) | |
| 992 | - (PhysicalGraphBounds.liftXY (PhysicalGraphBounds.physicalLift h L.val.1 w)) i] | |
| 993 | - exact smul_mul_assoc _ _ _ | |
| 994 | - | |
| 995 | 809 | |
| 996 | 810 | omit hh in |
| 997 | 811 | theorem angular_integer (L : NativeLabel f.active) (k : Frequency) : |
| @@ -1061,126 +875,6 @@ theorem potential_periodized_of_chart (L : NativeLabel f.active) (i : Fin 3) | ||
| 1061 | 875 | (PhysicalGraphBounds.liftXY (PhysicalGraphBounds.physicalLift h L.val.1 w)) i] |
| 1062 | 876 | exact smul_mul_assoc _ _ _ |
| 1063 | 877 | |
| 1064 | -/-- Equality with the original Cartesian signed pressure, not merely a | |
| 1065 | -newly defined coefficient sum. -/ | |
| 1066 | -theorem pressure_periodized_physical (L : NativeLabel f.active) {a b delta : ℝ} | |
| 1067 | - (ha : 0 < a) (hdelta : 0 < delta) (j : PolarCharts.Index) (z : SpaceTime) | |
| 1068 | - (hz : z ∈ PhysicalCurlCovariance.validCylindrical delta j) | |
| 1069 | - (hw : PhysicalGraphBounds.scaledRadial L.val.1 (z.1, CylindricalResidual.chart z.2) ∈ | |
| 1070 | - PhysicalGraphBounds.annulus a b) | |
| 1071 | - (hj : PhysicalGraphBounds.scaledRadial L.val.1 (z.1, CylindricalResidual.chart z.2) ∈ | |
| 1072 | - PolarCharts.chartDomain a j) : | |
| 1073 | - ((pressureFamily sys hh f).periodized a h sys.radius (positiveIndex L) | |
| 1074 | - (z.1, CylindricalResidual.chart z.2)).re = | |
| 1075 | - ActualPeriodizedSignedRealization.physicalPressure (f.primary L) | |
| 1076 | - (layout sys hh L.val L.property 0) (f.view L) (f.state L) (f.column L) delta | |
| 1077 | - (z.1, CylindricalResidual.chart z.2) := by | |
| 1078 | - rw [pressure_periodized_of_chart sys hh f G L ha _ hw j hj, | |
| 1079 | - cylinderAt_physical_forward h L.val.1 ha j z hz.1 hz.2.1 hj] | |
| 1080 | - have hK : (f.primary L).base.frequency L.val.1 ≠ 0 := by | |
| 1081 | - rw [G.frequency L] | |
| 1082 | - exact PartitionedCovariance.actual_carrier_ne_zero _ _ | |
| 1083 | - have hG : PhysicalSignedWave.ChartGeometry | |
| 1084 | - (ActualPeriodizedSignedRealization.periodizedPrimary (f.primary L) (layout sys hh L.val L.property 0)).base | |
| 1085 | - (ActualPeriodizedSignedRealization.periodizedPrimary (f.primary L) (layout sys hh L.val L.property 0)).strip | |
| 1086 | - (ActualPeriodizedSignedRealization.periodizedPrimary (f.primary L) (layout sys hh L.val L.property 0)).directions | |
| 1087 | - L.val.1 (f.view L).exponent (f.view L).referenceScale (f.view L).referenceCover := by | |
| 1088 | - simp only [G.exponent L, G.scale L, G.cover L] | |
| 1089 | - exact G.chart L | |
| 1090 | - have he := (ActualPeriodizedSignedRealization.views (f.primary L) | |
| 1091 | - (layout sys hh L.val L.property 0) (f.view L)).physicalPressure_forward | |
| 1092 | - (ActualPeriodizedSignedRealization.periodizedAngular (f.primary L) | |
| 1093 | - (layout sys hh L.val L.property 0) (G.angular L)) hK hG (f.column L) hdelta j hz | |
| 1094 | - change _ = (ActualPeriodizedSignedRealization.views (f.primary L) | |
| 1095 | - (layout sys hh L.val L.property 0) (f.view L)).physicalPressure | |
| 1096 | - (f.state L).referenceRequest (f.column L) delta (z.1, CylindricalResidual.chart z.2) | |
| 1097 | - rw [he] | |
| 1098 | - simp only [PhysicalSignedWave.PrimaryData.Views.complexPhysicalPressure, | |
| 1099 | - PhysicalSignedWave.PrimaryData.Views.physicalPressureCoefficient, | |
| 1100 | - ActualPeriodizedSignedRealization.views, G.exponent L, G.scale L, G.cover L, | |
| 1101 | - HarmonicCalculus.mode, smul_mul_assoc] | |
| 1102 | - rfl | |
| 1103 | - | |
| 1104 | - | |
| 1105 | -/-- The original physical potential is the pulled-back native coefficient | |
| 1106 | -mode, with the potential scale derived by the actual curl construction. -/ | |
| 1107 | -theorem referencePotential_eq_mode (L : NativeLabel f.active) | |
| 1108 | - (hPhi : ContDiffOn ℝ ∞ ((f.primary L).base.phase L.val.1) (f.primary L).strip.domain) | |
| 1109 | - (z : SpaceTime) (hr : 0 < z.2 0) | |
| 1110 | - (hz : (PhysicalResidualBridge.commonGraph (ChartScales.Q L.val.1) h | |
| 1111 | - (ChartScales.nativeIndex h L.val.1)).map z ∈ (f.primary L).strip.domain) : | |
| 1112 | - (ActualPeriodizedSignedRealization.views (f.primary L) (layout sys hh L.val L.property 0) | |
| 1113 | - (f.view L)).referencePotential (f.state L).referenceRequest (f.column L) z = | |
| 1114 | - (ChartScales.Q L.val.1 ^ (-h) : ℝ) • HarmonicCalculus.vectorMode | |
| 1115 | - ((f.primary L).base.frequency L.val.1) ((f.primary L).base.phase L.val.1) | |
| 1116 | - (referencePotentialCoefficient sys hh f L) | |
| 1117 | - ((PhysicalResidualBridge.commonGraph (ChartScales.Q L.val.1) h | |
| 1118 | - (ChartScales.nativeIndex h L.val.1)).map z) := by | |
| 1119 | - let V := ActualPeriodizedSignedRealization.views (f.primary L) | |
| 1120 | - (layout sys hh L.val L.property 0) (f.view L) | |
| 1121 | - have hK : (f.primary L).base.frequency L.val.1 ≠ 0 := by | |
| 1122 | - rw [G.frequency L] | |
| 1123 | - exact PartitionedCovariance.actual_carrier_ne_zero _ _ | |
| 1124 | - have hx : z ∈ (PhysicalResidualBridge.commonGraph (f.view L).referenceScale | |
| 1125 | - (f.view L).exponent (f.view L).referenceCover).source (f.primary L).strip.domain := by | |
| 1126 | - simp only [G.scale L, G.exponent L, G.cover L] | |
| 1127 | - exact And.intro hr hz | |
| 1128 | - have he := PhysicalCurlCovariance.referencePotential_eq_on (f.view L).referenceScale_pos | |
| 1129 | - (f.view L).exponent (f.view L).referenceCover (f.primary L).strip.isOpen_domain | |
| 1130 | - hK hK hPhi | |
| 1131 | - ((ActualPeriodizedSignedRealization.periodizedPrimary (f.primary L) | |
| 1132 | - (layout sys hh L.val L.property 0)).raw (f.state L).referenceRequest (f.column L) L.val.1) | |
| 1133 | - V.physicalPhase (V.physicalRaw (f.state L).referenceRequest (f.column L)) | |
| 1134 | - (fun _ _ => rfl) (fun _ _ => rfl) hx | |
| 1135 | - simp only [G.scale L, G.exponent L, G.cover L] at he | |
| 1136 | - change V.referencePotential (f.state L).referenceRequest (f.column L) z = _ at he | |
| 1137 | - simp only [CurlClassBounds.vectorPotential, CurlClassBounds.coefficient, | |
| 1138 | - ← (G.chart L).normal] at he ⊢ | |
| 1139 | - exact he | |
| 1140 | - | |
| 1141 | -/-- Equality with the same signed Cartesian potential. Every native copy, | |
| 1142 | -cutoff and the potential's actual derivative normalization is retained. -/ | |
| 1143 | -theorem potential_periodized_physical (L : NativeLabel f.active) (i : Fin 3) | |
| 1144 | - (hPhi : ContDiffOn ℝ ∞ ((f.primary L).base.phase L.val.1) (f.primary L).strip.domain) | |
| 1145 | - {a b delta : ℝ} (ha : 0 < a) (hdelta : 0 < delta) (j : PolarCharts.Index) (z : SpaceTime) | |
| 1146 | - (hz : z ∈ PhysicalCurlCovariance.validCylindrical delta j) | |
| 1147 | - (hsource : (PhysicalResidualBridge.commonGraph (ChartScales.Q L.val.1) h | |
| 1148 | - (ChartScales.nativeIndex h L.val.1)).map z ∈ (f.primary L).strip.domain) | |
| 1149 | - (hw : PhysicalGraphBounds.scaledRadial L.val.1 (z.1, CylindricalResidual.chart z.2) ∈ | |
| 1150 | - PhysicalGraphBounds.annulus a b) | |
| 1151 | - (hj : PhysicalGraphBounds.scaledRadial L.val.1 (z.1, CylindricalResidual.chart z.2) ∈ | |
| 1152 | - PolarCharts.chartDomain a j) : | |
| 1153 | - ((potentialFamily sys hh f i).periodized a h sys.radius (positiveIndex L) | |
| 1154 | - (z.1, CylindricalResidual.chart z.2)).re = | |
| 1155 | - ActualPeriodizedSignedRealization.physicalPotential (f.primary L) | |
| 1156 | - (layout sys hh L.val L.property 0) (f.view L) (f.state L) (f.column L) delta | |
| 1157 | - (z.1, CylindricalResidual.chart z.2) i := by | |
| 1158 | - let V := ActualPeriodizedSignedRealization.views (f.primary L) | |
| 1159 | - (layout sys hh L.val L.property 0) (f.view L) | |
| 1160 | - have hK : (f.primary L).base.frequency L.val.1 ≠ 0 := by | |
| 1161 | - rw [G.frequency L] | |
| 1162 | - exact PartitionedCovariance.actual_carrier_ne_zero _ _ | |
| 1163 | - have hmap := cylinderAt_physical_forward h L.val.1 ha j z hz.1 hz.2.1 hj | |
| 1164 | - have hc : PhysicalGraphBounds.liftXY | |
| 1165 | - (PhysicalGraphBounds.physicalLift h L.val.1 (z.1, CylindricalResidual.chart z.2)) ∈ | |
| 1166 | - PolarCharts.chartDomain a j := by simpa only [PhysicalGraphBounds.liftXY_physicalLift] using hj | |
| 1167 | - have hangle : (PolarCharts.chart a j (PhysicalGraphBounds.liftXY | |
| 1168 | - (PhysicalGraphBounds.physicalLift h L.val.1 (z.1, CylindricalResidual.chart z.2)))).2 = z.2 1 := | |
| 1169 | - congrArg Prod.snd hmap | |
| 1170 | - rw [potential_periodized_of_chart sys hh f G L i ha _ hw j hj, | |
| 1171 | - ← rotateCoefficient_vectorMode] | |
| 1172 | - have he := rotateCoefficient_chart_re ha j hc | |
| 1173 | - ((ChartScales.Q L.val.1 ^ (-h) : ℝ) • HarmonicCalculus.vectorMode | |
| 1174 | - ((f.primary L).base.frequency L.val.1) ((f.primary L).base.phase L.val.1) | |
| 1175 | - (referencePotentialCoefficient sys hh f L) | |
| 1176 | - (cylinderAt a j (PhysicalGraphBounds.physicalLift h L.val.1 (z.1, CylindricalResidual.chart z.2)))) i | |
| 1177 | - rw [rotateCoefficient_real_smul, Pi.smul_apply] at he | |
| 1178 | - rw [he, hangle, hmap, ← referencePotential_eq_mode sys hh f G L hPhi z hz.1 hsource] | |
| 1179 | - have hf := (PhysicalCurlCovariance.globalCartesianPotential_forward_germ hdelta j | |
| 1180 | - (V.referencePotential (f.state L).referenceRequest (f.column L)) | |
| 1181 | - (V.referencePotential_periodic (ActualPeriodizedSignedRealization.periodizedAngular | |
| 1182 | - (f.primary L) (layout sys hh L.val L.property 0) (G.angular L)) hK (f.column L)) hz).eq_of_nhds | |
| 1183 | - exact (congrArg (fun v : Space => v i) hf).symm | |
| 1184 | 878 | |
| 1185 | 879 | end PhysicalFamilies |
| 1186 | 880 | |
| @@ -1481,58 +1175,12 @@ noncomputable def copyPotential (G : ReferenceGeometry sys f) (hh0 : 0 < h) (hh1 | ||
| 1481 | 1175 | support := potential_support sys hh f hloc G hh0 hh1 ha hb |
| 1482 | 1176 | cells := potentialCells sys hh f |
| 1483 | 1177 | |
| 1484 | -theorem copyPotential_field (G : ReferenceGeometry sys f) (hh0 : 0 < h) (hh1 : h < 1 / 2) | |
| 1485 | - (ha : 0 < a) (hb : 0 < b) : | |
| 1486 | - (copyPotential sys hh f hloc G hh0 hh1 ha hb).field = | |
| 1487 | - PhysicalCopyBounds.vectorSum (potentialFamily sys hh f) (a / 4) h sys.radius := rfl | |
| 1488 | - | |
| 1489 | 1178 | end NativeSources |
| 1490 | 1179 | |
| 1491 | 1180 | |
| 1492 | 1181 | |
| 1493 | 1182 | /-! ## A fixed native region for the selected carrier profiles -/ |
| 1494 | 1183 | |
| 1495 | -noncomputable def carrierRegion (h a b : ℝ) : Set PhysicalGraphBounds.Slow := | |
| 1496 | - {p | p.1 ∈ Ioo (a / 8) (4 * b + 1) ∧ | |
| 1497 | - (p.2.2, p.2.1) ∈ PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 4) 4} | |
| 1498 | - | |
| 1499 | -theorem carrierRegion_open {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (a b : ℝ) : | |
| 1500 | - IsOpen (carrierRegion h a b) := | |
| 1501 | - (isOpen_Ioo.preimage continuous_fst).inter | |
| 1502 | - ((PhysicalMeanDomain.normalizedSlowDomain_open (by linarith : 0 < 2 * h) | |
| 1503 | - (by linarith : 2 * h < 1) (1 / 4) 4).preimage | |
| 1504 | - (continuous_snd.snd.prodMk continuous_snd.fst)) | |
| 1505 | - | |
| 1506 | -/-- Carrier profile arguments lie in a fixed open native region. The | |
| 1507 | -native phase center affects the clock, but not this slow argument. -/ | |
| 1508 | -theorem carrierRegion_contains {h a b : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) | |
| 1509 | - (c : PhysicalWaveSum.CarrierData) (r0 : ℝ) (L : PhysicalWaveSum.BandLabel) | |
| 1510 | - (w : SpaceTime) (hw : w ∈ PhysicalWaveSum.preterminal) | |
| 1511 | - (hregion : PhysicalWaveSum.physicalParams h w ∈ | |
| 1512 | - PhysicalWaveSum.labelRegion (CoordinateAlgebra.D h) L.val) | |
| 1513 | - (hann : PhysicalGraphBounds.scaledRadial L.val.1 w ∈ PhysicalGraphBounds.annulus (a / 4) (2 * b)) | |
| 1514 | - (j : PolarCharts.Index) | |
| 1515 | - (hj : PhysicalGraphBounds.scaledRadial L.val.1 w ∈ PolarCharts.chartDomain (a / 4) j) : | |
| 1516 | - LocalPhysicalCopyBounds.slotSlow (c.withChart j) (a / 4) h L.val.1 r0 w ∈ carrierRegion h a b := by | |
| 1517 | - have ha4 : 0 < a / 4 := by positivity | |
| 1518 | - have hrel := PhysicalWaveSum.labelRegion_active_relation hregion | |
| 1519 | - have hs := PhysicalMeanJetBounds.graph_slow_normalized hh hh1 L.val.1 0 hw hrel.1 hrel.2 | |
| 1520 | - have hn : ‖PhysicalGraphBounds.scaledRadial L.val.1 w‖ ≤ 2 * b := by | |
| 1521 | - simpa only [Metric.mem_closedBall, dist_zero_right] using hann.1 | |
| 1522 | - have hl : a / 4 ≤ ‖PhysicalGraphBounds.scaledRadial L.val.1 w‖ := hann.2 | |
| 1523 | - have hrlo := PolarCharts.norm_le_radius (PhysicalGraphBounds.scaledRadial L.val.1 w) | |
| 1524 | - have hrhi := PolarCharts.radius_le_two_norm (PhysicalGraphBounds.scaledRadial L.val.1 w) | |
| 1525 | - change ((PhysicalGraphBounds.slotMap (PolarCharts.chart (a / 4) j) | |
| 1526 | - (ChartScales.timeCoefficient h L.val.1) c.center r0 | |
| 1527 | - (PhysicalGraphBounds.physicalLift h L.val.1 w)).1).1 ∈ Ioo (a / 8) (4 * b + 1) ∧ _ | |
| 1528 | - rw [PhysicalGraphBounds.slotMap_formula, PhysicalGraphBounds.liftXY_physicalLift, | |
| 1529 | - chart_radius ha4 j hj] | |
| 1530 | - constructor | |
| 1531 | - · exact ⟨by linarith, by linarith⟩ | |
| 1532 | - · simpa only [LocalPhysicalCopyBounds.slotSlow, PhysicalGraphBounds.slotMap_formula, | |
| 1533 | - PhysicalMeanJetBounds.graph, Function.comp_apply, commonLift_zero, | |
| 1534 | - PhysicalClassBounds.cylindricalMap, PhysicalClassBounds.slowFast_apply] using hs | |
| 1535 | - | |
| 1536 | 1184 | /-- Support of one full native carrier implies closed label membership, |
| 1537 | 1185 | including the edge of the actual zero-extended coefficient. -/ |
| 1538 | 1186 | theorem term_tsupport_labelRegion {H : ℕ} {K : Type*} |
| @@ -1959,26 +1607,6 @@ variable | ||
| 1959 | 1607 | (hpotential : LocalPhysicalCopyBounds.LocalSourceBounds s h α w (nativePotentialSource sys hh f)) |
| 1960 | 1608 | (hpressure : LocalPhysicalCopyBounds.LocalSourceBounds s h α w (nativePressureSource sys hh f)) |
| 1961 | 1609 | |
| 1962 | -theorem potentialWaveData_vector : | |
| 1963 | - (potentialWaveData sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpotential).vector = | |
| 1964 | - PhysicalCopyBounds.vectorSum (potentialFamily sys hh f) (a / 4) h sys.radius := rfl | |
| 1965 | - | |
| 1966 | -theorem pressureWaveData_pressure : | |
| 1967 | - (pressureWaveData sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpressure).pressure = | |
| 1968 | - fun x => ((pressureFamily sys hh f).sum (a / 4) h sys.radius x).re := rfl | |
| 1969 | - | |
| 1970 | -theorem potentialWaveData_copyPotential : | |
| 1971 | - (potentialWaveData sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpotential).vector = | |
| 1972 | - (copyPotential sys hh f hloc G hh0 hh1 ha hb).field := rfl | |
| 1973 | - | |
| 1974 | -theorem potentialWaveData_outer : | |
| 1975 | - (potentialWaveData sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpotential).upperRadius = | |
| 1976 | - 2 * b := rfl | |
| 1977 | - | |
| 1978 | -theorem pressureWaveData_outer : | |
| 1979 | - (pressureWaveData sys hh f hloc G hh0 hh1 ha hb hp hn hP hf hpressure).upperRadius = | |
| 1980 | - 2 * b := rfl | |
| 1981 | - | |
| 1982 | 1610 | /- Every fixed physical jet is controlled by the supplied native exponent, |
| 1983 | 1611 | with the physical potential scaling retained exactly. -/ |
| 1984 | 1612 | include G hp hn hP hf hpotential in |
| @@ -2048,99 +1676,12 @@ variable {D h : ℝ} | ||
| 2048 | 1676 | (sys : PartitionedCovariance.SlotSystem D h ActualSignedGeometry.radialVector ActualSignedGeometry.temporalVector) |
| 2049 | 1677 | (hh : 0 ≤ h) {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} (f : SignedFamily U) |
| 2050 | 1678 | |
| 2051 | -noncomputable def labelPotential (L : NativeLabel f.active) (a : ℝ) : VelocityField := | |
| 2052 | - fun x => PhysicalCurlCovariance.realVector (fun i => | |
| 2053 | - (potentialFamily sys hh f i).periodized a h sys.radius (positiveIndex L) x) | |
| 2054 | - | |
| 2055 | -noncomputable def labelPressure (L : NativeLabel f.active) (a : ℝ) : PressureField := | |
| 2056 | - fun x => ((pressureFamily sys hh f).periodized a h sys.radius (positiveIndex L) x).re | |
| 2057 | - | |
| 2058 | -/-- Only coordinate domains and the original native phase domain occur in | |
| 2059 | -this set. Its definition contains no output-field equality. -/ | |
| 2060 | -noncomputable def referencePatch (L : NativeLabel f.active) (a b delta : ℝ) | |
| 2061 | - (j : PolarCharts.Index) : Set SpaceTime := | |
| 2062 | - {x | PhysicalGraphBounds.radialProjection x ∈ PolarCharts.chartDomain delta j ∧ | |
| 2063 | - PhysicalGraphBounds.scaledRadial L.val.1 x ∈ PhysicalGraphBounds.annulus a b ∧ | |
| 2064 | - PhysicalGraphBounds.scaledRadial L.val.1 x ∈ PolarCharts.chartDomain a j ∧ | |
| 2065 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q L.val.1) h | |
| 2066 | - (ChartScales.nativeIndex h L.val.1)).map (PhysicalCurlCovariance.polarCoordinates delta j x) ∈ | |
| 2067 | - (f.primary L).strip.domain} | |
| 2068 | - | |
| 2069 | 1679 | variable (G : ReferenceGeometry sys f) (L : NativeLabel f.active) |
| 2070 | 1680 | (hPhi : ContDiffOn ℝ ∞ ((f.primary L).base.phase L.val.1) (f.primary L).strip.domain) |
| 2071 | 1681 | {a b delta : ℝ} (ha : 0 < a) (hd : 0 < delta) (j : PolarCharts.Index) |
| 2072 | 1682 | |
| 2073 | 1683 | include G ha hd |
| 2074 | 1684 | |
| 2075 | -include hPhi in | |
| 2076 | -theorem labelPotential_eq_reference {x : SpaceTime} | |
| 2077 | - (hx : x ∈ referencePatch (h := h) f L a b delta j) : | |
| 2078 | - labelPotential sys hh f L a x = | |
| 2079 | - ActualPeriodizedSignedRealization.physicalPotential (f.primary L) | |
| 2080 | - (layout sys hh L.val L.property 0) (f.view L) (f.state L) (f.column L) delta x := by | |
| 2081 | - let z := PhysicalCurlCovariance.polarCoordinates delta j x | |
| 2082 | - have hz : z ∈ PhysicalCurlCovariance.validCylindrical delta j := polarCoordinates_valid hd j hx.1 | |
| 2083 | - have he : (z.1, CylindricalResidual.chart z.2) = x := polarCoordinates_backward hd j hx.1 | |
| 2084 | - ext i | |
| 2085 | - simp only [labelPotential, PhysicalCurlCovariance.realVector_apply] | |
| 2086 | - have hb' : PhysicalGraphBounds.scaledRadial L.val.1 (z.1, CylindricalResidual.chart z.2) ∈ | |
| 2087 | - PhysicalGraphBounds.annulus a b := by simpa only [he] using hx.2.1 | |
| 2088 | - have hj' : PhysicalGraphBounds.scaledRadial L.val.1 (z.1, CylindricalResidual.chart z.2) ∈ | |
| 2089 | - PolarCharts.chartDomain a j := by simpa only [he] using hx.2.2.1 | |
| 2090 | - have H := potential_periodized_physical sys hh f G L i hPhi ha hd j z hz hx.2.2.2 hb' hj' | |
| 2091 | - simp only [he] at H | |
| 2092 | - exact H | |
| 2093 | - | |
| 2094 | -theorem labelPressure_eq_reference {x : SpaceTime} | |
| 2095 | - (hx : x ∈ referencePatch (h := h) f L a b delta j) : | |
| 2096 | - labelPressure sys hh f L a x = | |
| 2097 | - ActualPeriodizedSignedRealization.physicalPressure (f.primary L) | |
| 2098 | - (layout sys hh L.val L.property 0) (f.view L) (f.state L) (f.column L) delta x := by | |
| 2099 | - let z := PhysicalCurlCovariance.polarCoordinates delta j x | |
| 2100 | - have hz : z ∈ PhysicalCurlCovariance.validCylindrical delta j := polarCoordinates_valid hd j hx.1 | |
| 2101 | - have he : (z.1, CylindricalResidual.chart z.2) = x := polarCoordinates_backward hd j hx.1 | |
| 2102 | - have hb' : PhysicalGraphBounds.scaledRadial L.val.1 (z.1, CylindricalResidual.chart z.2) ∈ | |
| 2103 | - PhysicalGraphBounds.annulus a b := by simpa only [he] using hx.2.1 | |
| 2104 | - have hj' : PhysicalGraphBounds.scaledRadial L.val.1 (z.1, CylindricalResidual.chart z.2) ∈ | |
| 2105 | - PolarCharts.chartDomain a j := by simpa only [he] using hx.2.2.1 | |
| 2106 | - have H := pressure_periodized_physical sys hh f G L ha hd j z hz hb' hj' | |
| 2107 | - simp only [he] at H | |
| 2108 | - exact H | |
| 2109 | - | |
| 2110 | -include hPhi in | |
| 2111 | -theorem labelPotential_germ {x : SpaceTime} | |
| 2112 | - (hx : x ∈ interior (referencePatch (h := h) f L a b delta j)) : | |
| 2113 | - labelPotential sys hh f L a =ᶠ[𝓝 x] | |
| 2114 | - ActualPeriodizedSignedRealization.physicalPotential (f.primary L) | |
| 2115 | - (layout sys hh L.val L.property 0) (f.view L) (f.state L) (f.column L) delta := | |
| 2116 | - eventually_of_mem (isOpen_interior.mem_nhds hx) (fun _ hy => | |
| 2117 | - labelPotential_eq_reference sys hh f G L hPhi ha hd j (interior_subset hy)) | |
| 2118 | - | |
| 2119 | -theorem labelPressure_germ {x : SpaceTime} | |
| 2120 | - (hx : x ∈ interior (referencePatch (h := h) f L a b delta j)) : | |
| 2121 | - labelPressure sys hh f L a =ᶠ[𝓝 x] | |
| 2122 | - ActualPeriodizedSignedRealization.physicalPressure (f.primary L) | |
| 2123 | - (layout sys hh L.val L.property 0) (f.view L) (f.state L) (f.column L) delta := | |
| 2124 | - eventually_of_mem (isOpen_interior.mem_nhds hx) (fun _ hy => | |
| 2125 | - labelPressure_eq_reference sys hh f G L ha hd j (interior_subset hy)) | |
| 2126 | - | |
| 2127 | -include hPhi in | |
| 2128 | -theorem labelVelocity_eq_reference {x : SpaceTime} | |
| 2129 | - (hx : x ∈ interior (referencePatch (h := h) f L a b delta j)) : | |
| 2130 | - SpatialCurl.spatialCurl (labelPotential sys hh f L a) x = | |
| 2131 | - ActualPeriodizedSignedRealization.physicalVelocity (f.primary L) | |
| 2132 | - (layout sys hh L.val L.property 0) (f.view L) (f.state L) (f.column L) delta x := | |
| 2133 | - PhysicalCurlCovariance.spatialCurl_congr (labelPotential_germ sys hh f G L hPhi ha hd j hx) | |
| 2134 | - | |
| 2135 | -include hPhi in | |
| 2136 | -theorem labelPotential_jets_eq_reference {x : SpaceTime} | |
| 2137 | - (hx : x ∈ interior (referencePatch (h := h) f L a b delta j)) (m : ℕ) : | |
| 2138 | - iteratedFDeriv ℝ m (labelPotential sys hh f L a) x = | |
| 2139 | - iteratedFDeriv ℝ m (ActualPeriodizedSignedRealization.physicalPotential (f.primary L) | |
| 2140 | - (layout sys hh L.val L.property 0) (f.view L) (f.state L) (f.column L) delta) x := | |
| 2141 | - PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq | |
| 2142 | - (labelPotential_germ sys hh f G L hPhi ha hd j hx) m | |
| 2143 | - | |
| 2144 | 1685 | end ReferenceGerms |
| 2145 | 1686 | |
| 2146 | 1687 | end NavierStokes.ActualSignedPhysicalData |
+0 −10 NavierStokes/ActualSignedPhysicalGeometry.lean View file
| @@ -116,16 +116,6 @@ theorem cylinderAt_physical_chart (h : ℝ) (n : ℕ) {a : ℝ} (ha : 0 < a) | ||
| 116 | 116 | simpa only [he] using ActualSignedPhysicalData.cylinderAt_physical_forward h n ha j |
| 117 | 117 | (PhysicalCurlCovariance.polarCoordinates (chartRadius a n) j w) hv.1 hv.2.1 hc |
| 118 | 118 | |
| 119 | -theorem exists_physical_chart (h : ℝ) (n : ℕ) {a : ℝ} (ha : 0 < a) | |
| 120 | - (j : PolarCharts.Index) {w : SpaceTime} | |
| 121 | - (hchart : scaledRadial n w ∈ PolarCharts.chartDomain a j) : | |
| 122 | - ∃ b : ℝ, 0 < b ∧ radialProjection w ∈ PolarCharts.chartDomain b j ∧ | |
| 123 | - ActualSignedPhysicalData.cylinderAt a j (physicalLift h n w) = | |
| 124 | - (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h | |
| 125 | - (ChartScales.nativeIndex h n)).map (PhysicalCurlCovariance.polarCoordinates b j w) := | |
| 126 | - ⟨chartRadius a n, chartRadius_pos ha n, physical_chart_mem n j hchart, | |
| 127 | - cylinderAt_physical_chart h n ha j hchart⟩ | |
| 128 | - | |
| 129 | 119 | /-- The mean graph's slow coordinate does not depend on its auxiliary cover. -/ |
| 130 | 120 | theorem graph_slow_mem_standard_of_ratio {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 131 | 121 | (n d : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) |
+0 −83 NavierStokes/ActualSignedPotentialCoherence.lean View file
| @@ -45,10 +45,6 @@ theorem potential_eq_mode (l : SignedLabel B N0) (u : CorrectionState.State Poin | ||
| 45 | 45 | potential l u n = vectorMode ((copies l u).common.frequency n) ((copies l u).common.phase n) |
| 46 | 46 | (potentialCoefficient l u n) := rfl |
| 47 | 47 | |
| 48 | -theorem potential_eq_curlPotential (l : SignedLabel B N0) (u : CorrectionState.State Point) (n : ℕ) : | |
| 49 | - potential l u n = (copies l u).common.curlPotential fullStrip | |
| 50 | - (ActualSignedStageControls.directions B) n := rfl | |
| 51 | - | |
| 52 | 48 | theorem potential_weight (n m : ℕ) : |
| 53 | 49 | bandVelocityScale h n m / bandScale n m = |
| 54 | 50 | PhysicalParticularWave.ratioPower (ChartScales.Q n) (ChartScales.Q m) h := by |
| @@ -188,36 +184,6 @@ theorem rescaledPressureMode_transport (x : FullPoint) (hx : x.1.2.1 ∈ ActualI | ||
| 188 | 184 | PhysicalParticularWave.pressureWeight, mul_comm, |
| 189 | 185 | PhysicalParticularWave.ratioPower_cancel (ChartScales.Q_pos n) (ChartScales.Q_pos m)] |
| 190 | 186 | |
| 191 | -theorem potential_transport_germ (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : | |
| 192 | - potential l u n =ᶠ[𝓝 x] fun y => (bandVelocityScale h n m / bandScale n m) • | |
| 193 | - potential l u m (chart n m k y) := by | |
| 194 | - have hU : {y : FullPoint | y.1.2.1 ∈ ActualInitialCoherence.overlap n m} ∈ 𝓝 x := | |
| 195 | - ((ActualInitialCoherence.overlap_open n m).preimage continuous_fst.snd.fst).mem_nhds hx | |
| 196 | - filter_upwards [hU] with y hy | |
| 197 | - exact potential_transport l u H hfixed n m k hi HS y hy | |
| 198 | - | |
| 199 | -theorem pressureMode_transport_germ (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : | |
| 200 | - pressureMode l u n =ᶠ[𝓝 x] fun y => (bandVelocityScale h n m * bandVelocityScale h n m) • | |
| 201 | - pressureMode l u m (chart n m k y) := by | |
| 202 | - have hU : {y : FullPoint | y.1.2.1 ∈ ActualInitialCoherence.overlap n m} ∈ 𝓝 x := | |
| 203 | - ((ActualInitialCoherence.overlap_open n m).preimage continuous_fst.snd.fst).mem_nhds hx | |
| 204 | - filter_upwards [hU] with y hy | |
| 205 | - exact pressureMode_transport l u H hfixed n m k hi HS y hy | |
| 206 | - | |
| 207 | -theorem rescaledPotential_transport_germ (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : | |
| 208 | - rescaledPotential l u n =ᶠ[𝓝 x] fun y => rescaledPotential l u m (chart n m k y) := by | |
| 209 | - have hU : {y : FullPoint | y.1.2.1 ∈ ActualInitialCoherence.overlap n m} ∈ 𝓝 x := | |
| 210 | - ((ActualInitialCoherence.overlap_open n m).preimage continuous_fst.snd.fst).mem_nhds hx | |
| 211 | - filter_upwards [hU] with y hy | |
| 212 | - exact rescaledPotential_transport l u H hfixed n m k hi HS y hy | |
| 213 | - | |
| 214 | -theorem rescaledPressureMode_transport_germ (x : FullPoint) (hx : x.1.2.1 ∈ ActualInitialCoherence.overlap n m) : | |
| 215 | - rescaledPressureMode l u n =ᶠ[𝓝 x] fun y => rescaledPressureMode l u m (chart n m k y) := by | |
| 216 | - have hU : {y : FullPoint | y.1.2.1 ∈ ActualInitialCoherence.overlap n m} ∈ 𝓝 x := | |
| 217 | - ((ActualInitialCoherence.overlap_open n m).preimage continuous_fst.snd.fst).mem_nhds hx | |
| 218 | - filter_upwards [hU] with y hy | |
| 219 | - exact rescaledPressureMode_transport l u H hfixed n m k hi HS y hy | |
| 220 | - | |
| 221 | 187 | end IncomingState |
| 222 | 188 | |
| 223 | 189 | /-! ## Comparing any two valid current-band representatives -/ |
| @@ -288,12 +254,6 @@ theorem nativePoint_absolute (n : ℕ) (z : ProblemStatement.SpaceTime) (hr : 0 | ||
| 288 | 254 | ActualPrimaryCoherence.absoluteChart n (nativePoint n z) = ActualPrimaryCoherence.physicalLift z := |
| 289 | 255 | ActualPrimaryCoherence.absoluteChart_physical n hr |
| 290 | 256 | |
| 291 | -theorem chart_nativePoint (n m k : ℕ) | |
| 292 | - (hi : CommonWindow.index h n + k = CommonWindow.index h m) | |
| 293 | - (z : ProblemStatement.SpaceTime) (hr : 0 < z.2 0) : | |
| 294 | - chart n m k (nativePoint n z) = nativePoint m z := | |
| 295 | - chart_eq_of_absolute n m k hi _ _ ((nativePoint_absolute n z hr).trans (nativePoint_absolute m z hr).symm) | |
| 296 | - | |
| 297 | 257 | theorem nativePoint_smoothAt (n : ℕ) (z : ProblemStatement.SpaceTime) (hr : 0 < z.2 0) : |
| 298 | 258 | ContDiffAt ℝ ∞ (nativePoint n) z := |
| 299 | 259 | PhysicalResidualTZ.swapCylinder.contDiff.contDiffAt.comp z |
| @@ -312,30 +272,6 @@ noncomputable def cylindricalPressureMode (l : SignedLabel B N0) (u : Correction | ||
| 312 | 272 | noncomputable def physicalDomain (n : ℕ) : Set ProblemStatement.SpaceTime := |
| 313 | 273 | {z | 0 < z.2 0 ∧ (nativePoint n z).1.2.1 ∈ standardRegion.carrier} |
| 314 | 274 | |
| 315 | -theorem physicalDomain_open (n : ℕ) : IsOpen (physicalDomain n) := by | |
| 316 | - rw [isOpen_iff_mem_nhds] | |
| 317 | - intro z hz | |
| 318 | - have hr : {w : ProblemStatement.SpaceTime | 0 < w.2 0} ∈ 𝓝 z := | |
| 319 | - (isOpen_lt continuous_const (PhysicalGraphBounds.coordinateProjection 0).continuous).mem_nhds hz.1 | |
| 320 | - have hs : {w : ProblemStatement.SpaceTime | (nativePoint n w).1.2.1 ∈ standardRegion.carrier} ∈ 𝓝 z := | |
| 321 | - (nativePoint_smoothAt n z hz.1).continuousAt.fst.snd.fst.preimage_mem_nhds | |
| 322 | - (standardRegion.isOpen.mem_nhds hz.2) | |
| 323 | - exact inter_mem hr hs | |
| 324 | - | |
| 325 | -theorem cylindrical_values_eq_of_index (l : SignedLabel B N0) (u : CorrectionState.State Point) | |
| 326 | - (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region | |
| 327 | - ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) | |
| 328 | - (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge | |
| 329 | - (commonContext B) u).pressure = u.pressure) | |
| 330 | - (n m k : ℕ) (hi : CommonWindow.index h n + k = CommonWindow.index h m) | |
| 331 | - (HS : PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) | |
| 332 | - (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) | |
| 333 | - (z : ProblemStatement.SpaceTime) (hn : z ∈ physicalDomain n) (hm : z ∈ physicalDomain m) : | |
| 334 | - cylindricalPotential l u n z = cylindricalPotential l u m z ∧ | |
| 335 | - cylindricalPressureMode l u n z = cylindricalPressureMode l u m z := | |
| 336 | - rescaled_eq_of_absolute_of_index l u H hfixed n m k hi HS _ _ hn.2 hm.2 | |
| 337 | - ((nativePoint_absolute n z hn.1).trans (nativePoint_absolute m z hn.1).symm) | |
| 338 | - | |
| 339 | 275 | theorem cylindrical_values_eq (l : SignedLabel B N0) (u : CorrectionState.State Point) |
| 340 | 276 | (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region |
| 341 | 277 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) |
| @@ -350,23 +286,4 @@ theorem cylindrical_values_eq (l : SignedLabel B N0) (u : CorrectionState.State | ||
| 350 | 286 | rescaled_eq_of_absolute l u H hfixed HS n m _ _ hn.2 hm.2 |
| 351 | 287 | ((nativePoint_absolute n z hn.1).trans (nativePoint_absolute m z hn.1).symm) |
| 352 | 288 | |
| 353 | -theorem cylindrical_values_germ (l : SignedLabel B N0) (u : CorrectionState.State Point) | |
| 354 | - (H : MeanStateRegularity.PrimitiveData ActualInitialization.geometry.region | |
| 355 | - ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b (commonContext B) u) | |
| 356 | - (hfixed : (VariableGaugeMean.reconstructState ActualInitialization.geometry.gauge | |
| 357 | - (commonContext B) u).pressure = u.pressure) | |
| 358 | - (HS : ∀ n m k, CommonWindow.index h n + k = CommonWindow.index h m → | |
| 359 | - PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain (ActualInitialCoherence.overlap n m)) | |
| 360 | - (bandChartEquiv h n m k) (bandVelocityScale h n m) (bandScale n m) u u n m) | |
| 361 | - (n m : ℕ) (z : ProblemStatement.SpaceTime) (hn : z ∈ physicalDomain n) (hm : z ∈ physicalDomain m) : | |
| 362 | - cylindricalPotential l u n =ᶠ[𝓝 z] cylindricalPotential l u m ∧ | |
| 363 | - cylindricalPressureMode l u n =ᶠ[𝓝 z] cylindricalPressureMode l u m := by | |
| 364 | - have hN := (physicalDomain_open n).mem_nhds hn | |
| 365 | - have hM := (physicalDomain_open m).mem_nhds hm | |
| 366 | - constructor | |
| 367 | - · filter_upwards [hN, hM] with w hwn hwm | |
| 368 | - exact (cylindrical_values_eq l u H hfixed HS n m w hwn hwm).1 | |
| 369 | - · filter_upwards [hN, hM] with w hwn hwm | |
| 370 | - exact (cylindrical_values_eq l u H hfixed HS n m w hwn hwm).2 | |
| 371 | - | |
| 372 | 289 | end NavierStokes.ActualSignedPotentialCoherence |
+0 −15 NavierStokes/ActualSignedReferenceGeometry.lean View file
| @@ -151,21 +151,6 @@ variable (x : CorrectionStep.CycleState (Label B N0)) | ||
| 151 | 151 | ((ActualCycleParameters.fixedParameters B N0).afterParticular |
| 152 | 152 | x.coefficients (commonContext B) x.state).pressure) |
| 153 | 153 | |
| 154 | -/-- The actual post-particular cycle family is definitionally the same | |
| 155 | -family used above, including its state and request. -/ | |
| 156 | -noncomputable def cycleSingletonGeometry | |
| 157 | - (L : ActualSignedPhysicalData.NativeLabel (ActualSignedExterior.cycleFamily x H hp).active) : | |
| 158 | - ActualSignedPhysicalData.ReferenceGeometry (h := h) slots | |
| 159 | - ((ActualSignedExterior.cycleFamily x H hp).singleton L) := | |
| 160 | - singletonGeometry ActualInitialization.patch | |
| 161 | - ((ActualCycleParameters.fixedParameters B N0).afterParticular | |
| 162 | - x.coefficients (commonContext B) x.state) H hp L | |
| 163 | - | |
| 164 | -noncomputable def cycleNativeGeometry (l : Label B N0) : | |
| 165 | - ActualSignedPhysicalData.ReferenceGeometry (h := h) slots | |
| 166 | - ((ActualSignedExterior.cycleFamily x H hp).singleton (ActualSignedExterior.nativeLabel l)) := | |
| 167 | - cycleSingletonGeometry x H hp (ActualSignedExterior.nativeLabel l) | |
| 168 | - | |
| 169 | 154 | end Cycle |
| 170 | 155 | |
| 171 | 156 | end NavierStokes.ActualSignedReferenceGeometry |
+0 −91 NavierStokes/ActualSignedStageControls.lean View file
| @@ -181,21 +181,6 @@ theorem fullRequest_jets_from_residuals (G : SignedMeanGain.Geometry) | ||
| 181 | 181 | htheta.smooth haxial'.smooth (MeanStateRegularity.MovingField.movingSupport htheta) |
| 182 | 182 | (MeanStateRegularity.MovingField.movingSupport haxial') hθ hz K |
| 183 | 183 | |
| 184 | -/-- The initial cycle invariant gives the request class without assuming | |
| 185 | -any request derivative or signed output bound. -/ | |
| 186 | -theorem fullRequest_jets_from_invariant {ι : Type} (G : SignedMeanGain.Geometry) | |
| 187 | - (c : CorrectionState.Context Point) (primary : ι → CorrectionState.HarmonicBlock Point) | |
| 188 | - (P : ι → ℕ → Point → ℝ) (labelCarrier : ι → ℕ → Set Point) | |
| 189 | - (sigma : ℝ) (u : CorrectionStep.CycleState ι) | |
| 190 | - (H : CorrectionStep.CycleAnalyticInvariant G c primary P labelCarrier sigma u) | |
| 191 | - {Λ I : Type} (K : Λ → ℕ → I → Set FullPoint) : | |
| 192 | - ∀ q, PeriodizedWaveBounds.UniformLocalJets (HarmonicWaveInteraction.productStrip G.strip) | |
| 193 | - (fun _ _ x => G.strip.zeta x.1) sigma K | |
| 194 | - (fun _ n _ x => LocalSignedRequest.fullRequest G.strip G.patch G.coord c u.state n x q) := by | |
| 195 | - have hh := fullRequest_jets_from_residuals G c u.state (1 + sigma) H.primitives H.reconstructed | |
| 196 | - H.raw_mean_bounds.1 H.raw_mean_bounds.2 K | |
| 197 | - simpa only [show (1 : ℝ) + sigma - 1 = sigma by ring] using hh | |
| 198 | - | |
| 199 | 184 | /-! ## Native input jets on a neighborhood of the closed band -/ |
| 200 | 185 | |
| 201 | 186 | open PhaseJetBounds PrimaryCopyBounds |
| @@ -408,10 +393,6 @@ theorem coefficientLower_pos : 0 < coefficientLower := by | ||
| 408 | 393 | unfold coefficientLower |
| 409 | 394 | positivity |
| 410 | 395 | |
| 411 | -theorem coefficientUpper_one : 1 ≤ coefficientUpper := | |
| 412 | - one_le_mul_of_one_le_of_one_le (ActualSignedGeometry.powerBound_one _) | |
| 413 | - (ActualSignedGeometry.powerBound_one _) | |
| 414 | - | |
| 415 | 396 | theorem coefficientScale_bounds (l : SignedLabel B N0) {n : ℕ} |
| 416 | 397 | (hnm : n ≤ BaseChartJets.cellBand l.1 + 4) (hmn : BaseChartJets.cellBand l.1 ≤ n + 4) : |
| 417 | 398 | coefficientLower ≤ coefficientScale l n ∧ coefficientScale l n ≤ coefficientUpper := by |
| @@ -422,9 +403,6 @@ theorem coefficientScale_bounds (l : SignedLabel B N0) {n : ℕ} | ||
| 422 | 403 | rw [ActualSignedGeometry.coefficientScale_value] at h |
| 423 | 404 | exact h |
| 424 | 405 | |
| 425 | -theorem nativePoint_eq_dynamics (l : SignedLabel B N0) (n : ℕ) (k : Frequency) : | |
| 426 | - nativePoint l n k = ActualPrimaryDynamics.copyPoint l.2 l.1 n k := rfl | |
| 427 | - | |
| 428 | 406 | theorem clockScale_eq_dynamics (l : SignedLabel B N0) (n : ℕ) : |
| 429 | 407 | clockScale l n = ActualPrimaryDynamics.clockScale l.1 n := by |
| 430 | 408 | change ChartScales.Q n ^ (CoordinateAlgebra.A ActualPrimary.h + 1 / 2) / |
| @@ -1154,34 +1132,6 @@ theorem raw_coefficients_jets {β : ℝ} {request : ℕ → FullPoint → Signed | ||
| 1154 | 1132 | · exact uniform_select_two (fun j => (hh j).1) hweight |
| 1155 | 1133 | · exact uniform_select_two (fun j => (hh j).2) hweight |
| 1156 | 1134 | |
| 1157 | -/-- The actual full request is derived from the current residuals. No | |
| 1158 | -request-output class or signed-output estimate is an input. -/ | |
| 1159 | -theorem actual_raw_coefficients_jets (G : SignedMeanGain.Geometry) | |
| 1160 | - (hs : G.strip = ActualPrimaryBounds.strip) | |
| 1161 | - (c : CorrectionState.Context Point) (u : CorrectionState.State Point) (α : ℝ) | |
| 1162 | - (H : MeanStateRegularity.PrimitiveData G.region G.patch.a G.patch.b c u) | |
| 1163 | - (hfixed : VariableGaugeMean.reconstructState G.gauge c u = u) | |
| 1164 | - (hθ : MeanClass G.strip α (u.thetaResidual c)) | |
| 1165 | - (hz : MeanClass G.strip α (u.axialResidual c)) : | |
| 1166 | - PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 1167 | - (fun (l : SignedLabel B N0) n x => Real.sqrt (fullStrip.zeta x) * envelope l n x) (α - 1 / 2) | |
| 1168 | - (phaseCell (B := B) (N0 := N0)) | |
| 1169 | - (fun l n k => (((parameters l).copyData ActualPrimaryBounds.strip | |
| 1170 | - (LocalSignedRequest.fullRequest G.strip G.patch G.coord c u)).raw k).amplitude n) ∧ | |
| 1171 | - PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 1172 | - (fun (l : SignedLabel B N0) n x => Real.sqrt (fullStrip.zeta x) * envelope l n x) α phaseCell | |
| 1173 | - (fun l n k => (((parameters l).copyData ActualPrimaryBounds.strip | |
| 1174 | - (LocalSignedRequest.fullRequest G.strip G.patch G.coord c u)).raw k).pressure n) := by | |
| 1175 | - have hr := fullRequest_jets_from_residuals G c u α H hfixed hθ hz | |
| 1176 | - (phaseCell (B := B) (N0 := N0)) | |
| 1177 | - have hr' : ∀ q, PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 1178 | - (fun _ _ x => fullStrip.zeta x) (α - 1) (phaseCell (B := B) (N0 := N0)) | |
| 1179 | - (fun _ n _ x => LocalSignedRequest.fullRequest G.strip G.patch G.coord c u n x q) := by | |
| 1180 | - simp only [hs] at hr ⊢ | |
| 1181 | - exact hr | |
| 1182 | - simpa only [show α - 1 + 1 / 2 = α - 1 / 2 by ring, sub_add_cancel] using | |
| 1183 | - raw_coefficients_jets hr' | |
| 1184 | - | |
| 1185 | 1135 | noncomputable def covariance_at_label (l : SignedLabel B N0) : |
| 1186 | 1136 | SignedCopyBounds.NativeCovariance fullStrip (phaseCell l) (matrix l) (target l) where |
| 1187 | 1137 | matrix_jets a b := ((nativeCovariance B N0).matrix_jets a b).each l |
| @@ -1197,12 +1147,6 @@ noncomputable def covariance_at_label (l : SignedLabel B N0) : | ||
| 1197 | 1147 | entries := (nativeCovariance B N0).entries l |
| 1198 | 1148 | lower := (nativeCovariance B N0).lower l |
| 1199 | 1149 | |
| 1200 | -theorem primary_weight_pos {l : SignedLabel B N0} {n : ℕ} {k : Frequency} {x : FullPoint} | |
| 1201 | - (hx : x ∈ fullStrip.domain) (hc : x ∈ phaseCell l n k) (j : Fin 2) : | |
| 1202 | - 0 < SmoothCovariance.weights (matrix l k n x) (target l k n x) j := | |
| 1203 | - (mul_pos (nativeCovariance B N0).lower_pos (fullStrip_zeta_pos hx)).trans_le | |
| 1204 | - ((nativeCovariance B N0).lower l n k x hx hc j) | |
| 1205 | - | |
| 1206 | 1150 | open scoped InnerProductSpace |
| 1207 | 1151 | open HarmonicCalculus |
| 1208 | 1152 | |
| @@ -1314,39 +1258,4 @@ theorem raw_principal_zero {β : ℝ} {request : ℕ → FullPoint → SignedWav | ||
| 1314 | 1258 | (Scaling.carrier_frequency_pos (fullStrip.epsilon_pos n)).ne' |
| 1315 | 1259 | (actual_unit_ode hx hc) (actual_unit_action hx) |
| 1316 | 1260 | |
| 1317 | -theorem fullRequest_principal_zero {β : ℝ} (s : StripData Point) | |
| 1318 | - (P : SignedStressPrimitive.Patch) (coord : ℝ) | |
| 1319 | - (c : CorrectionState.Context Point) (u : CorrectionState.State Point) | |
| 1320 | - (hR : ∀ q, PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 1321 | - (fun _ _ x => fullStrip.zeta x) β (phaseCell (B := B) (N0 := N0)) | |
| 1322 | - (fun _ n _ x => LocalSignedRequest.fullRequest s P coord c u n x q)) | |
| 1323 | - {l : SignedLabel B N0} {n : ℕ} {k : Frequency} {x : FullPoint} | |
| 1324 | - (hx : x ∈ fullStrip.domain) (hc : x ∈ phaseCell l n k) : | |
| 1325 | - (((parameters l).copyData ActualPrimaryBounds.strip | |
| 1326 | - (LocalSignedRequest.fullRequest s P coord c u)).raw k).principal fullStrip (directions B) n x = 0 := | |
| 1327 | - raw_principal_zero hR (request_frozen s P coord c u) hx hc | |
| 1328 | - | |
| 1329 | -/-- The current residuals provide every request estimate needed by the | |
| 1330 | -actual homogeneous signed equation. -/ | |
| 1331 | -theorem actual_principal_zero (G : SignedMeanGain.Geometry) | |
| 1332 | - (hs : G.strip = ActualPrimaryBounds.strip) | |
| 1333 | - (c : CorrectionState.Context Point) (u : CorrectionState.State Point) (α : ℝ) | |
| 1334 | - (H : MeanStateRegularity.PrimitiveData G.region G.patch.a G.patch.b c u) | |
| 1335 | - (hfixed : VariableGaugeMean.reconstructState G.gauge c u = u) | |
| 1336 | - (hθ : MeanClass G.strip α (u.thetaResidual c)) | |
| 1337 | - (hz : MeanClass G.strip α (u.axialResidual c)) | |
| 1338 | - {l : SignedLabel B N0} {n : ℕ} {k : Frequency} {x : FullPoint} | |
| 1339 | - (hx : x ∈ fullStrip.domain) (hc : x ∈ phaseCell l n k) : | |
| 1340 | - (((parameters l).copyData ActualPrimaryBounds.strip | |
| 1341 | - (LocalSignedRequest.fullRequest G.strip G.patch G.coord c u)).raw k).principal | |
| 1342 | - fullStrip (directions B) n x = 0 := by | |
| 1343 | - have hr := fullRequest_jets_from_residuals G c u α H hfixed hθ hz | |
| 1344 | - (phaseCell (B := B) (N0 := N0)) | |
| 1345 | - have hr' : ∀ q, PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 1346 | - (fun _ _ x => fullStrip.zeta x) (α - 1) (phaseCell (B := B) (N0 := N0)) | |
| 1347 | - (fun _ n _ x => LocalSignedRequest.fullRequest G.strip G.patch G.coord c u n x q) := by | |
| 1348 | - simp only [hs] at hr ⊢ | |
| 1349 | - exact hr | |
| 1350 | - exact fullRequest_principal_zero G.strip G.patch G.coord c u hr' hx hc | |
| 1351 | - | |
| 1352 | 1261 | end NavierStokes.ActualSignedStageControls |
+0 −59 NavierStokes/ActualSignedUnmaskedBounds.lean View file
| @@ -393,65 +393,6 @@ theorem own_zero_outside (request : ℕ → Full → SignedWaveUpdate.Vec2) | ||
| 393 | 393 | simp only [amplitude, pressure, potential, hza, hzp, CurlClassBounds.normalCoefficient, |
| 394 | 394 | CurlClassBounds.normalCross, map_zero, smul_zero, and_self] |
| 395 | 395 | |
| 396 | -/-- The full-strip families supplied to radial continuation have literal | |
| 397 | -zero values outside the original open radial interval, in every band. -/ | |
| 398 | -theorem ownFields_zero_outside (request : ℕ → Full → SignedWaveUpdate.Vec2) | |
| 399 | - (i : Label B N0 × Copy) (n : ℕ) {x : Full} | |
| 400 | - (hx : x ∈ ActualWaveRegularity.fullDomain standardRegion) | |
| 401 | - (hout : ActualWaveRegularityData.radius x ∉ Ioo | |
| 402 | - (PrimaryTargetBounds.leftRadius nominal) (PrimaryTargetBounds.rightRadius nominal)) : | |
| 403 | - ownField (amplitude request) i n x = 0 ∧ | |
| 404 | - ownField (pressure request) i n x = 0 ∧ ownField (potential request) i n x = 0 := by | |
| 405 | - by_cases hn : n = reference i.1 | |
| 406 | - · subst n | |
| 407 | - simp only [ownField_reference] | |
| 408 | - exact own_zero_outside request i.1 i.2 hx hout | |
| 409 | - · simp only [ownField_other _ i hn, and_self] | |
| 410 | - | |
| 411 | 396 | /-! ## The request is the measured current residual -/ |
| 412 | 397 | |
| 413 | -/-- The actual residual-to-request construction supplies the unmasked | |
| 414 | -potential and pressure estimates. No bound for either output is assumed. -/ | |
| 415 | -theorem actual_own_potential_pressure_class (G : SignedMeanGain.Geometry) | |
| 416 | - (hs : G.strip = ActualPrimaryBounds.strip) | |
| 417 | - (c : CorrectionState.Context Point) (u : CorrectionState.State Point) (α : ℝ) | |
| 418 | - (H : MeanStateRegularity.PrimitiveData G.region G.patch.a G.patch.b c u) | |
| 419 | - (hfixed : VariableGaugeMean.reconstructState G.gauge c u = u) | |
| 420 | - (hθ : MeanClass G.strip α (u.thetaResidual c)) | |
| 421 | - (hz : MeanClass G.strip α (u.axialResidual c)) : | |
| 422 | - let request := LocalSignedRequest.fullRequest G.strip G.patch G.coord c u | |
| 423 | - LabelSumBounds.UniformClass fullStrip | |
| 424 | - (fun (i : Label B N0 × Copy) n x => Real.sqrt (fullStrip.zeta x) * envelope i.1 n x) α | |
| 425 | - (ownField (potential request)) ∧ | |
| 426 | - LabelSumBounds.UniformClass fullStrip | |
| 427 | - (fun (i : Label B N0 × Copy) n x => Real.sqrt (fullStrip.zeta x) * envelope i.1 n x) α | |
| 428 | - (ownField (pressure request)) := by | |
| 429 | - dsimp only | |
| 430 | - have hr := fullRequest_jets_from_residuals G c u α H hfixed hθ hz | |
| 431 | - (phaseCell (B := B) (N0 := N0)) | |
| 432 | - have hr' : ∀ q, PeriodizedWaveBounds.UniformLocalJets fullStrip | |
| 433 | - (fun _ _ x => fullStrip.zeta x) (α - 1) (phaseCell (B := B) (N0 := N0)) | |
| 434 | - (fun _ n _ x => LocalSignedRequest.fullRequest G.strip G.patch G.coord c u n x q) := by | |
| 435 | - simp only [hs] at hr ⊢ | |
| 436 | - exact hr | |
| 437 | - simpa only [sub_add_cancel] using own_potential_pressure_class hr' | |
| 438 | - | |
| 439 | -/-- In particular the literal reconstructed cycle invariant is sufficient; | |
| 440 | -the only analytic output used is its already measured residual class. -/ | |
| 441 | -theorem invariant_own_potential_pressure_class {ι : Type} (G : SignedMeanGain.Geometry) | |
| 442 | - (hs : G.strip = ActualPrimaryBounds.strip) | |
| 443 | - (c : CorrectionState.Context Point) (primary : ι → CorrectionState.HarmonicBlock Point) | |
| 444 | - (P : ι → ℕ → Point → ℝ) (labelCarrier : ι → ℕ → Set Point) | |
| 445 | - (σ : ℝ) (u : CorrectionStep.CycleState ι) | |
| 446 | - (H : CorrectionStep.CycleAnalyticInvariant G c primary P labelCarrier σ u) : | |
| 447 | - let request := LocalSignedRequest.fullRequest G.strip G.patch G.coord c u.state | |
| 448 | - LabelSumBounds.UniformClass fullStrip | |
| 449 | - (fun (i : Label B N0 × Copy) n x => Real.sqrt (fullStrip.zeta x) * envelope i.1 n x) (1 + σ) | |
| 450 | - (ownField (potential request)) ∧ | |
| 451 | - LabelSumBounds.UniformClass fullStrip | |
| 452 | - (fun (i : Label B N0 × Copy) n x => Real.sqrt (fullStrip.zeta x) * envelope i.1 n x) (1 + σ) | |
| 453 | - (ownField (pressure request)) := | |
| 454 | - actual_own_potential_pressure_class G hs c u.state (1 + σ) H.primitives H.reconstructed | |
| 455 | - H.raw_mean_bounds.1 H.raw_mean_bounds.2 | |
| 456 | - | |
| 457 | 398 | end NavierStokes.ActualSignedUnmaskedBounds |
+0 −87 NavierStokes/ActualSignedWaveData.lean View file
| @@ -27,7 +27,6 @@ open PhysicalWaveSum PhysicalCopyBounds | ||
| 27 | 27 | open scoped Topology ContDiff BigOperators |
| 28 | 28 | |
| 29 | 29 | abbrev Label := ActualSignedPhysicalBinding.Label |
| 30 | -abbrev Native := ActualSignedPhysicalData.Native | |
| 31 | 30 | abbrev SourceIndex := Σ (_ : BandLabel), ActualSignedPhysicalData.SourceIndex |
| 32 | 31 | |
| 33 | 32 | variable {B N0 : ℕ} |
| @@ -57,23 +56,6 @@ noncomputable def singletonGeometry | ||
| 57 | 56 | ActualSignedPhysicalData.ReferenceGeometry slots ((family P u H hp).singleton L) := |
| 58 | 57 | ActualSignedReferenceGeometry.singletonGeometry P u H hp L |
| 59 | 58 | |
| 60 | -/-- One actual bound works for every native label and both signs. -/ | |
| 61 | -theorem singleton_frequencies | |
| 62 | - (L : ActualSignedPhysicalData.NativeLabel (family (N0 := N0) P u H hp).active) | |
| 63 | - (K : ActualSignedPhysicalData.NativeLabel ((family P u H hp).singleton L).active) : | |
| 64 | - |((((family P u H hp).singleton L).primary K).pulse | |
| 65 | - (((family P u H hp).singleton L).column K)).phase.p K.val.1| ≤ | |
| 66 | - ActualPhaseJetBounds.phaseSize B N0 ∧ | |
| 67 | - |((((family P u H hp).singleton L).primary K).pulse | |
| 68 | - (((family P u H hp).singleton L).column K)).phase.pz K.val.1| ≤ | |
| 69 | - ActualPhaseJetBounds.phaseSize B N0 ∧ | |
| 70 | - |((((family P u H hp).singleton L).primary K).pulse | |
| 71 | - (((family P u H hp).singleton L).column K)).phase.x0 K.val.1| ≤ | |
| 72 | - ActualPhaseJetBounds.phaseSize B N0 := by | |
| 73 | - rw [ActualSignedReferenceGeometry.singleton_index_eq (family P u H hp) L K] | |
| 74 | - exact ActualPhaseJetBounds.phase_constants_bound | |
| 75 | - ((ActualSignedExterior.actualLabel L).2, (ActualSignedExterior.actualLabel L).1) | |
| 76 | - | |
| 77 | 59 | end Geometry |
| 78 | 60 | |
| 79 | 61 | private theorem cells_mpr {H : ℕ} {K : Type*} {f g : CopyFamily H K} |
| @@ -232,19 +214,6 @@ theorem pressure_field_eq {w : SpaceTime} (hw : w ∈ preterminal) : | ||
| 232 | 214 | ActualSignedExterior.pressure s w := |
| 233 | 215 | congrArg Complex.re (PositiveTimeCopyFamily.sum_eq _ _ _ _ hw) |
| 234 | 216 | |
| 235 | -theorem potential_field_germ {w : SpaceTime} (hw : w ∈ preterminal) : | |
| 236 | - vectorSum (potentialCopies s) ActualPolarCoverage.inner h slots.radius =ᶠ[𝓝 w] | |
| 237 | - ActualSignedExterior.potential s := | |
| 238 | - PositiveTimeCopyFamily.vectorSum_germ _ _ _ _ hw | |
| 239 | - | |
| 240 | -theorem pressure_field_germ {w : SpaceTime} (hw : w ∈ preterminal) : | |
| 241 | - (fun w => ((pressureCopies s).sum ActualPolarCoverage.inner h slots.radius w).re) =ᶠ[𝓝 w] | |
| 242 | - ActualSignedExterior.pressure s := by | |
| 243 | - filter_upwards [PositiveTimeCopyFamily.sum_germ | |
| 244 | - ((ActualSignedExterior.family s).pressureCopies slots outgoing.data.h_pos.le) | |
| 245 | - ActualPolarCoverage.inner h slots.radius hw] with y hy | |
| 246 | - exact congrArg Complex.re hy | |
| 247 | - | |
| 248 | 217 | |
| 249 | 218 | /-- The carrier coefficients remain jointly bounded after label selection |
| 250 | 219 | and the positive-time extension. -/ |
| @@ -478,22 +447,6 @@ variable | ||
| 478 | 447 | @[simp] theorem pressureOfNative_shift : |
| 479 | 448 | (pressureOfNative s hgeo hn hpressure).shift = -(2 * CoordinateAlgebra.A h) := rfl |
| 480 | 449 | |
| 481 | -theorem potentialOfNative_vector_eq {w : SpaceTime} (hw : w ∈ preterminal) : | |
| 482 | - (potentialOfNative s hgeo hn hpotential).vector w = ActualSignedExterior.potential s w := | |
| 483 | - potential_field_eq s hw | |
| 484 | - | |
| 485 | -theorem pressureOfNative_pressure_eq {w : SpaceTime} (hw : w ∈ preterminal) : | |
| 486 | - (pressureOfNative s hgeo hn hpressure).pressure w = ActualSignedExterior.pressure s w := | |
| 487 | - pressure_field_eq s hw | |
| 488 | - | |
| 489 | -theorem potentialOfNative_vector_germ {w : SpaceTime} (hw : w ∈ preterminal) : | |
| 490 | - (potentialOfNative s hgeo hn hpotential).vector =ᶠ[𝓝 w] ActualSignedExterior.potential s := | |
| 491 | - potential_field_germ s hw | |
| 492 | - | |
| 493 | -theorem pressureOfNative_pressure_germ {w : SpaceTime} (hw : w ∈ preterminal) : | |
| 494 | - (pressureOfNative s hgeo hn hpressure).pressure =ᶠ[𝓝 w] ActualSignedExterior.pressure s := | |
| 495 | - pressure_field_germ s hw | |
| 496 | - | |
| 497 | 450 | end NativeAssembly |
| 498 | 451 | |
| 499 | 452 | |
| @@ -599,46 +552,6 @@ theorem cyclePressureData_eq : EqOn (cyclePressureData x R).pressure | ||
| 599 | 552 | (ActualSignedPhysicalBinding.afterParticular_pressure x R.primitive)) preterminal := |
| 600 | 553 | fun _ hw => pressure_field_eq _ hw |
| 601 | 554 | |
| 602 | -theorem cyclePotentialData_germ {w : SpaceTime} (hw : w ∈ preterminal) : | |
| 603 | - (cyclePotentialData x R).vector =ᶠ[𝓝 w] | |
| 604 | - ActualSignedExterior.cyclePotential x R.primitive | |
| 605 | - (ActualSignedPhysicalBinding.afterParticular_pressure x R.primitive) := | |
| 606 | - potential_field_germ _ hw | |
| 607 | - | |
| 608 | -theorem cyclePressureData_germ {w : SpaceTime} (hw : w ∈ preterminal) : | |
| 609 | - (cyclePressureData x R).pressure =ᶠ[𝓝 w] | |
| 610 | - ActualSignedExterior.cyclePressure x R.primitive | |
| 611 | - (ActualSignedPhysicalBinding.afterParticular_pressure x R.primitive) := | |
| 612 | - pressure_field_germ _ hw | |
| 613 | - | |
| 614 | -/-- A consequence for the original signed potential, including every | |
| 615 | -ambient time and spatial derivative. -/ | |
| 616 | -theorem cyclePotential_bound (m : ℕ) : | |
| 617 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ preterminal, physicalQ h w ≤ 1 → | |
| 618 | - ‖iteratedFDeriv ℝ m | |
| 619 | - (ActualSignedExterior.cyclePotential x R.primitive | |
| 620 | - (ActualSignedPhysicalBinding.afterParticular_pressure x R.primitive)) w‖ ≤ | |
| 621 | - C * physicalQ h w ^ (h * (1 + σ - ChartScales.kappa) - | |
| 622 | - PhysicalClassBounds.physicalLoss h (-h) m) := by | |
| 623 | - obtain ⟨C, hC, hb⟩ := (cyclePotentialData x R).vector_bound | |
| 624 | - outgoing.data.h_pos outgoing.data.h_lt_half m | |
| 625 | - refine ⟨C, hC, fun w hw hq => ?_⟩ | |
| 626 | - rw [← PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq (cyclePotentialData_germ x R hw) m] | |
| 627 | - exact hb w hw hq | |
| 628 | - | |
| 629 | -theorem cyclePressure_bound (m : ℕ) : | |
| 630 | - ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ preterminal, physicalQ h w ≤ 1 → | |
| 631 | - ‖iteratedFDeriv ℝ m | |
| 632 | - (ActualSignedExterior.cyclePressure x R.primitive | |
| 633 | - (ActualSignedPhysicalBinding.afterParticular_pressure x R.primitive)) w‖ ≤ | |
| 634 | - C * physicalQ h w ^ (h * (1 + σ - ChartScales.kappa) - | |
| 635 | - PhysicalClassBounds.physicalLoss h (-(2 * CoordinateAlgebra.A h)) m) := by | |
| 636 | - obtain ⟨C, hC, hb⟩ := (cyclePressureData x R).pressure_bound | |
| 637 | - outgoing.data.h_pos outgoing.data.h_lt_half m | |
| 638 | - refine ⟨C, hC, fun w hw hq => ?_⟩ | |
| 639 | - rw [← PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq (cyclePressureData_germ x R hw) m] | |
| 640 | - exact hb w hw hq | |
| 641 | - | |
| 642 | 555 | end Cycle |
| 643 | 556 | |
| 644 | 557 | /-! ## The actual infinite stage sequence -/ |
+0 −194 NavierStokes/ActualSlowAxis.lean View file
| @@ -44,29 +44,6 @@ theorem parameterDomain_real {Ω : Set ℂ} | ||
| 44 | 44 | theorem parameterDomain_real_interval {Ω : Set ℂ} {eta : ℝ} |
| 45 | 45 | (heta : (eta : ℂ) ∈ parameterDomain Ω) : eta ∈ ReferencePath.parameterInterval := heta.2 |
| 46 | 46 | |
| 47 | -theorem parameterTube_conjugate (J : AxisCoefficientSpace.Window) {ρ : ℝ} {z : ℂ} | |
| 48 | - (hz : z ∈ AxisHolomorphic.parameterTube J ρ) : | |
| 49 | - starRingEnd ℂ z ∈ AxisHolomorphic.parameterTube J ρ := by | |
| 50 | - rcases hz with ⟨x, hx, hd⟩ | |
| 51 | - refine ⟨x, hx, ?_⟩ | |
| 52 | - simpa only [Complex.dist_conj_comm, Complex.conj_ofReal] using hd | |
| 53 | - | |
| 54 | -theorem smallTube_subset_domain {ρ τ : ℝ} (hτρ : τ ≤ ρ) (hτ : τ ≤ 1 / 40) : | |
| 55 | - AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow τ ⊆ | |
| 56 | - parameterDomain (AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow ρ) := by | |
| 57 | - intro z hz | |
| 58 | - rcases hz with ⟨x, hx, hd⟩ | |
| 59 | - have hzρ : z ∈ AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow ρ := | |
| 60 | - ⟨x, hx, lt_of_lt_of_le hd hτρ⟩ | |
| 61 | - refine ⟨⟨hzρ, parameterTube_conjugate _ hzρ⟩, ?_⟩ | |
| 62 | - have hre : |z.re - x| ≤ dist z (x : ℂ) := by | |
| 63 | - simpa only [dist_eq_norm, Complex.sub_re, Complex.ofReal_re] using | |
| 64 | - Complex.abs_re_le_norm (z - (x : ℂ)) | |
| 65 | - have hb := abs_lt.mp (lt_of_le_of_lt hre hd) | |
| 66 | - change -21 / 20 ≤ x ∧ x ≤ 21 / 20 at hx | |
| 67 | - change -11 / 10 < z.re ∧ z.re < 11 / 10 | |
| 68 | - constructor <;> linarith [hx.1, hx.2, hb.1, hb.2] | |
| 69 | - | |
| 70 | 47 | theorem histories_congr_below {D D' : ProfileHistories.RadialDomain} |
| 71 | 48 | (P : ProfileHistories.Profiles D) (Q : ProfileHistories.Profiles D') |
| 72 | 49 | {X eta : ℝ} (hX : 0 ≤ X) (hP0 : P.pressure0 eta = Q.pressure0 eta) |
| @@ -164,42 +141,12 @@ theorem element_profile {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | ||
| 164 | 141 | (fields_real E hT hδ hδT κ hP0 i X heta) |
| 165 | 142 | exact congrArg Complex.re hc |
| 166 | 143 | |
| 167 | -theorem realFields_smooth {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 168 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) (hP0 : ContDiff ℝ ∞ P0) | |
| 169 | - (i : Fin 4) : ContDiffOn ℝ ∞ (realFields (N := N) hT hδ hδT κ hP0 i) N.radialDomain.carrier := by | |
| 170 | - let P := StressActivation.FromReference.histories N hT hδ hδT κ P0 hP0 | |
| 171 | - fin_cases i | |
| 172 | - · exact P.f_smooth | |
| 173 | - · exact P.U_smooth | |
| 174 | - · exact P.Ubar_smooth | |
| 175 | - · exact P.pressure_smooth | |
| 176 | - | |
| 177 | 144 | theorem real_domain_mem (N : ReferencePath.Input) {X eta : ℝ} (hX : 0 ≤ X) |
| 178 | 145 | (heta : eta ∈ ReferencePath.parameterInterval) : (X, eta) ∈ N.radialDomain.carrier := by |
| 179 | 146 | refine ⟨?_, heta⟩ |
| 180 | 147 | have := mul_nonneg N.scale_pos.le hX |
| 181 | 148 | linarith |
| 182 | 149 | |
| 183 | -/-- The canonical right jets agree with the actual smooth ACT jets at the | |
| 184 | -axis as well as at every positive radius. -/ | |
| 185 | -theorem element_right_jets {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 186 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) (hP0 : ContDiff ℝ ∞ P0) | |
| 187 | - (S : ℝ) (i : Fin 4) (k : ℕ) {X eta : ℝ} (hX : 0 ≤ X) | |
| 188 | - (heta : eta ∈ ReferencePath.parameterInterval) : | |
| 189 | - iteratedDerivWithin k (fun Y => SlowRecursion.profile (element E hT hδ hδT κ hP0 S i) (Y, eta)) (Ici 0) X = | |
| 190 | - iteratedDeriv k (fun Y => realFields (N := N) hT hδ hδT κ hP0 i (Y, eta)) X := by | |
| 191 | - have he : EqOn (fun Y => SlowRecursion.profile (element E hT hδ hδT κ hP0 S i) (Y, eta)) | |
| 192 | - (fun Y => realFields (N := N) hT hδ hδT κ hP0 i (Y, eta)) (Ici 0) := | |
| 193 | - fun Y hY => element_profile E hT hδ hδT κ hP0 S i hY heta | |
| 194 | - rw [iteratedDerivWithin_congr he hX] | |
| 195 | - have hs : ContDiffAt ℝ ∞ (fun Y => realFields (N := N) hT hδ hδT κ hP0 i (Y, eta)) X := | |
| 196 | - ((realFields_smooth hT hδ hδT κ hP0 i).contDiffAt | |
| 197 | - (N.radialDomain.isOpen.mem_nhds (real_domain_mem N hX heta))).comp X | |
| 198 | - (contDiffAt_id.prodMk contDiffAt_const) | |
| 199 | - simp only [iteratedDerivWithin_eq_iteratedFDerivWithin, iteratedDeriv_eq_iteratedFDeriv] | |
| 200 | - rw [iteratedFDerivWithin_eq_iteratedFDeriv (uniqueDiffOn_Ici 0) | |
| 201 | - (hs.of_le (ENat.natCast_le_of_coe_top_le_withTop le_rfl k)) hX] | |
| 202 | - | |
| 203 | 150 | theorem element_profile_germ {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) |
| 204 | 151 | (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) (hP0 : ContDiff ℝ ∞ P0) |
| 205 | 152 | (S : ℝ) (i : Fin 4) {X eta : ℝ} (hX : 0 < X) |
| @@ -304,27 +251,6 @@ theorem hierarchy_base_values {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | ||
| 304 | 251 | simp only [(hierarchy E hT hδ hδT κ hP0 C).starts] |
| 305 | 252 | exact base_values E hT hδ hδT κ hP0 C _ hX heta |
| 306 | 253 | |
| 307 | -theorem hierarchy_physical_swirl {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 308 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) (hP0 : ContDiff ℝ ∞ P0) | |
| 309 | - {C : ℝ} (hC : C ≠ 0) {X eta : ℝ} (hX : 0 ≤ X) | |
| 310 | - (heta : eta ∈ ReferencePath.parameterInterval) : | |
| 311 | - let A := hierarchy E hT hδ hδT κ hP0 C | |
| 312 | - let P := StressActivation.FromReference.histories N hT hδ hδT κ P0 hP0 | |
| 313 | - Real.sqrt (2 * X) * SlowRecursion.profile (A.coefficients 0 0) (X, eta) / C = P.E (X, eta) := by | |
| 314 | - have hv := (hierarchy_base_values E hT hδ hδT κ hP0 C hX heta).1 | |
| 315 | - dsimp only | |
| 316 | - rw [hv] | |
| 317 | - unfold ProfileHistories.Profiles.E | |
| 318 | - field_simp | |
| 319 | - | |
| 320 | -theorem hierarchy_on_collar {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 321 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) (hP0 : ContDiff ℝ ∞ P0) (C : ℝ) | |
| 322 | - {n : ℕ} (hn : 0 < n) {X eta : ℝ} (hX : 0 < X) | |
| 323 | - (hcollar : X ≤ N.endpoint * Real.exp δ) (heta : eta ∈ Icc (-1 : ℝ) 1) : | |
| 324 | - SlowRecursion.OrderEquations h C (hierarchy E hT hδ hδT κ hP0 C).coefficients n (X, eta) := | |
| 325 | - (hierarchy E hT hδ hδT κ hP0 C).equations n hn X | |
| 326 | - ⟨hX, lt_of_le_of_lt hcollar (collar_lt_square N δ)⟩ eta (parameterDomain_real E.real_mem heta) | |
| 327 | - | |
| 328 | 254 | end ActualBase |
| 329 | 255 | |
| 330 | 256 | section NaturalConstruction |
| @@ -344,9 +270,6 @@ theorem exists_tube_of_pressure_eq : | ||
| 344 | 270 | |
| 345 | 271 | noncomputable def tubeWidth : ℝ := Classical.choose (exists_tube_of_pressure_eq hp hP0 F hΛ hsmall hσ) |
| 346 | 272 | |
| 347 | -theorem tubeWidth_pos : 0 < tubeWidth hp hP0 F hΛ hsmall hσ := | |
| 348 | - (Classical.choose_spec (exists_tube_of_pressure_eq hp hP0 F hΛ hsmall hσ)).1 | |
| 349 | - | |
| 350 | 273 | /-- This witness is obtained from the actual coefficient-space natural |
| 351 | 274 | solution and the proved pressure integral, not supplied by the caller. -/ |
| 352 | 275 | noncomputable def constructedTube : InitialTube (ReferenceJetBounds.referenceInput F hΛ) h P0 (5 / Λ) |
| @@ -362,20 +285,6 @@ noncomputable def fromNatural {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | ||
| 362 | 285 | (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) := |
| 363 | 286 | hierarchy (constructedTube hp hP0 F hΛ hsmall hσ) hT hδ hδT κ (actualPressure_smooth hp hP0) C |
| 364 | 287 | |
| 365 | -theorem fromNatural_window {eta : ℝ} (heta : eta ∈ Icc (-1 : ℝ) 1) : | |
| 366 | - (eta : ℂ) ∈ parameterDomain | |
| 367 | - (AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow (tubeWidth hp hP0 F hΛ hsmall hσ)) := | |
| 368 | - parameterDomain_real (constructedTube hp hP0 F hΛ hsmall hσ).real_mem heta | |
| 369 | - | |
| 370 | -theorem fromNatural_uniform_tube : | |
| 371 | - ∃ τ : ℝ, 0 < τ ∧ | |
| 372 | - AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow τ ⊆ | |
| 373 | - parameterDomain (AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow | |
| 374 | - (tubeWidth hp hP0 F hΛ hsmall hσ)) := by | |
| 375 | - exact ⟨min (tubeWidth hp hP0 F hΛ hsmall hσ) (1 / 40), | |
| 376 | - lt_min (tubeWidth_pos hp hP0 F hΛ hsmall hσ) (by norm_num), | |
| 377 | - smallTube_subset_domain (min_le_left _ _) (min_le_right _ _)⟩ | |
| 378 | - | |
| 379 | 288 | theorem fromNatural_base_values {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) |
| 380 | 289 | (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) {X eta : ℝ} (hX : 0 ≤ X) |
| 381 | 290 | (heta : eta ∈ ReferencePath.parameterInterval) : |
| @@ -389,109 +298,6 @@ theorem fromNatural_base_values {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | ||
| 389 | 298 | hierarchy_base_values (constructedTube hp hP0 F hΛ hsmall hσ) hT hδ hδT κ |
| 390 | 299 | (actualPressure_smooth hp hP0) C hX heta |
| 391 | 300 | |
| 392 | -theorem fromNatural_positive_order {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 393 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) {n : ℕ} (hn : 0 < n) | |
| 394 | - {X eta : ℝ} (hX : 0 < X) | |
| 395 | - (hcollar : X ≤ (ReferenceJetBounds.referenceInput F hΛ).endpoint * Real.exp δ) | |
| 396 | - (heta : eta ∈ Icc (-1 : ℝ) 1) : | |
| 397 | - SlowRecursion.OrderEquations h C | |
| 398 | - (fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ).coefficients n (X, eta) := | |
| 399 | - hierarchy_on_collar (constructedTube hp hP0 F hΛ hsmall hσ) hT hδ hδT κ | |
| 400 | - (actualPressure_smooth hp hP0) C hn hX hcollar heta | |
| 401 | - | |
| 402 | -theorem fromNatural_initial {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 403 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) {X eta : ℝ} | |
| 404 | - (hX : 0 ≤ X) (hinitial : X ≤ 4 / Λ) (heta : eta ∈ ReferencePath.parameterInterval) : | |
| 405 | - let A := fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ | |
| 406 | - SlowRecursion.profile (A.coefficients 0 0) (X, eta) = C * F.family.f (X, eta) ∧ | |
| 407 | - SlowRecursion.profile (A.coefficients 0 1) (X, eta) = F.family.U (X, eta) := by | |
| 408 | - have hv := fromNatural_base_values hp hP0 F hΛ hsmall hσ hT hδ hδT κ hX heta | |
| 409 | - have he : X ≤ (ReferenceJetBounds.referenceInput F hΛ).endpoint := hinitial | |
| 410 | - dsimp only at hv ⊢ | |
| 411 | - refine ⟨hv.1.trans ?_, hv.2.1.trans ?_⟩ | |
| 412 | - · change C * StressActivation.FromReference.f _ T κ δ (X, eta) = _ | |
| 413 | - rw [StressActivation.FromReference.f_eq_reference _ T κ δ he, | |
| 414 | - ReferencePath.Input.refF_eq_natural_initial _ δ he] | |
| 415 | - rfl | |
| 416 | - · change StressActivation.FromReference.U _ T κ δ (X, eta) = _ | |
| 417 | - rw [StressActivation.FromReference.U_eq_reference _ T κ δ he, | |
| 418 | - ReferencePath.Input.refU_eq_natural_initial _ δ he] | |
| 419 | - rfl | |
| 420 | - | |
| 421 | -theorem fromNatural_stock_prefix {T δ κ w₁ w₂ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 422 | - (hδT : 2 * δ < ReferencePath.rampLimit) | |
| 423 | - (hb : δ ≤ (TransitionRamp.ofNatural F.family hΛ hsmall hδ hδT (actualPressure_smooth hp hP0)).bigTime) | |
| 424 | - (hw₁ : 0 < w₁) (hw₂ : 0 < w₂) {X eta : ℝ} (hX : 0 ≤ X) | |
| 425 | - (hcollar : X ≤ (ReferenceJetBounds.referenceInput F hΛ).endpoint * Real.exp δ) | |
| 426 | - (heta : eta ∈ ReferencePath.parameterInterval) : | |
| 427 | - let A := fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ | |
| 428 | - let Q := TransitionRamp.physicalProfiles F.family hΛ hsmall hδ hδT | |
| 429 | - (actualPressure_smooth hp hP0) (κ := κ) hT hb hw₁ hw₂ | |
| 430 | - SlowRecursion.profile (A.coefficients 0 0) (X, eta) = C * Q.f (X, eta) ∧ | |
| 431 | - SlowRecursion.profile (A.coefficients 0 1) (X, eta) = Q.U (X, eta) ∧ | |
| 432 | - SlowRecursion.profile (A.coefficients 0 2) (X, eta) = Q.Ubar (X, eta) - Q.U (X, eta) ∧ | |
| 433 | - SlowRecursion.profile (A.coefficients 0 3) (X, eta) = Q.pressure (X, eta) := by | |
| 434 | - let P := StressActivation.FromReference.histories (ReferenceJetBounds.referenceInput F hΛ) | |
| 435 | - hT hδ hδT κ P0 (actualPressure_smooth hp hP0) | |
| 436 | - let Q := TransitionRamp.physicalProfiles F.family hΛ hsmall hδ hδT | |
| 437 | - (actualPressure_smooth hp hP0) (κ := κ) hT hb hw₁ hw₂ | |
| 438 | - have he (Y : ℝ) (hY : Y ≤ X) : Q.f (Y, eta) = P.f (Y, eta) ∧ Q.U (Y, eta) = P.U (Y, eta) := | |
| 439 | - TransitionRamp.physical_fields_eq_activation F.family hΛ hsmall hδ hδT | |
| 440 | - (actualPressure_smooth hp hP0) hT hb hw₁ hw₂ heta (le_trans hY hcollar) | |
| 441 | - have hhist := histories_congr_below Q P hX rfl | |
| 442 | - (fun Y hY => (he Y hY.2).1) (fun Y hY => (he Y hY.2).2) | |
| 443 | - have hv := fromNatural_base_values hp hP0 F hΛ hsmall hσ hT hδ hδT κ hX heta | |
| 444 | - dsimp only at hv ⊢ | |
| 445 | - exact ⟨hv.1.trans (congrArg (C * ·) (he X le_rfl).1.symm), | |
| 446 | - hv.2.1.trans (he X le_rfl).2.symm, | |
| 447 | - hv.2.2.1.trans (congrArg₂ (· - ·) hhist.1.symm (he X le_rfl).2.symm), | |
| 448 | - hv.2.2.2.trans hhist.2.symm⟩ | |
| 449 | - | |
| 450 | -theorem fromNatural_stock_fields {T δ κ w₁ w₂ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 451 | - (hδT : 2 * δ < ReferencePath.rampLimit) (hC : C ≠ 0) | |
| 452 | - (hb : δ ≤ (TransitionRamp.ofNatural F.family hΛ hsmall hδ hδT (actualPressure_smooth hp hP0)).bigTime) | |
| 453 | - (hw₁ : 0 < w₁) (hw₂ : 0 < w₂) {X eta : ℝ} (hX : 0 ≤ X) | |
| 454 | - (hcollar : X ≤ (ReferenceJetBounds.referenceInput F hΛ).endpoint * Real.exp δ) | |
| 455 | - (heta : eta ∈ ReferencePath.parameterInterval) : | |
| 456 | - let A := fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ | |
| 457 | - let Q := TransitionRamp.physicalProfiles F.family hΛ hsmall hδ hδT | |
| 458 | - (actualPressure_smooth hp hP0) (κ := κ) hT hb hw₁ hw₂ | |
| 459 | - Real.sqrt (2 * X) * SlowRecursion.profile (A.coefficients 0 0) (X, eta) / C = Q.E (X, eta) ∧ | |
| 460 | - SlowRecursion.profile (A.coefficients 0 1) (X, eta) = Q.U (X, eta) ∧ | |
| 461 | - SlowRecursion.profile (A.coefficients 0 3) (X, eta) = Q.pressure (X, eta) := by | |
| 462 | - have hv := fromNatural_stock_prefix hp hP0 F hΛ hsmall hσ (κ := κ) hT hδ hδT hb hw₁ hw₂ hX hcollar heta | |
| 463 | - refine ⟨?_, hv.2.1, hv.2.2.2⟩ | |
| 464 | - rw [hv.1] | |
| 465 | - unfold ProfileHistories.Profiles.E | |
| 466 | - field_simp | |
| 467 | - | |
| 468 | -theorem fromNatural_profiles_smooth {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 469 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) (n : ℕ) (i : Fin 5) : | |
| 470 | - ContDiffOn ℝ ∞ | |
| 471 | - (SlowRecursion.profile ((fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ).coefficients n i)) | |
| 472 | - (Ico (0 : ℝ) (axisRadius (ReferenceJetBounds.referenceInput F hΛ) δ ^ 2) ×ˢ | |
| 473 | - PositiveAxisExistence.realParameterDomain (parameterDomain | |
| 474 | - (AxisHolomorphic.parameterTube ActivationHolomorphic.parameterWindow (tubeWidth hp hP0 F hΛ hsmall hσ)))) := | |
| 475 | - (fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ).profiles_smooth (axisRadius_pos _ _) | |
| 476 | - (parameterDomain_open (constructedTube hp hP0 F hΛ hsmall hσ).isOpen) n i | |
| 477 | - | |
| 478 | -theorem fromNatural_zero_axis {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 479 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) {n : ℕ} (hn : 0 < n) | |
| 480 | - (i : Fin 5) {eta : ℝ} (heta : eta ∈ Icc (-1 : ℝ) 1) : | |
| 481 | - (fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ).coefficients n i (0, (eta : ℂ)) = 0 := | |
| 482 | - (fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ).zero_axis n hn i (eta : ℂ) | |
| 483 | - (fromNatural_window hp hP0 F hΛ hsmall hσ heta) | |
| 484 | - | |
| 485 | -theorem fromNatural_axis_jets {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) | |
| 486 | - (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) (n : ℕ) (i : Fin 5) (k : ℕ) | |
| 487 | - {eta : ℝ} (heta : eta ∈ Icc (-1 : ℝ) 1) : | |
| 488 | - let A := fromNatural hp hP0 F hΛ hsmall hσ hT hδ hδT κ | |
| 489 | - iteratedDerivWithin k (fun X => SlowRecursion.profile (A.coefficients n i) (X, eta)) (Ici 0) 0 = | |
| 490 | - ((k.factorial : ℝ) / ((2 * k).factorial : ℝ)) • | |
| 491 | - iteratedDeriv (2 * k) (fun r => (A.coefficients n i (r, (eta : ℂ))).re) 0 := | |
| 492 | - SlowRecursion.profile_axis_jet (axisRadius_pos _ _) _ | |
| 493 | - (fromNatural_window hp hP0 F hΛ hsmall hσ heta) k | |
| 494 | - | |
| 495 | 301 | end NaturalConstruction |
| 496 | 302 | |
| 497 | 303 | end NavierStokes.ActualSlowAxis |