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

Theorem elfz1 13683
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 13680 . . 3 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = {𝑗 ∈ ℤ ∣ (𝑀 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁)})
21eleq2d 2853 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝐾 ∈ (𝑀...𝑁) ↔ 𝐾 ∈ {𝑗 ∈ ℤ ∣ (𝑀 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁)}))
3 breq2 5111 . . . . 5 (𝑗 = 𝐾 → (𝑀 ≤ 𝑗 ↔ 𝑀 ≤ 𝐾))
4 breq1 5110 . . . . 5 (𝑗 = 𝐾 → (𝑗 ≤ 𝑁 ↔ 𝐾 ≤ 𝑁))
53, 4anbi12d 644 . . . 4 (𝑗 = 𝐾 → ((𝑀 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁) ↔ (𝑀 ≤ 𝐾 ∧ 𝐾 ≤ 𝑁)))
65elrab 3647 . . 3 (𝐾 ∈ {𝑗 ∈ ℤ ∣ (𝑀 ≤ 𝑗 ∧ 𝑗 ≤ 𝑁)} ↔ (𝐾 ∈ ℤ ∧ (𝑀 ≤ 𝐾 ∧ 𝐾 ≤ 𝑁)))
7 3anass 1112 . . 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 1104   = wceq 1572   ∈ wcel 2150  {crab 3415   class class class wbr 5107  (class class class)co 7450   ≤ cle 11382  ℤcz 12732  ...cfz 13678
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-pr 5397  ax-cnex 11294  ax-resscn 11295
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-sbc 3742  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-br 5108  df-opab 5173  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-iota 6519  df-fun 6567  df-fv 6573  df-ov 7453  df-oprab 7454  df-mpo 7455  df-neg 11582  df-z 12733  df-fz 13679
This theorem is used by:  elfz  13684  elfz2  13685  fzen  13713  fzaddel  13731  fzadd2  13732  elfzm11  13768  fznn0  13792  phicl2  16991  nndiffz1  33476  fzmul  38943  bccl2d  43309  lcmineqlem11  43357  fz1eqin  44045  jm2.27dlem2  44282  fzunt  44777  fzuntd  44778  fzunt1d  44779  fzuntgd  44780  iblspltprt  47316  itgspltprt  47322
  Copyright terms: Public domain W3C validator