Metamath Proof Explorer


Theorem rnghmmul

Description: A homomorphism of non-unital rings preserves multiplication. (Contributed by AV, 23-Feb-2020)

Ref Expression
Hypotheses rnghmmul.x 𝑋 = ( Base ‘ 𝑅 )
rnghmmul.m · = ( .r𝑅 )
rnghmmul.n × = ( .r𝑆 )
Assertion rnghmmul ( ( 𝐹 ∈ ( 𝑅 RngHomo 𝑆 ) ∧ 𝐴𝑋𝐵𝑋 ) → ( 𝐹 ‘ ( 𝐴 · 𝐵 ) ) = ( ( 𝐹𝐴 ) × ( 𝐹𝐵 ) ) )

Proof

Step Hyp Ref Expression
1 rnghmmul.x 𝑋 = ( Base ‘ 𝑅 )
2 rnghmmul.m · = ( .r𝑅 )
3 rnghmmul.n × = ( .r𝑆 )
4 1 2 3 isrnghm ( 𝐹 ∈ ( 𝑅 RngHomo 𝑆 ) ↔ ( ( 𝑅 ∈ Rng ∧ 𝑆 ∈ Rng ) ∧ ( 𝐹 ∈ ( 𝑅 GrpHom 𝑆 ) ∧ ∀ 𝑥𝑋𝑦𝑋 ( 𝐹 ‘ ( 𝑥 · 𝑦 ) ) = ( ( 𝐹𝑥 ) × ( 𝐹𝑦 ) ) ) ) )
5 fvoveq1 ( 𝑥 = 𝐴 → ( 𝐹 ‘ ( 𝑥 · 𝑦 ) ) = ( 𝐹 ‘ ( 𝐴 · 𝑦 ) ) )
6 fveq2 ( 𝑥 = 𝐴 → ( 𝐹𝑥 ) = ( 𝐹𝐴 ) )
7 6 oveq1d ( 𝑥 = 𝐴 → ( ( 𝐹𝑥 ) × ( 𝐹𝑦 ) ) = ( ( 𝐹𝐴 ) × ( 𝐹𝑦 ) ) )
8 5 7 eqeq12d ( 𝑥 = 𝐴 → ( ( 𝐹 ‘ ( 𝑥 · 𝑦 ) ) = ( ( 𝐹𝑥 ) × ( 𝐹𝑦 ) ) ↔ ( 𝐹 ‘ ( 𝐴 · 𝑦 ) ) = ( ( 𝐹𝐴 ) × ( 𝐹𝑦 ) ) ) )
9 oveq2 ( 𝑦 = 𝐵 → ( 𝐴 · 𝑦 ) = ( 𝐴 · 𝐵 ) )
10 9 fveq2d ( 𝑦 = 𝐵 → ( 𝐹 ‘ ( 𝐴 · 𝑦 ) ) = ( 𝐹 ‘ ( 𝐴 · 𝐵 ) ) )
11 fveq2 ( 𝑦 = 𝐵 → ( 𝐹𝑦 ) = ( 𝐹𝐵 ) )
12 11 oveq2d ( 𝑦 = 𝐵 → ( ( 𝐹𝐴 ) × ( 𝐹𝑦 ) ) = ( ( 𝐹𝐴 ) × ( 𝐹𝐵 ) ) )
13 10 12 eqeq12d ( 𝑦 = 𝐵 → ( ( 𝐹 ‘ ( 𝐴 · 𝑦 ) ) = ( ( 𝐹𝐴 ) × ( 𝐹𝑦 ) ) ↔ ( 𝐹 ‘ ( 𝐴 · 𝐵 ) ) = ( ( 𝐹𝐴 ) × ( 𝐹𝐵 ) ) ) )
14 8 13 rspc2va ( ( ( 𝐴𝑋𝐵𝑋 ) ∧ ∀ 𝑥𝑋𝑦𝑋 ( 𝐹 ‘ ( 𝑥 · 𝑦 ) ) = ( ( 𝐹𝑥 ) × ( 𝐹𝑦 ) ) ) → ( 𝐹 ‘ ( 𝐴 · 𝐵 ) ) = ( ( 𝐹𝐴 ) × ( 𝐹𝐵 ) ) )
15 14 expcom ( ∀ 𝑥𝑋𝑦𝑋 ( 𝐹 ‘ ( 𝑥 · 𝑦 ) ) = ( ( 𝐹𝑥 ) × ( 𝐹𝑦 ) ) → ( ( 𝐴𝑋𝐵𝑋 ) → ( 𝐹 ‘ ( 𝐴 · 𝐵 ) ) = ( ( 𝐹𝐴 ) × ( 𝐹𝐵 ) ) ) )
16 15 ad2antll ( ( ( 𝑅 ∈ Rng ∧ 𝑆 ∈ Rng ) ∧ ( 𝐹 ∈ ( 𝑅 GrpHom 𝑆 ) ∧ ∀ 𝑥𝑋𝑦𝑋 ( 𝐹 ‘ ( 𝑥 · 𝑦 ) ) = ( ( 𝐹𝑥 ) × ( 𝐹𝑦 ) ) ) ) → ( ( 𝐴𝑋𝐵𝑋 ) → ( 𝐹 ‘ ( 𝐴 · 𝐵 ) ) = ( ( 𝐹𝐴 ) × ( 𝐹𝐵 ) ) ) )
17 4 16 sylbi ( 𝐹 ∈ ( 𝑅 RngHomo 𝑆 ) → ( ( 𝐴𝑋𝐵𝑋 ) → ( 𝐹 ‘ ( 𝐴 · 𝐵 ) ) = ( ( 𝐹𝐴 ) × ( 𝐹𝐵 ) ) ) )
18 17 3impib ( ( 𝐹 ∈ ( 𝑅 RngHomo 𝑆 ) ∧ 𝐴𝑋𝐵𝑋 ) → ( 𝐹 ‘ ( 𝐴 · 𝐵 ) ) = ( ( 𝐹𝐴 ) × ( 𝐹𝐵 ) ) )