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.PacketCrossProduct |
| 2 | import Euler.AnglePrimitiveBounds |
| 3 | |
| 4 | /-! The vector potential Q of a tangent, mean-zero, periodic high coefficient. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketAngularPotential |
| 9 | |
| 10 | open EulerSmoothLimit EulerPacketCrossProduct EulerAngleMeanZeroPrimitive |
| 11 | MeasureTheory Set InnerProductSpace |
| 12 | |
| 13 | def potential (P : ℝ) (m : Space) (A : ℝ → Space) : ℝ → Space := |
| 14 | primitive P (fun θ => potentialMultiplier m (A θ)) |
| 15 | |
| 16 | theorem potential_hasDerivAt (P : ℝ) (m : Space) (A : ℝ → Space) |
| 17 | (hA : Continuous A) (θ : ℝ) : |
| 18 | HasDerivAt (potential P m A) (potentialMultiplier m (A θ)) θ := |
| 19 | primitive_hasDerivAt P _ ((potentialMultiplier m).continuous.comp hA) θ |
| 20 | |
| 21 | theorem potential_periodic (P : ℝ) (m : Space) (A : ℝ → Space) |
| 22 | (hA : Continuous A) (hper : Function.Periodic A P) |
| 23 | (hmean : ∫ θ in 0..P, A θ=0) : Function.Periodic (potential P m A) P := by |
| 24 | apply primitive_periodic P _ ((potentialMultiplier m).continuous.comp hA) |
| 25 | · intro θ |
| 26 | exact congrArg (potentialMultiplier m) (hper θ) |
| 27 | · simp only [Function.comp_def] |
| 28 | rw [(potentialMultiplier m).intervalIntegral_comp_comm (hA.intervalIntegrable 0 P), |
| 29 | hmean, map_zero] |
| 30 | |
| 31 | theorem potential_zero (P : ℝ) (m : Space) : |
| 32 | potential P m (fun _ => 0)=fun _ => 0 := by |
| 33 | funext θ |
| 34 | simp [potential, primitive, rawPrimitive] |
| 35 | |
| 36 | theorem potential_bound (P M : ℝ) (hP : 0 < P) (hM : 0 ≤ M) (m : Space) |
| 37 | (A : ℝ → Space) (hA : ∀ θ ∈ Icc 0 P, ‖A θ‖ ≤ M) (θ : ℝ) (hθ : θ ∈ Icc 0 P) : |
| 38 | ‖potential P m A θ‖ ≤ 2*P*(‖potentialMultiplier m‖*M) := by |
| 39 | apply primitive_bound P (‖potentialMultiplier m‖*M) hP |
| 40 | (mul_nonneg (norm_nonneg _) hM) _ _ θ hθ |
| 41 | intro s hs |
| 42 | exact ((potentialMultiplier m).le_opNorm (A s)).trans |
| 43 | (mul_le_mul_of_nonneg_left (hA s hs) (norm_nonneg _)) |
| 44 | |
| 45 | end EulerPacketAngularPotential |