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.SmoothCoefficientPathMap |
| 2 | import Euler.TransverseSourceCoefficientPath |
| 3 | |
| 4 | /-! |
| 5 | # The literal source frame as a uniformly smooth bounded coefficient path |
| 6 | |
| 7 | The reference-plane restriction is a fixed linear contraction. The actual |
| 8 | source fields F and F_t therefore construct the full bounded frame fields, |
| 9 | with their genuine jets and time derivative. A pointwise bound on F⁻¹ proves |
| 10 | the uniform frame coercivity used by the constructed Gram inverse. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace EulerTransverseBoundedFrame |
| 16 | |
| 17 | open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients |
| 18 | EulerTransverseFrameCoordinates EulerTransverseSourceFrame EulerTransverseSourceCoefficientPath |
| 19 | EulerVolterraConvolution |
| 20 | open scoped BoundedContinuousFunction ContDiff |
| 21 | |
| 22 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 23 | (m₀ : Space) (R : U ≃ₗᵢ[ℝ] referencePlane m₀) |
| 24 | |
| 25 | /-- Restricting a matrix to the orthonormal reference plane is a contraction. -/ |
| 26 | theorem restriction_norm : ‖referenceRestriction m₀ R‖ ≤ 1 := by |
| 27 | apply opNorm_le_bound _ zero_le_one |
| 28 | intro A |
| 29 | change ‖A.comp (referenceEmbedding m₀ R)‖ ≤ 1*‖A‖ |
| 30 | exact (opNorm_comp_le A (referenceEmbedding m₀ R)).trans |
| 31 | (by simpa only [mul_one,one_mul] using |
| 32 | mul_le_mul_of_nonneg_left (referenceEmbedding_norm m₀ R) (norm_nonneg A)) |
| 33 | |
| 34 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 35 | |
| 36 | /-- The actual source F R⊥, including all its uniformly continuous spatial jets. -/ |
| 37 | def coefficient (F : SmoothCoefficientPath K (Space →L[ℝ] Space)) : |
| 38 | SmoothCoefficientPath K (U →L[ℝ] Space) := |
| 39 | SmoothCoefficientPath.map (referenceRestriction m₀ R) F |
| 40 | |
| 41 | @[simp] theorem coefficient_apply (F : SmoothCoefficientPath K (Space →L[ℝ] Space)) |
| 42 | (t : K) (x : Space) (v : U) : (coefficient m₀ R F).field t x v = F.field t x (R v : Space) := rfl |
| 43 | |
| 44 | /-- The original pointwise source coefficient derivative bound survives without loss. -/ |
| 45 | theorem coefficient_derivative_bound (F : SmoothCoefficientPath K (Space →L[ℝ] Space)) |
| 46 | (n : ℕ) (C : ℝ) |
| 47 | (hF : ∀ t x, ‖iteratedFDeriv ℝ n (F.field t : Space → Space →L[ℝ] Space) x‖ ≤ C) |
| 48 | (t : K) (x : Space) : |
| 49 | ‖iteratedFDeriv ℝ n ((coefficient m₀ R F).field t : Space → U →L[ℝ] Space) x‖ ≤ C := |
| 50 | SmoothCoefficientPath.map_derivative_bound (referenceRestriction m₀ R) (restriction_norm m₀ R) F n C hF t x |
| 51 | |
| 52 | /-- The uniform inverse-frame bound gives the precise squared lower frame bound. -/ |
| 53 | theorem coefficient_lower (F : SmoothCoefficientPath K (Space →L[ℝ] Space)) |
| 54 | (FInv : K → Space → Space →L[ℝ] Space) (B : ℝ) (hB : 0 < B) |
| 55 | (hInv : ∀ t x v, FInv t x (F.field t x v) = v) |
| 56 | (hNorm : ∀ t x, ‖FInv t x‖ ≤ B) (t : K) (x : Space) (v : U) : |
| 57 | (B⁻¹)^2*‖v‖^2 ≤ ‖(coefficient m₀ R F).field t x v‖^2 := by |
| 58 | have hn : ‖v‖ ≤ B*‖(coefficient m₀ R F).field t x v‖ := by |
| 59 | calc |
| 60 | ‖v‖ = ‖(R v : Space)‖ := (R.norm_map v).symm |
| 61 | _ = ‖FInv t x (F.field t x (R v : Space))‖ := congrArg norm (hInv t x (R v : Space)).symm |
| 62 | _ ≤ ‖FInv t x‖*‖F.field t x (R v : Space)‖ := (FInv t x).le_opNorm _ |
| 63 | _ ≤ B*‖(coefficient m₀ R F).field t x v‖ := |
| 64 | mul_le_mul_of_nonneg_right (hNorm t x) (norm_nonneg _) |
| 65 | have hdiv : ‖v‖/B ≤ ‖(coefficient m₀ R F).field t x v‖ := |
| 66 | (div_le_iff₀ hB).2 (by simpa only [mul_comm] using hn) |
| 67 | have hs := (sq_le_sq₀ (div_nonneg (norm_nonneg v) hB.le) (norm_nonneg _)).2 hdiv |
| 68 | simpa only [div_eq_mul_inv,mul_pow,mul_comm] using hs |
| 69 | |
| 70 | section Time |
| 71 | |
| 72 | variable (T : ℝ) (hT : 0 ≤ T) |
| 73 | (F F₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) |
| 74 | |
| 75 | /-- The actual source time derivative also commutes with the reference restriction. -/ |
| 76 | theorem coefficient_hasDerivWithinAt |
| 77 | (hF : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, |
| 78 | HasDerivWithinAt (fun s => extendPath T hT F.field s x) |
| 79 | (extendPath T hT F₁.field t x) (Icc (0 : ℝ) T) t) |
| 80 | (t : ℝ) (ht : t ∈ Icc (0 : ℝ) T) (x : Space) : |
| 81 | HasDerivWithinAt (fun s => extendPath T hT (coefficient m₀ R F).field s x) |
| 82 | (extendPath T hT (coefficient m₀ R F₁).field t x) (Icc (0 : ℝ) T) t := by |
| 83 | have hd := (referenceRestriction m₀ R).hasFDerivAt.comp_hasDerivWithinAt t (hF t ht x) |
| 84 | exact hd |
| 85 | |
| 86 | end Time |
| 87 | |
| 88 | end EulerTransverseBoundedFrame |