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.WholeDomainHeatGeometry |
| 2 | |
| 3 | /-! # Exact scaling identities for the physical heat velocity and pressure -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | open Set Filter Function |
| 8 | open scoped Topology ContDiff BigOperators |
| 9 | |
| 10 | namespace NavierStokes.WholeDomainHeatBounds |
| 11 | |
| 12 | open ProblemStatement PhysicalWaveSum |
| 13 | |
| 14 | theorem rescale_angularVector (a : ℝ) (ha : 0 < a) (z : ℝ) (w : SpaceTime) : |
| 15 | BaseResidual.angularVector (rescale a ha z w) = |
| 16 | (Real.sqrt a)⁻¹ • BaseResidual.angularVector w := by |
| 17 | ext i |
| 18 | fin_cases i <;> simp [BaseResidual.angularVector, rescale_space, coordinateVector] |
| 19 | |
| 20 | theorem rescale_heat_ratio (a : ℝ) (ha : 0 < a) (z : ℝ) {w : SpaceTime} |
| 21 | (hs : 0 < AxisymmetricFields.radialEnergy w.2) : |
| 22 | (1-(rescale a ha z w).1) / AxisymmetricFields.radialEnergy (rescale a ha z w).2 = |
| 23 | (1-w.1) / AxisymmetricFields.radialEnergy w.2 := by |
| 24 | rw [rescale_time, rescale_radialEnergy] |
| 25 | field_simp |
| 26 | ring |
| 27 | |
| 28 | theorem heatCoefficient_rescale (C h a : ℝ) (ha : 0 < a) (z : ℝ) {w : SpaceTime} |
| 29 | (hs : 0 < AxisymmetricFields.radialEnergy w.2) : |
| 30 | a ^ RadialHeatProfile.spatialExponent (1+h) * |
| 31 | BaseExterior.heatCoefficient C h (AxisymmetricFields.profilePoint |
| 32 | (rescale a ha z w).1 (rescale a ha z w).2) * (Real.sqrt a)⁻¹ = |
| 33 | BaseExterior.heatCoefficient C h (AxisymmetricFields.profilePoint w.1 w.2) := by |
| 34 | rw [BaseExterior.heatCoefficient_eq, BaseExterior.heatCoefficient_eq] |
| 35 | simp only [TerminalStress.physicalHeat, RadialHeatProfile.spatialProfile, |
| 36 | AxisymmetricFields.profilePoint] |
| 37 | rw [rescale_radialEnergy, rescale_time] |
| 38 | have hr : 2*(1-(1-(1-w.1)/a)) / (AxisymmetricFields.radialEnergy w.2/a) = |
| 39 | 2*(1-w.1) / AxisymmetricFields.radialEnergy w.2 := by field_simp; ring |
| 40 | rw [hr, Real.div_rpow hs.le ha.le] |
| 41 | rw [show 2*(AxisymmetricFields.radialEnergy w.2/a) = |
| 42 | (2*AxisymmetricFields.radialEnergy w.2)/a by ring, |
| 43 | Real.sqrt_div (by positivity : 0 ≤ 2*AxisymmetricFields.radialEnergy w.2)] |
| 44 | have hp : a ^ RadialHeatProfile.spatialExponent (1+h) ≠ 0 := |
| 45 | (Real.rpow_pos_of_pos ha _).ne' |
| 46 | have hroot : Real.sqrt a ≠ 0 := (Real.sqrt_pos.mpr ha).ne' |
| 47 | field_simp |
| 48 | |
| 49 | theorem heatVelocity_rescale (C h a : ℝ) (ha : 0 < a) (z : ℝ) {w : SpaceTime} |
| 50 | (hs : 0 < AxisymmetricFields.radialEnergy w.2) : |
| 51 | BaseExterior.heatVelocity C h w = |
| 52 | a ^ RadialHeatProfile.spatialExponent (1+h) • |
| 53 | BaseExterior.heatVelocity C h (rescale a ha z w) := by |
| 54 | rw [BaseExterior.heatVelocity_eq_angularVector, |
| 55 | BaseExterior.heatVelocity_eq_angularVector, rescale_angularVector, |
| 56 | smul_smul, smul_smul, heatCoefficient_rescale C h a ha z hs] |
| 57 | |
| 58 | theorem heatPressure_rescale (C h a : ℝ) (ha : 0 < a) (z : ℝ) {w : SpaceTime} |
| 59 | (hs : 0 < AxisymmetricFields.radialEnergy w.2) : |
| 60 | BaseExterior.heatPressureField C h w = |
| 61 | a ^ (-2*TerminalPressure.amplitudeExponent h) * |
| 62 | BaseExterior.heatPressureField C h (rescale a ha z w) := by |
| 63 | change BaseExterior.heatPressure C h (AxisymmetricFields.profilePoint w.1 w.2) = |
| 64 | a ^ (-2*TerminalPressure.amplitudeExponent h) * |
| 65 | BaseExterior.heatPressure C h (AxisymmetricFields.profilePoint |
| 66 | (rescale a ha z w).1 (rescale a ha z w).2) |
| 67 | rw [BaseExterior.heatPressure_formula C h hs, |
| 68 | BaseExterior.heatPressure_formula C h (by |
| 69 | change 0 < AxisymmetricFields.radialEnergy (rescale a ha z w).2 |
| 70 | rw [rescale_radialEnergy]; exact div_pos hs ha)] |
| 71 | dsimp only [AxisymmetricFields.profilePoint] |
| 72 | rw [rescale_heat_ratio a ha z hs, rescale_radialEnergy, Real.div_rpow hs.le ha.le] |
| 73 | have hp : a ^ (-2*TerminalPressure.amplitudeExponent h) ≠ 0 := |
| 74 | (Real.rpow_pos_of_pos ha _).ne' |
| 75 | field_simp |
| 76 | |
| 77 | end NavierStokes.WholeDomainHeatBounds |