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

Theorem fpwwe 8526
Description: Given any function  F from the powerset of  A to  A, canth2 7263 gives that the function is not injective, but we can say rather more than that. There is a unique well-ordered subset  <. X , 
( W `  X
) >. which "agrees" with  F in the sense that each initial segment maps to its upper bound, and such that the entire set maps to an element of the set (so that it cannot be extended without losing the well-ordering). This theorem can be used to prove dfac8a 7916. Theorem 1.1 of [KanamoriPincus] p. 415. (Contributed by Mario Carneiro, 18-May-2015.)
Hypotheses
Ref Expression
fpwwe.1  |-  W  =  { <. x ,  r
>.  |  ( (
x  C_  A  /\  r  C_  ( x  X.  x ) )  /\  ( r  We  x  /\  A. y  e.  x  ( F `  ( `' r " { y } ) )  =  y ) ) }
fpwwe.2  |-  ( ph  ->  A  e.  _V )
fpwwe.3  |-  ( (
ph  /\  x  e.  ( ~P A  i^i  dom  card ) )  ->  ( F `  x )  e.  A )
fpwwe.4  |-  X  = 
U. dom  W
Assertion
Ref Expression
fpwwe  |-  ( ph  ->  ( ( Y W R  /\  ( F `
 Y )  e.  Y )  <->  ( Y  =  X  /\  R  =  ( W `  X
) ) ) )
Distinct variable groups:    x, r, A    y, r, F, x    ph, r, x, y    R, r, x, y    X, r, x, y    Y, r, x, y    W, r, x, y
Allowed substitution hint:    A( y)

