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.FiniteIntervalFlow |
| 2 | import Euler.SmoothTimeSuperposition |
| 3 | import Euler.SmoothImplicitLift |
| 4 | import Euler.LinearFundamentalPath |
| 5 | import Euler.LinearDuhamelOperator |
| 6 | |
| 7 | /-! |
| 8 | # Smooth dependence of the constructed flow on its initial position |
| 9 | |
| 10 | The actual Picard flow is a continuous family of paths. Its integral |
| 11 | equation is inverted locally on the path Banach space: the derivative is |
| 12 | the genuine Volterra operator, whose two-sided inverse was constructed |
| 13 | from the linear ODE. This proves smooth label dependence at every order. |
| 14 | -/ |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | |
| 19 | open scoped ContDiff BoundedContinuousFunction NNReal |
| 20 | |
| 21 | namespace EulerSmoothBanachFlow |
| 22 | |
| 23 | open Set EulerContinuousTimeIntegral |
| 24 | EulerBoundedLipschitzFlow EulerLinearDuhamel |
| 25 | |
| 26 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 27 | (T : ℝ) (hT : 0 ≤ T) (A : SmoothTimeField (Icc (0 : ℝ) T) E E) |
| 28 | |
| 29 | omit [CompleteSpace E] in |
| 30 | theorem velocity_lipschitz (t : Icc (0 : ℝ) T) : |
| 31 | LipschitzWith ‖A.derivative.field‖₊ (A.field t : E → E) := by |
| 32 | apply lipschitzWith_of_nnnorm_fderiv_le ((A.smooth t).differentiable (by simp)) |
| 33 | intro x |
| 34 | apply NNReal.coe_le_coe.mp |
| 35 | change ‖fderiv ℝ (A.field t : E → E) x‖ ≤ ‖A.derivative.field‖ |
| 36 | rw [← A.derivativeField_eq] |
| 37 | exact ((A.derivative.field t).norm_coe_le_norm x).trans |
| 38 | (A.derivative.field.norm_coe_le_norm t) |
| 39 | |
| 40 | def flowData : EulerBoundedLipschitzFlow.Data E := |
| 41 | ofTimeInterval T hT A.field ‖A.derivative.field‖₊ (velocity_lipschitz T A) |
| 42 | |
| 43 | def pathFamily : C(E, C(Icc (0 : ℝ) T, E)) := |
| 44 | (⟨fun p : E × Icc (0 : ℝ) T => (flowData T hT A).forward p.2 p.1, |
| 45 | (flowData T hT A).forward_joint_continuous.comp |
| 46 | ((continuous_subtype_val.comp continuous_snd).prodMk continuous_fst)⟩ : |
| 47 | C(E × Icc (0 : ℝ) T, E)).curry |
| 48 | |
| 49 | @[simp] theorem pathFamily_apply (x : E) (t : Icc (0 : ℝ) T) : |
| 50 | pathFamily T hT A x t = (flowData T hT A).forward t x := rfl |
| 51 | |
| 52 | def pathOperator (u : C(Icc (0 : ℝ) T, E)) : C(Icc (0 : ℝ) T, E) := |
| 53 | u - EulerContinuousTimeIntegral.integral T hT (A.superposition u) |
| 54 | |
| 55 | theorem pathOperator_contDiff : ContDiff ℝ ∞ (pathOperator T hT A) := by |
| 56 | have hI := ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) |
| 57 | (E := C(Icc (0 : ℝ) T, E)) (F := C(Icc (0 : ℝ) T, E)) |
| 58 | (EulerContinuousTimeIntegral.integral T hT) |
| 59 | exact contDiff_id.sub (ContDiff.comp |
| 60 | (g := EulerContinuousTimeIntegral.integral T hT) (f := A.superposition) |
| 61 | hI A.superposition_contDiff) |
| 62 | |
| 63 | theorem pathOperator_hasFDerivAt (u : C(Icc (0 : ℝ) T, E)) : |
| 64 | HasFDerivAt (pathOperator T hT A) |
| 65 | (volterraOperator T hT (A.derivative.superposition u)) u := by |
| 66 | have hI : HasFDerivAt |
| 67 | (EulerContinuousTimeIntegral.integral T hT : |
| 68 | C(Icc (0 : ℝ) T, E) → C(Icc (0 : ℝ) T, E)) |
| 69 | (EulerContinuousTimeIntegral.integral T hT) (A.superposition u) := |
| 70 | ContinuousLinearMap.hasFDerivAt (𝕜 := ℝ) |
| 71 | (E := C(Icc (0 : ℝ) T, E)) (F := C(Icc (0 : ℝ) T, E)) |
| 72 | (x := A.superposition u) (EulerContinuousTimeIntegral.integral (E := E) T hT) |
| 73 | exact (hasFDerivAt_id u).sub (HasFDerivAt.comp |
| 74 | (E := C(Icc (0 : ℝ) T, E)) (F := C(Icc (0 : ℝ) T, E)) |
| 75 | (G := C(Icc (0 : ℝ) T, E)) u hI (A.superposition_hasFDerivAt u)) |
| 76 | |
| 77 | theorem pathFamily_hasDerivWithinAt (x : E) (t : Icc (0 : ℝ) T) : |
| 78 | HasDerivWithinAt (fun s => (flowData T hT A).forward s x) |
| 79 | (A.superposition (pathFamily T hT A x) t) (Icc (0 : ℝ) T) t := by |
| 80 | have h := (flowData T hT A).forward_hasDerivAt t x |
| 81 | have hv : (flowData T hT A).velocity t ((flowData T hT A).forward t x) = |
| 82 | A.superposition (pathFamily T hT A x) t := by |
| 83 | change (ofTimeInterval T hT A.field ‖A.derivative.field‖₊ (velocity_lipschitz T A)).velocity |
| 84 | t ((flowData T hT A).forward t x) = _ |
| 85 | rw [ofTimeInterval_velocity] |
| 86 | rfl |
| 87 | rw [hv] at h |
| 88 | exact h.hasDerivWithinAt |
| 89 | |
| 90 | theorem pathFamily_integral (x : E) : |
| 91 | pathFamily T hT A x = (ContinuousLinearMap.const ℝ (Icc (0 : ℝ) T)) x + |
| 92 | EulerContinuousTimeIntegral.integral T hT (A.superposition (pathFamily T hT A x)) := by |
| 93 | apply ContinuousMap.ext |
| 94 | intro t |
| 95 | have h := eq_initial_add_integral T hT (A.superposition (pathFamily T hT A x)) |
| 96 | (fun s => (flowData T hT A).forward s x) (pathFamily_hasDerivWithinAt T hT A x) t |
| 97 | change (flowData T hT A).forward t x = x + |
| 98 | EulerContinuousTimeIntegral.integral T hT (A.superposition (pathFamily T hT A x)) t |
| 99 | simpa only [(flowData T hT A).forward_zero] using h |
| 100 | |
| 101 | theorem pathOperator_pathFamily (x : E) : |
| 102 | pathOperator T hT A (pathFamily T hT A x) = |
| 103 | (ContinuousLinearMap.const ℝ (Icc (0 : ℝ) T)) x := |
| 104 | sub_eq_iff_eq_add.mpr (pathFamily_integral T hT A x) |
| 105 | |
| 106 | /-- The actual nonlinear flow has smooth dependence on its initial point, |
| 107 | in the uniform path norm on the whole prescribed time interval. -/ |
| 108 | theorem pathFamily_contDiff : ContDiff ℝ ∞ (pathFamily T hT A) := by |
| 109 | rw [contDiff_iff_contDiffAt] |
| 110 | intro x |
| 111 | let U := constructedEvolution T hT (A.derivative.superposition (pathFamily T hT A x)) |
| 112 | have hconst := ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := ∞) |
| 113 | (E := E) (F := C(Icc (0 : ℝ) T, E)) |
| 114 | (ContinuousLinearMap.const ℝ (Icc (0 : ℝ) T)) |
| 115 | apply EulerSmoothImplicitLift.contDiffAt_of_identity |
| 116 | (pathFamily T hT A) (pathOperator T hT A) |
| 117 | (ContinuousLinearMap.const ℝ (Icc (0 : ℝ) T)) x ∞ (by simp) |
| 118 | (pathFamily T hT A).continuous.continuousAt (pathOperator_contDiff T hT A).contDiffAt |
| 119 | hconst.contDiffAt U.volterraEquiv |
| 120 | · exact pathOperator_hasFDerivAt T hT A (pathFamily T hT A x) |
| 121 | · exact pathOperator_pathFamily T hT A |
| 122 | |
| 123 | theorem forward_contDiff (t : Icc (0 : ℝ) T) : |
| 124 | ContDiff ℝ ∞ (fun x => (flowData T hT A).forward t x) := by |
| 125 | exact (ContinuousMap.evalCLM ℝ t).contDiff.comp (pathFamily_contDiff T hT A) |
| 126 | |
| 127 | end EulerSmoothBanachFlow |