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.PacketTerminalDatum |
| 2 | import Euler.CylinderAngleAverageRepresentative |
| 3 | import Euler.CylinderScalarPrimitive |
| 4 | import Euler.CylinderSmoothOrbit |
| 5 | import Euler.CylinderFieldReflection |
| 6 | |
| 7 | /-! The literal terminal datum belongs to the actual supported, mean-zero cylinder space. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerPacketTerminalDatum |
| 12 | |
| 13 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 14 | EulerSpatialCutoffs EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpSupportedSubspace |
| 15 | EulerCylinderAngleAverage EulerCylinderConstantMap EulerCylinderSmoothOrbit EulerCylinderSobolevSpace |
| 16 | EulerCylinderScalarPrimitive EulerCylinderFieldReflection |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | theorem terminal_map {U V : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 20 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 21 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (L : U →L[ℝ] V) : |
| 22 | terminal δ hδ (L ξ) = EulerCylinderConstantMap.map period L (terminal δ hδ ξ) := by |
| 23 | apply Lp.ext |
| 24 | filter_upwards [terminal_ae δ hδ (L ξ),map_ae period L (terminal δ hδ ξ), |
| 25 | terminal_ae δ hδ ξ] with x hl hr hu |
| 26 | rw [hl,hr,hu] |
| 27 | exact (L.map_smul (scalarField δ x) ξ).symm |
| 28 | |
| 29 | private theorem terminal_vector_average (δ : ℝ) (hδ : 0 < δ) : |
| 30 | average period (terminal δ hδ unitVector) = 0 := by |
| 31 | let J := EulerCylinderSmoothOrbit.sobolev period 3 (terminal δ hδ unitVector) |
| 32 | (terminal_orbit_contDiff δ hδ unitVector) |
| 33 | have hval : value period J = terminal δ hδ unitVector := |
| 34 | EulerCylinderSmoothOrbit.sobolev_value period 3 (terminal δ hδ unitVector) |
| 35 | (terminal_orbit_contDiff δ hδ unitVector) |
| 36 | have hrep : (value period J : LiftDomain period → Space) =ᵐ[liftMeasure period] |
| 37 | field δ unitVector := by |
| 38 | rw [hval] |
| 39 | exact terminal_ae δ hδ unitVector |
| 40 | have havg := (average_eq_zero_iff period J (field δ unitVector) |
| 41 | (compactField δ hδ unitVector).continuous hrep).2 (field_integral_zero δ unitVector) |
| 42 | rwa [hval] at havg |
| 43 | |
| 44 | theorem terminal_average_zero {U : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 45 | [CompleteSpace U] (δ : ℝ) (hδ : 0 < δ) (ξ : U) : |
| 46 | average period (terminal δ hδ ξ) = 0 := by |
| 47 | let L : Space →L[ℝ] U := (toSpanSingleton ℝ ξ).comp scalarProject |
| 48 | have hunit : scalarProject unitVector = 1 := by |
| 49 | simpa only [scalarEmbed,toSpanSingleton_apply,one_smul] using project_embed 1 |
| 50 | have hL : L unitVector = ξ := by |
| 51 | change scalarProject unitVector • ξ = ξ |
| 52 | rw [hunit,one_smul] |
| 53 | rw [← hL,terminal_map δ hδ unitVector L, |
| 54 | average_intertwines period (EulerCylinderConstantMap.map period L) |
| 55 | (fun s u => map_translation period L (0,s) u),terminal_vector_average δ hδ,map_zero] |
| 56 | |
| 57 | theorem terminal_supported {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 58 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (S : Set Space) (hS : MeasurableSet S) |
| 59 | (hs : tsupport innerCutoff ⊆ S) : terminal δ hδ ξ ∈ Supported period U S hS := by |
| 60 | apply (mem_supportedSpace_ae (liftMeasure period) (spatialSet period S) |
| 61 | (spatialSet_measurable period S hS) _).2 |
| 62 | filter_upwards [terminal_ae δ hδ ξ] with x hx hn |
| 63 | rw [hx] |
| 64 | apply field_zero_outside δ ξ x |
| 65 | exact fun hh => hn (hs hh) |
| 66 | |
| 67 | theorem terminal_reflection {U : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 68 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) : |
| 69 | reflection period (terminal δ hδ ξ) = -terminal δ hδ ξ := by |
| 70 | simpa only [neg_one_smul] using reflection_of_representative period |
| 71 | (terminal δ hδ ξ) (field δ ξ) (terminal_ae δ hδ ξ) (-1) |
| 72 | (fun x => by simpa only [neg_one_smul] using field_odd δ ξ x) |
| 73 | |
| 74 | end EulerPacketTerminalDatum |