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

Theorem elfz1 13668
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 13665 . . 3 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = {𝑗 ∈ ℤ ∣ (𝑀 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁)})
21eleq2d 2850 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝐾 ∈ (𝑀...𝑁) ↔ 𝐾 ∈ {𝑗 ∈ ℤ ∣ (𝑀 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁)}))
3 breq2 5110 . . . . 5 (𝑗 = 𝐾 → (𝑀 ≤ 𝑗 ↔ 𝑀 ≤ 𝐾))
4 breq1 5109 . . . . 5 (𝑗 = 𝐾 → (𝑗 ≤ 𝑁 ↔ 𝐾 ≤ 𝑁))
53, 4anbi12d 644 . . . 4 (𝑗 = 𝐾 → ((𝑀 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁) ↔ (𝑀 ≤ 𝐾 ∧ 𝐾 ≤ 𝑁)))
65elrab 3648 . . 3 (𝐾 ∈ {𝑗 ∈ ℤ ∣ (𝑀 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁)} ↔ (𝐾 ∈ ℤ ∧ (𝑀 ≤ 𝐾 ∧ 𝐾 ≤ 𝑁)))
7 3anass 1111 . . 3 ((𝐾 ∈ ℤ ∧ 𝑀 ≤ 𝐾 ∧ 𝐾 ≤ 𝑁) ↔ (𝐾 ∈ ℤ ∧ (𝑀 ≤ 𝐾 ∧ 𝐾 ≤ 𝑁)))
86, 7bitr4i 281 . 2 (𝐾 ∈ {𝑗 ∈ ℤ ∣ (𝑀 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁)} ↔ (𝐾 ∈ ℤ ∧ 𝑀 ≤ 𝐾 ∧ 𝐾 ≤ 𝑁))
92, 8bitrdi 290 1 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝐾 ∈ (𝑀...𝑁) ↔ (𝐾 ∈ ℤ ∧ 𝑀 ≤ 𝐾 ∧ 𝐾 ≤ 𝑁)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2147  {crab 3416   class class class wbr 5106  (class class class)co 7440   ≤ cle 11368  ℤcz 12717  ...cfz 13663
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-pr 5395  ax-cnex 11280  ax-resscn 11281
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-iota 6509  df-fun 6557  df-fv 6563  df-ov 7443  df-oprab 7444  df-mpo 7445  df-neg 11568  df-z 12718  df-fz 13664
This theorem is used by:  elfz  13669  elfz2  13670  fzen  13698  fzaddel  13716  fzadd2  13717  elfzm11  13753  fznn0  13777  phicl2  16971  nndiffz1  33445  fzmul  38866  bccl2d  43232  lcmineqlem11  43280  fz1eqin  43971  jm2.27dlem2  44208  fzunt  44646  fzuntd  44647  fzunt1d  44648  fzuntgd  44649  iblspltprt  47186  itgspltprt  47192
  Copyright terms: Public domain W3C validator