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 NavierStokes.ActualCandidateAssembly |
| 2 | |
| 3 | /-! |
| 4 | # Solenoidality for every admissible actual schedule |
| 5 | |
| 6 | The literal direct angular sum, its spatial localization, and the mixed |
| 7 | velocity retain their divergence equation for any selected schedule. |
| 8 | -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace NavierStokes.LocalScheduleAngular |
| 13 | |
| 14 | open Set Filter ProblemStatement ActualCandidateAssembly |
| 15 | open CorrectionInitialization.ActualPrimary |
| 16 | open scoped Topology ContDiff |
| 17 | |
| 18 | abbrev Schedule (a : ℕ → ℕ) : Prop := |
| 19 | MixedCandidateWitness.SelectedSchedule h |
| 20 | (ActualCandidateConstruction.qbig ActualCandidateConstruction.selectedBudget |
| 21 | ActualCandidateConstruction.selectedThreshold) |
| 22 | selectedPotentialStages selectedDirectStages selectedPressureStages a |
| 23 | |
| 24 | abbrev potentialSum (a : ℕ → ℕ) : VelocityField := |
| 25 | SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) (PhysicalWaveSum.physicalQ h) |
| 26 | selectedPotentialStages |
| 27 | |
| 28 | abbrev directSum (a : ℕ → ℕ) : VelocityField := |
| 29 | SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) (PhysicalWaveSum.physicalQ h) |
| 30 | selectedDirectStages |
| 31 | |
| 32 | abbrev pressureSum (a : ℕ → ℕ) : PressureField := |
| 33 | SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) (PhysicalWaveSum.physicalQ h) |
| 34 | selectedPressureStages |
| 35 | |
| 36 | theorem directSum_divergence {a : ℕ → ℕ} (ha : Schedule a) |
| 37 | {w : SpaceTime} (ht : w.1 < 1) : spatialDivergence (directSum a) w.1 w.2 = 0 := by |
| 38 | obtain ⟨_, hap, _, ham, hat, hgap, _, _⟩ := ha |
| 39 | have ha0 : 0 < (a 0 : ℝ) := by exact_mod_cast hap 0 |
| 40 | have hamin (j : ℕ) : (a 0 : ℝ) ≤ (a j : ℝ) := by |
| 41 | exact_mod_cast ham.monotone (Nat.zero_le j) |
| 42 | exact LocalAngularDiagonal.angularSum_divergence outgoing.data.h_pos |
| 43 | outgoing.data.h_lt_half |
| 44 | (directData ActualCandidateConstruction.selectedBudget |
| 45 | ActualCandidateConstruction.selectedThreshold ActualCandidateConstruction.selectedThreshold_geometry) |
| 46 | hat ha0 hamin (hgap 0) ht |
| 47 | |
| 48 | theorem cut_directSum_divergence {a : ℕ → ℕ} (ha : Schedule a) |
| 49 | (t : ℝ) (ht : t < 1) (x : Space) : |
| 50 | spatialDivergence (SpatialLocalization.cutPotential (directSum a)) t x = 0 := by |
| 51 | obtain ⟨_, hap, _, ham, hat, hgap, _, _⟩ := ha |
| 52 | have ha0 : 0 < (a 0 : ℝ) := by exact_mod_cast hap 0 |
| 53 | have hamin (j : ℕ) : (a 0 : ℝ) ≤ (a j : ℝ) := by |
| 54 | exact_mod_cast ham.monotone (Nat.zero_le j) |
| 55 | exact LocalAngularDiagonal.spatialCut_angularSum_divergence outgoing.data.h_pos |
| 56 | outgoing.data.h_lt_half |
| 57 | (directData ActualCandidateConstruction.selectedBudget |
| 58 | ActualCandidateConstruction.selectedThreshold ActualCandidateConstruction.selectedThreshold_geometry) |
| 59 | hat ha0 hamin (hgap 0) t ht x |
| 60 | |
| 61 | theorem mixed_divergence {a : ℕ → ℕ} (ha : Schedule a) |
| 62 | {w : SpaceTime} (ht : w.1 < 1) : |
| 63 | spatialDivergence |
| 64 | (fun y => SpatialCurl.spatialCurl (potentialSum a) y + directSum a y) w.1 w.2 = 0 := by |
| 65 | have hs := ha.2.2.2.2.2.2.1 |
| 66 | have hA := hs.potential.contDiffAt (PhysicalWaveSum.preterminal_open.mem_nhds ht) |
| 67 | have hB := hs.direct.contDiffAt (PhysicalWaveSum.preterminal_open.mem_nhds ht) |
| 68 | have hc := SpatialCurl.contDiffAt_spatialCurl hA (by simp : (∞ : WithTop ℕ∞) + 1 ≤ ∞) |
| 69 | rw [MixedPeriodicAssembly.spatialDivergence_add |
| 70 | ((hc.comp w.2 (contDiffAt_const.prodMk contDiffAt_id)).differentiableAt (by simp)) |
| 71 | ((hB.comp w.2 (contDiffAt_const.prodMk contDiffAt_id)).differentiableAt (by simp)), |
| 72 | SpatialCurl.spatialDivergence_spatialCurl _ _ _ |
| 73 | ((hA.comp w.2 (contDiffAt_const.prodMk contDiffAt_id)).of_le (by simp)), |
| 74 | directSum_divergence ha ht, add_zero] |
| 75 | |
| 76 | end NavierStokes.LocalScheduleAngular |