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.BaseChartJets |
| 2 | import NavierStokes.FinalSlowBase |
| 3 | import NavierStokes.MeanRankUpdate |
| 4 | import NavierStokes.VariableGaugeMean |
| 5 | |
| 6 | /-! |
| 7 | # The reserved mean-rank patch of the actual summed base |
| 8 | |
| 9 | The positive-order repair patch precedes the mean patch. The selected |
| 10 | global profiles retain their seed values beyond the repair patch; the seeds |
| 11 | have already been cut off there. The full summed tangential base therefore |
| 12 | has the exact shaped power required by the five-row mean inverse. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | namespace NavierStokes.BaseRankPatch |
| 18 | |
| 19 | open Set Filter Function BaseChartJets |
| 20 | open scoped ContDiff Topology BigOperators |
| 21 | |
| 22 | abbrev Slow := PhaseCalculus.Slow |
| 23 | |
| 24 | theorem positive_before_mean (F : OutgoingProfile.Profile) {XR : ℝ} (hXR : 0 < XR) : |
| 25 | ReservedPatches.right F XR .positive < ReservedPatches.left F XR .mean := by |
| 26 | apply ReservedPatches.radius_strictMono XR hXR |
| 27 | simp only [ReservedPatches.rightClock, ReservedPatches.leftClock, |
| 28 | ReservedPatches.rightOffset, ReservedPatches.leftOffset] |
| 29 | linarith |
| 30 | |
| 31 | section Leading |
| 32 | |
| 33 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 34 | {ld : ModulatedProfileAssembly.LoopData W} (v : ModulatedProfileAssembly.Witness ld) |
| 35 | |
| 36 | /-- The finite modulation also ends before the later mean patch. -/ |
| 37 | theorem modulation_before_mean : |
| 38 | (ModulatedProfileAssembly.repairPatch W).right < |
| 39 | ReservedPatches.left F W.controls.radius .mean := |
| 40 | (ModulatedProfileAssembly.repairPatch_before_positive W).trans |
| 41 | ((ReservedPatches.left_lt_right F W.controls.radius W.controls.radius_pos .positive).trans |
| 42 | (positive_before_mean F W.controls.radius_pos)) |
| 43 | |
| 44 | theorem nominal_mean_fields {p : Inner} |
| 45 | (hp : p.1 ∈ ReservedPatches.window F W.controls.radius .mean) (heta : |p.2| ≤ 1) : |
| 46 | W.U p = 0 ∧ W.E p = ReservedPatches.xAmplitude F W.controls.radius p.2 * |
| 47 | p.1 ^ (-(1 / 2 + F.data.core.lam)) := by |
| 48 | have hmatch := AssembledSlowBase.matching_before_window W .mean hp |
| 49 | have hh := W.heat_agreement (p := p) (W.controls.heatJoin_lt_radius.trans hmatch) |
| 50 | (abs_le.mp heta) |
| 51 | have hc := ReservedPatches.heated_fields F W.controls.radius W.controls.radius_pos |
| 52 | W.heat.physical.coefficients (s := .mean) (by decide) p.2 hp |
| 53 | exact ⟨hh.1.trans hc.1, hh.2.1.trans hc.2⟩ |
| 54 | |
| 55 | theorem modulated_mean_fields {p : Inner} |
| 56 | (hp : p.1 ∈ ReservedPatches.window F W.controls.radius .mean) (heta : |p.2| ≤ 1) : |
| 57 | v.profiles.U p = 0 ∧ |
| 58 | v.profiles.E p = ReservedPatches.xAmplitude F W.controls.radius p.2 * |
| 59 | p.1 ^ (-(1 / 2 + F.data.core.lam)) := by |
| 60 | have hpos := ReservedPatches.mem_window_pos F W.controls.radius W.controls.radius_pos .mean hp |
| 61 | have hout : p.1 ∉ Ioo ld.modulation.left (ModulatedProfileAssembly.repairPatch W).right := by |
| 62 | intro hh |
| 63 | exact (not_lt_of_ge ((modulation_before_mean (W := W)).trans hp.1).le) hh.2 |
| 64 | have hv := v.fields_outside hout |
| 65 | have hn := nominal_mean_fields (W := W) hp heta |
| 66 | refine ⟨hv.2.trans hn.1, ?_⟩ |
| 67 | change Real.sqrt (2 * p.1) * v.profiles.f p = _ |
| 68 | rw [hv.1] |
| 69 | exact (W.E_eq_sqrt_f hpos).symm.trans hn.2 |
| 70 | |
| 71 | theorem modulated_radial_mean_fields {R eta : ℝ} |
| 72 | (hR : R ∈ ReservedPatches.radialWindow F W.controls.radius .mean) |
| 73 | (heta : |eta| ≤ 1) : |
| 74 | v.profiles.U (R ^ 2 / 2, eta) = 0 ∧ |
| 75 | v.profiles.E (R ^ 2 / 2, eta) = |
| 76 | FiveRowRank.background F.data.core.lam |
| 77 | (ReservedPatches.radialAmplitude F W.controls.radius eta) R := by |
| 78 | have hx := ReservedPatches.radial_mem_window F W.controls.radius W.controls.radius_pos .mean hR |
| 79 | have hp := (ReservedPatches.radialLeft_pos F W.controls.radius W.controls.radius_pos .mean).trans hR.1 |
| 80 | have hf := modulated_mean_fields v (p := (R ^ 2 / 2, eta)) hx heta |
| 81 | refine ⟨hf.1, ?_⟩ |
| 82 | rw [hf.2, ReservedPatches.square_half_power _ _ hp] |
| 83 | simp only [FiveRowRank.background, ReservedPatches.radialAmplitude, mul_assoc] |
| 84 | |
| 85 | end Leading |
| 86 | |
| 87 | /-- Pointwise vanishing of every positive coefficient eliminates the |
| 88 | entire actual infinite sum, for any cutoff schedule and any scale. -/ |
| 89 | theorem slowSum_eq_leading {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 90 | (a : ℕ → ℕ) (h : ℝ) (f : ℕ → Inner → V) (y : Chart) |
| 91 | (hf : ∀ n, 0 < n → f n y.2 = 0) : |
| 92 | SlowBorelBase.slowSum a h f y = f 0 y.2 := by |
| 93 | have hs (n : ℕ) : SlowBorelBase.slowStage a h f n y = 0 := by |
| 94 | by_cases hn : n = 0 |
| 95 | · subst n |
| 96 | simp |
| 97 | · simp only [SlowBorelBase.slowStage, SolenoidalDiagonal.cutStage, |
| 98 | SlowBorelBase.positiveCoefficient, hn, ite_false, SlowBorelBase.powerCoefficient, |
| 99 | hf n (Nat.pos_of_ne_zero hn), smul_zero] |
| 100 | have hz : SlowBorelBase.positiveSum a h f y = 0 := by |
| 101 | change (∑' n, SlowBorelBase.slowStage a h f n y) = 0 |
| 102 | simp only [hs, tsum_zero] |
| 103 | simp only [SlowBorelBase.slowSum, hz, add_zero] |
| 104 | |
| 105 | section RankParameters |
| 106 | |
| 107 | /-- The slow variables here have the physical rank convention `(T,Z)`. -/ |
| 108 | noncomputable def rankScale (h : ℝ) (s : ℝ × ℝ) : ℝ := |
| 109 | SimilarityCoordinates.coordinateQ (2 * h) s |
| 110 | |
| 111 | noncomputable def rankEta (h : ℝ) (s : ℝ × ℝ) : ℝ := |
| 112 | SimilarityCoordinates.coordinateEta (2 * h) s |
| 113 | |
| 114 | noncomputable def rankCoefficient (F : OutgoingProfile.Profile) (XR : ℝ) (s : ℝ × ℝ) : ℝ := |
| 115 | MeanRankUpdate.shapedAmplitude (ReservedPatches.radialAmplitude F XR 0) (rankEta F.data.h s) |
| 116 | |
| 117 | noncomputable def rankLength (h : ℝ) (s : ℝ × ℝ) : ℝ := |
| 118 | Real.sqrt (rankScale h s) |
| 119 | |
| 120 | noncomputable def rankVelocity (h : ℝ) (s : ℝ × ℝ) : ℝ := |
| 121 | rankScale h s ^ (-CoordinateAlgebra.A h) |
| 122 | |
| 123 | theorem rankLength_eq_qLength (h : ℝ) : rankLength h = VariableGaugeMean.qLength (2 * h) := rfl |
| 124 | |
| 125 | theorem rankScale_eq_chartQ (h R : ℝ) (s Y : ℝ × ℝ) : |
| 126 | rankScale h s = MeanRankUpdate.chartQ (2 * h) (R, (s, Y)) := rfl |
| 127 | |
| 128 | theorem rankEta_eq_chartEta (h R : ℝ) (s Y : ℝ × ℝ) : |
| 129 | rankEta h s = MeanRankUpdate.chartEta (2 * h) (R, (s, Y)) := rfl |
| 130 | |
| 131 | theorem coordinates_rankScale (h R : ℝ) (s : ℝ × ℝ) : |
| 132 | (normalizedCoordinates h (R, (s.2, s.1))).1 = rankScale h s := by |
| 133 | rw [normalizedCoordinates_eq] |
| 134 | rfl |
| 135 | |
| 136 | theorem coordinates_rankEta (h R : ℝ) (s : ℝ × ℝ) : |
| 137 | (normalizedCoordinates h (R, (s.2, s.1))).2.2 = rankEta h s := by |
| 138 | rw [normalizedCoordinates_eq] |
| 139 | rfl |
| 140 | |
| 141 | theorem rankScale_pos {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 142 | {s : ℝ × ℝ} (hs : 0 < s.1) : 0 < rankScale h s := |
| 143 | (SimilarityCoordinates.coordinateQ_spec (by linarith) (by linarith) hs).1 |
| 144 | |
| 145 | theorem rankLength_pos {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 146 | {s : ℝ × ℝ} (hs : 0 < s.1) : 0 < rankLength h s := |
| 147 | Real.sqrt_pos.mpr (rankScale_pos hh hh1 hs) |
| 148 | |
| 149 | theorem rankVelocity_pos {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 150 | {s : ℝ × ℝ} (hs : 0 < s.1) : 0 < rankVelocity h s := |
| 151 | Real.rpow_pos_of_pos (rankScale_pos hh hh1 hs) _ |
| 152 | |
| 153 | theorem rankCoefficient_pos (F : OutgoingProfile.Profile) (XR : ℝ) (s : ℝ × ℝ) : |
| 154 | 0 < rankCoefficient F XR s := |
| 155 | div_pos (ReservedPatches.radialAmplitude_pos F XR 0) (by positivity) |
| 156 | |
| 157 | theorem rank_parameters_smooth (F : OutgoingProfile.Profile) (XR : ℝ) : |
| 158 | ContDiffOn ℝ ∞ (rankCoefficient F XR) {s | 0 < s.1} ∧ |
| 159 | ContDiffOn ℝ ∞ (rankLength F.data.h) {s | 0 < s.1} ∧ |
| 160 | ContDiffOn ℝ ∞ (rankVelocity F.data.h) {s | 0 < s.1} := by |
| 161 | have hh : 0 < 2 * F.data.h := by linarith [F.data.h_pos] |
| 162 | have hh1 : 2 * F.data.h < 1 := by linarith [F.data.h_lt_half] |
| 163 | refine ⟨?_, ?_, ?_⟩ |
| 164 | · intro s hs |
| 165 | exact ((MeanRankUpdate.shapedAmplitude_contDiff _).contDiffAt.comp s |
| 166 | (SimilarityCoordinates.coordinateEta_smooth hh hh1 hs)).contDiffWithinAt |
| 167 | · exact VariableGaugeMean.qLength_contDiffOn hh hh1 |
| 168 | · intro s hs |
| 169 | exact ((SimilarityCoordinates.coordinateQ_smooth hh hh1 hs).rpow_const_of_ne |
| 170 | (rankScale_pos F.data.h_pos F.data.h_lt_half hs).ne').contDiffWithinAt |
| 171 | |
| 172 | theorem coordinates_radius_sq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 173 | {s : ℝ × ℝ} (hs : 0 < s.1) (R : ℝ) : |
| 174 | (R / rankLength h s) ^ 2 / 2 = |
| 175 | (normalizedCoordinates h (R, (s.2, s.1))).2.1 := by |
| 176 | unfold rankLength |
| 177 | rw [div_pow, Real.sq_sqrt (rankScale_pos hh hh1 hs).le, normalizedCoordinates_eq] |
| 178 | unfold SimilarityHomogeneity.chartX SimilarityCoordinates.coordinateX |
| 179 | SimilarityHomogeneity.chartQ rankScale |
| 180 | ring |
| 181 | |
| 182 | end RankParameters |
| 183 | |
| 184 | section SummedBase |
| 185 | |
| 186 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 187 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 188 | (v : ModulatedProfileAssembly.Witness ld) |
| 189 | |
| 190 | /-- Every positive angular and axial coefficient vanishes past the actual |
| 191 | positive-order repair patch. The selected witness retains this support. -/ |
| 192 | theorem positive_fields_zero {n : ℕ} (hn : 0 < n) {p : Inner} |
| 193 | (hp : ReservedPatches.right F W.controls.radius .positive ≤ p.1) (heta : |p.2| ≤ 1) : |
| 194 | (FinalSlowBase.coefficients H v).phi n p = 0 ∧ |
| 195 | (FinalSlowBase.coefficients H v).axial n p = 0 := by |
| 196 | let s := EntranceAlignedBase.modulatedScheme H v |
| 197 | have hX : 0 < p.1 := |
| 198 | (ReservedPatches.right_pos F W.controls.radius W.controls.radius_pos .positive).trans_le hp |
| 199 | have hR : s.b ≤ Real.sqrt (2 * p.1) := by |
| 200 | change Real.sqrt (2 * ReservedPatches.right F W.controls.radius .positive) ≤ _ |
| 201 | exact Real.sqrt_le_sqrt (mul_le_mul_of_nonneg_left hp (by norm_num)) |
| 202 | have hstop : EntranceAlignedBase.cutoffStop W H ld.modulation.left ≤ |
| 203 | (Real.sqrt (2 * p.1)) ^ 2 / 2 := by |
| 204 | have hc := EntranceAlignedBase.cutoffStop_lt_patch W H ld.after_initial |
| 205 | rw [ReservedPatches.radialLeft, Real.sq_sqrt (mul_nonneg (by norm_num) |
| 206 | (ReservedPatches.left_pos F W.controls.radius W.controls.radius_pos .positive).le)] at hc |
| 207 | rw [Real.sq_sqrt (by positivity)] |
| 208 | have hl := ReservedPatches.left_lt_right F W.controls.radius W.controls.radius_pos .positive |
| 209 | linarith |
| 210 | have hzphi : s.seedPhi n (Real.sqrt (2 * p.1), p.2) = 0 := by |
| 211 | dsimp only [s, EntranceAlignedBase.modulatedScheme, EntranceAlignedBase.scheme, |
| 212 | GlobalSlowProfiles.schemeFromHierarchy] |
| 213 | exact GlobalSlowProfiles.cutoffLift_zero _ _ _ _ _ _ _ hstop |
| 214 | have hzaxial : s.seedAxial n (Real.sqrt (2 * p.1), p.2) = 0 := by |
| 215 | dsimp only [s, EntranceAlignedBase.modulatedScheme, EntranceAlignedBase.scheme, |
| 216 | GlobalSlowProfiles.schemeFromHierarchy] |
| 217 | exact GlobalSlowProfiles.cutoffLift_zero _ _ _ _ _ _ _ hstop |
| 218 | constructor |
| 219 | · change (EntranceAlignedBase.modulatedCoefficients H v).phi n p = 0 |
| 220 | rw [EntranceAlignedBase.modulated_phi_eq_extended H v n, |
| 221 | AssembledSlowBase.extendedCoefficient_eq _ _ n 0 hX.le heta] |
| 222 | change (GlobalSlowProfiles.profiles s n).phi (Real.sqrt (2 * p.1), p.2) = 0 |
| 223 | rw [GlobalSlowProfiles.profiles_outer_phi s hn hR, hzphi] |
| 224 | · change (EntranceAlignedBase.modulatedCoefficients H v).axial n p = 0 |
| 225 | rw [EntranceAlignedBase.modulated_axial_eq_extended H v n, |
| 226 | AssembledSlowBase.extendedCoefficient_eq _ _ n 1 hX.le heta] |
| 227 | change (GlobalSlowProfiles.profiles s n).axial (Real.sqrt (2 * p.1), p.2) = 0 |
| 228 | rw [GlobalSlowProfiles.profiles_outer_axial s hn hR, hzaxial] |
| 229 | |
| 230 | /-- The complete summed tangential fields on the mean patch, for every |
| 231 | cutoff schedule and expansion scale. -/ |
| 232 | theorem normalized_mean_fields (a : ℕ → ℕ) (q : ℝ) {p : Inner} |
| 233 | (hp : p.1 ∈ ReservedPatches.window F W.controls.radius .mean) (heta : |p.2| ≤ 1) : |
| 234 | SlowBorelBase.normalizedSwirl a F.data.h W.axis.normalization |
| 235 | (FinalSlowBase.coefficients H v) (q, p) = |
| 236 | ReservedPatches.xAmplitude F W.controls.radius p.2 * p.1 ^ (-(1 / 2 + F.data.core.lam)) ∧ |
| 237 | SlowBorelBase.slowSum a F.data.h (FinalSlowBase.coefficients H v).axial (q, p) = 0 := by |
| 238 | have hX := ReservedPatches.mem_window_pos F W.controls.radius W.controls.radius_pos .mean hp |
| 239 | have hpos : ReservedPatches.right F W.controls.radius .positive ≤ p.1 := |
| 240 | ((positive_before_mean F W.controls.radius_pos).trans hp.1).le |
| 241 | have hphi := slowSum_eq_leading a F.data.h (FinalSlowBase.coefficients H v).phi (q, p) |
| 242 | (fun n hn => (positive_fields_zero H v (p := p) hn hpos heta).1) |
| 243 | have haxial := slowSum_eq_leading a F.data.h (FinalSlowBase.coefficients H v).axial (q, p) |
| 244 | (fun n hn => (positive_fields_zero H v (p := p) hn hpos heta).2) |
| 245 | have hzero := EntranceAlignedBase.modulated_zero_fields H v (p := p) hX.le heta |
| 246 | have hfields := modulated_mean_fields v (p := p) hp heta |
| 247 | constructor |
| 248 | · change Real.sqrt (2 * p.1) / W.axis.normalization * |
| 249 | SlowBorelBase.slowSum a F.data.h (FinalSlowBase.coefficients H v).phi (q, p) = _ |
| 250 | rw [hphi] |
| 251 | change Real.sqrt (2 * p.1) / W.axis.normalization * |
| 252 | (EntranceAlignedBase.modulatedCoefficients H v).phi 0 p = _ |
| 253 | rw [hzero.1, ← hfields.2] |
| 254 | change Real.sqrt (2 * p.1) / W.axis.normalization * |
| 255 | (W.axis.normalization * v.profiles.f p) = Real.sqrt (2 * p.1) * v.profiles.f p |
| 256 | field_simp [W.axis.normalization_pos.ne'] |
| 257 | · rw [haxial] |
| 258 | exact hzero.2.1.trans hfields.1 |
| 259 | |
| 260 | /-- The literal normalized angular and axial slices of the final base. -/ |
| 261 | noncomputable def angularSlice (upper : ℝ) (B : ℕ) (Q : ℝ) (s : ℝ × ℝ) (R : ℝ) : ℝ := |
| 262 | R * frequency (FinalSlowBase.scales H v upper B) F.data.h W.axis.normalization |
| 263 | (FinalSlowBase.coefficients H v) Q (R, (s.2, s.1)) |
| 264 | |
| 265 | noncomputable def axialSlice (upper : ℝ) (B : ℕ) (Q : ℝ) (s : ℝ × ℝ) (R : ℝ) : ℝ := |
| 266 | axial (FinalSlowBase.scales H v upper B) F.data.h |
| 267 | (FinalSlowBase.coefficients H v) Q (R, (s.2, s.1)) |
| 268 | |
| 269 | theorem angularSlice_physical (upper : ℝ) (B : ℕ) {Q : ℝ} (hQ : 0 < Q) |
| 270 | {s : ℝ × ℝ} (hs : 0 < s.1) {R : ℝ} (hR : 0 < R) : |
| 271 | angularSlice H v upper B Q s R = Q ^ CoordinateAlgebra.A F.data.h * |
| 272 | FinalSlowBase.velocity H v upper B (bandPoint F.data.h Q (R, (s.2, s.1))) 1 := by |
| 273 | unfold angularSlice |
| 274 | rw [frequency_eq_normalized_velocity (FinalSlowBase.scales_strictMono H v upper B) |
| 275 | F.data.h_pos F.data.h_lt_half hQ (FinalSlowBase.coefficients_smooth H v) hs hR] |
| 276 | unfold FinalSlowBase.velocity |
| 277 | change R * (_ / R) = _ |
| 278 | field_simp [hR.ne'] |
| 279 | |
| 280 | theorem axialSlice_physical (upper : ℝ) (B : ℕ) {Q : ℝ} (hQ : 0 < Q) |
| 281 | {s : ℝ × ℝ} (hs : 0 < s.1) (R : ℝ) : |
| 282 | axialSlice H v upper B Q s R = Q ^ CoordinateAlgebra.A F.data.h * |
| 283 | FinalSlowBase.velocity H v upper B (bandPoint F.data.h Q (R, (s.2, s.1))) 2 := |
| 284 | axial_eq_normalized_velocity (FinalSlowBase.scales_strictMono H v upper B) |
| 285 | F.data.h_pos F.data.h_lt_half hQ (FinalSlowBase.coefficients_smooth H v) hs |
| 286 | |
| 287 | /-- The actual background identities required by the local rank inverse. |
| 288 | All scales and amplitudes are fixed by the original profile. -/ |
| 289 | theorem rank_fields (upper : ℝ) (B : ℕ) (Q : ℝ) |
| 290 | {s : ℝ × ℝ} (hs : 0 < s.1) {R : ℝ} |
| 291 | (hR : R ∈ Ioo |
| 292 | (rankLength F.data.h s * ReservedPatches.radialSupportLeft F W.controls.radius .mean) |
| 293 | (rankLength F.data.h s * ReservedPatches.radialSupportRight F W.controls.radius .mean)) : |
| 294 | angularSlice H v upper B Q s R = |
| 295 | MeanRankUpdate.background F.data.core.lam (rankCoefficient F W.controls.radius s) |
| 296 | (rankLength F.data.h s) (rankVelocity F.data.h s) R ∧ |
| 297 | axialSlice H v upper B Q s R = 0 := by |
| 298 | have hell := rankLength_pos F.data.h_pos F.data.h_lt_half hs |
| 299 | have hRp : 0 < R := |
| 300 | (mul_pos hell (ReservedPatches.radialSupportLeft_pos F W.controls.radius |
| 301 | W.controls.radius_pos .mean)).trans hR.1 |
| 302 | have hr : R / rankLength F.data.h s ∈ ReservedPatches.radialWindow F W.controls.radius .mean := by |
| 303 | apply ReservedPatches.radial_closedPatch_subset F W.controls.radius W.controls.radius_pos .mean |
| 304 | exact ⟨(le_div_iff₀ hell).mpr (by nlinarith [hR.1]), |
| 305 | (div_le_iff₀ hell).mpr (by nlinarith [hR.2])⟩ |
| 306 | have hx := ReservedPatches.radial_mem_window F W.controls.radius W.controls.radius_pos .mean hr |
| 307 | rw [coordinates_radius_sq F.data.h_pos F.data.h_lt_half hs R] at hx |
| 308 | have heta := (normalizedCoordinates_eta F.data.h_pos F.data.h_lt_half |
| 309 | (p := (R, (s.2, s.1))) hs).le |
| 310 | have hv := normalized_mean_fields H v (FinalSlowBase.scales H v upper B) |
| 311 | (Q * rankScale F.data.h s) (p := (normalizedCoordinates F.data.h (R, (s.2, s.1))).2) hx heta |
| 312 | have he : SlowBorelBase.normalizedSwirl (FinalSlowBase.scales H v upper B) F.data.h |
| 313 | W.axis.normalization (FinalSlowBase.coefficients H v) |
| 314 | (SlowBorelBase.scaleMap Q (normalizedCoordinates F.data.h (R, (s.2, s.1)))) = |
| 315 | FiveRowRank.background F.data.core.lam (rankCoefficient F W.controls.radius s) |
| 316 | (R / rankLength F.data.h s) := by |
| 317 | simp only [SlowBorelBase.scaleMap_apply, coordinates_rankScale] |
| 318 | rw [hv.1, coordinates_rankEta, ← coordinates_radius_sq F.data.h_pos F.data.h_lt_half hs R, |
| 319 | ReservedPatches.square_half_power _ _ (div_pos hRp hell)] |
| 320 | rw [← mul_assoc] |
| 321 | change ReservedPatches.radialAmplitude F W.controls.radius (rankEta F.data.h s) * _ = _ |
| 322 | rw [ReservedPatches.radialAmplitude_shape] |
| 323 | rfl |
| 324 | constructor |
| 325 | · unfold angularSlice frequency frequencyFactor axialFactor |
| 326 | rw [coordinates_rankScale, he] |
| 327 | change R * (rankVelocity F.data.h s / R * _) = rankVelocity F.data.h s * _ |
| 328 | field_simp [hRp.ne'] |
| 329 | · unfold axialSlice axial axialFactor |
| 330 | simp only [SlowBorelBase.scaleMap_apply, coordinates_rankScale] |
| 331 | rw [hv.2, mul_zero] |
| 332 | |
| 333 | /-- Five exact physical rows for the full final base, with the original |
| 334 | mean-patch radii and the actual similarity length and velocity scales. -/ |
| 335 | theorem five_rows (upper : ℝ) (B : ℕ) (Q : ℝ) |
| 336 | {s : ℝ × ℝ} (hs : 0 < s.1) (debt : MeanRankUpdate.Debt) : |
| 337 | FiveRowRank.FiveRows (angularSlice H v upper B Q s) (axialSlice H v upper B Q s) debt |
| 338 | (MeanRankUpdate.angularIncrement F.data.core.lam (rankCoefficient F W.controls.radius s) |
| 339 | (ReservedPatches.radialSupportLeft F W.controls.radius .mean) |
| 340 | (ReservedPatches.radialSupportRight F W.controls.radius .mean) |
| 341 | (rankLength F.data.h s) (rankVelocity F.data.h s) debt) |
| 342 | (MeanRankUpdate.desiredAxialIncrement F.data.core.lam (rankCoefficient F W.controls.radius s) |
| 343 | (ReservedPatches.radialSupportLeft F W.controls.radius .mean) |
| 344 | (ReservedPatches.radialSupportRight F W.controls.radius .mean) |
| 345 | (rankLength F.data.h s) (rankVelocity F.data.h s) debt) := |
| 346 | MeanRankUpdate.physical_rows_on_patch F.data.core.lam_pos |
| 347 | (rankCoefficient_pos F W.controls.radius s).ne' |
| 348 | (ReservedPatches.radialSupportLeft_pos F W.controls.radius W.controls.radius_pos .mean) |
| 349 | (ReservedPatches.radial_support_margins F W.controls.radius W.controls.radius_pos .mean).2.1 |
| 350 | (rankLength_pos F.data.h_pos F.data.h_lt_half hs) |
| 351 | (rankVelocity_pos F.data.h_pos F.data.h_lt_half hs).ne' debt _ _ |
| 352 | (fun _ hR => (rank_fields H v upper B Q hs hR).1) |
| 353 | (fun _ hR => (rank_fields H v upper B Q hs hR).2) |
| 354 | |
| 355 | end SummedBase |
| 356 | |
| 357 | end NavierStokes.BaseRankPatch |