Metamath Proof Explorer


Theorem rnghmsscmap2

Description: The non-unital ring homomorphisms between non-unital rings (in a universe) are a subcategory subset of the mappings between base sets of non-unital rings (in the same universe). (Contributed by AV, 6-Mar-2020)

Ref Expression
Hypotheses rnghmsscmap.u φ U V
rnghmsscmap.r φ R = Rng U
Assertion rnghmsscmap2 φ RngHomo R × R cat x R , y R Base y Base x

Proof

Step Hyp Ref Expression
1 rnghmsscmap.u φ U V
2 rnghmsscmap.r φ R = Rng U
3 ssidd φ R R
4 eqid Base a = Base a
5 eqid Base b = Base b
6 4 5 rnghmf h a RngHomo b h : Base a Base b
7 simpr φ a R b R h : Base a Base b h : Base a Base b
8 fvex Base b V
9 fvex Base a V
10 8 9 pm3.2i Base b V Base a V
11 elmapg Base b V Base a V h Base b Base a h : Base a Base b
12 10 11 mp1i φ a R b R h : Base a Base b h Base b Base a h : Base a Base b
13 7 12 mpbird φ a R b R h : Base a Base b h Base b Base a
14 13 ex φ a R b R h : Base a Base b h Base b Base a
15 6 14 syl5 φ a R b R h a RngHomo b h Base b Base a
16 15 ssrdv φ a R b R a RngHomo b Base b Base a
17 ovres a R b R a RngHomo R × R b = a RngHomo b
18 17 adantl φ a R b R a RngHomo R × R b = a RngHomo b
19 eqidd a R b R x R , y R Base y Base x = x R , y R Base y Base x
20 fveq2 y = b Base y = Base b
21 fveq2 x = a Base x = Base a
22 20 21 oveqan12rd x = a y = b Base y Base x = Base b Base a
23 22 adantl a R b R x = a y = b Base y Base x = Base b Base a
24 simpl a R b R a R
25 simpr a R b R b R
26 ovexd a R b R Base b Base a V
27 19 23 24 25 26 ovmpod a R b R a x R , y R Base y Base x b = Base b Base a
28 27 adantl φ a R b R a x R , y R Base y Base x b = Base b Base a
29 16 18 28 3sstr4d φ a R b R a RngHomo R × R b a x R , y R Base y Base x b
30 29 ralrimivva φ a R b R a RngHomo R × R b a x R , y R Base y Base x b
31 rnghmfn RngHomo Fn Rng × Rng
32 31 a1i φ RngHomo Fn Rng × Rng
33 inss1 Rng U Rng
34 2 33 eqsstrdi φ R Rng
35 xpss12 R Rng R Rng R × R Rng × Rng
36 34 34 35 syl2anc φ R × R Rng × Rng
37 fnssres RngHomo Fn Rng × Rng R × R Rng × Rng RngHomo R × R Fn R × R
38 32 36 37 syl2anc φ RngHomo R × R Fn R × R
39 eqid x R , y R Base y Base x = x R , y R Base y Base x
40 ovex Base y Base x V
41 39 40 fnmpoi x R , y R Base y Base x Fn R × R
42 41 a1i φ x R , y R Base y Base x Fn R × R
43 incom Rng U = U Rng
44 inex1g U V U Rng V
45 1 44 syl φ U Rng V
46 43 45 eqeltrid φ Rng U V
47 2 46 eqeltrd φ R V
48 38 42 47 isssc φ RngHomo R × R cat x R , y R Base y Base x R R a R b R a RngHomo R × R b a x R , y R Base y Base x b
49 3 30 48 mpbir2and φ RngHomo R × R cat x R , y R Base y Base x