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.AxisJointAnalytic |
| 2 | import NavierStokes.NaturalEntrance |
| 3 | |
| 4 | /-! # Joint analyticity of the constructed natural-axis solution |
| 5 | |
| 6 | The coefficient witness retained by `CoefficientProfile` identifies the actual |
| 7 | nonlinear solution with convergent analytic radial sums. Its pressure integral |
| 8 | identifies the same analytic primitive, so no analyticity of the output is assumed. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | open Set Filter |
| 14 | open scoped Topology |
| 15 | |
| 16 | namespace NavierStokes.NaturalEntrance |
| 17 | |
| 18 | open AxisCoefficientSpace NaturalProfile NaturalAxisBridge NaturalAxisCoefficients |
| 19 | |
| 20 | /-- All four scaled profiles of the actual nonlinear fixed point are jointly |
| 21 | real analytic on the common open axis rectangle. -/ |
| 22 | theorem CoefficientProfile.scaled_analytic {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} |
| 23 | {d : AnalyticInputs h j σ P0} (F : CoefficientProfile d Λ C) |
| 24 | (hΛ : 0 ≤ Λ) (hC : d.normalizationThreshold Λ ≤ C) : |
| 25 | AnalyticOnNhd ℝ F.family.phi (AxisEvaluation.strip window 20) ∧ |
| 26 | AnalyticOnNhd ℝ F.family.u (AxisEvaluation.strip window 20) ∧ |
| 27 | AnalyticOnNhd ℝ F.family.average (AxisEvaluation.strip window 20) ∧ |
| 28 | AnalyticOnNhd ℝ F.family.pressure (AxisEvaluation.strip window 20) := by |
| 29 | have hφ : AnalyticOnNhd ℝ F.family.phi (AxisEvaluation.strip window 20) := by |
| 30 | rw [F.phi_eq] |
| 31 | exact AxisJointAnalytic.profile_analyticOnNhd window d.coefficients.epsilon_pos _ |
| 32 | have hu : AnalyticOnNhd ℝ F.family.u (AxisEvaluation.strip window 20) := by |
| 33 | rw [F.u_eq] |
| 34 | exact AxisJointAnalytic.profile_analyticOnNhd window d.coefficients.epsilon_pos _ |
| 35 | have hB : AnalyticOnNhd ℝ F.family.average (AxisEvaluation.strip window 20) := by |
| 36 | rw [F.average_eq] |
| 37 | exact AxisJointAnalytic.profile_analyticOnNhd window d.coefficients.epsilon_pos _ |
| 38 | refine ⟨hφ, hu, hB, ?_⟩ |
| 39 | obtain ⟨a, _, harad, havalue⟩ := d.uniformAmplitude Λ hΛ C hC |
| 40 | have heq : (AxisEvaluation.strip window 20).EqOn |
| 41 | (AxisEvaluation.profile window d.coefficients.epsilon |
| 42 | (pressureCoefficient window d.coefficients.epsilon_pos a F.coefficients.1)) |
| 43 | F.family.pressure := by |
| 44 | intro p hp |
| 45 | rw [pressure_integral window d.coefficients.epsilon_pos a F.coefficients.1 harad hp, |
| 46 | F.scaled.pressure_integral p hp, F.phi_eq, |
| 47 | havalue p.2 ⟨hp.2.1.le, hp.2.2.le⟩] |
| 48 | exact (analyticOnNhd_congr (AxisEvaluation.strip_isOpen window 20) heq).mp |
| 49 | (AxisJointAnalytic.profile_analyticOnNhd window d.coefficients.epsilon_pos _) |
| 50 | |
| 51 | theorem amplitude_analytic {h j σ : ℝ} {P0 : ℝ → ℝ} |
| 52 | (d : AnalyticInputs h j σ P0) (Λ C : ℝ) : |
| 53 | AnalyticOnNhd ℝ (realAmplitude h j σ Λ C) (Ioo window.left window.right) := by |
| 54 | intro η hη |
| 55 | have hc := d.phase_analytic (η : ℂ) (d.real_mem_compact ⟨hη.1.le, hη.2.le⟩) |
| 56 | have hr : AnalyticAt ℝ (realPhase h j σ) η := by |
| 57 | have ht : AnalyticAt ℝ (fun x : ℝ => (axisPhase h j σ (x : ℂ)).re) η := |
| 58 | (Complex.reCLM.analyticAt _).comp_of_eq |
| 59 | (hc.restrictScalars.comp (Complex.ofRealCLM.analyticAt η)) rfl |
| 60 | simpa only [axisPhase_ofReal, Complex.ofReal_re] using ht |
| 61 | exact ((analyticAt_const.mul hr).rexp).mul analyticAt_const |
| 62 | |
| 63 | theorem pullback_analytic {F : ℝ × ℝ → ℝ} |
| 64 | (hF : AnalyticOnNhd ℝ F (AxisEvaluation.strip window 20)) (Λ : ℝ) : |
| 65 | AnalyticOnNhd ℝ (pullback Λ F) (domain Λ) := by |
| 66 | intro p hp |
| 67 | exact (hF (rescalePoint Λ p) hp).comp |
| 68 | ((analyticAt_const.mul analyticAt_fst).prod analyticAt_snd) |
| 69 | |
| 70 | theorem affineProfile_analytic {b : ℝ → ℝ} |
| 71 | (hb : AnalyticOnNhd ℝ b (Ioo window.left window.right)) |
| 72 | {F : ℝ × ℝ → ℝ} (hF : AnalyticOnNhd ℝ F (AxisEvaluation.strip window 20)) |
| 73 | (c Λ : ℝ) : AnalyticOnNhd ℝ (affineProfile b c Λ F) (domain Λ) := by |
| 74 | intro p hp |
| 75 | exact ((hb p.2 hp.2).comp analyticAt_snd).add |
| 76 | (analyticAt_const.mul (pullback_analytic hF Λ p hp)) |
| 77 | |
| 78 | theorem angularProfile_analytic {a : ℝ → ℝ} |
| 79 | (ha : AnalyticOnNhd ℝ a (Ioo window.left window.right)) |
| 80 | {Φ : ℝ × ℝ → ℝ} (hΦ : AnalyticOnNhd ℝ Φ (AxisEvaluation.strip window 20)) |
| 81 | (Λ : ℝ) : AnalyticOnNhd ℝ (angularProfile a Λ Φ) (domain Λ) := by |
| 82 | intro p hp |
| 83 | exact ((ha p.2 hp.2).comp analyticAt_snd).mul (pullback_analytic hΦ Λ p hp) |
| 84 | |
| 85 | /-- The unscaled angular velocity, axial velocity, average and pressure of |
| 86 | the actual nonlinear solution are jointly analytic in `(X,η)`. -/ |
| 87 | theorem CoefficientProfile.natural_analytic {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} |
| 88 | {d : AnalyticInputs h j σ P0} (F : CoefficientProfile d Λ C) |
| 89 | (hΛ : 0 ≤ Λ) (hC : d.normalizationThreshold Λ ≤ C) |
| 90 | (hP0 : AnalyticOnNhd ℝ P0 (Ioo window.left window.right)) : |
| 91 | AnalyticOnNhd ℝ F.family.f (domain Λ) ∧ |
| 92 | AnalyticOnNhd ℝ F.family.U (domain Λ) ∧ |
| 93 | AnalyticOnNhd ℝ F.family.Ubar (domain Λ) ∧ |
| 94 | AnalyticOnNhd ℝ F.family.Pi (domain Λ) := by |
| 95 | obtain ⟨hφ, hu, hB, hP⟩ := F.scaled_analytic hΛ hC |
| 96 | have hU : AnalyticOnNhd ℝ (NaturalAxisData.U j) (Ioo window.left window.right) := by |
| 97 | intro η _ |
| 98 | exact (analyticAt_const.mul analyticAt_id).add analyticAt_const |
| 99 | exact ⟨angularProfile_analytic (amplitude_analytic d Λ C) hφ Λ, |
| 100 | affineProfile_analytic hU hu (1 / Λ) Λ, |
| 101 | affineProfile_analytic hU hB (1 / Λ) Λ, |
| 102 | affineProfile_analytic hP0 hP (1 / Λ) Λ⟩ |
| 103 | |
| 104 | /-- Actual pressure data supplies its analyticity; it is not an additional |
| 105 | hypothesis of the end-to-end natural-axis theorem. -/ |
| 106 | theorem pressureDatum_analytic {g a : ℝ → ℝ} {cap : ℝ} (hp : PressureDatum.Admissible g a cap) : |
| 107 | AnalyticOnNhd ℝ (PressureDatum.pressure g a) univ := by |
| 108 | intro η _ |
| 109 | have hc := PressureDatum.complexPressure_analytic hp (η : ℂ) (PressureDatum.real_mem_strip η) |
| 110 | have hr : AnalyticAt ℝ (fun x : ℝ => (PressureDatum.complexPressure g a (x : ℂ)).re) η := |
| 111 | (Complex.reCLM.analyticAt _).comp_of_eq |
| 112 | (hc.restrictScalars.comp (Complex.ofRealCLM.analyticAt η)) rfl |
| 113 | simpa only [PressureDatum.complexPressure_ofReal, Complex.ofReal_re] using hr |
| 114 | |
| 115 | /-- One common neighborhood of the printed closed scaled rectangle works |
| 116 | for every scale and amplitude covered by the natural-axis construction. -/ |
| 117 | theorem printed_rectangle_subset_strip : |
| 118 | Icc (0 : ℝ) (41 / 10) ×ˢ Icc (-1 : ℝ) 1 ⊆ AxisEvaluation.strip window 20 := by |
| 119 | intro p hp |
| 120 | exact ⟨by constructor <;> linarith [hp.1.1, hp.1.2], original_interval_interior hp.2⟩ |
| 121 | |
| 122 | /-- The literal common-neighborhood assertion for the printed natural-axis |
| 123 | construction. All input data, the cutoff and the nonlinear coefficient |
| 124 | solution are constructed. The same open scaled rectangle works for every |
| 125 | sufficiently large scale and every allowed amplitude normalization. -/ |
| 126 | theorem exists_common_joint_analytic_profiles {h j : ℝ} |
| 127 | (hsmall : NaturalAxisRange.Parameters h j) |
| 128 | {g a : ℝ → ℝ} {cap B : ℝ} |
| 129 | (hp : PressureDatum.Admissible g a cap) (hB : 2 ≤ B) |
| 130 | (hg : ∀ y ≤ 0, g y = B ^ 2 * Real.exp ((1 / 5 : ℝ) * y)) |
| 131 | (ha : ∀ y ≤ 0, a y = 1) : |
| 132 | ∃ δ σ : ℝ, 0 < δ ∧ 0 < σ ∧ |
| 133 | (∀ η ∈ Icc (-1 : ℝ) 1, |
| 134 | |NaturalAxisData.Z h j (PressureDatum.pressure g a) η| ≤ δ → |
| 135 | 99 / 100 < NaturalAxisData.chi h j σ η) ∧ |
| 136 | ∃ d : AnalyticInputs h j σ (PressureDatum.pressure g a), |
| 137 | ∃ Λ₀ : ℝ, 0 < Λ₀ ∧ ∃ Ω : Set (ℝ × ℝ), IsOpen Ω ∧ |
| 138 | Icc (0 : ℝ) (41 / 10) ×ˢ Icc (-1 : ℝ) 1 ⊆ Ω ∧ |
| 139 | ∀ Λ : ℝ, Λ₀ ≤ Λ → ∀ C : ℝ, d.normalizationThreshold Λ ≤ C → |
| 140 | ∃ F : CoefficientProfile d Λ C, |
| 141 | AnalyticOnNhd ℝ F.family.phi Ω ∧ |
| 142 | AnalyticOnNhd ℝ F.family.u Ω ∧ |
| 143 | AnalyticOnNhd ℝ F.family.average Ω ∧ |
| 144 | AnalyticOnNhd ℝ F.family.pressure Ω ∧ |
| 145 | AnalyticOnNhd ℝ F.family.f (domain Λ) ∧ |
| 146 | AnalyticOnNhd ℝ F.family.U (domain Λ) ∧ |
| 147 | AnalyticOnNhd ℝ F.family.Ubar (domain Λ) ∧ |
| 148 | AnalyticOnNhd ℝ F.family.Pi (domain Λ) := by |
| 149 | obtain ⟨δ, σ, hδ, hσ, hcut, ⟨d⟩⟩ := |
| 150 | ideal_prefix_analytic_inputs hsmall hp hB hg ha |
| 151 | obtain ⟨Λ₀, hΛ₀, hexists⟩ := |
| 152 | exists_coefficientProfile d hsmall hσ (PressureDatum.pressure_contDiff hp) |
| 153 | refine ⟨δ, σ, hδ, hσ, hcut, d, Λ₀, hΛ₀, AxisEvaluation.strip window 20, |
| 154 | AxisEvaluation.strip_isOpen window 20, printed_rectangle_subset_strip, ?_⟩ |
| 155 | intro Λ hΛ C hC |
| 156 | obtain ⟨F⟩ := hexists Λ hΛ C hC |
| 157 | have hΛpos : 0 < Λ := hΛ₀.trans_le hΛ |
| 158 | obtain ⟨hφ, hu, hB, hP⟩ := F.scaled_analytic hΛpos.le hC |
| 159 | obtain ⟨hf, hU, hV, hPr⟩ := F.natural_analytic hΛpos.le hC |
| 160 | ((pressureDatum_analytic hp).mono (subset_univ _)) |
| 161 | exact ⟨F, hφ, hu, hB, hP, hf, hU, hV, hPr⟩ |
| 162 | |
| 163 | end NavierStokes.NaturalEntrance |