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.PeriodizedWaveBounds |
| 2 | |
| 3 | /-! |
| 4 | # Support of the actual harmonic residual supplied to a copy solve |
| 5 | |
| 6 | The support conclusions below are derived from the literal harmonic |
| 7 | derivatives, convolutions, real projection, and removal of the zero mode. |
| 8 | Only nonzero input harmonics need be localized: a spatially global zero |
| 9 | mode, such as an axisymmetric pressure alias, does not create a new slot. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.HarmonicSourceSupport |
| 15 | |
| 16 | open Set Function Filter HarmonicFields HarmonicResidual HarmonicCalculus |
| 17 | open scoped Topology ContDiff BigOperators ComplexConjugate |
| 18 | |
| 19 | variable {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 20 | |
| 21 | /-- Every nonzero harmonic vanishes outside the specified spatial set. |
| 22 | The zero coefficient is unrestricted. -/ |
| 23 | def NonzeroSupported (K : Set D) (c : HarmonicFields.Coefficients D) : Prop := |
| 24 | ∀ j : ℤ, j ≠ 0 → ∀ x : D, x ∉ K → c j x = 0 |
| 25 | |
| 26 | namespace NonzeroSupported |
| 27 | |
| 28 | variable {K : Set D} {c d : HarmonicFields.Coefficients D} |
| 29 | |
| 30 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 31 | theorem zero : NonzeroSupported K (0 : HarmonicFields.Coefficients D) := by |
| 32 | intro j hj x hx |
| 33 | rfl |
| 34 | |
| 35 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 36 | theorem mono (hc : NonzeroSupported K c) {L : Set D} (hKL : K ⊆ L) : |
| 37 | NonzeroSupported L c := fun j hj x hx => hc j hj x (fun hk => hx (hKL hk)) |
| 38 | |
| 39 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 40 | theorem add (hc : NonzeroSupported K c) (hd : NonzeroSupported K d) : |
| 41 | NonzeroSupported K (c + d) := by |
| 42 | intro j hj x hx |
| 43 | change c j x + d j x = 0 |
| 44 | rw [hc j hj x hx, hd j hj x hx, add_zero] |
| 45 | |
| 46 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 47 | theorem neg (hc : NonzeroSupported K c) : NonzeroSupported K (-c) := by |
| 48 | intro j hj x hx |
| 49 | change -c j x = 0 |
| 50 | rw [hc j hj x hx, neg_zero] |
| 51 | |
| 52 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 53 | theorem sub (hc : NonzeroSupported K c) (hd : NonzeroSupported K d) : |
| 54 | NonzeroSupported K (c - d) := by |
| 55 | simpa only [sub_eq_add_neg] using hc.add hd.neg |
| 56 | |
| 57 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 58 | /-- In a nonzero convolution mode, at least one input index is nonzero. -/ |
| 59 | theorem mul (hc : NonzeroSupported K c) (hd : NonzeroSupported K d) : |
| 60 | NonzeroSupported K (c * d) := by |
| 61 | intro j hj x hx |
| 62 | rw [HarmonicFields.convolution_apply] |
| 63 | apply Finset.sum_eq_zero |
| 64 | intro i hi |
| 65 | by_cases hi0 : i = 0 |
| 66 | · subst i |
| 67 | simp only [sub_zero, hd j hj x hx, mul_zero] |
| 68 | · simp only [hc i hi0 x hx, zero_mul] |
| 69 | |
| 70 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 71 | theorem constant (f : D → ℂ) : NonzeroSupported K (constantCoefficient f) := by |
| 72 | intro j hj x hx |
| 73 | simp [constantCoefficient, hj] |
| 74 | |
| 75 | omit [NormedSpace ℝ D] in |
| 76 | theorem coefficient_germ (hc : NonzeroSupported K c) (hK : IsClosed K) |
| 77 | {j : ℤ} (hj : j ≠ 0) {x : D} (hx : x ∉ K) : |
| 78 | c j =ᶠ[𝓝 x] fun _ => 0 := by |
| 79 | filter_upwards [hK.isOpen_compl.mem_nhds hx] with y hy |
| 80 | exact hc j hj y hy |
| 81 | |
| 82 | /-- Actual Fréchet differentiation is local, including when no regularity |
| 83 | of the coefficient is assumed on the other side of the support. -/ |
| 84 | theorem differentiate (hc : NonzeroSupported K c) (hK : IsClosed K) |
| 85 | (V : D → D) (k : ℝ) (Φ : D → ℝ) : NonzeroSupported K (HarmonicFields.differentiate V k Φ c) := by |
| 86 | intro j hj x hx |
| 87 | have he := hc.coefficient_germ hK hj hx |
| 88 | simp only [differentiate_apply, derivativeCoefficient, along, he.fderiv_eq, |
| 89 | fderiv_fun_const, Pi.zero_apply, _root_.zero_apply, hc j hj x hx, mul_zero, add_zero] |
| 90 | |
| 91 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 92 | theorem angular (hc : NonzeroSupported K c) (kp : ℤ) : |
| 93 | NonzeroSupported K (angularDifferentiate kp c) := by |
| 94 | intro j hj x hx |
| 95 | simp only [angularDifferentiate_apply, hc j hj x hx, mul_zero] |
| 96 | |
| 97 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 98 | theorem realProjection (hc : NonzeroSupported K c) : NonzeroSupported K (realCoefficients c) := by |
| 99 | intro j hj x hx |
| 100 | simp only [realCoefficients_apply, hc j hj x hx, hc (-j) (neg_ne_zero.mpr hj) x hx, |
| 101 | map_zero, add_zero, mul_zero] |
| 102 | |
| 103 | omit [NormedSpace ℝ D] in |
| 104 | theorem tsupport (hc : NonzeroSupported K c) (hK : IsClosed K) {j : ℤ} (hj : j ≠ 0) : |
| 105 | _root_.tsupport (c j) ⊆ K := by |
| 106 | apply closure_minimal _ hK |
| 107 | intro x hx |
| 108 | by_contra hn |
| 109 | exact hx (hc j hj x hn) |
| 110 | |
| 111 | end NonzeroSupported |
| 112 | |
| 113 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 114 | theorem rotate_supported {K : Set D} {a : HarmonicResidual.VectorCoefficients D} |
| 115 | (ha : ∀ i, NonzeroSupported K (a i)) : ∀ i, NonzeroSupported K (rotate a i) := by |
| 116 | intro i |
| 117 | fin_cases i |
| 118 | · exact (ha 1).neg |
| 119 | · exact ha 0 |
| 120 | · exact NonzeroSupported.zero |
| 121 | |
| 122 | theorem scalarLaplacian_supported {K : Set D} (hK : IsClosed K) |
| 123 | (g : HarmonicResidual.Frame D) (k : ℝ) (Φ : D → ℝ) (kp : ℤ) |
| 124 | {c : HarmonicFields.Coefficients D} (hc : NonzeroSupported K c) : |
| 125 | NonzeroSupported K (scalarLaplacian g k Φ kp c) := |
| 126 | (((hc.differentiate hK g.radial k Φ).differentiate hK g.radial k Φ).add |
| 127 | ((NonzeroSupported.constant _).mul (hc.differentiate hK g.radial k Φ))).add |
| 128 | ((NonzeroSupported.constant _).mul ((hc.angular kp).angular kp)) |>.add |
| 129 | ((hc.differentiate hK g.axial k Φ).differentiate hK g.axial k Φ) |
| 130 | |
| 131 | theorem vectorLaplacian_supported {K : Set D} (hK : IsClosed K) |
| 132 | (g : HarmonicResidual.Frame D) (k : ℝ) (Φ : D → ℝ) (kp : ℤ) |
| 133 | {a : HarmonicResidual.VectorCoefficients D} (ha : ∀ i, NonzeroSupported K (a i)) : |
| 134 | ∀ i, NonzeroSupported K (vectorLaplacian g k Φ kp a i) := fun i => |
| 135 | (scalarLaplacian_supported hK g k Φ kp (ha i)).add |
| 136 | ((NonzeroSupported.constant _).mul (((NonzeroSupported.constant _).mul |
| 137 | (rotate_supported (fun j => (ha j).angular kp) i)).add (rotate_supported (rotate_supported ha) i))) |
| 138 | |
| 139 | theorem transport_supported {K : Set D} (hK : IsClosed K) |
| 140 | (g : HarmonicResidual.Frame D) (k : ℝ) (Φ : D → ℝ) (kp : ℤ) |
| 141 | {a b : HarmonicResidual.VectorCoefficients D} |
| 142 | (ha : ∀ i, NonzeroSupported K (a i)) (hb : ∀ i, NonzeroSupported K (b i)) : |
| 143 | ∀ i, NonzeroSupported K (HarmonicResidual.transport g k Φ kp a b i) := by |
| 144 | intro i |
| 145 | exact (((ha 0).mul ((hb i).differentiate hK g.radial k Φ)).add |
| 146 | (((ha 1).mul (NonzeroSupported.constant _)).mul |
| 147 | (((hb i).angular kp).add (rotate_supported hb i)))).add |
| 148 | ((ha 2).mul ((hb i).differentiate hK g.axial k Φ)) |
| 149 | |
| 150 | theorem gradient_supported {K : Set D} (hK : IsClosed K) |
| 151 | (g : HarmonicResidual.Frame D) (k : ℝ) (Φ : D → ℝ) (kp : ℤ) |
| 152 | {p : HarmonicFields.Coefficients D} (hp : NonzeroSupported K p) : |
| 153 | ∀ i, NonzeroSupported K (HarmonicResidual.gradient g k Φ kp p i) := by |
| 154 | intro i |
| 155 | fin_cases i |
| 156 | · exact hp.differentiate hK g.radial k Φ |
| 157 | · exact (NonzeroSupported.constant _).mul (hp.angular kp) |
| 158 | · exact hp.differentiate hK g.axial k Φ |
| 159 | |
| 160 | theorem nonlinearResidual_supported {K : Set D} (hK : IsClosed K) |
| 161 | (g : HarmonicResidual.Frame D) (k : ℝ) (Φ : D → ℝ) (kp : ℤ) |
| 162 | {B a : HarmonicResidual.VectorCoefficients D} {p : HarmonicFields.Coefficients D} |
| 163 | (hB : ∀ i, NonzeroSupported K (B i)) (ha : ∀ i, NonzeroSupported K (a i)) |
| 164 | (hp : NonzeroSupported K p) : |
| 165 | ∀ i, NonzeroSupported K (HarmonicResidual.nonlinearResidual g k Φ kp B a p i) := fun i => |
| 166 | (((((ha i).differentiate hK g.time k Φ).add (transport_supported hK g k Φ kp hB ha i)).add |
| 167 | (transport_supported hK g k Φ kp ha hB i)).add (gradient_supported hK g k Φ kp hp i) |>.sub |
| 168 | ((NonzeroSupported.constant _).mul (vectorLaplacian_supported hK g k Φ kp ha i))).add |
| 169 | (transport_supported hK g k Φ kp ha ha i) |
| 170 | |
| 171 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 172 | theorem realCoefficients_sub (c d : HarmonicFields.Coefficients D) : |
| 173 | realCoefficients (c - d) = realCoefficients c - realCoefficients d := by |
| 174 | ext j x |
| 175 | change realCoefficients (c - d) j x = realCoefficients c j x - realCoefficients d j x |
| 176 | simp only [realCoefficients_apply] |
| 177 | change (2 : ℂ)⁻¹ * (c j x - d j x + conj (c (-j) x - d (-j) x)) = |
| 178 | (2 : ℂ)⁻¹ * (c j x + conj (c (-j) x)) - |
| 179 | (2 : ℂ)⁻¹ * (d j x + conj (d (-j) x)) |
| 180 | rw [map_sub] |
| 181 | ring |
| 182 | |
| 183 | /-- The exact excluded nonzero coefficient. Its mean part is removed |
| 184 | even when that part is not localized in a native slot. -/ |
| 185 | noncomputable def excludedSource (G A : HarmonicResidual.BlockCoefficients D) |
| 186 | (j : ℤ) (n : ℕ) (x : D) : ComplexVector := fun i => |
| 187 | -(nonconstant (realCoefficients (G n i))) j x - |
| 188 | (nonconstant (realCoefficients (A n i))) j x |
| 189 | |
| 190 | theorem residualSource_apply_ne_zero (c : CorrectionState.Context D) (u : CorrectionState.State D) |
| 191 | (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) |
| 192 | {j : ℤ} (hj : j ≠ 0) (n : ℕ) (x : D) (i : Fin 3) : |
| 193 | ParticularWaveAssembly.residualSource c u b G A j n x i = |
| 194 | realCoefficients (HarmonicResidual.nonlinearResidual (contextFrame c n) |
| 195 | (b.frequency n) (b.phase n) (b.angularFrequency n) |
| 196 | (constantVector (contextBase c n + stateMean u n)) |
| 197 | (ofBlock b G A n).velocity (ofBlock b G A n).pressure i) j x - |
| 198 | realCoefficients (G n i) j x - realCoefficients (A n i) j x := by |
| 199 | change nonconstant (realCoefficients (_ - _ - _)) j x = _ |
| 200 | simp only [HarmonicResidual.nonconstant, AddMonoidAlgebra.coeff_erase, Finsupp.erase_ne hj, realCoefficients_sub, |
| 201 | AddMonoidAlgebra.coeff_sub, Finsupp.sub_apply, Pi.sub_apply] |
| 202 | rfl |
| 203 | |
| 204 | /-! ## Support of the actual real fields suffices -/ |
| 205 | |
| 206 | theorem nonlinear_ofBlock_supported_of_real {K : Set D} (hK : IsClosed K) |
| 207 | (c : CorrectionState.Context D) (u : CorrectionState.State D) |
| 208 | (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) (n : ℕ) |
| 209 | (hv : ∀ i, NonzeroSupported K (realCoefficients (b.velocity n i))) |
| 210 | (hp : NonzeroSupported K (realCoefficients (b.pressure n))) : |
| 211 | ∀ i, NonzeroSupported K |
| 212 | (HarmonicResidual.nonlinearResidual (contextFrame c n) (b.frequency n) (b.phase n) |
| 213 | (b.angularFrequency n) (constantVector (contextBase c n + stateMean u n)) |
| 214 | (ofBlock b G A n).velocity (ofBlock b G A n).pressure i) := |
| 215 | nonlinearResidual_supported hK _ _ _ _ (fun _ => NonzeroSupported.constant _) hv hp |
| 216 | |
| 217 | theorem residualSource_outside_of_real |
| 218 | (c : CorrectionState.Context D) (u : CorrectionState.State D) |
| 219 | (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) |
| 220 | {K : Set D} (hK : IsClosed K) (n : ℕ) |
| 221 | (hv : ∀ i, NonzeroSupported K (realCoefficients (b.velocity n i))) |
| 222 | (hp : NonzeroSupported K (realCoefficients (b.pressure n))) |
| 223 | (j : ℤ) {x : D} (hx : x ∉ K) : |
| 224 | ParticularWaveAssembly.residualSource c u b G A j n x = excludedSource G A j n x := by |
| 225 | by_cases hj : j = 0 |
| 226 | · subst j |
| 227 | rw [ParticularWaveAssembly.residualSource_zero] |
| 228 | ext i |
| 229 | simp [excludedSource, HarmonicResidual.nonconstant] |
| 230 | · ext i |
| 231 | rw [residualSource_apply_ne_zero c u b G A hj] |
| 232 | have hn := ((nonlinear_ofBlock_supported_of_real hK c u b G A n hv hp i).realProjection) |
| 233 | j hj x hx |
| 234 | simp only [hn, excludedSource, HarmonicResidual.nonconstant, AddMonoidAlgebra.coeff_erase, Finsupp.erase_ne hj, zero_sub] |
| 235 | |
| 236 | theorem residualSource_complement_germ_of_real |
| 237 | (c : CorrectionState.Context D) (u : CorrectionState.State D) |
| 238 | (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) |
| 239 | {K : Set D} (hK : IsClosed K) (n : ℕ) |
| 240 | (hv : ∀ i, NonzeroSupported K (realCoefficients (b.velocity n i))) |
| 241 | (hp : NonzeroSupported K (realCoefficients (b.pressure n))) |
| 242 | (j : ℤ) {x : D} (hx : x ∉ K) : |
| 243 | ParticularWaveAssembly.residualSource c u b G A j n =ᶠ[𝓝 x] excludedSource G A j n := by |
| 244 | filter_upwards [hK.isOpen_compl.mem_nhds hx] with y hy |
| 245 | exact residualSource_outside_of_real c u b G A hK n hv hp j hy |
| 246 | |
| 247 | theorem residualSource_support_of_real |
| 248 | (c : CorrectionState.Context D) (u : CorrectionState.State D) |
| 249 | (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) |
| 250 | {K : Set D} (hK : IsClosed K) (n : ℕ) |
| 251 | (hv : ∀ i, NonzeroSupported K (realCoefficients (b.velocity n i))) |
| 252 | (hp : NonzeroSupported K (realCoefficients (b.pressure n))) |
| 253 | (hG : ∀ i, NonzeroSupported K (realCoefficients (G n i))) |
| 254 | (hA : ∀ i, NonzeroSupported K (realCoefficients (A n i))) (j : ℤ) : |
| 255 | support (ParticularWaveAssembly.residualSource c u b G A j n) ⊆ K := by |
| 256 | intro x hx |
| 257 | by_contra hnot |
| 258 | apply hx |
| 259 | rw [residualSource_outside_of_real c u b G A hK n hv hp j hnot] |
| 260 | ext i |
| 261 | by_cases hj : j = 0 |
| 262 | · simp [excludedSource, HarmonicResidual.nonconstant, hj] |
| 263 | · simp only [excludedSource, HarmonicResidual.nonconstant, AddMonoidAlgebra.coeff_erase, Finsupp.erase_ne hj, |
| 264 | hG i j hj x hnot, hA i j hj x hnot, neg_zero, sub_zero, Pi.zero_apply] |
| 265 | |
| 266 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 267 | theorem realCoefficient_eq_zero_of_field |
| 268 | (c : HarmonicFields.Coefficients D) (k : ℝ) (Φ : D → ℝ) |
| 269 | {kp : ℤ} (hkp : kp ≠ 0) (j : ℤ) (x : D) |
| 270 | (hf : ∀ θ, (HarmonicFields.field c k Φ kp (x, θ)).re = 0) : |
| 271 | realCoefficients c j x = 0 := by |
| 272 | rw [← extract_field (realCoefficients c) k Φ hkp j x] |
| 273 | simp only [extract, field_realCoefficients, hf, Complex.ofReal_zero, zero_mul] |
| 274 | simp [HarmonicFields.angularMean] |
| 275 | |
| 276 | /-! ## The uncovered source is estimated from its explicit excluded errors -/ |
| 277 | |
| 278 | /-! ## Coverage by all actual native copies -/ |
| 279 | |
| 280 | section NativeCoverage |
| 281 | |
| 282 | open CommonCoverSolve TorusInverse TorusAverages |
| 283 | |
| 284 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 285 | |
| 286 | noncomputable def nativeUnion (g : Geometry) (K : Set Plane) : Set (P × Plane) := |
| 287 | ⋃ k : Frequency, PeriodizedWaveBounds.nativeCell g K k |
| 288 | |
| 289 | omit [NormedSpace ℝ P] in |
| 290 | theorem nativeUnion_closed (g : Geometry) {K : Set Plane} (hK : IsCompact K) : |
| 291 | IsClosed (nativeUnion (P := P) g K) := |
| 292 | (PeriodizedWaveBounds.nativeCell_locallyFinite g hK).isClosed_iUnion |
| 293 | (PeriodizedWaveBounds.nativeCell_closed g hK.isClosed) |
| 294 | |
| 295 | end NativeCoverage |
| 296 | |
| 297 | /-! ## Different labels: genuine derivative products vanish on separated slots -/ |
| 298 | |
| 299 | section ColoredSlots |
| 300 | |
| 301 | open CorrectionState LabelSumBounds |
| 302 | |
| 303 | variable {ι : Type*} {d h : ℝ} {vr vt : TorusInverse.Plane} |
| 304 | {sys : PartitionedCovariance.SlotSystem d h vr vt} |
| 305 | {label : ℕ → ι → SlotColoring.Label} {χ : ℕ → D → WindowPoint} |
| 306 | {Y : ℕ → D → TorusInverse.Plane} {U : Set D} {u v : ι → Oscillation D} |
| 307 | |
| 308 | end ColoredSlots |
| 309 | |
| 310 | /-! ## Relative support on the actual open strip -/ |
| 311 | |
| 312 | /-- Nonzero coefficients are supported in `K` relative to `U`. Values |
| 313 | outside `U` are not constrained. -/ |
| 314 | def NonzeroSupportedOn (U K : Set D) (c : HarmonicFields.Coefficients D) : Prop := |
| 315 | ∀ j : ℤ, j ≠ 0 → ∀ x : D, x ∈ U → x ∉ K → c j x = 0 |
| 316 | |
| 317 | namespace NonzeroSupportedOn |
| 318 | |
| 319 | variable {U K : Set D} {c : HarmonicFields.Coefficients D} |
| 320 | |
| 321 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 322 | theorem enlarge (hc : NonzeroSupportedOn U K c) : NonzeroSupported (Uᶜ ∪ K) c := by |
| 323 | intro j hj x hx |
| 324 | apply hc j hj x |
| 325 | · by_contra hn |
| 326 | exact hx (Or.inl hn) |
| 327 | · exact fun hk => hx (Or.inr hk) |
| 328 | |
| 329 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 330 | theorem of_global (hc : NonzeroSupported K c) : NonzeroSupportedOn U K c := |
| 331 | fun j hj x _ hx => hc j hj x hx |
| 332 | |
| 333 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 334 | theorem of_enlarge (hc : NonzeroSupported (Uᶜ ∪ K) c) : NonzeroSupportedOn U K c := |
| 335 | fun j hj x hx hn => hc j hj x (by simpa using And.intro hx hn) |
| 336 | |
| 337 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 338 | theorem add (hc : NonzeroSupportedOn U K c) {d : HarmonicFields.Coefficients D} |
| 339 | (hd : NonzeroSupportedOn U K d) : NonzeroSupportedOn U K (c + d) := |
| 340 | of_enlarge (hc.enlarge.add hd.enlarge) |
| 341 | |
| 342 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 343 | theorem sub (hc : NonzeroSupportedOn U K c) {d : HarmonicFields.Coefficients D} |
| 344 | (hd : NonzeroSupportedOn U K d) : NonzeroSupportedOn U K (c - d) := |
| 345 | of_enlarge (hc.enlarge.sub hd.enlarge) |
| 346 | |
| 347 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 348 | theorem mul (hc : NonzeroSupportedOn U K c) {d : HarmonicFields.Coefficients D} |
| 349 | (hd : NonzeroSupportedOn U K d) : NonzeroSupportedOn U K (c * d) := |
| 350 | of_enlarge (hc.enlarge.mul hd.enlarge) |
| 351 | |
| 352 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 353 | theorem constant (f : D → ℂ) : NonzeroSupportedOn U K (constantCoefficient f) := |
| 354 | of_global (NonzeroSupported.constant f) |
| 355 | |
| 356 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 357 | theorem realProjection (hc : NonzeroSupportedOn U K c) : |
| 358 | NonzeroSupportedOn U K (realCoefficients c) := by |
| 359 | intro j hj x hx hn |
| 360 | simp only [realCoefficients_apply, hc j hj x hx hn, hc (-j) (neg_ne_zero.mpr hj) x hx hn, |
| 361 | map_zero, add_zero, mul_zero] |
| 362 | |
| 363 | end NonzeroSupportedOn |
| 364 | |
| 365 | /-- Primitive support data for the incoming block and its two excluded |
| 366 | error families. There is no assumption about its residual or derivatives. -/ |
| 367 | structure InputSupportOn (U : Set D) (K : ℕ → Set D) |
| 368 | (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) : Prop where |
| 369 | velocity : ∀ n i, NonzeroSupportedOn U (K n) (realCoefficients (b.velocity n i)) |
| 370 | pressure : ∀ n, NonzeroSupportedOn U (K n) (realCoefficients (b.pressure n)) |
| 371 | gaussian : ∀ n i, NonzeroSupportedOn U (K n) (realCoefficients (G n i)) |
| 372 | aliasError : ∀ n i, NonzeroSupportedOn U (K n) (realCoefficients (A n i)) |
| 373 | |
| 374 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 375 | theorem realCoefficients_supportedOn_of_field |
| 376 | (c : HarmonicFields.Coefficients D) (k : ℝ) (Φ : D → ℝ) |
| 377 | {kp : ℤ} (hkp : kp ≠ 0) {U K : Set D} |
| 378 | (hf : ∀ x, x ∈ U → x ∉ K → ∀ θ, (HarmonicFields.field c k Φ kp (x, θ)).re = 0) : |
| 379 | NonzeroSupportedOn U K (realCoefficients c) := |
| 380 | fun j _ x hx hn => realCoefficient_eq_zero_of_field c k Φ hkp j x (hf x hx hn) |
| 381 | |
| 382 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 383 | theorem InputSupportOn.of_fields |
| 384 | (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) |
| 385 | {U : Set D} {K : ℕ → Set D} (hkp : ∀ n, b.angularFrequency n ≠ 0) |
| 386 | (hv : ∀ n x, x ∈ U → x ∉ K n → ∀ θ i, b.oscillation n (x, θ) i = 0) |
| 387 | (hp : ∀ n x, x ∈ U → x ∉ K n → ∀ θ, b.oscillatoryPressure n (x, θ) = 0) |
| 388 | (hG : ∀ n x, x ∈ U → x ∉ K n → ∀ θ i, |
| 389 | (HarmonicResidual.vectorField (G n) (b.frequency n) (b.phase n) |
| 390 | (b.angularFrequency n) (x, θ) i).re = 0) |
| 391 | (hA : ∀ n x, x ∈ U → x ∉ K n → ∀ θ i, |
| 392 | (HarmonicResidual.vectorField (A n) (b.frequency n) (b.phase n) |
| 393 | (b.angularFrequency n) (x, θ) i).re = 0) : |
| 394 | InputSupportOn U K b G A := by |
| 395 | constructor |
| 396 | · intro n i |
| 397 | exact realCoefficients_supportedOn_of_field _ _ _ (hkp n) |
| 398 | (fun x hx hn θ => hv n x hx hn θ i) |
| 399 | · intro n |
| 400 | exact realCoefficients_supportedOn_of_field _ _ _ (hkp n) (hp n) |
| 401 | · intro n i |
| 402 | exact realCoefficients_supportedOn_of_field _ _ _ (hkp n) |
| 403 | (fun x hx hn θ => hG n x hx hn θ i) |
| 404 | · intro n i |
| 405 | exact realCoefficients_supportedOn_of_field _ _ _ (hkp n) |
| 406 | (fun x hx hn θ => hA n x hx hn θ i) |
| 407 | |
| 408 | theorem residualSource_complement_germ_on |
| 409 | (c : CorrectionState.Context D) (u : CorrectionState.State D) |
| 410 | (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) |
| 411 | {U K : Set D} (hU : IsOpen U) (hK : IsClosed K) (n : ℕ) |
| 412 | (hv : ∀ i, NonzeroSupportedOn U K (realCoefficients (b.velocity n i))) |
| 413 | (hp : NonzeroSupportedOn U K (realCoefficients (b.pressure n))) |
| 414 | (j : ℤ) {x : D} (hx : x ∈ U) (hn : x ∉ K) : |
| 415 | ParticularWaveAssembly.residualSource c u b G A j n =ᶠ[𝓝 x] excludedSource G A j n := |
| 416 | residualSource_complement_germ_of_real c u b G A (hU.isClosed_compl.union hK) n |
| 417 | (fun i => (hv i).enlarge) hp.enlarge j (by simpa using And.intro hx hn) |
| 418 | |
| 419 | /-- The source has a genuine zero neighborhood at every uncovered point |
| 420 | of the open strip. Only incoming coefficient support on that strip is used. -/ |
| 421 | theorem residualSource_zero_germ_on |
| 422 | (c : CorrectionState.Context D) (u : CorrectionState.State D) |
| 423 | (b : CorrectionState.HarmonicBlock D) (G A : HarmonicResidual.BlockCoefficients D) |
| 424 | {U : Set D} {K : ℕ → Set D} (hU : IsOpen U) (hK : ∀ n, IsClosed (K n)) |
| 425 | (hs : InputSupportOn U K b G A) (j : ℤ) (n : ℕ) {x : D} |
| 426 | (hx : x ∈ U) (hn : x ∉ K n) : |
| 427 | ParticularWaveAssembly.residualSource c u b G A j n =ᶠ[𝓝 x] fun _ => 0 := by |
| 428 | apply PeriodizedWaveBounds.zero_germ_of_support (hU.isClosed_compl.union (hK n)) |
| 429 | · exact residualSource_support_of_real c u b G A (hU.isClosed_compl.union (hK n)) n |
| 430 | (fun i => (hs.velocity n i).enlarge) (hs.pressure n).enlarge |
| 431 | (fun i => (hs.gaussian n i).enlarge) (fun i => (hs.aliasError n i).enlarge) j |
| 432 | · simpa using And.intro hx hn |
| 433 | |
| 434 | theorem zero_complementJets_of_germs |
| 435 | {E I : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 436 | (s : WeightedClasses.StripData D) (w : ℕ → D → ℝ) (α : ℝ) |
| 437 | (K : ℕ → I → Set D) (f : ℕ → D → E) |
| 438 | (hg : ∀ n x, x ∈ s.domain → (∀ i, x ∉ K n i) → f n =ᶠ[𝓝 x] fun _ => 0) : |
| 439 | PeriodizedWaveBounds.ComplementJets s w α K f := by |
| 440 | constructor |
| 441 | · intro n x hx hn |
| 442 | exact contDiffAt_const.congr_of_eventuallyEq (hg n x hx hn) |
| 443 | · intro m |
| 444 | refine ⟨0, le_rfl, 0, ?_⟩ |
| 445 | intro n x hx hn j hj |
| 446 | rw [PeriodizedWaveBounds.jets_eq_of_germ (hg n x hx hn) j] |
| 447 | simp [WeightedClasses.majorant] |
| 448 | |
| 449 | section RelativeNativeCoverage |
| 450 | |
| 451 | open CommonCoverSolve TorusInverse |
| 452 | |
| 453 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 454 | |
| 455 | theorem sourceFamily_zero_germ_on |
| 456 | (c : CorrectionState.Context (P × Plane)) (u : CorrectionState.State (P × Plane)) |
| 457 | (b : CorrectionState.HarmonicBlock (P × Plane)) |
| 458 | (G A : HarmonicResidual.BlockCoefficients (P × Plane)) |
| 459 | (g : ℕ → Geometry) (K : ℕ → Set Plane) (hK : ∀ n, IsCompact (K n)) |
| 460 | {U : Set (P × Plane)} (hU : IsOpen U) |
| 461 | (hs : InputSupportOn U (fun n => nativeUnion (g n) (K n)) b G A) |
| 462 | (j : ℤ) (n : ℕ) {x : (P × ℝ) × Plane} |
| 463 | (hx : (x.1.1, x.2) ∈ U) |
| 464 | (hn : ∀ k, x ∉ PeriodizedWaveBounds.nativeCell (g n) (K n) k) : |
| 465 | ParticularWaveAssembly.sourceFamily c u b G A j n =ᶠ[𝓝 x] fun _ => 0 := by |
| 466 | have hnot : (x.1.1, x.2) ∉ nativeUnion (g n) (K n) := by |
| 467 | simp only [nativeUnion, mem_iUnion, not_exists] |
| 468 | exact hn |
| 469 | have he := residualSource_zero_germ_on c u b G A hU |
| 470 | (fun n => nativeUnion_closed (g n) (hK n)) hs j n hx hnot |
| 471 | have hc : Continuous (fun y : (P × ℝ) × Plane => (y.1.1, y.2)) := |
| 472 | continuous_fst.fst.prodMk continuous_snd |
| 473 | exact he.comp_tendsto hc.continuousAt |
| 474 | |
| 475 | /-- This is the source-complement input for the global Gaussian estimate |
| 476 | on the full angular lift. It has every exponent with constant zero, and |
| 477 | does not assert support or regularity outside the incoming open strip. -/ |
| 478 | theorem sourceFamily_zero_complementJets |
| 479 | (c : CorrectionState.Context (P × Plane)) (u : CorrectionState.State (P × Plane)) |
| 480 | (b : CorrectionState.HarmonicBlock (P × Plane)) |
| 481 | (G A : HarmonicResidual.BlockCoefficients (P × Plane)) |
| 482 | (g : ℕ → Geometry) (K : ℕ → Set Plane) (hK : ∀ n, IsCompact (K n)) |
| 483 | {U : Set (P × Plane)} (hU : IsOpen U) |
| 484 | (hs : InputSupportOn U (fun n => nativeUnion (g n) (K n)) b G A) |
| 485 | (s : WeightedClasses.StripData ((P × ℝ) × Plane)) |
| 486 | (hdom : ∀ x, x ∈ s.domain → (x.1.1, x.2) ∈ U) |
| 487 | (j : ℤ) (w : ℕ → (P × ℝ) × Plane → ℝ) (α : ℝ) : |
| 488 | PeriodizedWaveBounds.ComplementJets s w α |
| 489 | (fun n => PeriodizedWaveBounds.nativeCell (g n) (K n)) |
| 490 | (ParticularWaveAssembly.sourceFamily c u b G A j) := by |
| 491 | apply zero_complementJets_of_germs |
| 492 | intro n x hx hn |
| 493 | exact sourceFamily_zero_germ_on c u b G A g K hK hU hs j n (hdom x hx) hn |
| 494 | |
| 495 | end RelativeNativeCoverage |
| 496 | |
| 497 | /-! ## Unrestricted zero modes and the exact excluded-tail obstruction -/ |
| 498 | |
| 499 | end NavierStokes.HarmonicSourceSupport |