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

Theorem fzval2 12883
Description: An alternative way of expressing a finite set of sequential integers. (Contributed by Mario Carneiro, 3-Nov-2013.)
Assertion
Ref Expression
fzval2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = ((𝑀[,]𝑁) ∩ ℤ))

Proof of Theorem fzval2
Dummy variable 𝑘 is distinct from all other variables.
StepHypRef Expression
1 fzval 12882 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = {𝑘 ∈ ℤ ∣ (𝑀𝑘𝑘𝑁)})
2 zssre 11976 . . . . . . 7 ℤ ⊆ ℝ
3 ressxr 10673 . . . . . . 7 ℝ ⊆ ℝ*
42, 3sstri 3973 . . . . . 6 ℤ ⊆ ℝ*
54sseli 3960 . . . . 5 (𝑀 ∈ ℤ → 𝑀 ∈ ℝ*)
64sseli 3960 . . . . 5 (𝑁 ∈ ℤ → 𝑁 ∈ ℝ*)
7 iccval 12765 . . . . 5 ((𝑀 ∈ ℝ*𝑁 ∈ ℝ*) → (𝑀[,]𝑁) = {𝑘 ∈ ℝ* ∣ (𝑀𝑘𝑘𝑁)})
85, 6, 7syl2an 595 . . . 4 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀[,]𝑁) = {𝑘 ∈ ℝ* ∣ (𝑀𝑘𝑘𝑁)})
98ineq1d 4185 . . 3 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑀[,]𝑁) ∩ ℤ) = ({𝑘 ∈ ℝ* ∣ (𝑀𝑘𝑘𝑁)} ∩ ℤ))
10 inrab2 4273 . . . 4 ({𝑘 ∈ ℝ* ∣ (𝑀𝑘𝑘𝑁)} ∩ ℤ) = {𝑘 ∈ (ℝ* ∩ ℤ) ∣ (𝑀𝑘𝑘𝑁)}
11 sseqin2 4189 . . . . . 6 (ℤ ⊆ ℝ* ↔ (ℝ* ∩ ℤ) = ℤ)
124, 11mpbi 231 . . . . 5 (ℝ* ∩ ℤ) = ℤ
1312rabeqi 3480 . . . 4 {𝑘 ∈ (ℝ* ∩ ℤ) ∣ (𝑀𝑘𝑘𝑁)} = {𝑘 ∈ ℤ ∣ (𝑀𝑘𝑘𝑁)}
1410, 13eqtri 2841 . . 3 ({𝑘 ∈ ℝ* ∣ (𝑀𝑘𝑘𝑁)} ∩ ℤ) = {𝑘 ∈ ℤ ∣ (𝑀𝑘𝑘𝑁)}
159, 14syl6req 2870 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → {𝑘 ∈ ℤ ∣ (𝑀𝑘𝑘𝑁)} = ((𝑀[,]𝑁) ∩ ℤ))
161, 15eqtrd 2853 1 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = ((𝑀[,]𝑁) ∩ ℤ))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1528  wcel 2105  {crab 3139  cin 3932  wss 3933   class class class wbr 5057  (class class class)co 7145  cr 10524  *cxr 10662  cle 10664  cz 11969  [,]cicc 12729  ...cfz 12880
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pr 5320  ax-un 7450  ax-cnex 10581  ax-resscn 10582
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3or 1080  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-sbc 3770  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4831  df-br 5058  df-opab 5120  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-iota 6307  df-fun 6350  df-fv 6356  df-ov 7148  df-oprab 7149  df-mpo 7150  df-xr 10667  df-neg 10861  df-z 11970  df-icc 12733  df-fz 12881
This theorem is referenced by:  dvfsumle  24545  dvfsumabs  24547  taylplem1  24878  taylplem2  24879  taylpfval  24880  dvtaylp  24885  ppisval  25608
  Copyright terms: Public domain W3C validator