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.BaseInductionStage |
| 2 | import Euler.PacketForwardSuccessor |
| 3 | import Euler.PacketJoinedSuccessor |
| 4 | import Euler.PacketStageGrowth |
| 5 | |
| 6 | /-! The actual infinite packet family, from the concrete first stage |
| 7 | and the two genuine successor constructions. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerPacketInduction |
| 12 | |
| 13 | open Set Filter EulerSmoothLimit EulerPacketInductionScales EulerPacketLowConstants |
| 14 | EulerParentNeighborThreshold EulerPacketSourceScaleSequence |
| 15 | open scoped Topology |
| 16 | |
| 17 | namespace Stage |
| 18 | |
| 19 | variable {q : ℕ} {B : ℝ} {S : Scales (q : ℝ) B} |
| 20 | |
| 21 | def successor {n : ℕ} (P : Stage S n) (hq : requiredExponent ≤ q) |
| 22 | (hB : commonThreshold gradientConstant hessianConstant ≤ B) : Stage S (n+1) := by |
| 23 | cases n with |
| 24 | | zero => exact P.forwardNext hq hB |
| 25 | | succ n => exact P.joinedNext (Nat.succ_ne_zero n) hq hB |
| 26 | |
| 27 | theorem successor_time {n : ℕ} (P : Stage S n) (hq : requiredExponent ≤ q) |
| 28 | (hB : commonThreshold gradientConstant hessianConstant ≤ B) : |
| 29 | (P.successor hq hB).time=P.nextTime := by |
| 30 | cases n with |
| 31 | | zero => exact P.forwardNext_time hq hB |
| 32 | | succ n => exact P.joinedNext_time (Nat.succ_ne_zero n) hq hB |
| 33 | |
| 34 | end Stage |
| 35 | |
| 36 | variable {q : ℕ} {B : ℝ} (S : Scales (q : ℝ) B) (hq : requiredExponent ≤ q) |
| 37 | (hB : commonThreshold gradientConstant hessianConstant ≤ B) |
| 38 | |
| 39 | def stages : (n : ℕ) → Stage S n |
| 40 | | 0 => S.firstStage |
| 41 | | n+1 => (stages n).successor hq hB |
| 42 | |
| 43 | theorem stages_zero : stages S hq hB 0=S.firstStage := rfl |
| 44 | |
| 45 | theorem stages_succ (n : ℕ) : |
| 46 | stages S hq hB (n+1)=(stages S hq hB n).successor hq hB := rfl |
| 47 | |
| 48 | theorem stages_time (n : ℕ) : |
| 49 | (stages S hq hB (n+1)).time=(stages S hq hB n).nextTime := |
| 50 | (stages S hq hB n).successor_time hq hB |
| 51 | |
| 52 | theorem stages_initial_step (n : ℕ) (hn : n ≠ 0) : |
| 53 | (fun x => (stages S hq hB (n+1)).state.evolution.velocity (0,x)) = |
| 54 | (fun x => (stages S hq hB n).state.evolution.velocity (0,x))+ |
| 55 | (((stages S hq hB n).joinedInput hn hq hB).high (frequency S.J S.X n)+ |
| 56 | ((stages S hq hB n).joinedInput hn hq hB).mean (frequency S.J S.X n)) := by |
| 57 | cases n with |
| 58 | | zero => exact (hn rfl).elim |
| 59 | | succ n => exact (stages S hq hB (n+1)).joinedNext_initial_velocity (Nat.succ_ne_zero n) hq hB |
| 60 | |
| 61 | theorem stages_gradient_atTop : |
| 62 | Tendsto (fun n => (stages S hq hB n).activationGradient) atTop atTop := |
| 63 | Stage.gradient_atTop (stages S hq hB) |
| 64 | |
| 65 | abbrev ConstructionScales := |
| 66 | Scales (requiredExponent : ℝ) (commonThreshold gradientConstant hessianConstant) |
| 67 | |
| 68 | def constructionScales : ConstructionScales := |
| 69 | Classical.choice (exists_scales (requiredExponent : ℝ) |
| 70 | (commonThreshold gradientConstant hessianConstant) (Nat.cast_nonneg _)) |
| 71 | |
| 72 | def packets (n : ℕ) : Stage constructionScales n := stages constructionScales le_rfl le_rfl n |
| 73 | |
| 74 | theorem packets_gradient_atTop : |
| 75 | Tendsto (fun n => (packets n).activationGradient) atTop atTop := Stage.gradient_atTop packets |
| 76 | |
| 77 | end EulerPacketInduction |