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

Merge pull request #614 from s2-ns-terminal-1
Browse filesperf(NavierStokes/Terminal): 5 files cheaper to elaborate (−8.9%, measured)
main maintainer-statement p1-ns-physical s1-ns-harmonic-11 s1-ns-particular-10 s1-ns-radial-9 s1-ns-wave-11 s1-ns-weighted-10 s1-ns-weighted-12 s2-euler-correction-1 s2-euler-cylinder-1 s2-euler-dirichlet-1 s2-euler-euler-1 s2-euler-finite-1 s2-euler-mean-1 s2-euler-ordinary-2 s2-euler-packet-1 s2-euler-transverse-1 s2-instances-1 s2-ns-actual-1 s2-ns-annular-1 s2-ns-base-1 s2-ns-common-1 s2-ns-correction-1 s2-ns-current-1 s2-ns-five-1 s2-ns-flat-1 s2-ns-global-1 s2-ns-heat-1 s2-ns-mean-1 s2-ns-modulated-1 s2-ns-moment-1 s2-ns-outgoing-2 s2-ns-periodic-1 s2-ns-periodized-1 s2-ns-physical-1 s2-ns-positive-1 s2-ns-pressure-1 s2-ns-primary-1 s2-ns-reserved-1 s2-ns-residual-1 s2-ns-scaled-2 s2-ns-signed-1 s2-ns-slow-1 s2-ns-smooth-1 s2-ns-temporal-1 s2-ns-uniform-1 s2-ns-variable-1 s2-ns-viscous-1 s2-ns-volterra-2 s5-cap-1 s5-euler-all-1 s5-euler-base-1 s5-euler-bounded-1 s5-euler-canonical-1 s5-euler-coefficient-1 s5-euler-compact-1 s5-euler-continuous-1 s5-euler-correction-1 s5-euler-cylinder-1 s5-euler-drift-1 s5-euler-duhamel-1 s5-euler-elapsed-1 s5-euler-elapsed-2 s5-euler-euler-1 s5-euler-external-1 s5-euler-field-1 s5-euler-fixed-1 s5-euler-gained-1 s5-euler-gaussian-1 s5-euler-gevrey-1 s5-euler-graph-1 s5-euler-h5-1 s5-euler-h6-1 s5-euler-heat-1 s5-euler-inviscid-1 s5-euler-lifted-1 s5-euler-linear-1 s5-euler-lp-1 s5-euler-mean-1 s5-euler-mixed-1 s5-euler-ordinary-1 s5-euler-packet-1 s5-euler-parameter-1 s5-euler-parent-1 s5-euler-physical-1 s5-euler-projected-1 s5-euler-quadratic-1 s5-euler-regularized-1 s5-euler-small-1 s5-euler-smooth-1 s5-euler-sobolev-1 s5-euler-source-1 s5-euler-stage-1 s5-euler-static-1 s5-euler-terminal-1 s5-euler-time-1 s5-euler-top-1 s5-euler-transverse-1 s5-euler-weighted-1 s5-euler-whole-1 s5-ns-actual-1 s5-ns-axis-1 s5-ns-generic-1 s5-ns-label-1 s5-ns-local-1 s5-ns-mean-1 s5-ns-moment-1 s5-ns-particular-1 s5-ns-periodic-1 s5-ns-periodize-1 s5-ns-positive-1 s5-ns-r3-folder-1 s5-ns-reference-1 s5-ns-sharp-1 s5-ns-smooth-1 s5-ns-torus-1 s5-ns-valid-1 s5-ns-whole-1 s5-ns-within-1
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+2 −2 NavierStokes/TerminalCompensation.lean View file
| @@ -39,7 +39,7 @@ theorem lower_gt_left (P : Patch) (j : Fin 3) : P.left < lower P j := by | ||
| 39 | 39 | |
| 40 | 40 | theorem lower_lt_upper (P : Patch) (j : Fin 3) : lower P j < upper P j := by |
| 41 | 41 | dsimp [lower, upper] |
| 42 | - nlinarith [P.ordered] | |
| 42 | + linarith [P.ordered] | |
| 43 | 43 | |
| 44 | 44 | theorem upper_lt_right (P : Patch) (j : Fin 3) : upper P j < P.right := by |
| 45 | 45 | fin_cases j <;> simp only [upper] <;> |
| @@ -411,7 +411,7 @@ theorem exists_normalized_compensation (P : Patch) (lam : ℝ) (hlam : 0 ≤ lam | ||
| 411 | 411 | have hsub : Metric.ball (0 : Coeff) ε ⊆ Metric.ball 0 (r / (4 * β)) := |
| 412 | 412 | Metric.ball_subset_ball (min_le_left _ _) |
| 413 | 413 | have hC₀ : 2 * β ≤ C := by dsimp [C]; nlinarith |
| 414 | - have hC₁ : D * (2 * β) ≤ C := by dsimp [C]; nlinarith | |
| 414 | + have hC₁ : D * (2 * β) ≤ C := by dsimp [C]; linarith | |
| 415 | 415 | have hzero : g 0 = 0 := by |
| 416 | 416 | have hz := (hgeq 0 (Metric.mem_ball_self (div_pos hr (by positivity)))).2 |
| 417 | 417 | simpa only [norm_zero, mul_zero, norm_le_zero_iff] using hz |
+7 −7 NavierStokes/TerminalCone.lean View file
| @@ -99,7 +99,7 @@ theorem profileRadius_annulus (y0 : ℝ) {δ : ℝ} (hδ : δ ≤ 5 / 2) : | ||
| 99 | 99 | have he : Real.exp (y0 + 3 - 0) ≤ Real.exp 3 * Real.exp (y0 + 3 - δ) := by |
| 100 | 100 | rw [← Real.exp_add] |
| 101 | 101 | exact Real.exp_le_exp.mpr (by linarith) |
| 102 | - nlinarith | |
| 102 | + linarith | |
| 103 | 103 | |
| 104 | 104 | theorem le_on_closed_band {f g : ℝ → ℝ} (hf : Continuous f) (hg : Continuous g) |
| 105 | 105 | (h : ∀ eta ∈ Ioo (-1 : ℝ) 1, f eta ≤ g eta) {eta : ℝ} (heta : eta ∈ Icc (-1 : ℝ) 1) : |
| @@ -136,10 +136,10 @@ theorem heatSlope_bounds (d : OutgoingTail.TailData) (hh : d.h ≤ 1 / 4) | ||
| 136 | 136 | have hdh : (1 + d.h) * d.h ≤ 2 * d.h := by nlinarith [d.h_pos] |
| 137 | 137 | have hn : -deriv (HeatProfileExtension.extension (1 + d.h)) z ≤ 2 * d.h := by |
| 138 | 138 | have he := (abs_le.mp hder).1 |
| 139 | - nlinarith | |
| 139 | + linarith | |
| 140 | 140 | have hprod : 2 * d.h * z ≤ d.h / 8 := by nlinarith [d.h_pos] |
| 141 | 141 | have hhprod : d.h * (1 + d.h) * z ≤ d.h / 8 := |
| 142 | - (mul_le_mul_of_nonneg_right (by nlinarith : d.h * (1 + d.h) ≤ 2 * d.h) hz).trans hprod | |
| 142 | + (mul_le_mul_of_nonneg_right (by linarith : d.h * (1 + d.h) ≤ 2 * d.h) hz).trans hprod | |
| 143 | 143 | have hHhalf : 1 / 2 ≤ HeatProfileExtension.extension (1 + d.h) z := by |
| 144 | 144 | have hl := (abs_le.mp hdev).1 |
| 145 | 145 | linarith |
| @@ -148,7 +148,7 @@ theorem heatSlope_bounds (d : OutgoingTail.TailData) (hh : d.h ≤ 1 / 4) | ||
| 148 | 148 | · exact div_nonneg (mul_nonneg_of_nonpos_of_nonpos (neg_nonpos.mpr hz) hneg.le) hH.le |
| 149 | 149 | · apply (div_le_iff₀ hH).mpr |
| 150 | 150 | have hnprod := mul_le_mul_of_nonneg_left hn hz |
| 151 | - nlinarith [mul_le_mul_of_nonneg_left hHhalf (div_nonneg d.h_pos.le (by norm_num : (0 : ℝ) ≤ 4))] | |
| 151 | + linarith [mul_le_mul_of_nonneg_left hHhalf (div_nonneg d.h_pos.le (by norm_num : (0 : ℝ) ≤ 4))] | |
| 152 | 152 | |
| 153 | 153 | theorem profileZ_small (_d : OutgoingTail.TailData) {K δ eta : ℝ} |
| 154 | 154 | (hK : 32 ≤ K) (hδ : δ ≤ 5 / 2) (heta : eta ^ 2 ≤ 1) : |
| @@ -160,7 +160,7 @@ theorem profileZ_small (_d : OutgoingTail.TailData) {K δ eta : ℝ} | ||
| 160 | 160 | unfold TerminalEdgeFactor.profileZ |
| 161 | 161 | apply (div_le_iff₀ (TerminalEdgeFactor.profileS_pos _ _)).mpr |
| 162 | 162 | dsimp only |
| 163 | - nlinarith [sq_nonneg eta] | |
| 163 | + linarith [sq_nonneg eta] | |
| 164 | 164 | |
| 165 | 165 | theorem profileSpeed_eq {C : ℝ} (hC : 0 < C) (d : OutgoingTail.TailData) (y0 : ℝ) |
| 166 | 166 | {eta δ : ℝ} (heta : eta ^ 2 ≤ 1) : |
| @@ -320,7 +320,7 @@ theorem release_small (d : OutgoingTail.TailData) (hsmall : SmallTail d) : | ||
| 320 | 320 | _ ≤ d.h * 1 ^ 3 := mul_le_mul_of_nonneg_left (pow_le_pow_left₀ d.h_pos.le hh1 3) d.h_pos.le |
| 321 | 321 | _ = _ := by ring |
| 322 | 322 | have hs := (le_div_iff₀ (show 0 < 1 + releaseBudget d.core by linarith)).mp hsmall.2 |
| 323 | - nlinarith [mul_le_mul_of_nonneg_left hhpow hB, d.h_pos] | |
| 323 | + linarith [mul_le_mul_of_nonneg_left hhpow hB, d.h_pos] | |
| 324 | 324 | |
| 325 | 325 | theorem profileAxialStress_le_angular (d : OutgoingTail.TailData) (hsmall : SmallTail d) |
| 326 | 326 | {K δ eta : ℝ} (hK : 0 < K) (hδ : 0 < δ) (hδ' : δ ≤ 5 / 2) |
| @@ -399,7 +399,7 @@ theorem profile_cone_margin (d : OutgoingTail.TailData) (hsmall : SmallTail d) | ||
| 399 | 399 | (Real.log K - 1 / 5) (eta, δ) - 2 := by linarith [d.h_pos] |
| 400 | 400 | have hm := mul_le_mul_of_nonneg_left ht2 hv |
| 401 | 401 | unfold TerminalEdgeFactor.profileConeGap |
| 402 | - nlinarith [hsmall.1] | |
| 402 | + linarith [hsmall.1] | |
| 403 | 403 | |
| 404 | 404 | theorem profile_relative_cone (d : OutgoingTail.TailData) (hsmall : SmallTail d) |
| 405 | 405 | {K δ eta : ℝ} (hK : 32 ≤ K) (hδ : 0 < δ) (hδ' : δ ≤ 5 / 2) |
+3 −3 NavierStokes/TerminalEdgeFactor.lean View file
| @@ -697,7 +697,7 @@ theorem profileZ_contDiff (y0 : ℝ) : ContDiff ℝ ∞ (profileZ y0) := | ||
| 697 | 697 | ((profileS_contDiff y0).comp contDiff_snd) (fun y => (profileS_pos y0 y.2).ne') |
| 698 | 698 | |
| 699 | 699 | theorem profileZ_nonneg (y0 : ℝ) {y : ℝ × ℝ} (hη : y.1 ^ 2 ≤ 1) : |
| 700 | - 0 ≤ profileZ y0 y := div_nonneg (by nlinarith) (profileS_pos y0 y.2).le | |
| 700 | + 0 ≤ profileZ y0 y := div_nonneg (by linarith) (profileS_pos y0 y.2).le | |
| 701 | 701 | |
| 702 | 702 | noncomputable def profileCarrier (C : ℝ) (d : TailData) (y0 : ℝ) (y : ℝ × ℝ) : ℝ := |
| 703 | 703 | C * (profileS y0 y.2) ^ RadialHeatProfile.spatialExponent (1 + d.h) * |
| @@ -849,7 +849,7 @@ theorem profilePressureFactor_contDiff (C : ℝ) (d : TailData) (y0 : ℝ) : | ||
| 849 | 849 | theorem scale_three (c x : ℝ) : FlatPrimitive.scale c 3 x = FlatCutoff.edge c x := by |
| 850 | 850 | by_cases hx : x = 0 |
| 851 | 851 | · subst x |
| 852 | - simp [FlatPrimitive.scale, FlatCutoff.edge_zero] | |
| 852 | + simp [FlatCutoff.edge_zero] | |
| 853 | 853 | · simp only [FlatPrimitive.scale, div_mul_cancel₀ _ (pow_ne_zero 3 hx)] |
| 854 | 854 | |
| 855 | 855 | theorem profilePressureGradient_factorization (C : ℝ) (d : TailData) (y0 : ℝ) |
| @@ -1291,7 +1291,7 @@ theorem profileCarrier_radial_gap {C : ℝ} (hC : 0 < C) (d : TailData) (y0 : | ||
| 1291 | 1291 | profileZ y0 y * deriv (HeatProfileExtension.extension (1 + d.h)) (profileZ y0 y)) + |
| 1292 | 1292 | HeatProfileExtension.extension (1 + d.h) (profileZ y0 y) < 0 := by |
| 1293 | 1293 | unfold RadialHeatProfile.spatialExponent |
| 1294 | - nlinarith | |
| 1294 | + linarith | |
| 1295 | 1295 | have hi := mul_neg_of_pos_of_neg |
| 1296 | 1296 | (mul_pos hC (Real.rpow_pos_of_pos hs (RadialHeatProfile.spatialExponent (1 + d.h)))) hb |
| 1297 | 1297 | convert! hi using 1 |
+5 −5 NavierStokes/TerminalHistoryBridge.lean View file
| @@ -551,7 +551,7 @@ theorem physicalLog_amplitudeOperator {h b XR : ℝ} (hh : 0 < h) (hh' : h < 1/2 | ||
| 551 | 551 | have heta : (SimilarityProfile.inner h p).2 ∈ Ioo (-1) 1 := by |
| 552 | 552 | change SimilarityProfile.eta h p ∈ Ioo (-1) 1 |
| 553 | 553 | have he := SimilarityProfile.eta_sq_lt_one hh hh' ht |
| 554 | - constructor <;> nlinarith [sq_nonneg (SimilarityProfile.eta h p+1),sq_nonneg (SimilarityProfile.eta h p-1)] | |
| 554 | + constructor <;> linarith [sq_nonneg (SimilarityProfile.eta h p+1),sq_nonneg (SimilarityProfile.eta h p-1)] | |
| 555 | 555 | have hd := radialLift_contDiffAt hXR hG hx heta |
| 556 | 556 | have hL := SimilarityProfile.L_pos hh hh' ht |
| 557 | 557 | unfold amplitudeOperator physicalLog |
| @@ -580,7 +580,7 @@ theorem physicalLog_angularResidual (F : Profile) {XR C : ℝ} (w : Compensation | ||
| 580 | 580 | div_pos hs (SimilarityProfile.q_pos F.data.h_pos F.data.h_lt_half ht) |
| 581 | 581 | have heta : SimilarityProfile.eta F.data.h p ∈ Ioo (-1) 1 := by |
| 582 | 582 | have he := SimilarityProfile.eta_sq_lt_one F.data.h_pos F.data.h_lt_half ht |
| 583 | - constructor <;> nlinarith [sq_nonneg (SimilarityProfile.eta F.data.h p+1),sq_nonneg (SimilarityProfile.eta F.data.h p-1)] | |
| 583 | + constructor <;> linarith [sq_nonneg (SimilarityProfile.eta F.data.h p+1),sq_nonneg (SimilarityProfile.eta F.data.h p-1)] | |
| 584 | 584 | have hp : logPoint XR (SimilarityProfile.inner F.data.h p) ∈ HeatSwitchHistoryDerivatives.interiorDomain.carrier := |
| 585 | 585 | ⟨mem_univ _,heta⟩ |
| 586 | 586 | unfold angularResidual etaDerivative |
| @@ -600,7 +600,7 @@ theorem physicalLog_axialResidual (F : Profile) {XR C : ℝ} (w : CompensationWi | ||
| 600 | 600 | have heta : (SimilarityProfile.inner F.data.h p).2 ∈ Ioo (-1) 1 := by |
| 601 | 601 | change SimilarityProfile.eta F.data.h p ∈ Ioo (-1) 1 |
| 602 | 602 | have he := SimilarityProfile.eta_sq_lt_one F.data.h_pos F.data.h_lt_half ht |
| 603 | - constructor <;> nlinarith [sq_nonneg (SimilarityProfile.eta F.data.h p+1),sq_nonneg (SimilarityProfile.eta F.data.h p-1)] | |
| 603 | + constructor <;> linarith [sq_nonneg (SimilarityProfile.eta F.data.h p+1),sq_nonneg (SimilarityProfile.eta F.data.h p-1)] | |
| 604 | 604 | have hm : logPoint XR (SimilarityProfile.inner F.data.h p) ∈ HeatSwitchHistoryDerivatives.interiorDomain.carrier := |
| 605 | 605 | ⟨mem_univ _,heta⟩ |
| 606 | 606 | have hg := HeatSwitchHistoryDerivatives.logPi_contDiffOn F w |
| @@ -705,7 +705,7 @@ theorem terminal_germs (F : Profile) {XR C : ℝ} (w : CompensationWitness F XR | ||
| 705 | 705 | have hx := div_pos hq.2.1 (SimilarityProfile.q_pos F.data.h_pos F.data.h_lt_half hq.1) |
| 706 | 706 | have heta : SimilarityProfile.eta F.data.h q ∈ HeatedOutgoing.parameterDomain := by |
| 707 | 707 | have he := SimilarityProfile.eta_sq_lt_one F.data.h_pos F.data.h_lt_half hq.1 |
| 708 | - constructor <;> nlinarith [sq_nonneg (SimilarityProfile.eta F.data.h q+1),sq_nonneg (SimilarityProfile.eta F.data.h q-1)] | |
| 708 | + constructor <;> linarith [sq_nonneg (SimilarityProfile.eta F.data.h q+1),sq_nonneg (SimilarityProfile.eta F.data.h q-1)] | |
| 709 | 709 | unfold physicalLog SimilarityProfile.pullback |
| 710 | 710 | rw [logPi_radialLift F w hx heta] |
| 711 | 711 | exact physicalPressure_eq_terminal F w.radius_pos w.coefficients hq.1 hq.2.1 hq.2.2.le |
| @@ -917,7 +917,7 @@ theorem eta_mem_interior {h : ℝ} (hh : 0 < h) (hh' : h < 1/2) | ||
| 917 | 917 | {p : SimilarityProfile.PhysicalPoint} (ht : p.1 < 1) : |
| 918 | 918 | SimilarityProfile.eta h p ∈ Ioo (-1) 1 := by |
| 919 | 919 | have he := SimilarityProfile.eta_sq_lt_one hh hh' ht |
| 920 | - constructor <;> nlinarith [sq_nonneg (SimilarityProfile.eta h p+1),sq_nonneg (SimilarityProfile.eta h p-1)] | |
| 920 | + constructor <;> linarith [sq_nonneg (SimilarityProfile.eta h p+1),sq_nonneg (SimilarityProfile.eta h p-1)] | |
| 921 | 921 | |
| 922 | 922 | theorem full_switch_late (F : Profile) {XR X : ℝ} (hXR : 0 < XR) (hX : 0 < X) |
| 923 | 923 | (hfull : 1/2 ≤ Real.log (X/OutgoingDilation.switchRadius F XR)+1/5) : |
+5 −5 NavierStokes/TerminalPressure.lean View file
| @@ -274,7 +274,7 @@ theorem compactDeficit_integrand_smooth {h B : ℝ} {f : ℝ → ℝ} | ||
| 274 | 274 | (p : ℝ × ℝ) (hν : 0 < p.1) (u : ℝ) (hu : u ∈ Icc (0 : ℝ) 1) : |
| 275 | 275 | ContDiffAt ℝ ∞ |
| 276 | 276 | (fun z : (ℝ × ℝ) × ℝ => deficitDensity h f z.1 (1 + (B - 1) * z.2)) (p, u) := by |
| 277 | - have hv : 0 < 1 + (B - 1) * u := by nlinarith [mul_nonneg (sub_nonneg.mpr hB) hu.1] | |
| 277 | + have hv : 0 < 1 + (B - 1) * u := by linarith [mul_nonneg (sub_nonneg.mpr hB) hu.1] | |
| 278 | 278 | exact (deficitDensity_contDiffAt hh hf hν hv).comp (p, u) |
| 279 | 279 | (contDiffAt_fst.prodMk (contDiffAt_const.add (contDiffAt_const.mul contDiffAt_snd))) |
| 280 | 280 | |
| @@ -804,7 +804,7 @@ theorem logScaleDerivative_bound {h : ℝ} {p : SimilarityProfile.PhysicalPoint} | ||
| 804 | 804 | abs_of_pos (mul_pos hpow hL)] |
| 805 | 805 | calc |
| 806 | 806 | _ ≤ 2 / (SimilarityProfile.q h p ^ CoordinateAlgebra.D h * CoordinateAlgebra.L h (SimilarityProfile.eta h p)) := by |
| 807 | - exact div_le_div_of_nonneg_right (by nlinarith) (mul_pos hpow hL).le | |
| 807 | + exact div_le_div_of_nonneg_right (by linarith) (mul_pos hpow hL).le | |
| 808 | 808 | _ ≤ 2 / (SimilarityProfile.q h p ^ CoordinateAlgebra.D h * (1 - 2 * h)) := |
| 809 | 809 | div_le_div_of_nonneg_left (by norm_num) (mul_pos hpow hh0) |
| 810 | 810 | (mul_le_mul_of_nonneg_left hL0 hpow.le) |
| @@ -1132,7 +1132,7 @@ theorem heatAmplitude_annulus_lower {C h t r R Λ : ℝ} | ||
| 1132 | 1132 | have hpow : Λ ^ (-amplitudeExponent h) * (r ^ 2 / 2) ^ (-amplitudeExponent h) ≤ |
| 1133 | 1133 | (R ^ 2 / 2) ^ (-amplitudeExponent h) := by |
| 1134 | 1134 | rw [← Real.mul_rpow hΛp.le ha.le] |
| 1135 | - exact Real.rpow_le_rpow_of_nonpos hb (by nlinarith) (by dsimp [amplitudeExponent]; linarith) | |
| 1135 | + exact Real.rpow_le_rpow_of_nonpos hb (by linarith) (by dsimp [amplitudeExponent]; linarith) | |
| 1136 | 1136 | have harg : 2 * (1 - t) / (R ^ 2 / 2) ≤ 2 * (1 - t) / (r ^ 2 / 2) := |
| 1137 | 1137 | div_le_div_of_nonneg_left (by positivity) ha hab |
| 1138 | 1138 | have hH := heatProfile_antitoneOn hh (div_pos (by positivity) hb) (div_pos (by positivity) ha) harg |
| @@ -1141,7 +1141,7 @@ theorem heatAmplitude_annulus_lower {C h t r R Λ : ℝ} | ||
| 1141 | 1141 | have he := mul_le_mul hpow hH hHa (Real.rpow_nonneg hb.le _) |
| 1142 | 1142 | have heC := mul_le_mul_of_nonneg_left he hC.le |
| 1143 | 1143 | simpa only [TerminalStress.heatAmplitude, RadialHeatProfile.radialProfile_source_formula, |
| 1144 | - amplitudeExponent, mul_assoc, mul_left_comm, mul_comm] using heC | |
| 1144 | + amplitudeExponent, mul_assoc, mul_left_comm] using heC | |
| 1145 | 1145 | |
| 1146 | 1146 | theorem timeDenominator_le_q {h t z : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (ht : t < 1) : |
| 1147 | 1147 | TerminalStress.timeDenominator h t z ≤ SimilarityProfile.q h (t, (0, z)) := by |
| @@ -1198,7 +1198,7 @@ theorem terminal_tilt_bound {C h t z r R Y Λ : ℝ} {f : ℝ → ℝ} | ||
| 1198 | 1198 | have hax := (axialBackwardStress_bound hC hh hh1 ht hr hrR hf hb hmono hplateau hR).2 |
| 1199 | 1199 | have hlength : (R ^ 2 - r ^ 2) / (2 * r) ≤ (Λ - 1) * r / 2 := by |
| 1200 | 1200 | apply (div_le_iff₀ (by positivity : 0 < 2 * r)).mpr |
| 1201 | - nlinarith | |
| 1201 | + linarith | |
| 1202 | 1202 | have hB : |axialBackwardStress C h f t z r| ≤ |
| 1203 | 1203 | ((Λ - 1) * r / 2) * (c * q ^ (-CoordinateAlgebra.D h)) * K ^ 2 * E := by |
| 1204 | 1204 | apply hax.trans |
+24 −0 routes/s2-ns-terminal-1/README.md added View file
| @@ -0,0 +1,24 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-terminal-1 | |
| 6 | + | |
| 7 | +S-2, one unit: the family `NavierStokes/Terminal*`, five files made cheaper to | |
| 8 | +elaborate — `TerminalCompensation.lean`, `TerminalCone.lean`, | |
| 9 | +`TerminalEdgeFactor.lean`, `TerminalHistoryBridge.lean` and `TerminalPressure.lean` | |
| 10 | +(22 lines out, 22 in). The edits are Treant's `speedup_trials` stage | |
| 11 | +(TitiSkywalker/NavierStokesAndEuler, run of 2026-12-03 at upstream `f9e8bc5`), | |
| 12 | +carried onto main at `d956c7c` and counted there file by file. They touch proofs | |
| 13 | +only: `nlinarith` becomes `linarith` where the hypotheses already give the goal | |
| 14 | +linearly, and two `simp`/`simpa` argument lists lose an entry that does not change | |
| 15 | +the goal. No statement, import line or docstring changes, and no `maxHeartbeats`. | |
| 16 | + | |
| 17 | +The measured cost and the way it was counted are in the pull request's description. | |
| 18 | + | |
| 19 | +## Next | |
| 20 | + | |
| 21 | +Push, let `challenge` and `build` report on the pull request, and answer the | |
| 22 | +maintainer agent's review. If `build` rejects one file's edits, drop that whole | |
| 23 | +file from the pull request and take its row out of the table (a file's numbers are | |
| 24 | +for all of its edits together). | |