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.TransversePacketPrimaryMatching |
| 2 | import Euler.TransversePacketJoinedSupport |
| 3 | import Euler.SourceNormalResidualBounds |
| 4 | |
| 5 | /-! |
| 6 | The actual primary field on the full history-plus-forward interval. |
| 7 | Only the history interval uses the coercive endpoint solve. The forward |
| 8 | interval uses its true coordinate trace, and gluing preserves the actual |
| 9 | time derivative and the mixed translation orbit. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerTransversePacketPrimary |
| 15 | |
| 16 | open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 17 | EulerLpCylinderTranslation EulerLpCylinderPaths EulerElapsedTimePathGluing |
| 18 | EulerVolterraConvolution EulerTransversePacketProvider EulerCylinderAngleAverage |
| 19 | EulerSourceNormalResidualBounds |
| 20 | open scoped ContDiff |
| 21 | |
| 22 | variable {P : ℝ} [Fact (0 < P)] |
| 23 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 24 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 25 | (B : HistoryData (D.initial τ hτ hτT.le)) (Y : InitialData P D) |
| 26 | |
| 27 | def velocityPath : C(Icc (0 : ℝ) D.T,LiftL2 P) := |
| 28 | join D.T τ hτ.le hτT.le (pastVelocity τ hτ hτT B Y) (futureVelocity τ hτ hτT B Y) |
| 29 | (velocity_match τ hτ hτT B Y) |
| 30 | |
| 31 | def derivativePath : C(Icc (0 : ℝ) D.T,LiftL2 P) := |
| 32 | join D.T τ hτ.le hτT.le (pastDerivative τ hτ hτT B Y) (futureDerivative τ hτ hτT B Y) |
| 33 | (derivative_match τ hτ hτT B Y) |
| 34 | |
| 35 | def pressurePath : C(Icc (0 : ℝ) D.T,CylinderL2 P ℝ) := |
| 36 | sourcePressure P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 37 | 0 (velocityPath τ hτ hτT B Y) |
| 38 | |
| 39 | theorem velocityPath_orbit : |
| 40 | ContDiff ℝ ∞ (fun a => pathTranslate P a (velocityPath τ hτ hτT B Y)) := |
| 41 | join_orbit_contDiff P D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B Y) |
| 42 | (pastVelocity_orbit τ hτ hτT B Y) (futureVelocity_orbit τ hτ hτT B Y) |
| 43 | |
| 44 | theorem derivativePath_orbit : |
| 45 | ContDiff ℝ ∞ (fun a => pathTranslate P a (derivativePath τ hτ hτT B Y)) := |
| 46 | join_orbit_contDiff P D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B Y) |
| 47 | (pastDerivative_orbit τ hτ hτT B Y) (futureDerivative_orbit τ hτ hτT B Y) |
| 48 | |
| 49 | theorem pressurePath_orbit : |
| 50 | ContDiff ℝ ∞ (fun a => pathTranslate P a (pressurePath τ hτ hτT B Y)) := |
| 51 | sourcePressure_contDiff P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 52 | 0 (velocityPath τ hτ hτT B Y) (by simpa only [map_zero] using (contDiff_const : |
| 53 | ContDiff ℝ ∞ (fun _ : LiftTangent => (0 : C(Icc (0 : ℝ) D.T,LiftL2 P))))) |
| 54 | (velocityPath_orbit τ hτ hτT B Y) |
| 55 | |
| 56 | theorem velocityPath_left (t : Icc (0 : ℝ) τ) : |
| 57 | velocityPath τ hτ hτT B Y ⟨t,t.property.1,t.property.2.trans hτT.le⟩ = |
| 58 | pastVelocity τ hτ hτT B Y t := |
| 59 | join_left D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B Y) t |
| 60 | |
| 61 | theorem derivativePath_left (t : Icc (0 : ℝ) τ) : |
| 62 | derivativePath τ hτ hτT B Y ⟨t,t.property.1,t.property.2.trans hτT.le⟩ = |
| 63 | pastDerivative τ hτ hτT B Y t := |
| 64 | join_left D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B Y) t |
| 65 | |
| 66 | theorem velocityPath_right (t : Icc τ D.T) : |
| 67 | velocityPath τ hτ hτT B Y ⟨t,hτ.le.trans t.property.1,t.property.2⟩ = |
| 68 | futureVelocity τ hτ hτT B Y |
| 69 | ⟨(t : ℝ)-τ,sub_nonneg.mpr t.property.1,sub_le_sub_right t.property.2 τ⟩ := |
| 70 | join_right D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B Y) t |
| 71 | |
| 72 | theorem derivativePath_right (t : Icc τ D.T) : |
| 73 | derivativePath τ hτ hτT B Y ⟨t,hτ.le.trans t.property.1,t.property.2⟩ = |
| 74 | futureDerivative τ hτ hτT B Y |
| 75 | ⟨(t : ℝ)-τ,sub_nonneg.mpr t.property.1,sub_le_sub_right t.property.2 τ⟩ := |
| 76 | join_right D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B Y) t |
| 77 | |
| 78 | theorem velocityPath_time (t : Icc (0 : ℝ) D.T) : |
| 79 | HasDerivWithinAt (extendPath D.T D.T_pos.le (velocityPath τ hτ hτT B Y)) |
| 80 | (derivativePath τ hτ hτT B Y t) (Icc (0 : ℝ) D.T) t := |
| 81 | join_hasDerivWithinAt D.T τ hτ.le hτT.le |
| 82 | (pastVelocity τ hτ hτT B Y) (futureVelocity τ hτ hτT B Y) (velocity_match τ hτ hτT B Y) |
| 83 | (pastDerivative τ hτ hτT B Y) (futureDerivative τ hτ hτT B Y) (derivative_match τ hτ hτT B Y) |
| 84 | (pastVelocity_time τ hτ hτT B Y) (futureVelocity_time τ hτ hτT B Y) t |
| 85 | |
| 86 | theorem velocityPath_supported (t : Icc (0 : ℝ) D.T) : |
| 87 | velocityPath τ hτ hτT B Y t ∈ Supported P Space D.support D.support_measurable := |
| 88 | join_mem D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B Y) _ |
| 89 | (EulerTransversePacketEndpoint.velocityPath_supported B (endpointData τ hτ hτT Y)) |
| 90 | (fun s => ((zeroForcing (D.tail τ hτ.le hτT)).velocityPath (forwardInitial τ hτ hτT B Y) s).property) t |
| 91 | |
| 92 | theorem derivativePath_supported (t : Icc (0 : ℝ) D.T) : |
| 93 | derivativePath τ hτ hτT B Y t ∈ Supported P Space D.support D.support_measurable := |
| 94 | join_mem D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B Y) _ |
| 95 | (EulerTransversePacketEndpoint.derivativePath_supported B (endpointData τ hτ hτT Y)) |
| 96 | (fun s => ((zeroForcing (D.tail τ hτ.le hτT)).derivativePath (forwardInitial τ hτ hτT B Y) s).property) t |
| 97 | |
| 98 | theorem velocityPath_mean_zero (t : Icc (0 : ℝ) D.T) : |
| 99 | average P (velocityPath τ hτ hτT B Y t) = 0 := by |
| 100 | apply join_mem D.T τ hτ.le hτT.le _ _ (velocity_match τ hτ hτT B Y) |
| 101 | {u | average P u = 0} _ _ t |
| 102 | · exact EulerTransversePacketEndpoint.velocityPath_mean_zero B (endpointData τ hτ hτT Y) |
| 103 | · intro s |
| 104 | exact EulerSourceCylinderEquation.velocity_average_zero P D.support D.support_measurable |
| 105 | (D.T-τ) (sub_pos.mpr hτT).le (D.tail τ hτ.le hτT).frame (D.tail τ hτ.le hτT).frameDerivative |
| 106 | (D.tail τ hτ.le hτT).frameLower (D.tail τ hτ.le hτT).frameLower_pos (D.tail τ hτ.le hτT).frame_lower |
| 107 | (zeroForcing (D.tail τ hτ.le hτT)).path (forwardInitial τ hτ hτT B Y).value |
| 108 | (zeroForcing (D.tail τ hτ.le hτT)).mean_zero (forwardInitial τ hτ hτT B Y).mean_zero s |
| 109 | |
| 110 | theorem derivativePath_mean_zero (t : Icc (0 : ℝ) D.T) : |
| 111 | average P (derivativePath τ hτ hτT B Y t) = 0 := by |
| 112 | apply join_mem D.T τ hτ.le hτT.le _ _ (derivative_match τ hτ hτT B Y) |
| 113 | {u | average P u = 0} _ _ t |
| 114 | · exact EulerTransversePacketEndpoint.derivativePath_mean_zero B (endpointData τ hτ hτT Y) |
| 115 | · intro s |
| 116 | exact EulerSourceCylinderEquation.velocityDerivative_average_zero P D.support D.support_measurable |
| 117 | (D.T-τ) (sub_pos.mpr hτT).le (D.tail τ hτ.le hτT).frame (D.tail τ hτ.le hτT).frameDerivative |
| 118 | (D.tail τ hτ.le hτT).frameLower (D.tail τ hτ.le hτT).frameLower_pos (D.tail τ hτ.le hτT).frame_lower |
| 119 | (zeroForcing (D.tail τ hτ.le hτT)).path (forwardInitial τ hτ hτT B Y).value |
| 120 | (zeroForcing (D.tail τ hτ.le hτT)).mean_zero (forwardInitial τ hτ hτT B Y).mean_zero s |
| 121 | |
| 122 | end EulerTransversePacketPrimary |