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.GluedStageEstimates |
| 2 | import NavierStokes.SharpPhysicalLogBounds |
| 3 | import NavierStokes.SharpWaveStageBounds |
| 4 | import NavierStokes.SharpMeanStageBounds |
| 5 | |
| 6 | noncomputable section |
| 7 | namespace NavierStokes.SharpGluedStageBounds |
| 8 | open Set Function Filter ProblemStatement PhysicalWaveSum |
| 9 | open scoped Topology ContDiff BigOperators |
| 10 | |
| 11 | open CorrectionInitialization CorrectionInitialization.ActualPrimary ActualStageEstimates |
| 12 | |
| 13 | section SignedAndMean |
| 14 | |
| 15 | variable {B N0 N : ℕ} {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 16 | {I K : Type*} (R : RunData B N0) |
| 17 | (M : ActualMeanPhysicalData.InitialCycleInput B N0 N |
| 18 | (fun _ => ActualCycleParameters.fixedParameters B N0)) |
| 19 | (hN : 4 ≤ N) (W : GluedStageEstimates.SignedInputs D I K) |
| 20 | |
| 21 | private theorem potential_gain (j : ℕ) : |
| 22 | ActualIterationLedger.gain h (j+1) ≤ h * (W.potential j).alpha := by |
| 23 | have hg := ActualIterationLedger.gain_le_wave outgoing.data.h_pos.le |
| 24 | ActualCyclePreservation.kappa_small (Nat.succ_pos j) |
| 25 | rw [← nativePotential_eq_ledger j] at hg |
| 26 | exact hg.trans (mul_le_mul_of_nonneg_left (W.potential_exponent j) outgoing.data.h_pos.le) |
| 27 | |
| 28 | private theorem pressure_gain (j : ℕ) : |
| 29 | ActualIterationLedger.gain h (j+1) ≤ h * (W.pressure j).alpha := by |
| 30 | have hg := ActualIterationLedger.gain_le_wavePressure outgoing.data.h_pos.le |
| 31 | ActualCyclePreservation.kappa_small (Nat.succ_pos j) |
| 32 | rw [← nativePressure_eq_ledger j] at hg |
| 33 | exact hg.trans (mul_le_mul_of_nonneg_left (W.pressure_exponent j) outgoing.data.h_pos.le) |
| 34 | |
| 35 | private theorem mean_gain (j : ℕ) : |
| 36 | ActualIterationLedger.gain h (j+1) ≤ h * (1+ActualIterationLedger.sigma j-2*ChartScales.kappa) := by |
| 37 | rw [nativeMean_eq_ledger] |
| 38 | exact ActualIterationLedger.gain_le_mean outgoing.data.h_pos.le |
| 39 | ActualCyclePreservation.kappa_small (Nat.succ_pos j) |
| 40 | |
| 41 | private theorem mean_degree : CoordinateAlgebra.A h - 1/2 ≤ 2*CoordinateAlgebra.A h := by |
| 42 | unfold CoordinateAlgebra.A |
| 43 | linarith [outgoing.data.h_pos] |
| 44 | |
| 45 | theorem signedMeanPotential_printed_bound {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) (j m : ℕ) : |
| 46 | LogBound h qbig (GluedStageEstimates.signedMeanPotential R M hN W j) m |
| 47 | (ActualIterationLedger.gain h (j+1) - SharpPhysicalCarrier.physicalLoss h m) := by |
| 48 | have hs0 := (W.potential j).vector_printed_bound outgoing.data.h_pos outgoing.data.h_lt_half |
| 49 | (by rw [W.potential_shift]; unfold CoordinateAlgebra.A; linarith [outgoing.data.h_pos]) m |
| 50 | have hs : LogBound h qbig (W.potential j).vector m |
| 51 | (h*(W.potential j).alpha-SharpPhysicalCarrier.physicalLoss h m) := by |
| 52 | obtain ⟨C,hC,n,hb⟩ := hs0 |
| 53 | exact ⟨C,hC,n,fun w hw hqw => hb w hw.1 hqw⟩ |
| 54 | have ht : LogBound h qbig (temporalInput R M hN j).family.angularField m |
| 55 | (h*(1+ActualIterationLedger.sigma j-2*ChartScales.kappa)-SharpPhysicalCarrier.physicalLoss h m) := |
| 56 | (temporalInput R M hN j).angular_printed_bound outgoing.data.h_pos outgoing.data.h_lt_half |
| 57 | hq mean_degree m |
| 58 | have hr : LogBound h qbig (rankInput R M hN j).family.angularField m |
| 59 | (h*(1+ActualIterationLedger.sigma j-2*ChartScales.kappa)-SharpPhysicalCarrier.physicalLoss h m) := |
| 60 | (rankInput R M hN j).angular_printed_bound outgoing.data.h_pos outgoing.data.h_lt_half |
| 61 | hq mean_degree m |
| 62 | have ss : ContDiffOn ℝ ∞ (W.potential j).vector (CutStageEstimates.physicalSublevel h qbig) := |
| 63 | ((W.potential j).vector_smooth outgoing.data.h_pos outgoing.data.h_lt_half).mono inter_subset_left |
| 64 | have st := (temporalInput R M hN j).angular_smooth outgoing.data.h_pos outgoing.data.h_lt_half hq |
| 65 | have sr := (rankInput R M hN j).angular_smooth outgoing.data.h_pos outgoing.data.h_lt_half hq |
| 66 | exact ((hs.weaken outgoing.data.h_pos outgoing.data.h_lt_half (sub_le_sub_right (potential_gain W j) _)).add |
| 67 | (ht.weaken outgoing.data.h_pos outgoing.data.h_lt_half (sub_le_sub_right (mean_gain j) _)) |
| 68 | outgoing.data.h_pos outgoing.data.h_lt_half ss st).add |
| 69 | (hr.weaken outgoing.data.h_pos outgoing.data.h_lt_half (sub_le_sub_right (mean_gain j) _)) |
| 70 | outgoing.data.h_pos outgoing.data.h_lt_half (ss.add st) sr |
| 71 | |
| 72 | theorem signedMeanPressure_printed_bound {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) (j m : ℕ) : |
| 73 | LogBound h qbig (GluedStageEstimates.signedMeanPressure R M hN W j) m |
| 74 | (ActualIterationLedger.gain h (j+1) - SharpPhysicalCarrier.physicalLoss h m) := by |
| 75 | have hs0 := (W.pressure j).pressure_printed_bound outgoing.data.h_pos outgoing.data.h_lt_half |
| 76 | (by rw [W.pressure_shift]) m |
| 77 | have hs : LogBound h qbig (W.pressure j).pressure m |
| 78 | (h*(W.pressure j).alpha-SharpPhysicalCarrier.physicalLoss h m) := by |
| 79 | obtain ⟨C,hC,n,hb⟩ := hs0 |
| 80 | exact ⟨C,hC,n,fun w hw hqw => hb w hw.1 hqw⟩ |
| 81 | have hm : LogBound h qbig (pressureInput R M hN j).family.field m |
| 82 | (h*(1+ActualIterationLedger.sigma j-2*ChartScales.kappa)-SharpPhysicalCarrier.physicalLoss h m) := |
| 83 | (pressureInput R M hN j).field_printed_bound outgoing.data.h_pos outgoing.data.h_lt_half hq le_rfl m |
| 84 | exact (hs.weaken outgoing.data.h_pos outgoing.data.h_lt_half (sub_le_sub_right (pressure_gain W j) _)).add |
| 85 | (hm.weaken outgoing.data.h_pos outgoing.data.h_lt_half (sub_le_sub_right (mean_gain j) _)) |
| 86 | outgoing.data.h_pos outgoing.data.h_lt_half |
| 87 | (((W.pressure j).pressure_smooth outgoing.data.h_pos outgoing.data.h_lt_half).mono inter_subset_left) |
| 88 | ((pressureInput R M hN j).field_smooth outgoing.data.h_pos outgoing.data.h_lt_half hq) |
| 89 | |
| 90 | theorem direct_printed_bound {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) (j m : ℕ) : |
| 91 | LogBound h qbig (GluedStageEstimates.direct R M hN j) m |
| 92 | (ActualIterationLedger.gain h (j+1) - SharpPhysicalCarrier.physicalLoss h m) := by |
| 93 | have hm : LogBound h qbig (angularInput R M hN j).family.angularField m |
| 94 | (h*(1+ActualIterationLedger.sigma j-2*ChartScales.kappa)-SharpPhysicalCarrier.physicalLoss h m) := |
| 95 | (angularInput R M hN j).angular_printed_bound outgoing.data.h_pos outgoing.data.h_lt_half hq |
| 96 | (by unfold CoordinateAlgebra.A; linarith [outgoing.data.h_pos]) m |
| 97 | exact hm.weaken outgoing.data.h_pos outgoing.data.h_lt_half (sub_le_sub_right (mean_gain j) _) |
| 98 | |
| 99 | theorem signedMeanCurl_printed_bound {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) (j m : ℕ) : |
| 100 | LogBound h qbig (SpatialCurl.spatialCurl (GluedStageEstimates.signedMeanPotential R M hN W j)) m |
| 101 | (ActualIterationLedger.gain h (j+1) - SharpPhysicalCarrier.physicalLoss h m) := by |
| 102 | have hs0 := (W.potential j).curl_printed_bound outgoing.data.h_pos outgoing.data.h_lt_half |
| 103 | (by rw [W.potential_shift]; unfold CoordinateAlgebra.A; linarith [outgoing.data.h_pos]) m |
| 104 | have hs : LogBound h qbig (SpatialCurl.spatialCurl (W.potential j).vector) m |
| 105 | (h*(W.potential j).alpha-SharpPhysicalCarrier.physicalLoss h m) := by |
| 106 | obtain ⟨C,hC,n,hb⟩ := hs0 |
| 107 | exact ⟨C,hC,n,fun w hw hqw => hb w hw.1 hqw⟩ |
| 108 | have ht : LogBound h qbig (SpatialCurl.spatialCurl (temporalInput R M hN j).family.angularField) m |
| 109 | (h*(1+ActualIterationLedger.sigma j-2*ChartScales.kappa)-SharpPhysicalCarrier.physicalLoss h m) := |
| 110 | (temporalInput R M hN j).curl_printed_bound outgoing.data.h_pos outgoing.data.h_lt_half hq mean_degree m |
| 111 | have hr : LogBound h qbig (SpatialCurl.spatialCurl (rankInput R M hN j).family.angularField) m |
| 112 | (h*(1+ActualIterationLedger.sigma j-2*ChartScales.kappa)-SharpPhysicalCarrier.physicalLoss h m) := |
| 113 | (rankInput R M hN j).curl_printed_bound outgoing.data.h_pos outgoing.data.h_lt_half hq mean_degree m |
| 114 | have hU := CutStageEstimates.physicalSublevel_open outgoing.data.h_pos outgoing.data.h_lt_half qbig |
| 115 | have ss : ContDiffOn ℝ ∞ (W.potential j).vector (CutStageEstimates.physicalSublevel h qbig) := |
| 116 | ((W.potential j).vector_smooth outgoing.data.h_pos outgoing.data.h_lt_half).mono inter_subset_left |
| 117 | have st := (temporalInput R M hN j).angular_smooth outgoing.data.h_pos outgoing.data.h_lt_half hq |
| 118 | have sr := (rankInput R M hN j).angular_smooth outgoing.data.h_pos outgoing.data.h_lt_half hq |
| 119 | have scs := InitializedPhysicalBackground.spatialCurl_smoothOn hU ss |
| 120 | have sct := InitializedPhysicalBackground.spatialCurl_smoothOn hU st |
| 121 | have scr := InitializedPhysicalBackground.spatialCurl_smoothOn hU sr |
| 122 | have hb := ((hs.weaken outgoing.data.h_pos outgoing.data.h_lt_half (sub_le_sub_right (potential_gain W j) _)).add |
| 123 | (ht.weaken outgoing.data.h_pos outgoing.data.h_lt_half (sub_le_sub_right (mean_gain j) _)) |
| 124 | outgoing.data.h_pos outgoing.data.h_lt_half scs sct).add |
| 125 | (hr.weaken outgoing.data.h_pos outgoing.data.h_lt_half (sub_le_sub_right (mean_gain j) _)) |
| 126 | outgoing.data.h_pos outgoing.data.h_lt_half (scs.add sct) scr |
| 127 | apply hb.congr outgoing.data.h_pos outgoing.data.h_lt_half |
| 128 | intro w hw |
| 129 | change _ = SpatialCurl.spatialCurl (fun z => (W.potential j).vector z + |
| 130 | (temporalInput R M hN j).family.angularField z + (rankInput R M hN j).family.angularField z) w |
| 131 | rw [InitializedPhysicalBackground.spatialCurl_add_on hU (ss.add st) sr hw] |
| 132 | dsimp only |
| 133 | rw [InitializedPhysicalBackground.spatialCurl_add_on hU ss st hw] |
| 134 | |
| 135 | theorem potential_printed_bound {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) |
| 136 | {particular : ℕ → VelocityField} (j m : ℕ) |
| 137 | (hs : ContDiffOn ℝ ∞ (particular j) (CutStageEstimates.physicalSublevel h qbig)) |
| 138 | (hb : LogBound h qbig (particular j) m |
| 139 | (ActualIterationLedger.gain h (j+1)-SharpPhysicalCarrier.physicalLoss h m)) : |
| 140 | LogBound h qbig (GluedStageEstimates.potential R M hN W particular j) m |
| 141 | (ActualIterationLedger.gain h (j+1)-SharpPhysicalCarrier.physicalLoss h m) := by |
| 142 | rw [GluedStageEstimates.potential_eq] |
| 143 | exact hb.add (signedMeanPotential_printed_bound R M hN W hq j m) |
| 144 | outgoing.data.h_pos outgoing.data.h_lt_half hs |
| 145 | (GluedStageEstimates.signedMeanPotential_smooth R M hN W hq j) |
| 146 | |
| 147 | theorem pressure_printed_bound {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) |
| 148 | {particular : ℕ → PressureField} (j m : ℕ) |
| 149 | (hs : ContDiffOn ℝ ∞ (particular j) (CutStageEstimates.physicalSublevel h qbig)) |
| 150 | (hb : LogBound h qbig (particular j) m |
| 151 | (ActualIterationLedger.gain h (j+1)-SharpPhysicalCarrier.physicalLoss h m)) : |
| 152 | LogBound h qbig (GluedStageEstimates.pressure R M hN W particular j) m |
| 153 | (ActualIterationLedger.gain h (j+1)-SharpPhysicalCarrier.physicalLoss h m) := by |
| 154 | rw [GluedStageEstimates.pressure_eq] |
| 155 | exact hb.add (signedMeanPressure_printed_bound R M hN W hq j m) |
| 156 | outgoing.data.h_pos outgoing.data.h_lt_half hs |
| 157 | (GluedStageEstimates.signedMeanPressure_smooth R M hN W hq j) |
| 158 | |
| 159 | theorem curl_printed_bound {qbig : ℝ} (hq : qbig ≤ ChartScales.Q N) |
| 160 | {particular : ℕ → VelocityField} (j m : ℕ) |
| 161 | (hs : ContDiffOn ℝ ∞ (particular j) (CutStageEstimates.physicalSublevel h qbig)) |
| 162 | (hb : LogBound h qbig (SpatialCurl.spatialCurl (particular j)) m |
| 163 | (ActualIterationLedger.gain h (j+1)-SharpPhysicalCarrier.physicalLoss h m)) : |
| 164 | LogBound h qbig (SpatialCurl.spatialCurl (GluedStageEstimates.potential R M hN W particular j)) m |
| 165 | (ActualIterationLedger.gain h (j+1)-SharpPhysicalCarrier.physicalLoss h m) := by |
| 166 | have hU := CutStageEstimates.physicalSublevel_open outgoing.data.h_pos outgoing.data.h_lt_half qbig |
| 167 | have ss := GluedStageEstimates.signedMeanPotential_smooth R M hN W hq j |
| 168 | have hsum := hb.add (signedMeanCurl_printed_bound R M hN W hq j m) |
| 169 | outgoing.data.h_pos outgoing.data.h_lt_half |
| 170 | (InitializedPhysicalBackground.spatialCurl_smoothOn hU hs) |
| 171 | (InitializedPhysicalBackground.spatialCurl_smoothOn hU ss) |
| 172 | rw [GluedStageEstimates.potential_eq] |
| 173 | exact hsum.congr outgoing.data.h_pos outgoing.data.h_lt_half |
| 174 | (InitializedPhysicalBackground.spatialCurl_add_on hU hs ss).symm |
| 175 | |
| 176 | end SignedAndMean |
| 177 | |
| 178 | end NavierStokes.SharpGluedStageBounds |