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.PacketKnownTermScales |
| 2 | |
| 3 | /-! The time-profile inequalities for every surviving term of the mean and high forces. -/ |
| 4 | |
| 5 | namespace EulerPacketCylinderField.KnownTerm |
| 6 | |
| 7 | open EulerPacketTimeProfile |
| 8 | |
| 9 | variable {K : Type*} [TopologicalSpace K] |
| 10 | |
| 11 | def ProfileFits (k : KnownTerm) (S : Scales K) (p i j : ℕ) (b : C(K,ℝ)) : Prop := |
| 12 | match k with |
| 13 | | .previousLinear | .previousPressure => ∀ t, S.high (p-1) t ≤ b t |
| 14 | | .slow l r => i+j=p → l.active p i → r.active p j → |
| 15 | ∀ t, l.profile S i t*r.profile S j t ≤ b t |
| 16 | | .fastMeanHigh => i+j=p+1 → KnownPiece.mean.active p i → KnownPiece.high.active p j → |
| 17 | ∀ t, KnownPiece.mean.profile S i t*KnownPiece.high.profile S j t ≤ b t |
| 18 | | .fastMeanCorrector => i+j=p+1 → KnownPiece.mean.active p i → KnownPiece.corrector.active p j → |
| 19 | ∀ t, KnownPiece.mean.profile S i t*KnownPiece.corrector.profile S j t ≤ b t |
| 20 | | .fastCorrectorHigh => i+j=p+1 → KnownPiece.corrector.active p i → KnownPiece.high.active p j → |
| 21 | ∀ t, KnownPiece.corrector.profile S i t*KnownPiece.high.profile S j t ≤ b t |
| 22 | | .fastCorrectorCorrector => i+j=p+1 → KnownPiece.corrector.active p i → KnownPiece.corrector.active p j → |
| 23 | ∀ t, KnownPiece.corrector.profile S i t*KnownPiece.corrector.profile S j t ≤ b t |
| 24 | |
| 25 | theorem mean_profile_fits (k : KnownTerm) (S : Scales K) (p i j : ℕ) |
| 26 | (hp : 2 ≤ p) (hk : k.zeroMean = false) : k.ProfileFits S p i j (S.mean p) := by |
| 27 | cases k with |
| 28 | | previousLinear => exact S.previous_linear_mean_bound p hp |
| 29 | | previousPressure => exact S.previous_linear_mean_bound p hp |
| 30 | | slow l r => |
| 31 | intro hn hl hr |
| 32 | exact KnownPiece.slow_profile_mean l r S i j p |
| 33 | (l.active_one_le p i hl) (r.active_one_le p j hr) hn |
| 34 | | fastMeanHigh => simp [zeroMean] at hk |
| 35 | | fastMeanCorrector => simp [zeroMean] at hk |
| 36 | | fastCorrectorHigh => |
| 37 | intro hn hl hr |
| 38 | exact KnownPiece.fast_corrector_profile_mean .high S i j p (by decide) hl.1 hr.1 hn |
| 39 | | fastCorrectorCorrector => |
| 40 | intro hn hl hr |
| 41 | exact KnownPiece.fast_corrector_profile_mean .corrector S i j p (by decide) hl.1 |
| 42 | (KnownPiece.active_one_le .corrector p j hr) hn |
| 43 | |
| 44 | theorem high_profile_fits (k : KnownTerm) (S : Scales K) (p i j : ℕ) |
| 45 | (hk : k.meanOnly = false) : k.ProfileFits S p i j (S.high p) := by |
| 46 | cases k with |
| 47 | | previousLinear => exact S.high_mono (Nat.sub_le p 1) |
| 48 | | previousPressure => exact S.high_mono (Nat.sub_le p 1) |
| 49 | | slow l r => |
| 50 | have hnot : ¬ (l = .mean ∧ r = .mean) := by |
| 51 | rintro ⟨rfl,rfl⟩ |
| 52 | simp [meanOnly] at hk |
| 53 | intro hn hl hr |
| 54 | exact KnownPiece.slow_profile_high l r S i j p |
| 55 | (l.active_one_le p i hl) (r.active_one_le p j hr) hn hnot |
| 56 | | fastMeanHigh => |
| 57 | intro hn hl hr |
| 58 | exact KnownPiece.fast_mean_profile_high .high S i j p (by decide) |
| 59 | (KnownPiece.active_one_le .mean p i hl) hr.1 hn |
| 60 | | fastMeanCorrector => |
| 61 | intro hn hl hr |
| 62 | exact KnownPiece.fast_mean_profile_high .corrector S i j p (by decide) |
| 63 | (KnownPiece.active_one_le .mean p i hl) (KnownPiece.active_one_le .corrector p j hr) hn |
| 64 | | fastCorrectorHigh => |
| 65 | intro hn hl hr |
| 66 | exact KnownPiece.fast_corrector_profile_high .high S i j p (by decide) hl.1 hr.1 hn |
| 67 | | fastCorrectorCorrector => |
| 68 | intro hn hl hr |
| 69 | exact KnownPiece.fast_corrector_profile_high .corrector S i j p (by decide) hl.1 |
| 70 | (KnownPiece.active_one_le .corrector p j hr) hn |
| 71 | |
| 72 | end EulerPacketCylinderField.KnownTerm |