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 #519 from s1-ns-signed-8
Browse fileschore(NavierStokes/Signed): delete 11 declarations nothing uses
main maintainer-statement s1-euler-angle-9 s1-ns-common-9 s1-ns-curl-9 s1-ns-error-9 s1-ns-graph-9 s1-ns-harmonic-11 s1-ns-particular-10 s1-ns-periodic-9 s1-ns-periodized-9 s1-ns-pressure-9 s1-ns-radial-9 s1-ns-uniform-8 s1-ns-wave-11 s1-ns-weighted-10 s1-ns-weighted-12 s1-ns-weighted-9 s2-build-profile-files s2-euler-all-1 s2-euler-correction-1 s2-euler-cylinder-1 s2-euler-dirichlet-1 s2-euler-euler-1 s2-euler-finite-1 s2-euler-flow-1 s2-euler-mean-1 s2-euler-ordinary-2 s2-euler-packet-1 s2-euler-small-1 s2-euler-sobolev-1 s2-euler-squared-1 s2-euler-static-1 s2-euler-terminal-1 s2-euler-time-1 s2-euler-transport-1 s2-euler-transverse-1 s2-euler-unshifted-1 s2-euler-vorticity-1 s2-euler-weighted-1 s2-instances-1 s2-ns-activation-1 s2-ns-actual-1 s2-ns-aligned-1 s2-ns-angular-1 s2-ns-annular-1 s2-ns-axis-1 s2-ns-base-1 s2-ns-chart-1 s2-ns-closed-1 s2-ns-common-1 s2-ns-cone-1 s2-ns-coordinate-1 s2-ns-corrected-1 s2-ns-correction-1 s2-ns-covariance-1 s2-ns-current-1 s2-ns-cylindrical-1 s2-ns-diophantine-1 s2-ns-direct-1 s2-ns-extended-1 s2-ns-five-1 s2-ns-flat-1 s2-ns-future-1 s2-ns-gauge-1 s2-ns-gaussian-1 s2-ns-global-1 s2-ns-glued-1 s2-ns-growing-1 s2-ns-heat-1 s2-ns-initial-1 s2-ns-label-1 s2-ns-local-1 s2-ns-loop-1 s2-ns-matching-1 s2-ns-mean-1 s2-ns-modulated-1 s2-ns-moment-1 s2-ns-moving-1 s2-ns-native-1 s2-ns-natural-1 s2-ns-normal-1 s2-ns-outgoing-1 s2-ns-outgoing-2 s2-ns-parametric-1 s2-ns-periodic-1 s2-ns-periodized-1 s2-ns-phase-1 s2-ns-physical-1 s2-ns-polar-1 s2-ns-positive-1 s2-ns-pressure-1 s2-ns-primary-1 s2-ns-profile-1 s2-ns-pulse-1 s2-ns-r3-1 s2-ns-r3-folder-1 s2-ns-reference-1 s2-ns-renormalized-1 s2-ns-repair-1 s2-ns-reserved-1 s2-ns-reset-1 s2-ns-residual-1 s2-ns-scaled-1 s2-ns-scaled-2 s2-ns-scaling-1 s2-ns-shape-1 s2-ns-shaped-1 s2-ns-signed-1 s2-ns-similarity-1 s2-ns-slot-1 s2-ns-slow-1 s2-ns-smooth-1 s2-ns-spatial-1 s2-ns-squared-1 s2-ns-stress-1 s2-ns-tail-1 s2-ns-temporal-1 s2-ns-terminal-1 s2-ns-transition-1 s2-ns-uniform-1 s2-ns-variable-1 s2-ns-viscous-1 s2-ns-volterra-1 s2-ns-volterra-2 s5-ns-generic-1
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −56 NavierStokes/SignedCopyBounds.lean View file
| @@ -626,33 +626,6 @@ theorem coefficients_jets (h : NativeCovariance s K H T) | ||
| 626 | 626 | local_projectedPressure hN hNdot hA hv' |
| 627 | 627 | (fun n x hx => mul_nonneg (Real.sqrt_nonneg _) (hW n x hx)) hb hl hu hK |
| 628 | 628 | |
| 629 | -/-- The cutoff is applied exactly once. These are the coefficients consumed | |
| 630 | -by `PeriodizedWaveBounds.CopyData.common_bounds_from_native`. -/ | |
| 631 | -theorem coefficients_localized_jets (h : NativeCovariance s K H T) | |
| 632 | - (hR : ∀ q, LocalJets s (fun _ x => s.zeta x) β K (fun n i x => R i n x q)) | |
| 633 | - (hm : LocalJets s (fun _ _ => 1) 0 K (fun n i => mask i n)) | |
| 634 | - (hv : LocalJets s W 0 K (fun n i => v i n)) | |
| 635 | - (hW : ∀ n x, x ∈ s.domain → 0 ≤ W n x) | |
| 636 | - (hN : LocalJets s (fun _ _ => 1) 0 K (fun n i => (a i).normal s (d i) n)) | |
| 637 | - (hNdot : LocalJets s (fun _ _ => 1) 0 K (fun n i => Ndot i n)) | |
| 638 | - (hA : LocalJets s (fun _ _ => 1) 0 K (fun n i => A i n)) | |
| 639 | - {b M : ℝ} (hb : 0 < b) | |
| 640 | - (hl : ∀ n i x, x ∈ s.domain → x ∈ K n i → b ≤ ‖(a i).normal s (d i) n x‖) | |
| 641 | - (hu : ∀ n i x, x ∈ s.domain → x ∈ K n i → ‖(a i).normal s (d i) n x‖ ≤ M) | |
| 642 | - (hK : UniformPrimaryWeights.UniformBandBound s (1 / 2) (fun i n => 1 / (a i).frequency n)) | |
| 643 | - {ψ : I → ℕ → D → ℝ} | |
| 644 | - (hψ : LocalJets s (fun _ _ => 1) 0 K (fun n i => ψ i n)) (j : Fin 2) : | |
| 645 | - LocalJets s (fun n x => Real.sqrt (s.zeta x) * W n x) (β + 1 / 2) K | |
| 646 | - (fun n i => ((SignedWaveUpdate.coefficients (a i) s (d i) (H i) (T i) (R i) | |
| 647 | - (mask i) (v i) (Ndot i) (A i) j).withCutoff (ψ i)).amplitude n) ∧ | |
| 648 | - LocalJets s (fun n x => Real.sqrt (s.zeta x) * W n x) (β + 1) K | |
| 649 | - (fun n i => ((SignedWaveUpdate.coefficients (a i) s (d i) (H i) (T i) (R i) | |
| 650 | - (mask i) (v i) (Ndot i) (A i) j).withCutoff (ψ i)).pressure n) := by | |
| 651 | - obtain ⟨ha, hp⟩ := coefficients_jets h hR hm hv hW hN hNdot hA hb hl hu hK j | |
| 652 | - have hw n x hx := mul_nonneg (Real.sqrt_nonneg (s.zeta x)) (hW n x hx) | |
| 653 | - refine ⟨hψ.smul ha hw, ?_⟩ | |
| 654 | - simpa only [LinearWaveBounds.WaveCoefficients.withCutoff, Complex.real_smul] using hψ.smul hp hw | |
| 655 | - | |
| 656 | 629 | end ActualCoefficients |
| 657 | 630 | |
| 658 | 631 | /-! ## Uniformity in an external label as well as the native copy -/ |
| @@ -803,35 +776,6 @@ theorem uniform_coefficients_jets (h : UniformNativeCovariance s K H T) | ||
| 803 | 776 | simp only [show β + 1 / 2 + 1 / 2 = β + 1 by ring] at hp |
| 804 | 777 | exact hp |
| 805 | 778 | |
| 806 | -/-- Uniform native data control the actual once-localized coefficients; | |
| 807 | -the constants can be passed directly to uniform periodization. -/ | |
| 808 | -theorem uniform_coefficients_localized_jets (h : UniformNativeCovariance s K H T) | |
| 809 | - (hR : ∀ q, UniformLocalJets s (fun _ _ x => s.zeta x) β K (fun l n i x => R l i n x q)) | |
| 810 | - (hm : UniformLocalJets s (fun _ _ _ => 1) 0 K (fun l n i => mask l i n)) | |
| 811 | - (hv : UniformLocalJets s W 0 K (fun l n i => v l i n)) | |
| 812 | - (hW : ∀ l n x, x ∈ s.domain → 0 ≤ W l n x) | |
| 813 | - (hN : UniformLocalJets s (fun _ _ _ => 1) 0 K (fun l n i => (a l i).normal s (d l i) n)) | |
| 814 | - (hNdot : UniformLocalJets s (fun _ _ _ => 1) 0 K (fun l n i => Ndot l i n)) | |
| 815 | - (hA : UniformLocalJets s (fun _ _ _ => 1) 0 K (fun l n i => A l i n)) | |
| 816 | - {b M : ℝ} (hb : 0 < b) | |
| 817 | - (hl : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → b ≤ ‖(a l i).normal s (d l i) n x‖) | |
| 818 | - (hu : ∀ l n i x, x ∈ s.domain → x ∈ K l n i → ‖(a l i).normal s (d l i) n x‖ ≤ M) | |
| 819 | - (hK : UniformPrimaryWeights.UniformBandBound s (1 / 2) | |
| 820 | - (fun li : L × I => fun n => 1 / (a li.1 li.2).frequency n)) | |
| 821 | - {ψ : L → I → ℕ → D → ℝ} | |
| 822 | - (hψ : UniformLocalJets s (fun _ _ _ => 1) 0 K (fun l n i => ψ l i n)) (j : Fin 2) : | |
| 823 | - UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) (β + 1 / 2) K | |
| 824 | - (fun l n i => ((SignedWaveUpdate.coefficients (a l i) s (d l i) (H l i) (T l i) (R l i) | |
| 825 | - (mask l i) (v l i) (Ndot l i) (A l i) j).withCutoff (ψ l i)).amplitude n) ∧ | |
| 826 | - UniformLocalJets s (fun l n x => Real.sqrt (s.zeta x) * W l n x) (β + 1) K | |
| 827 | - (fun l n i => ((SignedWaveUpdate.coefficients (a l i) s (d l i) (H l i) (T l i) (R l i) | |
| 828 | - (mask l i) (v l i) (Ndot l i) (A l i) j).withCutoff (ψ l i)).pressure n) := by | |
| 829 | - obtain ⟨ha, hp⟩ := uniform_coefficients_jets h hR hm hv hW hN hNdot hA hb hl hu hK j | |
| 830 | - have hw l n x hx := mul_nonneg (Real.sqrt_nonneg (s.zeta x)) (hW l n x hx) | |
| 831 | - refine ⟨uniform_smul hψ ha hw, ?_⟩ | |
| 832 | - simpa only [LinearWaveBounds.WaveCoefficients.withCutoff, Complex.real_smul] using | |
| 833 | - uniform_smul hψ hp hw | |
| 834 | - | |
| 835 | 779 | end UniformActualCoefficients |
| 836 | 780 | |
| 837 | 781 | end NavierStokes.SignedCopyBounds |
+0 −20 NavierStokes/SignedCovariance.lean View file
| @@ -236,26 +236,6 @@ theorem signed_quotient_class {s : StripData E} {w g r : ℕ → E → ℝ} {β | ||
| 236 | 236 | ← Real.rpow_add (s.epsilon_pos n), add_neg_cancel, Real.rpow_zero, one_mul] |
| 237 | 237 | simpa only [zero_add, heq] using hq |
| 238 | 238 | |
| 239 | -/-- A companion primary square-root bound from the same genuine inputs. -/ | |
| 240 | -theorem sqrt_class {s : StripData E} {w g : ℕ → E → ℝ} | |
| 241 | - (hw : ∀ n x, x ∈ s.domain → 0 < w n x) | |
| 242 | - (hp : ∀ n x, x ∈ s.domain → 0 < g n x) | |
| 243 | - (hg : MemClass s w 0 g) (hlower : InverseControl s w g) : | |
| 244 | - MemClass s (fun n x => Real.sqrt (w n x)) 0 (fun n x => Real.sqrt (g n x)) := by | |
| 245 | - have hq := signed_quotient_class_zero hw hp hg hg hlower | |
| 246 | - have htwo : BandBound s 0 (fun _ => (2 : ℝ)) := by | |
| 247 | - refine ⟨2, by norm_num, 0, ?_⟩ | |
| 248 | - intro n | |
| 249 | - simp | |
| 250 | - have heq : (fun n x => (2 : ℝ) • (g n x / (2 * Real.sqrt (g n x)))) = | |
| 251 | - (fun n x => Real.sqrt (g n x)) := by | |
| 252 | - funext n x | |
| 253 | - simp only [smul_eq_mul] | |
| 254 | - calc | |
| 255 | - 2 * (g n x / (2 * Real.sqrt (g n x))) = g n x / Real.sqrt (g n x) := by ring | |
| 256 | - _ = _ := Real.div_sqrt | |
| 257 | - simpa only [zero_add, heq] using hq.band_smul htwo | |
| 258 | - | |
| 259 | 239 | theorem memClass_congrOn {s : StripData E} {w f g : ℕ → E → ℝ} {β : ℝ} |
| 260 | 240 | (hf : MemClass s w β f) (heq : ∀ n x, x ∈ s.domain → f n x = g n x) : |
| 261 | 241 | MemClass s w β g := by |
+0 −163 NavierStokes/SignedWaveUpdate.lean View file
| @@ -237,55 +237,6 @@ theorem shear_smul (R F G : D → ℝ) (Vr : D → D) (v : D → ComplexVector) | ||
| 237 | 237 | ext i |
| 238 | 238 | fin_cases i <;> simp [LinearWaveResidual.shear, Complex.real_smul] <;> ring |
| 239 | 239 | |
| 240 | -/-- Scaling the actual homogeneous projected ODE by the frozen inverse | |
| 241 | -coefficient gives the signed principal equation, with its pressure constructed | |
| 242 | -from the same normal and action. No signed equation is an input. -/ | |
| 243 | -theorem coefficients_principal_zero | |
| 244 | - {s : StripData D} {d : LinearWaveBounds.GraphDirections D} | |
| 245 | - (a : LinearWaveBounds.WaveCoefficients D) | |
| 246 | - {H : ℕ → D → Mat2} {T R : ℕ → D → Vec2} {mask : ℕ → D → ℝ} | |
| 247 | - {v Ndot : ℕ → D → Space} {A : ℕ → D → Space →L[ℝ] Space} | |
| 248 | - (hcov : CovarianceControl s H T) {β : ℝ} | |
| 249 | - (hR : ∀ i, MeanClass s β (fun n x => R n x i)) | |
| 250 | - (hm : UnweightedClass s 0 mask) {P : ℕ → D → ℝ} (hv : MemClass s P 0 v) | |
| 251 | - (hHf : FrozenAlong d.fast H) (hTf : FrozenAlong d.fast T) | |
| 252 | - (hRf : FrozenAlong d.fast R) (hmf : FrozenAlong d.fast mask) | |
| 253 | - (hK : ∀ n, a.frequency n ≠ 0) | |
| 254 | - (hode : ∀ n x, x ∈ s.domain → along (d.fastField n) (v n) x = | |
| 255 | - TangentProjection.projectedRhs (a.normal s d n x) (Ndot n x) (v n x) | |
| 256 | - (A n x (v n x)) 0 (s.epsilon n * a.frequency n ^ 2 * ‖a.normal s d n x‖ ^ 2)) | |
| 257 | - (haction : ∀ n x, x ∈ s.domain → CurlClassBounds.complexify (A n x (v n x)) = | |
| 258 | - LinearWaveResidual.shear (a.radius n) (a.frequencyBase n) (a.axialBase n) | |
| 259 | - (d.radialField n) (fun y => CurlClassBounds.complexify (v n y)) x) | |
| 260 | - (j : Fin 2) (n : ℕ) {x : D} (hx : x ∈ s.domain) : | |
| 261 | - (coefficients a s d H T R mask v Ndot A j).principal s d n x = 0 := by | |
| 262 | - have hs := signedScalar_class hcov hR hm j | |
| 263 | - have hsD := ((hs.smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) | |
| 264 | - have hvD := ((hv.smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) | |
| 265 | - have hfreeze := (signedScalar_frozen hHf hTf hRf hmf j).derivative n hsD | |
| 266 | - have hfast : along (d.fastField n) (signedScalar s H T R mask j n) x = 0 := by | |
| 267 | - simp only [along, LinearWaveBounds.GraphDirections.fastField, map_smul, hfreeze, smul_zero] | |
| 268 | - have hd : along (d.fastField n) (signedVector s H T R mask v j n) x = | |
| 269 | - TangentProjection.projectedRhs (a.normal s d n x) (Ndot n x) | |
| 270 | - (signedVector s H T R mask v j n x) (A n x (signedVector s H T R mask v j n x)) | |
| 271 | - 0 (s.epsilon n * a.frequency n ^ 2 * ‖a.normal s d n x‖ ^ 2) := by | |
| 272 | - change along (d.fastField n) (fun y => signedScalar s H T R mask j n y • v n y) x = _ | |
| 273 | - rw [along_smul _ hsD hvD, hfast, zero_smul, zero_add, hode n x hx] | |
| 274 | - simp only [signedVector, map_smul, projectedRhs_smul] | |
| 275 | - have hact : CurlClassBounds.complexify (A n x (signedVector s H T R mask v j n x)) = | |
| 276 | - LinearWaveResidual.shear (a.radius n) (a.frequencyBase n) (a.axialBase n) | |
| 277 | - (d.radialField n) (fun y => CurlClassBounds.complexify (signedVector s H T R mask v j n y)) x := by | |
| 278 | - simp only [signedVector, map_smul] | |
| 279 | - rw [shear_smul, haction n x hx] | |
| 280 | - have hh := ParticularWaveBounds.principal_eq_neg_source_of_projected | |
| 281 | - (s.epsilon n) (a.frequency n) (hK n) (a.radius n) (a.frequencyBase n) (a.axialBase n) | |
| 282 | - (a.phase n) (d.radialField n) (fun _ => d.angular) (d.axialField s n) (d.fastField n) | |
| 283 | - (signedVector s H T R mask v j n) (Ndot n) | |
| 284 | - (fun y => A n y (signedVector s H T R mask v j n y)) (fun _ => 0) | |
| 285 | - (hsD.smul hvD) hd hact | |
| 286 | - simpa only [coefficients, homogeneousCoefficients, LinearWaveBounds.WaveCoefficients.principal, | |
| 287 | - LinearWaveBounds.WaveCoefficients.normal, map_zero, neg_zero] using hh | |
| 288 | - | |
| 289 | 240 | /-! ## Instantiation with the constructed primary phase and pulse -/ |
| 290 | 241 | |
| 291 | 242 | noncomputable def phaseMatrix {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} |
| @@ -300,23 +251,6 @@ noncomputable def phaseFundamental {U : PhaseJetBounds.Domain ℕ PhaseCalculus. | ||
| 300 | 251 | fun n x => PrimaryPulseBounds.normalizedPulse ((F j).frame n) |
| 301 | 252 | ((F j).lam n) ((F j).u n) ((F j).L n) (χ n x) |
| 302 | 253 | |
| 303 | -noncomputable def phaseEnvelope {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} | |
| 304 | - (F : Fin 2 → PrimaryPulseBounds.PhaseConstruction U) | |
| 305 | - (χ : ℕ → D → PhaseCalculus.Slow × ℝ) (j : Fin 2) : ℕ → D → ℝ := | |
| 306 | - fun n x => PrimaryPulseBounds.referenceP ((F j).lam n) ((F j).u n) | |
| 307 | - ((F j).L n) ((F j).L n * (χ n x).2) | |
| 308 | - | |
| 309 | -theorem phaseFundamental_class {s : StripData D} | |
| 310 | - {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} | |
| 311 | - (F : Fin 2 → PrimaryPulseBounds.PhaseConstruction U) | |
| 312 | - (χ : ℕ → D → PhaseCalculus.Slow × ℝ) | |
| 313 | - (hscale : ∀ n, U.scale n = s.slow n) | |
| 314 | - (hχ : PhaseJetBounds.PolynomialJets (PrimaryPulseBounds.phaseDomain s) χ) | |
| 315 | - (hmap : ∀ n x, x ∈ s.domain → χ n x ∈ U.carrier n ×ˢ Ioo (0 : ℝ) 1) | |
| 316 | - (j : Fin 2) : MemClass s (phaseEnvelope F χ j) 0 (phaseFundamental F χ j) := by | |
| 317 | - have hp := (F j).pulse_jets.comp hχ hscale hmap | |
| 318 | - exact hp.memClass s (fun _ => rfl) (fun _ => rfl) | |
| 319 | - | |
| 320 | 254 | /-! ## Literal harmonic blocks, with the same carrier metadata -/ |
| 321 | 255 | |
| 322 | 256 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| @@ -572,86 +506,6 @@ theorem angularAverage_re_field (c : HarmonicFields.Coefficients D) (k : ℝ) | ||
| 572 | 506 | |
| 573 | 507 | /-! ## Actual homogeneous ODE under the native clock -/ |
| 574 | 508 | |
| 575 | -theorem normalizedPulse_along | |
| 576 | - {Q : Type} [NormedAddCommGroup Q] [NormedSpace ℝ Q] | |
| 577 | - (f : PrimaryODE.FrameData Q) (lam u : ℝ) {L : ℝ} (hL : 0 < L) | |
| 578 | - (U : Set Q) (hA : ContinuousOn (f.coefficient 1) (U ×ˢ Icc 0 L)) | |
| 579 | - (χ : D → Q × ℝ) (V : D → D) {x : D} | |
| 580 | - (hp : (χ x).1 ∈ U) (ht : (χ x).2 ∈ Ioo (0 : ℝ) 1) | |
| 581 | - (hk : f.Kinematics (χ x).1 (Icc 0 L)) | |
| 582 | - (hv : DifferentiableAt ℝ (fun y => PrimaryPulseBounds.normalizedPulse f lam u L (χ y)) x) | |
| 583 | - (hclock : ∀ t : ℝ, χ (x + t • V x) = ((χ x).1, (χ x).2 + t / L)) : | |
| 584 | - along V (fun y => PrimaryPulseBounds.normalizedPulse f lam u L (χ y)) x = | |
| 585 | - TangentProjection.projectedRhs (f.normal ((χ x).1,L*(χ x).2)) | |
| 586 | - (f.normalMotion ((χ x).1,L*(χ x).2)) (PrimaryPulseBounds.normalizedPulse f lam u L (χ x)) | |
| 587 | - (MovingFrameODE.baseAction (f.F ((χ x).1,L*(χ x).2)) (f.shear ((χ x).1,L*(χ x).2)) | |
| 588 | - (PrimaryPulseBounds.normalizedPulse f lam u L (χ x))) 0 (f.viscosity ((χ x).1,L*(χ x).2)) := by | |
| 589 | - have hd := PrimaryPulseBounds.normalizedPulse_hasDerivAt f lam u hL U hA hp hk ht | |
| 590 | - have ht' : HasDerivAt (fun t : ℝ => (χ x).2 + t / L) (1 / L) 0 := by | |
| 591 | - simpa using (((hasDerivAt_id (0 : ℝ)).div_const L).const_add (χ x).2) | |
| 592 | - have hd' : HasDerivAt (fun t : ℝ => PrimaryPulseBounds.normalizedPulse f lam u L | |
| 593 | - ((χ x).1, (χ x).2 + t / L)) ((1 / L) • (L • | |
| 594 | - TangentProjection.projectedRhs (f.normal ((χ x).1,L*(χ x).2)) | |
| 595 | - (f.normalMotion ((χ x).1,L*(χ x).2)) (PrimaryPulseBounds.normalizedPulse f lam u L (χ x)) | |
| 596 | - (MovingFrameODE.baseAction (f.F ((χ x).1,L*(χ x).2)) (f.shear ((χ x).1,L*(χ x).2)) | |
| 597 | - (PrimaryPulseBounds.normalizedPulse f lam u L (χ x))) 0 (f.viscosity ((χ x).1,L*(χ x).2)))) 0 := by | |
| 598 | - simpa only [Prod.mk.eta, Function.comp_def] using hd.scomp_of_eq (0 : ℝ) ht' (by simp) | |
| 599 | - have hl : HasDerivAt (fun t : ℝ => x + t • V x) (V x) 0 := by | |
| 600 | - simpa using ((hasDerivAt_id (0 : ℝ)).smul_const (V x)).const_add x | |
| 601 | - have hv' : HasDerivAt (fun t : ℝ => PrimaryPulseBounds.normalizedPulse f lam u L (χ (x+t•V x))) | |
| 602 | - (along V (fun y => PrimaryPulseBounds.normalizedPulse f lam u L (χ y)) x) 0 := by | |
| 603 | - simpa only [along, Function.comp_def] using hv.hasFDerivAt.comp_hasDerivAt_of_eq (0 : ℝ) hl (by simp) | |
| 604 | - simp only [hclock] at hv' | |
| 605 | - have he := hv'.unique hd' | |
| 606 | - simpa only [smul_smul, one_div, inv_mul_cancel₀ hL.ne', one_smul, Prod.mk.eta] using he | |
| 607 | - | |
| 608 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 609 | -theorem phaseFundamental_tangent {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} | |
| 610 | - (F : Fin 2 → PrimaryPulseBounds.PhaseConstruction U) | |
| 611 | - (χ : ℕ → D → PhaseCalculus.Slow × ℝ) (j : Fin 2) (n : ℕ) (x : D) : | |
| 612 | - ⟪((F j).frame n).normal ((χ n x).1, (F j).L n * (χ n x).2), phaseFundamental F χ j n x⟫_ℝ = 0 := by | |
| 613 | - exact ((F j).frame n).ambient_tangent _ _ | |
| 614 | - | |
| 615 | -theorem phase_coefficients_principal_zero | |
| 616 | - {s : StripData D} {d : LinearWaveBounds.GraphDirections D} | |
| 617 | - (a : LinearWaveBounds.WaveCoefficients D) | |
| 618 | - {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} | |
| 619 | - (F : Fin 2 → PrimaryPulseBounds.PhaseConstruction U) (pref : Fin 2 → ℕ → ℝ) | |
| 620 | - (χ : ℕ → D → PhaseCalculus.Slow × ℝ) {T R : ℕ → D → Vec2} {mask : ℕ → D → ℝ} | |
| 621 | - {Ndot : ℕ → D → Space} {A : ℕ → D → Space →L[ℝ] Space} | |
| 622 | - (hscale : ∀ n, U.scale n = s.slow n) | |
| 623 | - (hχ : PhaseJetBounds.PolynomialJets (PrimaryPulseBounds.phaseDomain s) χ) | |
| 624 | - (hmap : ∀ n x, x ∈ s.domain → χ n x ∈ U.carrier n ×ˢ Ioo (0 : ℝ) 1) | |
| 625 | - (hcov : CovarianceControl s (phaseMatrix F pref χ) T) {β : ℝ} | |
| 626 | - (hR : ∀ i, MeanClass s β (fun n x => R n x i)) (hm : UnweightedClass s 0 mask) | |
| 627 | - (hHf : FrozenAlong d.fast (phaseMatrix F pref χ)) (hTf : FrozenAlong d.fast T) | |
| 628 | - (hRf : FrozenAlong d.fast R) (hmf : FrozenAlong d.fast mask) | |
| 629 | - (hK : ∀ n, a.frequency n ≠ 0) (j : Fin 2) | |
| 630 | - (hcoef : ∀ n, ContinuousOn (((F j).frame n).coefficient 1) (U.carrier n ×ˢ Icc 0 ((F j).L n))) | |
| 631 | - (hkin : ∀ n x, x ∈ s.domain → ((F j).frame n).Kinematics (χ n x).1 (Icc 0 ((F j).L n))) | |
| 632 | - (hclock : ∀ n x, x ∈ s.domain → ∀ t : ℝ, | |
| 633 | - χ n (x + t • d.fastField n x) = ((χ n x).1, (χ n x).2 + t / (F j).L n)) | |
| 634 | - (hnormal : ∀ n x, x ∈ s.domain → ((F j).frame n).normal ((χ n x).1,(F j).L n*(χ n x).2) = a.normal s d n x) | |
| 635 | - (hmotion : ∀ n x, x ∈ s.domain → ((F j).frame n).normalMotion ((χ n x).1,(F j).L n*(χ n x).2) = Ndot n x) | |
| 636 | - (haction : ∀ n x, x ∈ s.domain → ∀ z : Space, | |
| 637 | - MovingFrameODE.baseAction (((F j).frame n).F ((χ n x).1,(F j).L n*(χ n x).2)) | |
| 638 | - (((F j).frame n).shear ((χ n x).1,(F j).L n*(χ n x).2)) z = A n x z) | |
| 639 | - (hdamp : ∀ n x, x ∈ s.domain → ((F j).frame n).viscosity ((χ n x).1,(F j).L n*(χ n x).2) = | |
| 640 | - s.epsilon n * a.frequency n ^ 2 * ‖a.normal s d n x‖ ^ 2) | |
| 641 | - (hphysical : ∀ n x, x ∈ s.domain → CurlClassBounds.complexify (A n x (phaseFundamental F χ j n x)) = | |
| 642 | - LinearWaveResidual.shear (a.radius n) (a.frequencyBase n) (a.axialBase n) (d.radialField n) | |
| 643 | - (fun y => CurlClassBounds.complexify (phaseFundamental F χ j n y)) x) : | |
| 644 | - ∀ n x, x ∈ s.domain → | |
| 645 | - (coefficients a s d (phaseMatrix F pref χ) T R mask (phaseFundamental F χ j) Ndot A j).principal s d n x = 0 := by | |
| 646 | - have hv := phaseFundamental_class F χ hscale hχ hmap j | |
| 647 | - apply coefficients_principal_zero a hcov hR hm hv hHf hTf hRf hmf hK _ hphysical j | |
| 648 | - intro n x hx | |
| 649 | - have hd := normalizedPulse_along ((F j).frame n) ((F j).lam n) ((F j).u n) ((F j).L_pos n) | |
| 650 | - (U.carrier n) (hcoef n) (χ n) (d.fastField n) (hmap n x hx).1 (hmap n x hx).2 (hkin n x hx) | |
| 651 | - (((hv.smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp)) (hclock n x hx) | |
| 652 | - simp only [phaseFundamental, hnormal n x hx, hmotion n x hx, haction n x hx, hdamp n x hx] at hd ⊢ | |
| 653 | - exact hd | |
| 654 | - | |
| 655 | 509 | /-! ## The constructed curl, pressure, and retained linear error -/ |
| 656 | 510 | |
| 657 | 511 | theorem signed_bounds |
| @@ -702,18 +556,6 @@ theorem normalDot_complexify (N v : Space) : | ||
| 702 | 556 | normalDot N (CurlClassBounds.complexify v) = (⟪N,v⟫_ℝ : ℂ) := by |
| 703 | 557 | simp [normalDot, PiLp.inner_apply, Fin.sum_univ_three, mul_comm] |
| 704 | 558 | |
| 705 | -theorem coefficients_tangent {s : StripData D} {d : LinearWaveBounds.GraphDirections D} | |
| 706 | - (a : LinearWaveBounds.WaveCoefficients D) | |
| 707 | - (H : ℕ → D → Mat2) (T R : ℕ → D → Vec2) (mask : ℕ → D → ℝ) | |
| 708 | - (v Ndot : ℕ → D → Space) (A : ℕ → D → Space →L[ℝ] Space) | |
| 709 | - (ht : ∀ n x, x ∈ s.domain → ⟪a.normal s d n x, v n x⟫_ℝ = 0) (j : Fin 2) | |
| 710 | - (n : ℕ) {x : D} (hx : x ∈ s.domain) : | |
| 711 | - normalDot ((coefficients a s d H T R mask v Ndot A j).normal s d n x) | |
| 712 | - ((coefficients a s d H T R mask v Ndot A j).amplitude n x) = 0 := by | |
| 713 | - change normalDot (a.normal s d n x) (CurlClassBounds.complexify (signedScalar s H T R mask j n x • v n x)) = 0 | |
| 714 | - rw [normalDot_complexify, inner_smul_right, ht n x hx, mul_zero] | |
| 715 | - rfl | |
| 716 | - | |
| 717 | 559 | /-! ## The same native pulse blocks in the exact covariance identity -/ |
| 718 | 560 | |
| 719 | 561 | section NativeBlocks |
| @@ -733,11 +575,6 @@ end NativeBlocks | ||
| 733 | 575 | |
| 734 | 576 | /-! ## Exported blocks for the correction state -/ |
| 735 | 577 | |
| 736 | -noncomputable def gaussianBlock (a : LinearWaveBounds.WaveCoefficients (D × ℝ)) | |
| 737 | - (d : LinearWaveBounds.GraphDirections (D × ℝ)) (ψ : ℕ → D × ℝ → ℝ) | |
| 738 | - (kp : ℕ → ℤ) : CorrectionState.HarmonicBlock D := | |
| 739 | - ErrorHarmonics.gaussianBlock d ψ a.amplitude 0 1 a.frequency (fun n x => a.phase n (x,0)) kp | |
| 740 | - | |
| 741 | 578 | /-! The realization hypothesis below concerns only the already constructed |
| 742 | 579 | unit pulse and chart. It never identifies or bounds a signed output. The |
| 743 | 580 | canonical unit pulse and its matrix are identified by the two preceding |
+36 −0 routes/s1-ns-signed-8/README.md added View file
| @@ -0,0 +1,36 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-signed-8 | |
| 6 | + | |
| 7 | +One declarations unit of #10 (S-1), wave 8: the `NavierStokes/Signed*` family, in | |
| 8 | +`NavierStokes/SignedCopyBounds.lean` (2), `NavierStokes/SignedCovariance.lean` (1) and | |
| 9 | +`NavierStokes/SignedWaveUpdate.lean` (8). It deletes 11 declarations, 239 lines, deletions only; no | |
| 10 | +statement or proof that stays is changed. The unit was cut from main at `601f584` after the earlier waves' | |
| 11 | +reviews, and is disjoint from the `Signed*` deletions of waves 1 to 3. | |
| 12 | + | |
| 13 | +The declarations: `coefficients_localized_jets` and `uniform_coefficients_localized_jets` (the | |
| 14 | +once-localized coefficient bounds) in `SignedCopyBounds`; `sqrt_class` in `SignedCovariance`; and in | |
| 15 | +`SignedWaveUpdate` the principal-equation statements `coefficients_principal_zero`, | |
| 16 | +`phase_coefficients_principal_zero` and `coefficients_tangent`, the phase constructions | |
| 17 | +`phaseEnvelope`, `phaseFundamental_class` and `phaseFundamental_tangent`, the pulse tangent | |
| 18 | +`normalizedPulse_along`, and `gaussianBlock`. | |
| 19 | + | |
| 20 | +How they were found. Treant (TitiSkywalker/NavierStokesAndEuler, the run of 2026-12-03 at upstream | |
| 21 | +`f9e8bc5`) found them unreachable from the four Comparator theorems; `docs/s1-dead-code/README.md` is the | |
| 22 | +plan. The maintainer's keep rule was applied as described in the pull request's description. | |
| 23 | + | |
| 24 | +Checked, as a reviewer would. Every short name of the 11 declarations was searched with `git grep -n -w` | |
| 25 | +over the tree after the deletion. Ten find no hit at all; `gaussianBlock` hits only other declarations of | |
| 26 | +the same short name (`ActualInitialization.gaussianBlock`, the `gaussianBlock` fields of | |
| 27 | +`ActualParticularCycleData` and `ActualSignedStageControls.parameters`, `ErrorHarmonics.gaussianBlock`, | |
| 28 | +`CorrectionStep`'s), and no qualified `SignedWaveUpdate.gaussianBlock` occurs anywhere. The 239 deleted | |
| 29 | +lines were read for a numbered Lemma, Theorem, Proposition, Corollary, Section or Equation of either | |
| 30 | +paper and for "the manuscript": there is none. The one deleted docstring that names a Lean declaration, | |
| 31 | +`coefficients_localized_jets` (consumed by `PeriodizedWaveBounds.CopyData.common_bounds_from_native`), | |
| 32 | +cites no paper result. | |
| 33 | + | |
| 34 | +## Next | |
| 35 | + | |
| 36 | +Push and open the pull request; the site's `challenge` and `build` checks decide. | |