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

Theorem pofun 4511
Description: A function preserves a partial order relation. (Contributed by Jeff Madsen, 18-Jun-2011.)
Hypotheses
Ref Expression
pofun.1  |-  S  =  { <. x ,  y
>.  |  X R Y }
pofun.2  |-  ( x  =  y  ->  X  =  Y )
Assertion
Ref Expression
pofun  |-  ( ( R  Po  B  /\  A. x  e.  A  X  e.  B )  ->  S  Po  A )
Distinct variable groups:    x, R, y    y, X    x, Y    x, A    x, B
Allowed substitution hints:    A( y)    B( y)    S( x, y)    X( x)    Y( y)

Proof of Theorem pofun
Dummy variables  v  w  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfcsb1v 3275 . . . . . . 7  |-  F/_ x [_ v  /  x ]_ X
21nfel1 2581 . . . . . 6  |-  F/ x [_ v  /  x ]_ X  e.  B
3 csbeq1a 3251 . . . . . . 7  |-  ( x  =  v  ->  X  =  [_ v  /  x ]_ X )
43eleq1d 2501 . . . . . 6  |-  ( x  =  v  ->  ( X  e.  B  <->  [_ v  /  x ]_ X  e.  B
) )
52, 4rspc 3038 . . . . 5  |-  ( v  e.  A  ->  ( A. x  e.  A  X  e.  B  ->  [_ v  /  x ]_ X  e.  B )
)
65impcom 420 . . . 4  |-  ( ( A. x  e.  A  X  e.  B  /\  v  e.  A )  ->  [_ v  /  x ]_ X  e.  B
)
7 poirr 4506 . . . . 5  |-  ( ( R  Po  B  /\  [_ v  /  x ]_ X  e.  B )  ->  -.  [_ v  /  x ]_ X R [_ v  /  x ]_ X
)
8 df-br 4205 . . . . . 6  |-  ( v S v  <->  <. v ,  v >.  e.  S
)
9 pofun.1 . . . . . . 7  |-  S  =  { <. x ,  y
>.  |  X R Y }
109eleq2i 2499 . . . . . 6  |-  ( <.
v ,  v >.  e.  S  <->  <. v ,  v
>.  e.  { <. x ,  y >.  |  X R Y } )
11 nfcv 2571 . . . . . . . 8  |-  F/_ x R
12 nfcv 2571 . . . . . . . 8  |-  F/_ x Y
131, 11, 12nfbr 4248 . . . . . . 7  |-  F/ x [_ v  /  x ]_ X R Y
14 nfv 1629 . . . . . . 7  |-  F/ y
[_ v  /  x ]_ X R [_ v  /  x ]_ X
15 vex 2951 . . . . . . 7  |-  v  e. 
_V
163breq1d 4214 . . . . . . 7  |-  ( x  =  v  ->  ( X R Y  <->  [_ v  /  x ]_ X R Y ) )
17 vex 2951 . . . . . . . . . 10  |-  y  e. 
_V
18 pofun.2 . . . . . . . . . 10  |-  ( x  =  y  ->  X  =  Y )
1917, 12, 18csbief 3284 . . . . . . . . 9  |-  [_ y  /  x ]_ X  =  Y
20 csbeq1 3246 . . . . . . . . 9  |-  ( y  =  v  ->  [_ y  /  x ]_ X  = 
[_ v  /  x ]_ X )
2119, 20syl5eqr 2481 . . . . . . . 8  |-  ( y  =  v  ->  Y  =  [_ v  /  x ]_ X )
2221breq2d 4216 . . . . . . 7  |-  ( y  =  v  ->  ( [_ v  /  x ]_ X R Y  <->  [_ v  /  x ]_ X R [_ v  /  x ]_ X
) )
2313, 14, 15, 15, 16, 22opelopabf 4471 . . . . . 6  |-  ( <.
v ,  v >.  e.  { <. x ,  y
>.  |  X R Y }  <->  [_ v  /  x ]_ X R [_ v  /  x ]_ X )
248, 10, 233bitri 263 . . . . 5  |-  ( v S v  <->  [_ v  /  x ]_ X R [_ v  /  x ]_ X
)
257, 24sylnibr 297 . . . 4  |-  ( ( R  Po  B  /\  [_ v  /  x ]_ X  e.  B )  ->  -.  v S v )
266, 25sylan2 461 . . 3  |-  ( ( R  Po  B  /\  ( A. x  e.  A  X  e.  B  /\  v  e.  A )
)  ->  -.  v S v )
2726anassrs 630 . 2  |-  ( ( ( R  Po  B  /\  A. x  e.  A  X  e.  B )  /\  v  e.  A
)  ->  -.  v S v )
285com12 29 . . . . . 6  |-  ( A. x  e.  A  X  e.  B  ->  ( v  e.  A  ->  [_ v  /  x ]_ X  e.  B ) )
29 nfcsb1v 3275 . . . . . . . . 9  |-  F/_ x [_ w  /  x ]_ X
3029nfel1 2581 . . . . . . . 8  |-  F/ x [_ w  /  x ]_ X  e.  B
31 csbeq1a 3251 . . . . . . . . 9  |-  ( x  =  w  ->  X  =  [_ w  /  x ]_ X )
3231eleq1d 2501 . . . . . . . 8  |-  ( x  =  w  ->  ( X  e.  B  <->  [_ w  /  x ]_ X  e.  B
) )
3330, 32rspc 3038 . . . . . . 7  |-  ( w  e.  A  ->  ( A. x  e.  A  X  e.  B  ->  [_ w  /  x ]_ X  e.  B )
)
3433com12 29 . . . . . 6  |-  ( A. x  e.  A  X  e.  B  ->  ( w  e.  A  ->  [_ w  /  x ]_ X  e.  B ) )
35 nfcsb1v 3275 . . . . . . . . 9  |-  F/_ x [_ z  /  x ]_ X
3635nfel1 2581 . . . . . . . 8  |-  F/ x [_ z  /  x ]_ X  e.  B
37 csbeq1a 3251 . . . . . . . . 9  |-  ( x  =  z  ->  X  =  [_ z  /  x ]_ X )
3837eleq1d 2501 . . . . . . . 8  |-  ( x  =  z  ->  ( X  e.  B  <->  [_ z  /  x ]_ X  e.  B
) )
3936, 38rspc 3038 . . . . . . 7  |-  ( z  e.  A  ->  ( A. x  e.  A  X  e.  B  ->  [_ z  /  x ]_ X  e.  B )
)
4039com12 29 . . . . . 6  |-  ( A. x  e.  A  X  e.  B  ->  ( z  e.  A  ->  [_ z  /  x ]_ X  e.  B ) )
4128, 34, 403anim123d 1261 . . . . 5  |-  ( A. x  e.  A  X  e.  B  ->  ( ( v  e.  A  /\  w  e.  A  /\  z  e.  A )  ->  ( [_ v  /  x ]_ X  e.  B  /\  [_ w  /  x ]_ X  e.  B  /\  [_ z  /  x ]_ X  e.  B
) ) )
4241imp 419 . . . 4  |-  ( ( A. x  e.  A  X  e.  B  /\  ( v  e.  A  /\  w  e.  A  /\  z  e.  A
) )  ->  ( [_ v  /  x ]_ X  e.  B  /\  [_ w  /  x ]_ X  e.  B  /\  [_ z  /  x ]_ X  e.  B
) )
4342adantll 695 . . 3  |-  ( ( ( R  Po  B  /\  A. x  e.  A  X  e.  B )  /\  ( v  e.  A  /\  w  e.  A  /\  z  e.  A
) )  ->  ( [_ v  /  x ]_ X  e.  B  /\  [_ w  /  x ]_ X  e.  B  /\  [_ z  /  x ]_ X  e.  B
) )
44 potr 4507 . . . . 5  |-  ( ( R  Po  B  /\  ( [_ v  /  x ]_ X  e.  B  /\  [_ w  /  x ]_ X  e.  B  /\  [_ z  /  x ]_ X  e.  B
) )  ->  (
( [_ v  /  x ]_ X R [_ w  /  x ]_ X  /\  [_ w  /  x ]_ X R [_ z  /  x ]_ X )  ->  [_ v  /  x ]_ X R [_ z  /  x ]_ X ) )
45 df-br 4205 . . . . . . 7  |-  ( v S w  <->  <. v ,  w >.  e.  S
)
469eleq2i 2499 . . . . . . 7  |-  ( <.
v ,  w >.  e.  S  <->  <. v ,  w >.  e.  { <. x ,  y >.  |  X R Y } )
47 nfv 1629 . . . . . . . 8  |-  F/ y
[_ v  /  x ]_ X R [_ w  /  x ]_ X
48 vex 2951 . . . . . . . 8  |-  w  e. 
_V
49 csbeq1 3246 . . . . . . . . . 10  |-  ( y  =  w  ->  [_ y  /  x ]_ X  = 
[_ w  /  x ]_ X )
5019, 49syl5eqr 2481 . . . . . . . . 9  |-  ( y  =  w  ->  Y  =  [_ w  /  x ]_ X )
5150breq2d 4216 . . . . . . . 8  |-  ( y  =  w  ->  ( [_ v  /  x ]_ X R Y  <->  [_ v  /  x ]_ X R [_ w  /  x ]_ X
) )
5213, 47, 15, 48, 16, 51opelopabf 4471 . . . . . . 7  |-  ( <.
v ,  w >.  e. 
{ <. x ,  y
>.  |  X R Y }  <->  [_ v  /  x ]_ X R [_ w  /  x ]_ X )
5345, 46, 523bitri 263 . . . . . 6  |-  ( v S w  <->  [_ v  /  x ]_ X R [_ w  /  x ]_ X
)
54 df-br 4205 . . . . . . 7  |-  ( w S z  <->  <. w ,  z >.  e.  S
)
559eleq2i 2499 . . . . . . 7  |-  ( <.
w ,  z >.  e.  S  <->  <. w ,  z
>.  e.  { <. x ,  y >.  |  X R Y } )
5629, 11, 12nfbr 4248 . . . . . . . 8  |-  F/ x [_ w  /  x ]_ X R Y
57 nfv 1629 . . . . . . . 8  |-  F/ y
[_ w  /  x ]_ X R [_ z  /  x ]_ X
58 vex 2951 . . . . . . . 8  |-  z  e. 
_V
5931breq1d 4214 . . . . . . . 8  |-  ( x  =  w  ->  ( X R Y  <->  [_ w  /  x ]_ X R Y ) )
60 csbeq1 3246 . . . . . . . . . 10  |-  ( y  =  z  ->  [_ y  /  x ]_ X  = 
[_ z  /  x ]_ X )
6119, 60syl5eqr 2481 . . . . . . . . 9  |-  ( y  =  z  ->  Y  =  [_ z  /  x ]_ X )
6261breq2d 4216 . . . . . . . 8  |-  ( y  =  z  ->  ( [_ w  /  x ]_ X R Y  <->  [_ w  /  x ]_ X R [_ z  /  x ]_ X
) )
6356, 57, 48, 58, 59, 62opelopabf 4471 . . . . . . 7  |-  ( <.
w ,  z >.  e.  { <. x ,  y
>.  |  X R Y }  <->  [_ w  /  x ]_ X R [_ z  /  x ]_ X )
6454, 55, 633bitri 263 . . . . . 6  |-  ( w S z  <->  [_ w  /  x ]_ X R [_ z  /  x ]_ X
)
6553, 64anbi12i 679 . . . . 5  |-  ( ( v S w  /\  w S z )  <->  ( [_ v  /  x ]_ X R [_ w  /  x ]_ X  /\  [_ w  /  x ]_ X R
[_ z  /  x ]_ X ) )
66 df-br 4205 . . . . . 6  |-  ( v S z  <->  <. v ,  z >.  e.  S
)
679eleq2i 2499 . . . . . 6  |-  ( <.
v ,  z >.  e.  S  <->  <. v ,  z
>.  e.  { <. x ,  y >.  |  X R Y } )
68 nfv 1629 . . . . . . 7  |-  F/ y
[_ v  /  x ]_ X R [_ z  /  x ]_ X
6961breq2d 4216 . . . . . . 7  |-  ( y  =  z  ->  ( [_ v  /  x ]_ X R Y  <->  [_ v  /  x ]_ X R [_ z  /  x ]_ X
) )
7013, 68, 15, 58, 16, 69opelopabf 4471 . . . . . 6  |-  ( <.
v ,  z >.  e.  { <. x ,  y
>.  |  X R Y }  <->  [_ v  /  x ]_ X R [_ z  /  x ]_ X )
7166, 67, 703bitri 263 . . . . 5  |-  ( v S z  <->  [_ v  /  x ]_ X R [_ z  /  x ]_ X
)
7244, 65, 713imtr4g 262 . . . 4  |-  ( ( R  Po  B  /\  ( [_ v  /  x ]_ X  e.  B  /\  [_ w  /  x ]_ X  e.  B  /\  [_ z  /  x ]_ X  e.  B
) )  ->  (
( v S w  /\  w S z )  ->  v S
z ) )
7372adantlr 696 . . 3  |-  ( ( ( R  Po  B  /\  A. x  e.  A  X  e.  B )  /\  ( [_ v  /  x ]_ X  e.  B  /\  [_ w  /  x ]_ X  e.  B  /\  [_ z  /  x ]_ X  e.  B
) )  ->  (
( v S w  /\  w S z )  ->  v S
z ) )
7443, 73syldan 457 . 2  |-  ( ( ( R  Po  B  /\  A. x  e.  A  X  e.  B )  /\  ( v  e.  A  /\  w  e.  A  /\  z  e.  A
) )  ->  (
( v S w  /\  w S z )  ->  v S
z ) )
7527, 74ispod 4503 1  |-  ( ( R  Po  B  /\  A. x  e.  A  X  e.  B )  ->  S  Po  A )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 359    /\ w3a 936    = wceq 1652    e. wcel 1725   A.wral 2697   [_csb 3243   <.cop 3809   class class class wbr 4204   {copab 4257    Po wpo 4493
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-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-sep 4322  ax-nul 4330  ax-pr 4395
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 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-ral 2702  df-rex 2703  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-nul 3621  df-if 3732  df-sn 3812  df-pr 3813  df-op 3815  df-br 4205  df-opab 4259  df-po 4495
  Copyright terms: Public domain W3C validator