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.ParametricHeatTail |
| 2 | import NavierStokes.TerminalStress |
| 3 | |
| 4 | /-! |
| 5 | # The heat edit in the actual implicit physical coordinates |
| 6 | |
| 7 | The parameter is `eta = z / q^(1/2-h)`, where the positive implicit branch |
| 8 | satisfies `1-t = q - z^2*q^(2*h)`. The quadratic-coordinate helper with |
| 9 | `q = tau + z^2` is not used here. These identities connect the actual heat |
| 10 | edit to the terminal angular velocity, including its normalization. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.PhysicalHeatCoordinates |
| 16 | |
| 17 | open SimilarityProfile |
| 18 | open scoped ContDiff |
| 19 | |
| 20 | theorem diffusion_eq_ratio {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 21 | {p : PhysicalPoint} (ht : p.1 < 1) : |
| 22 | ParametricHeatTail.diffusion (eta h p) = (1 - p.1) / q h p := by |
| 23 | have hq := q_pos hh hh1 ht |
| 24 | have he : 1 - p.1 = q h p * (1 - eta h p ^ 2) := |
| 25 | SimilarityCoordinates.tau_coordinate_identity (by linarith) (by linarith) |
| 26 | (p := (1 - p.1, p.2.2)) (sub_pos.mpr ht) |
| 27 | apply (eq_div_iff hq.ne').2 |
| 28 | change (1 - eta h p ^ 2) * q h p = 1 - p.1 |
| 29 | rw [mul_comm] |
| 30 | exact he.symm |
| 31 | |
| 32 | theorem heat_argument {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 33 | {p : PhysicalPoint} (ht : p.1 < 1) (hs : 0 < p.2.1) : |
| 34 | 2 * ParametricHeatTail.diffusion (eta h p) / X h p = |
| 35 | 2 * (1 - p.1) / p.2.1 := by |
| 36 | rw [diffusion_eq_ratio hh hh1 ht] |
| 37 | exact ParametricHeatTail.heat_ratio_physical (q_pos hh hh1 ht) hs |
| 38 | |
| 39 | noncomputable def normalization (d : OutgoingTail.TailData) (K : ℝ) : ℝ := |
| 40 | HeatTailEdit.outgoingAmplitude d * K ^ HeatTailEdit.exponent d.h |
| 41 | |
| 42 | theorem normalization_pos (d : OutgoingTail.TailData) {K : ℝ} (hK : 0 < K) : |
| 43 | 0 < normalization d K := |
| 44 | mul_pos (HeatTailEdit.outgoingAmplitude_pos d) (Real.rpow_pos_of_pos hK _) |
| 45 | |
| 46 | noncomputable def editedAngular (d : OutgoingTail.TailData) (K : ℝ) |
| 47 | (p : PhysicalPoint) : ℝ := |
| 48 | q d.h p ^ (-HeatTailEdit.exponent d.h) * |
| 49 | ParametricHeatTail.physicalEdit d K (eta d.h p) (X d.h p) |
| 50 | |
| 51 | noncomputable def shape (d : OutgoingTail.TailData) (K y : ℝ) : ℝ := |
| 52 | OutgoingTail.tailShape d (y - Real.log K + 1 / 5) |
| 53 | |
| 54 | theorem editedAngular_eq_heat (d : OutgoingTail.TailData) {K : ℝ} |
| 55 | (hK : 0 < K) (hh1 : d.h < 1 / 2) {p : PhysicalPoint} |
| 56 | (ht : p.1 < 1) (hs : 0 < p.2.1) |
| 57 | (hfull : 1 / 2 ≤ Real.log (X d.h p / K) + 1 / 5) : |
| 58 | editedAngular d K p = |
| 59 | TerminalStress.physicalHeat (normalization d K) (1 + d.h) p * |
| 60 | TerminalStress.flattening d.h (shape d K) p := by |
| 61 | have hq := q_pos d.h_pos hh1 ht |
| 62 | have hX : 0 < X d.h p := div_pos hs hq |
| 63 | have he := ParametricHeatTail.physicalEdit_heat_carrier d hK hq hs |
| 64 | (diffusion_eq_ratio d.h_pos hh1 ht) hfull |
| 65 | change editedAngular d K p = |
| 66 | TerminalStress.physicalHeat (normalization d K) (1 + d.h) p * |
| 67 | OutgoingTail.tailShape d (Real.log (X d.h p / K) + 1 / 5) at he |
| 68 | rw [Real.log_div hX.ne' hK.ne'] at he |
| 69 | exact he |
| 70 | |
| 71 | theorem editedAngular_eq_pure_heat (d : OutgoingTail.TailData) {K : ℝ} |
| 72 | (hK : 0 < K) (hh1 : d.h < 1 / 2) {p : PhysicalPoint} |
| 73 | (ht : p.1 < 1) (hs : 0 < p.2.1) |
| 74 | (hlate : 3 ≤ Real.log (X d.h p / K) + 1 / 5) : |
| 75 | editedAngular d K p = |
| 76 | TerminalStress.physicalHeat (normalization d K) (1 + d.h) p := by |
| 77 | exact ParametricHeatTail.physicalEdit_eventual_heat_carrier d hK |
| 78 | (q_pos d.h_pos hh1 ht) hs (diffusion_eq_ratio d.h_pos hh1 ht) hlate |
| 79 | |
| 80 | theorem editedAngular_div_radius (d : OutgoingTail.TailData) {K : ℝ} |
| 81 | (hK : 0 < K) (hh1 : d.h < 1 / 2) {p : PhysicalPoint} |
| 82 | (ht : p.1 < 1) (hs : 0 < p.2.1) |
| 83 | (hfull : 1 / 2 ≤ Real.log (X d.h p / K) + 1 / 5) : |
| 84 | editedAngular d K p / Real.sqrt (2 * p.2.1) = |
| 85 | TerminalStress.swirlCoefficient (normalization d K) d.h (shape d K) p := by |
| 86 | rw [editedAngular_eq_heat d hK hh1 ht hs hfull] |
| 87 | rfl |
| 88 | |
| 89 | /-- The normalized section is used only inside the physical time domain. |
| 90 | It supplies a direct profile-parameter comparison without `log(1-eta^2)`. |
| 91 | Endpoint extensions of profile factors are proved separately. -/ |
| 92 | noncomputable def normalizedSection (x e : ℝ) : PhysicalPoint := (e ^ 2, (x, e)) |
| 93 | |
| 94 | theorem q_normalizedSection {h e : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 95 | (he : e ^ 2 < 1) (x : ℝ) : q h (normalizedSection x e) = 1 := by |
| 96 | apply (SimilarityCoordinates.eq_coordinateQ (by linarith) (by linarith) |
| 97 | (p := (1 - e ^ 2, e)) (sub_pos.mpr he) (q := 1) (by norm_num) ?_).symm |
| 98 | simp [SimilarityCoordinates.forwardScalar] |
| 99 | |
| 100 | theorem eta_normalizedSection {h e : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 101 | (he : e ^ 2 < 1) (x : ℝ) : eta h (normalizedSection x e) = e := by |
| 102 | change e / q h (normalizedSection x e) ^ ((1 - 2 * h) / 2) = e |
| 103 | rw [q_normalizedSection hh hh1 he x] |
| 104 | simp |
| 105 | |
| 106 | theorem X_normalizedSection {h e : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 107 | (he : e ^ 2 < 1) (x : ℝ) : X h (normalizedSection x e) = x := by |
| 108 | change x / q h (normalizedSection x e) = x |
| 109 | rw [q_normalizedSection hh hh1 he x, div_one] |
| 110 | |
| 111 | theorem editedAngular_normalizedSection (d : OutgoingTail.TailData) |
| 112 | (hh1 : d.h < 1 / 2) {e : ℝ} (he : e ^ 2 < 1) (K x : ℝ) : |
| 113 | editedAngular d K (normalizedSection x e) = |
| 114 | ParametricHeatTail.physicalEdit d K e x := by |
| 115 | simp only [editedAngular, q_normalizedSection d.h_pos hh1 he x, |
| 116 | eta_normalizedSection d.h_pos hh1 he x, X_normalizedSection d.h_pos hh1 he x, |
| 117 | Real.one_rpow, one_mul] |
| 118 | |
| 119 | end NavierStokes.PhysicalHeatCoordinates |