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.CorrectionAssemblyCommon |
| 2 | import Euler.CorrectionSourceRestriction |
| 3 | |
| 4 | /-! Coherence and all-order regularity of the actual pressure associated with a finite correction family. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCorrectionAssembly |
| 9 | |
| 10 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 11 | EulerSpatialSobolevInverse EulerCorrectionOperators EulerCorrectionLowerData |
| 12 | EulerCorrectionSourceRestriction EulerAllOrderCorrectionData EulerSobolevCoefficientPressure |
| 13 | EulerVolterraConvolution |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 17 | |
| 18 | /-- The actual continuous nonlinear raw source of each finite correction. -/ |
| 19 | def FiniteFamily.rawSourcePath (F : FiniteFamily period hT A) (q : ℕ) (hq : 6 ≤ q) : |
| 20 | C(Icc (0 : ℝ) T, SobolevSpace period q) := |
| 21 | rawPath period hq (A.atOrder period q) (F.solution q hq) |
| 22 | |
| 23 | /-- The actual signed coercive pressure of each finite correction. -/ |
| 24 | def FiniteFamily.signedPressurePath (F : FiniteFamily period hT A) (q : ℕ) (hq : 6 ≤ q) : |
| 25 | C(Icc (0 : ℝ) T, SobolevSpace period q) := |
| 26 | pressurePath period hq (A.atOrder period q) (F.solution q hq) |
| 27 | |
| 28 | /-- Proved correction compatibility gives exact restriction of the actual nonlinear sources. -/ |
| 29 | theorem FiniteFamily.rawSourcePath_truncate (F : FiniteFamily period hT A) (C : ComparisonData period hT A) |
| 30 | (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 31 | truncateOperator period q (F.rawSourcePath period (q+1) (hq.trans (Nat.le_succ q)) t) = |
| 32 | F.rawSourcePath period q hq t := by |
| 33 | have h := truncate_rawSource period hq (A.atOrder period (q+1)) |
| 34 | (A.metric.jet q) (A.linear.jet q) (fun i => (A.quadratic i).jet q) |
| 35 | (A.metric.continuous q) (A.linear.continuous q) (fun i => (A.quadratic i).continuous q) |
| 36 | t (F.solution (q+1) (hq.trans (Nat.le_succ q)) t) |
| 37 | rw [A.lower_atOrder period q] at h |
| 38 | have he := congrArg (fun f => f t) (F.compatible period C q hq) |
| 39 | change truncateOperator period (q+1) (F.solution (q+1) (hq.trans (Nat.le_succ q)) t) = |
| 40 | F.solution q hq t at he |
| 41 | rw [he] at h |
| 42 | exact h |
| 43 | |
| 44 | /-- Adjacent nonlinear source realizations have the same actual L² value. -/ |
| 45 | theorem FiniteFamily.rawSourcePath_value_succ (F : FiniteFamily period hT A) (C : ComparisonData period hT A) |
| 46 | (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 47 | value period (F.rawSourcePath period (q+1) (hq.trans (Nat.le_succ q)) t) = |
| 48 | value period (F.rawSourcePath period q hq t) := |
| 49 | congrArg (value period (q := q)) (F.rawSourcePath_truncate period C q hq t) |
| 50 | |
| 51 | /-- The genuine signed coercive pressures agree at adjacent Sobolev orders. -/ |
| 52 | theorem FiniteFamily.signedPressurePath_value_succ (F : FiniteFamily period hT A) |
| 53 | (C : ComparisonData period hT A) (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 54 | value period (F.signedPressurePath period (q+1) (hq.trans (Nat.le_succ q)) t) = |
| 55 | value period (F.signedPressurePath period q hq t) := by |
| 56 | change -value period (pressureSobolevOperator period (A.metric.jet (q+1) t) A.κ A.direction |
| 57 | A.coercivity A.coercivity_pos (A.metric_pos t) |
| 58 | (F.rawSourcePath period (q+1) (hq.trans (Nat.le_succ q)) t)) = |
| 59 | -value period (pressureSobolevOperator period (A.metric.jet q t) A.κ A.direction |
| 60 | A.coercivity A.coercivity_pos (A.metric_pos t) (F.rawSourcePath period q hq t)) |
| 61 | rw [pressureSobolevOperator_value, pressureSobolevOperator_value, F.rawSourcePath_value_succ period C] |
| 62 | |
| 63 | /-- Every finite signed pressure is a realization of the same actual base pressure. -/ |
| 64 | theorem FiniteFamily.signedPressurePath_value_base (F : FiniteFamily period hT A) |
| 65 | (C : ComparisonData period hT A) (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 66 | value period (F.signedPressurePath period q hq t) = |
| 67 | value period (F.signedPressurePath period 6 le_rfl t) := by |
| 68 | exact Nat.le_induction (P := fun n hn => value period (F.signedPressurePath period n hn t) = |
| 69 | value period (F.signedPressurePath period 6 le_rfl t)) rfl |
| 70 | (fun n hn ih => (F.signedPressurePath_value_succ period C n hn t).trans ih) q hq |
| 71 | |
| 72 | /-- The actual common signed correction pressure is a continuous L² path. -/ |
| 73 | def FiniteFamily.commonPressure (F : FiniteFamily period hT A) : C(Icc (0 : ℝ) T, LiftL2 period) := |
| 74 | (valueOperator period 6).compLeftContinuous ℝ (Icc (0 : ℝ) T) (F.signedPressurePath period 6 le_rfl) |
| 75 | |
| 76 | /-- Each finite pressure realizes the common actual signed pressure field. -/ |
| 77 | theorem FiniteFamily.signedPressurePath_value_common (F : FiniteFamily period hT A) |
| 78 | (C : ComparisonData period hT A) (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 79 | value period (F.signedPressurePath period q hq t) = F.commonPressure period t := |
| 80 | F.signedPressurePath_value_base period C q hq t |
| 81 | |
| 82 | /-- The actual common pressure lies in the closed lifted gradient space. -/ |
| 83 | theorem FiniteFamily.commonPressure_gradient (F : FiniteFamily period hT A) (t : Icc (0 : ℝ) T) : |
| 84 | F.commonPressure period t ∈ gradientSpace period A.κ A.direction := |
| 85 | (A.atOrder period 6).pressure_mem_gradient period le_rfl t (F.solution 6 le_rfl t) |
| 86 | |
| 87 | /-- The actual common pressure has genuine strong spatial jets of every order. -/ |
| 88 | def FiniteFamily.pressureJet (F : FiniteFamily period hT A) (C : ComparisonData period hT A) |
| 89 | (n : ℕ) (t : Icc (0 : ℝ) T) : SpatialJet period standardDirection n (F.commonPressure period t) := by |
| 90 | rw [← F.signedPressurePath_value_common period C (n+6) (by omega) t] |
| 91 | exact EulerH6Pressure.SpatialJet.restrict |
| 92 | (toJet period (F.signedPressurePath period (n+6) (by omega) t)) n (by omega) |
| 93 | |
| 94 | /-- The common correction satisfies the literal equation with its reconstructed actual signed pressure. -/ |
| 95 | theorem FiniteFamily.commonPath_pressure_equation (F : FiniteFamily period hT A) |
| 96 | (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 97 | HasDerivAt (extendPath T hT.le (F.commonPath period)) |
| 98 | (-value period (F.rawSourcePath period 6 le_rfl ⟨t, ht.1.le, ht.2.le⟩) - |
| 99 | (A.metric.coefficient ⟨t, ht.1.le, ht.2.le⟩).operator |
| 100 | (F.commonPressure period ⟨t, ht.1.le, ht.2.le⟩)) t := by |
| 101 | have h := F.commonPath_hasDerivAt period t ht |
| 102 | rw [(A.atOrder period 6).source_value period le_rfl] at h |
| 103 | exact h |
| 104 | |
| 105 | end EulerCorrectionAssembly |