instance : Module (TriangularRF) (TriangularModule k RFMN φ) where
body · 14
lines
one_smul x :=by ext <;> simp
mul_smul a b x :=by
ext
· exact mul_smul a.top b.top x.top
· simp only [bottom_smul, top_smul, Triangular.off_mul, Triangular.bottom_mul,
BalancedTensor.add_tmul, BalancedTensor.balance, map_add, mul_smul, smul_add]
rw [←BalancedTensor.smul_tmul, φ.map_smul]
abel
smul_add a x y :=by
ext <;> simp [BalancedTensor.tmul_add, smul_add, add_add_add_comm]
smul_zero a :=by ext <;> simp
add_smul a b x :=by
ext <;> simp [BalancedTensor.add_tmul, add_smul, add_add_add_comm]
zero_smul x :=by ext <;> simp
instance : IsScalarTower k (TriangularRF) (TriangularModule k RFMN φ) where
body · 5
lines
smul_assoc c a x :=by
ext
· exact smul_assoc c a.top x.top
· simp only [bottom_smul, Triangular.off_smul, Triangular.bottom_smul,
bottom_scalar, BalancedTensor.scalar_tmul, LinearMap.map_smul_of_tower, smul_assoc, smul_add]
instance[SMulCommClass k RM] [SMulCommClass k RN] :
SMulCommClass k (TriangularRF) (TriangularModule k RFMN φ) where
body · 5
lines
smul_comm c a x :=by
ext
· exact smul_comm c a.top x.top
· simp only [bottom_scalar, bottom_smul, top_scalar, BalancedTensor.tmul_scalar,
LinearMap.map_smul_of_tower, smul_add, smul_comm c a.bottom]