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

Theorem pofun 4460
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 3226 . . . . . . 7  |-  F/_ x [_ v  /  x ]_ X
21nfel1 2533 . . . . . 6  |-  F/ x [_ v  /  x ]_ X  e.  B
3 csbeq1a 3202 . . . . . . 7  |-  ( x  =  v  ->  X  =  [_ v  /  x ]_ X )
43eleq1d 2453 . . . . . 6  |-  ( x  =  v  ->  ( X  e.  B  <->  [_ v  /  x ]_ X  e.  B
) )
52, 4rspc 2989 . . . . 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 4455 . . . . 5  |-  ( ( R  Po  B  /\  [_ v  /  x ]_ X  e.  B )  ->  -.  [_ v  /  x ]_ X R [_ v  /  x ]_ X
)
8 df-br 4154 . . . . . 6  |-  ( v S v  <->  <. v ,  v >.  e.  S
)
9 pofun.1 . . . . . . 7  |-  S  =  { <. x ,  y
>.  |  X R Y }
109eleq2i 2451 . . . . . 6  |-  ( <.
v ,  v >.  e.  S  <->  <. v ,  v
>.  e.  { <. x ,  y >.  |  X R Y } )
11 nfcv 2523 . . . . . . . 8  |-  F/_ x R
12 nfcv 2523 . . . . . . . 8  |-  F/_ x Y
131, 11, 12nfbr 4197 . . . . . . 7  |-  F/ x [_ v  /  x ]_ X R Y
14 nfv 1626 . . . . . . 7  |-  F/ y
[_ v  /  x ]_ X R [_ v  /  x ]_ X
15 vex 2902 . . . . . . 7  |-  v  e. 
_V
163breq1d 4163 . . . . . . 7  |-  ( x  =  v  ->  ( X R Y  <->  [_ v  /  x ]_ X R Y ) )
17 vex 2902 . . . . . . . . . 10  |-  y  e. 
_V
18 pofun.2 . . . . . . . . . 10  |-  ( x  =  y  ->  X  =  Y )
1917, 12, 18csbief 3235 . . . . . . . . 9  |-  [_ y  /  x ]_ X  =  Y
20 csbeq1 3197 . . . . . . . . 9  |-  ( y  =  v  ->  [_ y  /  x ]_ X  = 
[_ v  /  x ]_ X )
2119, 20syl5eqr 2433 . . . . . . . 8  |-  ( y  =  v  ->  Y  =  [_ v  /  x ]_ X )
2221breq2d 4165 . . . . . . 7  |-  ( y  =  v  ->  ( [_ v  /  x ]_ X R Y  <->  [_ v  /  x ]_ X R [_ v  /  x ]_ X
) )
2313, 14, 15, 15, 16, 22opelopabf 4420 . . . . . 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 3226 . . . . . . . . 9  |-  F/_ x [_ w  /  x ]_ X
3029nfel1 2533 . . . . . . . 8  |-  F/ x [_ w  /  x ]_ X  e.  B
31 csbeq1a 3202 . . . . . . . . 9  |-  ( x  =  w  ->  X  =  [_ w  /  x ]_ X )
3231eleq1d 2453 . . . . . . . 8  |-  ( x  =  w  ->  ( X  e.  B  <->  [_ w  /  x ]_ X  e.  B
) )
3330, 32rspc 2989 . . . . . . 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 3226 . . . . . . . . 9  |-  F/_ x [_ z  /  x ]_ X
3635nfel1 2533 . . . . . . . 8  |-  F/ x [_ z  /  x ]_ X  e.  B
37 csbeq1a 3202 . . . . . . . . 9  |-  ( x  =  z  ->  X  =  [_ z  /  x ]_ X )
3837eleq1d 2453 . . . . . . . 8  |-  ( x  =  z  ->  ( X  e.  B  <->  [_ z  /  x ]_ X  e.  B
) )
3936, 38rspc 2989 . . . . . . 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 4456 . . . . 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 4154 . . . . . . 7  |-  ( v S w  <->  <. v ,  w >.  e.  S
)
469eleq2i 2451 . . . . . . 7  |-  ( <.
v ,  w >.  e.  S  <->  <. v ,  w >.  e.  { <. x ,  y >.  |  X R Y } )
47 nfv 1626 . . . . . . . 8  |-  F/ y
[_ v  /  x ]_ X R [_ w  /  x ]_ X
48 vex 2902 . . . . . . . 8  |-  w  e. 
_V
49 csbeq1 3197 . . . . . . . . . 10  |-  ( y  =  w  ->  [_ y  /  x ]_ X  = 
[_ w  /  x ]_ X )
5019, 49syl5eqr 2433 . . . . . . . . 9  |-  ( y  =  w  ->  Y  =  [_ w  /  x ]_ X )
5150breq2d 4165 . . . . . . . 8  |-  ( y  =  w  ->  ( [_ v  /  x ]_ X R Y  <->  [_ v  /  x ]_ X R [_ w  /  x ]_ X
) )
5213, 47, 15, 48, 16, 51opelopabf 4420 . . . . . . 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 4154 . . . . . . 7  |-  ( w S z  <->  <. w ,  z >.  e.  S
)
559eleq2i 2451 . . . . . . 7  |-  ( <.
w ,  z >.  e.  S  <->  <. w ,  z
>.  e.  { <. x ,  y >.  |  X R Y } )
5629, 11, 12nfbr 4197 . . . . . . . 8  |-  F/ x [_ w  /  x ]_ X R Y
57 nfv 1626 . . . . . . . 8  |-  F/ y
[_ w  /  x ]_ X R [_ z  /  x ]_ X
58 vex 2902 . . . . . . . 8  |-  z  e. 
_V
5931breq1d 4163 . . . . . . . 8  |-  ( x  =  w  ->  ( X R Y  <->  [_ w  /  x ]_ X R Y ) )
60 csbeq1 3197 . . . . . . . . . 10  |-  ( y  =  z  ->  [_ y  /  x ]_ X  = 
[_ z  /  x ]_ X )
6119, 60syl5eqr 2433 . . . . . . . . 9  |-  ( y  =  z  ->  Y  =  [_ z  /  x ]_ X )
6261breq2d 4165 . . . . . . . 8  |-  ( y  =  z  ->  ( [_ w  /  x ]_ X R Y  <->  [_ w  /  x ]_ X R [_ z  /  x ]_ X
) )
6356, 57, 48, 58, 59, 62opelopabf 4420 . . . . . . 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 4154 . . . . . 6  |-  ( v S z  <->  <. v ,  z >.  e.  S
)
679eleq2i 2451 . . . . . 6  |-  ( <.
v ,  z >.  e.  S  <->  <. v ,  z
>.  e.  { <. x ,  y >.  |  X R Y } )
68 nfv 1626 . . . . . . 7  |-  F/ y
[_ v  /  x ]_ X R [_ z  /  x ]_ X
6961breq2d 4165 . . . . . . 7  |-  ( y  =  z  ->  ( [_ v  /  x ]_ X R Y  <->  [_ v  /  x ]_ X R [_ z  /  x ]_ X
) )
7013, 68, 15, 58, 16, 69opelopabf 4420 . . . . . 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 4452 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 1649    e. wcel 1717   A.wral 2649   [_csb 3194   <.cop 3760   class class class wbr 4153   {copab 4206    Po wpo 4442
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 2368  ax-sep 4271  ax-nul 4279  ax-pr 4344
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 2242  df-mo 2243  df-clab 2374  df-cleq 2380  df-clel 2383  df-nfc 2512  df-ne 2552  df-ral 2654  df-rex 2655  df-rab 2658  df-v 2901  df-sbc 3105  df-csb 3195  df-dif 3266  df-un 3268  df-in 3270  df-ss 3277  df-nul 3572  df-if 3683  df-sn 3763  df-pr 3764  df-op 3766  df-br 4154  df-opab 4208  df-po 4444
  Copyright terms: Public domain W3C validator