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

| 1 | import NavierStokes.SignedCopyBounds |
| 2 | import NavierStokes.ParticularWaveBounds |
| 3 | |
| 4 | /-! |
| 5 | # Joint native-copy bounds for the actual particular inverse |
| 6 | |
| 7 | The modal input bounds below quantify their constants before the lattice |
| 8 | copy. The velocity is the actual finite-path Volterra solve and pressure |
| 9 | is its actual projected pressure coefficient. No output jet estimate is |
| 10 | assumed, and no assertion that separate copy classes have uniform constants |
| 11 | is used. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace NavierStokes.ParticularCopyBounds |
| 17 | |
| 18 | open Set Function Filter WeightedClasses PeriodizedWaveBounds |
| 19 | open CommonCoverSolve TorusInverse ParticularWaveBounds PrimaryODE |
| 20 | open PrimaryPulseBounds |
| 21 | open scoped Topology ContDiff InnerProductSpace |
| 22 | |
| 23 | |
| 24 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 25 | |
| 26 | /-- Primitive modal bounds on neighborhoods of the native support cells. |
| 27 | Every quantitative constant precedes the band and lattice copy. -/ |
| 28 | structure ModalControl (s : StripData (P × Plane)) (α : ℝ) |
| 29 | (d : ℕ → PrimaryODE.FrameData (P × ℝ)) (t : ℕ → TangentData P ProblemStatement.Space) |
| 30 | (harmonic : ℤ) (g : ℕ → Geometry) (L : ℕ → ℝ) (envelope : ℕ → ℝ → ℝ) |
| 31 | (cells : ℕ → Frequency → Set (P × Plane)) where |
| 32 | neighborhood : ℕ → Frequency → Set (P × Plane) |
| 33 | open_neighborhood : ∀ n k, IsOpen (neighborhood n k) |
| 34 | contains : ∀ n k x, x ∈ s.domain → x ∈ cells n k → x ∈ neighborhood n k |
| 35 | interval : ℕ → Set ℝ |
| 36 | open_interval : ∀ n, IsOpen (interval n) |
| 37 | length_pos : ∀ n, 0 < L n |
| 38 | contains_interval : ∀ n, Icc 0 (L n) ⊆ interval n |
| 39 | bridge : ∀ n k, PrimaryCopyBridge.Inputs (d n) (t n) harmonic (g n) k (neighborhood n k) 0 (L n) |
| 40 | coefficient_smooth : ∀ n k, ContDiffOn ℝ ∞ |
| 41 | ((PrimaryCopyBridge.copyFrame (d n) (g n) k).coefficient harmonic) (neighborhood n k ×ˢ interval n) |
| 42 | forcing_smooth : ∀ n k, ContDiffOn ℝ ∞ |
| 43 | ((PrimaryCopyBridge.copyFrame (d n) (g n) k).forcing |
| 44 | (PrimaryCopyBridge.copySource (t n).source (g n) k)) (neighborhood n k ×ˢ interval n) |
| 45 | columns_smooth : ∀ n k (i : Fin 2), ContDiffOn ℝ ∞ |
| 46 | (synthesisColumn (PrimaryCopyBridge.copyFrame (d n) (g n) k) i) (neighborhood n k ×ˢ interval n) |
| 47 | current_slot : ∀ n k x, x ∈ neighborhood n k → ((g n).coordinates k x.2).2 ∈ Ioo 0 (L n) |
| 48 | rate : ℕ → ℝ → ℝ |
| 49 | envelope_pos : ∀ n v, 0 < envelope n v |
| 50 | envelope_deriv : ∀ n v, HasDerivAt (envelope n) (rate n v * envelope n v) v |
| 51 | errorRate : ℕ → ℝ |
| 52 | errorRate_nonneg : ∀ n, 0 ≤ errorRate n |
| 53 | constant : ℝ |
| 54 | constant_ge_one : 1 ≤ constant |
| 55 | coordinate_power : ℕ |
| 56 | length_bound : ∀ n, L n ≤ constant * s.slow n |
| 57 | exponential_bound : ∀ n, Real.exp (errorRate n * L n) ≤ constant |
| 58 | coordinate_bound : ∀ n, CommonCoverClass.argumentCost (g n) ≤ constant * s.slow n ^ coordinate_power |
| 59 | energy : ∀ n k x, x ∈ s.domain → x ∈ cells n k → ∀ v ∈ Icc 0 (L n), ∀ z : PrimaryODE.State, |
| 60 | ⟪z, (PrimaryCopyBridge.copyFrame (d n) (g n) k).coefficient harmonic (x,v) z⟫_ℝ ≤ |
| 61 | (rate n v + errorRate n) * ‖z‖^2 |
| 62 | input_jets : ∀ N : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∃ m : ℕ, |
| 63 | ∀ n k x, x ∈ s.domain → x ∈ cells n k → ∀ j ≤ N, ∀ v ∈ Icc 0 (L n), |
| 64 | ‖iteratedFDeriv ℝ j ((PrimaryCopyBridge.copyFrame (d n) (g n) k).coefficient harmonic) (x,v)‖ ≤ |
| 65 | C * s.growth n x ^ m ∧ |
| 66 | ‖iteratedFDeriv ℝ j ((PrimaryCopyBridge.copyFrame (d n) (g n) k).forcing |
| 67 | (PrimaryCopyBridge.copySource (t n).source (g n) k)) (x,v)‖ ≤ |
| 68 | (s.epsilon n ^ α * Real.sqrt (s.zeta x)) * C * s.growth n x ^ m * envelope n v ∧ |
| 69 | ∀ i : Fin 2, ‖iteratedFDeriv ℝ j |
| 70 | (synthesisColumn (PrimaryCopyBridge.copyFrame (d n) (g n) k) i) (x,v)‖ ≤ C * s.growth n x ^ m |
| 71 | |
| 72 | namespace ModalControl |
| 73 | |
| 74 | variable {s : StripData (P × Plane)} {α : ℝ} |
| 75 | {d : ℕ → PrimaryODE.FrameData (P × ℝ)} {t : ℕ → TangentData P ProblemStatement.Space} |
| 76 | {harmonic : ℤ} {g : ℕ → Geometry} {L : ℕ → ℝ} {envelope : ℕ → ℝ → ℝ} |
| 77 | {cells : ℕ → Frequency → Set (P × Plane)} |
| 78 | (h : ModalControl s α d t harmonic g L envelope cells) |
| 79 | |
| 80 | include h |
| 81 | |
| 82 | theorem smooth_at (hL : ∀ n, 0 < L n) {n : ℕ} {k : Frequency} {x : P × Plane} |
| 83 | (hx : x ∈ s.domain) (hk : x ∈ cells n k) : |
| 84 | ContDiffAt ℝ ∞ ((t n).linearData.copySolve (g n) (hL n).le k) x := |
| 85 | (copySolve_contDiffOn_from_modal (d n) (t n) harmonic (g n) k (hL n) |
| 86 | (h.open_neighborhood n k) (h.open_interval n) (h.contains_interval n) (h.bridge n k) |
| 87 | (h.coefficient_smooth n k) (h.forcing_smooth n k) (h.columns_smooth n k) |
| 88 | (h.current_slot n k)).contDiffAt ((h.open_neighborhood n k).mem_nhds (h.contains n k x hx hk)) |
| 89 | |
| 90 | /-- The actual finite-path solve has one bound for all lattice copies. |
| 91 | The comparison keeps the native Gaussian envelope in the output weight. -/ |
| 92 | theorem localJets (hL : ∀ n, 0 < L n) (W : ℕ → P × Plane → ℝ) |
| 93 | (hW : ∀ n k x, x ∈ s.domain → x ∈ cells n k → envelope n ((g n).coordinates k x.2).2 ≤ W n x) : |
| 94 | LocalJets s (fun n x => Real.sqrt (s.zeta x) * W n x) α cells |
| 95 | (fun n k => (t n).linearData.copySolve (g n) (hL n).le k) := by |
| 96 | refine ⟨fun _ _ _ hx hk => h.smooth_at hL hx hk, ?_⟩ |
| 97 | intro N |
| 98 | obtain ⟨C, hC, m, hm⟩ := h.input_jets N |
| 99 | let K := C + h.constant + 1 |
| 100 | have hK : 1 ≤ K := by dsimp [K]; linarith [h.constant_ge_one] |
| 101 | have hCK : C ≤ K := by dsimp [K]; linarith [h.constant_ge_one] |
| 102 | have hK₀K : h.constant ≤ K := by dsimp [K]; linarith |
| 103 | let B := (2 : ℝ) ^ (N + 1) * rescaleConstant N K ^ 3 |
| 104 | have hB : 1 ≤ B := one_le_mul_of_one_le_of_one_le (one_le_pow₀ (by norm_num)) |
| 105 | (one_le_pow₀ (hK.trans (le_rescaleConstant N K))) |
| 106 | have hconst : 0 ≤ ambientJetConstant N := by unfold ambientJetConstant; positivity |
| 107 | have hK₀ : 0 ≤ h.constant := zero_le_one.trans h.constant_ge_one |
| 108 | refine ⟨ambientJetConstant N * B ^ (N + 1) * K * h.constant ^ N, |
| 109 | by positivity, (m + 2) * (N + 1) + m + h.coordinate_power * N, ?_⟩ |
| 110 | intro n k p hp hcell j hj |
| 111 | have hG := s.one_le_growth n p |
| 112 | have hG0 := s.growth_nonneg n p |
| 113 | have hw : 0 ≤ s.epsilon n ^ α * Real.sqrt (s.zeta p) := |
| 114 | mul_nonneg (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le (Real.sqrt_nonneg _) |
| 115 | have hAj : ∀ i ≤ N, ∀ v ∈ Icc 0 (L n), |
| 116 | ‖iteratedFDeriv ℝ i ((PrimaryCopyBridge.copyFrame (d n) (g n) k).coefficient harmonic) |
| 117 | (p,v)‖ ≤ K * s.growth n p ^ m := by |
| 118 | intro i hi v hv |
| 119 | exact (hm n k p hp hcell i hi v hv).1.trans (mul_le_mul_of_nonneg_right hCK (pow_nonneg hG0 _)) |
| 120 | have hfj : ∀ i ≤ N, ∀ v ∈ Icc 0 (L n), |
| 121 | ‖iteratedFDeriv ℝ i ((PrimaryCopyBridge.copyFrame (d n) (g n) k).forcing |
| 122 | (PrimaryCopyBridge.copySource (t n).source (g n) k)) (p,v)‖ ≤ |
| 123 | (s.epsilon n ^ α * Real.sqrt (s.zeta p)) * K * s.growth n p ^ m * envelope n v := by |
| 124 | intro i hi v hv |
| 125 | exact (hm n k p hp hcell i hi v hv).2.1.trans |
| 126 | (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right |
| 127 | (mul_le_mul_of_nonneg_left hCK hw) (pow_nonneg hG0 _)) (h.envelope_pos n v).le) |
| 128 | have hcj : ∀ i : Fin 2, ∀ q ≤ N, ∀ v ∈ Icc 0 (L n), |
| 129 | ‖iteratedFDeriv ℝ q (synthesisColumn (PrimaryCopyBridge.copyFrame (d n) (g n) k) i) |
| 130 | (p,v)‖ ≤ K * s.growth n p ^ m := by |
| 131 | intro i q hq v hv |
| 132 | exact (hm n k p hp hcell q hq v hv).2.2 i |>.trans |
| 133 | (mul_le_mul_of_nonneg_right hCK (pow_nonneg hG0 _)) |
| 134 | have hh := copySolve_jet_bound_from_modal (d n) (t n) harmonic (g n) k (hL n) hG hK |
| 135 | (h.errorRate_nonneg n) hw |
| 136 | ((h.length_bound n).trans (mul_le_mul hK₀K (s.slow_le_growth n p) |
| 137 | (zero_le_one.trans (s.one_le_slow n)) (zero_le_one.trans hK))) |
| 138 | ((h.exponential_bound n).trans hK₀K) (h.neighborhood n k) (h.interval n) |
| 139 | (h.open_neighborhood n k) (h.open_interval n) (h.contains_interval n) (h.bridge n k) |
| 140 | (h.coefficient_smooth n k) (h.forcing_smooth n k) (h.columns_smooth n k) |
| 141 | (envelope n) (h.rate n) (h.envelope_pos n) (h.envelope_deriv n) (h.contains n k p hp hcell) |
| 142 | (h.current_slot n k p (h.contains n k p hp hcell)) (h.energy n k p hp hcell) |
| 143 | m N hAj hfj hcj j hj |
| 144 | have hcg : CommonCoverClass.argumentCost (g n) ≤ h.constant * s.growth n p ^ h.coordinate_power := |
| 145 | (h.coordinate_bound n).trans (mul_le_mul_of_nonneg_left |
| 146 | (pow_le_pow_left₀ (zero_le_one.trans (s.one_le_slow n)) (s.slow_le_growth n p) _) |
| 147 | (zero_le_one.trans h.constant_ge_one)) |
| 148 | have hcp : CommonCoverClass.argumentCost (g n) ^ j ≤ |
| 149 | h.constant ^ N * s.growth n p ^ (h.coordinate_power * N) := by |
| 150 | calc |
| 151 | _ ≤ (h.constant * s.growth n p ^ h.coordinate_power) ^ j := pow_le_pow_left₀ |
| 152 | (zero_le_one.trans (CommonCoverClass.one_le_argumentCost (g n))) hcg j |
| 153 | _ ≤ (h.constant * s.growth n p ^ h.coordinate_power) ^ N := pow_le_pow_right₀ |
| 154 | (one_le_mul_of_one_le_of_one_le h.constant_ge_one (one_le_pow₀ hG)) hj |
| 155 | _ = _ := by rw [mul_pow, pow_mul] |
| 156 | apply hh.trans |
| 157 | have hen := (h.envelope_pos n ((g n).coordinates k p.2).2).le |
| 158 | calc |
| 159 | _ ≤ ambientJetConstant N * |
| 160 | ((s.epsilon n ^ α * Real.sqrt (s.zeta p)) * B ^ (N + 1) * |
| 161 | s.growth n p ^ ((m + 2) * (N + 1)) * envelope n ((g n).coordinates k p.2).2) * |
| 162 | (K * s.growth n p ^ m) * (h.constant ^ N * s.growth n p ^ (h.coordinate_power * N)) := by |
| 163 | apply mul_le_mul_of_nonneg_left hcp |
| 164 | exact mul_nonneg (mul_nonneg hconst (by positivity)) (by positivity) |
| 165 | _ ≤ ambientJetConstant N * |
| 166 | ((s.epsilon n ^ α * Real.sqrt (s.zeta p)) * B ^ (N + 1) * |
| 167 | s.growth n p ^ ((m + 2) * (N + 1)) * W n p) * |
| 168 | (K * s.growth n p ^ m) * (h.constant ^ N * s.growth n p ^ (h.coordinate_power * N)) := by |
| 169 | gcongr |
| 170 | exact hW n k p hp hcell |
| 171 | _ = _ := by unfold majorant; simp only [pow_add]; ring |
| 172 | |
| 173 | end ModalControl |
| 174 | |
| 175 | section Pressure |
| 176 | |
| 177 | open SignedCopyBounds |
| 178 | |
| 179 | variable {D I : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 180 | {s : StripData D} {cells : ℕ → I → Set D} {w : ℕ → D → ℝ} {α : ℝ} |
| 181 | {normal normalDot velocity forcing : ℕ → I → D → ProblemStatement.Space} |
| 182 | {action : ℕ → I → D → ProblemStatement.Space →L[ℝ] ProblemStatement.Space} |
| 183 | |
| 184 | /-- The actual forcing contributes its normal projection to pressure. -/ |
| 185 | theorem forced_pressureCoefficient |
| 186 | (hN : LocalJets s (fun _ _ => 1) 0 cells normal) |
| 187 | (hNd : LocalJets s (fun _ _ => 1) 0 cells normalDot) |
| 188 | (hA : LocalJets s (fun _ _ => 1) 0 cells action) |
| 189 | (hu : LocalJets s w α cells velocity) (hf : LocalJets s w α cells forcing) |
| 190 | (hw : ∀ n x, x ∈ s.domain → 0 ≤ w n x) |
| 191 | {b M : ℝ} (hb : 0 < b) |
| 192 | (hl : ∀ n k x, x ∈ s.domain → x ∈ cells n k → b ≤ ‖normal n k x‖) |
| 193 | (hh : ∀ n k x, x ∈ s.domain → x ∈ cells n k → ‖normal n k x‖ ≤ M) : |
| 194 | LocalJets s w α cells (fun n k x => TangentProjection.pressureCoefficient |
| 195 | (normal n k x) (normalDot n k x) (velocity n k x) |
| 196 | (action n k x (velocity n k x)) (forcing n k x)) := by |
| 197 | have hAu : LocalJets s w α cells (fun n k x => action n k x (velocity n k x)) := by |
| 198 | have he := hA.bilinear hu (ContinuousLinearMap.apply ℝ ProblemStatement.Space).flip |
| 199 | (fun _ _ _ => zero_le_one) hw |
| 200 | simp only [one_mul, zero_add] at he |
| 201 | exact he |
| 202 | have hnum := (local_sub (local_inner hN hAu hw) (local_inner hNd hu hw) hw).add |
| 203 | (local_inner hN hf hw) hw |
| 204 | have hp := local_coeff_mul (local_normalInverse hN hb hl hh) hnum hw |
| 205 | simpa only [TangentProjection.pressureCoefficient, real_inner_self_eq_norm_sq, |
| 206 | div_eq_mul_inv, mul_comm] using hp |
| 207 | |
| 208 | theorem forced_projectedPressure |
| 209 | (hN : LocalJets s (fun _ _ => 1) 0 cells normal) |
| 210 | (hNd : LocalJets s (fun _ _ => 1) 0 cells normalDot) |
| 211 | (hA : LocalJets s (fun _ _ => 1) 0 cells action) |
| 212 | (hu : LocalJets s w α cells velocity) (hf : LocalJets s w α cells forcing) |
| 213 | (hw : ∀ n x, x ∈ s.domain → 0 ≤ w n x) |
| 214 | {b M : ℝ} (hb : 0 < b) |
| 215 | (hl : ∀ n k x, x ∈ s.domain → x ∈ cells n k → b ≤ ‖normal n k x‖) |
| 216 | (hh : ∀ n k x, x ∈ s.domain → x ∈ cells n k → ‖normal n k x‖ ≤ M) |
| 217 | {frequency : ℕ → ℝ} (hfrequency : BandBound s (1/2) (fun n => 1 / frequency n)) : |
| 218 | LocalJets s w (α+1/2) cells (fun n k => projectedPressure (frequency n) |
| 219 | (normal n k) (normalDot n k) (velocity n k) (fun x => action n k x (velocity n k x)) |
| 220 | (forcing n k)) := by |
| 221 | have hp := (forced_pressureCoefficient hN hNd hA hu hf hw hb hl hh).map |
| 222 | (Complex.I • Complex.ofRealCLM) |
| 223 | have hp' := local_band_smul hp hfrequency hw |
| 224 | apply local_of_eq hp' |
| 225 | intro n k x |
| 226 | simp only [projectedPressure, _root_.smul_apply, Complex.ofRealCLM_apply, |
| 227 | smul_eq_mul, Complex.real_smul, |
| 228 | div_eq_mul_inv, mul_comm, mul_one, Complex.ofReal_inv] |
| 229 | |
| 230 | end Pressure |
| 231 | |
| 232 | section ActualComplex |
| 233 | |
| 234 | open HarmonicCalculus LinearWaveBounds |
| 235 | |
| 236 | variable {s : StripData (P × Plane)} {α : ℝ} |
| 237 | (base : WaveCoefficients (P × Plane)) |
| 238 | (t : ℕ → TangentData P ProblemStatement.Space) (source : ℕ → P × Plane → ComplexVector) |
| 239 | (g : ℕ → Geometry) (L : ℕ → ℝ) (hL : ∀ n, 0 < L n) |
| 240 | (envelope : ℕ → ℝ → ℝ) (W : ℕ → P × Plane → ℝ) |
| 241 | (d : ℕ → PrimaryODE.FrameData (P × ℝ)) (harmonic : ℤ) |
| 242 | (cells : ℕ → Frequency → Set (P × Plane)) |
| 243 | |
| 244 | /-- Native bounds for the literal complex particular velocity and its |
| 245 | forced pressure, with constants preceding every copy selector. -/ |
| 246 | theorem coefficients_jets |
| 247 | (hr : ModalControl s α d (fun n => realData (t n) (source n)) harmonic g L envelope cells) |
| 248 | (hi : ModalControl s α d (fun n => imagData (t n) (source n)) harmonic g L envelope cells) |
| 249 | (hW : ∀ n x, x ∈ s.domain → 0 ≤ W n x) |
| 250 | (hcompare : ∀ n k x, x ∈ s.domain → x ∈ cells n k → |
| 251 | envelope n ((g n).coordinates k x.2).2 ≤ W n x) |
| 252 | (hN : LocalJets s (fun _ _ => 1) 0 cells |
| 253 | (fun n k x => (t n).normal (nativePoint (g n) k x))) |
| 254 | (hNd : LocalJets s (fun _ _ => 1) 0 cells |
| 255 | (fun n k x => (t n).normalDot (nativePoint (g n) k x))) |
| 256 | (hA : LocalJets s (fun _ _ => 1) 0 cells |
| 257 | (fun n k x => (t n).action (nativePoint (g n) k x))) |
| 258 | (hf : LocalJets s (fun n x => Real.sqrt (s.zeta x) * W n x) α cells (fun n _ => source n)) |
| 259 | {b M : ℝ} (hb : 0 < b) |
| 260 | (hl : ∀ n k x, x ∈ s.domain → x ∈ cells n k → b ≤ ‖(t n).normal (nativePoint (g n) k x)‖) |
| 261 | (hh : ∀ n k x, x ∈ s.domain → x ∈ cells n k → ‖(t n).normal (nativePoint (g n) k x)‖ ≤ M) |
| 262 | (hfrequency : BandBound s (1/2) (fun n => 1 / base.frequency n)) : |
| 263 | LocalJets s (fun n x => Real.sqrt (s.zeta x) * W n x) α cells |
| 264 | (fun n k => (complexCopyCoefficients base t source g (fun _ => k) L hL).amplitude n) ∧ |
| 265 | LocalJets s (fun n x => Real.sqrt (s.zeta x) * W n x) (α+1/2) cells |
| 266 | (fun n k => (complexCopyCoefficients base t source g (fun _ => k) L hL).pressure n) := by |
| 267 | have hweight n x hx := mul_nonneg (Real.sqrt_nonneg (s.zeta x)) (hW n x hx) |
| 268 | have hur := hr.localJets hL W hcompare |
| 269 | have hui := hi.localJets hL W hcompare |
| 270 | have hva := (hur.map CurlClassBounds.complexify).add |
| 271 | ((hui.map CurlClassBounds.complexify).map (complexScale Complex.I)) hweight |
| 272 | refine ⟨hva, ?_⟩ |
| 273 | have hpr := forced_projectedPressure hN hNd hA hur (hf.map realPart) hweight hb hl hh hfrequency |
| 274 | have hpi := forced_projectedPressure hN hNd hA hui (hf.map imagPart) hweight hb hl hh hfrequency |
| 275 | exact hpr.add (hpi.map ((ContinuousLinearMap.mul ℝ ℂ) Complex.I)) hweight |
| 276 | |
| 277 | /-- The common cutoff is applied once, before the periodized sum and the |
| 278 | exact curl. These are the native hypotheses of `common_bounds_from_native`. -/ |
| 279 | theorem coefficients_localized_jets |
| 280 | (hr : ModalControl s α d (fun n => realData (t n) (source n)) harmonic g L envelope cells) |
| 281 | (hi : ModalControl s α d (fun n => imagData (t n) (source n)) harmonic g L envelope cells) |
| 282 | (hW : ∀ n x, x ∈ s.domain → 0 ≤ W n x) |
| 283 | (hcompare : ∀ n k x, x ∈ s.domain → x ∈ cells n k → |
| 284 | envelope n ((g n).coordinates k x.2).2 ≤ W n x) |
| 285 | (hN : LocalJets s (fun _ _ => 1) 0 cells |
| 286 | (fun n k x => (t n).normal (nativePoint (g n) k x))) |
| 287 | (hNd : LocalJets s (fun _ _ => 1) 0 cells |
| 288 | (fun n k x => (t n).normalDot (nativePoint (g n) k x))) |
| 289 | (hA : LocalJets s (fun _ _ => 1) 0 cells |
| 290 | (fun n k x => (t n).action (nativePoint (g n) k x))) |
| 291 | (hf : LocalJets s (fun n x => Real.sqrt (s.zeta x) * W n x) α cells (fun n _ => source n)) |
| 292 | {b M : ℝ} (hb : 0 < b) |
| 293 | (hl : ∀ n k x, x ∈ s.domain → x ∈ cells n k → b ≤ ‖(t n).normal (nativePoint (g n) k x)‖) |
| 294 | (hh : ∀ n k x, x ∈ s.domain → x ∈ cells n k → ‖(t n).normal (nativePoint (g n) k x)‖ ≤ M) |
| 295 | (hfrequency : BandBound s (1/2) (fun n => 1 / base.frequency n)) |
| 296 | (cutoff : Frequency → ℕ → P × Plane → ℝ) |
| 297 | (hcutoff : LocalJets s (fun _ _ => 1) 0 cells (fun n k => cutoff k n)) : |
| 298 | LocalJets s (fun n x => Real.sqrt (s.zeta x) * W n x) α cells |
| 299 | (fun n k => ((complexCopyCoefficients base t source g (fun _ => k) L hL).withCutoff (cutoff k)).amplitude n) ∧ |
| 300 | LocalJets s (fun n x => Real.sqrt (s.zeta x) * W n x) (α+1/2) cells |
| 301 | (fun n k => ((complexCopyCoefficients base t source g (fun _ => k) L hL).withCutoff (cutoff k)).pressure n) := by |
| 302 | obtain ⟨ha, hp⟩ := coefficients_jets base t source g L hL envelope W d harmonic cells |
| 303 | hr hi hW hcompare hN hNd hA hf hb hl hh hfrequency |
| 304 | have hw n x hx := mul_nonneg (Real.sqrt_nonneg (s.zeta x)) (hW n x hx) |
| 305 | refine ⟨hcutoff.smul ha hw, ?_⟩ |
| 306 | simpa only [WaveCoefficients.withCutoff, Complex.real_smul] using hcutoff.smul hp hw |
| 307 | |
| 308 | end ActualComplex |
| 309 | |
| 310 | section NativeEnvelope |
| 311 | |
| 312 | /-- The reference envelope of the unique active native copy. This |
| 313 | majorant need not be smooth; the actual fields carry the smoothness. -/ |
| 314 | noncomputable def nativeEnvelope (K : Cells (P × Plane) Frequency) |
| 315 | (g : ℕ → Geometry) (envelope : ℕ → ℝ → ℝ) (n : ℕ) (x : P × Plane) : ℝ := by |
| 316 | classical |
| 317 | exact if h : ∃ k, x ∈ K.carrier n k then |
| 318 | envelope n ((g n).coordinates (Classical.choose h) x.2).2 else 0 |
| 319 | |
| 320 | omit [NormedSpace ℝ P] in |
| 321 | theorem nativeEnvelope_eq (K : Cells (P × Plane) Frequency) |
| 322 | (g : ℕ → Geometry) (envelope : ℕ → ℝ → ℝ) {n : ℕ} {k : Frequency} {x : P × Plane} |
| 323 | (hx : x ∈ K.carrier n k) : |
| 324 | nativeEnvelope K g envelope n x = envelope n ((g n).coordinates k x.2).2 := by |
| 325 | classical |
| 326 | let hex : ∃ j : Frequency, x ∈ K.carrier n j := ⟨k,hx⟩ |
| 327 | unfold nativeEnvelope |
| 328 | rw [dite_eq_left hex] |
| 329 | have hchoose : Classical.choose hex = k := |
| 330 | K.unique n (Classical.choose hex) k x (Classical.choose_spec hex) hx |
| 331 | rw [hchoose] |
| 332 | |
| 333 | omit [NormedSpace ℝ P] in |
| 334 | theorem nativeEnvelope_nonneg (K : Cells (P × Plane) Frequency) |
| 335 | (g : ℕ → Geometry) (envelope : ℕ → ℝ → ℝ) |
| 336 | (he : ∀ n v, 0 ≤ envelope n v) (n : ℕ) (x : P × Plane) : |
| 337 | 0 ≤ nativeEnvelope K g envelope n x := by |
| 338 | classical |
| 339 | unfold nativeEnvelope |
| 340 | split_ifs |
| 341 | · exact he _ _ |
| 342 | · exact le_rfl |
| 343 | |
| 344 | omit [NormedSpace ℝ P] in |
| 345 | theorem nativeEnvelope_le_one (K : Cells (P × Plane) Frequency) |
| 346 | (g : ℕ → Geometry) (envelope : ℕ → ℝ → ℝ) |
| 347 | (he : ∀ n k x, x ∈ K.carrier n k → envelope n ((g n).coordinates k x.2).2 ≤ 1) |
| 348 | (n : ℕ) (x : P × Plane) : nativeEnvelope K g envelope n x ≤ 1 := by |
| 349 | classical |
| 350 | unfold nativeEnvelope |
| 351 | split_ifs with h |
| 352 | · exact he n _ x (Classical.choose_spec h) |
| 353 | · norm_num |
| 354 | |
| 355 | end NativeEnvelope |
| 356 | |
| 357 | section UniformLabels |
| 358 | |
| 359 | variable {Label : Type} |
| 360 | |
| 361 | /-- All primitive constants are chosen before the external spatial label |
| 362 | as well as the band and native lattice copy. -/ |
| 363 | structure UniformModalControl (s : StripData (P × Plane)) (α : ℝ) |
| 364 | (d : Label → ℕ → PrimaryODE.FrameData (P × ℝ)) |
| 365 | (t : Label → ℕ → TangentData P ProblemStatement.Space) |
| 366 | (harmonic : ℤ) (g : Label → ℕ → Geometry) (L : Label → ℕ → ℝ) |
| 367 | (envelope : Label → ℕ → ℝ → ℝ) (cells : Label → ℕ → Frequency → Set (P × Plane)) where |
| 368 | neighborhood : Label → ℕ → Frequency → Set (P × Plane) |
| 369 | open_neighborhood : ∀ l n k, IsOpen (neighborhood l n k) |
| 370 | contains : ∀ l n k x, x ∈ s.domain → x ∈ cells l n k → x ∈ neighborhood l n k |
| 371 | interval : Label → ℕ → Set ℝ |
| 372 | open_interval : ∀ l n, IsOpen (interval l n) |
| 373 | length_pos : ∀ l n, 0 < L l n |
| 374 | contains_interval : ∀ l n, Icc 0 (L l n) ⊆ interval l n |
| 375 | bridge : ∀ l n k, PrimaryCopyBridge.Inputs (d l n) (t l n) harmonic (g l n) k |
| 376 | (neighborhood l n k) 0 (L l n) |
| 377 | coefficient_smooth : ∀ l n k, ContDiffOn ℝ ∞ |
| 378 | ((PrimaryCopyBridge.copyFrame (d l n) (g l n) k).coefficient harmonic) |
| 379 | (neighborhood l n k ×ˢ interval l n) |
| 380 | forcing_smooth : ∀ l n k, ContDiffOn ℝ ∞ |
| 381 | ((PrimaryCopyBridge.copyFrame (d l n) (g l n) k).forcing |
| 382 | (PrimaryCopyBridge.copySource (t l n).source (g l n) k)) (neighborhood l n k ×ˢ interval l n) |
| 383 | columns_smooth : ∀ l n k (i : Fin 2), ContDiffOn ℝ ∞ |
| 384 | (synthesisColumn (PrimaryCopyBridge.copyFrame (d l n) (g l n) k) i) |
| 385 | (neighborhood l n k ×ˢ interval l n) |
| 386 | current_slot : ∀ l n k x, x ∈ neighborhood l n k → ((g l n).coordinates k x.2).2 ∈ Ioo 0 (L l n) |
| 387 | rate : Label → ℕ → ℝ → ℝ |
| 388 | envelope_pos : ∀ l n v, 0 < envelope l n v |
| 389 | envelope_deriv : ∀ l n v, HasDerivAt (envelope l n) (rate l n v * envelope l n v) v |
| 390 | errorRate : Label → ℕ → ℝ |
| 391 | errorRate_nonneg : ∀ l n, 0 ≤ errorRate l n |
| 392 | constant : ℝ |
| 393 | constant_ge_one : 1 ≤ constant |
| 394 | coordinate_power : ℕ |
| 395 | length_bound : ∀ l n, L l n ≤ constant * s.slow n |
| 396 | exponential_bound : ∀ l n, Real.exp (errorRate l n * L l n) ≤ constant |
| 397 | coordinate_bound : ∀ l n, CommonCoverClass.argumentCost (g l n) ≤ constant * s.slow n ^ coordinate_power |
| 398 | energy : ∀ l n k x, x ∈ s.domain → x ∈ cells l n k → ∀ v ∈ Icc 0 (L l n), ∀ z : PrimaryODE.State, |
| 399 | ⟪z, (PrimaryCopyBridge.copyFrame (d l n) (g l n) k).coefficient harmonic (x,v) z⟫_ℝ ≤ |
| 400 | (rate l n v + errorRate l n) * ‖z‖^2 |
| 401 | input_jets : ∀ N : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∃ m : ℕ, |
| 402 | ∀ l n k x, x ∈ s.domain → x ∈ cells l n k → ∀ j ≤ N, ∀ v ∈ Icc 0 (L l n), |
| 403 | ‖iteratedFDeriv ℝ j ((PrimaryCopyBridge.copyFrame (d l n) (g l n) k).coefficient harmonic) (x,v)‖ ≤ |
| 404 | C * s.growth n x ^ m ∧ |
| 405 | ‖iteratedFDeriv ℝ j ((PrimaryCopyBridge.copyFrame (d l n) (g l n) k).forcing |
| 406 | (PrimaryCopyBridge.copySource (t l n).source (g l n) k)) (x,v)‖ ≤ |
| 407 | (s.epsilon n ^ α * Real.sqrt (s.zeta x)) * C * s.growth n x ^ m * envelope l n v ∧ |
| 408 | ∀ i : Fin 2, ‖iteratedFDeriv ℝ j |
| 409 | (synthesisColumn (PrimaryCopyBridge.copyFrame (d l n) (g l n) k) i) (x,v)‖ ≤ C * s.growth n x ^ m |
| 410 | |
| 411 | namespace UniformModalControl |
| 412 | |
| 413 | variable {s : StripData (P × Plane)} {α : ℝ} |
| 414 | {d : Label → ℕ → PrimaryODE.FrameData (P × ℝ)} |
| 415 | {t : Label → ℕ → TangentData P ProblemStatement.Space} |
| 416 | {harmonic : ℤ} {g : Label → ℕ → Geometry} {L : Label → ℕ → ℝ} |
| 417 | {envelope : Label → ℕ → ℝ → ℝ} {cells : Label → ℕ → Frequency → Set (P × Plane)} |
| 418 | |
| 419 | noncomputable def pull (h : UniformModalControl s α d t harmonic g L envelope cells) |
| 420 | (e : ℕ → ℕ × Label) : |
| 421 | ModalControl (UniformPrimaryWeights.reindexedStrip s e) α |
| 422 | (fun n => d (e n).2 (e n).1) (fun n => t (e n).2 (e n).1) harmonic |
| 423 | (fun n => g (e n).2 (e n).1) (fun n => L (e n).2 (e n).1) |
| 424 | (fun n => envelope (e n).2 (e n).1) (fun n => cells (e n).2 (e n).1) where |
| 425 | neighborhood n := h.neighborhood (e n).2 (e n).1 |
| 426 | open_neighborhood n := h.open_neighborhood (e n).2 (e n).1 |
| 427 | contains n := h.contains (e n).2 (e n).1 |
| 428 | interval n := h.interval (e n).2 (e n).1 |
| 429 | open_interval n := h.open_interval (e n).2 (e n).1 |
| 430 | length_pos n := h.length_pos (e n).2 (e n).1 |
| 431 | contains_interval n := h.contains_interval (e n).2 (e n).1 |
| 432 | bridge n := h.bridge (e n).2 (e n).1 |
| 433 | coefficient_smooth n := h.coefficient_smooth (e n).2 (e n).1 |
| 434 | forcing_smooth n := h.forcing_smooth (e n).2 (e n).1 |
| 435 | columns_smooth n := h.columns_smooth (e n).2 (e n).1 |
| 436 | current_slot n := h.current_slot (e n).2 (e n).1 |
| 437 | rate n := h.rate (e n).2 (e n).1 |
| 438 | envelope_pos n := h.envelope_pos (e n).2 (e n).1 |
| 439 | envelope_deriv n := h.envelope_deriv (e n).2 (e n).1 |
| 440 | errorRate n := h.errorRate (e n).2 (e n).1 |
| 441 | errorRate_nonneg n := h.errorRate_nonneg (e n).2 (e n).1 |
| 442 | constant := h.constant |
| 443 | constant_ge_one := h.constant_ge_one |
| 444 | coordinate_power := h.coordinate_power |
| 445 | length_bound n := h.length_bound (e n).2 (e n).1 |
| 446 | exponential_bound n := h.exponential_bound (e n).2 (e n).1 |
| 447 | coordinate_bound n := h.coordinate_bound (e n).2 (e n).1 |
| 448 | energy n := h.energy (e n).2 (e n).1 |
| 449 | input_jets N := by |
| 450 | obtain ⟨C, hC, m, hb⟩ := h.input_jets N |
| 451 | exact ⟨C, hC, m, fun n => hb (e n).2 (e n).1⟩ |
| 452 | |
| 453 | theorem localJets [Countable Label] [Nonempty Label] |
| 454 | (h : UniformModalControl s α d t harmonic g L envelope cells) |
| 455 | (hL : ∀ l n, 0 < L l n) (W : Label → ℕ → P × Plane → ℝ) |
| 456 | (hW : ∀ l n k x, x ∈ s.domain → x ∈ cells l n k → |
| 457 | envelope l n ((g l n).coordinates k x.2).2 ≤ W l n x) : |
| 458 | UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) α cells |
| 459 | (fun l n k => (t l n).linearData.copySolve (g l n) (hL l n).le k) := by |
| 460 | let e := UniformPrimaryWeights.enumeration Label |
| 461 | apply SignedCopyBounds.uniform_local_of_pull (UniformPrimaryWeights.enumeration_surjective Label) |
| 462 | exact (h.pull e).localJets (fun n => hL (e n).2 (e n).1) |
| 463 | (fun n => W (e n).2 (e n).1) (fun n => hW (e n).2 (e n).1) |
| 464 | |
| 465 | end UniformModalControl |
| 466 | |
| 467 | noncomputable def reindexedBase {D : Type*} (base : Label → LinearWaveBounds.WaveCoefficients D) |
| 468 | (e : ℕ → ℕ × Label) : LinearWaveBounds.WaveCoefficients D where |
| 469 | radius n := (base (e n).2).radius (e n).1 |
| 470 | radialBase n := (base (e n).2).radialBase (e n).1 |
| 471 | frequencyBase n := (base (e n).2).frequencyBase (e n).1 |
| 472 | axialBase n := (base (e n).2).axialBase (e n).1 |
| 473 | phase n := (base (e n).2).phase (e n).1 |
| 474 | amplitude n := (base (e n).2).amplitude (e n).1 |
| 475 | pressure n := (base (e n).2).pressure (e n).1 |
| 476 | frequency n := (base (e n).2).frequency (e n).1 |
| 477 | |
| 478 | open HarmonicCalculus LinearWaveBounds SignedCopyBounds |
| 479 | |
| 480 | variable [Countable Label] [Nonempty Label] |
| 481 | {s : StripData (P × Plane)} {α : ℝ} |
| 482 | (base : Label → WaveCoefficients (P × Plane)) |
| 483 | (t : Label → ℕ → TangentData P ProblemStatement.Space) |
| 484 | (source : Label → ℕ → P × Plane → ComplexVector) |
| 485 | (g : Label → ℕ → Geometry) (L : Label → ℕ → ℝ) (hL : ∀ l n, 0 < L l n) |
| 486 | (envelope : Label → ℕ → ℝ → ℝ) (W : Label → ℕ → P × Plane → ℝ) |
| 487 | (d : Label → ℕ → PrimaryODE.FrameData (P × ℝ)) (harmonic : ℤ) |
| 488 | (cells : Label → ℕ → Frequency → Set (P × Plane)) |
| 489 | |
| 490 | /-- Uniformity includes external countable spatial labels without |
| 491 | changing their envelopes or selecting separate output constants. -/ |
| 492 | theorem uniform_coefficients_jets |
| 493 | (hr : UniformModalControl s α d (fun l n => realData (t l n) (source l n)) harmonic g L envelope cells) |
| 494 | (hi : UniformModalControl s α d (fun l n => imagData (t l n) (source l n)) harmonic g L envelope cells) |
| 495 | (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) |
| 496 | (hcompare : ∀ l n k x, x ∈ s.domain → x ∈ cells l n k → |
| 497 | envelope l n ((g l n).coordinates k x.2).2 ≤ W l n x) |
| 498 | (hN : UniformLocalJets s (fun _ _ _ => 1) 0 cells |
| 499 | (fun l n k x => (t l n).normal (nativePoint (g l n) k x))) |
| 500 | (hNd : UniformLocalJets s (fun _ _ _ => 1) 0 cells |
| 501 | (fun l n k x => (t l n).normalDot (nativePoint (g l n) k x))) |
| 502 | (hA : UniformLocalJets s (fun _ _ _ => 1) 0 cells |
| 503 | (fun l n k x => (t l n).action (nativePoint (g l n) k x))) |
| 504 | (hf : UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) α cells (fun l n _ => source l n)) |
| 505 | {b M : ℝ} (hb : 0 < b) |
| 506 | (hl : ∀ l n k x, x ∈ s.domain → x ∈ cells l n k → b ≤ ‖(t l n).normal (nativePoint (g l n) k x)‖) |
| 507 | (hh : ∀ l n k x, x ∈ s.domain → x ∈ cells l n k → ‖(t l n).normal (nativePoint (g l n) k x)‖ ≤ M) |
| 508 | (hfrequency : UniformPrimaryWeights.UniformBandBound s (1/2) (fun l n => 1 / (base l).frequency n)) : |
| 509 | UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) α cells |
| 510 | (fun l n k => (complexCopyCoefficients (base l) (t l) (source l) (g l) (fun _ => k) (L l) (hL l)).amplitude n) ∧ |
| 511 | UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) (α+1/2) cells |
| 512 | (fun l n k => (complexCopyCoefficients (base l) (t l) (source l) (g l) (fun _ => k) (L l) (hL l)).pressure n) := by |
| 513 | let e := UniformPrimaryWeights.enumeration Label |
| 514 | have he : Surjective e := UniformPrimaryWeights.enumeration_surjective Label |
| 515 | have hboth := coefficients_jets (reindexedBase base e) |
| 516 | (fun n => t (e n).2 (e n).1) (fun n => source (e n).2 (e n).1) |
| 517 | (fun n => g (e n).2 (e n).1) (fun n => L (e n).2 (e n).1) (fun n => hL (e n).2 (e n).1) |
| 518 | (fun n => envelope (e n).2 (e n).1) (fun n => W (e n).2 (e n).1) |
| 519 | (fun n => d (e n).2 (e n).1) harmonic (fun n => cells (e n).2 (e n).1) |
| 520 | (hr.pull e) (hi.pull e) (fun n => hW (e n).2 (e n).1) |
| 521 | (fun n => hcompare (e n).2 (e n).1) (local_pull hN e) (local_pull hNd e) (local_pull hA e) |
| 522 | (local_pull hf e) hb (fun n => hl (e n).2 (e n).1) (fun n => hh (e n).2 (e n).1) |
| 523 | (UniformPrimaryWeights.pull_bandBound hfrequency e) |
| 524 | exact ⟨uniform_local_of_pull he hboth.1, uniform_local_of_pull he hboth.2⟩ |
| 525 | |
| 526 | theorem uniform_coefficients_localized_jets |
| 527 | (hr : UniformModalControl s α d (fun l n => realData (t l n) (source l n)) harmonic g L envelope cells) |
| 528 | (hi : UniformModalControl s α d (fun l n => imagData (t l n) (source l n)) harmonic g L envelope cells) |
| 529 | (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) |
| 530 | (hcompare : ∀ l n k x, x ∈ s.domain → x ∈ cells l n k → |
| 531 | envelope l n ((g l n).coordinates k x.2).2 ≤ W l n x) |
| 532 | (hN : UniformLocalJets s (fun _ _ _ => 1) 0 cells |
| 533 | (fun l n k x => (t l n).normal (nativePoint (g l n) k x))) |
| 534 | (hNd : UniformLocalJets s (fun _ _ _ => 1) 0 cells |
| 535 | (fun l n k x => (t l n).normalDot (nativePoint (g l n) k x))) |
| 536 | (hA : UniformLocalJets s (fun _ _ _ => 1) 0 cells |
| 537 | (fun l n k x => (t l n).action (nativePoint (g l n) k x))) |
| 538 | (hf : UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) α cells (fun l n _ => source l n)) |
| 539 | {b M : ℝ} (hb : 0 < b) |
| 540 | (hl : ∀ l n k x, x ∈ s.domain → x ∈ cells l n k → b ≤ ‖(t l n).normal (nativePoint (g l n) k x)‖) |
| 541 | (hh : ∀ l n k x, x ∈ s.domain → x ∈ cells l n k → ‖(t l n).normal (nativePoint (g l n) k x)‖ ≤ M) |
| 542 | (hfrequency : UniformPrimaryWeights.UniformBandBound s (1/2) (fun l n => 1 / (base l).frequency n)) |
| 543 | (cutoff : Label → Frequency → ℕ → P × Plane → ℝ) |
| 544 | (hcutoff : UniformLocalJets s (fun _ _ _ => 1) 0 cells (fun l n k => cutoff l k n)) : |
| 545 | UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) α cells |
| 546 | (fun l n k => ((complexCopyCoefficients (base l) (t l) (source l) (g l) |
| 547 | (fun _ => k) (L l) (hL l)).withCutoff (cutoff l k)).amplitude n) ∧ |
| 548 | UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) (α+1/2) cells |
| 549 | (fun l n k => ((complexCopyCoefficients (base l) (t l) (source l) (g l) |
| 550 | (fun _ => k) (L l) (hL l)).withCutoff (cutoff l k)).pressure n) := by |
| 551 | obtain ⟨ha, hp⟩ := uniform_coefficients_jets base t source g L hL envelope W d harmonic cells |
| 552 | hr hi hW hcompare hN hNd hA hf hb hl hh hfrequency |
| 553 | have hw l n x hx := mul_nonneg (Real.sqrt_nonneg (s.zeta x)) (hW l n x hx) |
| 554 | refine ⟨uniform_smul hcutoff ha hw, ?_⟩ |
| 555 | simpa only [WaveCoefficients.withCutoff, Complex.real_smul] using uniform_smul hcutoff hp hw |
| 556 | |
| 557 | end UniformLabels |
| 558 | |
| 559 | section PeriodicTranslation |
| 560 | |
| 561 | open HarmonicCalculus |
| 562 | |
| 563 | theorem jets_of_translate {E V : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 564 | [NormedAddCommGroup V] [NormedSpace ℝ V] {f g : E → V} (a : E) |
| 565 | (he : ∀ y, f (y+a) = g y) (m : ℕ) (x : E) : |
| 566 | iteratedFDeriv ℝ m f (x+a) = iteratedFDeriv ℝ m g x := by |
| 567 | rw [← iteratedFDeriv_comp_add_right] |
| 568 | exact congrArg (fun f => iteratedFDeriv ℝ m f x) (funext he) |
| 569 | |
| 570 | /-- Periodic translation preserves every full jet of the actual solution. |
| 571 | The copy index moves by the genuine common-cover index map. -/ |
| 572 | theorem velocity_jets_deck (t : TangentData P ProblemStatement.Space) |
| 573 | (source : P × Plane → ComplexVector) (g : Geometry) {a b : ℝ} (hab : a ≤ b) |
| 574 | (hperiodic : ∀ p, PeriodicAt source p) (k q : Frequency) (m : ℕ) (x : P × Plane) : |
| 575 | iteratedFDeriv ℝ m (complexCopyVelocity t source g hab (k+coverIndex g.gap q)) |
| 576 | (x + (0,TorusAverages.latticePoint q)) = |
| 577 | iteratedFDeriv ℝ m (complexCopyVelocity t source g hab k) x := |
| 578 | jets_of_translate (0,TorusAverages.latticePoint q) |
| 579 | (fun y => by |
| 580 | rcases y with ⟨p,Y⟩ |
| 581 | simpa only [Prod.mk_add_mk, add_zero] using |
| 582 | complexCopyVelocity_deck t source g hab k q p (hperiodic p) Y) m x |
| 583 | |
| 584 | theorem pressure_jets_deck (t : TangentData P ProblemStatement.Space) |
| 585 | (source : P × Plane → ComplexVector) (g : Geometry) {a b : ℝ} (hab : a ≤ b) |
| 586 | (hperiodic : ∀ p, PeriodicAt source p) (frequency : ℝ) (k q : Frequency) (m : ℕ) (x : P × Plane) : |
| 587 | iteratedFDeriv ℝ m (complexCopyPressure t source g hab (k+coverIndex g.gap q) frequency) |
| 588 | (x + (0,TorusAverages.latticePoint q)) = |
| 589 | iteratedFDeriv ℝ m (complexCopyPressure t source g hab k frequency) x := |
| 590 | jets_of_translate (0,TorusAverages.latticePoint q) |
| 591 | (fun y => by |
| 592 | rcases y with ⟨p,Y⟩ |
| 593 | simpa only [Prod.mk_add_mk, add_zero] using |
| 594 | complexCopyPressure_deck t source g hab k q frequency p (hperiodic p) Y) m x |
| 595 | |
| 596 | /-- A zero-gap cover permits reduction to the zero copy. For a refined |
| 597 | cover the preceding deck theorem retains its actual index subgroup. -/ |
| 598 | theorem velocity_jets_zero_copy (t : TangentData P ProblemStatement.Space) |
| 599 | (source : P × Plane → ComplexVector) (g : Geometry) (hgap : g.gap = 0) |
| 600 | {a b : ℝ} (hab : a ≤ b) (hperiodic : ∀ p, PeriodicAt source p) |
| 601 | (q : Frequency) (m : ℕ) (x : P × Plane) : |
| 602 | iteratedFDeriv ℝ m (complexCopyVelocity t source g hab q) (x + (0,TorusAverages.latticePoint q)) = |
| 603 | iteratedFDeriv ℝ m (complexCopyVelocity t source g hab 0) x := by |
| 604 | simpa only [coverIndex, hgap, Function.iterate_zero, id_eq, zero_add] using |
| 605 | velocity_jets_deck t source g hab hperiodic 0 q m x |
| 606 | |
| 607 | theorem coefficient_jets_deck (d : PrimaryODE.FrameData (P × ℝ)) (g : Geometry) |
| 608 | (harmonic : ℤ) (k q : Frequency) (m : ℕ) (x : (P × Plane) × ℝ) : |
| 609 | iteratedFDeriv ℝ m ((PrimaryCopyBridge.copyFrame d g (k+coverIndex g.gap q)).coefficient harmonic) |
| 610 | (x + ((0,TorusAverages.latticePoint q),0)) = |
| 611 | iteratedFDeriv ℝ m ((PrimaryCopyBridge.copyFrame d g k).coefficient harmonic) x := by |
| 612 | apply jets_of_translate |
| 613 | rintro ⟨⟨p,Y⟩,v⟩ |
| 614 | simp only [Prod.mk_add_mk, add_zero] |
| 615 | change d.coefficient harmonic ((p, (g.coordinates (k+coverIndex g.gap q) |
| 616 | (Y+TorusAverages.latticePoint q)).1), v) = |
| 617 | d.coefficient harmonic ((p, (g.coordinates k Y).1), v) |
| 618 | rw [g.coordinates_deck] |
| 619 | |
| 620 | theorem source_jets_deck (source : P × Plane → ProblemStatement.Space) (g : Geometry) |
| 621 | (hperiodic : ∀ p, PeriodicAt source p) (k q : Frequency) (m : ℕ) (x : (P × Plane) × ℝ) : |
| 622 | iteratedFDeriv ℝ m (PrimaryCopyBridge.copySource source g (k+coverIndex g.gap q)) |
| 623 | (x + ((0,TorusAverages.latticePoint q),0)) = |
| 624 | iteratedFDeriv ℝ m (PrimaryCopyBridge.copySource source g k) x := by |
| 625 | apply jets_of_translate |
| 626 | rintro ⟨⟨p,Y⟩,v⟩ |
| 627 | simp only [Prod.mk_add_mk, add_zero] |
| 628 | change source (p, g.path (k+coverIndex g.gap q) (Y+TorusAverages.latticePoint q) v) = |
| 629 | source (p, g.path k Y v) |
| 630 | rw [g.path_deck, hperiodic] |
| 631 | |
| 632 | theorem synthesis_jets_deck (d : PrimaryODE.FrameData (P × ℝ)) (g : Geometry) |
| 633 | (i : Fin 2) (k q : Frequency) (m : ℕ) (x : (P × Plane) × ℝ) : |
| 634 | iteratedFDeriv ℝ m (synthesisColumn (PrimaryCopyBridge.copyFrame d g (k+coverIndex g.gap q)) i) |
| 635 | (x + ((0,TorusAverages.latticePoint q),0)) = |
| 636 | iteratedFDeriv ℝ m (synthesisColumn (PrimaryCopyBridge.copyFrame d g k) i) x := by |
| 637 | apply jets_of_translate |
| 638 | rintro ⟨⟨p,Y⟩,v⟩ |
| 639 | simp only [Prod.mk_add_mk, add_zero] |
| 640 | change synthesisColumn d i ((p, (g.coordinates (k+coverIndex g.gap q) |
| 641 | (Y+TorusAverages.latticePoint q)).1), v) = |
| 642 | synthesisColumn d i ((p, (g.coordinates k Y).1), v) |
| 643 | rw [g.coordinates_deck] |
| 644 | |
| 645 | theorem forcing_jets_deck (d : PrimaryODE.FrameData (P × ℝ)) |
| 646 | (source : P × Plane → ProblemStatement.Space) (g : Geometry) |
| 647 | (hperiodic : ∀ p, PeriodicAt source p) (k q : Frequency) (m : ℕ) (x : (P × Plane) × ℝ) : |
| 648 | iteratedFDeriv ℝ m ((PrimaryCopyBridge.copyFrame d g (k+coverIndex g.gap q)).forcing |
| 649 | (PrimaryCopyBridge.copySource source g (k+coverIndex g.gap q))) |
| 650 | (x + ((0,TorusAverages.latticePoint q),0)) = |
| 651 | iteratedFDeriv ℝ m ((PrimaryCopyBridge.copyFrame d g k).forcing |
| 652 | (PrimaryCopyBridge.copySource source g k)) x := by |
| 653 | apply jets_of_translate |
| 654 | rintro ⟨⟨p,Y⟩,v⟩ |
| 655 | simp only [Prod.mk_add_mk, add_zero] |
| 656 | change frameForcingLinear d ((p, (g.coordinates (k+coverIndex g.gap q) |
| 657 | (Y+TorusAverages.latticePoint q)).1), v) |
| 658 | (source (p, g.path (k+coverIndex g.gap q) (Y+TorusAverages.latticePoint q) v)) = |
| 659 | frameForcingLinear d ((p, (g.coordinates k Y).1), v) (source (p, g.path k Y v)) |
| 660 | rw [g.coordinates_deck, g.path_deck, hperiodic] |
| 661 | |
| 662 | end PeriodicTranslation |
| 663 | |
| 664 | end NavierStokes.ParticularCopyBounds |
| 665 | |
| 666 | end |