Users' Mathboxes Mathbox for Stefan O'Rear < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fnwe2lem3 Structured version   Unicode version

Theorem fnwe2lem3 29576
Description: Lemma for fnwe2 29577. Trichotomy. (Contributed by Stefan O'Rear, 19-Jan-2015.)
Hypotheses
Ref Expression
fnwe2.su  |-  ( z  =  ( F `  x )  ->  S  =  U )
fnwe2.t  |-  T  =  { <. x ,  y
>.  |  ( ( F `  x ) R ( F `  y )  \/  (
( F `  x
)  =  ( F `
 y )  /\  x U y ) ) }
fnwe2.s  |-  ( (
ph  /\  x  e.  A )  ->  U  We  { y  e.  A  |  ( F `  y )  =  ( F `  x ) } )
fnwe2.f  |-  ( ph  ->  ( F  |`  A ) : A --> B )
fnwe2.r  |-  ( ph  ->  R  We  B )
fnwe2lem3.a  |-  ( ph  ->  a  e.  A )
fnwe2lem3.b  |-  ( ph  ->  b  e.  A )
Assertion
Ref Expression
fnwe2lem3  |-  ( ph  ->  ( a T b  \/  a  =  b  \/  b T a ) )
Distinct variable groups:    y, U, z, a, b    x, S, y, a, b    x, R, y, a, b    ph, x, y, z    x, A, y, z, a, b    x, F, y, z, a, b    T, a, b    B, a, b
Allowed substitution hints:    ph( a, b)    B( x, y, z)    R( z)    S( z)    T( x, y, z)    U( x)

Proof of Theorem fnwe2lem3
StepHypRef Expression
1 fnwe2.r . . . 4  |-  ( ph  ->  R  We  B )
2 weso 4822 . . . 4  |-  ( R  We  B  ->  R  Or  B )
31, 2syl 16 . . 3  |-  ( ph  ->  R  Or  B )
4 fnwe2lem3.a . . . . 5  |-  ( ph  ->  a  e.  A )
5 fvres 5816 . . . . 5  |-  ( a  e.  A  ->  (
( F  |`  A ) `
 a )  =  ( F `  a
) )
64, 5syl 16 . . . 4  |-  ( ph  ->  ( ( F  |`  A ) `  a
)  =  ( F `
 a ) )
7 fnwe2.f . . . . 5  |-  ( ph  ->  ( F  |`  A ) : A --> B )
87, 4ffvelrnd 5956 . . . 4  |-  ( ph  ->  ( ( F  |`  A ) `  a
)  e.  B )
96, 8eqeltrrd 2543 . . 3  |-  ( ph  ->  ( F `  a
)  e.  B )
10 fnwe2lem3.b . . . . 5  |-  ( ph  ->  b  e.  A )
11 fvres 5816 . . . . 5  |-  ( b  e.  A  ->  (
( F  |`  A ) `
 b )  =  ( F `  b
) )
1210, 11syl 16 . . . 4  |-  ( ph  ->  ( ( F  |`  A ) `  b
)  =  ( F `
 b ) )
