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

Theorem pslem 15962
Description: Lemma for psref 15964 and others. (Contributed by NM, 12-May-2008.) (Revised by Mario Carneiro, 30-Apr-2015.)
Assertion
Ref Expression
pslem  |-  ( R  e.  PosetRel  ->  ( ( ( A R B  /\  B R C )  ->  A R C )  /\  ( A  e.  U. U. R  ->  A R A )  /\  ( ( A R B  /\  B R A )  ->  A  =  B )
) )

Proof of Theorem pslem
Dummy variables  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 psrel 15959 . . . . . 6  |-  ( R  e.  PosetRel  ->  Rel  R )
2 brrelex12 5046 . . . . . 6  |-  ( ( Rel  R  /\  A R B )  ->  ( A  e.  _V  /\  B  e.  _V ) )
31, 2sylan 471 . . . . 5  |-  ( ( R  e.  PosetRel  /\  A R B )  ->  ( A  e.  _V  /\  B  e.  _V ) )
4 brrelex2 5048 . . . . . 6  |-  ( ( Rel  R  /\  B R C )  ->  C  e.  _V )
51, 4sylan 471 . . . . 5  |-  ( ( R  e.  PosetRel  /\  B R C )  ->  C  e.  _V )
63, 5anim12dan 837 . . . 4  |-  ( ( R  e.  PosetRel  /\  ( A R B  /\  B R C ) )  -> 
( ( A  e. 
_V  /\  B  e.  _V )  /\  C  e. 
_V ) )
7 pstr2 15961 . . . . . 6  |-  ( R  e.  PosetRel  ->  ( R  o.  R )  C_  R
)
8 cotr 5389 . . . . . 6  |-  ( ( R  o.  R ) 
C_  R  <->  A. x A. y A. z ( ( x R y  /\  y R z )  ->  x R
z ) )
97, 8sylib 196 . . . . 5  |-  ( R  e.  PosetRel  ->  A. x A. y A. z ( ( x R y  /\  y R z )  ->  x R z ) )
109adantr 465 . . . 4  |-  ( ( R  e.  PosetRel  /\  ( A R B  /\  B R C ) )  ->  A. x A. y A. z ( ( x R y  /\  y R z )  ->  x R z ) )
11 simpr 461 . . . 4  |-  ( ( R  e.  PosetRel  /\  ( A R B  /\  B R C ) )  -> 
( A R B  /\  B R C ) )
12 breq12 4461 . . . . . . . . 9  |-  ( ( x  =  A  /\  y  =  B )  ->  ( x R y  <-> 
A R B ) )
13123adant3 1016 . . . . . . . 8  |-  ( ( x  =  A  /\  y  =  B  /\  z  =  C )  ->  ( x R y  <-> 
A R B ) )
14 breq12 4461 . . . . . . . . 9  |-  ( ( y  =  B  /\  z  =  C )  ->  ( y R z  <-> 
B R C ) )
15143adant1 1014 . . . . . . . 8  |-  ( ( x  =  A  /\  y  =  B  /\  z  =  C )  ->  ( y R z  <-> 
B R C ) )
1613, 15anbi12d 710 . . . . . . 7  |-  ( ( x  =  A  /\  y  =  B  /\  z  =  C )  ->  ( ( x R y  /\  y R z )  <->  ( A R B  /\  B R C ) ) )
17 breq12 4461 . . . . . . . 8  |-  ( ( x  =  A  /\  z  =  C )  ->  ( x R z  <-> 
A R C ) )
18173adant2 1015 . . . . . . 7  |-  ( ( x  =  A  /\  y  =  B  /\  z  =  C )  ->  ( x R z  <-> 
A R C ) )
1916, 18imbi12d 320 . . . . . 6  |-  ( ( x  =  A  /\  y  =  B  /\  z  =  C )  ->  ( ( ( x R y  /\  y R z )  ->  x R z )  <->  ( ( A R B  /\  B R C )  ->  A R C ) ) )
2019spc3gv 3199 . . . . 5  |-  ( ( 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 ) ) )
21203expa 1196 . . . 4  |-  ( ( ( 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 ) ) )
226, 10, 11, 21syl3c 61 . . 3  |-  ( ( R  e.  PosetRel  /\  ( A R B  /\  B R C ) )  ->  A R C )
2322ex 434 . 2  |-  ( R  e.  PosetRel  ->  ( ( A R B  /\  B R C )  ->  A R C ) )
24 psref2 15960 . . 3  |-  ( R  e.  PosetRel  ->  ( R  i^i  `' R )  =  (  _I  |`  U. U. R
) )
25 asymref2 5394 . . . 4  |-  ( ( R  i^i  `' R
)  =  (  _I  |`  U. U. R )  <-> 
( A. x  e. 
U. U. R x R x  /\  A. x A. y ( ( x R y  /\  y R x )  ->  x  =  y )
) )
2625simplbi 460 . . 3  |-  ( ( R  i^i  `' R
)  =  (  _I  |`  U. U. R )  ->  A. x  e.  U. U. R x R x )
27 breq12 4461 . . . . 5  |-  ( ( x  =  A  /\  x  =  A )  ->  ( x R x  <-> 
A R A ) )
2827anidms 645 . . . 4  |-  ( x  =  A  ->  (
x R x  <->  A R A ) )
2928rspccv 3207 . . 3  |-  ( A. x  e.  U. U. R x R x  ->  ( A  e.  U. U. R  ->  A R A ) )
3024, 26, 293syl 20 . 2  |-  ( R  e.  PosetRel  ->  ( A  e. 
U. U. R  ->  A R A ) )
313adantrr 716 . . . 4  |-  ( ( R  e.  PosetRel  /\  ( A R B  /\  B R A ) )  -> 
( A  e.  _V  /\  B  e.  _V )
)
3225simprbi 464 . . . . . 6  |-  ( ( R  i^i  `' R
)  =  (  _I  |`  U. U. R )  ->  A. x A. y
( ( x R y  /\  y R x )  ->  x  =  y ) )
3324, 32syl 16 . . . . 5  |-  ( R  e.  PosetRel  ->  A. x A. y
( ( x R y  /\  y R x )  ->  x  =  y ) )
3433adantr 465 . . . 4  |-  ( ( R  e.  PosetRel  /\  ( A R B  /\  B R A ) )  ->  A. x A. y ( ( x R y  /\  y R x )  ->  x  =  y ) )
35 simpr 461 . . . 4  |-  ( ( R  e.  PosetRel  /\  ( A R B  /\  B R A ) )  -> 
( A R B  /\  B R A ) )
36 breq12 4461 . . . . . . . 8  |-  ( ( y  =  B  /\  x  =  A )  ->  ( y R x  <-> 
B R A ) )
3736ancoms 453 . . . . . . 7  |-  ( ( x  =  A  /\  y  =  B )  ->  ( y R x  <-> 
B R A ) )
3812, 37anbi12d 710 . . . . . 6  |-  ( ( x  =  A  /\  y  =  B )  ->  ( ( x R y  /\  y R x )  <->  ( A R B  /\  B R A ) ) )
39 eqeq12 2476 . . . . . 6  |-  ( ( x  =  A  /\  y  =  B )  ->  ( x  =  y  <-> 
A  =  B ) )
4038, 39imbi12d 320 . . . . 5  |-  ( ( x  =  A  /\  y  =  B )  ->  ( ( ( x R y  /\  y R x )  ->  x  =  y )  <->  ( ( A R B  /\  B R A )  ->  A  =  B ) ) )
4140spc2gv 3197 . . . 4  |-  ( ( A  e.  _V  /\  B  e.  _V )  ->  ( A. x A. y ( ( x R y  /\  y R x )  ->  x  =  y )  ->  ( ( A R B  /\  B R A )  ->  A  =  B ) ) )
4231, 34, 35, 41syl3c 61 . . 3  |-  ( ( R  e.  PosetRel  /\  ( A R B  /\  B R A ) )  ->  A  =  B )
4342ex 434 . 2  |-  ( R  e.  PosetRel  ->  ( ( A R B  /\  B R A )  ->  A  =  B ) )
4423, 30, 433jca 1176 1  |-  ( R  e.  PosetRel  ->  ( ( ( A R B  /\  B R C )  ->  A R C )  /\  ( A  e.  U. U. R  ->  A R A )  /\  ( ( A R B  /\  B R A )  ->  A  =  B )
) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    /\ w3a 973   A.wal 1393    = wceq 1395    e. wcel 1819   A.wral 2807   _Vcvv 3109    i^i cin 3470    C_ wss 3471   U.cuni 4251   class class class wbr 4456    _I cid 4799   `'ccnv 5007    |` cres 5010    o. ccom 5012   Rel wrel 5013   PosetRelcps 15954
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1619  ax-4 1632  ax-5 1705  ax-6 1748  ax-7 1791  ax-9 1823  ax-10 1838  ax-11 1843  ax-12 1855  ax-13 2000  ax-ext 2435  ax-sep 4578  ax-nul 4586  ax-pr 4695
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 975  df-tru 1398  df-ex 1614  df-nf 1618  df-sb 1741  df-eu 2287  df-mo 2288  df-clab 2443  df-cleq 2449  df-clel 2452  df-nfc 2607  df-ne 2654  df-ral 2812  df-rex 2813  df-rab 2816  df-v 3111  df-dif 3474  df-un 3476  df-in 3478  df-ss 3485  df-nul 3794  df-if 3945  df-sn 4033  df-pr 4035  df-op 4039  df-uni 4252  df-br 4457  df-opab 4516  df-id 4804  df-xp 5014  df-rel 5015  df-cnv 5016  df-co 5017  df-res 5020  df-ps 15956
This theorem is referenced by:  psdmrn  15963  psref  15964  psasym  15966  pstr  15967
  Copyright terms: Public domain W3C validator