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

Theorem ertr 7115
Description: An equivalence relation is transitive. (Contributed by NM, 4-Jun-1995.) (Revised by Mario Carneiro, 12-Aug-2015.)
Hypothesis
Ref Expression
ersymb.1  |-  ( ph  ->  R  Er  X )
Assertion
Ref Expression
ertr  |-  ( ph  ->  ( ( A R B  /\  B R C )  ->  A R C ) )

Proof of Theorem ertr
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 ersymb.1 . . . . . . 7  |-  ( ph  ->  R  Er  X )
2 errel 7109 . . . . . . 7  |-  ( R  Er  X  ->  Rel  R )
31, 2syl 16 . . . . . 6  |-  ( ph  ->  Rel  R )
4 simpr 461 . . . . . 6  |-  ( ( A R B  /\  B R C )  ->  B R C )
5 brrelex 4876 . . . . . 6  |-  ( ( Rel  R  /\  B R C )  ->  B  e.  _V )
63, 4, 5syl2an 477 . . . . 5  |-  ( (
ph  /\  ( A R B  /\  B R C ) )  ->  B  e.  _V )
7 simpr 461 . . . . 5  |-  ( (
ph  /\  ( A R B  /\  B R C ) )  -> 
( A R B  /\  B R C ) )
8 breq2 4295 . . . . . . 7  |-  ( x  =  B  ->  ( A R x  <->  A R B ) )
9 breq1 4294 . . . . . . 7  |-  ( x  =  B  ->  (
x R C  <->  B R C ) )
108, 9anbi12d 710 . . . . . 6  |-  ( x  =  B  ->  (
( A R x  /\  x R C )  <->  ( A R B  /\  B R C ) ) )
1110spcegv 3057 . . . . 5  |-  ( B  e.  _V  ->  (
( A R B  /\  B R C )  ->  E. x
( A R x  /\  x R C ) ) )
126, 7, 11sylc 60 . . . 4  |-  ( (
ph  /\  ( A R B  /\  B R C ) )  ->  E. x ( A R x  /\  x R C ) )
13 simpl 457 . . . . . 6  |-  ( ( A R B  /\  B R C )  ->  A R B )
14 brrelex 4876 . . . . . 6  |-  ( ( Rel  R  /\  A R B )  ->  A  e.  _V )
153, 13, 14syl2an 477 . . . . 5  |-  ( (
ph  /\  ( A R B  /\  B R C ) )  ->  A  e.  _V )
16 brrelex2 4877 . . . . . 6  |-  ( ( Rel  R  /\  B R C )  ->  C  e.  _V )
173, 4, 16syl2an 477 . . . . 5  |-  ( (
ph  /\  ( A R B  /\  B R C ) )  ->  C  e.  _V )
18 brcog 5005 . . . . 5  |-  ( ( A  e.  _V  /\  C  e.  _V )  ->  ( A ( R  o.  R ) C  <->  E. x ( A R x  /\  x R C ) ) )
1915, 17, 18syl2anc 661 . . . 4  |-  ( (
ph  /\  ( A R B  /\  B R C ) )  -> 
( A ( R  o.  R ) C  <->  E. x ( A R x  /\  x R C ) ) )
2012, 19mpbird 232 . . 3  |-  ( (
ph  /\  ( A R B  /\  B R C ) )  ->  A ( R  o.  R ) C )
2120ex 434 . 2  |-  ( ph  ->  ( ( A R B  /\  B R C )  ->  A
( R  o.  R
) C ) )
22 df-er 7100 . . . . . 6  |-  ( R  Er  X  <->  ( Rel  R  /\  dom  R  =  X  /\  ( `' R  u.  ( R  o.  R ) ) 
C_  R ) )
2322simp3bi 1005 . . . . 5  |-  ( R  Er  X  ->  ( `' R  u.  ( R  o.  R )
)  C_  R )
241, 23syl 16 . . . 4  |-  ( ph  ->  ( `' R  u.  ( R  o.  R
) )  C_  R
)
2524unssbd 3533 . . 3  |-  ( ph  ->  ( R  o.  R
)  C_  R )
2625ssbrd 4332 . 2  |-  ( ph  ->  ( A ( R  o.  R ) C  ->  A R C ) )
2721, 26syld 44 1  |-  ( ph  ->  ( ( A R B  /\  B R C )  ->  A R C ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1369   E.wex 1586    e. wcel 1756   _Vcvv 2971    u. cun 3325    C_ wss 3327   class class class wbr 4291   `'ccnv 4838   dom cdm 4839    o. ccom 4843   Rel wrel 4844    Er wer 7097
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-sep 4412  ax-nul 4420  ax-pr 4530
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2257  df-mo 2258  df-clab 2429  df-cleq 2435  df-clel 2438  df-nfc 2567  df-ne 2607  df-ral 2719  df-rex 2720  df-rab 2723  df-v 2973  df-dif 3330  df-un 3332  df-in 3334  df-ss 3341  df-nul 3637  df-if 3791  df-sn 3877  df-pr 3879  df-op 3883  df-br 4292  df-opab 4350  df-xp 4845  df-rel 4846  df-co 4848  df-er 7100
This theorem is referenced by:  ertrd  7116  erth  7144  iiner  7171  entr  7360  efginvrel2  16223  efgsrel  16230
  Copyright terms: Public domain W3C validator