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.EntranceAlignedBase |
| 2 | import NavierStokes.ModulatedExterior |
| 3 | import NavierStokes.AlignedProfileSpectralCone |
| 4 | |
| 5 | /-! |
| 6 | # The slow base on the actual entrance-to-terminal annulus |
| 7 | |
| 8 | All fields below use the same solved finite modulation and the same aligned |
| 9 | coefficient family. The weight exponent is the square of the actual ACT |
| 10 | time, and its two endpoints are the endpoints of the nominal cone interval. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open Set Filter Function |
| 16 | open scoped ContDiff Topology BigOperators EuclideanSpace |
| 17 | |
| 18 | namespace NavierStokes.FinalSlowBase |
| 19 | |
| 20 | open SlowBorelBase GlobalSlowProfiles AssembledSlowBase |
| 21 | |
| 22 | section Geometry |
| 23 | |
| 24 | variable {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) |
| 25 | |
| 26 | noncomputable def edgeExponent : ℝ := W.controls.activationTime ^ 2 |
| 27 | |
| 28 | theorem edgeExponent_pos : 0 < edgeExponent W := sq_pos_of_pos W.controls.activationTime_pos |
| 29 | |
| 30 | noncomputable def logLeft : ℝ := Real.log (NominalConeAssembly.activeLeft W) |
| 31 | |
| 32 | noncomputable def logRight : ℝ := Real.log (NominalConeAssembly.activeRight W) |
| 33 | |
| 34 | noncomputable def annulus : Set Inner := |
| 35 | Ioo (NominalConeAssembly.activeLeft W) (NominalConeAssembly.activeRight W) ×ˢ Icc (-1 : ℝ) 1 |
| 36 | |
| 37 | noncomputable def weight : Inner → ℝ := |
| 38 | BaseResidual.activeZeta (edgeExponent W) (logLeft W) (logRight W) |
| 39 | |
| 40 | noncomputable def edgeDistance : Inner → ℝ := BaseResidual.activeDelta (logLeft W) (logRight W) |
| 41 | |
| 42 | noncomputable def boxRadius (upper : ℝ) : ℝ := max upper (NominalConeAssembly.activeRight W) |
| 43 | |
| 44 | theorem terminal_pos : 0 < NominalConeAssembly.activeRight W := |
| 45 | mul_pos W.controls.radius_pos (Real.exp_pos _) |
| 46 | |
| 47 | theorem logRight_eq : logRight W = ConstructedSlowBase.activeRight W := by |
| 48 | have he := congrArg Real.log (EntranceAlignedBase.exp_right_eq_cone W) |
| 49 | simp only [Real.log_exp] at he |
| 50 | exact he.symm |
| 51 | |
| 52 | theorem boxRadius_eq (upper : ℝ) : boxRadius W upper = ConstructedSlowBase.scaleUpper W upper := by |
| 53 | unfold boxRadius ConstructedSlowBase.scaleUpper ConstructedSlowBase.activeUpper |
| 54 | rw [EntranceAlignedBase.exp_right_eq_cone] |
| 55 | |
| 56 | theorem annulus_eq : annulus W = BaseResidual.activeWindow (logLeft W) (logRight W) := by |
| 57 | simp only [annulus, BaseResidual.activeWindow, logLeft, logRight, |
| 58 | Real.exp_log (NominalConeAssembly.activeLeft_pos W), Real.exp_log (terminal_pos W)] |
| 59 | |
| 60 | end Geometry |
| 61 | |
| 62 | /-- Equality on a dense open part determines every ambient derivative when |
| 63 | both functions are smooth at the points of the larger set. -/ |
| 64 | theorem iteratedFDeriv_eq_on_dense {E V : Type*} |
| 65 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 66 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 67 | {f g : E → V} {s t : Set E} (hs : IsOpen s) (hst : s ⊆ t) |
| 68 | (hts : t ⊆ closure s) |
| 69 | (hf : ∀ p ∈ t, ContDiffAt ℝ ∞ f p) |
| 70 | (hg : ∀ p ∈ t, ContDiffAt ℝ ∞ g p) |
| 71 | (he : EqOn f g s) (m : ℕ) : EqOn (iteratedFDeriv ℝ m f) (iteratedFDeriv ℝ m g) t := by |
| 72 | have hj : EqOn (iteratedFDeriv ℝ m f) (iteratedFDeriv ℝ m g) s := by |
| 73 | intro p hp |
| 74 | have hfg : f =ᶠ[𝓝 p] g := by |
| 75 | filter_upwards [hs.mem_nhds hp] with q hq |
| 76 | exact he hq |
| 77 | exact (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq hfg m).self_of_nhds |
| 78 | apply hj.of_subset_closure _ _ hst hts |
| 79 | · intro p hp |
| 80 | have hd : ContDiffAt ℝ ∞ (iteratedFDeriv ℝ m f) p := |
| 81 | (hf p hp).iteratedFDeriv_right (WithTop.coe_le_coe.mpr le_top) |
| 82 | exact hd.continuousAt.continuousWithinAt |
| 83 | · intro p hp |
| 84 | have hd : ContDiffAt ℝ ∞ (iteratedFDeriv ℝ m g) p := |
| 85 | (hg p hp).iteratedFDeriv_right (WithTop.coe_le_coe.mpr le_top) |
| 86 | exact hd.continuousAt.continuousWithinAt |
| 87 | |
| 88 | section Fields |
| 89 | |
| 90 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 91 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 92 | (v : ModulatedProfileAssembly.Witness ld) |
| 93 | |
| 94 | noncomputable def coefficients : Coefficients := EntranceAlignedBase.modulatedCoefficients H v |
| 95 | |
| 96 | noncomputable def profileSequence : SlowExpansionResidual.SlowProfiles := |
| 97 | asSlowProfiles (EntranceAlignedBase.modulatedScheme H v) |
| 98 | |
| 99 | theorem coefficients_smooth : SmoothCoefficients (coefficients H v) := |
| 100 | EntranceAlignedBase.modulated_smooth H v |
| 101 | |
| 102 | theorem finiteIdentities : |
| 103 | BaseResidual.FiniteIdentities F.data.h W.axis.normalization (coefficients H v) (profileSequence H v) := |
| 104 | EntranceAlignedBase.modulated_finiteIdentities H v |
| 105 | |
| 106 | theorem stressZeroCore : BaseResidual.StressZeroCore (coefficients H v) (NominalConeAssembly.activeLeft W) := |
| 107 | EntranceAlignedBase.modulated_stressZeroCore H v |
| 108 | |
| 109 | /-- The literal stress of the same finite modulated profile. -/ |
| 110 | noncomputable def leadingStress : Inner → Inner := LeadingStressWeights.stress v.profiles F.data.h |
| 111 | |
| 112 | theorem leadingStress_smoothAt {p : Inner} (hX : 0 < p.1) (heta : p.2 ∈ Icc (-1 : ℝ) 1) : |
| 113 | ContDiffAt ℝ ∞ (leadingStress v) p := |
| 114 | LeadingStressWeights.stress_contDiffAt v.profiles F.data.h |
| 115 | (ld.domain_nonnegative hX.le (ld.parameters_contains heta)) hX (v.positive_f hX heta).ne' |
| 116 | (NaturalAxisData.L_pos W.axis.small heta).ne' |
| 117 | |
| 118 | theorem leading_stress_eq {p : Inner} (hX : 0 ≤ p.1) (heta : |p.2| ≤ 1) : |
| 119 | BaseResidual.stressPair (coefficients H v) 0 p = leadingStress v p := |
| 120 | EntranceAlignedBase.modulated_leading_pair_eq H v hX heta |
| 121 | |
| 122 | /-- Equality of full derivative tensors holds at both closed parameter |
| 123 | endpoints as well as in the interior. No ambient endpoint germ is assumed. -/ |
| 124 | theorem leading_stress_jets (m : ℕ) {p : Inner} (hX : 0 < p.1) |
| 125 | (heta : p.2 ∈ Icc (-1 : ℝ) 1) : |
| 126 | iteratedFDeriv ℝ m (BaseResidual.stressPair (coefficients H v) 0) p = |
| 127 | iteratedFDeriv ℝ m (leadingStress v) p := by |
| 128 | apply iteratedFDeriv_eq_on_dense (s := Ioi 0 ×ˢ Ioo (-1 : ℝ) 1) |
| 129 | (t := Ioi 0 ×ˢ Icc (-1 : ℝ) 1) (isOpen_Ioi.prod isOpen_Ioo) |
| 130 | (fun _ hp => ⟨hp.1, hp.2.1.le, hp.2.2.le⟩) _ |
| 131 | (fun _ _ => (BaseResidual.stressPair_smooth (coefficients_smooth H v) 0).contDiffAt) |
| 132 | (fun _ hp => leadingStress_smoothAt v hp.1 hp.2) |
| 133 | (fun _ hp => leading_stress_eq H v hp.1.le (abs_le.mpr ⟨hp.2.1.le, hp.2.2.le⟩)) m ⟨hX, heta⟩ |
| 134 | intro q hq |
| 135 | simpa only [closure_prod_eq, closure_Ioi, closure_Ioo (by norm_num : (-1 : ℝ) ≠ 1), mem_prod, mem_Ici] |
| 136 | using (show q.1 ≥ 0 ∧ q.2 ∈ Icc (-1 : ℝ) 1 from ⟨hq.1.le, hq.2⟩) |
| 137 | |
| 138 | theorem leading_weighted (hcone : LeadingStressWeights.FullTrueCone v) : |
| 139 | ActiveAnnulusWeight.WeightedBounds (Icc (-1 : ℝ) 1) |
| 140 | (edgeExponent W) (logLeft W) (logRight W) |
| 141 | (LeadingStressWeights.logStress v.profiles F.data.h) := |
| 142 | LeadingStressWeights.weighted_bounds v hcone |
| 143 | |
| 144 | theorem leading_lowerBound (hcone : LeadingStressWeights.FullTrueCone v) : |
| 145 | ∃ m : ℝ, 0 < m ∧ ∀ p ∈ annulus W, m * weight W p ≤ ‖leadingStress v p‖ := by |
| 146 | obtain ⟨m, hm, hb⟩ := (leading_weighted v hcone).1 |
| 147 | refine ⟨m, hm, fun p hp => ?_⟩ |
| 148 | have hx : 0 < p.1 := (NominalConeAssembly.activeLeft_pos W).trans hp.1.1 |
| 149 | have hy : Real.log p.1 ∈ Ioo (logLeft W) (logRight W) := |
| 150 | ⟨Real.log_lt_log (NominalConeAssembly.activeLeft_pos W) hp.1.1, Real.log_lt_log hx hp.1.2⟩ |
| 151 | have he := hb p.2 hp.2 (Real.log p.1) hy |
| 152 | simp only [weight, BaseResidual.activeZeta, ActiveAnnulusWeight.radialWeight, ite_eq_left hx, |
| 153 | LeadingStressWeights.logStress, LeadingStressWeights.logPoint, Function.comp_apply, |
| 154 | Real.exp_log hx, Prod.mk.eta] at he ⊢ |
| 155 | exact he |
| 156 | |
| 157 | theorem leading_radial_jets (hcone : LeadingStressWeights.FullTrueCone v) (m : ℕ) : |
| 158 | ∃ D : ℝ, 0 < D ∧ ∃ N : ℕ, ∀ w ∈ annulus W, |
| 159 | ‖iteratedFDeriv ℝ m (leadingStress v) w‖ ≤ |
| 160 | D * weight W w * (edgeDistance W w)⁻¹ ^ N := by |
| 161 | obtain ⟨D, hD, N, hb⟩ := (leading_weighted v hcone).2.2 m |
| 162 | refine ⟨D, hD, N, fun w hw => ?_⟩ |
| 163 | have hX := (NominalConeAssembly.activeLeft_pos W).trans hw.1.1 |
| 164 | have he : leadingStress v =ᶠ[𝓝 w] |
| 165 | (ActiveAnnulusWeight.radialPullback (LeadingStressWeights.logStress v.profiles F.data.h) ∘ |
| 166 | BaseResidual.swapInner) := by |
| 167 | filter_upwards [continuousAt_fst.eventually (Ioi_mem_nhds hX)] with y hy |
| 168 | simp [leadingStress, ActiveAnnulusWeight.radialPullback, ActiveAnnulusWeight.logChart, |
| 169 | LeadingStressWeights.logStress, LeadingStressWeights.logPoint, BaseResidual.swapInner, |
| 170 | Function.comp_def] |
| 171 | change LeadingStressWeights.stress v.profiles F.data.h y = |
| 172 | LeadingStressWeights.stress v.profiles F.data.h (Real.exp (Real.log y.1), y.2) |
| 173 | rw [Real.exp_log hy] |
| 174 | rw [(SolenoidalDiagonal.iteratedFDeriv_eventuallyEq he m).self_of_nhds, |
| 175 | BaseResidual.swapInner.norm_iteratedFDeriv_comp_right] |
| 176 | have hbound := hb w.2 hw.2 w.1 |
| 177 | (show w.1 ∈ Ioo (Real.exp (logLeft W)) (Real.exp (logRight W)) from by |
| 178 | simpa only [logLeft, logRight, Real.exp_log (NominalConeAssembly.activeLeft_pos W), |
| 179 | Real.exp_log (terminal_pos W)] using hw.1) |
| 180 | simp only [weight, edgeDistance, BaseResidual.activeZeta, BaseResidual.activeDelta, |
| 181 | div_eq_mul_inv, inv_pow] at hbound ⊢ |
| 182 | exact hbound |
| 183 | |
| 184 | theorem leading_coefficient_jets (hcone : LeadingStressWeights.FullTrueCone v) (m : ℕ) : |
| 185 | ∃ D : ℝ, 0 < D ∧ ∃ N : ℕ, ∀ w ∈ annulus W, |
| 186 | ‖iteratedFDeriv ℝ m (BaseResidual.stressPair (coefficients H v) 0) w‖ ≤ |
| 187 | D * weight W w * (edgeDistance W w)⁻¹ ^ N := by |
| 188 | obtain ⟨D, hD, N, hb⟩ := leading_radial_jets v hcone m |
| 189 | refine ⟨D, hD, N, fun w hw => ?_⟩ |
| 190 | rw [leading_stress_jets H v m ((NominalConeAssembly.activeLeft_pos W).trans hw.1.1) hw.2] |
| 191 | exact hb w hw |
| 192 | |
| 193 | noncomputable def leadingFrequency : PhaseCalculus.Slow → ℝ := |
| 194 | BaseChartJets.leadingFrequency F.data.h W.axis.normalization (coefficients H v) |
| 195 | |
| 196 | noncomputable def leadingAxial : PhaseCalculus.Slow → ℝ := |
| 197 | BaseChartJets.leadingAxial F.data.h (coefficients H v) |
| 198 | |
| 199 | /-- The actual covariance target, including its positive chart factor. -/ |
| 200 | noncomputable def covarianceTarget (q : ℝ) (N : ℕ) (U : PartitionedCovariance.UnsignedLabel) |
| 201 | (p : PhaseCalculus.Slow) : MovingFrameODE.Plane := |
| 202 | let w := (BaseChartJets.normalizedCoordinates F.data.h p).2 |
| 203 | let T := PartitionedCovariance.chartTarget F.data.h q N |
| 204 | ![(coefficients H v).stressTheta 0 w, (coefficients H v).stressAxial 0 w] U |
| 205 | !₂[T 0, T 1] |
| 206 | |
| 207 | /-- The sequence is selected once from the aligned enlarged bundle. -/ |
| 208 | noncomputable def scales (upper : ℝ) (B : ℕ) : ℕ → ℕ := |
| 209 | EntranceAlignedBase.scales H v (edgeExponent W) (edgeExponent_pos W) upper B |
| 210 | |
| 211 | theorem scales_spec (upper : ℝ) (B : ℕ) : B ≤ scales H v upper B 0 ∧ |
| 212 | AdmissibleScales F.data.h |
| 213 | (BaseResidual.weightedBundle W.axis.normalization (coefficients H v) (weight W)) |
| 214 | (innerBox 0 (boxRadius W upper)) (scales H v upper B) := by |
| 215 | simpa only [scales, coefficients, weight, logLeft, ← logRight_eq W, ← boxRadius_eq W upper] using |
| 216 | EntranceAlignedBase.scales_spec H v (edgeExponent W) (edgeExponent_pos W) upper B |
| 217 | |
| 218 | theorem scales_admissible (upper : ℝ) (B : ℕ) : |
| 219 | AdmissibleScales F.data.h (coefficientBundle W.axis.normalization (coefficients H v)) |
| 220 | (innerBox 0 (boxRadius W upper)) (scales H v upper B) := by |
| 221 | simpa only [scales, coefficients, ← boxRadius_eq W upper] using |
| 222 | EntranceAlignedBase.scales_admissible H v (edgeExponent W) (edgeExponent_pos W) upper B |
| 223 | |
| 224 | theorem scales_strictMono (upper : ℝ) (B : ℕ) : StrictMono (scales H v upper B) := |
| 225 | (scales_spec H v upper B).2.strictMono |
| 226 | |
| 227 | theorem scales_admissible_on (upper : ℝ) (B : ℕ) {lo hi : ℝ} |
| 228 | (hlo : 0 ≤ lo) (hhi : hi ≤ boxRadius W upper) : |
| 229 | AdmissibleScales F.data.h (coefficientBundle W.axis.normalization (coefficients H v)) |
| 230 | (innerBox lo hi) (scales H v upper B) := |
| 231 | ConstructedSlowBase.admissibleScales_mono (scales_admissible H v upper B) |
| 232 | (fun _ hp => ⟨⟨hlo.trans hp.1.1, hp.1.2.trans hhi⟩, hp.2⟩) |
| 233 | |
| 234 | theorem weighted_bound (upper : ℝ) (B : ℕ) : |
| 235 | ConstructedSlowBase.WeightedStressBound (scales H v upper B) F.data.h (coefficients H v) |
| 236 | (edgeExponent W) (logLeft W) (logRight W) := by |
| 237 | simpa only [scales, coefficients, logLeft, ← logRight_eq W] using |
| 238 | EntranceAlignedBase.scales_weighted H v (edgeExponent W) (edgeExponent_pos W) upper B |
| 239 | |
| 240 | noncomputable def velocity (upper : ℝ) (B : ℕ) : ProblemStatement.VelocityField := |
| 241 | baseVelocity (scales H v upper B) F.data.h W.axis.normalization (coefficients H v) |
| 242 | |
| 243 | noncomputable def pressure (upper : ℝ) (B : ℕ) : ProblemStatement.PressureField := |
| 244 | basePressure (scales H v upper B) F.data.h W.axis.normalization (coefficients H v) |
| 245 | |
| 246 | noncomputable def vectorPotential (upper : ℝ) (B : ℕ) : ProblemStatement.VelocityField := |
| 247 | ConstructedSlowBase.potential (scales H v upper B) F.data.h W.axis.normalization (coefficients H v) |
| 248 | |
| 249 | noncomputable def stressForce (upper : ℝ) (B : ℕ) : ProblemStatement.SpaceTime → ProblemStatement.Space := |
| 250 | BaseResidual.baseStressForce (scales H v upper B) F.data.h W.axis.normalization (coefficients H v) |
| 251 | |
| 252 | noncomputable def error (upper : ℝ) (B : ℕ) : ProblemStatement.SpaceTime → ProblemStatement.Space := |
| 253 | BaseResidual.baseResidual (scales H v upper B) F.data.h W.axis.normalization (coefficients H v) |
| 254 | |
| 255 | noncomputable def normalizedStress (upper : ℝ) (B : ℕ) : Chart → Inner := |
| 256 | BaseResidual.normalizedTensor (scales H v upper B) F.data.h (coefficients H v) |
| 257 | |
| 258 | theorem normalizedStress_smoothAt (upper : ℝ) (B : ℕ) {y : Chart} (hy : 0 < y.1) : |
| 259 | ContDiffAt ℝ ∞ (normalizedStress H v upper B) y := |
| 260 | slowSum_smoothAt (scales_strictMono H v upper B) |
| 261 | (BaseResidual.stressPair_smooth (coefficients_smooth H v)) F.data.h hy |
| 262 | |
| 263 | theorem velocity_smooth (upper : ℝ) (B : ℕ) : |
| 264 | ContDiffOn ℝ ∞ (velocity H v upper B) BaseResidual.past := |
| 265 | baseVelocity_smooth (scales_strictMono H v upper B) F.data.h_pos F.data.h_lt_half |
| 266 | (coefficients_smooth H v) W.axis.normalization |
| 267 | |
| 268 | theorem pressure_smooth (upper : ℝ) (B : ℕ) : |
| 269 | ContDiffOn ℝ ∞ (pressure H v upper B) BaseResidual.past := |
| 270 | BaseResidual.basePressure_smooth (scales_strictMono H v upper B) F.data.h_pos F.data.h_lt_half |
| 271 | (coefficients_smooth H v) W.axis.normalization |
| 272 | |
| 273 | theorem stressForce_smooth (upper : ℝ) (B : ℕ) : |
| 274 | ContDiffOn ℝ ∞ (stressForce H v upper B) BaseResidual.past := |
| 275 | BaseResidual.baseStressForce_smooth_past (scales_strictMono H v upper B) F.data.h_pos F.data.h_lt_half |
| 276 | (NominalConeAssembly.activeLeft_pos W) (coefficients_smooth H v) (stressZeroCore H v) |
| 277 | |
| 278 | theorem error_smooth (upper : ℝ) (B : ℕ) : |
| 279 | ContDiffOn ℝ ∞ (error H v upper B) BaseResidual.past := |
| 280 | (ResidualRegularity.contDiffOn_residual BaseResidual.past_isOpen |
| 281 | (velocity_smooth H v upper B) (pressure_smooth H v upper B)).sub (stressForce_smooth H v upper B) |
| 282 | |
| 283 | theorem divergence_zero (upper : ℝ) (B : ℕ) {t : ℝ} (ht : t < 1) (x : ProblemStatement.Space) : |
| 284 | ProblemStatement.spatialDivergence (velocity H v upper B) t x = 0 := |
| 285 | baseVelocity_divergence_zero (scales_strictMono H v upper B) F.data.h_pos F.data.h_lt_half |
| 286 | (coefficients_smooth H v) W.axis.normalization ht x |
| 287 | |
| 288 | theorem residual_identity (upper : ℝ) (B : ℕ) (z : ProblemStatement.SpaceTime) : |
| 289 | ProblemStatement.navierStokesResidual (velocity H v upper B) (pressure H v upper B) z.1 z.2 = |
| 290 | stressForce H v upper B z + error H v upper B z := |
| 291 | BaseResidual.baseResidual_identity _ _ _ _ z |
| 292 | |
| 293 | theorem error_jetRate (upper : ℝ) (B : ℕ) {l : Filter ProblemStatement.SpaceTime} {radius : ℝ} |
| 294 | (P : BaseResidual.PhysicalApproach l F.data.h 0 radius) (hr : radius ≤ boxRadius W upper) |
| 295 | (m : ℕ) (n : ℝ) (hn : 0 ≤ n) : |
| 296 | DiagonalResidual.JetRate l (fun z => (cartesianChart F.data.h z).1) (error H v upper B) m n := |
| 297 | ConstructedSlowBase.repaired_jetRate |
| 298 | (EntranceAlignedBase.smallLocalization W H v.profiles v.finiteModification ld.after_initial) |
| 299 | (EntranceAlignedBase.smallBaseAgreement W H v.profiles v.finiteModification ld.after_initial) |
| 300 | (EntranceAlignedBase.smallZeroOrder W H v.profiles v.finiteModification ld.after_initial) |
| 301 | v.finiteModification.contains F.data.h_pos F.data.h_lt_half P |
| 302 | (scales_admissible_on H v upper B le_rfl hr) (finiteIdentities H v) m n hn |
| 303 | |
| 304 | theorem error_allJetsFlat (upper : ℝ) (B : ℕ) {l : Filter ProblemStatement.SpaceTime} {radius : ℝ} |
| 305 | (P : BaseResidual.PhysicalApproach l F.data.h 0 radius) (hr : radius ≤ boxRadius W upper) : |
| 306 | ResidualStability.AllJetsFlat l (fun z => (cartesianChart F.data.h z).1) (error H v upper B) := |
| 307 | ConstructedSlowBase.repaired_allJetsFlat |
| 308 | (EntranceAlignedBase.smallLocalization W H v.profiles v.finiteModification ld.after_initial) |
| 309 | (EntranceAlignedBase.smallBaseAgreement W H v.profiles v.finiteModification ld.after_initial) |
| 310 | (EntranceAlignedBase.smallZeroOrder W H v.profiles v.finiteModification ld.after_initial) |
| 311 | v.finiteModification.contains F.data.h_pos F.data.h_lt_half P |
| 312 | (scales_admissible_on H v upper B le_rfl hr) (finiteIdentities H v) |
| 313 | |
| 314 | theorem leading_origin : (coefficients H v).axial 0 (0, 0) = W.axis.j := by |
| 315 | have he := EntranceAlignedBase.modulated_leading_axis H v (eta := 0) (by constructor <;> norm_num) |
| 316 | simp only [mul_zero, zero_add] at he |
| 317 | exact he |
| 318 | |
| 319 | theorem origin (upper : ℝ) (B : ℕ) {t : ℝ} (ht : t < 1) : |
| 320 | velocity H v upper B (t, 0) = |
| 321 | ((1 - t) ^ (-CoordinateAlgebra.A F.data.h) * W.axis.j) • ProblemStatement.coordinateVector 2 := by |
| 322 | rw [show velocity H v upper B (t, 0) = |
| 323 | ((1 - t) ^ (-CoordinateAlgebra.A F.data.h) * (coefficients H v).axial 0 (0, 0)) • |
| 324 | ProblemStatement.coordinateVector 2 from |
| 325 | BaseResidual.baseVelocity_at_origin (scales_strictMono H v upper B) F.data.h_pos F.data.h_lt_half |
| 326 | (coefficients_smooth H v) W.axis.normalization |
| 327 | (fun _ hn => (EntranceAlignedBase.modulated_positive_axis H v hn (by norm_num : |(0 : ℝ)| ≤ 1)).2.1) ht, |
| 328 | leading_origin] |
| 329 | |
| 330 | theorem axis_tendsto (upper : ℝ) (B : ℕ) : |
| 331 | Tendsto (fun t : ℝ => ‖velocity H v upper B (t, 0)‖) (𝓝[<] 1) atTop := by |
| 332 | apply BaseResidual.baseVelocity_axis_tendsto_atTop (scales_strictMono H v upper B) |
| 333 | F.data.h_pos F.data.h_lt_half (coefficients_smooth H v) W.axis.normalization |
| 334 | (fun _ hn => (EntranceAlignedBase.modulated_positive_axis H v hn (by norm_num : |(0 : ℝ)| ≤ 1)).2.1) |
| 335 | rw [leading_origin] |
| 336 | exact W.axis.small.j_pos |
| 337 | |
| 338 | theorem weighted_jets (upper : ℝ) (B m : ℕ) : |
| 339 | ∃ D : ℝ, 0 < D ∧ ∃ N : ℕ, ∀ q : ℝ, 0 < q → q ≤ 1 → ∀ w ∈ annulus W, |
| 340 | ‖blownJet m (fun y => normalizedStress H v upper B y - |
| 341 | BaseResidual.stressPair (coefficients H v) 0 y.2) (q, w)‖ ≤ |
| 342 | D * q ^ F.data.h * weight W w * (edgeDistance W w)⁻¹ ^ N := by |
| 343 | obtain ⟨D, hD, N, hb⟩ := weighted_bound H v upper B m |
| 344 | exact ⟨D, hD, N, fun q hq hq1 w hw => hb q hq hq1 w (by simpa only [← annulus_eq W] using hw)⟩ |
| 345 | |
| 346 | theorem physical_stress_eq_normalized (upper : ℝ) (B : ℕ) {p : Chart} (hp : p.1 < 1) : |
| 347 | (baseStressTheta (scales H v upper B) F.data.h W.axis.normalization (coefficients H v) p, |
| 348 | baseStressAxial (scales H v upper B) F.data.h W.axis.normalization (coefficients H v) p) = |
| 349 | (physicalChart F.data.h p).1 ^ (-CoordinateAlgebra.A F.data.h - 1 / 2) • |
| 350 | normalizedStress H v upper B (physicalChart F.data.h p) := |
| 351 | BaseResidual.physicalTensor_eq_normalized (scales_strictMono H v upper B) F.data.h_pos F.data.h_lt_half |
| 352 | W.axis.normalization (coefficients H v) hp |
| 353 | |
| 354 | theorem coefficient_stress_zero_left (n : ℕ) {p : Inner} (hp : p.1 ≤ NominalConeAssembly.activeLeft W) : |
| 355 | (coefficients H v).stressTheta n p = 0 ∧ (coefficients H v).stressAxial n p = 0 := |
| 356 | EntranceAlignedBase.aligned_stress_zero_left W H v.profiles v.finiteModification ld.after_initial n hp |
| 357 | |
| 358 | theorem coefficient_stress_zero_right (n : ℕ) {p : Inner} |
| 359 | (hp : NominalConeAssembly.activeRight W ≤ p.1) (heta : p.2 ∈ Icc (-1 : ℝ) 1) : |
| 360 | (coefficients H v).stressTheta n p = 0 ∧ (coefficients H v).stressAxial n p = 0 := |
| 361 | EntranceAlignedBase.modulated_stress_zero_right H v n hp heta |
| 362 | |
| 363 | theorem normalizedStress_zero_left (upper : ℝ) (B : ℕ) (q : ℝ) {w : Inner} |
| 364 | (hw : w.1 ≤ NominalConeAssembly.activeLeft W) : normalizedStress H v upper B (q, w) = 0 := |
| 365 | BaseResidual.slowSum_zero_of_all (scales H v upper B) F.data.h q |
| 366 | (fun n => Prod.ext (coefficient_stress_zero_left H v n hw).1 (coefficient_stress_zero_left H v n hw).2) |
| 367 | |
| 368 | theorem normalizedStress_zero_outside (upper : ℝ) (B : ℕ) (q : ℝ) {w : Inner} |
| 369 | (hw : w.1 ∉ Icc (NominalConeAssembly.activeLeft W) (NominalConeAssembly.activeRight W)) |
| 370 | (heta : w.2 ∈ Icc (-1 : ℝ) 1) : normalizedStress H v upper B (q, w) = 0 := |
| 371 | EntranceAlignedBase.modulated_normalizedTensor_zero H v (scales H v upper B) q hw heta |
| 372 | |
| 373 | theorem physicalStress_zero_right (upper : ℝ) (B : ℕ) {p : Chart} (hp : p.1 < 1) |
| 374 | (hX : NominalConeAssembly.activeRight W ≤ (physicalChart F.data.h p).2.1) : |
| 375 | baseStressTheta (scales H v upper B) F.data.h W.axis.normalization (coefficients H v) p = 0 ∧ |
| 376 | baseStressAxial (scales H v upper B) F.data.h W.axis.normalization (coefficients H v) p = 0 := by |
| 377 | have heta := (physicalChart_inner_mem F.data.h_pos F.data.h_lt_half hp |
| 378 | (show (physicalChart F.data.h p).2.1 ∈ Icc (physicalChart F.data.h p).2.1 |
| 379 | (physicalChart F.data.h p).2.1 from ⟨le_rfl, le_rfl⟩)).2 |
| 380 | constructor |
| 381 | · apply BaseResidual.physicalProfile_zero_of_all |
| 382 | exact fun n => (coefficient_stress_zero_right H v n hX heta).1 |
| 383 | · apply BaseResidual.physicalProfile_zero_of_all |
| 384 | exact fun n => (coefficient_stress_zero_right H v n hX heta).2 |
| 385 | |
| 386 | theorem stressForce_zero_right (upper : ℝ) (B : ℕ) {z : ProblemStatement.SpaceTime} |
| 387 | (ht : z.1 < 1) (hX : NominalConeAssembly.activeRight W < (cartesianChart F.data.h z).2.1) : |
| 388 | stressForce H v upper B z = 0 := by |
| 389 | let p := AxisymmetricFields.profilePoint z.1 z.2 |
| 390 | let theta := baseStressTheta (scales H v upper B) F.data.h W.axis.normalization (coefficients H v) |
| 391 | let axial := baseStressAxial (scales H v upper B) F.data.h W.axis.normalization (coefficients H v) |
| 392 | let O : Set Inner := Ioi (NominalConeAssembly.activeRight W) ×ˢ univ |
| 393 | have hp : p ∈ SimilarityProfile.physicalDomain F.data.h O := ⟨ht, hX, mem_univ _⟩ |
| 394 | have htheta : theta =ᶠ[𝓝 p] fun _ => 0 := by |
| 395 | filter_upwards [(SimilarityProfile.isOpen_physicalDomain F.data.h_pos F.data.h_lt_half |
| 396 | (isOpen_Ioi.prod isOpen_univ)).mem_nhds hp] with y hy |
| 397 | exact (physicalStress_zero_right H v upper B hy.1 hy.2.1.le).1 |
| 398 | have haxial : axial =ᶠ[𝓝 p] fun _ => 0 := by |
| 399 | filter_upwards [(SimilarityProfile.isOpen_physicalDomain F.data.h_pos F.data.h_lt_half |
| 400 | (isOpen_Ioi.prod isOpen_univ)).mem_nhds hp] with y hy |
| 401 | exact (physicalStress_zero_right H v upper B hy.1 hy.2.1.le).2 |
| 402 | have ht0 := htheta.self_of_nhds |
| 403 | have ha0 := haxial.self_of_nhds |
| 404 | have htd : SimilarityProfile.partialS theta p = 0 := by |
| 405 | simp [SimilarityProfile.partialS, htheta.fderiv_eq] |
| 406 | have had : SimilarityProfile.partialS axial p = 0 := by |
| 407 | simp [SimilarityProfile.partialS, haxial.fderiv_eq] |
| 408 | change BaseResidual.stressForce theta axial z = 0 |
| 409 | simp only [BaseResidual.stressForce, SlowResidualMatching.tangentialStressForce, |
| 410 | LeadingStress.radialDivergence] |
| 411 | change AxisymmetricResidual.pack |
| 412 | (_ * (Real.sqrt (2 * p.2.1) * SimilarityProfile.partialS theta p + 2 * theta p / _)) |
| 413 | (_ * (Real.sqrt (2 * p.2.1) * SimilarityProfile.partialS theta p + 2 * theta p / _)) |
| 414 | (-(Real.sqrt (2 * p.2.1) * SimilarityProfile.partialS axial p + 1 * axial p / _)) = _ |
| 415 | simp [ht0, ha0, htd, had, AxisymmetricResidual.pack] |
| 416 | |
| 417 | theorem stressForce_exterior_germ (upper : ℝ) (B : ℕ) {z : ProblemStatement.SpaceTime} |
| 418 | (ht : z.1 < 1) (hX : NominalConeAssembly.activeRight W < (cartesianChart F.data.h z).2.1) : |
| 419 | stressForce H v upper B =ᶠ[𝓝 z] fun _ => 0 := by |
| 420 | have hO : IsOpen {w : Inner | NominalConeAssembly.activeRight W < w.1} := |
| 421 | isOpen_lt continuous_const continuous_fst |
| 422 | filter_upwards [(BaseResidual.chartedDomain_isOpen F.data.h_pos F.data.h_lt_half hO).mem_nhds |
| 423 | (show z ∈ BaseResidual.chartedDomain F.data.h {w : Inner | NominalConeAssembly.activeRight W < w.1} |
| 424 | from ⟨ht, hX⟩)] with y hy |
| 425 | exact stressForce_zero_right H v upper B hy.1 hy.2 |
| 426 | |
| 427 | theorem stressForce_core_germ (upper : ℝ) (B : ℕ) {z : ProblemStatement.SpaceTime} |
| 428 | (ht : z.1 < 1) (hX : (cartesianChart F.data.h z).2.1 < NominalConeAssembly.activeLeft W) : |
| 429 | stressForce H v upper B =ᶠ[𝓝 z] fun _ => 0 := |
| 430 | BaseResidual.baseStressForce_core_germ F.data.h_pos F.data.h_lt_half (scales H v upper B) |
| 431 | (stressZeroCore H v) ht hX |
| 432 | |
| 433 | /-- The exterior comparison uses the actual coefficient formulas, not a |
| 434 | separately assumed support or heat-flow conclusion. -/ |
| 435 | theorem realizesScheme : ModulatedExterior.RealizesScheme (EntranceAlignedBase.modulatedScheme H v) |
| 436 | v.finiteModification.contains (coefficients H v) := ⟨rfl, rfl, rfl⟩ |
| 437 | |
| 438 | theorem exterior_fields_eq_heat (upper : ℝ) (B : ℕ) : |
| 439 | EqOn (velocity H v upper B) (BaseExterior.heatVelocity (BaseExterior.nominalHeatNormalization W) F.data.h) |
| 440 | (BaseExterior.cartesianExterior F.data.h (BaseExterior.nominalExteriorRadius W)) ∧ |
| 441 | EqOn (pressure H v upper B) (BaseExterior.heatPressureField (BaseExterior.nominalHeatNormalization W) F.data.h) |
| 442 | (BaseExterior.cartesianExterior F.data.h (BaseExterior.nominalExteriorRadius W)) := |
| 443 | ModulatedExterior.realized_base_eq_heat W v.profiles v.finiteModification (realizesScheme H v) |
| 444 | (EntranceAlignedBase.modulated_base_eq H v) (EntranceAlignedBase.modulated_outer H v) |
| 445 | (coefficients_smooth H v) (ModulatedExterior.actual_squared_swirl_restored v) |
| 446 | (scales_strictMono H v upper B) |
| 447 | |
| 448 | theorem exterior_residual_zero (upper : ℝ) (B : ℕ) {z : ProblemStatement.SpaceTime} |
| 449 | (hz : z ∈ BaseExterior.cartesianExterior F.data.h (BaseExterior.nominalExteriorRadius W)) : |
| 450 | ProblemStatement.navierStokesResidual (velocity H v upper B) (pressure H v upper B) z.1 z.2 = 0 := |
| 451 | ModulatedExterior.realized_base_residual_zero W v.profiles v.finiteModification (realizesScheme H v) |
| 452 | (EntranceAlignedBase.modulated_base_eq H v) (EntranceAlignedBase.modulated_outer H v) |
| 453 | (coefficients_smooth H v) (ModulatedExterior.actual_squared_swirl_restored v) |
| 454 | (scales_strictMono H v upper B) hz |
| 455 | |
| 456 | theorem exterior_residual_jets_zero (upper : ℝ) (B m : ℕ) {z : ProblemStatement.SpaceTime} |
| 457 | (hz : z ∈ BaseExterior.cartesianExterior F.data.h (BaseExterior.nominalExteriorRadius W)) : |
| 458 | iteratedFDeriv ℝ m (fun p => ProblemStatement.navierStokesResidual |
| 459 | (velocity H v upper B) (pressure H v upper B) p.1 p.2) z = 0 := |
| 460 | ModulatedExterior.realized_residual_jets_zero W v.profiles v.finiteModification (realizesScheme H v) |
| 461 | (EntranceAlignedBase.modulated_base_eq H v) (EntranceAlignedBase.modulated_outer H v) |
| 462 | (coefficients_smooth H v) (ModulatedExterior.actual_squared_swirl_restored v) |
| 463 | (scales_strictMono H v upper B) hz m |
| 464 | |
| 465 | end Fields |
| 466 | |
| 467 | /-- Intermediate data produced by the proved nominal and finite-modulation |
| 468 | constructions. No PDE, support, smoothness, or residual conclusion is stored |
| 469 | as an input to this record. -/ |
| 470 | structure ProfileData where |
| 471 | outgoing : OutgoingProfile.Profile |
| 472 | nominal : NominalProfile.Witness outgoing |
| 473 | certificate : NominalConeAssembly.Certificate nominal |
| 474 | loop : ModulatedProfileAssembly.LoopData nominal |
| 475 | modulation : ModulatedProfileAssembly.Witness loop |
| 476 | fullTrueCone : LeadingStressWeights.FullTrueCone modulation |
| 477 | |
| 478 | theorem profileData_nonempty : Nonempty ProfileData := by |
| 479 | obtain ⟨F, W, H⟩ := NominalConeAssembly.exists_nominal_cone |
| 480 | obtain ⟨ld, v, hc⟩ := ModulatedProfileAssembly.exists_of_certificate W H |
| 481 | exact ⟨⟨F, W, H, ld, v, hc⟩⟩ |
| 482 | |
| 483 | /-- One actual profile is fixed before choosing the scale lower bound or |
| 484 | the compact profile box. -/ |
| 485 | noncomputable def actualProfile : ProfileData := Classical.choice profileData_nonempty |
| 486 | |
| 487 | end NavierStokes.FinalSlowBase |