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.MeanIncrementBounds |
| 2 | |
| 3 | /-! |
| 4 | # Changes in the angularly averaged residual |
| 5 | |
| 6 | Section 8.1, equation (8.3), of *Finite time blowup for Navier–Stokes* (166-page |
| 7 | version) gives the azimuthal and axial residuals and the radial pressure source. |
| 8 | This module subtracts those expressions before and after a covariance increment, |
| 9 | first with the mean fixed and then with a simultaneous mean update. It also bounds |
| 10 | the covariance contributions from a bound on each tensor entry. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.CorrectionStep |
| 16 | |
| 17 | open Set WeightedClasses MeanIncrementBounds |
| 18 | open scoped ContDiff BigOperators |
| 19 | |
| 20 | variable {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 21 | |
| 22 | abbrev ScalarField (D : Type) := MeanIncrementBounds.Field D |
| 23 | abbrev Tensor (D : Type) := Fin 3 → Fin 3 → ScalarField D |
| 24 | |
| 25 | /-- These are changes of the literal covariance terms in (8.3). -/ |
| 26 | noncomputable def thetaCovarianceChange (o : Operators D) (X : Tensor D) : ScalarField D := |
| 27 | o.radialDiv 2 (X 0 1) + o.dz (X 2 1) |
| 28 | |
| 29 | noncomputable def axialCovarianceChange (o : Operators D) (X : Tensor D) : ScalarField D := |
| 30 | o.radialDiv 1 (X 0 2) + o.dz (X 2 2) |
| 31 | |
| 32 | noncomputable def radialCovarianceChange (o : Operators D) (X : Tensor D) : ScalarField D := |
| 33 | -o.radialDiv 1 (X 0 0) - o.dz (X 2 0) + o.invRadius * X 1 1 |
| 34 | |
| 35 | theorem smooth_updated {U : Set D} {m h : Triple D} |
| 36 | (hm : SmoothTriple U m) (hh : SmoothTriple U h) : SmoothTriple U (updated m h) := |
| 37 | ⟨hm.radial.add hh.radial, hm.angular.add hh.angular, hm.axial.add hh.axial⟩ |
| 38 | |
| 39 | section CovarianceChanges |
| 40 | |
| 41 | variable {U : Set D} (hU : IsOpen U) (o : Operators D) |
| 42 | {b m : Triple D} (hb : SmoothTriple U b) (hm : SmoothTriple U m) |
| 43 | (W X : Tensor D) (hW : ∀ i j, SmoothOn U (W i j)) |
| 44 | (hX : ∀ i j, SmoothOn U (X i j)) |
| 45 | |
| 46 | include hU hb hm hW hX in |
| 47 | theorem thetaResidual_covariance_change (T : ScalarField D) : |
| 48 | Agree U (thetaResidual o b m (W + X) T - thetaResidual o b m W T) |
| 49 | (thetaCovarianceChange o X) := by |
| 50 | have hr : thetaRadial b m + (W + X) 0 1 = (thetaRadial b m + W 0 1) + X 0 1 := by |
| 51 | funext n x |
| 52 | simp only [Pi.add_apply] |
| 53 | ring |
| 54 | have hz : thetaAxial b m + (W + X) 2 1 = (thetaAxial b m + W 2 1) + X 2 1 := by |
| 55 | funext n x |
| 56 | simp only [Pi.add_apply] |
| 57 | ring |
| 58 | simp only [Pi.add_apply] at hr hz |
| 59 | intro n x hx |
| 60 | simp only [thetaResidual, Pi.sub_apply, Pi.add_apply] |
| 61 | rw [hr, hz, o.radialDiv_add hU 2 ((hb.thetaRadial hm).add (hW 0 1)) (hX 0 1) n hx, |
| 62 | o.dz_add hU ((hb.thetaAxial hm).add (hW 2 1)) (hX 2 1) n hx] |
| 63 | simp only [thetaCovarianceChange, Pi.add_apply] |
| 64 | ring |
| 65 | |
| 66 | include hU hb hm hW hX in |
| 67 | theorem axialResidual_covariance_change (p T : ScalarField D) (hp : SmoothOn U p) : |
| 68 | Agree U (axialResidual o b m (W + X) p T - axialResidual o b m W p T) |
| 69 | (axialCovarianceChange o X) := by |
| 70 | have hr : axialRadial b m + (W + X) 0 2 = (axialRadial b m + W 0 2) + X 0 2 := by |
| 71 | funext n x |
| 72 | simp only [Pi.add_apply] |
| 73 | ring |
| 74 | have hz : axialAxial b m + (W + X) 2 2 + p = (axialAxial b m + W 2 2 + p) + X 2 2 := by |
| 75 | funext n x |
| 76 | simp only [Pi.add_apply] |
| 77 | ring |
| 78 | simp only [Pi.add_apply] at hr hz |
| 79 | intro n x hx |
| 80 | simp only [axialResidual, Pi.sub_apply, Pi.add_apply] |
| 81 | rw [hr, hz, o.radialDiv_add hU 1 ((hb.axialRadial hm).add (hW 0 2)) (hX 0 2) n hx, |
| 82 | o.dz_add hU (((hb.axialAxial hm).add (hW 2 2)).add hp) (hX 2 2) n hx] |
| 83 | simp only [axialCovarianceChange, Pi.add_apply] |
| 84 | ring |
| 85 | |
| 86 | include hU hb hm hW hX in |
| 87 | theorem gr_covariance_change : |
| 88 | Agree U (gr o b m (W + X) - gr o b m W) (radialCovarianceChange o X) := by |
| 89 | have hr : radialRadial b m + (W + X) 0 0 = (radialRadial b m + W 0 0) + X 0 0 := by |
| 90 | funext n x |
| 91 | simp only [Pi.add_apply] |
| 92 | ring |
| 93 | have hz : axialRadial b m + (W + X) 2 0 = (axialRadial b m + W 2 0) + X 2 0 := by |
| 94 | funext n x |
| 95 | simp only [Pi.add_apply] |
| 96 | ring |
| 97 | simp only [Pi.add_apply] at hr hz |
| 98 | intro n x hx |
| 99 | simp only [gr, Pi.sub_apply, Pi.add_apply, Pi.neg_apply, Pi.mul_apply] |
| 100 | rw [hr, hz, o.radialDiv_add hU 1 ((hb.radialRadial hm).add (hW 0 0)) (hX 0 0) n hx, |
| 101 | o.dz_add hU ((hb.axialRadial hm).add (hW 2 0)) (hX 2 0) n hx] |
| 102 | simp only [radialCovarianceChange, Pi.add_apply, Pi.sub_apply, Pi.neg_apply, Pi.mul_apply] |
| 103 | ring |
| 104 | |
| 105 | end CovarianceChanges |
| 106 | |
| 107 | section JointChanges |
| 108 | |
| 109 | variable {U : Set D} (hU : IsOpen U) (o : Operators D) |
| 110 | (ha : ContDiffOn ℝ ∞ o.radialProfile U) |
| 111 | {b m h : Triple D} (hb : SmoothTriple U b) (hm : SmoothTriple U m) |
| 112 | (hh : SmoothTriple U h) (W X : Tensor D) |
| 113 | (hW : ∀ i j, SmoothOn U (W i j)) (hX : ∀ i j, SmoothOn U (X i j)) |
| 114 | |
| 115 | include hU ha hb hm hh hW hX in |
| 116 | theorem thetaResidual_joint_change (T : ScalarField D) : |
| 117 | Agree U (thetaResidual o b (updated m h) (W + X) T - thetaResidual o b m W T) |
| 118 | (o.fastTime h.angular + thetaRemainder o b m h + thetaCovarianceChange o X) := by |
| 119 | intro n x hx |
| 120 | have hmean := thetaResidual_change hU o ha hb hm hh W hW T n hx |
| 121 | have hwave := thetaResidual_covariance_change hU o hb (smooth_updated hm hh) W X hW hX T n hx |
| 122 | simp only [Pi.add_apply, Pi.sub_apply] at * |
| 123 | linarith |
| 124 | |
| 125 | include hU ha hb hm hh hW hX in |
| 126 | theorem axialResidual_joint_change (p δp T : ScalarField D) |
| 127 | (hp : SmoothOn U p) (hδp : SmoothOn U δp) : |
| 128 | Agree U (axialResidual o b (updated m h) (W + X) (p + δp) T - |
| 129 | axialResidual o b m W p T) |
| 130 | (o.fastTime h.axial + axialRemainder o b m h δp + axialCovarianceChange o X) := by |
| 131 | intro n x hx |
| 132 | have hmean := axialResidual_change hU o ha hb hm hh W hW p δp T hp hδp n hx |
| 133 | have hwave := axialResidual_covariance_change hU o hb (smooth_updated hm hh) W X hW hX |
| 134 | (p + δp) T (hp.add hδp) n hx |
| 135 | simp only [Pi.add_apply, Pi.sub_apply] at * |
| 136 | linarith |
| 137 | |
| 138 | include hU ha hb hm hh hW hX in |
| 139 | theorem gr_joint_change : |
| 140 | Agree U (gr o b (updated m h) (W + X) - gr o b m W) |
| 141 | (leadingRadial o b h + radialRemainder o b m h + radialCovarianceChange o X) := by |
| 142 | intro n x hx |
| 143 | have hmean := gr_change hU o ha hb hm hh W hW n hx |
| 144 | have hwave := gr_covariance_change hU o hb (smooth_updated hm hh) W X hW hX n hx |
| 145 | simp only [Pi.add_apply, Pi.sub_apply] at * |
| 146 | linarith |
| 147 | |
| 148 | end JointChanges |
| 149 | |
| 150 | /-- A bound on each actual tensor entry. It is not a bound on the resulting |
| 151 | residual and contains no update-preservation assertion. -/ |
| 152 | def TensorClass (s : StripData D) (α : ℝ) (X : Tensor D) : Prop := |
| 153 | ∀ i j, MeanClass s α (X i j) |
| 154 | |
| 155 | section CovarianceBounds |
| 156 | |
| 157 | variable {s : StripData D} {o : Operators D} {κ α : ℝ} |
| 158 | (ho : OperatorBounds s o κ) {X : Tensor D} (hX : TensorClass s α X) |
| 159 | |
| 160 | include ho hX in |
| 161 | theorem thetaCovarianceChange_mem : |
| 162 | MeanClass s (α - κ) (thetaCovarianceChange o X) := by |
| 163 | exact (ho.radialDiv (hX 0 1) 2).add |
| 164 | ((ho.dz (hX 2 1)).mono_exponent (by linarith [ho.kappa_nonneg])) |
| 165 | |
| 166 | include ho hX in |
| 167 | theorem axialCovarianceChange_mem : |
| 168 | MeanClass s (α - κ) (axialCovarianceChange o X) := by |
| 169 | exact (ho.radialDiv (hX 0 2) 1).add |
| 170 | ((ho.dz (hX 2 2)).mono_exponent (by linarith [ho.kappa_nonneg])) |
| 171 | |
| 172 | include ho hX in |
| 173 | theorem radialCovarianceChange_mem : |
| 174 | MeanClass s (α - κ) (radialCovarianceChange o X) := by |
| 175 | exact (Class.sub (Class.neg (ho.radialDiv (hX 0 0) 1)) |
| 176 | ((ho.dz (hX 2 0)).mono_exponent (by linarith [ho.kappa_nonneg]))).add |
| 177 | ((ho.inv_mul (hX 1 1)).mono_exponent (by linarith [ho.kappa_nonneg])) |
| 178 | |
| 179 | end CovarianceBounds |
| 180 | |
| 181 | end NavierStokes.CorrectionStep |