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

Theorem coass 5347
Description: Associative law for class composition. Theorem 27 of [Suppes] p. 64. Also Exercise 21 of [Enderton] p. 53. Interestingly, this law holds for any classes whatsoever, not just functions or even relations. (Contributed by NM, 27-Jan-1997.)
Assertion
Ref Expression
coass  |-  ( ( A  o.  B )  o.  C )  =  ( A  o.  ( B  o.  C )
)

Proof of Theorem coass
Dummy variables  x  y  z  w are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relco 5327 . 2  |-  Rel  (
( A  o.  B
)  o.  C )
2 relco 5327 . 2  |-  Rel  ( A  o.  ( B  o.  C ) )
3 excom 1752 . . . 4  |-  ( E. z E. w ( x C z  /\  ( z B w  /\  w A y ) )  <->  E. w E. z ( x C z  /\  ( z B w  /\  w A y ) ) )
4 anass 631 . . . . 5  |-  ( ( ( x C z  /\  z B w )  /\  w A y )  <->  ( x C z  /\  (
z B w  /\  w A y ) ) )
542exbii 1590 . . . 4  |-  ( E. w E. z ( ( x C z  /\  z B w )  /\  w A y )  <->  E. w E. z ( x C z  /\  ( z B w  /\  w A y ) ) )
63, 5bitr4i 244 . . 3  |-  ( E. z E. w ( x C z  /\  ( z B w  /\  w A y ) )  <->  E. w E. z ( ( x C z  /\  z B w )  /\  w A y ) )
7 vex 2919 . . . . . . 7  |-  z  e. 
_V
8 vex 2919 . . . . . . 7  |-  y  e. 
_V
97, 8brco 5002 . . . . . 6  |-  ( z ( A  o.  B
) y  <->  E. w
( z B w  /\  w A y ) )
109anbi2i 676 . . . . 5  |-  ( ( x C z  /\  z ( A  o.  B ) y )  <-> 
( x C z  /\  E. w ( z B w  /\  w A y ) ) )
1110exbii 1589 . . . 4  |-  ( E. z ( x C z  /\  z ( A  o.  B ) y )  <->  E. z
( x C z  /\  E. w ( z B w  /\  w A y ) ) )
12 vex 2919 . . . . 5  |-  x  e. 
_V
1312, 8opelco 5003 . . . 4  |-  ( <.
x ,  y >.  e.  ( ( A  o.  B )  o.  C
)  <->  E. z ( x C z  /\  z
( A  o.  B
) y ) )
14 exdistr 1925 . . . 4  |-  ( E. z E. w ( x C z  /\  ( z B w  /\  w A y ) )  <->  E. z
( x C z  /\  E. w ( z B w  /\  w A y ) ) )
1511, 13, 143bitr4i 269 . . 3  |-  ( <.
x ,  y >.  e.  ( ( A  o.  B )  o.  C
)  <->  E. z E. w
( x C z  /\  ( z B w  /\  w A y ) ) )
16 vex 2919 . . . . . . 7  |-  w  e. 
_V
1712, 16brco 5002 . . . . . 6  |-  ( x ( B  o.  C
) w  <->  E. z
( x C z  /\  z B w ) )
1817anbi1i 677 . . . . 5  |-  ( ( x ( B  o.  C ) w  /\  w A y )  <->  ( E. z ( x C z  /\  z B w )  /\  w A y ) )
1918exbii 1589 . . . 4  |-  ( E. w ( x ( B  o.  C ) w  /\  w A y )  <->  E. w
( E. z ( x C z  /\  z B w )  /\  w A y ) )
2012, 8opelco 5003 . . . 4  |-  ( <.
x ,  y >.  e.  ( A  o.  ( B  o.  C )
)  <->  E. w ( x ( B  o.  C
) w  /\  w A y ) )
21 19.41v 1920 . . . . 5  |-  ( E. z ( ( x C z  /\  z B w )  /\  w A y )  <->  ( E. z ( x C z  /\  z B w )  /\  w A y ) )
2221exbii 1589 . . . 4  |-  ( E. w E. z ( ( x C z  /\  z B w )  /\  w A y )  <->  E. w
( E. z ( x C z  /\  z B w )  /\  w A y ) )
2319, 20, 223bitr4i 269 . . 3  |-  ( <.
x ,  y >.  e.  ( A  o.  ( B  o.  C )
)  <->  E. w E. z
( ( x C z  /\  z B w )  /\  w A y ) )
246, 15, 233bitr4i 269 . 2  |-  ( <.
x ,  y >.  e.  ( ( A  o.  B )  o.  C
)  <->  <. x ,  y
>.  e.  ( A  o.  ( B  o.  C
) ) )
251, 2, 24eqrelriiv 4929 1  |-  ( ( A  o.  B )  o.  C )  =  ( A  o.  ( B  o.  C )
)
Colors of variables: wff set class
Syntax hints:    /\ wa 359   E.wex 1547    = wceq 1649    e. wcel 1721   <.cop 3777   class class class wbr 4172    o. ccom 4841
This theorem is referenced by:  funcoeqres  5665  fcof1o  5985  tposco  6469  mapen  7230  mapfien  7609  hashfacen  11658  cofuass  14041  setccatid  14194  frmdup3  14766  symggrp  15058  gsumval3  15469  gsumzf1o  15474  gsumzmhm  15488  prds1  15675  psrass1lem  16397  qtophmeo  17802  uniioombllem2  19428  cncombf  19503  pf1mpf  19925  pf1ind  19928  pjsdi2i  23613  pjadj2coi  23660  pj3lem1  23662  pj3i  23664  derangenlem  24810  subfacp1lem5  24823  erdsze2lem2  24843  relexpsucl  25085  relexpadd  25091  pprodcnveq  25637  cocnv  26317  diophrw  26707  eldioph2  26710  f1omvdco2  27259  symggen  27279  psgnunilem1  27284  mendrng  27368  ltrncoidN  30610  trlcoabs2N  31204  trlcoat  31205  trlcone  31210  cdlemg46  31217  cdlemg47  31218  ltrnco4  31221  tgrpgrplem  31231  tendoplass  31265  cdlemi2  31301  cdlemk2  31314  cdlemk4  31316  cdlemk8  31320  cdlemk45  31429  cdlemk54  31440  cdlemk55a  31441  erngdvlem3  31472  erngdvlem3-rN  31480  tendocnv  31504  dvhvaddass  31580  dvhlveclem  31591  cdlemn8  31687  dihopelvalcpre  31731  dih1dimatlem0  31811
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1662  ax-8 1683  ax-14 1725  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946  ax-ext 2385  ax-sep 4290  ax-nul 4298  ax-pr 4363
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2258  df-mo 2259  df-clab 2391  df-cleq 2397  df-clel 2400  df-nfc 2529  df-ne 2569  df-ral 2671  df-rex 2672  df-rab 2675  df-v 2918  df-dif 3283  df-un 3285  df-in 3287  df-ss 3294  df-nul 3589  df-if 3700  df-sn 3780  df-pr 3781  df-op 3783  df-br 4173  df-opab 4227  df-xp 4843  df-rel 4844  df-co 4846
  Copyright terms: Public domain W3C validator