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

Theorem elfz1 12890
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 12887 . . 3 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = {𝑗 ∈ ℤ ∣ (𝑀𝑗𝑗𝑁)})
21eleq2d 2875 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝐾 ∈ (𝑀...𝑁) ↔ 𝐾 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝑗𝑁)}))
3 breq2 5034 . . . . 5 (𝑗 = 𝐾 → (𝑀𝑗𝑀𝐾))
4 breq1 5033 . . . . 5 (𝑗 = 𝐾 → (𝑗𝑁𝐾𝑁))
53, 4anbi12d 633 . . . 4 (𝑗 = 𝐾 → ((𝑀𝑗𝑗𝑁) ↔ (𝑀𝐾𝐾𝑁)))
65elrab 3628 . . 3 (𝐾 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝑗𝑁)} ↔ (𝐾 ∈ ℤ ∧ (𝑀𝐾𝐾𝑁)))
7 3anass 1092 . . 3 ((𝐾 ∈ ℤ ∧ 𝑀𝐾𝐾𝑁) ↔ (𝐾 ∈ ℤ ∧ (𝑀𝐾𝐾𝑁)))
86, 7bitr4i 281 . 2 (𝐾 ∈ {𝑗 ∈ ℤ ∣ (𝑀𝑗𝑗𝑁)} ↔ (𝐾 ∈ ℤ ∧ 𝑀𝐾𝐾𝑁))
92, 8syl6bb 290 1 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝐾 ∈ (𝑀...𝑁) ↔ (𝐾 ∈ ℤ ∧ 𝑀𝐾𝐾𝑁)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1084   = wceq 1538  wcel 2111  {crab 3110   class class class wbr 5030  (class class class)co 7135  cle 10665  cz 11969  ...cfz 12885
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 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295  ax-cnex 10582  ax-resscn 10583
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-sbc 3721  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-iota 6283  df-fun 6326  df-fv 6332  df-ov 7138  df-oprab 7139  df-mpo 7140  df-neg 10862  df-z 11970  df-fz 12886
This theorem is referenced by:  elfz  12891  elfz2  12892  fzen  12919  fzaddel  12936  fzadd2  12937  elfzm11  12973  fznn0  12994  phicl2  16095  nndiffz1  30535  fzmul  35179  bccl2d  39279  lcmineqlem11  39327  fz1eqin  39710  jm2.27dlem2  39951  iblspltprt  42615  itgspltprt  42621
  Copyright terms: Public domain W3C validator