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.TransversePacketHistoryData |
| 2 | import Euler.TransversePacketForcing |
| 3 | import Euler.CylinderDirichletEquation |
| 4 | import Euler.CylinderDirichletRegularity |
| 5 | import Euler.CylinderDirichletSupport |
| 6 | import Euler.CylinderDirichletParity |
| 7 | import Euler.SourceNormalResidualBounds |
| 8 | |
| 9 | /-! |
| 10 | # The actual forced transverse history on packet fields |
| 11 | |
| 12 | The forcing is an ordinary admissible cylinder path. Source deformation and |
| 13 | Hessian data construct its zero-endpoint history, physical velocity, true |
| 14 | time derivative, and scalar pressure path. No output regularity or equation |
| 15 | is included in the input. |
| 16 | -/ |
| 17 | |
| 18 | noncomputable section |
| 19 | |
| 20 | namespace EulerTransversePacketProvider.HistoryData |
| 21 | |
| 22 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerMeanCoefficients |
| 23 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths EulerTimeLp |
| 24 | EulerCylinderSmoothOrbit EulerCylinderAngleAverage EulerVolterraConvolution EulerMetricTransport |
| 25 | EulerSourceNormalResidualBounds EulerPacketProfileRecursion EulerCylinderFieldReflection |
| 26 | open scoped ContDiff BoundedContinuousFunction |
| 27 | |
| 28 | variable {P : ℝ} [Fact (0 < P)] |
| 29 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 30 | {D : Data U} (B : HistoryData D) {raw : VectorField} (G : Forcing P D raw) |
| 31 | |
| 32 | abbrev forcingPath := includePath P D.support D.support_measurable G.path |
| 33 | |
| 34 | def coordinatePath : C(Icc (0 : ℝ) D.T,CylinderL2 P U) := |
| 35 | B.coefficients.velocityPath P (pathLp D.T D.T_pos.le (forcingPath G)) |
| 36 | |
| 37 | def coordinateDerivativePath : C(Icc (0 : ℝ) D.T,CylinderL2 P U) := |
| 38 | B.coefficients.accelerationPath P (forcingPath G) |
| 39 | |
| 40 | def velocityPath : C(Icc (0 : ℝ) D.T,CylinderL2 P Space) := |
| 41 | B.coefficients.physicalVelocity P (forcingPath G) |
| 42 | |
| 43 | def derivativePath : C(Icc (0 : ℝ) D.T,CylinderL2 P Space) := |
| 44 | B.coefficients.physicalDerivative P (forcingPath G) |
| 45 | |
| 46 | def pressurePath : C(Icc (0 : ℝ) D.T,CylinderL2 P ℝ) := |
| 47 | sourcePressure P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 48 | (forcingPath G) (B.velocityPath G) |
| 49 | |
| 50 | theorem coordinatePath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (B.coordinatePath G)) := |
| 51 | B.coefficients.velocityPath_orbit_contDiff P D.frame.translation_contDiff |
| 52 | D.frameDerivative.translation_contDiff B.H.translation_contDiff (forcingPath G) G.path_orbit |
| 53 | |
| 54 | theorem coordinateDerivativePath_orbit : |
| 55 | ContDiff ℝ ∞ (fun a => pathTranslate P a (B.coordinateDerivativePath G)) := |
| 56 | B.coefficients.accelerationPath_orbit_contDiff P D.frame.translation_contDiff |
| 57 | D.frameDerivative.translation_contDiff B.H.translation_contDiff (forcingPath G) G.path_orbit |
| 58 | |
| 59 | theorem velocityPath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (B.velocityPath G)) := |
| 60 | B.coefficients.physicalVelocity_orbit_contDiff P D.frame.translation_contDiff |
| 61 | D.frameDerivative.translation_contDiff B.H.translation_contDiff (forcingPath G) G.path_orbit |
| 62 | |
| 63 | theorem derivativePath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (B.derivativePath G)) := |
| 64 | B.coefficients.physicalDerivative_orbit_contDiff P D.frame.translation_contDiff |
| 65 | D.frameDerivative.translation_contDiff B.H.translation_contDiff (forcingPath G) G.path_orbit |
| 66 | |
| 67 | theorem pressurePath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (B.pressurePath G)) := |
| 68 | sourcePressure_contDiff P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 69 | (forcingPath G) (B.velocityPath G) G.path_orbit (B.velocityPath_orbit G) |
| 70 | |
| 71 | theorem coordinatePath_time (t : Icc (0 : ℝ) D.T) : |
| 72 | HasDerivWithinAt (extendPath D.T D.T_pos.le (B.coordinatePath G)) |
| 73 | (B.coordinateDerivativePath G t) (Icc (0 : ℝ) D.T) t := |
| 74 | B.coefficients.velocity_hasDerivWithinAt P (forcingPath G) t |
| 75 | |
| 76 | theorem velocityPath_time (t : Icc (0 : ℝ) D.T) : |
| 77 | HasDerivWithinAt (extendPath D.T D.T_pos.le (B.velocityPath G)) |
| 78 | (B.derivativePath G t) (Icc (0 : ℝ) D.T) t := |
| 79 | B.coefficients.physicalVelocity_hasDerivWithinAt P (forcingPath G) t |
| 80 | |
| 81 | theorem coordinatePath_supported (t : Icc (0 : ℝ) D.T) : |
| 82 | B.coordinatePath G t ∈ Supported P U D.support D.support_measurable := |
| 83 | B.coefficients.velocityPath_supported P D.support D.support_measurable |
| 84 | (forcingPath G) (fun s => (G.path s).property) t |
| 85 | |
| 86 | theorem velocityPath_supported (t : Icc (0 : ℝ) D.T) : |
| 87 | B.velocityPath G t ∈ Supported P Space D.support D.support_measurable := |
| 88 | B.coefficients.physicalVelocity_supported P D.support D.support_measurable |
| 89 | (forcingPath G) (fun s => (G.path s).property) t |
| 90 | |
| 91 | theorem derivativePath_supported (t : Icc (0 : ℝ) D.T) : |
| 92 | B.derivativePath G t ∈ Supported P Space D.support D.support_measurable := |
| 93 | B.coefficients.physicalDerivative_supported P D.support D.support_measurable |
| 94 | (forcingPath G) (fun s => (G.path s).property) t |
| 95 | |
| 96 | theorem coordinatePath_mean_zero (t : Icc (0 : ℝ) D.T) : average P (B.coordinatePath G t) = 0 := |
| 97 | B.coefficients.velocityPath_mean_zero P (forcingPath G) G.mean_zero t |
| 98 | |
| 99 | theorem velocityPath_mean_zero (t : Icc (0 : ℝ) D.T) : average P (B.velocityPath G t) = 0 := |
| 100 | B.coefficients.physicalVelocity_mean_zero P (forcingPath G) G.mean_zero t |
| 101 | |
| 102 | theorem derivativePath_mean_zero (t : Icc (0 : ℝ) D.T) : average P (B.derivativePath G t) = 0 := |
| 103 | B.coefficients.physicalDerivative_mean_zero P (forcingPath G) G.mean_zero t |
| 104 | |
| 105 | def field (t : Icc (0 : ℝ) D.T) : LiftDomain P → Space := |
| 106 | pointField P (B.velocityPath G) (B.velocityPath_orbit G) t |
| 107 | |
| 108 | def derivativeField (t : Icc (0 : ℝ) D.T) : LiftDomain P → Space := |
| 109 | pointField P (B.derivativePath G) (B.derivativePath_orbit G) t |
| 110 | |
| 111 | theorem field_smooth (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) : |
| 112 | ContDiff ℝ ∞ (localFieldLift P (B.field G t) x) := |
| 113 | pointField_smooth P (B.velocityPath G) (B.velocityPath_orbit G) t x |
| 114 | |
| 115 | theorem derivativeField_smooth (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) : |
| 116 | ContDiff ℝ ∞ (localFieldLift P (B.derivativeField G t) x) := |
| 117 | pointField_smooth P (B.derivativePath G) (B.derivativePath_orbit G) t x |
| 118 | |
| 119 | theorem field_ae (t : Icc (0 : ℝ) D.T) : |
| 120 | B.velocityPath G t =ᵐ[liftMeasure P] B.field G t := |
| 121 | pointField_ae P (B.velocityPath G) (B.velocityPath_orbit G) t |
| 122 | |
| 123 | theorem derivativeField_ae (t : Icc (0 : ℝ) D.T) : |
| 124 | B.derivativePath G t =ᵐ[liftMeasure P] B.derivativeField G t := |
| 125 | pointField_ae P (B.derivativePath G) (B.derivativePath_orbit G) t |
| 126 | |
| 127 | theorem field_hasDerivWithinAt (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) : |
| 128 | HasDerivWithinAt (fun s => B.field G (D.clamp s) x) |
| 129 | (B.derivativeField G t x) (Icc (0 : ℝ) D.T) t := |
| 130 | pointField_hasDerivWithinAt P D.T D.T_pos.le (B.velocityPath G) (B.derivativePath G) |
| 131 | (B.velocityPath_orbit G) (B.derivativePath_orbit G) (B.velocityPath_time G) t x |
| 132 | |
| 133 | theorem field_zero_outside (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) (hx : x.1 ∉ D.support) : |
| 134 | B.field G t x = 0 := by |
| 135 | change pointField P (B.velocityPath G) (B.velocityPath_orbit G) t x = 0 |
| 136 | rw [pointField_eq_representative] |
| 137 | exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed |
| 138 | _ _ (B.velocityPath_supported G t) x hx |
| 139 | |
| 140 | theorem derivativeField_zero_outside (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) (hx : x.1 ∉ D.support) : |
| 141 | B.derivativeField G t x = 0 := by |
| 142 | change pointField P (B.derivativePath G) (B.derivativePath_orbit G) t x = 0 |
| 143 | rw [pointField_eq_representative] |
| 144 | exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed |
| 145 | _ _ (B.derivativePath_supported G t) x hx |
| 146 | |
| 147 | omit [CompleteSpace U] in |
| 148 | theorem normal_ne_zero (t : Icc (0 : ℝ) D.T) (x : Space) : D.normal.field t x ≠ 0 := by |
| 149 | intro hzero |
| 150 | have hb := D.normal_lower t x |
| 151 | rw [hzero,norm_zero,zero_pow (by omega : 2 ≠ 0)] at hb |
| 152 | exact (not_le_of_gt D.normalLower_pos) hb |
| 153 | |
| 154 | theorem balance_ae (t : Icc (0 : ℝ) D.T) : |
| 155 | ∀ᵐ x ∂liftMeasure P, |
| 156 | B.derivativePath G t x+D.M.field t x.1 (B.velocityPath G t x)+ |
| 157 | ((⟪D.normal.field t x.1,forcingPath G t x⟫_ℝ- |
| 158 | 2*⟪D.normal.field t x.1,D.M.field t x.1 (B.velocityPath G t x)⟫_ℝ)/ |
| 159 | ‖D.normal.field t x.1‖^2) • D.normal.field t x.1 = forcingPath G t x := |
| 160 | B.coefficients.physical_balance_ae P (forcingPath G) |
| 161 | (fun t x => D.M.field t x) (fun t x => D.normal.field t x) |
| 162 | (normal_ne_zero (D := D)) D.frame_tangent D.frame_range D.frame_strain t |
| 163 | |
| 164 | theorem field_tangent (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) : |
| 165 | ⟪D.normal.field t x.1,B.field G t x⟫_ℝ = 0 := by |
| 166 | have hae : (fun y : LiftDomain P => ⟪D.normal.field t y.1,B.field G t y⟫_ℝ) =ᵐ[liftMeasure P] |
| 167 | (fun _ => 0) := by |
| 168 | filter_upwards [B.coefficients.physicalVelocity_ae P (forcingPath G) t,B.field_ae G t] with y hq ha |
| 169 | change B.velocityPath G t y = D.frame.field t y.1 (B.coordinatePath G t y) at hq |
| 170 | rw [← ha,hq] |
| 171 | exact D.frame_tangent t y.1 _ |
| 172 | exact congrFun (Measure.eq_of_ae_eq hae |
| 173 | (((D.normal.field t).continuous.comp continuous_fst).inner |
| 174 | (smoothField_continuous P _ (B.field_smooth G t))) continuous_const) x |
| 175 | |
| 176 | end EulerTransversePacketProvider.HistoryData |