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

Theorem dnnumch1 29538
Description: Define an enumeration of a set from a choice function; second part, it restricts to a bijection. EDITORIAL: overlaps dfac8a 8304 (Contributed by Stefan O'Rear, 18-Jan-2015.)
Hypotheses
Ref Expression
dnnumch.f  |-  F  = recs ( ( z  e. 
_V  |->  ( G `  ( A  \  ran  z
) ) ) )
dnnumch.a  |-  ( ph  ->  A  e.  V )
dnnumch.g  |-  ( ph  ->  A. y  e.  ~P  A ( y  =/=  (/)  ->  ( G `  y )  e.  y ) )
Assertion
Ref Expression
dnnumch1  |-  ( ph  ->  E. x  e.  On  ( F  |`  x ) : x -1-1-onto-> A )
Distinct variable groups:    x, F, y    x, G, y, z   
x, A, y, z    ph, x
Allowed substitution hints:    ph( y, z)    F( z)    V( x, y, z)

Proof of Theorem dnnumch1
Dummy variable  w is distinct from all other variables.
StepHypRef Expression
1 dnnumch.a . 2  |-  ( ph  ->  A  e.  V )
2 recsval 6963 . . . . . . 7  |-  ( x  e.  On  ->  (recs ( ( z  e. 
_V  |->  ( G `  ( A  \  ran  z
) ) ) ) `
 x )  =  ( ( z  e. 
_V  |->  ( G `  ( A  \  ran  z
) ) ) `  (recs ( ( z  e. 
_V  |->  ( G `  ( A  \  ran  z
) ) ) )  |`  x ) ) )
3 dnnumch.f . . . . . . . 8  |-  F  = recs ( ( z  e. 
_V  |->  ( G `  ( A  \  ran  z
) ) ) )
43fveq1i 5793 . . . . . . 7  |-  ( F `
 x )  =  (recs ( ( z  e.  _V  |->  ( G `
 ( A  \  ran  z ) ) ) ) `  x )
53tfr1 6959 . . . . . . . . . . 11  |-  F  Fn  On
6 fnfun 5609 . . . . . . . . . . 11  |-  ( F  Fn  On  ->  Fun  F )
75, 6ax-mp 5 . . . . . . . . . 10  |-  Fun  F
8 vex 3074 . . . . . . . . . 10  |-  x  e. 
_V
9 resfunexg 6045 . . . . . . . . . 10  |-  ( ( Fun  F  /\  x  e.  _V )  ->  ( F  |`  x )  e. 
_V )
107, 8, 9mp2an 672 . . . . . . . . 9  |-  ( F  |`  x )  e.  _V
11 rneq 5166 . . . . . . . . . . . . 13  |-  ( w  =  ( F  |`  x )  ->  ran  w  =  ran  ( F  |`  x ) )
12 df-ima 4954 . . . . . . . . . . . . 13  |-  ( F
" x )  =  ran  ( F  |`  x )
1311, 12syl6eqr 2510 . . . . . . . . . . . 12  |-  ( w  =  ( F  |`  x )  ->  ran  w  =  ( F " x ) )
1413difeq2d 3575 . . . . . . . . . . 11  |-  ( w  =  ( F  |`  x )  ->  ( A  \  ran  w )  =  ( A  \ 
( F " x
) ) )
1514fveq2d 5796 . . . . . . . . . 10  |-  ( w  =  ( F  |`  x )  ->  ( G `  ( A  \  ran  w ) )  =  ( G `  ( A  \  ( F " x ) ) ) )
16 rneq 5166 . . . . . . . . . . . . 13  |-  ( z  =  w  ->  ran  z  =  ran  w )
1716difeq2d 3575 . . . . . . . . . . . 12  |-  ( z  =  w  ->  ( A  \  ran  z )  =  ( A  \  ran  w ) )
1817fveq2d 5796 . . . . . . . . . . 11  |-  ( z  =  w  ->  ( G `  ( A  \  ran  z ) )  =  ( G `  ( A  \  ran  w
) ) )
1918cbvmptv 4484 . . . . . . . . . 10  |-  ( z  e.  _V  |->  ( G `
 ( A  \  ran  z ) ) )  =  ( w  e. 
_V  |->  ( G `  ( A  \  ran  w
) ) )
20 fvex 5802 . . . . . . . . . 10  |-  ( G `
 ( A  \ 
( F " x
) ) )  e. 
_V
2115, 19, 20fvmpt 5876 . . . . . . . . 9  |-  ( ( F  |`  x )  e.  _V  ->  ( (
z  e.  _V  |->  ( G `  ( A 
\  ran  z )
) ) `  ( F  |`  x ) )  =  ( G `  ( A  \  ( F " x ) ) ) )
2210, 21ax-mp 5 . . . . . . . 8  |-  ( ( z  e.  _V  |->  ( G `  ( A 
\  ran  z )
) ) `  ( F  |`  x ) )  =  ( G `  ( A  \  ( F " x ) ) )
233reseq1i 5207 . . . . . . . . 9  |-  ( F  |`  x )  =  (recs ( ( z  e. 
_V  |->  ( G `  ( A  \  ran  z
) ) ) )  |`  x )
2423fveq2i 5795 . . . . . . . 8  |-  ( ( z  e.  _V  |->  ( G `  ( A 
\  ran  z )
) ) `  ( F  |`  x ) )  =  ( ( z  e.  _V  |->  ( G `
 ( A  \  ran  z ) ) ) `
 (recs ( ( z  e.  _V  |->  ( G `  ( A 
\  ran  z )
) ) )  |`  x ) )
2522, 24eqtr3i 2482 . . . . . . 7  |-  ( G `
 ( A  \ 
( F " x
) ) )  =  ( ( z  e. 
_V  |->  ( G `  ( A  \  ran  z
) ) ) `  (recs ( ( z  e. 
_V  |->  ( G `  ( A  \  ran  z
) ) ) )  |`  x ) )
262, 4, 253eqtr4g 2517 . . . . . 6  |-  ( x  e.  On  ->  ( F `  x )  =  ( G `  ( A  \  ( F " x ) ) ) )
2726ad2antlr 726 . . . . 5  |-  ( ( ( ph  /\  x  e.  On )  /\  ( A  \  ( F "
x ) )  =/=  (/) )  ->  ( F `
 x )  =  ( G `  ( A  \  ( F "
x ) ) ) )
28 difss 3584 . . . . . . . . 9  |-  ( A 
\  ( F "
x ) )  C_  A
29 elpw2g 4556 . . . . . . . . . 10  |-  ( A  e.  V  ->  (
( A  \  ( F " x ) )  e.  ~P A  <->  ( A  \  ( F " x
) )  C_  A
) )
301, 29syl 16 . . . . . . . . 9  |-  ( ph  ->  ( ( A  \ 
( F " x
) )  e.  ~P A 
<->  ( A  \  ( F " x ) ) 
C_  A ) )
3128, 30mpbiri 233 . . . . . . . 8  |-  ( ph  ->  ( A  \  ( F " x ) )  e.  ~P A )
32 dnnumch.g . . . . . . . 8  |-  ( ph  ->  A. y  e.  ~P  A ( y  =/=  (/)  ->  ( G `  y )  e.  y ) )
33 neeq1 2729 . . . . . . . . . 10  |-  ( y  =  ( A  \ 
( F " x
) )  ->  (
y  =/=  (/)  <->  ( A  \  ( F " x
) )  =/=  (/) ) )
34 fveq2 5792 . . . . . . . . . . 11  |-  ( y  =  ( A  \ 
( F " x
) )  ->  ( G `  y )  =  ( G `  ( A  \  ( F " x ) ) ) )
35 id 22 . . . . . . . . . . 11  |-  ( y  =  ( A  \ 
( F " x
) )  ->  y  =  ( A  \ 
( F " x
) ) )
3634, 35eleq12d 2533 . . . . . . . . . 10  |-  ( y  =  ( A  \ 
( F " x
) )  ->  (
( G `  y
)  e.  y  <->  ( G `  ( A  \  ( F " x ) ) )  e.  ( A 
\  ( F "
x ) ) ) )
3733, 36imbi12d 320 . . . . . . . . 9  |-  ( y  =  ( A  \ 
( F " x
) )  ->  (
( y  =/=  (/)  ->  ( G `  y )  e.  y )  <->  ( ( A  \  ( F "
x ) )  =/=  (/)  ->  ( G `  ( A  \  ( F " x ) ) )  e.  ( A 
\  ( F "
x ) ) ) ) )
3837rspcva 3170 . . . . . . . 8  |-  ( ( ( A  \  ( F " x ) )  e.  ~P A  /\  A. y  e.  ~P  A
( y  =/=  (/)  ->  ( G `  y )  e.  y ) )  -> 
( ( A  \ 
( F " x
) )  =/=  (/)  ->  ( G `  ( A  \  ( F " x
) ) )  e.  ( A  \  ( F " x ) ) ) )
3931, 32, 38syl2anc 661 . . . . . . 7  |-  ( ph  ->  ( ( A  \ 
( F " x
) )  =/=  (/)  ->  ( G `  ( A  \  ( F " x
) ) )  e.  ( A  \  ( F " x ) ) ) )
4039adantr 465 . . . . . 6  |-  ( (
ph  /\  x  e.  On )  ->  ( ( A  \  ( F
" x ) )  =/=  (/)  ->  ( G `  ( A  \  ( F " x ) ) )  e.  ( A 
\  ( F "
x ) ) ) )
4140imp 429 . . . . 5  |-  ( ( ( ph  /\  x  e.  On )  /\  ( A  \  ( F "
x ) )  =/=  (/) )  ->  ( G `
 ( A  \ 
( F " x
) ) )  e.  ( A  \  ( F " x ) ) )
4227, 41eqeltrd 2539 . . . 4  |-  ( ( ( ph  /\  x  e.  On )  /\  ( A  \  ( F "
x ) )  =/=  (/) )  ->  ( F `
 x )  e.  ( A  \  ( F " x ) ) )
4342ex 434 . . 3  |-  ( (
ph  /\  x  e.  On )  ->  ( ( A  \  ( F
" x ) )  =/=  (/)  ->  ( F `  x )  e.  ( A  \  ( F
" x ) ) ) )
4443ralrimiva 2825 . 2  |-  ( ph  ->  A. x  e.  On  ( ( A  \ 
( F " x
) )  =/=  (/)  ->  ( F `  x )  e.  ( A  \  ( F " x ) ) ) )
455tz7.49c 7004 . 2  |-  ( ( A  e.  V  /\  A. x  e.  On  (
( A  \  ( F " x ) )  =/=  (/)  ->  ( F `  x )  e.  ( A  \  ( F
" x ) ) ) )  ->  E. x  e.  On  ( F  |`  x ) : x -1-1-onto-> A )
461, 44, 45syl2anc 661 1  |-  ( ph  ->  E. x  e.  On  ( F  |`  x ) : x -1-1-onto-> A )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1370    e. wcel 1758    =/= wne 2644   A.wral 2795   E.wrex 2796   _Vcvv 3071    \ cdif 3426    C_ wss 3429   (/)c0 3738   ~Pcpw 3961    |-> cmpt 4451   Oncon0 4820   ran crn 4942    |` cres 4943   "cima 4944   Fun wfun 5513    Fn wfn 5514   -1-1-onto->wf1o 5518   ` cfv 5519  recscrecs 6934
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-8 1760  ax-9 1762  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1952  ax-ext 2430  ax-rep 4504  ax-sep 4514  ax-nul 4522  ax-pow 4571  ax-pr 4632  ax-un 6475
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 2264  df-mo 2265  df-clab 2437  df-cleq 2443  df-clel 2446  df-nfc 2601  df-ne 2646  df-ral 2800  df-rex 2801  df-reu 2802  df-rab 2804  df-v 3073  df-sbc 3288  df-csb 3390  df-dif 3432  df-un 3434  df-in 3436  df-ss 3443  df-pss 3445  df-nul 3739  df-if 3893  df-pw 3963  df-sn 3979  df-pr 3981  df-tp 3983  df-op 3985  df-uni 4193  df-int 4230  df-iun 4274  df-br 4394  df-opab 4452  df-mpt 4453  df-tr 4487  df-eprel 4733  df-id 4737  df-po 4742  df-so 4743  df-fr 4780  df-we 4782  df-ord 4823  df-on 4824  df-suc 4826  df-xp 4947  df-rel 4948  df-cnv 4949  df-co 4950  df-dm 4951  df-rn 4952  df-res 4953  df-ima 4954  df-iota 5482  df-fun 5521  df-fn 5522  df-f 5523  df-f1 5524  df-fo 5525  df-f1o 5526  df-fv 5527  df-recs 6935
This theorem is referenced by:  dnnumch2  29539
  Copyright terms: Public domain W3C validator