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.TransversePacketHistory |
| 2 | import Euler.CylinderEndpointEquation |
| 3 | import Euler.CylinderEndpointRegularity |
| 4 | import Euler.CylinderEndpointSupport |
| 5 | |
| 6 | /-! |
| 7 | The actual source history with prescribed compact terminal displacement. |
| 8 | `Y.value` is an L² field of reference-plane coordinates. It is passed to |
| 9 | the constructed affine-endpoint inverse, not imposed as a solution law. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerTransversePacketEndpoint |
| 15 | |
| 16 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit |
| 17 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths EulerCylinderAngleAverage |
| 18 | EulerVolterraConvolution EulerTransversePacketProvider EulerCylinderSmoothOrbit |
| 19 | open scoped ContDiff |
| 20 | |
| 21 | variable {P : ℝ} [Fact (0 < P)] |
| 22 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 23 | {D : Data U} (B : HistoryData D) (Y : InitialData P D) |
| 24 | |
| 25 | def displacementPath : C(Icc (0 : ℝ) D.T,CylinderL2 P U) := |
| 26 | B.coefficients.endpointDisplacement P (Y.value : CylinderL2 P U) |
| 27 | |
| 28 | def coordinatePath : C(Icc (0 : ℝ) D.T,CylinderL2 P U) := |
| 29 | B.coefficients.endpointCoordinate P (Y.value : CylinderL2 P U) |
| 30 | |
| 31 | def coordinateDerivativePath : C(Icc (0 : ℝ) D.T,CylinderL2 P U) := |
| 32 | B.coefficients.endpointAcceleration P (Y.value : CylinderL2 P U) |
| 33 | |
| 34 | def velocityPath : C(Icc (0 : ℝ) D.T,CylinderL2 P Space) := |
| 35 | B.coefficients.endpointVelocity P (Y.value : CylinderL2 P U) |
| 36 | |
| 37 | def derivativePath : C(Icc (0 : ℝ) D.T,CylinderL2 P Space) := |
| 38 | B.coefficients.endpointDerivative P (Y.value : CylinderL2 P U) |
| 39 | |
| 40 | theorem displacement_initial : displacementPath B Y ⟨0,le_rfl,D.T_pos.le⟩ = 0 := |
| 41 | B.coefficients.endpointDisplacement_initial P Y.value |
| 42 | |
| 43 | theorem displacement_terminal : displacementPath B Y ⟨D.T,D.T_pos.le,le_rfl⟩ = Y.value := |
| 44 | B.coefficients.endpointDisplacement_terminal P Y.value |
| 45 | |
| 46 | theorem coordinatePath_orbit : |
| 47 | ContDiff ℝ ∞ (fun a => pathTranslate P a (coordinatePath B Y)) := |
| 48 | B.coefficients.endpointCoordinate_orbit_contDiff P D.frame.translation_contDiff |
| 49 | D.frameDerivative.translation_contDiff B.H.translation_contDiff Y.value Y.orbit |
| 50 | |
| 51 | theorem coordinateDerivativePath_orbit : |
| 52 | ContDiff ℝ ∞ (fun a => pathTranslate P a (coordinateDerivativePath B Y)) := |
| 53 | B.coefficients.endpointAcceleration_orbit_contDiff P D.frame.translation_contDiff |
| 54 | D.frameDerivative.translation_contDiff B.H.translation_contDiff Y.value Y.orbit |
| 55 | |
| 56 | theorem velocityPath_orbit : |
| 57 | ContDiff ℝ ∞ (fun a => pathTranslate P a (velocityPath B Y)) := |
| 58 | B.coefficients.endpointVelocity_orbit_contDiff P D.frame.translation_contDiff |
| 59 | D.frameDerivative.translation_contDiff B.H.translation_contDiff Y.value Y.orbit |
| 60 | |
| 61 | theorem derivativePath_orbit : |
| 62 | ContDiff ℝ ∞ (fun a => pathTranslate P a (derivativePath B Y)) := |
| 63 | B.coefficients.endpointDerivative_orbit_contDiff P D.frame.translation_contDiff |
| 64 | D.frameDerivative.translation_contDiff B.H.translation_contDiff Y.value Y.orbit |
| 65 | |
| 66 | theorem displacementPath_time (t : Icc (0 : ℝ) D.T) : |
| 67 | HasDerivWithinAt (extendPath D.T D.T_pos.le (displacementPath B Y)) |
| 68 | (coordinatePath B Y t) (Icc (0 : ℝ) D.T) t := |
| 69 | B.coefficients.endpointDisplacement_hasDerivWithinAt P Y.value t |
| 70 | |
| 71 | theorem coordinatePath_time (t : Icc (0 : ℝ) D.T) : |
| 72 | HasDerivWithinAt (extendPath D.T D.T_pos.le (coordinatePath B Y)) |
| 73 | (coordinateDerivativePath B Y t) (Icc (0 : ℝ) D.T) t := |
| 74 | B.coefficients.endpointCoordinate_hasDerivWithinAt P Y.value t |
| 75 | |
| 76 | theorem velocityPath_time (t : Icc (0 : ℝ) D.T) : |
| 77 | HasDerivWithinAt (extendPath D.T D.T_pos.le (velocityPath B Y)) |
| 78 | (derivativePath B Y t) (Icc (0 : ℝ) D.T) t := |
| 79 | B.coefficients.endpointVelocity_hasDerivWithinAt P Y.value t |
| 80 | |
| 81 | theorem coordinatePath_supported (t : Icc (0 : ℝ) D.T) : |
| 82 | coordinatePath B Y t ∈ Supported P U D.support D.support_measurable := |
| 83 | B.coefficients.endpointCoordinate_supported P D.support D.support_measurable |
| 84 | Y.value Y.value.property t |
| 85 | |
| 86 | theorem velocityPath_supported (t : Icc (0 : ℝ) D.T) : |
| 87 | velocityPath B Y t ∈ Supported P Space D.support D.support_measurable := |
| 88 | B.coefficients.endpointVelocity_supported P D.support D.support_measurable |
| 89 | Y.value Y.value.property t |
| 90 | |
| 91 | theorem derivativePath_supported (t : Icc (0 : ℝ) D.T) : |
| 92 | derivativePath B Y t ∈ Supported P Space D.support D.support_measurable := |
| 93 | B.coefficients.endpointDerivative_supported P D.support D.support_measurable |
| 94 | Y.value Y.value.property t |
| 95 | |
| 96 | theorem coordinatePath_mean_zero (t : Icc (0 : ℝ) D.T) : |
| 97 | average P (coordinatePath B Y t) = 0 := |
| 98 | B.coefficients.endpointCoordinate_mean_zero P Y.value Y.mean_zero t |
| 99 | |
| 100 | theorem velocityPath_mean_zero (t : Icc (0 : ℝ) D.T) : |
| 101 | average P (velocityPath B Y t) = 0 := |
| 102 | B.coefficients.endpointVelocity_mean_zero P Y.value Y.mean_zero t |
| 103 | |
| 104 | theorem derivativePath_mean_zero (t : Icc (0 : ℝ) D.T) : |
| 105 | average P (derivativePath B Y t) = 0 := |
| 106 | B.coefficients.endpointDerivative_mean_zero P Y.value Y.mean_zero t |
| 107 | |
| 108 | def terminalInitial : InitialData P D where |
| 109 | value := ⟨coordinatePath B Y ⟨D.T,D.T_pos.le,le_rfl⟩, |
| 110 | coordinatePath_supported B Y _⟩ |
| 111 | orbit := (ContinuousMap.evalCLM ℝ ⟨D.T,D.T_pos.le,le_rfl⟩ : |
| 112 | C(Icc (0 : ℝ) D.T,CylinderL2 P U) →L[ℝ] CylinderL2 P U).contDiff.comp |
| 113 | (coordinatePath_orbit B Y) |
| 114 | mean_zero := coordinatePath_mean_zero B Y _ |
| 115 | |
| 116 | theorem velocityPath_ae (t : Icc (0 : ℝ) D.T) : |
| 117 | velocityPath B Y t =ᵐ[liftMeasure P] fun x => D.frame.field t x.1 (coordinatePath B Y t x) := |
| 118 | B.coefficients.endpointVelocity_ae P Y.value t |
| 119 | |
| 120 | theorem balance_ae (t : Icc (0 : ℝ) D.T) : |
| 121 | ∀ᵐ x ∂liftMeasure P, |
| 122 | derivativePath B Y t x+D.M.field t x.1 (velocityPath B Y t x)+ |
| 123 | (-(2*⟪D.normal.field t x.1,D.M.field t x.1 (velocityPath B Y t x)⟫_ℝ)/ |
| 124 | ‖D.normal.field t x.1‖^2) • D.normal.field t x.1 = 0 := |
| 125 | B.coefficients.endpoint_physical_balance_ae P Y.value |
| 126 | (fun t x => D.M.field t x) (fun t x => D.normal.field t x) |
| 127 | (HistoryData.normal_ne_zero (D := D)) D.frame_tangent D.frame_range D.frame_strain t |
| 128 | |
| 129 | end EulerTransversePacketEndpoint |