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

Theorem fzval2 13525
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 13524 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = {𝑘 ∈ ℤ ∣ (𝑀𝑘𝑘𝑁)})
2 zssre 12601 . . . . . . 7 ℤ ⊆ ℝ
3 ressxr 11294 . . . . . . 7 ℝ ⊆ ℝ*
42, 3sstri 3989 . . . . . 6 ℤ ⊆ ℝ*
54sseli 3976 . . . . 5 (𝑀 ∈ ℤ → 𝑀 ∈ ℝ*)
64sseli 3976 . . . . 5 (𝑁 ∈ ℤ → 𝑁 ∈ ℝ*)
7 iccval 13401 . . . . 5 ((𝑀 ∈ ℝ*𝑁 ∈ ℝ*) → (𝑀[,]𝑁) = {𝑘 ∈ ℝ* ∣ (𝑀𝑘𝑘𝑁)})
85, 6, 7syl2an 594 . . . 4 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀[,]𝑁) = {𝑘 ∈ ℝ* ∣ (𝑀𝑘𝑘𝑁)})
98ineq1d 4211 . . 3 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑀[,]𝑁) ∩ ℤ) = ({𝑘 ∈ ℝ* ∣ (𝑀𝑘𝑘𝑁)} ∩ ℤ))
10 inrab2 4308 . . . 4 ({𝑘 ∈ ℝ* ∣ (𝑀𝑘𝑘𝑁)} ∩ ℤ) = {𝑘 ∈ (ℝ* ∩ ℤ) ∣ (𝑀𝑘𝑘𝑁)}
11 sseqin2 4215 . . . . . 6 (ℤ ⊆ ℝ* ↔ (ℝ* ∩ ℤ) = ℤ)
124, 11mpbi 229 . . . . 5 (ℝ* ∩ ℤ) = ℤ
1312rabeqi 3442 . . . 4 {𝑘 ∈ (ℝ* ∩ ℤ) ∣ (𝑀𝑘𝑘𝑁)} = {𝑘 ∈ ℤ ∣ (𝑀𝑘𝑘𝑁)}
1410, 13eqtri 2755 . . 3 ({𝑘 ∈ ℝ* ∣ (𝑀𝑘𝑘𝑁)} ∩ ℤ) = {𝑘 ∈ ℤ ∣ (𝑀𝑘𝑘𝑁)}
159, 14eqtr2di 2784 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → {𝑘 ∈ ℤ ∣ (𝑀𝑘𝑘𝑁)} = ((𝑀[,]𝑁) ∩ ℤ))
161, 15eqtrd 2767 1 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = ((𝑀[,]𝑁) ∩ ℤ))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 394   = wceq 1533  wcel 2098  {crab 3428  cin 3946  wss 3947   class class class wbr 5150  (class class class)co 7424  cr 11143  *cxr 11283  cle 11285  cz 12594  [,]cicc 13365  ...cfz 13522
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2166  ax-ext 2698  ax-sep 5301  ax-nul 5308  ax-pr 5431  ax-un 7744  ax-cnex 11200  ax-resscn 11201
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3or 1085  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2529  df-eu 2558  df-clab 2705  df-cleq 2719  df-clel 2805  df-nfc 2880  df-ral 3058  df-rex 3067  df-rab 3429  df-v 3473  df-sbc 3777  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-nul 4325  df-if 4531  df-sn 4631  df-pr 4633  df-op 4637  df-uni 4911  df-br 5151  df-opab 5213  df-id 5578  df-xp 5686  df-rel 5687  df-cnv 5688  df-co 5689  df-dm 5690  df-iota 6503  df-fun 6553  df-fv 6559  df-ov 7427  df-oprab 7428  df-mpo 7429  df-xr 11288  df-neg 11483  df-z 12595  df-icc 13369  df-fz 13523
This theorem is referenced by:  dvfsumle  25972  dvfsumleOLD  25973  dvfsumabs  25975  taylplem1  26315  taylplem2  26316  taylpfval  26317  dvtaylp  26323  ppisval  27054
  Copyright terms: Public domain W3C validator