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.OutgoingTail |
| 2 | import NavierStokes.TailEnergyBounds |
| 3 | import NavierStokes.PressureDatum |
| 4 | import NavierStokes.NaturalProfile |
| 5 | |
| 6 | /-! |
| 7 | # The pressure datum of the constructed outgoing angular schedule |
| 8 | |
| 9 | This module instantiates the abstract pressure integral with `finalAngular`. |
| 10 | The pressure-neutral angular-moment correction remains a separate operation. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.SchedulePressure |
| 16 | |
| 17 | open Set Filter MeasureTheory |
| 18 | open OutgoingSchedule OutgoingTail |
| 19 | open scoped Topology ContDiff |
| 20 | |
| 21 | /-- Squared clock amplitude, taken from the actual angular schedule at `η=0`. -/ |
| 22 | noncomputable def clockWeight (d : TailData) (y : ℝ) : ℝ := finalAngular d (y, 0) ^ 2 |
| 23 | |
| 24 | /-- The shape exponent decreases from one to zero during flattening. -/ |
| 25 | noncomputable def shapeExponent (d : TailData) (y : ℝ) : ℝ := |
| 26 | 1 - sigma ((y - d.core.endpoint) / flattenLength) |
| 27 | |
| 28 | /-- The datum computed directly from the complete constructed angular field. -/ |
| 29 | noncomputable def axisPressure (d : TailData) (η : ℝ) : ℝ := |
| 30 | -(1 / 2 : ℝ) * ∫ y, finalAngular d (y, η) ^ 2 |
| 31 | |
| 32 | theorem endpoint_pos (d : TailData) : 0 < d.core.endpoint := by |
| 33 | dsimp [OutgoingSchedule.Parameters.endpoint] |
| 34 | linarith [d.core.pulseStart_pos, d.core.pulseLength_pos] |
| 35 | |
| 36 | theorem clockWeight_contDiff (d : TailData) : ContDiff ℝ ∞ (clockWeight d) := |
| 37 | ((finalAngular_contDiff d).comp (contDiff_id.prodMk contDiff_const)).pow 2 |
| 38 | |
| 39 | theorem clockWeight_pos (d : TailData) (y : ℝ) : 0 < clockWeight d y := |
| 40 | sq_pos_of_pos (finalAngular_pos d (y, 0)) |
| 41 | |
| 42 | theorem shapeExponent_contDiff (d : TailData) : ContDiff ℝ ∞ (shapeExponent d) := |
| 43 | contDiff_const.sub (sigma_contDiff.comp |
| 44 | ((contDiff_id.sub contDiff_const).div_const flattenLength)) |
| 45 | |
| 46 | theorem shapeExponent_bounds (d : TailData) (y : ℝ) : |
| 47 | 0 ≤ shapeExponent d y ∧ shapeExponent d y ≤ 1 := by |
| 48 | dsimp [shapeExponent] |
| 49 | constructor <;> linarith [sigma_nonneg ((y - d.core.endpoint) / flattenLength), |
| 50 | sigma_le_one ((y - d.core.endpoint) / flattenLength)] |
| 51 | |
| 52 | theorem shapeExponent_before (d : TailData) {y : ℝ} (hy : y ≤ d.core.endpoint) : |
| 53 | shapeExponent d y = 1 := by |
| 54 | have hs : (y - d.core.endpoint) / flattenLength ≤ 0 := |
| 55 | div_nonpos_of_nonpos_of_nonneg (sub_nonpos.mpr hy) flattenLength_pos.le |
| 56 | simp [shapeExponent, sigma_zero hs] |
| 57 | |
| 58 | theorem clockWeight_ideal (d : TailData) {y : ℝ} (hy : y ≤ 0) : |
| 59 | clockWeight d y = d.core.P ^ 2 * Real.exp ((1 / 5 : ℝ) * y) := by |
| 60 | have hE : finalAngular d (y, 0) = d.core.P * Real.exp (y / 10) := by |
| 61 | rw [finalAngular_before d 0 (hy.trans (endpoint_pos d).le)] |
| 62 | simpa [shape] using (angular_ideal (P := d.core.P) (eta := 0) |
| 63 | (lam := d.core.lam) d.core.dropLength_pos.le hy) |
| 64 | have he : Real.exp (y / 10) ^ 2 = Real.exp ((1 / 5 : ℝ) * y) := by |
| 65 | rw [← Real.exp_nat_mul] |
| 66 | congr 1 |
| 67 | norm_num |
| 68 | ring |
| 69 | rw [clockWeight, hE, mul_pow, he] |
| 70 | |
| 71 | theorem shape_eq_exp (η : ℝ) : |
| 72 | shape η = Real.exp (-Real.log (1 + η ^ 2)) := by |
| 73 | rw [Real.exp_neg, Real.exp_log (by positivity : 0 < 1 + η ^ 2)] |
| 74 | rfl |
| 75 | |
| 76 | /-- Exact shape separation of the complete angular schedule. -/ |
| 77 | theorem angular_factorization (d : TailData) (y η : ℝ) : |
| 78 | finalAngular d (y, η) = finalAngular d (y, 0) * |
| 79 | Real.exp (-shapeExponent d y * Real.log (1 + η ^ 2)) := by |
| 80 | let s := sigma ((y - d.core.endpoint) / flattenLength) |
| 81 | have he : -Real.log (1 + η ^ 2) + s * (Real.log (1 + η ^ 2) - Real.log 2) = |
| 82 | s * (-Real.log 2) + -(1 - s) * Real.log (1 + η ^ 2) := by ring |
| 83 | have hfac : shape η * Real.exp (s * (Real.log (1 + η ^ 2) - Real.log 2)) = |
| 84 | Real.exp (s * (-Real.log 2)) * Real.exp (-(1 - s) * Real.log (1 + η ^ 2)) := by |
| 85 | rw [shape_eq_exp, ← Real.exp_add, he, Real.exp_add] |
| 86 | unfold finalAngular flattened angular flattenFactor |
| 87 | dsimp only |
| 88 | change _ = _ |
| 89 | have h0 : shape (0 : ℝ) = 1 := by norm_num [shape] |
| 90 | have hl0 : logShape (0 : ℝ) = 0 := by norm_num [logShape] |
| 91 | rw [h0, hl0] |
| 92 | simp only [mul_one, zero_sub] |
| 93 | unfold logShape |
| 94 | change _ = _ |
| 95 | dsimp only [shapeExponent] |
| 96 | calc |
| 97 | _ = (radialAmplitude d.core.P d.core.dropLength d.core.lam y * |
| 98 | (shape η * Real.exp (s * (Real.log (1 + η ^ 2) - Real.log 2)))) * |
| 99 | Real.exp (releaseAdjustment d (y - d.releaseStart)) * |
| 100 | (tailShape d (y - tailStart d) / (1 - d.rho)) := by dsimp [s]; ring |
| 101 | _ = _ := by rw [hfac]; ring |
| 102 | |
| 103 | theorem angular_square_factorization (d : TailData) (y η : ℝ) : |
| 104 | finalAngular d (y, η) ^ 2 = |
| 105 | clockWeight d y * PressureDatum.kernel (shapeExponent d y) η := by |
| 106 | rw [angular_factorization d y η, mul_pow] |
| 107 | change clockWeight d y * _ = clockWeight d y * _ |
| 108 | congr 1 |
| 109 | rw [← Real.exp_nat_mul] |
| 110 | unfold PressureDatum.kernel |
| 111 | congr 1 |
| 112 | norm_num |
| 113 | ring |
| 114 | |
| 115 | theorem clockWeight_integrable_left (d : TailData) : |
| 116 | IntegrableOn (clockWeight d) (Iic (0 : ℝ)) := by |
| 117 | apply ((integrableOn_exp_mul_Iic (by norm_num : 0 < (1 / 5 : ℝ)) 0).const_mul |
| 118 | (d.core.P ^ 2)).congr |
| 119 | filter_upwards [ae_restrict_mem measurableSet_Iic] with y hy |
| 120 | exact (clockWeight_ideal d hy).symm |
| 121 | |
| 122 | theorem clockWeight_integrable_right (d : TailData) : |
| 123 | IntegrableOn (clockWeight d) (Ioi d.core.endpoint) := by |
| 124 | apply (TailEnergyBounds.energyDensity_integrable_postPulse d 0).mono' |
| 125 | (clockWeight_contDiff d).continuous.aestronglyMeasurable |
| 126 | filter_upwards [ae_restrict_mem measurableSet_Ioi] with y hy |
| 127 | rw [Real.norm_eq_abs, abs_of_pos (clockWeight_pos d y)] |
| 128 | have he : 1 ≤ Real.exp y := Real.one_le_exp_iff.mpr ((endpoint_pos d).le.trans hy.le) |
| 129 | exact le_mul_of_one_le_left (clockWeight_pos d y).le he |
| 130 | |
| 131 | theorem clockWeight_integrable (d : TailData) : Integrable (clockWeight d) := by |
| 132 | rw [← integrableOn_univ, ← Iic_union_Ioi (a := d.core.endpoint), integrableOn_union] |
| 133 | refine ⟨?_, clockWeight_integrable_right d⟩ |
| 134 | rw [← Iic_union_Ioc_eq_Iic (endpoint_pos d).le, integrableOn_union] |
| 135 | exact ⟨clockWeight_integrable_left d, (clockWeight_contDiff d).continuous.integrableOn_Ioc⟩ |
| 136 | |
| 137 | /-- The actual schedule discharges all abstract weight/exponent hypotheses. -/ |
| 138 | theorem admissible (d : TailData) : |
| 139 | PressureDatum.Admissible (clockWeight d) (shapeExponent d) 1 where |
| 140 | cap_nonneg := by norm_num |
| 141 | integrable := clockWeight_integrable d |
| 142 | nonneg := fun y => (clockWeight_pos d y).le |
| 143 | measurable := (shapeExponent_contDiff d).continuous.measurable |
| 144 | exponent_nonneg := fun y => (shapeExponent_bounds d y).1 |
| 145 | exponent_le := fun y => (shapeExponent_bounds d y).2 |
| 146 | |
| 147 | theorem axisPressure_eq (d : TailData) : |
| 148 | axisPressure d = PressureDatum.pressure (clockWeight d) (shapeExponent d) := by |
| 149 | funext η |
| 150 | unfold axisPressure PressureDatum.pressure |
| 151 | congr 1 |
| 152 | apply integral_congr_ae |
| 153 | exact Filter.Eventually.of_forall fun y => angular_square_factorization d y η |
| 154 | |
| 155 | theorem shapeExponent_ideal (d : TailData) {y : ℝ} (hy : y ≤ 0) : |
| 156 | shapeExponent d y = 1 := shapeExponent_before d (hy.trans (endpoint_pos d).le) |
| 157 | |
| 158 | theorem angular_square_integrable (d : TailData) (η : ℝ) : |
| 159 | Integrable (fun y => finalAngular d (y, η) ^ 2) := by |
| 160 | apply (PressureDatum.integrable_kernel (admissible d) η).congr |
| 161 | exact Filter.Eventually.of_forall fun y => (angular_square_factorization d y η).symm |
| 162 | |
| 163 | theorem axisPressure_contDiff (d : TailData) : ContDiff ℝ ∞ (axisPressure d) := by |
| 164 | rw [axisPressure_eq] |
| 165 | exact PressureDatum.pressure_contDiff (admissible d) |
| 166 | |
| 167 | @[simp] theorem axisPressure_even (d : TailData) (η : ℝ) : |
| 168 | axisPressure d (-η) = axisPressure d η := by |
| 169 | rw [axisPressure_eq] |
| 170 | exact PressureDatum.pressure_neg _ _ _ |
| 171 | |
| 172 | @[simp] theorem axisPressure_deriv_zero (d : TailData) : deriv (axisPressure d) 0 = 0 := by |
| 173 | rw [axisPressure_eq] |
| 174 | exact PressureDatum.deriv_pressure_zero (admissible d) |
| 175 | |
| 176 | noncomputable def complexAxisPressure (d : TailData) : ℂ → ℂ := |
| 177 | PressureDatum.complexPressure (clockWeight d) (shapeExponent d) |
| 178 | |
| 179 | theorem complexAxisPressure_analytic (d : TailData) : |
| 180 | AnalyticOnNhd ℂ (complexAxisPressure d) PressureDatum.strip := |
| 181 | PressureDatum.complexPressure_analytic (admissible d) |
| 182 | |
| 183 | @[simp] theorem complexAxisPressure_ofReal (d : TailData) (η : ℝ) : |
| 184 | complexAxisPressure d (η : ℂ) = (axisPressure d η : ℂ) := by |
| 185 | rw [axisPressure_eq] |
| 186 | exact PressureDatum.complexPressure_ofReal _ _ _ |
| 187 | |
| 188 | theorem natural_axis_pressureData (d : TailData) (hP : 2 ≤ d.core.P) : |
| 189 | NaturalAxisData.PressureData (axisPressure d) := by |
| 190 | rw [axisPressure_eq] |
| 191 | exact NaturalAxisData.pressureData_of_ideal_prefix (admissible d) hP |
| 192 | (fun _ hy => clockWeight_ideal d hy) (fun _ hy => shapeExponent_ideal d hy) |
| 193 | |
| 194 | end NavierStokes.SchedulePressure |