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.TransversePacketJoinedParity |
| 2 | import Euler.TransversePacketJoinedEquation |
| 3 | import Euler.TransversePacketJoinedPressure |
| 4 | import Euler.TransversePacketHomogeneity |
| 5 | import Euler.PacketCylinderFieldUnique |
| 6 | |
| 7 | /-! |
| 8 | # Total raw-field provider for a positive history time |
| 9 | |
| 10 | Every admissible input is sent to the constructed history/forward solution. |
| 11 | Its raw PDE, tangent constraint, parity, actual Field witnesses, true time |
| 12 | derivative, pressure gradient and literal curl corrector are all exported. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | namespace EulerTransversePacketProvider.Forcing |
| 18 | |
| 19 | open EulerLpCylinderPaths |
| 20 | |
| 21 | variable {P : ℝ} [Fact (0 < P)] |
| 22 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 23 | {D : Data U} {raw : EulerPacketProfileRecursion.VectorField} |
| 24 | |
| 25 | /-- The genuine cylinder forcing path is determined by its prescribed raw field. -/ |
| 26 | theorem path_unique (G H : Forcing P D raw) : G.path = H.path := by |
| 27 | have he := G.forcingField.path_eq_of_same_raw H.forcingField |
| 28 | have hp := congrArg (projectPath P D.support D.support_measurable) he |
| 29 | simpa only [forcingField,project_include] using hp |
| 30 | |
| 31 | end EulerTransversePacketProvider.Forcing |
| 32 | |
| 33 | namespace EulerTransversePacketJoin |
| 34 | |
| 35 | open Set ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerLiftedGradientSpace |
| 36 | EulerLpCylinderTranslation EulerLpCylinderPaths EulerCylinderSmoothOrbit |
| 37 | EulerPacketProfileRecursion EulerTransversePacketProvider EulerTimeIntervalRestriction |
| 38 | EulerPacketCylinderField EulerSourceNormalResidualBounds EulerPacketPointJets |
| 39 | |
| 40 | variable {P : ℝ} [Fact (0 < P)] |
| 41 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 42 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 43 | (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G H : Forcing P D raw) |
| 44 | |
| 45 | theorem vector_independent_of_witness : vector τ hτ hτT B G = vector τ hτ hτT B H := by |
| 46 | have hv : velocityPath τ hτ hτT B G = velocityPath τ hτ hτT B H := by |
| 47 | simpa only [one_smul] using velocityPath_eq_smul τ hτ hτT B H G 1 |
| 48 | (by simpa only [one_smul] using G.path_unique H) |
| 49 | funext z |
| 50 | exact congrFun (pointField_eq_of_slice_eq P _ _ (velocityPath_orbit τ hτ hτT B G) |
| 51 | (velocityPath_orbit τ hτ hτT B H) (D.clamp z.1) (D.clamp z.1) |
| 52 | (congrArg (fun p => p (D.clamp z.1)) hv)) (z.2.1,(z.2.2 : AddCircle P)) |
| 53 | |
| 54 | theorem scalar_independent_of_witness : scalar τ hτ hτT B G = scalar τ hτ hτT B H := by |
| 55 | have hv : velocityPath τ hτ hτT B G = velocityPath τ hτ hτT B H := by |
| 56 | simpa only [one_smul] using velocityPath_eq_smul τ hτ hτT B H G 1 |
| 57 | (by simpa only [one_smul] using G.path_unique H) |
| 58 | have hp : pressurePath τ hτ hτT B G = pressurePath τ hτ hτT B H := by |
| 59 | rw [pressurePath_eq_source,pressurePath_eq_source,hv] |
| 60 | exact congrArg (fun p => sourcePressure P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 61 | (includePath P D.support D.support_measurable p) (velocityPath τ hτ hτT B H)) (G.path_unique H) |
| 62 | funext z |
| 63 | exact congrFun (scalarPointField_eq_of_slice_eq P _ _ (pressurePath_orbit τ hτ hτT B G) |
| 64 | (pressurePath_orbit τ hτ hτT B H) (D.clamp z.1) (D.clamp z.1) |
| 65 | (congrArg (fun p => p (D.clamp z.1)) hp)) (z.2.1,(z.2.2 : AddCircle P)) |
| 66 | |
| 67 | theorem vector_tangent (t : Set.Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 68 | ⟪D.normalField (t,(x,θ)),vector τ hτ hτT B G (t,(x,θ))⟫_ℝ = 0 := by |
| 69 | by_cases ht : (t : ℝ) ≤ τ |
| 70 | · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ |
| 71 | rw [vector_left τ hτ hτT B G th x θ] |
| 72 | simp only [Data.normalField,Data.clamp_coe] |
| 73 | change ⟪(D.initial τ hτ hτT.le).normal.field th x, |
| 74 | B.field (G.initial τ hτ hτT.le) th (x,(θ : AddCircle P))⟫_ℝ = 0 |
| 75 | exact B.field_tangent (G.initial τ hτ hτT.le) th (x,(θ : AddCircle P)) |
| 76 | · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ |
| 77 | let tf : Icc (0 : ℝ) (D.tail τ hτ.le hτT).T := |
| 78 | ⟨(t : ℝ)-τ,sub_nonneg.mpr tr.property.1,sub_le_sub_right t.property.2 τ⟩ |
| 79 | have he : tailInclusion D.T τ hτ.le tf = t := by |
| 80 | apply Subtype.ext |
| 81 | change τ+((t : ℝ)-τ) = t |
| 82 | ring |
| 83 | have hm : (D.tail τ hτ.le hτT).normalField (tf,(x,θ)) = D.normalField (t,(x,θ)) := by |
| 84 | simp only [Data.normalField,Data.clamp_coe] |
| 85 | change D.normal.field (tailInclusion D.T τ hτ.le tf) x = _ |
| 86 | rw [he] |
| 87 | rw [vector_right τ hτ hτT B G tr x θ,← hm] |
| 88 | exact (G.tail τ hτ.le hτT).vector_tangent (forwardInitial τ hτ hτT B G) tf x θ |
| 89 | |
| 90 | /-- The total high operator, backed by the unique genuine solution on admissible inputs. -/ |
| 91 | def highSolve (raw : VectorField) : VectorField × ScalarField := by |
| 92 | classical |
| 93 | exact if h : Nonempty (Forcing P D raw) then |
| 94 | (vector τ hτ hτT B (Classical.choice h),scalar τ hτ hτT B (Classical.choice h)) |
| 95 | else (0,0) |
| 96 | |
| 97 | theorem highSolve_of_admissible (h : Nonempty (Forcing P D raw)) : |
| 98 | highSolve (P := P) τ hτ hτT B raw = |
| 99 | (vector τ hτ hτT B (Classical.choice h),scalar τ hτ hτT B (Classical.choice h)) := by |
| 100 | simp only [highSolve,dite_eq_left h] |
| 101 | |
| 102 | theorem highSolve_eq : highSolve (P := P) τ hτ hτT B raw = |
| 103 | (vector τ hτ hτT B G,scalar τ hτ hτT B G) := by |
| 104 | rw [highSolve_of_admissible τ hτ hτT B ⟨G⟩] |
| 105 | exact Prod.ext (vector_independent_of_witness τ hτ hτT B _ G) |
| 106 | (scalar_independent_of_witness τ hτ hτT B _ G) |
| 107 | |
| 108 | variable (h : Nonempty (Forcing P D raw)) |
| 109 | |
| 110 | def highVectorField : Field P D.T (highSolve (P := P) τ hτ hτT B raw).1 := |
| 111 | (vectorField τ hτ hτT B (Classical.choice h)).congr (fun t x θ => by |
| 112 | rw [highSolve_of_admissible τ hτ hτT B h]) |
| 113 | |
| 114 | def highDerivativeField : Field P D.T (vectorDerivative τ hτ hτT B (Classical.choice h)) := |
| 115 | vectorDerivativeField τ hτ hτT B (Classical.choice h) |
| 116 | |
| 117 | theorem highVectorField_time : TimeDerivative D.T_pos.le |
| 118 | (highVectorField τ hτ hτT B h) (highDerivativeField τ hτ hτT B h) := |
| 119 | vectorField_time τ hτ hτT B (Classical.choice h) |
| 120 | |
| 121 | def highPressureGradientField : Field P D.T (pressureGradient (highSolve (P := P) τ hτ hτT B raw).2) := |
| 122 | (scalarGradientField τ hτ hτT B (Classical.choice h)).congr (fun t x θ => by |
| 123 | rw [highSolve_of_admissible τ hτ hτT B h]) |
| 124 | |
| 125 | def highCorrectorField : Field P D.T (D.curlCorrector P (highSolve (P := P) τ hτ hτT B raw).1) where |
| 126 | path := correctorPath τ hτ hτT B (Classical.choice h) |
| 127 | orbit := correctorPath_orbit τ hτ hτT B (Classical.choice h) |
| 128 | raw_eq t x θ := by |
| 129 | rw [highSolve_of_admissible τ hτ hτT B h] |
| 130 | exact (correctorField τ hτ hτT B (Classical.choice h)).raw_eq t x θ |
| 131 | |
| 132 | def highCorrectorDerivativeField : Field P D.T (correctorDerivative τ hτ hτT B (Classical.choice h)) where |
| 133 | path := correctorTimePath τ hτ hτT B (Classical.choice h) |
| 134 | orbit := correctorTimePath_orbit τ hτ hτT B (Classical.choice h) |
| 135 | raw_eq t x θ := (correctorDerivativeField τ hτ hτT B (Classical.choice h)).raw_eq t x θ |
| 136 | |
| 137 | theorem highCorrectorField_time : TimeDerivative D.T_pos.le |
| 138 | (highCorrectorField τ hτ hτT B h) (highCorrectorDerivativeField τ hτ hτT B h) := by |
| 139 | intro t |
| 140 | exact correctorPath_time τ hτ hτT B (Classical.choice h) t |
| 141 | |
| 142 | include h in |
| 143 | theorem highSolve_equation (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 144 | linearPart (D.strain (t,(x,θ))) |
| 145 | (slicedJet (Icc (0 : ℝ) D.T) (highSolve (P := P) τ hτ hτT B raw).1 (t,(x,θ)))+ |
| 146 | fastPressure (D.normalField (t,(x,θ))) |
| 147 | (pressureJet (highSolve (P := P) τ hτ hτT B raw).2 (t,(x,θ))) = raw (t,(x,θ)) := by |
| 148 | rw [highSolve_of_admissible τ hτ hτT B h] |
| 149 | exact jet_equation τ hτ hτT B (Classical.choice h) t x θ |
| 150 | |
| 151 | include h in |
| 152 | theorem highSolve_parity |
| 153 | (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) |
| 154 | (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) |
| 155 | (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) |
| 156 | (hH : ∀ t x, B.H.field t (-x) = B.H.field t x) |
| 157 | (hraw : ∀ (t : Icc (0 : ℝ) D.T) x θ, raw (t,(-x,-θ)) = -raw (t,(x,θ))) : |
| 158 | (∀ (t : Icc (0 : ℝ) D.T) x θ, (highSolve (P := P) τ hτ hτT B raw).1 (t,(-x,-θ)) = |
| 159 | -(highSolve (P := P) τ hτ hτT B raw).1 (t,(x,θ))) ∧ |
| 160 | (∀ (t : Icc (0 : ℝ) D.T) x θ, (highSolve (P := P) τ hτ hτT B raw).2 (t,(-x,-θ)) = |
| 161 | (highSolve (P := P) τ hτ hτT B raw).2 (t,(x,θ))) := by |
| 162 | rw [highSolve_of_admissible τ hτ hτT B h] |
| 163 | exact ⟨vector_odd τ hτ hτT B (Classical.choice h) hSym hF hM hH hraw, |
| 164 | scalar_even τ hτ hτT B (Classical.choice h) hSym hF hM hH hraw⟩ |
| 165 | |
| 166 | end EulerTransversePacketJoin |