Metamath Proof Explorer


Theorem funcringcsetcALTV2

Description: The "natural forgetful functor" from the category of unital rings into the category of sets which sends each ring to its underlying set (base set) and the morphisms (ring homomorphisms) to mappings of the corresponding base sets. (Contributed by AV, 16-Feb-2020) (New usage is discouraged.)

Ref Expression
Hypotheses funcringcsetcALTV2.r R = RingCat U
funcringcsetcALTV2.s S = SetCat U
funcringcsetcALTV2.b B = Base R
funcringcsetcALTV2.c C = Base S
funcringcsetcALTV2.u φ U WUni
funcringcsetcALTV2.f φ F = x B Base x
funcringcsetcALTV2.g φ G = x B , y B I x RingHom y
Assertion funcringcsetcALTV2 φ F R Func S G

Proof

Step Hyp Ref Expression
1 funcringcsetcALTV2.r R = RingCat U
2 funcringcsetcALTV2.s S = SetCat U
3 funcringcsetcALTV2.b B = Base R
4 funcringcsetcALTV2.c C = Base S
5 funcringcsetcALTV2.u φ U WUni
6 funcringcsetcALTV2.f φ F = x B Base x
7 funcringcsetcALTV2.g φ G = x B , y B I x RingHom y
8 eqid Hom R = Hom R
9 eqid Hom S = Hom S
10 eqid Id R = Id R
11 eqid Id S = Id S
12 eqid comp R = comp R
13 eqid comp S = comp S
14 1 ringccat U WUni R Cat
15 5 14 syl φ R Cat
16 2 setccat U WUni S Cat
17 5 16 syl φ S Cat
18 1 2 3 4 5 6 funcringcsetcALTV2lem3 φ F : B C
19 1 2 3 4 5 6 7 funcringcsetcALTV2lem4 φ G Fn B × B
20 1 2 3 4 5 6 7 funcringcsetcALTV2lem8 φ a B b B a G b : a Hom R b F a Hom S F b
21 1 2 3 4 5 6 7 funcringcsetcALTV2lem7 φ a B a G a Id R a = Id S F a
22 1 2 3 4 5 6 7 funcringcsetcALTV2lem9 φ a B b B c B h a Hom R b k b Hom R c a G c k a b comp R c h = b G c k F a F b comp S F c a G b h
23 3 4 8 9 10 11 12 13 15 17 18 19 20 21 22 isfuncd φ F R Func S G