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.LinearDuhamelWeighted |
| 2 | |
| 3 | /-! |
| 4 | # Independence and symmetries of the actual forward solve |
| 5 | |
| 6 | The forced solution is independent of the selected homogeneous fundamental |
| 7 | representation. Consequently coefficient symmetries pass to the solution |
| 8 | without assuming any corresponding symmetry of that representation. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace EulerLinearDuhamel |
| 14 | |
| 15 | open Set ContinuousLinearMap EulerContinuousTimeIntegral |
| 16 | |
| 17 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 18 | variable {T : ℝ} {hT : 0 ≤ T} {B : C(Icc (0 : ℝ) T,E →L[ℝ] E)} |
| 19 | |
| 20 | namespace Evolution |
| 21 | |
| 22 | /-- The true forced path is independent of the fundamental evolution chosen to represent it. -/ |
| 23 | theorem solution_independent (U V : Evolution T hT B) (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : |
| 24 | U.solution f a₀ = V.solution f a₀ := by |
| 25 | ext t |
| 26 | exact V.solution_unique f a₀ (U.solutionReal f a₀) (U.solution_derivative f a₀) |
| 27 | (U.solution_initial f a₀) t |
| 28 | |
| 29 | /-- Sign reversal of both data reverses the actual solution. -/ |
| 30 | theorem solution_neg (U : Evolution T hT B) (f : C(Icc (0 : ℝ) T,E)) (a₀ : E) : |
| 31 | U.solution (-f) (-a₀) = -U.solution f a₀ := by |
| 32 | rw [U.solution_eq_operators, U.solution_eq_operators, map_neg, map_neg, neg_add] |
| 33 | |
| 34 | /-- Zero data vanish identically. -/ |
| 35 | @[simp] theorem solution_zero (U : Evolution T hT B) : |
| 36 | U.solution (0 : C(Icc (0 : ℝ) T,E)) 0 = 0 := by |
| 37 | rw [U.solution_eq_operators, map_zero, map_zero, add_zero] |
| 38 | |
| 39 | end Evolution |
| 40 | |
| 41 | variable {P : Type*} (T : ℝ) (hT : 0 ≤ T) |
| 42 | (B : P → C(Icc (0 : ℝ) T,E →L[ℝ] E)) (U : ∀ x, Evolution T hT (B x)) |
| 43 | |
| 44 | /-- Reflection or any other parameter symmetry is inherited from coefficients |
| 45 | and data; no regularity or symmetry of the chosen propagators is required. -/ |
| 46 | theorem solution_odd_under (σ : P → P) (hB : ∀ x, B (σ x) = B x) |
| 47 | (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → E) |
| 48 | (hf : ∀ x, f (σ x) = -f x) (ha₀ : ∀ x, a₀ (σ x) = -a₀ x) (x : P) : |
| 49 | (U (σ x)).solution (f (σ x)) (a₀ (σ x)) = -(U x).solution (f x) (a₀ x) := by |
| 50 | have he := (U x).frozen_solution (U (σ x)) (f (σ x)) (a₀ (σ x)) |
| 51 | have hm : multiplier (0 : C(Icc (0 : ℝ) T,E →L[ℝ] E)) = 0 := by |
| 52 | ext p t |
| 53 | rfl |
| 54 | have hcoeff : B (σ x)-B x = 0 := by rw [hB x, sub_self] |
| 55 | rw [hcoeff, hm, zero_apply, add_zero] at he |
| 56 | calc |
| 57 | (U (σ x)).solution (f (σ x)) (a₀ (σ x)) = |
| 58 | (U x).initialOperator (a₀ (σ x)) + (U x).forcingOperator (f (σ x)) := he |
| 59 | _ = -((U x).initialOperator (a₀ x) + (U x).forcingOperator (f x)) := by |
| 60 | rw [hf x, ha₀ x, map_neg, map_neg, neg_add] |
| 61 | _ = -(U x).solution (f x) (a₀ x) := by rw [(U x).solution_eq_operators] |
| 62 | |
| 63 | /-- The actual forward solution stays in the union of the supports of its data. -/ |
| 64 | theorem solution_support_subset (f : P → C(Icc (0 : ℝ) T,E)) (a₀ : P → E) : |
| 65 | Function.support (fun x => (U x).solution (f x) (a₀ x)) ⊆ |
| 66 | Function.support f ∪ Function.support a₀ := by |
| 67 | intro x hx |
| 68 | by_cases hf : f x = 0 |
| 69 | · by_cases ha : a₀ x = 0 |
| 70 | · have hz : (U x).solution (f x) (a₀ x) = 0 := by rw [hf, ha, Evolution.solution_zero] |
| 71 | exact (hx hz).elim |
| 72 | · exact Or.inr ha |
| 73 | · exact Or.inl hf |
| 74 | |
| 75 | end EulerLinearDuhamel |