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.CylinderSlowCurl |
| 2 | import Euler.CylinderPotentialPath |
| 3 | import Euler.CylinderRawSupport |
| 4 | |
| 5 | /-! Spatial support is preserved by the actual angular primitive, mixed derivative, and slow curl paths. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerCylinderLocalSupport |
| 10 | |
| 11 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 12 | EulerMetricTransport EulerLiftedWeakDerivative EulerCylinderSmoothOrbit |
| 13 | EulerLpSupportedSubspace EulerLpCylinderTranslation EulerLpCylinderPaths |
| 14 | EulerLpCylinderRectangular EulerCylinderAnglePrimitive EulerCylinderPotential |
| 15 | open scoped ContDiff Topology BoundedContinuousFunction |
| 16 | |
| 17 | variable (P : ℝ) [Fact (0 < P)] (S : Set Space) (hS : MeasurableSet S) |
| 18 | |
| 19 | private local instance : NormedAddCommGroup (LiftL2 P) := inferInstance |
| 20 | private local instance : NormedSpace ℝ (LiftL2 P) := inferInstance |
| 21 | private local instance : NormedAddCommGroup (Supported P Space S hS) := inferInstance |
| 22 | private local instance : NormedSpace ℝ (Supported P Space S hS) := inferInstance |
| 23 | |
| 24 | /-- Pure angular integration does not move the spatial support. -/ |
| 25 | theorem primitive_supported (u : LiftL2 P) (hu : u ∈ Supported P Space S hS) : |
| 26 | primitive P u ∈ Supported P Space S hS := by |
| 27 | have hs (s : ℝ) : translate P (0,s) u ∈ Supported P Space S hS := by |
| 28 | apply translate_mem P (0,s) S S hS hS _ ⟨u,hu⟩ |
| 29 | intro x hx |
| 30 | change x+(0 : Space) ∈ S at hx |
| 31 | simpa only [add_zero] using hx |
| 32 | have hsk (s : ℝ) : kernelCurve P u s ∈ Supported P Space S hS := |
| 33 | (Supported P Space S hS).smul_mem s (hs s) |
| 34 | let f : ℝ → Supported P Space S hS := fun s => ⟨kernelCurve P u s,hsk s⟩ |
| 35 | have hf : Continuous f := Continuous.subtype_mk (kernelCurve_continuous P u) _ |
| 36 | let v : Supported P Space S hS := P⁻¹ • (∫ s in (0 : ℝ)..P, f s) |
| 37 | have he : (v : LiftL2 P) = primitive P u := by |
| 38 | change (Supported P Space S hS).subtypeL (P⁻¹ • (∫ s in (0 : ℝ)..P, f s)) = _ |
| 39 | rw [map_smul, ← (Supported P Space S hS).subtypeL.intervalIntegral_comp_comm |
| 40 | (hf.intervalIntegrable 0 P)] |
| 41 | rfl |
| 42 | rw [← he] |
| 43 | exact v.property |
| 44 | |
| 45 | omit hS [Fact (0 < P)] in |
| 46 | /-- Outside a closed spatial support, all local first derivatives vanish. -/ |
| 47 | theorem fieldFDeriv_zero_outside (hSc : IsClosed S) (f : LiftDomain P → Space) |
| 48 | (hf : ∀ x : LiftDomain P, x.1 ∉ S → f x = 0) |
| 49 | (x : LiftDomain P) (hx : x.1 ∉ S) : fieldFDeriv P f x = 0 := by |
| 50 | have hn : {a : LiftTangent | x.1+a.1 ∈ Sᶜ} ∈ 𝓝 (0 : LiftTangent) := |
| 51 | (hSc.isOpen_compl.preimage (continuous_const.add continuous_fst)).mem_nhds |
| 52 | (by |
| 53 | change x.1+(0 : LiftTangent).1 ∉ S |
| 54 | simpa only [Prod.fst_zero, add_zero] using hx) |
| 55 | have he : localFieldLift P f x =ᶠ[𝓝 (0 : LiftTangent)] (fun _ => (0 : Space)) := by |
| 56 | filter_upwards [hn] with a ha |
| 57 | exact hf (x.1+a.1,x.2+(a.2 : AddCircle P)) ha |
| 58 | simpa only [fieldFDeriv, fderiv_const_apply] using he.fderiv_eq (𝕜 := ℝ) |
| 59 | |
| 60 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 61 | (p : C(K,LiftL2 P)) (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 62 | |
| 63 | include hp in |
| 64 | theorem pointField_zero_outside (hSc : IsClosed S) |
| 65 | (hs : ∀ t, p t ∈ Supported P Space S hS) (t : K) (x : LiftDomain P) (hx : x.1 ∉ S) : |
| 66 | pointField P p hp t x = 0 := by |
| 67 | rw [pointField_eq_representative] |
| 68 | exact representative_zero_outside P S hS hSc (p t) _ (hs t) x hx |
| 69 | |
| 70 | include hp in |
| 71 | theorem derivativePath_supported (hSc : IsClosed S) |
| 72 | (hs : ∀ t, p t ∈ Supported P Space S hS) (i : Fin 4) (t : K) : |
| 73 | derivativePath P p i t ∈ Supported P Space S hS := by |
| 74 | apply (mem_supportedSpace_ae (liftMeasure P) (spatialSet P S) |
| 75 | (spatialSet_measurable P S hS) _).mpr |
| 76 | filter_upwards [pointField_ae P (derivativePath P p i) (derivativePath_orbit P p hp i) t] |
| 77 | with x hx hnot |
| 78 | rw [hx, pointField_derivativePath P p hp i t x, |
| 79 | fieldFDeriv_zero_outside P S hSc (pointField P p hp t) |
| 80 | (pointField_zero_outside P S hS p hp hSc hs t) x hnot, zero_apply] |
| 81 | |
| 82 | theorem potentialPath_supported (B : C(K,Space →ᵇ Space →L[ℝ] Space)) |
| 83 | (hs : ∀ t, p t ∈ Supported P Space S hS) (t : K) : |
| 84 | potentialPath P B p t ∈ Supported P Space S hS := |
| 85 | EulerLpOperatorField.full_mem (liftMeasure P) (spatialSet P S) (spatialSet_measurable P S hS) |
| 86 | (fieldLift P (B t)) ⟨primitive P (p t), primitive_supported P S hS (p t) (hs t)⟩ |
| 87 | |
| 88 | include hp in |
| 89 | theorem slowCurlPath_supported (G : C(K,Space →ᵇ Space →L[ℝ] Space)) (hSc : IsClosed S) |
| 90 | (hs : ∀ t, p t ∈ Supported P Space S hS) (t : K) : |
| 91 | EulerCylinderSlowCurl.path P G p t ∈ Supported P Space S hS := by |
| 92 | change (∑ i : Fin 3, EulerCylinderSlowCurl.term P G p i) t ∈ Supported P Space S hS |
| 93 | rw [ContinuousMap.sum_apply] |
| 94 | apply (Supported P Space S hS).sum_mem |
| 95 | intro i _ |
| 96 | exact EulerLpOperatorField.full_mem (liftMeasure P) (spatialSet P S) (spatialSet_measurable P S hS) |
| 97 | (fieldLift P (EulerPacketPiola.curlCoefficientPath i G t)) |
| 98 | ⟨derivativePath P p i.succ t, derivativePath_supported P S hS p hp hSc hs i.succ t⟩ |
| 99 | |
| 100 | end EulerCylinderLocalSupport |