Loogle!
Result
Found 93 declarations mentioning Matrix.trace.
- Matrix.trace π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_3} {R : Type u_6} [Fintype n] [AddCommMonoid R] (A : Matrix n n R) : R - Matrix.trace_surjective π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_3} {R : Type u_6} [Fintype n] [AddCommMonoid R] [Nonempty n] : Function.Surjective Matrix.trace - Matrix.trace_transpose π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_3} {R : Type u_6} [Fintype n] [AddCommMonoid R] (A : Matrix n n R) : A.transpose.trace = A.trace - Matrix.trace_eq_zero_of_isEmpty π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_3} {R : Type u_6} [Fintype n] [AddCommMonoid R] [IsEmpty n] (A : Matrix n n R) : A.trace = 0 - Matrix.trace_single_eq_same π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_9} {Ξ± : Type u_11} [DecidableEq n] [Fintype n] [AddCommMonoid Ξ±] (i : n) (c : Ξ±) : (Matrix.single i i c).trace = c - Matrix.trace_diagonal π Mathlib.LinearAlgebra.Matrix.Trace
{R : Type u_6} [AddCommMonoid R] {o : Type u_8} [Fintype o] [DecidableEq o] (d : o β R) : (Matrix.diagonal d).trace = β i, d i - Matrix.trace_multiset_sum π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_3} {R : Type u_6} [Fintype n] [AddCommMonoid R] (s : Multiset (Matrix n n R)) : s.sum.trace = (Multiset.map Matrix.trace s).sum - Matrix.trace_vecMulVec π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_3} {R : Type u_6} [Fintype n] [NonUnitalNonAssocSemiring R] (a b : n β R) : (Matrix.vecMulVec a b).trace = a β¬α΅₯ b - Matrix.trace_fin_zero π Mathlib.LinearAlgebra.Matrix.Trace
{R : Type u_6} [AddCommMonoid R] (A : Matrix (Fin 0) (Fin 0) R) : A.trace = 0 - Matrix.trace_sum π Mathlib.LinearAlgebra.Matrix.Trace
{ΞΉ : Type u_1} {n : Type u_3} {R : Type u_6} [Fintype n] [AddCommMonoid R] (s : Finset ΞΉ) (f : ΞΉ β Matrix n n R) : (β i β s, f i).trace = β i β s, (f i).trace - Matrix.trace_conjTranspose π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_3} {R : Type u_6} [Fintype n] [AddCommMonoid R] [StarAddMonoid R] (A : Matrix n n R) : A.conjTranspose.trace = star A.trace - Matrix.trace_zero π Mathlib.LinearAlgebra.Matrix.Trace
(n : Type u_3) (R : Type u_6) [Fintype n] [AddCommMonoid R] : Matrix.trace 0 = 0 - Matrix.trace_single_eq_of_ne π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_9} {Ξ± : Type u_11} [DecidableEq n] [Fintype n] [AddCommMonoid Ξ±] (i j : n) (c : Ξ±) (h : i β j) : (Matrix.single i j c).trace = 0 - Matrix.trace_one π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_3} {R : Type u_6} [Fintype n] [DecidableEq n] [AddCommMonoidWithOne R] : Matrix.trace 1 = β(Fintype.card n) - Matrix.trace_blockDiagonal π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_3} {p : Type u_4} {R : Type u_6} [Fintype n] [Fintype p] [AddCommMonoid R] [DecidableEq p] (M : p β Matrix n n R) : (Matrix.blockDiagonal M).trace = β i, (M i).trace - Matrix.trace_neg π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_3} {R : Type u_6} [Fintype n] [AddCommGroup R] (A : Matrix n n R) : (-A).trace = -A.trace - Matrix.trace_blockDiagonal' π Mathlib.LinearAlgebra.Matrix.Trace
{p : Type u_4} {R : Type u_6} [Fintype p] [AddCommMonoid R] [DecidableEq p] {m : p β Type u_8} [(i : p) β Fintype (m i)] (M : (i : p) β Matrix (m i) (m i) R) : (Matrix.blockDiagonal' M).trace = β i, (M i).trace - AddMonoidHom.map_trace π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_3} {R : Type u_6} {S : Type u_7} [Fintype n] [AddCommMonoid R] [AddCommMonoid S] {F : Type u_8} [FunLike F R S] [AddMonoidHomClass F R S] (f : F) (A : Matrix n n R) : f A.trace = (A.map βf).trace - Matrix.trace_replicateCol_mul_replicateRow π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_3} {R : Type u_6} [Fintype n] {ΞΉ : Type u_8} [Unique ΞΉ] [NonUnitalNonAssocSemiring R] (a b : n β R) : (Matrix.replicateCol ΞΉ a * Matrix.replicateRow ΞΉ b).trace = a β¬α΅₯ b - Matrix.trace_add π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_3} {R : Type u_6} [Fintype n] [AddCommMonoid R] (A B : Matrix n n R) : (A + B).trace = A.trace + B.trace - Matrix.trace_fin_one π Mathlib.LinearAlgebra.Matrix.Trace
{R : Type u_6} [AddCommMonoid R] (A : Matrix (Fin 1) (Fin 1) R) : A.trace = A 0 0 - Matrix.trace_list_sum π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_3} {R : Type u_6} [Fintype n] [AddCommMonoid R] (l : List (Matrix n n R)) : l.sum.trace = (List.map Matrix.trace l).sum - Matrix.trace_mul_comm π Mathlib.LinearAlgebra.Matrix.Trace
{m : Type u_2} {n : Type u_3} {R : Type u_6} [Fintype m] [Fintype n] [AddCommMonoid R] [CommMagma R] (A : Matrix m n R) (B : Matrix n m R) : (A * B).trace = (B * A).trace - Matrix.trace_sub π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_3} {R : Type u_6} [Fintype n] [AddCommGroup R] (A B : Matrix n n R) : (A - B).trace = A.trace - B.trace - Matrix.trace_submatrix_succ π Mathlib.LinearAlgebra.Matrix.Trace
{R : Type u_6} {n : β} [AddCommMonoid R] (M : Matrix (Fin n.succ) (Fin n.succ) R) : M 0 0 + (M.submatrix Fin.succ Fin.succ).trace = M.trace - Matrix.trace_transpose_mul π Mathlib.LinearAlgebra.Matrix.Trace
{m : Type u_2} {n : Type u_3} {R : Type u_6} [Fintype m] [Fintype n] [AddCommMonoid R] [Mul R] (A : Matrix m n R) (B : Matrix n m R) : (A.transpose * B.transpose).trace = (A * B).trace - Matrix.traceAddMonoidHom_apply π Mathlib.LinearAlgebra.Matrix.Trace
(n : Type u_3) (R : Type u_6) [Fintype n] [AddCommMonoid R] (A : Matrix n n R) : (Matrix.traceAddMonoidHom n R) A = A.trace - Matrix.trace_single_mul π Mathlib.LinearAlgebra.Matrix.Trace
{m : Type u_8} {n : Type u_9} {R : Type u_10} [DecidableEq m] [DecidableEq n] [Fintype n] [NonUnitalNonAssocSemiring R] [Fintype m] (i : n) (j : m) (a : R) (x : Matrix m n R) : (Matrix.single i j a * x).trace = a β’ x j i - Matrix.traceLinearMap_apply π Mathlib.LinearAlgebra.Matrix.Trace
(n : Type u_3) (Ξ± : Type u_5) (R : Type u_6) [Fintype n] [AddCommMonoid R] [Semiring Ξ±] [Module Ξ± R] (A : Matrix n n R) : (Matrix.traceLinearMap n Ξ± R) A = A.trace - Matrix.trace_smul π Mathlib.LinearAlgebra.Matrix.Trace
{n : Type u_3} {Ξ± : Type u_5} {R : Type u_6} [Fintype n] [AddCommMonoid R] [DistribSMul Ξ± R] (r : Ξ±) (A : Matrix n n R) : (r β’ A).trace = r β’ A.trace - Matrix.ext_iff_trace_mul_left π Mathlib.LinearAlgebra.Matrix.Trace
{m : Type u_2} {n : Type u_3} {R : Type u_6} [Fintype m] [Fintype n] [NonAssocSemiring R] {A B : Matrix m n R} : A = B β β (x : Matrix n m R), (x * A).trace = (x * B).trace - Matrix.ext_iff_trace_mul_right π Mathlib.LinearAlgebra.Matrix.Trace
{m : Type u_2} {n : Type u_3} {R : Type u_6} [Fintype m] [Fintype n] [NonAssocSemiring R] {A B : Matrix m n R} : A = B β β (x : Matrix n m R), (A * x).trace = (B * x).trace - Matrix.trace_mul_single π Mathlib.LinearAlgebra.Matrix.Trace
{m : Type u_8} {n : Type u_9} {R : Type u_10} [DecidableEq m] [DecidableEq n] [Fintype n] [NonUnitalNonAssocSemiring R] [Fintype m] (x : Matrix m n R) (i : n) (j : m) (a : R) : (x * Matrix.single i j a).trace = MulOpposite.op a β’ x j i - Matrix.trace_fin_two π Mathlib.LinearAlgebra.Matrix.Trace
{R : Type u_6} [AddCommMonoid R] (A : Matrix (Fin 2) (Fin 2) R) : A.trace = A 0 0 + A 1 1 - Matrix.trace_fin_three π Mathlib.LinearAlgebra.Matrix.Trace
{R : Type u_6} [AddCommMonoid R] (A : Matrix (Fin 3) (Fin 3) R) : A.trace = A 0 0 + A 1 1 + A 2 2 - Matrix.trace_mul_cycle π Mathlib.LinearAlgebra.Matrix.Trace
{m : Type u_2} {n : Type u_3} {p : Type u_4} {R : Type u_6} [Fintype m] [Fintype n] [Fintype p] [NonUnitalCommSemiring R] (A : Matrix m n R) (B : Matrix n p R) (C : Matrix p m R) : (A * B * C).trace = (C * A * B).trace - Matrix.trace_mul_cycle' π Mathlib.LinearAlgebra.Matrix.Trace
{m : Type u_2} {n : Type u_3} {p : Type u_4} {R : Type u_6} [Fintype m] [Fintype n] [Fintype p] [NonUnitalCommSemiring R] (A : Matrix m n R) (B : Matrix n p R) (C : Matrix p m R) : (A * (B * C)).trace = (C * (A * B)).trace - Matrix.trace_units_conj π Mathlib.LinearAlgebra.Matrix.Trace
{m : Type u_2} {R : Type u_6} [Fintype m] [DecidableEq m] [CommSemiring R] (M : (Matrix m m R)Λ£) (N : Matrix m m R) : (βM * N * βMβ»ΒΉ).trace = N.trace - Matrix.trace_units_conj' π Mathlib.LinearAlgebra.Matrix.Trace
{m : Type u_2} {R : Type u_6} [Fintype m] [DecidableEq m] [CommSemiring R] (M : (Matrix m m R)Λ£) (N : Matrix m m R) : (βMβ»ΒΉ * N * βM).trace = N.trace - Matrix.trace_fin_one_of π Mathlib.LinearAlgebra.Matrix.Trace
{R : Type u_6} [AddCommMonoid R] (a : R) : !![a].trace = a - Matrix.trace_fin_two_of π Mathlib.LinearAlgebra.Matrix.Trace
{R : Type u_6} [AddCommMonoid R] (a b c d : R) : !![a, b; c, d].trace = a + d - Matrix.trace_fin_three_of π Mathlib.LinearAlgebra.Matrix.Trace
{R : Type u_6} [AddCommMonoid R] (a b c d e f g h i : R) : !![a, b, c; d, e, f; g, h, i].trace = a + e + i - Matrix.trace_kronecker π Mathlib.LinearAlgebra.Matrix.Kronecker
{Ξ± : Type u_3} {m : Type u_10} {n : Type u_11} [Fintype m] [Fintype n] [Semiring Ξ±] (A : Matrix m m Ξ±) (B : Matrix n n Ξ±) : (Matrix.kroneckerMap (fun x1 x2 => x1 * x2) A B).trace = A.trace * B.trace - Matrix.trace_kroneckerTMul π Mathlib.LinearAlgebra.Matrix.Kronecker
(R : Type u_1) {Ξ± : Type u_3} {Ξ² : Type u_5} {m : Type u_10} {n : Type u_11} [CommSemiring R] [AddCommMonoid Ξ±] [AddCommMonoid Ξ²] [Module R Ξ±] [Module R Ξ²] [Fintype m] [Fintype n] (A : Matrix m m Ξ±) (B : Matrix n n Ξ²) : (Matrix.kroneckerMap (TensorProduct.tmul R) A B).trace = A.trace ββ[R] B.trace - Matrix.trace_kroneckerMapBilinear π Mathlib.LinearAlgebra.Matrix.Kronecker
{R : Type u_1} {S : Type u_2} {Ξ± : Type u_3} {Ξ² : Type u_5} {Ξ³ : Type u_7} {m : Type u_10} {n : Type u_11} [Semiring S] [Semiring R] [Fintype m] [Fintype n] [AddCommMonoid Ξ±] [AddCommMonoid Ξ²] [AddCommMonoid Ξ³] [Module R Ξ±] [Module R Ξ³] [Module S Ξ²] [Module S Ξ³] [SMulCommClass S R Ξ³] (f : Ξ± ββ[R] Ξ² ββ[S] Ξ³) (A : Matrix m m Ξ±) (B : Matrix n n Ξ²) : (((Matrix.kroneckerMapBilinear f) A) B).trace = (f A.trace) B.trace - Matrix.trace_conj π Mathlib.LinearAlgebra.Matrix.NonsingularInverse
{m : Type u} {Ξ± : Type v} [CommRing Ξ±] [Fintype m] [DecidableEq m] {M : Matrix m m Ξ±} (h : IsUnit M) (N : Matrix m m Ξ±) : (M * N * Mβ»ΒΉ).trace = N.trace - Matrix.trace_conj' π Mathlib.LinearAlgebra.Matrix.NonsingularInverse
{m : Type u} {Ξ± : Type v} [CommRing Ξ±] [Fintype m] [DecidableEq m] {M : Matrix m m Ξ±} (h : IsUnit M) (N : Matrix m m Ξ±) : (Mβ»ΒΉ * N * M).trace = N.trace - Matrix.trace_eq_neg_charpoly_nextCoeff π Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff
{R : Type u} [CommRing R] {n : Type v} [DecidableEq n] [Fintype n] (M : Matrix n n R) : M.trace = -M.charpoly.nextCoeff - Matrix.coeff_charpolyRev_eq_neg_trace π Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff
{R : Type u} [CommRing R] {n : Type v} [DecidableEq n] [Fintype n] (M : Matrix n n R) : M.charpolyRev.coeff 1 = -M.trace - Matrix.trace_eq_neg_charpoly_coeff π Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff
{R : Type u} [CommRing R] {n : Type v} [DecidableEq n] [Fintype n] [Nonempty n] (M : Matrix n n R) : M.trace = -M.charpoly.coeff (Fintype.card n - 1) - Matrix.isNilpotent_trace_of_isNilpotent π Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff
{R : Type u} [CommRing R] {n : Type v} [DecidableEq n] [Fintype n] {M : Matrix n n R} (hM : IsNilpotent M) : IsNilpotent M.trace - Matrix.coeff_det_one_add_X_smul_one π Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff
{R : Type u} [CommRing R] {n : Type v} [DecidableEq n] [Fintype n] (M : Matrix n n R) : (1 + Polynomial.X β’ M.map βPolynomial.C).det.coeff 1 = M.trace - Matrix.charpoly_of_card_eq_two π Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff
{R : Type u} [CommRing R] {n : Type v} [DecidableEq n] [Fintype n] (M : Matrix n n R) [Nontrivial R] (hn : Fintype.card n = 2) : M.charpoly = Polynomial.X ^ 2 - Polynomial.C M.trace * Polynomial.X + Polynomial.C M.det - Matrix.charpoly_fin_two π Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff
{R : Type u} [CommRing R] [Nontrivial R] (M : Matrix (Fin 2) (Fin 2) R) : M.charpoly = Polynomial.X ^ 2 - Polynomial.C M.trace * Polynomial.X + Polynomial.C M.det - Matrix.det_one_add_smul π Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff
{R : Type u} [CommRing R] {n : Type v} [DecidableEq n] [Fintype n] (r : R) (M : Matrix n n R) : (1 + r β’ M).det = 1 + M.trace * r + Polynomial.eval r (1 + Polynomial.X β’ M.map βPolynomial.C).det.divX.divX * r ^ 2 - Matrix.derivative_det_one_add_X_smul π Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff
{R : Type u} [CommRing R] {n : Type v} [DecidableEq n] [Fintype n] (M : Matrix n n R) : Polynomial.eval 0 (Polynomial.derivative (1 + Polynomial.X β’ M.map βPolynomial.C).det) = M.trace - Matrix.derivative_det_one_add_X_smul_aux π Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff
{R : Type u} [CommRing R] {n : β} (M : Matrix (Fin n) (Fin n) R) : Polynomial.eval 0 (Polynomial.derivative (1 + Polynomial.X β’ M.map βPolynomial.C).det) = M.trace - Matrix.det_one_add_X_smul π Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff
{R : Type u} [CommRing R] {n : Type v} [DecidableEq n] [Fintype n] (M : Matrix n n R) : (1 + Polynomial.X β’ M.map βPolynomial.C).det = 1 + M.trace β’ Polynomial.X + (1 + Polynomial.X β’ M.map βPolynomial.C).det.divX.divX * Polynomial.X ^ 2 - Matrix.trace_map' π Mathlib.LinearAlgebra.Trace
{K : Type u_6} {m : Type u_7} {F : Type u_8} [Field K] [Fintype m] [DecidableEq m] [FunLike F (Matrix m m K) (Matrix m m K)] [AlgHomClass F K (Matrix m m K) (Matrix m m K)] (f : F) (x : Matrix m m K) : (f x).trace = x.trace - Matrix.trace_map π Mathlib.LinearAlgebra.Trace
{K : Type u_6} {m : Type u_7} {n : Type u_8} [Field K] [Fintype m] [Fintype n] [DecidableEq m] [DecidableEq n] {F : Type u_9} [EquivLike F (Matrix m m K) (Matrix n n K)] [AlgEquivClass F K (Matrix m m K) (Matrix n n K)] (f : F) (x : Matrix m m K) : (f x).trace = x.trace - Matrix.trace_toLin_eq π Mathlib.LinearAlgebra.Trace
{R : Type u} [CommSemiring R] {M : Type v} [AddCommMonoid M] [Module R M] {ΞΉ : Type w} [DecidableEq ΞΉ] [Fintype ΞΉ] (A : Matrix ΞΉ ΞΉ R) (b : Module.Basis ΞΉ R M) : (LinearMap.trace R M) ((Matrix.toLin b b) A) = A.trace - LinearMap.trace_eq_matrix_trace π Mathlib.LinearAlgebra.Trace
(R : Type u) [CommSemiring R] {M : Type v} [AddCommMonoid M] [Module R M] {ΞΉ : Type w} [DecidableEq ΞΉ] [Fintype ΞΉ] (b : Module.Basis ΞΉ R M) (f : M ββ[R] M) : (LinearMap.trace R M) f = ((LinearMap.toMatrix b b) f).trace - LinearMap.traceAux_def π Mathlib.LinearAlgebra.Trace
(R : Type u) [CommSemiring R] {M : Type v} [AddCommMonoid M] [Module R M] {ΞΉ : Type w} [DecidableEq ΞΉ] [Fintype ΞΉ] (b : Module.Basis ΞΉ R M) (f : M ββ[R] M) : (LinearMap.traceAux R b) f = ((LinearMap.toMatrix b b) f).trace - LinearMap.trace_eq_matrix_trace_of_finset π Mathlib.LinearAlgebra.Trace
(R : Type u) [CommSemiring R] {M : Type v} [AddCommMonoid M] [Module R M] {s : Finset M} (b : Module.Basis (β₯s) R M) (f : M ββ[R] M) : (LinearMap.trace R M) f = ((LinearMap.toMatrix b b) f).trace - Matrix.trace_toLin'_eq π Mathlib.LinearAlgebra.Trace
{R : Type u} [CommSemiring R] {ΞΉ : Type w} [DecidableEq ΞΉ] [Fintype ΞΉ] (A : Matrix ΞΉ ΞΉ R) : (LinearMap.trace R (ΞΉ β R)) (Matrix.toLin' A) = A.trace - Matrix.sum_hadamard_eq π Mathlib.LinearAlgebra.Matrix.Hadamard
{Ξ± : Type u_1} {m : Type u_2} {n : Type u_3} (A B : Matrix m n Ξ±) [Fintype m] [Fintype n] [NonUnitalSemiring Ξ±] : β i, β j, A.hadamard B i j = (A * B.transpose).trace - Matrix.dotProduct_vecMul_hadamard π Mathlib.LinearAlgebra.Matrix.Hadamard
{Ξ± : Type u_1} {m : Type u_2} {n : Type u_3} (A B : Matrix m n Ξ±) [Fintype m] [Fintype n] [NonUnitalSemiring Ξ±] [DecidableEq m] [DecidableEq n] (v : m β Ξ±) (w : n β Ξ±) : Matrix.vecMul v (A.hadamard B) β¬α΅₯ w = (Matrix.diagonal v * A * (B * Matrix.diagonal w).transpose).trace - Matrix.vec_dotProduct_vec π Mathlib.LinearAlgebra.Matrix.Vec
{m : Type u_2} {n : Type u_3} {R : Type u_1} [AddCommMonoid R] [Mul R] [Fintype m] [Fintype n] (A B : Matrix m n R) : A.vec β¬α΅₯ B.vec = (A.transpose * B).trace - Matrix.star_vec_dotProduct_vec π Mathlib.LinearAlgebra.Matrix.Vec
{m : Type u_2} {n : Type u_3} {R : Type u_1} [AddCommMonoid R] [Mul R] [Star R] [Fintype m] [Fintype n] (A B : Matrix m n R) : star A.vec β¬α΅₯ B.vec = (A.conjTranspose * B).trace - Matrix.PosDef.trace_pos π Mathlib.LinearAlgebra.Matrix.PosDef
{n : Type u_2} {R : Type u_3} [Ring R] [PartialOrder R] [StarRing R] [Fintype n] [Nontrivial R] [IsOrderedCancelAddMonoid R] [Nonempty n] {A : Matrix n n R} (hA : A.PosDef) : 0 < A.trace - Matrix.PosSemidef.trace_nonneg π Mathlib.LinearAlgebra.Matrix.PosDef
{n : Type u_2} {R : Type u_3} [Ring R] [PartialOrder R] [StarRing R] [Fintype n] [AddLeftMono R] {A : Matrix n n R} (hA : A.PosSemidef) : 0 β€ A.trace - Matrix.trace_conjTranspose_mul_self_eq_zero_iff π Mathlib.LinearAlgebra.Matrix.PosDef
{m : Type u_1} {n : Type u_2} [Fintype n] [Fintype m] {R : Type u_5} [PartialOrder R] [NonUnitalRing R] [StarRing R] [StarOrderedRing R] [NoZeroDivisors R] {A : Matrix m n R} : (A.conjTranspose * A).trace = 0 β A = 0 - Matrix.trace_mul_conjTranspose_self_eq_zero_iff π Mathlib.LinearAlgebra.Matrix.PosDef
{m : Type u_1} {n : Type u_2} [Fintype n] [Fintype m] {R : Type u_5} [PartialOrder R] [NonUnitalRing R] [StarRing R] [StarOrderedRing R] [NoZeroDivisors R] {A : Matrix m n R} : (A * A.conjTranspose).trace = 0 β A = 0 - LieAlgebra.matrix_trace_commutator_zero π Mathlib.Algebra.Lie.Classical
(n : Type u_1) (R : Type uβ) [CommRing R] [Fintype n] (X Y : Matrix n n R) : β X, Yβ.trace = 0 - Continuous.matrix_trace π Mathlib.Topology.Instances.Matrix
{X : Type u_1} {n : Type u_5} {R : Type u_8} [TopologicalSpace X] [TopologicalSpace R] [Fintype n] [AddCommMonoid R] [ContinuousAdd R] {A : X β Matrix n n R} (hA : Continuous A) : Continuous fun x => (A x).trace - Algebra.trace_eq_matrix_trace π Mathlib.RingTheory.Trace.Defs
{R : Type u_1} {S : Type u_2} [CommRing R] [CommRing S] [Algebra R S] {ΞΉ : Type w} [Fintype ΞΉ] [DecidableEq ΞΉ] (b : Module.Basis ΞΉ R S) (s : S) : (Algebra.trace R S) s = ((Algebra.leftMulMatrix b) s).trace - Matrix.discr_of_card_eq_two π Mathlib.LinearAlgebra.Matrix.Charpoly.Disc
{R : Type u_1} {n : Type u_2} [CommRing R] [Fintype n] [DecidableEq n] (A : Matrix n n R) (hn : Fintype.card n = 2) : A.discr = A.trace ^ 2 - 4 * A.det - Matrix.discr_fin_two π Mathlib.LinearAlgebra.Matrix.Charpoly.Disc
{R : Type u_1} [CommRing R] (A : Matrix (Fin 2) (Fin 2) R) : A.discr = A.trace ^ 2 - 4 * A.det - Matrix.sub_scalar_sq_eq_discr π Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.FinTwo
{K : Type u_1} [Field K] {m : Matrix (Fin 2) (Fin 2) K} [NeZero 2] : (m - (Matrix.scalar (Fin 2)) (m.trace / 2)) ^ 2 = (Matrix.scalar (Fin 2)) (m.discr / 4) - UpperHalfPlane.exists_gl_smul_eq_self_iff_trace_eq_zero π Mathlib.Analysis.Complex.UpperHalfPlane.FixedPoints
{g : GL (Fin 2) β} (h : (βg).det < 0) : (β z, g β’ z = z) β (βg).trace = 0 - UpperHalfPlane.gl_smul_eq_self_iff_re_eq π Mathlib.Analysis.Complex.UpperHalfPlane.FixedPoints
{g : GL (Fin 2) β} {z : UpperHalfPlane} (htrace : (βg).trace = 0) (hc : βg 1 0 = 0) : g β’ z = z β z.re = βg 0 1 / (2 * βg 1 1) - UpperHalfPlane.gl_smul_eq_self_iff_dist_eq π Mathlib.Analysis.Complex.UpperHalfPlane.FixedPoints
{g : GL (Fin 2) β} {z : UpperHalfPlane} (h : (βg).det < 0) (htrace : (βg).trace = 0) (hc : βg 1 0 β 0) : g β’ z = z β dist (βz) (-β(βg 1 1) / β(βg 1 0)) = β(-(βg).det) / |βg 1 0| - UpperHalfPlane.gl_smul_eq_self_iff_dist_sq_eq π Mathlib.Analysis.Complex.UpperHalfPlane.FixedPoints
{g : GL (Fin 2) β} {z : UpperHalfPlane} (h : (βg).det < 0) (htrace : (βg).trace = 0) (hc : βg 1 0 β 0) : g β’ z = z β dist (βz) (-β(βg 1 1) / β(βg 1 0)) ^ 2 = -(βg).det / βg 1 0 ^ 2 - Matrix.trace_permutation π Mathlib.LinearAlgebra.Matrix.Permutation
{n : Type u_1} {R : Type u_2} [DecidableEq n] (Ο : Equiv.Perm n) [Fintype n] [AddCommMonoidWithOne R] : (Equiv.Perm.permMatrix R Ο).trace = β(Function.fixedPoints βΟ).ncard - Matrix.trace_eq_sum_roots_charpoly π Mathlib.LinearAlgebra.Matrix.Charpoly.Eigs
{n : Type u_1} [Fintype n] [DecidableEq n] {K : Type u_3} [Field K] (A : Matrix n n K) [IsAlgClosed K] : A.trace = A.charpoly.roots.sum - Matrix.trace_eq_sum_roots_charpoly_of_splits π Mathlib.LinearAlgebra.Matrix.Charpoly.Eigs
{n : Type u_1} [Fintype n] [DecidableEq n] {R : Type u_2} [CommRing R] {B : Matrix n n R} [IsDomain R] (hAps : B.charpoly.Splits) : B.trace = B.charpoly.roots.sum - Matrix.IsHermitian.trace_eq_sum_eigenvalues π Mathlib.Analysis.Matrix.Spectrum
{π : Type u_1} [RCLike π] {n : Type u_2} [Fintype n] {A : Matrix n n π} [DecidableEq n] (hA : A.IsHermitian) : A.trace = β i, β(hA.eigenvalues i) - Matrix.PosSemidef.trace_eq_zero_iff π Mathlib.Analysis.Matrix.PosDef
{n : Type u_2} {π : Type u_3} [Fintype n] [RCLike π] {A : Matrix n n π} (hA : A.PosSemidef) : A.trace = 0 β A = 0 - Matrix.tracePositiveLinearMap_apply π Mathlib.Analysis.Matrix.Order
(n : Type u_3) (Ξ± : Type u_4) (π : Type u_5) [Fintype n] [Semiring Ξ±] [RCLike π] [Module Ξ± π] (x : Matrix n n π) : (Matrix.tracePositiveLinearMap n Ξ± π) x = x.trace - SimpleGraph.trace_adjMatrix π Mathlib.Combinatorics.SimpleGraph.AdjMatrix
(Ξ± : Type u_1) {V : Type u_2} (G : SimpleGraph V) [DecidableRel G.Adj] [Fintype V] [AddCommMonoid Ξ±] [One Ξ±] : (SimpleGraph.adjMatrix Ξ± G).trace = 0 - FiniteField.trace_pow_card π Mathlib.LinearAlgebra.Matrix.Charpoly.FiniteField
{n : Type u_1} [DecidableEq n] [Fintype n] {K : Type u_2} [Field K] [Fintype K] (M : Matrix n n K) : (M ^ Fintype.card K).trace = M.trace ^ Fintype.card K - ZMod.trace_pow_card π Mathlib.LinearAlgebra.Matrix.Charpoly.FiniteField
{n : Type u_1} [DecidableEq n] [Fintype n] {p : β} [Fact (Nat.Prime p)] (M : Matrix n n (ZMod p)) : (M ^ p).trace = M.trace ^ p - RootPairing.GeckConstruction.trace_h_eq_zero π Mathlib.LinearAlgebra.RootSystem.GeckConstruction.Semisimple
{ΞΉ : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [CommRing R] [CharZero R] [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] {P : RootPairing ΞΉ R M N} [P.IsCrystallographic] {b : P.Base} [Fintype ΞΉ] (i : β₯b.support) : (RootPairing.GeckConstruction.h i).trace = 0
About
Loogle searches Lean and Mathlib definitions and theorems.
You can use Loogle from within the Lean4 VSCode language extension
using the Loogle command from the command palette. You can also try the
#loogle command from LeanSearchClient,
the CLI version, the Loogle
VS Code extension, the lean.nvim
integration or the Zulip bot.
Usage
Loogle finds definitions and lemmas in various ways:
By constant:
πReal.sin
finds all lemmas whose statement somehow mentions the sine function.By lemma name substring:
π"differ"
finds all lemmas that have"differ"somewhere in their lemma name.By subexpression:
π_ * (_ ^ _)
finds all lemmas whose statements somewhere include a product where the second argument is raised to some power.The pattern can also be non-linear, as in
πReal.sqrt ?a * Real.sqrt ?aIf the pattern has parameters, they are matched in any order. Both of these will find
List.map:
π(?a -> ?b) -> List ?a -> List ?b
πList ?a -> (?a -> ?b) -> List ?bBy main conclusion:
π|- tsum _ = _ * tsum _
finds all lemmas where the conclusion (the subexpression to the right of allβandβ) has the given shape.As before, if the pattern has parameters, they are matched against the hypotheses of the lemma in any order; for example,
π|- _ < _ β tsum _ < tsum _
will findtsum_lt_tsumeven though the hypothesisf i < g iis not the last.You can filter for definitions vs theorems: Using
β’ (_ : Type _)finds all definitions which provide data whileβ’ (_ : Prop)finds all theorems (and definitions of proofs).
If you pass more than one such search filter, separated by commas
Loogle will return lemmas which match all of them. The
search
π Real.sin, "two", tsum, _ * _, _ ^ _, |- _ < _ β _
would find all lemmas which mention the constants Real.sin
and tsum, have "two" as a substring of the
lemma name, include a product and a power somewhere in the type,
and have a hypothesis of the form _ < _ (if
there were any such lemmas). Metavariables (?a) are
assigned independently in each filter.
The #lucky button will directly send you to the
documentation of the first hit.
Source code
You can find the source code for this service at https://github.com/nomeata/loogle. The https://loogle.lean-lang.org/ service is provided by the Lean FRO. Please review the Lean FRO Terms of Use and Privacy Policy.
This is Loogle revision 9f11169 serving mathlib revision 69fae59