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

Theorem fzval 13645
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 5105 . . . 4 (𝑚 = 𝑀 → (𝑚 ≤ 𝑘 ↔ 𝑀 ≤ 𝑘))
21anbi1d 643 . . 3 (𝑚 = 𝑀 → ((𝑚 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛) ↔ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛)))
32rabbidv 3419 . 2 (𝑚 = 𝑀 → {𝑘 ∈ ℤ ∣ (𝑚 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛)} = {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛)})
4 breq2 5106 . . . 4 (𝑛 = 𝑁 → (𝑘 ≤ 𝑛 ↔ 𝑘 ≤ 𝑁))
54anbi2d 642 . . 3 (𝑛 = 𝑁 → ((𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛) ↔ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)))
65rabbidv 3419 . 2 (𝑛 = 𝑁 → {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛)} = {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)})
7 df-fz 13644 . 2 ... = (𝑚 ∈ ℤ, 𝑛 ∈ ℤ ↦ {𝑘 ∈ ℤ ∣ (𝑚 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛)})
8 zex 12706 . . 3 ℤ ∈ V
98rabex 5299 . 2 {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)} ∈ V
103, 6, 7, 9ovmpo 7581 1 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  {crab 3412   class class class wbr 5102  (class class class)co 7421   ≤ cle 11348  ℤcz 12697  ...cfz 13643
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-pr 5390  ax-cnex 11260  ax-resscn 11261
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-iota 6494  df-fun 6541  df-fv 6547  df-ov 7424  df-oprab 7425  df-mpo 7426  df-neg 11548  df-z 12698  df-fz 13644
This theorem is used by:  fzval2  13646  elfz1  13648
  Copyright terms: Public domain W3C validator