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

Theorem dirtr 14609
Description: A direction is transitive. (Contributed by Jeff Hankins, 25-Nov-2009.) (Revised by Mario Carneiro, 22-Nov-2013.)
Assertion
Ref Expression
dirtr  |-  ( ( ( R  e.  DirRel  /\  C  e.  V )  /\  ( A R B  /\  B R C ) )  ->  A R C )

Proof of Theorem dirtr
Dummy variables  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 reldir 14606 . . . . 5  |-  ( R  e.  DirRel  ->  Rel  R )
2 brrelex 4857 . . . . . . 7  |-  ( ( Rel  R  /\  A R B )  ->  A  e.  _V )
32ex 424 . . . . . 6  |-  ( Rel 
R  ->  ( A R B  ->  A  e. 
_V ) )
4 brrelex 4857 . . . . . . 7  |-  ( ( Rel  R  /\  B R C )  ->  B  e.  _V )
54ex 424 . . . . . 6  |-  ( Rel 
R  ->  ( B R C  ->  B  e. 
_V ) )
63, 5anim12d 547 . . . . 5  |-  ( Rel 
R  ->  ( ( A R B  /\  B R C )  ->  ( A  e.  _V  /\  B  e.  _V ) ) )
71, 6syl 16 . . . 4  |-  ( R  e.  DirRel  ->  ( ( A R B  /\  B R C )  ->  ( A  e.  _V  /\  B  e.  _V ) ) )
8 eqid 2388 . . . . . . . . . . . 12  |-  U. U. R  =  U. U. R
98isdir 14605 . . . . . . . . . . 11  |-  ( R  e.  DirRel  ->  ( R  e. 
DirRel 
<->  ( ( Rel  R  /\  (  _I  |`  U. U. R )  C_  R
)  /\  ( ( R  o.  R )  C_  R  /\  ( U. U. R  X.  U. U. R )  C_  ( `' R  o.  R
) ) ) ) )
109ibi 233 . . . . . . . . . 10  |-  ( R  e.  DirRel  ->  ( ( Rel 
R  /\  (  _I  |` 
U. U. R )  C_  R )  /\  (
( R  o.  R
)  C_  R  /\  ( U. U. R  X.  U.
U. R )  C_  ( `' R  o.  R
) ) ) )
1110simprd 450 . . . . . . . . 9  |-  ( R  e.  DirRel  ->  ( ( R  o.  R )  C_  R  /\  ( U. U. R  X.  U. U. R
)  C_  ( `' R  o.  R )
) )
1211simpld 446 . . . . . . . 8  |-  ( R  e.  DirRel  ->  ( R  o.  R )  C_  R
)
13 cotr 5187 . . . . . . . 8  |-  ( ( R  o.  R ) 
C_  R  <->  A. x A. y A. z ( ( x R y  /\  y R z )  ->  x R
z ) )
1412, 13sylib 189 . . . . . . 7  |-  ( R  e.  DirRel  ->  A. x A. y A. z ( ( x R y  /\  y R z )  ->  x R z ) )
15 breq12 4159 . . . . . . . . . . 11  |-  ( ( x  =  A  /\  y  =  B )  ->  ( x R y  <-> 
A R B ) )
16153adant3 977 . . . . . . . . . 10  |-  ( ( x  =  A  /\  y  =  B  /\  z  =  C )  ->  ( x R y  <-> 
A R B ) )
17 breq12 4159 . . . . . . . . . . 11  |-  ( ( y  =  B  /\  z  =  C )  ->  ( y R z  <-> 
B R C ) )
18173adant1 975 . . . . . . . . . 10  |-  ( ( x  =  A  /\  y  =  B  /\  z  =  C )  ->  ( y R z  <-> 
B R C ) )
1916, 18anbi12d 692 . . . . . . . . 9  |-  ( ( x  =  A  /\  y  =  B  /\  z  =  C )  ->  ( ( x R y  /\  y R z )  <->  ( A R B  /\  B R C ) ) )
20 breq12 4159 . . . . . . . . . 10  |-  ( ( x  =  A  /\  z  =  C )  ->  ( x R z  <-> 
A R C ) )
21203adant2 976 . . . . . . . . 9  |-  ( ( x  =  A  /\  y  =  B  /\  z  =  C )  ->  ( x R z  <-> 
A R C ) )
2219, 21imbi12d 312 . . . . . . . 8  |-  ( ( x  =  A  /\  y  =  B  /\  z  =  C )  ->  ( ( ( x R y  /\  y R z )  ->  x R z )  <->  ( ( A R B  /\  B R C )  ->  A R C ) ) )
2322spc3gv 2985 . . . . . . 7  |-  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  V )  ->  ( A. x A. y A. z ( ( x R y  /\  y R z )  ->  x R z )  -> 
( ( A R B  /\  B R C )  ->  A R C ) ) )
2414, 23syl5 30 . . . . . 6  |-  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  V )  ->  ( R  e.  DirRel  ->  (
( A R B  /\  B R C )  ->  A R C ) ) )
25243expia 1155 . . . . 5  |-  ( ( A  e.  _V  /\  B  e.  _V )  ->  ( C  e.  V  ->  ( R  e.  DirRel  -> 
( ( A R B  /\  B R C )  ->  A R C ) ) ) )
2625com4t 81 . . . 4  |-  ( R  e.  DirRel  ->  ( ( A R B  /\  B R C )  ->  (
( A  e.  _V  /\  B  e.  _V )  ->  ( C  e.  V  ->  A R C ) ) ) )
277, 26mpdd 38 . . 3  |-  ( R  e.  DirRel  ->  ( ( A R B  /\  B R C )  ->  ( C  e.  V  ->  A R C ) ) )
2827imp31 422 . 2  |-  ( ( ( R  e.  DirRel  /\  ( A R B  /\  B R C ) )  /\  C  e.  V )  ->  A R C )
2928an32s 780 1  |-  ( ( ( R  e.  DirRel  /\  C  e.  V )  /\  ( A R B  /\  B R C ) )  ->  A R C )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359    /\ w3a 936   A.wal 1546    = wceq 1649    e. wcel 1717   _Vcvv 2900    C_ wss 3264   U.cuni 3958   class class class wbr 4154    _I cid 4435    X. cxp 4817   `'ccnv 4818    |` cres 4821    o. ccom 4823   Rel wrel 4824   DirRelcdir 14601
This theorem is referenced by:  tailfb  26098
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 1661  ax-8 1682  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2369  ax-sep 4272  ax-nul 4280  ax-pr 4345
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 2243  df-mo 2244  df-clab 2375  df-cleq 2381  df-clel 2384  df-nfc 2513  df-ne 2553  df-ral 2655  df-rex 2656  df-rab 2659  df-v 2902  df-dif 3267  df-un 3269  df-in 3271  df-ss 3278  df-nul 3573  df-if 3684  df-sn 3764  df-pr 3765  df-op 3767  df-uni 3959  df-br 4155  df-opab 4209  df-xp 4825  df-rel 4826  df-cnv 4827  df-co 4828  df-res 4831  df-dir 14603
  Copyright terms: Public domain W3C validator