MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  0catg Structured version   Unicode version

Theorem 0catg 13912
Description: Any structure with an empty set of objects is a category. (Contributed by Mario Carneiro, 3-Jan-2017.)
Assertion
Ref Expression
0catg  |-  ( ( C  e.  V  /\  (/)  =  ( Base `  C
) )  ->  C  e.  Cat )

Proof of Theorem 0catg
Dummy variables  f 
g  h  w  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpr 448 . 2  |-  ( ( C  e.  V  /\  (/)  =  ( Base `  C
) )  ->  (/)  =  (
Base `  C )
)
2 eqidd 2437 . 2  |-  ( ( C  e.  V  /\  (/)  =  ( Base `  C
) )  ->  (  Hom  `  C )  =  (  Hom  `  C
) )
3 eqidd 2437 . 2  |-  ( ( C  e.  V  /\  (/)  =  ( Base `  C
) )  ->  (comp `  C )  =  (comp `  C ) )
4 simpl 444 . 2  |-  ( ( C  e.  V  /\  (/)  =  ( Base `  C
) )  ->  C  e.  V )
5 noel 3632 . . . 4  |-  -.  x  e.  (/)
65pm2.21i 125 . . 3  |-  ( x  e.  (/)  ->  (/)  e.  ( x (  Hom  `  C
) x ) )
76adantl 453 . 2  |-  ( ( ( C  e.  V  /\  (/)  =  ( Base `  C ) )  /\  x  e.  (/) )  ->  (/) 
e.  ( x (  Hom  `  C )
x ) )
8 simpr1 963 . . 3  |-  ( ( ( C  e.  V  /\  (/)  =  ( Base `  C ) )  /\  ( x  e.  (/)  /\  y  e.  (/)  /\  f  e.  ( y (  Hom  `  C ) x ) ) )  ->  x  e.  (/) )
95pm2.21i 125 . . 3  |-  ( x  e.  (/)  ->  ( (/) ( <.
y ,  x >. (comp `  C ) x ) f )  =  f )
108, 9syl 16 . 2  |-  ( ( ( C  e.  V  /\  (/)  =  ( Base `  C ) )  /\  ( x  e.  (/)  /\  y  e.  (/)  /\  f  e.  ( y (  Hom  `  C ) x ) ) )  ->  ( (/) ( <. y ,  x >. (comp `  C )
x ) f )  =  f )
11 simpr1 963 . . 3  |-  ( ( ( C  e.  V  /\  (/)  =  ( Base `  C ) )  /\  ( x  e.  (/)  /\  y  e.  (/)  /\  f  e.  ( x (  Hom  `  C ) y ) ) )  ->  x  e.  (/) )
125pm2.21i 125 . . 3  |-  ( x  e.  (/)  ->  ( f
( <. x ,  x >. (comp `  C )
y ) (/) )  =  f )
1311, 12syl 16 . 2  |-  ( ( ( C  e.  V  /\  (/)  =  ( Base `  C ) )  /\  ( x  e.  (/)  /\  y  e.  (/)  /\  f  e.  ( x (  Hom  `  C ) y ) ) )  ->  (
f ( <. x ,  x >. (comp `  C
) y ) (/) )  =  f )
14 simp21 990 . . 3  |-  ( ( ( C  e.  V  /\  (/)  =  ( Base `  C ) )  /\  ( x  e.  (/)  /\  y  e.  (/)  /\  z  e.  (/) )  /\  (
f  e.  ( x (  Hom  `  C
) y )  /\  g  e.  ( y
(  Hom  `  C ) z ) ) )  ->  x  e.  (/) )
155pm2.21i 125 . . 3  |-  ( x  e.  (/)  ->  ( g
( <. x ,  y
>. (comp `  C )
z ) f )  e.  ( x (  Hom  `  C )
z ) )
1614, 15syl 16 . 2  |-  ( ( ( C  e.  V  /\  (/)  =  ( Base `  C ) )  /\  ( x  e.  (/)  /\  y  e.  (/)  /\  z  e.  (/) )  /\  (
f  e.  ( x (  Hom  `  C
) y )  /\  g  e.  ( y
(  Hom  `  C ) z ) ) )  ->  ( g (
<. x ,  y >.
(comp `  C )
z ) f )  e.  ( x (  Hom  `  C )
z ) )
17 simp2ll 1024 . . 3  |-  ( ( ( C  e.  V  /\  (/)  =  ( Base `  C ) )  /\  ( ( x  e.  (/)  /\  y  e.  (/) )  /\  ( z  e.  (/)  /\  w  e.  (/) ) )  /\  (
f  e.  ( x (  Hom  `  C
) y )  /\  g  e.  ( y
(  Hom  `  C ) z )  /\  h  e.  ( z (  Hom  `  C ) w ) ) )  ->  x  e.  (/) )
185pm2.21i 125 . . 3  |-  ( x  e.  (/)  ->  ( (
h ( <. y ,  z >. (comp `  C ) w ) g ) ( <.
x ,  y >.
(comp `  C )
w ) f )  =  ( h (
<. x ,  z >.
(comp `  C )
w ) ( g ( <. x ,  y
>. (comp `  C )
z ) f ) ) )
1917, 18syl 16 . 2  |-  ( ( ( C  e.  V  /\  (/)  =  ( Base `  C ) )  /\  ( ( x  e.  (/)  /\  y  e.  (/) )  /\  ( z  e.  (/)  /\  w  e.  (/) ) )  /\  (
f  e.  ( x (  Hom  `  C
) y )  /\  g  e.  ( y
(  Hom  `  C ) z )  /\  h  e.  ( z (  Hom  `  C ) w ) ) )  ->  (
( h ( <.
y ,  z >.
(comp `  C )
w ) g ) ( <. x ,  y
>. (comp `  C )
w ) f )  =  ( h (
<. x ,  z >.
(comp `  C )
w ) ( g ( <. x ,  y
>. (comp `  C )
z ) f ) ) )
201, 2, 3, 4, 7, 10, 13, 16, 19iscatd 13898 1  |-  ( ( C  e.  V  /\  (/)  =  ( Base `  C
) )  ->  C  e.  Cat )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 359    /\ w3a 936    = wceq 1652    e. wcel 1725   (/)c0 3628   <.cop 3817   ` cfv 5454  (class class class)co 6081   Basecbs 13469    Hom chom 13540  compcco 13541   Catccat 13889
This theorem is referenced by:  0cat  13913
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2417  ax-nul 4338
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2285  df-clab 2423  df-cleq 2429  df-clel 2432  df-nfc 2561  df-ne 2601  df-ral 2710  df-rex 2711  df-rab 2714  df-v 2958  df-sbc 3162  df-dif 3323  df-un 3325  df-in 3327  df-ss 3334  df-nul 3629  df-if 3740  df-sn 3820  df-pr 3821  df-op 3823  df-uni 4016  df-br 4213  df-iota 5418  df-fv 5462  df-ov 6084  df-cat 13893
  Copyright terms: Public domain W3C validator