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

Theorem elfzm1b 10418
Description: An integer is a member of a 1-based finite set of sequential integers iff its predecessor is a member of the corresponding 0-based set. (Contributed by Paul Chapman, 22-Jun-2011.)
Assertion
Ref Expression
elfzm1b  |-  ( ( K  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  e.  ( 1 ... N )  <-> 
( K  -  1 )  e.  ( 0 ... ( N  - 
1 ) ) ) )

Proof of Theorem elfzm1b
StepHypRef Expression
1 1z 9589 . . . 4  |-  1  e.  ZZ
2 fzsubel 10380 . . . . 5  |-  ( ( ( 1  e.  ZZ  /\  N  e.  ZZ )  /\  ( K  e.  ZZ  /\  1  e.  ZZ ) )  -> 
( K  e.  ( 1 ... N )  <-> 
( K  -  1 )  e.  ( ( 1  -  1 ) ... ( N  - 
1 ) ) ) )
31, 2mpanl1 434 . . . 4  |-  ( ( N  e.  ZZ  /\  ( K  e.  ZZ  /\  1  e.  ZZ ) )  ->  ( K  e.  ( 1 ... N
)  <->  ( K  - 
1 )  e.  ( ( 1  -  1 ) ... ( N  -  1 ) ) ) )
41, 3mpanr2 438 . . 3  |-  ( ( N  e.  ZZ  /\  K  e.  ZZ )  ->  ( K  e.  ( 1 ... N )  <-> 
( K  -  1 )  e.  ( ( 1  -  1 ) ... ( N  - 
1 ) ) ) )
5 1m1e0 9294 . . . . 5  |-  ( 1  -  1 )  =  0
65oveq1i 6051 . . . 4  |-  ( ( 1  -  1 ) ... ( N  - 
1 ) )  =  ( 0 ... ( N  -  1 ) )
76eleq2i 2299 . . 3  |-  ( ( K  -  1 )  e.  ( ( 1  -  1 ) ... ( N  -  1 ) )  <->  ( K  -  1 )  e.  ( 0 ... ( N  -  1 ) ) )
84, 7bitrdi 196 . 2  |-  ( ( N  e.  ZZ  /\  K  e.  ZZ )  ->  ( K  e.  ( 1 ... N )  <-> 
( K  -  1 )  e.  ( 0 ... ( N  - 
1 ) ) ) )
98ancoms 268 1  |-  ( ( K  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  e.  ( 1 ... N )  <-> 
( K  -  1 )  e.  ( 0 ... ( N  - 
1 ) ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    <-> wb 105    e. wcel 2203  (class class class)co 6041   0cc0 8115   1c1 8116    - cmin 8432   ZZcz 9563   ...cfz 10328
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 619  ax-in2 620  ax-io 717  ax-5 1496  ax-7 1497  ax-gen 1498  ax-ie1 1542  ax-ie2 1543  ax-8 1553  ax-10 1554  ax-11 1555  ax-i12 1556  ax-bndl 1558  ax-4 1559  ax-17 1575  ax-i9 1579  ax-ial 1583  ax-i5r 1584  ax-13 2205  ax-14 2206  ax-ext 2214  ax-sep 4221  ax-pow 4279  ax-pr 4314  ax-un 4545  ax-setind 4650  ax-cnex 8206  ax-resscn 8207  ax-1cn 8208  ax-1re 8209  ax-icn 8210  ax-addcl 8211  ax-addrcl 8212  ax-mulcl 8213  ax-addcom 8215  ax-addass 8217  ax-distr 8219  ax-i2m1 8220  ax-0lt1 8221  ax-0id 8223  ax-rnegex 8224  ax-cnre 8226  ax-pre-ltirr 8227  ax-pre-ltwlin 8228  ax-pre-lttrn 8229  ax-pre-ltadd 8231
This theorem depends on definitions:  df-bi 117  df-3or 1006  df-3an 1007  df-tru 1401  df-fal 1404  df-nf 1510  df-sb 1812  df-eu 2083  df-mo 2084  df-clab 2219  df-cleq 2225  df-clel 2228  df-nfc 2373  df-ne 2413  df-nel 2508  df-ral 2525  df-rex 2526  df-reu 2527  df-rab 2529  df-v 2814  df-sbc 3042  df-dif 3212  df-un 3214  df-in 3216  df-ss 3223  df-pw 3667  df-sn 3688  df-pr 3689  df-op 3691  df-uni 3908  df-int 3943  df-br 4103  df-opab 4165  df-id 4405  df-xp 4746  df-rel 4747  df-cnv 4748  df-co 4749  df-dm 4750  df-iota 5303  df-fun 5345  df-fv 5351  df-riota 5994  df-ov 6044  df-oprab 6045  df-mpo 6046  df-pnf 8298  df-mnf 8299  df-xr 8300  df-ltxr 8301  df-le 8302  df-sub 8434  df-neg 8435  df-inn 9226  df-n0 9485  df-z 9564  df-fz 10329
This theorem is referenced by:  elfzom1b  10560  bcpasc  11114
  Copyright terms: Public domain W3C validator