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.CylinderPhysicalTensor |
| 2 | |
| 3 | /-! Ordinary derivative tensors of the actual graph field lie in spatial |
| 4 | L², with explicit frequency loss and the genuine graph-word norms. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCylinderPhysicalTensor |
| 9 | |
| 10 | open Set MeasureTheory EulerLiftedGradientSpace EulerMetricTransport |
| 11 | EulerCylinderSobolev EulerGraphPressurePotential |
| 12 | open scoped ContDiff ENNReal NNReal |
| 13 | |
| 14 | variable (P : ℝ) (k : ℝ) (m : Vector3) |
| 15 | (f : LiftDomain P → Vector3) |
| 16 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift P f x)) (n : ℕ) |
| 17 | (u : (Fin n → Fin 4) → Lp Vector3 2 (volume : Measure Vector3)) |
| 18 | (hu : ∀ w, (u w : Vector3 → Vector3) =ᵐ[volume] |
| 19 | fun x => iteratedFieldDerivative P w f (cylinderGraph P k m x)) |
| 20 | |
| 21 | include hu in |
| 22 | theorem graphWord_memLp (w : Fin n → Fin 4) : |
| 23 | MemLp (fun x => iteratedFieldDerivative P w f (cylinderGraph P k m x)) 2 volume := |
| 24 | (memLp_congr_ae (hu w)).1 (Lp.memLp (u w)) |
| 25 | |
| 26 | include hf hu in |
| 27 | theorem physicalTensor_memLp : |
| 28 | MemLp (iteratedFDeriv ℝ n (physicalField P k m f)) 2 volume := by |
| 29 | have hs : MemLp (fun x => ∑ w : Fin n → Fin 4, |
| 30 | ‖iteratedFieldDerivative P w f (cylinderGraph P k m x)‖) 2 volume := |
| 31 | memLp_finsetSum _ (fun w _ => (graphWord_memLp P k m f n u hu w).norm) |
| 32 | have hm := hs.const_mul (frequencyFactor k m^n) |
| 33 | have hc : Continuous (iteratedFDeriv ℝ n (physicalField P k m f)) := |
| 34 | (physicalField_contDiff P k m f hf).continuous_iteratedFDeriv (by simp) |
| 35 | apply hm.of_le hc.aestronglyMeasurable |
| 36 | filter_upwards [] with x |
| 37 | rw [Real.norm_of_nonneg (mul_nonneg (pow_nonneg (frequencyFactor_nonneg k m) n) |
| 38 | (Finset.sum_nonneg (fun _ _ => norm_nonneg _)))] |
| 39 | exact physicalTensor_norm_le P k m f hf n x |
| 40 | |
| 41 | def physicalTensorLp : Lp (Vector3 [×n]→L[ℝ] Vector3) 2 (volume : Measure Vector3) := |
| 42 | (physicalTensor_memLp P k m f hf n u hu).toLp (iteratedFDeriv ℝ n (physicalField P k m f)) |
| 43 | |
| 44 | theorem physicalTensorLp_ae : |
| 45 | (physicalTensorLp P k m f hf n u hu : Vector3 → (Vector3 [×n]→L[ℝ] Vector3)) =ᵐ[volume] |
| 46 | iteratedFDeriv ℝ n (physicalField P k m f) := |
| 47 | (physicalTensor_memLp P k m f hf n u hu).coeFn_toLp |
| 48 | |
| 49 | theorem physicalTensorLp_norm_le : |
| 50 | ‖physicalTensorLp P k m f hf n u hu‖ ≤ frequencyFactor k m^n * ∑ w, ‖u w‖ := by |
| 51 | let β : ℝ≥0 := ⟨frequencyFactor k m^n,pow_nonneg (frequencyFactor_nonneg k m) n⟩ |
| 52 | have hA : eLpNorm (iteratedFDeriv ℝ n (physicalField P k m f)) 2 volume ≤ |
| 53 | (β : ℝ≥0∞)*eLpNorm (fun x => ∑ w : Fin n → Fin 4, |
| 54 | ‖iteratedFieldDerivative P w f (cylinderGraph P k m x)‖) 2 volume := by |
| 55 | apply eLpNorm_le_nnreal_smul_eLpNorm_of_ae_le_mul |
| 56 | filter_upwards [] with x |
| 57 | apply NNReal.coe_le_coe.mp |
| 58 | change ‖iteratedFDeriv ℝ n (physicalField P k m f) x‖ ≤ |
| 59 | (frequencyFactor k m^n)*‖∑ w : Fin n → Fin 4, |
| 60 | ‖iteratedFieldDerivative P w f (cylinderGraph P k m x)‖‖ |
| 61 | rw [Real.norm_of_nonneg (Finset.sum_nonneg (fun _ _ => norm_nonneg _))] |
| 62 | exact physicalTensor_norm_le P k m f hf n x |
| 63 | have he : (fun x => ∑ w : Fin n → Fin 4, |
| 64 | ‖iteratedFieldDerivative P w f (cylinderGraph P k m x)‖) = |
| 65 | ∑ w : Fin n → Fin 4, (fun x => ‖iteratedFieldDerivative P w f (cylinderGraph P k m x)‖) := by |
| 66 | funext x |
| 67 | simp only [Finset.sum_apply] |
| 68 | rw [he] at hA |
| 69 | have hB := eLpNorm_sum_le (fun w (_ : w ∈ (Finset.univ : Finset (Fin n → Fin 4))) => |
| 70 | (graphWord_memLp P k m f n u hu w).1.norm) (by norm_num : (1 : ℝ≥0∞) ≤ 2) |
| 71 | simp only [eLpNorm_norm] at hB |
| 72 | have hfinit : (β : ℝ≥0∞) * ∑ w : Fin n → Fin 4, |
| 73 | eLpNorm (fun x => iteratedFieldDerivative P w f (cylinderGraph P k m x)) 2 volume ≠ ⊤ := by |
| 74 | apply ENNReal.mul_ne_top ENNReal.coe_ne_top |
| 75 | exact ENNReal.sum_ne_top.2 (fun w _ => (graphWord_memLp P k m f n u hu w).eLpNorm_ne_top) |
| 76 | have hm : (β : ℝ≥0∞)*eLpNorm |
| 77 | (∑ w : Fin n → Fin 4, (fun x => ‖iteratedFieldDerivative P w f (cylinderGraph P k m x)‖)) 2 volume ≤ |
| 78 | (β : ℝ≥0∞)*∑ w : Fin n → Fin 4, |
| 79 | eLpNorm (fun x => iteratedFieldDerivative P w f (cylinderGraph P k m x)) 2 volume := by |
| 80 | gcongr |
| 81 | have hR := ENNReal.toReal_mono hfinit (hA.trans hm) |
| 82 | rw [ENNReal.toReal_mul,ENNReal.coe_toReal, |
| 83 | ENNReal.toReal_sum (fun w _ => (graphWord_memLp P k m f n u hu w).eLpNorm_ne_top)] at hR |
| 84 | have hn (w : Fin n → Fin 4) : |
| 85 | (eLpNorm (fun x => iteratedFieldDerivative P w f (cylinderGraph P k m x)) 2 volume).toReal = ‖u w‖ := by |
| 86 | rw [Lp.norm_def,eLpNorm_congr_ae (hu w)] |
| 87 | have hβ : (β : ℝ) = frequencyFactor k m^n := rfl |
| 88 | rw [hβ] at hR |
| 89 | simpa only [physicalTensorLp,Lp.norm_toLp,hn] using hR |
| 90 | |
| 91 | end EulerCylinderPhysicalTensor |