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.ActualPolarCoverage |
| 2 | import NavierStokes.ActualSignedPotentialCoherence |
| 3 | import NavierStokes.ActualSignedPhysicalData |
| 4 | |
| 5 | /-! |
| 6 | # Geometry for current signed waves in physical polar charts |
| 7 | |
| 8 | The actual active annulus is covered for every band whose physical scale |
| 9 | ratio lies in `(1/2,2)`. An explicit change of the chart radius identifies |
| 10 | the scaled Cartesian lift with the full native cylindrical graph. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.ActualSignedPhysicalGeometry |
| 16 | |
| 17 | open Set Function Filter ProblemStatement PhysicalWaveSum |
| 18 | open PhysicalGraphBounds PhysicalMeanJetBounds |
| 19 | open CorrectionInitialization CorrectionInitialization.ActualPrimary |
| 20 | open scoped Topology ContDiff |
| 21 | |
| 22 | |
| 23 | /-- The annulus estimate uses only comparability of the two positive scales, |
| 24 | so it holds throughout the full open native scale window. -/ |
| 25 | theorem annulus_of_ratio (n : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) |
| 26 | (hactive : w ∈ ActualPolarCoverage.active) |
| 27 | (hq : physicalQ h w / ChartScales.Q n ∈ Ioo (1 / 2 : ℝ) 2) : |
| 28 | scaledRadial n w ∈ annulus ActualPolarCoverage.inner ActualPolarCoverage.outer := by |
| 29 | have hQ := ChartScales.Q_pos n |
| 30 | have hlo : physicalQ h w / 2 ≤ ChartScales.Q n := by |
| 31 | have he := (div_lt_iff₀ hQ).mp hq.2 |
| 32 | linarith |
| 33 | have hhi : ChartScales.Q n ≤ 2 * physicalQ h w := by |
| 34 | have he := (lt_div_iff₀ hQ).mp hq.1 |
| 35 | linarith |
| 36 | have hell := graph_length_pos outgoing.data.h_pos outgoing.data.h_lt_half n 0 hw |
| 37 | have hlen := graph_length_bounds outgoing.data.h_pos outgoing.data.h_lt_half n 0 hw hlo hhi |
| 38 | have hr := ActualPolarCoverage.graph_profileRadius_mem nominal n 0 hw hactive |
| 39 | have hloR := (le_div_iff₀ hell).mp hr.1 |
| 40 | have hhiR := (div_le_iff₀ hell).mp hr.2 |
| 41 | have ha := PrimaryTargetBounds.leftRadius_pos nominal |
| 42 | have hb := PrimaryTargetBounds.rightRadius_pos nominal |
| 43 | have hRlo : PrimaryTargetBounds.leftRadius nominal / 2 ≤ (graph h n 0 w).1 := by |
| 44 | nlinarith [hlen.1] |
| 45 | have hRhi : (graph h n 0 w).1 ≤ 2 * PrimaryTargetBounds.rightRadius nominal := by |
| 46 | nlinarith [hlen.2] |
| 47 | rw [graph_radius] at hRlo hRhi |
| 48 | refine ⟨?_, ?_⟩ |
| 49 | · simpa only [ActualPolarCoverage.outer, Metric.mem_closedBall, dist_zero_right] using |
| 50 | (PolarCharts.norm_le_radius (scaledRadial n w)).trans hRhi |
| 51 | · change PrimaryTargetBounds.leftRadius nominal / 4 ≤ ‖scaledRadial n w‖ |
| 52 | linarith only [hRlo, PolarCharts.radius_le_two_norm (scaledRadial n w)] |
| 53 | |
| 54 | theorem chart_exists_of_ratio (n : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) |
| 55 | (hactive : w ∈ ActualPolarCoverage.active) |
| 56 | (hq : physicalQ h w / ChartScales.Q n ∈ Ioo (1 / 2 : ℝ) 2) : |
| 57 | ∃ j : PolarCharts.Index, |
| 58 | scaledRadial n w ∈ PolarCharts.chartDomain ActualPolarCoverage.inner j := by |
| 59 | obtain ⟨j, hj⟩ := PolarCharts.annulus_covered ActualPolarCoverage.inner_pos |
| 60 | (annulus_of_ratio n hw hactive hq) |
| 61 | exact ⟨j, PolarCharts.sector_subset_chartDomain ActualPolarCoverage.inner_pos j hj⟩ |
| 62 | |
| 63 | /-- The exact unscaled chart radius corresponding to a native chart radius. -/ |
| 64 | noncomputable def chartRadius (a : ℝ) (n : ℕ) : ℝ := |
| 65 | a / ChartScales.Q n ^ (-(1 / 2 : ℝ)) |
| 66 | |
| 67 | theorem chartRadius_pos {a : ℝ} (ha : 0 < a) (n : ℕ) : 0 < chartRadius a n := |
| 68 | div_pos ha (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _) |
| 69 | |
| 70 | theorem chartDomain_unscale {a c : ℝ} (hc : 0 < c) (j : PolarCharts.Index) |
| 71 | {p : PolarCharts.Plane} (hp : c • p ∈ PolarCharts.chartDomain a j) : |
| 72 | p ∈ PolarCharts.chartDomain (a / c) j := by |
| 73 | change a / 4 < (PolarCharts.rotate j (c • p)).1 at hp |
| 74 | rw [PolarCharts.rotate_smul] at hp |
| 75 | change a / 4 < c * (PolarCharts.rotate j p).1 at hp |
| 76 | change (a / c) / 4 < (PolarCharts.rotate j p).1 |
| 77 | calc |
| 78 | (a / c) / 4 = (a / 4) / c := by ring |
| 79 | _ < _ := (div_lt_iff₀ hc).mpr (by simpa only [mul_comm] using hp) |
| 80 | |
| 81 | theorem physical_chart_mem (n : ℕ) {a : ℝ} (j : PolarCharts.Index) {w : SpaceTime} |
| 82 | (hchart : scaledRadial n w ∈ PolarCharts.chartDomain a j) : |
| 83 | radialProjection w ∈ PolarCharts.chartDomain (chartRadius a n) j := |
| 84 | chartDomain_unscale (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _) j hchart |
| 85 | |
| 86 | /-- The scaled and unscaled charts have exactly the same angle. -/ |
| 87 | theorem physical_chart_scale (n : ℕ) {a : ℝ} (ha : 0 < a) |
| 88 | (j : PolarCharts.Index) {w : SpaceTime} |
| 89 | (hchart : scaledRadial n w ∈ PolarCharts.chartDomain a j) : |
| 90 | PolarCharts.chart a j (scaledRadial n w) = |
| 91 | (ChartScales.Q n ^ (-(1 / 2 : ℝ)) * |
| 92 | (PolarCharts.chart (chartRadius a n) j (radialProjection w)).1, |
| 93 | (PolarCharts.chart (chartRadius a n) j (radialProjection w)).2) := by |
| 94 | rw [PolarCharts.chart_eq_localChart ha j hchart, |
| 95 | PolarCharts.chart_eq_localChart (chartRadius_pos ha n) j (physical_chart_mem n j hchart)] |
| 96 | exact PolarCharts.localChart_smul j (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _) _ |
| 97 | |
| 98 | /-- No angle choice or auxiliary coordinate is discarded by this identity. -/ |
| 99 | theorem cylinderAt_physical_chart (h : ℝ) (n : ℕ) {a : ℝ} (ha : 0 < a) |
| 100 | (j : PolarCharts.Index) {w : SpaceTime} |
| 101 | (hchart : scaledRadial n w ∈ PolarCharts.chartDomain a j) : |
| 102 | ActualSignedPhysicalData.cylinderAt a j (physicalLift h n w) = |
| 103 | (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h |
| 104 | (ChartScales.nativeIndex h n)).map |
| 105 | (PhysicalCurlCovariance.polarCoordinates (chartRadius a n) j w) := by |
| 106 | have hb := chartRadius_pos ha n |
| 107 | have hphysical := physical_chart_mem n j hchart |
| 108 | have hv := ActualSignedPhysicalData.polarCoordinates_valid hb j hphysical |
| 109 | have he := ActualSignedPhysicalData.polarCoordinates_backward hb j hphysical |
| 110 | have hc : scaledRadial n |
| 111 | ((PhysicalCurlCovariance.polarCoordinates (chartRadius a n) j w).1, |
| 112 | CylindricalResidual.chart |
| 113 | (PhysicalCurlCovariance.polarCoordinates (chartRadius a n) j w).2) ∈ |
| 114 | PolarCharts.chartDomain a j := by |
| 115 | rwa [he] |
| 116 | simpa only [he] using ActualSignedPhysicalData.cylinderAt_physical_forward h n ha j |
| 117 | (PhysicalCurlCovariance.polarCoordinates (chartRadius a n) j w) hv.1 hv.2.1 hc |
| 118 | |
| 119 | theorem exists_physical_chart (h : ℝ) (n : ℕ) {a : ℝ} (ha : 0 < a) |
| 120 | (j : PolarCharts.Index) {w : SpaceTime} |
| 121 | (hchart : scaledRadial n w ∈ PolarCharts.chartDomain a j) : |
| 122 | ∃ b : ℝ, 0 < b ∧ radialProjection w ∈ PolarCharts.chartDomain b j ∧ |
| 123 | ActualSignedPhysicalData.cylinderAt a j (physicalLift h n w) = |
| 124 | (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h |
| 125 | (ChartScales.nativeIndex h n)).map (PhysicalCurlCovariance.polarCoordinates b j w) := |
| 126 | ⟨chartRadius a n, chartRadius_pos ha n, physical_chart_mem n j hchart, |
| 127 | cylinderAt_physical_chart h n ha j hchart⟩ |
| 128 | |
| 129 | /-- The mean graph's slow coordinate does not depend on its auxiliary cover. -/ |
| 130 | theorem graph_slow_mem_standard_of_ratio {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 131 | (n d : ℕ) {w : SpaceTime} (hw : w ∈ preterminal) |
| 132 | (hq : physicalQ h w / ChartScales.Q n ∈ Ioo (1 / 2 : ℝ) 2) : |
| 133 | (graph h n d w).2.1 ∈ (ActualSignedGeometry.standardSlowRegion hh hh1).carrier := by |
| 134 | change 0 < (graph h n d w).2.1.1 ∧ |
| 135 | SimilarityCoordinates.coordinateQ (2 * h) (graph h n d w).2.1 ∈ Ioo (1 / 2 : ℝ) 2 |
| 136 | refine ⟨graph_time_pos h n d hw, ?_⟩ |
| 137 | rwa [graph_q_eq hh hh1 n d hw] |
| 138 | |
| 139 | /-- This identity is global and needs no radius or time positivity premise. -/ |
| 140 | theorem commonGraph_slow (h : ℝ) (n i d : ℕ) (z : SpaceTime) : |
| 141 | (PhysicalResidualTZ.swapCylinder |
| 142 | ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).map z)).1.2.1 = |
| 143 | (graph h n d (z.1, CylindricalResidual.chart z.2)).2.1 := by |
| 144 | rw [graph_slow] |
| 145 | change |
| 146 | (((PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).velocityScale * |
| 147 | (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).radialScale * |
| 148 | (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).epsilon) * (1 - z.1), |
| 149 | ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).radialScale * |
| 150 | (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h i).epsilon) * z.2 2) = _ |
| 151 | rw [PhysicalResidualBridge.commonGraph_slowTimeScale (ChartScales.Q_pos n), |
| 152 | PhysicalResidualBridge.commonGraph_axialScale (ChartScales.Q_pos n), Real.rpow_neg_one] |
| 153 | simp only [CylindricalResidual.chart, AxisymmetricResidual.pack_two] |
| 154 | congr 1 |
| 155 | ring |
| 156 | |
| 157 | theorem nativePoint_slow (n d : ℕ) (z : SpaceTime) : |
| 158 | (ActualSignedPotentialCoherence.nativePoint n z).1.2.1 = |
| 159 | (graph h n d (z.1, CylindricalResidual.chart z.2)).2.1 := |
| 160 | commonGraph_slow h n (CommonWindow.index h n) d z |
| 161 | |
| 162 | theorem nativePoint_mem_physicalDomain (n : ℕ) (z : SpaceTime) (hr : 0 < z.2 0) |
| 163 | (hw : (z.1, CylindricalResidual.chart z.2) ∈ preterminal) |
| 164 | (hq : physicalQ h (z.1, CylindricalResidual.chart z.2) / ChartScales.Q n ∈ |
| 165 | Ioo (1 / 2 : ℝ) 2) : |
| 166 | z ∈ ActualSignedPotentialCoherence.physicalDomain n := by |
| 167 | refine ⟨hr, ?_⟩ |
| 168 | rw [nativePoint_slow n 0] |
| 169 | exact graph_slow_mem_standard_of_ratio outgoing.data.h_pos outgoing.data.h_lt_half n 0 hw hq |
| 170 | |
| 171 | theorem polarCoordinates_mem_physicalDomain (n : ℕ) {a : ℝ} (ha : 0 < a) |
| 172 | (j : PolarCharts.Index) {w : SpaceTime} |
| 173 | (hchart : radialProjection w ∈ PolarCharts.chartDomain a j) |
| 174 | (hw : w ∈ preterminal) |
| 175 | (hq : physicalQ h w / ChartScales.Q n ∈ Ioo (1 / 2 : ℝ) 2) : |
| 176 | PhysicalCurlCovariance.polarCoordinates a j w ∈ |
| 177 | ActualSignedPotentialCoherence.physicalDomain n := by |
| 178 | have hv := ActualSignedPhysicalData.polarCoordinates_valid ha j hchart |
| 179 | have he := ActualSignedPhysicalData.polarCoordinates_backward ha j hchart |
| 180 | apply nativePoint_mem_physicalDomain n _ hv.1 |
| 181 | · rwa [he] |
| 182 | · rwa [he] |
| 183 | |
| 184 | theorem scaledChart_mem_physicalDomain (n : ℕ) {a : ℝ} (ha : 0 < a) |
| 185 | (j : PolarCharts.Index) {w : SpaceTime} |
| 186 | (hchart : scaledRadial n w ∈ PolarCharts.chartDomain a j) |
| 187 | (hw : w ∈ preterminal) |
| 188 | (hq : physicalQ h w / ChartScales.Q n ∈ Ioo (1 / 2 : ℝ) 2) : |
| 189 | PhysicalCurlCovariance.polarCoordinates (chartRadius a n) j w ∈ |
| 190 | ActualSignedPotentialCoherence.physicalDomain n := |
| 191 | polarCoordinates_mem_physicalDomain n (chartRadius_pos ha n) j |
| 192 | (physical_chart_mem n j hchart) hw hq |
| 193 | |
| 194 | end NavierStokes.ActualSignedPhysicalGeometry |