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

Theorem ennnfonelemg 12620
Description: Lemma for ennnfone 12642. Closure for  G. (Contributed by Jim Kingdon, 20-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 )
Assertion
Ref Expression
ennnfonelemg  |-  ( (
ph  /\  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  ->  (
f G j )  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om } )
Distinct variable groups:    A, g, x, y    g, F, x, y    x, N    f,
g, x, y    g,
j, x, y    ph, x, y
Allowed substitution hints:    ph( f, g, j, k, n)    A( f,
j, k, n)    F( f, j, k, n)    G( x, y, f, g, j, k, n)    H( x, y, f, g, j, k, n)    J( x, y, f, g, j, k, n)    N( y, f, g, j, k, n)

Proof of Theorem ennnfonelemg
StepHypRef Expression
1 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 ) >. } ) ) )
21a1i 9 . . 3  |-  ( (
ph  /\  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  ->  G  =  ( x  e.  ( A  ^pm  om ) ,  y  e.  om  |->  if ( ( F `  y )  e.  ( F " y ) ,  x ,  ( x  u.  { <. dom  x ,  ( F `
 y ) >. } ) ) ) )
3 simpr 110 . . . . . . 7  |-  ( ( x  =  f  /\  y  =  j )  ->  y  =  j )
43fveq2d 5562 . . . . . 6  |-  ( ( x  =  f  /\  y  =  j )  ->  ( F `  y
)  =  ( F `
 j ) )
