English
Similarly, the RingHomClass to LinearMapClass over Rat states that ring homomorphisms are linear over ℚ, i.e., they respect rational scalar multiplication.
Русский
Аналогично, RingHomClass обеспечивает LinearMapClass над Rat: кольцевые гомоморфизмы линейны над Q, то есть сохраняют рациональное скалярное умножение.
LaTeX
$$$$ \\text{LinearMapClass } F \\mathbb{Q} R S $$$$
Lean4
instance instSMulCommClass [SMulCommClass R S S] : SMulCommClass ℚ≥0 R S where
smul_comm q a b := by simp [smul_def, mul_smul_comm]