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

Theorem elfz2 9112
Description: Membership in a finite set of sequential integers. We use the fact that an operation's value is empty outside of its domain to show  M  e.  ZZ and  N  e.  ZZ. (Contributed by NM, 6-Sep-2005.) (Revised by Mario Carneiro, 28-Apr-2015.)
Assertion
Ref Expression
elfz2  |-  ( K  e.  ( M ... N )  <->  ( ( M  e.  ZZ  /\  N  e.  ZZ  /\  K  e.  ZZ )  /\  ( M  <_  K  /\  K  <_  N ) ) )

Proof of Theorem elfz2
Dummy variables  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 anass 393 . 2  |-  ( ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  K  e.  ZZ )  /\  ( M  <_  K  /\  K  <_  N ) )  <->  ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  ( K  e.  ZZ  /\  ( M  <_  K  /\  K  <_  N ) ) ) )
2 df-3an 922 . . 3  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ  /\  K  e.  ZZ )  <->  ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  K  e.  ZZ ) )
32anbi1i 446 . 2  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ  /\  K  e.  ZZ )  /\  ( M  <_  K  /\  K  <_  N ) )  <->  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  K  e.  ZZ )  /\  ( M  <_  K  /\  K  <_  N
) ) )
4 df-fz 9106 . . . 4  |-  ...  =  ( x  e.  ZZ ,  y  e.  ZZ  |->  { z  e.  ZZ  |  ( x  <_ 
z  /\  z  <_  y ) } )
54elmpt2cl 5729 . . 3  |-  ( K  e.  ( M ... N )  ->  ( M  e.  ZZ  /\  N  e.  ZZ ) )
6 simpl 107 . . 3  |-  ( ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  ( K  e.  ZZ  /\  ( M  <_  K  /\  K  <_  N ) ) )  ->  ( M  e.  ZZ  /\  N  e.  ZZ ) )
7 elfz1 9110 . . . 4  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  e.  ( M ... N )  <-> 
( K  e.  ZZ  /\  M  <_  K  /\  K  <_  N ) ) )
8 3anass 924 . . . . 5  |-  ( ( K  e.  ZZ  /\  M  <_  K  /\  K  <_  N )  <->  ( K  e.  ZZ  /\  ( M  <_  K  /\  K  <_  N ) ) )
9 ibar 295 . . . . 5  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( ( K  e.  ZZ  /\  ( M  <_  K  /\  K  <_  N ) )  <->  ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  ( K  e.  ZZ  /\  ( M  <_  K  /\  K  <_  N ) ) ) ) )
108, 9syl5bb 190 . . . 4  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( ( K  e.  ZZ  /\  M  <_  K  /\  K  <_  N
)  <->  ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  ( K  e.  ZZ  /\  ( M  <_  K  /\  K  <_  N ) ) ) ) )
117, 10bitrd 186 . . 3  |-  ( ( M  e.  ZZ  /\  N  e.  ZZ )  ->  ( K  e.  ( M ... N )  <-> 
( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  ( K  e.  ZZ  /\  ( M  <_  K  /\  K  <_  N ) ) ) ) )
125, 6, 11pm5.21nii 653 . 2  |-  ( K  e.  ( M ... N )  <->  ( ( M  e.  ZZ  /\  N  e.  ZZ )  /\  ( K  e.  ZZ  /\  ( M  <_  K  /\  K  <_  N ) ) ) )
131, 3, 123bitr4ri 211 1  |-  ( K  e.  ( M ... N )  <->  ( ( M  e.  ZZ  /\  N  e.  ZZ  /\  K  e.  ZZ )  /\  ( M  <_  K  /\  K  <_  N ) ) )
Colors of variables: wff set class
Syntax hints:    /\ wa 102    <-> wb 103    /\ w3a 920    e. wcel 1434   {crab 2353   class class class wbr 3793  (class class class)co 5543    <_ cle 7216   ZZcz 8432   ...cfz 9105
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 577  ax-in2 578  ax-io 663  ax-5 1377  ax-7 1378  ax-gen 1379  ax-ie1 1423  ax-ie2 1424  ax-8 1436  ax-10 1437  ax-11 1438  ax-i12 1439  ax-bndl 1440  ax-4 1441  ax-14 1446  ax-17 1460  ax-i9 1464  ax-ial 1468  ax-i5r 1469  ax-ext 2064  ax-sep 3904  ax-pow 3956  ax-pr 3972  ax-setind 4288  ax-cnex 7129  ax-resscn 7130
This theorem depends on definitions:  df-bi 115  df-3or 921  df-3an 922  df-tru 1288  df-fal 1291  df-nf 1391  df-sb 1687  df-eu 1945  df-mo 1946  df-clab 2069  df-cleq 2075  df-clel 2078  df-nfc 2209  df-ne 2247  df-ral 2354  df-rex 2355  df-rab 2358  df-v 2604  df-sbc 2817  df-dif 2976  df-un 2978  df-in 2980  df-ss 2987  df-pw 3392  df-sn 3412  df-pr 3413  df-op 3415  df-uni 3610  df-br 3794  df-opab 3848  df-id 4056  df-xp 4377  df-rel 4378  df-cnv 4379  df-co 4380  df-dm 4381  df-iota 4897  df-fun 4934  df-fv 4940  df-ov 5546  df-oprab 5547  df-mpt2 5548  df-neg 7349  df-z 8433  df-fz 9106
This theorem is referenced by:  elfz4  9114  elfzuzb  9115  uzsubsubfz  9142  fzmmmeqm  9152  fzpreddisj  9164  elfz1b  9183  fzp1nel  9197  elfz0ubfz0  9213  elfz0fzfz0  9214  fz0fzelfz0  9215  fz0fzdiffz0  9218  elfzmlbp  9220  fzind2  9325
  Copyright terms: Public domain W3C validator