File tree Expand file tree Collapse file tree
Mathlib/LinearAlgebra/BilinearForm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,12 +69,14 @@ protected def tmul (B₁ : BilinForm A M₁) (B₂ : BilinForm R M₂) : BilinFo
6969
7070attribute [ext] TensorProduct.ext in
7171/-- A tensor product of symmetric bilinear forms is symmetric. -/
72- lemma IsSymm.tmul {B₁ : BilinForm R M₁} {B₂ : BilinForm R M₂}
72+ lemma IsSymm.tmul {B₁ : BilinForm A M₁} {B₂ : BilinForm R M₂}
7373 (hB₁ : B₁.IsSymm) (hB₂ : B₂.IsSymm) : (B₁.tmul B₂).IsSymm := by
7474 rw [isSymm_iff_flip R]
7575 apply toLin.injective
7676 ext x₁ x₂ y₁ y₂
77- exact (congr_arg₂ (HMul.hMul) (hB₁ x₁ y₁) (hB₂ x₂ y₂)).symm
77+ exact (congr_arg₂ (HSMul.hSMul) (hB₂ x₂ y₂) (hB₁ x₁ y₁)).symm
78+
79+ variable (A)
7880
7981/-- The base change of a bilinear form. -/
8082protected def baseChange (B : BilinForm R M₂) : BilinForm A (A ⊗[R] M₂) :=
@@ -83,11 +85,15 @@ protected def baseChange (B : BilinForm R M₂) : BilinForm A (A ⊗[R] M₂) :=
8385@[simp]
8486theorem baseChange_tmul (B₂ : BilinForm R M₂) (a : A) (m₂ : M₂)
8587 (a' : A) (m₂' : M₂) :
86- B₂.baseChange (a ⊗ₜ m₂) (a' ⊗ₜ m₂') = (B₂ m₂ m₂') • (a * a') :=
88+ B₂.baseChange A (a ⊗ₜ m₂) (a' ⊗ₜ m₂') = (B₂ m₂ m₂') • (a * a') :=
8789 rfl
8890
89- end CommSemiring
91+ /-- The base change of a symmetric bilinear form is symmetric. -/
92+ lemma IsSymm.baseChange {B₂ : BilinForm R M₂} (hB₂ : B₂.IsSymm) : (B₂.baseChange A).IsSymm :=
93+ IsSymm.tmul mul_comm hB₂
9094
95+ end CommSemiring
96+ #exit
9197section CommRing
9298
9399variable [CommRing R]
You can’t perform that action at this time.
0 commit comments