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

Theorem ennnfonelemjn 12644
Description: Lemma for ennnfone 12667. Non-initial state for  J. (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
ennnfonelemjn  |-  ( (
ph  /\  f  e.  ( ZZ>= `  ( 0  +  1 ) ) )  ->  ( J `  f )  e.  om )
Distinct variable groups:    x, A, y   
x, F, y    x, N    x, f, y    x, j, y    ph, x, y
Allowed substitution hints:    ph( f, j, k, n)    A( f, j, k, n)    F( f, j, k, n)    G( x, y, f, j, k, n)    H( x, y, f, j, k, n)    J( x, y, f, j, k, n)    N( y, f, j, k, n)

Proof of Theorem ennnfonelemjn
StepHypRef Expression
1 nnuz 9654 . . . 4  |-  NN  =  ( ZZ>= `  1 )
2 0p1e1 9121 . . . . 5  |-  ( 0  +  1 )  =  1
32fveq2i 5564 . . . 4  |-  ( ZZ>= `  ( 0  +  1 ) )  =  (
ZZ>= `  1 )
41, 3eqtr4i 2220 . . 3  |-  NN  =  ( ZZ>= `  ( 0  +  1 ) )
54eleq2i 2263 . 2  |-  ( f  e.  NN  <->  f  e.  ( ZZ>= `  ( 0  +  1 ) ) )
6 ennnfonelemh.j . . . 4  |-  J  =  ( x  e.  NN0  |->  if ( x  =  0 ,  (/) ,  ( `' N `  ( x  -  1 ) ) ) )
7 eqeq1 2203 . . . . 5  |-  ( x  =  f  ->  (
x  =  0  <->  f  =  0 ) )
8 fvoveq1 5948 . . . . 5  |-  ( x  =  f  ->  ( `' N `  ( x  -  1 ) )  =  ( `' N `  ( f  -  1 ) ) )
97, 8ifbieq2d 3586 . . . 4  |-  ( x  =  f  ->  if ( x  =  0 ,  (/) ,  ( `' N `  ( x  -  1 ) ) )  =  if ( f  =  0 ,  (/) ,  ( `' N `  ( f  -  1 ) ) ) )
10 nnnn0 9273 . . . . 5  |-  ( f  e.  NN  ->  f  e.  NN0 )
1110adantl 277 . . . 4  |-  ( (
ph  /\  f  e.  NN )  ->  f  e. 
NN0 )
12 nnne0 9035 . . . . . . . 8  |-  ( f  e.  NN  ->  f  =/=  0 )
1312neneqd 2388 . . . . . . 7  |-  ( f  e.  NN  ->  -.  f  =  0 )
1413iffalsed 3572 . . . . . 6  |-  ( f  e.  NN  ->  if ( f  =  0 ,  (/) ,  ( `' N `  ( f  -  1 ) ) )  =  ( `' N `  ( f  -  1 ) ) )
1514adantl 277 . . . . 5  |-  ( (
ph  /\  f  e.  NN )  ->  if ( f  =  0 ,  (/) ,  ( `' N `  ( f  -  1 ) ) )  =  ( `' N `  ( f  -  1 ) ) )
16 0zd 9355 . . . . . . . 8  |-  ( (
ph  /\  f  e.  NN )  ->  0  e.  ZZ )
17 ennnfonelemh.n . . . . . . . 8  |-  N  = frec ( ( x  e.  ZZ  |->  ( x  + 
1 ) ) ,  0 )
1816, 17frec2uzf1od 10515 . . . . . . 7  |-  ( (
ph  /\  f  e.  NN )  ->  N : om
-1-1-onto-> ( ZZ>= `  0 )
)
19 f1ocnv 5520 . . . . . . 7  |-  ( N : om -1-1-onto-> ( ZZ>= `  0 )  ->  `' N : ( ZZ>= ` 
0 ) -1-1-onto-> om )
20 f1of 5507 . . . . . . 7  |-  ( `' N : ( ZZ>= ` 
0 ) -1-1-onto-> om  ->  `' N : ( ZZ>= `  0
) --> om )
2118, 19, 203syl 17 . . . . . 6  |-  ( (
ph  /\  f  e.  NN )  ->  `' N : ( ZZ>= `  0
) --> om )
22 0z 9354 . . . . . . 7  |-  0  e.  ZZ
235biimpi 120 . . . . . . . 8  |-  ( f  e.  NN  ->  f  e.  ( ZZ>= `  ( 0  +  1 ) ) )
2423adantl 277 . . . . . . 7  |-  ( (
ph  /\  f  e.  NN )  ->  f  e.  ( ZZ>= `  ( 0  +  1 ) ) )
25 eluzp1m1 9642 . . . . . . 7  |-  ( ( 0  e.  ZZ  /\  f  e.  ( ZZ>= `  ( 0  +  1 ) ) )  -> 
( f  -  1 )  e.  ( ZZ>= ` 
0 ) )
2622, 24, 25sylancr 414 . . . . . 6  |-  ( (
ph  /\  f  e.  NN )  ->  ( f  -  1 )  e.  ( ZZ>= `  0 )
)
2721, 26ffvelcdmd 5701 . . . . 5  |-  ( (
ph  /\  f  e.  NN )  ->  ( `' N `  ( f  -  1 ) )  e.  om )
2815, 27eqeltrd 2273 . . . 4  |-  ( (
ph  /\  f  e.  NN )  ->  if ( f  =  0 ,  (/) ,  ( `' N `  ( f  -  1 ) ) )  e. 
om )
296, 9, 11, 28fvmptd3 5658 . . 3  |-  ( (
ph  /\  f  e.  NN )  ->  ( J `
 f )  =  if ( f  =  0 ,  (/) ,  ( `' N `  ( f  -  1 ) ) ) )
3029, 28eqeltrd 2273 . 2  |-  ( (
ph  /\  f  e.  NN )  ->  ( J `
 f )  e. 
om )
315, 30sylan2br 288 1  |-  ( (
ph  /\  f  e.  ( ZZ>= `  ( 0  +  1 ) ) )  ->  ( J `  f )  e.  om )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104  DECID wdc 835    = wceq 1364    e. wcel 2167    =/= wne 2367   A.wral 2475   E.wrex 2476    u. cun 3155   (/)c0 3451   ifcif 3562   {csn 3623   <.cop 3626    |-> cmpt 4095   suc csuc 4401   omcom 4627   `'ccnv 4663   dom cdm 4664   "cima 4667   -->wf 5255   -onto->wfo 5257   -1-1-onto->wf1o 5258   ` cfv 5259  (class class class)co 5925    e. cmpo 5927  freccfrec 6457    ^pm cpm 6717   0cc0 7896   1c1 7897    + caddc 7899    - cmin 8214   NNcn 9007   NN0cn0 9266   ZZcz 9343   ZZ>=cuz 9618    seqcseq 10556
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 4149  ax-sep 4152  ax-nul 4160  ax-pow 4208  ax-pr 4243  ax-un 4469  ax-setind 4574  ax-iinf 4625  ax-cnex 7987  ax-resscn 7988  ax-1cn 7989  ax-1re 7990  ax-icn 7991  ax-addcl 7992  ax-addrcl 7993  ax-mulcl 7994  ax-addcom 7996  ax-addass 7998  ax-distr 8000  ax-i2m1 8001  ax-0lt1 8002  ax-0id 8004  ax-rnegex 8005  ax-cnre 8007  ax-pre-ltirr 8008  ax-pre-ltwlin 8009  ax-pre-lttrn 8010  ax-pre-ltadd 8012
This theorem depends on definitions:  df-bi 117  df-3or 981  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-nel 2463  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 3452  df-if 3563  df-pw 3608  df-sn 3629  df-pr 3630  df-op 3632  df-uni 3841  df-int 3876  df-iun 3919  df-br 4035  df-opab 4096  df-mpt 4097  df-tr 4133  df-id 4329  df-iord 4402  df-on 4404  df-ilim 4405  df-suc 4407  df-iom 4628  df-xp 4670  df-rel 4671  df-cnv 4672  df-co 4673  df-dm 4674  df-rn 4675  df-res 4676  df-ima 4677  df-iota 5220  df-fun 5261  df-fn 5262  df-f 5263  df-f1 5264  df-fo 5265  df-f1o 5266  df-fv 5267  df-riota 5880  df-ov 5928  df-oprab 5929  df-mpo 5930  df-recs 6372  df-frec 6458  df-pnf 8080  df-mnf 8081  df-xr 8082  df-ltxr 8083  df-le 8084  df-sub 8216  df-neg 8217  df-inn 9008  df-n0 9267  df-z 9344  df-uz 9619
This theorem is referenced by:  ennnfonelemh  12646  ennnfonelem0  12647  ennnfonelemp1  12648  ennnfonelemom  12650
  Copyright terms: Public domain W3C validator