MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  elfz1 Structured version   Visualization version   GIF version

Theorem elfz1 13488
Description: Membership in a finite set of sequential integers. (Contributed by NM, 21-Jul-2005.)
Assertion
Ref Expression
elfz1 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝐾 ∈ (𝑀...𝑁) ↔ (𝐾 ∈ ℤ ∧ 𝑀𝐾𝐾𝑁)))

Proof of Theorem elfz1
Dummy variable 𝑗 is distinct from all other variables.
StepHypRef Expression
1 fzval 13485 . . 3 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = {𝑗 ∈ ℤ ∣ (𝑀𝑗𝑗𝑁)})
21eleq2d 2819 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝐾 ∈ (𝑀...𝑁) ↔ 𝐾 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝑗𝑁)}))
3 breq2 5152 . . . . 5 (𝑗 = 𝐾 → (𝑀𝑗𝑀𝐾))
4 breq1 5151 . . . . 5 (𝑗 = 𝐾 → (𝑗𝑁𝐾𝑁))
53, 4anbi12d 631 . . . 4 (𝑗 = 𝐾 → ((𝑀𝑗𝑗𝑁) ↔ (𝑀𝐾𝐾𝑁)))
65elrab 3683 . . 3 (𝐾 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝑗𝑁)} ↔ (𝐾 ∈ ℤ ∧ (𝑀𝐾𝐾𝑁)))
7 3anass 1095 . . 3 ((𝐾 ∈ ℤ ∧ 𝑀𝐾𝐾𝑁) ↔ (𝐾 ∈ ℤ ∧ (𝑀𝐾𝐾𝑁)))
86, 7bitr4i 277 . 2 (𝐾 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝑗𝑁)} ↔ (𝐾 ∈ ℤ ∧ 𝑀𝐾𝐾𝑁))
92, 8bitrdi 286 1 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝐾 ∈ (𝑀...𝑁) ↔ (𝐾 ∈ ℤ ∧ 𝑀𝐾𝐾𝑁)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1087   = wceq 1541  wcel 2106  {crab 3432   class class class wbr 5148  (class class class)co 7408  cle 11248  cz 12557  ...cfz 13483
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2703  ax-sep 5299  ax-nul 5306  ax-pr 5427  ax-cnex 11165  ax-resscn 11166
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2534  df-eu 2563  df-clab 2710  df-cleq 2724  df-clel 2810  df-nfc 2885  df-ral 3062  df-rex 3071  df-rab 3433  df-v 3476  df-sbc 3778  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-nul 4323  df-if 4529  df-sn 4629  df-pr 4631  df-op 4635  df-uni 4909  df-br 5149  df-opab 5211  df-id 5574  df-xp 5682  df-rel 5683  df-cnv 5684  df-co 5685  df-dm 5686  df-iota 6495  df-fun 6545  df-fv 6551  df-ov 7411  df-oprab 7412  df-mpo 7413  df-neg 11446  df-z 12558  df-fz 13484
This theorem is referenced by:  elfz  13489  elfz2  13490  fzen  13517  fzaddel  13534  fzadd2  13535  elfzm11  13571  fznn0  13592  phicl2  16700  nndiffz1  31992  fzmul  36604  bccl2d  40852  lcmineqlem11  40899  fz1eqin  41497  jm2.27dlem2  41739  fzunt  42196  fzuntd  42197  fzunt1d  42198  fzuntgd  42199  iblspltprt  44679  itgspltprt  44685  natglobalincr  45581
  Copyright terms: Public domain W3C validator