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.PacketForwardGeometryAssembly |
| 2 | import Euler.PacketGeometryLowBounds |
| 3 | |
| 4 | /-! The actual forward primary has the same universal good-time size |
| 5 | and pressure sign as the joined primary. At time zero and on the early |
| 6 | interval its size has the exponential target-ratio gain. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketSourceGeometry.ForwardGuards |
| 11 | |
| 12 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit EulerSpatialCutoffs |
| 13 | EulerPacketMovingFrame EulerTransversePacketProvider EulerPacketGeometryLowBounds |
| 14 | EulerPacketForwardFactorization |
| 15 | |
| 16 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 17 | {D : Data U} {P : ParentFrame D 0} (G : ForwardGuards P) |
| 18 | (hball : (1/2 : ℝ) ≤ G.radius) |
| 19 | |
| 20 | def lowGeometry : PhysicalGeometryData {x : Space // ‖x‖ ≤ (1/2 : ℝ)} := |
| 21 | G.geometryData {x | ‖x‖ ≤ (1/2 : ℝ)} (by norm_num) (fun _ hx => hx.trans hball) |
| 22 | |
| 23 | def primaryAmplitude : ℝ := (G.lowGeometry hball).amplitude |
| 24 | |
| 25 | theorem primaryAmplitude_nonneg : 0 ≤ G.primaryAmplitude hball := |
| 26 | EulerPacketGeometryLowBounds.amplitude_nonneg (G.lowGeometry hball) |
| 27 | |
| 28 | def earlyRatio (_G : ForwardGuards P) : ℝ := |
| 29 | cutoffBound*(8232*Real.exp 9*P.horizon^5*Real.exp (-(1/(4*P.sigma)))) |
| 30 | |
| 31 | omit [CompleteSpace U] in |
| 32 | theorem earlyRatio_nonneg : 0 ≤ G.earlyRatio := by |
| 33 | unfold earlyRatio |
| 34 | positivity [cutoffBound_pos,G.horizon_lower] |
| 35 | |
| 36 | include G in |
| 37 | omit [CompleteSpace U] in |
| 38 | theorem scaledTime_mem (t : Icc (0 : ℝ) D.T) : |
| 39 | scaledTime 0 P.a P.epsilon t ∈ Icc 0 P.horizon := by |
| 40 | have ha := G.a_pos |
| 41 | have he := G.epsilon_pos |
| 42 | constructor |
| 43 | · unfold scaledTime |
| 44 | exact mul_nonneg (div_nonneg ha.le he.le) (by simpa using t.property.1) |
| 45 | · have hh := mul_le_mul_of_nonneg_left t.property.2 (div_nonneg ha.le he.le) |
| 46 | calc |
| 47 | _ = (P.a/P.epsilon)*(t : ℝ) := by unfold scaledTime; ring |
| 48 | _ ≤ (P.a/P.epsilon)*D.T := hh |
| 49 | _ = _ := by unfold ParentFrame.horizon; ring |
| 50 | |
| 51 | theorem lowGeometry_size (t : Icc (0 : ℝ) D.T) (x : Space) (hx : ‖x‖ ≤ (1/2 : ℝ)) : |
| 52 | (G.lowGeometry hball).size ⟨x,hx⟩ (scaledTime 0 P.a P.epsilon t) = |
| 53 | ‖D.normal.field t x‖*‖uncutVelocity D G.initialCoordinate t x‖ := by |
| 54 | change ‖D.normal.field (D.clamp (physicalTime 0 P.a P.epsilon (scaledTime 0 P.a P.epsilon t))) x‖* |
| 55 | ‖uncutVelocity D G.initialCoordinate (physicalTime 0 P.a P.epsilon (scaledTime 0 P.a P.epsilon t)) x‖ = _ |
| 56 | rw [physicalTime_scaledTime G.a_pos.ne' G.epsilon_pos.ne',Data.clamp_coe] |
| 57 | |
| 58 | theorem cutoff_amplitude_size (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 59 | G.primaryAmplitude hball*(‖D.normal.field t x‖*‖canonicalVelocity D G.initialCoordinate t x‖) = |
| 60 | innerCutoff x*(G.primaryAmplitude hball*(‖D.normal.field t x‖*‖uncutVelocity D G.initialCoordinate t x‖)) := by |
| 61 | rw [canonicalVelocity,norm_smul,Real.norm_of_nonneg (innerCutoff_nonneg x)] |
| 62 | ring |
| 63 | |
| 64 | theorem good_primary_size (t : Icc (0 : ℝ) D.T) |
| 65 | (ht : 1 ≤ scaledTime 0 P.a P.epsilon t) (x : Space) : |
| 66 | G.primaryAmplitude hball*(‖D.normal.field t x‖*‖canonicalVelocity D G.initialCoordinate t x‖) ≤ |
| 67 | G.δ*G.hchild*goodRatio := by |
| 68 | rw [G.cutoff_amplitude_size hball t x] |
| 69 | by_cases hcut : innerCutoff x=0 |
| 70 | · rw [hcut,zero_mul] |
| 71 | positivity [G.delta_nonneg,G.child_nonneg,goodRatio_pos] |
| 72 | have hx : ‖x‖ ≤ (1/2 : ℝ) := by |
| 73 | have hm := innerCutoff_support (subset_tsupport _ (Function.mem_support.mpr hcut)) |
| 74 | exact le_of_lt (by simpa only [Metric.mem_ball,dist_zero_right] using hm) |
| 75 | have hg := good_amplitude_size (G.lowGeometry hball) ⟨x,hx⟩ (scaledTime 0 P.a P.epsilon t) |
| 76 | ⟨ht,(G.scaledTime_mem t).2⟩ |
| 77 | rw [G.lowGeometry_size hball t x hx] at hg |
| 78 | change G.primaryAmplitude hball*(‖D.normal.field t x‖*‖uncutVelocity D G.initialCoordinate t x‖) ≤ |
| 79 | G.δ*G.hchild*(64*Real.exp 6) at hg |
| 80 | calc |
| 81 | _ ≤ innerCutoff x*(G.δ*G.hchild*(64*Real.exp 6)) := |
| 82 | mul_le_mul_of_nonneg_left hg (innerCutoff_nonneg x) |
| 83 | _ ≤ cutoffBound*(G.δ*G.hchild*(64*Real.exp 6)) := |
| 84 | mul_le_mul_of_nonneg_right (cutoff_le x) (by positivity [G.delta_nonneg,G.child_nonneg]) |
| 85 | _ = _ := by unfold goodRatio; ring |
| 86 | |
| 87 | include hball in |
| 88 | theorem good_primary_flux (t : Icc (0 : ℝ) D.T) |
| 89 | (ht : 1 ≤ scaledTime 0 P.a P.epsilon t) (x : Space) : |
| 90 | 0 ≤ ⟪D.normal.field t x,D.M.field t x (canonicalVelocity D G.initialCoordinate t x)⟫_ℝ := by |
| 91 | rw [canonicalVelocity,map_smul,real_inner_smul_right] |
| 92 | by_cases hcut : innerCutoff x=0 |
| 93 | · simp only [hcut,zero_mul,le_refl] |
| 94 | have hx : ‖x‖ ≤ (1/2 : ℝ) := by |
| 95 | have hm := innerCutoff_support (subset_tsupport _ (Function.mem_support.mpr hcut)) |
| 96 | exact le_of_lt (by simpa only [Metric.mem_ball,dist_zero_right] using hm) |
| 97 | have hg := good_flux (G.lowGeometry hball) ⟨x,hx⟩ (scaledTime 0 P.a P.epsilon t) |
| 98 | ⟨ht,(G.scaledTime_mem t).2⟩ |
| 99 | change 0 < ⟪D.normal.field (D.clamp (physicalTime 0 P.a P.epsilon (scaledTime 0 P.a P.epsilon t))) x, |
| 100 | D.M.field (D.clamp (physicalTime 0 P.a P.epsilon (scaledTime 0 P.a P.epsilon t))) x |
| 101 | (uncutVelocity D G.initialCoordinate (physicalTime 0 P.a P.epsilon (scaledTime 0 P.a P.epsilon t)) x)⟫_ℝ at hg |
| 102 | rw [physicalTime_scaledTime G.a_pos.ne' G.epsilon_pos.ne',Data.clamp_coe] at hg |
| 103 | exact mul_nonneg (innerCutoff_nonneg x) hg.le |
| 104 | |
| 105 | theorem early_primary_size (t : Icc (0 : ℝ) D.T) |
| 106 | (ht : scaledTime 0 P.a P.epsilon t ≤ 1) (x : Space) : |
| 107 | G.primaryAmplitude hball*(‖D.normal.field t x‖*‖canonicalVelocity D G.initialCoordinate t x‖) ≤ |
| 108 | G.δ*G.hchild*G.earlyRatio := by |
| 109 | rw [G.cutoff_amplitude_size hball t x] |
| 110 | by_cases hcut : innerCutoff x=0 |
| 111 | · rw [hcut,zero_mul] |
| 112 | positivity [G.delta_nonneg,G.child_nonneg,G.earlyRatio_nonneg] |
| 113 | have hx : ‖x‖ ≤ (1/2 : ℝ) := by |
| 114 | have hm := innerCutoff_support (subset_tsupport _ (Function.mem_support.mpr hcut)) |
| 115 | exact le_of_lt (by simpa only [Metric.mem_ball,dist_zero_right] using hm) |
| 116 | have hg := early_amplitude_size (G.lowGeometry hball) ⟨x,hx⟩ (scaledTime 0 P.a P.epsilon t) |
| 117 | ⟨(G.scaledTime_mem t).1,ht⟩ |
| 118 | rw [G.lowGeometry_size hball t x hx] at hg |
| 119 | change G.primaryAmplitude hball*(‖D.normal.field t x‖*‖uncutVelocity D G.initialCoordinate t x‖) ≤ |
| 120 | G.δ*G.hchild*(8232*Real.exp 9*P.horizon^5*Real.exp (-(1/(4*P.sigma)))) at hg |
| 121 | calc |
| 122 | _ ≤ innerCutoff x*(G.δ*G.hchild*(8232*Real.exp 9*P.horizon^5*Real.exp (-(1/(4*P.sigma))))) := |
| 123 | mul_le_mul_of_nonneg_left hg (innerCutoff_nonneg x) |
| 124 | _ ≤ cutoffBound*(G.δ*G.hchild*(8232*Real.exp 9*P.horizon^5*Real.exp (-(1/(4*P.sigma))))) := |
| 125 | mul_le_mul_of_nonneg_right (cutoff_le x) (by positivity [G.delta_nonneg,G.child_nonneg,G.horizon_lower]) |
| 126 | _ = _ := by unfold earlyRatio; ring |
| 127 | |
| 128 | end EulerPacketSourceGeometry.ForwardGuards |