Buckets:
| import OAI.NumberTheory.Ostmann.Preliminaries.CosecantMatrix | |
| import OAI.NumberTheory.Ostmann.Preliminaries.SymmetricQuadraticBound | |
| namespace OAI | |
| /-! # Schur's eigenvalue bound for the concrete finite kernel identity -/ | |
| namespace Ostmann | |
| open Matrix | |
| open scoped BigOperators | |
| variable {ι : Type*} [Fintype ι] [DecidableEq ι] | |
| theorem complex_diagonal_quadratic (d : ι → ℝ) (u : ι → ℂ) : | |
| star u ⬝ᵥ ((Matrix.diagonal (fun s => (d s : ℂ))) *ᵥ u) = | |
| ((∑ s, d s * ‖u s‖ ^ 2 : ℝ) : ℂ) := by | |
| simp only [Matrix.mulVec_diagonal, dotProduct, Pi.star_apply, Complex.ofReal_sum, | |
| Complex.ofReal_mul, Complex.ofReal_pow] | |
| apply Finset.sum_congr rfl | |
| intro s _ | |
| rw [show star (u s) * ((d s : ℂ) * u s) = (d s : ℂ) * (star (u s) * u s) by ring, | |
| Complex.star_def, Complex.conj_mul'] | |
| omit [DecidableEq ι] in | |
| theorem complex_self_quadratic (u : ι → ℂ) : | |
| star u ⬝ᵥ u = ((∑ s, ‖u s‖ ^ 2 : ℝ) : ℂ) := by | |
| simp only [dotProduct, Pi.star_apply, Complex.ofReal_sum, Complex.ofReal_pow] | |
| apply Finset.sum_congr rfl | |
| intro s _ | |
| simpa only [Complex.star_def] using Complex.conj_mul' (u s) | |
| theorem kernel_eigenvalue_bound (h k : ι → ι → ℝ) | |
| (hdiag : ∀ i, h i i = 0) (kdiag : ∀ i, k i i = 0) | |
| (hskew : ∀ i j, h i j = -h j i) (kskew : ∀ i j, k i j = -k j i) | |
| (htriple : ∀ r s t, r ≠ s → r ≠ t → s ≠ t → | |
| h r s * h r t = h s t * (k r s - k r t)) | |
| (B μ : ℝ) (hrow : ∀ s, (∑ r, h r s ^ 2) + 2 * ∑ r, |h s r * k s r| ≤ B) | |
| (u : ι → ℂ) (hu : 0 < ∑ s, ‖u s‖ ^ 2) | |
| (heig : imaginaryKernelMatrix h *ᵥ u = (μ : ℂ) • u) : μ ^ 2 ≤ B := by | |
| let A := imaginaryKernelMatrix h | |
| let D := Matrix.diagonal (fun s => ((∑ r, k r s : ℝ) : ℂ)) | |
| let V : Matrix ι ι ℂ := Matrix.of (fun s t => ((h s t * k s t : ℝ) : ℂ)) | |
| have hA : A.IsHermitian := imaginaryKernelMatrix_hermitian h hskew | |
| have hcomm := hermitian_eigenvector_commutator hA D u μ heig | |
| have hsq : star u ⬝ᵥ ((A * A) *ᵥ u) = | |
| ((μ ^ 2 * ∑ s, ‖u s‖ ^ 2 : ℝ) : ℂ) := by | |
| rw [← mulVec_mulVec, heig, mulVec_smul, heig, smul_smul, dotProduct_smul, | |
| complex_self_quadratic] | |
| push_cast | |
| simp only [smul_eq_mul, pow_two] | |
| have hidentity := imaginaryKernelMatrix_square h k hdiag kdiag hskew kskew htriple | |
| change A * A = Matrix.diagonal (fun s => ((∑ r, h r s ^ 2 : ℝ) : ℂ)) - | |
| Complex.I • (D * A - A * D) + (2 : ℂ) • V at hidentity | |
| rw [hidentity, add_mulVec, sub_mulVec, smul_mulVec, dotProduct_add, dotProduct_sub, | |
| dotProduct_smul, hcomm, smul_zero, sub_zero, smul_mulVec, dotProduct_smul, | |
| complex_diagonal_quadratic] at hsq | |
| have hreal := congrArg Complex.re hsq | |
| have htwo (z : ℂ) : ((2 : ℂ) • z).re = 2 * z.re := by simp [smul_eq_mul, Complex.mul_re] | |
| simp only [Complex.add_re, Complex.ofReal_re, htwo] at hreal | |
| have hsym : ∀ s t, h s t * k s t = h t s * k t s := by | |
| intro s t | |
| rw [hskew s t, kskew s t] | |
| ring | |
| have hv := real_symmetric_quadratic_upper (fun s t => h s t * k s t) hsym u | |
| have hvr : (star u ⬝ᵥ (V *ᵥ u)).re ≤ | |
| ∑ s, ‖u s‖ ^ 2 * ∑ t, |h s t * k s t| := | |
| (Complex.re_le_norm _).trans hv | |
| have hsum : (∑ s, (∑ r, h r s ^ 2) * ‖u s‖ ^ 2) + | |
| 2 * (∑ s, ‖u s‖ ^ 2 * ∑ r, |h s r * k s r|) ≤ | |
| B * ∑ s, ‖u s‖ ^ 2 := by | |
| calc | |
| _ = ∑ s, ‖u s‖ ^ 2 * ((∑ r, h r s ^ 2) + 2 * ∑ r, |h s r * k s r|) := by | |
| simp only [mul_add, Finset.sum_add_distrib] | |
| congr 1 | |
| · apply Finset.sum_congr rfl | |
| intro s _ | |
| ring | |
| · rw [Finset.mul_sum] | |
| apply Finset.sum_congr rfl | |
| intro s _ | |
| ring | |
| _ ≤ ∑ s, ‖u s‖ ^ 2 * B := Finset.sum_le_sum (fun s _ => | |
| mul_le_mul_of_nonneg_left (hrow s) (sq_nonneg _)) | |
| _ = _ := by rw [← Finset.sum_mul, mul_comm] | |
| have hfinal : μ ^ 2 * (∑ s, ‖u s‖ ^ 2) ≤ B * (∑ s, ‖u s‖ ^ 2) := by | |
| nlinarith | |
| exact (mul_le_mul_iff_left₀ hu).mp hfinal | |
| end Ostmann | |
| end OAI | |
Xet Storage Details
- Size:
- 4.07 kB
- Xet hash:
- b4db6db79801a746e696e0afd37d99021c26099e752fa075a416f5d54638c797
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.