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

Theorem elfz1 13684
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 13681 . . 3 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = {𝑗 ∈ ℤ ∣ (𝑀 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁)})
21eleq2d 2850 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝐾 ∈ (𝑀...𝑁) ↔ 𝐾 ∈ {𝑗 ∈ ℤ ∣ (𝑀 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁)}))
3 breq2 5112 . . . . 5 (𝑗 = 𝐾 → (𝑀 ≤ 𝑗 ↔ 𝑀 ≤ 𝐾))
4 breq1 5111 . . . . 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 5108  (class class class)co 7451   ≤ cle 11383  ℤcz 12733  ...cfz 13679
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 5255  ax-pr 5398  ax-cnex 11295  ax-resscn 11296
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 4841  df-uni 4873  df-br 5109  df-opab 5174  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-iota 6520  df-fun 6568  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456  df-neg 11583  df-z 12734  df-fz 13680
This theorem is used by:  elfz  13685  elfz2  13686  fzen  13714  fzaddel  13732  fzadd2  13733  elfzm11  13769  fznn0  13793  phicl2  16989  nndiffz1  33474  fzmul  38941  bccl2d  43307  lcmineqlem11  43355  fz1eqin  44046  jm2.27dlem2  44283  fzunt  44778  fzuntd  44779  fzunt1d  44780  fzuntgd  44781  iblspltprt  47317  itgspltprt  47323
  Copyright terms: Public domain W3C validator