chars
int64
40
24k
content_type
stringclasses
9 values
id
stringlengths
13
64
source
stringclasses
5 values
subset
stringclasses
31 values
text
stringlengths
40
24k
184
leanexplore_declaration
leanexplore:379411
leanexplore_sqlite
leanexplore_declarations
theorem Matrix.mem_unitaryGroup_iff_isometry (A : Matrix d d R) : A ∈ unitaryGroup d R ↔ A.Isometry ∧ Aᴴ.Isometry := by rw [Isometry, Isometry, conjTranspose_conjTranspose] rfl
864
leanexplore_declaration
leanexplore:379412
leanexplore_sqlite
leanexplore_declarations
theorem Equiv.Perm.permMatrix_mem_unitaryGroup (e : Perm d) : e.permMatrix R ∈ Matrix.unitaryGroup d R := by -- Since $e$ is a permutation, its permutation matrix $P_e$ is orthogonal, meaning $P_e * P_e^T = I$. have h_perm_ortho : (Equiv.Perm.permMatrix R e) * (Equiv.Perm.permMatrix R e)ᵀ = 1 := by ext i j;...
402
leanexplore_declaration
leanexplore:379413
leanexplore_sqlite
leanexplore_declarations
theorem Matrix.reindex_one_isometry (e : d ≃ d₂) (f : d ≃ d₃) : (reindex (α := R) e f 1).Isometry := by -- Since $e$ and $f$ are bijections, the reindexing of the identity matrix by $e$ and $f$ is a permutation matrix, which is unitary. have h_perm : ∀ (e : d ≃ d₂) (f : d ≃ d₃), (Matrix.reindex e f (1 : Matrix ...
480
leanexplore_declaration
leanexplore:379414
leanexplore_sqlite
leanexplore_declarations
theorem Matrix.reindex_one_mem_unitaryGroup (e : d ≃ d₂) : reindex (α := R) e e 1 ∈ unitaryGroup d₂ R := by -- The reindex of the identity matrix under an equivalence e is just the identity matrix on d₂. have h_reindex_id : Matrix.reindex e e (1 : Matrix d d R) = 1 := by -- By definition of reindex, the en...
245
leanexplore_declaration
leanexplore:379415
leanexplore_sqlite
leanexplore_declarations
theorem Matrix.reindex_eq_conj (A : Matrix d d R) (e : d ≃ d₂) : reindex e e A = (reindex (α := R) e (.refl d) 1) * A * (reindex (α := R) (.refl d) e 1) := by ext i j simp only [Matrix.mul_apply, Matrix.reindex] simp [Matrix.one_apply]
318
leanexplore_declaration
leanexplore:379416
leanexplore_sqlite
leanexplore_declarations
theorem Matrix.reindex_eq_conj_unitaryGroup' (A : Matrix d d R) (e : Equiv.Perm d) : reindex e e A = (⟨_, e⁻¹.permMatrix_mem_unitaryGroup⟩ : unitaryGroup d R) * A * (⟨_, e.permMatrix_mem_unitaryGroup⟩ : unitaryGroup d R) := by ext i j; simp [Matrix.mul_apply] rw [Finset.sum_eq_single ( e.symm j )] <;> aesop
3,089
leanexplore_declaration
leanexplore:379417
leanexplore_sqlite
leanexplore_declarations
theorem Matrix.IsHermitian.eigenvalue_ext (hA : A.IsHermitian) (h : ∀ (v : d → 𝕜) (lam : 𝕜), A *ᵥ v = lam • v → B *ᵥ v = lam • v) : A = B := by -- Since A is Hermitian, it is diagonalizable, and its eigenvectors form a complete basis. Therefore, for any vector v, we have Av = Bv. have h_diag : ∀ v : d → 𝕜,...
2,079
leanexplore_declaration
leanexplore:379418
leanexplore_sqlite
leanexplore_declarations
/-- Generalizes `Matrix.IsHermitian.cfc.eq_1`, which gives a definition for the matrix CFC in terms of `Matrix.IsHermitian.eigenvalues` and `Matrix.IsHermitian.eigenvectorUnitary`, to show that the CFC works similarly for _any_ diagonalization by a two-sided isometry. -/ theorem Matrix.IsHermitian.cfc_eq_any_isometry {...
635
leanexplore_declaration
leanexplore:379419
leanexplore_sqlite
leanexplore_declarations
/-- Generalizes `Matrix.IsHermitian.cfc.eq_1`, which gives a definition for the matrix CFC in terms of `Matrix.IsHermitian.eigenvalues` and `Matrix.IsHermitian.eigenvectorUnitary`, to show that the CFC works similarly for _any_ diagonalization. -/ theorem Matrix.IsHermitian.cfc_eq_any_unitary {n 𝕜 : Type*} [RCLike 𝕜]...
515
leanexplore_declaration
leanexplore:379420
leanexplore_sqlite
leanexplore_declarations
theorem Matrix.cfc_conj_isometry (f : ℝ → ℝ) {u : Matrix d₂ d 𝕜} (hu₁ : u.Isometry) (hu₂ : uᴴ.Isometry) : cfc f (u * A * uᴴ) = u * (cfc f A) * uᴴ := by by_cases hA : A.IsHermitian · exact cfc_conj_isometry' hA f hu₁ hu₂ rw [cfc_apply_of_not_predicate, cfc_apply_of_not_predicate] · simp · exact hA · c...
235
leanexplore_declaration
leanexplore:379421
leanexplore_sqlite
leanexplore_declarations
theorem Matrix.cfc_conj_unitary (f : ℝ → ℝ) (u : unitaryGroup d 𝕜) : cfc f (u * A * u⁻¹) = u * (cfc f A) * u⁻¹ := by have hu := u.prop rw [mem_unitaryGroup_iff_isometry] at hu exact Matrix.cfc_conj_isometry f hu.left hu.right
179
leanexplore_declaration
leanexplore:379422
leanexplore_sqlite
leanexplore_declarations
theorem Matrix.cfc_conj_unitary' (f : ℝ → ℝ) (u : unitaryGroup d 𝕜) : cfc f (uᴴ * A * u.val) = uᴴ * (cfc f A) * u.val := by simpa only [inv_inv] using cfc_conj_unitary f u⁻¹
396
leanexplore_declaration
leanexplore:379423
leanexplore_sqlite
leanexplore_declarations
theorem Matrix.cfc_reindex (f : ℝ → ℝ) (e : d ≃ d₂) : cfc f (reindex e e A) = reindex e e (cfc f A) := by rw [reindex_eq_conj, reindex_eq_conj] convert Matrix.cfc_conj_isometry f (u := (Matrix.reindex e (Equiv.refl d) : Matrix d d 𝕜 → Matrix d₂ d 𝕜) 1) ?_ ?_ · simp · simp · apply reindex_one_isometry ...
323
leanexplore_declaration
leanexplore:379424
leanexplore_sqlite
leanexplore_declarations
theorem Matrix.commute_euclideanLin (hAB : Commute A B) : Commute A.toEuclideanLin B.toEuclideanLin := by rw [commute_iff_eq] at hAB ⊢ ext v i convert congr(($hAB).mulVec (WithLp.ofLp v) i) using 0 simp only [Module.End.mul_apply, ← Matrix.mulVec_mulVec]; simp only [ofLp_toLpLin, toLin'_apply, mulVec_mulV...
1,125
leanexplore_declaration
leanexplore:379425
leanexplore_sqlite
leanexplore_declarations
/-- Similar to `LinearMap.IsSymmetric.orthogonalFamily_eigenspace_inf_eigenspace`, but here the direct sum is indexed by only the pairs of eigenvalues, as opposed to all pairs of `𝕜` values, giving a finite decomposition. -/ theorem LinearMap.IsSymmetric.orthogonalFamily_eigenspace_inf_eigenspace' {𝕜 E : Type*} [RCLi...
422
leanexplore_declaration
leanexplore:379426
leanexplore_sqlite
leanexplore_declarations
/-- Variant of `iSup_mono'` that allows for an easier handling of bottom elements. -/ theorem iSup_mono_bot {α : Type*} {ι ι' : Sort*} [CompleteLattice α] {f : ι → α} {g : ι' → α} (h : ∀ (i : ι), f i = ⊥ ∨ ∃ i', f i ≤ g i') : iSup f ≤ iSup g := by rcases isEmpty_or_nonempty ι' · simp only [IsEmpty.exists_iff,...
1,038
leanexplore_declaration
leanexplore:379427
leanexplore_sqlite
leanexplore_declarations
@[reducible] noncomputable def Commute.isSymmetric_directSumDecomposition {𝕜 E : Type*} [RCLike 𝕜] [NormedAddCommGroup E] [InnerProductSpace 𝕜 E] {A B : E →ₗ[𝕜] E} [FiniteDimensional 𝕜 E] (hA : A.IsSymmetric) (hB : B.IsSymmetric) (hAB : Commute A B) : DirectSum.Decomposition fun (μ₁₂ : Eigenvalues A × Eig...
2,974
leanexplore_declaration
leanexplore:379428
leanexplore_sqlite
leanexplore_declarations
/-- Similar to `LinearMap.IsSymmetric.directSum_isInternal_of_commute`, but here the direct sum is indexed by only the pairs of eigenvalues, as opposed to all pairs of `𝕜` values, giving a finite decomposition. -/ theorem LinearMap.IsSymmetric.directSum_isInternal_of_commute' {𝕜 E : Type*} [RCLike 𝕜] [NormedAddCom...
394
leanexplore_declaration
leanexplore:379429
leanexplore_sqlite
leanexplore_declarations
noncomputable def LinearMap.sharedEigenbasis {A B : EuclideanSpace 𝕜 d →ₗ[𝕜] EuclideanSpace 𝕜 d} (hA : A.IsSymmetric) (hB : B.IsSymmetric) (hAB : Commute A B) : OrthonormalBasis d 𝕜 (EuclideanSpace 𝕜 d) := ((hA.directSum_isInternal_of_commute' hB hAB).subordinateOrthonormalBasis rfl (hA.orthogonalFamil...
292
leanexplore_declaration
leanexplore:379430
leanexplore_sqlite
leanexplore_declarations
noncomputable def LinearMap.sharedEigenvaluesA {A B : EuclideanSpace 𝕜 d →ₗ[𝕜] EuclideanSpace 𝕜 d} (hA : A.IsSymmetric) (hB : B.IsSymmetric) (hAB : Commute A B) : d → ℝ := fun i => RCLike.re (inner 𝕜 (LinearMap.sharedEigenbasis hA hB hAB i) (A (LinearMap.sharedEigenbasis hA hB hAB i)))
292
leanexplore_declaration
leanexplore:379431
leanexplore_sqlite
leanexplore_declarations
noncomputable def LinearMap.sharedEigenvaluesB {A B : EuclideanSpace 𝕜 d →ₗ[𝕜] EuclideanSpace 𝕜 d} (hA : A.IsSymmetric) (hB : B.IsSymmetric) (hAB : Commute A B) : d → ℝ := fun i => RCLike.re (inner 𝕜 (LinearMap.sharedEigenbasis hA hB hAB i) (B (LinearMap.sharedEigenbasis hA hB hAB i)))
930
leanexplore_declaration
leanexplore:379432
leanexplore_sqlite
leanexplore_declarations
theorem LinearMap.mem_eigenspace_inf_of_sharedEigenbasis {A B : EuclideanSpace 𝕜 d →ₗ[𝕜] EuclideanSpace 𝕜 d} (hA : A.IsSymmetric) (hB : B.IsSymmetric) (hAB : Commute A B) (i : d) : ∃ (μ : Module.End.Eigenvalues A) (ν : Module.End.Eigenvalues B), LinearMap.sharedEigenbasis hA hB hAB i ∈ Module.End.eigen...
851
leanexplore_declaration
leanexplore:379433
leanexplore_sqlite
leanexplore_declarations
theorem LinearMap.apply_A_sharedEigenbasis {A B : EuclideanSpace 𝕜 d →ₗ[𝕜] EuclideanSpace 𝕜 d} (hA : A.IsSymmetric) (hB : B.IsSymmetric) (hAB : Commute A B) (i : d) : A (sharedEigenbasis hA hB hAB i) = (sharedEigenvaluesA hA hB hAB i : 𝕜) • (sharedEigenbasis hA hB hAB i) := by obtain ⟨μ, ν, h⟩ := mem_eige...
851
leanexplore_declaration
leanexplore:379434
leanexplore_sqlite
leanexplore_declarations
theorem LinearMap.apply_B_sharedEigenbasis {A B : EuclideanSpace 𝕜 d →ₗ[𝕜] EuclideanSpace 𝕜 d} (hA : A.IsSymmetric) (hB : B.IsSymmetric) (hAB : Commute A B) (i : d) : B (sharedEigenbasis hA hB hAB i) = (sharedEigenvaluesB hA hB hAB i : 𝕜) • (sharedEigenbasis hA hB hAB i) := by obtain ⟨μ, ν, h⟩ := mem_eige...
288
leanexplore_declaration
leanexplore:379435
leanexplore_sqlite
leanexplore_declarations
noncomputable def Matrix.sharedEigenbasis (hA : A.IsHermitian) (hB : B.IsHermitian) (hAB : Commute A B) : OrthonormalBasis d 𝕜 (EuclideanSpace 𝕜 d) := LinearMap.sharedEigenbasis (isHermitian_iff_isSymmetric.mp hA) (isHermitian_iff_isSymmetric.mp hB) (commute_euclideanLin hAB)
334
leanexplore_declaration
leanexplore:379436
leanexplore_sqlite
leanexplore_declarations
noncomputable def Matrix.sharedEigenvectorUnitary (hA : A.IsHermitian) (hB : B.IsHermitian) (hAB : Commute A B) : Matrix.unitaryGroup d 𝕜 := ⟨(EuclideanSpace.basisFun d 𝕜).toBasis.toMatrix (sharedEigenbasis hA hB hAB).toBasis, (EuclideanSpace.basisFun d 𝕜).toMatrix_orthonormalBasis_mem_unitary (sharedEigen...
315
leanexplore_declaration
leanexplore:379437
leanexplore_sqlite
leanexplore_declarations
/-- Analogous to `Matrix.IsHermitian.eigenvectorUnitary_mulVec` for the shared basis. -/ theorem sharedEigenvectorUnitary_mulVec (j : d) : (sharedEigenvectorUnitary hA hB hAB) *ᵥ Pi.single j 1 = WithLp.ofLp (sharedEigenbasis hA hB hAB j) := by simp_all only [mulVec_single, MulOpposite.op_one, one_smul] rfl
194
leanexplore_declaration
leanexplore:379438
leanexplore_sqlite
leanexplore_declarations
noncomputable def sharedEigenvalueA (j : d) : ℝ := LinearMap.sharedEigenvaluesA (isHermitian_iff_isSymmetric.mp hA) (isHermitian_iff_isSymmetric.mp hB) (commute_euclideanLin hAB) j
194
leanexplore_declaration
leanexplore:379439
leanexplore_sqlite
leanexplore_declarations
noncomputable def sharedEigenvalueB (j : d) : ℝ := LinearMap.sharedEigenvaluesB (isHermitian_iff_isSymmetric.mp hA) (isHermitian_iff_isSymmetric.mp hB) (commute_euclideanLin hAB) j
534
leanexplore_declaration
leanexplore:379440
leanexplore_sqlite
leanexplore_declarations
/-- Analogous to `Matrix.IsHermitian.mulVec_eigenvectorBasis` for the shared basis. -/ theorem mulVec_sharedEigenbasisA (j : d) : A *ᵥ (sharedEigenbasis hA hB hAB j) = (sharedEigenvalueA hA hB hAB) j • WithLp.ofLp (sharedEigenbasis hA hB hAB j) := by rw [isHermitian_iff_isSymmetric] at hA hB have h := Linea...
447
leanexplore_declaration
leanexplore:379441
leanexplore_sqlite
leanexplore_declarations
theorem mulVec_sharedEigenbasisB (j : d) : B *ᵥ (sharedEigenbasis hA hB hAB j) = (sharedEigenvalueB hA hB hAB) j • WithLp.ofLp (sharedEigenbasis hA hB hAB j) := by rw [isHermitian_iff_isSymmetric] at hA hB have h := LinearMap.apply_B_sharedEigenbasis hA hB (Matrix.commute_euclideanLin hAB) j simp only [al...
835
leanexplore_declaration
leanexplore:379442
leanexplore_sqlite
leanexplore_declarations
theorem star_shared_mul_A_mul_IsDiag : IsDiag ((star (sharedEigenvectorUnitary hA hB hAB : Matrix d d 𝕜)) * A * (sharedEigenvectorUnitary hA hB hAB : Matrix d d 𝕜)) := by intro i j hij; have := @mulVec_sharedEigenbasisA d; specialize this hA hB hAB j; replace this := congr_arg ( fun x => star ( ( sh...
2,433
leanexplore_declaration
leanexplore:379443
leanexplore_sqlite
leanexplore_declarations
/-- Analogous to `Matrix.IsHermitian.star_mul_self_mul_eq_diagonal` for the shared basis. -/ theorem star_shared_mul_B_mul_IsDiag : IsDiag ((star (sharedEigenvectorUnitary hA hB hAB : Matrix d d 𝕜)) * B * (sharedEigenvectorUnitary hA hB hAB : Matrix d d 𝕜)) := by rw [Matrix.isDiag_iff_diagonal_diag, eq_co...
481
leanexplore_declaration
leanexplore:379444
leanexplore_sqlite
leanexplore_declarations
theorem Commute.exists_unitary (hA : A.IsHermitian) (hB : B.IsHermitian) (hAB : Commute A B) : ∃ U : Matrix.unitaryGroup d 𝕜, (U.val * A * Uᴴ).IsDiag ∧ (U.val * B * Uᴴ).IsDiag := by use (Matrix.sharedEigenvectorUnitary hA hB hAB)⁻¹ constructor · convert Matrix.SharedEigenbasis.star_shared_mul_A_mul_IsDiag hA...
105
leanexplore_declaration
leanexplore:379445
leanexplore_sqlite
leanexplore_declarations
instance instInvertibleUnitaryGroup (U : Matrix.unitaryGroup d 𝕜) : Invertible U := invertibleOfGroup U
89
leanexplore_declaration
leanexplore:379446
leanexplore_sqlite
leanexplore_declarations
instance (U : Matrix.unitaryGroup d 𝕜) : Invertible U.val := ⟨star U.val, U.2.1, U.2.2⟩
1,302
leanexplore_declaration
leanexplore:379447
leanexplore_sqlite
leanexplore_declarations
/-- If a matrix is diagonalized by a unitary matrix, then it can be written as a CFC of a (particular, canonical) diagonal matrix. -/ theorem Matrix.IsDiag.exists_cfc {U : Matrix.unitaryGroup d 𝕜} {M : Matrix d d 𝕜} (hU : (U.val * M * Uᴴ).IsDiag) (hM : M.IsHermitian) (e : d ≃ Fin (Fintype.card d)) : ∃ f : ℝ ...
459
leanexplore_declaration
leanexplore:379448
leanexplore_sqlite
leanexplore_declarations
/-- If two Hermitian matrices commute, there exists a common matrix that they are both a CFC of. -/ theorem Commute.exists_cfc (hA : A.IsHermitian) (hB : B.IsHermitian) (hAB : Commute A B) : ∃ C : Matrix d d 𝕜, (∃ f : ℝ → ℝ, A = cfc f C) ∧ (∃ g : ℝ → ℝ, B = cfc g C) := by obtain ⟨U, hU₁, hU₂⟩ := hAB.exists_unita...
1,034
leanexplore_declaration
leanexplore:379449
leanexplore_sqlite
leanexplore_declarations
lemma exists_strictMono_seq_le (y : ℝ≥0) (f : ℝ≥0 → ℕ → ℝ≥0∞) (hf : ∀ x > 0, Filter.atTop.liminf (f x) ≤ y) : ∃ n : ℕ → ℕ, StrictMono n ∧ ∀ k : ℕ, f ((k : ℝ≥0) + 1)⁻¹ (n k) ≤ (y : ℝ≥0∞) + ((k : ℝ≥0) + 1)⁻¹ := by -- Since the liminf is ≤ y, for any ε > 0 and index n, there frequently exists an m > n satisfying the...
993
leanexplore_declaration
leanexplore:379450
leanexplore_sqlite
leanexplore_declarations
lemma exists_seq_bound (y : ℝ≥0) (f : ℝ≥0 → ℕ → ℝ≥0∞) (hf : ∀ x > 0, Filter.atTop.limsup (f x) ≤ y) : ∃ M : ℕ → ℕ, StrictMono M ∧ ∀ k, ∀ n ≥ M k, f ((k + 1 : ℝ≥0)⁻¹) n ≤ y + (k + 1 : ℝ≥0∞)⁻¹ := by have h_M (k : ℕ) : ∃ M_k, ∀ n ≥ M_k, f (k + 1)⁻¹ n ≤ y + (k + 1 : ℝ≥0∞)⁻¹ := by specialize hf (k + 1)⁻¹ (by posit...
6,047
leanexplore_declaration
leanexplore:379451
leanexplore_sqlite
leanexplore_declarations
lemma exists_liminf_zero_of_forall_liminf_le (y : ℝ≥0) (f : ℝ≥0 → ℕ → ℝ≥0∞) (hf : ∀ x > 0, Filter.atTop.liminf (f x) ≤ y) : ∃ g : ℕ → ℝ≥0, (∀ x, g x > 0) ∧ Filter.atTop.Tendsto g (𝓝 0) ∧ Filter.atTop.liminf (fun n ↦ f (g n) n) ≤ y := by conv at hf => enter [x, h] exact propext (Filter.liminf_le_i...
671
leanexplore_declaration
leanexplore:379452
leanexplore_sqlite
leanexplore_declarations
lemma exists_liminf_zero_of_forall_liminf_le_with_UB (y : ℝ≥0) (f : ℝ≥0 → ℕ → ℝ≥0∞) {z : ℝ≥0} (hz : 0 < z) (hf : ∀ x, x > 0 → Filter.atTop.liminf (f x) ≤ y) : ∃ g : ℕ → ℝ≥0, (∀ x, g x > 0) ∧ (∀ x, g x < z) ∧ (Filter.atTop.Tendsto g (𝓝 0)) ∧ (Filter.atTop.liminf (fun n ↦ f (g n) n) ≤ y) := by obtain ⟨g,...
3,210
leanexplore_declaration
leanexplore:379453
leanexplore_sqlite
leanexplore_declarations
lemma exists_limsup_zero_of_forall_limsup_le (y : ℝ≥0) (f : ℝ≥0 → ℕ → ℝ≥0∞) (hf : ∀ x, x > 0 → Filter.atTop.limsup (f x) ≤ y) : ∃ g : ℕ → ℝ≥0, (∀ x, g x > 0) ∧ (Filter.atTop.Tendsto g (𝓝 0)) ∧ (Filter.atTop.limsup (fun n ↦ f (g n) n) ≤ y) := by -- Let's choose a sequence M such that for all k, and all ...
1,114
leanexplore_declaration
leanexplore:379454
leanexplore_sqlite
leanexplore_declarations
lemma tendsto_of_block_sequence {α : Type*} [TopologicalSpace α] {x : ℕ → α} {T : ℕ → ℕ} (hT : StrictMono T) {L : α} (hx : Filter.atTop.Tendsto x (𝓝 L)) (g : ℕ → α) (hg : ∀ k, ∀ n ∈ Set.Ico (T k) (T (k + 1)), g n = x k) : Filter.atTop.Tendsto g (𝓝 L) := by rw [Filter.tendsto_atTop'] at hx ⊢ intro s hs ...
1,455
leanexplore_declaration
leanexplore:379455
leanexplore_sqlite
leanexplore_declarations
lemma exists_increasing_sequence_with_property (M : ℕ → ℕ) (P : ℕ → ℕ → Prop) (hP : ∀ k L, ∃ n ≥ L, P k n) : ∃ T : ℕ → ℕ, StrictMono T ∧ (∀ k, T k ≥ M k) ∧ (∀ k, ∃ n ∈ Set.Ico (T k) (T (k + 1)), P k n) := by -- We construct $T_k$ by induction. have hT_ind : ∀ k : ℕ, ∃ T : ℕ → ℕ, StrictMono T ∧ (∀ k, T k ≥ M k) ...
1,763
leanexplore_declaration
leanexplore:379456
leanexplore_sqlite
leanexplore_declarations
lemma liminf_le_of_block_sequence_witnesses {α : Type*} (y : ℝ≥0) (f : α → ℕ → ℝ≥0∞) (T : ℕ → ℕ) (hT : StrictMono T) (x : ℕ → α) (g : ℕ → α) (hg : ∀ k, ∀ n ∈ Set.Ico (T k) (T (k + 1)), g n = x k) (hwit : ∀ k, ∃ n ∈ Set.Ico (T k) (T (k + 1)), f (x k) n ≤ (y : ℝ≥0∞) + (k + 1 : ℝ≥0)⁻¹) : Filter.atTop.limin...
2,472
leanexplore_declaration
leanexplore:379457
leanexplore_sqlite
leanexplore_declarations
lemma limsup_le_of_block_sequence_bound {α : Type*} (y : ℝ≥0) (f : α → ℕ → ℝ≥0∞) (T : ℕ → ℕ) (hT : StrictMono T) (x : ℕ → α) (g : ℕ → α) (hg : ∀ k, ∀ n ∈ Set.Ico (T k) (T (k + 1)), g n = x k) (hbound : ∀ k, ∀ n ∈ Set.Ico (T k) (T (k + 1)), f (x k) n ≤ (y : ℝ≥0∞) + (k + 1 : ℝ≥0)⁻¹) : Filter.atTop.limsup (fun n ↦...
6,341
leanexplore_declaration
leanexplore:379458
leanexplore_sqlite
leanexplore_declarations
lemma exists_liminf_zero_of_forall_liminf_limsup_le_with_UB (y₁ y₂ : ℝ≥0) (f₁ f₂ : ℝ≥0 → ℕ → ℝ≥0∞) {z : ℝ≥0} (hz : 0 < z) (hf₁ : ∀ x > 0, Filter.atTop.liminf (f₁ x) ≤ y₁) (hf₂ : ∀ x > 0, Filter.atTop.limsup (f₂ x) ≤ y₂) : ∃ g : ℕ → ℝ≥0, (∀ x, g x > 0) ∧ (∀ x, g x < z) ∧ Filter.atTop.Tendsto g ...
1,916
leanexplore_declaration
leanexplore:379459
leanexplore_sqlite
leanexplore_declarations
theorem extracted_limsup_inequality (z : ℝ≥0∞) (hz : z ≠ ⊤) (y x : ℕ → ℝ≥0∞) (h_lem5 : ∀ (n : ℕ), x n ≤ y n + z) : Filter.atTop.limsup (fun n ↦ x n / n) ≤ Filter.atTop.limsup (fun n ↦ y n / n) := by --Thanks Aristotle! simp? [Filter.limsup_eq] says simp only [Filter.limsup_eq, Filter.eventually_atTop, ge_if...
355
leanexplore_declaration
leanexplore:379460
leanexplore_sqlite
leanexplore_declarations
/-- Like `Filter.tendsto_add_atTop_iff_nat`, but with nat subtraction. -/ theorem _root_.Filter.tendsto_sub_atTop_iff_nat {α : Type*} {f : ℕ → α} {l : Filter α} (k : ℕ) : Tendsto (fun (n : ℕ) ↦ f (n - k)) atTop l ↔ Tendsto f atTop l := show Tendsto (f ∘ fun n ↦ n - k) atTop l ↔ Tendsto f atTop l by rw [← tend...
748
leanexplore_declaration
leanexplore:379461
leanexplore_sqlite
leanexplore_declarations
/-- Sort of dual to `ENNReal.tendsto_const_sub_nhds_zero_iff`. Takes a substantially different form though, since we don't actually have equality of the limits, or even the fact that the other one converges, which is why we need to use `limsup`. -/ theorem _root_.ENNReal.tendsto_sub_const_nhds_zero_iff {α : Type*} {l :...
172
leanexplore_declaration
leanexplore:379462
leanexplore_sqlite
leanexplore_declarations
@[simps] def of_relabel (e : d ≃ d₂) : (d₂ → R) ≃ₗ[R] (d → R) := by refine' { e.symm.piCongrLeft (fun _ ↦ R) with .. } <;> (intros; ext; simp [Equiv.piCongrLeft_apply])
67
leanexplore_declaration
leanexplore:379463
leanexplore_sqlite
leanexplore_declarations
@[simps] def of_relabel (e : d ≃ d₂) : (d₂ → R) ≃ₗ[R] (d → R) := by
189
leanexplore_declaration
leanexplore:379465
leanexplore_sqlite
leanexplore_declarations
@[simps!] def euclidean_of_relabel (e : d ≃ d₂) : EuclideanSpace 𝕜 d₂ ≃ₗ[𝕜] EuclideanSpace 𝕜 d := (WithLp.linearEquiv 2 𝕜 _).trans ((of_relabel _ e).trans (WithLp.linearEquiv 2 𝕜 _).symm)
97
leanexplore_declaration
leanexplore:379466
leanexplore_sqlite
leanexplore_declarations
@[simps!] def euclidean_of_relabel (e : d ≃ d₂) : EuclideanSpace 𝕜 d₂ ≃ₗ[𝕜] EuclideanSpace 𝕜 d :=
97
leanexplore_declaration
leanexplore:379468
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem of_relabel_refl : of_relabel R (.refl d) = LinearEquiv.refl R (d → R) := by rfl
134
leanexplore_declaration
leanexplore:379469
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem euclidean_of_relabel_refl : euclidean_of_relabel 𝕜 (.refl d) = LinearEquiv.refl 𝕜 (EuclideanSpace 𝕜 d) := by rfl
250
leanexplore_declaration
leanexplore:379470
leanexplore_sqlite
leanexplore_declarations
theorem reindex_toLin' (e : d₁ ≃ d₃) (f : d₂ ≃ d) (M : Matrix d₁ d₂ R) : (M.reindex e f).toLin' = (LinearEquiv.of_relabel R e.symm) ∘ₗ M.toLin' ∘ₗ (LinearEquiv.of_relabel R f) := by ext simp [mulVec, dotProduct, Equiv.piCongrLeft_apply]
294
leanexplore_declaration
leanexplore:379471
leanexplore_sqlite
leanexplore_declarations
theorem reindex_toEuclideanLin (e : d₁ ≃ d₃) (f : d₂ ≃ d) (M : Matrix d₁ d₂ 𝕜) : (M.reindex e f).toEuclideanLin = (LinearEquiv.euclidean_of_relabel 𝕜 e.symm) ∘ₗ M.toEuclideanLin ∘ₗ (LinearEquiv.euclidean_of_relabel 𝕜 f) := by ext simp [mulVec, dotProduct, Equiv.piCongrLeft_apply]
177
leanexplore_declaration
leanexplore:379472
leanexplore_sqlite
leanexplore_declarations
theorem reindex_right_toLin' (e : d ≃ d₂) (M : Matrix d₃ d R) : (M.reindex (.refl d₃) e).toLin' = M.toLin' ∘ₗ (LinearEquiv.of_relabel R e) := by rw [reindex_toLin'] simp
247
leanexplore_declaration
leanexplore:379473
leanexplore_sqlite
leanexplore_declarations
theorem reindex_right_toEuclideanLin (e : d ≃ d₂) (M : Matrix d₃ d 𝕜) : (M.reindex (.refl d₃) e).toEuclideanLin = M.toEuclideanLin ∘ₗ (LinearEquiv.euclidean_of_relabel 𝕜 e) := by ext simp [mulVec, dotProduct, Equiv.piCongrLeft_apply]
189
leanexplore_declaration
leanexplore:379474
leanexplore_sqlite
leanexplore_declarations
theorem reindex_left_toLin' (e : d₁ ≃ d₃) (M : Matrix d₁ d₂ R) : (M.reindex e (.refl d₂)).toLin' = (LinearEquiv.of_relabel R e.symm) ∘ M.toLin' := by rw [Matrix.reindex_toLin'] simp
237
leanexplore_declaration
leanexplore:379475
leanexplore_sqlite
leanexplore_declarations
theorem reindex_left_toEuclideanLin (e : d₁ ≃ d₃) (M : Matrix d₁ d₂ 𝕜) : (M.reindex e (.refl d₂)).toEuclideanLin = (LinearEquiv.euclidean_of_relabel 𝕜 e.symm) ∘ M.toEuclideanLin := by rw [Matrix.reindex_toEuclideanLin] simp
495
leanexplore_declaration
leanexplore:379476
leanexplore_sqlite
leanexplore_declarations
/-- The singular values of a square complex matrix `A`, defined as the square roots of the eigenvalues of `A†A`. These are indexed by `d` without a particular ordering. Note: We use `A.conjTranspose` as the argument to `isHermitian_mul_conjTranspose_self` so that the underlying Hermitian matrix is `A† * A` (matching t...
142
leanexplore_declaration
leanexplore:379477
leanexplore_sqlite
leanexplore_declarations
/-- Singular values are nonneg. -/ lemma singularValues_nonneg (A : Matrix d d ℂ) (i : d) : 0 ≤ singularValues A i := Real.sqrt_nonneg _
548
leanexplore_declaration
leanexplore:379478
leanexplore_sqlite
leanexplore_declarations
/-- The sorted singular values of a square complex matrix, in decreasing order, indexed by `Fin (Fintype.card d)`. We define them by sorting the multiset of singular values. -/ noncomputable def singularValuesSorted (A : Matrix d d ℂ) : Fin (Fintype.card d) → ℝ := fun i => let vals : Multiset ℝ := Finset.uni...
587
leanexplore_declaration
leanexplore:379479
leanexplore_sqlite
leanexplore_declarations
/-- Sorted singular values are nonneg. -/ lemma singularValuesSorted_nonneg (A : Matrix d d ℂ) (i : Fin (Fintype.card d)) : 0 ≤ singularValuesSorted A i := by have h_nonneg : ∀ i, 0 ≤ (singularValues A i) := by exact singularValues_nonneg A have h_sorted_nonneg : ∀ {l : List ℝ}, (∀ x ∈ l, 0 ≤ x) → ∀ i < l.l...
1,081
leanexplore_declaration
leanexplore:379480
leanexplore_sqlite
leanexplore_declarations
/-- The sum `∑ singularValues A i ^ p` equals the sum over sorted singular values. -/ lemma sum_singularValues_rpow_eq_sum_sorted (A : Matrix d d ℂ) (p : ℝ) : ∑ i : d, singularValues A i ^ p = ∑ i : Fin (Fintype.card d), singularValuesSorted A i ^ p := by have h_perm : Multiset.map (fun i => singularValues A ...
348
leanexplore_declaration
leanexplore:379481
leanexplore_sqlite
leanexplore_declarations
/-- Sorted singular values are antitone (decreasing). -/ lemma singularValuesSorted_antitone (A : Matrix d d ℂ) : Antitone (singularValuesSorted A) := by intro i j hij have h_sorted : List.Pairwise (· ≥ ·) (Finset.univ.val.map (singularValues A) |>.sort (· ≥ ·)) := by exact Multiset.pairwise_sort _ _ exac...
328
leanexplore_declaration
leanexplore:379482
leanexplore_sqlite
leanexplore_declarations
/-- The product of nonneg antitone sequences is antitone. -/ lemma antitone_mul_of_antitone_nonneg {n : ℕ} {f g : Fin n → ℝ} (hf : Antitone f) (hg : Antitone g) (hf_nn : ∀ i, 0 ≤ f i) (hg_nn : ∀ i, 0 ≤ g i) : Antitone (fun i => f i * g i) := by exact fun i j hij => mul_le_mul (hf hij) (hg hij) (hg_nn _) (...
245
leanexplore_declaration
leanexplore:379483
leanexplore_sqlite
leanexplore_declarations
/-- A `LinearOrder` on any `Fintype`, obtained classically via well-ordering. -/ scoped instance fintypeLinearOrderClassical (α : Type*) [Fintype α] [DecidableEq α] : LinearOrder α := by classical exact linearOrderOfSTO (WellOrderingRel)
329
leanexplore_declaration
leanexplore:379484
leanexplore_sqlite
leanexplore_declarations
/-- The `k`-th compound (exterior-power) matrix of `M`. -/ noncomputable def compoundMatrix (M : Matrix d d ℂ) (k : ℕ) : Matrix {S : Finset d // S.card = k} {S : Finset d // S.card = k} ℂ := fun S T => @Matrix.det (Fin k) _ _ ℂ _ (M.submatrix (fun i => S.1.orderEmbOfFin S.2 i) (fun j => T.1.orderEmbOfFi...
6,174
leanexplore_declaration
leanexplore:379485
leanexplore_sqlite
leanexplore_declarations
/-- **Cauchy–Binet formula** for rectangular matrices: if `A` is `m × n` and `B` is `n × m`, then `det(A * B) = ∑_S det(A[:,S]) * det(B[S,:])` where the sum is over `m`-element subsets `S` of the column/row index. -/ lemma cauchyBinet {m : ℕ} {n : Type*} [Fintype n] [DecidableEq n] [LinearOrder n] {R : Type*} [Comm...
241
leanexplore_declaration
leanexplore:379486
leanexplore_sqlite
leanexplore_declarations
/-- The `compoundMatrix` of a product is the product of the `compoundMatrix`s. -/ lemma compoundMatrix_mul (M N : Matrix d d ℂ) (k : ℕ) : compoundMatrix (M * N) k = compoundMatrix M k * compoundMatrix N k := by ext1 apply cauchyBinet
298
leanexplore_declaration
leanexplore:379487
leanexplore_sqlite
leanexplore_declarations
/-- `compoundMatrix` commutes with `conjTranspose`. -/ lemma compoundMatrix_conjTranspose (M : Matrix d d ℂ) (k : ℕ) : compoundMatrix M.conjTranspose k = (compoundMatrix M k).conjTranspose := by ext1 unfold compoundMatrix rw [Matrix.conjTranspose_apply, ← Matrix.det_conjTranspose] simp
1,589
leanexplore_declaration
leanexplore:379488
leanexplore_sqlite
leanexplore_declarations
/-- The compound matrix of a diagonal matrix is diagonal, with entries being products of eigenvalues over k-subsets. -/ lemma compoundMatrix_diagonal (f : d → ℂ) (k : ℕ) : compoundMatrix (Matrix.diagonal f) k = Matrix.diagonal (fun S : {S : Finset d // S.card = k} => ∏ i : Fin k, f (S.1.orderEmbOfFin S.2 ...
3,349
leanexplore_declaration
leanexplore:379489
leanexplore_sqlite
leanexplore_declarations
/-- The eigenvalues of the compound matrix of a Hermitian matrix are the products of eigenvalues over k-subsets. More precisely, the singular values of `compoundMatrix M k` are the square roots of products of eigenvalues of M†M over k-subsets. -/ lemma singularValues_compoundMatrix_eq (M : Matrix d d ℂ) (k : ℕ) : ∀...
2,087
leanexplore_declaration
leanexplore:379490
leanexplore_sqlite
leanexplore_declarations
/-- The product of nonneg values over a k-subset is at most the product of the k largest values. -/ lemma prod_le_prod_sorted {n : ℕ} {f : Fin n → ℝ} (hf : Antitone f) (hf_nn : ∀ i, 0 ≤ f i) (k : ℕ) (hk : k ≤ n) (g : Fin k → Fin n) (hg : Function.Injective g) : ∏ i : Fin k, f (g i) ≤ ∏ i : Fin k, f ...
1,500
leanexplore_declaration
leanexplore:379491
leanexplore_sqlite
leanexplore_declarations
/-- The 0th sorted singular value is the maximum of the singular values. -/ lemma singularValuesSorted_zero_eq_sup {e : Type*} [Fintype e] [DecidableEq e] (A : Matrix e e ℂ) (h : 0 < Fintype.card e) : singularValuesSorted A ⟨0, h⟩ = Finset.sup' Finset.univ (Finset.univ_nonempty_iff.mpr (Fintype.card_pos_i...
466
leanexplore_declaration
leanexplore:379492
leanexplore_sqlite
leanexplore_declarations
/-- Each singular value appears in the sorted list. -/ lemma singularValues_mem_sorted {e : Type*} [Fintype e] [DecidableEq e] (A : Matrix e e ℂ) (i : e) : ∃ j : Fin (Fintype.card e), singularValues A i = singularValuesSorted A j := by have h_mem : singularValues A i ∈ Multiset.sort (Finset.univ.val.map (sing...
512
leanexplore_declaration
leanexplore:379493
leanexplore_sqlite
leanexplore_declarations
/-- Each sorted singular value appears among the original singular values. -/ lemma singularValuesSorted_mem_values {e : Type*} [Fintype e] [DecidableEq e] (A : Matrix e e ℂ) (j : Fin (Fintype.card e)) : ∃ i : e, singularValuesSorted A j = singularValues A i := by have h_mem : singularValuesSorted A j ∈ Multi...
3,031
leanexplore_declaration
leanexplore:379494
leanexplore_sqlite
leanexplore_declarations
/-- Stronger version of `singularValues_compoundMatrix_eq` that exposes the permutation. -/ lemma singularValues_compoundMatrix_perm (M : Matrix d d ℂ) (k : ℕ) : ∃ σ : {S : Finset d // S.card = k} ≃ {S : Finset d // S.card = k}, ∀ S, singularValues (compoundMatrix M k) (σ S) = ∏ i : Fin k, singularValues M ...
517
leanexplore_declaration
leanexplore:379495
leanexplore_sqlite
leanexplore_declarations
/-- Converse of `singularValues_compoundMatrix_eq`: every singular value of the compound matrix is a product of singular values of M over some k-subset. -/ lemma singularValues_compoundMatrix_rev (M : Matrix d d ℂ) (k : ℕ) (j : {S : Finset d // S.card = k}) : ∃ (S : {S : Finset d // S.card = k}), singul...
3,792
leanexplore_declaration
leanexplore:379496
leanexplore_sqlite
leanexplore_declarations
/-- There exists a bijection `σ : Fin (card d) ≃ d` such that `singularValues M (σ i) = singularValuesSorted M i` for all `i`. -/ lemma exists_sorting_equiv (M : Matrix d d ℂ) : ∃ σ : Fin (Fintype.card d) ≃ d, ∀ i, singularValues M (σ i) = singularValuesSorted M i := by -- Apply the lemma `exists_subset_p...
903
leanexplore_declaration
leanexplore:379497
leanexplore_sqlite
leanexplore_declarations
/-- For any k-subset S of d, the product of singular values over S is ≤ the product of the top k sorted singular values. -/ lemma prod_singularValues_subset_le_sorted_prod (M : Matrix d d ℂ) (k : ℕ) (hk : k ≤ Fintype.card d) (S : {S : Finset d // S.card = k}) : ∏ i : Fin k, singularValues M (S.1.orderEmbOfF...
5,770
leanexplore_declaration
leanexplore:379498
leanexplore_sqlite
leanexplore_declarations
lemma exists_subset_prod_eq_sorted_prod (M : Matrix d d ℂ) (k : ℕ) (hk : k ≤ Fintype.card d) : ∃ S : {S : Finset d // S.card = k}, ∏ i : Fin k, singularValues M (S.1.orderEmbOfFin S.2 i) = ∏ i : Fin k, singularValuesSorted M ⟨i.val, by omega⟩ := by by_contra h_contra obtain ⟨σ, hσ⟩ : ∃ σ : Fin (Fint...
1,146
leanexplore_declaration
leanexplore:379499
leanexplore_sqlite
leanexplore_declarations
lemma prod_singularValuesSorted_eq_compoundSV (M : Matrix d d ℂ) (k : ℕ) (hk : k ≤ Fintype.card d) : ∏ i : Fin k, singularValuesSorted M ⟨i.val, by omega⟩ = singularValuesSorted (compoundMatrix M k) ⟨0, by have : Fintype.card {S : Finset d // S.card = k} = (Fintype.card d).choose k := by simp ...
3,263
leanexplore_declaration
leanexplore:379500
leanexplore_sqlite
leanexplore_declarations
/-- The **Rayleigh quotient bound**: For a Hermitian matrix H with eigenvalues λ, we have `v† H v ≤ (max λ) · v† v` for all v. -/ lemma IsHermitian.inner_le_sup_eigenvalue_mul_inner {e : Type*} [Fintype e] [DecidableEq e] (H : Matrix e e ℂ) (hH : H.IsHermitian) (he : 0 < Fintype.card e) (v : e → ℂ) : ...
845
leanexplore_declaration
leanexplore:379501
leanexplore_sqlite
leanexplore_declarations
lemma eigenvalue_le_singularValuesSorted_sq {e : Type*} [Fintype e] [DecidableEq e] (A : Matrix e e ℂ) (h : 0 < Fintype.card e) (i : e) : (isHermitian_mul_conjTranspose_self A.conjTranspose).eigenvalues i ≤ (singularValuesSorted A ⟨0, h⟩) ^ 2 := by -- By definition of singular values, we know that $\sigma_i...
768
leanexplore_declaration
leanexplore:379502
leanexplore_sqlite
leanexplore_declarations
/-- The quadratic form of `A† A` is bounded by (max singular value)² * ‖v‖². -/ lemma quadratic_form_le_singularValuesSorted_sq {e : Type*} [Fintype e] [DecidableEq e] (A : Matrix e e ℂ) (h : 0 < Fintype.card e) (v : e → ℂ) : Complex.re (star v ⬝ᵥ (A.conjTranspose * A).mulVec v) ≤ (singularValuesSorted A ⟨0, ...
3,619
leanexplore_declaration
leanexplore:379503
leanexplore_sqlite
leanexplore_declarations
/-- The largest singular value of a matrix product is at most the product of the largest singular values: `σ₁(M * N) ≤ σ₁(M) * σ₁(N)`. This is operator-norm submultiplicativity. -/ lemma singularValuesSorted_mul_le {e : Type*} [Fintype e] [DecidableEq e] (M N : Matrix e e ℂ) (h : 0 < Fintype.card e) : singularV...
1,654
leanexplore_declaration
leanexplore:379504
leanexplore_sqlite
leanexplore_declarations
/-- Horn's inequality (weak log-majorization of singular values): For all `k`, `∏_{i<k} σ↓ᵢ(AB) ≤ ∏_{i<k} σ↓ᵢ(A) · σ↓ᵢ(B)`. This follows from submultiplicativity of the operator norm applied to exterior powers of the matrices. -/ lemma horn_weak_log_majorization (A B : Matrix d d ℂ) (k : ℕ) (hk : k ≤ Fintype.card d...
323
leanexplore_declaration
leanexplore:379505
leanexplore_sqlite
leanexplore_declarations
/-- Raising nonneg antitone sequences to a positive power preserves antitonicity. -/ lemma rpow_antitone_of_nonneg_antitone {n : ℕ} {f : Fin n → ℝ} (hf : Antitone f) (hf_nn : ∀ i, 0 ≤ f i) {r : ℝ} (hr : 0 < r) : Antitone (fun i => f i ^ r) := by exact fun i j hij => Real.rpow_le_rpow (hf_nn _) (hf hij) hr...
717
leanexplore_declaration
leanexplore:379506
leanexplore_sqlite
leanexplore_declarations
/-- Weak log-majorization is preserved under positive powers. -/ lemma rpow_preserves_weak_log_maj {n : ℕ} {x y : Fin n → ℝ} (hx_nn : ∀ i, 0 ≤ x i) (hy_nn : ∀ i, 0 ≤ y i) (h_log_maj : ∀ (k : ℕ) (_ : k ≤ n), ∏ i : Fin k, x ⟨i.val, by omega⟩ ≤ ∏ i : Fin k, y ⟨i.val, by omega⟩) {r : ℝ} (hr : 0 ...
4,327
leanexplore_declaration
leanexplore:379507
leanexplore_sqlite
leanexplore_declarations
lemma sum_mul_log_nonneg_of_weak_log_maj {n : ℕ} {x y : Fin n → ℝ} (hx_pos : ∀ i, 0 < x i) (hy_pos : ∀ i, 0 < y i) (hx_anti : Antitone x) (h_log_maj : ∀ (k : ℕ) (_ : k ≤ n), ∏ i : Fin k, x ⟨i.val, by omega⟩ ≤ ∏ i : Fin k, y ⟨i.val, by omega⟩) : 0 ≤ ∑ i, x i * Real.log (y i / x i) := by ...
184
leanexplore_declaration
leanexplore:379508
leanexplore_sqlite
leanexplore_declarations
lemma sub_ge_mul_log_div {a b : ℝ} (ha : 0 < a) (hb : 0 < b) : b - a ≥ a * Real.log (b / a) := by nlinarith [Real.log_le_sub_one_of_pos (div_pos hb ha), mul_div_cancel₀ b ha.ne']
1,696
leanexplore_declaration
leanexplore:379509
leanexplore_sqlite
leanexplore_declarations
lemma weak_log_maj_sum_le {n : ℕ} {x y : Fin n → ℝ} (hx_nn : ∀ i, 0 ≤ x i) (hy_nn : ∀ i, 0 ≤ y i) (hx_anti : Antitone x) (hy_anti : Antitone y) (h_log_maj : ∀ (k : ℕ) (_ : k ≤ n), ∏ i : Fin k, x ⟨i.val, by omega⟩ ≤ ∏ i : Fin k, y ⟨i.val, by omega⟩) : ∑ i, x i ≤ ∑ i, y i := by induction...
749
leanexplore_declaration
leanexplore:379510
leanexplore_sqlite
leanexplore_declarations
/-- Weak log-majorization of nonneg antitone sequences implies the sum of powers inequality. -/ lemma weak_log_maj_sum_rpow_le {n : ℕ} {x y : Fin n → ℝ} (hx_nn : ∀ i, 0 ≤ x i) (hy_nn : ∀ i, 0 ≤ y i) (hx_anti : Antitone x) (hy_anti : Antitone y) (h_log_maj : ∀ (k : ℕ) (_ : k ≤ n), ∏ i : Fin k, x ⟨i...
1,031
leanexplore_declaration
leanexplore:379511
leanexplore_sqlite
leanexplore_declarations
lemma sum_rpow_singularValues_mul_le (A B : Matrix d d ℂ) {r : ℝ} (hr : 0 < r) : ∑ i : Fin (Fintype.card d), singularValuesSorted (A * B) i ^ r ≤ ∑ i : Fin (Fintype.card d), (singularValuesSorted A i ^ r * singularValuesSorted B i ^ r) := by have h_rw : ∀ i : Fin (Fintype.card d), singularValuesSo...
1,879
leanexplore_declaration
leanexplore:379512
leanexplore_sqlite
leanexplore_declarations
/-- The finite-sum Hölder inequality applied to sequences of r-th powers of sorted singular values. With conjugate exponents `p' = p/r > 1` and `q' = q/r > 1` (which satisfy `1/p' + 1/q' = 1` when `1/r = 1/p + 1/q`), this gives: `∑ σ↓ᵢ(A)^r · σ↓ᵢ(B)^r ≤ (∑ σ↓ᵢ(A)^p)^{r/p} · (∑ σ↓ᵢ(B)^q)^{r/q}` Note: The sums on the...