Proof of Theorem fpwwe
Dummy variable  u is distinct from all other variables.
StepHypRef Expression
1 df-ov 6087 . . . . . 6  |-  ( Y ( F  o.  1st ) R )  =  ( ( F  o.  1st ) `  <. Y ,  R >. )
2 fo1st 6369 . . . . . . . 8  |-  1st : _V -onto-> _V
3 fofn 5658 . . . . . . . 8  |-  ( 1st
: _V -onto-> _V  ->  1st 
Fn  _V )
42, 3ax-mp 5 . . . . . . 7  |-  1st  Fn  _V
5 opex 4430 . . . . . . 7  |-  <. Y ,  R >.  e.  _V
6 fvco2 5801 . . . . . . 7  |-  ( ( 1st  Fn  _V  /\  <. Y ,  R >.  e. 
_V )  ->  (
( F  o.  1st ) `  <. Y ,  R >. )  =  ( F `  ( 1st `  <. Y ,  R >. ) ) )
74, 5, 6mp2an 655 . . . . . 6  |-  ( ( F  o.  1st ) `  <. Y ,  R >. )  =  ( F `
 ( 1st `  <. Y ,  R >. )
)
81, 7eqtri 2458 . . . . 5  |-  ( Y ( F  o.  1st ) R )  =  ( F `  ( 1st `  <. Y ,  R >. ) )
9 fpwwe.1 . . . . . . . . 9  |-  W  =  { <. x ,  r
>.  |  ( (
x  C_  A  /\  r  C_  ( x  X.  x ) )  /\  ( r  We  x  /\  A. y  e.  x  ( F `  ( `' r " { y } ) )  =  y ) ) }
109relopabi 5003 . . . . . . . 8  |-  Rel  W
11 brrelex12 4918 . . . . . . . 8  |-  ( ( Rel  W  /\  Y W R )  ->  ( Y  e.  _V  /\  R  e.  _V ) )
1210, 11mpan 653 . . . . . . 7  |-  ( Y W R  ->  ( Y  e.  _V  /\  R  e.  _V ) )
13 op1stg 6362 . . . . . . 7  |-  ( ( Y  e.  _V  /\  R  e.  _V )  ->  ( 1st `  <. Y ,  R >. )  =  Y )
1412, 13syl 16 . . . . . 6  |-  ( Y W R  ->  ( 1st `  <. Y ,  R >. )  =  Y )
1514fveq2d 5735 . . . . 5  |-  ( Y W R  ->  ( F `  ( 1st ` 
<. Y ,  R >. ) )  =  ( F `
 Y ) )
168, 15syl5eq 2482 . . . 4  |-  ( Y W R  ->  ( Y ( F  o.  1st ) R )  =  ( F `  Y
) )
1716eleq1d 2504 . . 3  |-  ( Y W R  ->  (
( Y ( F  o.  1st ) R )  e.  Y  <->  ( F `  Y )  e.  Y
) )
1817pm5.32i 620 . 2  |-  ( ( Y W R  /\  ( Y ( F  o.  1st ) R )  e.  Y )  <->  ( Y W R  /\  ( F `  Y )  e.  Y ) )
19 vex 2961 . . . . . . . . . 10  |-  r  e. 
_V
20 cnvexg 5408 . . . . . . . . . 10  |-  ( r  e.  _V  ->  `' r  e.  _V )
21 imaexg 5220 . . . . . . . . . 10  |-  ( `' r  e.  _V  ->  ( `' r " {
y } )  e. 
_V )
2219, 20, 21mp2b 10 . . . . . . . . 9  |-  ( `' r " { y } )  e.  _V
23 vex 2961 . . . . . . . . . . . 12  |-  u  e. 
_V
2419inex1 4347 . . . . . . . . . . . 12  |-  ( r  i^i  ( u  X.  u ) )  e. 
_V
2523, 24algrflem 6458 . . . . . . . . . . 11  |-  ( u ( F  o.  1st ) ( r  i^i  ( u  X.  u
) ) )  =  ( F `  u
)
26 fveq2 5731 . . . . . . . . . . 11  |-  ( u  =  ( `' r
" { y } )  ->  ( F `  u )  =  ( F `  ( `' r " { y } ) ) )
2725, 26syl5eq 2482 . . . . . . . . . 10  |-  ( u  =  ( `' r
" { y } )  ->  ( u
( F  o.  1st ) ( r  i^i  ( u  X.  u
) ) )  =  ( F `  ( `' r " {
y } ) ) )
2827eqeq1d 2446 . . . . . . . . 9  |-  ( u  =  ( `' r
" { y } )  ->  ( (
u ( F  o.  1st ) ( r  i^i  ( u  X.  u
) ) )  =  y  <->  ( F `  ( `' r " {
y } ) )  =  y ) )
2922, 28sbcie 3197 . . . . . . . 8  |-  ( [. ( `' r " {
y } )  /  u ]. ( u ( F  o.  1st )
( r  i^i  (
u  X.  u ) ) )  =  y  <-> 
( F `  ( `' r " {
y } ) )  =  y )
3029ralbii 2731 . . . . . . 7  |-  ( A. y  e.  x  [. ( `' r " {
y } )  /  u ]. ( u ( F  o.  1st )
( r  i^i  (
u  X.  u ) ) )  =  y  <->  A. y  e.  x  ( F `  ( `' r " { y } ) )  =  y )
3130anbi2i 677 . . . . . 6  |-  ( ( r  We  x  /\  A. y  e.  x  [. ( `' r " {
y } )  /  u ]. ( u ( F  o.  1st )
( r  i^i  (
u  X.  u ) ) )  =  y )  <->  ( r  We  x  /\  A. y  e.  x  ( F `  ( `' r " { y } ) )  =  y ) )
3231anbi2i 677 . . . . 5  |-  ( ( ( x  C_  A  /\  r  C_  ( x  X.  x ) )  /\  ( r  We  x  /\  A. y  e.  x  [. ( `' r " { y } )  /  u ]. ( u ( F  o.  1st ) ( r  i^i  ( u  X.  u ) ) )  =  y ) )  <->  ( ( x 
C_  A  /\  r  C_  ( x  X.  x
) )  /\  (
r  We  x  /\  A. y  e.  x  ( F `  ( `' r " { y } ) )  =  y ) ) )
3332opabbii 4275 . . . 4  |-  { <. x ,  r >.  |  ( ( x  C_  A  /\  r  C_  ( x  X.  x ) )  /\  ( r  We  x  /\  A. y  e.  x  [. ( `' r " { y } )  /  u ]. ( u ( F  o.  1st ) ( r  i^i  ( u  X.  u ) ) )  =  y ) ) }  =  { <. x ,  r >.  |  ( ( x 
C_  A  /\  r  C_  ( x  X.  x
) )  /\  (
r  We  x  /\  A. y  e.  x  ( F `  ( `' r " { y } ) )  =  y ) ) }
349, 33eqtr4i 2461 . . 3  |-  W  =  { <. x ,  r
>.  |  ( (
x  C_  A  /\  r  C_  ( x  X.  x ) )  /\  ( r  We  x  /\  A. y  e.  x  [. ( `' r " { y } )  /  u ]. (
u ( F  o.  1st ) ( r  i^i  ( u  X.  u
) ) )  =  y ) ) }
35 fpwwe.2 . . 3  |-  ( ph  ->  A  e.  _V )
36 vex 2961 . . . . 5  |-  x  e. 
_V
3736, 19algrflem 6458 . . . 4  |-  ( x ( F  o.  1st ) r )  =  ( F `  x
)
38 simp1 958 . . . . . . 7  |-  ( ( x  C_  A  /\  r  C_  ( x  X.  x )  /\  r  We  x )  ->  x  C_  A )
3936elpw 3807 . . . . . . 7  |-  ( x  e.  ~P A  <->  x  C_  A
)
4038, 39sylibr 205 . . . . . 6  |-  ( ( x  C_  A  /\  r  C_  ( x  X.  x )  /\  r  We  x )  ->  x  e.  ~P A )
41 19.8a 1763 . . . . . . . 8  |-  ( r  We  x  ->  E. r 
r  We  x )
42413ad2ant3 981 . . . . . . 7  |-  ( ( x  C_  A  /\  r  C_  ( x  X.  x )  /\  r  We  x )  ->  E. r 
r  We  x )
43 ween 7921 . . . . . . 7  |-  ( x  e.  dom  card  <->  E. r 
r  We  x )
4442, 43sylibr 205 . . . . . 6  |-  ( ( x  C_  A  /\  r  C_  ( x  X.  x )  /\  r  We  x )  ->  x  e.  dom  card )
45 elin 3532 . . . . . 6  |-  ( x  e.  ( ~P A  i^i  dom  card )  <->  ( x  e.  ~P A  /\  x  e.  dom  card ) )
4640, 44, 45sylanbrc 647 . . . . 5  |-  ( ( x  C_  A  /\  r  C_  ( x  X.  x )  /\  r  We  x )  ->  x  e.  ( ~P A  i^i  dom 
card ) )
47 fpwwe.3 . . . . 5  |-  ( (
ph  /\  x  e.  ( ~P A  i^i  dom  card ) )  ->  ( F `  x )  e.  A )
4846, 47sylan2 462 . . . 4  |-  ( (
ph  /\  ( x  C_  A  /\  r  C_  ( x  X.  x
)  /\  r  We  x ) )  -> 
( F `  x
)  e.  A )
4937, 48syl5eqel 2522 . . 3  |-  ( (
ph  /\  ( x  C_  A  /\  r  C_  ( x  X.  x
)  /\  r  We  x ) )  -> 
( x ( F  o.  1st ) r )  e.  A )
50 fpwwe.4 . . 3  |-  X  = 
U. dom  W
5134, 35, 49, 50fpwwe2 8523 . 2  |-  ( ph  ->  ( ( Y W R  /\  ( Y ( F  o.  1st ) R )  e.  Y
)  <->  ( Y  =  X  /\  R  =  ( W `  X
) ) ) )
5218, 51syl5bbr 252 1  |-  ( ph  ->  ( ( Y W R  /\  ( F `
 Y )  e.  Y )  <->  ( Y  =  X  /\  R  =  ( W `  X
) ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 178    /\ wa 360    /\ w3a 937   E.wex 1551    = wceq 1653    e. wcel 1726   A.wral 2707   _Vcvv 2958   [.wsbc 3163    i^i cin 3321    C_ wss 3322   ~Pcpw 3801   {csn 3816   <.cop 3819   U.cuni 4017   class class class wbr 4215   {copab 4268    We wwe 4543    X. cxp 4879   `'ccnv 4880   dom cdm 4881   "cima 4884    o. ccom 4885   Rel wrel 4886    Fn wfn 5452   -onto->wfo 5455   ` cfv 5457  (class class class)co 6084   1stc1st 6350   cardccrd 7827
This theorem is referenced by:  canth4  8527  canthnumlem  8528  canthp1lem2  8533
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-13 1728  ax-14 1730  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419  ax-rep 4323  ax-sep 4333  ax-nul 4341  ax-pow 4380  ax-pr 4406  ax-un 4704
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 938  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-eu 2287  df-mo 2288  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-ral 2712  df-rex 2713  df-reu 2714  df-rmo 2715  df-rab 2716  df-v 2960  df-sbc 3164  df-csb 3254  df-dif 3325  df-un 3327  df-in 3329  df-ss 3336  df-pss 3338  df-nul 3631  df-if 3742  df-pw 3803  df-sn 3822  df-pr 3823  df-tp 3824  df-op 3825  df-uni 4018  df-int 4053  df-iun 4097  df-br 4216  df-opab 4270  df-mpt 4271  df-tr 4306  df-eprel 4497  df-id 4501  df-po 4506  df-so 4507  df-fr 4544  df-se 4545  df-we 4546  df-ord 4587  df-on 4588  df-lim 4589  df-suc 4590  df-xp 4887  df-rel 4888  df-cnv 4889  df-co 4890  df-dm 4891  df-rn 4892  df-res 4893  df-ima 4894  df-iota 5421  df-fun 5459  df-fn 5460  df-f 5461  df-f1 5462  df-fo 5463  df-f1o 5464  df-fv 5465  df-isom 5466  df-ov 6087  df-1st 6352  df-riota 6552  df-recs 6636  df-en 7113  df-oi 7482  df-card 7831
  Copyright terms: Public domain W3C validator