ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ennnfonelemrn Unicode version

Theorem ennnfonelemrn 12374
Description: Lemma for ennnfone 12380. 
L is onto  A. (Contributed by Jim Kingdon, 16-Jul-2023.)
Hypotheses
Ref Expression
ennnfonelemh.dceq  |-  ( ph  ->  A. x  e.  A  A. y  e.  A DECID  x  =  y )
ennnfonelemh.f  |-  ( ph  ->  F : om -onto-> A
)
ennnfonelemh.ne  |-  ( ph  ->  A. n  e.  om  E. k  e.  om  A. j  e.  suc  n ( F `  k )  =/=  ( F `  j ) )
ennnfonelemh.g  |-  G  =  ( x  e.  ( A  ^pm  om ) ,  y  e.  om  |->  if ( ( F `  y )  e.  ( F " y ) ,  x ,  ( x  u.  { <. dom  x ,  ( F `
 y ) >. } ) ) )
ennnfonelemh.n  |-  N  = frec ( ( x  e.  ZZ  |->  ( x  + 
1 ) ) ,  0 )
ennnfonelemh.j  |-  J  =  ( x  e.  NN0  |->  if ( x  =  0 ,  (/) ,  ( `' N `  ( x  -  1 ) ) ) )
ennnfonelemh.h  |-  H  =  seq 0 ( G ,  J )
ennnfone.l  |-  L  = 
U_ i  e.  NN0  ( H `  i )
Assertion
Ref Expression
ennnfonelemrn  |-  ( ph  ->  ran  L  =  A )
Distinct variable groups:    A, j, x, y    i, F, j, x, y, k    n, F, k    j, G    i, H, j, x, y, k   
j, J    i, N, j, x, y, k    ph, i,
j, x, y, k   
j, n
Allowed substitution hints:    ph( n)    A( i,
k, n)    G( x, y, i, k, n)    H( n)    J( x, y, i, k, n)    L( x, y, i, j, k, n)    N( n)

Proof of Theorem ennnfonelemrn
Dummy variable  w is distinct from all other variables.
StepHypRef Expression
1 ennnfonelemh.dceq . . . 4  |-  ( ph  ->  A. x  e.  A  A. y  e.  A DECID  x  =  y )
2 ennnfonelemh.f . . . 4  |-  ( ph  ->  F : om -onto-> A
)
3 ennnfonelemh.ne . . . 4  |-  ( ph  ->  A. n  e.  om  E. k  e.  om  A. j  e.  suc  n ( F `  k )  =/=  ( F `  j ) )
4 ennnfonelemh.g . . . 4  |-  G  =  ( x  e.  ( A  ^pm  om ) ,  y  e.  om  |->  if ( ( F `  y )  e.  ( F " y ) ,  x ,  ( x  u.  { <. dom  x ,  ( F `
 y ) >. } ) ) )
