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.CylinderSmoothOrbit |
| 2 | import Euler.LpCylinderPaths |
| 3 | |
| 4 | /-! The actual smooth representative retains the proved compact spatial support of its L² class. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCylinderSmoothOrbit |
| 9 | |
| 10 | open Set MeasureTheory EulerSmoothLimit EulerLiftedGradientSpace EulerMetricTransport |
| 11 | EulerLpSupportedSubspace EulerLpCylinderTranslation EulerLpCylinderPaths |
| 12 | |
| 13 | variable (period : ℝ) [Fact (0 < period)] |
| 14 | |
| 15 | /-- Vanishing outside a closed support region passes from the actual L² class to its smooth representative. -/ |
| 16 | theorem representative_zero_outside (S : Set Space) (hS : MeasurableSet S) (hSc : IsClosed S) |
| 17 | (u : LiftL2 period) (hu : SmoothOrbit period u) (hs : u ∈ Supported period Space S hS) |
| 18 | (x : LiftDomain period) (hx : x.1 ∉ S) : representative period u hu x = 0 := by |
| 19 | have hset : IsClosed (spatialSet period S) := hSc.preimage continuous_fst |
| 20 | have hout : (representative period u hu) =ᵐ[(liftMeasure period).restrict (spatialSet period S)ᶜ] |
| 21 | (fun _ => 0) := by |
| 22 | apply (ae_restrict_iff' hset.measurableSet.compl).2 |
| 23 | filter_upwards [(mem_supportedSpace_ae _ _ _ u).1 hs,representative_ae period u hu] with y hy he hnot |
| 24 | exact he.symm.trans (hy hnot) |
| 25 | exact Measure.eqOn_open_of_ae_eq hout hset.isOpen_compl |
| 26 | (smoothField_continuous period _ (representative_smooth period u hu)).continuousOn |
| 27 | continuous_const.continuousOn hx |
| 28 | |
| 29 | /-- The actual topological support is contained in the same closed spatial support. -/ |
| 30 | theorem representative_tsupport_subset (S : Set Space) (hS : MeasurableSet S) (hSc : IsClosed S) |
| 31 | (u : LiftL2 period) (hu : SmoothOrbit period u) (hs : u ∈ Supported period Space S hS) : |
| 32 | tsupport (representative period u hu) ⊆ spatialSet period S := by |
| 33 | apply closure_minimal _ (hSc.preimage continuous_fst) |
| 34 | intro x hx |
| 35 | by_contra hnot |
| 36 | exact hx (representative_zero_outside period S hS hSc u hu hs x hnot) |
| 37 | |
| 38 | /-- Compact spatial support remains compact after adjoining the periodic angle. -/ |
| 39 | theorem representative_hasCompactSupport (S : Set Space) (hS : MeasurableSet S) (hSc : IsCompact S) |
| 40 | (u : LiftL2 period) (hu : SmoothOrbit period u) (hs : u ∈ Supported period Space S hS) : |
| 41 | HasCompactSupport (representative period u hu) := by |
| 42 | have hcompact : IsCompact (spatialSet period S) := by |
| 43 | have he : spatialSet period S = S ×ˢ (univ : Set (AddCircle period)) := by |
| 44 | ext x |
| 45 | simp only [spatialSet,mem_preimage,mem_prod,mem_univ,and_true] |
| 46 | rw [he] |
| 47 | exact hSc.prod isCompact_univ |
| 48 | exact hcompact.of_isClosed_subset (isClosed_tsupport _) |
| 49 | (representative_tsupport_subset period S hS hSc.isClosed u hu hs) |
| 50 | |
| 51 | end EulerCylinderSmoothOrbit |