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.VolumeSobolevPath |
| 2 | |
| 3 | /-! Actual all-order field towers retain their spatial Sobolev regularity |
| 4 | after a smooth volume-preserving change of coordinates. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerVolumeSobolevPath |
| 9 | |
| 10 | open MeasureTheory EulerVolumeSobolevComposition EulerMetricTransport EulerLiftedGradientSpace |
| 11 | open scoped ContDiff |
| 12 | |
| 13 | variable {K : Type*} [TopologicalSpace K] [FirstCountableTopology K] |
| 14 | (Y : C(K,C(Vector3,Vector3))) (hmp : ∀ t, MeasurePreserving (Y t) volume volume) |
| 15 | (u : ∀ i : ℕ, C(K,Lp (Tensor i) 2 (volume : Measure Vector3))) {n : ℕ} |
| 16 | (D : ℝ) (hD : 0 ≤ D) |
| 17 | (hJ : ∀ i, 1 ≤ i → i ≤ n → |
| 18 | Continuous (fun z : K × Vector3 => iteratedFDeriv ℝ i (Y z.1) z.2)) |
| 19 | (hB : ∀ i, 1 ≤ i → i ≤ n → ∀ t x, ‖iteratedFDeriv ℝ i (Y t) x‖ ≤ D^i) |
| 20 | |
| 21 | theorem tensorPath_norm_le (g : K → Vector3 → Vector3) |
| 22 | (hg : ∀ t, ContDiff ℝ ∞ (g t)) (hY : ∀ t, ContDiff ℝ ∞ (Y t)) |
| 23 | (hu : ∀ i t, (u i t : Vector3 → Tensor i) =ᵐ[volume] iteratedFDeriv ℝ i (g t)) (t : K) : |
| 24 | ‖tensorPath Y hmp u D hD hJ hB t‖ ≤ |
| 25 | ((n.factorial : ℝ)*D^n)*∑ i : Fin (n+1), ‖u i.val t‖ := by |
| 26 | have hLp : ∀ i, i ≤ n → MemLp (iteratedFDeriv ℝ i (g t)) 2 volume := |
| 27 | fun i _ => (memLp_congr_ae (hu i t)).mp (Lp.memLp (u i t)) |
| 28 | let V := compositionTensorLp (Y t) (g t) (hY t) (hg t) n D hD |
| 29 | (fun i h1 hi => hB i h1 hi t) (hmp t) hLp |
| 30 | have he : tensorPath Y hmp u D hD hJ hB t = V := by |
| 31 | apply Lp.ext |
| 32 | exact (tensorPath_ae Y hmp u D hD hJ hB g hg hY hu t).trans |
| 33 | (compositionTensor_memLp (Y t) (g t) (hY t) (hg t) n D hD |
| 34 | (fun i h1 hi => hB i h1 hi t) (hmp t) hLp).coeFn_toLp.symm |
| 35 | rw [he] |
| 36 | calc |
| 37 | ‖V‖ ≤ ((n.factorial : ℝ)*D^n)*∑ i : Fin (n+1), |
| 38 | (eLpNorm (iteratedFDeriv ℝ i.val (g t)) 2 volume).toReal := |
| 39 | compositionTensorLp_norm_le (Y t) (g t) (hY t) (hg t) n D hD |
| 40 | (fun i h1 hi => hB i h1 hi t) (hmp t) hLp |
| 41 | _ = _ := by |
| 42 | congr 1 |
| 43 | apply Finset.sum_congr rfl |
| 44 | intro i _ |
| 45 | rw [Lp.norm_def,eLpNorm_congr_ae (hu i.val t)] |
| 46 | |
| 47 | end EulerVolumeSobolevPath |
| 48 | |
| 49 | namespace EulerAllOrderCorrectionData.FieldTower |
| 50 | |
| 51 | open Set MeasureTheory EulerMetricTransport EulerCylinderPhysicalTensor EulerCylinderSobolevSpace |
| 52 | EulerLiftedGradientSpace |
| 53 | open scoped ContDiff |
| 54 | |
| 55 | variable {P T : ℝ} [Fact (0 < P)] (A : EulerAllOrderCorrectionData.FieldTower P T) |
| 56 | (k : ℝ) (m : Vector3) |
| 57 | (Y : C(Icc (0 : ℝ) T,C(Vector3,Vector3))) |
| 58 | (hmp : ∀ t, MeasurePreserving (Y t) volume volume) |
| 59 | (n : ℕ) (D : ℝ) (hD : 0 ≤ D) |
| 60 | (hJ : ∀ i, 1 ≤ i → i ≤ n → |
| 61 | Continuous (fun z : Icc (0 : ℝ) T × Vector3 => iteratedFDeriv ℝ i (Y z.1) z.2)) |
| 62 | (hB : ∀ i, 1 ≤ i → i ≤ n → ∀ t x, ‖iteratedFDeriv ℝ i (Y t) x‖ ≤ D^i) |
| 63 | |
| 64 | def volumePointField (t : Icc (0 : ℝ) T) : Vector3 → Vector3 := |
| 65 | A.physicalPointField k m t ∘ Y t |
| 66 | |
| 67 | def volumeTensorPath : C(Icc (0 : ℝ) T, |
| 68 | Lp (Vector3 [×n]→L[ℝ] Vector3) 2 (volume : Measure Vector3)) := |
| 69 | EulerVolumeSobolevPath.tensorPath Y hmp (fun i => A.physicalTensorPath k m i) D hD hJ hB |
| 70 | |
| 71 | theorem volumePointField_smooth (hY : ∀ t, ContDiff ℝ ∞ (Y t)) (t : Icc (0 : ℝ) T) : |
| 72 | ContDiff ℝ ∞ (A.volumePointField k m Y t) := |
| 73 | (A.physicalPointField_smooth k m t).comp (hY t) |
| 74 | |
| 75 | theorem volumeTensorPath_ae (hY : ∀ t, ContDiff ℝ ∞ (Y t)) (t : Icc (0 : ℝ) T) : |
| 76 | (A.volumeTensorPath k m Y hmp n D hD hJ hB t : Vector3 → (Vector3 [×n]→L[ℝ] Vector3)) =ᵐ[volume] |
| 77 | iteratedFDeriv ℝ n (A.volumePointField k m Y t) := |
| 78 | EulerVolumeSobolevPath.tensorPath_ae Y hmp (fun i => A.physicalTensorPath k m i) D hD hJ hB |
| 79 | (A.physicalPointField k m) (A.physicalPointField_smooth k m) hY |
| 80 | (A.physicalTensorPath_ae k m) t |
| 81 | |
| 82 | theorem volumeTensorPath_norm_le (hY : ∀ t, ContDiff ℝ ∞ (Y t)) (t : Icc (0 : ℝ) T) : |
| 83 | ‖A.volumeTensorPath k m Y hmp n D hD hJ hB t‖ ≤ |
| 84 | ((n.factorial : ℝ)*D^n)*∑ i : Fin (n+1), |
| 85 | frequencyFactor k m^i.val*(4 : ℝ)^i.val*Real.sqrt (2/P+2*P)*‖A.realization (i.val+1) t‖ := by |
| 86 | have h := EulerVolumeSobolevPath.tensorPath_norm_le Y hmp (fun i => A.physicalTensorPath k m i) |
| 87 | D hD hJ hB (A.physicalPointField k m) (A.physicalPointField_smooth k m) hY |
| 88 | (A.physicalTensorPath_ae k m) t |
| 89 | exact h.trans (mul_le_mul_of_nonneg_left |
| 90 | (Finset.sum_le_sum (fun i _ => A.physicalTensorValue_norm_le k m i.val t)) (by positivity)) |
| 91 | |
| 92 | end EulerAllOrderCorrectionData.FieldTower |