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.TailGaugePotential |
| 2 | |
| 3 | /-! |
| 4 | # The axial part of the actual slow-base potential |
| 5 | |
| 6 | The stream coefficients vanish in the proved heat exterior. Consequently the |
| 7 | anchored potential is purely axial there, and its axial projection has the |
| 8 | same spatial curl as the constructed slow base. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace NavierStokes.LocalHeatExterior |
| 14 | |
| 15 | open Set Filter ProblemStatement |
| 16 | open scoped Topology ContDiff |
| 17 | |
| 18 | /-- Projection of a potential onto its axial component. -/ |
| 19 | noncomputable def axialPart (A : VelocityField) : VelocityField := |
| 20 | fun w => A w 2 • coordinateVector 2 |
| 21 | |
| 22 | theorem axialPart_smooth {A : VelocityField} {S : Set SpaceTime} |
| 23 | (hA : ContDiffOn ℝ ∞ A S) : ContDiffOn ℝ ∞ (axialPart A) S := by |
| 24 | exact ((AxisymmetricFields.projection 2).contDiff.comp_contDiffOn hA).smul_const |
| 25 | (coordinateVector 2) |
| 26 | |
| 27 | theorem axialPart_awayExtensions {A : VelocityField} |
| 28 | (hA : JointResidualLimits.AwayExtensions A) : |
| 29 | JointResidualLimits.AwayExtensions (axialPart A) := by |
| 30 | intro x hx |
| 31 | obtain ⟨e⟩ := hA x hx |
| 32 | refine ⟨{ |
| 33 | value := axialPart e.value |
| 34 | domain := e.domain |
| 35 | isOpen := e.isOpen |
| 36 | mem := e.mem |
| 37 | smooth := axialPart_smooth e.smooth |
| 38 | agrees := ?_ }⟩ |
| 39 | intro w hw |
| 40 | exact congrArg (fun u : Space => u 2 • coordinateVector 2) (e.agrees hw) |
| 41 | |
| 42 | theorem axialPart_potential (H K : AxisymmetricFields.Profile) : |
| 43 | axialPart (AxisymmetricFields.potential H K) = AxisymmetricFields.potential (fun _ => 0) K := by |
| 44 | ext w i |
| 45 | fin_cases i <;> simp [axialPart, AxisymmetricFields.potential, coordinateVector] |
| 46 | |
| 47 | theorem axialPotential_curl (K : AxisymmetricFields.Profile) {w : SpaceTime} |
| 48 | (hK : DifferentiableAt ℝ K (AxisymmetricFields.profilePoint w.1 w.2)) : |
| 49 | SpatialCurl.spatialCurl (AxisymmetricFields.potential (fun _ => 0) K) w = |
| 50 | (-AxisymmetricFields.partialS K (AxisymmetricFields.profilePoint w.1 w.2)) • |
| 51 | BaseResidual.angularVector w := by |
| 52 | change AxisymmetricFields.velocity (fun _ => 0) K w = _ |
| 53 | ext i |
| 54 | fin_cases i |
| 55 | · change AxisymmetricFields.velocity (fun _ => 0) K (w.1, w.2) 0 = _ |
| 56 | rw [AxisymmetricFields.velocity_zero (fun _ => 0) K w.1 w.2 (differentiableAt_const 0) hK] |
| 57 | simp [AxisymmetricFields.partialZ, BaseResidual.angularVector, coordinateVector] |
| 58 | ring |
| 59 | · change AxisymmetricFields.velocity (fun _ => 0) K (w.1, w.2) 1 = _ |
| 60 | rw [AxisymmetricFields.velocity_one (fun _ => 0) K w.1 w.2 (differentiableAt_const 0) hK] |
| 61 | simp [AxisymmetricFields.partialZ, BaseResidual.angularVector, coordinateVector] |
| 62 | ring |
| 63 | · change AxisymmetricFields.velocity (fun _ => 0) K (w.1, w.2) 2 = _ |
| 64 | rw [AxisymmetricFields.velocity_two (fun _ => 0) K w.1 w.2 (differentiableAt_const 0) hK] |
| 65 | simp [AxisymmetricFields.partialS, BaseResidual.angularVector, coordinateVector] |
| 66 | |
| 67 | section ActualBase |
| 68 | |
| 69 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 70 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 71 | (v : ModulatedProfileAssembly.Witness ld) |
| 72 | |
| 73 | /-- The angular coefficient of the curl of the axial projection. -/ |
| 74 | noncomputable def axialCurlCoefficient (upper : ℝ) (B : ℕ) : AxisymmetricFields.Profile := |
| 75 | fun p => -AxisymmetricFields.partialS |
| 76 | (TailGaugePotential.gaugedSwirl (FinalSlowBase.scales H v upper B) F.data.h |
| 77 | W.axis.normalization (FinalSlowBase.coefficients H v)) p |
| 78 | |
| 79 | theorem axialCurlCoefficient_smoothAt (upper : ℝ) (B : ℕ) |
| 80 | {p : AxisymmetricFields.ProfilePoint} (ht : p.1 < 1) : |
| 81 | ContDiffAt ℝ ∞ (axialCurlCoefficient H v upper B) p := by |
| 82 | have hK := TailGaugePotential.gaugedSwirl_smoothAt |
| 83 | (C := W.axis.normalization) (FinalSlowBase.scales_strictMono H v upper B) |
| 84 | F.data.h_pos F.data.h_lt_half (FinalSlowBase.coefficients_smooth H v) ht |
| 85 | exact ((hK.fderiv_right (show ∞ + 1 ≤ ∞ by simp)).clm_apply contDiffAt_const).neg |
| 86 | |
| 87 | theorem axialPart_finalPotential_curl_angular (upper : ℝ) (B : ℕ) {w : SpaceTime} |
| 88 | (ht : w.1 < 1) : |
| 89 | SpatialCurl.spatialCurl (axialPart (TailGaugePotential.finalPotential H v upper B)) w = |
| 90 | axialCurlCoefficient H v upper B (AxisymmetricFields.profilePoint w.1 w.2) • |
| 91 | BaseResidual.angularVector w := by |
| 92 | unfold TailGaugePotential.finalPotential TailGaugePotential.potential |
| 93 | rw [axialPart_potential] |
| 94 | exact axialPotential_curl _ |
| 95 | ((TailGaugePotential.gaugedSwirl_smoothAt (FinalSlowBase.scales_strictMono H v upper B) |
| 96 | F.data.h_pos F.data.h_lt_half (FinalSlowBase.coefficients_smooth H v) ht).differentiableAt |
| 97 | (by simp)) |
| 98 | |
| 99 | theorem finalPotential_eq_axialPart (upper : ℝ) (B : ℕ) {w : SpaceTime} |
| 100 | (hw : w ∈ BaseExterior.cartesianExterior F.data.h (BaseExterior.nominalExteriorRadius W)) : |
| 101 | TailGaugePotential.finalPotential H v upper B w = |
| 102 | axialPart (TailGaugePotential.finalPotential H v upper B) w := by |
| 103 | have hext := ModulatedExterior.realized_exterior_coefficients W v.profiles v.finiteModification |
| 104 | (FinalSlowBase.realizesScheme H v) (EntranceAlignedBase.modulated_base_eq H v) |
| 105 | (EntranceAlignedBase.modulated_outer H v) |
| 106 | have hzero := BaseExterior.exterior_stream_zero |
| 107 | (a := FinalSlowBase.scales H v upper B) (C := W.axis.normalization) |
| 108 | (p := AxisymmetricFields.profilePoint w.1 w.2) |
| 109 | F.data.h_pos F.data.h_lt_half (BaseExterior.nominalExteriorRadius_pos W).le hext hw |
| 110 | have he : TailGaugePotential.finalPotential H v upper B w = |
| 111 | TailGaugePotential.gaugedSwirl (FinalSlowBase.scales H v upper B) F.data.h |
| 112 | W.axis.normalization (FinalSlowBase.coefficients H v) |
| 113 | (AxisymmetricFields.profilePoint w.1 w.2) • coordinateVector 2 := by |
| 114 | simp only [TailGaugePotential.finalPotential, TailGaugePotential.potential, |
| 115 | AxisymmetricFields.potential, hzero, mul_zero, zero_smul, zero_add] |
| 116 | unfold axialPart |
| 117 | rw [he] |
| 118 | simp [coordinateVector] |
| 119 | |
| 120 | theorem finalPotential_components_zero (upper : ℝ) (B : ℕ) {w : SpaceTime} |
| 121 | (hw : w ∈ BaseExterior.cartesianExterior F.data.h (BaseExterior.nominalExteriorRadius W)) : |
| 122 | TailGaugePotential.finalPotential H v upper B w 0 = 0 ∧ |
| 123 | TailGaugePotential.finalPotential H v upper B w 1 = 0 := by |
| 124 | rw [finalPotential_eq_axialPart H v upper B hw] |
| 125 | simp [axialPart, coordinateVector] |
| 126 | |
| 127 | theorem axialPart_finalPotential_germ (upper : ℝ) (B : ℕ) {w : SpaceTime} |
| 128 | (hw : w ∈ BaseExterior.cartesianExterior F.data.h (BaseExterior.nominalExteriorRadius W)) : |
| 129 | axialPart (TailGaugePotential.finalPotential H v upper B) =ᶠ[𝓝 w] |
| 130 | TailGaugePotential.finalPotential H v upper B := by |
| 131 | filter_upwards [(BaseExterior.cartesianExterior_isOpen F.data.h_pos F.data.h_lt_half |
| 132 | (BaseExterior.nominalExteriorRadius W)).mem_nhds hw] with y hy |
| 133 | exact (finalPotential_eq_axialPart H v upper B hy).symm |
| 134 | |
| 135 | theorem axialPart_finalPotential_curl (upper : ℝ) (B : ℕ) {w : SpaceTime} |
| 136 | (hw : w ∈ BaseExterior.cartesianExterior F.data.h (BaseExterior.nominalExteriorRadius W)) : |
| 137 | SpatialCurl.spatialCurl (axialPart (TailGaugePotential.finalPotential H v upper B)) w = |
| 138 | FinalSlowBase.velocity H v upper B w := by |
| 139 | rw [(SolenoidalDiagonal.spatialCurl_eventuallyEq |
| 140 | (axialPart_finalPotential_germ H v upper B hw)).self_of_nhds] |
| 141 | exact TailGaugePotential.finalPotential_sameCurl H v upper B hw.1 |
| 142 | |
| 143 | theorem axialPart_finalPotential_smooth (upper : ℝ) (B : ℕ) : |
| 144 | ContDiffOn ℝ ∞ (axialPart (TailGaugePotential.finalPotential H v upper B)) BaseResidual.past := |
| 145 | axialPart_smooth (TailGaugePotential.finalPotential_smooth H v upper B) |
| 146 | |
| 147 | theorem axialPart_finalPotential_awayExtensions (upper : ℝ) (B : ℕ) : |
| 148 | JointResidualLimits.AwayExtensions (axialPart (TailGaugePotential.finalPotential H v upper B)) := |
| 149 | axialPart_awayExtensions (TailGaugePotential.finalPotential_awayExtensions H v upper B) |
| 150 | |
| 151 | end ActualBase |
| 152 | |
| 153 | end NavierStokes.LocalHeatExterior |