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

perf(NavierStokes/Actual): 19 files cheaper to elaborate (−4.7%, measured)
Browse filesCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main s2-instances-1 s2-ns-actual-1 s2-ns-periodic-1 s2-ns-smooth-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
ci/docs
Details
+4 −6 NavierStokes/ActualBaseVelocityBounds.lean View file
| @@ -118,8 +118,7 @@ theorem finiteRate_negative_power {D : Type} [NormedAddCommGroup D] [NormedSpace | ||
| 118 | 118 | have hpC : a ^ p ≤ C := by dsimp [C]; linarith |
| 119 | 119 | have hiC : a⁻¹ ≤ C := by dsimp [C]; linarith |
| 120 | 120 | have hU : IsOpen {z | 0 < f z} := isOpen_lt continuous_const hf.continuous |
| 121 | - refine ⟨WeightedQuotients.orderBound p m * C ^ (2 * m + 1), by | |
| 122 | - exact mul_nonneg (WeightedQuotients.orderBound_nonneg p m) (pow_nonneg (zero_le_one.trans hC) _), ?_⟩ | |
| 121 | + refine ⟨WeightedQuotients.orderBound p m * C ^ (2 * m + 1), mul_nonneg (WeightedQuotients.orderBound_nonneg p m) (pow_nonneg (zero_le_one.trans hC) _), ?_⟩ | |
| 123 | 122 | filter_upwards [hq, hlower, hd] with z hz hlo hdz |
| 124 | 123 | have hfp : 0 < f z := (mul_pos ha hz.1).trans_le hlo |
| 125 | 124 | have hqpow : 1 ≤ q z ^ (-2 : ℝ) := by |
| @@ -310,7 +309,7 @@ theorem heat_velocity_rate {l : Filter SpaceTime} (hl : l ≤ endpoint) | ||
| 310 | 309 | have hC := scalarConst_rate hpe positiveRadius_isOpen hlU hs C |
| 311 | 310 | have hlow2 : ∀ᶠ z in l, (2 * R) * q z ≤ 2 * physicalEnergy z := by |
| 312 | 311 | filter_upwards [hlow] with z hz |
| 313 | - nlinarith | |
| 312 | + linarith | |
| 314 | 313 | have hd := finiteRate_negative_power (contDiff_const.mul physicalEnergy_smooth) |
| 315 | 314 | (isCompact_closedBall _ _) hK hq (mul_pos (by norm_num) hR) hlow2 |
| 316 | 315 | (p := -(1 / 2 : ℝ)) (by constructor <;> norm_num) m |
| @@ -359,8 +358,7 @@ theorem leadingVelocity_eq (h C : ℝ) (d : Coefficients) (z : SpaceTime) : | ||
| 359 | 358 | ext i |
| 360 | 359 | fin_cases i <;> |
| 361 | 360 | simp [leadingVelocity, AxisymmetricResidual.velocity, AxisymmetricResidual.componentX, |
| 362 | - AxisymmetricResidual.componentY, AxisymmetricResidual.lift, AxisymmetricResidual.pack, | |
| 363 | - BaseExterior.leadingAngular, cartesianMonomial, angularVector, coordinateVector, Fin.ext_iff] <;> ring | |
| 361 | + AxisymmetricResidual.componentY, AxisymmetricResidual.lift, BaseExterior.leadingAngular, cartesianMonomial, angularVector, coordinateVector, Fin.ext_iff] <;> ring | |
| 364 | 362 | |
| 365 | 363 | theorem leadingVelocity_rate {l : Filter SpaceTime} {h C lo hi : ℝ} |
| 366 | 364 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) |
| @@ -387,7 +385,7 @@ theorem heatLoss_controls_core {h : ℝ} (hh1 : h < 1 / 2) (m : ℕ) : | ||
| 387 | 385 | -heatLoss m ≤ -CoordinateAlgebra.A h - 2 * ((m : ℝ) + 1) := by |
| 388 | 386 | unfold heatLoss powerLoss CoordinateAlgebra.A |
| 389 | 387 | have hm : 0 ≤ (m : ℝ) := by positivity |
| 390 | - nlinarith [sq_nonneg (m : ℝ)] | |
| 388 | + linarith [sq_nonneg (m : ℝ)] | |
| 391 | 389 | |
| 392 | 390 | theorem heatLoss_controls_middle {h : ℝ} (hh1 : h < 1 / 2) (m : ℕ) : |
| 393 | 391 | -heatLoss m ≤ -CoordinateAlgebra.A h - 1 / 2 - m := by |
+2 −2 NavierStokes/ActualCarrierGeometry.lean View file
| @@ -117,9 +117,9 @@ theorem logCoordinate_in_broad_band {q : ℝ} (hq : 0 < q) {n : ℕ} | ||
| 117 | 117 | -Real.log q / Real.log 2 < (n : ℝ) + 2 |
| 118 | 118 | constructor |
| 119 | 119 | · apply (lt_div_iff₀ h2).mpr |
| 120 | - nlinarith | |
| 120 | + linarith | |
| 121 | 121 | · apply (div_lt_iff₀ h2).mpr |
| 122 | - nlinarith | |
| 122 | + linarith | |
| 123 | 123 | |
| 124 | 124 | variable {B N0 : ℕ} |
| 125 | 125 | |
+2 −2 NavierStokes/ActualCurrentParticularPhysical.lean View file
| @@ -128,7 +128,7 @@ theorem localPotentialMode_eq (x : CycleState (Label B N0)) (l : Label B N0) | ||
| 128 | 128 | (nativePotential x l j n (nativePoint n w))) := by |
| 129 | 129 | ext i |
| 130 | 130 | fin_cases i <;> simp [localPotentialMode, cylindricalPotential, nativePoint, |
| 131 | - PhysicalCurlCovariance.realVector, Complex.real_smul] | |
| 131 | + Complex.real_smul] | |
| 132 | 132 | |
| 133 | 133 | /-! ## The polar angle is only a coordinate choice -/ |
| 134 | 134 | |
| @@ -179,7 +179,7 @@ theorem periodic_eq_of_cos_sin {E : Type*} {f : ℝ → E} | ||
| 179 | 179 | (hf : Function.Periodic f (2 * Real.pi)) {a b : ℝ} |
| 180 | 180 | (hc : Real.cos a = Real.cos b) (hs : Real.sin a = Real.sin b) : f a = f b := by |
| 181 | 181 | obtain ⟨k, hk⟩ := Real.Angle.angle_eq_iff_two_pi_dvd_sub.mp (Real.Angle.cos_sin_inj hc hs) |
| 182 | - have he : a = b + (k : ℝ) * (2 * Real.pi) := by nlinarith [hk] | |
| 182 | + have he : a = b + (k : ℝ) * (2 * Real.pi) := by linarith [hk] | |
| 183 | 183 | rw [he] |
| 184 | 184 | exact hf.int_mul k b |
| 185 | 185 | |
+4 −4 NavierStokes/ActualCurrentWaveSupport.lean View file
| @@ -83,13 +83,13 @@ theorem profileRadius_mem_iff_active {w : SpaceTime} (ht : w.1 < 1) : | ||
| 83 | 83 | · intro hs |
| 84 | 84 | have hl := (sq_le_sq₀ ha.le hr).mpr hs.1 |
| 85 | 85 | have hu := (sq_le_sq₀ hr hb.le).mpr hs.2 |
| 86 | - constructor <;> nlinarith | |
| 86 | + constructor <;> linarith | |
| 87 | 87 | · intro hs |
| 88 | 88 | constructor |
| 89 | 89 | · apply (sq_le_sq₀ ha.le hr).mp |
| 90 | - nlinarith [hs.1] | |
| 90 | + linarith [hs.1] | |
| 91 | 91 | · apply (sq_le_sq₀ hr hb.le).mp |
| 92 | - nlinarith [hs.2] | |
| 92 | + linarith [hs.2] | |
| 93 | 93 | |
| 94 | 94 | /-- The normalized radius of the actual scaled graph agrees with the |
| 95 | 95 | band-independent physical ratio, also at the axis. -/ |
| @@ -439,7 +439,7 @@ theorem modes_zero_of_native | ||
| 439 | 439 | constructor |
| 440 | 440 | · rw [ActualCurrentParticularPhysical.localPotentialMode_eq, ha] |
| 441 | 441 | ext i |
| 442 | - fin_cases i <;> simp [PhysicalCurlCovariance.realVector, AxisymmetricResidual.pack] | |
| 442 | + fin_cases i <;> simp [PhysicalCurlCovariance.realVector] | |
| 443 | 443 | · change (ChartScales.Q n) ^ (-2 * CoordinateAlgebra.A ActualPrimary.h) * |
| 444 | 444 | (ActualCurrentParticularPhysical.nativePressure x l j n |
| 445 | 445 | (ActualCurrentParticularPhysical.nativePoint n w)).re = 0 |
+5 −5 NavierStokes/ActualGaussianCoverage.lean View file
| @@ -99,7 +99,7 @@ theorem envelope_uniform_bound {lam0 u0 : ℝ} (_hlam0 : 0 < lam0) (hu0 : 0 < u0 | ||
| 99 | 99 | have hm := mul_le_mul_of_nonneg_right |
| 100 | 100 | (mul_le_mul_of_nonneg_right hcoeff (sq_nonneg (theta F clock l n v - 1 / 2))) |
| 101 | 101 | (ScaledActualParticularControl.length_pos F clock l n).le |
| 102 | - nlinarith | |
| 102 | + linarith | |
| 103 | 103 | |
| 104 | 104 | end ScaledEnvelope |
| 105 | 105 | |
| @@ -198,7 +198,7 @@ theorem nativeCutoff_central_germ {r L c : ℝ} (hr : 0 < r) (hL : 0 < L) (hc : | ||
| 198 | 198 | nativeCutoff r L hr hL c =ᶠ[𝓝 z] fun _ => 1 := by |
| 199 | 199 | have hm : CopySolveCompatibility.nativeTimeMap 0 c z ∈ (referenceWindow r L hr hL).core := by |
| 200 | 200 | simp only [referenceWindow, PeriodicPhaseAssembly.ClockWindow.core, |
| 201 | - CopySolveCompatibility.nativeTimeMap, zero_add, mem_prod] | |
| 201 | + CopySolveCompatibility.nativeTimeMap, zero_add] | |
| 202 | 202 | exact ⟨hz.1, mul_nonneg hc.le hz.2.1, |
| 203 | 203 | by simpa only [mul_comm] using (le_div_iff₀ hc).mp hz.2.2⟩ |
| 204 | 204 | have ho := ((referenceWindow r L hr hL).cutoff_germ hm).comp_tendsto |
| @@ -241,7 +241,7 @@ theorem coordinates_path_outer (g : Geometry) (k : Frequency) {Y : Plane} | ||
| 241 | 241 | g.coordinates k (g.path k Y v) ∈ outerCell r L c := by |
| 242 | 242 | rw [g.coordinates_path] |
| 243 | 243 | refine ⟨hY.1, ?_, ?_⟩ |
| 244 | - · exact (div_nonpos_of_nonpos_of_nonneg (by nlinarith [padding_pos hr hL]) hc.le).trans hv.1 | |
| 244 | + · exact (div_nonpos_of_nonpos_of_nonneg (by linarith [padding_pos hr hL]) hc.le).trans hv.1 | |
| 245 | 245 | · exact hv.2.trans (div_le_div_of_nonneg_right (by linarith [padding_pos hr hL]) hc.le) |
| 246 | 246 | |
| 247 | 247 | theorem other_sourceCell_excluded (g : Geometry) {r L c : ℝ} |
| @@ -484,7 +484,7 @@ theorem gaussian_clock_uniform_jets | ||
| 484 | 484 | mul_le_mul (inverse_length_bound F clock hu0 hu l n) (hcost l n) |
| 485 | 485 | (zero_le_one.trans (CommonCoverClass.one_le_argumentCost _)) hc |
| 486 | 486 | _ ≤ (1 + (clock.upper * F.M / u0) * K) * s.slow n ^ p := by |
| 487 | - nlinarith [pow_nonneg (zero_le_one.trans (s.one_le_slow n)) p] | |
| 487 | + linarith [pow_nonneg (zero_le_one.trans (s.one_le_slow n)) p] | |
| 488 | 488 | have hj := affine_profile_uniform_jets s C |
| 489 | 489 | (fun l n => normalizedLinear (P := P) (g l n) (ScaledActualParticularControl.length F clock l n)) |
| 490 | 490 | (fun l n k => ((g l n).coordinates k 0).2 / ScaledActualParticularControl.length F clock l n) hA |
| @@ -693,7 +693,7 @@ theorem indexed_gaussian_weighted_all_gains {s : StripData X} {K : ℕ → I → | ||
| 693 | 693 | have hPg : W n i x ≤ Real.exp (-(c * ell / 25) * ChartScales.S n) := by |
| 694 | 694 | apply (hW n i x hx hi).trans |
| 695 | 695 | apply (Real.exp_le_exp.2 ?_).trans (gaussian_length_comparison hc.le (hLell n i)) |
| 696 | - nlinarith [mul_le_mul_of_nonneg_left hsq (mul_nonneg hc.le (hL n i).le)] | |
| 696 | + linarith [mul_le_mul_of_nonneg_left hsq (mul_nonneg hc.le (hL n i).le)] | |
| 697 | 697 | have hweight : s.epsilon n ^ α * W n i x ≤ B * s.epsilon n ^ β := |
| 698 | 698 | (mul_le_mul_of_nonneg_left hPg (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le).trans (hshift n) |
| 699 | 699 | calc |
+8 −9 NavierStokes/ActualInitialExcluded.lean View file
| @@ -258,13 +258,13 @@ theorem bandLinear_bound {h Q : ℝ} (hQ : 0 < Q) (hQone : Q ≤ 1) | ||
| 258 | 258 | change max ‖-Q * p.2.2‖ ‖AxisymmetricResidual.pack |
| 259 | 259 | (Real.sqrt Q * p.1) 0 (Q ^ CoordinateAlgebra.D h * p.2.1)‖ ≤ _ |
| 260 | 260 | apply max_le |
| 261 | - · have hn : ‖-Q * p.2.2‖ = |Q * p.2.2| := by simp [Real.norm_eq_abs, abs_mul] | |
| 261 | + · have hn : ‖-Q * p.2.2‖ = |Q * p.2.2| := by simp [abs_mul] | |
| 262 | 262 | rw [hn] |
| 263 | 263 | linarith [norm_nonneg p] |
| 264 | 264 | · have hh := PhaseEstimates.vec3_norm_le_sum |
| 265 | 265 | (AxisymmetricResidual.pack (Real.sqrt Q * p.1) 0 (Q ^ CoordinateAlgebra.D h * p.2.1)) |
| 266 | 266 | simp only [AxisymmetricResidual.pack_zero, AxisymmetricResidual.pack_one, |
| 267 | - AxisymmetricResidual.pack_two, abs_zero, add_zero] at hh | |
| 267 | + AxisymmetricResidual.pack_two, abs_zero] at hh | |
| 268 | 268 | linarith [norm_nonneg p] |
| 269 | 269 | |
| 270 | 270 | theorem Q_tendsto_zero : Tendsto ChartScales.Q atTop (𝓝 0) := by |
| @@ -504,7 +504,7 @@ theorem baseError_zero_angle (n : ℕ) (x : BaseContextAssembly.Point) (i : Fin | ||
| 504 | 504 | simp only [ActualBaseResidual.baseError, ActualBaseResidual.errorAtScale, neg_zero, |
| 505 | 505 | ActualBaseResidual.physicalPoint_zero_angle, CylindricalResidual.frame_apply, |
| 506 | 506 | Real.cos_zero, Real.sin_zero, one_mul, zero_mul, sub_zero, zero_add, normalizedBase, |
| 507 | - BaseContextAssembly.physicalPoint, PiLp.smul_apply, smul_eq_mul] | |
| 507 | + BaseContextAssembly.physicalPoint, PiLp.smul_apply] | |
| 508 | 508 | congr 1 |
| 509 | 509 | fin_cases i <;> simp |
| 510 | 510 | |
| @@ -541,8 +541,7 @@ theorem nativeGaussian_zero_plateau (l : SignedLabel B N0) {x : Native} | ||
| 541 | 541 | nativeGaussian l =ᶠ[𝓝 x] fun _ => 0 := by |
| 542 | 542 | have hc : ContinuousAt (fun z : Native => z.2.2 / ((ActualPrimary.phases B N0 0).L l.2)) x := |
| 543 | 543 | continuousAt_snd.snd.div_const _ |
| 544 | - have he : ActualPrimary.gaussian l.2 =ᶠ[𝓝 x] fun _ => 1 := by | |
| 545 | - exact (GaussianTailFlat.profile_eventually_one hx).comp_tendsto hc.tendsto | |
| 544 | + have he : ActualPrimary.gaussian l.2 =ᶠ[𝓝 x] fun _ => 1 := (GaussianTailFlat.profile_eventually_one hx).comp_tendsto hc.tendsto | |
| 546 | 545 | have hd : fderiv ℝ (ActualPrimary.gaussian l.2) =ᶠ[𝓝 x] |
| 547 | 546 | fderiv ℝ (fun _ : Native => (1 : ℝ)) := he.fderiv |
| 548 | 547 | filter_upwards [hd] with z hz |
| @@ -577,7 +576,7 @@ theorem gaussianLength_near (l : SignedLabel B N0) (n : ℕ) (hn : near l n) : | ||
| 577 | 576 | ChartScales.slotLength ActualPrimary.slots.radius ActualPrimary.h (BaseChartJets.cellBand l.2) at hl |
| 578 | 577 | change _ ≤ ChartScales.slotLength ActualPrimary.slots.radius ActualPrimary.h (BaseChartJets.cellBand l.2) |
| 579 | 578 | unfold gaussianLengthLower |
| 580 | - nlinarith [mul_le_mul_of_nonneg_left hs ActualPrimary.slots.radius_pos.le] | |
| 579 | + linarith [mul_le_mul_of_nonneg_left hs ActualPrimary.slots.radius_pos.le] | |
| 581 | 580 | |
| 582 | 581 | /-- Outside the active finite band window the copied field is identically |
| 583 | 582 | zero. The auxiliary length merely makes the global index bookkeeping total. -/ |
| @@ -757,7 +756,7 @@ theorem nativeGaussian_source_support (l : SignedLabel B N0) : | ||
| 757 | 756 | simpa only [div_eq_mul_inv, inv_one, mul_one, one_mul, mul_comm] using |
| 758 | 757 | (le_div_iff₀ hL).mp hlo |
| 759 | 758 | · change x.2.2 ≤ 5 * ((ActualPrimary.phases B N0 0).L l.2 / 1) / 6 |
| 760 | - simpa only [div_eq_mul_inv, inv_one, mul_one, one_mul, mul_comm, mul_assoc, mul_left_comm] using | |
| 759 | + simpa only [div_eq_mul_inv, inv_one, one_mul, mul_comm, mul_assoc, mul_left_comm] using | |
| 761 | 760 | (div_le_iff₀ hL).mp hhi |
| 762 | 761 | |
| 763 | 762 | end InitialLabelSupport |
| @@ -829,7 +828,7 @@ theorem chartGaussian_germ (l : SignedLabel B N0) (n : ℕ) (k : TorusInverse.Fr | ||
| 829 | 828 | (chartCutoff_germ l n k hc).fderiv |
| 830 | 829 | filter_upwards [hd, ActualPrimaryDynamics.amplitude_germ l.1 l.2 n k hc] with y hy ha |
| 831 | 830 | simp only [chartGaussian, LinearWaveBounds.excludedSlotError, LinearWaveBounds.GraphDirections.Dfast, |
| 832 | - LinearWaveBounds.GraphDirections.fastField, HarmonicCalculus.along, Pi.zero_apply, smul_zero, | |
| 831 | + HarmonicCalculus.along, Pi.zero_apply, smul_zero, | |
| 833 | 832 | add_zero, hy, ha] |
| 834 | 833 | change fderiv ℝ (fun y => ActualPrimary.gaussian l.2 (ActualPrimaryDynamics.copyPoint l.1 l.2 n k y)) y |
| 835 | 834 | ((PrimaryResidualClass.directions (ActualPrimary.commonContext B)).fastField n y) • |
| @@ -1041,7 +1040,7 @@ theorem pressureAlias_all_gains_of_cumulative (d : ActualInitialMean.PrimaryData | ||
| 1041 | 1040 | have hW : ∀ i j, MeanClass strip 1 ((ActualInitialMean.ranked B N0).covariance i j) := by |
| 1042 | 1041 | intro i j |
| 1043 | 1042 | simp only [CorrectionState.State.covariance, ActualInitialMean.ranked, |
| 1044 | - ActualInitialMean.temporal, ActualInitialMean.primary, VariableGaugeMean.rankStageState, | |
| 1043 | + ActualInitialMean.temporal, VariableGaugeMean.rankStageState, | |
| 1045 | 1044 | VariableGaugeMean.temporalStageState, VariableGaugeMean.reconstructState, |
| 1046 | 1045 | CorrectionState.State.addIncrement, add_zero] |
| 1047 | 1046 | exact d.covariance i j |
+1 −2 NavierStokes/ActualInitialMeanEquation.lean View file
| @@ -360,8 +360,7 @@ theorem piece_divergence {B N0 : ℕ} (l : Label B N0 × Fin 2) (n : ℕ) {x : F | ||
| 360 | 360 | LiftedMeanResidual.axialDirection (commonContext B) n := by |
| 361 | 361 | funext y |
| 362 | 362 | simp [PrimaryResidualClass.directions, LinearWaveBounds.GraphDirections.axialField, |
| 363 | - LiftedMeanResidual.axialDirection, LiftedMeanResidual.axialVector, | |
| 364 | - LiftedMeanResidual.liftDirection] | |
| 363 | + LiftedMeanResidual.axialDirection, LiftedMeanResidual.liftDirection] | |
| 365 | 364 | rfl |
| 366 | 365 | rw [hr, hzz] at hz |
| 367 | 366 | exact componentDivergence_of_complex _ _ _ _ hv hz |
+1 −1 NavierStokes/ActualIterationLedger.lean View file
| @@ -75,7 +75,7 @@ theorem gain_add_tendsto_atTop {h : ℝ} (hh : 0 < h) (a : ℝ) : | ||
| 75 | 75 | have hp := (div_lt_iff₀ hh).mp hN |
| 76 | 76 | have hm := mul_le_mul_of_nonneg_left hn hh.le |
| 77 | 77 | unfold gain |
| 78 | - nlinarith | |
| 78 | + linarith | |
| 79 | 79 | |
| 80 | 80 | theorem gain_tendsto_atTop {h : ℝ} (hh : 0 < h) : Tendsto (gain h) atTop atTop := by |
| 81 | 81 | simpa only [add_zero] using gain_add_tendsto_atTop hh 0 |
+1 −1 NavierStokes/ActualMeanExterior.lean View file
| @@ -59,7 +59,7 @@ theorem active_of_mem_tsupport | ||
| 59 | 59 | Real.sq_sqrt (mul_nonneg (by norm_num) (LeadingStressWeights.activeRight_pos nominal).le) |
| 60 | 60 | change (SlowBorelBase.cartesianChart h w).2.1 ∈ |
| 61 | 61 | Icc (NominalConeAssembly.activeLeft nominal) (NominalConeAssembly.activeRight nominal) |
| 62 | - constructor <;> nlinarith | |
| 62 | + constructor <;> linarith | |
| 63 | 63 | |
| 64 | 64 | theorem not_mem_tsupport_of_exterior |
| 65 | 65 | (D : CoherentFamily h degree N Δ standardRegion.carrier ℝ) |
+12 −15 NavierStokes/ActualParticularControl.lean View file
| @@ -98,8 +98,7 @@ theorem frame_coefficient_jets_bounded | ||
| 98 | 98 | apply hh.congr |
| 99 | 99 | intro i z _ |
| 100 | 100 | ext w k |
| 101 | - fin_cases k <;> simp [PrimaryODE.FrameData.coefficient, PrimaryODE.FrameData.damping, | |
| 102 | - GrowingMode.modalOperator] | |
| 101 | + fin_cases k <;> simp [PrimaryODE.FrameData.coefficient, PrimaryODE.FrameData.damping] | |
| 103 | 102 | |
| 104 | 103 | end SelectedFrame |
| 105 | 104 | |
| @@ -459,7 +458,7 @@ private theorem majorant_enlarge (s : StripData E) (w : ℕ → E → ℝ) (α : | ||
| 459 | 458 | have ht := mul_le_mul_of_nonneg_right hp |
| 460 | 459 | (mul_nonneg (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le hw) |
| 461 | 460 | unfold majorant |
| 462 | - nlinarith only [ht] | |
| 461 | + linarith only [ht] | |
| 463 | 462 | |
| 464 | 463 | end FiniteHarmonics |
| 465 | 464 | |
| @@ -640,7 +639,7 @@ theorem transported_coefficient (d : PrimaryODE.FrameData P) (φ : Q → P) | ||
| 640 | 639 | simp only [PrimaryODE.FrameData.coefficient,h11,h12,h21,h22,PrimaryODE.FrameData.damping] |
| 641 | 640 | ext x i |
| 642 | 641 | fin_cases i <;> |
| 643 | - simp [transportedFrame, GrowingMode.modalOperator] <;> ring | |
| 642 | + simp [transportedFrame] <;> ring | |
| 644 | 643 | |
| 645 | 644 | theorem transported_energy {ι : Type*} {D : PhaseJetBounds.Domain ι PhaseCalculus.Slow} |
| 646 | 645 | (F : PhaseConstruction D) (i : ι) (φ : Q → PhaseCalculus.Slow) |
| @@ -659,7 +658,7 @@ theorem transported_envelope_deriv (lam u L shift rate v : ℝ) : | ||
| 659 | 658 | referenceP lam u L (shift+rate*v)) v := by |
| 660 | 659 | have ht : HasDerivAt (fun t : ℝ => shift+rate*t) rate v := by |
| 661 | 660 | simpa using ((hasDerivAt_id v).const_mul rate).const_add shift |
| 662 | - simpa only [Function.comp_def, smul_eq_mul, mul_assoc, mul_left_comm, mul_comm] using | |
| 661 | + simpa only [Function.comp_def, smul_eq_mul, mul_assoc, mul_left_comm] using | |
| 663 | 662 | (referenceP_hasDerivAt lam u L (shift+rate*v)).scomp v ht |
| 664 | 663 | |
| 665 | 664 | /-- Clock shortening exactly compensates the rescaling of the modal error |
| @@ -680,7 +679,7 @@ theorem transported_normal (d : PrimaryODE.FrameData P) (φ : Q → P) | ||
| 680 | 679 | normalScale • d.normal (φ z.1,shift+rate*z.2) := by |
| 681 | 680 | ext i |
| 682 | 681 | fin_cases i <;> |
| 683 | - simp [transportedFrame, PrimaryODE.FrameData.normal, MovingFrameODE.normal, MovingFrameODE.pack] <;> ring | |
| 682 | + simp [transportedFrame, PrimaryODE.FrameData.normal, MovingFrameODE.normal] <;> ring | |
| 684 | 683 | |
| 685 | 684 | theorem transported_normalMotion (d : PrimaryODE.FrameData P) (φ : Q → P) |
| 686 | 685 | (shift rate normalScale : ℝ) (z : Q × ℝ) : |
| @@ -688,8 +687,7 @@ theorem transported_normalMotion (d : PrimaryODE.FrameData P) (φ : Q → P) | ||
| 688 | 687 | (normalScale*rate) • d.normalMotion (φ z.1,shift+rate*z.2) := by |
| 689 | 688 | ext i |
| 690 | 689 | fin_cases i <;> |
| 691 | - simp [transportedFrame, PrimaryODE.FrameData.normalMotion, MovingFrameODE.normalMotion, | |
| 692 | - MovingFrameODE.pack] <;> ring | |
| 690 | + simp [transportedFrame, PrimaryODE.FrameData.normalMotion, MovingFrameODE.normalMotion] <;> ring | |
| 693 | 691 | |
| 694 | 692 | theorem transported_kinematics (d : PrimaryODE.FrameData P) (φ : Q → P) |
| 695 | 693 | (shift rate normalScale : ℝ) (hnormal : normalScale ≠ 0) |
| @@ -702,22 +700,22 @@ theorem transported_kinematics (d : PrimaryODE.FrameData P) (φ : Q → P) | ||
| 702 | 700 | fun v hv => hd.eigenvector_ne_zero _ (hmap hv), ?_, ?_, ?_, ?_, ?_⟩ |
| 703 | 701 | · intro v hv |
| 704 | 702 | have he := ((hd.beta_deriv _ (hmap hv)).scomp v (ht v)).const_mul normalScale |
| 705 | - simpa only [transportedFrame,Function.comp_def,smul_eq_mul,mul_assoc,mul_left_comm,mul_comm] using he | |
| 703 | + simpa only [transportedFrame,Function.comp_def,smul_eq_mul,mul_assoc,mul_left_comm] using he | |
| 706 | 704 | · intro v hv |
| 707 | 705 | have he := (hd.rho_deriv _ (hmap hv)).scomp v (ht v) |
| 708 | - simp only [transportedFrame, Function.comp_def, smul_eq_mul, mul_comm] at he ⊢ | |
| 706 | + simp only [transportedFrame, Function.comp_def, smul_eq_mul] at he ⊢ | |
| 709 | 707 | exact he |
| 710 | 708 | · intro v hv |
| 711 | 709 | have he := (hd.eigenvector_deriv _ (hmap hv)).scomp v (ht v) |
| 712 | - simp only [transportedFrame, Function.comp_def, smul_eq_mul, mul_assoc,mul_left_comm,mul_comm] at he ⊢ | |
| 710 | + simp only [transportedFrame, Function.comp_def, smul_eq_mul, mul_assoc,mul_left_comm] at he ⊢ | |
| 713 | 711 | exact he |
| 714 | 712 | · intro v hv |
| 715 | 713 | have he := (hd.frameK_deriv _ (hmap hv)).scomp v (ht v) |
| 716 | - simp only [transportedFrame, Function.comp_def, smul_smul, mul_comm] at he ⊢ | |
| 714 | + simp only [transportedFrame, Function.comp_def, smul_smul] at he ⊢ | |
| 717 | 715 | exact he |
| 718 | 716 | · intro v hv |
| 719 | 717 | have he := (hd.frameN_deriv _ (hmap hv)).scomp v (ht v) |
| 720 | - simp only [transportedFrame, Function.comp_def, smul_smul, mul_neg, mul_comm] at he ⊢ | |
| 718 | + simp only [transportedFrame, Function.comp_def, smul_smul, mul_neg] at he ⊢ | |
| 721 | 719 | exact he |
| 722 | 720 | |
| 723 | 721 | /-- The transformed frame is precisely the tangent transport already used |
| @@ -743,8 +741,7 @@ theorem frameTangentData_transport | ||
| 743 | 741 | ext i |
| 744 | 742 | fin_cases i <;> |
| 745 | 743 | simp [ transportedFrame, |
| 746 | - PrimaryCopyBridge.baseOperator_apply, MovingFrameODE.baseAction, MovingFrameODE.pack, | |
| 747 | - PrimaryCopyBridge.nativePoint, CopySolveCompatibility.nativeTimeMap] <;> ring | |
| 744 | + PrimaryCopyBridge.baseOperator_apply, MovingFrameODE.baseAction, PrimaryCopyBridge.nativePoint, CopySolveCompatibility.nativeTimeMap] <;> ring | |
| 748 | 745 | · funext z |
| 749 | 746 | simp [ transportedFrame, |
| 750 | 747 | PrimaryODE.FrameData.damping, PrimaryCopyBridge.nativePoint, CopySolveCompatibility.nativeTimeMap] |
+1 −1 NavierStokes/ActualPhaseJetBounds.lean View file
| @@ -351,7 +351,7 @@ theorem phaseLinear_bound {l : SignedLabel B N0} {n : ℕ} | ||
| 351 | 351 | · exact (norm_smul_le _ _).trans |
| 352 | 352 | (mul_le_mul (by simpa only [Real.norm_eq_abs] using hd) hz |
| 353 | 353 | (norm_nonneg _) (mul_nonneg hM0 (inv_nonneg.mpr he.le))) |
| 354 | - _ ≤ _ := by nlinarith [mul_le_mul_of_nonneg_left hprod hM0] | |
| 354 | + _ ≤ _ := by linarith [mul_le_mul_of_nonneg_left hprod hM0] | |
| 355 | 355 | |
| 356 | 356 | theorem localPhase_positive_jets (m : ℕ) : |
| 357 | 357 | ∃ C : ℝ, 1 ≤ C ∧ ∃ p : ℕ, ∀ n (i : CopyIndex B N0) x, |
+2 −2 NavierStokes/ActualPhysicalPrefixFields.lean View file
| @@ -47,7 +47,7 @@ theorem periodic_eq_of_cos_sin {E : Type*} {f : ℝ → E} | ||
| 47 | 47 | (hc : Real.cos alpha = Real.cos beta) (hs : Real.sin alpha = Real.sin beta) : |
| 48 | 48 | f alpha = f beta := by |
| 49 | 49 | obtain ⟨k, hk⟩ := Real.Angle.angle_eq_iff_two_pi_dvd_sub.mp (Real.Angle.cos_sin_inj hc hs) |
| 50 | - have he : alpha = beta + (k : ℝ) * (2 * Real.pi) := by nlinarith [hk] | |
| 50 | + have he : alpha = beta + (k : ℝ) * (2 * Real.pi) := by linarith [hk] | |
| 51 | 51 | rw [he] |
| 52 | 52 | exact hf.int_mul k beta |
| 53 | 53 | |
| @@ -177,7 +177,7 @@ theorem graphMapTZ_replaceAngle (G : ScaledGraph) (z : SpaceTime) (theta : ℝ) | ||
| 177 | 177 | PhysicalResidualTZ.graphMapTZ G (replaceAngle z theta) = |
| 178 | 178 | ((PhysicalResidualTZ.graphMapTZ G z).1, theta) := by |
| 179 | 179 | simp [PhysicalResidualTZ.graphMapTZ, replaceAngle, PhysicalResidualBridge.ScaledGraph.map, |
| 180 | - PhysicalResidualTZ.swapCylinder_apply, PhysicalResidualTZ.swapSlow_apply] | |
| 180 | + PhysicalResidualTZ.swapCylinder_apply] | |
| 181 | 181 | |
| 182 | 182 | theorem velocityTZ_periodic (G : ScaledGraph) (a : Cylinder → Fin 3 → ℝ) |
| 183 | 183 | (ha : ∀ x : Point, Function.Periodic (fun theta => a (x, theta)) (2 * Real.pi)) : |
+2 −2 NavierStokes/ActualPolarCoverage.lean View file
| @@ -109,9 +109,9 @@ theorem graph_profileRadius_mem {F : OutgoingProfile.Profile} | ||
| 109 | 109 | Real.sq_sqrt (mul_nonneg (by norm_num) (LeadingStressWeights.activeRight_pos W).le) |
| 110 | 110 | constructor |
| 111 | 111 | · apply (sq_le_sq₀ ha.le hr).mp |
| 112 | - nlinarith [hactive.1] | |
| 112 | + linarith [hactive.1] | |
| 113 | 113 | · apply (sq_le_sq₀ hr hb.le).mp |
| 114 | - nlinarith [hactive.2] | |
| 114 | + linarith [hactive.2] | |
| 115 | 115 | |
| 116 | 116 | /-! ## Closure of a moving strip, including both radial endpoints -/ |
| 117 | 117 | |
+2 −3 NavierStokes/ActualPrimaryCoherence.lean View file
| @@ -436,8 +436,7 @@ theorem frequencySlow_smoothAt (B n : ℕ) {p : PhaseCalculus.Slow} | ||
| 436 | 436 | (x := BaseContextAssembly.insertSlow y) hyT hyR |
| 437 | 437 | apply (eq_div_iff hyR.ne').mpr |
| 438 | 438 | simp only [BaseContextAssembly.base, BaseContextAssembly.frequencyBase, |
| 439 | - BaseContextAssembly.frequencySlow, BaseContextAssembly.insertSlow, | |
| 440 | - BaseContextAssembly.slowCoordinates_apply, mul_comm] at hh ⊢ | |
| 439 | + BaseContextAssembly.frequencySlow, BaseContextAssembly.slowCoordinates_apply, mul_comm] at hh ⊢ | |
| 441 | 440 | exact hh |
| 442 | 441 | exact (hs.div contDiffAt_fst hR.ne').congr_of_eventuallyEq he |
| 443 | 442 | |
| @@ -1622,7 +1621,7 @@ theorem periodic_value_of_polar_eq {E : Type} (f : TorusInverse.Plane → E) | ||
| 1622 | 1621 | apply mul_left_cancel₀ hr |
| 1623 | 1622 | simpa only [PolarCharts.polar,hqr] using congrArg Prod.snd hq |
| 1624 | 1623 | obtain ⟨n,hn⟩ := Real.Angle.angle_eq_iff_two_pi_dvd_sub.mp (Real.Angle.cos_sin_inj hc hs) |
| 1625 | - have he : q.2 = θ+n*(2*Real.pi) := by nlinarith [hn] | |
| 1624 | + have he : q.2 = θ+n*(2*Real.pi) := by linarith [hn] | |
| 1626 | 1625 | rw [← Prod.eta q,hqr,he] |
| 1627 | 1626 | exact ((hf r).int_mul n) θ |
| 1628 | 1627 | |
+3 −3 NavierStokes/ActualSignedGeometry.lean View file
| @@ -412,7 +412,7 @@ theorem clock_outer_in_slot (hh : 0 ≤ h) {l : SlotColoring.Label} (hl : 4 ≤ | ||
| 412 | 412 | exact he |
| 413 | 413 | have hlo := mul_le_mul_of_nonneg_left he.1 hci.le |
| 414 | 414 | have hhi := mul_le_mul_of_nonneg_left he.2 hci.le |
| 415 | - exact abs_le.mpr ⟨by nlinarith, by nlinarith⟩ | |
| 415 | + exact abs_le.mpr ⟨by linarith, by linarith⟩ | |
| 416 | 416 | refine ⟨z.1, ChartScales.timeCoefficient h l.1 * z.2 - sys.radius, hz1, hz2, ?_⟩ |
| 417 | 417 | dsimp only |
| 418 | 418 | rw [slotGeometry_basis] |
| @@ -452,7 +452,7 @@ theorem slotGeometry_common_cost (hh : 0 ≤ h) {index : ℕ → ℕ} {budget : | ||
| 452 | 452 | have hc := CommonCoverClass.bandArgumentCost_one_le (TorusAverages.slotChart vr vt hdet) |
| 453 | 453 | (budget + SlotColoring.nativeGap h) |
| 454 | 454 | have he := mul_le_mul_of_nonneg_left (S_window_le hn hln) (zero_le_one.trans hc) |
| 455 | - nlinarith | |
| 455 | + linarith | |
| 456 | 456 | |
| 457 | 457 | end Slots |
| 458 | 458 | |
| @@ -744,7 +744,7 @@ noncomputable def temporalVector : Plane := TorusInverse.vector .temporal | ||
| 744 | 744 | |
| 745 | 745 | theorem vectors_det : radialVector.1 * temporalVector.2 - radialVector.2 * temporalVector.1 ≠ 0 := by |
| 746 | 746 | dsimp [radialVector, temporalVector, TorusInverse.vector] |
| 747 | - nlinarith [sq_nonneg (Real.sqrt 2 - 1)] | |
| 747 | + linarith [sq_nonneg (Real.sqrt 2 - 1)] | |
| 748 | 748 | |
| 749 | 749 | noncomputable def slotLinear (g : CommonCoverSolve.Geometry) : Cylinder →L[ℝ] PhaseCalculus.Slot where |
| 750 | 750 | toFun x := ((x.1.1, x.1.2.1), (x.2, (g.coordinateLinear x.1.2.2).2)) |
+2 −2 NavierStokes/ActualSignedNativeBounds.lean View file
| @@ -69,13 +69,13 @@ theorem norm_coverEquiv_symm_le (y : TorusInverse.Plane) : | ||
| 69 | 69 | apply (div_le_iff₀ (by norm_num : (0 : ℝ) < 14)).mpr |
| 70 | 70 | have ha := abs_sub (5 * y.1) y.2 |
| 71 | 71 | rw [abs_mul, abs_of_pos (by norm_num : (0 : ℝ) < 5)] at ha |
| 72 | - nlinarith [norm_nonneg y] | |
| 72 | + linarith [norm_nonneg y] | |
| 73 | 73 | have hY : |x.2| ≤ ‖y‖ := by |
| 74 | 74 | rw [hy, abs_div, abs_of_pos (by norm_num : (0 : ℝ) < 14)] |
| 75 | 75 | apply (div_le_iff₀ (by norm_num : (0 : ℝ) < 14)).mpr |
| 76 | 76 | have ha := abs_sub (3 * y.2) y.1 |
| 77 | 77 | rw [abs_mul, abs_of_pos (by norm_num : (0 : ℝ) < 3)] at ha |
| 78 | - nlinarith [norm_nonneg y] | |
| 78 | + linarith [norm_nonneg y] | |
| 79 | 79 | exact max_le hX hY |
| 80 | 80 | |
| 81 | 81 | theorem norm_coverPower_symm_le (d : ℕ) (y : TorusInverse.Plane) : |
+2 −4 NavierStokes/ActualSignedNativeProfiles.lean View file
| @@ -228,8 +228,7 @@ theorem potential_profiles_jets (i : Fin 3) : | ||
| 228 | 228 | simp only [ite_true] at he |
| 229 | 229 | simp only [DependentSignedPhysicalFamily.Family.potentialCopies, |
| 230 | 230 | DependentSignedPhysicalFamily.Family.assembled, DependentSignedPhysicalFamily.diagonal, |
| 231 | - DependentSignedPhysicalFamily.Family.copyAt, dite_eq_left hactive, | |
| 232 | - ActualSignedPhysicalData.potentialFamily] | |
| 231 | + DependentSignedPhysicalFamily.Family.copyAt, dite_eq_left hactive] | |
| 233 | 232 | exact he.symm |
| 234 | 233 | · have hempty : p ∈ (∅ : Set Slow) := by |
| 235 | 234 | simpa only [profileDomain, PhysicalCopyBounds.copyBandDomain, region, dite_eq_right hI] using hp |
| @@ -250,8 +249,7 @@ theorem pressure_profiles_jets : | ||
| 250 | 249 | simp only [ite_true] at he |
| 251 | 250 | simp only [DependentSignedPhysicalFamily.Family.pressureCopies, |
| 252 | 251 | DependentSignedPhysicalFamily.Family.assembled, DependentSignedPhysicalFamily.diagonal, |
| 253 | - DependentSignedPhysicalFamily.Family.copyAt, dite_eq_left hactive, | |
| 254 | - ActualSignedPhysicalData.pressureFamily] | |
| 252 | + DependentSignedPhysicalFamily.Family.copyAt, dite_eq_left hactive] | |
| 255 | 253 | exact he.symm |
| 256 | 254 | · have hempty : p ∈ (∅ : Set Slow) := by |
| 257 | 255 | simpa only [profileDomain, PhysicalCopyBounds.copyBandDomain, region, dite_eq_right hI] using hp |
+6 −6 NavierStokes/ActualSignedPhysicalData.lean View file
| @@ -105,7 +105,7 @@ theorem width_on_core (label : SlotColoring.Label) (gap : ℕ) (k : Frequency) ( | ||
| 105 | 105 | 2 * sys.radius := by |
| 106 | 106 | unfold ChartScales.slotLength |
| 107 | 107 | field_simp |
| 108 | - exact abs_le.mpr ⟨by nlinarith [mul_nonneg hci.le hv.1], by nlinarith⟩ | |
| 108 | + exact abs_le.mpr ⟨by linarith [mul_nonneg hci.le hv.1], by linarith⟩ | |
| 109 | 109 | |
| 110 | 110 | noncomputable def nativeMask (label : SlotColoring.Label) (z : Plane) : ℝ := |
| 111 | 111 | PartitionedCovariance.cutoff sys.radius z.1 * |
| @@ -309,7 +309,7 @@ theorem rotateCoefficient_chart_re {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index | ||
| 309 | 309 | rw [← hs] |
| 310 | 310 | field_simp |
| 311 | 311 | fin_cases i <;> simp [rotateCoefficient, hcos, hsin, CylindricalResidual.frame_apply, |
| 312 | - PhysicalCurlCovariance.realVector, AxisymmetricResidual.pack, coordinateVector, | |
| 312 | + AxisymmetricResidual.pack, coordinateVector, | |
| 313 | 313 | -Complex.ofReal_cos, -Complex.ofReal_sin] |
| 314 | 314 | |
| 315 | 315 | theorem cylinderAt_fst {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) {x : LiftPoint} |
| @@ -382,7 +382,7 @@ theorem cylinderAt_physical_forward (h : ℝ) (n : ℕ) {a : ℝ} (ha : 0 < a) | ||
| 382 | 382 | PhysicalGraphBounds.nativeGraph h n (z.1, CylindricalResidual.chart z.2))), z.2 1) := by |
| 383 | 383 | unfold cylinderAt |
| 384 | 384 | rw [PhysicalGraphBounds.liftXY_physicalLift, hp] |
| 385 | - ext <;> simp [PhysicalGraphBounds.liftZT, PhysicalGraphBounds.physicalLift, | |
| 385 | + ext <;> simp [PhysicalGraphBounds.physicalLift, | |
| 386 | 386 | PhysicalGraphBounds.physicalChart, PhysicalGraphBounds.chartLinear_apply, |
| 387 | 387 | CylindricalResidual.chart, AxisymmetricResidual.pack, coordinateVector] |
| 388 | 388 | ring |
| @@ -1070,7 +1070,7 @@ theorem primitive_annulus (hh0 : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hb : 0 < | ||
| 1070 | 1070 | have hs := Real.sqrt_pos.mpr hq |
| 1071 | 1071 | have hslow := normalized_slow_norm hh0 hh1 hy.1 hy.2.1 hy.2.2.1 |
| 1072 | 1072 | have hlo : 1 / 2 ≤ Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) y.2.1) := |
| 1073 | - (Real.le_sqrt (by norm_num) hq.le).mpr (by nlinarith [hy.2.1]) | |
| 1073 | + (Real.le_sqrt (by norm_num) hq.le).mpr (by linarith [hy.2.1]) | |
| 1074 | 1074 | have hhi : Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) y.2.1) ≤ 2 := |
| 1075 | 1075 | (Real.sqrt_le_left (by norm_num)).mpr (by linarith [hy.2.2.1]) |
| 1076 | 1076 | have hradlo := (le_div_iff₀ hs).mp hy.2.2.2.1 |
| @@ -1623,11 +1623,11 @@ theorem polarCoordinates_backward {a : ℝ} (ha : 0 < a) (j : PolarCharts.Index) | ||
| 1623 | 1623 | ext i |
| 1624 | 1624 | fin_cases i |
| 1625 | 1625 | · simpa [PhysicalCurlCovariance.polarCoordinates, PhysicalCurlCovariance.polarInput, |
| 1626 | - CylindricalResidual.chart, AxisymmetricResidual.pack, coordinateVector, | |
| 1626 | + CylindricalResidual.chart, coordinateVector, | |
| 1627 | 1627 | PiLp.single_apply, PolarCharts.polar, PhysicalGraphBounds.radialProjection_apply] |
| 1628 | 1628 | using congrArg Prod.fst hp |
| 1629 | 1629 | · simpa [PhysicalCurlCovariance.polarCoordinates, PhysicalCurlCovariance.polarInput, |
| 1630 | - CylindricalResidual.chart, AxisymmetricResidual.pack, coordinateVector, | |
| 1630 | + CylindricalResidual.chart, coordinateVector, | |
| 1631 | 1631 | PiLp.single_apply, PolarCharts.polar, PhysicalGraphBounds.radialProjection_apply] |
| 1632 | 1632 | using congrArg Prod.snd hp |
| 1633 | 1633 | · simp [PhysicalCurlCovariance.polarCoordinates, CylindricalResidual.chart] |
+2 −2 NavierStokes/ActualSlowAxis.lean View file
| @@ -32,7 +32,7 @@ theorem parameterDomain_subset (Ω : Set ℂ) : parameterDomain Ω ⊆ Ω := fun | ||
| 32 | 32 | |
| 33 | 33 | theorem parameterDomain_conjugate {Ω : Set ℂ} {z : ℂ} (hz : z ∈ parameterDomain Ω) : |
| 34 | 34 | starRingEnd ℂ z ∈ parameterDomain Ω := by |
| 35 | - exact ⟨⟨hz.1.2, by simpa using hz.1.1⟩, by simpa using hz.2⟩ | |
| 35 | + exact ⟨⟨hz.1.2, by simpa using hz.1.1⟩, hz.2⟩ | |
| 36 | 36 | |
| 37 | 37 | theorem parameterDomain_real {Ω : Set ℂ} |
| 38 | 38 | (hreal : ∀ eta ∈ Icc (-1 : ℝ) 1, (eta : ℂ) ∈ Ω) |
| @@ -229,7 +229,7 @@ theorem collar_lt_square (N : ReferencePath.Input) (δ : ℝ) : | ||
| 229 | 229 | have hs := Real.sq_sqrt hp |
| 230 | 230 | have hn := Real.sqrt_nonneg (N.endpoint * Real.exp δ) |
| 231 | 231 | unfold axisRadius |
| 232 | - nlinarith | |
| 232 | + linarith | |
| 233 | 233 | |
| 234 | 234 | noncomputable def hierarchy {T δ : ℝ} (hT : 0 < T) (hδ : 0 < δ) |
| 235 | 235 | (hδT : 2 * δ < ReferencePath.rampLimit) (κ : ℝ) (hP0 : ContDiff ℝ ∞ P0) (C : ℝ) := |
+11 −0 routes/s2-ns-actual-1/README.md added View file
| @@ -0,0 +1,11 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-actual-1 | |
| 6 | + | |
| 7 | +One unit of S-2: makes 19 files of the family `NavierStokes/Actual*` cheaper to elaborate, with edits inside proofs only — `nlinarith` becomes `linarith` where the nonlinearity is not needed, `simp` argument lists lose the entries that do not change the goal, and a few steps are rewritten (`by exact` folded into one line, a `simpa` with fewer lemmas). No statement, no import and no docstring changes, and there is no `maxHeartbeats`. The two ends of the timing table in `PR.md` are the per-file instruction counts measured on one machine before and after; none was measured here. | |
| 8 | + | |
| 9 | +## Next | |
| 10 | + | |
| 11 | +Push and open the pull request into `main`; the maintainer's review comes after `challenge` and `build`. The other units of #11 and of the other families are separate. | |