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.LpCylinderRectangular |
| 2 | import Euler.LpCylinderCoefficients |
| 3 | |
| 4 | /-! |
| 5 | # Actual coefficient time derivatives on the cylinder |
| 6 | |
| 7 | The rectangular multipliers agree with the square operators used in the |
| 8 | constructed Duhamel evolution. Literal within-time derivatives of the |
| 9 | coefficient fields induce true operator-path derivatives and product rules. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerLpCylinderRectangular |
| 15 | |
| 16 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 17 | EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderCoefficients |
| 18 | EulerVolterraConvolution |
| 19 | open scoped BoundedContinuousFunction |
| 20 | |
| 21 | variable (period : ℝ) [Fact (0 < period)] |
| 22 | |
| 23 | section Square |
| 24 | |
| 25 | variable {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] |
| 26 | (S : Set Space) (hS : MeasurableSet S) |
| 27 | |
| 28 | /-- The two literal constructions are the same actual supported L² operator. -/ |
| 29 | theorem supportedOperator_eq_square (A : Space →ᵇ V →L[ℝ] V) : |
| 30 | supportedOperatorMap period S hS A = liftedOperator period S hS A := by |
| 31 | apply ContinuousLinearMap.ext |
| 32 | intro u |
| 33 | apply Subtype.ext |
| 34 | apply Lp.ext |
| 35 | filter_upwards [EulerLpOperatorField.full_ae (liftMeasure period) (fieldLift period A) |
| 36 | (u : CylinderL2 period V), |
| 37 | EulerLpSupportedMultiplier.full_ae (liftMeasure period) (fieldLift period A) |
| 38 | (u : CylinderL2 period V)] with x hl hr |
| 39 | exact hl.trans hr.symm |
| 40 | |
| 41 | theorem supportedPath_eq_square (T : ℝ) (A : C(Icc (0 : ℝ) T,Space →ᵇ V →L[ℝ] V)) : |
| 42 | supportedPathMap period S hS A = liftedOperatorPath period S hS T A := by |
| 43 | apply ContinuousMap.ext |
| 44 | intro t |
| 45 | exact supportedOperator_eq_square period S hS (A t) |
| 46 | |
| 47 | end Square |
| 48 | |
| 49 | section Time |
| 50 | |
| 51 | variable {E F : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 52 | [NormedAddCommGroup F] [InnerProductSpace ℝ F] [CompleteSpace F] |
| 53 | (S : Set Space) (hS : MeasurableSet S) (T : ℝ) (hT : 0 ≤ T) |
| 54 | (A A₁ : C(Icc (0 : ℝ) T,Space →ᵇ E →L[ℝ] F)) |
| 55 | |
| 56 | private local instance : NormedAddCommGroup (E →L[ℝ] F) := inferInstance |
| 57 | private local instance : NormedSpace ℝ (E →L[ℝ] F) := inferInstance |
| 58 | private local instance : NormedAddCommGroup (Space →ᵇ E →L[ℝ] F) := inferInstance |
| 59 | private local instance : NormedSpace ℝ (Space →ᵇ E →L[ℝ] F) := inferInstance |
| 60 | private local instance : NormedAddCommGroup (Supported period E S hS) := inferInstance |
| 61 | private local instance : NormedSpace ℝ (Supported period E S hS) := inferInstance |
| 62 | private local instance : NormedAddCommGroup (Supported period F S hS) := inferInstance |
| 63 | private local instance : NormedSpace ℝ (Supported period F S hS) := inferInstance |
| 64 | private local instance : NormedAddCommGroup (Supported period E S hS →L[ℝ] Supported period F S hS) := inferInstance |
| 65 | private local instance : NormedSpace ℝ (Supported period E S hS →L[ℝ] Supported period F S hS) := inferInstance |
| 66 | |
| 67 | variable (hA : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, |
| 68 | HasDerivWithinAt (fun s => extendPath T hT A s x) |
| 69 | (extendPath T hT A₁ t x) (Icc (0 : ℝ) T) t) |
| 70 | |
| 71 | include hA in |
| 72 | /-- The true derivative of the actual supported coefficient operator. -/ |
| 73 | theorem supportedPath_hasDerivWithinAt (t : Icc (0 : ℝ) T) : |
| 74 | HasDerivWithinAt (extendPath T hT (supportedPathMap period S hS A)) |
| 75 | (supportedPathMap period S hS A₁ t) (Icc (0 : ℝ) T) t := by |
| 76 | have hfield := EulerBoundedFieldTimeDerivative.hasDerivWithinAt T hT A A₁ hA t t.property |
| 77 | have hlinear : HasFDerivAt |
| 78 | (fun B : Space →ᵇ E →L[ℝ] F => supportedOperatorMap period S hS B) |
| 79 | (supportedOperatorMap period S hS) (extendPath T hT A t) := |
| 80 | ContinuousLinearMap.hasFDerivAt (𝕜 := ℝ) (E := Space →ᵇ E →L[ℝ] F) |
| 81 | (F := Supported period E S hS →L[ℝ] Supported period F S hS) |
| 82 | (supportedOperatorMap period S hS) |
| 83 | have hd := hlinear.comp_hasDerivWithinAt (t : ℝ) hfield |
| 84 | change HasDerivWithinAt (fun s => supportedOperatorMap period S hS (A (projIcc 0 T hT s))) |
| 85 | (supportedOperatorMap period S hS (A₁ t)) (Icc (0 : ℝ) T) t |
| 86 | change HasDerivWithinAt (fun s => supportedOperatorMap period S hS (A (projIcc 0 T hT s))) |
| 87 | (supportedOperatorMap period S hS (A₁ (projIcc 0 T hT t))) (Icc (0 : ℝ) T) t at hd |
| 88 | rwa [projIcc_of_mem hT t.property] at hd |
| 89 | |
| 90 | include hA in |
| 91 | /-- The product rule is a genuine within-time statement, including the interval endpoints. -/ |
| 92 | theorem supportedProduct_hasDerivWithinAt |
| 93 | (u u₁ : C(Icc (0 : ℝ) T,Supported period E S hS)) |
| 94 | (hu : ∀ t : Icc (0 : ℝ) T, |
| 95 | HasDerivWithinAt (extendPath T hT u) (u₁ t) (Icc (0 : ℝ) T) t) |
| 96 | (t : Icc (0 : ℝ) T) : |
| 97 | HasDerivWithinAt (extendPath T hT (supportedMultiplierMap period S hS A u)) |
| 98 | (supportedMultiplierMap period S hS A₁ u t + supportedMultiplierMap period S hS A u₁ t) |
| 99 | (Icc (0 : ℝ) T) t := by |
| 100 | have hd := (supportedPath_hasDerivWithinAt period S hS T hT A A₁ hA t).clm_apply (hu t) |
| 101 | dsimp only [extendPath] at hd |
| 102 | simp only [projIcc_of_mem hT t.property] at hd |
| 103 | exact hd |
| 104 | |
| 105 | end Time |
| 106 | |
| 107 | end EulerLpCylinderRectangular |