Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

chore(NavierStokes/Gauge): delete 40 declarations nothing uses
Browse filesCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main maintainer-statement p1-ns-physical s1-euler-all-2 s1-euler-all-3 s1-euler-angle-9 s1-euler-base-2 s1-euler-bounded-2 s1-euler-canonical-8 s1-euler-child-2 s1-euler-common-2 s1-euler-constant-2 s1-euler-continuous-2 s1-euler-correction-2 s1-euler-correction-3 s1-euler-correction-9 s1-euler-cylinder-2 s1-euler-cylinder-3 s1-euler-cylinder-8 s1-euler-dirichlet-6 s1-euler-euler-1 s1-euler-euler-2 s1-euler-euler-6 s1-euler-exact-3 s1-euler-field-2 s1-euler-finite-3 s1-euler-flow-2 s1-euler-frozen-2 s1-euler-general-2 s1-euler-heat-2 s1-euler-hilbert-6 s1-euler-inviscid-8 s1-euler-isometric-2 s1-euler-lp-2 s1-euler-lp-3 s1-euler-mean-2 s1-euler-mean-8 s1-euler-ordinary-6 s1-euler-packet-2 s1-euler-packet-3 s1-euler-packet-8 s1-euler-parent-2 s1-euler-quadratic-2 s1-euler-resolvent-2 s1-euler-separating-2 s1-euler-smooth-2 s1-euler-sobolev-2 s1-euler-source-6 s1-euler-time-2 s1-euler-transverse-1 s1-euler-transverse-2 s1-euler-transverse-6 s1-euler-transverse-9 s1-euler-volume-3 s1-euler-vorticity-2 s1-euler-weighted-2 s1-ns-activation-2 s1-ns-active-2 s1-ns-actual-2 s1-ns-actual-3 s1-ns-actual-8 s1-ns-aligned-2 s1-ns-angular-2 s1-ns-annular-6 s1-ns-annular-8 s1-ns-assembled-2 s1-ns-assembled-7 s1-ns-axis-2 s1-ns-axisymmetric-2 s1-ns-axisymmetric-8 s1-ns-band-2 s1-ns-base-1 s1-ns-base-2 s1-ns-base-6 s1-ns-base-8 s1-ns-borel-2 s1-ns-borel-3 s1-ns-boundary-2 s1-ns-cauchy-2 s1-ns-closed-2 s1-ns-common-2 s1-ns-common-6 s1-ns-common-8 s1-ns-common-9 s1-ns-compact-2 s1-ns-constructed-2 s1-ns-constructed-3 s1-ns-constructed-8 s1-ns-copy-6 s1-ns-copy-8 s1-ns-correction-2 s1-ns-correction-3 s1-ns-curl-2 s1-ns-curl-6 s1-ns-curl-9 s1-ns-current-3 s1-ns-cycle-2 s1-ns-cycle-3 s1-ns-defect-2 s1-ns-direct-2 s1-ns-edge-6 s1-ns-entrance-2 s1-ns-error-2 s1-ns-error-3 s1-ns-error-9 s1-ns-even-2 s1-ns-even-3 s1-ns-exponent-2 s1-ns-final-2 s1-ns-final-6 s1-ns-first-2 s1-ns-first-3 s1-ns-five-8 s1-ns-flat-2 s1-ns-flat-3 s1-ns-flat-8 s1-ns-flatness-2 s1-ns-fourier-2 s1-ns-fourier-3 s1-ns-future-2 s1-ns-gauge-1 s1-ns-gauge-2 s1-ns-gaussian-2 s1-ns-global-2 s1-ns-graph-6 s1-ns-graph-9 s1-ns-harmonic-1 s1-ns-harmonic-11 s1-ns-harmonic-6 s1-ns-harmonic-7 s1-ns-heat-2 s1-ns-heat-3 s1-ns-initialized-2 s1-ns-integrated-1 s1-ns-joint-2 s1-ns-joint-3 s1-ns-joint-8 s1-ns-label-1 s1-ns-label-6 s1-ns-linear-2 s1-ns-linear-6 s1-ns-linear-7 s1-ns-local-2 s1-ns-localized-1 s1-ns-localized-2 s1-ns-localized-6 s1-ns-maximal-2 s1-ns-mean-1 s1-ns-mean-2 s1-ns-mean-8 s1-ns-mixed-2 s1-ns-modulated-3 s1-ns-moment-6 s1-ns-native-2 s1-ns-natural-1 s1-ns-natural-2 s1-ns-nilpotent-2 s1-ns-offplane-1 s1-ns-offplane-2 s1-ns-offplane-6 s1-ns-oscillatory-2 s1-ns-parametric-2 s1-ns-parametric-6 s1-ns-particular-1 s1-ns-particular-10 s1-ns-particular-2 s1-ns-particular-6 s1-ns-particular-8 s1-ns-partitioned-6 s1-ns-partitioned-8 s1-ns-past-2 s1-ns-periodic-2 s1-ns-periodic-3 s1-ns-periodic-8 s1-ns-periodic-9 s1-ns-periodized-2 s1-ns-periodized-6 s1-ns-periodized-8 s1-ns-periodized-9 s1-ns-phase-2 s1-ns-physical-2 s1-ns-physical-3 s1-ns-physical-8 s1-ns-positive-2 s1-ns-positive-8 s1-ns-prepared-6 s1-ns-pressure-2 s1-ns-pressure-9 s1-ns-primary-1 s1-ns-primary-2 s1-ns-primary-6 s1-ns-primary-8 s1-ns-pulse-2 s1-ns-r3-2 s1-ns-radial-2 s1-ns-radial-9 s1-ns-reference-2 s1-ns-regular-2 s1-ns-renormalized-2 s1-ns-reserved-8 s1-ns-residual-2 s1-ns-residual-3 s1-ns-scaled-3 s1-ns-scaling-2 s1-ns-schedule-2 s1-ns-sharp-2 s1-ns-signed-2 s1-ns-signed-3 s1-ns-signed-8 s1-ns-similarity-2 s1-ns-slot-2 s1-ns-slow-2 s1-ns-slow-6 s1-ns-smooth-2 s1-ns-smooth-3 s1-ns-smooth-8 s1-ns-solenoidal-2 s1-ns-spacetime-3 s1-ns-spatial-2 s1-ns-squared-2 s1-ns-state-2 s1-ns-state-8 s1-ns-subcover-2 s1-ns-tail-2 s1-ns-temporal-2 s1-ns-temporal-3 s1-ns-temporal-8 s1-ns-terminal-1 s1-ns-terminal-6 s1-ns-time-2 s1-ns-torus-2 s1-ns-torus-3 s1-ns-transition-2 s1-ns-transport-2 s1-ns-true-1 s1-ns-uniform-2 s1-ns-uniform-8 s1-ns-variable-2 s1-ns-variable-3 s1-ns-viscous-6 s1-ns-volterra-2 s1-ns-wave-11 s1-ns-wave-2 s1-ns-wave-3 s1-ns-wave-8 s1-ns-weighted-10 s1-ns-weighted-12 s1-ns-weighted-2 s1-ns-weighted-3 s1-ns-weighted-8 s1-ns-weighted-9 s1-ns-whole-3 s1-ns-within-2 s1-ns-within-6 s2-build-profile-files s2-euler-all-1 s2-euler-base-1 s2-euler-bounded-1 s2-euler-child-1 s2-euler-coefficient-1 s2-euler-correction-1 s2-euler-cylinder-1 s2-euler-dirichlet-1 s2-euler-div-1 s2-euler-drift-1 s2-euler-euler-1 s2-euler-field-1 s2-euler-finite-1 s2-euler-flow-1 s2-euler-gaussian-1 s2-euler-gevrey-1 s2-euler-h6-1 s2-euler-heat-1 s2-euler-initial-1 s2-euler-integral-1 s2-euler-linear-1 s2-euler-local-1 s2-euler-logarithmic-1 s2-euler-mean-1 s2-euler-metric-1 s2-euler-mixed-1 s2-euler-operator-1 s2-euler-ordinary-1 s2-euler-ordinary-2 s2-euler-packet-1 s2-euler-parameter-1 s2-euler-parent-1 s2-euler-radial-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-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
+0 −22 NavierStokes/GaugeAliasDecay.lean View file
| @@ -576,28 +576,6 @@ theorem meanClass_fastAtIndex (s : StripData (Point Plane)) {h α : ℝ} (hh : 0 | ||
| 576 | 576 | simp only [add_zero, smul_eq_mul] at hb ⊢ |
| 577 | 577 | exact hb |
| 578 | 578 | |
| 579 | -theorem meanClass_fastDividedAlias_superflat {coord a b h Mbase α : ℝ} (U : SlowRegion coord) | |
| 580 | - (ha : 0 < a) (hab : a < b) {cL cR : ℝ} (hcL : 0 < cL) (hcR : 0 < cR) | |
| 581 | - (hh : 0 < h) (hM : Mbase ≠ 0) (index : ℕ → ℕ) (D : ℕ) | |
| 582 | - (hgapLower : ∀ n, ChartScales.nativeIndex h n ≤ index n + D) | |
| 583 | - (hgapUpper : ∀ n, index n ≤ ChartScales.nativeIndex h n + D) | |
| 584 | - (L : ℕ → ℝ) (hL : ∀ n, 1 ≤ L n) (hS : ∀ n, ChartScales.S n ≤ L n) | |
| 585 | - {f : ℕ → Point Plane → ℝ} | |
| 586 | - (hf : ∀ n, ContDiffOn ℝ ∞ (f n) (PhysicalMeanDomain.slowDomain U.carrier)) | |
| 587 | - (hs : ∀ n, SupportedGauge a b (qLength coord) U.carrier (f n)) | |
| 588 | - (hp : ∀ n, PhysicalMeanDomain.PeriodicOn U.carrier (f n)) | |
| 589 | - (hm : ∀ n s, s ∈ U.carrier → PressureStream.pressureMass (f n) s = 0) | |
| 590 | - (hclass : MeanClass (movingStripData U a b cL cR ha hcL hcR (ChartScales.epsilon h) L | |
| 591 | - (ChartScales.epsilon_pos h) (ChartScales.epsilon_le_one h hh.le) hL) α f) (β : ℝ) : | |
| 592 | - MeanClass (movingStripData U a b cL cR ha hcL hcR (ChartScales.epsilon h) L | |
| 593 | - (ChartScales.epsilon_pos h) (ChartScales.epsilon_le_one h hh.le) hL) β | |
| 594 | - (fun n => MeanChartCompatibility.fastAtIndex h n (index n) | |
| 595 | - (PressureStream.divideRadius (compactAlias (ChartScales.radialExponent h) a b | |
| 596 | - (MeanChartCompatibility.radialFrequency h n (index n) (ChartScales.radialExponent h) Mbase) | |
| 597 | - (qLength coord) (vector .radial) (f n)))) := | |
| 598 | - meanClass_fastAtIndex _ hh index D hgapUpper | |
| 599 | - (meanClass_dividedAlias_superflat U ha hab hcL hcR hh hM index D hgapLower L hL hS hf hs hp hm hclass β) | |
| 600 | - | |
| 601 | 579 | end ClassConclusions |
| 602 | 580 | |
| 603 | 581 | section ActualTemporalAlias |
+0 −47 NavierStokes/GaugeDebtIncrement.lean View file
| @@ -178,12 +178,6 @@ theorem radialMoment_sub_on {f g : Scalar} (hf : Regular U a b f) (hg : Regular | ||
| 178 | 178 | obtain ⟨lo, hi, _, _, _, _, _, hl, hr, _⟩ := VariableGaugeMean.qLength_reference_bounds U ha hab |
| 179 | 179 | exact LocalRankDefect.barMoment_sub_on U.isOpen (hf.containing hl hr) (hg.containing hl hr) k n hx |
| 180 | 180 | |
| 181 | -theorem radialMoment_add_on {f g : Scalar} (hf : Regular U a b f) (hg : Regular U a b g) | |
| 182 | - (k n : ℕ) {x : Plane} (hx : x ∈ U.carrier) : | |
| 183 | - radialMoment k (f + g) n x = radialMoment k f n x + radialMoment k g n x := by | |
| 184 | - obtain ⟨lo, hi, _, _, _, _, _, hl, hr, _⟩ := VariableGaugeMean.qLength_reference_bounds U ha hab | |
| 185 | - exact LocalRankDefect.barMoment_add_on U.isOpen (hf.containing hl hr) (hg.containing hl hr) k n hx | |
| 186 | - | |
| 187 | 181 | end Moments |
| 188 | 182 | |
| 189 | 183 | noncomputable def momentChange (G T Z : Scalar) : ℕ → Plane → Fin 3 → ℝ := |
| @@ -292,20 +286,6 @@ theorem agree_slow_of_positive {coord a b : ℝ} {U : SlowRegion coord} {f g : S | ||
| 292 | 286 | · rw [hf.zero_of_nonpositive ha n hz (le_of_not_gt hR), |
| 293 | 287 | hg.zero_of_nonpositive ha n hz (le_of_not_gt hR)] |
| 294 | 288 | |
| 295 | -theorem moving_subset_positive {coord a b cL cR : ℝ} (U : SlowRegion coord) | |
| 296 | - (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) | |
| 297 | - (ε L : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hL : ∀ n, 1 ≤ L n) : | |
| 298 | - (movingStripData U a b cL cR ha hcL hcR ε L hε hεone hL).domain ⊆ | |
| 299 | - LocalRankDefect.positiveDomain U.carrier := by | |
| 300 | - intro z hz | |
| 301 | - have hh := (movingStrip_domain U a b cL cR ha hcL hcR ε L hε hεone hL z).mp hz | |
| 302 | - refine ⟨?_, hh.1⟩ | |
| 303 | - have hpos := VariableGaugeMean.qLength_pos U.coord_pos U.coord_lt_one (U.time_pos _ hh.1) | |
| 304 | - have hr : 0 < z.1 / VariableGaugeMean.qLength coord z.2.1 := ha.trans hh.2.1 | |
| 305 | - have he := (lt_div_iff₀ hpos).mp hr | |
| 306 | - simp only [zero_mul] at he | |
| 307 | - exact he | |
| 308 | - | |
| 309 | 289 | theorem radialMoment_congr_on {U : Set Plane} {f g : Scalar} |
| 310 | 290 | (he : Agree (PhysicalMeanDomain.slowDomain U) f g) (k n : ℕ) {x : Plane} (hx : x ∈ U) : |
| 311 | 291 | radialMoment k f n x = radialMoment k g n x := by |
| @@ -496,24 +476,6 @@ theorem temporalStage_covariance_regular (i j : Fin 3) : | ||
| 496 | 476 | rw [temporalStage_covariance] |
| 497 | 477 | exact hW i j |
| 498 | 478 | |
| 499 | -include ha hab hop hb hm hi hW in | |
| 500 | -/-- Only the actual mean increment contributes to the temporal flux change; | |
| 501 | -the covariance remains the same actual angular integral. -/ | |
| 502 | -theorem temporalStage_debt_change_formula (n : ℕ) {x : Plane} (hx : x ∈ U.carrier) : | |
| 503 | - debt c (VariableGaugeMean.temporalStageState g h index axial c u) n x - debt c u n x = | |
| 504 | - momentChange | |
| 505 | - ((VariableGaugeMean.temporalStageState g h index axial c u).gr c - u.gr c) | |
| 506 | - (deltaThetaAxial c.base u.mean (VariableGaugeMean.temporalIncrementState g h index axial c u)) | |
| 507 | - (deltaAxialAxial c.base u.mean (VariableGaugeMean.temporalIncrementState g h index axial c u)) n x := by | |
| 508 | - have hmu := temporalStage_mean_regular U g h index axial c u hm hi | |
| 509 | - have hWv := temporalStage_covariance_regular U g h index axial c u hW | |
| 510 | - have he := debt_sub_eq U ha hab c u (VariableGaugeMean.temporalStageState g h index axial c u) | |
| 511 | - (hm.gr ha hab hb hop u.covariance hW) | |
| 512 | - (hmu.gr ha hab hb hop (VariableGaugeMean.temporalStageState g h index axial c u).covariance hWv) | |
| 513 | - ((hm.thetaAxial ha hab hb).add (hW 2 1)) ((hmu.thetaAxial ha hab hb).add (hWv 2 1)) | |
| 514 | - ((hm.axialAxial ha hab hb).add (hW 2 2)) ((hmu.axialAxial ha hab hb).add (hWv 2 2)) n hx | |
| 515 | - rwa [temporal_thetaFlux_change, temporal_axialFlux_change] at he | |
| 516 | - | |
| 517 | 479 | end TemporalRegularity |
| 518 | 480 | |
| 519 | 481 | section TemporalBounds |
| @@ -664,15 +626,6 @@ theorem temporalStage_debt_mem {β : ℝ} (hβ : H ≤ β) | ||
| 664 | 626 | (temporalStage_debt_change_mem U ha hab hcL hcR ε L hε hεone hL g h index axial c u |
| 665 | 627 | hop hb hm hi hW ho hbC hmC hiC hH hκ) |
| 666 | 628 | |
| 667 | -theorem temporalStage_defectBounds {σ τ : ℝ} (hσ : τ ≤ σ) (hτ : 1 + τ ≤ H) | |
| 668 | - (hold : DefectBounds (PhysicalMeanDomain.localSlowStripData U.carrier U.isOpen | |
| 669 | - ε L hε hεone hL) σ c u) : | |
| 670 | - DefectBounds (PhysicalMeanDomain.localSlowStripData U.carrier U.isOpen | |
| 671 | - ε L hε hεone hL) τ c (VariableGaugeMean.temporalStageState g h index axial c u) := | |
| 672 | - defectBounds_after_change _ c u _ hσ hτ hold | |
| 673 | - (temporalStage_debt_change_mem U ha hab hcL hcR ε L hε hεone hL g h index axial c u | |
| 674 | - hop hb hm hi hW ho hbC hmC hiC hH hκ) | |
| 675 | - | |
| 676 | 629 | end TemporalNextDebt |
| 677 | 630 | |
| 678 | 631 | end |
+0 −90 NavierStokes/GaugeExcludedBounds.lean View file
| @@ -77,18 +77,6 @@ section VectorLifts | ||
| 77 | 77 | |
| 78 | 78 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] |
| 79 | 79 | |
| 80 | -theorem pressureAlias_axisymmetric (g : GaugeData S) | |
| 81 | - (c : CorrectionState.Context (PressureStream.Lift S)) | |
| 82 | - (u : CorrectionState.State (PressureStream.Lift S)) | |
| 83 | - (n : ℕ) (z : PressureStream.Lift S) (θ : ℝ) : | |
| 84 | - pressureAliasState g c u n (z, θ) = pressureAliasState g c u n (z, 0) := rfl | |
| 85 | - | |
| 86 | -theorem temporalAlias_axisymmetric (g : GaugeData S) (h : ℝ) (index : ℕ → ℕ) | |
| 87 | - (c : CorrectionState.Context (PressureStream.Lift S)) | |
| 88 | - (u : CorrectionState.State (PressureStream.Lift S)) | |
| 89 | - (n : ℕ) (z : PressureStream.Lift S) (θ : ℝ) : | |
| 90 | - temporalAliasState g h index c u n (z, θ) = temporalAliasState g h index c u n (z, 0) := rfl | |
| 91 | - | |
| 92 | 80 | theorem pressureAlias_vector_mem {s : StripData (PressureStream.Lift S)} {β : ℝ} |
| 93 | 81 | (g : GaugeData S) (c : CorrectionState.Context (PressureStream.Lift S)) |
| 94 | 82 | (u : CorrectionState.State (PressureStream.Lift S)) |
| @@ -187,26 +175,6 @@ theorem pressureAliasState_mean_bounds {κ γ : ℝ} | ||
| 187 | 175 | exact ⟨pressureAlias_vector_mem (actualGauge h a b Mbase hab index) c u hs, |
| 188 | 176 | pressureAlias_angle_mem (actualGauge h a b Mbase hab index) c u hs⟩ |
| 189 | 177 | |
| 190 | -include hM D hgapLower hS in | |
| 191 | -/-- Every real target power is available, hence every positive one. | |
| 192 | -The vector signs are those of the literal `pressureAliasState`. -/ | |
| 193 | -theorem pressureAliasState_bounds {κ γ : ℝ} | |
| 194 | - (H : MeanStateRegularity.PrimitiveData U a b c u) | |
| 195 | - (ho : OperatorBounds (actualStrip (b := b) U ha hcL hcR hh L hL) c.operators κ) | |
| 196 | - (hb : BaseBounds (actualStrip (b := b) U ha hcL hcR hh L hL) c.base) | |
| 197 | - (hu : CorrectionState.CumulativeBounds (actualStrip (b := b) U ha hcL hcR hh L hL) u) | |
| 198 | - (hW : ∀ i j, MeanClass (actualStrip (b := b) U ha hcL hcR hh L hL) γ (u.covariance i j)) (β : ℝ) : | |
| 199 | - UnweightedClass (actualStrip (b := b) U ha hcL hcR hh L hL) β | |
| 200 | - (fun n z => pressureAliasState (actualGauge h a b Mbase hab index) c u n (z, 0)) ∧ | |
| 201 | - UnweightedClass (HarmonicWaveInteraction.productStrip (actualStrip (b := b) U ha hcL hcR hh L hL)) β | |
| 202 | - (pressureAliasState (actualGauge h a b Mbase hab index) c u) := by | |
| 203 | - obtain ⟨hv, hl⟩ := pressureAliasState_mean_bounds U ha hab hcL hcR hh hM index D hgapLower | |
| 204 | - L hL hS c u H ho hb hu hW β | |
| 205 | - have hζ (x : Point) : (actualStrip (b := b) U ha hcL hcR hh L hL).zeta x ≤ 1 := | |
| 206 | - movingStrip_zeta_le_one U ha hcL hcR _ L _ _ hL x | |
| 207 | - exact ⟨meanClass_unweighted hv (fun x _ => hζ x), | |
| 208 | - meanClass_unweighted hl (fun x _ => hζ x.1)⟩ | |
| 209 | - | |
| 210 | 178 | include hM D hgapLower hgapUpper hS in |
| 211 | 179 | /-- Regularity of the actual raw axial residual follows from the |
| 212 | 180 | primitive fields and the pressure reconstruction invariant. Only its |
| @@ -229,68 +197,10 @@ theorem temporalAliasState_mean_bounds {α : ℝ} | ||
| 229 | 197 | exact ⟨temporalAlias_vector_mem (actualGauge h a b Mbase hab index) h index c u hs, |
| 230 | 198 | temporalAlias_angle_mem (actualGauge h a b Mbase hab index) h index c u hs⟩ |
| 231 | 199 | |
| 232 | -include hM D hgapLower hgapUpper hS in | |
| 233 | -theorem temporalAliasState_bounds {α : ℝ} | |
| 234 | - (H : MeanStateRegularity.PrimitiveData U a b c u) | |
| 235 | - (hfixed : (reconstructState (actualGauge h a b Mbase hab index) c u).pressure = u.pressure) | |
| 236 | - (hfast : c.operators.fastCoefficient = | |
| 237 | - fun n => ChartScales.Tg ^ index n * ChartScales.Q n ^ (1 + h)) | |
| 238 | - (hv : c.operators.vT = (0, (0, TorusInverse.vector .temporal))) | |
| 239 | - (hraw : MeanClass (actualStrip (b := b) U ha hcL hcR hh L hL) α (u.axialResidual c)) (β : ℝ) : | |
| 240 | - UnweightedClass (actualStrip (b := b) U ha hcL hcR hh L hL) β | |
| 241 | - (fun n z => temporalAliasState (actualGauge h a b Mbase hab index) h index c u n (z, 0)) ∧ | |
| 242 | - UnweightedClass (HarmonicWaveInteraction.productStrip (actualStrip (b := b) U ha hcL hcR hh L hL)) β | |
| 243 | - (temporalAliasState (actualGauge h a b Mbase hab index) h index c u) := by | |
| 244 | - obtain ⟨hm, hl⟩ := temporalAliasState_mean_bounds U ha hab hcL hcR hh hM index D | |
| 245 | - hgapLower hgapUpper L hL hS c u H hfixed hfast hv hraw β | |
| 246 | - have hζ (x : Point) : (actualStrip (b := b) U ha hcL hcR hh L hL).zeta x ≤ 1 := | |
| 247 | - movingStrip_zeta_le_one U ha hcL hcR _ L _ _ hL x | |
| 248 | - exact ⟨meanClass_unweighted hm (fun x _ => hζ x), | |
| 249 | - meanClass_unweighted hl (fun x _ => hζ x.1)⟩ | |
| 250 | - | |
| 251 | 200 | end ActualAliases |
| 252 | 201 | |
| 253 | 202 | section ReconstructedInput |
| 254 | 203 | |
| 255 | -theorem primitiveData_reconstruct {coord a b : ℝ} {U : SlowRegion coord} | |
| 256 | - {c : CorrectionState.Context Point} {u : CorrectionState.State Point} | |
| 257 | - (H : MeanStateRegularity.PrimitiveData U a b c u) (g : GaugeData TorusInverse.Plane) : | |
| 258 | - MeanStateRegularity.PrimitiveData U a b c (reconstructState g c u) := | |
| 259 | - ⟨H.operators, H.base, H.mean, H.covariance, H.virtualTheta, H.virtualAxial⟩ | |
| 260 | - | |
| 261 | -theorem reconstructed_pressure_fixed (g : GaugeData TorusInverse.Plane) | |
| 262 | - (c : CorrectionState.Context Point) (u : CorrectionState.State Point) : | |
| 263 | - (reconstructState g c (reconstructState g c u)).pressure = (reconstructState g c u).pressure := rfl | |
| 264 | - | |
| 265 | -/-- For a literally reconstructed incoming state the fixed-pressure | |
| 266 | -invariant is discharged by the construction itself. -/ | |
| 267 | -theorem temporalAliasState_reconstructed_bounds | |
| 268 | - {a b h Mbase cL cR α : ℝ} (U : SlowRegion (2 * h)) (ha : 0 < a) (hab : a < b) | |
| 269 | - (hcL : 0 < cL) (hcR : 0 < cR) (hh : 0 < h) (hM : Mbase ≠ 0) | |
| 270 | - (index : ℕ → ℕ) (D : ℕ) | |
| 271 | - (hgapLower : ∀ n, ChartScales.nativeIndex h n ≤ index n + D) | |
| 272 | - (hgapUpper : ∀ n, index n ≤ ChartScales.nativeIndex h n + D) | |
| 273 | - (L : ℕ → ℝ) (hL : ∀ n, 1 ≤ L n) (hS : ∀ n, ChartScales.S n ≤ L n) | |
| 274 | - (c : CorrectionState.Context Point) (u : CorrectionState.State Point) | |
| 275 | - (H : MeanStateRegularity.PrimitiveData U a b c u) | |
| 276 | - (hfast : c.operators.fastCoefficient = | |
| 277 | - fun n => ChartScales.Tg ^ index n * ChartScales.Q n ^ (1 + h)) | |
| 278 | - (hv : c.operators.vT = (0, (0, TorusInverse.vector .temporal))) | |
| 279 | - (hraw : MeanClass | |
| 280 | - (movingStripData U a b cL cR ha hcL hcR (ChartScales.epsilon h) L | |
| 281 | - (ChartScales.epsilon_pos h) (ChartScales.epsilon_le_one h hh.le) hL) α | |
| 282 | - ((reconstructState (similarityGauge h (ChartScales.radialExponent h) a b Mbase hab index) c u).axialResidual c)) | |
| 283 | - (β : ℝ) : | |
| 284 | - let g := similarityGauge h (ChartScales.radialExponent h) a b Mbase hab index | |
| 285 | - let s := movingStripData U a b cL cR ha hcL hcR (ChartScales.epsilon h) L | |
| 286 | - (ChartScales.epsilon_pos h) (ChartScales.epsilon_le_one h hh.le) hL | |
| 287 | - UnweightedClass s β (fun n z => temporalAliasState g h index c (reconstructState g c u) n (z, 0)) ∧ | |
| 288 | - UnweightedClass (HarmonicWaveInteraction.productStrip s) β | |
| 289 | - (temporalAliasState g h index c (reconstructState g c u)) := by | |
| 290 | - dsimp only | |
| 291 | - exact temporalAliasState_bounds U ha hab hcL hcR hh hM index D hgapLower hgapUpper L hL hS c _ | |
| 292 | - (primitiveData_reconstruct H _) (reconstructed_pressure_fixed _ c u) hfast hv hraw β | |
| 293 | - | |
| 294 | 204 | end ReconstructedInput |
| 295 | 205 | |
| 296 | 206 | end NavierStokes.GaugeExcludedBounds |
+0 −44 NavierStokes/GaugeMassPreservation.lean View file
| @@ -129,25 +129,11 @@ theorem radialMoment_congr_torusAverage (k : ℕ) (f g : ScalarField Point) | ||
| 129 | 129 | filter_upwards [] with R |
| 130 | 130 | exact congrArg (fun x => R ^ k * x) (he R) |
| 131 | 131 | |
| 132 | -theorem radialMoment_zero_of_torusAverage (k : ℕ) (f : ScalarField Point) | |
| 133 | - (n : ℕ) (s : Plane) (he : ∀ R, PressureStream.torusAverage (f n) (R, s) = 0) : | |
| 134 | - CorrectionState.radialMoment k f n s = 0 := by | |
| 135 | - rw [StateMomentBalances.state_radialMoment_eq] | |
| 136 | - change (∫ R, R ^ k * PressureStream.torusAverage (f n) (R, s)) = 0 | |
| 137 | - simp_rw [he, mul_zero, integral_zero] | |
| 138 | - | |
| 139 | 132 | /-- The two conserved mean masses, restricted to a specified slow set. -/ |
| 140 | 133 | noncomputable def ZeroMassesOn (U : Set Plane) (u : State Point) : Prop := |
| 141 | 134 | ∀ n s, s ∈ U → CorrectionState.radialMoment 2 u.mean.angular n s = 0 ∧ |
| 142 | 135 | CorrectionState.radialMoment 1 u.mean.axial n s = 0 |
| 143 | 136 | |
| 144 | -theorem ZeroMassesOn.of_global {U : Set Plane} {u : State Point} | |
| 145 | - (hu : CorrectionState.ZeroMasses u) : ZeroMassesOn U u := by | |
| 146 | - intro n s _ | |
| 147 | - constructor | |
| 148 | - · exact congrFun (congrFun hu.1 n) s | |
| 149 | - · exact congrFun (congrFun hu.2 n) s | |
| 150 | - | |
| 151 | 137 | section Temporal |
| 152 | 138 | |
| 153 | 139 | variable {coord : ℝ} (U : SlowRegion coord) (g : GaugeData Plane) |
| @@ -209,23 +195,6 @@ theorem temporalIncrement_slice_continuous_on | ||
| 209 | 195 | (temporalAtIndex_contDiffOn h n (index n) U.isOpen (hz n) (hpz n)) |
| 210 | 196 | (temporalAtIndex_supportedGauge h n (index n) (hsz n)) hs R |
| 211 | 197 | |
| 212 | -/-- Every radial moment of either conserved increment vanishes on the valid | |
| 213 | -slow set, since its full torus average is identically zero there. -/ | |
| 214 | -theorem temporalIncrement_radialMoments_zero_on | |
| 215 | - (hθ : ∀ n, ContDiffOn ℝ ∞ (u.thetaResidual c n) (PhysicalMeanDomain.slowDomain U.carrier)) | |
| 216 | - (hz : ∀ n, ContDiffOn ℝ ∞ (u.axialResidual c n) (PhysicalMeanDomain.slowDomain U.carrier)) | |
| 217 | - (hpθ : ∀ n, PhysicalMeanDomain.PeriodicOn U.carrier (u.thetaResidual c n)) | |
| 218 | - (hpz : ∀ n, PhysicalMeanDomain.PeriodicOn U.carrier (u.axialResidual c n)) | |
| 219 | - (hsz : ∀ n, SupportedGauge g.radial.inner g.radial.outer (qLength coord) U.carrier (u.axialResidual c n)) | |
| 220 | - (k n : ℕ) {s : Plane} (hs : s ∈ U.carrier) : | |
| 221 | - CorrectionState.radialMoment k (temporalIncrementState g h index axial c u).angular n s = 0 ∧ | |
| 222 | - CorrectionState.radialMoment k (temporalIncrementState g h index axial c u).axial n s = 0 := by | |
| 223 | - constructor | |
| 224 | - · exact radialMoment_zero_of_torusAverage k _ n s (fun R => | |
| 225 | - (temporalIncrement_torusMean_on U g ha hd hell h index axial c u hθ hz hpθ hpz hsz n R hs).1) | |
| 226 | - · exact radialMoment_zero_of_torusAverage k _ n s (fun R => | |
| 227 | - (temporalIncrement_torusMean_on U g ha hd hell h index axial c u hθ hz hpθ hpz hsz n R hs).2) | |
| 228 | - | |
| 229 | 198 | /-- Pressure reconstruction and the stored temporal alias leave the actual |
| 230 | 199 | angular/axial torus means unchanged after the common-index increment. -/ |
| 231 | 200 | theorem temporalStage_torusMean_on |
| @@ -289,19 +258,6 @@ theorem temporalStage_zeroMassesOn | ||
| 289 | 258 | hmθ hmz hθ hz hpθ hpz hsz n hs |
| 290 | 259 | exact ⟨he.1.trans (hu n s hs).1, he.2.trans (hu n s hs).2⟩ |
| 291 | 260 | |
| 292 | -theorem temporalStage_zeroMassesOn_of_global | |
| 293 | - (hmθ : ∀ n, ContinuousOn (u.mean.angular n) (PhysicalMeanDomain.slowDomain U.carrier)) | |
| 294 | - (hmz : ∀ n, ContinuousOn (u.mean.axial n) (PhysicalMeanDomain.slowDomain U.carrier)) | |
| 295 | - (hθ : ∀ n, ContDiffOn ℝ ∞ (u.thetaResidual c n) (PhysicalMeanDomain.slowDomain U.carrier)) | |
| 296 | - (hz : ∀ n, ContDiffOn ℝ ∞ (u.axialResidual c n) (PhysicalMeanDomain.slowDomain U.carrier)) | |
| 297 | - (hpθ : ∀ n, PhysicalMeanDomain.PeriodicOn U.carrier (u.thetaResidual c n)) | |
| 298 | - (hpz : ∀ n, PhysicalMeanDomain.PeriodicOn U.carrier (u.axialResidual c n)) | |
| 299 | - (hsz : ∀ n, SupportedGauge g.radial.inner g.radial.outer (qLength coord) U.carrier (u.axialResidual c n)) | |
| 300 | - (hu : CorrectionState.ZeroMasses u) : | |
| 301 | - ZeroMassesOn U.carrier (temporalStageState g h index axial c u) := | |
| 302 | - temporalStage_zeroMassesOn U g ha hd hell h index axial c u hmθ hmz hθ hz hpθ hpz hsz | |
| 303 | - (ZeroMassesOn.of_global hu) | |
| 304 | - | |
| 305 | 261 | end Temporal |
| 306 | 262 | |
| 307 | 263 | end NavierStokes.GaugeMassPreservation |
+0 −164 NavierStokes/GaugeMomentBalances.lean View file
| @@ -24,26 +24,6 @@ abbrev Point := PressureStream.Lift Plane | ||
| 24 | 24 | noncomputable def basePressureCoefficient (a b : ℝ) (hab : a < b) : ℝ := |
| 25 | 25 | IntegratedMeanBalances.moment 2 (PressureStream.rho a b hab) / 2 |
| 26 | 26 | |
| 27 | -theorem basePressureCoefficient_lower {a b : ℝ} (ha : 0 < a) (hab : a < b) : | |
| 28 | - a ^ 2 / 2 ≤ basePressureCoefficient a b hab := by | |
| 29 | - have hm : (∫ r, a ^ 2 * PressureStream.rho a b hab r) ≤ | |
| 30 | - ∫ r, r ^ 2 * PressureStream.rho a b hab r := by | |
| 31 | - apply integral_mono ((PressureStream.rho_integrable a b hab).const_mul (a ^ 2)) | |
| 32 | - (IntegratedMeanBalances.weighted_integrable (PressureStream.rho_contDiff a b hab).continuous | |
| 33 | - (PressureStream.rho_hasCompactSupport a b hab) 2) | |
| 34 | - intro r | |
| 35 | - by_cases hr : PressureStream.rho a b hab r = 0 | |
| 36 | - · simp only [hr, mul_zero, le_refl] | |
| 37 | - · have har := (PressureStream.rho_support a b hab hr).1 | |
| 38 | - apply mul_le_mul_of_nonneg_right _ (PressureStream.rho_nonneg a b hab r) | |
| 39 | - nlinarith [mul_nonneg (sub_nonneg.mpr har) (add_nonneg (ha.le.trans har) ha.le)] | |
| 40 | - rw [integral_const_mul, PressureStream.rho_integral, mul_one] at hm | |
| 41 | - exact div_le_div_of_nonneg_right hm (by norm_num) | |
| 42 | - | |
| 43 | -theorem basePressureCoefficient_pos {a b : ℝ} (ha : 0 < a) (hab : a < b) : | |
| 44 | - 0 < basePressureCoefficient a b hab := | |
| 45 | - lt_of_lt_of_le (by positivity : 0 < a ^ 2 / 2) (basePressureCoefficient_lower ha hab) | |
| 46 | - | |
| 47 | 27 | noncomputable def pressureCoefficient {S : Type} (g : VariableGaugeMean.GaugeData S) |
| 48 | 28 | (n : ℕ) (s : S) : ℝ := |
| 49 | 29 | basePressureCoefficient g.radial.inner g.radial.outer g.radial.inner_lt_outer * g.length n s ^ 2 |
| @@ -69,24 +49,6 @@ section GeneralGauge | ||
| 69 | 49 | |
| 70 | 50 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] |
| 71 | 51 | |
| 72 | -omit [NormedAddCommGroup S] [NormedSpace ℝ S] in | |
| 73 | -/-- This is the coefficient of the pressure debt, measured in the moving | |
| 74 | -physical radius, rather than in the normalized profile radius. -/ | |
| 75 | -theorem pressureCoefficient_measured (g : VariableGaugeMean.GaugeData S) (n : ℕ) (s : S) | |
| 76 | - (hl : 0 < g.length n s) (Y : Plane) : | |
| 77 | - (IntegratedMeanBalances.moment 2 (fun R => VariableGaugeMean.density | |
| 78 | - g.radial.inner g.radial.outer g.radial.inner_lt_outer (g.length n) (R, (s, Y)))) / 2 = | |
| 79 | - pressureCoefficient g n s := by | |
| 80 | - have he : (fun R => VariableGaugeMean.density g.radial.inner g.radial.outer | |
| 81 | - g.radial.inner_lt_outer (g.length n) (R, (s, Y))) = | |
| 82 | - PressureStream.rho (g.length n s * g.radial.inner) (g.length n s * g.radial.outer) | |
| 83 | - (mul_lt_mul_of_pos_left g.radial.inner_lt_outer hl) := by | |
| 84 | - funext R | |
| 85 | - exact VariableGaugeMean.density_eq_scaled g.radial.inner_lt_outer (g.length n) (R, (s, Y)) hl | |
| 86 | - rw [he, rho_second_moment_scale hl g.radial.inner_lt_outer] | |
| 87 | - unfold pressureCoefficient basePressureCoefficient | |
| 88 | - ring | |
| 89 | - | |
| 90 | 52 | /-- The actual moving-gauge pressure moment. Freezing is used only to apply |
| 91 | 53 | a radial integral theorem on one fiber; no slow derivative is frozen. -/ |
| 92 | 54 | theorem moving_pressure_moment {a b d M : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) |
| @@ -148,29 +110,6 @@ end GeneralGauge | ||
| 148 | 110 | |
| 149 | 111 | section SimilarityCoefficient |
| 150 | 112 | |
| 151 | -theorem similarity_pressureCoefficient {h d a b M : ℝ} (hab : a < b) (index : ℕ → ℕ) | |
| 152 | - (hc : 0 < 2 * h) (hc1 : 2 * h < 1) (n : ℕ) {s : Plane} (hs : 0 < s.1) : | |
| 153 | - pressureCoefficient (VariableGaugeMean.similarityGauge h d a b M hab index) n s = | |
| 154 | - basePressureCoefficient a b hab * SimilarityCoordinates.coordinateQ (2 * h) s := by | |
| 155 | - unfold pressureCoefficient VariableGaugeMean.similarityGauge VariableGaugeMean.qLength | |
| 156 | - rw [Real.sq_sqrt (SimilarityCoordinates.coordinateQ_spec hc hc1 hs).1.le] | |
| 157 | - | |
| 158 | -theorem similarity_pressureCoefficient_fderiv {h d a b M : ℝ} (hab : a < b) (index : ℕ → ℕ) | |
| 159 | - (hc : 0 < 2 * h) (hc1 : 2 * h < 1) (n : ℕ) {s : Plane} (hs : 0 < s.1) (v : Plane) : | |
| 160 | - fderiv ℝ (pressureCoefficient (VariableGaugeMean.similarityGauge h d a b M hab index) n) s v = | |
| 161 | - basePressureCoefficient a b hab * | |
| 162 | - ((v.1 + 2 * s.2 * SimilarityCoordinates.coordinateQ (2 * h) s ^ (2 * h) * v.2) / | |
| 163 | - SimilarityCoordinates.scalarSlope (2 * h) s.2 (SimilarityCoordinates.coordinateQ (2 * h) s)) := by | |
| 164 | - have he : pressureCoefficient (VariableGaugeMean.similarityGauge h d a b M hab index) n =ᶠ[𝓝 s] | |
| 165 | - (fun t => basePressureCoefficient a b hab * SimilarityCoordinates.coordinateQ (2 * h) t) := by | |
| 166 | - filter_upwards [continuousAt_fst.eventually (Ioi_mem_nhds hs)] with t ht | |
| 167 | - exact similarity_pressureCoefficient hab index hc hc1 n ht | |
| 168 | - rw [he.fderiv_eq] | |
| 169 | - have hd := ((SimilarityCoordinates.coordinateQ_smooth hc hc1 hs).differentiableAt (by simp)).hasFDerivAt | |
| 170 | - rw [(hd.const_mul (basePressureCoefficient a b hab)).fderiv] | |
| 171 | - change basePressureCoefficient a b hab * fderiv ℝ (SimilarityCoordinates.coordinateQ (2 * h)) s v = _ | |
| 172 | - rw [SimilarityCoordinates.coordinateQ_fderiv_apply hc hc1 hs] | |
| 173 | - | |
| 174 | 113 | end SimilarityCoefficient |
| 175 | 114 | |
| 176 | 115 | /-! ## Local integration on a genuine open slow region -/ |
| @@ -620,21 +559,6 @@ theorem reconstructed_state_axial_moment {coord : ℝ} (U : SlowRegion coord) | ||
| 620 | 559 | exact axial_flux_pressure_moment U g ha hd hg c u H.axial hf n hq |
| 621 | 560 | rwa [he, ← heq.fderiv_eq] |
| 622 | 561 | |
| 623 | -theorem state_axial_moment {coord : ℝ} (U : SlowRegion coord) | |
| 624 | - (g : VariableGaugeMean.GaugeData Plane) (ha : 0 < g.radial.inner) (hd : 0 < g.radial.exponent) | |
| 625 | - (hg : ∀ n, g.length n = VariableGaugeMean.qLength coord) | |
| 626 | - (ε fast : ℕ → ℝ) (z t v : Plane) (c : Context Point) (u : State Point) | |
| 627 | - (ho : c.operators = nativeOperators g.radial ε fast z t v) | |
| 628 | - (H : MovingAxialInputs U g.radial.inner g.radial.outer c u) | |
| 629 | - (hf : MovingField U g.radial.inner g.radial.outer (u.gr c)) | |
| 630 | - (hfixed : VariableGaugeMean.reconstructState g c u = u) | |
| 631 | - (hmass : ∀ n s, s ∈ U.carrier → CorrectionState.radialMoment 1 u.mean.axial n s = 0) | |
| 632 | - (n : ℕ) {s : Plane} (hs : s ∈ U.carrier) : | |
| 633 | - CorrectionState.radialMoment 1 (u.axialResidual c) n s = | |
| 634 | - ε n * fderiv ℝ (axialDebtPotential g c u n) s z := by | |
| 635 | - simpa only [hfixed] using | |
| 636 | - reconstructed_state_axial_moment U g ha hd hg ε fast z t v c u ho H hf hmass n hs | |
| 637 | - | |
| 638 | 562 | end MovingState |
| 639 | 563 | |
| 640 | 564 | /-! ## All variable-coefficient terms and the actual debt classes -/ |
| @@ -666,43 +590,6 @@ theorem pressureCoefficient_smooth {coord : ℝ} (U : SlowRegion coord) | ||
| 666 | 590 | exact contDiffOn_const.mul (((VariableGaugeMean.qLength_contDiffOn U.coord_pos U.coord_lt_one).mono |
| 667 | 591 | (fun s hs => U.time_pos s hs)).pow 2) |
| 668 | 592 | |
| 669 | -theorem q_pressureCoefficient_fderiv {coord : ℝ} (U : SlowRegion coord) | |
| 670 | - (g : VariableGaugeMean.GaugeData Plane) | |
| 671 | - (hg : ∀ n, g.length n = VariableGaugeMean.qLength coord) | |
| 672 | - (n : ℕ) {s : Plane} (hs : s ∈ U.carrier) (v : Plane) : | |
| 673 | - fderiv ℝ (pressureCoefficient g n) s v = | |
| 674 | - basePressureCoefficient g.radial.inner g.radial.outer g.radial.inner_lt_outer * | |
| 675 | - ((v.1 + 2 * s.2 * SimilarityCoordinates.coordinateQ coord s ^ coord * v.2) / | |
| 676 | - SimilarityCoordinates.scalarSlope coord s.2 (SimilarityCoordinates.coordinateQ coord s)) := by | |
| 677 | - have he : pressureCoefficient g n =ᶠ[𝓝 s] | |
| 678 | - (fun t => basePressureCoefficient g.radial.inner g.radial.outer g.radial.inner_lt_outer * | |
| 679 | - SimilarityCoordinates.coordinateQ coord t) := by | |
| 680 | - filter_upwards [U.isOpen.mem_nhds hs] with t ht | |
| 681 | - exact q_pressureCoefficient U g hg n ht | |
| 682 | - rw [he.fderiv_eq] | |
| 683 | - have hd := ((SimilarityCoordinates.coordinateQ_smooth U.coord_pos U.coord_lt_one | |
| 684 | - (U.time_pos s hs)).differentiableAt (by simp)).hasFDerivAt | |
| 685 | - rw [(hd.const_mul (basePressureCoefficient g.radial.inner g.radial.outer | |
| 686 | - g.radial.inner_lt_outer)).fderiv] | |
| 687 | - change basePressureCoefficient _ _ _ * fderiv ℝ (SimilarityCoordinates.coordinateQ coord) s v = _ | |
| 688 | - rw [SimilarityCoordinates.coordinateQ_fderiv_apply U.coord_pos U.coord_lt_one (U.time_pos s hs)] | |
| 689 | - | |
| 690 | -/-- On the positive axial half-plane the coefficient has a strictly positive | |
| 691 | -axial derivative, so replacing it by a constant would change the identity. -/ | |
| 692 | -theorem q_pressureCoefficient_axial_derivative_pos {coord : ℝ} (U : SlowRegion coord) | |
| 693 | - (g : VariableGaugeMean.GaugeData Plane) (ha : 0 < g.radial.inner) | |
| 694 | - (hg : ∀ n, g.length n = VariableGaugeMean.qLength coord) | |
| 695 | - (n : ℕ) {s : Plane} (hs : s ∈ U.carrier) (hz : 0 < s.2) : | |
| 696 | - 0 < fderiv ℝ (pressureCoefficient g n) s (0, 1) := by | |
| 697 | - have hq := SimilarityCoordinates.coordinateQ_spec U.coord_pos U.coord_lt_one (U.time_pos s hs) | |
| 698 | - have hforward : 0 < SimilarityCoordinates.forwardScalar coord s.2 | |
| 699 | - (SimilarityCoordinates.coordinateQ coord s) := by rw [hq.2]; exact U.time_pos s hs | |
| 700 | - have hsl := SimilarityCoordinates.scalarSlope_pos U.coord_pos U.coord_lt_one hq.1 hforward | |
| 701 | - rw [q_pressureCoefficient_fderiv U g hg n hs] | |
| 702 | - simp only [zero_add, mul_one] | |
| 703 | - exact mul_pos (basePressureCoefficient_pos ha g.radial.inner_lt_outer) | |
| 704 | - (div_pos (mul_pos (mul_pos (by norm_num) hz) (Real.rpow_pos_of_pos hq.1 coord)) hsl) | |
| 705 | - | |
| 706 | 593 | theorem axialDebtPotential_smooth {coord : ℝ} (U : SlowRegion coord) |
| 707 | 594 | (g : VariableGaugeMean.GaugeData Plane) (ha : 0 < g.radial.inner) |
| 708 | 595 | (hg : ∀ n, g.length n = VariableGaugeMean.qLength coord) |
| @@ -715,57 +602,6 @@ theorem axialDebtPotential_smooth {coord : ℝ} (U : SlowRegion coord) | ||
| 715 | 602 | ((pressureCoefficient_smooth U g hg n).mul |
| 716 | 603 | (hf.radialMoment_smooth ha g.radial.inner_lt_outer 0 n)) |
| 717 | 604 | |
| 718 | -/-- The product rule is applied to the actual measured coefficient. In | |
| 719 | -particular, the last summand is present even if the unweighted debts are known. -/ | |
| 720 | -theorem axialDebtPotential_fderiv {coord : ℝ} (U : SlowRegion coord) | |
| 721 | - (g : VariableGaugeMean.GaugeData Plane) (ha : 0 < g.radial.inner) | |
| 722 | - (hg : ∀ n, g.length n = VariableGaugeMean.qLength coord) | |
| 723 | - (c : Context Point) (u : State Point) | |
| 724 | - (hZ : MovingField U g.radial.inner g.radial.outer (axialAxialFlux c u)) | |
| 725 | - (hf : MovingField U g.radial.inner g.radial.outer (u.gr c)) | |
| 726 | - (n : ℕ) {s : Plane} (hs : s ∈ U.carrier) (v : Plane) : | |
| 727 | - fderiv ℝ (axialDebtPotential g c u n) s v = | |
| 728 | - fderiv ℝ (CorrectionState.axialDefect c u n) s v + | |
| 729 | - pressureCoefficient g n s * fderiv ℝ (CorrectionState.pressureDefect c u n) s v + | |
| 730 | - fderiv ℝ (pressureCoefficient g n) s v * CorrectionState.pressureDefect c u n s := by | |
| 731 | - have hP : ContDiffOn ℝ ∞ (CorrectionState.pressureDefect c u n) U.carrier := | |
| 732 | - hf.radialMoment_smooth ha g.radial.inner_lt_outer 0 n | |
| 733 | - have hJ : ContDiffOn ℝ ∞ (CorrectionState.axialDefect c u n) U.carrier := | |
| 734 | - (hZ.radialMoment_smooth ha g.radial.inner_lt_outer 1 n).sub | |
| 735 | - ((hf.radialMoment_smooth ha g.radial.inner_lt_outer 2 n).const_smul (1 / 2 : ℝ)) | |
| 736 | - have hp := ((hP.contDiffAt (U.isOpen.mem_nhds hs)).differentiableAt (by simp)).hasFDerivAt | |
| 737 | - have hj := ((hJ.contDiffAt (U.isOpen.mem_nhds hs)).differentiableAt (by simp)).hasFDerivAt | |
| 738 | - have hc := (((pressureCoefficient_smooth U g hg n).contDiffAt | |
| 739 | - (U.isOpen.mem_nhds hs)).differentiableAt (by simp)).hasFDerivAt | |
| 740 | - change fderiv ℝ (fun s => CorrectionState.axialDefect c u n s + | |
| 741 | - pressureCoefficient g n s * CorrectionState.pressureDefect c u n s) s v = _ | |
| 742 | - rw [(hj.fun_add (hc.fun_mul hp)).fderiv] | |
| 743 | - simp only [_root_.add_apply, _root_.smul_apply, smul_eq_mul] | |
| 744 | - ring | |
| 745 | - | |
| 746 | -/-- Explicit native `Z` balance, with the moving-density derivative retained. -/ | |
| 747 | -theorem state_axial_moment_expanded {coord : ℝ} (U : SlowRegion coord) | |
| 748 | - (g : VariableGaugeMean.GaugeData Plane) (ha : 0 < g.radial.inner) (hd : 0 < g.radial.exponent) | |
| 749 | - (hg : ∀ n, g.length n = VariableGaugeMean.qLength coord) | |
| 750 | - (ε fast : ℕ → ℝ) (v : Plane) (c : Context Point) (u : State Point) | |
| 751 | - (ho : c.operators = nativeOperators g.radial ε fast (0, 1) (1, 0) v) | |
| 752 | - (H : MovingAxialInputs U g.radial.inner g.radial.outer c u) | |
| 753 | - (hf : MovingField U g.radial.inner g.radial.outer (u.gr c)) | |
| 754 | - (hfixed : VariableGaugeMean.reconstructState g c u = u) | |
| 755 | - (hmass : ∀ n s, s ∈ U.carrier → CorrectionState.radialMoment 1 u.mean.axial n s = 0) | |
| 756 | - (n : ℕ) {s : Plane} (hs : s ∈ U.carrier) : | |
| 757 | - CorrectionState.radialMoment 1 (u.axialResidual c) n s = ε n * | |
| 758 | - (fderiv ℝ (CorrectionState.axialDefect c u n) s (0, 1) + | |
| 759 | - pressureCoefficient g n s * fderiv ℝ (CorrectionState.pressureDefect c u n) s (0, 1) + | |
| 760 | - (basePressureCoefficient g.radial.inner g.radial.outer g.radial.inner_lt_outer * | |
| 761 | - ((2 * s.2 * SimilarityCoordinates.coordinateQ coord s ^ coord) / | |
| 762 | - SimilarityCoordinates.scalarSlope coord s.2 (SimilarityCoordinates.coordinateQ coord s))) * | |
| 763 | - CorrectionState.pressureDefect c u n s) := by | |
| 764 | - rw [state_axial_moment U g ha hd hg ε fast (0, 1) (1, 0) v c u ho H hf hfixed hmass n hs, | |
| 765 | - axialDebtPotential_fderiv U g ha hg c u H.axial hf n hs, | |
| 766 | - q_pressureCoefficient_fderiv U g hg n hs] | |
| 767 | - simp only [zero_add, mul_one] | |
| 768 | - | |
| 769 | 605 | theorem pressureCoefficient_unweighted {coord : ℝ} (U : SlowRegion coord) |
| 770 | 606 | (P : SignedStressPrimitive.Patch) {cL cR : ℝ} (hcL : 0 < cL) (hcR : 0 < cR) |
| 771 | 607 | (ε L : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hL : ∀ n, 1 ≤ L n) |
+0 −80 NavierStokes/GaugeRadialResidualBounds.lean View file
| @@ -68,25 +68,12 @@ noncomputable def radialMinusAlias (g : VariableGaugeMean.GaugeData Plane) | ||
| 68 | 68 | (c : Context Point) (u : State Point) : Scalar := fun n x => |
| 69 | 69 | u.radialResidual c n x - VariableGaugeMean.pressureAliasState g c u n (x, 0) 0 |
| 70 | 70 | |
| 71 | -theorem radialMinusAlias_angle (g : VariableGaugeMean.GaugeData Plane) | |
| 72 | - (c : Context Point) (u : State Point) (n : ℕ) (x : Point) (theta : ℝ) : | |
| 73 | - u.radialResidual c n x - VariableGaugeMean.pressureAliasState g c u n (x, theta) 0 = | |
| 74 | - radialMinusAlias g c u n x := rfl | |
| 75 | - | |
| 76 | 71 | /-- The pressure defect is the actual zeroth radial moment of the radial |
| 77 | 72 | source, with the same auxiliary-torus average used by the gauge. -/ |
| 78 | 73 | theorem pressureDefect_eq_mass (c : Context Point) (u : State Point) (n : ℕ) (s : Plane) : |
| 79 | 74 | pressureDefect c u n s = PressureStream.pressureMass (u.gr c n) s := by |
| 80 | 75 | simp only [pressureDefect, radialMoment, pow_zero, one_mul] |
| 81 | 76 | |
| 82 | -/-- Pressure reconstruction preserves every primitive input field: this | |
| 83 | -record deliberately contains no output regularity assertion for pressure. -/ | |
| 84 | -theorem primitiveData_reconstructState {coord a b : ℝ} {U : SlowRegion coord} | |
| 85 | - (g : VariableGaugeMean.GaugeData Plane) {c : Context Point} {u : State Point} | |
| 86 | - (H : MeanStateRegularity.PrimitiveData U a b c u) : | |
| 87 | - MeanStateRegularity.PrimitiveData U a b c (VariableGaugeMean.reconstructState g c u) := | |
| 88 | - ⟨H.operators, H.base, H.mean, H.covariance, H.virtualTheta, H.virtualAxial⟩ | |
| 89 | - | |
| 90 | 77 | section Identity |
| 91 | 78 | |
| 92 | 79 | variable {coord : ℝ} (U : SlowRegion coord) (g : VariableGaugeMean.GaugeData Plane) |
| @@ -115,18 +102,6 @@ theorem radialMinusAlias_identity | ||
| 115 | 102 | simp only [VariableGaugeMean.pressureAliasState, Matrix.cons_val_zero] |
| 116 | 103 | ring |
| 117 | 104 | |
| 118 | -/-- Applying the actual constructor discharges pressure reconstruction; the | |
| 119 | -same incoming primitive data and pressure debt are used. -/ | |
| 120 | -theorem reconstructed_identity | |
| 121 | - (H : MeanStateRegularity.PrimitiveData U g.radial.inner g.radial.outer c u) | |
| 122 | - (hr : RadialMatch U.carrier g c.operators) | |
| 123 | - (n : ℕ) {x : Point} (hx : x.2.1 ∈ U.carrier) : | |
| 124 | - radialMinusAlias g c (VariableGaugeMean.reconstructState g c u) n x = | |
| 125 | - -VariableGaugeMean.density g.radial.inner g.radial.outer g.radial.inner_lt_outer | |
| 126 | - (g.length n) x * pressureDefect c u n x.2.1 := | |
| 127 | - radialMinusAlias_identity U g ha hd hell c (VariableGaugeMean.reconstructState g c u) | |
| 128 | - (primitiveData_reconstructState g H) hr rfl n hx | |
| 129 | - | |
| 130 | 105 | end Identity |
| 131 | 106 | |
| 132 | 107 | section Classes |
| @@ -180,17 +155,6 @@ theorem radialMinusAlias_class (c : Context Point) (u : State Point) | ||
| 180 | 155 | epsilon slow hepsilon hepsilon_one hslow x).mp hx).1 |
| 181 | 156 | exact radialMinusAlias_identity U g ha hd hell c u H hr hfixed n hxu |
| 182 | 157 | |
| 183 | -include hd in | |
| 184 | -/-- The actual reconstructed state's radial class is derived without an | |
| 185 | -input assertion that its pressure already equals the gauge formula. -/ | |
| 186 | -theorem reconstructed_class (c : Context Point) (u : State Point) | |
| 187 | - (H : MeanStateRegularity.PrimitiveData U g.radial.inner g.radial.outer c u) | |
| 188 | - (hr : RadialMatch U.carrier g c.operators) | |
| 189 | - {alpha : ℝ} (hdebt : UnweightedClass slowStrip alpha (pressureDefect c u)) : | |
| 190 | - MeanClass strip alpha (radialMinusAlias g c (VariableGaugeMean.reconstructState g c u)) := | |
| 191 | - radialMinusAlias_class U g ha hd hcL hcR epsilon slow hepsilon hepsilon_one hslow hell | |
| 192 | - c (VariableGaugeMean.reconstructState g c u) (primitiveData_reconstructState g H) hr rfl hdebt | |
| 193 | - | |
| 194 | 158 | end Classes |
| 195 | 159 | |
| 196 | 160 | section Similarity |
| @@ -210,50 +174,6 @@ local notation "strip" => movingStripData U a b cL cR ha hcL hcR | ||
| 210 | 174 | local notation "slowStrip" => PhysicalMeanDomain.localSlowStripData U.carrier U.isOpen |
| 211 | 175 | epsilon slow hepsilon hepsilon_one hslow |
| 212 | 176 | |
| 213 | -include ha in | |
| 214 | -/-- The normalized bump and sign for the actual similarity gauge. -/ | |
| 215 | -theorem similarity_identity (c : Context Point) (u : State Point) | |
| 216 | - (H : MeanStateRegularity.PrimitiveData U a b c u) | |
| 217 | - (hr : RadialMatch U.carrier gauge c.operators) | |
| 218 | - (hfixed : (VariableGaugeMean.reconstructState gauge c u).pressure = u.pressure) | |
| 219 | - (n : ℕ) {x : Point} (hx : x.2.1 ∈ U.carrier) : | |
| 220 | - u.radialResidual c n x - VariableGaugeMean.pressureAliasState gauge c u n (x, 0) 0 = | |
| 221 | - -VariableGaugeMean.density a b hab (VariableGaugeMean.qLength (2 * h)) x * | |
| 222 | - pressureDefect c u n x.2.1 := by | |
| 223 | - have hh : 0 ≤ h := by linarith [U.coord_pos] | |
| 224 | - exact radialMinusAlias_identity U gauge ha (ChartScales.radialExponent_pos h hh) | |
| 225 | - (fun _ => rfl) c u H hr hfixed n hx | |
| 226 | - | |
| 227 | -/-- The iteration's radial component: an S_(1+sigma) pressure debt gives | |
| 228 | -M_(1+sigma) for the current alias-subtracted radial residual. -/ | |
| 229 | -theorem similarity_class (c : Context Point) (u : State Point) | |
| 230 | - (H : MeanStateRegularity.PrimitiveData U a b c u) | |
| 231 | - (hr : RadialMatch U.carrier gauge c.operators) | |
| 232 | - (hfixed : (VariableGaugeMean.reconstructState gauge c u).pressure = u.pressure) | |
| 233 | - (hdebt : UnweightedClass slowStrip (1 + sigma) (pressureDefect c u)) : | |
| 234 | - MeanClass strip (1 + sigma) (fun n x => | |
| 235 | - u.radialResidual c n x - VariableGaugeMean.pressureAliasState gauge c u n (x, 0) 0) := by | |
| 236 | - have hh : 0 ≤ h := by linarith [U.coord_pos] | |
| 237 | - exact radialMinusAlias_class U gauge ha (ChartScales.radialExponent_pos h hh) | |
| 238 | - hcL hcR epsilon slow hepsilon hepsilon_one hslow (fun _ => rfl) c u H hr hfixed hdebt | |
| 239 | - | |
| 240 | -/-- With the actual native operators, every radial matching field is proved | |
| 241 | -from the constructor. The only operator premise is the literal input binding. -/ | |
| 242 | -theorem similarity_native_class (c : Context Point) (u : State Point) | |
| 243 | - (H : MeanStateRegularity.PrimitiveData U a b c u) | |
| 244 | - (fast : ℕ → ℝ) (axial slowTime temporal : Plane) | |
| 245 | - (ho : c.operators = StateMomentBalances.nativeOperators (gauge).radial | |
| 246 | - epsilon fast axial slowTime temporal) | |
| 247 | - (hfixed : (VariableGaugeMean.reconstructState gauge c u).pressure = u.pressure) | |
| 248 | - (hdebt : UnweightedClass slowStrip (1 + sigma) (pressureDefect c u)) : | |
| 249 | - MeanClass strip (1 + sigma) (fun n x => | |
| 250 | - u.radialResidual c n x - VariableGaugeMean.pressureAliasState gauge c u n (x, 0) 0) := by | |
| 251 | - apply similarity_class U ha hab hcL hcR Mbase index epsilon slow hepsilon hepsilon_one hslow c u H | |
| 252 | - · rw [ho] | |
| 253 | - exact RadialMatch.nativeOperators U.carrier gauge epsilon fast axial slowTime temporal | |
| 254 | - · exact hfixed | |
| 255 | - · exact hdebt | |
| 256 | - | |
| 257 | 177 | end Similarity |
| 258 | 178 | |
| 259 | 179 | end NavierStokes.GaugeRadialResidualBounds |
+0 −114 NavierStokes/GaugeStateCoherence.lean View file
| @@ -35,14 +35,6 @@ noncomputable def chartEquiv (l : ℝ) (hl : l ≠ 0) (P : S ≃L[ℝ] T) (k : | ||
| 35 | 35 | PhysicalResidualNaturality.scalarEquiv_apply, smul_eq_mul, |
| 36 | 36 | MeanChartCompatibility.coverMap_eq_coverPower] |
| 37 | 37 | |
| 38 | -theorem chartEquiv_toContinuousLinearMap (l : ℝ) (hl : l ≠ 0) (P : S ≃L[ℝ] T) (k : ℕ) : | |
| 39 | - (chartEquiv l hl P k).toContinuousLinearMap = | |
| 40 | - MeanChartCompatibility.chartLinear l | |
| 41 | - (P.toContinuousLinearMap.prodMap (TemporalMeanUpdate.coverMap k)) := by | |
| 42 | - apply ContinuousLinearMap.ext | |
| 43 | - intro z | |
| 44 | - exact chartEquiv_apply l hl P k z | |
| 45 | - | |
| 46 | 38 | theorem coverPull_eq (l : ℝ) (hl : l ≠ 0) (P : S ≃L[ℝ] T) (k : ℕ) |
| 47 | 39 | (u : ℝ) (f : PressureStream.Lift T → ℝ) (z : PressureStream.Lift S) : |
| 48 | 40 | MeanChartCompatibility.coverPull l P.toContinuousLinearMap k u f z = |
| @@ -196,15 +188,6 @@ theorem pressureAlias_zero_of_nonpositive {a b d : ℝ} (ha : 0 < a) (hab : a < | ||
| 196 | 188 | (VariableGaugeMean.pressureSource a b hab ell f) hn |
| 197 | 189 | exact (not_lt_of_ge (hh.1.trans hz)) (mul_pos hl ha) |
| 198 | 190 | |
| 199 | -theorem pressureAlias_supported {a b d : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) | |
| 200 | - (M : ℝ) (ell : S → ℝ) (v : Plane) (f : PressureStream.Lift S → ℝ) | |
| 201 | - (V : Set S) (hl : ∀ s ∈ V, 0 < ell s) : | |
| 202 | - VariableGaugeMean.SupportedGauge a b ell V (pressureAlias d a b M hab ell v f) := by | |
| 203 | - intro z hz hn | |
| 204 | - exact RadialPullback.physicalAlias_supported (mul_pos (hl _ hz) ha) | |
| 205 | - (mul_lt_mul_of_pos_left hab (hl _ hz)) hd M ((0 : S), v) | |
| 206 | - (VariableGaugeMean.pressureSource a b hab ell f) hn | |
| 207 | - | |
| 208 | 191 | theorem pressureAlias_congr_profile {d a b d' a' b' : ℝ} {hab : a < b} {hab' : a' < b'} |
| 209 | 192 | (hd : d = d') (ha : a = a') (hb : b = b') (M : ℝ) (ell : S → ℝ) |
| 210 | 193 | (v : Plane) (f : PressureStream.Lift S → ℝ) : |
| @@ -416,105 +399,8 @@ theorem bandVelocityScale_eq_ratioPower (h : ℝ) (n m : ℕ) : | ||
| 416 | 399 | PhysicalParticularWave.ratioPower (ChartScales.Q n) (ChartScales.Q m) (CoordinateAlgebra.A h) := |
| 417 | 400 | Real.div_rpow (ChartScales.Q_pos n).le (ChartScales.Q_pos m).le _ |
| 418 | 401 | |
| 419 | -/-- Concrete band/common-cover reconstruction, with the length and frequency | |
| 420 | -transport laws derived from `similarityGauge` itself. -/ | |
| 421 | -theorem similarity_reconstruction_on {h d a b M : ℝ} | |
| 422 | - (hh : 0 < h) (hh1 : h < 1/2) (ha : 0 < a) (hab : a < b) (hd : 0 < d) | |
| 423 | - (index : ℕ → ℕ) (n m k : ℕ) (hi : index n + k = index m) | |
| 424 | - {V U : Set Plane} (hV : IsOpen V) (hU : IsOpen U) (htime : ∀ s ∈ V, 0 < s.1) | |
| 425 | - (hmap : MapsTo (bandSlowEquiv h n m) V U) | |
| 426 | - (C Cr : CorrectionState.Context (PressureStream.Lift Plane)) | |
| 427 | - (s r : CorrectionState.State (PressureStream.Lift Plane)) | |
| 428 | - (H : StateOn (PhysicalMeanDomain.slowDomain V) (bandChartEquiv h n m k) | |
| 429 | - (bandVelocityScale h n m) (bandScale n m) s r n m) | |
| 430 | - (G : ContextOn (PhysicalMeanDomain.slowDomain V) (bandChartEquiv h n m k) | |
| 431 | - (bandVelocityScale h n m) (bandScale n m) C Cr n m) | |
| 432 | - (hf : ContDiffOn ℝ ∞ (r.gr Cr m) (PhysicalMeanDomain.slowDomain U)) | |
| 433 | - (hp : PhysicalMeanDomain.PeriodicOn U (r.gr Cr m)) | |
| 434 | - (hs : VariableGaugeMean.SupportedGauge a b (VariableGaugeMean.qLength (2*h)) U (r.gr Cr m)) : | |
| 435 | - StateOn (PhysicalMeanDomain.slowDomain V) (bandChartEquiv h n m k) | |
| 436 | - (bandVelocityScale h n m) (bandScale n m) | |
| 437 | - (VariableGaugeMean.reconstructState (VariableGaugeMean.similarityGauge h d a b M hab index) C s) | |
| 438 | - (VariableGaugeMean.reconstructState (VariableGaugeMean.similarityGauge h d a b M hab index) Cr r) n m ∧ | |
| 439 | - ∀ z ∈ PhysicalMeanDomain.slowDomain V, ∀ theta i, | |
| 440 | - VariableGaugeMean.pressureAliasState (VariableGaugeMean.similarityGauge h d a b M hab index) C s n | |
| 441 | - (z, theta) i = | |
| 442 | - (bandVelocityScale h n m * bandVelocityScale h n m * bandScale n m) * | |
| 443 | - VariableGaugeMean.pressureAliasState (VariableGaugeMean.similarityGauge h d a b M hab index) Cr r m | |
| 444 | - (bandChartEquiv h n m k z, theta) i := by | |
| 445 | - have hg := similarityGaugeOn hh hh1 d a b M hab index n m k hi htime | |
| 446 | - exact ⟨reconstructState_on (bandScale_pos n m) (bandSlowEquiv h n m) k hV hU hmap | |
| 447 | - _ _ C Cr s r n m ha hd hg H G hf hp hs, | |
| 448 | - pressureAliasState_on (bandScale_pos n m) (bandSlowEquiv h n m) k hV hU hmap | |
| 449 | - _ _ C Cr s r n m ha hd hg H G hf hp hs⟩ | |
| 450 | - | |
| 451 | 402 | /-! ## Actual support, on the same moving shell -/ |
| 452 | 403 | |
| 453 | -theorem supportedGauge_of_scalarOn {l u a b : ℝ} (hl : 0 < l) | |
| 454 | - (P : S ≃L[ℝ] T) (k : ℕ) (ell : S → ℝ) (ell' : T → ℝ) {V : Set S} {U : Set T} | |
| 455 | - (hmap : MapsTo P V U) (hlen : ∀ s ∈ V, ell' (P s) = l * ell s) | |
| 456 | - {f : PressureStream.Lift S → ℝ} {fr : PressureStream.Lift T → ℝ} | |
| 457 | - (he : ScalarOn (PhysicalMeanDomain.slowDomain V) (chartEquiv l hl.ne' P k) u f fr) | |
| 458 | - (hs : VariableGaugeMean.SupportedGauge a b ell' U fr) : | |
| 459 | - VariableGaugeMean.SupportedGauge a b ell V f := by | |
| 460 | - intro z hz hn | |
| 461 | - have hne : fr (chartEquiv l hl.ne' P k z) ≠ 0 := by | |
| 462 | - intro hh | |
| 463 | - apply hn | |
| 464 | - rw [he z hz, hh, mul_zero] | |
| 465 | - have hmem : (chartEquiv l hl.ne' P k z).2.1 ∈ U := by | |
| 466 | - simpa only [chartEquiv_apply] using hmap hz | |
| 467 | - have hbnd := hs _ hmem hne | |
| 468 | - rw [chartEquiv_apply] at hbnd | |
| 469 | - change l * z.1 ∈ Icc (ell' (P z.2.1) * a) (ell' (P z.2.1) * b) at hbnd | |
| 470 | - rw [hlen _ hz, mul_assoc, mul_assoc] at hbnd | |
| 471 | - exact ⟨(mul_le_mul_iff_right₀ hl).mp hbnd.1, (mul_le_mul_iff_right₀ hl).mp hbnd.2⟩ | |
| 472 | - | |
| 473 | -theorem meanPressure_supported {a b d : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) | |
| 474 | - (M : ℝ) (ell : S → ℝ) (v : Plane) {U : Set S} (hU : IsOpen U) | |
| 475 | - (hl : ∀ s ∈ U, 0 < ell s) {f : PressureStream.Lift S → ℝ} | |
| 476 | - (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain U)) | |
| 477 | - (hs : VariableGaugeMean.SupportedGauge a b ell U f) : | |
| 478 | - VariableGaugeMean.SupportedGauge a b ell U (VariableGaugeMean.meanPressure d a b M hab ell v f) := by | |
| 479 | - intro z hz hn | |
| 480 | - let g := PhysicalMeanDomain.freezeSlow z.2.1 f | |
| 481 | - have hg : ContDiff ℝ ∞ g := VariableGaugeMean.freezeSlow_contDiff hU hz hf | |
| 482 | - have hgs : RadialAlias.RadiallySupported (ell z.2.1 * a) (ell z.2.1 * b) g := | |
| 483 | - fun p hp => hs (p.1, (z.2.1, p.2.2)) hz hp | |
| 484 | - have hvalue : PressureStream.meanPressure d (ell z.2.1 * a) (ell z.2.1 * b) M | |
| 485 | - (mul_lt_mul_of_pos_left hab (hl _ hz)) v g z = | |
| 486 | - VariableGaugeMean.meanPressure d a b M hab ell v f z := by | |
| 487 | - rw [VariableGaugeMean.meanPressure_eq_fixed hab d M ell v f z (hl _ hz)] | |
| 488 | - exact PhysicalMeanDomain.meanPressure_fiberLocal d _ _ M _ v g f z.2.1 (fun _ _ => rfl) z.1 z.2.2 | |
| 489 | - apply PressureStream.meanPressure_supported (M := M) (mul_pos (hl _ hz) ha) | |
| 490 | - (mul_lt_mul_of_pos_left hab (hl _ hz)) hd v hg hgs | |
| 491 | - exact fun hh => hn (hvalue.symm.trans hh) | |
| 492 | - | |
| 493 | -theorem reconstructState_pressure_supported (g : VariableGaugeMean.GaugeData S) | |
| 494 | - (C : CorrectionState.Context (PressureStream.Lift S)) (s : CorrectionState.State (PressureStream.Lift S)) | |
| 495 | - (n : ℕ) (ha : 0 < g.radial.inner) (hd : 0 < g.radial.exponent) {U : Set S} (hU : IsOpen U) | |
| 496 | - (hl : ∀ t ∈ U, 0 < g.length n t) | |
| 497 | - (hf : ContDiffOn ℝ ∞ (s.gr C n) (PhysicalMeanDomain.slowDomain U)) | |
| 498 | - (hs : VariableGaugeMean.SupportedGauge g.radial.inner g.radial.outer (g.length n) U (s.gr C n)) : | |
| 499 | - VariableGaugeMean.SupportedGauge g.radial.inner g.radial.outer (g.length n) U | |
| 500 | - ((VariableGaugeMean.reconstructState g C s).pressure n) := | |
| 501 | - meanPressure_supported ha g.radial.inner_lt_outer hd (g.radial.frequency n) (g.length n) | |
| 502 | - g.radial.radialDirection hU hl hf hs | |
| 503 | - | |
| 504 | -theorem pressureAliasState_supported (g : VariableGaugeMean.GaugeData S) | |
| 505 | - (C : CorrectionState.Context (PressureStream.Lift S)) (s : CorrectionState.State (PressureStream.Lift S)) | |
| 506 | - (n : ℕ) (ha : 0 < g.radial.inner) (hd : 0 < g.radial.exponent) {U : Set S} | |
| 507 | - (hl : ∀ t ∈ U, 0 < g.length n t) (theta : ℝ) (i : Fin 3) : | |
| 508 | - VariableGaugeMean.SupportedGauge g.radial.inner g.radial.outer (g.length n) U | |
| 509 | - (fun z => VariableGaugeMean.pressureAliasState g C s n (z, theta) i) := by | |
| 510 | - intro z hz hn | |
| 511 | - fin_cases i | |
| 512 | - · apply pressureAlias_supported ha g.radial.inner_lt_outer hd (g.radial.frequency n) | |
| 513 | - (g.length n) g.radial.radialDirection (s.gr C n) U hl z hz | |
| 514 | - exact neg_ne_zero.mp hn | |
| 515 | - · exact (hn rfl).elim | |
| 516 | - · exact (hn rfl).elim | |
| 517 | - | |
| 518 | 404 | end |
| 519 | 405 | |
| 520 | 406 | end NavierStokes.GaugeStateCoherence |
+50 −0 routes/s1-ns-gauge-1/README.md added View file
| @@ -0,0 +1,50 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-gauge-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1, "Delete declarations that nothing uses"), family `NavierStokes/Gauge*`: delete 40 | |
| 8 | +declarations that nothing uses, in 7 files, 561 lines. | |
| 9 | + | |
| 10 | +- `NavierStokes/GaugeAliasDecay.lean`: `meanClass_fastDividedAlias_superflat` (22 lines) | |
| 11 | +- `NavierStokes/GaugeDebtIncrement.lean`: `radialMoment_add_on`, `moving_subset_positive`, | |
| 12 | + `temporalStage_debt_change_formula`, `temporalStage_defectBounds` (47 lines) | |
| 13 | +- `NavierStokes/GaugeExcludedBounds.lean`: `pressureAlias_axisymmetric`, `temporalAlias_axisymmetric`, | |
| 14 | + `pressureAliasState_bounds`, `temporalAliasState_bounds`, `primitiveData_reconstruct`, | |
| 15 | + `reconstructed_pressure_fixed`, `temporalAliasState_reconstructed_bounds` (90 lines) | |
| 16 | +- `NavierStokes/GaugeMassPreservation.lean`: `radialMoment_zero_of_torusAverage`, `ZeroMassesOn.of_global`, | |
| 17 | + `temporalIncrement_radialMoments_zero_on`, `temporalStage_zeroMassesOn_of_global` (44 lines) | |
| 18 | +- `NavierStokes/GaugeMomentBalances.lean`: `basePressureCoefficient_lower`, `basePressureCoefficient_pos`, | |
| 19 | + `pressureCoefficient_measured`, `similarity_pressureCoefficient`, `similarity_pressureCoefficient_fderiv`, | |
| 20 | + `state_axial_moment`, `q_pressureCoefficient_fderiv`, `q_pressureCoefficient_axial_derivative_pos`, | |
| 21 | + `axialDebtPotential_fderiv`, `state_axial_moment_expanded` (164 lines) | |
| 22 | +- `NavierStokes/GaugeRadialResidualBounds.lean`: `radialMinusAlias_angle`, `primitiveData_reconstructState`, | |
| 23 | + `reconstructed_identity`, `reconstructed_class`, `similarity_identity`, `similarity_class`, | |
| 24 | + `similarity_native_class` (80 lines) | |
| 25 | +- `NavierStokes/GaugeStateCoherence.lean`: `chartEquiv_toContinuousLinearMap`, `pressureAlias_supported`, | |
| 26 | + `similarity_reconstruction_on`, `supportedGauge_of_scalarOn`, `meanPressure_supported`, | |
| 27 | + `reconstructState_pressure_supported`, `pressureAliasState_supported` (114 lines) | |
| 28 | + | |
| 29 | +The unit is cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and re-read against this | |
| 30 | +project's declaration graph on `main` 440c919, under the rule that the paper's results stay. The diff is | |
| 31 | +deletions only: no statement or proof that stays is changed. | |
| 32 | + | |
| 33 | +What I checked before committing. For each of the 40 short names, `git grep -n -w` on `*.lean` at the head of | |
| 34 | +this branch finds no remaining use. The only hits are other declarations that happen to share the short name, | |
| 35 | +which is fine: `of_global` (`LocalClass.of_global`, `NonzeroSupported.of_global` and | |
| 36 | +`SublevelShrinkingSupport.of_global`; `GaugeMassPreservation.ZeroMassesOn` itself and | |
| 37 | +`GaugeMassPreservation.temporalStage_zeroMassesOn` stay), `state_axial_moment` (the theorem of that name in | |
| 38 | +`NavierStokes/StateMomentBalances.lean`, used there at line 1118), and `meanPressure_supported` | |
| 39 | +(`PressureStream.meanPressure_supported` in `NavierStokes/PressureStream.lean`). The docstrings deleted with | |
| 40 | +these declarations are one or two lines each about the declaration itself; none names a numbered Lemma, | |
| 41 | +Theorem, Proposition, Corollary, Section or Equation of the paper (`git diff --cached` searched for those), so | |
| 42 | +no paper result goes with them. | |
| 43 | + | |
| 44 | +`python3 checks/challenge.py .` ends with `ok: 4 challenge files and the build configuration as approved; 2590 | |
| 45 | +Lean files, 616574 lines, toolchain leanprover/lean4:v4.34.0-rc2`. | |
| 46 | + | |
| 47 | +## Next | |
| 48 | + | |
| 49 | +Push and open the pull request; the other `NavierStokes/Gauge*` declarations and the other units of #10 are | |
| 50 | +separate. | |