| @@ -117,8 +117,7 @@ theorem PolynomialJets.add {f g : ι → E → F} |
| 117 | 117 | nlinarith |
| 118 | 118 | |
| 119 | 119 | theorem PolynomialJets.neg {f : ι → E → F} (hf : PolynomialJets D f) : |
| 120 | | - PolynomialJets D (fun i x => -f i x) := by |
| 121 | | - simpa using hf.clm (-ContinuousLinearMap.id ℝ F) |
| 120 | + PolynomialJets D (fun i x => -f i x) := hf.clm (-ContinuousLinearMap.id ℝ F) |
| 122 | 121 | |
| 123 | 122 | theorem PolynomialJets.sub {f g : ι → E → F} |
| 124 | 123 | (hf : PolynomialJets D f) (hg : PolynomialJets D g) : |
| @@ -142,7 +141,7 @@ theorem PolynomialJets.bilinear {f : ι → E → F} {g : ι → E → G} |
| 142 | 141 | obtain ⟨C, hC, c, hc⟩ := hg.bound N |
| 143 | 142 | refine ⟨(‖B‖ + 1) * 2 ^ N * A * C, ?_, a + c, ?_⟩ |
| 144 | 143 | · have hpow : (1 : ℝ) ≤ 2 ^ N := one_le_pow₀ (by norm_num) |
| 145 | | - have hba : 1 ≤ (‖B‖ + 1) * 2 ^ N := one_le_mul' (by nlinarith [norm_nonneg B]) hpow |
| 144 | + have hba : 1 ≤ (‖B‖ + 1) * 2 ^ N := one_le_mul' (by linarith [norm_nonneg B]) hpow |
| 146 | 145 | exact one_le_mul' (one_le_mul' hba hA) hC |
| 147 | 146 | intro i |
| 148 | 147 | apply (JetBounds.FiniteJetBound.bilinear B (D.isOpen i) |
| @@ -157,13 +156,11 @@ theorem PolynomialJets.bilinear {f : ι → E → F} {g : ι → E → G} |
| 157 | 156 | |
| 158 | 157 | theorem PolynomialJets.mul {f g : ι → E → ℝ} |
| 159 | 158 | (hf : PolynomialJets D f) (hg : PolynomialJets D g) : |
| 160 | | - PolynomialJets D (fun i x => f i x * g i x) := by |
| 161 | | - simpa using hf.bilinear hg (ContinuousLinearMap.mul ℝ ℝ) |
| 159 | + PolynomialJets D (fun i x => f i x * g i x) := hf.bilinear hg (ContinuousLinearMap.mul ℝ ℝ) |
| 162 | 160 | |
| 163 | 161 | theorem PolynomialJets.smul {f : ι → E → ℝ} {g : ι → E → F} |
| 164 | 162 | (hf : PolynomialJets D f) (hg : PolynomialJets D g) : |
| 165 | | - PolynomialJets D (fun i x => f i x • g i x) := by |
| 166 | | - simpa using hf.bilinear hg (ContinuousLinearMap.lsmul ℝ ℝ) |
| 163 | + PolynomialJets D (fun i x => f i x • g i x) := hf.bilinear hg (ContinuousLinearMap.lsmul ℝ ℝ) |
| 167 | 164 | |
| 168 | 165 | theorem PolynomialJets.fderiv {f : ι → E → F} (hf : PolynomialJets D f) : |
| 169 | 166 | PolynomialJets D (fun i => fderiv ℝ (f i)) := by |
| @@ -182,7 +179,7 @@ theorem PolynomialJets.affine (L : E →L[ℝ] F) (c : ι → F) {C : ℝ} {m : |
| 182 | 179 | PolynomialJets D (fun i x => L x + c i) := by |
| 183 | 180 | refine ⟨fun _ => L.contDiff.contDiffOn.add contDiffOn_const, ?_⟩ |
| 184 | 181 | intro N |
| 185 | | - refine ⟨C + ‖L‖, by nlinarith [norm_nonneg L], m, ?_⟩ |
| 182 | + refine ⟨C + ‖L‖, by linarith [norm_nonneg L], m, ?_⟩ |
| 186 | 183 | intro i n hn x hx |
| 187 | 184 | have hs : 1 ≤ D.scale i ^ m := one_le_pow₀ (D.one_le_scale i) |
| 188 | 185 | have hfd : _root_.fderiv ℝ (fun y => L y + c i) = fun _ => L := by |
| @@ -237,11 +234,11 @@ theorem PolynomialJets.precomp_affine {D' : Domain ι F} {f : ι → F → G} |
| 237 | 234 | (L.contDiff.contDiffOn.add contDiffOn_const) (hmap i), ?_⟩ |
| 238 | 235 | intro N |
| 239 | 236 | obtain ⟨C, hC, m, hm⟩ := hf.bound N |
| 240 | | - refine ⟨C * (‖L‖ + 1) ^ N, one_le_mul' hC (one_le_pow₀ (by nlinarith [norm_nonneg L])), m, ?_⟩ |
| 237 | + refine ⟨C * (‖L‖ + 1) ^ N, one_le_mul' hC (one_le_pow₀ (by linarith [norm_nonneg L])), m, ?_⟩ |
| 241 | 238 | intro i n hn x hx |
| 242 | 239 | have hp : ‖L‖ ^ n ≤ (‖L‖ + 1) ^ N := |
| 243 | 240 | (pow_le_pow_left₀ (norm_nonneg L) (by linarith) n).trans |
| 244 | | - (pow_le_pow_right₀ (by nlinarith [norm_nonneg L]) hn) |
| 241 | + (pow_le_pow_right₀ (by linarith [norm_nonneg L]) hn) |
| 245 | 242 | calc |
| 246 | 243 | _ ≤ ‖iteratedFDeriv ℝ n (f i) (L x + c i)‖ * ‖L‖ ^ n := |
| 247 | 244 | norm_jet_comp_affine (D'.isOpen i) (hf.smooth i) L (c i) (hmap i x hx) n |
| @@ -550,13 +547,13 @@ theorem PhaseFamily.polynomial_jets (a : PhaseFamily ι) (D : Domain ι Slow) |
| 550 | 547 | PolynomialJets (D.slot V hV) a.velocity ∧ |
| 551 | 548 | PolynomialJets (D.slot V hV) a.shear := by |
| 552 | 549 | have hpε : PolynomialJets (D.slot V hV) (fun i _ => a.epsilon i) := |
| 553 | | - PolynomialJets.const_uniform _ hM (fun i => by simpa using (hconstant i).1) |
| 550 | + PolynomialJets.const_uniform _ hM (fun i => (hconstant i).1) |
| 554 | 551 | have hpp : PolynomialJets (D.slot V hV) (fun i _ => a.p i) := |
| 555 | | - PolynomialJets.const_uniform _ hM (fun i => by simpa using (hconstant i).2.1) |
| 552 | + PolynomialJets.const_uniform _ hM (fun i => (hconstant i).2.1) |
| 556 | 553 | have hppz : PolynomialJets (D.slot V hV) (fun i _ => a.pz i) := |
| 557 | | - PolynomialJets.const_uniform _ hM (fun i => by simpa using (hconstant i).2.2.1) |
| 554 | + PolynomialJets.const_uniform _ hM (fun i => (hconstant i).2.2.1) |
| 558 | 555 | have hpx : PolynomialJets (D.slot V hV) (fun i _ => a.x0 i) := |
| 559 | | - PolynomialJets.const_uniform _ hM (fun i => by simpa using (hconstant i).2.2.2) |
| 556 | + PolynomialJets.const_uniform _ hM (fun i => (hconstant i).2.2.2) |
| 560 | 557 | have hpR : PolynomialJets D (fun _ q => q.1) := by |
| 561 | 558 | simpa only [ContinuousLinearMap.coe_fst', add_zero] using |
| 562 | 559 | (PolynomialJets.affine (D := D) (ContinuousLinearMap.fst ℝ ℝ (ℝ × ℝ)) |
| @@ -658,13 +655,13 @@ theorem FrameJets.modal_errors {d : ι → PrimaryODE.FrameData Q} (h : FrameJet |
| 658 | 655 | simpa only [PrimaryODE.FrameData.error11, MovingFrameODE.modal11, div_eq_mul_inv] using |
| 659 | 656 | (((h.errorA.add hb).add hc).sub h.eigenRate).div_const 2 |
| 660 | 657 | · unfold PrimaryODE.FrameData.error12 |
| 661 | | - simpa only [PrimaryODE.FrameData.error12, MovingFrameODE.modal12, div_eq_mul_inv] using |
| 658 | + simpa only [MovingFrameODE.modal12, div_eq_mul_inv] using |
| 662 | 659 | (((h.errorA.sub hb).add hc).add h.eigenRate).div_const 2 |
| 663 | 660 | · unfold PrimaryODE.FrameData.error21 |
| 664 | | - simpa only [PrimaryODE.FrameData.error21, MovingFrameODE.modal21, div_eq_mul_inv] using |
| 661 | + simpa only [MovingFrameODE.modal21, div_eq_mul_inv] using |
| 665 | 662 | (((h.errorA.add hb).sub hc).add h.eigenRate).div_const 2 |
| 666 | 663 | · unfold PrimaryODE.FrameData.error22 |
| 667 | | - simpa only [PrimaryODE.FrameData.error22, MovingFrameODE.modal22, div_eq_mul_inv] using |
| 664 | + simpa only [MovingFrameODE.modal22, div_eq_mul_inv] using |
| 668 | 665 | (((h.errorA.sub hb).sub hc).sub h.eigenRate).div_const 2 |
| 669 | 666 | |
| 670 | 667 | theorem FrameJets.coefficient {d : ι → PrimaryODE.FrameData Q} (h : FrameJets D d) (j : ℤ) : |
| @@ -680,8 +677,7 @@ theorem FrameJets.coefficient {d : ι → PrimaryODE.FrameData Q} (h : FrameJets |
| 680 | 677 | apply hh.congr |
| 681 | 678 | intro i z _ |
| 682 | 679 | ext w k |
| 683 | | - fin_cases k <;> simp [PrimaryODE.FrameData.coefficient, PrimaryODE.FrameData.damping, |
| 684 | | - GrowingMode.modalOperator] |
| 680 | + fin_cases k <;> simp [PrimaryODE.FrameData.coefficient, PrimaryODE.FrameData.damping] |
| 685 | 681 | |
| 686 | 682 | /-- The actual projection and eigenbasis conversion of a supplied source |
| 687 | 683 | preserve polynomial jets. A scalar weight on the source can be carried |
| @@ -746,13 +742,13 @@ theorem PolynomialJets.parameter_bound {F : Type*} [NormedAddCommGroup F] [Norme |
| 746 | 742 | obtain ⟨C, hC, m, hm⟩ := hf.bound N |
| 747 | 743 | let L := ContinuousLinearMap.inl ℝ Q ℝ |
| 748 | 744 | refine ⟨C * (‖L‖ + 1) ^ N, |
| 749 | | - one_le_mul' hC (one_le_pow₀ (by nlinarith [norm_nonneg L])), m, ?_⟩ |
| 745 | + one_le_mul' hC (one_le_pow₀ (by linarith [norm_nonneg L])), m, ?_⟩ |
| 750 | 746 | intro i p v hp k hk |
| 751 | 747 | have hmap : L p + (0, v) ∈ D.carrier i := by simpa [L] using hp |
| 752 | 748 | have hjet := norm_jet_comp_affine (D.isOpen i) (hf.smooth i) L (0, v) hmap k |
| 753 | 749 | have hfac : ‖L‖ ^ k ≤ (‖L‖ + 1) ^ N := |
| 754 | 750 | (pow_le_pow_left₀ (norm_nonneg L) (by linarith) k).trans |
| 755 | | - (pow_le_pow_right₀ (by nlinarith [norm_nonneg L]) hk) |
| 751 | + (pow_le_pow_right₀ (by linarith [norm_nonneg L]) hk) |
| 756 | 752 | calc |
| 757 | 753 | _ ≤ ‖iteratedFDeriv ℝ k (f i) (p, v)‖ * ‖L‖ ^ k := by simpa [L] using hjet |
| 758 | 754 | _ ≤ (C * D.scale i ^ m) * (‖L‖ + 1) ^ N := |
| @@ -797,7 +793,7 @@ theorem normal_range_of_reference_close {n : ι → E → Space} |
| 797 | 793 | have h1 := mul_le_mul (hB i).2 (hs i z hz) (abs_nonneg _) (by linarith : 0 ≤ M) |
| 798 | 794 | have h2 := mul_le_mul (hB i).2 (hc 0) (abs_nonneg _) (by linarith : 0 ≤ M) |
| 799 | 795 | have h3 := mul_le_mul (hB i).2 (hc 1) (abs_nonneg _) (by linarith : 0 ≤ M) |
| 800 | | - nlinarith |
| 796 | + linarith |
| 801 | 797 | have hh := norm_sub_le_norm_sub_add_norm_sub (n i z) |
| 802 | 798 | (MovingFrameODE.pack (B i * s i z) (B i • K i)) 0 |
| 803 | 799 | simp only [sub_zero] at hh |
| @@ -849,11 +845,11 @@ theorem reference_jets (lam c0 u ell : ι → ℝ) |
| 849 | 845 | |PrimaryODE.referenceProfile (c0 i) (u i) (ell i) z.2| ≤ M * (1 + M + M ^ 2)) := by |
| 850 | 846 | have hq (i) : |u i / ell i| ≤ M := by |
| 851 | 847 | nlinarith [hrate i, D.one_le_scale i, abs_nonneg (u i / ell i)] |
| 852 | | - have pu := PolynomialJets.const_uniform (D := D) u hM (fun i => by simpa using hu i) |
| 848 | + have pu := PolynomialJets.const_uniform (D := D) u hM (fun i => hu i) |
| 853 | 849 | have pq := PolynomialJets.const_uniform (D := D) (fun i => u i / ell i) hM |
| 854 | 850 | (fun i => by simpa only [Real.norm_eq_abs] using hq i) |
| 855 | | - have plam := PolynomialJets.const_uniform (D := D) lam hM (fun i => by simpa using hlam i) |
| 856 | | - have pc := PolynomialJets.const_uniform (D := D) c0 hM (fun i => by simpa using (hc i).2) |
| 851 | + have plam := PolynomialJets.const_uniform (D := D) lam hM (fun i => hlam i) |
| 852 | + have pc := PolynomialJets.const_uniform (D := D) c0 hM (fun i => (hc i).2) |
| 857 | 853 | have pv : PolynomialJets D (fun _ z => z.2) := by |
| 858 | 854 | simpa only [ContinuousLinearMap.coe_snd', add_zero] using |
| 859 | 855 | (PolynomialJets.affine (D := D) (ContinuousLinearMap.snd ℝ Q ℝ) |
| @@ -872,7 +868,7 @@ theorem reference_jets (lam c0 u ell : ι → ℝ) |
| 872 | 868 | rw [abs_mul] |
| 873 | 869 | have hh := mul_le_mul_of_nonneg_left (hslot i z hz) (abs_nonneg (u i / ell i)) |
| 874 | 870 | have hh' := mul_le_mul_of_nonneg_right (hrate i) (show 0 ≤ M by linarith) |
| 875 | | - nlinarith |
| 871 | + linarith |
| 876 | 872 | exact (abs_add_le _ _).trans (by linarith) |
| 877 | 873 | obtain ⟨pr, pri, pdi⟩ := ps.radius hsb |
| 878 | 874 | refine ⟨?_, ?_, ?_, ?_, ?_⟩ |
| @@ -888,7 +884,7 @@ theorem reference_jets (lam c0 u ell : ι → ℝ) |
| 888 | 884 | (add_le_add_right (hsb i z hz) 1) |
| 889 | 885 | simp only [PrimaryODE.referenceProfile, abs_mul, abs_of_nonneg (Real.sqrt_nonneg _)] |
| 890 | 886 | have hh := mul_le_mul (hc i).2 h (Real.sqrt_nonneg _) (show 0 ≤ M by linarith) |
| 891 | | - nlinarith |
| 887 | + linarith |
| 892 | 888 | |
| 893 | 889 | end ReferenceJets |
| 894 | 890 | |