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

Theorem soxp 6228
Description: A lexicographical ordering of two strictly ordered classes. (Contributed by Scott Fenton, 17-Mar-2011.) (Revised by Mario Carneiro, 7-Mar-2013.)
Hypothesis
Ref Expression
soxp.1  |-  T  =  { <. x ,  y
>.  |  ( (
x  e.  ( A  X.  B )  /\  y  e.  ( A  X.  B ) )  /\  ( ( 1st `  x
) R ( 1st `  y )  \/  (
( 1st `  x
)  =  ( 1st `  y )  /\  ( 2nd `  x ) S ( 2nd `  y
) ) ) ) }
Assertion
Ref Expression
soxp  |-  ( ( R  Or  A  /\  S  Or  B )  ->  T  Or  ( A  X.  B ) )
Distinct variable groups:    x, A, y    x, B, y    x, R, y    x, S, y
Allowed substitution hints:    T( x, y)

Proof of Theorem soxp
Dummy variables  a 
b  c  d  t  u are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 sopo 4331 . . 3  |-  ( R  Or  A  ->  R  Po  A )
2 sopo 4331 . . 3  |-  ( S  Or  B  ->  S  Po  B )
3 soxp.1 . . . 4  |-  T  =  { <. x ,  y
>.  |  ( (
x  e.  ( A  X.  B )  /\  y  e.  ( A  X.  B ) )  /\  ( ( 1st `  x
) R ( 1st `  y )  \/  (
( 1st `  x
)  =  ( 1st `  y )  /\  ( 2nd `  x ) S ( 2nd `  y
) ) ) ) }
43poxp 6227 . . 3  |-  ( ( R  Po  A  /\  S  Po  B )  ->  T  Po  ( A  X.  B ) )
51, 2, 4syl2an 463 . 2  |-  ( ( R  Or  A  /\  S  Or  B )  ->  T  Po  ( A  X.  B ) )
6 elxp 4706 . . . . 5  |-  ( t  e.  ( A  X.  B )  <->  E. a E. b ( t  = 
<. a ,  b >.  /\  ( a  e.  A  /\  b  e.  B
) ) )
7 elxp 4706 . . . . 5  |-  ( u  e.  ( A  X.  B )  <->  E. c E. d ( u  = 
<. c ,  d >.  /\  ( c  e.  A  /\  d  e.  B
) ) )
8 ioran 476 . . . . . . . . . . . . . . . . . . . . 21  |-  ( -.  ( ( a R c  \/  ( a  =  c  /\  b S d ) )  \/  ( a  =  c  /\  b  =  d ) )  <->  ( -.  ( a R c  \/  ( a  =  c  /\  b S d ) )  /\  -.  ( a  =  c  /\  b  =  d ) ) )
9 ioran 476 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( -.  ( a R c  \/  ( a  =  c  /\  b S d ) )  <->  ( -.  a R c  /\  -.  ( a  =  c  /\  b S d ) ) )
10 ianor 474 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( -.  ( a  =  c  /\  b S d )  <->  ( -.  a  =  c  \/  -.  b S d ) )
1110anbi2i 675 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( -.  a R c  /\  -.  ( a  =  c  /\  b S d ) )  <-> 
( -.  a R c  /\  ( -.  a  =  c  \/ 
-.  b S d ) ) )
129, 11bitri 240 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( -.  ( a R c  \/  ( a  =  c  /\  b S d ) )  <->  ( -.  a R c  /\  ( -.  a  =  c  \/  -.  b S d ) ) )
13 ianor 474 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( -.  ( a  =  c  /\  b  =  d )  <->  ( -.  a  =  c  \/  -.  b  =  d )
)
1412, 13anbi12i 678 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( -.  ( a R c  \/  ( a  =  c  /\  b S d ) )  /\  -.  ( a  =  c  /\  b  =  d ) )  <-> 
( ( -.  a R c  /\  ( -.  a  =  c  \/  -.  b S d ) )  /\  ( -.  a  =  c  \/  -.  b  =  d ) ) )
158, 14bitri 240 . . . . . . . . . . . . . . . . . . . 20  |-  ( -.  ( ( a R c  \/  ( a  =  c  /\  b S d ) )  \/  ( a  =  c  /\  b  =  d ) )  <->  ( ( -.  a R c  /\  ( -.  a  =  c  \/  -.  b S d ) )  /\  ( -.  a  =  c  \/  -.  b  =  d )
) )
16 solin 4337 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  ->  (
a R c  \/  a  =  c  \/  c R a ) )
17 3orass 937 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( ( a R c  \/  a  =  c  \/  c R a )  <-> 
( a R c  \/  ( a  =  c  \/  c R a ) ) )
18 df-or 359 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( ( a R c  \/  ( a  =  c  \/  c R a ) )  <->  ( -.  a R c  ->  (
a  =  c  \/  c R a ) ) )
1917, 18bitri 240 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( a R c  \/  a  =  c  \/  c R a )  <-> 
( -.  a R c  ->  ( a  =  c  \/  c R a ) ) )
2016, 19sylib 188 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  ->  ( -.  a R c  -> 
( a  =  c  \/  c R a ) ) )
21 solin 4337 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) )  ->  (
b S d  \/  b  =  d  \/  d S b ) )
22 3orass 937 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( ( b S d  \/  b  =  d  \/  d S b )  <-> 
( b S d  \/  ( b  =  d  \/  d S b ) ) )
23 df-or 359 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( ( b S d  \/  ( b  =  d  \/  d S b ) )  <->  ( -.  b S d  ->  (
b  =  d  \/  d S b ) ) )
2422, 23bitri 240 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( ( b S d  \/  b  =  d  \/  d S b )  <-> 
( -.  b S d  ->  ( b  =  d  \/  d S b ) ) )
2521, 24sylib 188 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) )  ->  ( -.  b S d  -> 
( b  =  d  \/  d S b ) ) )
2625orim2d 813 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) )  ->  (
( -.  a  =  c  \/  -.  b S d )  -> 
( -.  a  =  c  \/  ( b  =  d  \/  d S b ) ) ) )
2720, 26im2anan9 808 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  /\  ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) ) )  -> 
( ( -.  a R c  /\  ( -.  a  =  c  \/  -.  b S d ) )  ->  (
( a  =  c  \/  c R a )  /\  ( -.  a  =  c  \/  ( b  =  d  \/  d S b ) ) ) ) )
28 pm2.53 362 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( ( a  =  c  \/  c R a )  ->  ( -.  a  =  c  ->  c R a ) )
29 orc 374 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( c R a  ->  (
c R a  \/  ( c  =  a  /\  d S b ) ) )
3028, 29syl6 29 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( a  =  c  \/  c R a )  ->  ( -.  a  =  c  ->  ( c R a  \/  (
c  =  a  /\  d S b ) ) ) )
3130adantr 451 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( ( a  =  c  \/  c R a )  /\  ( -.  a  =  c  \/  ( b  =  d  \/  d S b ) ) )  -> 
( -.  a  =  c  ->  ( c R a  \/  (
c  =  a  /\  d S b ) ) ) )
32 orel1 371 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( -.  b  =  d  -> 
( ( b  =  d  \/  d S b )  ->  d S b ) )
3332orim2d 813 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( -.  b  =  d  -> 
( ( -.  a  =  c  \/  (
b  =  d  \/  d S b ) )  ->  ( -.  a  =  c  \/  d S b ) ) )
3433anim2d 548 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( -.  b  =  d  -> 
( ( ( a  =  c  \/  c R a )  /\  ( -.  a  =  c  \/  ( b  =  d  \/  d S b ) ) )  ->  ( (
a  =  c  \/  c R a )  /\  ( -.  a  =  c  \/  d S b ) ) ) )
35 imor 401 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( ( a  =  c  -> 
d S b )  <-> 
( -.  a  =  c  \/  d S b ) )
3635biimpri 197 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( ( -.  a  =  c  \/  d S b )  ->  ( a  =  c  ->  d S b ) )
3736com12 27 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( a  =  c  ->  (
( -.  a  =  c  \/  d S b )  ->  d S b ) )
38 equcomi 1646 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  |-  ( a  =  c  ->  c  =  a )
3938anim1i 551 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( ( a  =  c  /\  d S b )  -> 
( c  =  a  /\  d S b ) )
4039olcd 382 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( ( a  =  c  /\  d S b )  -> 
( c R a  \/  ( c  =  a  /\  d S b ) ) )
4140ex 423 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( a  =  c  ->  (
d S b  -> 
( c R a  \/  ( c  =  a  /\  d S b ) ) ) )
4237, 41syld 40 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( a  =  c  ->  (
( -.  a  =  c  \/  d S b )  ->  (
c R a  \/  ( c  =  a  /\  d S b ) ) ) )
4329a1d 22 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( c R a  ->  (
( -.  a  =  c  \/  d S b )  ->  (
c R a  \/  ( c  =  a  /\  d S b ) ) ) )
4442, 43jaoi 368 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( ( a  =  c  \/  c R a )  ->  ( ( -.  a  =  c  \/  d S b )  ->  ( c R a  \/  ( c  =  a  /\  d S b ) ) ) )
4544imp 418 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( ( a  =  c  \/  c R a )  /\  ( -.  a  =  c  \/  d S b ) )  ->  ( c R a  \/  (
c  =  a  /\  d S b ) ) )
4634, 45syl6com 31 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( ( a  =  c  \/  c R a )  /\  ( -.  a  =  c  \/  ( b  =  d  \/  d S b ) ) )  -> 
( -.  b  =  d  ->  ( c R a  \/  (
c  =  a  /\  d S b ) ) ) )
4731, 46jaod 369 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( ( a  =  c  \/  c R a )  /\  ( -.  a  =  c  \/  ( b  =  d  \/  d S b ) ) )  -> 
( ( -.  a  =  c  \/  -.  b  =  d )  ->  ( c R a  \/  ( c  =  a  /\  d S b ) ) ) )
4827, 47syl6 29 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  /\  ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) ) )  -> 
( ( -.  a R c  /\  ( -.  a  =  c  \/  -.  b S d ) )  ->  (
( -.  a  =  c  \/  -.  b  =  d )  -> 
( c R a  \/  ( c  =  a  /\  d S b ) ) ) ) )
4948imp3a 420 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  /\  ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) ) )  -> 
( ( ( -.  a R c  /\  ( -.  a  =  c  \/  -.  b S d ) )  /\  ( -.  a  =  c  \/  -.  b  =  d )
)  ->  ( c R a  \/  (
c  =  a  /\  d S b ) ) ) )
5015, 49syl5bi 208 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  /\  ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) ) )  -> 
( -.  ( ( a R c  \/  ( a  =  c  /\  b S d ) )  \/  (
a  =  c  /\  b  =  d )
)  ->  ( c R a  \/  (
c  =  a  /\  d S b ) ) ) )
51 df-3or 935 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( a R c  \/  ( a  =  c  /\  b S d ) )  \/  ( a  =  c  /\  b  =  d )  \/  ( c R a  \/  (
c  =  a  /\  d S b ) ) )  <->  ( ( ( a R c  \/  ( a  =  c  /\  b S d ) )  \/  (
a  =  c  /\  b  =  d )
)  \/  ( c R a  \/  (
c  =  a  /\  d S b ) ) ) )
52 df-or 359 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( ( a R c  \/  ( a  =  c  /\  b S d ) )  \/  ( a  =  c  /\  b  =  d ) )  \/  ( c R a  \/  ( c  =  a  /\  d S b ) ) )  <-> 
( -.  ( ( a R c  \/  ( a  =  c  /\  b S d ) )  \/  (
a  =  c  /\  b  =  d )
)  ->  ( c R a  \/  (
c  =  a  /\  d S b ) ) ) )
5351, 52bitri 240 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( a R c  \/  ( a  =  c  /\  b S d ) )  \/  ( a  =  c  /\  b  =  d )  \/  ( c R a  \/  (
c  =  a  /\  d S b ) ) )  <->  ( -.  (
( a R c  \/  ( a  =  c  /\  b S d ) )  \/  ( a  =  c  /\  b  =  d ) )  ->  (
c R a  \/  ( c  =  a  /\  d S b ) ) ) )
5450, 53sylibr 203 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  /\  ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) ) )  -> 
( ( a R c  \/  ( a  =  c  /\  b S d ) )  \/  ( a  =  c  /\  b  =  d )  \/  (
c R a  \/  ( c  =  a  /\  d S b ) ) ) )
55 pm3.2 434 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( a  e.  A  /\  c  e.  A
)  /\  ( b  e.  B  /\  d  e.  B ) )  -> 
( ( a R c  \/  ( a  =  c  /\  b S d ) )  ->  ( ( ( a  e.  A  /\  c  e.  A )  /\  ( b  e.  B  /\  d  e.  B
) )  /\  (
a R c  \/  ( a  =  c  /\  b S d ) ) ) ) )
5655ad2ant2l 726 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  /\  ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) ) )  -> 
( ( a R c  \/  ( a  =  c  /\  b S d ) )  ->  ( ( ( a  e.  A  /\  c  e.  A )  /\  ( b  e.  B  /\  d  e.  B
) )  /\  (
a R c  \/  ( a  =  c  /\  b S d ) ) ) ) )
57 idd 21 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  /\  ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) ) )  -> 
( ( a  =  c  /\  b  =  d )  ->  (
a  =  c  /\  b  =  d )
) )
58 simpr 447 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  ->  (
a  e.  A  /\  c  e.  A )
)
5958ancomd 438 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  ->  (
c  e.  A  /\  a  e.  A )
)
60 simpr 447 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) )  ->  (
b  e.  B  /\  d  e.  B )
)
6160ancomd 438 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) )  ->  (
d  e.  B  /\  b  e.  B )
)
62 pm3.2 434 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( c  e.  A  /\  a  e.  A
)  /\  ( d  e.  B  /\  b  e.  B ) )  -> 
( ( c R a  \/  ( c  =  a  /\  d S b ) )  ->  ( ( ( c  e.  A  /\  a  e.  A )  /\  ( d  e.  B  /\  b  e.  B
) )  /\  (
c R a  \/  ( c  =  a  /\  d S b ) ) ) ) )
6359, 61, 62syl2an 463 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  /\  ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) ) )  -> 
( ( c R a  \/  ( c  =  a  /\  d S b ) )  ->  ( ( ( c  e.  A  /\  a  e.  A )  /\  ( d  e.  B  /\  b  e.  B
) )  /\  (
c R a  \/  ( c  =  a  /\  d S b ) ) ) ) )
6456, 57, 633orim123d 1260 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  /\  ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) ) )  -> 
( ( ( a R c  \/  (
a  =  c  /\  b S d ) )  \/  ( a  =  c  /\  b  =  d )  \/  (
c R a  \/  ( c  =  a  /\  d S b ) ) )  -> 
( ( ( ( a  e.  A  /\  c  e.  A )  /\  ( b  e.  B  /\  d  e.  B
) )  /\  (
a R c  \/  ( a  =  c  /\  b S d ) ) )  \/  ( a  =  c  /\  b  =  d )  \/  ( ( ( c  e.  A  /\  a  e.  A
)  /\  ( d  e.  B  /\  b  e.  B ) )  /\  ( c R a  \/  ( c  =  a  /\  d S b ) ) ) ) ) )
6554, 64mpd 14 . . . . . . . . . . . . . . . . 17  |-  ( ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  /\  ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) ) )  -> 
( ( ( ( a  e.  A  /\  c  e.  A )  /\  ( b  e.  B  /\  d  e.  B
) )  /\  (
a R c  \/  ( a  =  c  /\  b S d ) ) )  \/  ( a  =  c  /\  b  =  d )  \/  ( ( ( c  e.  A  /\  a  e.  A
)  /\  ( d  e.  B  /\  b  e.  B ) )  /\  ( c R a  \/  ( c  =  a  /\  d S b ) ) ) ) )
6665an4s 799 . . . . . . . . . . . . . . . 16  |-  ( ( ( R  Or  A  /\  S  Or  B
)  /\  ( (
a  e.  A  /\  c  e.  A )  /\  ( b  e.  B  /\  d  e.  B
) ) )  -> 
( ( ( ( a  e.  A  /\  c  e.  A )  /\  ( b  e.  B  /\  d  e.  B
) )  /\  (
a R c  \/  ( a  =  c  /\  b S d ) ) )  \/  ( a  =  c  /\  b  =  d )  \/  ( ( ( c  e.  A  /\  a  e.  A
)  /\  ( d  e.  B  /\  b  e.  B ) )  /\  ( c R a  \/  ( c  =  a  /\  d S b ) ) ) ) )
6766expcom 424 . . . . . . . . . . . . . . 15  |-  ( ( ( a  e.  A  /\  c  e.  A
)  /\  ( b  e.  B  /\  d  e.  B ) )  -> 
( ( R  Or  A  /\  S  Or  B
)  ->  ( (
( ( a  e.  A  /\  c  e.  A )  /\  (
b  e.  B  /\  d  e.  B )
)  /\  ( a R c  \/  (
a  =  c  /\  b S d ) ) )  \/  ( a  =  c  /\  b  =  d )  \/  ( ( ( c  e.  A  /\  a  e.  A )  /\  (
d  e.  B  /\  b  e.  B )
)  /\  ( c R a  \/  (
c  =  a  /\  d S b ) ) ) ) ) )
6867an4s 799 . . . . . . . . . . . . . 14  |-  ( ( ( a  e.  A  /\  b  e.  B
)  /\  ( c  e.  A  /\  d  e.  B ) )  -> 
( ( R  Or  A  /\  S  Or  B
)  ->  ( (
( ( a  e.  A  /\  c  e.  A )  /\  (
b  e.  B  /\  d  e.  B )
)  /\  ( a R c  \/  (
a  =  c  /\  b S d ) ) )  \/  ( a  =  c  /\  b  =  d )  \/  ( ( ( c  e.  A  /\  a  e.  A )  /\  (
d  e.  B  /\  b  e.  B )
)  /\  ( c R a  \/  (
c  =  a  /\  d S b ) ) ) ) ) )
69 breq12 4028 . . . . . . . . . . . . . . . . 17  |-  ( ( t  =  <. a ,  b >.  /\  u  =  <. c ,  d
>. )  ->  ( t T u  <->  <. a ,  b >. T <. c ,  d >. )
)
70 eqeq12 2295 . . . . . . . . . . . . . . . . 17  |-  ( ( t  =  <. a ,  b >.  /\  u  =  <. c ,  d
>. )  ->  ( t  =  u  <->  <. a ,  b >.  =  <. c ,  d >. )
)
71 breq12 4028 . . . . . . . . . . . . . . . . . 18  |-  ( ( u  =  <. c ,  d >.  /\  t  =  <. a ,  b
>. )  ->  ( u T t  <->  <. c ,  d >. T <. a ,  b >. )
)
7271ancoms 439 . . . . . . . . . . . . . . . . 17  |-  ( ( t  =  <. a ,  b >.  /\  u  =  <. c ,  d
>. )  ->  ( u T t  <->  <. c ,  d >. T <. a ,  b >. )
)
7369, 70, 723orbi123d 1251 . . . . . . . . . . . . . . . 16  |-  ( ( t  =  <. a ,  b >.  /\  u  =  <. c ,  d
>. )  ->  ( ( t T u  \/  t  =  u  \/  u T t )  <-> 
( <. a ,  b
>. T <. c ,  d
>.  \/  <. a ,  b
>.  =  <. c ,  d >.  \/  <. c ,  d >. T <. a ,  b >. )
) )
743xporderlem 6226 . . . . . . . . . . . . . . . . 17  |-  ( <.
a ,  b >. T <. c ,  d
>. 
<->  ( ( ( a  e.  A  /\  c  e.  A )  /\  (
b  e.  B  /\  d  e.  B )
)  /\  ( a R c  \/  (
a  =  c  /\  b S d ) ) ) )
75 vex 2791 . . . . . . . . . . . . . . . . . 18  |-  a  e. 
_V
76 vex 2791 . . . . . . . . . . . . . . . . . 18  |-  b  e. 
_V
7775, 76opth 4245 . . . . . . . . . . . . . . . . 17  |-  ( <.
a ,  b >.  =  <. c ,  d
>. 
<->  ( a  =  c  /\  b  =  d ) )
783xporderlem 6226 . . . . . . . . . . . . . . . . 17  |-  ( <.
c ,  d >. T <. a ,  b
>. 
<->  ( ( ( c  e.  A  /\  a  e.  A )  /\  (
d  e.  B  /\  b  e.  B )
)  /\  ( c R a  \/  (
c  =  a  /\  d S b ) ) ) )
7974, 77, 783orbi123i 1141 . . . . . . . . . . . . . . . 16  |-  ( (
<. a ,  b >. T <. c ,  d
>.  \/  <. a ,  b
>.  =  <. c ,  d >.  \/  <. c ,  d >. T <. a ,  b >. )  <->  ( ( ( ( a  e.  A  /\  c  e.  A )  /\  (
b  e.  B  /\  d  e.  B )
)  /\  ( a R c  \/  (
a  =  c  /\  b S d ) ) )  \/  ( a  =  c  /\  b  =  d )  \/  ( ( ( c  e.  A  /\  a  e.  A )  /\  (
d  e.  B  /\  b  e.  B )
)  /\  ( c R a  \/  (
c  =  a  /\  d S b ) ) ) ) )
8073, 79syl6bb 252 . . . . . . . . . . . . . . 15  |-  ( ( t  =  <. a ,  b >.  /\  u  =  <. c ,  d
>. )  ->  ( ( t T u  \/  t  =  u  \/  u T t )  <-> 
( ( ( ( a  e.  A  /\  c  e.  A )  /\  ( b  e.  B  /\  d  e.  B
) )  /\  (
a R c  \/  ( a  =  c  /\  b S d ) ) )  \/  ( a  =  c  /\  b  =  d )  \/  ( ( ( c  e.  A  /\  a  e.  A
)  /\  ( d  e.  B  /\  b  e.  B ) )  /\  ( c R a  \/  ( c  =  a  /\  d S b ) ) ) ) ) )
8180biimprcd 216 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( a  e.  A  /\  c  e.  A )  /\  (
b  e.  B  /\  d  e.  B )
)  /\  ( a R c  \/  (
a  =  c  /\  b S d ) ) )  \/  ( a  =  c  /\  b  =  d )  \/  ( ( ( c  e.  A  /\  a  e.  A )  /\  (
d  e.  B  /\  b  e.  B )
)  /\  ( c R a  \/  (
c  =  a  /\  d S b ) ) ) )  ->  (
( t  =  <. a ,  b >.  /\  u  =  <. c ,  d
>. )  ->  ( t T u  \/  t  =  u  \/  u T t ) ) )
8268, 81syl6 29 . . . . . . . . . . . . 13  |-  ( ( ( a  e.  A  /\  b  e.  B
)  /\  ( c  e.  A  /\  d  e.  B ) )  -> 
( ( R  Or  A  /\  S  Or  B
)  ->  ( (
t  =  <. a ,  b >.  /\  u  =  <. c ,  d
>. )  ->  ( t T u  \/  t  =  u  \/  u T t ) ) ) )
8382com3r 73 . . . . . . . . . . . 12  |-  ( ( t  =  <. a ,  b >.  /\  u  =  <. c ,  d
>. )  ->  ( ( ( a  e.  A  /\  b  e.  B
)  /\  ( c  e.  A  /\  d  e.  B ) )  -> 
( ( R  Or  A  /\  S  Or  B
)  ->  ( t T u  \/  t  =  u  \/  u T t ) ) ) )
8483imp 418 . . . . . . . . . . 11  |-  ( ( ( t  =  <. a ,  b >.  /\  u  =  <. c ,  d
>. )  /\  (
( a  e.  A  /\  b  e.  B
)  /\  ( c  e.  A  /\  d  e.  B ) ) )  ->  ( ( R  Or  A  /\  S  Or  B )  ->  (
t T u  \/  t  =  u  \/  u T t ) ) )
8584an4s 799 . . . . . . . . . 10  |-  ( ( ( t  =  <. a ,  b >.  /\  (
a  e.  A  /\  b  e.  B )
)  /\  ( u  =  <. c ,  d
>.  /\  ( c  e.  A  /\  d  e.  B ) ) )  ->  ( ( R  Or  A  /\  S  Or  B )  ->  (
t T u  \/  t  =  u  \/  u T t ) ) )
8685expcom 424 . . . . . . . . 9  |-  ( ( u  =  <. c ,  d >.  /\  (
c  e.  A  /\  d  e.  B )
)  ->  ( (
t  =  <. a ,  b >.  /\  (
a  e.  A  /\  b  e.  B )
)  ->  ( ( R  Or  A  /\  S  Or  B )  ->  ( t T u  \/  t  =  u  \/  u T t ) ) ) )
8786exlimivv 1667 . . . . . . . 8  |-  ( E. c E. d ( u  =  <. c ,  d >.  /\  (
c  e.  A  /\  d  e.  B )
)  ->  ( (
t  =  <. a ,  b >.  /\  (
a  e.  A  /\  b  e.  B )
)  ->  ( ( R  Or  A  /\  S  Or  B )  ->  ( t T u  \/  t  =  u  \/  u T t ) ) ) )
8887com12 27 . . . . . . 7  |-  ( ( t  =  <. a ,  b >.  /\  (
a  e.  A  /\  b  e.  B )
)  ->  ( E. c E. d ( u  =  <. c ,  d
>.  /\  ( c  e.  A  /\  d  e.  B ) )  -> 
( ( R  Or  A  /\  S  Or  B
)  ->  ( t T u  \/  t  =  u  \/  u T t ) ) ) )
8988exlimivv 1667 . . . . . 6  |-  ( E. a E. b ( t  =  <. a ,  b >.  /\  (
a  e.  A  /\  b  e.  B )
)  ->  ( E. c E. d ( u  =  <. c ,  d
>.  /\  ( c  e.  A  /\  d  e.  B ) )  -> 
( ( R  Or  A  /\  S  Or  B
)  ->  ( t T u  \/  t  =  u  \/  u T t ) ) ) )
9089imp 418 . . . . 5  |-  ( ( E. a E. b
( t  =  <. a ,  b >.  /\  (
a  e.  A  /\  b  e.  B )
)  /\  E. c E. d ( u  = 
<. c ,  d >.  /\  ( c  e.  A  /\  d  e.  B
) ) )  -> 
( ( R  Or  A  /\  S  Or  B
)  ->  ( t T u  \/  t  =  u  \/  u T t ) ) )
916, 7, 90syl2anb 465 . . . 4  |-  ( ( t  e.  ( A  X.  B )  /\  u  e.  ( A  X.  B ) )  -> 
( ( R  Or  A  /\  S  Or  B
)  ->  ( t T u  \/  t  =  u  \/  u T t ) ) )
9291com12 27 . . 3  |-  ( ( R  Or  A  /\  S  Or  B )  ->  ( ( t  e.  ( A  X.  B
)  /\  u  e.  ( A  X.  B
) )  ->  (
t T u  \/  t  =  u  \/  u T t ) ) )
9392ralrimivv 2634 . 2  |-  ( ( R  Or  A  /\  S  Or  B )  ->  A. t  e.  ( A  X.  B ) A. u  e.  ( A  X.  B ) ( t T u  \/  t  =  u  \/  u T t ) )
94 df-so 4315 . 2  |-  ( T  Or  ( A  X.  B )  <->  ( T  Po  ( A  X.  B
)  /\  A. t  e.  ( A  X.  B
) A. u  e.  ( A  X.  B
) ( t T u  \/  t  =  u  \/  u T t ) ) )
955, 93, 94sylanbrc 645 1  |-  ( ( R  Or  A  /\  S  Or  B )  ->  T  Or  ( A  X.  B ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 176    \/ wo 357    /\ wa 358    \/ w3o 933   E.wex 1528    = wceq 1623    e. wcel 1684   A.wral 2543   <.cop 3643   class class class wbr 4023   {copab 4076    Po wpo 4312    Or wor 4313    X. cxp 4687   ` cfv 5255   1stc1st 6120   2ndc2nd 6121
This theorem is referenced by:  wexp  6229
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-sbc 2992  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-br 4024  df-opab 4078  df-mpt 4079  df-id 4309  df-po 4314  df-so 4315  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-iota 5219  df-fun 5257  df-fv 5263  df-1st 6122  df-2nd 6123
  Copyright terms: Public domain W3C validator