English
For a Multiset M with Additive structure, the image under toAdd of the product of the multiset equals the sum of the images under toAdd: ofAdd s.sum = (s.map ofAdd).prod.
Русский
Для мультсета M в ADDitive-структуре образ от произведения мультсета равен сумме образов under toAdd.
LaTeX
$$$\operatorname{ofAdd}\left(\mathrm{sum}\,s\right) = \left(\mathrm{map}\,\operatorname{ofAdd} s\right).prod$$$
Lean4
@[simp]
theorem ofAdd_list_prod (s : List M) : ofAdd s.sum = (s.map ofAdd).prod := by simp [ofAdd]; rfl