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

Theorem fzval 12888
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 5062 . . . 4 (𝑚 = 𝑀 → (𝑚𝑘𝑀𝑘))
21anbi1d 631 . . 3 (𝑚 = 𝑀 → ((𝑚𝑘𝑘𝑛) ↔ (𝑀𝑘𝑘𝑛)))
32rabbidv 3481 . 2 (𝑚 = 𝑀 → {𝑘 ∈ ℤ ∣ (𝑚𝑘𝑘𝑛)} = {𝑘 ∈ ℤ ∣ (𝑀𝑘𝑘𝑛)})
4 breq2 5063 . . . 4 (𝑛 = 𝑁 → (𝑘𝑛𝑘𝑁))
54anbi2d 630 . . 3 (𝑛 = 𝑁 → ((𝑀𝑘𝑘𝑛) ↔ (𝑀𝑘𝑘𝑁)))
65rabbidv 3481 . 2 (𝑛 = 𝑁 → {𝑘 ∈ ℤ ∣ (𝑀𝑘𝑘𝑛)} = {𝑘 ∈ ℤ ∣ (𝑀𝑘𝑘𝑁)})
7 df-fz 12887 . 2 ... = (𝑚 ∈ ℤ, 𝑛 ∈ ℤ ↦ {𝑘 ∈ ℤ ∣ (𝑚𝑘𝑘𝑛)})
8 zex 11984 . . 3 ℤ ∈ V
98rabex 5228 . 2 {𝑘 ∈ ℤ ∣ (𝑀𝑘𝑘𝑁)} ∈ V
103, 6, 7, 9ovmpo 7304 1 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) = {𝑘 ∈ ℤ ∣ (𝑀𝑘𝑘𝑁)})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1533  wcel 2110  {crab 3142   class class class wbr 5059  (class class class)co 7150  cle 10670  cz 11975  ...cfz 12886
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pr 5322  ax-cnex 10587  ax-resscn 10588
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3497  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4833  df-br 5060  df-opab 5122  df-id 5455  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-iota 6309  df-fun 6352  df-fv 6358  df-ov 7153  df-oprab 7154  df-mpo 7155  df-neg 10867  df-z 11976  df-fz 12887
This theorem is referenced by:  fzval2  12889  elfz1  12891
  Copyright terms: Public domain W3C validator