53imaeq2d 5009 . . . . . 6  |-  ( ( x  =  f  /\  y  =  j )  ->  ( F " y
)  =  ( F
" j ) )
64, 5eleq12d 2267 . . . . 5  |-  ( ( x  =  f  /\  y  =  j )  ->  ( ( F `  y )  e.  ( F " y )  <-> 
( F `  j
)  e.  ( F
" j ) ) )
7 simpl 109 . . . . 5  |-  ( ( x  =  f  /\  y  =  j )  ->  x  =  f )
87dmeqd 4868 . . . . . . . 8  |-  ( ( x  =  f  /\  y  =  j )  ->  dom  x  =  dom  f )
98, 4opeq12d 3816 . . . . . . 7  |-  ( ( x  =  f  /\  y  =  j )  -> 
<. dom  x ,  ( F `  y )
>.  =  <. dom  f ,  ( F `  j ) >. )
109sneqd 3635 . . . . . 6  |-  ( ( x  =  f  /\  y  =  j )  ->  { <. dom  x , 
( F `  y
) >. }  =  { <. dom  f ,  ( F `  j )
>. } )
117, 10uneq12d 3318 . . . . 5  |-  ( ( x  =  f  /\  y  =  j )  ->  ( x  u.  { <. dom  x ,  ( F `  y )
>. } )  =  ( f  u.  { <. dom  f ,  ( F `
 j ) >. } ) )
126, 7, 11ifbieq12d 3587 . . . 4  |-  ( ( x  =  f  /\  y  =  j )  ->  if ( ( F `
 y )  e.  ( F " y
) ,  x ,  ( x  u.  { <. dom  x ,  ( F `  y )
>. } ) )  =  if ( ( F `
 j )  e.  ( F " j
) ,  f ,  ( f  u.  { <. dom  f ,  ( F `  j )
>. } ) ) )
1312adantl 277 . . 3  |-  ( ( ( ph  /\  (
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  /\  ( x  =  f  /\  y  =  j
) )  ->  if ( ( F `  y )  e.  ( F " y ) ,  x ,  ( x  u.  { <. dom  x ,  ( F `
 y ) >. } ) )  =  if ( ( F `
 j )  e.  ( F " j
) ,  f ,  ( f  u.  { <. dom  f ,  ( F `  j )
>. } ) ) )
14 ssrab2 3268 . . . 4  |-  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  C_  ( A  ^pm  om )
15 simprl 529 . . . 4  |-  ( (
ph  /\  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  ->  f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om } )
1614, 15sselid 3181 . . 3  |-  ( (
ph  /\  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  ->  f  e.  ( A  ^pm  om )
)
17 simprr 531 . . 3  |-  ( (
ph  /\  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  ->  j  e.  om )
18 simplrl 535 . . . 4  |-  ( ( ( ph  /\  (
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  /\  ( F `  j )  e.  ( F "
j ) )  -> 
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om } )
19 dmeq 4866 . . . . . 6  |-  ( g  =  ( f  u. 
{ <. dom  f , 
( F `  j
) >. } )  ->  dom  g  =  dom  ( f  u.  { <. dom  f ,  ( F `  j )
>. } ) )
2019eleq1d 2265 . . . . 5  |-  ( g  =  ( f  u. 
{ <. dom  f , 
( F `  j
) >. } )  -> 
( dom  g  e.  om  <->  dom  ( f  u.  { <. dom  f ,  ( F `  j )
>. } )  e.  om ) )
21 omex 4629 . . . . . . . 8  |-  om  e.  _V
22 ennnfonelemh.f . . . . . . . 8  |-  ( ph  ->  F : om -onto-> A
)
23 focdmex 6172 . . . . . . . 8  |-  ( om  e.  _V  ->  ( F : om -onto-> A  ->  A  e.  _V )
)
2421, 22, 23mpsyl 65 . . . . . . 7  |-  ( ph  ->  A  e.  _V )
2524ad2antrr 488 . . . . . 6  |-  ( ( ( ph  /\  (
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  /\  -.  ( F `  j
)  e.  ( F
" j ) )  ->  A  e.  _V )
2621a1i 9 . . . . . 6  |-  ( ( ( ph  /\  (
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  /\  -.  ( F `  j
)  e.  ( F
" j ) )  ->  om  e.  _V )
27 simplrl 535 . . . . . . . 8  |-  ( ( ( ph  /\  (
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  /\  -.  ( F `  j
)  e.  ( F
" j ) )  ->  f  e.  {
g  e.  ( A 
^pm  om )  |  dom  g  e.  om } )
28 elrabi 2917 . . . . . . . . . 10  |-  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  ->  f  e.  ( A  ^pm  om )
)
29 elpmi 6726 . . . . . . . . . 10  |-  ( f  e.  ( A  ^pm  om )  ->  ( f : dom  f --> A  /\  dom  f  C_  om )
)
3028, 29syl 14 . . . . . . . . 9  |-  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  ->  ( f : dom  f --> A  /\  dom  f  C_  om )
)
3130simpld 112 . . . . . . . 8  |-  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  ->  f : dom  f
--> A )
3227, 31syl 14 . . . . . . 7  |-  ( ( ( ph  /\  (
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  /\  -.  ( F `  j
)  e.  ( F
" j ) )  ->  f : dom  f
--> A )
33 dmeq 4866 . . . . . . . . . . 11  |-  ( g  =  f  ->  dom  g  =  dom  f )
3433eleq1d 2265 . . . . . . . . . 10  |-  ( g  =  f  ->  ( dom  g  e.  om  <->  dom  f  e.  om )
)
3534elrab 2920 . . . . . . . . 9  |-  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om } 
<->  ( f  e.  ( A  ^pm  om )  /\  dom  f  e.  om ) )
3635simprbi 275 . . . . . . . 8  |-  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  ->  dom  f  e.  om )
3727, 36syl 14 . . . . . . 7  |-  ( ( ( ph  /\  (
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  /\  -.  ( F `  j
)  e.  ( F
" j ) )  ->  dom  f  e.  om )
38 nnord 4648 . . . . . . . . 9  |-  ( dom  f  e.  om  ->  Ord 
dom  f )
3937, 38syl 14 . . . . . . . 8  |-  ( ( ( ph  /\  (
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  /\  -.  ( F `  j
)  e.  ( F
" j ) )  ->  Ord  dom  f )
40 ordirr 4578 . . . . . . . 8  |-  ( Ord 
dom  f  ->  -.  dom  f  e.  dom  f )
4139, 40syl 14 . . . . . . 7  |-  ( ( ( ph  /\  (
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  /\  -.  ( F `  j
)  e.  ( F
" j ) )  ->  -.  dom  f  e. 
dom  f )
4222adantr 276 . . . . . . . . . 10  |-  ( (
ph  /\  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  ->  F : om -onto-> A )
43 fof 5480 . . . . . . . . . 10  |-  ( F : om -onto-> A  ->  F : om --> A )
4442, 43syl 14 . . . . . . . . 9  |-  ( (
ph  /\  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  ->  F : om --> A )
4544, 17ffvelcdmd 5698 . . . . . . . 8  |-  ( (
ph  /\  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  ->  ( F `  j )  e.  A )
4645adantr 276 . . . . . . 7  |-  ( ( ( ph  /\  (
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  /\  -.  ( F `  j
)  e.  ( F
" j ) )  ->  ( F `  j )  e.  A
)
47 fsnunf 5762 . . . . . . 7  |-  ( ( f : dom  f --> A  /\  ( dom  f  e.  om  /\  -.  dom  f  e.  dom  f )  /\  ( F `  j )  e.  A
)  ->  ( f  u.  { <. dom  f , 
( F `  j
) >. } ) : ( dom  f  u. 
{ dom  f }
) --> A )
4832, 37, 41, 46, 47syl121anc 1254 . . . . . 6  |-  ( ( ( ph  /\  (
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  /\  -.  ( F `  j
)  e.  ( F
" j ) )  ->  ( f  u. 
{ <. dom  f , 
( F `  j
) >. } ) : ( dom  f  u. 
{ dom  f }
) --> A )
49 df-suc 4406 . . . . . . . . 9  |-  suc  dom  f  =  ( dom  f  u.  { dom  f } )
50 peano2 4631 . . . . . . . . 9  |-  ( dom  f  e.  om  ->  suc 
dom  f  e.  om )
5149, 50eqeltrrid 2284 . . . . . . . 8  |-  ( dom  f  e.  om  ->  ( dom  f  u.  { dom  f } )  e. 
om )
5237, 51syl 14 . . . . . . 7  |-  ( ( ( ph  /\  (
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  /\  -.  ( F `  j
)  e.  ( F
" j ) )  ->  ( dom  f  u.  { dom  f } )  e.  om )
53 elomssom 4641 . . . . . . 7  |-  ( ( dom  f  u.  { dom  f } )  e. 
om  ->  ( dom  f  u.  { dom  f } )  C_  om )
5452, 53syl 14 . . . . . 6  |-  ( ( ( ph  /\  (
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  /\  -.  ( F `  j
)  e.  ( F
" j ) )  ->  ( dom  f  u.  { dom  f } )  C_  om )
55 elpm2r 6725 . . . . . 6  |-  ( ( ( A  e.  _V  /\ 
om  e.  _V )  /\  ( ( f  u. 
{ <. dom  f , 
( F `  j
) >. } ) : ( dom  f  u. 
{ dom  f }
) --> A  /\  ( dom  f  u.  { dom  f } )  C_  om )
)  ->  ( f  u.  { <. dom  f , 
( F `  j
) >. } )  e.  ( A  ^pm  om )
)
5625, 26, 48, 54, 55syl22anc 1250 . . . . 5  |-  ( ( ( ph  /\  (
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  /\  -.  ( F `  j
)  e.  ( F
" j ) )  ->  ( f  u. 
{ <. dom  f , 
( F `  j
) >. } )  e.  ( A  ^pm  om )
)
5748fdmd 5414 . . . . . 6  |-  ( ( ( ph  /\  (
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  /\  -.  ( F `  j
)  e.  ( F
" j ) )  ->  dom  ( f  u.  { <. dom  f , 
( F `  j
) >. } )  =  ( dom  f  u. 
{ dom  f }
) )
5857, 52eqeltrd 2273 . . . . 5  |-  ( ( ( ph  /\  (
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  /\  -.  ( F `  j
)  e.  ( F
" j ) )  ->  dom  ( f  u.  { <. dom  f , 
( F `  j
) >. } )  e. 
om )
5920, 56, 58elrabd 2922 . . . 4  |-  ( ( ( ph  /\  (
f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  /\  -.  ( F `  j
)  e.  ( F
" j ) )  ->  ( f  u. 
{ <. dom  f , 
( F `  j
) >. } )  e. 
{ g  e.  ( A  ^pm  om )  |  dom  g  e.  om } )
60 ennnfonelemh.dceq . . . . . 6  |-  ( ph  ->  A. x  e.  A  A. y  e.  A DECID  x  =  y )
6160adantr 276 . . . . 5  |-  ( (
ph  /\  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  ->  A. x  e.  A  A. y  e.  A DECID  x  =  y
)
6261, 42, 17ennnfonelemdc 12616 . . . 4  |-  ( (
ph  /\  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  -> DECID  ( F `  j
)  e.  ( F
" j ) )
6318, 59, 62ifcldadc 3590 . . 3  |-  ( (
ph  /\  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  ->  if ( ( F `  j )  e.  ( F " j ) ,  f ,  ( f  u.  { <. dom  f ,  ( F `
 j ) >. } ) )  e. 
{ g  e.  ( A  ^pm  om )  |  dom  g  e.  om } )
642, 13, 16, 17, 63ovmpod 6050 . 2  |-  ( (
ph  /\  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  ->  (
f G j )  =  if ( ( F `  j )  e.  ( F "
j ) ,  f ,  ( f  u. 
{ <. dom  f , 
( F `  j
) >. } ) ) )
6564, 63eqeltrd 2273 1  |-  ( (
ph  /\  ( f  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om }  /\  j  e.  om ) )  ->  (
f G j )  e.  { g  e.  ( A  ^pm  om )  |  dom  g  e.  om } )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 104  DECID wdc 835    = wceq 1364    e. wcel 2167    =/= wne 2367   A.wral 2475   E.wrex 2476   {crab 2479   _Vcvv 2763    u. cun 3155    C_ wss 3157   (/)c0 3450   ifcif 3561   {csn 3622   <.cop 3625    |-> cmpt 4094   Ord word 4397   suc csuc 4400   omcom 4626   `'ccnv 4662   dom cdm 4663   "cima 4666   -->wf 5254   -onto->wfo 5256   ` cfv 5258  (class class class)co 5922    e. cmpo 5924  freccfrec 6448    ^pm cpm 6708   0cc0 7879   1c1 7880    + caddc 7882    - cmin 8197   NN0cn0 9249   ZZcz 9326    seqcseq 10539
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 710  ax-5 1461  ax-7 1462  ax-gen 1463  ax-ie1 1507  ax-ie2 1508  ax-8 1518  ax-10 1519  ax-11 1520  ax-i12 1521  ax-bndl 1523  ax-4 1524  ax-17 1540  ax-i9 1544  ax-ial 1548  ax-i5r 1549  ax-13 2169  ax-14 2170  ax-ext 2178  ax-coll 4148  ax-sep 4151  ax-nul 4159  ax-pow 4207  ax-pr 4242  ax-un 4468  ax-setind 4573  ax-iinf 4624
This theorem depends on definitions:  df-bi 117  df-dc 836  df-3an 982  df-tru 1367  df-fal 1370  df-nf 1475  df-sb 1777  df-eu 2048  df-mo 2049  df-clab 2183  df-cleq 2189  df-clel 2192  df-nfc 2328  df-ne 2368  df-ral 2480  df-rex 2481  df-reu 2482  df-rab 2484  df-v 2765  df-sbc 2990  df-csb 3085  df-dif 3159  df-un 3161  df-in 3163  df-ss 3170  df-nul 3451  df-if 3562  df-pw 3607  df-sn 3628  df-pr 3629  df-op 3631  df-uni 3840  df-int 3875  df-iun 3918  df-br 4034  df-opab 4095  df-mpt 4096  df-tr 4132  df-id 4328  df-iord 4401  df-on 4403  df-suc 4406  df-iom 4627  df-xp 4669  df-rel 4670  df-cnv 4671  df-co 4672  df-dm 4673  df-rn 4674  df-res 4675  df-ima 4676  df-iota 5219  df-fun 5260  df-fn 5261  df-f 5262  df-f1 5263  df-fo 5264  df-f1o 5265  df-fv 5266  df-ov 5925  df-oprab 5926  df-mpo 5927  df-pm 6710
This theorem is referenced by:  ennnfonelemh  12621  ennnfonelem0  12622  ennnfonelemp1  12623  ennnfonelemom  12625
  Copyright terms: Public domain W3C validator