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.PhysicalStageBounds |
| 2 | import NavierStokes.MixedCandidateAssembly |
| 3 | import NavierStokes.ActualInitialization |
| 4 | |
| 5 | /-! |
| 6 | # A common shrinking support for actual physical increments |
| 7 | |
| 8 | Native outer radii, bounded by one fixed patch radius, give one physical |
| 9 | outer-support constant for every stage. Coherent means are represented in |
| 10 | a comparable native band; no physical support property is an input. |
| 11 | The zeroth support assertion concerns the finite initialization increment. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | namespace NavierStokes.PhysicalStageSupport |
| 19 | |
| 20 | open Set Function Filter ProblemStatement PhysicalStageBounds |
| 21 | open MixedDiagonalExtensions |
| 22 | open scoped Topology ContDiff BigOperators |
| 23 | |
| 24 | section SupportAlgebra |
| 25 | |
| 26 | variable {V : Type*} [NormedAddCommGroup V] |
| 27 | |
| 28 | theorem support_mono {h C D qbig : ℝ} {f : SpaceTime → V} |
| 29 | (hf : SublevelShrinkingSupport h C qbig f) (hCD : C ≤ D) : |
| 30 | SublevelShrinkingSupport h D qbig f := by |
| 31 | intro w ht hq hn |
| 32 | exact (hf w ht hq hn).trans (mul_le_mul_of_nonneg_right hCD (Real.sqrt_nonneg _)) |
| 33 | |
| 34 | theorem support_congr {h C qbig : ℝ} {f g : SpaceTime → V} |
| 35 | (hf : SublevelShrinkingSupport h C qbig f) |
| 36 | (he : EqOn f g (CutStageEstimates.physicalSublevel h qbig)) : |
| 37 | SublevelShrinkingSupport h C qbig g := by |
| 38 | intro w ht hq hn |
| 39 | apply hf w ht hq |
| 40 | rwa [he ⟨ht, hq⟩] |
| 41 | |
| 42 | theorem support_map_zero {E : Type*} [NormedAddCommGroup E] |
| 43 | {h C qbig : ℝ} {f : SpaceTime → V} |
| 44 | (hf : SublevelShrinkingSupport h C qbig f) |
| 45 | (T : SpaceTime → V → E) (hT : ∀ w, T w 0 = 0) : |
| 46 | SublevelShrinkingSupport h C qbig (fun w => T w (f w)) := by |
| 47 | intro w ht hq hn |
| 48 | apply hf w ht hq |
| 49 | intro hz |
| 50 | exact hn (by simpa only [hz] using hT w) |
| 51 | |
| 52 | theorem support_add {h C qbig : ℝ} {f g : SpaceTime → V} |
| 53 | (hf : SublevelShrinkingSupport h C qbig f) |
| 54 | (hg : SublevelShrinkingSupport h C qbig g) : |
| 55 | SublevelShrinkingSupport h C qbig (fun w => f w + g w) := by |
| 56 | intro w ht hq hn |
| 57 | by_cases hz : f w = 0 |
| 58 | · apply hg w ht hq |
| 59 | intro hgz |
| 60 | exact hn (by simp only [hz, hgz, add_zero]) |
| 61 | · exact hf w ht hq hz |
| 62 | |
| 63 | theorem support_finset_sum {ι : Type*} {h C qbig : ℝ} {f : ι → SpaceTime → V} |
| 64 | (s : Finset ι) (hf : ∀ i ∈ s, SublevelShrinkingSupport h C qbig (f i)) : |
| 65 | SublevelShrinkingSupport h C qbig (fun w => ∑ i ∈ s, f i w) := by |
| 66 | intro w ht hq hn |
| 67 | by_contra hs |
| 68 | apply hn |
| 69 | apply Finset.sum_eq_zero |
| 70 | intro i hi |
| 71 | by_contra hne |
| 72 | exact hs (hf i hi w ht hq hne) |
| 73 | |
| 74 | end SupportAlgebra |
| 75 | |
| 76 | /-- This constant is shared by the entire stage sequence. -/ |
| 77 | noncomputable def outerConstant (R : ℝ) : ℝ := 4 * R * Real.sqrt 2 |
| 78 | |
| 79 | theorem outerConstant_pos {R : ℝ} (hR : 0 < R) : 0 < outerConstant R := by |
| 80 | unfold outerConstant |
| 81 | positivity |
| 82 | |
| 83 | section Waves |
| 84 | |
| 85 | variable {h : ℝ} {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 86 | {I K J : Type*} |
| 87 | |
| 88 | theorem wave_scalar_support (W : WaveData h D I K J) (i : J) {qbig R : ℝ} |
| 89 | (hR : W.upperRadius ≤ 2 * R) : |
| 90 | SublevelShrinkingSupport h (outerConstant R) qbig (W.scalar i) := by |
| 91 | apply support_mono |
| 92 | (SublevelShrinkingSupport.of_global (localCopy_sum_support (W.support i))) |
| 93 | dsimp only [outerConstant] |
| 94 | nlinarith [Real.sqrt_nonneg (2 : ℝ)] |
| 95 | |
| 96 | theorem wave_vector_support (W : WaveData h D I K (Fin 3)) {qbig R : ℝ} |
| 97 | (hR : W.upperRadius ≤ 2 * R) : |
| 98 | SublevelShrinkingSupport h (outerConstant R) qbig W.vector := by |
| 99 | apply support_mono |
| 100 | (SublevelShrinkingSupport.of_global (localCopy_vector_support W.support)) |
| 101 | dsimp only [outerConstant] |
| 102 | nlinarith [Real.sqrt_nonneg (2 : ℝ)] |
| 103 | |
| 104 | theorem wave_pressure_support (W : WaveData h D I K Unit) {qbig R : ℝ} |
| 105 | (hR : W.upperRadius ≤ 2 * R) : |
| 106 | SublevelShrinkingSupport h (outerConstant R) qbig W.pressure := |
| 107 | support_map_zero (wave_scalar_support W () hR) (fun _ z => z.re) (fun _ => rfl) |
| 108 | |
| 109 | end Waves |
| 110 | |
| 111 | section Means |
| 112 | |
| 113 | variable {h degree : ℝ} |
| 114 | |
| 115 | /-- Exact coherence and the native moving annulus supply the physical |
| 116 | support for the same scalar field on the common valid sublevel. -/ |
| 117 | theorem mean_field_support (M : MeanData h degree) |
| 118 | (hh : 0 < h) (hh1 : h < 1 / 2) {qbig R : ℝ} |
| 119 | (hq : qbig ≤ ChartScales.Q M.firstBand) (hR : M.upperRadius ≤ R) : |
| 120 | SublevelShrinkingSupport h (outerConstant R) qbig M.family.field := by |
| 121 | intro w ht hqw hn |
| 122 | have hqpos := PhysicalWaveSum.physicalQ_pos hh hh1 ht |
| 123 | obtain ⟨n, hnN, hqn, hnq⟩ := PhysicalMeanJetBounds.exists_comparable_band |
| 124 | M.firstBand hqpos (hqw.le.trans hq) |
| 125 | have hlo : PhysicalWaveSum.physicalQ h w / 2 ≤ ChartScales.Q n := by linarith |
| 126 | have hu := M.region_covers (PhysicalMeanJetBounds.graph_slow_normalized |
| 127 | hh hh1 n (M.family.gap n) ht hlo hnq.le) |
| 128 | have hann := M.family.annulus_on_tsupport hh hh1 M.lower_pos M.radii_lt M.region_open |
| 129 | M.support n hnN ht hu hlo hnq.le (subset_tsupport _ hn) |
| 130 | have hb := AnnularEndpoint.radius_le_of_scaled_annulus hann hnq.le |
| 131 | apply hb.trans |
| 132 | apply mul_le_mul_of_nonneg_right _ (Real.sqrt_nonneg _) |
| 133 | dsimp only [outerConstant] |
| 134 | nlinarith [Real.sqrt_nonneg (2 : ℝ)] |
| 135 | |
| 136 | /-- The Cartesian angular reconstruction is pointwise zero-preserving. -/ |
| 137 | theorem mean_angular_support (M : MeanData h degree) |
| 138 | (hh : 0 < h) (hh1 : h < 1 / 2) {qbig R : ℝ} |
| 139 | (hq : qbig ≤ ChartScales.Q M.firstBand) (hR : M.upperRadius ≤ R) : |
| 140 | SublevelShrinkingSupport h (outerConstant R) qbig M.family.angularField := by |
| 141 | exact support_map_zero (mean_field_support M hh hh1 hq hR) |
| 142 | (fun w c => c • PhysicalMeanJetBounds.angularVector (PhysicalGraphBounds.radialProjection w)) |
| 143 | (fun _ => zero_smul _ _) |
| 144 | |
| 145 | end Means |
| 146 | |
| 147 | section CoherentMeans |
| 148 | |
| 149 | variable {h degree : ℝ} {N gap : ℕ} {U : Set PhysicalGraphBounds.Plane} |
| 150 | {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 151 | |
| 152 | /-- The selected comparable band lies in the actual open normalized |
| 153 | window `(1/2,2)`. No enlargement of the native mean domain is required. -/ |
| 154 | theorem comparable_graph_mem (hh : 0 < h) (hh1 : h < 1 / 2) |
| 155 | (n d : ℕ) {w : SpaceTime} (ht : w.1 < 1) |
| 156 | (hlo : PhysicalWaveSum.physicalQ h w ≤ ChartScales.Q n) |
| 157 | (hhi : ChartScales.Q n < 2 * PhysicalWaveSum.physicalQ h w) : |
| 158 | (PhysicalMeanJetBounds.graph h n d w).2.1 ∈ |
| 159 | PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 2) 2 := by |
| 160 | refine ⟨PhysicalMeanJetBounds.graph_time_pos h n d ht, ?_⟩ |
| 161 | rw [PhysicalMeanJetBounds.graph_q_eq hh hh1 n d ht] |
| 162 | have hQ := ChartScales.Q_pos n |
| 163 | constructor |
| 164 | · apply (lt_div_iff₀ hQ).mpr |
| 165 | linarith |
| 166 | · apply (div_lt_iff₀ hQ).mpr |
| 167 | linarith |
| 168 | |
| 169 | theorem coherent_field_support (D : PhysicalMeanJetBounds.CoherentFamily h degree N gap U E) |
| 170 | (hh : 0 < h) (hh1 : h < 1 / 2) {a b qbig R : ℝ} |
| 171 | (ha : 0 < a) (hab : a < b) (hU : IsOpen U) |
| 172 | (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 2) 2 ⊆ U) |
| 173 | (hs : PhysicalMeanJetBounds.NativeSupport h a b N U D.native) |
| 174 | (hq : qbig ≤ ChartScales.Q N) (hR : b ≤ R) : |
| 175 | SublevelShrinkingSupport h (outerConstant R) qbig D.field := by |
| 176 | intro w ht hqw hn |
| 177 | have hqpos := PhysicalWaveSum.physicalQ_pos hh hh1 ht |
| 178 | obtain ⟨n, hnN, hqn, hnq⟩ := PhysicalMeanJetBounds.exists_comparable_band |
| 179 | N hqpos (hqw.le.trans hq) |
| 180 | have hlo : PhysicalWaveSum.physicalQ h w / 2 ≤ ChartScales.Q n := by linarith |
| 181 | have hu := hcover (comparable_graph_mem hh hh1 n (D.gap n) ht hqn hnq) |
| 182 | have hann := D.annulus_on_tsupport hh hh1 ha hab hU hs n hnN ht hu hlo hnq.le |
| 183 | (subset_tsupport _ hn) |
| 184 | have hb := AnnularEndpoint.radius_le_of_scaled_annulus hann hnq.le |
| 185 | apply hb.trans |
| 186 | apply mul_le_mul_of_nonneg_right _ (Real.sqrt_nonneg _) |
| 187 | dsimp only [outerConstant] |
| 188 | nlinarith [Real.sqrt_nonneg (2 : ℝ)] |
| 189 | |
| 190 | omit [NormedAddCommGroup E] [NormedSpace ℝ E] in |
| 191 | theorem coherent_angular_support (D : PhysicalMeanJetBounds.CoherentFamily h degree N gap U ℝ) |
| 192 | (hh : 0 < h) (hh1 : h < 1 / 2) {a b qbig R : ℝ} |
| 193 | (ha : 0 < a) (hab : a < b) (hU : IsOpen U) |
| 194 | (hcover : PhysicalMeanDomain.normalizedSlowDomain (2 * h) (1 / 2) 2 ⊆ U) |
| 195 | (hs : PhysicalMeanJetBounds.NativeSupport h a b N U D.native) |
| 196 | (hq : qbig ≤ ChartScales.Q N) (hR : b ≤ R) : |
| 197 | SublevelShrinkingSupport h (outerConstant R) qbig D.angularField := |
| 198 | support_map_zero (coherent_field_support D hh hh1 ha hab hU hcover hs hq hR) |
| 199 | (fun w c => c • PhysicalMeanJetBounds.angularVector (PhysicalGraphBounds.radialProjection w)) |
| 200 | (fun _ => zero_smul _ _) |
| 201 | |
| 202 | end CoherentMeans |
| 203 | |
| 204 | section Increments |
| 205 | |
| 206 | variable {h : ℝ} {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] {I K : Type*} |
| 207 | |
| 208 | theorem potentialIncrement_support (W : WaveData h D I K (Fin 3)) |
| 209 | (M : MeanData h (CoordinateAlgebra.A h - 1 / 2)) |
| 210 | (hh : 0 < h) (hh1 : h < 1 / 2) {qbig R : ℝ} |
| 211 | (hq : qbig ≤ ChartScales.Q M.firstBand) |
| 212 | (hW : W.upperRadius ≤ 2 * R) (hM : M.upperRadius ≤ R) : |
| 213 | SublevelShrinkingSupport h (outerConstant R) qbig (potentialIncrement W M) := |
| 214 | support_add (wave_vector_support W hW) (mean_angular_support M hh hh1 hq hM) |
| 215 | |
| 216 | theorem pressureIncrement_support (W : WaveData h D I K Unit) |
| 217 | (M : MeanData h (2 * CoordinateAlgebra.A h)) |
| 218 | (hh : 0 < h) (hh1 : h < 1 / 2) {qbig R : ℝ} |
| 219 | (hq : qbig ≤ ChartScales.Q M.firstBand) |
| 220 | (hW : W.upperRadius ≤ 2 * R) (hM : M.upperRadius ≤ R) : |
| 221 | SublevelShrinkingSupport h (outerConstant R) qbig (pressureIncrement W M) := |
| 222 | support_add (wave_pressure_support W hW) (mean_field_support M hh hh1 hq hM) |
| 223 | |
| 224 | end Increments |
| 225 | |
| 226 | section Families |
| 227 | |
| 228 | variable {h : ℝ} |
| 229 | {DA DP : Type} [NormedAddCommGroup DA] [NormedSpace ℝ DA] |
| 230 | [NormedAddCommGroup DP] [NormedSpace ℝ DP] {IA KA IP KP : Type*} |
| 231 | |
| 232 | /-- Numeric bounds on the native radial endpoints. The same `R` occurs |
| 233 | at every stage, including stage zero. -/ |
| 234 | structure NativeOuterBounds (R : ℝ) |
| 235 | (WA : ℕ → WaveData h DA IA KA (Fin 3)) |
| 236 | (MA : ℕ → MeanData h (CoordinateAlgebra.A h - 1 / 2)) |
| 237 | (MB : ℕ → MeanData h (CoordinateAlgebra.A h)) |
| 238 | (WP : ℕ → WaveData h DP IP KP Unit) |
| 239 | (MP : ℕ → MeanData h (2 * CoordinateAlgebra.A h)) : Prop where |
| 240 | potentialWave : ∀ j, (WA j).upperRadius ≤ 2 * R |
| 241 | potentialMean : ∀ j, (MA j).upperRadius ≤ R |
| 242 | directMean : ∀ j, (MB j).upperRadius ≤ R |
| 243 | pressureWave : ∀ j, (WP j).upperRadius ≤ 2 * R |
| 244 | pressureMean : ∀ j, (MP j).upperRadius ≤ R |
| 245 | |
| 246 | variable |
| 247 | (WA : ℕ → WaveData h DA IA KA (Fin 3)) |
| 248 | (MA : ℕ → MeanData h (CoordinateAlgebra.A h - 1 / 2)) |
| 249 | (MB : ℕ → MeanData h (CoordinateAlgebra.A h)) |
| 250 | (WP : ℕ → WaveData h DP IP KP Unit) |
| 251 | (MP : ℕ → MeanData h (2 * CoordinateAlgebra.A h)) |
| 252 | |
| 253 | theorem NativeOuterBounds.radius_pos {R : ℝ} |
| 254 | (H : NativeOuterBounds R WA MA MB WP MP) : 0 < R := |
| 255 | ((MA 0).lower_pos.trans (MA 0).radii_lt).trans_le (H.potentialMean 0) |
| 256 | |
| 257 | /-- All three increment families share this explicit constant, independently |
| 258 | of stage-dependent harmonics, native bands, cover gaps, and jet constants. -/ |
| 259 | theorem all_increment_support (hh : 0 < h) (hh1 : h < 1 / 2) {qbig R : ℝ} |
| 260 | (hqA : ∀ j, qbig ≤ ChartScales.Q (MA j).firstBand) |
| 261 | (hqB : ∀ j, qbig ≤ ChartScales.Q (MB j).firstBand) |
| 262 | (hqP : ∀ j, qbig ≤ ChartScales.Q (MP j).firstBand) |
| 263 | (H : NativeOuterBounds R WA MA MB WP MP) : |
| 264 | (∀ j, SublevelShrinkingSupport h (outerConstant R) qbig (potentialIncrement (WA j) (MA j))) ∧ |
| 265 | (∀ j, SublevelShrinkingSupport h (outerConstant R) qbig (directStages MB j)) ∧ |
| 266 | (∀ j, SublevelShrinkingSupport h (outerConstant R) qbig (pressureIncrement (WP j) (MP j))) := by |
| 267 | refine ⟨?_, ?_, ?_⟩ |
| 268 | · intro j |
| 269 | exact potentialIncrement_support (WA j) (MA j) hh hh1 (hqA j) |
| 270 | (H.potentialWave j) (H.potentialMean j) |
| 271 | · intro j |
| 272 | exact mean_angular_support (MB j) hh hh1 (hqB j) (H.directMean j) |
| 273 | · intro j |
| 274 | exact pressureIncrement_support (WP j) (MP j) hh hh1 (hqP j) |
| 275 | (H.pressureWave j) (H.pressureMean j) |
| 276 | |
| 277 | theorem exists_common_support (hh : 0 < h) (hh1 : h < 1 / 2) {qbig R : ℝ} |
| 278 | (hqA : ∀ j, qbig ≤ ChartScales.Q (MA j).firstBand) |
| 279 | (hqB : ∀ j, qbig ≤ ChartScales.Q (MB j).firstBand) |
| 280 | (hqP : ∀ j, qbig ≤ ChartScales.Q (MP j).firstBand) |
| 281 | (H : NativeOuterBounds R WA MA MB WP MP) : |
| 282 | ∃ C : ℝ, 0 < C ∧ |
| 283 | (∀ j, SublevelShrinkingSupport h C qbig (potentialIncrement (WA j) (MA j))) ∧ |
| 284 | (∀ j, SublevelShrinkingSupport h C qbig (directStages MB j)) ∧ |
| 285 | (∀ j, SublevelShrinkingSupport h C qbig (pressureIncrement (WP j) (MP j))) := |
| 286 | ⟨outerConstant R, outerConstant_pos (H.radius_pos WA MA MB WP MP), |
| 287 | all_increment_support WA MA MB WP MP hh hh1 hqA hqB hqP H⟩ |
| 288 | |
| 289 | /-- The common-radius conclusion is preserved by literal representations |
| 290 | of the five families supplied to `MixedCandidateAssembly`. |
| 291 | The initial field is the finite change, without the base potential. -/ |
| 292 | theorem candidate_support_inputs (hh : 0 < h) (hh1 : h < 1 / 2) {qbig R : ℝ} |
| 293 | (hqA : ∀ j, qbig ≤ ChartScales.Q (MA j).firstBand) |
| 294 | (hqB : ∀ j, qbig ≤ ChartScales.Q (MB j).firstBand) |
| 295 | (hqP : ∀ j, qbig ≤ ChartScales.Q (MP j).firstBand) |
| 296 | (H : NativeOuterBounds R WA MA MB WP MP) |
| 297 | (initial : MixedAxisPreservation.PotentialStage.{u} h (MixedAxisPreservation.localDomain h qbig)) |
| 298 | (stages : ℕ → MixedAxisPreservation.PotentialStage.{u} h (MixedAxisPreservation.localDomain h qbig)) |
| 299 | (D : ℕ → DirectAngularDiagonal.AngularData (LocalAngularDiagonal.localSlowDomain h qbig)) |
| 300 | (pInitial : PressureField) (pStages : ℕ → PressureField) |
| 301 | (hInitial : EqOn initial.field (potentialIncrement (WA 0) (MA 0)) |
| 302 | (CutStageEstimates.physicalSublevel h qbig)) |
| 303 | (hStages : ∀ j, EqOn (stages j).field (potentialIncrement (WA (j + 1)) (MA (j + 1))) |
| 304 | (CutStageEstimates.physicalSublevel h qbig)) |
| 305 | (hDirect : ∀ j, EqOn (LocalAngularDiagonal.rawSeries D j) (directStages MB j) |
| 306 | (CutStageEstimates.physicalSublevel h qbig)) |
| 307 | (hpInitial : EqOn pInitial (pressureIncrement (WP 0) (MP 0)) |
| 308 | (CutStageEstimates.physicalSublevel h qbig)) |
| 309 | (hpStages : ∀ j, EqOn (pStages j) (pressureIncrement (WP (j + 1)) (MP (j + 1))) |
| 310 | (CutStageEstimates.physicalSublevel h qbig)) : |
| 311 | SublevelShrinkingSupport h (outerConstant R) qbig initial.field ∧ |
| 312 | (∀ j, SublevelShrinkingSupport h (outerConstant R) qbig (stages j).field) ∧ |
| 313 | (∀ j, SublevelShrinkingSupport h (outerConstant R) qbig (LocalAngularDiagonal.rawSeries D j)) ∧ |
| 314 | SublevelShrinkingSupport h (outerConstant R) qbig pInitial ∧ |
| 315 | (∀ j, SublevelShrinkingSupport h (outerConstant R) qbig (pStages j)) := by |
| 316 | obtain ⟨hA, hB, hP⟩ := all_increment_support WA MA MB WP MP hh hh1 hqA hqB hqP H |
| 317 | exact ⟨support_congr (hA 0) hInitial.symm, |
| 318 | fun j => support_congr (hA (j + 1)) (hStages j).symm, |
| 319 | fun j => support_congr (hB j) (hDirect j).symm, |
| 320 | support_congr (hP 0) hpInitial.symm, |
| 321 | fun j => support_congr (hP (j + 1)) (hpStages j).symm⟩ |
| 322 | |
| 323 | end Families |
| 324 | |
| 325 | section InitializedSequences |
| 326 | |
| 327 | variable {h : ℝ} {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] {I K : Type*} |
| 328 | |
| 329 | theorem potentialStages_positive_support (base : VelocityField) |
| 330 | (W : ℕ → WaveData h D I K (Fin 3)) (M : ℕ → MeanData h (CoordinateAlgebra.A h - 1 / 2)) |
| 331 | (hh : 0 < h) (hh1 : h < 1 / 2) {qbig R : ℝ} |
| 332 | (hq : ∀ j, qbig ≤ ChartScales.Q (M j).firstBand) |
| 333 | (hW : ∀ j, (W j).upperRadius ≤ 2 * R) (hM : ∀ j, (M j).upperRadius ≤ R) |
| 334 | (j : ℕ) (hj : j ≠ 0) : |
| 335 | SublevelShrinkingSupport h (outerConstant R) qbig (potentialStages base W M j) := by |
| 336 | rw [potentialStages, addBaseAtZero_pos _ _ (by omega : 1 ≤ j)] |
| 337 | exact potentialIncrement_support (W j) (M j) hh hh1 (hq j) (hW j) (hM j) |
| 338 | |
| 339 | theorem pressureStages_positive_support (base : PressureField) |
| 340 | (W : ℕ → WaveData h D I K Unit) (M : ℕ → MeanData h (2 * CoordinateAlgebra.A h)) |
| 341 | (hh : 0 < h) (hh1 : h < 1 / 2) {qbig R : ℝ} |
| 342 | (hq : ∀ j, qbig ≤ ChartScales.Q (M j).firstBand) |
| 343 | (hW : ∀ j, (W j).upperRadius ≤ 2 * R) (hM : ∀ j, (M j).upperRadius ≤ R) |
| 344 | (j : ℕ) (hj : j ≠ 0) : |
| 345 | SublevelShrinkingSupport h (outerConstant R) qbig (pressureStages base W M j) := by |
| 346 | rw [pressureStages, addBaseAtZero_pos _ _ (by omega : 1 ≤ j)] |
| 347 | exact pressureIncrement_support (W j) (M j) hh hh1 (hq j) (hW j) (hM j) |
| 348 | |
| 349 | /-- Subtracting the base from initialized stage zero leaves exactly its |
| 350 | finite supported potential increment. -/ |
| 351 | theorem potentialStages_initial_support (base : VelocityField) |
| 352 | (W : ℕ → WaveData h D I K (Fin 3)) (M : ℕ → MeanData h (CoordinateAlgebra.A h - 1 / 2)) |
| 353 | (hh : 0 < h) (hh1 : h < 1 / 2) {qbig R : ℝ} |
| 354 | (hq : qbig ≤ ChartScales.Q (M 0).firstBand) |
| 355 | (hW : (W 0).upperRadius ≤ 2 * R) (hM : (M 0).upperRadius ≤ R) : |
| 356 | SublevelShrinkingSupport h (outerConstant R) qbig |
| 357 | (fun w => potentialStages base W M 0 w - base w) := by |
| 358 | convert! potentialIncrement_support (W 0) (M 0) hh hh1 hq hW hM using 1 |
| 359 | funext w |
| 360 | simp only [potentialStages_zero, potentialIncrement, add_sub_cancel_left] |
| 361 | |
| 362 | theorem pressureStages_initial_support (base : PressureField) |
| 363 | (W : ℕ → WaveData h D I K Unit) (M : ℕ → MeanData h (2 * CoordinateAlgebra.A h)) |
| 364 | (hh : 0 < h) (hh1 : h < 1 / 2) {qbig R : ℝ} |
| 365 | (hq : qbig ≤ ChartScales.Q (M 0).firstBand) |
| 366 | (hW : (W 0).upperRadius ≤ 2 * R) (hM : (M 0).upperRadius ≤ R) : |
| 367 | SublevelShrinkingSupport h (outerConstant R) qbig |
| 368 | (fun w => pressureStages base W M 0 w - base w) := by |
| 369 | convert! pressureIncrement_support (W 0) (M 0) hh hh1 hq hW hM using 1 |
| 370 | funext w |
| 371 | simp only [pressureStages_zero, pressureIncrement, add_sub_cancel_left] |
| 372 | |
| 373 | end InitializedSequences |
| 374 | |
| 375 | section FixedPatch |
| 376 | |
| 377 | noncomputable def geometryOuterConstant (G : SignedMeanGain.Geometry) : ℝ := |
| 378 | outerConstant G.patch.b |
| 379 | |
| 380 | theorem geometryOuterConstant_pos (G : SignedMeanGain.Geometry) : 0 < geometryOuterConstant G := |
| 381 | outerConstant_pos (G.patch.a_pos.trans G.patch.a_lt_b) |
| 382 | |
| 383 | /-- The concrete common constant for the manuscript's fixed actual patch. -/ |
| 384 | noncomputable def actualOuterConstant : ℝ := geometryOuterConstant ActualInitialization.geometry |
| 385 | |
| 386 | theorem actualOuterConstant_pos : 0 < actualOuterConstant := |
| 387 | geometryOuterConstant_pos _ |
| 388 | |
| 389 | theorem actualOuterConstant_eq : |
| 390 | actualOuterConstant = 4 * PrimaryTargetBounds.rightRadius |
| 391 | CorrectionInitialization.ActualPrimary.nominal * Real.sqrt 2 := rfl |
| 392 | |
| 393 | /-- A literal coherent family on the fixed actual mean domain has the |
| 394 | same outer constant as the wave increments. -/ |
| 395 | theorem actual_coherent_support {degree : ℝ} {N gap : ℕ} |
| 396 | (D : PhysicalMeanJetBounds.CoherentFamily CorrectionInitialization.ActualPrimary.h degree N gap |
| 397 | CorrectionInitialization.ActualPrimary.standardRegion.carrier ℝ) |
| 398 | (hs : PhysicalMeanJetBounds.NativeSupport CorrectionInitialization.ActualPrimary.h |
| 399 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b N |
| 400 | CorrectionInitialization.ActualPrimary.standardRegion.carrier D.native) |
| 401 | {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) : |
| 402 | SublevelShrinkingSupport CorrectionInitialization.ActualPrimary.h actualOuterConstant qbig D.field ∧ |
| 403 | SublevelShrinkingSupport CorrectionInitialization.ActualPrimary.h actualOuterConstant qbig D.angularField := by |
| 404 | have hcover : PhysicalMeanDomain.normalizedSlowDomain |
| 405 | (2 * CorrectionInitialization.ActualPrimary.h) (1 / 2) 2 ⊆ |
| 406 | CorrectionInitialization.ActualPrimary.standardRegion.carrier := fun _ hx => hx |
| 407 | exact ⟨coherent_field_support D |
| 408 | CorrectionInitialization.ActualPrimary.outgoing.data.h_pos |
| 409 | CorrectionInitialization.ActualPrimary.outgoing.data.h_lt_half |
| 410 | ActualInitialization.geometry.patch.a_pos ActualInitialization.geometry.patch.a_lt_b |
| 411 | CorrectionInitialization.ActualPrimary.standardRegion.isOpen hcover hs hq le_rfl, |
| 412 | coherent_angular_support D |
| 413 | CorrectionInitialization.ActualPrimary.outgoing.data.h_pos |
| 414 | CorrectionInitialization.ActualPrimary.outgoing.data.h_lt_half |
| 415 | ActualInitialization.geometry.patch.a_pos ActualInitialization.geometry.patch.a_lt_b |
| 416 | CorrectionInitialization.ActualPrimary.standardRegion.isOpen hcover hs hq le_rfl⟩ |
| 417 | |
| 418 | variable {DA DP : Type} [NormedAddCommGroup DA] [NormedSpace ℝ DA] |
| 419 | [NormedAddCommGroup DP] [NormedSpace ℝ DP] {IA KA IP KP : Type*} |
| 420 | |
| 421 | theorem actual_patch_support |
| 422 | (WA : ℕ → WaveData CorrectionInitialization.ActualPrimary.h DA IA KA (Fin 3)) |
| 423 | (MA : ℕ → MeanData CorrectionInitialization.ActualPrimary.h |
| 424 | (CoordinateAlgebra.A CorrectionInitialization.ActualPrimary.h - 1 / 2)) |
| 425 | (MB : ℕ → MeanData CorrectionInitialization.ActualPrimary.h |
| 426 | (CoordinateAlgebra.A CorrectionInitialization.ActualPrimary.h)) |
| 427 | (WP : ℕ → WaveData CorrectionInitialization.ActualPrimary.h DP IP KP Unit) |
| 428 | (MP : ℕ → MeanData CorrectionInitialization.ActualPrimary.h |
| 429 | (2 * CoordinateAlgebra.A CorrectionInitialization.ActualPrimary.h)) |
| 430 | {qbig : ℝ} |
| 431 | (hqA : ∀ j, qbig ≤ ChartScales.Q (MA j).firstBand) |
| 432 | (hqB : ∀ j, qbig ≤ ChartScales.Q (MB j).firstBand) |
| 433 | (hqP : ∀ j, qbig ≤ ChartScales.Q (MP j).firstBand) |
| 434 | (H : NativeOuterBounds ActualInitialization.geometry.patch.b WA MA MB WP MP) : |
| 435 | (∀ j, SublevelShrinkingSupport CorrectionInitialization.ActualPrimary.h actualOuterConstant qbig |
| 436 | (potentialIncrement (WA j) (MA j))) ∧ |
| 437 | (∀ j, SublevelShrinkingSupport CorrectionInitialization.ActualPrimary.h actualOuterConstant qbig |
| 438 | (directStages MB j)) ∧ |
| 439 | (∀ j, SublevelShrinkingSupport CorrectionInitialization.ActualPrimary.h actualOuterConstant qbig |
| 440 | (pressureIncrement (WP j) (MP j))) := |
| 441 | all_increment_support WA MA MB WP MP |
| 442 | CorrectionInitialization.ActualPrimary.outgoing.data.h_pos |
| 443 | CorrectionInitialization.ActualPrimary.outgoing.data.h_lt_half hqA hqB hqP H |
| 444 | |
| 445 | /-- The actual mean-domain type retains the strict normalized range |
| 446 | `(1/2,2)` used by the construction. -/ |
| 447 | abbrev ActualMeanFamily (degree : ℝ) (N gap : ℕ) := |
| 448 | PhysicalMeanJetBounds.CoherentFamily CorrectionInitialization.ActualPrimary.h degree N gap |
| 449 | CorrectionInitialization.ActualPrimary.standardRegion.carrier ℝ |
| 450 | |
| 451 | /-- Native support on the single fixed actual patch. -/ |
| 452 | abbrev ActualNativeSupport {degree : ℝ} {N gap : ℕ} (D : ActualMeanFamily degree N gap) := |
| 453 | PhysicalMeanJetBounds.NativeSupport CorrectionInitialization.ActualPrimary.h |
| 454 | ActualInitialization.geometry.patch.a ActualInitialization.geometry.patch.b N |
| 455 | CorrectionInitialization.ActualPrimary.standardRegion.carrier D.native |
| 456 | |
| 457 | /-- One constant for the literal coherent mean families and actual wave |
| 458 | representations. This is the valid-domain alternative to `MeanData`'s wider |
| 459 | cover interface. Stage zero is included in each increment family. -/ |
| 460 | theorem actual_coherent_families_support |
| 461 | (WA : ℕ → WaveData CorrectionInitialization.ActualPrimary.h DA IA KA (Fin 3)) |
| 462 | (WP : ℕ → WaveData CorrectionInitialization.ActualPrimary.h DP IP KP Unit) |
| 463 | {NA GA NB GB NP GP : ℕ → ℕ} |
| 464 | (MA : ∀ j, ActualMeanFamily (CoordinateAlgebra.A CorrectionInitialization.ActualPrimary.h - 1 / 2) |
| 465 | (NA j) (GA j)) |
| 466 | (MB : ∀ j, ActualMeanFamily (CoordinateAlgebra.A CorrectionInitialization.ActualPrimary.h) |
| 467 | (NB j) (GB j)) |
| 468 | (MP : ∀ j, ActualMeanFamily (2 * CoordinateAlgebra.A CorrectionInitialization.ActualPrimary.h) |
| 469 | (NP j) (GP j)) |
| 470 | (hsA : ∀ j, ActualNativeSupport (MA j)) |
| 471 | (hsB : ∀ j, ActualNativeSupport (MB j)) |
| 472 | (hsP : ∀ j, ActualNativeSupport (MP j)) |
| 473 | {qbig : ℝ} |
| 474 | (hqA : ∀ j, qbig ≤ ChartScales.Q (NA j)) |
| 475 | (hqB : ∀ j, qbig ≤ ChartScales.Q (NB j)) |
| 476 | (hqP : ∀ j, qbig ≤ ChartScales.Q (NP j)) |
| 477 | (hWA : ∀ j, (WA j).upperRadius ≤ 2 * ActualInitialization.geometry.patch.b) |
| 478 | (hWP : ∀ j, (WP j).upperRadius ≤ 2 * ActualInitialization.geometry.patch.b) : |
| 479 | (∀ j, SublevelShrinkingSupport CorrectionInitialization.ActualPrimary.h actualOuterConstant qbig |
| 480 | (fun w => (WA j).vector w + (MA j).angularField w)) ∧ |
| 481 | (∀ j, SublevelShrinkingSupport CorrectionInitialization.ActualPrimary.h actualOuterConstant qbig |
| 482 | (MB j).angularField) ∧ |
| 483 | (∀ j, SublevelShrinkingSupport CorrectionInitialization.ActualPrimary.h actualOuterConstant qbig |
| 484 | (fun w => (WP j).pressure w + (MP j).field w)) := by |
| 485 | refine ⟨?_, ?_, ?_⟩ |
| 486 | · intro j |
| 487 | exact support_add (wave_vector_support (WA j) (hWA j)) |
| 488 | (actual_coherent_support (MA j) (hsA j) (hqA j)).2 |
| 489 | · intro j |
| 490 | exact (actual_coherent_support (MB j) (hsB j) (hqB j)).2 |
| 491 | · intro j |
| 492 | exact support_add (wave_pressure_support (WP j) (hWP j)) |
| 493 | (actual_coherent_support (MP j) (hsP j) (hqP j)).1 |
| 494 | |
| 495 | end FixedPatch |
| 496 | |
| 497 | end NavierStokes.PhysicalStageSupport |