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

Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
A pull request is already open: #195 chore(NavierStokes/Initial): delete 13 declarations nothing uses
1 commit
+0 −16 NavierStokes/InitialNativeRegularity.lean View file
| @@ -152,12 +152,6 @@ theorem copyAmplitude_invariant (l : SignedLabel B N0) (k : Frequency) (n : ℕ) | ||
| 152 | 152 | PrimaryResidualClass.invariant_fst (fun y => copied (CoordinateAlgebra.A ActualPrimary.h) |
| 153 | 153 | cutNativeVelocity l n k (ActualSignedGeometry.meanEquiv.symm y)) |
| 154 | 154 | |
| 155 | -theorem copyPressureCoefficient_invariant (l : SignedLabel B N0) (k : Frequency) (n : ℕ) : | |
| 156 | - CopyAngularInvariance.Invariant ((0 : LocalSignedRequest.Point), 1) | |
| 157 | - (copyPressureCoefficient l k n) := | |
| 158 | - PrimaryResidualClass.invariant_fst (fun y => copied (2 * CoordinateAlgebra.A ActualPrimary.h) | |
| 159 | - cutNativePressure l n k (ActualSignedGeometry.meanEquiv.symm y)) | |
| 160 | - | |
| 161 | 155 | theorem copyPotentialCoefficient_invariant (l : SignedLabel B N0) (k : Frequency) (n : ℕ) : |
| 162 | 156 | CopyAngularInvariance.Invariant ((0 : LocalSignedRequest.Point), 1) |
| 163 | 157 | (copyPotentialCoefficient l k n) := |
| @@ -165,16 +159,6 @@ theorem copyPotentialCoefficient_invariant (l : SignedLabel B N0) (k : Frequency | ||
| 165 | 159 | CurlClassBounds.normalCoefficient).map |
| 166 | 160 | (fun z => CurlClassBounds.inverseCarrier ((cutCoefficients l).frequency n) • z) |
| 167 | 161 | |
| 168 | -theorem copyAmplitude_angle (l : SignedLabel B N0) (k : Frequency) (n : ℕ) | |
| 169 | - (x : LocalSignedRequest.Point) (θ : ℝ) : | |
| 170 | - copyAmplitude l k n (x, θ) = copyAmplitude l k n (x, 0) := | |
| 171 | - CopyAngularInvariance.invariant_eq_zeroSlice (copyAmplitude_invariant l k n) x θ | |
| 172 | - | |
| 173 | -theorem copyPressureCoefficient_angle (l : SignedLabel B N0) (k : Frequency) (n : ℕ) | |
| 174 | - (x : LocalSignedRequest.Point) (θ : ℝ) : | |
| 175 | - copyPressureCoefficient l k n (x, θ) = copyPressureCoefficient l k n (x, 0) := | |
| 176 | - CopyAngularInvariance.invariant_eq_zeroSlice (copyPressureCoefficient_invariant l k n) x θ | |
| 177 | - | |
| 178 | 162 | theorem copyPotentialCoefficient_angle (l : SignedLabel B N0) (k : Frequency) (n : ℕ) |
| 179 | 163 | (x : LocalSignedRequest.Point) (θ : ℝ) : |
| 180 | 164 | copyPotentialCoefficient l k n (x, θ) = copyPotentialCoefficient l k n (x, 0) := |
+0 −139 NavierStokes/InitialPhysicalData.lean View file
| @@ -252,9 +252,6 @@ noncomputable def gap (L : PhysicalWaveSum.BandLabel) : ℕ := | ||
| 252 | 252 | noncomputable def geometry (L : PhysicalWaveSum.BandLabel) : CommonCoverSolve.Geometry := |
| 253 | 253 | ActualSignedPhysicalData.geometry ActualPrimary.slots L.val (gap L) |
| 254 | 254 | |
| 255 | -theorem geometry_bandLabel (l : SignedLabel B N0) : | |
| 256 | - geometry (bandLabel l) = ActualPrimary.chartGeometry (BaseChartJets.cellBand l.2) l.1 l.2 := rfl | |
| 257 | - | |
| 258 | 255 | noncomputable def selectedCarrier (l : SignedLabel B N0) (k : Frequency) : PhysicalWaveSum.CarrierData := |
| 259 | 256 | ActualSignedPhysicalData.carrier (h := ActualPrimary.h) (spatialLabel l) k |
| 260 | 257 | ((ActualPrimary.phases B N0 l.1).phase.p l.2) |
| @@ -2443,26 +2440,6 @@ theorem periodized_sum_eq_active (f : PhysicalCopyBounds.CopyFamily 1 Frequency) | ||
| 2443 | 2440 | exact ActualPrimary.activeLabels_cover n hx l.1 l.2 hm |
| 2444 | 2441 | _ = _ := Finset.sum_image (fun l _ l' _ he => primaryIndex_injective he) |
| 2445 | 2442 | |
| 2446 | -theorem potential_sum_eq_active (i : Fin 3) (n d : ℕ) (w : ProblemStatement.SpaceTime) | |
| 2447 | - (hw : w ∈ PhysicalWaveSum.preterminal) | |
| 2448 | - (hx : PhysicalMeanJetBounds.graph ActualPrimary.h n d w ∈ strip.domain) : | |
| 2449 | - (potentialFamily B N0 i).sum innerRadius ActualPrimary.h ActualPrimary.slots.radius w = | |
| 2450 | - ∑ l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n, | |
| 2451 | - (potentialFamily B N0 i).periodized innerRadius ActualPrimary.h ActualPrimary.slots.radius | |
| 2452 | - (primaryIndex l) w := | |
| 2453 | - periodized_sum_eq_active _ (potential_periodized_index i) | |
| 2454 | - (potential_support B N0 i).periodized_support n d w hw hx | |
| 2455 | - | |
| 2456 | -theorem pressure_sum_eq_active (n d : ℕ) (w : ProblemStatement.SpaceTime) | |
| 2457 | - (hw : w ∈ PhysicalWaveSum.preterminal) | |
| 2458 | - (hx : PhysicalMeanJetBounds.graph ActualPrimary.h n d w ∈ strip.domain) : | |
| 2459 | - (pressureFamily B N0).sum innerRadius ActualPrimary.h ActualPrimary.slots.radius w = | |
| 2460 | - ∑ l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n, | |
| 2461 | - (pressureFamily B N0).periodized innerRadius ActualPrimary.h ActualPrimary.slots.radius | |
| 2462 | - (primaryIndex l) w := | |
| 2463 | - periodized_sum_eq_active _ pressure_periodized_index | |
| 2464 | - (pressure_support B N0).periodized_support n d w hw hx | |
| 2465 | - | |
| 2466 | 2443 | theorem vectorSum_apply {H : ℕ} {K : Type*} (f : Fin 3 → PhysicalCopyBounds.CopyFamily H K) |
| 2467 | 2444 | (a h r0 : ℝ) (w : ProblemStatement.SpaceTime) (i : Fin 3) : |
| 2468 | 2445 | PhysicalCopyBounds.vectorSum f a h r0 w i = ((f i).sum a h r0 w).re := by |
| @@ -2471,24 +2448,6 @@ theorem vectorSum_apply {H : ℕ} {K : Type*} (f : Fin 3 → PhysicalCopyBounds. | ||
| 2471 | 2448 | fin_cases i <;> simp [PhysicalWaveSum.realCoordinate_apply, |
| 2472 | 2449 | ProblemStatement.coordinateVector] |
| 2473 | 2450 | |
| 2474 | -theorem graph_smooth_of_strip (n d : ℕ) {w : ProblemStatement.SpaceTime} | |
| 2475 | - (hx : PhysicalMeanJetBounds.graph ActualPrimary.h n d w ∈ strip.domain) : | |
| 2476 | - ContDiffAt ℝ ∞ (PhysicalMeanJetBounds.graph ActualPrimary.h n d) w := by | |
| 2477 | - have hr := BaseContextAssembly.nativeStrip_radius ActualPrimary.nominal region hx | |
| 2478 | - have hne : PhysicalGraphBounds.scaledRadial n w ≠ 0 := by | |
| 2479 | - intro he | |
| 2480 | - rw [PhysicalMeanJetBounds.graph_radius, he] at hr | |
| 2481 | - simp [PolarCharts.radius] at hr | |
| 2482 | - let a := ‖PhysicalGraphBounds.scaledRadial n w‖ | |
| 2483 | - have ha : 0 < a := norm_pos_iff.mpr hne | |
| 2484 | - have hann : PhysicalGraphBounds.scaledRadial n w ∈ PhysicalGraphBounds.annulus a a := by | |
| 2485 | - constructor | |
| 2486 | - · change dist (PhysicalGraphBounds.scaledRadial n w) 0 ≤ a | |
| 2487 | - rw [dist_zero_right] | |
| 2488 | - · change a ≤ ‖PhysicalGraphBounds.scaledRadial n w‖ | |
| 2489 | - exact le_rfl | |
| 2490 | - exact PhysicalMeanJetBounds.graph_smoothAt ha ActualPrimary.h n d hann | |
| 2491 | - | |
| 2492 | 2451 | theorem spatialCurl_finset_sum {I : Type*} (s : Finset I) |
| 2493 | 2452 | (A : I → ProblemStatement.VelocityField) {w : ProblemStatement.SpaceTime} |
| 2494 | 2453 | (hA : ∀ i ∈ s, DifferentiableAt ℝ (A i) w) : |
| @@ -2510,104 +2469,6 @@ theorem primary_cartesianCurl_sum (s : Finset (ActualPrimary.Label B N0 × Fin 2 | ||
| 2510 | 2469 | exact ((ActualPrimaryCoherence.cartesianPotential_smooth l.2 l.1).contDiffAt |
| 2511 | 2470 | (PhysicalWaveSum.preterminal_open.mem_nhds hw)).differentiableAt (by simp) |
| 2512 | 2471 | |
| 2513 | -/-- The constructed global potential is the literal finite primary sum on | |
| 2514 | -every valid current-band chart. -/ | |
| 2515 | -theorem potential_eq_active (n d : ℕ) (w : ProblemStatement.SpaceTime) | |
| 2516 | - (hw : w ∈ PhysicalWaveSum.preterminal) | |
| 2517 | - (hx : PhysicalMeanJetBounds.graph ActualPrimary.h n d w ∈ strip.domain) : | |
| 2518 | - potential B N0 w = | |
| 2519 | - ∑ l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n, | |
| 2520 | - ActualPrimaryCoherence.cartesianPotential l.2 l.1 w := by | |
| 2521 | - ext i | |
| 2522 | - change PhysicalCopyBounds.vectorSum (potentialFamily B N0) innerRadius ActualPrimary.h | |
| 2523 | - ActualPrimary.slots.radius w i = _ | |
| 2524 | - rw [vectorSum_apply, potential_sum_eq_active i n d w hw hx] | |
| 2525 | - change Complex.reCLM (∑ l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n, | |
| 2526 | - (potentialFamily B N0 i).periodized innerRadius ActualPrimary.h ActualPrimary.slots.radius | |
| 2527 | - (primaryIndex l) w) = | |
| 2528 | - AxisymmetricFields.projection i (∑ l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n, | |
| 2529 | - ActualPrimaryCoherence.cartesianPotential l.2 l.1 w) | |
| 2530 | - rw [map_sum, map_sum] | |
| 2531 | - apply Finset.sum_congr rfl | |
| 2532 | - intro l hl | |
| 2533 | - exact potential_periodized_eq (l.2, l.1) i w hw | |
| 2534 | - | |
| 2535 | -/-- The same fixed finite family represents the potential on a full | |
| 2536 | -spacetime neighborhood; hence its spatial curl may be taken termwise. -/ | |
| 2537 | -theorem potential_germ_eq_active (n d : ℕ) {w : ProblemStatement.SpaceTime} | |
| 2538 | - (hw : w ∈ PhysicalWaveSum.preterminal) | |
| 2539 | - (hx : PhysicalMeanJetBounds.graph ActualPrimary.h n d w ∈ strip.domain) : | |
| 2540 | - potential B N0 =ᶠ[𝓝 w] fun z => | |
| 2541 | - ∑ l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n, | |
| 2542 | - ActualPrimaryCoherence.cartesianPotential l.2 l.1 z := by | |
| 2543 | - have hn := (graph_smooth_of_strip n d hx).continuousAt (strip.isOpen_domain.mem_nhds hx) | |
| 2544 | - filter_upwards [PhysicalWaveSum.preterminal_open.mem_nhds hw, hn] with z hzt hzx | |
| 2545 | - exact potential_eq_active n d z hzt hzx | |
| 2546 | - | |
| 2547 | -theorem curl_eq_active (n d : ℕ) {w : ProblemStatement.SpaceTime} | |
| 2548 | - (hw : w ∈ PhysicalWaveSum.preterminal) | |
| 2549 | - (hx : PhysicalMeanJetBounds.graph ActualPrimary.h n d w ∈ strip.domain) : | |
| 2550 | - SpatialCurl.spatialCurl (potential B N0) w = | |
| 2551 | - ∑ l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n, | |
| 2552 | - ActualPrimaryCoherence.cartesianVelocity l.2 l.1 w := by | |
| 2553 | - rw [PhysicalCurlCovariance.spatialCurl_congr (potential_germ_eq_active n d hw hx)] | |
| 2554 | - exact primary_cartesianCurl_sum _ hw | |
| 2555 | - | |
| 2556 | -theorem pressure_eq_active (n d : ℕ) (z : ProblemStatement.SpaceTime) | |
| 2557 | - (ht : z.1 < 1) (hr : 0 < z.2 0) | |
| 2558 | - (hx : PhysicalMeanJetBounds.graph ActualPrimary.h n d | |
| 2559 | - (z.1, CylindricalResidual.chart z.2) ∈ strip.domain) : | |
| 2560 | - pressure B N0 (z.1, CylindricalResidual.chart z.2) = | |
| 2561 | - ∑ l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n, | |
| 2562 | - ActualPrimaryCoherence.physicalPressure l.2 l.1 z := by | |
| 2563 | - change Complex.reCLM ((pressureFamily B N0).sum innerRadius ActualPrimary.h | |
| 2564 | - ActualPrimary.slots.radius (z.1, CylindricalResidual.chart z.2)) = _ | |
| 2565 | - rw [pressure_sum_eq_active n d (z.1, CylindricalResidual.chart z.2) ht hx, map_sum] | |
| 2566 | - apply Finset.sum_congr rfl | |
| 2567 | - intro l hl | |
| 2568 | - exact pressure_periodized_eq (l.2, l.1) z ht hr | |
| 2569 | - | |
| 2570 | -/-- Exact normalized velocity of the initialized primary aggregate. The | |
| 2571 | -right side is the curl of the actual Cartesian potential constructed above. -/ | |
| 2572 | -theorem velocity_chart (n d : ℕ) (z : ProblemStatement.SpaceTime) | |
| 2573 | - (ht : z.1 < 1) (hr : 0 < z.2 0) | |
| 2574 | - (hx : PhysicalMeanJetBounds.graph ActualPrimary.h n d | |
| 2575 | - (z.1, CylindricalResidual.chart z.2) ∈ strip.domain) (i : Fin 3) : | |
| 2576 | - (∑ l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n, | |
| 2577 | - (ActualPrimary.piece ActualPrimary.standardRegion l.2 l.1).velocity n | |
| 2578 | - (PhysicalResidualTZ.swapCylinder | |
| 2579 | - ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) ActualPrimary.h | |
| 2580 | - (CommonWindow.index ActualPrimary.h n)).map z)) i) = | |
| 2581 | - ChartScales.Q n ^ CoordinateAlgebra.A ActualPrimary.h * | |
| 2582 | - CylindricalResidual.frame (-(z.2 1)) | |
| 2583 | - (SpatialCurl.spatialCurl (potential B N0) (z.1, CylindricalResidual.chart z.2)) i := by | |
| 2584 | - rw [curl_eq_active n d (w := (z.1, CylindricalResidual.chart z.2)) ht hx] | |
| 2585 | - change _ = ChartScales.Q n ^ CoordinateAlgebra.A ActualPrimary.h * | |
| 2586 | - AxisymmetricFields.projection i | |
| 2587 | - (CylindricalResidual.frame (-(z.2 1)) | |
| 2588 | - (∑ l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n, | |
| 2589 | - ActualPrimaryCoherence.cartesianVelocity l.2 l.1 (z.1, CylindricalResidual.chart z.2))) | |
| 2590 | - rw [map_sum, map_sum, Finset.mul_sum] | |
| 2591 | - apply Finset.sum_congr rfl | |
| 2592 | - intro l hl | |
| 2593 | - exact ActualPrimaryCoherence.piece_cartesian_velocity ActualPrimary.standardRegion l.2 l.1 n ht hr i | |
| 2594 | - | |
| 2595 | -theorem pressure_chart (n d : ℕ) (z : ProblemStatement.SpaceTime) | |
| 2596 | - (ht : z.1 < 1) (hr : 0 < z.2 0) | |
| 2597 | - (hx : PhysicalMeanJetBounds.graph ActualPrimary.h n d | |
| 2598 | - (z.1, CylindricalResidual.chart z.2) ∈ strip.domain) : | |
| 2599 | - (∑ l ∈ ActualPrimary.activeLabels ActualPrimary.standardRegion B N0 n, | |
| 2600 | - (ActualPrimary.piece ActualPrimary.standardRegion l.2 l.1).pressure n | |
| 2601 | - (PhysicalResidualTZ.swapCylinder | |
| 2602 | - ((PhysicalResidualBridge.commonGraph (ChartScales.Q n) ActualPrimary.h | |
| 2603 | - (CommonWindow.index ActualPrimary.h n)).map z))) = | |
| 2604 | - ChartScales.Q n ^ (2 * CoordinateAlgebra.A ActualPrimary.h) * | |
| 2605 | - pressure B N0 (z.1, CylindricalResidual.chart z.2) := by | |
| 2606 | - rw [pressure_eq_active n d z ht hr hx, Finset.mul_sum] | |
| 2607 | - apply Finset.sum_congr rfl | |
| 2608 | - intro l hl | |
| 2609 | - exact ActualPrimaryCoherence.piece_physical_pressure ActualPrimary.standardRegion l.2 l.1 n hr | |
| 2610 | - | |
| 2611 | 2472 | |
| 2612 | 2473 | end FiniteAggregation |
| 2613 | 2474 | |
+29 −0 routes/s1-ns-initial-1/README.md added View file
| @@ -0,0 +1,29 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-initial-1 | |
| 6 | + | |
| 7 | +The family `NavierStokes/Initial*`, declarations only. This unit deletes 13 | |
| 8 | +declarations that nothing uses (155 lines in 2 files): three in | |
| 9 | +`NavierStokes/InitialNativeRegularity.lean` (`copyPressureCoefficient_invariant`, | |
| 10 | +`copyAmplitude_angle`, `copyPressureCoefficient_angle`) and ten in | |
| 11 | +`NavierStokes/InitialPhysicalData.lean` (`geometry_bandLabel`, | |
| 12 | +`potential_sum_eq_active`, `pressure_sum_eq_active`, `graph_smooth_of_strip`, | |
| 13 | +`potential_eq_active`, `potential_germ_eq_active`, `curl_eq_active`, | |
| 14 | +`pressure_eq_active`, `velocity_chart`, `pressure_chart`). | |
| 15 | + | |
| 16 | +Found from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, | |
| 17 | +`f9e8bc5`), then re-read against this project's declaration graph at main | |
| 18 | +`5baf4fe` under the rule that the paper's results stay: a declaration stays | |
| 19 | +when the paper's results reach it, when its docstring cites the paper, or when | |
| 20 | +a declaration that stays names it. The diff is deletions only. | |
| 21 | + | |
| 22 | +Before committing, every deleted short name was searched for in the tree | |
| 23 | +(`git grep -n -w`): no hit remains. The three deleted docstrings cite no | |
| 24 | +numbered result of the paper. | |
| 25 | + | |
| 26 | +## Next | |
| 27 | + | |
| 28 | +Nothing in this unit. S-2 (`#11`) is what checks whether the remaining files | |
| 29 | +are all needed; another family of declarations under `#10` is the next unit. | |