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

Theorem ceilval 13867
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 11445 . . . 4 (𝑥 = 𝐴 → -𝑥 = -𝐴)
21fveq2d 6883 . . 3 (𝑥 = 𝐴 → (⌊‘-𝑥) = (⌊‘-𝐴))
32negeqd 11447 . 2 (𝑥 = 𝐴 → -(⌊‘-𝑥) = -(⌊‘-𝐴))
4 df-ceil 13822 . 2 ⌈ = (𝑥 ∈ ℝ ↦ -(⌊‘-𝑥))
5 negex 11451 . 2 -(⌊‘-𝐴) ∈ V
63, 4, 5fvmpt 6987 1 (𝐴 ∈ ℝ → (⌈‘𝐴) = -(⌊‘-𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1567  wcel 2149  cfv 6533  cr 11095  -cneg 11438  cfl 13819  cceil 13820
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1822  ax-4 1836  ax-5 1937  ax-6 1994  ax-7 2035  ax-8 2151  ax-9 2159  ax-10 2182  ax-11 2198  ax-12 2219  ax-ext 2741  ax-sep 5258  ax-nul 5268  ax-pr 5402
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1103  df-tru 1570  df-fal 1580  df-ex 1807  df-nf 1811  df-sb 2098  df-mo 2573  df-eu 2603  df-clab 2748  df-cleq 2761  df-clel 2844  df-nfc 2918  df-ne 2965  df-ral 3086  df-rex 3096  df-rab 3424  df-v 3465  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-nul 4295  df-if 4490  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4874  df-br 5111  df-opab 5175  df-mpt 5194  df-id 5554  df-xp 5665  df-rel 5666  df-cnv 5667  df-co 5668  df-dm 5669  df-iota 6489  df-fun 6535  df-fv 6541  df-ov 7411  df-neg 11440  df-ceil 13822
This theorem is referenced by:  ceilcl  13871  ceilge  13874  ceilm1lt  13877  ceille  13879  ceilid  13880  ex-ceil  30736  ceilbi  47956  ceildivmod  47964
  Copyright terms: Public domain W3C validator