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: #354 chore(NavierStokes/Active): delete 5 declarations nothing uses
1 commit
+0 −122 NavierStokes/ActiveAnnulusWeight.lean View file
| @@ -587,16 +587,6 @@ theorem exists_radial_derivative_bound {K : Set E} (hK : IsCompact K) | ||
| 587 | 587 | dsimp [C] |
| 588 | 588 | ring |
| 589 | 589 | |
| 590 | -omit [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℝ V] in | |
| 591 | -theorem radial_lower_bound {K : Set E} {a b c m : ℝ} {T : E × ℝ → V} | |
| 592 | - (hlower : ∀ p ∈ K, ∀ y ∈ Ioo a b, m * weight c a b y ≤ ‖T (p,y)‖) | |
| 593 | - {p : E} (hp : p ∈ K) {X : ℝ} (hX : X ∈ Ioo (Real.exp a) (Real.exp b)) : | |
| 594 | - m * radialWeight c a b X ≤ ‖radialPullback T (p,X)‖ := by | |
| 595 | - have hXp : 0 < X := (Real.exp_pos a).trans hX.1 | |
| 596 | - rw [radialWeight,ite_eq_left hXp] | |
| 597 | - exact hlower p hp (Real.log X) | |
| 598 | - ⟨(Real.lt_log_iff_exp_lt hXp).2 hX.1,(Real.log_lt_iff_lt_exp hXp).2 hX.2⟩ | |
| 599 | - | |
| 600 | 590 | /-- The complete estimates in both fixed profile charts. -/ |
| 601 | 591 | noncomputable def WeightedBounds (K : Set E) (c a b : ℝ) (T : E × ℝ → V) : Prop := |
| 602 | 592 | (∃ m : ℝ, 0 < m ∧ ∀ p ∈ K, ∀ y ∈ Ioo a b, m * weight c a b y ≤ ‖T (p,y)‖) ∧ |
| @@ -643,9 +633,6 @@ theorem tilt_smul {r : ℝ} (hr : r ≠ 0) (v : ℝ × ℝ) : tilt (r • v) = t | ||
| 643 | 633 | simp only [tilt,Prod.smul_fst,Prod.smul_snd,smul_eq_mul] |
| 644 | 634 | exact mul_div_mul_left _ _ hr |
| 645 | 635 | |
| 646 | -theorem direction_smul {r : ℝ} (hr : r ≠ 0) (v : ℝ × ℝ) : direction (r • v) = direction v := by | |
| 647 | - simp only [direction,tilt_smul hr] | |
| 648 | - | |
| 649 | 636 | theorem direction_smooth {O : Set (E × ℝ)} {B : E × ℝ → ℝ × ℝ} |
| 650 | 637 | (hB : ContDiffOn ℝ ∞ B O) (hne : ∀ q ∈ O, (B q).1 ≠ 0) : |
| 651 | 638 | ContDiffOn ℝ ∞ (fun q => direction (B q)) O := |
| @@ -681,36 +668,6 @@ theorem compact_positive_collar {K : Set E} (hK : IsCompact K) | ||
| 681 | 668 | have hpos : 0 < g (p,x) := (hdom (show (p,x) ∈ K ×ˢ Icc (0 : ℝ) d from ⟨hp,hx⟩)).2 |
| 682 | 669 | simpa only [Real.norm_eq_abs,abs_of_pos hpos] using hh |
| 683 | 670 | |
| 684 | -/-- A positive angular edge factor yields a genuine smooth unit direction | |
| 685 | -for the stress, even where the stress itself vanishes at the edge. -/ | |
| 686 | -theorem EdgeFactor.direction_collar {K : Set E} (hK : IsCompact K) {c : ℝ} | |
| 687 | - {T : E × ℝ → ℝ × ℝ} (F : EdgeFactor K c T) | |
| 688 | - (hfirst : ∀ p ∈ K, 0 < (F.coefficient (p,0)).1) : | |
| 689 | - ∃ d : ℝ, ∃ W : Set (E × ℝ), 0 < d ∧ d < F.width ∧ IsOpen W ∧ | |
| 690 | - K ×ˢ Icc (0 : ℝ) d ⊆ W ∧ | |
| 691 | - ContDiffOn ℝ ∞ (fun q => direction (F.coefficient q)) W ∧ | |
| 692 | - (∀ p ∈ K, ∀ x : ℝ, 0 < x → x ≤ d → | |
| 693 | - direction (T (p,x)) = direction (F.coefficient (p,x))) ∧ | |
| 694 | - (∀ p ∈ K, ∀ x : ℝ, 0 < x → x ≤ d → 0 < (T (p,x)).1) := by | |
| 695 | - obtain ⟨d0,ε,hd0,hε,hdom,hbound⟩ := compact_positive_collar hK F.domain_open | |
| 696 | - F.smooth.fst.continuousOn F.boundary_mem hfirst | |
| 697 | - let W := {q | q ∈ F.domain ∧ 0 < (F.coefficient q).1} | |
| 698 | - let d := min d0 (F.width/2) | |
| 699 | - have hd : 0 < d := lt_min hd0 (half_pos F.width_pos) | |
| 700 | - have hdd : d ≤ d0 := min_le_left _ _ | |
| 701 | - have hdw : d < F.width := (min_le_right _ _).trans_lt (half_lt_self F.width_pos) | |
| 702 | - have hpos (p : E) (hp : p ∈ K) (x : ℝ) (hx : x ∈ Icc (0 : ℝ) d) : | |
| 703 | - 0 < (F.coefficient (p,x)).1 := hε.trans_le (hbound p hp x ⟨hx.1,hx.2.trans hdd⟩) | |
| 704 | - refine ⟨d,W,hd,hdw,positive_domain_open F.domain_open F.smooth.fst.continuousOn,?_,?_,?_,?_⟩ | |
| 705 | - · exact fun q hq => ⟨hdom ⟨hq.1,hq.2.1,hq.2.2.trans hdd⟩,hpos q.1 hq.1 q.2 hq.2⟩ | |
| 706 | - · exact direction_smooth (F.smooth.mono (fun _ hq => hq.1)) (fun _ hq => hq.2.ne') | |
| 707 | - · intro p hp x hx hxd | |
| 708 | - rw [F.identity p hp x hx (hxd.trans_lt hdw)] | |
| 709 | - exact direction_smul (div_pos (FlatCutoff.edge_pos _ hx) (pow_pos hx _)).ne' _ | |
| 710 | - · intro p hp x hx hxd | |
| 711 | - rw [F.identity p hp x hx (hxd.trans_lt hdw),Prod.smul_fst,smul_eq_mul] | |
| 712 | - exact mul_pos (div_pos (FlatCutoff.edge_pos _ hx) (pow_pos hx _)) (hpos p hp x ⟨hx.le,hxd⟩) | |
| 713 | - | |
| 714 | 671 | noncomputable def directionProjection (s t : ℝ) : ℝ := 1+s*t |
| 715 | 672 | noncomputable def directionGap (v s t : ℝ) : ℝ := 2*(directionProjection s t)^2 - (v-2)*(t-s)^2 |
| 716 | 673 | |
| @@ -1048,85 +1005,6 @@ theorem exists_natural_activation_factor_aligned {h j σ Λ C : ℝ} {P0 : ℝ | ||
| 1048 | 1005 | (div_pos (sub_pos.mpr hκ) (stepDenominator_pos T 0)).ne',hedge] |
| 1049 | 1006 | exact mul_div_mul_left _ _ (Real.exp_pos _).ne' |
| 1050 | 1007 | |
| 1051 | -/-- The initial ACT stress has a genuine smooth unit-direction extension and | |
| 1052 | -a strict cone margin relative to its actual shear. -/ | |
| 1053 | -theorem natural_activation_strict_direction {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} | |
| 1054 | - {d : NaturalAxisCoefficients.AnalyticInputs h j σ P0} | |
| 1055 | - (hΛ : 0 < Λ) (F : NaturalEntrance.EntranceProfile d Λ C) | |
| 1056 | - (hP0 : ContDiff ℝ ∞ P0) (hsmall : NaturalAxisData.SmallParameters h j) | |
| 1057 | - {δ : ℝ} (hδ : 0 < δ) (hδlim : 2*δ < ReferencePath.rampLimit) | |
| 1058 | - {T κ : ℝ} (hT : 0 < T) (hκ : κ < 1) : | |
| 1059 | - let N := ReferencePath.Input.ofNatural hΛ F.profile.family | |
| 1060 | - let L := FromReference.refLog N δ | |
| 1061 | - let U := FromReference.refAxial N δ | |
| 1062 | - let I := ActivationStocks.FromReference.initial N hδ hδlim P0 hP0 | |
| 1063 | - let S := fun q : ℝ × ℝ => activatedStress h N.endpoint I L U T κ (q.2,q.1) | |
| 1064 | - ∃ G : EdgeFactor (Icc (-1 : ℝ) 1) (T^2) S, | |
| 1065 | - HasStrictDirectionCollar (Icc (-1 : ℝ) 1) S G.coefficient | |
| 1066 | - (fun q => shearSize T κ N.endpoint L U (q.2,q.1)) | |
| 1067 | - (fun q => shearSlope T κ N.endpoint L U (q.2,q.1)) G.width := by | |
| 1068 | - let N := ReferencePath.Input.ofNatural hΛ F.profile.family | |
| 1069 | - let L := FromReference.refLog N δ | |
| 1070 | - let U := FromReference.refAxial N δ | |
| 1071 | - have hL := FromReference.refLog_smooth N hδ hδlim | |
| 1072 | - have hU := FromReference.refAxial_smooth N hδ hδlim | |
| 1073 | - have hKJ : Icc (-1 : ℝ) 1 ⊆ ReferencePath.parameterInterval := | |
| 1074 | - NaturalAxisCoefficients.original_interval_interior | |
| 1075 | - obtain ⟨G,hGfirst,hGalign⟩ := exists_natural_activation_factor_aligned hΛ F hP0 hsmall hδ hδlim hT hκ | |
| 1076 | - obtain ⟨τ,α,M,hτ,_,hα,_,hb⟩ := natural_reference_bounds hΛ F hδ hδlim | |
| 1077 | - have hA0 : ∀ η ∈ Icc (-1 : ℝ) 1, 0 < referenceP1 L (0,η) := by | |
| 1078 | - intro η hη | |
| 1079 | - exact hα.trans_le (hb 0 ⟨le_rfl,hτ.le⟩ η hη).1 | |
| 1080 | - obtain ⟨O,hO,hKO,hv,hs⟩ := actual_shear_domain hT κ N.endpoint_pos | |
| 1081 | - ReferencePath.parameterInterval_open hKJ hL hU hA0 | |
| 1082 | - refine ⟨G,G.aligned_collar isCompact_Icc hGfirst hO hKO hv.continuousOn hs.continuousOn ?_⟩ | |
| 1083 | - intro η hη | |
| 1084 | - obtain ⟨hAz,hBz⟩ := actual_shear_coordinates_zero hT κ N.endpoint_pos | |
| 1085 | - ReferencePath.parameterInterval_open hL hU (hKJ hη) | |
| 1086 | - rw [hGalign η hη] | |
| 1087 | - change referenceP2 N.endpoint L U (0,η) / referenceP1 L (0,η) = | |
| 1088 | - actualP2 T κ N.endpoint L U (0,η) / actualP1 T κ L (0,η) | |
| 1089 | - rw [hAz,hBz] | |
| 1090 | - | |
| 1091 | -theorem natural_activation_true_direction {h j σ Λ C : ℝ} {P0 : ℝ → ℝ} | |
| 1092 | - {d : NaturalAxisCoefficients.AnalyticInputs h j σ P0} | |
| 1093 | - (hΛ : 0 < Λ) (F : NaturalEntrance.EntranceProfile d Λ C) | |
| 1094 | - (hP0 : ContDiff ℝ ∞ P0) (hsmall : NaturalAxisData.SmallParameters h j) | |
| 1095 | - {δ : ℝ} (hδ : 0 < δ) (hδlim : 2*δ < ReferencePath.rampLimit) | |
| 1096 | - {T κ : ℝ} (hT : 0 < T) (hκ : κ < 1) : | |
| 1097 | - let N := ReferencePath.Input.ofNatural hΛ F.profile.family | |
| 1098 | - let L := FromReference.refLog N δ | |
| 1099 | - let U := FromReference.refAxial N δ | |
| 1100 | - let I := ActivationStocks.FromReference.initial N hδ hδlim P0 hP0 | |
| 1101 | - let S := fun q : ℝ × ℝ => activatedStress h N.endpoint I L U T κ (q.2,q.1) | |
| 1102 | - ∃ G : EdgeFactor (Icc (-1 : ℝ) 1) (T^2) S, | |
| 1103 | - HasTrueDirectionCollar (Icc (-1 : ℝ) 1) S G.coefficient | |
| 1104 | - (fun q => shearSize T κ N.endpoint L U (q.2,q.1)) | |
| 1105 | - (fun q => shearSlope T κ N.endpoint L U (q.2,q.1)) G.width := by | |
| 1106 | - let N := ReferencePath.Input.ofNatural hΛ F.profile.family | |
| 1107 | - let L := FromReference.refLog N δ | |
| 1108 | - let U := FromReference.refAxial N δ | |
| 1109 | - have hL := FromReference.refLog_smooth N hδ hδlim | |
| 1110 | - have hU := FromReference.refAxial_smooth N hδ hδlim | |
| 1111 | - have hKJ : Icc (-1 : ℝ) 1 ⊆ ReferencePath.parameterInterval := | |
| 1112 | - NaturalAxisCoefficients.original_interval_interior | |
| 1113 | - obtain ⟨G,hdir⟩ := natural_activation_strict_direction hΛ F hP0 hsmall hδ hδlim hT hκ | |
| 1114 | - obtain ⟨τ,α,M,hτ,_,hα,_,hb⟩ := natural_reference_bounds hΛ F hδ hδlim | |
| 1115 | - have hA0 : ∀ η ∈ Icc (-1 : ℝ) 1, 0 < referenceP1 L (0,η) := by | |
| 1116 | - intro η hη | |
| 1117 | - exact hα.trans_le (hb 0 ⟨le_rfl,hτ.le⟩ η hη).1 | |
| 1118 | - obtain ⟨O,hO,hKO,hv,hs⟩ := actual_shear_domain hT κ N.endpoint_pos | |
| 1119 | - ReferencePath.parameterInterval_open hKJ hL hU hA0 | |
| 1120 | - refine ⟨G,hdir.true_of_speed isCompact_Icc hO hKO hv.continuousOn ?_⟩ | |
| 1121 | - intro η hη | |
| 1122 | - obtain ⟨hAz,hBz⟩ := actual_shear_coordinates_zero hT κ N.endpoint_pos | |
| 1123 | - ReferencePath.parameterInterval_open hL hU (hKJ hη) | |
| 1124 | - change 2 < shearSize T κ N.endpoint L U (0,η) | |
| 1125 | - unfold shearSize | |
| 1126 | - rw [hAz,hBz] | |
| 1127 | - have hh := (hb 0 ⟨le_rfl,hτ.le⟩ η hη).2.1 | |
| 1128 | - linarith | |
| 1129 | - | |
| 1130 | 1008 | end ActualActivation |
| 1131 | 1009 | |
| 1132 | 1010 | section ActualTerminal |
+24 −0 routes/s1-ns-active-2/README.md added View file
| @@ -0,0 +1,24 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-active-2 | |
| 6 | + | |
| 7 | +One unit of S-1 for the `NavierStokes/Active*` family: delete the 5 declarations in | |
| 8 | +`NavierStokes/ActiveAnnulusWeight.lean` that nothing uses (122 lines). | |
| 9 | + | |
| 10 | +- `radial_lower_bound` | |
| 11 | +- `direction_smul` | |
| 12 | +- `EdgeFactor.direction_collar` | |
| 13 | +- `natural_activation_strict_direction` | |
| 14 | +- `natural_activation_true_direction` | |
| 15 | + | |
| 16 | +Treant (TitiSkywalker/NavierStokesAndEuler, run of 2026-12-03) found them unreachable from the four Comparator | |
| 17 | +theorems; this wave was cut again on main at `4385cbe` and re-read under the rule that the paper's results stay. | |
| 18 | +None is reached by `NavierStokes/PaperResults.lean`'s imports, cited by a surviving docstring, or named by a | |
| 19 | +surviving declaration; the two `natural_activation_*` lemmas and `direction_collar`/`direction_smul` were used only | |
| 20 | +by each other. The diff on the Lean file is deletions only. | |
| 21 | + | |
| 22 | +## Next | |
| 23 | + | |
| 24 | +Open the pull request and let `build` confirm the compiled tree. | |