theorem
L34 ↗toMatrix_baseChange
LinearMap.BilinForm.toMatrix_baseChange
The actual Gram matrix after scalar extension is obtained by applying the coefficient map to the original entries.
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
noncomputable section
namespace LinearMap.BilinForm
variable {R A M ι : Type*} [CommRing R] [CommRing A] [Algebra R A]
[AddCommGroup M] [Module R M] [Fintype ι] [DecidableEq ι]Lean source · statement
theorem toMatrix_baseChange (b : Module.Basis ι R M) (B : LinearMap.BilinForm R M) :
toMatrix (b.baseChange A) (B.baseChange A) =
(toMatrix b B).map (algebraMap R A)