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

Theorem sgn0 15126
Description: The signum of 0 is 0. (Contributed by David A. Wheeler, 15-May-2015.)
Assertion
Ref Expression
sgn0 (sgn‘0) = 0

Proof of Theorem sgn0
StepHypRef Expression
1 0xr 11256 . . 3 0 ∈ ℝ*
2 sgnval 15125 . . 3 (0 ∈ ℝ* → (sgn‘0) = if(0 = 0, 0, if(0 < 0, -1, 1)))
31, 2ax-mp 5 . 2 (sgn‘0) = if(0 = 0, 0, if(0 < 0, -1, 1))
4 eqid 2769 . . 3 0 = 0
54iftruei 4499 . 2 if(0 = 0, 0, if(0 < 0, -1, 1)) = 0
63, 5eqtri 2792 1 (sgn‘0) = 0
Colors of variables: wff setvar class
Syntax hints:   = wceq 1567  wcel 2149  ifcif 4492   class class class wbr 5113  cfv 6537  0cc0 11100  1c1 11101  *cxr 11242   < clt 11243  -cneg 11442  sgncsgn 15123
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 5261  ax-nul 5271  ax-pr 5405  ax-1cn 11158  ax-icn 11159  ax-addcl 11160  ax-addrcl 11161  ax-mulcl 11162  ax-i2m1 11168  ax-rnegex 11171  ax-cnre 11173
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 4493  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4877  df-br 5114  df-opab 5178  df-mpt 5197  df-id 5557  df-xp 5668  df-rel 5669  df-cnv 5670  df-co 5671  df-dm 5672  df-iota 6493  df-fun 6539  df-fv 6545  df-ov 7414  df-xr 11247  df-neg 11444  df-sgn 15124
This theorem is referenced by:  sgncl  15134  sgnrn  15135  sgnmul  15144  sgnsgn  33116  signstfveq0  34909
  Copyright terms: Public domain W3C validator