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

Theorem elfz1 13495
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 13492 . . 3 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = {𝑗 ∈ ℤ ∣ (𝑀𝑗𝑗𝑁)})
21eleq2d 2817 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝐾 ∈ (𝑀...𝑁) ↔ 𝐾 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝑗𝑁)}))
3 breq2 5153 . . . . 5 (𝑗 = 𝐾 → (𝑀𝑗𝑀𝐾))
4 breq1 5152 . . . . 5 (𝑗 = 𝐾 → (𝑗𝑁𝐾𝑁))
53, 4anbi12d 629 . . . 4 (𝑗 = 𝐾 → ((𝑀𝑗𝑗𝑁) ↔ (𝑀𝐾𝐾𝑁)))
65elrab 3684 . . 3 (𝐾 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝑗𝑁)} ↔ (𝐾 ∈ ℤ ∧ (𝑀𝐾𝐾𝑁)))
7 3anass 1093 . . 3 ((𝐾 ∈ ℤ ∧ 𝑀𝐾𝐾𝑁) ↔ (𝐾 ∈ ℤ ∧ (𝑀𝐾𝐾𝑁)))
86, 7bitr4i 277 . 2 (𝐾 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝑗𝑁)} ↔ (𝐾 ∈ ℤ ∧ 𝑀𝐾𝐾𝑁))
92, 8bitrdi 286 1 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝐾 ∈ (𝑀...𝑁) ↔ (𝐾 ∈ ℤ ∧ 𝑀𝐾𝐾𝑁)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 394  w3a 1085   = wceq 1539  wcel 2104  {crab 3430   class class class wbr 5149  (class class class)co 7413  cle 11255  cz 12564  ...cfz 13490
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2701  ax-sep 5300  ax-nul 5307  ax-pr 5428  ax-cnex 11170  ax-resscn 11171
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2532  df-eu 2561  df-clab 2708  df-cleq 2722  df-clel 2808  df-nfc 2883  df-ral 3060  df-rex 3069  df-rab 3431  df-v 3474  df-sbc 3779  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-nul 4324  df-if 4530  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4910  df-br 5150  df-opab 5212  df-id 5575  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-iota 6496  df-fun 6546  df-fv 6552  df-ov 7416  df-oprab 7417  df-mpo 7418  df-neg 11453  df-z 12565  df-fz 13491
This theorem is referenced by:  elfz  13496  elfz2  13497  fzen  13524  fzaddel  13541  fzadd2  13542  elfzm11  13578  fznn0  13599  phicl2  16707  nndiffz1  32262  fzmul  36914  bccl2d  41165  lcmineqlem11  41212  fz1eqin  41811  jm2.27dlem2  42053  fzunt  42510  fzuntd  42511  fzunt1d  42512  fzuntgd  42513  iblspltprt  44989  itgspltprt  44995  natglobalincr  45891
  Copyright terms: Public domain W3C validator