5 ennnfonelemh.n . . . 4  |-  N  = frec ( ( x  e.  ZZ  |->  ( x  + 
1 ) ) ,  0 )
6 ennnfonelemh.j . . . 4  |-  J  =  ( x  e.  NN0  |->  if ( x  =  0 ,  (/) ,  ( `' N `  ( x  -  1 ) ) ) )
7 ennnfonelemh.h . . . 4  |-  H  =  seq 0 ( G ,  J )
8 ennnfone.l . . . 4  |-  L  = 
U_ i  e.  NN0  ( H `  i )
91, 2, 3, 4, 5, 6, 7, 8ennnfonelemf1 12373 . . 3  |-  ( ph  ->  L : dom  L -1-1-> A )
10 f1f 5403 . . 3  |-  ( L : dom  L -1-1-> A  ->  L : dom  L --> A )
11 frn 5356 . . 3  |-  ( L : dom  L --> A  ->  ran  L  C_  A )
129, 10, 113syl 17 . 2  |-  ( ph  ->  ran  L  C_  A
)
13 foelrn 5732 . . . . . 6  |-  ( ( F : om -onto-> A  /\  w  e.  A
)  ->  E. j  e.  om  w  =  ( F `  j ) )
142, 13sylan 281 . . . . 5  |-  ( (
ph  /\  w  e.  A )  ->  E. j  e.  om  w  =  ( F `  j ) )
15 0zd 9224 . . . . . . . 8  |-  ( ( ( ph  /\  w  e.  A )  /\  (
j  e.  om  /\  w  =  ( F `  j ) ) )  ->  0  e.  ZZ )
16 simprl 526 . . . . . . . . 9  |-  ( ( ( ph  /\  w  e.  A )  /\  (
j  e.  om  /\  w  =  ( F `  j ) ) )  ->  j  e.  om )
17 peano2 4579 . . . . . . . . 9  |-  ( j  e.  om  ->  suc  j  e.  om )
1816, 17syl 14 . . . . . . . 8  |-  ( ( ( ph  /\  w  e.  A )  /\  (
j  e.  om  /\  w  =  ( F `  j ) ) )  ->  suc  j  e.  om )
1915, 5, 18frec2uzuzd 10358 . . . . . . 7  |-  ( ( ( ph  /\  w  e.  A )  /\  (
j  e.  om  /\  w  =  ( F `  j ) ) )  ->  ( N `  suc  j )  e.  (
ZZ>= `  0 ) )
20 nn0uz 9521 . . . . . . 7  |-  NN0  =  ( ZZ>= `  0 )
2119, 20eleqtrrdi 2264 . . . . . 6  |-  ( ( ( ph  /\  w  e.  A )  /\  (
j  e.  om  /\  w  =  ( F `  j ) ) )  ->  ( N `  suc  j )  e.  NN0 )
22 fofn 5422 . . . . . . . . . 10  |-  ( F : om -onto-> A  ->  F  Fn  om )
232, 22syl 14 . . . . . . . . 9  |-  ( ph  ->  F  Fn  om )
2423ad2antrr 485 . . . . . . . 8  |-  ( ( ( ph  /\  w  e.  A )  /\  (
j  e.  om  /\  w  =  ( F `  j ) ) )  ->  F  Fn  om )
25 ordom 4591 . . . . . . . . 9  |-  Ord  om
26 ordsucss 4488 . . . . . . . . 9  |-  ( Ord 
om  ->  ( j  e. 
om  ->  suc  j  C_  om ) )
2725, 16, 26mpsyl 65 . . . . . . . 8  |-  ( ( ( ph  /\  w  e.  A )  /\  (
j  e.  om  /\  w  =  ( F `  j ) ) )  ->  suc  j  C_  om )
28 vex 2733 . . . . . . . . . 10  |-  j  e. 
_V
2928sucid 4402 . . . . . . . . 9  |-  j  e. 
suc  j
3029a1i 9 . . . . . . . 8  |-  ( ( ( ph  /\  w  e.  A )  /\  (
j  e.  om  /\  w  =  ( F `  j ) ) )  ->  j  e.  suc  j )
31 fnfvima 5730 . . . . . . . 8  |-  ( ( F  Fn  om  /\  suc  j  C_  om  /\  j  e.  suc  j )  ->  ( F `  j )  e.  ( F " suc  j
) )
3224, 27, 30, 31syl3anc 1233 . . . . . . 7  |-  ( ( ( ph  /\  w  e.  A )  /\  (
j  e.  om  /\  w  =  ( F `  j ) ) )  ->  ( F `  j )  e.  ( F " suc  j
) )
33 simprr 527 . . . . . . 7  |-  ( ( ( ph  /\  w  e.  A )  /\  (
j  e.  om  /\  w  =  ( F `  j ) ) )  ->  w  =  ( F `  j ) )
3415, 5frec2uzf1od 10362 . . . . . . . . 9  |-  ( ( ( ph  /\  w  e.  A )  /\  (
j  e.  om  /\  w  =  ( F `  j ) ) )  ->  N : om -1-1-onto-> ( ZZ>=
`  0 ) )
35 f1ocnvfv1 5756 . . . . . . . . 9  |-  ( ( N : om -1-1-onto-> ( ZZ>= `  0 )  /\  suc  j  e.  om )  ->  ( `' N `  ( N `  suc  j ) )  =  suc  j )
3634, 18, 35syl2anc 409 . . . . . . . 8  |-  ( ( ( ph  /\  w  e.  A )  /\  (
j  e.  om  /\  w  =  ( F `  j ) ) )  ->  ( `' N `  ( N `  suc  j ) )  =  suc  j )
3736imaeq2d 4953 . . . . . . 7  |-  ( ( ( ph  /\  w  e.  A )  /\  (
j  e.  om  /\  w  =  ( F `  j ) ) )  ->  ( F "
( `' N `  ( N `  suc  j
) ) )  =  ( F " suc  j ) )
3832, 33, 373eltr4d 2254 . . . . . 6  |-  ( ( ( ph  /\  w  e.  A )  /\  (
j  e.  om  /\  w  =  ( F `  j ) ) )  ->  w  e.  ( F " ( `' N `  ( N `
 suc  j )
) ) )
39 fveq2 5496 . . . . . . . . 9  |-  ( i  =  ( N `  suc  j )  ->  ( `' N `  i )  =  ( `' N `  ( N `  suc  j ) ) )
4039imaeq2d 4953 . . . . . . . 8  |-  ( i  =  ( N `  suc  j )  ->  ( F " ( `' N `  i ) )  =  ( F " ( `' N `  ( N `
 suc  j )
) ) )
4140eleq2d 2240 . . . . . . 7  |-  ( i  =  ( N `  suc  j )  ->  (
w  e.  ( F
" ( `' N `  i ) )  <->  w  e.  ( F " ( `' N `  ( N `
 suc  j )
) ) ) )
4241rspcev 2834 . . . . . 6  |-  ( ( ( N `  suc  j )  e.  NN0  /\  w  e.  ( F
" ( `' N `  ( N `  suc  j ) ) ) )  ->  E. i  e.  NN0  w  e.  ( F " ( `' N `  i ) ) )
4321, 38, 42syl2anc 409 . . . . 5  |-  ( ( ( ph  /\  w  e.  A )  /\  (
j  e.  om  /\  w  =  ( F `  j ) ) )  ->  E. i  e.  NN0  w  e.  ( F " ( `' N `  i ) ) )
4414, 43rexlimddv 2592 . . . 4  |-  ( (
ph  /\  w  e.  A )  ->  E. i  e.  NN0  w  e.  ( F " ( `' N `  i ) ) )
45 eliun 3877 . . . 4  |-  ( w  e.  U_ i  e. 
NN0  ( F "
( `' N `  i ) )  <->  E. i  e.  NN0  w  e.  ( F " ( `' N `  i ) ) )
4644, 45sylibr 133 . . 3  |-  ( (
ph  /\  w  e.  A )  ->  w  e.  U_ i  e.  NN0  ( F " ( `' N `  i ) ) )
478rneqi 4839 . . . . . . 7  |-  ran  L  =  ran  U_ i  e.  NN0  ( H `  i )
48 rniun 5021 . . . . . . 7  |-  ran  U_ i  e.  NN0  ( H `  i )  =  U_ i  e.  NN0  ran  ( H `  i )
4947, 48eqtri 2191 . . . . . 6  |-  ran  L  =  U_ i  e.  NN0  ran  ( H `  i
)
501adantr 274 . . . . . . . . 9  |-  ( (
ph  /\  i  e.  NN0 )  ->  A. x  e.  A  A. y  e.  A DECID  x  =  y
)
512adantr 274 . . . . . . . . 9  |-  ( (
ph  /\  i  e.  NN0 )  ->  F : om -onto-> A )
523adantr 274 . . . . . . . . 9  |-  ( (
ph  /\  i  e.  NN0 )  ->  A. n  e.  om  E. k  e. 
om  A. j  e.  suc  n ( F `  k )  =/=  ( F `  j )
)
53 simpr 109 . . . . . . . . 9  |-  ( (
ph  /\  i  e.  NN0 )  ->  i  e.  NN0 )
5450, 51, 52, 4, 5, 6, 7, 53ennnfonelemhf1o 12368 . . . . . . . 8  |-  ( (
ph  /\  i  e.  NN0 )  ->  ( H `  i ) : dom  ( H `  i ) -1-1-onto-> ( F " ( `' N `  i ) ) )
55 f1ofo 5449 . . . . . . . 8  |-  ( ( H `  i ) : dom  ( H `
 i ) -1-1-onto-> ( F
" ( `' N `  i ) )  -> 
( H `  i
) : dom  ( H `  i ) -onto->
( F " ( `' N `  i ) ) )
56 forn 5423 . . . . . . . 8  |-  ( ( H `  i ) : dom  ( H `
 i ) -onto-> ( F " ( `' N `  i ) )  ->  ran  ( H `
 i )  =  ( F " ( `' N `  i ) ) )
5754, 55, 563syl 17 . . . . . . 7  |-  ( (
ph  /\  i  e.  NN0 )  ->  ran  ( H `
 i )  =  ( F " ( `' N `  i ) ) )
5857iuneq2dv 3894 . . . . . 6  |-  ( ph  ->  U_ i  e.  NN0  ran  ( H `  i
)  =  U_ i  e.  NN0  ( F "
( `' N `  i ) ) )
5949, 58eqtrid 2215 . . . . 5  |-  ( ph  ->  ran  L  =  U_ i  e.  NN0  ( F
" ( `' N `  i ) ) )
6059eleq2d 2240 . . . 4  |-  ( ph  ->  ( w  e.  ran  L  <-> 
w  e.  U_ i  e.  NN0  ( F "
( `' N `  i ) ) ) )
6160adantr 274 . . 3  |-  ( (
ph  /\  w  e.  A )  ->  (
w  e.  ran  L  <->  w  e.  U_ i  e. 
NN0  ( F "
( `' N `  i ) ) ) )
6246, 61mpbird 166 . 2  |-  ( (
ph  /\  w  e.  A )  ->  w  e.  ran  L )
6312, 62eqelssd 3166 1  |-  ( ph  ->  ran  L  =  A )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104  DECID wdc 829    = wceq 1348    e. wcel 2141    =/= wne 2340   A.wral 2448   E.wrex 2449    u. cun 3119    C_ wss 3121   (/)c0 3414   ifcif 3526   {csn 3583   <.cop 3586   U_ciun 3873    |-> cmpt 4050   Ord word 4347   suc csuc 4350   omcom 4574   `'ccnv 4610   dom cdm 4611   ran crn 4612   "cima 4614    Fn wfn 5193   -->wf 5194   -1-1->wf1 5195   -onto->wfo 5196   -1-1-onto->wf1o 5197   ` cfv 5198  (class class class)co 5853    e. cmpo 5855  freccfrec 6369    ^pm cpm 6627   0cc0 7774   1c1 7775    + caddc 7777    - cmin 8090   NN0cn0 9135   ZZcz 9212   ZZ>=cuz 9487    seqcseq 10401
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-nul 4115  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521  ax-iinf 4572  ax-cnex 7865  ax-resscn 7866  ax-1cn 7867  ax-1re 7868  ax-icn 7869  ax-addcl 7870  ax-addrcl 7871  ax-mulcl 7872  ax-addcom 7874  ax-addass 7876  ax-distr 7878  ax-i2m1 7879  ax-0lt1 7880  ax-0id 7882  ax-rnegex 7883  ax-cnre 7885  ax-pre-ltirr 7886  ax-pre-ltwlin 7887  ax-pre-lttrn 7888  ax-pre-ltadd 7890
This theorem depends on definitions:  df-bi 116  df-dc 830  df-3or 974  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-nel 2436  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-if 3527  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-int 3832  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-tr 4088  df-id 4278  df-iord 4351  df-on 4353  df-ilim 4354  df-suc 4356  df-iom 4575  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-riota 5809  df-ov 5856  df-oprab 5857  df-mpo 5858  df-1st 6119  df-2nd 6120  df-recs 6284  df-frec 6370  df-pm 6629  df-pnf 7956  df-mnf 7957  df-xr 7958  df-ltxr 7959  df-le 7960  df-sub 8092  df-neg 8093  df-inn 8879  df-n0 9136  df-z 9213  df-uz 9488  df-seqfrec 10402
This theorem is referenced by:  ennnfonelemen  12376
  Copyright terms: Public domain W3C validator