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.CorrectionAssemblyCompatibility |
| 2 | import Euler.ClassicalDivergence |
| 3 | import Euler.SobolevJointEvaluation |
| 4 | |
| 5 | /-! A common actual smooth lifted correction assembled from finite solves and proved uniqueness. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerCorrectionAssembly |
| 10 | |
| 11 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 12 | EulerSpatialSobolevInverse EulerCorrectionOperators EulerAllOrderCorrectionData |
| 13 | EulerVolterraConvolution EulerMetricTransport EulerTransportDerivatives |
| 14 | EulerSmoothPressureRepresentative EulerClassicalDivergence EulerSobolevPointEvaluation |
| 15 | EulerSobolevJointEvaluation |
| 16 | open scoped ContDiff |
| 17 | |
| 18 | variable (period : ℝ) [Fact (0 < period)] |
| 19 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 20 | |
| 21 | /-- The actual common continuous L² path, defined from the base finite correction. -/ |
| 22 | def FiniteFamily.commonPath (F : FiniteFamily period hT A) : C(Icc (0 : ℝ) T, LiftL2 period) := |
| 23 | (valueOperator period 7).compLeftContinuous ℝ (Icc (0 : ℝ) T) (F.solution 6 le_rfl) |
| 24 | |
| 25 | /-- Every supplied finite correction realizes the common actual L² path. -/ |
| 26 | theorem FiniteFamily.value_common (F : FiniteFamily period hT A) (C : ComparisonData period hT A) |
| 27 | (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 28 | value period (F.solution q hq t) = F.commonPath period t := |
| 29 | F.value_base period C q hq t |
| 30 | |
| 31 | /-- The common correction has zero initial trace. -/ |
| 32 | theorem FiniteFamily.commonPath_initial (F : FiniteFamily period hT A) : |
| 33 | F.commonPath period ⟨0, le_rfl, hT.le⟩ = 0 := by |
| 34 | change value period (F.solution 6 le_rfl ⟨0, le_rfl, hT.le⟩) = 0 |
| 35 | rw [F.initial] |
| 36 | rfl |
| 37 | |
| 38 | /-- The common correction satisfies the actual closed lifted divergence constraint. -/ |
| 39 | theorem FiniteFamily.commonPath_divergence (F : FiniteFamily period hT A) (t : Icc (0 : ℝ) T) : |
| 40 | F.commonPath period t ∈ divergenceFreeSpace period A.κ A.direction := |
| 41 | F.divergence 6 le_rfl t |
| 42 | |
| 43 | /-- The common correction has an actual strong spatial jet at every derivative order. -/ |
| 44 | def FiniteFamily.commonJet (F : FiniteFamily period hT A) (C : ComparisonData period hT A) |
| 45 | (n : ℕ) (t : Icc (0 : ℝ) T) : SpatialJet period standardDirection n (F.commonPath period t) := by |
| 46 | rw [← F.value_common period C (n+6) (by omega) t] |
| 47 | exact EulerH6Pressure.SpatialJet.restrict |
| 48 | (toJet period (F.solution (n+6) (by omega) t)) n (by omega) |
| 49 | |
| 50 | /-- The common L² path satisfies the actual nonlinear inviscid equation. -/ |
| 51 | theorem FiniteFamily.commonPath_hasDerivAt (F : FiniteFamily period hT A) |
| 52 | (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 53 | HasDerivAt (extendPath T hT.le (F.commonPath period)) |
| 54 | (value period (((A.atOrder period 6).coefficients period le_rfl).apply |
| 55 | ⟨t, ht.1.le, ht.2.le⟩ (F.solution 6 le_rfl ⟨t, ht.1.le, ht.2.le⟩))) t := |
| 56 | F.equation 6 le_rfl t ht |
| 57 | |
| 58 | /-- Every other genuine finite-order correction realizes this same common field. |
| 59 | Consequently bounds proved for any particular finite solver may be transferred to the assembled solution. -/ |
| 60 | theorem FiniteFamily.realizes_common (F : FiniteFamily period hT A) (C : ComparisonData period hT A) |
| 61 | (q : ℕ) (hq : 6 ≤ q) (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) |
| 62 | (hi : u ⟨0, le_rfl, hT.le⟩ = 0) |
| 63 | (hd : ∀ t, value period (u t) ∈ divergenceFreeSpace period A.κ A.direction) |
| 64 | (hu : ∀ t (ht : t ∈ Ioo 0 T), |
| 65 | HasDerivAt (fun r => value period (extendPath T hT.le u r)) |
| 66 | (value period (((A.atOrder period q).coefficients period hq).apply |
| 67 | ⟨t, ht.1.le, ht.2.le⟩ (u ⟨t, ht.1.le, ht.2.le⟩))) t) |
| 68 | (t : Icc (0 : ℝ) T) : value period (u t) = F.commonPath period t := by |
| 69 | rw [F.unique_at_order period C q hq u hi hd hu] |
| 70 | exact F.value_common period C q hq t |
| 71 | |
| 72 | /-- Bounded H3 evaluation fixes a canonical actual pointwise representative of the common correction. -/ |
| 73 | def FiniteFamily.pointField (F : FiniteFamily period hT A) |
| 74 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
| 75 | pointEvaluation period x (restrictOperator period (by omega : 3 ≤ 7) (F.solution 6 le_rfl t)) |
| 76 | |
| 77 | /-- The canonical common field is an actual representative of its L² path. -/ |
| 78 | theorem FiniteFamily.pointField_ae (F : FiniteFamily period hT A) (t : Icc (0 : ℝ) T) : |
| 79 | (F.commonPath period t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] F.pointField period t := |
| 80 | representative_ae period (restrictOperator period (by omega : 3 ≤ 7) (F.solution 6 le_rfl t)) |
| 81 | |
| 82 | /-- The canonical common field is jointly continuous in time and the cylinder point. -/ |
| 83 | theorem FiniteFamily.pointField_joint_continuous (F : FiniteFamily period hT A) : |
| 84 | Continuous (F.pointField period).uncurry := |
| 85 | path_representative_joint_continuous period |
| 86 | ((restrictOperator period (by omega : 3 ≤ 7)).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 87 | (F.solution 6 le_rfl)) |
| 88 | |
| 89 | /-- Proved compatibility and all finite genuine jets make the canonical common field spatially smooth. -/ |
| 90 | theorem FiniteFamily.pointField_smooth (F : FiniteFamily period hT A) (C : ComparisonData period hT A) |
| 91 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 92 | ContDiff ℝ ∞ (localFieldLift period (F.pointField period t) x) := by |
| 93 | obtain ⟨g, hg, ha⟩ := exists_smooth_representative period (F.commonPath period t) |
| 94 | (fun n => F.commonJet period C n t) |
| 95 | have he : F.pointField period t = g := |
| 96 | representative_eq period _ g (smoothField_continuous period g hg) ha |
| 97 | rw [he] |
| 98 | exact hg x |
| 99 | |
| 100 | /-- The canonical smooth field has pointwise zero lifted divergence. -/ |
| 101 | theorem FiniteFamily.pointField_divergence (F : FiniteFamily period hT A) (C : ComparisonData period hT A) |
| 102 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 103 | (∑ i : Fin 3, (fieldDerivative period (coordinateDirection A.κ A.direction i) |
| 104 | (F.pointField period t) x) i) = 0 := |
| 105 | divergenceFree_classical_divergence_zero period A.κ A.direction (F.commonPath period t) |
| 106 | (F.commonPath_divergence period t) (F.pointField period t) (F.pointField_ae period t) |
| 107 | (F.pointField_smooth period C t) x |
| 108 | |
| 109 | end EulerCorrectionAssembly |