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.ParticularWaveAssembly |
| 2 | import NavierStokes.StateReindex |
| 3 | import NavierStokes.UniformPrimaryWeights |
| 4 | import NavierStokes.HarmonicWaveInteraction |
| 5 | import NavierStokes.PeriodizedWaveBounds |
| 6 | |
| 7 | /-! |
| 8 | # Uniform coefficient bounds for the literal harmonic blocks |
| 9 | |
| 10 | Restriction to angle zero, isometric coordinate changes, conjugate pairs, |
| 11 | and finite signed harmonic sums preserve constants chosen before labels. |
| 12 | The endpoints use the actual signed and particular block constructors. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | namespace NavierStokes.UniformBlockBounds |
| 18 | |
| 19 | open Set Filter Function WeightedClasses LabelSumBounds HarmonicCalculus HarmonicFields |
| 20 | open scoped Topology ContDiff BigOperators |
| 21 | |
| 22 | section Restriction |
| 23 | |
| 24 | variable {D E : Type} {F ι : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 25 | [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 26 | |
| 27 | /-- An isometry preserves the constants and polynomial degrees of every |
| 28 | actual finite-jet bound, uniformly over the extra index. -/ |
| 29 | theorem uniform_reindex (e : E ≃ₗᵢ[ℝ] D) {s : StripData D} |
| 30 | {w : ι → ℕ → D → ℝ} {α : ℝ} {f : ι → ℕ → D → F} |
| 31 | (hf : UniformClass s w α f) : |
| 32 | UniformClass (ParticularWaveBounds.reindexStrip e s) |
| 33 | (fun l n x => w l n (e x)) α (fun l n x => f l n (e x)) := by |
| 34 | refine ⟨fun l n x hx => hf.weight_nonneg l n (e x) hx, |
| 35 | fun l n => (hf.smooth l n).comp e.toContinuousLinearEquiv.contDiff.contDiffOn |
| 36 | (fun _ hx => hx), fun m => ?_⟩ |
| 37 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 38 | refine ⟨C, hC, p, fun l n x hx j hj => ?_⟩ |
| 39 | change ‖iteratedFDeriv ℝ j (f l n ∘ e) x‖ ≤ _ |
| 40 | rw [e.norm_iteratedFDeriv_comp_right] |
| 41 | exact hb l n (e x) hx j hj |
| 42 | |
| 43 | end Restriction |
| 44 | |
| 45 | section ZeroSection |
| 46 | |
| 47 | variable {D : Type} {F ι : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 48 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 49 | |
| 50 | /-- Restriction to angle zero does not enlarge a single jet constant. -/ |
| 51 | theorem uniform_zeroSection {s : StripData (D × ℝ)} {w : ι → ℕ → D × ℝ → ℝ} |
| 52 | {α : ℝ} {f : ι → ℕ → D × ℝ → F} (hf : UniformClass s w α f) : |
| 53 | UniformClass (SignedWaveUpdate.sectionStrip s) (fun l n x => w l n (x,0)) α |
| 54 | (fun l n x => f l n (x,0)) := by |
| 55 | refine ⟨fun l n x hx => hf.weight_nonneg l n _ hx, |
| 56 | fun l n => (hf.smooth l n).comp (SignedWaveUpdate.zeroSection (D := D)).contDiff.contDiffOn |
| 57 | (fun _ hx => hx), fun m => ?_⟩ |
| 58 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 59 | refine ⟨C, hC, p, fun l n x hx j hj => ?_⟩ |
| 60 | have hc := PhaseJetBounds.norm_jet_comp_linear s.isOpen_domain (hf.smooth l n) |
| 61 | (SignedWaveUpdate.zeroSection (D := D)) hx j |
| 62 | have hp : ‖SignedWaveUpdate.zeroSection (D := D)‖^j ≤ 1 := |
| 63 | pow_le_one₀ (norm_nonneg _) SignedWaveUpdate.zeroSection_norm_le |
| 64 | exact (hc.trans (mul_le_of_le_one_right (norm_nonneg _) hp)).trans (hb l n (x,0) hx j hj) |
| 65 | |
| 66 | theorem sectionStrip_productStrip (s : StripData D) : |
| 67 | SignedWaveUpdate.sectionStrip (HarmonicWaveInteraction.productStrip s) = s := by |
| 68 | cases s |
| 69 | rfl |
| 70 | |
| 71 | theorem uniform_slice {s : StripData D} {w : ι → ℕ → D → ℝ} {α : ℝ} |
| 72 | {f : ι → ℕ → D × ℝ → F} |
| 73 | (hf : UniformClass (HarmonicWaveInteraction.productStrip s) |
| 74 | (fun l n x => w l n x.1) α f) : |
| 75 | UniformClass s w α (fun l n x => f l n (x,0)) := by |
| 76 | have hh := uniform_zeroSection hf |
| 77 | rw [sectionStrip_productStrip] at hh |
| 78 | exact hh |
| 79 | |
| 80 | end ZeroSection |
| 81 | |
| 82 | section Pairing |
| 83 | |
| 84 | variable {D : Type} {ι : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 85 | {s : StripData D} {w : ι → ℕ → D → ℝ} {α γ : ℝ} |
| 86 | |
| 87 | /-- A conjugate pair retains uniformity, including both negative and |
| 88 | positive Fourier modes. -/ |
| 89 | theorem pair_uniform {a : ι → ℕ → D → ℂ} (ha : UniformClass s w α a) (j m : ℤ) : |
| 90 | UniformClass s w α (fun l n x => ErrorHarmonics.conjugatePair j (a l n) m x) := by |
| 91 | have hp : UniformClass s w α (fun l n x => a l n x / 2) := by |
| 92 | simpa only [ContinuousLinearMap.mul_apply', div_eq_mul_inv, mul_comm] using |
| 93 | ha.map (ContinuousLinearMap.mul ℝ ℂ (2 : ℂ)⁻¹) |
| 94 | have hn : UniformClass s w α (fun l n x => (starRingEnd ℂ) (a l n x / 2)) := |
| 95 | hp.map (Complex.conjCLE : ℂ →L[ℝ] ℂ) |
| 96 | have hz := UniformClass.zero (s := s) (α := α) (E := ℂ) ha.weight_nonneg |
| 97 | by_cases hm : m = j <;> by_cases hm' : -m = j |
| 98 | · simpa only [ParticularWaveAssembly.pair_apply, ite_eq_left hm, ite_eq_left hm'] using hp.add hn |
| 99 | · simpa only [ParticularWaveAssembly.pair_apply, ite_eq_left hm, ite_eq_right hm', map_zero, add_zero] using hp |
| 100 | · simpa only [ParticularWaveAssembly.pair_apply, ite_eq_right hm, ite_eq_left hm', zero_add] using hn |
| 101 | · simpa only [ParticularWaveAssembly.pair_apply, ite_eq_right hm, ite_eq_right hm', map_zero, add_zero] using hz |
| 102 | |
| 103 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 104 | theorem pair_sub_apply (j m : ℤ) (a b : D → ℂ) (x : D) : |
| 105 | ErrorHarmonics.conjugatePair j (fun y => a y - b y) m x = |
| 106 | ErrorHarmonics.conjugatePair j a m x - ErrorHarmonics.conjugatePair j b m x := by |
| 107 | simp only [ParticularWaveAssembly.pair_apply] |
| 108 | split_ifs <;> simp [sub_div, map_sub] |
| 109 | all_goals ring |
| 110 | |
| 111 | theorem coefficientBlock_uniform |
| 112 | (k : ι → ℕ → ℝ) (Φ : ι → ℕ → D → ℝ) (kp : ι → ℕ → ℤ) |
| 113 | {v : ι → ℕ → D → ComplexVector} {p : ι → ℕ → D → ℂ} |
| 114 | (hv : UniformClass s w α v) (hp : UniformClass s w γ p) : |
| 115 | (∀ i m, UniformClass s w α (fun l n x => |
| 116 | (SignedWaveUpdate.coefficientBlock (k l) (Φ l) (kp l) (v l) (p l)).velocity n i m x)) ∧ |
| 117 | (∀ m, UniformClass s w γ (fun l n x => |
| 118 | (SignedWaveUpdate.coefficientBlock (k l) (Φ l) (kp l) (v l) (p l)).pressure n m x)) := |
| 119 | ⟨fun i m => pair_uniform (hv.map (ContinuousLinearMap.proj i)) 1 m, |
| 120 | fun m => pair_uniform hp 1 m⟩ |
| 121 | |
| 122 | end Pairing |
| 123 | |
| 124 | section SignedBlocks |
| 125 | |
| 126 | variable {D : Type} {ι : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 127 | {s : StripData (D × ℝ)} {w : ι → ℕ → D × ℝ → ℝ} {α γ : ℝ} |
| 128 | |
| 129 | /-- Uniform full-angle amplitude and pressure bounds give the actual |
| 130 | stored coefficients of the angle-zero signed block. -/ |
| 131 | theorem blockOfCoefficients_uniform |
| 132 | (a : ι → LinearWaveBounds.WaveCoefficients (D × ℝ)) (kp : ι → ℕ → ℤ) |
| 133 | (ha : UniformClass s w α (fun l => (a l).amplitude)) |
| 134 | (hp : UniformClass s w γ (fun l => (a l).pressure)) : |
| 135 | (∀ i m, UniformClass (SignedWaveUpdate.sectionStrip s) (fun l n x => w l n (x,0)) α |
| 136 | (fun l n x => (SignedWaveUpdate.blockOfCoefficients (a l) (kp l)).velocity n i m x)) ∧ |
| 137 | (∀ m, UniformClass (SignedWaveUpdate.sectionStrip s) (fun l n x => w l n (x,0)) γ |
| 138 | (fun l n x => (SignedWaveUpdate.blockOfCoefficients (a l) (kp l)).pressure n m x)) := |
| 139 | coefficientBlock_uniform (fun l => (a l).frequency) (fun l n x => (a l).phase n (x,0)) kp |
| 140 | (uniform_zeroSection ha) (uniform_zeroSection hp) |
| 141 | |
| 142 | /-- The smallness of a full-angle amplitude difference transfers to the |
| 143 | literal difference of the two stored velocity coefficients. -/ |
| 144 | theorem blockOfCoefficients_difference_uniform |
| 145 | (a b : ι → LinearWaveBounds.WaveCoefficients (D × ℝ)) (kp : ι → ℕ → ℤ) |
| 146 | (hab : UniformClass s w α (fun l n x => (a l).amplitude n x - (b l).amplitude n x)) |
| 147 | (i : Fin 3) (m : ℤ) : |
| 148 | UniformClass (SignedWaveUpdate.sectionStrip s) (fun l n x => w l n (x,0)) α |
| 149 | (fun l n x => (SignedWaveUpdate.blockOfCoefficients (a l) (kp l)).velocity n i m x - |
| 150 | (SignedWaveUpdate.blockOfCoefficients (b l) (kp l)).velocity n i m x) := by |
| 151 | have hh := pair_uniform ((uniform_zeroSection hab).map (ContinuousLinearMap.proj i)) 1 m |
| 152 | apply hh.congr |
| 153 | intro l n x hx |
| 154 | exact pair_sub_apply 1 m (fun y => (a l).amplitude n (y,0) i) |
| 155 | (fun y => (b l).amplitude n (y,0) i) x |
| 156 | |
| 157 | /-- For the actual common corrected wave, the amplitude difference is |
| 158 | exactly the common curl correction. -/ |
| 159 | theorem commonCorrected_difference_uniform {I : Type} |
| 160 | (a : ι → PeriodizedWaveBounds.CopyData (D × ℝ) I) |
| 161 | (d : ι → LinearWaveBounds.GraphDirections (D × ℝ)) (kp : ι → ℕ → ℤ) |
| 162 | (hc : UniformClass s w α (fun l => (a l).common.curlCorrection s (d l))) |
| 163 | (i : Fin 3) (m : ℤ) : |
| 164 | UniformClass (SignedWaveUpdate.sectionStrip s) (fun l n x => w l n (x,0)) α |
| 165 | (fun l n x => (SignedWaveUpdate.blockOfCoefficients ((a l).commonCorrected s (d l)) (kp l)).velocity n i m x - |
| 166 | (SignedWaveUpdate.blockOfCoefficients (a l).common (kp l)).velocity n i m x) := by |
| 167 | apply blockOfCoefficients_difference_uniform _ _ kp _ i m |
| 168 | apply hc.congr |
| 169 | intro l n x hx |
| 170 | simp only [PeriodizedWaveBounds.CopyData.commonCorrected, |
| 171 | LinearWaveBounds.WaveCoefficients.addAmplitude, add_sub_cancel_left] |
| 172 | |
| 173 | end SignedBlocks |
| 174 | |
| 175 | section ProductSignedBlocks |
| 176 | |
| 177 | variable {D : Type} {ι : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 178 | {s : StripData D} {P : ι → ℕ → D → ℝ} {α γ : ℝ} |
| 179 | |
| 180 | theorem blockOfCoefficients_product_uniform |
| 181 | (a : ι → LinearWaveBounds.WaveCoefficients (D × ℝ)) (kp : ι → ℕ → ℤ) |
| 182 | (ha : UniformWaveClass (HarmonicWaveInteraction.productStrip s) (fun l n x => P l n x.1) |
| 183 | α (fun l => (a l).amplitude)) |
| 184 | (hp : UniformWaveClass (HarmonicWaveInteraction.productStrip s) (fun l n x => P l n x.1) |
| 185 | γ (fun l => (a l).pressure)) : |
| 186 | (∀ i m, UniformWaveClass s P α |
| 187 | (fun l n x => (SignedWaveUpdate.blockOfCoefficients (a l) (kp l)).velocity n i m x)) ∧ |
| 188 | (∀ m, UniformWaveClass s P γ |
| 189 | (fun l n x => (SignedWaveUpdate.blockOfCoefficients (a l) (kp l)).pressure n m x)) := by |
| 190 | have h := blockOfCoefficients_uniform a kp ha hp |
| 191 | rw [sectionStrip_productStrip] at h |
| 192 | exact h |
| 193 | |
| 194 | theorem commonCorrected_product_difference_uniform {I : Type} |
| 195 | (a : ι → PeriodizedWaveBounds.CopyData (D × ℝ) I) |
| 196 | (d : ι → LinearWaveBounds.GraphDirections (D × ℝ)) (kp : ι → ℕ → ℤ) |
| 197 | (hc : UniformWaveClass (HarmonicWaveInteraction.productStrip s) (fun l n x => P l n x.1) α |
| 198 | (fun l => (a l).common.curlCorrection (HarmonicWaveInteraction.productStrip s) (d l))) |
| 199 | (i : Fin 3) (m : ℤ) : |
| 200 | UniformWaveClass s P α |
| 201 | (fun l n x => (SignedWaveUpdate.blockOfCoefficients |
| 202 | ((a l).commonCorrected (HarmonicWaveInteraction.productStrip s) (d l)) (kp l)).velocity n i m x - |
| 203 | (SignedWaveUpdate.blockOfCoefficients (a l).common (kp l)).velocity n i m x) := by |
| 204 | have h := commonCorrected_difference_uniform a d kp hc i m |
| 205 | rw [sectionStrip_productStrip] at h |
| 206 | exact h |
| 207 | |
| 208 | end ProductSignedBlocks |
| 209 | |
| 210 | section FiniteAssembly |
| 211 | |
| 212 | variable {D : Type} {ι : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 213 | {s : StripData D} {w : ι → ℕ → D → ℝ} {α γ : ℝ} |
| 214 | |
| 215 | /-- A fixed finite signed harmonic sum preserves uniformity in the |
| 216 | spatial label, independently of the total number of such labels. -/ |
| 217 | theorem assembledBlock_uniform |
| 218 | (N : ℕ) (k : ι → ℕ → ℝ) (Φ : ι → ℕ → D → ℝ) (kp : ι → ℕ → ℤ) |
| 219 | {v : ι → ℤ → ℕ → D → ComplexVector} {p : ι → ℤ → ℕ → D → ℂ} |
| 220 | (hw : ∀ l n x, x ∈ s.domain → 0 ≤ w l n x) |
| 221 | (hv : ∀ j ∈ ParticularWaveAssembly.modes N, UniformClass s w α (fun l => v l j)) |
| 222 | (hp : ∀ j ∈ ParticularWaveAssembly.modes N, UniformClass s w γ (fun l => p l j)) : |
| 223 | (∀ i m, UniformClass s w α (fun l n x => |
| 224 | (ParticularWaveAssembly.assembledBlock N (k l) (Φ l) (kp l) (v l) (p l)).velocity n i m x)) ∧ |
| 225 | (∀ m, UniformClass s w γ (fun l n x => |
| 226 | (ParticularWaveAssembly.assembledBlock N (k l) (Φ l) (kp l) (v l) (p l)).pressure n m x)) := by |
| 227 | constructor |
| 228 | · intro i m |
| 229 | have hs := UniformClass.sum (ParticularWaveAssembly.modes N) |
| 230 | (fun j l n x => (ParticularWaveAssembly.modeBlock j (k l) (Φ l) (kp l) (v l j) (p l j)).velocity n i m x) |
| 231 | hw (fun j hj => pair_uniform ((hv j hj).map (ContinuousLinearMap.proj i)) j m) |
| 232 | apply hs.congr |
| 233 | intro l n x hx |
| 234 | change _ = (∑ j ∈ ParticularWaveAssembly.modes N, |
| 235 | (ParticularWaveAssembly.modeBlock j (k l) (Φ l) (kp l) (v l j) (p l j)).velocity n i) m x |
| 236 | rw [AddMonoidAlgebra.coeff_sum, Finsupp.finsetSum_apply, Finset.sum_apply] |
| 237 | · intro m |
| 238 | have hs := UniformClass.sum (ParticularWaveAssembly.modes N) |
| 239 | (fun j l n x => (ParticularWaveAssembly.modeBlock j (k l) (Φ l) (kp l) (v l j) (p l j)).pressure n m x) |
| 240 | hw (fun j hj => pair_uniform (hp j hj) j m) |
| 241 | apply hs.congr |
| 242 | intro l n x hx |
| 243 | change _ = (∑ j ∈ ParticularWaveAssembly.modes N, |
| 244 | (ParticularWaveAssembly.modeBlock j (k l) (Φ l) (kp l) (v l j) (p l j)).pressure n) m x |
| 245 | rw [AddMonoidAlgebra.coeff_sum, Finsupp.finsetSum_apply, Finset.sum_apply] |
| 246 | |
| 247 | end FiniteAssembly |
| 248 | |
| 249 | section NativeAssembly |
| 250 | |
| 251 | variable {Q : Type} {ι F : Type*} [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 252 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 253 | |
| 254 | /-- The actual angle shuffle followed by the actual zero section. -/ |
| 255 | theorem nativeSlice_uniform {s : StripData ((Q × ℝ) × TorusInverse.Plane)} |
| 256 | {w : ι → ℕ → (Q × ℝ) × TorusInverse.Plane → ℝ} {α : ℝ} |
| 257 | {f : ι → ℕ → (Q × ℝ) × TorusInverse.Plane → F} (hf : UniformClass s w α f) : |
| 258 | UniformClass (ParticularWaveAssembly.sectionStrip s) |
| 259 | (fun l n x => w l n (ParticularWaveAssembly.angleShuffle (x,0))) α |
| 260 | (fun l n x => f l n (ParticularWaveAssembly.angleShuffle (x,0))) := |
| 261 | uniform_zeroSection (uniform_reindex (ParticularWaveAssembly.angleShuffle (P := Q)) hf) |
| 262 | |
| 263 | /-- The native whole-angle strip used by the literal particular solver. -/ |
| 264 | noncomputable def nativeStrip (s : StripData (Q × TorusInverse.Plane)) : |
| 265 | StripData ((Q × ℝ) × TorusInverse.Plane) := |
| 266 | ParticularWaveBounds.reindexStrip (ParticularWaveAssembly.angleShuffle (P := Q)).symm |
| 267 | (HarmonicWaveInteraction.productStrip s) |
| 268 | |
| 269 | theorem sectionStrip_nativeStrip (s : StripData (Q × TorusInverse.Plane)) : |
| 270 | ParticularWaveAssembly.sectionStrip (nativeStrip s) = s := by |
| 271 | cases s |
| 272 | rfl |
| 273 | |
| 274 | theorem nativeSlice_original_uniform {s : StripData (Q × TorusInverse.Plane)} |
| 275 | {w : ι → ℕ → (Q × ℝ) × TorusInverse.Plane → ℝ} {α : ℝ} |
| 276 | {f : ι → ℕ → (Q × ℝ) × TorusInverse.Plane → F} (hf : UniformClass (nativeStrip s) w α f) : |
| 277 | UniformClass s (fun l n x => w l n (ParticularWaveAssembly.angleShuffle (x,0))) α |
| 278 | (fun l n x => f l n (ParticularWaveAssembly.angleShuffle (x,0))) := by |
| 279 | have h := nativeSlice_uniform hf |
| 280 | rw [sectionStrip_nativeStrip] at h |
| 281 | exact h |
| 282 | |
| 283 | /-- Full-angle, already periodized mode coefficients produce the actual |
| 284 | finite particular block. Every output mode has uniform label bounds. -/ |
| 285 | theorem native_assembledBlock_uniform |
| 286 | {s : StripData ((Q × ℝ) × TorusInverse.Plane)} |
| 287 | {w : ι → ℕ → (Q × ℝ) × TorusInverse.Plane → ℝ} {α γ : ℝ} |
| 288 | (N : ℕ) (k : ι → ℕ → ℝ) (Φ : ι → ℕ → Q × TorusInverse.Plane → ℝ) (kp : ι → ℕ → ℤ) |
| 289 | {v : ι → ℤ → ℕ → (Q × ℝ) × TorusInverse.Plane → ComplexVector} |
| 290 | {p : ι → ℤ → ℕ → (Q × ℝ) × TorusInverse.Plane → ℂ} |
| 291 | (hw : ∀ l n x, x ∈ s.domain → 0 ≤ w l n x) |
| 292 | (hv : ∀ j ∈ ParticularWaveAssembly.modes N, UniformClass s w α (fun l => v l j)) |
| 293 | (hp : ∀ j ∈ ParticularWaveAssembly.modes N, UniformClass s w γ (fun l => p l j)) : |
| 294 | (∀ i m, UniformClass (ParticularWaveAssembly.sectionStrip s) |
| 295 | (fun l n x => w l n (ParticularWaveAssembly.angleShuffle (x,0))) α |
| 296 | (fun l n x => (ParticularWaveAssembly.assembledBlock N (k l) (Φ l) (kp l) |
| 297 | (fun j n x => v l j n (ParticularWaveAssembly.angleShuffle (x,0))) |
| 298 | (fun j n x => p l j n (ParticularWaveAssembly.angleShuffle (x,0)))).velocity n i m x)) ∧ |
| 299 | (∀ m, UniformClass (ParticularWaveAssembly.sectionStrip s) |
| 300 | (fun l n x => w l n (ParticularWaveAssembly.angleShuffle (x,0))) γ |
| 301 | (fun l n x => (ParticularWaveAssembly.assembledBlock N (k l) (Φ l) (kp l) |
| 302 | (fun j n x => v l j n (ParticularWaveAssembly.angleShuffle (x,0))) |
| 303 | (fun j n x => p l j n (ParticularWaveAssembly.angleShuffle (x,0)))).pressure n m x)) := |
| 304 | assembledBlock_uniform N k Φ kp (fun l n x hx => hw l n (ParticularWaveAssembly.angleShuffle (x,0)) hx) |
| 305 | (fun j hj => nativeSlice_uniform (hv j hj)) (fun j hj => nativeSlice_uniform (hp j hj)) |
| 306 | |
| 307 | theorem native_assembledBlock_original_uniform |
| 308 | {s : StripData (Q × TorusInverse.Plane)} |
| 309 | {w : ι → ℕ → (Q × ℝ) × TorusInverse.Plane → ℝ} {α γ : ℝ} |
| 310 | (N : ℕ) (k : ι → ℕ → ℝ) (Φ : ι → ℕ → Q × TorusInverse.Plane → ℝ) (kp : ι → ℕ → ℤ) |
| 311 | {v : ι → ℤ → ℕ → (Q × ℝ) × TorusInverse.Plane → ComplexVector} |
| 312 | {p : ι → ℤ → ℕ → (Q × ℝ) × TorusInverse.Plane → ℂ} |
| 313 | (hw : ∀ l n x, x ∈ (nativeStrip s).domain → 0 ≤ w l n x) |
| 314 | (hv : ∀ j ∈ ParticularWaveAssembly.modes N, UniformClass (nativeStrip s) w α (fun l => v l j)) |
| 315 | (hp : ∀ j ∈ ParticularWaveAssembly.modes N, UniformClass (nativeStrip s) w γ (fun l => p l j)) : |
| 316 | (∀ i m, UniformClass s (fun l n x => w l n (ParticularWaveAssembly.angleShuffle (x,0))) α |
| 317 | (fun l n x => (ParticularWaveAssembly.assembledBlock N (k l) (Φ l) (kp l) |
| 318 | (fun j n x => v l j n (ParticularWaveAssembly.angleShuffle (x,0))) |
| 319 | (fun j n x => p l j n (ParticularWaveAssembly.angleShuffle (x,0)))).velocity n i m x)) ∧ |
| 320 | (∀ m, UniformClass s (fun l n x => w l n (ParticularWaveAssembly.angleShuffle (x,0))) γ |
| 321 | (fun l n x => (ParticularWaveAssembly.assembledBlock N (k l) (Φ l) (kp l) |
| 322 | (fun j n x => v l j n (ParticularWaveAssembly.angleShuffle (x,0))) |
| 323 | (fun j n x => p l j n (ParticularWaveAssembly.angleShuffle (x,0)))).pressure n m x)) := by |
| 324 | have h := native_assembledBlock_uniform N k Φ kp hw hv hp |
| 325 | rw [sectionStrip_nativeStrip] at h |
| 326 | exact h |
| 327 | |
| 328 | end NativeAssembly |
| 329 | |
| 330 | section StateReindex |
| 331 | |
| 332 | variable {D E : Type} {ι : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 333 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 334 | |
| 335 | /-- The last coordinate reassociation acts on the actual stored velocity |
| 336 | coefficients and preserves the uniform class. -/ |
| 337 | theorem block_velocity_reindex (e : D ≃ₗᵢ[ℝ] E) {s : StripData E} |
| 338 | {w : ι → ℕ → E → ℝ} {α : ℝ} {a : ι → CorrectionState.HarmonicBlock E} |
| 339 | (i : Fin 3) (j : ℤ) (ha : UniformClass s w α (fun l n x => (a l).velocity n i j x)) : |
| 340 | UniformClass (StateReindex.strip e s) (fun l n x => w l n (e x)) α |
| 341 | (fun l n x => (StateReindex.block e (a l)).velocity n i j x) := |
| 342 | uniform_reindex e ha |
| 343 | |
| 344 | theorem block_pressure_reindex (e : D ≃ₗᵢ[ℝ] E) {s : StripData E} |
| 345 | {w : ι → ℕ → E → ℝ} {α : ℝ} {a : ι → CorrectionState.HarmonicBlock E} |
| 346 | (j : ℤ) (ha : UniformClass s w α (fun l n x => (a l).pressure n j x)) : |
| 347 | UniformClass (StateReindex.strip e s) (fun l n x => w l n (e x)) α |
| 348 | (fun l n x => (StateReindex.block e (a l)).pressure n j x) := |
| 349 | uniform_reindex e ha |
| 350 | |
| 351 | end StateReindex |
| 352 | |
| 353 | end NavierStokes.UniformBlockBounds |