137, 10ffvelrnd 5956 . . . 4  |-  ( ph  ->  ( ( F  |`  A ) `  b
)  e.  B )
1412, 13eqeltrrd 2543 . . 3  |-  ( ph  ->  ( F `  b
)  e.  B )
15 solin 4775 . . 3  |-  ( ( R  Or  B  /\  ( ( F `  a )  e.  B  /\  ( F `  b
)  e.  B ) )  ->  ( ( F `  a ) R ( F `  b )  \/  ( F `  a )  =  ( F `  b )  \/  ( F `  b ) R ( F `  a ) ) )
163, 9, 14, 15syl12anc 1217 . 2  |-  ( ph  ->  ( ( F `  a ) R ( F `  b )  \/  ( F `  a )  =  ( F `  b )  \/  ( F `  b ) R ( F `  a ) ) )
17 orc 385 . . . . . 6  |-  ( ( F `  a ) R ( F `  b )  ->  (
( F `  a
) R ( F `
 b )  \/  ( ( F `  a )  =  ( F `  b )  /\  a [_ ( F `  a )  /  z ]_ S
b ) ) )
1817adantl 466 . . . . 5  |-  ( (
ph  /\  ( F `  a ) R ( F `  b ) )  ->  ( ( F `  a ) R ( F `  b )  \/  (
( F `  a
)  =  ( F `
 b )  /\  a [_ ( F `  a )  /  z ]_ S b ) ) )
19 fnwe2.su . . . . . 6  |-  ( z  =  ( F `  x )  ->  S  =  U )
20 fnwe2.t . . . . . 6  |-  T  =  { <. x ,  y
>.  |  ( ( F `  x ) R ( F `  y )  \/  (
( F `  x
)  =  ( F `
 y )  /\  x U y ) ) }
2119, 20fnwe2val 29573 . . . . 5  |-  ( a T b  <->  ( ( F `  a ) R ( F `  b )  \/  (
( F `  a
)  =  ( F `
 b )  /\  a [_ ( F `  a )  /  z ]_ S b ) ) )
2218, 21sylibr 212 . . . 4  |-  ( (
ph  /\  ( F `  a ) R ( F `  b ) )  ->  a T
b )
23 3mix1 1157 . . . 4  |-  ( a T b  ->  (
a T b  \/  a  =  b  \/  b T a ) )
2422, 23syl 16 . . 3  |-  ( (
ph  /\  ( F `  a ) R ( F `  b ) )  ->  ( a T b  \/  a  =  b  \/  b T a ) )
25 fnwe2.s . . . . . . . . 9  |-  ( (
ph  /\  x  e.  A )  ->  U  We  { y  e.  A  |  ( F `  y )  =  ( F `  x ) } )
2619, 20, 25fnwe2lem1 29574 . . . . . . . 8  |-  ( (
ph  /\  a  e.  A )  ->  [_ ( F `  a )  /  z ]_ S  We  { y  e.  A  |  ( F `  y )  =  ( F `  a ) } )
274, 26mpdan 668 . . . . . . 7  |-  ( ph  ->  [_ ( F `  a )  /  z ]_ S  We  { y  e.  A  |  ( F `  y )  =  ( F `  a ) } )
28 weso 4822 . . . . . . 7  |-  ( [_ ( F `  a )  /  z ]_ S  We  { y  e.  A  |  ( F `  y )  =  ( F `  a ) }  ->  [_ ( F `
 a )  / 
z ]_ S  Or  {
y  e.  A  | 
( F `  y
)  =  ( F `
 a ) } )
2927, 28syl 16 . . . . . 6  |-  ( ph  ->  [_ ( F `  a )  /  z ]_ S  Or  { y  e.  A  |  ( F `  y )  =  ( F `  a ) } )
3029adantr 465 . . . . 5  |-  ( (
ph  /\  ( F `  a )  =  ( F `  b ) )  ->  [_ ( F `
 a )  / 
z ]_ S  Or  {
y  e.  A  | 
( F `  y
)  =  ( F `
 a ) } )
314adantr 465 . . . . . 6  |-  ( (
ph  /\  ( F `  a )  =  ( F `  b ) )  ->  a  e.  A )
32 eqidd 2455 . . . . . 6  |-  ( (
ph  /\  ( F `  a )  =  ( F `  b ) )  ->  ( F `  a )  =  ( F `  a ) )
33 fveq2 5802 . . . . . . . 8  |-  ( y  =  a  ->  ( F `  y )  =  ( F `  a ) )
3433eqeq1d 2456 . . . . . . 7  |-  ( y  =  a  ->  (
( F `  y
)  =  ( F `
 a )  <->  ( F `  a )  =  ( F `  a ) ) )
3534elrab 3224 . . . . . 6  |-  ( a  e.  { y  e.  A  |  ( F `
 y )  =  ( F `  a
) }  <->  ( a  e.  A  /\  ( F `  a )  =  ( F `  a ) ) )
3631, 32, 35sylanbrc 664 . . . . 5  |-  ( (
ph  /\  ( F `  a )  =  ( F `  b ) )  ->  a  e.  { y  e.  A  | 
( F `  y
)  =  ( F `
 a ) } )
3710adantr 465 . . . . . 6  |-  ( (
ph  /\  ( F `  a )  =  ( F `  b ) )  ->  b  e.  A )
38 simpr 461 . . . . . . 7  |-  ( (
ph  /\  ( F `  a )  =  ( F `  b ) )  ->  ( F `  a )  =  ( F `  b ) )
3938eqcomd 2462 . . . . . 6  |-  ( (
ph  /\  ( F `  a )  =  ( F `  b ) )  ->  ( F `  b )  =  ( F `  a ) )
40 fveq2 5802 . . . . . . . 8  |-  ( y  =  b  ->  ( F `  y )  =  ( F `  b ) )
4140eqeq1d 2456 . . . . . . 7  |-  ( y  =  b  ->  (
( F `  y
)  =  ( F `
 a )  <->  ( F `  b )  =  ( F `  a ) ) )
4241elrab 3224 . . . . . 6  |-  ( b  e.  { y  e.  A  |  ( F `
 y )  =  ( F `  a
) }  <->  ( b  e.  A  /\  ( F `  b )  =  ( F `  a ) ) )
4337, 39, 42sylanbrc 664 . . . . 5  |-  ( (
ph  /\  ( F `  a )  =  ( F `  b ) )  ->  b  e.  { y  e.  A  | 
( F `  y
)  =  ( F `
 a ) } )
44 solin 4775 . . . . 5  |-  ( (
[_ ( F `  a )  /  z ]_ S  Or  { y  e.  A  |  ( F `  y )  =  ( F `  a ) }  /\  ( a  e.  {
y  e.  A  | 
( F `  y
)  =  ( F `
 a ) }  /\  b  e.  {
y  e.  A  | 
( F `  y
)  =  ( F `
 a ) } ) )  ->  (
a [_ ( F `  a )  /  z ]_ S b  \/  a  =  b  \/  b [_ ( F `  a
)  /  z ]_ S a ) )
4530, 36, 43, 44syl12anc 1217 . . . 4  |-  ( (
ph  /\  ( F `  a )  =  ( F `  b ) )  ->  ( a [_ ( F `  a
)  /  z ]_ S b  \/  a  =  b  \/  b [_ ( F `  a
)  /  z ]_ S a ) )
46 simplr 754 . . . . . . . . 9  |-  ( ( ( ph  /\  ( F `  a )  =  ( F `  b ) )  /\  a [_ ( F `  a )  /  z ]_ S b )  -> 
( F `  a
)  =  ( F `
 b ) )
47 simpr 461 . . . . . . . . 9  |-  ( ( ( ph  /\  ( F `  a )  =  ( F `  b ) )  /\  a [_ ( F `  a )  /  z ]_ S b )  -> 
a [_ ( F `  a )  /  z ]_ S b )
4846, 47jca 532 . . . . . . . 8  |-  ( ( ( ph  /\  ( F `  a )  =  ( F `  b ) )  /\  a [_ ( F `  a )  /  z ]_ S b )  -> 
( ( F `  a )  =  ( F `  b )  /\  a [_ ( F `  a )  /  z ]_ S
b ) )
4948olcd 393 . . . . . . 7  |-  ( ( ( ph  /\  ( F `  a )  =  ( F `  b ) )  /\  a [_ ( F `  a )  /  z ]_ S b )  -> 
( ( F `  a ) R ( F `  b )  \/  ( ( F `
 a )  =  ( F `  b
)  /\  a [_ ( F `  a )  /  z ]_ S
b ) ) )
5049, 21sylibr 212 . . . . . 6  |-  ( ( ( ph  /\  ( F `  a )  =  ( F `  b ) )  /\  a [_ ( F `  a )  /  z ]_ S b )  -> 
a T b )
5150, 23syl 16 . . . . 5  |-  ( ( ( ph  /\  ( F `  a )  =  ( F `  b ) )  /\  a [_ ( F `  a )  /  z ]_ S b )  -> 
( a T b  \/  a  =  b  \/  b T a ) )
52 3mix2 1158 . . . . . 6  |-  ( a  =  b  ->  (
a T b  \/  a  =  b  \/  b T a ) )
5352adantl 466 . . . . 5  |-  ( ( ( ph  /\  ( F `  a )  =  ( F `  b ) )  /\  a  =  b )  ->  ( a T b  \/  a  =  b  \/  b T a ) )
54 simplr 754 . . . . . . . . . 10  |-  ( ( ( ph  /\  ( F `  a )  =  ( F `  b ) )  /\  b [_ ( F `  a )  /  z ]_ S a )  -> 
( F `  a
)  =  ( F `
 b ) )
5554eqcomd 2462 . . . . . . . . 9  |-  ( ( ( ph  /\  ( F `  a )  =  ( F `  b ) )  /\  b [_ ( F `  a )  /  z ]_ S a )  -> 
( F `  b
)  =  ( F `
 a ) )
56 csbeq1 3401 . . . . . . . . . . . 12  |-  ( ( F `  a )  =  ( F `  b )  ->  [_ ( F `  a )  /  z ]_ S  =  [_ ( F `  b )  /  z ]_ S )
5756adantl 466 . . . . . . . . . . 11  |-  ( (
ph  /\  ( F `  a )  =  ( F `  b ) )  ->  [_ ( F `
 a )  / 
z ]_ S  =  [_ ( F `  b )  /  z ]_ S
)
5857breqd 4414 . . . . . . . . . 10  |-  ( (
ph  /\  ( F `  a )  =  ( F `  b ) )  ->  ( b [_ ( F `  a
)  /  z ]_ S a  <->  b [_ ( F `  b )  /  z ]_ S
a ) )
5958biimpa 484 . . . . . . . . 9  |-  ( ( ( ph  /\  ( F `  a )  =  ( F `  b ) )  /\  b [_ ( F `  a )  /  z ]_ S a )  -> 
b [_ ( F `  b )  /  z ]_ S a )
6055, 59jca 532 . . . . . . . 8  |-  ( ( ( ph  /\  ( F `  a )  =  ( F `  b ) )  /\  b [_ ( F `  a )  /  z ]_ S a )  -> 
( ( F `  b )  =  ( F `  a )  /\  b [_ ( F `  b )  /  z ]_ S
a ) )
6160olcd 393 . . . . . . 7  |-  ( ( ( ph  /\  ( F `  a )  =  ( F `  b ) )  /\  b [_ ( F `  a )  /  z ]_ S a )  -> 
( ( F `  b ) R ( F `  a )  \/  ( ( F `
 b )  =  ( F `  a
)  /\  b [_ ( F `  b )  /  z ]_ S
a ) ) )
6219, 20fnwe2val 29573 . . . . . . 7  |-  ( b T a  <->  ( ( F `  b ) R ( F `  a )  \/  (
( F `  b
)  =  ( F `
 a )  /\  b [_ ( F `  b )  /  z ]_ S a ) ) )
6361, 62sylibr 212 . . . . . 6  |-  ( ( ( ph  /\  ( F `  a )  =  ( F `  b ) )  /\  b [_ ( F `  a )  /  z ]_ S a )  -> 
b T a )
64 3mix3 1159 . . . . . 6  |-  ( b T a  ->  (
a T b  \/  a  =  b  \/  b T a ) )
6563, 64syl 16 . . . . 5  |-  ( ( ( ph  /\  ( F `  a )  =  ( F `  b ) )  /\  b [_ ( F `  a )  /  z ]_ S a )  -> 
( a T b  \/  a  =  b  \/  b T a ) )
6651, 53, 653jaodan 1285 . . . 4  |-  ( ( ( ph  /\  ( F `  a )  =  ( F `  b ) )  /\  ( a [_ ( F `  a )  /  z ]_ S
b  \/  a  =  b  \/  b [_ ( F `  a )  /  z ]_ S
a ) )  -> 
( a T b  \/  a  =  b  \/  b T a ) )
6745, 66mpdan 668 . . 3  |-  ( (
ph  /\  ( F `  a )  =  ( F `  b ) )  ->  ( a T b  \/  a  =  b  \/  b T a ) )
68 orc 385 . . . . . 6  |-  ( ( F `  b ) R ( F `  a )  ->  (
( F `  b
) R ( F `
 a )  \/  ( ( F `  b )  =  ( F `  a )  /\  b [_ ( F `  b )  /  z ]_ S
a ) ) )
6968adantl 466 . . . . 5  |-  ( (
ph  /\  ( F `  b ) R ( F `  a ) )  ->  ( ( F `  b ) R ( F `  a )  \/  (
( F `  b
)  =  ( F `
 a )  /\  b [_ ( F `  b )  /  z ]_ S a ) ) )
7069, 62sylibr 212 . . . 4  |-  ( (
ph  /\  ( F `  b ) R ( F `  a ) )  ->  b T
a )
7170, 64syl 16 . . 3  |-  ( (
ph  /\  ( F `  b ) R ( F `  a ) )  ->  ( a T b  \/  a  =  b  \/  b T a ) )
7224, 67, 713jaodan 1285 . 2  |-  ( (
ph  /\  ( ( F `  a ) R ( F `  b )  \/  ( F `  a )  =  ( F `  b )  \/  ( F `  b ) R ( F `  a ) ) )  ->  ( a T b  \/  a  =  b  \/  b T a ) )
7316, 72mpdan 668 1  |-  ( ph  ->  ( a T b  \/  a  =  b  \/  b T a ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    \/ wo 368    /\ wa 369    \/ w3o 964    = wceq 1370    e. wcel 1758   {crab 2803   [_csb 3398   class class class wbr 4403   {copab 4460    Or wor 4751    We wwe 4789    |` cres 4953   -->wf 5525   ` cfv 5529
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-9 1762  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1955  ax-ext 2432  ax-sep 4524  ax-nul 4532  ax-pr 4642
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2266  df-mo 2267  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ne 2650  df-ral 2804  df-rex 2805  df-rab 2808  df-v 3080  df-sbc 3295  df-csb 3399  df-dif 3442  df-un 3444  df-in 3446  df-ss 3453  df-nul 3749  df-if 3903  df-sn 3989  df-pr 3991  df-op 3995  df-uni 4203  df-br 4404  df-opab 4462  df-id 4747  df-po 4752  df-so 4753  df-fr 4790  df-we 4792  df-xp 4957  df-rel 4958  df-cnv 4959  df-co 4960  df-dm 4961  df-rn 4962  df-res 4963  df-iota 5492  df-fun 5531  df-fn 5532  df-f 5533  df-fv 5537
This theorem is referenced by:  fnwe2  29577
  Copyright terms: Public domain W3C validator