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

Theorem elfz1 13644
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 13641 . . 3 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = {𝑗 ∈ ℤ ∣ (𝑀 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁)})
21eleq2d 2846 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝐾 ∈ (𝑀...𝑁) ↔ 𝐾 ∈ {𝑗 ∈ ℤ ∣ (𝑀 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁)}))
3 breq2 5106 . . . . 5 (𝑗 = 𝐾 → (𝑀 ≤ 𝑗 ↔ 𝑀 ≤ 𝐾))
4 breq1 5105 . . . . 5 (𝑗 = 𝐾 → (𝑗 ≤ 𝑁 ↔ 𝐾 ≤ 𝑁))
53, 4anbi12d 644 . . . 4 (𝑗 = 𝐾 → ((𝑀 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁) ↔ (𝑀 ≤ 𝐾 ∧ 𝐾 ≤ 𝑁)))
65elrab 3644 . . 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 1569   ∈ wcel 2144  {crab 3412   class class class wbr 5102  (class class class)co 7420   ≤ cle 11344  ℤcz 12693  ...cfz 13639
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-pr 5390  ax-cnex 11256  ax-resscn 11257
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-iota 6494  df-fun 6540  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-neg 11544  df-z 12694  df-fz 13640
This theorem is used by:  elfz  13645  elfz2  13646  fzen  13674  fzaddel  13692  fzadd2  13693  elfzm11  13729  fznn0  13753  phicl2  16945  nndiffz1  33378  fzmul  38676  bccl2d  43042  lcmineqlem11  43090  fz1eqin  43780  jm2.27dlem2  44017  fzunt  44456  fzuntd  44457  fzunt1d  44458  fzuntgd  44459  iblspltprt  46983  itgspltprt  46989
  Copyright terms: Public domain W3C validator