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 NavierStokes.SharpParticularGluing |
| 2 | import NavierStokes.SharpCurrentParticularBounds |
| 3 | import NavierStokes.SharpActualStageBounds |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace NavierStokes.SharpParticularStageBounds |
| 8 | |
| 9 | open Set Function Filter ProblemStatement PhysicalWaveSum SharpGluedStageBounds |
| 10 | open CorrectionInitialization.ActualPrimary ActualCandidateAssembly |
| 11 | open scoped Topology ContDiff BigOperators |
| 12 | |
| 13 | theorem potential_log_bound (B N0 : ℕ) |
| 14 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j m : ℕ) : |
| 15 | LogBound h (ActualCandidateConstruction.qbig B N0) (particularPotential B N0 j) m |
| 16 | (h*(ActualIterationLedger.sigma j+1)-h-(m:ℝ)*SharpPhysicalCarrier.derivativeCost h) := by |
| 17 | have H := ActualCyclePreservation.state_invariant B N0 hN j |
| 18 | obtain ⟨C,hC,P,hb⟩ := SharpParticularGluing.localPotential_bound_of_modes H hN m |
| 19 | (fun k hk => SharpCurrentParticularBounds.current_potential_mode_bound H hN k hk m) |
| 20 | exact SharpParticularGluing.glued_bound_of_local m |
| 21 | (GluedStageEstimates.current_compatible (runData B N0 hN) |
| 22 | (ActualCyclePreservation.state_coherent B N0 hN) hN j (ActualCandidateConstruction.firstBand B N0)).1 |
| 23 | le_rfl ⟨C,hC,P,fun n hn w hw _ hqw => hb n ((ActualCandidateConstruction.firstBand_four B N0).trans hn) w hw hqw⟩ |
| 24 | |
| 25 | theorem pressure_log_bound (B N0 : ℕ) |
| 26 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j m : ℕ) : |
| 27 | LogBound h (ActualCandidateConstruction.qbig B N0) (particularPressure B N0 j) m |
| 28 | (h*(ActualIterationLedger.sigma j+1)-2*CoordinateAlgebra.A h-(m:ℝ)*SharpPhysicalCarrier.derivativeCost h) := by |
| 29 | have H := ActualCyclePreservation.state_invariant B N0 hN j |
| 30 | obtain ⟨C,hC,P,hb⟩ := SharpParticularGluing.localPressure_bound_of_modes H hN m |
| 31 | (fun k hk => SharpCurrentParticularBounds.current_pressure_mode_bound H hN k hk m) |
| 32 | exact SharpParticularGluing.glued_bound_of_local m |
| 33 | (GluedStageEstimates.current_compatible (runData B N0 hN) |
| 34 | (ActualCyclePreservation.state_coherent B N0 hN) hN j (ActualCandidateConstruction.firstBand B N0)).2 |
| 35 | le_rfl ⟨C,hC,P,fun n hn w hw _ hqw => hb n ((ActualCandidateConstruction.firstBand_four B N0).trans hn) w hw hqw⟩ |
| 36 | |
| 37 | private theorem common_loss (j m k : ℕ) {degree : ℝ} (hd : degree ≤ 2*CoordinateAlgebra.A h) |
| 38 | (hk : k ≤ m+1) : |
| 39 | ActualIterationLedger.gain h (j+1)-SharpPhysicalCarrier.physicalLoss h m ≤ |
| 40 | h*(ActualIterationLedger.sigma j+1)-degree-(k:ℝ)*SharpPhysicalCarrier.derivativeCost h := by |
| 41 | have hg := GluedStageEstimates.gain_le_current_exponent j |
| 42 | have hk' : (k:ℝ) ≤ (m:ℝ)+1 := by exact_mod_cast hk |
| 43 | have hc : 0 ≤ SharpPhysicalCarrier.derivativeCost h := by |
| 44 | unfold SharpPhysicalCarrier.derivativeCost |
| 45 | linarith [outgoing.data.h_pos] |
| 46 | unfold SharpPhysicalCarrier.physicalLoss |
| 47 | nlinarith |
| 48 | |
| 49 | theorem potential_printed_bound (B N0 : ℕ) |
| 50 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j m : ℕ) : |
| 51 | LogBound h (ActualCandidateConstruction.qbig B N0) (particularPotential B N0 j) m |
| 52 | (ActualIterationLedger.gain h (j+1)-SharpPhysicalCarrier.physicalLoss h m) := |
| 53 | (potential_log_bound B N0 hN j m).weaken outgoing.data.h_pos outgoing.data.h_lt_half |
| 54 | (common_loss j m m (by unfold CoordinateAlgebra.A; linarith [outgoing.data.h_pos]) (by omega)) |
| 55 | |
| 56 | theorem pressure_printed_bound (B N0 : ℕ) |
| 57 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j m : ℕ) : |
| 58 | LogBound h (ActualCandidateConstruction.qbig B N0) (particularPressure B N0 j) m |
| 59 | (ActualIterationLedger.gain h (j+1)-SharpPhysicalCarrier.physicalLoss h m) := |
| 60 | (pressure_log_bound B N0 hN j m).weaken outgoing.data.h_pos outgoing.data.h_lt_half |
| 61 | (common_loss j m m le_rfl (by omega)) |
| 62 | |
| 63 | theorem curl_printed_bound (B N0 : ℕ) |
| 64 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j m : ℕ) : |
| 65 | LogBound h (ActualCandidateConstruction.qbig B N0) (SpatialCurl.spatialCurl (particularPotential B N0 j)) m |
| 66 | (ActualIterationLedger.gain h (j+1)-SharpPhysicalCarrier.physicalLoss h m) := |
| 67 | ((potential_log_bound B N0 hN j (m+1)).spatialCurl outgoing.data.h_pos outgoing.data.h_lt_half |
| 68 | (particular_smooth B N0 hN j).1).weaken outgoing.data.h_pos outgoing.data.h_lt_half |
| 69 | (common_loss j m (m+1) (by unfold CoordinateAlgebra.A; linarith [outgoing.data.h_pos]) le_rfl) |
| 70 | |
| 71 | /-- The full actual potential increment satisfies exactly the printed |
| 72 | stage-independent loss, with all native and physical inputs discharged. -/ |
| 73 | theorem actual_potential_bound (B N0 : ℕ) |
| 74 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j m : ℕ) : |
| 75 | LogBound h (ActualCandidateConstruction.qbig B N0) (potentialStages B N0 hN (j+1)) m |
| 76 | (ActualIterationLedger.gain h (j+1)-SharpPhysicalCarrier.physicalLoss h m) := |
| 77 | SharpActualStageBounds.potential_of_particular B N0 hN j m (potential_printed_bound B N0 hN j m) |
| 78 | |
| 79 | theorem actual_pressure_bound (B N0 : ℕ) |
| 80 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j m : ℕ) : |
| 81 | LogBound h (ActualCandidateConstruction.qbig B N0) (pressureStages B N0 hN (j+1)) m |
| 82 | (ActualIterationLedger.gain h (j+1)-SharpPhysicalCarrier.physicalLoss h m) := |
| 83 | SharpActualStageBounds.pressure_of_particular B N0 hN j m (pressure_printed_bound B N0 hN j m) |
| 84 | |
| 85 | theorem actual_velocity_bound (B N0 : ℕ) |
| 86 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (j m : ℕ) : |
| 87 | LogBound h (ActualCandidateConstruction.qbig B N0) |
| 88 | (MixedFiniteBackground.stageVelocity (potentialStages B N0 hN) (directStages B N0 hN) (j+1)) m |
| 89 | (ActualIterationLedger.gain h (j+1)-SharpPhysicalCarrier.physicalLoss h m) := |
| 90 | SharpActualStageBounds.velocity_of_particular B N0 hN j m (curl_printed_bound B N0 hN j m) |
| 91 | |
| 92 | end NavierStokes.SharpParticularStageBounds |