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

Theorem fzval 13622
Description: The value of a finite set of sequential integers. E.g., 2...5 means the set {2, 3, 4, 5}. A special case of this definition (starting at 1) appears as Definition 11-2.1 of [Gleason] p. 141, where ℕk means our 1...𝑘; he calls these sets segments of the integers. (Contributed by NM, 6-Sep-2005.) (Revised by Mario Carneiro, 3-Nov-2013.)
Assertion
Ref Expression
fzval ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)})
Distinct variable groups:   𝑘,𝑀   𝑘,𝑁

Proof of Theorem fzval
Dummy variables 𝑚 𝑛 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 breq1 5106 . . . 4 (𝑚 = 𝑀 → (𝑚 ≤ 𝑘 ↔ 𝑀 ≤ 𝑘))
21anbi1d 643 . . 3 (𝑚 = 𝑀 → ((𝑚 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛) ↔ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛)))
32rabbidv 3420 . 2 (𝑚 = 𝑀 → {𝑘 ∈ ℤ ∣ (𝑚 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛)} = {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛)})
4 breq2 5107 . . . 4 (𝑛 = 𝑁 → (𝑘 ≤ 𝑛 ↔ 𝑘 ≤ 𝑁))
54anbi2d 642 . . 3 (𝑛 = 𝑁 → ((𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛) ↔ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)))
65rabbidv 3420 . 2 (𝑛 = 𝑁 → {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛)} = {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)})
7 df-fz 13621 . 2 ... = (𝑚 ∈ ℤ, 𝑛 ∈ ℤ ↦ {𝑘 ∈ ℤ ∣ (𝑚 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛)})
8 zex 12683 . . 3 ℤ ∈ V
98rabex 5300 . 2 {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)} ∈ V
103, 6, 7, 9ovmpo 7572 1 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  {crab 3413   class class class wbr 5103  (class class class)co 7412   ≤ cle 11325  ℤcz 12674  ...cfz 13620
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-pr 5391  ax-cnex 11237  ax-resscn 11238
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6487  df-fun 6533  df-fv 6539  df-ov 7415  df-oprab 7416  df-mpo 7417  df-neg 11525  df-z 12675  df-fz 13621
This theorem is used by:  fzval2  13623  elfz1  13625
  Copyright terms: Public domain W3C validator