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.PacketInductionStage |
| 2 | import Euler.BaseLiteralFirstPacket |
| 3 | |
| 4 | /-! The first stage of the actual induction is constructed from the |
| 5 | literal compact base solution and the first same-Q packet choice. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketInductionScales.Scales |
| 10 | |
| 11 | open Set Finset Real InnerProductSpace EulerSmoothLimit EulerParentPacketFrames |
| 12 | EulerBaseDatum EulerPacketSupport EulerPacketSourceGeometry EulerPacketNormalizedPrimary |
| 13 | EulerPacketLowConstants EulerPacketInduction EulerPacketSourceScaleChoice |
| 14 | EulerPacketSourceScaleSequence EulerPacketSourceScaleActual EulerPacketBaseGuardScales |
| 15 | EulerParentRenewalScale EulerMeanHarmonic |
| 16 | |
| 17 | -- Limit elaboration of the concrete flow only within this namespace scope. |
| 18 | attribute [local irreducible] initialParent |
| 19 | |
| 20 | variable {c B : ℝ} (S : Scales c B) |
| 21 | |
| 22 | def firstStage : Stage S 0 := by |
| 23 | let F := S.first.packet S.j_one |
| 24 | let P := F.initialFrame firstNormal firstNormal_unit firstFrame support compact |
| 25 | have hparam := F.initialFrame_parameters firstNormal firstNormal_unit firstFrame support compact |
| 26 | have hcost := F.initialFrame_costs firstNormal firstNormal_unit firstFrame support compact |
| 27 | have hlow := S.first.lowBounds_values S.j_one |
| 28 | have hbounds := initial_bounds (S.X^1000) (literalInitialError S.D S.X) |
| 29 | (one_le_pow₀ S.x_one) S.first.error_small |
| 30 | have htilt : P.sigma^2*S.X^2=1 := by |
| 31 | rw [show P.sigma=sqrt (S.X^(-2 : ℝ)) from hparam.2.1, |
| 32 | sq_sqrt (rpow_nonneg S.x_pos.le _),rpow_neg S.x_pos.le] |
| 33 | norm_num only [rpow_ofNat] |
| 34 | exact inv_mul_cancel₀ (pow_ne_zero _ S.x_pos.ne') |
| 35 | refine { |
| 36 | parent := S.first.parent S.j_one |
| 37 | state := S.first.state S.j_one |
| 38 | low := S.first.lowBounds S.j_one |
| 39 | time := 0 |
| 40 | time_nonneg := le_rfl |
| 41 | time_zero := fun _ => rfl |
| 42 | time_lower := fun h => (h rfl).elim |
| 43 | horizon_eq := ?_ |
| 44 | horizon_le := le_rfl |
| 45 | scale_eq := rfl |
| 46 | label_eq := S.first.state_label S.j_one |
| 47 | gradient_bound := ?_ |
| 48 | hessian_bound := ?_ |
| 49 | exterior_bound := ?_ |
| 50 | core_bound := ?_ |
| 51 | pressure_bound := ?_ |
| 52 | boundary_eq := rfl |
| 53 | radius_eq := hlow.2.2.1 |
| 54 | frame := P |
| 55 | frame_shear := hparam.2.2 |
| 56 | frame_bound := ?_ |
| 57 | frame_error := ?_ |
| 58 | coupling_error := ?_ |
| 59 | tilt_lower := ?_ |
| 60 | tilt_upper := ?_ |
| 61 | compression := fun h => (h rfl).elim } |
| 62 | · change baseHorizon S.J S.X=0+2*timeWidth S.J S.X 0 |
| 63 | rw [zero_add,baseHorizon_eq_timeWidth S.J S.x_pos] |
| 64 | · intro t x |
| 65 | have h := (F.physical_bounds S.first.spike_one S.first.shear_pos.le t x).1 |
| 66 | dsimp only [FirstScaleGuards.state, previousShear] |
| 67 | exact h.trans hbounds.1 |
| 68 | · intro t x |
| 69 | have h := (F.physical_bounds S.first.spike_one S.first.shear_pos.le t x).2 |
| 70 | dsimp only [FirstScaleGuards.state, previousShear, olderShear] |
| 71 | simpa only [mul_one] using h.trans hbounds.2 |
| 72 | · rw [hlow.1] |
| 73 | simp only [sum_range_zero,add_zero,le_refl] |
| 74 | · rw [hlow.2.1] |
| 75 | simpa only [sum_range_zero,add_zero] using hbounds.1 |
| 76 | · rw [hlow.2.2.2] |
| 77 | simp only [sum_range_zero,add_zero,le_refl] |
| 78 | · change P.G ≤ frameConstant*(1+1) |
| 79 | rw [show P.G=1+initialCoefficientCost from hcost.1] |
| 80 | have hf := EulerPacketFirstLowBounds.firstRatio_pos |
| 81 | have hm := gradient_properties.2.1 |
| 82 | have hc := frame_properties.2.1 |
| 83 | have h0 := frame_properties.1 |
| 84 | linarith only [hf,hm,hc,h0] |
| 85 | · exact le_of_eq hcost.2 |
| 86 | · change |P.a-1| ≤ 2*∑ i ∈ range 0, renewalCost S.J S.D 4 c frameConstant S.X i |
| 87 | rw [show P.a=1 from hparam.1] |
| 88 | simp only [sub_self,abs_zero,sum_range_zero,mul_zero,le_refl] |
| 89 | · change 1/2 ≤ P.sigma^2*S.X^2 |
| 90 | rw [htilt] |
| 91 | norm_num |
| 92 | · change P.sigma^2*S.X^2 ≤ 2 |
| 93 | rw [htilt] |
| 94 | norm_num |
| 95 | |
| 96 | theorem firstStage_time : S.firstStage.time=0 := rfl |
| 97 | |
| 98 | theorem firstStage_horizon : S.firstStage.parent.T=baseHorizon S.J S.X := rfl |
| 99 | |
| 100 | theorem firstStage_coupling : S.firstStage.frame.a=1 := |
| 101 | ((S.first.packet S.j_one).initialFrame_parameters firstNormal firstNormal_unit firstFrame |
| 102 | support compact).1 |
| 103 | |
| 104 | end EulerPacketInductionScales.Scales |