Loogle!
Result
Found 102 declarations mentioning LinearMap.toMatrix.
- LinearMap.toMatrix ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [Finite m] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) : (Mโ โโ[R] Mโ) โโ[R] Matrix m n R - LinearMap.toMatrix_symm ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [Finite m] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) : (LinearMap.toMatrix vโ vโ).symm = Matrix.toLin vโ vโ - Matrix.toLin_symm ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [Finite m] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) : (Matrix.toLin vโ vโ).symm = LinearMap.toMatrix vโ vโ - LinearMap.toMatrix_eq_toMatrix' ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {n : Type u_4} [Fintype n] [DecidableEq n] : LinearMap.toMatrix (Pi.basisFun R n) (Pi.basisFun R n) = LinearMap.toMatrix' - LinearMap.toMatrix_id ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {n : Type u_4} [Fintype n] [DecidableEq n] {Mโ : Type u_5} [AddCommMonoid Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) : (LinearMap.toMatrix vโ vโ) LinearMap.id = 1 - toMatrix_distrib_mul_action_toLinearMap ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {n : Type u_4} [Fintype n] [DecidableEq n] {Mโ : Type u_5} [AddCommMonoid Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (x : R) : (LinearMap.toMatrix vโ vโ) (DistribSMul.toLinearMap R Mโ x) = Matrix.diagonal fun x_1 => x - LinearMap.isUnit_toMatrix_iff ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {n : Type u_4} [Fintype n] [DecidableEq n] {Mโ : Type u_5} [AddCommMonoid Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) {f : Mโ โโ[R] Mโ} : IsUnit ((LinearMap.toMatrix vโ vโ) f) โ IsUnit f - LinearMap.toMatrix_one ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {n : Type u_4} [Fintype n] [DecidableEq n] {Mโ : Type u_5} [AddCommMonoid Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) : (LinearMap.toMatrix vโ vโ) 1 = 1 - LinearMap.toMatrix_basis_equiv ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {l : Type u_2} {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] [Fintype l] [DecidableEq l] (b : Module.Basis l R Mโ) (b' : Module.Basis l R Mโ) : (LinearMap.toMatrix b' b) โ(b'.equiv b (Equiv.refl l)) = 1 - LinearMap.toMatrix_algebraMap ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {n : Type u_4} [Fintype n] [DecidableEq n] {Mโ : Type u_5} [AddCommMonoid Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (x : R) : (LinearMap.toMatrix vโ vโ) ((algebraMap R (Module.End R Mโ)) x) = (Matrix.scalar n) x - Algebra.toMatrix_lmul_eq ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} {S : Type u_2} [CommSemiring R] [Semiring S] [Algebra R S] {m : Type u_3} [Fintype m] [DecidableEq m] (b : Module.Basis m R S) (x : S) : (LinearMap.toMatrix b b) (LinearMap.mulLeft R x) = (Algebra.leftMulMatrix b) x - LinearMap.toMatrix_apply ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [Finite m] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) (f : Mโ โโ[R] Mโ) (i : m) (j : n) : (LinearMap.toMatrix vโ vโ) f i j = (vโ.repr (f (vโ j))) i - LinearMap.toMatrix_apply' ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [Finite m] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) (f : Mโ โโ[R] Mโ) (i : m) (j : n) : (LinearMap.toMatrix vโ vโ) f i j = (vโ.repr (f (vโ j))) i - LinearMap.toMatrix_transpose_apply ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [Finite m] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) (f : Mโ โโ[R] Mโ) (j : n) : ((LinearMap.toMatrix vโ vโ) f).transpose j = โ(vโ.repr (f (vโ j))) - LinearMap.toMatrix_transpose_apply' ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [Finite m] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) (f : Mโ โโ[R] Mโ) (j : n) : ((LinearMap.toMatrix vโ vโ) f).transpose j = โ(vโ.repr (f (vโ j))) - LinearMap.toMatrix_singleton ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {ฮน : Type u_7} [Unique ฮน] (f : R โโ[R] R) (i j : ฮน) : (LinearMap.toMatrix (Module.Basis.singleton ฮน R) (Module.Basis.singleton ฮน R)) f i j = f 1 - LinearMap.toMatrix_toSpanSingleton ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [DecidableEq n] {Mโ : Type u_6} [AddCommMonoid Mโ] [Module R Mโ] [Finite m] (vโ : Module.Basis n R R) (vโ : Module.Basis m R Mโ) (x : Mโ) : (LinearMap.toMatrix vโ vโ) (LinearMap.toSpanSingleton R Mโ x) = Matrix.vecMulVec โ(vโ.repr x) โvโ - LinearMap.toMatrix_smulRight ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) [Finite m] (f : Mโ โโ[R] R) (x : Mโ) : (LinearMap.toMatrix vโ vโ) (f.smulRight x) = Matrix.vecMulVec (โ(vโ.repr x)) (โf โ โvโ) - LinearMap.toMatrix_toLin ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [Finite m] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) (M : Matrix m n R) : (LinearMap.toMatrix vโ vโ) ((Matrix.toLin vโ vโ) M) = M - Algebra.leftMulMatrix_apply ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} {S : Type u_2} [CommSemiring R] [Semiring S] [Algebra R S] {m : Type u_3} [Fintype m] [DecidableEq m] (b : Module.Basis m R S) (x : S) : (Algebra.leftMulMatrix b) x = (LinearMap.toMatrix b b) ((Algebra.lmul R S) x) - Matrix.toLin_toMatrix ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [Finite m] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) (f : Mโ โโ[R] Mโ) : (Matrix.toLin vโ vโ) ((LinearMap.toMatrix vโ vโ) f) = f - LinearMap.toMatrix_mulVec_repr ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [Finite m] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) (f : Mโ โโ[R] Mโ) (x : Mโ) : ((LinearMap.toMatrix vโ vโ) f).mulVec โ(vโ.repr x) = โ(vโ.repr (f x)) - Algebra.toMatrix_lsmul ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} {S : Type u_2} [CommSemiring R] [Semiring S] [Algebra R S] {m : Type u_3} [Fintype m] [DecidableEq m] (b : Module.Basis m R S) (x : R) : (LinearMap.toMatrix b b) ((Algebra.lsmul R R S) x) = Matrix.diagonal fun x_1 => x - LinearMap.toMatrix_pow ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {n : Type u_4} [Fintype n] [DecidableEq n] {Mโ : Type u_5} [AddCommMonoid Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (f : Mโ โโ[R] Mโ) (k : โ) : (LinearMap.toMatrix vโ vโ) f ^ k = (LinearMap.toMatrix vโ vโ) (f ^ k) - LinearMap.toMatrix_map_left ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [Finite m] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) {Mโ : Type u_7} [AddCommMonoid Mโ] [Module R Mโ] (f : Mโ โโ[R] Mโ) (g : Mโ โโ[R] Mโ) : (LinearMap.toMatrix (vโ.map g) vโ) f = (LinearMap.toMatrix vโ vโ) (f โโ โg) - LinearMap.toMatrix_map_right ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [Finite m] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) {Mโ : Type u_7} [AddCommMonoid Mโ] [Module R Mโ] (f : Mโ โโ[R] Mโ) (g : Mโ โโ[R] Mโ) : (LinearMap.toMatrix vโ (vโ.map g)) f = (LinearMap.toMatrix vโ vโ) (โg.symm โโ f) - LinearMap.toMatrix_smulBasis_left ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [Finite m] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) {G : Type u_7} [Group G] [DistribMulAction G Mโ] [SMulCommClass G R Mโ] (g : G) (f : Mโ โโ[R] Mโ) : (LinearMap.toMatrix (g โข vโ) vโ) f = (LinearMap.toMatrix vโ vโ) (f โโ DistribSMul.toLinearMap R Mโ g) - LinearMap.toMatrix_smulBasis_right ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [Finite m] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) {G : Type u_7} [Group G] [DistribMulAction G Mโ] [SMulCommClass G R Mโ] (g : G) (f : Mโ โโ[R] Mโ) : (LinearMap.toMatrix vโ (g โข vโ)) f = (LinearMap.toMatrix vโ vโ) (DistribSMul.toLinearMap R Mโ gโปยน โโ f) - Algebra.toMatrix_lmul' ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} {S : Type u_2} [CommSemiring R] [Semiring S] [Algebra R S] {m : Type u_3} [Fintype m] [DecidableEq m] (b : Module.Basis m R S) (x : S) (i j : m) : (LinearMap.toMatrix b b) ((Algebra.lmul R S) x) i j = (b.repr (x * b j)) i - Module.Basis.end_repr_apply ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} {M : Type u_2} {ฮน : Type u_5} [CommSemiring R] [AddCommMonoid M] [Module R M] [Fintype ฮน] [DecidableEq ฮน] (b : Module.Basis ฮน R M) (x : M โโ[R] M) : b.end.repr x = (Matrix.stdBasis R ฮน ฮน).repr ((LinearMap.toMatrix b b) x) - Module.Basis.linearMap_repr_apply ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} {Mโ : Type u_3} {Mโ : Type u_4} {ฮนโ : Type u_6} {ฮนโ : Type u_7} [CommSemiring R] [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] [Fintype ฮนโ] [Fintype ฮนโ] [DecidableEq ฮนโ] (bโ : Module.Basis ฮนโ R Mโ) (bโ : Module.Basis ฮนโ R Mโ) (x : Mโ โโ[R] Mโ) : (bโ.linearMap bโ).repr x = (Matrix.stdBasis R ฮนโ ฮนโ).repr ((LinearMap.toMatrix bโ bโ) x) - LinearMap.restrictScalars_toMatrix ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} [Fintype m] [DecidableEq m] {A : Type u_4} {M : Type u_5} {n : Type u_6} [Fintype n] [DecidableEq n] [CommSemiring A] [AddCommMonoid M] [Module R M] [Module A M] [Algebra R A] [IsScalarTower R A M] (bA : Module.Basis m R A) (bM : Module.Basis n A M) (f : M โโ[A] M) : (LinearMap.toMatrix (bA.smulTower' bM) (bA.smulTower' bM)) (โR f) = (Matrix.comp n n m m R) (((LinearMap.toMatrix bM bM) f).map โ(Algebra.leftMulMatrix bA)) - LinearMap.toMatrix_mul ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {n : Type u_4} [Fintype n] [DecidableEq n] {Mโ : Type u_5} [AddCommMonoid Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (f g : Mโ โโ[R] Mโ) : (LinearMap.toMatrix vโ vโ) (f * g) = (LinearMap.toMatrix vโ vโ) f * (LinearMap.toMatrix vโ vโ) g - LinearMap.toMatrix_comp ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {l : Type u_2} {m : Type u_3} {n : Type u_4} [Fintype n] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) [Fintype m] {Mโ : Type u_7} [AddCommMonoid Mโ] [Module R Mโ] (vโ : Module.Basis l R Mโ) [Finite l] [DecidableEq m] (f : Mโ โโ[R] Mโ) (g : Mโ โโ[R] Mโ) : (LinearMap.toMatrix vโ vโ) (f โโ g) = (LinearMap.toMatrix vโ vโ) f * (LinearMap.toMatrix vโ vโ) g - LinearMap.toMatrix_reindexRange ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [Finite m] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) [DecidableEq Mโ] (f : Mโ โโ[R] Mโ) (k : m) (i : n) : (LinearMap.toMatrix vโ.reindexRange vโ.reindexRange) f โจvโ k, โฏโฉ โจvโ i, โฏโฉ = (LinearMap.toMatrix vโ vโ) f k i - LinearMap.toMatrix_prodMap ๐ Mathlib.LinearAlgebra.Matrix.ToLin
{R : Type u_1} [CommSemiring R] {m : Type u_3} {n : Type u_4} [Fintype n] [DecidableEq n] {Mโ : Type u_5} {Mโ : Type u_6} [AddCommMonoid Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Module R Mโ] (vโ : Module.Basis n R Mโ) (vโ : Module.Basis m R Mโ) [Fintype m] [DecidableEq m] [DecidableEq (n โ m)] (ฯโ : Module.End R Mโ) (ฯโ : Module.End R Mโ) : (LinearMap.toMatrix (vโ.prod vโ) (vโ.prod vโ)) (LinearMap.prodMap ฯโ ฯโ) = Matrix.fromBlocks ((LinearMap.toMatrix vโ vโ) ฯโ) 0 0 ((LinearMap.toMatrix vโ vโ) ฯโ) - Module.Basis.SmithNormalForm.toMatrix_restrict_eq_toMatrix ๐ Mathlib.LinearAlgebra.FreeModule.PID
{ฮน : Type u_1} {R : Type u_2} [CommRing R] {M : Type u_3} [AddCommGroup M] [Module R M] {n : โ} {N : Submodule R M} (snf : Module.Basis.SmithNormalForm N ฮน n) [Fintype ฮน] [DecidableEq ฮน] (f : M โโ[R] M) (hf : โ (x : M), f x โ N) (hf' : โ x โ N, f x โ N := โฏ) {i : Fin n} : (LinearMap.toMatrix snf.bN snf.bN) (f.restrict hf') i i = (LinearMap.toMatrix snf.bM snf.bM) f (snf.f i) (snf.f i) - toMatrix_dualTensorHom ๐ Mathlib.LinearAlgebra.Contraction
{R : Type u_2} {M : Type u_3} {N : Type u_4} [CommSemiring R] [AddCommMonoid M] [AddCommMonoid N] [Module R M] [Module R N] {m : Type u_7} {n : Type u_8} [Fintype m] [Finite n] [DecidableEq m] [DecidableEq n] (bM : Module.Basis m R M) (bN : Module.Basis n R N) (j : m) (i : n) : (LinearMap.toMatrix bM bN) ((dualTensorHom R M N) (bM.coord j โโ[R] bN i)) = Matrix.single i j 1 - LinearMap.isNilpotent_toMatrix_iff ๐ Mathlib.RingTheory.Nilpotent.Lemmas
{R : Type u_1} [CommSemiring R] {ฮน : Type u_3} {M : Type u_4} [Fintype ฮน] [DecidableEq ฮน] [AddCommMonoid M] [Module R M] (b : Module.Basis ฮน R M) (f : M โโ[R] M) : IsNilpotent ((LinearMap.toMatrix b b) f) โ IsNilpotent f - LinearMap.toMatrix_id_eq_basis_toMatrix ๐ Mathlib.LinearAlgebra.Matrix.Basis
{ฮน : Type u_1} {ฮน' : Type u_2} {R : Type u_5} {M : Type u_6} [CommSemiring R] [AddCommMonoid M] [Module R M] (b : Module.Basis ฮน R M) (b' : Module.Basis ฮน' R M) [Fintype ฮน] [DecidableEq ฮน] [Finite ฮน'] : (LinearMap.toMatrix b b') LinearMap.id = b'.toMatrix โb - LinearMap.toMatrix_eq_basisToMatrix ๐ Mathlib.LinearAlgebra.Matrix.Basis
{ฮน : Type u_1} {ฮบ : Type u_3} {R : Type u_5} {M : Type u_6} [CommSemiring R] [AddCommMonoid M] [Module R M] {N : Type u_9} [AddCommMonoid N] [Module R N] (b : Module.Basis ฮน R M) (c : Module.Basis ฮบ R N) (f : M โโ[R] N) [Fintype ฮน] [DecidableEq ฮน] [Finite ฮบ] : (LinearMap.toMatrix b c) f = c.toMatrix (โf โ โb) - Module.Basis.toMatrix_eq_toMatrix_constr ๐ Mathlib.LinearAlgebra.Matrix.Basis
{ฮน : Type u_1} {R : Type u_5} {M : Type u_6} [CommSemiring R] [AddCommMonoid M] [Module R M] (e : Module.Basis ฮน R M) [Fintype ฮน] [DecidableEq ฮน] (v : ฮน โ M) : e.toMatrix v = (LinearMap.toMatrix e e) ((e.constr โ) v) - basis_toMatrix_mul ๐ Mathlib.LinearAlgebra.Matrix.Basis
{ฮน : Type u_1} {ฮน' : Type u_2} {ฮบ : Type u_3} {R : Type u_5} {M : Type u_6} [CommSemiring R] [AddCommMonoid M] [Module R M] {N : Type u_9} [AddCommMonoid N] [Module R N] [Fintype ฮน'] [Fintype ฮบ] [Finite ฮน] [DecidableEq ฮบ] (bโ : Module.Basis ฮน R M) (bโ : Module.Basis ฮน' R M) (bโ : Module.Basis ฮบ R N) (A : Matrix ฮน' ฮบ R) : bโ.toMatrix โbโ * A = (LinearMap.toMatrix bโ bโ) ((Matrix.toLin bโ bโ) A) - mul_basis_toMatrix ๐ Mathlib.LinearAlgebra.Matrix.Basis
{ฮน : Type u_1} {ฮน' : Type u_2} {ฮบ : Type u_3} {R : Type u_5} {M : Type u_6} [CommSemiring R] [AddCommMonoid M] [Module R M] {N : Type u_9} [AddCommMonoid N] [Module R N] [Fintype ฮน'] [Finite ฮบ] [Fintype ฮน] [DecidableEq ฮน] [DecidableEq ฮน'] (bโ : Module.Basis ฮน R M) (bโ : Module.Basis ฮน' R M) (bโ : Module.Basis ฮบ R N) (A : Matrix ฮบ ฮน R) : A * bโ.toMatrix โbโ = (LinearMap.toMatrix bโ bโ) ((Matrix.toLin bโ bโ) A) - basis_toMatrix_mul_linearMap_toMatrix ๐ Mathlib.LinearAlgebra.Matrix.Basis
{ฮน' : Type u_2} {ฮบ : Type u_3} {ฮบ' : Type u_4} {R : Type u_5} {M : Type u_6} [CommSemiring R] [AddCommMonoid M] [Module R M] {N : Type u_9} [AddCommMonoid N] [Module R N] (b' : Module.Basis ฮน' R M) (c : Module.Basis ฮบ R N) (c' : Module.Basis ฮบ' R N) (f : M โโ[R] N) [Fintype ฮน'] [Finite ฮบ] [Fintype ฮบ'] [DecidableEq ฮน'] : c.toMatrix โc' * (LinearMap.toMatrix b' c') f = (LinearMap.toMatrix b' c) f - linearMap_toMatrix_mul_basis_toMatrix ๐ Mathlib.LinearAlgebra.Matrix.Basis
{ฮน : Type u_1} {ฮน' : Type u_2} {ฮบ' : Type u_4} {R : Type u_5} {M : Type u_6} [CommSemiring R] [AddCommMonoid M] [Module R M] {N : Type u_9} [AddCommMonoid N] [Module R N] (b : Module.Basis ฮน R M) (b' : Module.Basis ฮน' R M) (c' : Module.Basis ฮบ' R N) (f : M โโ[R] N) [Fintype ฮน'] [Fintype ฮน] [Finite ฮบ'] [DecidableEq ฮน] [DecidableEq ฮน'] : (LinearMap.toMatrix b' c') f * b'.toMatrix โb = (LinearMap.toMatrix b c') f - basis_toMatrix_mul_linearMap_toMatrix_mul_basis_toMatrix ๐ Mathlib.LinearAlgebra.Matrix.Basis
{ฮน : Type u_1} {ฮน' : Type u_2} {ฮบ : Type u_3} {ฮบ' : Type u_4} {R : Type u_5} {M : Type u_6} [CommSemiring R] [AddCommMonoid M] [Module R M] {N : Type u_9} [AddCommMonoid N] [Module R N] (b : Module.Basis ฮน R M) (b' : Module.Basis ฮน' R M) (c : Module.Basis ฮบ R N) (c' : Module.Basis ฮบ' R N) (f : M โโ[R] N) [Fintype ฮน'] [Finite ฮบ] [Fintype ฮน] [Fintype ฮบ'] [DecidableEq ฮน] [DecidableEq ฮน'] : c.toMatrix โc' * (LinearMap.toMatrix b' c') f * b'.toMatrix โb = (LinearMap.toMatrix b c) f - LinearMap.toMatrixโ_complโ ๐ Mathlib.LinearAlgebra.Matrix.SesquilinearForm
{R : Type u_1} {Mโ : Type u_6} {Mโ : Type u_7} {Mโ' : Type u_9} {n : Type u_11} {m : Type u_12} {m' : Type u_14} [CommSemiring R] [AddCommMonoid Mโ] [Module R Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Fintype n] [Fintype m] [DecidableEq m] [DecidableEq n] (bโ : Module.Basis n R Mโ) (bโ : Module.Basis m R Mโ) [AddCommMonoid Mโ'] [Module R Mโ'] (bโ' : Module.Basis m' R Mโ') [Fintype m'] [DecidableEq m'] (B : Mโ โโ[R] Mโ โโ[R] R) (f : Mโ' โโ[R] Mโ) : (LinearMap.toMatrixโ bโ bโ') (B.complโ f) = (LinearMap.toMatrixโ bโ bโ) B * (LinearMap.toMatrix bโ' bโ) f - LinearMap.toMatrixโ_comp ๐ Mathlib.LinearAlgebra.Matrix.SesquilinearForm
{R : Type u_1} {Mโ : Type u_6} {Mโ : Type u_7} {Mโ' : Type u_8} {n : Type u_11} {m : Type u_12} {n' : Type u_13} [CommSemiring R] [AddCommMonoid Mโ] [Module R Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Fintype n] [Fintype m] [DecidableEq m] [DecidableEq n] (bโ : Module.Basis n R Mโ) (bโ : Module.Basis m R Mโ) [AddCommMonoid Mโ'] [Module R Mโ'] (bโ' : Module.Basis n' R Mโ') [Fintype n'] [DecidableEq n'] (B : Mโ โโ[R] Mโ โโ[R] R) (f : Mโ' โโ[R] Mโ) : (LinearMap.toMatrixโ bโ' bโ) (B โโ f) = ((LinearMap.toMatrix bโ' bโ) f).transpose * (LinearMap.toMatrixโ bโ bโ) B - LinearMap.toMatrixโ_complโโ ๐ Mathlib.LinearAlgebra.Matrix.SesquilinearForm
{R : Type u_1} {Mโ : Type u_6} {Mโ : Type u_7} {Mโ' : Type u_8} {Mโ' : Type u_9} {n : Type u_11} {m : Type u_12} {n' : Type u_13} {m' : Type u_14} [CommSemiring R] [AddCommMonoid Mโ] [Module R Mโ] [AddCommMonoid Mโ] [Module R Mโ] [Fintype n] [Fintype m] [DecidableEq m] [DecidableEq n] (bโ : Module.Basis n R Mโ) (bโ : Module.Basis m R Mโ) [AddCommMonoid Mโ'] [Module R Mโ'] [AddCommMonoid Mโ'] [Module R Mโ'] (bโ' : Module.Basis n' R Mโ') (bโ' : Module.Basis m' R Mโ') [Fintype n'] [Fintype m'] [DecidableEq n'] [DecidableEq m'] (B : Mโ โโ[R] Mโ โโ[R] R) (l : Mโ' โโ[R] Mโ) (r : Mโ' โโ[R] Mโ) : (LinearMap.toMatrixโ bโ' bโ') (B.complโโ l r) = ((LinearMap.toMatrix bโ' bโ) l).transpose * (LinearMap.toMatrixโ bโ bโ) B * (LinearMap.toMatrix bโ' bโ) r - QuadraticForm.discr_comp ๐ Mathlib.LinearAlgebra.QuadraticForm.Basic
{R : Type u_3} {N : Type u_5} {P : Type u_6} {n : Type w} [Fintype n] [DecidableEq n] [CommRing R] [Invertible 2] [AddCommGroup N] [Module R N] {b : Module.Basis n R N} [AddCommGroup P] [Module R P] (b' : Module.Basis n R P) (Q : QuadraticForm R P) (f : N โโ[R] P) : QuadraticForm.discr b (QuadraticMap.comp Q f) = ((LinearMap.toMatrix b b') f).det * ((LinearMap.toMatrix b b') f).det * QuadraticForm.discr b' Q - QuadraticForm.toMatrix_comp ๐ Mathlib.LinearAlgebra.QuadraticForm.Basic
{R : Type u_3} {N : Type u_5} {P : Type u_6} {n : Type w} [Fintype n] [DecidableEq n] [CommRing R] [Invertible 2] [AddCommGroup N] [Module R N] (b : Module.Basis n R N) {m : Type w} [DecidableEq m] [Fintype m] [AddCommGroup P] [Module R P] (b' : Module.Basis m R P) (Q : QuadraticForm R P) (f : N โโ[R] P) : QuadraticForm.toMatrix b (QuadraticMap.comp Q f) = ((LinearMap.toMatrix b b') f).transpose * QuadraticForm.toMatrix b' Q * (LinearMap.toMatrix b b') f - LinearMap.toMatrix_baseChange ๐ Mathlib.RingTheory.TensorProduct.Free
{R : Type u_1} {Mโ : Type u_2} {Mโ : Type u_3} {ฮน : Type u_4} {ฮนโ : Type u_5} (A : Type u_6) [Fintype ฮน] [Finite ฮนโ] [DecidableEq ฮน] [CommSemiring R] [CommSemiring A] [Algebra R A] [AddCommMonoid Mโ] [Module R Mโ] [AddCommMonoid Mโ] [Module R Mโ] (f : Mโ โโ[R] Mโ) (bโ : Module.Basis ฮน R Mโ) (bโ : Module.Basis ฮนโ R Mโ) : (LinearMap.toMatrix (Algebra.TensorProduct.basis A bโ) (Algebra.TensorProduct.basis A bโ)) (LinearMap.baseChange A f) = ((LinearMap.toMatrix bโ bโ) f).map โ(algebraMap R A) - 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 - LinearMap.diag_toMatrix_directSum_collectedBasis_eq_zero_of_mapsTo_ne ๐ Mathlib.Algebra.DirectSum.LinearMap
{ฮน : Type u_1} {R : Type u_2} {M : Type u_3} [CommRing R] [AddCommGroup M] [Module R M] {N : ฮน โ Submodule R M} [DecidableEq ฮน] {ฮบ : ฮน โ Type u_4} [(i : ฮน) โ Fintype (ฮบ i)] [(i : ฮน) โ DecidableEq (ฮบ i)] {s : Finset ฮน} (h : DirectSum.IsInternal fun i => N โi) (b : (i : โฅs) โ Module.Basis (ฮบ โi) R โฅ(N โi)) (ฯ : ฮน โ ฮน) (hฯ : โ (i : ฮน), ฯ i โ i) {f : Module.End R M} (hf : โ (i : ฮน), Set.MapsTo โf โ(N i) โ(N (ฯ i))) (hN : โ i โ s, N i = โฅ) : ((LinearMap.toMatrix (h.collectedBasis b) (h.collectedBasis b)) f).diag = 0 - LinearMap.toMatrix_directSum_collectedBasis_eq_blockDiagonal' ๐ Mathlib.Algebra.DirectSum.LinearMap
{ฮน : Type u_1} [DecidableEq ฮน] {R : Type u_4} {Mโ : Type u_5} {Mโ : Type u_6} [CommSemiring R] [AddCommMonoid Mโ] [Module R Mโ] {Nโ : ฮน โ Submodule R Mโ} (hโ : DirectSum.IsInternal Nโ) [AddCommMonoid Mโ] [Module R Mโ] {Nโ : ฮน โ Submodule R Mโ} (hโ : DirectSum.IsInternal Nโ) {ฮบโ : ฮน โ Type u_7} {ฮบโ : ฮน โ Type u_8} [(i : ฮน) โ Fintype (ฮบโ i)] [โ (i : ฮน), Finite (ฮบโ i)] [(i : ฮน) โ DecidableEq (ฮบโ i)] [Fintype ฮน] (bโ : (i : ฮน) โ Module.Basis (ฮบโ i) R โฅ(Nโ i)) (bโ : (i : ฮน) โ Module.Basis (ฮบโ i) R โฅ(Nโ i)) {f : Mโ โโ[R] Mโ} (hf : โ (i : ฮน), Set.MapsTo โf โ(Nโ i) โ(Nโ i)) : (LinearMap.toMatrix (hโ.collectedBasis bโ) (hโ.collectedBasis bโ)) f = Matrix.blockDiagonal' fun i => (LinearMap.toMatrix (bโ i) (bโ i)) (f.restrict โฏ) - LinearMap.toMatrix_transpose ๐ Mathlib.LinearAlgebra.Matrix.Dual
{K : Type u_1} {Vโ : Type u_2} {Vโ : Type u_3} {ฮนโ : Type u_4} {ฮนโ : Type u_5} [CommSemiring K] [AddCommGroup Vโ] [Module K Vโ] [AddCommGroup Vโ] [Module K Vโ] [Fintype ฮนโ] [Fintype ฮนโ] [DecidableEq ฮนโ] [DecidableEq ฮนโ] {Bโ : Module.Basis ฮนโ K Vโ} {Bโ : Module.Basis ฮนโ K Vโ} (u : Vโ โโ[K] Vโ) : (LinearMap.toMatrix Bโ.dualBasis Bโ.dualBasis) (Module.Dual.transpose u) = ((LinearMap.toMatrix Bโ Bโ) u).transpose - LinearEquiv.ofIsUnitDet ๐ Mathlib.LinearAlgebra.Determinant
{R : Type u_1} [CommRing R] {M : Type u_2} [AddCommGroup M] [Module R M] {M' : Type u_3} [AddCommGroup M'] [Module R M'] {ฮน : Type u_4} [DecidableEq ฮน] [Fintype ฮน] {f : M โโ[R] M'} {v : Module.Basis ฮน R M} {v' : Module.Basis ฮน R M'} (h : IsUnit ((LinearMap.toMatrix v v') f).det) : M โโ[R] M' - LinearEquiv.isUnit_det ๐ Mathlib.LinearAlgebra.Determinant
{R : Type u_1} [CommRing R] {M : Type u_2} [AddCommGroup M] [Module R M] {M' : Type u_3} [AddCommGroup M'] [Module R M'] {ฮน : Type u_4} [DecidableEq ฮน] [Fintype ฮน] (f : M โโ[R] M') (v : Module.Basis ฮน R M) (v' : Module.Basis ฮน R M') : IsUnit ((LinearMap.toMatrix v v') โf).det - LinearEquiv.coe_ofIsUnitDet ๐ Mathlib.LinearAlgebra.Determinant
{R : Type u_1} [CommRing R] {M : Type u_2} [AddCommGroup M] [Module R M] {M' : Type u_3} [AddCommGroup M'] [Module R M'] {ฮน : Type u_4} [DecidableEq ฮน] [Fintype ฮน] {f : M โโ[R] M'} {v : Module.Basis ฮน R M} {v' : Module.Basis ฮน R M'} (h : IsUnit ((LinearMap.toMatrix v v') f).det) : โ(LinearEquiv.ofIsUnitDet h) = f - LinearEquiv.ofIsUnitDet_apply ๐ Mathlib.LinearAlgebra.Determinant
{R : Type u_1} [CommRing R] {M : Type u_2} [AddCommGroup M] [Module R M] {M' : Type u_3} [AddCommGroup M'] [Module R M'] {ฮน : Type u_4} [DecidableEq ฮน] [Fintype ฮน] {f : M โโ[R] M'} {v : Module.Basis ฮน R M} {v' : Module.Basis ฮน R M'} (h : IsUnit ((LinearMap.toMatrix v v') f).det) (a : M) : (LinearEquiv.ofIsUnitDet h) a = f a - LinearMap.det_toMatrix ๐ Mathlib.LinearAlgebra.Determinant
{M : Type u_2} [AddCommGroup M] {ฮน : Type u_4} [DecidableEq ฮน] [Fintype ฮน] {A : Type u_5} [CommRing A] [Module A M] (b : Module.Basis ฮน A M) (f : M โโ[A] M) : ((LinearMap.toMatrix b b) f).det = LinearMap.det f - LinearMap.detAux_def' ๐ Mathlib.LinearAlgebra.Determinant
{M : Type u_2} [AddCommGroup M] {ฮน : Type u_4} [DecidableEq ฮน] [Fintype ฮน] {A : Type u_5} [CommRing A] [Module A M] (b : Module.Basis ฮน A M) (f : M โโ[A] M) : (LinearMap.detAux (Trunc.mk b)) f = ((LinearMap.toMatrix b b) f).det - LinearMap.detAux_def'' ๐ Mathlib.LinearAlgebra.Determinant
{M : Type u_2} [AddCommGroup M] {ฮน : Type u_4} [DecidableEq ฮน] [Fintype ฮน] {A : Type u_5} [CommRing A] [Module A M] {ฮน' : Type u_7} [Fintype ฮน'] [DecidableEq ฮน'] (tb : Trunc (Module.Basis ฮน A M)) (b' : Module.Basis ฮน' A M) (f : M โโ[A] M) : (LinearMap.detAux tb) f = ((LinearMap.toMatrix b' b') f).det - LinearMap.det_toMatrix_eq_det_toMatrix ๐ Mathlib.LinearAlgebra.Determinant
{M : Type u_2} [AddCommGroup M] {ฮน : Type u_4} [DecidableEq ฮน] [Fintype ฮน] {A : Type u_5} [CommRing A] [Module A M] {ฮบ : Type u_6} [Fintype ฮบ] [DecidableEq ฮบ] (b : Module.Basis ฮน A M) (c : Module.Basis ฮบ A M) (f : M โโ[A] M) : ((LinearMap.toMatrix b b) f).det = ((LinearMap.toMatrix c c) f).det - LinearMap.det_eq_det_toMatrix_of_finset ๐ Mathlib.LinearAlgebra.Determinant
{M : Type u_2} [AddCommGroup M] {A : Type u_5} [CommRing A] [Module A M] [DecidableEq M] {s : Finset M} (b : Module.Basis (โฅs) A M) (f : M โโ[A] M) : LinearMap.det f = ((LinearMap.toMatrix b b) f).det - LinearMap.det_cases ๐ Mathlib.LinearAlgebra.Determinant
{M : Type u_2} [AddCommGroup M] {A : Type u_5} [CommRing A] [Module A M] [DecidableEq M] {P : A โ Prop} (f : M โโ[A] M) (hb : โ (s : Finset M) (b : Module.Basis (โฅs) A M), P ((LinearMap.toMatrix b b) f).det) (h1 : P 1) : P (LinearMap.det f) - LinearEquiv.ofIsUnitDet_symm_apply ๐ Mathlib.LinearAlgebra.Determinant
{R : Type u_1} [CommRing R] {M : Type u_2} [AddCommGroup M] [Module R M] {M' : Type u_3} [AddCommGroup M'] [Module R M'] {ฮน : Type u_4} [DecidableEq ฮน] [Fintype ฮน] {f : M โโ[R] M'} {v : Module.Basis ฮน R M} {v' : Module.Basis ฮน R M'} (h : IsUnit ((LinearMap.toMatrix v v') f).det) (a : M') : (LinearEquiv.ofIsUnitDet h).symm a = ((Matrix.toLin v' v) ((LinearMap.toMatrix v v') f)โปยน) a - LinearMap.spectrum_toMatrix ๐ Mathlib.LinearAlgebra.Eigenspace.Matrix
{R : Type u_1} {n : Type u_2} {M : Type u_3} [DecidableEq n] [Fintype n] [CommRing R] [AddCommGroup M] [Module R M] (f : M โโ[R] M) (b : Module.Basis n R M) : spectrum R ((LinearMap.toMatrix b b) f) = spectrum R f - LinearMap.BilinForm.toMatrix_compRight ๐ Mathlib.LinearAlgebra.Matrix.BilinearForm
{Rโ : Type u_1} {Mโ : Type u_2} [CommSemiring Rโ] [AddCommMonoid Mโ] [Module Rโ Mโ] {n : Type u_5} [Fintype n] [DecidableEq n] (b : Module.Basis n Rโ Mโ) (B : LinearMap.BilinForm Rโ Mโ) (f : Mโ โโ[Rโ] Mโ) : (LinearMap.BilinForm.toMatrix b) (B.compRight f) = (LinearMap.BilinForm.toMatrix b) B * (LinearMap.toMatrix b b) f - LinearMap.BilinForm.toMatrix_compLeft ๐ Mathlib.LinearAlgebra.Matrix.BilinearForm
{Rโ : Type u_1} {Mโ : Type u_2} [CommSemiring Rโ] [AddCommMonoid Mโ] [Module Rโ Mโ] {n : Type u_5} [Fintype n] [DecidableEq n] (b : Module.Basis n Rโ Mโ) (B : LinearMap.BilinForm Rโ Mโ) (f : Mโ โโ[Rโ] Mโ) : (LinearMap.BilinForm.toMatrix b) (B.compLeft f) = ((LinearMap.toMatrix b b) f).transpose * (LinearMap.BilinForm.toMatrix b) B - LinearMap.BilinForm.toMatrix_comp ๐ Mathlib.LinearAlgebra.Matrix.BilinearForm
{Rโ : Type u_1} {Mโ : Type u_2} [CommSemiring Rโ] [AddCommMonoid Mโ] [Module Rโ Mโ] {n : Type u_5} {o : Type u_6} [Fintype n] [Fintype o] [DecidableEq n] (b : Module.Basis n Rโ Mโ) {Mโ' : Type u_7} [AddCommMonoid Mโ'] [Module Rโ Mโ'] (c : Module.Basis o Rโ Mโ') [DecidableEq o] (B : LinearMap.BilinForm Rโ Mโ) (l r : Mโ' โโ[Rโ] Mโ) : (LinearMap.BilinForm.toMatrix c) (B.comp l r) = ((LinearMap.toMatrix c b) l).transpose * (LinearMap.BilinForm.toMatrix b) B * (LinearMap.toMatrix c b) r - LinearMap.charpoly_def ๐ Mathlib.LinearAlgebra.Charpoly.Basic
{R : Type u} {M : Type v} [CommRing R] [AddCommGroup M] [Module R M] [Module.Free R M] [Module.Finite R M] (f : M โโ[R] M) : f.charpoly = ((LinearMap.toMatrix (Module.Free.chooseBasis R M) (Module.Free.chooseBasis R M)) f).charpoly - LinearMap.charpoly_toMatrix ๐ Mathlib.LinearAlgebra.Charpoly.ToMatrix
{R : Type u_1} {M : Type u_2} [CommRing R] [AddCommGroup M] [Module R M] [Module.Free R M] [Module.Finite R M] (f : M โโ[R] M) {ฮน : Type w} [DecidableEq ฮน] [Fintype ฮน] (b : Module.Basis ฮน R M) : ((LinearMap.toMatrix b b) f).charpoly = f.charpoly - LinearMap.polyCharpolyAux_map_eq_toMatrix_charpoly ๐ Mathlib.Algebra.Module.LinearMap.Polynomial
{R : Type u_1} {L : Type u_2} {M : Type u_3} {ฮน : Type u_5} {ฮนM : Type u_7} [CommRing R] [AddCommGroup L] [Module R L] [AddCommGroup M] [Module R M] (ฯ : L โโ[R] Module.End R M) [Fintype ฮน] [Fintype ฮนM] [DecidableEq ฮน] [DecidableEq ฮนM] (b : Module.Basis ฮน R L) (bโ : Module.Basis ฮนM R M) (x : L) : Polynomial.map (MvPolynomial.eval โ(b.repr x)) (ฯ.polyCharpolyAux b bโ) = ((LinearMap.toMatrix bโ bโ) (ฯ x)).charpoly - LinearMap.polyCharpolyAux_eval_eq_toMatrix_charpoly_coeff ๐ Mathlib.Algebra.Module.LinearMap.Polynomial
{R : Type u_1} {L : Type u_2} {M : Type u_3} {ฮน : Type u_5} {ฮนM : Type u_7} [CommRing R] [AddCommGroup L] [Module R L] [AddCommGroup M] [Module R M] (ฯ : L โโ[R] Module.End R M) [Fintype ฮน] [Fintype ฮนM] [DecidableEq ฮน] [DecidableEq ฮนM] (b : Module.Basis ฮน R L) (bโ : Module.Basis ฮนM R M) (x : L) (i : โ) : (MvPolynomial.eval โ(b.repr x)) ((ฯ.polyCharpolyAux b bโ).coeff i) = ((LinearMap.toMatrix bโ bโ) (ฯ x)).charpoly.coeff i - Complex.toMatrix_conjAe ๐ Mathlib.LinearAlgebra.Complex.Module
: (LinearMap.toMatrix Complex.basisOneI Complex.basisOneI) โโComplex.conjAe = !![1, 0; 0, -1] - LinearIsometryEquiv.toMatrix_mem_unitaryGroup ๐ Mathlib.Analysis.InnerProductSpace.PiL2
{ฮน : Type u_1} {๐ : Type u_3} [RCLike ๐] {E : Type u_4} [NormedAddCommGroup E] [InnerProductSpace ๐ E] [Fintype ฮน] [DecidableEq ฮน] {G : Type u_7} [NormedAddCommGroup G] [InnerProductSpace ๐ G] (f : E โโแตข[๐] G) (b : OrthonormalBasis ฮน ๐ E) (b' : OrthonormalBasis ฮน ๐ G) : (LinearMap.toMatrix b.toBasis b'.toBasis) โf.toLinearEquiv โ Matrix.unitaryGroup ฮน ๐ - LinearMap.toMatrix_innerโโ_apply ๐ Mathlib.Analysis.InnerProductSpace.PiL2
{๐ : Type u_3} [RCLike ๐] {E : Type u_4} [NormedAddCommGroup E] [InnerProductSpace ๐ E] {m : Type u_7} {n : Type u_8} [Fintype n] [DecidableEq n] [Fintype m] (b : OrthonormalBasis n ๐ E) (bโ : OrthonormalBasis m ๐ ๐) (x : E) : (LinearMap.toMatrix b.toBasis bโ.toBasis) ((innerโโ ๐) x) = Matrix.vecMulVec (star โbโ) (star (b.repr x).ofLp) - InnerProductSpace.toMatrix_rankOne ๐ Mathlib.Analysis.InnerProductSpace.PiL2
{๐ : Type u_7} {E : Type u_8} {F : Type u_9} {ฮน : Type u_10} {ฮน' : Type u_11} [RCLike ๐] [SeminormedAddCommGroup E] [NormedSpace ๐ E] [NormedAddCommGroup F] [InnerProductSpace ๐ F] [Finite ฮน] [Fintype ฮน'] [DecidableEq ฮน'] (x : E) (y : F) (b : Module.Basis ฮน ๐ E) (b' : OrthonormalBasis ฮน' ๐ F) : (LinearMap.toMatrix b'.toBasis b) โ(((InnerProductSpace.rankOne ๐) x) y) = Matrix.vecMulVec (โ(b.repr x)) (star (b'.repr y).ofLp) - QuadraticAlgebra.det_toMatrix_algHom ๐ Mathlib.Algebra.QuadraticAlgebra.AlgHom
{R : Type u_1} [CommRing R] {a b a' b' : R} (f : QuadraticAlgebra R a b โโ[R] QuadraticAlgebra R a' b') : ((LinearMap.toMatrix (QuadraticAlgebra.basis a b) (QuadraticAlgebra.basis a' b')) f.toLinearMap).det = (f QuadraticAlgebra.omega).im - QuadraticAlgebra.toMatrix_algHom ๐ Mathlib.Algebra.QuadraticAlgebra.AlgHom
{R : Type u_1} [CommRing R] {a b a' b' : R} (f : QuadraticAlgebra R a b โโ[R] QuadraticAlgebra R a' b') : (LinearMap.toMatrix (QuadraticAlgebra.basis a b) (QuadraticAlgebra.basis a' b')) f.toLinearMap = !![1, (f QuadraticAlgebra.omega).re; 0, (f QuadraticAlgebra.omega).im] - LinearMap.minpoly_toMatrix ๐ Mathlib.LinearAlgebra.Matrix.Charpoly.Minpoly
{R : Type u} [CommRing R] {n : Type v} [DecidableEq n] [Fintype n] {N : Type w} [AddCommGroup N] [Module R N] (b : Module.Basis n R N) (f : N โโ[R] N) : minpoly R ((LinearMap.toMatrix b b) f) = minpoly R f - Polynomial.toMatrix_sylvesterMap ๐ Mathlib.RingTheory.Polynomial.Resultant.Basic
{m n : โ} {R : Type u_1} [CommRing R] (f g : Polynomial R) (hf : f.natDegree โค m) (hg : g.natDegree โค n) : (LinearMap.toMatrix ((Polynomial.degreeLT.basis R m).prod (Polynomial.degreeLT.basis R n)) (Polynomial.degreeLT.basis R (m + n))) (f.sylvesterMap g hf hg) = (Matrix.reindex (Equiv.refl (Fin (m + n))) finSumFinEquiv.symm) (f.sylvester g m n) - Polynomial.toMatrix_sylvesterMap' ๐ Mathlib.RingTheory.Polynomial.Resultant.Basic
{m n : โ} {R : Type u_1} [CommRing R] (f g : Polynomial R) (hf : f.natDegree โค m) (hg : g.natDegree โค n) : (LinearMap.toMatrix (((Polynomial.degreeLT.basis R m).prod (Polynomial.degreeLT.basis R n)).reindex finSumFinEquiv) (Polynomial.degreeLT.basis R (m + n))) (f.sylvesterMap g hf hg) = f.sylvester g m n - LinearMap.toMatrixOrthonormal_symm_apply ๐ Mathlib.Analysis.InnerProductSpace.Adjoint
{๐ : Type u_1} {E : Type u_2} [RCLike ๐] [NormedAddCommGroup E] [InnerProductSpace ๐ E] {n : Type u_6} [Fintype n] [DecidableEq n] [FiniteDimensional ๐ E] (vโ : OrthonormalBasis n ๐ E) (aโ : Matrix n n ๐) : (LinearMap.toMatrixOrthonormal vโ).symm aโ = (LinearMap.toMatrix vโ.toBasis vโ.toBasis).invFun aโ - LinearMap.toMatrixOrthonormal_apply ๐ Mathlib.Analysis.InnerProductSpace.Adjoint
{๐ : Type u_1} {E : Type u_2} [RCLike ๐] [NormedAddCommGroup E] [InnerProductSpace ๐ E] {n : Type u_6} [Fintype n] [DecidableEq n] [FiniteDimensional ๐ E] (vโ : OrthonormalBasis n ๐ E) (aโ : E โโ[๐] E) : (LinearMap.toMatrixOrthonormal vโ) aโ = (โ(LinearMap.toMatrix vโ.toBasis vโ.toBasis)).toFun aโ - LinearMap.toMatrix_adjoint ๐ Mathlib.Analysis.InnerProductSpace.Adjoint
{๐ : Type u_1} {E : Type u_2} {F : Type u_3} [RCLike ๐] [NormedAddCommGroup E] [NormedAddCommGroup F] [InnerProductSpace ๐ E] [InnerProductSpace ๐ F] {m : Type u_5} {n : Type u_6} [Fintype m] [DecidableEq m] [Fintype n] [DecidableEq n] [FiniteDimensional ๐ E] [FiniteDimensional ๐ F] (vโ : OrthonormalBasis n ๐ E) (vโ : OrthonormalBasis m ๐ F) (f : E โโ[๐] F) : (LinearMap.toMatrix vโ.toBasis vโ.toBasis) (LinearMap.adjoint f) = ((LinearMap.toMatrix vโ.toBasis vโ.toBasis) f).conjTranspose - toMatrix_rotation ๐ Mathlib.Analysis.Complex.Isometry
(a : Circle) : (LinearMap.toMatrix Complex.basisOneI Complex.basisOneI) โ(rotation a).toLinearEquiv = โ(Matrix.planeConformalMatrix (โa).re (โa).im โฏ) - LinearMap.IsSymmetric.toMatrix_eigenvectorBasis ๐ Mathlib.Analysis.InnerProductSpace.Spectrum
{๐ : Type u_1} [RCLike ๐] {E : Type u_2} [NormedAddCommGroup E] [InnerProductSpace ๐ E] {T : E โโ[๐] E} [FiniteDimensional ๐ E] {n : โ} (hT : T.IsSymmetric) (hn : Module.finrank ๐ E = n) : (LinearMap.toMatrix (hT.eigenvectorBasis hn).toBasis (hT.eigenvectorBasis hn).toBasis) T = Matrix.diagonal (RCLike.ofReal โ hT.eigenvalues hn) - LinearMap.isHermitian_toMatrix_iff ๐ Mathlib.Analysis.Matrix.Hermitian
{n : Type u_1} {๐ : Type u_2} {E : Type u_3} [Fintype n] [DecidableEq n] [RCLike ๐] [NormedAddCommGroup E] [InnerProductSpace ๐ E] {f : E โโ[๐] E} (b : OrthonormalBasis n ๐ E) : ((LinearMap.toMatrix b.toBasis b.toBasis) f).IsHermitian โ f.IsSymmetric - LinearMap.posSemidef_toMatrix_iff ๐ Mathlib.Analysis.InnerProductSpace.Positive
{๐ : Type u_1} {E : Type u_2} [RCLike ๐] [NormedAddCommGroup E] [InnerProductSpace ๐ E] {ฮน : Type u_4} [Fintype ฮน] [DecidableEq ฮน] {A : E โโ[๐] E} (b : OrthonormalBasis ฮน ๐ E) : ((LinearMap.toMatrix b.toBasis b.toBasis) A).PosSemidef โ A.IsPositive - LinearMap.normDet_eq_norm_det_toMatrix ๐ Mathlib.Analysis.InnerProductSpace.NormDet
{๐ : Type u_1} {U : Type u_2} {V : Type u_3} [RCLike ๐] [NormedAddCommGroup U] [InnerProductSpace ๐ U] [FiniteDimensional ๐ U] [NormedAddCommGroup V] [InnerProductSpace ๐ V] {ฮน : Type u_5} [Fintype ฮน] [DecidableEq ฮน] (f : U โโ[๐] V) (bu : OrthonormalBasis ฮน ๐ U) (bv : OrthonormalBasis ฮน ๐ V) : f.normDet = โ((LinearMap.toMatrix bu.toBasis bv.toBasis) f).detโ - LinearMap.normDet_eq_norm_det_toMatrix_rangeRestrict ๐ Mathlib.Analysis.InnerProductSpace.NormDet
{๐ : Type u_1} {U : Type u_2} {V : Type u_3} [RCLike ๐] [NormedAddCommGroup U] [InnerProductSpace ๐ U] [FiniteDimensional ๐ U] [NormedAddCommGroup V] [InnerProductSpace ๐ V] {ฮน : Type u_5} [Fintype ฮน] [DecidableEq ฮน] (f : U โโ[๐] V) (bu : OrthonormalBasis ฮน ๐ U) (bv : OrthonormalBasis ฮน ๐ โฅf.range) : f.normDet = โ((LinearMap.toMatrix bu.toBasis bv.toBasis) f.rangeRestrict).detโ - IsBaseChange.endHom_toMatrix ๐ Mathlib.RingTheory.TensorProduct.IsBaseChangeHom
{R : Type u_1} [CommSemiring R] (S : Type u_2) [CommSemiring S] [Algebra R S] (M : Type u_3) [AddCommMonoid M] [Module R M] {P : Type u_5} [AddCommMonoid P] [Module R P] [Module S P] [IsScalarTower R S P] {ฮฑ : M โโ[R] P} (ibcM : IsBaseChange S ฮฑ) {ฮน : Type u_7} [DecidableEq ฮน] [Fintype ฮน] (b : Module.Basis ฮน R M) (f : M โโ[R] M) : (LinearMap.toMatrix (IsBaseChange.basis b ibcM) (IsBaseChange.basis b ibcM)) (ibcM.endHom f) = ((LinearMap.toMatrix b b) f).map โ(algebraMap R S) - IsBaseChange.linearMapLeftRightHom_toMatrix ๐ Mathlib.RingTheory.TensorProduct.IsBaseChangeHom
{R : Type u_1} [CommSemiring R] (S : Type u_2) [CommSemiring S] [Algebra R S] (M : Type u_3) [AddCommMonoid M] [Module R M] {N : Type u_4} [AddCommMonoid N] [Module R N] {P : Type u_5} [AddCommMonoid P] [Module R P] {Q : Type u_6} [AddCommMonoid Q] [Module R Q] [Module S P] [IsScalarTower R S P] [Module S Q] [IsScalarTower R S Q] {ฮฑ : M โโ[R] P} {ฮฒ : N โโ[R] Q} (ibcM : IsBaseChange S ฮฑ) (ibcN : IsBaseChange S ฮฒ) {ฮน : Type u_7} {ฮธ : Type u_8} [DecidableEq ฮน] [Fintype ฮน] [Finite ฮธ] (b : Module.Basis ฮน R M) (c : Module.Basis ฮธ R N) (f : M โโ[R] N) : (LinearMap.toMatrix (IsBaseChange.basis b ibcM) (IsBaseChange.basis c ibcN)) ((ibcM.linearMapLeftRightHom ฮฒ) f) = ((LinearMap.toMatrix b c) f).map โ(algebraMap R S) - Matrix.SpecialLinearGroup.toLin_equiv.symm_toLinearMap_eq ๐ Mathlib.LinearAlgebra.SpecialLinearGroup
{R : Type u_1} {V : Type u_2} [CommRing R] [AddCommGroup V] [Module R V] {n : Type u_3} [Fintype n] [DecidableEq n] (b : Module.Basis n R V) (g : SpecialLinearGroup R V) : โ((Matrix.SpecialLinearGroup.toLin_equiv b).symm g) = (LinearMap.toMatrix b b) โโg - TensorProduct.toMatrix_comm ๐ Mathlib.LinearAlgebra.TensorProduct.Matrix
{R : Type u_1} {M : Type u_2} {N : Type u_3} {ฮน : Type u_7} {ฮบ : Type u_8} [DecidableEq ฮน] [DecidableEq ฮบ] [Fintype ฮน] [Fintype ฮบ] [CommRing R] [AddCommGroup M] [AddCommGroup N] [Module R M] [Module R N] (bM : Module.Basis ฮน R M) (bN : Module.Basis ฮบ R N) : (LinearMap.toMatrix (bM.tensorProduct bN) (bN.tensorProduct bM)) โ(TensorProduct.comm R M N) = Matrix.submatrix 1 Prod.swap id - TensorProduct.toMatrix_map ๐ Mathlib.LinearAlgebra.TensorProduct.Matrix
{R : Type u_1} {M : Type u_2} {N : Type u_3} {M' : Type u_5} {N' : Type u_6} {ฮน : Type u_7} {ฮบ : Type u_8} {ฮน' : Type u_10} {ฮบ' : Type u_11} [DecidableEq ฮน] [DecidableEq ฮบ] [Fintype ฮน] [Fintype ฮบ] [Finite ฮน'] [Finite ฮบ'] [CommRing R] [AddCommGroup M] [AddCommGroup N] [AddCommGroup M'] [AddCommGroup N'] [Module R M] [Module R N] [Module R M'] [Module R N'] (bM : Module.Basis ฮน R M) (bN : Module.Basis ฮบ R N) (bM' : Module.Basis ฮน' R M') (bN' : Module.Basis ฮบ' R N') (f : M โโ[R] M') (g : N โโ[R] N') : (LinearMap.toMatrix (bM.tensorProduct bN) (bM'.tensorProduct bN')) (TensorProduct.map f g) = Matrix.kroneckerMap (fun x1 x2 => x1 * x2) ((LinearMap.toMatrix bM bM') f) ((LinearMap.toMatrix bN bN') g) - TensorProduct.toMatrix_assoc ๐ Mathlib.LinearAlgebra.TensorProduct.Matrix
{R : Type u_1} {M : Type u_2} {N : Type u_3} {P : Type u_4} {ฮน : Type u_7} {ฮบ : Type u_8} {ฯ : Type u_9} [DecidableEq ฮน] [DecidableEq ฮบ] [DecidableEq ฯ] [Fintype ฮน] [Fintype ฮบ] [Fintype ฯ] [CommRing R] [AddCommGroup M] [AddCommGroup N] [AddCommGroup P] [Module R M] [Module R N] [Module R P] (bM : Module.Basis ฮน R M) (bN : Module.Basis ฮบ R N) (bP : Module.Basis ฯ R P) : (LinearMap.toMatrix ((bM.tensorProduct bN).tensorProduct bP) (bM.tensorProduct (bN.tensorProduct bP))) โ(TensorProduct.assoc R M N P) = Matrix.submatrix 1 id โ(Equiv.prodAssoc ฮน ฮบ ฯ)
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 ce5dd8c