| @@ -276,12 +276,6 @@ theorem meanBar_dr (o : MeanIncrementBounds.Operators (Lift S)) |
| 276 | 276 | simpa only [MeanIncrementBounds.Operators.radialDiv, zero_smul, add_zero] using |
| 277 | 277 | meanBar_radialDiv o hradius hprofile f hf hp 0 |
| 278 | 278 | |
| 279 | | -omit [NormedAddCommGroup S] [NormedSpace ℝ S] in |
| 280 | | -theorem meanBar_band_mul (c : ℕ → ℝ) (f : ScalarField (Lift S)) : |
| 281 | | - meanBar (fun n x => c n * f n x) = fun n x => c n * meanBar f n x := by |
| 282 | | - funext n x |
| 283 | | - exact average_const_mul (c n) (f n) (x.1, x.2.1) |
| 284 | | - |
| 285 | 279 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] in |
| 286 | 280 | theorem average_radial_mul (c : ℝ → ℝ) (f : Lift S → ℝ) (x : ℝ × S) : |
| 287 | 281 | PressureStream.torusAverage (fun y => c y.1 * f y) x = |
| @@ -576,14 +570,6 @@ theorem balance_axial (ε : ℝ) (z t : S) (u R Z T : ℝ × S → ℝ) : |
| 576 | 570 | funext x |
| 577 | 571 | simp [balance, axialBalanceAlong, IntegratedMeanBalances.axialRadialViscosity] |
| 578 | 572 | |
| 579 | | -theorem angularBalanceAlong_eq_integrated (ε : ℝ) (u R Z T : IntegratedMeanBalances.MeanField) : |
| 580 | | - angularBalanceAlong ε (0, 1) (1, 0) u R Z T = |
| 581 | | - IntegratedMeanBalances.angularBalance ε u R Z T := rfl |
| 582 | | - |
| 583 | | -theorem axialBalanceAlong_eq_integrated (ε : ℝ) (u R Z p T : IntegratedMeanBalances.MeanField) : |
| 584 | | - axialBalanceAlong ε (0, 1) (1, 0) u R (fun x => Z x + p x) T = |
| 585 | | - IntegratedMeanBalances.axialBalance ε u R Z p T := rfl |
| 586 | | - |
| 587 | 573 | section MomentIntegration |
| 588 | 574 | |
| 589 | 575 | open IntegratedMeanBalances |
| @@ -728,9 +714,6 @@ structure FluxInputs (a b : ℝ) (u R Z T : ScalarField (Lift S)) : Prop where |
| 728 | 714 | axial_periodic : ∀ n, PressureStream.TorusPeriodicLift (Z n) |
| 729 | 715 | stress_periodic : ∀ n, PressureStream.TorusPeriodicLift (T n) |
| 730 | 716 | |
| 731 | | -abbrev AngularInputs (a b : ℝ) (c : Context (Lift S)) (u : State (Lift S)) := |
| 732 | | - FluxInputs a b u.mean.angular (thetaRadialFlux c u) (thetaAxialFlux c u) c.virtualTheta |
| 733 | | - |
| 734 | 717 | abbrev AxialInputs (a b : ℝ) (c : Context (Lift S)) (u : State (Lift S)) := |
| 735 | 718 | FluxInputs a b u.mean.axial (axialRadialFlux c u) (axialAxialFlux c u) c.virtualAxial |
| 736 | 719 | |
| @@ -746,53 +729,11 @@ theorem periodic_add {f g : Lift S → ℝ} (hf : PressureStream.TorusPeriodicLi |
| 746 | 729 | intro R s Y k |
| 747 | 730 | exact congrArg₂ (· + ·) (hf R s Y k) (hg R s Y k) |
| 748 | 731 | |
| 749 | | -theorem averaged_thetaResidual {a b : ℝ} (ha : 0 < a) |
| 750 | | - (r : ReconstructionData) (ε fast : ℕ → ℝ) (z t : S) (v : PressureStream.Plane) |
| 751 | | - (c : Context (Lift S)) (u : State (Lift S)) |
| 752 | | - (ho : c.operators = nativeOperators r ε fast z t v) (H : AngularInputs a b c u) |
| 753 | | - (n : ℕ) : |
| 754 | | - averaged (u.thetaResidual c) n = angularBalanceAlong (ε n) z t |
| 755 | | - (averaged u.mean.angular n) (averaged (thetaRadialFlux c u) n) |
| 756 | | - (averaged (thetaAxialFlux c u) n) (averaged c.virtualTheta n) := by |
| 757 | | - have he : u.thetaResidual c = fluxResidual (nativeOperators r ε fast z t v) 2 1 |
| 758 | | - u.mean.angular (thetaRadialFlux c u) (thetaAxialFlux c u) c.virtualTheta := by |
| 759 | | - simp only [State.thetaResidual, MeanIncrementBounds.thetaResidual, fluxResidual, |
| 760 | | - thetaRadialFlux, thetaAxialFlux, ho] |
| 761 | | - rw [he] |
| 762 | | - funext x |
| 763 | | - rw [averaged_fluxResidual ha r ε fast z t v 2 1 H.velocity H.radial H.axial H.stress |
| 764 | | - H.velocity_periodic H.radial_periodic H.axial_periodic H.stress_periodic, |
| 765 | | - balance_angular] |
| 766 | | - |
| 767 | | -theorem state_angular_moment {a b : ℝ} (ha : 0 < a) |
| 768 | | - (r : ReconstructionData) (ε fast : ℕ → ℝ) (z t : S) (v : PressureStream.Plane) |
| 769 | | - (c : Context (Lift S)) (u : State (Lift S)) |
| 770 | | - (ho : c.operators = nativeOperators r ε fast z t v) (H : AngularInputs a b c u) |
| 771 | | - (hmass : CorrectionState.radialMoment 2 u.mean.angular = 0) (n : ℕ) (s : S) : |
| 772 | | - CorrectionState.radialMoment 2 (u.thetaResidual c) n s = |
| 773 | | - ε n * fderiv ℝ (CorrectionState.thetaDefect c u n) s z := by |
| 774 | | - have hm : IntegratedMeanBalances.radialMoment 2 (averaged u.mean.angular n) = 0 := by |
| 775 | | - funext q |
| 776 | | - rw [← state_radialMoment_eq, hmass] |
| 777 | | - rfl |
| 778 | | - have hdebt : CorrectionState.thetaDefect c u n = |
| 779 | | - IntegratedMeanBalances.radialMoment 2 (averaged (thetaAxialFlux c u) n) := by |
| 780 | | - funext q |
| 781 | | - exact state_radialMoment_eq 2 (thetaAxialFlux c u) n q |
| 782 | | - rw [state_radialMoment_eq, averaged_thetaResidual ha r ε fast z t v c u ho H n, hdebt] |
| 783 | | - exact integrated_angular_along (ε n) z t (averaged_radialShell H.velocity n) |
| 784 | | - (averaged_radialShell H.radial n) (averaged_radialShell H.axial n) |
| 785 | | - (averaged_radialShell H.stress n) hm s |
| 786 | | - |
| 787 | 732 | noncomputable def pressureRecipe (r : ReconstructionData) (c : Context (Lift S)) |
| 788 | 733 | (u : State (Lift S)) : ScalarField (Lift S) := |
| 789 | 734 | fun n => PressureStream.meanPressure r.exponent r.inner r.outer (r.frequency n) |
| 790 | 735 | r.inner_lt_outer r.radialDirection (u.gr c n) |
| 791 | 736 | |
| 792 | | -theorem pressure_recipe_of_fixed (r : ReconstructionData) (c : Context (Lift S)) |
| 793 | | - (u : State (Lift S)) (h : reconstructPressure r c u = u) : u.pressure = pressureRecipe r c u := by |
| 794 | | - exact (congrArg State.pressure h).symm |
| 795 | | - |
| 796 | 737 | theorem pressureRecipe_shell (r : ReconstructionData) (ha : 0 < r.inner) (hd : 0 < r.exponent) |
| 797 | 738 | (c : Context (Lift S)) (u : State (Lift S)) |
| 798 | 739 | (hg : DefectIncrementBounds.Shell r.inner r.outer (u.gr c)) : |
| @@ -824,17 +765,6 @@ theorem pressureRecipe_moment (r : ReconstructionData) (ha : 0 < r.inner) (hd : |
| 824 | 765 | (IntegratedMeanBalances.constructed_pressure_moment (M := r.frequency n) |
| 825 | 766 | ha r.inner_lt_outer hd r.radialDirection (hg.smooth n) (hg.supported n) (pg n) s) |
| 826 | 767 | |
| 827 | | -/-- The exact pressure alias has zero auxiliary mean because the constructed |
| 828 | | -pressure source has zero total mass. -/ |
| 829 | | -theorem pressureAlias_average_zero (r : ReconstructionData) (ha : 0 < r.inner) (hd : 0 < r.exponent) |
| 830 | | - (c : Context (Lift S)) (u : State (Lift S)) |
| 831 | | - (hg : DefectIncrementBounds.Shell r.inner r.outer (u.gr c)) |
| 832 | | - (pg : ∀ n, PressureStream.TorusPeriodicLift (u.gr c n)) (n : ℕ) (x : ℝ × S) : |
| 833 | | - PressureStream.torusAverage (PressureStream.pressureAlias r.exponent r.inner r.outer |
| 834 | | - (r.frequency n) r.inner_lt_outer r.radialDirection (u.gr c n)) x = 0 := |
| 835 | | - PressureStream.pressureAlias_mean_zero ha r.inner_lt_outer hd r.radialDirection |
| 836 | | - (hg.smooth n) (hg.supported n) (pg n) x |
| 837 | | - |
| 838 | 768 | theorem physicalCompact_periodic (d a b M : ℝ) (v : PressureStream.Plane) |
| 839 | 769 | {f : Lift S → ℝ} (hp : PressureStream.TorusPeriodicLift f) : |
| 840 | 770 | PressureStream.TorusPeriodicLift (RadialPullback.physicalCompact d a b M (0, v) f) := by |
| @@ -858,75 +788,6 @@ theorem physicalCompact_periodic (d a b M : ℝ) (v : PressureStream.Plane) |
| 858 | 788 | TransportPrimitive.compactIntegral, TransportPrimitive.pastIntegral, TransportPrimitive.totalIntegral, |
| 859 | 789 | he] |
| 860 | 790 | |
| 861 | | -theorem physicalAlias_periodic (d a b M : ℝ) (v : PressureStream.Plane) |
| 862 | | - {f : Lift S → ℝ} (hp : PressureStream.TorusPeriodicLift f) : |
| 863 | | - PressureStream.TorusPeriodicLift (RadialPullback.physicalAlias d a b M (0, v) f) := by |
| 864 | | - intro R s Y k |
| 865 | | - have he : (fun q : ℝ => RadialPullback.normalizeSource d a f |
| 866 | | - (TransportPrimitive.shift M ((0 : S), v) |
| 867 | | - (RadialPullback.powerChart d a R, (s, Y + ((k.1 : ℝ), (k.2 : ℝ)))) q)) = |
| 868 | | - fun q : ℝ => RadialPullback.normalizeSource d a f |
| 869 | | - (TransportPrimitive.shift M ((0 : S), v) |
| 870 | | - (RadialPullback.powerChart d a R, (s, Y)) q) := by |
| 871 | | - funext q |
| 872 | | - simp only [RadialPullback.normalizeSource, RadialPullback.liftChart, |
| 873 | | - TransportPrimitive.shift, Prod.add_def, Prod.smul_def, smul_zero, add_zero] |
| 874 | | - simpa only [Prod.add_def, Prod.smul_def, add_right_comm] using |
| 875 | | - congrArg (fun u : ℝ => RadialPullback.sourceMultiplier d a |
| 876 | | - (RadialPullback.powerChart d a R + q) • u) |
| 877 | | - (hp (RadialPullback.inverseChart d a (RadialPullback.powerChart d a R + q)) s |
| 878 | | - (Y + (M * q) • v) k) |
| 879 | | - simp only [RadialPullback.physicalAlias, RadialPullback.liftChart, |
| 880 | | - TransportPrimitive.totalIntegral, he] |
| 881 | | - |
| 882 | | -omit [NormedAddCommGroup S] [NormedSpace ℝ S] in |
| 883 | | -theorem average_neg (f : Lift S → ℝ) (x : ℝ × S) : |
| 884 | | - PressureStream.torusAverage (fun y => -f y) x = -PressureStream.torusAverage f x := by |
| 885 | | - simp only [PressureStream.torusAverage, PressureStream.torusInner, intervalIntegral.integral_neg] |
| 886 | | - |
| 887 | | -theorem pressureAlias_state_average_zero (r : ReconstructionData) |
| 888 | | - (ha : 0 < r.inner) (hd : 0 < r.exponent) (c : Context (Lift S)) (u : State (Lift S)) |
| 889 | | - (hg : DefectIncrementBounds.Shell r.inner r.outer (u.gr c)) |
| 890 | | - (pg : ∀ n, PressureStream.TorusPeriodicLift (u.gr c n)) (n : ℕ) (x : ℝ × S) (i : Fin 3) : |
| 891 | | - PressureStream.torusAverage (fun y => CorrectionState.pressureAlias r c u n (y, 0) i) x = 0 := by |
| 892 | | - fin_cases i |
| 893 | | - · change PressureStream.torusAverage (fun y => -PressureStream.pressureAlias r.exponent r.inner r.outer |
| 894 | | - (r.frequency n) r.inner_lt_outer r.radialDirection (u.gr c n) y) x = 0 |
| 895 | | - rw [average_neg, pressureAlias_average_zero r ha hd c u hg pg, neg_zero] |
| 896 | | - · simp [CorrectionState.pressureAlias, PressureStream.torusAverage, PressureStream.torusInner] |
| 897 | | - · simp [CorrectionState.pressureAlias, PressureStream.torusAverage, PressureStream.torusInner] |
| 898 | | - |
| 899 | | -theorem axialAlias_periodic (d a b M : ℝ) (v : PressureStream.Plane) (h : ℝ) (n : ℕ) |
| 900 | | - (f : Lift S → ℝ) : |
| 901 | | - PressureStream.TorusPeriodicLift (TemporalMeanUpdate.axialAlias d a b M v h n f) := by |
| 902 | | - have hp := physicalAlias_periodic d a b M v |
| 903 | | - (PressureStream.weightedSource_periodic (TemporalMeanUpdate.desiredIncrement_periodic h n f)) |
| 904 | | - intro R s Y k |
| 905 | | - exact congrArg (fun a : ℝ => a / R) (hp R s Y k) |
| 906 | | - |
| 907 | | -theorem temporalAlias_average_zero [FiniteDimensional ℝ S] |
| 908 | | - (r : ReconstructionData) (ha : 0 < r.inner) (hd : 0 < r.exponent) (h : ℝ) |
| 909 | | - (c : Context (Lift S)) (u : State (Lift S)) |
| 910 | | - (hres : DefectIncrementBounds.Shell r.inner r.outer (u.axialResidual c)) |
| 911 | | - (pres : ∀ n, PressureStream.TorusPeriodicLift (u.axialResidual c n)) |
| 912 | | - (n : ℕ) (x : ℝ × S) (i : Fin 3) : |
| 913 | | - PressureStream.torusAverage (fun y => temporalAlias r h c u n (y, 0) i) x = 0 := by |
| 914 | | - fin_cases i |
| 915 | | - · simp [temporalAlias, PressureStream.torusAverage, PressureStream.torusInner] |
| 916 | | - · simp [temporalAlias, PressureStream.torusAverage, PressureStream.torusInner] |
| 917 | | - · change PressureStream.torusAverage (fun y => -TemporalMeanUpdate.fastDerivative h n |
| 918 | | - (TemporalMeanUpdate.axialAlias r.exponent r.inner r.outer (r.frequency n) |
| 919 | | - r.radialDirection h n (u.axialResidual c n)) y) x = 0 |
| 920 | | - rw [average_neg] |
| 921 | | - change -PressureStream.torusAverage (fun y => ChartScales.timeCoefficient h n * |
| 922 | | - fderiv ℝ (TemporalMeanUpdate.axialAlias r.exponent r.inner r.outer (r.frequency n) |
| 923 | | - r.radialDirection h n (u.axialResidual c n)) y (0, (0, TorusInverse.vector .temporal))) x = 0 |
| 924 | | - rw [AuxiliaryAverage.average_const_mul, |
| 925 | | - AuxiliaryAverage.average_torusDerivative |
| 926 | | - (TemporalMeanUpdate.axialAlias_smooth ha r.inner_lt_outer hd r.radialDirection h n |
| 927 | | - (hres.smooth n) (pres n) (hres.supported n)) |
| 928 | | - (axialAlias_periodic _ _ _ _ _ _ _ _), mul_zero, neg_zero] |
| 929 | | - |
| 930 | 791 | theorem pressureRecipe_periodic (r : ReconstructionData) (c : Context (Lift S)) |
| 931 | 792 | (u : State (Lift S)) (pg : ∀ n, PressureStream.TorusPeriodicLift (u.gr c n)) : |
| 932 | 793 | ∀ n, PressureStream.TorusPeriodicLift (pressureRecipe r c u n) := by |
| @@ -1012,24 +873,6 @@ section ClassBounds |
| 1012 | 873 | |
| 1013 | 874 | open WeightedClasses MeanMomentBounds SignedStressPrimitive |
| 1014 | 875 | |
| 1015 | | -theorem slowClass_smooth {ε slow : ℕ → ℝ} |
| 1016 | | - {hε : ∀ n, 0 < ε n} {hε1 : ∀ n, ε n ≤ 1} {hslow : ∀ n, 1 ≤ slow n} |
| 1017 | | - {α : ℝ} {f : ℕ → S → ℝ} |
| 1018 | | - (hf : UnweightedClass (slowStripData ε slow hε hε1 hslow) α f) (n : ℕ) : |
| 1019 | | - ContDiff ℝ ∞ (f n) := contDiffOn_univ.mp (hf.smooth n) |
| 1020 | | - |
| 1021 | | -theorem slowClass_globalBandJets {ε slow : ℕ → ℝ} |
| 1022 | | - {hε : ∀ n, 0 < ε n} {hε1 : ∀ n, ε n ≤ 1} {hslow : ∀ n, 1 ≤ slow n} |
| 1023 | | - {α : ℝ} {f : ℕ → S → ℝ} |
| 1024 | | - (hf : UnweightedClass (slowStripData ε slow hε hε1 hslow) α f) : |
| 1025 | | - GlobalBandJets ε slow α f := by |
| 1026 | | - intro m |
| 1027 | | - obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 1028 | | - refine ⟨C, hC, p, ?_⟩ |
| 1029 | | - intro n x j hj |
| 1030 | | - simpa only [majorant, slowStripData, StripData.growth, inv_one, max_self, mul_one] |
| 1031 | | - using hb n x (Set.mem_univ x) j hj |
| 1032 | | - |
| 1033 | 876 | noncomputable def slowProjection : Lift S →L[ℝ] S := |
| 1034 | 877 | (ContinuousLinearMap.fst ℝ S PressureStream.Plane).comp |
| 1035 | 878 | (ContinuousLinearMap.snd ℝ ℝ (S × PressureStream.Plane)) |
| @@ -1041,100 +884,6 @@ theorem norm_slowProjection_le : ‖slowProjection (S := S)‖ ≤ 1 := by |
| 1041 | 884 | simp only [one_mul, Prod.norm_def] |
| 1042 | 885 | exact (le_max_left _ _).trans (le_max_right _ _) |
| 1043 | 886 | |
| 1044 | | -theorem slowClass_lift (P : Patch) {cL cR : ℝ} (hcL : 0 < cL) (hcR : 0 < cR) |
| 1045 | | - {ε slow : ℕ → ℝ} {hε : ∀ n, 0 < ε n} {hε1 : ∀ n, ε n ≤ 1} {hslow : ∀ n, 1 ≤ slow n} |
| 1046 | | - {α : ℝ} {f : ℕ → S → ℝ} |
| 1047 | | - (hf : UnweightedClass (slowStripData ε slow hε hε1 hslow) α f) : |
| 1048 | | - UnweightedClass |
| 1049 | | - (WeightedRadialPrimitive.logStripData P.a P.b cL cR P.a_pos hcL hcR ε slow hε hε1 hslow) |
| 1050 | | - α (fun n (x : Lift S) => f n x.2.1) := by |
| 1051 | | - apply globalBandJets_unweighted_log P.a_pos hcL hcR hε hε1 hslow |
| 1052 | | - (fun n => (slowClass_smooth hf n).comp contDiff_snd.fst) |
| 1053 | | - exact (slowClass_globalBandJets hf).compLinear (slowClass_smooth hf) |
| 1054 | | - slowProjection norm_slowProjection_le |
| 1055 | | - |
| 1056 | | -theorem fderiv_parameterLift {f : S → ℝ} (hf : ContDiff ℝ ∞ f) |
| 1057 | | - (p : S × PressureStream.Plane) (z : S) : |
| 1058 | | - fderiv ℝ (fun y : S × PressureStream.Plane => f y.1) p (z, 0) = fderiv ℝ f p.1 z := by |
| 1059 | | - change fderiv ℝ (f ∘ Prod.fst) p (z, 0) = _ |
| 1060 | | - rw [(((hf.differentiable (by simp)) p.1).hasFDerivAt.comp p hasFDerivAt_fst).fderiv] |
| 1061 | | - rfl |
| 1062 | | - |
| 1063 | | -/-- The hypothesis is a bound on the actual slow debt. The residual moment |
| 1064 | | -identity is supplied by the state theorems below, rather than a bump estimate. -/ |
| 1065 | | -theorem bump_class_from_actual_debt (P : Patch) (e : ℕ) {cL cR : ℝ} |
| 1066 | | - (hcL : 0 < cL) (hcR : 0 < cR) (ε slow : ℕ → ℝ) |
| 1067 | | - (hε : ∀ n, 0 < ε n) (hε1 : ∀ n, ε n ≤ 1) (hslow : ∀ n, 1 ≤ slow n) |
| 1068 | | - (α : ℝ) (F : ScalarField (Lift S)) (D : ScalarField S) (z : S) |
| 1069 | | - (hD : UnweightedClass (slowStripData ε slow hε hε1 hslow) α D) |
| 1070 | | - (hidentity : ∀ n s, CorrectionState.radialMoment e F n s = ε n * fderiv ℝ (D n) s z) : |
| 1071 | | - MeanClass |
| 1072 | | - (WeightedRadialPrimitive.logStripData P.a P.b cL cR P.a_pos hcL hcR ε slow hε hε1 hslow) |
| 1073 | | - (α + 1) (fun n => bumpCorrection P e (meanBar F n)) := by |
| 1074 | | - apply bump_improvedClass_of_moment_identity P e hcL hcR ε slow hε hε1 hslow α |
| 1075 | | - (meanBar F) (fun n (p : S × PressureStream.Plane) => D n p.1) (z, 0) |
| 1076 | | - (fun n => (slowClass_smooth hD n).comp contDiff_fst) (slowClass_lift P hcL hcR hD) |
| 1077 | | - intro n p |
| 1078 | | - change IntegratedMeanBalances.radialMoment e (averaged F n) p.1 = _ |
| 1079 | | - rw [← state_radialMoment_eq, hidentity, fderiv_parameterLift (slowClass_smooth hD n)] |
| 1080 | | - |
| 1081 | | -theorem state_angular_bump_improvedClass (P : Patch) {cL cR : ℝ} |
| 1082 | | - (hcL : 0 < cL) (hcR : 0 < cR) (r : ReconstructionData) (ha : 0 < r.inner) |
| 1083 | | - (ε fast slow : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hε1 : ∀ n, ε n ≤ 1) |
| 1084 | | - (hslow : ∀ n, 1 ≤ slow n) (z t : S) (v : PressureStream.Plane) |
| 1085 | | - (c : Context (Lift S)) (u : State (Lift S)) (α : ℝ) |
| 1086 | | - (ho : c.operators = nativeOperators r ε fast z t v) (H : AngularInputs r.inner r.outer c u) |
| 1087 | | - (hmass : ZeroMasses u) |
| 1088 | | - (hD : UnweightedClass (slowStripData ε slow hε hε1 hslow) α (thetaDefect c u)) : |
| 1089 | | - MeanClass |
| 1090 | | - (WeightedRadialPrimitive.logStripData P.a P.b cL cR P.a_pos hcL hcR ε slow hε hε1 hslow) |
| 1091 | | - (α + 1) (fun n => bumpCorrection P 2 (meanBar (u.thetaResidual c) n)) := by |
| 1092 | | - apply bump_class_from_actual_debt P 2 hcL hcR ε slow hε hε1 hslow α |
| 1093 | | - (u.thetaResidual c) (thetaDefect c u) z hD |
| 1094 | | - exact state_angular_moment ha r ε fast z t v c u ho H hmass.1 |
| 1095 | | - |
| 1096 | | -theorem state_axial_bump_improvedClass (P : Patch) {cL cR : ℝ} |
| 1097 | | - (hcL : 0 < cL) (hcR : 0 < cR) (r : ReconstructionData) |
| 1098 | | - (ha : 0 < r.inner) (hd : 0 < r.exponent) |
| 1099 | | - (ε fast slow : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hε1 : ∀ n, ε n ≤ 1) |
| 1100 | | - (hslow : ∀ n, 1 ≤ slow n) (z t : S) (v : PressureStream.Plane) |
| 1101 | | - (c : Context (Lift S)) (u : State (Lift S)) (α : ℝ) |
| 1102 | | - (ho : c.operators = nativeOperators r ε fast z t v) (H : AxialInputs r.inner r.outer c u) |
| 1103 | | - (hg : DefectIncrementBounds.Shell r.inner r.outer (u.gr c)) |
| 1104 | | - (pg : ∀ n, PressureStream.TorusPeriodicLift (u.gr c n)) |
| 1105 | | - (hrecipe : u.pressure = pressureRecipe r c u) (hmass : ZeroMasses u) |
| 1106 | | - (hP : UnweightedClass (slowStripData ε slow hε hε1 hslow) α (pressureDefect c u)) |
| 1107 | | - (hZ : UnweightedClass (slowStripData ε slow hε hε1 hslow) α (axialDefect c u)) : |
| 1108 | | - MeanClass |
| 1109 | | - (WeightedRadialPrimitive.logStripData P.a P.b cL cR P.a_pos hcL hcR ε slow hε hε1 hslow) |
| 1110 | | - (α + 1) (fun n => bumpCorrection P 1 (meanBar (u.axialResidual c) n)) := by |
| 1111 | | - have hC := hP.map ((ContinuousLinearMap.lsmul ℝ ℝ) (pressureCoefficient r)) |
| 1112 | | - have hD : UnweightedClass (slowStripData ε slow hε hε1 hslow) α (axialDebtPotential r c u) := by |
| 1113 | | - have h := hZ.add hC |
| 1114 | | - simp only [ContinuousLinearMap.lsmul_apply, smul_eq_mul] at h ⊢ |
| 1115 | | - exact h |
| 1116 | | - apply bump_class_from_actual_debt P 1 hcL hcR ε slow hε hε1 hslow α |
| 1117 | | - (u.axialResidual c) (axialDebtPotential r c u) z hD |
| 1118 | | - exact state_axial_moment r ha hd ε fast z t v c u ho H hg pg hrecipe hmass.2 |
| 1119 | | - |
| 1120 | | -theorem debt_component_pressure (c : Context (Lift S)) (u : State (Lift S)) : |
| 1121 | | - (fun n s => debt c u n s 0) = pressureDefect c u := rfl |
| 1122 | | - |
| 1123 | | -theorem debt_component_angular (c : Context (Lift S)) (u : State (Lift S)) : |
| 1124 | | - (fun n s => debt c u n s 1) = thetaDefect c u := rfl |
| 1125 | | - |
| 1126 | | -theorem debt_component_axial (c : Context (Lift S)) (u : State (Lift S)) : |
| 1127 | | - (fun n s => debt c u n s 2) = axialDefect c u := rfl |
| 1128 | | - |
| 1129 | | -theorem defectBounds_components {ε slow : ℕ → ℝ} |
| 1130 | | - {hε : ∀ n, 0 < ε n} {hε1 : ∀ n, ε n ≤ 1} {hslow : ∀ n, 1 ≤ slow n} |
| 1131 | | - {σ : ℝ} {c : Context (Lift S)} {u : State (Lift S)} |
| 1132 | | - (hD : DefectBounds (slowStripData ε slow hε hε1 hslow) σ c u) : |
| 1133 | | - UnweightedClass (slowStripData ε slow hε hε1 hslow) (1 + σ) (pressureDefect c u) ∧ |
| 1134 | | - UnweightedClass (slowStripData ε slow hε hε1 hslow) (1 + σ) (thetaDefect c u) ∧ |
| 1135 | | - UnweightedClass (slowStripData ε slow hε hε1 hslow) (1 + σ) (axialDefect c u) := |
| 1136 | | - ⟨hD 0, hD 1, hD 2⟩ |
| 1137 | | - |
| 1138 | 887 | end ClassBounds |
| 1139 | 888 | |
| 1140 | 889 | end NavierStokes.StateMomentBalances |