theoremsmul_mem_relations (s : S) {z : F ⊗[k] M}
(hz : z ∈ balancingRelations k RFM) : s • z ∈ balancingRelations k RFM:=by
proof · 11
lines
induction hz usingSubmodule.span_induction with
| mem z hz =>
obtain ⟨f, r, m, rfl⟩ := hz
rw [smul_sub, TensorProduct.smul_tmul', TensorProduct.smul_tmul', smul_comm s]
exact Submodule.subset_span ⟨s • f, r, m, rfl⟩
| zero => simp
| add x y hx hy ihx ihy =>
simpa only [smul_add] using (balancingRelations k RFM).add_mem ihx ihy
| smul c z hz ih =>
rw [← smul_comm c s z]
exact (balancingRelations k RFM).smul_mem c ih
instance : IsScalarTower k S (BalancedTensor k RFM) where
body · 6
lines
smul_assoc c s z :=by
induction z usingSubmodule.Quotient.induction_on with
| H z =>
change Submodule.Quotient.mk ((c • s) • z) =
(Submodule.Quotient.mk (c • s • z) : BalancedTensor k RFM)
rw [smul_assoc]
instance : SMulCommClass k S (BalancedTensor k RFM) where
body · 6
lines
smul_comm c s z :=by
induction z usingSubmodule.Quotient.induction_on with
| H z =>
change Submodule.Quotient.mk (c • s • z) =
(Submodule.Quotient.mk (s • c • z) : BalancedTensor k RFM)
rw [smul_comm]