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 Euler.TransverseSolutionHomogeneity |
| 2 | import Euler.TransversePacketJoinedPaths |
| 3 | import Euler.PacketCylinderFieldAlgebra |
| 4 | |
| 5 | /-! |
| 6 | Exact homogeneity of admissible forcing and the actual joined inverse. |
| 7 | This permits one fixed unit-amplitude radius budget for every recursive |
| 8 | forcing amplitude, including zero. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace EulerTransversePacketProvider.Forcing |
| 14 | |
| 15 | open Set ContinuousLinearMap EulerSmoothLimit EulerLpCylinderTranslation EulerLpCylinderPaths |
| 16 | EulerPacketProfileRecursion EulerPacketCylinderField EulerCylinderAngleAverage |
| 17 | |
| 18 | variable {P : ℝ} [Fact (0 < P)] |
| 19 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 20 | {D : Data U} {raw raw' : VectorField} |
| 21 | |
| 22 | /-- Scalar multiplication of the literal forcing, with its genuine path witness. -/ |
| 23 | def smul (G : Forcing P D raw) (a : ℝ) : Forcing P D (a • raw) where |
| 24 | path := a • G.path |
| 25 | path_orbit := by simpa only [map_smul] using G.path_orbit.const_smul a |
| 26 | raw_eq := (Field.smul (⟨includePath P D.support D.support_measurable G.path, |
| 27 | G.path_orbit,G.raw_eq⟩ : Field P D.T raw) a).raw_eq |
| 28 | mean_zero t := by |
| 29 | change average P (a • (G.path t : CylinderL2 P Space)) = 0 |
| 30 | rw [map_smul,G.mean_zero t,smul_zero] |
| 31 | |
| 32 | theorem velocityPath_eq_smul (G : Forcing P D raw) (H : Forcing P D raw') |
| 33 | (I J : InitialData P D) (a : ℝ) (h : H.path = a • G.path) (hi : J.value = a • I.value) : |
| 34 | H.velocityPath J = a • G.velocityPath I := by |
| 35 | change EulerSourceCylinderEquation.velocity P D.support D.support_measurable D.T D.T_pos.le |
| 36 | D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower H.path J.value = _ |
| 37 | rw [h,hi] |
| 38 | exact EulerSourceCylinderEquation.velocity_smul P D.support D.support_measurable D.T D.T_pos.le |
| 39 | D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower a G.path I.value |
| 40 | |
| 41 | theorem derivativePath_eq_smul (G : Forcing P D raw) (H : Forcing P D raw') |
| 42 | (I J : InitialData P D) (a : ℝ) (h : H.path = a • G.path) (hi : J.value = a • I.value) : |
| 43 | H.derivativePath J = a • G.derivativePath I := by |
| 44 | change EulerSourceCylinderEquation.velocityDerivative P D.support D.support_measurable D.T D.T_pos.le |
| 45 | D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower H.path J.value = _ |
| 46 | rw [h,hi] |
| 47 | exact EulerSourceCylinderEquation.velocityDerivative_smul P D.support D.support_measurable D.T D.T_pos.le |
| 48 | D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower a G.path I.value |
| 49 | |
| 50 | end EulerTransversePacketProvider.Forcing |
| 51 | |
| 52 | namespace EulerTransversePacketProvider.HistoryData |
| 53 | |
| 54 | open Set ContinuousLinearMap EulerSmoothLimit EulerLpCylinderTranslation EulerLpCylinderPaths |
| 55 | EulerPacketProfileRecursion EulerTimeLp |
| 56 | |
| 57 | variable {P : ℝ} [Fact (0 < P)] |
| 58 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 59 | {D : Data U} (B : HistoryData D) {raw raw' : VectorField} |
| 60 | (G : Forcing P D raw) (H : Forcing P D raw') (a : ℝ) (h : H.path = a • G.path) |
| 61 | |
| 62 | include h |
| 63 | |
| 64 | theorem coordinatePath_eq_smul : B.coordinatePath H = a • B.coordinatePath G := by |
| 65 | have hf : forcingPath H = a • forcingPath G := by unfold forcingPath; rw [h,map_smul] |
| 66 | change B.coefficients.velocityPath P (pathLp D.T D.T_pos.le (forcingPath H)) = _ |
| 67 | rw [hf,pathLp_smul,map_smul] |
| 68 | rfl |
| 69 | |
| 70 | theorem velocityPath_eq_smul : B.velocityPath H = a • B.velocityPath G := by |
| 71 | have hf : forcingPath H = a • forcingPath G := by unfold forcingPath; rw [h,map_smul] |
| 72 | change B.coefficients.physicalVelocity P (forcingPath H) = _ |
| 73 | rw [hf,B.coefficients.physicalVelocity_smul P a (forcingPath G)] |
| 74 | rfl |
| 75 | |
| 76 | theorem derivativePath_eq_smul : B.derivativePath H = a • B.derivativePath G := by |
| 77 | have hf : forcingPath H = a • forcingPath G := by unfold forcingPath; rw [h,map_smul] |
| 78 | change B.coefficients.physicalDerivative P (forcingPath H) = _ |
| 79 | rw [hf,B.coefficients.physicalDerivative_smul P a (forcingPath G)] |
| 80 | rfl |
| 81 | |
| 82 | end EulerTransversePacketProvider.HistoryData |
| 83 | |
| 84 | namespace EulerElapsedTimePathGluing |
| 85 | |
| 86 | open Set EulerPacketTimePathGluing |
| 87 | |
| 88 | theorem join_smul {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 89 | (S τ : ℝ) (hτ : 0 ≤ τ) (hτS : τ ≤ S) |
| 90 | (u : C(Icc (0 : ℝ) τ,E)) (v : C(Icc (0 : ℝ) (S-τ),E)) |
| 91 | (hm : u ⟨τ,hτ,le_rfl⟩ = v ⟨0,le_rfl,sub_nonneg.mpr hτS⟩) (a : ℝ) : |
| 92 | join S τ hτ hτS (a • u) (a • v) (congrArg (a • ·) hm) = |
| 93 | a • join S τ hτ hτS u v hm := by |
| 94 | apply ContinuousMap.ext |
| 95 | intro t |
| 96 | change (if (t : ℝ) ≤ τ then a • u (projIcc 0 τ hτ t) |
| 97 | else a • v (elapsedTime S τ (projIcc τ S hτS t))) = |
| 98 | a • (if (t : ℝ) ≤ τ then u (projIcc 0 τ hτ t) |
| 99 | else v (elapsedTime S τ (projIcc τ S hτS t))) |
| 100 | split <;> rfl |
| 101 | |
| 102 | end EulerElapsedTimePathGluing |
| 103 | |
| 104 | namespace EulerTransversePacketJoin |
| 105 | |
| 106 | open Set ContinuousLinearMap EulerSmoothLimit EulerLpCylinderTranslation EulerLpCylinderPaths |
| 107 | EulerPacketProfileRecursion EulerTransversePacketProvider EulerElapsedTimePathGluing |
| 108 | EulerTimeIntervalRestriction |
| 109 | |
| 110 | variable {P : ℝ} [Fact (0 < P)] |
| 111 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 112 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 113 | (B : HistoryData (D.initial τ hτ hτT.le)) {raw raw' : VectorField} |
| 114 | (G : Forcing P D raw) (H : Forcing P D raw') (a : ℝ) (h : H.path = a • G.path) |
| 115 | |
| 116 | include h |
| 117 | |
| 118 | omit [CompleteSpace U] in |
| 119 | theorem initial_forcing_eq_smul : (H.initial τ hτ hτT.le).path = a • (G.initial τ hτ hτT.le).path := by |
| 120 | change initialPath D.T τ hτT.le H.path = a • initialPath D.T τ hτT.le G.path |
| 121 | rw [h,map_smul] |
| 122 | |
| 123 | omit [CompleteSpace U] in |
| 124 | theorem tail_forcing_eq_smul : (H.tail τ hτ.le hτT).path = a • (G.tail τ hτ.le hτT).path := by |
| 125 | change tailPath D.T τ hτ.le H.path = a • tailPath D.T τ hτ.le G.path |
| 126 | rw [h,map_smul] |
| 127 | |
| 128 | theorem forwardInitial_eq_smul : (forwardInitial τ hτ hτT B H).value = |
| 129 | a • (forwardInitial τ hτ hτT B G).value := by |
| 130 | apply Subtype.ext |
| 131 | change B.coordinatePath (H.initial τ hτ hτT.le) ⟨τ,hτ.le,le_rfl⟩ = |
| 132 | a • B.coordinatePath (G.initial τ hτ hτT.le) ⟨τ,hτ.le,le_rfl⟩ |
| 133 | rw [B.coordinatePath_eq_smul (G.initial τ hτ hτT.le) (H.initial τ hτ hτT.le) a |
| 134 | (initial_forcing_eq_smul τ hτ hτT G H a h),ContinuousMap.smul_apply] |
| 135 | |
| 136 | theorem pastVelocity_eq_smul : pastVelocity τ hτ hτT B H = a • pastVelocity τ hτ hτT B G := |
| 137 | B.velocityPath_eq_smul (G.initial τ hτ hτT.le) (H.initial τ hτ hτT.le) a |
| 138 | (initial_forcing_eq_smul τ hτ hτT G H a h) |
| 139 | |
| 140 | theorem pastDerivative_eq_smul : pastDerivative τ hτ hτT B H = a • pastDerivative τ hτ hτT B G := |
| 141 | B.derivativePath_eq_smul (G.initial τ hτ hτT.le) (H.initial τ hτ hτT.le) a |
| 142 | (initial_forcing_eq_smul τ hτ hτT G H a h) |
| 143 | |
| 144 | theorem futureVelocity_eq_smul : futureVelocity τ hτ hτT B H = a • futureVelocity τ hτ hτT B G := by |
| 145 | unfold futureVelocity |
| 146 | rw [(G.tail τ hτ.le hτT).velocityPath_eq_smul (H.tail τ hτ.le hτT) |
| 147 | (forwardInitial τ hτ hτT B G) (forwardInitial τ hτ hτT B H) a |
| 148 | (tail_forcing_eq_smul τ hτ hτT G H a h) (forwardInitial_eq_smul τ hτ hτT B G H a h)] |
| 149 | exact (includePath P D.support D.support_measurable).map_smul a _ |
| 150 | |
| 151 | theorem futureDerivative_eq_smul : futureDerivative τ hτ hτT B H = a • futureDerivative τ hτ hτT B G := by |
| 152 | unfold futureDerivative |
| 153 | rw [(G.tail τ hτ.le hτT).derivativePath_eq_smul (H.tail τ hτ.le hτT) |
| 154 | (forwardInitial τ hτ hτT B G) (forwardInitial τ hτ hτT B H) a |
| 155 | (tail_forcing_eq_smul τ hτ hτT G H a h) (forwardInitial_eq_smul τ hτ hτT B G H a h)] |
| 156 | exact (includePath P D.support D.support_measurable).map_smul a _ |
| 157 | |
| 158 | theorem velocityPath_eq_smul : velocityPath τ hτ hτT B H = a • velocityPath τ hτ hτT B G := by |
| 159 | apply ContinuousMap.ext |
| 160 | intro t |
| 161 | rw [ContinuousMap.smul_apply] |
| 162 | by_cases ht : (t : ℝ) ≤ τ |
| 163 | · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ |
| 164 | rw [velocityPath_left τ hτ hτT B H th,velocityPath_left τ hτ hτT B G th, |
| 165 | pastVelocity_eq_smul τ hτ hτT B G H a h,ContinuousMap.smul_apply] |
| 166 | · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ |
| 167 | rw [velocityPath_right τ hτ hτT B H tr,velocityPath_right τ hτ hτT B G tr, |
| 168 | futureVelocity_eq_smul τ hτ hτT B G H a h,ContinuousMap.smul_apply] |
| 169 | |
| 170 | theorem derivativePath_eq_smul : derivativePath τ hτ hτT B H = a • derivativePath τ hτ hτT B G := by |
| 171 | apply ContinuousMap.ext |
| 172 | intro t |
| 173 | rw [ContinuousMap.smul_apply] |
| 174 | by_cases ht : (t : ℝ) ≤ τ |
| 175 | · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ |
| 176 | rw [derivativePath_left τ hτ hτT B H th,derivativePath_left τ hτ hτT B G th, |
| 177 | pastDerivative_eq_smul τ hτ hτT B G H a h,ContinuousMap.smul_apply] |
| 178 | · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ |
| 179 | rw [derivativePath_right τ hτ hτT B H tr,derivativePath_right τ hτ hτT B G tr, |
| 180 | futureDerivative_eq_smul τ hτ hτT B G H a h,ContinuousMap.smul_apply] |
| 181 | |
| 182 | end EulerTransversePacketJoin |