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.AssembledSlowBase |
| 2 | import NavierStokes.GlobalStressSupport |
| 3 | import NavierStokes.BasePrefixIdentity |
| 4 | import NavierStokes.PreparedOutgoing |
| 5 | import NavierStokes.BaseExterior |
| 6 | import NavierStokes.TerminalHistoryBridge |
| 7 | import NavierStokes.ModulatedProfileAssembly |
| 8 | import NavierStokes.FirstOrderBaseEdge |
| 9 | |
| 10 | /-! |
| 11 | # The actual constructed slow base |
| 12 | |
| 13 | The finite residual identities, regular axis descriptors, and stress support |
| 14 | used here are derived from the same repaired coefficient sequence. No |
| 15 | residual estimate or infinite-dimensional output certificate is an input. |
| 16 | -/ |
| 17 | |
| 18 | noncomputable section |
| 19 | |
| 20 | open Set Filter Function |
| 21 | open scoped ContDiff Topology BigOperators |
| 22 | |
| 23 | namespace NavierStokes.ConstructedSlowBase |
| 24 | |
| 25 | open GlobalSlowProfiles AssembledSlowBase SlowBorelBase |
| 26 | |
| 27 | private theorem parameter_abs_le {eta : ℝ} (h : eta ∈ Ioo (-1 : ℝ) 1) : |
| 28 | |eta| ≤ 1 := (abs_lt.mpr h).le |
| 29 | |
| 30 | /-- Restricting the compact set preserves the very same cutoff schedule. -/ |
| 31 | theorem admissibleScales_mono {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 32 | {a : ℕ → ℕ} {h : ℝ} {f : ℕ → Inner → V} {K K' : Set Inner} |
| 33 | (ha : AdmissibleScales h f K a) (hK : K' ⊆ K) : AdmissibleScales h f K' a where |
| 34 | positive := ha.positive |
| 35 | doubling := ha.doubling |
| 36 | strictMono := ha.strictMono |
| 37 | ordinary := fun j hj m hm q hq hq1 w hw => ha.ordinary j hj m hm q hq hq1 w (hK hw) |
| 38 | blown := fun j hj m hm q hq hq1 w hw => ha.blown j hj m hm q hq hq1 w (hK hw) |
| 39 | |
| 40 | /-- The genuine smooth vector potential of the summed base. -/ |
| 41 | noncomputable def potential (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : |
| 42 | ProblemStatement.VelocityField := |
| 43 | AxisymmetricFields.potential (streamFactor a h C d) (swirlPotential a h C d) |
| 44 | |
| 45 | theorem potential_smooth {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 46 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) (C : ℝ) : |
| 47 | ContDiffOn ℝ ∞ (potential a h C d) BaseResidual.past := |
| 48 | AxisymmetricFields.contDiffOn_potential |
| 49 | (physicalProfile_smoothOn ha hh hh1 (bundleComponent_smooth hd C 0) _) |
| 50 | (physicalProfile_smoothOn ha hh hh1 (bundleComponent_smooth hd C 1) _) |
| 51 | |
| 52 | section RepairedFamily |
| 53 | |
| 54 | variable {S : Set ℝ} {h C rho inner : ℝ} {U : Set ℂ} |
| 55 | {base : Fin 5 → SimilarityProfile.InnerProfile} {s : Scheme S h C} |
| 56 | {A : SlowRecursion.LocalHierarchy rho U h C base} |
| 57 | (L : Localization s A inner) (B0 : BaseAgreement s A inner) |
| 58 | (Z0 : ZeroOrderSolved s inner) (hI : Icc (-1 : ℝ) 1 ⊆ S) |
| 59 | |
| 60 | /-- The only base flux premise is the actual mass reconstruction. Every |
| 61 | positive-order flux is reconstructed by the global recursion itself. -/ |
| 62 | theorem repaired_coefficientMatches |
| 63 | (hbase : s.base.beta = betaFromU s.domain 0 s.base.axial) : |
| 64 | BasePrefixIdentity.CoefficientMatches h C (coefficients L B0 Z0 hI) (asSlowProfiles s) := by |
| 65 | refine ⟨⟨?_, ?_, ?_⟩, ?_, ?_, ?_⟩ |
| 66 | · intro n w hw |
| 67 | exact (coefficients_fields_eq L B0 Z0 hI n hw.1.le (parameter_abs_le hw.2)).1 |
| 68 | · intro n w hw |
| 69 | exact (coefficients_fields_eq L B0 Z0 hI n hw.1.le (parameter_abs_le hw.2)).2.1 |
| 70 | · intro n w hw |
| 71 | have hb : w.1 * extendedCoefficient s hI n 2 w = |
| 72 | SlowDivergence.radialFlux h (SlowExpansionResidual.slowOrder h n) |
| 73 | ((coefficients L B0 Z0 hI).axial n) w := by |
| 74 | rcases Nat.eq_zero_or_pos n with rfl | hn |
| 75 | · have he := extended_flux_zero s hI hbase hw.1.le (parameter_abs_le hw.2) |
| 76 | simp only [SlowExpansionResidual.slowOrder, Nat.cast_zero, mul_zero, zero_mul] at he ⊢ |
| 77 | exact he |
| 78 | · exact extended_flux s hI hn hw.1.le (parameter_abs_le hw.2) |
| 79 | rw [← hb] |
| 80 | change w.1 * extendedCoefficient s hI n 2 w = w.1 * xProfile (profiles s n).beta w |
| 81 | rw [extendedCoefficient_eq s hI n 2 hw.1.le (parameter_abs_le hw.2)] |
| 82 | rfl |
| 83 | · intro n w hw |
| 84 | exact (coefficients_fields_eq L B0 Z0 hI n hw.1.le (parameter_abs_le hw.2)).2.2 |
| 85 | · intro n w hw |
| 86 | exact (coefficients_stress_eq L B0 Z0 hI n hw.1.le (parameter_abs_le hw.2)).1 |
| 87 | · intro n w hw |
| 88 | exact (coefficients_stress_eq L B0 Z0 hI n hw.1.le (parameter_abs_le hw.2)).2 |
| 89 | |
| 90 | /-- The finite Cartesian PDE identity is derived from scalar equations and |
| 91 | the actual stream primitives, using the proved finite-prefix bridge. -/ |
| 92 | theorem repaired_finiteIdentities (hh : 0 < h) (hh1 : h < 1 / 2) |
| 93 | (hbase : s.base.beta = betaFromU s.domain 0 s.base.axial) |
| 94 | (hp : ∀ n, ∀ w ∈ BasePrefixIdentity.profileWindow, |
| 95 | SlowExpansionResidual.pressureCoefficient h C (asSlowProfiles s) n w = 0) : |
| 96 | BaseResidual.FiniteIdentities h C (coefficients L B0 Z0 hI) (asSlowProfiles s) := by |
| 97 | apply BasePrefixIdentity.finiteIdentities_of_coefficients hh hh1 |
| 98 | (coefficients_smooth L B0 Z0 hI) (repaired_coefficientMatches L B0 Z0 hI hbase) |
| 99 | · intro n |
| 100 | exact (thetaDensity_smooth L B0 Z0 n).mono |
| 101 | (fun _ hw => ⟨hw.1, hI ⟨hw.2.1.le, hw.2.2.le⟩⟩) |
| 102 | · intro n |
| 103 | exact (zDensity_smooth L B0 Z0 n).mono |
| 104 | (fun _ hw => ⟨hw.1, hI ⟨hw.2.1.le, hw.2.2.le⟩⟩) |
| 105 | · exact hp |
| 106 | |
| 107 | theorem repaired_stressZeroCore : |
| 108 | BaseResidual.StressZeroCore (coefficients L B0 Z0 hI) (inner / 8) := by |
| 109 | intro n X hX eta _ |
| 110 | exact coefficients_stress_zero_left L B0 Z0 hI n hX.2.le |
| 111 | |
| 112 | /-- One open coefficient neighborhood contains the whole physical parameter |
| 113 | band and avoids the coordinate denominator's zeros. -/ |
| 114 | noncomputable def regularDomain (s : Scheme S h C) (hI : Icc (-1 : ℝ) 1 ⊆ S) : Set Inner := |
| 115 | {w | |w.2| < (commonWindow s hI).inner ∧ CoordinateAlgebra.L h w.2 ≠ 0} |
| 116 | |
| 117 | theorem regularDomain_open : IsOpen (regularDomain s hI) := by |
| 118 | have hL : Continuous (fun w : Inner => CoordinateAlgebra.L h w.2) := |
| 119 | continuous_const.sub (continuous_const.mul (continuous_snd.pow 2)) |
| 120 | exact (isOpen_lt continuous_snd.abs continuous_const).inter |
| 121 | (isOpen_ne_fun hL continuous_const) |
| 122 | |
| 123 | theorem innerBox_subset_regularDomain (hh : 0 < h) (hh1 : h < 1 / 2) (lo hi : ℝ) : |
| 124 | innerBox lo hi ⊆ regularDomain s hI := by |
| 125 | intro w hw |
| 126 | have he : |w.2| ≤ 1 := abs_le.mpr hw.2 |
| 127 | exact ⟨he.trans_lt (commonWindow s hI).one_lt_inner, |
| 128 | (CoordinateAlgebra.L_pos hh.le hh1 ((sq_le_one_iff_abs_le_one w.2).mpr he)).ne'⟩ |
| 129 | |
| 130 | theorem regular_fields_eq (n : ℕ) {w : Inner} (hw : w ∈ regularDomain s hI) (hX : 0 ≤ w.1) : |
| 131 | (asSlowProfiles s).phi n w = extendedCoefficient s hI n 0 w ∧ |
| 132 | (asSlowProfiles s).axial n w = extendedCoefficient s hI n 1 w ∧ |
| 133 | (asSlowProfiles s).flux n w = w.1 * extendedCoefficient s hI n 2 w := by |
| 134 | refine ⟨?_, ?_, ?_⟩ |
| 135 | · exact (extendEven_eq (commonWindow s hI) (profiles s n).phi hX hw.1.le).symm |
| 136 | · exact (extendEven_eq (commonWindow s hI) (profiles s n).axial hX hw.1.le).symm |
| 137 | · exact congrArg (w.1 * ·) |
| 138 | (extendEven_eq (commonWindow s hI) (profiles s n).beta hX hw.1.le).symm |
| 139 | |
| 140 | /-- Every fixed physical derivative has every requested power of decay, |
| 141 | including on approaches that meet the symmetry axis. -/ |
| 142 | theorem repaired_jetRate {l : Filter ProblemStatement.SpaceTime} {a : ℕ → ℕ} {hi : ℝ} |
| 143 | (hh : 0 < h) (hh1 : h < 1 / 2) (P : BaseResidual.PhysicalApproach l h 0 hi) |
| 144 | (ha : AdmissibleScales h (coefficientBundle C (coefficients L B0 Z0 hI)) (innerBox 0 hi) a) |
| 145 | (hf : BaseResidual.FiniteIdentities h C (coefficients L B0 Z0 hI) (asSlowProfiles s)) |
| 146 | (m : ℕ) (n : ℝ) (hn : 0 ≤ n) : |
| 147 | DiagonalResidual.JetRate l (fun z => (cartesianChart h z).1) |
| 148 | (BaseResidual.baseResidual a h C (coefficients L B0 Z0 hI)) m n := by |
| 149 | exact BaseResidual.baseResidual_jetRate_axis hh hh1 P |
| 150 | (div_pos L.inner_pos (by norm_num)) (coefficients_smooth L B0 Z0 hI) |
| 151 | (repaired_stressZeroCore L B0 Z0 hI) ha (asSlowProfiles s) hf |
| 152 | (regularDomain_open hI) (innerBox_subset_regularDomain hI hh hh1 0 hi) |
| 153 | (fun j => extendedCoefficient s hI j 0) (fun j => extendedCoefficient s hI j 1) |
| 154 | (fun j => extendedCoefficient s hI j 2) |
| 155 | (fun j => (extendedCoefficient_contDiff s hI j 0).contDiffOn) |
| 156 | (fun j => (extendedCoefficient_contDiff s hI j 1).contDiffOn) |
| 157 | (fun j => (extendedCoefficient_contDiff s hI j 2).contDiffOn) |
| 158 | (fun j _ hw hx => (regular_fields_eq hI j hw hx).2.2) |
| 159 | (fun j _ hw hx => (regular_fields_eq hI j hw hx).2.1) |
| 160 | (fun j _ hw hx => (regular_fields_eq hI j hw hx).1) |
| 161 | (fun _ hw => hw.2) m n hn |
| 162 | |
| 163 | /-- Exterior confinement is a consequence of the five repaired rows, not |
| 164 | an extra hypothesis on higher-order stress coefficients. -/ |
| 165 | theorem repaired_higherInteriorSupport |
| 166 | (hbase : s.base.beta = betaFromU s.domain 0 s.base.axial) |
| 167 | {left right : ℝ} (hl : Real.exp left < inner / 8) (hr : s.B ^ 2 / 2 < Real.exp right) : |
| 168 | BaseResidual.HigherInteriorSupport (coefficients L B0 Z0 hI) left right := by |
| 169 | intro n hn |
| 170 | have he := GlobalStressSupport.raw_stresses_exterior s hbase hn |
| 171 | have hs := coefficients_stress_support L B0 Z0 hI n s.B_pos.le he.1 he.2 |
| 172 | have hz {w : Inner} (hw : w.1 ∉ Icc (inner / 8) (s.B ^ 2 / 2)) : |
| 173 | ((coefficients L B0 Z0 hI).stressTheta n w, |
| 174 | (coefficients L B0 Z0 hI).stressAxial n w) = 0 := by |
| 175 | by_contra hh |
| 176 | exact hw (hs (subset_closure hh)).1 |
| 177 | refine ⟨inner / 8, s.B ^ 2 / 2, fun _ hw => ⟨hl.trans_le hw.1, hw.2.trans_lt hr⟩, ?_, ?_⟩ |
| 178 | · intro eta _ X hX |
| 179 | exact congrArg Prod.fst (hz hX) |
| 180 | · intro eta _ X hX |
| 181 | exact congrArg Prod.snd (hz hX) |
| 182 | |
| 183 | end RepairedFamily |
| 184 | |
| 185 | section Nominal |
| 186 | |
| 187 | variable {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) |
| 188 | |
| 189 | include W |
| 190 | |
| 191 | theorem height_pos : 0 < F.data.h := W.axis.small.h_pos |
| 192 | |
| 193 | theorem height_lt_half : F.data.h < 1 / 2 := by linarith [W.axis.small.h_le] |
| 194 | |
| 195 | /-- The leading coefficient retains the actual natural axis datum. -/ |
| 196 | theorem nominal_leading_axis {eta : ℝ} (heta : eta ∈ Icc (-1 : ℝ) 1) : |
| 197 | (nominalCoefficients W).axial 0 (0, eta) = 4 * eta + W.axis.j := by |
| 198 | have h0 : (0 : ℝ) ≤ 4 / W.axis.scale := (div_pos (by norm_num) W.axis.scale_pos).le |
| 199 | calc |
| 200 | _ = W.U (0, eta) := (nominalCoefficients_zero_fields W (p := (0, eta)) le_rfl (abs_le.mpr heta)).2.1 |
| 201 | _ = W.controls.seedU (0, eta) := |
| 202 | (W.seed_agreement (p := (0, eta)) le_rfl NominalProfile.Xi_pos.le).2.1 |
| 203 | _ = W.axis.natural.profile.family.U (0, eta) := (W.controls.seed_initial h0).2 |
| 204 | _ = _ := W.axis.natural.profile.family.natural.U_axis eta |
| 205 | (NaturalAxisCoefficients.original_interval_interior heta) |
| 206 | |
| 207 | end Nominal |
| 208 | |
| 209 | section Modified |
| 210 | |
| 211 | variable {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) |
| 212 | {D : ProfileHistories.RadialDomain} (Q : ProfileHistories.Profiles D) |
| 213 | {S : Set ℝ} {lo hi : ℝ} (M : FiniteModification W Q S lo hi) |
| 214 | |
| 215 | include M |
| 216 | |
| 217 | theorem modified_higherInteriorSupport {left right : ℝ} |
| 218 | (hl : Real.exp left < nominalInner W / 8) (hr : nominalOuterX W < Real.exp right) : |
| 219 | BaseResidual.HigherInteriorSupport (modifiedCoefficients W Q M) left right := by |
| 220 | apply repaired_higherInteriorSupport (modifiedLocalization W Q M) (modifiedBaseAgreement W Q M) |
| 221 | (modifiedZeroOrder W Q M) M.contains rfl hl |
| 222 | change nominalOuterRadius W ^ 2 / 2 < Real.exp right |
| 223 | rwa [nominalOuterRadius_square] |
| 224 | |
| 225 | theorem modified_leading_axis {eta : ℝ} (heta : eta ∈ Icc (-1 : ℝ) 1) : |
| 226 | (modifiedCoefficients W Q M).axial 0 (0, eta) = 4 * eta + W.axis.j := by |
| 227 | calc |
| 228 | _ = Q.U (0, eta) := (modifiedCoefficients_zero_fields W Q M (p := (0, eta)) le_rfl (abs_le.mpr heta)).2.1 |
| 229 | _ = W.U (0, eta) := (M.fields (0, eta) le_rfl (M.contains heta) |
| 230 | (Or.inl ((nominalInner_pos W).le.trans M.inner))).2 |
| 231 | _ = (nominalCoefficients W).axial 0 (0, eta) := |
| 232 | (nominalCoefficients_zero_fields W (p := (0, eta)) le_rfl (abs_le.mpr heta)).2.1.symm |
| 233 | _ = _ := nominal_leading_axis W heta |
| 234 | |
| 235 | theorem modified_leading_origin : (modifiedCoefficients W Q M).axial 0 (0, 0) = W.axis.j := by |
| 236 | simpa using modified_leading_axis W Q M (eta := 0) (by constructor <;> norm_num) |
| 237 | |
| 238 | theorem modified_origin {a : ℕ → ℕ} (ha : StrictMono a) {t : ℝ} (ht : t < 1) : |
| 239 | baseVelocity a F.data.h W.axis.normalization (modifiedCoefficients W Q M) (t, 0) = |
| 240 | ((1 - t) ^ (-CoordinateAlgebra.A F.data.h) * W.axis.j) • |
| 241 | ProblemStatement.coordinateVector 2 := by |
| 242 | rw [BaseResidual.baseVelocity_at_origin ha (height_pos W) (height_lt_half W) |
| 243 | (modifiedCoefficients_smooth W Q M) W.axis.normalization |
| 244 | (fun _ hn => (modifiedCoefficients_axis W Q M hn (by norm_num : |(0 : ℝ)| ≤ 1)).2.1) ht, |
| 245 | modified_leading_origin] |
| 246 | |
| 247 | end Modified |
| 248 | |
| 249 | section CommonWeightedSchedule |
| 250 | |
| 251 | open BaseResidual ActiveAnnulusWeight |
| 252 | |
| 253 | /-- The actual two-slot, all-order weighted estimate, used only as an output |
| 254 | of the coefficient construction and common schedule selection. -/ |
| 255 | def WeightedStressBound (a : ℕ → ℕ) (h : ℝ) (d : Coefficients) (c left right : ℝ) : Prop := |
| 256 | ∀ m : ℕ, ∃ D : ℝ, 0 < D ∧ ∃ N : ℕ, ∀ q : ℝ, 0 < q → q ≤ 1 → |
| 257 | ∀ w ∈ activeWindow left right, |
| 258 | ‖blownJet m (fun v => normalizedTensor a h d v - stressPair d 0 v.2) (q, w)‖ ≤ |
| 259 | D * q ^ h * activeZeta c left right w * (activeDelta left right w)⁻¹ ^ N |
| 260 | |
| 261 | /-- This form uses actual derivative bounds on the closed parameter band. |
| 262 | It requires no ambient germ equality to an auxiliary extension at eta=±1. -/ |
| 263 | theorem weighted_on_actual_scales {a : ℕ → ℕ} {h C : ℝ} (hh : 0 < h) |
| 264 | {d : Coefficients} (hd : SmoothCoefficients d) {c left right inner cut : ℝ} |
| 265 | (hc : 0 < c) (hl : Real.exp left < inner) (hi : inner ≤ cut) (hr : cut < Real.exp right) |
| 266 | (hs : HigherInteriorSupport d left right) |
| 267 | (hz : ∀ w : Inner, w.1 < inner → stressPair d 1 w = 0) |
| 268 | (ho : PolynomialEdgeJets (outerWindow cut right) (activeZeta c left right) |
| 269 | (activeDelta left right) (stressPair d 1)) |
| 270 | {K : Set Inner} (hK : IsCompact K) (hWK : activeWindow left right ⊆ K) |
| 271 | (ha : AdmissibleScales h (weightedBundle C d (activeZeta c left right)) K a) : |
| 272 | WeightedStressBound a h d c left right := by |
| 273 | let O : Set Inner := Ioo (Real.exp left) (Real.exp right) ×ˢ univ |
| 274 | have hO : IsOpen O := isOpen_Ioo.prod isOpen_univ |
| 275 | have hWO : activeWindow left right ⊆ O := fun _ hw => ⟨hw.1, mem_univ _⟩ |
| 276 | exact normalizedTensor_weighted_bound hh hd hK hWK hO hWO |
| 277 | (activeZeta_smooth hc left right) (fun _ hw => radialWeight_pos hw.1) |
| 278 | (fun _ hw => activeDelta_bounds hw) |
| 279 | (edgeJets_of_outer_collar (stressPair_smooth hd 1) hc hl hi hr hz ho) |
| 280 | (activeZeta_edgeJets (Real.exp_lt_exp.mp ((hl.trans_le hi).trans hr)) hc) |
| 281 | (higherStressQuotient_smooth_of_support hd hc hs) ha |
| 282 | |
| 283 | end CommonWeightedSchedule |
| 284 | |
| 285 | section FixedGeometry |
| 286 | |
| 287 | variable {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) |
| 288 | |
| 289 | noncomputable def activeLeft : ℝ := Real.log (nominalInner W / 16) |
| 290 | |
| 291 | noncomputable def terminalShift : ℝ := TerminalHistoryBridge.shift F W.controls.radius |
| 292 | |
| 293 | noncomputable def activeRight : ℝ := terminalShift W + 3 |
| 294 | |
| 295 | noncomputable def activeUpper : ℝ := Real.exp (activeRight W) |
| 296 | |
| 297 | noncomputable def scaleUpper (upper : ℝ) : ℝ := max upper (activeUpper W) |
| 298 | |
| 299 | theorem exp_activeLeft : Real.exp (activeLeft W) = nominalInner W / 16 := |
| 300 | Real.exp_log (div_pos (nominalInner_pos W) (by norm_num)) |
| 301 | |
| 302 | theorem activeLeft_margin : Real.exp (activeLeft W) < nominalInner W / 8 := by |
| 303 | rw [exp_activeLeft] |
| 304 | linarith [nominalInner_pos W] |
| 305 | |
| 306 | theorem switch_before_collar : BaseExterior.nominalHeatSwitch W < Real.exp (terminalShift W + 2) := by |
| 307 | change BaseExterior.nominalHeatSwitch W < |
| 308 | Real.exp (Real.log (BaseExterior.nominalHeatSwitch W) - 1 / 5 + 2) |
| 309 | calc |
| 310 | _ = Real.exp (Real.log (BaseExterior.nominalHeatSwitch W)) := |
| 311 | (Real.exp_log (BaseExterior.nominalHeatSwitch_pos W)).symm |
| 312 | _ < _ := Real.exp_lt_exp.mpr (by linarith) |
| 313 | |
| 314 | theorem outer_before_collar : nominalOuterX W < Real.exp (terminalShift W + 2) := |
| 315 | (nominalOuterX_lt_switch W).trans (switch_before_collar W) |
| 316 | |
| 317 | theorem collar_before_upper : Real.exp (terminalShift W + 2) < activeUpper W := |
| 318 | Real.exp_lt_exp.mpr (by dsimp [activeUpper, activeRight]; linarith) |
| 319 | |
| 320 | theorem outer_before_upper : nominalOuterX W < activeUpper W := |
| 321 | (outer_before_collar W).trans (collar_before_upper W) |
| 322 | |
| 323 | theorem modified_higher_support {D : ProfileHistories.RadialDomain} (Q : ProfileHistories.Profiles D) |
| 324 | {S : Set ℝ} {lo hi : ℝ} (M : FiniteModification W Q S lo hi) : |
| 325 | BaseResidual.HigherInteriorSupport (modifiedCoefficients W Q M) (activeLeft W) (activeRight W) := |
| 326 | modified_higherInteriorSupport W Q M (activeLeft_margin W) (outer_before_upper W) |
| 327 | |
| 328 | theorem modified_quotients_smooth {D : ProfileHistories.RadialDomain} (Q : ProfileHistories.Profiles D) |
| 329 | {S : Set ℝ} {lo hi : ℝ} (M : FiniteModification W Q S lo hi) {c : ℝ} (hc : 0 < c) (j : ℕ) : |
| 330 | ContDiff ℝ ∞ (BaseResidual.higherStressQuotient (modifiedCoefficients W Q M) |
| 331 | (BaseResidual.activeZeta c (activeLeft W) (activeRight W)) j) := |
| 332 | BaseResidual.higherStressQuotient_smooth_of_support (modifiedCoefficients_smooth W Q M) hc |
| 333 | (modified_higher_support W Q M) j |
| 334 | |
| 335 | end FixedGeometry |
| 336 | |
| 337 | section SelectedSchedules |
| 338 | |
| 339 | open BaseResidual |
| 340 | |
| 341 | variable {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) |
| 342 | (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) |
| 343 | |
| 344 | variable {D : ProfileHistories.RadialDomain} (Q : ProfileHistories.Profiles D) |
| 345 | {S : Set ℝ} {lo hi : ℝ} (M : FiniteModification W Q S lo hi) |
| 346 | |
| 347 | /-- The modified family gets one schedule, derived from its actual repaired |
| 348 | coefficients. No stress estimate enters this definition. -/ |
| 349 | noncomputable def modifiedScales : ℕ → ℕ := |
| 350 | Classical.choose (exists_admissibleScales |
| 351 | (weightedBundle_smooth (modifiedCoefficients_smooth W Q M) (modified_quotients_smooth W Q M hc) |
| 352 | W.axis.normalization) (height_pos W) (innerBox_isCompact 0 (scaleUpper W upper)) B) |
| 353 | |
| 354 | theorem modifiedScales_spec : B ≤ modifiedScales W c hc upper B Q M 0 ∧ |
| 355 | AdmissibleScales F.data.h |
| 356 | (weightedBundle W.axis.normalization (modifiedCoefficients W Q M) |
| 357 | (activeZeta c (activeLeft W) (activeRight W))) |
| 358 | (innerBox 0 (scaleUpper W upper)) (modifiedScales W c hc upper B Q M) := |
| 359 | Classical.choose_spec (exists_admissibleScales |
| 360 | (weightedBundle_smooth (modifiedCoefficients_smooth W Q M) (modified_quotients_smooth W Q M hc) |
| 361 | W.axis.normalization) (height_pos W) (innerBox_isCompact 0 (scaleUpper W upper)) B) |
| 362 | |
| 363 | theorem modifiedScales_strictMono : StrictMono (modifiedScales W c hc upper B Q M) := |
| 364 | (modifiedScales_spec W c hc upper B Q M).2.strictMono |
| 365 | |
| 366 | theorem modifiedScales_origin {t : ℝ} (ht : t < 1) : |
| 367 | baseVelocity (modifiedScales W c hc upper B Q M) F.data.h W.axis.normalization |
| 368 | (modifiedCoefficients W Q M) (t, 0) = |
| 369 | ((1 - t) ^ (-CoordinateAlgebra.A F.data.h) * W.axis.j) • |
| 370 | ProblemStatement.coordinateVector 2 := |
| 371 | modified_origin W Q M (modifiedScales_strictMono W c hc upper B Q M) ht |
| 372 | |
| 373 | end SelectedSchedules |
| 374 | |
| 375 | section ActualWeightedStress |
| 376 | |
| 377 | variable {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) |
| 378 | (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) |
| 379 | |
| 380 | variable {D : ProfileHistories.RadialDomain} (Q : ProfileHistories.Profiles D) |
| 381 | {S : Set ℝ} {lo hi : ℝ} (M : FiniteModification W Q S lo hi) |
| 382 | |
| 383 | end ActualWeightedStress |
| 384 | |
| 385 | namespace Modulated |
| 386 | |
| 387 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 388 | {ld : ModulatedProfileAssembly.LoopData W} (v : ModulatedProfileAssembly.Witness ld) |
| 389 | |
| 390 | /-- The coefficients are rebuilt from this particular solved finite |
| 391 | modulation, using its preserved histories and its original nominal witness. -/ |
| 392 | noncomputable def coefficients : Coefficients := |
| 393 | modifiedCoefficients W v.profiles v.finiteModification |
| 394 | |
| 395 | theorem coefficients_smooth : SmoothCoefficients (coefficients v) := |
| 396 | modifiedCoefficients_smooth W v.profiles v.finiteModification |
| 397 | |
| 398 | noncomputable def scales (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : ℕ → ℕ := |
| 399 | modifiedScales W c hc upper B v.profiles v.finiteModification |
| 400 | |
| 401 | theorem scales_spec (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : |
| 402 | B ≤ scales v c hc upper B 0 ∧ |
| 403 | AdmissibleScales F.data.h |
| 404 | (BaseResidual.weightedBundle W.axis.normalization (coefficients v) |
| 405 | (BaseResidual.activeZeta c (activeLeft W) (activeRight W))) |
| 406 | (innerBox 0 (scaleUpper W upper)) (scales v c hc upper B) := |
| 407 | modifiedScales_spec W c hc upper B v.profiles v.finiteModification |
| 408 | |
| 409 | theorem scales_strictMono (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : |
| 410 | StrictMono (scales v c hc upper B) := (scales_spec v c hc upper B).2.strictMono |
| 411 | |
| 412 | noncomputable def velocity (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : |
| 413 | ProblemStatement.VelocityField := |
| 414 | baseVelocity (scales v c hc upper B) F.data.h W.axis.normalization (coefficients v) |
| 415 | |
| 416 | noncomputable def pressure (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : |
| 417 | ProblemStatement.PressureField := |
| 418 | basePressure (scales v c hc upper B) F.data.h W.axis.normalization (coefficients v) |
| 419 | |
| 420 | noncomputable def error (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : |
| 421 | ProblemStatement.SpaceTime → ProblemStatement.Space := |
| 422 | BaseResidual.baseResidual (scales v c hc upper B) F.data.h W.axis.normalization (coefficients v) |
| 423 | |
| 424 | noncomputable def vectorPotential (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) : |
| 425 | ProblemStatement.VelocityField := |
| 426 | potential (scales v c hc upper B) F.data.h W.axis.normalization (coefficients v) |
| 427 | |
| 428 | theorem origin (c : ℝ) (hc : 0 < c) (upper : ℝ) (B : ℕ) {t : ℝ} (ht : t < 1) : |
| 429 | velocity v c hc upper B (t, 0) = |
| 430 | ((1 - t) ^ (-CoordinateAlgebra.A F.data.h) * W.axis.j) • ProblemStatement.coordinateVector 2 := |
| 431 | modifiedScales_origin W c hc upper B v.profiles v.finiteModification ht |
| 432 | |
| 433 | end Modulated |
| 434 | |
| 435 | end NavierStokes.ConstructedSlowBase |