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

Theorem ceilval 13889
Description: The value of the ceiling function. (Contributed by David A. Wheeler, 19-May-2015.)
Assertion
Ref Expression
ceilval (𝐴 ∈ ℝ → (⌈‘𝐴) = -(⌊‘-𝐴))

Proof of Theorem ceilval
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 negeq 11464 . . . 4 (𝑥 = 𝐴 → -𝑥 = -𝐴)
21fveq2d 6889 . . 3 (𝑥 = 𝐴 → (⌊‘-𝑥) = (⌊‘-𝐴))
32negeqd 11466 . 2 (𝑥 = 𝐴 → -(⌊‘-𝑥) = -(⌊‘-𝐴))
4 df-ceil 13844 . 2 ⌈ = (𝑥 ∈ ℝ ↦ -(⌊‘-𝑥))
5 negex 11470 . 2 -(⌊‘-𝐴) ∈ V
63, 4, 5fvmpt 6993 1 (𝐴 ∈ ℝ → (⌈‘𝐴) = -(⌊‘-𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4   = wceq 1570  wcel 2146  cfv 6540  cr 11114  -cneg 11457  cfl 13841  cceil 13842
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 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2737  ax-sep 5259  ax-nul 5271  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2569  df-eu 2599  df-clab 2744  df-cleq 2757  df-clel 2840  df-nfc 2914  df-ne 2961  df-ral 3082  df-rex 3092  df-rab 3419  df-v 3459  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-nul 4287  df-if 4490  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4875  df-br 5112  df-opab 5176  df-mpt 5195  df-id 5558  df-xp 5669  df-rel 5670  df-cnv 5671  df-co 5672  df-dm 5673  df-iota 6496  df-fun 6542  df-fv 6548  df-ov 7422  df-neg 11459  df-ceil 13844
This theorem is used by:  ceilcl  13893  ceilge  13896  ceilm1lt  13899  ceille  13901  ceilid  13902  ex-ceil  30870  ceilbi  48132  ceildivmod  48140
  Copyright terms: Public domain W3C validator