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

Theorem fzval 13671
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 5109 . . . 4 (𝑚 = 𝑀 → (𝑚 ≤ 𝑘 ↔ 𝑀 ≤ 𝑘))
21anbi1d 643 . . 3 (𝑚 = 𝑀 → ((𝑚 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛) ↔ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛)))
32rabbidv 3423 . 2 (𝑚 = 𝑀 → {𝑘 ∈ ℤ ∣ (𝑚 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛)} = {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛)})
4 breq2 5110 . . . 4 (𝑛 = 𝑁 → (𝑘 ≤ 𝑛 ↔ 𝑘 ≤ 𝑁))
54anbi2d 642 . . 3 (𝑛 = 𝑁 → ((𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛) ↔ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)))
65rabbidv 3423 . 2 (𝑛 = 𝑁 → {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛)} = {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)})
7 df-fz 13670 . 2 ... = (𝑚 ∈ ℤ, 𝑛 ∈ ℤ ↦ {𝑘 ∈ ℤ ∣ (𝑚 ≤ 𝑘 ∧ 𝑘 ≤ 𝑛)})
8 zex 12732 . . 3 ℤ ∈ V
98rabex 5305 . 2 {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)} ∈ V
103, 6, 7, 9ovmpo 7607 1 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = {𝑘 ∈ ℤ ∣ (𝑀 ≤ 𝑘 ∧ 𝑘 ≤ 𝑁)})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  {crab 3416   class class class wbr 5106  (class class class)co 7446   ≤ cle 11374  ℤcz 12723  ...cfz 13669
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5253  ax-pr 5396  ax-cnex 11286  ax-resscn 11287
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5172  df-id 5551  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-iota 6515  df-fun 6563  df-fv 6569  df-ov 7449  df-oprab 7450  df-mpo 7451  df-neg 11574  df-z 12724  df-fz 13670
This theorem is used by:  fzval2  13672  elfz1  13674
  Copyright terms: Public domain W3C validator