Metamath Proof Explorer


Theorem rhmsubccat

Description: The restriction of the category of non-unital rings to the set of unital ring homomorphisms is a category. (Contributed by AV, 4-Mar-2020)

Ref Expression
Hypotheses rngcrescrhm.u φUV
rngcrescrhm.c C=RngCatU
rngcrescrhm.r φR=RingU
rngcrescrhm.h H=RingHomR×R
Assertion rhmsubccat φRngCatUcatHCat

Proof

Step Hyp Ref Expression
1 rngcrescrhm.u φUV
2 rngcrescrhm.c C=RngCatU
3 rngcrescrhm.r φR=RingU
4 rngcrescrhm.h H=RingHomR×R
5 eqid RngCatUcatH=RngCatUcatH
6 1 2 3 4 rhmsubc φHSubcatRngCatU
7 5 6 subccat φRngCatUcatHCat