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.PacketResidualTailFields |
| 2 | import Euler.PacketSourceRegularity |
| 3 | |
| 4 | /-! |
| 5 | The actual sliced momentum coefficient equals the tail decomposition using |
| 6 | only finite velocity regularity. No regularity of the lower scalar pressures |
| 7 | is needed, because their coefficients are already outside the tail support. |
| 8 | -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerPacketProfileRecursion |
| 13 | |
| 14 | open Set EulerSmoothLimit EulerPacketPointJets EulerFiniteGrades EulerPacketResidual |
| 15 | |
| 16 | theorem slicedJet_assembledVelocity_finite (O : Operators) (N : ℕ) (a : ℕ → Profile) (z : Domain) |
| 17 | (hA : ∀ i ≤ N, SliceDifferentiable O.interval (a i).high z) |
| 18 | (hB : ∀ i ≤ N, SliceDifferentiable O.interval (a i).mean z) |
| 19 | (hC : ∀ i ≤ N, SliceDifferentiable O.interval (a i).corrector z) (i : ℕ) : |
| 20 | slicedJet O.interval (assembledVelocity N a i) z = assembledJets O N a z i := by |
| 21 | unfold assembledVelocity |
| 22 | rw [slicedJet_assemble O.interval N i _ _ z |
| 23 | (fun j hj => (hA j hj).add (hB j hj)) hC] |
| 24 | change truncate N (fun j => slicedJet O.interval ((a j).high+(a j).mean) z) i + _ = |
| 25 | truncate N (fun j => slicedJet O.interval (a j).high z+slicedJet O.interval (a j).mean z) i + _ |
| 26 | by_cases hi : i ≤ N |
| 27 | · rw [truncate_of_le _ _ _ hi,truncate_of_le _ _ _ hi,slicedJet_add (hA i hi) (hB i hi)] |
| 28 | · rw [truncate_of_gt _ _ _ (by omega),truncate_of_gt _ _ _ (by omega)] |
| 29 | |
| 30 | theorem slicedMomentumGrade_tail_eq_recursive (O : Operators) (N n : ℕ) (hn : N+1 ≤ n) |
| 31 | (a : ℕ → Profile) (z : Domain) |
| 32 | (hA : ∀ i ≤ N, SliceDifferentiable O.interval (a i).high z) |
| 33 | (hB : ∀ i ≤ N, SliceDifferentiable O.interval (a i).mean z) |
| 34 | (hC : ∀ i ≤ N, SliceDifferentiable O.interval (a i).corrector z) : |
| 35 | slicedMomentumGrade O.interval (N+1) (O.inverseFrame z) (O.strain z) (O.normal z) |
| 36 | (assembledVelocity N a) (assembledPressure N a) z n = recursiveGrade O N a z n := by |
| 37 | have hv : (fun i => slicedJet O.interval (assembledVelocity N a i) z) = assembledJets O N a z := |
| 38 | funext (slicedJet_assembledVelocity_finite O N a z hA hB hC) |
| 39 | have hg : truncate (N+1) |
| 40 | (fun i => slowPressure (O.inverseFrame z) (pressureJet (assembledPressure N a i) z)) n = |
| 41 | truncate (N+1) (fun i => slowPressure (O.inverseFrame z) (pressureJets N a z i)) n := by |
| 42 | by_cases he : n=N+1 |
| 43 | · subst n |
| 44 | rw [truncate_of_le _ _ _ le_rfl,truncate_of_le _ _ _ le_rfl] |
| 45 | unfold assembledPressure pressureJets |
| 46 | rw [assemble_last,assemble_last] |
| 47 | · rw [truncate_of_gt _ _ _ (by omega),truncate_of_gt _ _ _ (by omega)] |
| 48 | unfold slicedMomentumGrade |
| 49 | rw [hv] |
| 50 | unfold recursiveGrade coefficient |
| 51 | rw [hg,shiftDown_above (N+1) n _ hn,shiftDown_above (N+1) n _ hn] |
| 52 | |
| 53 | theorem slicedMomentumGrade_tail (O : Operators) (N n : ℕ) (hn : N+1 ≤ n) |
| 54 | (a : ℕ → Profile) (ha : a 0=0) (z : Domain) |
| 55 | (hA : ∀ i ≤ N, SliceDifferentiable O.interval (a i).high z) |
| 56 | (hB : ∀ i ≤ N, SliceDifferentiable O.interval (a i).mean z) |
| 57 | (hC : ∀ i ≤ N, SliceDifferentiable O.interval (a i).corrector z) : |
| 58 | slicedMomentumGrade O.interval (N+1) (O.inverseFrame z) (O.strain z) (O.normal z) |
| 59 | (assembledVelocity N a) (assembledPressure N a) z n = |
| 60 | (if n=N+1 then |
| 61 | linearPart (O.strain z) (slicedJet O.interval (a N).corrector z)+ |
| 62 | slowPressure (O.inverseFrame z) (pressureJet (a N).highPressure z) else 0) + |
| 63 | nonlinearGrade (N+1) n (O.inverseFrame z) (O.normal z) (knownJets O (N+1) a z) := |
| 64 | (slicedMomentumGrade_tail_eq_recursive O N n hn a z hA hB hC).trans |
| 65 | (recursiveGrade_tail O N n hn a ha z) |
| 66 | |
| 67 | end EulerPacketProfileRecursion |
| 68 | |
| 69 | namespace EulerPacketCylinderField.ProfileRegularity |
| 70 | |
| 71 | open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 72 | |
| 73 | variable {P T : ℝ} [Fact (0 < P)] {O : Operators} {N : ℕ} {a : ℕ → Profile} {S : Set Space} |
| 74 | |
| 75 | def literalTailGradeField (hT : 0 < T) |
| 76 | (G : ∀ i, i ≤ N → ProfileRegularity P T hT.le S (a i)) |
| 77 | (C : CoefficientData P T O) (ha : a 0=0) (n : ℕ) (hn : N+1 ≤ n) : |
| 78 | Field P T (fun z => slicedMomentumGrade O.interval (N+1) (O.inverseFrame z) (O.strain z) (O.normal z) |
| 79 | (assembledVelocity N a) (assembledPressure N a) z n) := by |
| 80 | refine (tailGradeField hT G C ha n hn).congr ?_ |
| 81 | intro t x θ |
| 82 | apply slicedMomentumGrade_tail_eq_recursive O N n hn a (t,(x,θ)) |
| 83 | · intro i hi |
| 84 | rw [C.interval_eq] |
| 85 | exact (G i hi).high.sliceDifferentiable (G i hi).highDerivative hT.le (G i hi).high_time t x θ |
| 86 | · intro i hi |
| 87 | rw [C.interval_eq] |
| 88 | exact (G i hi).mean.sliceDifferentiable (G i hi).meanDerivative hT.le (G i hi).mean_time t x θ |
| 89 | · intro i hi |
| 90 | rw [C.interval_eq] |
| 91 | exact (G i hi).corrector.sliceDifferentiable (G i hi).correctorDerivative hT.le (G i hi).corrector_time t x θ |
| 92 | |
| 93 | theorem literalTailGradeField_path (hT : 0 < T) |
| 94 | (G : ∀ i, i ≤ N → ProfileRegularity P T hT.le S (a i)) |
| 95 | (C : CoefficientData P T O) (ha : a 0=0) (n : ℕ) (hn : N+1 ≤ n) : |
| 96 | (literalTailGradeField hT G C ha n hn).path = (tailGradeField hT G C ha n hn).path := rfl |
| 97 | |
| 98 | end EulerPacketCylinderField.ProfileRegularity |