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.WholeDomainBaseBounds |
| 2 | import NavierStokes.WholeDomainInitializationBounds |
| 3 | import NavierStokes.WholeDomainPrefixBounds |
| 4 | import NavierStokes.SharpParticularStageBounds |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace NavierStokes.WholeDomainStageBounds |
| 9 | |
| 10 | open Set Function Filter ProblemStatement PhysicalWaveSum SharpGluedStageBounds |
| 11 | open CorrectionInitialization.ActualPrimary ActualCandidateAssembly |
| 12 | open scoped Topology ContDiff BigOperators |
| 13 | |
| 14 | private theorem commonDomain_subset (B N0 : ℕ) : |
| 15 | CutStageEstimates.physicalSublevel h (commonQ B N0) ⊆ ActualCandidateConstruction.physicalDomain B N0 := |
| 16 | fun _ hw => ⟨hw.1,hw.2.trans (commonQ_lt_original B N0)⟩ |
| 17 | |
| 18 | private theorem physicalLoss_mono {k m : ℕ} (hkm : k ≤ m) : |
| 19 | SharpPhysicalCarrier.physicalLoss h k ≤ SharpPhysicalCarrier.physicalLoss h m := by |
| 20 | have hk : (k : ℝ) ≤ (m : ℝ) := by exact_mod_cast hkm |
| 21 | unfold SharpPhysicalCarrier.physicalLoss SharpPhysicalCarrier.derivativeCost |
| 22 | nlinarith [outgoing.data.h_pos] |
| 23 | |
| 24 | private theorem finite_log_bounds (B N0 m : ℕ) (F : ℕ → SpaceTime → ℝ) (e : ℝ) |
| 25 | (hF : ∀ k ≤ m, ∃ C : ℝ, 0 ≤ C ∧ ∃ P : ℕ, |
| 26 | ∀ w ∈ CutStageEstimates.physicalSublevel h (commonQ B N0), |
| 27 | F k w ≤ C * physicalQ h w ^ e * (1+|Real.log (physicalQ h w)|)^P) : |
| 28 | ∃ C : ℝ, 0 ≤ C ∧ ∃ P : ℕ, ∀ k ≤ m, |
| 29 | ∀ w ∈ CutStageEstimates.physicalSublevel h (commonQ B N0), |
| 30 | F k w ≤ C * physicalQ h w ^ e * (1+|Real.log (physicalQ h w)|)^P := by |
| 31 | choose C hC P hb using fun k : Fin (m+1) => hF k.val (by omega) |
| 32 | refine ⟨∑ k, C k,Finset.sum_nonneg (fun k _ => hC k),∑ k, P k,?_⟩ |
| 33 | intro k hk w hw |
| 34 | let i : Fin (m+1) := ⟨k,by omega⟩ |
| 35 | have hq := (physicalQ_pos outgoing.data.h_pos outgoing.data.h_lt_half hw.1).le |
| 36 | have hL : 1 ≤ 1+|Real.log (physicalQ h w)| := by linarith [abs_nonneg (Real.log (physicalQ h w))] |
| 37 | have hP : P i ≤ ∑ t, P t := Finset.single_le_sum (fun t _ => Nat.zero_le (P t)) (Finset.mem_univ i) |
| 38 | have hCi : C i ≤ ∑ t, C t := Finset.single_le_sum (fun t _ => hC t) (Finset.mem_univ i) |
| 39 | exact (hb i w hw).trans ((mul_le_mul_of_nonneg_left |
| 40 | (pow_le_pow_right₀ hL hP) (mul_nonneg (hC i) (Real.rpow_nonneg hq _))).trans |
| 41 | (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hCi (Real.rpow_nonneg hq _)) |
| 42 | (pow_nonneg (by linarith) _))) |
| 43 | |
| 44 | private theorem finite_power_bounds (B N0 m : ℕ) (F : ℕ → SpaceTime → ℝ) (e : ℝ) |
| 45 | (hF : ∀ k ≤ m, ∃ C : ℝ, 0 ≤ C ∧ |
| 46 | ∀ w ∈ CutStageEstimates.physicalSublevel h (commonQ B N0), |
| 47 | F k w ≤ C * physicalQ h w ^ e) : |
| 48 | ∃ C : ℝ, 0 ≤ C ∧ ∀ k ≤ m, |
| 49 | ∀ w ∈ CutStageEstimates.physicalSublevel h (commonQ B N0), |
| 50 | F k w ≤ C * physicalQ h w ^ e := by |
| 51 | choose C hC hb using fun k : Fin (m+1) => hF k.val (by omega) |
| 52 | refine ⟨∑ k, C k,Finset.sum_nonneg (fun k _ => hC k),?_⟩ |
| 53 | intro k hk w hw |
| 54 | let i : Fin (m+1) := ⟨k,by omega⟩ |
| 55 | exact (hb i w hw).trans (mul_le_mul_of_nonneg_right |
| 56 | (Finset.single_le_sum (fun t _ => hC t) (Finset.mem_univ i)) |
| 57 | (Real.rpow_nonneg (physicalQ_pos outgoing.data.h_pos outgoing.data.h_lt_half hw.1).le _)) |
| 58 | |
| 59 | end NavierStokes.WholeDomainStageBounds |