path
stringlengths
11
71
content
stringlengths
75
124k
LinearAlgebra\CliffordAlgebra\Fold.lean
/- Copyright (c) 2022 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.LinearAlgebra.CliffordAlgebra.Conjugation /-! # Recursive computation rules for the Clifford algebra This file provides API for a special case `CliffordAlg...
LinearAlgebra\CliffordAlgebra\Grading.lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.LinearAlgebra.CliffordAlgebra.Basic import Mathlib.Data.ZMod.Basic import Mathlib.RingTheory.GradedAlgebra.Basic /-! # Results about the grading structure o...
LinearAlgebra\CliffordAlgebra\Inversion.lean
/- Copyright (c) 2022 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.LinearAlgebra.CliffordAlgebra.Contraction /-! # Results about inverses in Clifford algebras This contains some basic results about the inversion of vectors...
LinearAlgebra\CliffordAlgebra\Prod.lean
/- Copyright (c) 2023 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.LinearAlgebra.CliffordAlgebra.Grading import Mathlib.LinearAlgebra.TensorProduct.Graded.Internal import Mathlib.LinearAlgebra.QuadraticForm.Prod /-! # Cliff...
LinearAlgebra\CliffordAlgebra\Star.lean
/- Copyright (c) 2022 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.LinearAlgebra.CliffordAlgebra.Conjugation /-! # Star structure on `CliffordAlgebra` This file defines the "clifford conjugation", equal to `reverse (involu...
LinearAlgebra\Dimension\Basic.lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl, Sander Dahmen, Scott Morrison -/ import Mathlib.LinearAlgebra.LinearIndependent /-! # Dimension of modules and vector spaces ## Main definitions * Th...
LinearAlgebra\Dimension\Constructions.lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl, Sander Dahmen, Scott Morrison, Chris Hughes, Anne Baanen -/ import Mathlib.LinearAlgebra.Dimension.Free import Mathlib.Algebra.Module.Torsion /-! # Ran...
LinearAlgebra\Dimension\DivisionRing.lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl, Sander Dahmen, Scott Morrison, Chris Hughes, Anne Baanen, Junyan Xu -/ import Mathlib.LinearAlgebra.Basis.VectorSpace import Mathlib.LinearAlgebra.Dimen...
LinearAlgebra\Dimension\Finite.lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl, Sander Dahmen, Scott Morrison -/ import Mathlib.Algebra.Module.Torsion import Mathlib.SetTheory.Cardinal.Cofinality import Mathlib.LinearAlgebra.FreeMod...
LinearAlgebra\Dimension\Finrank.lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Anne Baanen -/ import Mathlib.LinearAlgebra.Dimension.Basic import Mathlib.SetTheory.Cardinal.ToNat /-! # Finite dimension of vector spaces Definition of the rank of a mo...
LinearAlgebra\Dimension\Free.lean
/- Copyright (c) 2021 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import Mathlib.LinearAlgebra.Dimension.StrongRankCondition import Mathlib.LinearAlgebra.FreeModule.Basic import Mathlib.LinearAlgebra.FreeModule.Finite.Basic /-! #...
LinearAlgebra\Dimension\FreeAndStrongRankCondition.lean
/- Copyright (c) 2024 Jz Pan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jz Pan -/ import Mathlib.LinearAlgebra.Dimension.Finite import Mathlib.LinearAlgebra.Dimension.Constructions /-! # Some results on free modules over rings satisfying strong rank condition T...
LinearAlgebra\Dimension\LinearMap.lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import Mathlib.LinearAlgebra.Dimension.DivisionRing import Mathlib.LinearAlgebra.Dimension.FreeAndStrongRankCondition /-! # The rank of a linear map ## Main Definit...
LinearAlgebra\Dimension\Localization.lean
/- Copyright (c) 2024 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import Mathlib.Algebra.Module.Submodule.Localization import Mathlib.LinearAlgebra.Dimension.DivisionRing import Mathlib.RingTheory.Localization.FractionRing import Mathlib....
LinearAlgebra\Dimension\RankNullity.lean
/- Copyright (c) 2024 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import Mathlib.LinearAlgebra.Dimension.Constructions import Mathlib.LinearAlgebra.Dimension.Finite /-! # The rank nullity theorem In this file we provide the rank nullit...
LinearAlgebra\Dimension\StrongRankCondition.lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import Mathlib.LinearAlgebra.Dimension.Finrank import Mathlib.LinearAlgebra.InvariantBasisNumber /-! # Lemmas about rank and finrank in rings satisfying strong rank ...
LinearAlgebra\DirectSum\Finsupp.lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Antoine Chambert-Loir -/ import Mathlib.Algebra.DirectSum.Finsupp import Mathlib.LinearAlgebra.Finsupp import Mathlib.LinearAlgebra.DirectSum.TensorProduct /-! # Resul...
LinearAlgebra\DirectSum\TensorProduct.lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Eric Wieser -/ import Mathlib.LinearAlgebra.TensorProduct.Tower import Mathlib.Algebra.DirectSum.Module /-! # Tensor products of direct sums This file shows that...
LinearAlgebra\Eigenspace\Basic.lean
/- Copyright (c) 2020 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp -/ import Mathlib.Algebra.Algebra.Spectrum import Mathlib.Algebra.Module.LinearMap.Basic import Mathlib.LinearAlgebra.GeneralLinearGroup import Mathlib.LinearAlg...
LinearAlgebra\Eigenspace\Matrix.lean
/- Copyright (c) 2024 Jon Bannon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jon Bannon, Jireh Loreaux -/ import Mathlib.LinearAlgebra.Eigenspace.Basic /-! # Eigenvalues, Eigenvectors and Spectrum for Matrices This file collects results about eigenvectors, eige...
LinearAlgebra\Eigenspace\Minpoly.lean
/- Copyright (c) 2020 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp -/ import Mathlib.LinearAlgebra.Eigenspace.Basic import Mathlib.FieldTheory.Minpoly.Field /-! # Eigenvalues are the roots of the minimal polynomial. ## Tags e...
LinearAlgebra\Eigenspace\Semisimple.lean
/- Copyright (c) 2024 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import Mathlib.LinearAlgebra.Eigenspace.Basic import Mathlib.LinearAlgebra.Semisimple /-! # Eigenspaces of semisimple linear endomorphisms This file contains basic result...
LinearAlgebra\Eigenspace\Triangularizable.lean
/- Copyright (c) 2020 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp -/ import Mathlib.LinearAlgebra.Eigenspace.Basic import Mathlib.FieldTheory.IsAlgClosed.Spectrum /-! # Triangularizable linear endomorphisms This file contains...
LinearAlgebra\Eigenspace\Zero.lean
/- Copyright (c) 2024 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import Mathlib.LinearAlgebra.Charpoly.ToMatrix import Mathlib.LinearAlgebra.Determinant import Mathlib.LinearAlgebra.Eigenspace.Minpoly import Mathlib.LinearAlgebra.F...
LinearAlgebra\ExteriorAlgebra\Basic.lean
/- Copyright (c) 2020 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhangir Azerbayev, Adam Topaz, Eric Wieser -/ import Mathlib.LinearAlgebra.CliffordAlgebra.Basic import Mathlib.LinearAlgebra.Alternating.Basic /-! # Exterior Algebras We construct the e...
LinearAlgebra\ExteriorAlgebra\Grading.lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.LinearAlgebra.ExteriorAlgebra.Basic import Mathlib.RingTheory.GradedAlgebra.Basic /-! # Results about the grading structure of the exterior algebra Many of...
LinearAlgebra\ExteriorAlgebra\OfAlternating.lean
/- Copyright (c) 2022 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.LinearAlgebra.CliffordAlgebra.Fold import Mathlib.LinearAlgebra.ExteriorAlgebra.Basic /-! # Extending an alternating map to the exterior algebra ## Main de...
LinearAlgebra\FiniteDimensional\Defs.lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import Mathlib.FieldTheory.Finiteness /-! # Finite dimensional vector spaces Definition and basic properties of finite dimensional vector spaces, of their dimensions, a...
LinearAlgebra\FreeModule\Basic.lean
/- Copyright (c) 2021 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import Mathlib.Data.Finsupp.Fintype import Mathlib.LinearAlgebra.TensorProduct.Basis /-! # Free modules We introduce a class `Module.Free R M`, for `R` a `Semirin...
LinearAlgebra\FreeModule\Determinant.lean
/- Copyright (c) 2022 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Alex J. Best -/ import Mathlib.LinearAlgebra.Determinant import Mathlib.LinearAlgebra.FreeModule.Finite.Basic /-! # Determinants in free (finite) modules Quite a lot of our...
LinearAlgebra\FreeModule\IdealQuotient.lean
/- Copyright (c) 2022 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import Mathlib.LinearAlgebra.FreeModule.Finite.Basic import Mathlib.LinearAlgebra.FreeModule.PID import Mathlib.LinearAlgebra.FreeModule.StrongRankCondition import Mathlib....
LinearAlgebra\FreeModule\Norm.lean
/- Copyright (c) 2023 Junyan Xu. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Junyan Xu -/ import Mathlib.LinearAlgebra.FreeModule.IdealQuotient import Mathlib.RingTheory.Norm.Defs import Mathlib.RingTheory.AdjoinRoot /-! # Norms on free modules over principal ideal...
LinearAlgebra\FreeModule\PID.lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import Mathlib.LinearAlgebra.Dimension.StrongRankCondition import Mathlib.LinearAlgebra.FreeModule.Basic /-! # Free modules over PID A free `R`-module `M` is a module wit...
LinearAlgebra\FreeModule\StrongRankCondition.lean
/- Copyright (c) 2021 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import Mathlib.RingTheory.FiniteType import Mathlib.LinearAlgebra.InvariantBasisNumber /-! # Strong rank condition for commutative rings We prove that any nontri...
LinearAlgebra\FreeModule\Finite\Basic.lean
/- Copyright (c) 2021 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import Mathlib.RingTheory.Finiteness import Mathlib.LinearAlgebra.FreeModule.Basic /-! # Finite and free modules We provide some instances for finite and free mod...
LinearAlgebra\FreeModule\Finite\Matrix.lean
/- Copyright (c) 2021 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import Mathlib.LinearAlgebra.Dimension.LinearMap import Mathlib.LinearAlgebra.FreeModule.StrongRankCondition /-! # Finite and free modules using matrices We provi...
LinearAlgebra\FreeProduct\Basic.lean
/- Copyright (c) 2024 Robert Maxton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Maxton -/ import Mathlib.Algebra.DirectSum.Basic import Mathlib.LinearAlgebra.TensorAlgebra.ToTensorPower /-! # The free product of $R$-algebras We define the free product of a...
LinearAlgebra\Matrix\AbsoluteValue.lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import Mathlib.Algebra.Order.BigOperators.Ring.Finset import Mathlib.Data.Int.AbsoluteValue import Mathlib.LinearAlgebra.Matrix.Determinant.Basic /-! # Absolute values and...
LinearAlgebra\Matrix\Adjugate.lean
/- Copyright (c) 2019 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import Mathlib.Algebra.Regular.Basic import Mathlib.LinearAlgebra.Matrix.MvPolynomial import Mathlib.LinearAlgebra.Matrix.Polynomial import Mathlib.RingTheory.Polynomial.Ba...
LinearAlgebra\Matrix\Basis.lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen -/ import Mathlib.LinearAlgebra.Matrix.Reindex import Mathlib.LinearAlgebra.Matrix.ToLin /-! # Bases and matrices This file d...
LinearAlgebra\Matrix\BilinearForm.lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Kexing Ying -/ import Mathlib.LinearAlgebra.Matrix.Basis import Mathlib.LinearAlgebra.Matrix.Nondegenerate import Mathlib.LinearAlgebra.Matrix.NonsingularInverse import Mathl...
LinearAlgebra\Matrix\Block.lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen, Wen Yang -/ import Mathlib.LinearAlgebra.Matrix.Transvection import Mathlib.LinearAlgebra.Matrix.NonsingularInverse import Mat...
LinearAlgebra\Matrix\Circulant.lean
/- Copyright (c) 2021 Lu-Ming Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Lu-Ming Zhang -/ import Mathlib.Algebra.Group.Fin.Basic import Mathlib.LinearAlgebra.Matrix.Symmetric import Mathlib.Tactic.Abel /-! # Circulant matrices This file contains the defini...
LinearAlgebra\Matrix\Diagonal.lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen -/ import Mathlib.LinearAlgebra.Dimension.LinearMap /-! # Diagonal matrices This file contains some results on the linear map...
LinearAlgebra\Matrix\DotProduct.lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen -/ import Mathlib.Algebra.Star.Order import Mathlib.Data.Matrix.Basic import Mathlib.LinearAlgebra.StdBasis /-! # Dot product ...
LinearAlgebra\Matrix\Dual.lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen -/ import Mathlib.LinearAlgebra.Dual import Mathlib.LinearAlgebra.Matrix.ToLin /-! # Dual space, linear maps and matrices. Th...
LinearAlgebra\Matrix\FiniteDimensional.lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen -/ import Mathlib.Data.Matrix.Basic import Mathlib.LinearAlgebra.FiniteDimensional.Defs import Mathlib.LinearAlgebra.FreeModule...
LinearAlgebra\Matrix\Gershgorin.lean
/- Copyright (c) 2023 Xavier Roblot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Xavier Roblot -/ import Mathlib.Analysis.Normed.Field.Basic import Mathlib.LinearAlgebra.Eigenspace.Basic import Mathlib.LinearAlgebra.Determinant /-! # Gershgorin's circle theorem Th...
LinearAlgebra\Matrix\Hermitian.lean
/- Copyright (c) 2022 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp -/ import Mathlib.Analysis.InnerProductSpace.PiL2 import Mathlib.LinearAlgebra.Matrix.ZPow /-! # Hermitian matrices This file defines hermitian matrices and so...
LinearAlgebra\Matrix\HermitianFunctionalCalculus.lean
/- Copyright (c) 2024 Jon Bannon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jon Bannon, Jireh Loreaux -/ import Mathlib.LinearAlgebra.Matrix.Spectrum import Mathlib.LinearAlgebra.Eigenspace.Matrix import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus....
LinearAlgebra\Matrix\InvariantBasisNumber.lean
/- Copyright (c) 2022 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import Mathlib.LinearAlgebra.Matrix.ToLin import Mathlib.LinearAlgebra.InvariantBasisNumber /-! # Invertible matrices over a ring with invariant basis number are squ...
LinearAlgebra\Matrix\IsDiag.lean
/- Copyright (c) 2021 Lu-Ming Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Lu-Ming Zhang -/ import Mathlib.LinearAlgebra.Matrix.Symmetric import Mathlib.LinearAlgebra.Matrix.Orthogonal import Mathlib.Data.Matrix.Kronecker /-! # Diagonal matrices This file co...
LinearAlgebra\Matrix\LDL.lean
/- Copyright (c) 2022 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp -/ import Mathlib.Analysis.InnerProductSpace.GramSchmidtOrtho import Mathlib.LinearAlgebra.Matrix.PosDef /-! # LDL decomposition This file proves the LDL-decom...
LinearAlgebra\Matrix\MvPolynomial.lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.Algebra.MvPolynomial.Basic import Mathlib.Algebra.MvPolynomial.CommRing import Mathlib.LinearAlgebra.Matrix.Determinant.Basic /-! # Matrices of multivariate...
LinearAlgebra\Matrix\Nondegenerate.lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import Mathlib.Data.Matrix.Basic import Mathlib.LinearAlgebra.Matrix.Determinant.Basic import Mathlib.LinearAlgebra.Matrix.Adjugate /-! # Matrices associated with non-dege...
LinearAlgebra\Matrix\NonsingularInverse.lean
/- Copyright (c) 2019 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Lu-Ming Zhang -/ import Mathlib.Data.Matrix.Invertible import Mathlib.LinearAlgebra.Matrix.Adjugate import Mathlib.LinearAlgebra.FiniteDimensional.Defs /-! # Nonsingular inv...
LinearAlgebra\Matrix\Orthogonal.lean
/- Copyright (c) 2021 Lu-Ming Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Lu-Ming Zhang -/ import Mathlib.Data.Matrix.Basic /-! # Orthogonal This file contains definitions and properties concerning orthogonality of rows and columns. ## Main results - `mat...
LinearAlgebra\Matrix\Permutation.lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import Mathlib.Data.Matrix.PEquiv import Mathlib.Data.Set.Card import Mathlib.LinearAlgebra.Matrix.Determinant.Basic import Mathlib.LinearAlgebra.Matrix.Trace /-! # Permu...
LinearAlgebra\Matrix\Polynomial.lean
/- Copyright (c) 2021 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky -/ import Mathlib.Algebra.Polynomial.BigOperators import Mathlib.Algebra.Polynomial.Degree.Lemmas import Mathlib.LinearAlgebra.Matrix.Determinant.Basic import Mathlib....
LinearAlgebra\Matrix\PosDef.lean
/- Copyright (c) 2022 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Mohanad Ahmed -/ import Mathlib.LinearAlgebra.Matrix.Spectrum import Mathlib.LinearAlgebra.QuadraticForm.Basic /-! # Positive Definite Matrices This file defi...
LinearAlgebra\Matrix\ProjectiveSpecialLinearGroup.lean
/- Copyright (c) 2023 Wen Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wen Yang -/ import Mathlib.LinearAlgebra.Matrix.SpecialLinearGroup /-! # Projective Special Linear Group ## Notation In the `MatrixGroups` locale: * `PSL(n, R)` is a shorthand for `Matri...
LinearAlgebra\Matrix\Reindex.lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen -/ import Mathlib.LinearAlgebra.Matrix.Determinant.Basic /-! # Changing the index type of a matrix This file concerns the map...
LinearAlgebra\Matrix\SchurComplement.lean
/- Copyright (c) 2022 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Eric Wieser, Jeremy Avigad, Johan Commelin -/ import Mathlib.Data.Matrix.Invertible import Mathlib.LinearAlgebra.Matrix.NonsingularInverse import Mathlib.Linear...
LinearAlgebra\Matrix\SesquilinearForm.lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Kexing Ying, Moritz Doll -/ import Mathlib.Algebra.GroupWithZero.Action.Opposite import Mathlib.LinearAlgebra.FinsuppVectorSpace import Mathlib.LinearAlgebra.Matrix.Basis imp...
LinearAlgebra\Matrix\SpecialLinearGroup.lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Wen Yang -/ import Mathlib.LinearAlgebra.GeneralLinearGroup import Mathlib.LinearAlgebra.Matrix.Adjugate import Mathlib.LinearAlgebra.Matrix.Transvection import Mathlib.RingT...
LinearAlgebra\Matrix\Spectrum.lean
/- Copyright (c) 2022 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp -/ import Mathlib.Analysis.InnerProductSpace.Spectrum import Mathlib.Data.Matrix.Rank import Mathlib.LinearAlgebra.Matrix.Diagonal import Mathlib.LinearAlgebra.M...
LinearAlgebra\Matrix\Symmetric.lean
/- Copyright (c) 2021 Lu-Ming Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Lu-Ming Zhang -/ import Mathlib.Data.Matrix.Block /-! # Symmetric matrices This file contains the definition and basic results about symmetric matrices. ## Main definition * `Matri...
LinearAlgebra\Matrix\ToLin.lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen -/ import Mathlib.Data.Matrix.Block import Mathlib.Data.Matrix.Notation import Mathlib.LinearAlgebra.StdBasis import Mathlib.Ri...
LinearAlgebra\Matrix\ToLinearEquiv.lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen -/ import Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.Defs import Mathlib.LinearAlgebra.Matrix.Nondegenerate import Mathlib...
LinearAlgebra\Matrix\Trace.lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen -/ import Mathlib.Data.Matrix.Block import Mathlib.Data.Matrix.RowCol import Mathlib.Data.Matrix.Notation /-! # Trace of a mat...
LinearAlgebra\Matrix\Transvection.lean
/- Copyright (c) 2021 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import Mathlib.Data.Matrix.Basis import Mathlib.Data.Matrix.DMatrix import Mathlib.LinearAlgebra.Matrix.Determinant.Basic import Mathlib.LinearAlgebra.Matrix.Re...
LinearAlgebra\Matrix\ZPow.lean
/- Copyright (c) 2021 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky -/ import Mathlib.Data.Int.Bitwise import Mathlib.LinearAlgebra.Matrix.NonsingularInverse import Mathlib.LinearAlgebra.Matrix.Symmetric /-! # Integer powers of square...
LinearAlgebra\Matrix\Charpoly\Basic.lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import Mathlib.LinearAlgebra.Matrix.Adjugate import Mathlib.RingTheory.PolynomialAlgebra /-! # Characteristic polynomials and the Cayley-Hamilton theorem We define ...
LinearAlgebra\Matrix\Charpoly\Coeff.lean
/- Copyright (c) 2020 Aaron Anderson, Jalex Stark. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jalex Stark -/ import Mathlib.Algebra.Polynomial.Expand import Mathlib.Algebra.Polynomial.Laurent import Mathlib.LinearAlgebra.Matrix.Charpoly.Basic import...
LinearAlgebra\Matrix\Charpoly\Eigs.lean
/- Copyright (c) 2023 Mohanad Ahmed. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mohanad Ahmed -/ import Mathlib.Algebra.Polynomial.Basic import Mathlib.FieldTheory.IsAlgClosed.Basic /-! # Eigenvalues are characteristic polynomial roots. In fields we show that: *...
LinearAlgebra\Matrix\Charpoly\FiniteField.lean
/- Copyright (c) 2020 Aaron Anderson, Jalex Stark. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jalex Stark -/ import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff import Mathlib.FieldTheory.Finite.Basic import Mathlib.Data.Matrix.CharP /-! # Results o...
LinearAlgebra\Matrix\Charpoly\LinearMap.lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff import Mathlib.LinearAlgebra.Matrix.ToLin /-! # Cayley-Hamilton theorem for f.g. modules. Given a fixed finite spannin...
LinearAlgebra\Matrix\Charpoly\Minpoly.lean
/- Copyright (c) 2020 Aaron Anderson, Jalex Stark. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jalex Stark, Eric Wieser -/ import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff import Mathlib.LinearAlgebra.Matrix.ToLin import Mathlib.RingTheory.PowerBas...
LinearAlgebra\Matrix\Charpoly\Univ.lean
/- Copyright (c) 2024 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import Mathlib.Algebra.MvPolynomial.Equiv import Mathlib.LinearAlgebra.Matrix.Charpoly.Coeff import Mathlib.RingTheory.MvPolynomial.Homogeneous /-! # The universal c...
LinearAlgebra\Matrix\Determinant\Basic.lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Chris Hughes, Anne Baanen -/ import Mathlib.Data.Matrix.Block import Mathlib.Data.Matrix.Notation import Mathlib.Data.Matrix.RowCol import Mathlib.GroupTheory.GroupAction.Ring im...
LinearAlgebra\Matrix\Determinant\Misc.lean
/- Copyright (c) 2024 Xavier Roblot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Xavier Roblot -/ import Mathlib.LinearAlgebra.Matrix.Determinant.Basic import Mathlib.Algebra.Ring.NegOnePow /-! # Miscellaneous results about determinant In this file, we collect var...
LinearAlgebra\Matrix\GeneralLinearGroup\Basic.lean
/- Copyright (c) 2021 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.Defs /-! # Basic lemmas about the general linear group $GL(n, R)$ This file lists various basic lemmas about ...
LinearAlgebra\Matrix\GeneralLinearGroup\Card.lean
/- Copyright (c) 2024 Thomas Lanard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck, Inna Capdeboscq, Johan Commelin, Thomas Lanard, Peiran Wu -/ import Mathlib.Data.Matrix.Rank import Mathlib.FieldTheory.Finite.Basic import Mathlib.LinearAlgebra.Matrix....
LinearAlgebra\Matrix\GeneralLinearGroup\Defs.lean
/- Copyright (c) 2021 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import Mathlib.LinearAlgebra.Matrix.NonsingularInverse import Mathlib.LinearAlgebra.Matrix.SpecialLinearGroup import Mathlib.Algebra.Ring.Subring.Units /-! # The Gen...
LinearAlgebra\Multilinear\Basic.lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import Mathlib.Algebra.Algebra.Defs import Mathlib.Algebra.Order.BigOperators.Group.Finset import Mathlib.Data.Fintype.BigOperators import Mathlib.Data.Fintype....
LinearAlgebra\Multilinear\Basis.lean
/- Copyright (c) 2021 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import Mathlib.LinearAlgebra.Basis import Mathlib.LinearAlgebra.Multilinear.Basic /-! # Multilinear maps in relation to bases. This file proves lemmas about the action ...
LinearAlgebra\Multilinear\FiniteDimensional.lean
/- Copyright (c) 2022 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import Mathlib.LinearAlgebra.Multilinear.Basic import Mathlib.LinearAlgebra.FreeModule.Finite.Matrix /-! # Multilinear maps over finite dimensional spaces The main result...
LinearAlgebra\Multilinear\TensorProduct.lean
/- Copyright (c) 2020 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.LinearAlgebra.Multilinear.Basic import Mathlib.LinearAlgebra.TensorProduct.Basic /-! # Constructions relating multilinear maps and tensor products. -/ supp...
LinearAlgebra\Projectivization\Basic.lean
/- Copyright (c) 2022 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import Mathlib.LinearAlgebra.Dimension.FreeAndStrongRankCondition import Mathlib.LinearAlgebra.FiniteDimensional.Defs /-! # Projective Spaces This file contains the defini...
LinearAlgebra\Projectivization\Independence.lean
/- Copyright (c) 2022 Michael Blyth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Blyth -/ import Mathlib.LinearAlgebra.Projectivization.Basic /-! # Independence in Projective Space In this file we define independence and dependence of families of elements ...
LinearAlgebra\Projectivization\Subspace.lean
/- Copyright (c) 2022 Michael Blyth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Blyth -/ import Mathlib.LinearAlgebra.Projectivization.Basic /-! # Subspaces of Projective Space In this file we define subspaces of a projective space, and show that the subs...
LinearAlgebra\QuadraticForm\Basic.lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Kexing Ying, Eric Wieser -/ import Mathlib.LinearAlgebra.FiniteDimensional import Mathlib.LinearAlgebra.Matrix.Determinant.Basic import Mathlib.LinearAlgebra.Matrix.Sesquilin...
LinearAlgebra\QuadraticForm\Basis.lean
/- Copyright (c) 2024 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.LinearAlgebra.QuadraticForm.Basic /-! # Constructing a bilinear map from a quadratic map, given a basis This file provides an alternative to `QuadraticMap....
LinearAlgebra\QuadraticForm\Complex.lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Kexing Ying, Eric Wieser -/ import Mathlib.LinearAlgebra.QuadraticForm.IsometryEquiv import Mathlib.Analysis.SpecialFunctions.Pow.Complex /-! # Quadratic forms over the comp...
LinearAlgebra\QuadraticForm\Dual.lean
/- Copyright (c) 2023 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.LinearAlgebra.QuadraticForm.IsometryEquiv import Mathlib.LinearAlgebra.QuadraticForm.Prod import Mathlib.LinearAlgebra.Dual /-! # Quadratic form structures ...
LinearAlgebra\QuadraticForm\Isometry.lean
/- Copyright (c) 2023 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.LinearAlgebra.QuadraticForm.Basic /-! # Isometric linear maps ## Main definitions * `QuadraticMap.Isometry`: `LinearMap`s which map between two different ...
LinearAlgebra\QuadraticForm\IsometryEquiv.lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying, Eric Wieser -/ import Mathlib.LinearAlgebra.QuadraticForm.Basic import Mathlib.LinearAlgebra.QuadraticForm.Isometry /-! # Isometric equivalences with respect to quadratic fo...
LinearAlgebra\QuadraticForm\Prod.lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.LinearAlgebra.QuadraticForm.IsometryEquiv /-! # Quadratic form on product and pi types ## Main definitions * `QuadraticForm.prod Q₁ Q₂`: the quadratic for...
LinearAlgebra\QuadraticForm\QuadraticModuleCat.lean
/- Copyright (c) 2023 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import Mathlib.LinearAlgebra.QuadraticForm.IsometryEquiv import Mathlib.Algebra.Category.ModuleCat.Basic /-! # The category of quadratic modules -/ open CategoryTheory u...
LinearAlgebra\QuadraticForm\Real.lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Kexing Ying, Eric Wieser -/ import Mathlib.LinearAlgebra.QuadraticForm.IsometryEquiv import Mathlib.Data.Sign import Mathlib.Algebra.CharP.Invertible import Mathlib.Analysis....