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

chore(NavierStokes/Curl): delete 16 declarations nothing uses
Browse filesCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −142 NavierStokes/CurlClassBounds.lean View file
| @@ -508,48 +508,6 @@ variable {A : Type*} [NormedAddCommGroup A] [NormedSpace ℝ A] | ||
| 508 | 508 | noncomputable def radialField (K : ℝ → ℝ) (v : A) (x : ℝ × A) : ℝ × A := |
| 509 | 509 | (1, K x.1 • v) |
| 510 | 510 | |
| 511 | -theorem radialField_aux_derivative {K : ℝ → ℝ} (v w : A) {x : ℝ × A} | |
| 512 | - (hK : DifferentiableAt ℝ K x.1) : fderiv ℝ (radialField K v) x (0, w) = 0 := by | |
| 513 | - have hd := (hasFDerivAt_const (1 : ℝ) x).prodMk | |
| 514 | - ((hK.hasFDerivAt.comp x hasFDerivAt_fst).smul_const v) | |
| 515 | - dsimp only [Function.comp_def] at hd | |
| 516 | - change fderiv ℝ (fun y : ℝ × A => (1, K y.1 • v)) x (0, w) = 0 | |
| 517 | - rw [hd.fderiv] | |
| 518 | - simp | |
| 519 | - | |
| 520 | -/-- Concrete graph directions commute because their radial coefficient only | |
| 521 | -depends on the radius. No operator commutation is assumed in this constructor. -/ | |
| 522 | -theorem explicitGraph_geometry {U : Set (ℝ × A)} (hU : IsOpen U) | |
| 523 | - {K : ℝ → ℝ} (v θ z : A) | |
| 524 | - (hK : ∀ x ∈ U, ContDiffAt ℝ ∞ K x.1) (hR : ∀ x ∈ U, x.1 ≠ 0) : | |
| 525 | - CylindricalGeometry U Prod.fst (radialField K v) | |
| 526 | - (fun _ => (0, θ)) (fun _ => (0, z)) := by | |
| 527 | - refine ⟨hU, contDiffOn_fst, hR, ?_, contDiffOn_const, contDiffOn_const, | |
| 528 | - ?_, ?_, ?_, ?_, ?_, ?_⟩ | |
| 529 | - · intro x hx | |
| 530 | - exact (contDiffAt_const.prodMk (((hK x hx).comp x contDiffAt_fst).smul | |
| 531 | - contDiffAt_const)).contDiffWithinAt | |
| 532 | - · intro x hx | |
| 533 | - change fderiv ℝ (ContinuousLinearMap.fst ℝ ℝ A) x (1, K x.1 • v) = 1 | |
| 534 | - rw [ContinuousLinearMap.fderiv] | |
| 535 | - rfl | |
| 536 | - · intro x hx | |
| 537 | - change fderiv ℝ (ContinuousLinearMap.fst ℝ ℝ A) x (0, θ) = 0 | |
| 538 | - rw [ContinuousLinearMap.fderiv] | |
| 539 | - rfl | |
| 540 | - · intro x hx | |
| 541 | - change fderiv ℝ (ContinuousLinearMap.fst ℝ ℝ A) x (0, z) = 0 | |
| 542 | - rw [ContinuousLinearMap.fderiv] | |
| 543 | - rfl | |
| 544 | - · intro x hx | |
| 545 | - rw [radialField_aux_derivative v θ ((hK x hx).differentiableAt (by simp))] | |
| 546 | - simp | |
| 547 | - · intro x hx | |
| 548 | - rw [radialField_aux_derivative v z ((hK x hx).differentiableAt (by simp))] | |
| 549 | - simp | |
| 550 | - · intro x hx | |
| 551 | - simp | |
| 552 | - | |
| 553 | 511 | end ExplicitGraph |
| 554 | 512 | |
| 555 | 513 | section Realization |
| @@ -681,70 +639,10 @@ section Longitudinal | ||
| 681 | 639 | |
| 682 | 640 | variable {D : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 683 | 641 | |
| 684 | -/-- Solving the actual harmonic divergence identity gives the same inverse | |
| 685 | -carrier as in the curl remainder. This equality includes normal derivatives | |
| 686 | -when differentiated; there is no pointwise-only estimate here. -/ | |
| 687 | -theorem longitudinal_eq_inverseCarrier (R : D → ℝ) (Vr Vθ Vz : D → D) | |
| 688 | - {K : ℝ} (hK : K ≠ 0) {Φ : D → ℝ} {a : D → ComplexVector} {x : D} | |
| 689 | - (hΦ : DifferentiableAt ℝ Φ x) (ha : ∀ i, DifferentiableAt ℝ (fun y => a y i) x) | |
| 690 | - (hθ : HarmonicCalculus.along Vθ (fun y => a y 1) x = 0) | |
| 691 | - (hdiv : HarmonicCalculus.cylindricalDivergence R Vr Vθ Vz | |
| 692 | - (HarmonicCalculus.vectorMode K Φ a) x = 0) : | |
| 693 | - HarmonicCalculus.normalDot (HarmonicCalculus.phaseNormal R Vr Vθ Vz Φ x) (a x) = | |
| 694 | - inverseCarrier K * HarmonicCalculus.strippedDivergence R Vr Vz a x := by | |
| 695 | - have h := congrArg (fun z : ℂ => inverseCarrier K * z) | |
| 696 | - (HarmonicCalculus.longitudinal_identity R Vr Vθ Vz K hΦ ha hθ hdiv) | |
| 697 | - rw [← mul_assoc, inverseCarrier_phaseFactor hK] at h | |
| 698 | - simpa only [neg_one_mul, mul_neg, neg_inj] using h | |
| 699 | - | |
| 700 | 642 | variable {s : StripData D} {w : ℕ → D → ℝ} {α κ : ℝ} |
| 701 | 643 | {R : D → ℝ} {Vr Vθ Vz : ℕ → D → D} {K : ℕ → ℝ} |
| 702 | 644 | {Φ : ℕ → D → ℝ} {a : ℕ → D → ComplexVector} |
| 703 | 645 | |
| 704 | -/-- Actual all-order longitudinal contraction bounds from harmonic | |
| 705 | -solenoidality and primitive coefficient/direction classes. -/ | |
| 706 | -theorem longitudinal_class (ha : MemClass s w α a) (hκ : 0 ≤ κ) | |
| 707 | - (hr : UnweightedClass s (-κ) Vr) (hz : UnweightedClass s 1 Vz) | |
| 708 | - (hR : UnweightedClass s 0 (fun _ x => (R x)⁻¹)) | |
| 709 | - (hK : ∀ n, K n ≠ 0) (hfreq : BandBound s (1 / 2) (fun n => 1 / K n)) | |
| 710 | - (hΦ : ∀ n, DifferentiableOn ℝ (Φ n) s.domain) | |
| 711 | - (hθ : ∀ n x, x ∈ s.domain → HarmonicCalculus.along (Vθ n) (fun y => a n y 1) x = 0) | |
| 712 | - (hdiv : ∀ n x, x ∈ s.domain → HarmonicCalculus.cylindricalDivergence R | |
| 713 | - (Vr n) (Vθ n) (Vz n) (HarmonicCalculus.vectorMode (K n) (Φ n) (a n)) x = 0) : | |
| 714 | - MemClass s w (α + 1 / 2 - κ) (fun n x => HarmonicCalculus.normalDot | |
| 715 | - (HarmonicCalculus.phaseNormal R (Vr n) (Vθ n) (Vz n) (Φ n) x) (a n x)) := by | |
| 716 | - have hS := strippedDivergence_class ha hκ hr hz hR | |
| 717 | - have hI := (hS.map (Complex.I • ContinuousLinearMap.id ℝ ℂ)).band_smul hfreq | |
| 718 | - have he : α - κ + 1 / 2 = α + 1 / 2 - κ := by ring | |
| 719 | - rw [he] at hI | |
| 720 | - apply class_congr hI | |
| 721 | - intro n x hx | |
| 722 | - dsimp only | |
| 723 | - rw [longitudinal_eq_inverseCarrier R (Vr n) (Vθ n) (Vz n) (hK n) | |
| 724 | - ((hΦ n x hx).differentiableAt (s.isOpen_domain.mem_nhds hx)) | |
| 725 | - (fun i => ((class_component ha i).contDiffAt n hx 1).differentiableAt (by norm_num)) | |
| 726 | - (hθ n x hx) (hdiv n x hx)] | |
| 727 | - simp [inverseCarrier, Complex.real_smul, div_eq_mul_inv, mul_comm, mul_left_comm, mul_assoc] | |
| 728 | - | |
| 729 | -/-- The divergence premise is discharged by a genuine smooth vector | |
| 730 | -potential. Equality is required on the open strip so all derivatives transfer. -/ | |
| 731 | -theorem longitudinal_from_curl_class (ha : MemClass s w α a) (hκ : 0 ≤ κ) | |
| 732 | - (hr : UnweightedClass s (-κ) Vr) (hz : UnweightedClass s 1 Vz) | |
| 733 | - (hR : UnweightedClass s 0 (fun _ x => (R x)⁻¹)) | |
| 734 | - (hK : ∀ n, K n ≠ 0) (hfreq : BandBound s (1 / 2) (fun n => 1 / K n)) | |
| 735 | - (hΦ : ∀ n, DifferentiableOn ℝ (Φ n) s.domain) | |
| 736 | - (hθ : ∀ n x, x ∈ s.domain → HarmonicCalculus.along (Vθ n) (fun y => a n y 1) x = 0) | |
| 737 | - (G : ∀ n, CylindricalGeometry s.domain R (Vr n) (Vθ n) (Vz n)) | |
| 738 | - (A : ℕ → D → ComplexVector) (hA : ∀ n, ContDiffOn ℝ ∞ (A n) s.domain) | |
| 739 | - (hreal : ∀ n, EqOn (HarmonicCalculus.vectorMode (K n) (Φ n) (a n)) | |
| 740 | - (cylindricalCurl R (Vr n) (Vθ n) (Vz n) (A n)) s.domain) : | |
| 741 | - MemClass s w (α + 1 / 2 - κ) (fun n x => HarmonicCalculus.normalDot | |
| 742 | - (HarmonicCalculus.phaseNormal R (Vr n) (Vθ n) (Vz n) (Φ n) x) (a n x)) := by | |
| 743 | - apply longitudinal_class ha hκ hr hz hR hK hfreq hΦ hθ | |
| 744 | - intro n x hx | |
| 745 | - rw [cylindricalDivergence_congr s.isOpen_domain R (Vr n) (Vθ n) (Vz n) (hreal n) hx] | |
| 746 | - exact divergence_curl_zero (G n) (hA n) hx | |
| 747 | - | |
| 748 | 646 | end Longitudinal |
| 749 | 647 | |
| 750 | 648 | section WaveClasses |
| @@ -839,46 +737,6 @@ open ProblemStatement | ||
| 839 | 737 | variable {s : StripData SpaceTime} {w : ℕ → SpaceTime → ℝ} {α : ℝ} |
| 840 | 738 | {B : ℕ → VelocityField} {K : ℕ → ℝ} |
| 841 | 739 | |
| 842 | -/-- Direct compatibility with the actual Euclidean spatial curl. All input | |
| 843 | -jets here are physical spacetime jets, so no separate graph factor occurs. -/ | |
| 844 | -theorem physicalCurl_class (hB : MemClass s w α B) : | |
| 845 | - MemClass s w α (fun n => SpatialCurl.spatialCurl (B n)) := by | |
| 846 | - apply class_congr (hB.fderiv.map | |
| 847 | - (SpatialCurl.curlLinear.comp (ResidualStability.spaceRestriction Space))) | |
| 848 | - intro n x hx | |
| 849 | - change SpatialCurl.curlLinear (ResidualStability.spaceRestriction Space (fderiv ℝ (B n) x)) = | |
| 850 | - SpatialCurl.curlLinear (fderiv ℝ (fun y => B n (x.1, y)) x.2) | |
| 851 | - rw [ResidualStability.space_fderiv_eq_full ((hB.contDiffAt n hx 1).differentiableAt (by norm_num))] | |
| 852 | - | |
| 853 | -theorem physical_strippedRemainder_class (hB : MemClass s w α B) | |
| 854 | - (hK : BandBound s (1 / 2) (fun n => 1 / K n)) : | |
| 855 | - MemClass s w (α + 1 / 2) (fun n => OscillatoryCurl.strippedRemainder (K n) (B n)) := | |
| 856 | - (physicalCurl_class hB).band_smul hK | |
| 857 | - | |
| 858 | -theorem physical_normalCoefficient_class {N a : ℕ → VelocityField} | |
| 859 | - (hN : PhaseJetBounds.PolynomialJets (phaseDomain s) N) (ha : MemClass s w α a) | |
| 860 | - {b M : ℝ} (hb : 0 < b) | |
| 861 | - (hlower : ∀ n x, x ∈ s.domain → b ≤ ‖N n x‖) | |
| 862 | - (hupper : ∀ n x, x ∈ s.domain → ‖N n x‖ ≤ M) : | |
| 863 | - MemClass s w α (fun n x => OscillatoryCurl.normalCoefficient (N n x) (a n x)) := by | |
| 864 | - have hcross : MemClass s w α (fun n x => OscillatoryCurl.cross (N n x) (a n x)) := by | |
| 865 | - simpa only [one_mul, zero_add, OscillatoryCurl.cross] using | |
| 866 | - (polynomialJets_unweighted hN).bilinear ha OscillatoryCurl.crossLinear | |
| 867 | - simpa only [zero_add, OscillatoryCurl.normalCoefficient] using | |
| 868 | - class_mul_real (normalInverse_unweighted hN hb hlower hupper) hcross | |
| 869 | - | |
| 870 | -/-- The remainder in the existing physical exact-curl theorem belongs to the | |
| 871 | -claimed class once its actual normal and amplitude jets are supplied. -/ | |
| 872 | -theorem physical_actualRemainder_class {Φ : ℕ → PressureField} {a : ℕ → VelocityField} | |
| 873 | - (hN : PhaseJetBounds.PolynomialJets (phaseDomain s) (fun n => OscillatoryCurl.phaseNormal (Φ n))) | |
| 874 | - (ha : MemClass s w α a) {b M : ℝ} (hb : 0 < b) | |
| 875 | - (hlower : ∀ n x, x ∈ s.domain → b ≤ ‖OscillatoryCurl.phaseNormal (Φ n) x‖) | |
| 876 | - (hupper : ∀ n x, x ∈ s.domain → ‖OscillatoryCurl.phaseNormal (Φ n) x‖ ≤ M) | |
| 877 | - (hK : BandBound s (1 / 2) (fun n => 1 / K n)) : | |
| 878 | - MemClass s w (α + 1 / 2) (fun n => | |
| 879 | - OscillatoryCurl.strippedRemainder (K n) (OscillatoryCurl.coefficient (Φ n) (a n))) := | |
| 880 | - physical_strippedRemainder_class (physical_normalCoefficient_class hN ha hb hlower hupper) hK | |
| 881 | - | |
| 882 | 740 | end PhysicalCurl |
| 883 | 741 | |
| 884 | 742 | end NavierStokes.CurlClassBounds |
+0 −59 NavierStokes/CurlGeometry.lean View file
| @@ -26,18 +26,6 @@ def cross {R : Type*} [CommRing R] (u v : Vec3 R) : Vec3 R := | ||
| 26 | 26 | u 2 * v 0 - u 0 * v 2, |
| 27 | 27 | u 0 * v 1 - u 1 * v 0] |
| 28 | 28 | |
| 29 | -theorem cross_perpendicular_left {R : Type*} [CommRing R] (u v : Vec3 R) : | |
| 30 | - dot u (cross u v) = 0 := by | |
| 31 | - simp only [dot, cross, Matrix.cons_val_zero, Matrix.cons_val_one, | |
| 32 | - Matrix.cons_val] | |
| 33 | - ring | |
| 34 | - | |
| 35 | -theorem cross_perpendicular_right {R : Type*} [CommRing R] (u v : Vec3 R) : | |
| 36 | - dot v (cross u v) = 0 := by | |
| 37 | - simp only [dot, cross, Matrix.cons_val_zero, Matrix.cons_val_one, | |
| 38 | - Matrix.cons_val] | |
| 39 | - ring | |
| 40 | - | |
| 41 | 29 | /-- The vector triple-product identity, before imposing tangency. -/ |
| 42 | 30 | theorem triple_product {R : Type*} [CommRing R] (n a : Vec3 R) : |
| 43 | 31 | cross n (cross n a) = dot n a • n - dot n n • a := by |
| @@ -105,34 +93,6 @@ theorem principal_symbol_realizes (k : ℂ) (n a : Vec3 ℂ) | ||
| 105 | 93 | |
| 106 | 94 | def complexify (n : Vec3 ℝ) : Vec3 ℂ := fun j => (n j : ℂ) |
| 107 | 95 | |
| 108 | -theorem complexify_dot_self (n : Vec3 ℝ) : | |
| 109 | - dot (complexify n) (complexify n) = ((dot n n : ℝ) : ℂ) := by | |
| 110 | - simp [complexify, dot] | |
| 111 | - | |
| 112 | -/-- Specialization to the manuscript's real, nonzero phase normal and real, | |
| 113 | -nonzero frequency. The only amplitude condition is complex tangency. -/ | |
| 114 | -theorem real_normal_principal_symbol (k : ℝ) (n : Vec3 ℝ) (a : Vec3 ℂ) | |
| 115 | - (hk : k ≠ 0) (hn : n ≠ 0) (ha : dot (complexify n) a = 0) : | |
| 116 | - curlSymbol ((k : ℂ) • complexify n) | |
| 117 | - (potentialCoefficient k (complexify n) a) = a := by | |
| 118 | - apply principal_symbol_realizes (k : ℂ) (complexify n) a | |
| 119 | - (Complex.ofReal_ne_zero.mpr hk) ?_ ha | |
| 120 | - rw [complexify_dot_self] | |
| 121 | - exact Complex.ofReal_ne_zero.mpr (real_dot_self_ne_zero hn) | |
| 122 | - | |
| 123 | -theorem curl_symbol_transverse (ξ A : Vec3 ℂ) : dot ξ (curlSymbol ξ A) = 0 := by | |
| 124 | - unfold curlSymbol | |
| 125 | - have h := cross_smul Complex.I (1 : ℂ) ξ A | |
| 126 | - simp only [one_smul, mul_one] at h | |
| 127 | - rw [h] | |
| 128 | - simp only [dot, Pi.smul_apply, smul_eq_mul] | |
| 129 | - have hp := cross_perpendicular_left ξ A | |
| 130 | - dsimp [dot] at hp | |
| 131 | - calc | |
| 132 | - _ = Complex.I * (ξ 0 * cross ξ A 0 + ξ 1 * cross ξ A 1 + ξ 2 * cross ξ A 2) := by | |
| 133 | - ring | |
| 134 | - _ = 0 := by rw [hp, mul_zero] | |
| 135 | - | |
| 136 | 96 | /-! ## Cylindrical differential cancellation |
| 137 | 97 | |
| 138 | 98 | This is a conditional identity for three additive differential operators on a |
| @@ -148,23 +108,4 @@ def cylindricalCurl {F : Type*} [CommRing F] | ||
| 148 | 108 | Dz (A 0) - Dr (A 2), |
| 149 | 109 | Dr (A 1) + q * A 1 - q * Dθ (A 0)] |
| 150 | 110 | |
| 151 | -def cylindricalDiv {F : Type*} [CommRing F] | |
| 152 | - (Dr Dθ Dz : F →+ F) (q : F) (v : Vec3 F) : F := | |
| 153 | - Dr (v 0) + q * v 0 + q * Dθ (v 1) + Dz (v 2) | |
| 154 | - | |
| 155 | -/-- Divergence of the full cylindrical curl, including both `1/R` terms. | |
| 156 | -No conclusion about analytic regularity is hidden in the algebraic statement. -/ | |
| 157 | -theorem cylindrical_div_curl {F : Type*} [CommRing F] | |
| 158 | - (Dr Dθ Dz : F →+ F) (q : F) | |
| 159 | - (hrr : ∀ f, Dr (q * f) = q * Dr f - q ^ 2 * f) | |
| 160 | - (hzq : ∀ f, Dz (q * f) = q * Dz f) | |
| 161 | - (hrθ : ∀ f, Dr (Dθ f) = Dθ (Dr f)) | |
| 162 | - (hrz : ∀ f, Dr (Dz f) = Dz (Dr f)) | |
| 163 | - (hθz : ∀ f, Dθ (Dz f) = Dz (Dθ f)) | |
| 164 | - (A : Vec3 F) : cylindricalDiv Dr Dθ Dz q (cylindricalCurl Dr Dθ Dz q A) = 0 := by | |
| 165 | - simp only [cylindricalDiv, cylindricalCurl, Matrix.cons_val_zero, | |
| 166 | - Matrix.cons_val_one, Matrix.cons_val, map_sub, map_add] | |
| 167 | - rw [hrr, hzq, hzq, hrθ, hrz, hθz] | |
| 168 | - ring | |
| 169 | - | |
| 170 | 111 | end NavierStokes.CurlGeometry |
+17 −0 routes/s1-ns-curl-1/README.md added View file
| @@ -0,0 +1,17 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-curl-1 | |
| 6 | + | |
| 7 | +One declarations unit of S-1 (issue #10), the family `NavierStokes/Curl*`: delete the | |
| 8 | +declarations that nothing uses, in `NavierStokes/CurlClassBounds.lean` and | |
| 9 | +`NavierStokes/CurlGeometry.lean`. The unit names 20 declarations; this deletes 16 of them | |
| 10 | +(201 lines). Four stay: `real_dot_self_ne_zero` and `principal_symbol_realizes` have | |
| 11 | +docstrings that cite Equation (30) of the paper, and `curlSymbol` and `cross_smul` are | |
| 12 | +named by the text of `principal_symbol_realizes`. | |
| 13 | + | |
| 14 | +## Next | |
| 15 | + | |
| 16 | +Nothing further in this unit: the change is pushed and the pull request to `main` is | |
| 17 | +open. If it is closed, the four declarations above stay for the rule's reason. | |