| @@ -355,7 +355,7 @@ theorem local_signed_quotient_zero (hw : ∀ n x, x ∈ s.domain → 0 < w n x) |
| 355 | 355 | (Real.sqrt_nonneg _)) (pow_le_pow_right₀ hB (by omega)) |
| 356 | 356 | (pow_nonneg (zero_le_one.trans hB) _) |
| 357 | 357 | (mul_nonneg (Real.sqrt_nonneg _) (SignedCovariance.prefixJetCost_pos m).le) |
| 358 | | - _ = _ := by simp only [majorant, Real.rpow_zero, mul_one, mul_pow, pow_mul]; ring |
| 358 | + _ = _ := by simp only [majorant, Real.rpow_zero, mul_one, pow_mul]; ring |
| 359 | 359 | |
| 360 | 360 | theorem local_signed_quotient {β : ℝ} (hw : ∀ n x, x ∈ s.domain → 0 < w n x) |
| 361 | 361 | (hg : LocalJets s w 0 K g) (hr : LocalJets s w β K r) |
| @@ -447,17 +447,17 @@ theorem weights_jets {R : I → ℕ → D → Vec2} {w : ℕ → D → ℝ} {β |
| 447 | 447 | have hB := mul_le_mul (h.entries n i x hx hi 0 1) (h.entries n i x hx hi 1 0) |
| 448 | 448 | (abs_nonneg _) (zero_le_one.trans h.entry_one) |
| 449 | 449 | simp only [abs_mul] at hA hB ⊢ |
| 450 | | - nlinarith |
| 450 | + linarith |
| 451 | 451 | have hinv := local_inv hD h.gap_pos h.determinant hupper |
| 452 | 452 | have hscale := local_coeff_mul (local_coeff_mul hr hr h1) hinv h1 |
| 453 | 453 | have hprod (a b k : Fin 2) := local_coeff_mul (h.matrix_jets a b) (hR k) hw |
| 454 | 454 | have hnum : LocalJets s w β K (fun n i x => SmoothCovariance.cramerNumerator (H i n x) (R i n x) j) := by |
| 455 | 455 | fin_cases j |
| 456 | 456 | · have hh := local_sub (hprod 1 1 0) (hprod 0 1 1) hw |
| 457 | | - simp only [SmoothCovariance.cramerNumerator, mul_comm] at hh ⊢ |
| 457 | + simp only [mul_comm] at hh ⊢ |
| 458 | 458 | exact hh |
| 459 | 459 | · have hh := local_sub (hprod 0 0 1) (hprod 1 0 0) hw |
| 460 | | - simp only [SmoothCovariance.cramerNumerator, mul_comm] at hh ⊢ |
| 460 | + simp only [mul_comm] at hh ⊢ |
| 461 | 461 | exact hh |
| 462 | 462 | apply local_congr (local_coeff_mul hscale hnum hw) |
| 463 | 463 | intro n i x hx hi |
| @@ -500,7 +500,7 @@ theorem signedScalar_jets (h : NativeCovariance s K H T) |
| 500 | 500 | have he := local_band_smul hh (bandBound_rpow s (1 / 2)) (fun _ _ _ => Real.sqrt_nonneg _) |
| 501 | 501 | apply local_of_eq he |
| 502 | 502 | intro n i x |
| 503 | | - simp only [SignedWaveUpdate.signedScalar, smul_eq_mul, ← Real.sqrt_eq_rpow] |
| 503 | + simp only [SignedWaveUpdate.signedScalar, ← Real.sqrt_eq_rpow] |
| 504 | 504 | ring |
| 505 | 505 | |
| 506 | 506 | theorem signedVector_jets (h : NativeCovariance s K H T) |
| @@ -512,7 +512,7 @@ theorem signedVector_jets (h : NativeCovariance s K H T) |
| 512 | 512 | (fun n i => SignedWaveUpdate.signedVector s (H i) (T i) (R i) (mask i) (v i) j n) := by |
| 513 | 513 | have hh := (signedScalar_jets h hR hm j).bilinear hv (ContinuousLinearMap.lsmul ℝ ℝ) |
| 514 | 514 | (fun _ _ _ => Real.sqrt_nonneg _) hW |
| 515 | | - simp only [add_zero, ContinuousLinearMap.lsmul_apply] at hh ⊢ |
| 515 | + simp only [add_zero] at hh ⊢ |
| 516 | 516 | exact hh |
| 517 | 517 | |
| 518 | 518 | end SignedAmplitude |