Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > fzval2 | Structured version Visualization version GIF version |
Description: An alternative way of expressing a finite set of sequential integers. (Contributed by Mario Carneiro, 3-Nov-2013.) |
Ref | Expression |
---|---|
fzval2 | ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = ((𝑀[,]𝑁) ∩ ℤ)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | fzval 13170 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)}) | |
2 | zssre 12256 | . . . . . . 7 ⊢ ℤ ⊆ ℝ | |
3 | ressxr 10950 | . . . . . . 7 ⊢ ℝ ⊆ ℝ* | |
4 | 2, 3 | sstri 3926 | . . . . . 6 ⊢ ℤ ⊆ ℝ* |
5 | 4 | sseli 3913 | . . . . 5 ⊢ (𝑀 ∈ ℤ → 𝑀 ∈ ℝ*) |
6 | 4 | sseli 3913 | . . . . 5 ⊢ (𝑁 ∈ ℤ → 𝑁 ∈ ℝ*) |
7 | iccval 13047 | . . . . 5 ⊢ ((𝑀 ∈ ℝ* ∧ 𝑁 ∈ ℝ*) → (𝑀[,]𝑁) = {𝑘 ∈ ℝ* ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)}) | |
8 | 5, 6, 7 | syl2an 595 | . . . 4 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀[,]𝑁) = {𝑘 ∈ ℝ* ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)}) |
9 | 8 | ineq1d 4142 | . . 3 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑀[,]𝑁) ∩ ℤ) = ({𝑘 ∈ ℝ* ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)} ∩ ℤ)) |
10 | inrab2 4238 | . . . 4 ⊢ ({𝑘 ∈ ℝ* ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)} ∩ ℤ) = {𝑘 ∈ (ℝ* ∩ ℤ) ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)} | |
11 | sseqin2 4146 | . . . . . 6 ⊢ (ℤ ⊆ ℝ* ↔ (ℝ* ∩ ℤ) = ℤ) | |
12 | 4, 11 | mpbi 229 | . . . . 5 ⊢ (ℝ* ∩ ℤ) = ℤ |
13 | 12 | rabeqi 3406 | . . . 4 ⊢ {𝑘 ∈ (ℝ* ∩ ℤ) ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)} = {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)} |
14 | 10, 13 | eqtri 2766 | . . 3 ⊢ ({𝑘 ∈ ℝ* ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)} ∩ ℤ) = {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)} |
15 | 9, 14 | eqtr2di 2796 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)} = ((𝑀[,]𝑁) ∩ ℤ)) |
16 | 1, 15 | eqtrd 2778 | 1 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = ((𝑀[,]𝑁) ∩ ℤ)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 395 = wceq 1539 ∈ wcel 2108 {crab 3067 ∩ cin 3882 ⊆ wss 3883 class class class wbr 5070 (class class class)co 7255 ℝcr 10801 ℝ*cxr 10939 ≤ cle 10941 ℤcz 12249 [,]cicc 13011 ...cfz 13168 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1799 ax-4 1813 ax-5 1914 ax-6 1972 ax-7 2012 ax-8 2110 ax-9 2118 ax-10 2139 ax-11 2156 ax-12 2173 ax-ext 2709 ax-sep 5218 ax-nul 5225 ax-pr 5347 ax-un 7566 ax-cnex 10858 ax-resscn 10859 |
This theorem depends on definitions: df-bi 206 df-an 396 df-or 844 df-3or 1086 df-3an 1087 df-tru 1542 df-fal 1552 df-ex 1784 df-nf 1788 df-sb 2069 df-mo 2540 df-eu 2569 df-clab 2716 df-cleq 2730 df-clel 2817 df-nfc 2888 df-ral 3068 df-rex 3069 df-rab 3072 df-v 3424 df-sbc 3712 df-dif 3886 df-un 3888 df-in 3890 df-ss 3900 df-nul 4254 df-if 4457 df-sn 4559 df-pr 4561 df-op 4565 df-uni 4837 df-br 5071 df-opab 5133 df-id 5480 df-xp 5586 df-rel 5587 df-cnv 5588 df-co 5589 df-dm 5590 df-iota 6376 df-fun 6420 df-fv 6426 df-ov 7258 df-oprab 7259 df-mpo 7260 df-xr 10944 df-neg 11138 df-z 12250 df-icc 13015 df-fz 13169 |
This theorem is referenced by: dvfsumle 25090 dvfsumabs 25092 taylplem1 25427 taylplem2 25428 taylpfval 25429 dvtaylp 25434 ppisval 26158 |
Copyright terms: Public domain | W3C validator |