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.HolomorphicFamily |
| 2 | import Mathlib.Analysis.Analytic.Constructions |
| 3 | import Mathlib.Topology.ContinuousMap.Units |
| 4 | |
| 5 | /-! # Joint analyticity from analytic disk-valued families |
| 6 | |
| 7 | The fixed Cauchy contour is a bounded bilinear operation. Its kernel is |
| 8 | analytic in the supremum norm because inversion is analytic at units of the |
| 9 | Banach algebra of continuous contour functions. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open Set Filter Metric Complex |
| 15 | open scoped Topology |
| 16 | |
| 17 | namespace NavierStokes.HolomorphicFamily |
| 18 | |
| 19 | private def constantPath : ℂ →L[ℝ] C(Angles, ℂ) := |
| 20 | LinearMap.mkContinuous { |
| 21 | toFun := ContinuousMap.const Angles |
| 22 | map_add' := by intros; rfl |
| 23 | map_smul' := by intros; rfl |
| 24 | } 1 (by |
| 25 | intro z |
| 26 | simpa only [one_mul] using (ContinuousMap.norm_le _ (norm_nonneg z)).mpr (fun _ => le_rfl)) |
| 27 | |
| 28 | private def circlePath (c : ℂ) (σ : ℝ) : C(Angles, ℂ) := |
| 29 | ⟨fun θ => circleMap c σ θ, (continuous_circleMap c σ).comp continuous_subtype_val⟩ |
| 30 | |
| 31 | private def tangentPath (σ : ℝ) : C(Angles, ℂ) := |
| 32 | ⟨fun θ => circleMap 0 σ θ * I, |
| 33 | ((continuous_circleMap 0 σ).comp continuous_subtype_val).mul continuous_const⟩ |
| 34 | |
| 35 | private theorem inversePath_apply {f : C(Angles, ℂ)} (hf : IsUnit f) (θ : Angles) : |
| 36 | Ring.inverse f θ = (f θ)⁻¹ := by |
| 37 | have h := congrArg (fun g : C(Angles, ℂ) => g θ) (Ring.mul_inverse_cancel f hf) |
| 38 | change f θ * Ring.inverse f θ = 1 at h |
| 39 | exact eq_inv_of_mul_eq_one_left (by simpa only [mul_comm] using h) |
| 40 | |
| 41 | /-- The fixed-contour kernel is analytic as a curve in the supremum norm. -/ |
| 42 | theorem analyticAt_kernelPath (c : ℂ) (σ : ℝ) {z : ℂ} (hz : z ∈ ball c σ) : |
| 43 | AnalyticAt ℝ (kernelPath c σ) z := by |
| 44 | let D : ℂ → C(Angles, ℂ) := fun w => circlePath c σ - constantPath w |
| 45 | have hu : IsUnit (D z) := by |
| 46 | apply (ContinuousMap.isUnit_iff_forall_ne_zero _).mpr |
| 47 | intro θ |
| 48 | exact sub_ne_zero.mpr (circleMap_ne_mem_ball hz θ) |
| 49 | have hd : AnalyticAt ℝ D z := analyticAt_const.sub (constantPath.analyticAt z) |
| 50 | have hi : AnalyticAt ℝ (fun w => Ring.inverse (D w)) z := |
| 51 | (analyticOnNhd_inverse (𝕜 := ℝ) (D z) hu).comp hd |
| 52 | have ha : AnalyticAt ℝ (fun w => tangentPath σ * Ring.inverse (D w)) z := |
| 53 | analyticAt_const.mul hi |
| 54 | apply ha.congr |
| 55 | filter_upwards [isOpen_ball.mem_nhds hz] with w hw |
| 56 | ext θ |
| 57 | have huw : IsUnit (D w) := by |
| 58 | apply (ContinuousMap.isUnit_iff_forall_ne_zero _).mpr |
| 59 | intro a |
| 60 | exact sub_ne_zero.mpr (circleMap_ne_mem_ball hw a) |
| 61 | simp only [ContinuousMap.mul_apply, inversePath_apply huw, |
| 62 | kernelPath_apply c σ hw θ] |
| 63 | rfl |
| 64 | |
| 65 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 66 | |
| 67 | /-- Analytic disk data gives joint real analyticity of its Cauchy evaluation. -/ |
| 68 | theorem analyticAt_cauchyValue (c : ℂ) {σ : ℝ} (hσ : 0 < σ) |
| 69 | (V : ℝ → C(CauchyRestriction.Disk c σ, E)) {p : ℝ × ℂ} |
| 70 | (hV : AnalyticAt ℝ V p.1) (hz : p.2 ∈ ball c σ) : |
| 71 | AnalyticAt ℝ (cauchyValue c hσ V) p := by |
| 72 | have hk : AnalyticAt ℝ (fun q : ℝ × ℂ => kernelPath c σ q.2) p := |
| 73 | (analyticAt_kernelPath c σ hz).comp (analyticAt_snd (𝕜 := ℝ) (p := p)) |
| 74 | have hv : AnalyticAt ℝ (fun q : ℝ × ℂ => sampleCircle c hσ (V q.1)) p := |
| 75 | ((sampleCircle c hσ (E := E)).analyticAt _).comp_of_eq |
| 76 | (hV.comp (analyticAt_fst (𝕜 := ℝ) (p := p))) rfl |
| 77 | have hp : AnalyticAt ℝ (fun q : ℝ × ℂ => pathAction (E := E) |
| 78 | (kernelPath c σ q.2) (sampleCircle c hσ (V q.1))) p := |
| 79 | ((pathAction (E := E)).analyticAt_bilinear _).comp_of_eq (hk.prod hv) rfl |
| 80 | exact (((angleIntegral (E := E)).analyticAt _).comp_of_eq hp rfl).const_smul |
| 81 | (c := (2 * Real.pi * I : ℂ)⁻¹) |
| 82 | |
| 83 | variable [CompleteSpace E] |
| 84 | |
| 85 | /-- Joint real analyticity follows from analytic disk data and holomorphic |
| 86 | slices, by equality with the actual fixed-contour Cauchy expression. -/ |
| 87 | theorem analyticOnNhd_of_disk_family (c : ℂ) {σ : ℝ} (hσ : 0 < σ) |
| 88 | {S : Set ℝ} (hS : IsOpen S) (V : ℝ → C(CauchyRestriction.Disk c σ, E)) |
| 89 | (F : ℝ → ℂ → E) (hV : AnalyticOnNhd ℝ V S) |
| 90 | (hF : ∀ r ∈ S, DifferentiableOn ℂ (F r) (ball c σ)) |
| 91 | (hvalues : ∀ r ∈ S, ∀ z : CauchyRestriction.Disk c σ, V r z = F r z) : |
| 92 | AnalyticOnNhd ℝ (fun p : ℝ × ℂ => F p.1 p.2) (S ×ˢ ball c σ) := by |
| 93 | intro p hp |
| 94 | apply (analyticAt_cauchyValue c hσ V (hV p.1 hp.1) hp.2).congr |
| 95 | filter_upwards [(hS.prod isOpen_ball).mem_nhds hp] with q hq |
| 96 | exact cauchyValue_eq c hσ V F (hF q.1 hq.1) (hvalues q.1 hq.1) hq.2 |
| 97 | |
| 98 | end NavierStokes.HolomorphicFamily |