Finite_Direct_Product_of_Modules_is_Module_v2
Proveddirect-productsmodule-theorymodulesproofwiki
Let be a ring. Let be -modules. Let be their direct product. Then is a module.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem Finite_Direct_Product_of_Modules_is_Module_v2 {R : Type _} [Ring R] {n : ℕ} {M : Fin n → Type _} [∀ i, AddCommGroup (M i)] [∀ i, Module R (M i)] (r : R) (f g : ∀ i, M i) : r • (f + g) = r • f + r • g := by sorrySource