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.UniformPrimaryWeights |
| 3 | import NavierStokes.FinalSlowBase |
| 4 | |
| 5 | /-! |
| 6 | # The actual normalized radial base component |
| 7 | |
| 8 | The radial coefficient is obtained from the same summed curl base and the |
| 9 | same admissible schedule as the angular and axial coefficients. Its small |
| 10 | factor is `Q^h`. The exact stream formula includes the factor `1/2` in |
| 11 | `AxisymmetricFields.velocity_zero`. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace NavierStokes.BaseRadialJets |
| 17 | |
| 18 | open Set Filter Function BaseChartJets PhaseJetBounds PrimaryPulseBounds |
| 19 | open scoped ContDiff Topology BigOperators |
| 20 | |
| 21 | abbrev Slow := PhaseCalculus.Slow |
| 22 | |
| 23 | noncomputable def averageSequence (d : SlowBorelBase.Coefficients) : ℕ → Inner → ℝ := |
| 24 | fun j => ProfileHistories.average (d.axial j) |
| 25 | |
| 26 | theorem averageSequence_eq_component (C : ℝ) (d : SlowBorelBase.Coefficients) : |
| 27 | averageSequence d = SlowBorelBase.bundleComponent C d 0 := by |
| 28 | funext j w |
| 29 | rfl |
| 30 | |
| 31 | theorem averageSequence_smooth {d : SlowBorelBase.Coefficients} |
| 32 | (hd : SlowBorelBase.SmoothCoefficients d) (j : ℕ) : ContDiff ℝ ∞ (averageSequence d j) := |
| 33 | SlowBorelBase.average_smooth (hd.axial j) |
| 34 | |
| 35 | theorem averageSequence_admissible {a : ℕ → ℕ} {h C : ℝ} |
| 36 | {d : SlowBorelBase.Coefficients} {K : Set Inner} (hd : SlowBorelBase.SmoothCoefficients d) |
| 37 | (ha : SlowBorelBase.AdmissibleScales h (SlowBorelBase.coefficientBundle C d) K a) : |
| 38 | SlowBorelBase.AdmissibleScales h (averageSequence d) K a := by |
| 39 | rw [averageSequence_eq_component C d] |
| 40 | exact SlowBorelBase.admissible_component hd ha 0 |
| 41 | |
| 42 | noncomputable def bandInput (h Q : ℝ) (p : Slow) : Chart := |
| 43 | (1 - Q * p.2.2, (Q * p.1 ^ 2 / 2, Q ^ CoordinateAlgebra.D h * p.2.1)) |
| 44 | |
| 45 | theorem bandInput_eq (h Q : ℝ) (p : Slow) : |
| 46 | bandInput h Q p = SimilarityHomogeneity.physicalScale h Q (physicalInput p) := by |
| 47 | apply Prod.ext |
| 48 | · change 1 - Q * p.2.2 = 1 - Q * (1 - (1 - p.2.2)) |
| 49 | ring |
| 50 | · apply Prod.ext |
| 51 | · change Q * p.1 ^ 2 / 2 = Q * (p.1 ^ 2 / 2) |
| 52 | ring |
| 53 | · rfl |
| 54 | |
| 55 | theorem bandInput_smooth (h Q : ℝ) : ContDiff ℝ ∞ (bandInput h Q) := |
| 56 | (contDiff_const.sub (contDiff_const.mul contDiff_snd.snd)).prodMk |
| 57 | (((contDiff_const.mul (contDiff_fst.pow 2)).div_const 2).prodMk |
| 58 | (contDiff_const.mul contDiff_snd.fst)) |
| 59 | |
| 60 | theorem bandInput_deriv_Z (h Q : ℝ) (p : Slow) : |
| 61 | fderiv ℝ (bandInput h Q) p (0, (1, 0)) = (0, (0, Q ^ CoordinateAlgebra.D h)) := by |
| 62 | have hc : HasDerivAt (fun t : ℝ => (p.1, (p.2.1 + t, p.2.2))) (0, (1, 0)) 0 := |
| 63 | (hasDerivAt_const 0 p.1).prodMk |
| 64 | (((hasDerivAt_id 0).const_add p.2.1).prodMk (hasDerivAt_const 0 p.2.2)) |
| 65 | have hd := ((bandInput_smooth h Q).differentiable (by simp)).differentiableAt.hasFDerivAt.comp_hasDerivAt 0 hc |
| 66 | have hd' : HasDerivAt (fun t : ℝ => bandInput h Q (p.1, (p.2.1 + t, p.2.2))) |
| 67 | (0, (0, Q ^ CoordinateAlgebra.D h)) 0 := by |
| 68 | have hdZ := ((hasDerivAt_id 0).const_add p.2.1).const_mul (Q ^ CoordinateAlgebra.D h) |
| 69 | have hfull := (hasDerivAt_const 0 (1 - Q * p.2.2)).prodMk |
| 70 | ((hasDerivAt_const 0 (Q * p.1 ^ 2 / 2)).prodMk hdZ) |
| 71 | simpa only [bandInput, mul_one, id_eq] using hfull |
| 72 | simpa only [add_zero] using hd.unique hd' |
| 73 | |
| 74 | /-- Full normalized average stream; no new coefficient sequence or cutoff |
| 75 | schedule is chosen. -/ |
| 76 | noncomputable def normalizedStream (a : ℕ → ℕ) (h : ℝ) (d : SlowBorelBase.Coefficients) |
| 77 | (Q : ℝ) (p : Slow) : ℝ := |
| 78 | axialFactor h p * SlowBorelBase.slowSum a h (averageSequence d) |
| 79 | (SlowBorelBase.scaleMap Q (normalizedCoordinates h p)) |
| 80 | |
| 81 | theorem normalizedStream_eq {a : ℕ → ℕ} {h C Q : ℝ} |
| 82 | (hh : 0 < h) (hh1 : h < 1 / 2) (hQ : 0 < Q) |
| 83 | (d : SlowBorelBase.Coefficients) {p : Slow} (hT : 0 < p.2.2) : |
| 84 | normalizedStream a h d Q p = Q ^ CoordinateAlgebra.A h * |
| 85 | SlowBorelBase.streamFactor a h C d (bandInput h Q p) := by |
| 86 | rw [bandInput_eq] |
| 87 | unfold SlowBorelBase.streamFactor SlowBorelBase.physicalProfile |
| 88 | rw [physicalChart_band hh hh1 hQ hT, ← averageSequence_eq_component] |
| 89 | simp only [SlowBorelBase.scaleMap_apply, smul_eq_mul] |
| 90 | rw [← mul_assoc, normalized_power hQ (normalizedCoordinates_q_pos hh hh1 hT)] |
| 91 | rfl |
| 92 | |
| 93 | /-- Chain rule for the actual physical axial coordinate. -/ |
| 94 | theorem normalizedStream_deriv_Z {a : ℕ → ℕ} (ha : StrictMono a) {h C Q : ℝ} |
| 95 | (hh : 0 < h) (hh1 : h < 1 / 2) (hQ : 0 < Q) |
| 96 | {d : SlowBorelBase.Coefficients} (hd : SlowBorelBase.SmoothCoefficients d) |
| 97 | {p : Slow} (hT : 0 < p.2.2) : |
| 98 | PhaseCalculus.slowZ (normalizedStream a h d Q) p = |
| 99 | Q ^ CoordinateAlgebra.A h * Q ^ CoordinateAlgebra.D h * |
| 100 | AxisymmetricFields.partialZ (SlowBorelBase.streamFactor a h C d) (bandInput h Q p) := by |
| 101 | have ht : (bandInput h Q p).1 < 1 := by |
| 102 | change 1 - Q * p.2.2 < 1 |
| 103 | linarith [mul_pos hQ hT] |
| 104 | have hs := (SlowBorelBase.physicalProfile_smoothAt ha hh hh1 |
| 105 | (SlowBorelBase.bundleComponent_smooth hd C 0) (-CoordinateAlgebra.A h) ht).differentiableAt (by simp) |
| 106 | change DifferentiableAt ℝ (SlowBorelBase.streamFactor a h C d) (bandInput h Q p) at hs |
| 107 | have he : normalizedStream a h d Q =ᶠ[𝓝 p] |
| 108 | (fun q => Q ^ CoordinateAlgebra.A h * SlowBorelBase.streamFactor a h C d (bandInput h Q q)) := by |
| 109 | filter_upwards [(isOpen_lt continuous_const continuous_snd.snd).mem_nhds hT] with q hq |
| 110 | exact normalizedStream_eq hh hh1 hQ d hq |
| 111 | have hb := ((bandInput_smooth h Q).differentiable (by simp)).differentiableAt (x := p) |>.hasFDerivAt |
| 112 | have hder := (hs.hasFDerivAt.comp p hb).const_mul (Q ^ CoordinateAlgebra.A h) |
| 113 | simp only [Function.comp_apply] at hder |
| 114 | unfold PhaseCalculus.slowZ |
| 115 | rw [he.fderiv_eq, hder.fderiv] |
| 116 | simp only [_root_.smul_apply, ContinuousLinearMap.comp_apply, |
| 117 | smul_eq_mul, bandInput_deriv_Z] |
| 118 | have hez : ((0, (0, Q ^ CoordinateAlgebra.D h)) : Chart) = |
| 119 | Q ^ CoordinateAlgebra.D h • (0, (0, 1)) := by simp |
| 120 | rw [hez, map_smul] |
| 121 | simp only [smul_eq_mul, AxisymmetricFields.partialZ] |
| 122 | ring |
| 123 | |
| 124 | noncomputable def reducedRadial (a : ℕ → ℕ) (h : ℝ) (d : SlowBorelBase.Coefficients) |
| 125 | (Q : ℝ) (p : Slow) : ℝ := |
| 126 | -(p.1 / 2) * PhaseCalculus.slowZ (normalizedStream a h d Q) p |
| 127 | |
| 128 | /-- Literal normalized radial component of the constructed curl base. -/ |
| 129 | noncomputable def radial (a : ℕ → ℕ) (h C : ℝ) (d : SlowBorelBase.Coefficients) |
| 130 | (Q : ℝ) (p : Slow) : ℝ := |
| 131 | Q ^ CoordinateAlgebra.A h * SlowBorelBase.baseVelocity a h C d (bandPoint h Q p) 0 |
| 132 | |
| 133 | theorem radial_eq {a : ℕ → ℕ} (ha : StrictMono a) {h C Q : ℝ} |
| 134 | (hh : 0 < h) (hh1 : h < 1 / 2) (hQ : 0 < Q) |
| 135 | {d : SlowBorelBase.Coefficients} (hd : SlowBorelBase.SmoothCoefficients d) |
| 136 | {p : Slow} (hT : 0 < p.2.2) : |
| 137 | radial a h C d Q p = Q ^ h * reducedRadial a h d Q p := by |
| 138 | have ht := bandPoint_time (h := h) hQ hT |
| 139 | have hH := (SlowBorelBase.physicalProfile_smoothAt ha hh hh1 |
| 140 | (SlowBorelBase.bundleComponent_smooth hd C 0) (-CoordinateAlgebra.A h) |
| 141 | (p := AxisymmetricFields.profilePoint (bandPoint h Q p).1 (bandPoint h Q p).2) ht).differentiableAt (by simp) |
| 142 | have hK := (SlowBorelBase.physicalProfile_smoothAt ha hh hh1 |
| 143 | (SlowBorelBase.bundleComponent_smooth hd C 1) (1 / 2 - CoordinateAlgebra.A h) |
| 144 | (p := AxisymmetricFields.profilePoint (bandPoint h Q p).1 (bandPoint h Q p).2) ht).differentiableAt (by simp) |
| 145 | have hv := AxisymmetricFields.velocity_zero (SlowBorelBase.streamFactor a h C d) |
| 146 | (SlowBorelBase.swirlPotential a h C d) (bandPoint h Q p).1 (bandPoint h Q p).2 hH hK |
| 147 | change SlowBorelBase.baseVelocity a h C d (bandPoint h Q p) 0 = |
| 148 | -(Real.sqrt Q * p.1) * AxisymmetricFields.partialZ (SlowBorelBase.streamFactor a h C d) |
| 149 | (AxisymmetricFields.profilePoint (bandPoint h Q p).1 (bandPoint h Q p).2) / 2 + 0 * _ at hv |
| 150 | rw [zero_mul, add_zero, bandPoint_profile hQ.le, ← bandInput_eq] at hv |
| 151 | have hpow : Real.sqrt Q = Q ^ h * Q ^ CoordinateAlgebra.D h := by |
| 152 | rw [Real.sqrt_eq_rpow, ← Real.rpow_add hQ] |
| 153 | congr 1 |
| 154 | unfold CoordinateAlgebra.D |
| 155 | ring |
| 156 | unfold radial reducedRadial |
| 157 | rw [hv, normalizedStream_deriv_Z ha hh hh1 hQ hd hT, hpow] |
| 158 | ring |
| 159 | |
| 160 | /-- A band-only nonnegative factor is an exact envelope and has no slow |
| 161 | derivatives. This does not divide by any vanishing spatial weight. -/ |
| 162 | theorem scalar_envelope {ι E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 163 | (D : Domain ι E) (w : ι → ℝ) (hw : ∀ i, 0 ≤ w i) : |
| 164 | EnvelopeJets (unitScale D) (fun i _ => w i) (fun i _ => w i) := by |
| 165 | apply uniform_envelope D.isOpen hw (fun _ => contDiffOn_const) |
| 166 | intro j |
| 167 | refine ⟨1, zero_lt_one, fun i x hx => ?_⟩ |
| 168 | cases j with |
| 169 | | zero => simpa only [norm_iteratedFDeriv_zero, Real.norm_eq_abs, one_mul] using le_of_eq (abs_of_nonneg (hw i)) |
| 170 | | succ j => simp only [iteratedFDeriv_succ_const, Pi.zero_apply, norm_zero, one_mul]; exact hw i |
| 171 | |
| 172 | section FinalBase |
| 173 | |
| 174 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 175 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 176 | (v : ModulatedProfileAssembly.Witness ld) |
| 177 | |
| 178 | end FinalBase |
| 179 | |
| 180 | end NavierStokes.BaseRadialJets |