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.CylinderForwardParity |
| 2 | import Euler.SourceCylinderEquation |
| 3 | |
| 4 | /-! Reflection parity of the actual Gram-projected source evolution and its physical velocity. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerSourceCylinderParity |
| 9 | |
| 10 | open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerMeanCoefficients |
| 11 | EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular |
| 12 | EulerSourceForwardCoefficient EulerBoundedFieldForwardGenerator EulerTransverseGramInverse |
| 13 | EulerSourceCylinderForcing EulerSourceCylinderForward EulerSourceCylinderEquation |
| 14 | EulerCylinderFieldReflection EulerCylinderForwardParity |
| 15 | open scoped BoundedContinuousFunction |
| 16 | |
| 17 | section Coefficients |
| 18 | |
| 19 | variable {K U E : Type*} [TopologicalSpace K] [CompactSpace K] |
| 20 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 21 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 22 | (Q Q₁ : SmoothCoefficientPath K (U →L[ℝ] E)) |
| 23 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) |
| 24 | |
| 25 | theorem sourceForcing_even (hE : ∀ t x, Q.field t (-x) = Q.field t x) (t : K) (x : Space) : |
| 26 | sourceForcing Q c hc hQ t (-x) = sourceForcing Q c hc hQ t x := by |
| 27 | simp only [sourceForcing, leftInversePath_apply, hE] |
| 28 | |
| 29 | theorem sourceGenerator_even (hE : ∀ t x, Q.field t (-x) = Q.field t x) |
| 30 | (hE₁ : ∀ t x, Q₁.field t (-x) = Q₁.field t x) (t : K) (x : Space) : |
| 31 | sourceGenerator Q Q₁ c hc hQ t (-x) = sourceGenerator Q Q₁ c hc hQ t x := by |
| 32 | simp only [sourceGenerator, generatorPath_apply, hE, hE₁] |
| 33 | |
| 34 | end Coefficients |
| 35 | |
| 36 | section Evolution |
| 37 | |
| 38 | variable (P : ℝ) [Fact (0 < P)] |
| 39 | {U E : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 40 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 41 | (S : Set Space) (hS : MeasurableSet S) (hSym : ∀ x, -x ∈ S ↔ x ∈ S) |
| 42 | (T : ℝ) (hT : 0 ≤ T) |
| 43 | (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] E)) |
| 44 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) |
| 45 | (hE : ∀ t x, Q.field t (-x) = Q.field t x) |
| 46 | (hE₁ : ∀ t x, Q₁.field t (-x) = Q₁.field t x) |
| 47 | (f : C(Icc (0 : ℝ) T,Supported P E S hS)) (a₀ : Supported P U S hS) |
| 48 | (hf : ∀ t, reflection P (f t : CylinderL2 P E) = -(f t : CylinderL2 P E)) |
| 49 | (ha₀ : reflection P (a₀ : CylinderL2 P U) = -(a₀ : CylinderL2 P U)) |
| 50 | |
| 51 | include hE hf in |
| 52 | theorem projectedForcing_reflection_neg (t : Icc (0 : ℝ) T) : |
| 53 | reflection P (projectedForcing P S hS Q c hc hQ f t : CylinderL2 P U) = |
| 54 | -(projectedForcing P S hS Q c hc hQ f t : CylinderL2 P U) := by |
| 55 | change reflection P (fullOperatorMap P (sourceForcing Q c hc hQ t) (f t : CylinderL2 P E)) = |
| 56 | -fullOperatorMap P (sourceForcing Q c hc hQ t) (f t : CylinderL2 P E) |
| 57 | rw [reflection_fullOperator P _ (sourceForcing_even Q c hc hQ hE t), hf, map_neg] |
| 58 | |
| 59 | include hSym hE hE₁ hf ha₀ in |
| 60 | theorem coordinates_reflection_neg (t : Icc (0 : ℝ) T) : |
| 61 | reflection P (coordinates P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U) = |
| 62 | -(coordinates P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U) := |
| 63 | solution_full_reflection_neg P S hS hSym T hT (sourceGenerator Q Q₁ c hc hQ) |
| 64 | (sourceGenerator_even Q Q₁ c hc hQ hE hE₁) |
| 65 | (evolution P T hT Q Q₁ c hc hQ S hS) (projectedForcing P S hS Q c hc hQ f) a₀ |
| 66 | (projectedForcing_reflection_neg P S hS T Q c hc hQ hE f hf) ha₀ t |
| 67 | |
| 68 | include hSym hE hE₁ hf ha₀ in |
| 69 | theorem velocity_reflection_neg (t : Icc (0 : ℝ) T) : |
| 70 | reflection P (velocity P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P E) = |
| 71 | -(velocity P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P E) := by |
| 72 | change reflection P (fullOperatorMap P (Q.field t) |
| 73 | (coordinates P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U)) = _ |
| 74 | rw [reflection_fullOperator P _ (hE t), |
| 75 | coordinates_reflection_neg P S hS hSym T hT Q Q₁ c hc hQ hE hE₁ f a₀ hf ha₀, map_neg] |
| 76 | rfl |
| 77 | |
| 78 | include hSym hE hE₁ hf ha₀ in |
| 79 | theorem coordinateDerivative_reflection_neg (t : Icc (0 : ℝ) T) : |
| 80 | reflection P (coordinateDerivative P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U) = |
| 81 | -(coordinateDerivative P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U) := by |
| 82 | change reflection P |
| 83 | (fullOperatorMap P (sourceGenerator Q Q₁ c hc hQ t) |
| 84 | (coordinates P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U) + |
| 85 | fullOperatorMap P (sourceForcing Q c hc hQ t) (f t : CylinderL2 P E)) = _ |
| 86 | rw [map_add, reflection_fullOperator P _ (sourceGenerator_even Q Q₁ c hc hQ hE hE₁ t), |
| 87 | reflection_fullOperator P _ (sourceForcing_even Q c hc hQ hE t), |
| 88 | coordinates_reflection_neg P S hS hSym T hT Q Q₁ c hc hQ hE hE₁ f a₀ hf ha₀, |
| 89 | hf, map_neg, map_neg, ← neg_add] |
| 90 | rfl |
| 91 | |
| 92 | include hSym hE hE₁ hf ha₀ in |
| 93 | theorem velocityDerivative_reflection_neg (t : Icc (0 : ℝ) T) : |
| 94 | reflection P (velocityDerivative P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P E) = |
| 95 | -(velocityDerivative P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P E) := by |
| 96 | change reflection P |
| 97 | (fullOperatorMap P (Q₁.field t) |
| 98 | (coordinates P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U) + |
| 99 | fullOperatorMap P (Q.field t) |
| 100 | (coordinateDerivative P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U)) = _ |
| 101 | rw [map_add, reflection_fullOperator P _ (hE₁ t), reflection_fullOperator P _ (hE t), |
| 102 | coordinates_reflection_neg P S hS hSym T hT Q Q₁ c hc hQ hE hE₁ f a₀ hf ha₀, |
| 103 | coordinateDerivative_reflection_neg P S hS hSym T hT Q Q₁ c hc hQ hE hE₁ f a₀ hf ha₀, |
| 104 | map_neg, map_neg, ← neg_add] |
| 105 | rfl |
| 106 | |
| 107 | end Evolution |
| 108 | end EulerSourceCylinderParity |