theoremscalarShuffle_smul (r : A ⊗[k] B) (z : Src) :
scalarShuffle k ABMNXY (r • z) =
ExternalTensor.representation k ABBMBN r (scalarShuffle k ABMNXY z) :=by
proof · 18
lines
induction r usingTensorProduct.inductionOn with
| add r s hr hs => simp only [add_smul, map_add, LinearMap.add_apply, hr, hs]
| tmul a b =>
induction z usingBalancedTensor.induction_on with
| zero => simp
| add z w hz hw => simp only [smul_add, map_add, hz, hw]
| tmul z w =>
obtain ⟨z, rfl⟩ := (bimoduleCoordinates k ABMN).symm.surjective z
obtain ⟨w, rfl⟩ := (ExternalTensor.moduleScalarCoordinates k ABXY).symm.surjective w
induction z usingTensorProduct.inductionOn with
| add z z' hz hz' => simp only [map_add, BalancedTensor.add_tmul, smul_add, hz, hz']
| tmul m n =>
induction w usingTensorProduct.inductionOn with
| add w w' hw hw' => simp only [map_add, BalancedTensor.tmul_add, smul_add, hw, hw']
| tmul x y =>
rw [BalancedTensor.smul_tmul, bimoduleCoordinates_left, scalarShuffle_pure,
scalarShuffle_pure]
rfl