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

Theorem soxp 6422
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 4484 . . 3  |-  ( R  Or  A  ->  R  Po  A )
2 sopo 4484 . . 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 6421 . . 3  |-  ( ( R  Po  A  /\  S  Po  B )  ->  T  Po  ( A  X.  B ) )
51, 2, 4syl2an 464 . 2  |-  ( ( R  Or  A  /\  S  Or  B )  ->  T  Po  ( A  X.  B ) )
6 elxp 4858 . . . . 5  |-  ( t  e.  ( A  X.  B )  <->  E. a E. b ( t  = 
<. a ,  b >.  /\  ( a  e.  A  /\  b  e.  B
) ) )
7 elxp 4858 . . . . 5  |-  ( u  e.  ( A  X.  B )  <->  E. c E. d ( u  = 
<. c ,  d >.  /\  ( c  e.  A  /\  d  e.  B
) ) )
8 ioran 477 . . . . . . . . . . . . . . . . . . . . 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 477 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( -.  ( a R c  \/  ( a  =  c  /\  b S d ) )  <->  ( -.  a R c  /\  -.  ( a  =  c  /\  b S d ) ) )
10 ianor 475 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( -.  ( a  =  c  /\  b S d )  <->  ( -.  a  =  c  \/  -.  b S d ) )
1110anbi2i 676 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( -.  a R c  /\  -.  ( a  =  c  /\  b S d ) )  <-> 
( -.  a R c  /\  ( -.  a  =  c  \/ 
-.  b S d ) ) )
129, 11bitri 241 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( -.  ( a R c  \/  ( a  =  c  /\  b S d ) )  <->  ( -.  a R c  /\  ( -.  a  =  c  \/  -.  b S d ) ) )
13 ianor 475 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( -.  ( a  =  c  /\  b  =  d )  <->  ( -.  a  =  c  \/  -.  b  =  d )
)
1412, 13anbi12i 679 . . . . . . . . . . . . . . . . . . . . 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 241 . . . . . . . . . . . . . . . . . . . 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 4490 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  ->  (
a R c  \/  a  =  c  \/  c R a ) )
17 3orass 939 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( ( a R c  \/  a  =  c  \/  c R a )  <-> 
( a R c  \/  ( a  =  c  \/  c R a ) ) )
18 df-or 360 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( ( a R c  \/  ( a  =  c  \/  c R a ) )  <->  ( -.  a R c  ->  (
a  =  c  \/  c R a ) ) )
1917, 18bitri 241 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( a R c  \/  a  =  c  \/  c R a )  <-> 
( -.  a R c  ->  ( a  =  c  \/  c R a ) ) )
2016, 19sylib 189 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  ->  ( -.  a R c  -> 
( a  =  c  \/  c R a ) ) )
21 solin 4490 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) )  ->  (
b S d  \/  b  =  d  \/  d S b ) )
22 3orass 939 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( ( b S d  \/  b  =  d  \/  d S b )  <-> 
( b S d  \/  ( b  =  d  \/  d S b ) ) )
23 df-or 360 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( ( b S d  \/  ( b  =  d  \/  d S b ) )  <->  ( -.  b S d  ->  (
b  =  d  \/  d S b ) ) )
2422, 23bitri 241 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( ( b S d  \/  b  =  d  \/  d S b )  <-> 
( -.  b S d  ->  ( b  =  d  \/  d S b ) ) )
2521, 24sylib 189 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) )  ->  ( -.  b S d  -> 
( b  =  d  \/  d S b ) ) )
2625orim2d 814 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) )  ->  (
( -.  a  =  c  \/  -.  b S d )  -> 
( -.  a  =  c  \/  ( b  =  d  \/  d S b ) ) ) )
2720, 26im2anan9 809 . . . . . . . . . . . . . . . . . . . . . 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 363 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( ( a  =  c  \/  c R a )  ->  ( -.  a  =  c  ->  c R a ) )
29 orc 375 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( c R a  ->  (
c R a  \/  ( c  =  a  /\  d S b ) ) )
3028, 29syl6 31 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( a  =  c  \/  c R a )  ->  ( -.  a  =  c  ->  ( c R a  \/  (
c  =  a  /\  d S b ) ) ) )
3130adantr 452 . . . . . . . . . . . . . . . . . . . . . . 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 372 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( -.  b  =  d  -> 
( ( b  =  d  \/  d S b )  ->  d S b ) )
3332orim2d 814 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( -.  b  =  d  -> 
( ( -.  a  =  c  \/  (
b  =  d  \/  d S b ) )  ->  ( -.  a  =  c  \/  d S b ) ) )
3433anim2d 549 . . . . . . . . . . . . . . . . . . . . . . . 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 402 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( ( a  =  c  -> 
d S b )  <-> 
( -.  a  =  c  \/  d S b ) )
3635biimpri 198 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( ( -.  a  =  c  \/  d S b )  ->  ( a  =  c  ->  d S b ) )
3736com12 29 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( a  =  c  ->  (
( -.  a  =  c  \/  d S b )  ->  d S b ) )
38 equcomi 1687 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  |-  ( a  =  c  ->  c  =  a )
3938anim1i 552 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( ( a  =  c  /\  d S b )  -> 
( c  =  a  /\  d S b ) )
4039olcd 383 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( ( a  =  c  /\  d S b )  -> 
( c R a  \/  ( c  =  a  /\  d S b ) ) )
4140ex 424 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( a  =  c  ->  (
d S b  -> 
( c R a  \/  ( c  =  a  /\  d S b ) ) ) )
4237, 41syld 42 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( a  =  c  ->  (
( -.  a  =  c  \/  d S b )  ->  (
c R a  \/  ( c  =  a  /\  d S b ) ) ) )
4329a1d 23 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( c R a  ->  (
( -.  a  =  c  \/  d S b )  ->  (
c R a  \/  ( c  =  a  /\  d S b ) ) ) )
4442, 43jaoi 369 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( ( a  =  c  \/  c R a )  ->  ( ( -.  a  =  c  \/  d S b )  ->  ( c R a  \/  ( c  =  a  /\  d S b ) ) ) )
4544imp 419 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( ( a  =  c  \/  c R a )  /\  ( -.  a  =  c  \/  d S b ) )  ->  ( c R a  \/  (
c  =  a  /\  d S b ) ) )
4634, 45syl6com 33 . . . . . . . . . . . . . . . . . . . . . . 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 370 . . . . . . . . . . . . . . . . . . . . . 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 31 . . . . . . . . . . . . . . . . . . . . 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 421 . . . . . . . . . . . . . . . . . . . 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 209 . . . . . . . . . . . . . . . . . . 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 937 . . . . . . . . . . . . . . . . . . . 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 360 . . . . . . . . . . . . . . . . . . . 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 241 . . . . . . . . . . . . . . . . . . 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 204 . . . . . . . . . . . . . . . . . 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 435 . . . . . . . . . . . . . . . . . . . 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 727 . . . . . . . . . . . . . . . . . . 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 22 . . . . . . . . . . . . . . . . . . 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 448 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  ->  (
a  e.  A  /\  c  e.  A )
)
5958ancomd 439 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( R  Or  A  /\  ( a  e.  A  /\  c  e.  A
) )  ->  (
c  e.  A  /\  a  e.  A )
)
60 simpr 448 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) )  ->  (
b  e.  B  /\  d  e.  B )
)
6160ancomd 439 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( S  Or  B  /\  ( b  e.  B  /\  d  e.  B
) )  ->  (
d  e.  B  /\  b  e.  B )
)
62 pm3.2 435 . . . . . . . . . . . . . . . . . . . 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 464 . . . . . . . . . . . . . . . . . . 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 1262 . . . . . . . . . . . . . . . . . 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 15 . . . . . . . . . . . . . . . . 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 800 . . . . . . . . . . . . . . . 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 425 . . . . . . . . . . . . . . 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 800 . . . . . . . . . . . . . 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 4181 . . . . . . . . . . . . . . . . 17  |-  ( ( t  =  <. a ,  b >.  /\  u  =  <. c ,  d
>. )  ->  ( t T u  <->  <. a ,  b >. T <. c ,  d >. )
)
70 eqeq12 2420 . . . . . . . . . . . . . . . . 17  |-  ( ( t  =  <. a ,  b >.  /\  u  =  <. c ,  d
>. )  ->  ( t  =  u  <->  <. a ,  b >.  =  <. c ,  d >. )
)
71 breq12 4181 . . . . . . . . . . . . . . . . . 18  |-  ( ( u  =  <. c ,  d >.  /\  t  =  <. a ,  b
>. )  ->  ( u T t  <->  <. c ,  d >. T <. a ,  b >. )
)
7271ancoms 440 . . . . . . . . . . . . . . . . 17  |-  ( ( t  =  <. a ,  b >.  /\  u  =  <. c ,  d
>. )  ->  ( u T t  <->  <. c ,  d >. T <. a ,  b >. )
)
7369, 70, 723orbi123d 1253 . . . . . . . . . . . . . . . 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 6420 . . . . . . . . . . . . . . . . 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 2923 . . . . . . . . . . . . . . . . . 18  |-  a  e. 
_V
76 vex 2923 . . . . . . . . . . . . . . . . . 18  |-  b  e. 
_V
7775, 76opth 4399 . . . . . . . . . . . . . . . . 17  |-  ( <.
a ,  b >.  =  <. c ,  d
>. 
<->  ( a  =  c  /\  b  =  d ) )
783xporderlem 6420 . . . . . . . . . . . . . . . . 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 1143 . . . . . . . . . . . . . . . 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 253 . . . . . . . . . . . . . . 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 217 . . . . . . . . . . . . . 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 31 . . . . . . . . . . . . 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 75 . . . . . . . . . . . 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 419 . . . . . . . . . . 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 800 . . . . . . . . . 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 425 . . . . . . . . 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 1642 . . . . . . . 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 29 . . . . . . 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 1642 . . . . . 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 419 . . . . 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 466 . . . 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 29 . . 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 2761 . 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 4468 . 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 646 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 177    \/ wo 358    /\ wa 359    \/ w3o 935   E.wex 1547    = wceq 1649    e. wcel 1721   A.wral 2670   <.cop 3781   class class class wbr 4176   {copab 4229    Po wpo 4465    Or wor 4466    X. cxp 4839   ` cfv 5417   1stc1st 6310   2ndc2nd 6311
This theorem is referenced by:  wexp  6423
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 1662  ax-8 1683  ax-13 1723  ax-14 1725  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946  ax-ext 2389  ax-sep 4294  ax-nul 4302  ax-pow 4341  ax-pr 4367  ax-un 4664
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2262  df-mo 2263  df-clab 2395  df-cleq 2401  df-clel 2404  df-nfc 2533  df-ne 2573  df-ral 2675  df-rex 2676  df-rab 2679  df-v 2922  df-sbc 3126  df-dif 3287  df-un 3289  df-in 3291  df-ss 3298  df-nul 3593  df-if 3704  df-sn 3784  df-pr 3785  df-op 3787  df-uni 3980  df-br 4177  df-opab 4231  df-mpt 4232  df-id 4462  df-po 4467  df-so 4468  df-xp 4847  df-rel 4848  df-cnv 4849  df-co 4850  df-dm 4851  df-rn 4852  df-iota 5381  df-fun 5419  df-fv 5425  df-1st 6312  df-2nd 6313
  Copyright terms: Public domain W3C validator