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

Theorem sgn0 15146
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 11267 . . 3 0 ∈ ℝ*
2 sgnval 15145 . . 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 2765 . . 3 0 = 0
54iftruei 4496 . 2 if(0 = 0, 0, if(0 < 0, -1, 1)) = 0
63, 5eqtri 2788 1 (sgn‘0) = 0
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570  wcel 2146  ifcif 4489   class class class wbr 5111  cfv 6540  0cc0 11111  1c1 11112  *cxr 11253   < clt 11254  -cneg 11453  sgncsgn 15143
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  ax-1cn 11169  ax-icn 11170  ax-addcl 11171  ax-addrcl 11172  ax-mulcl 11173  ax-i2m1 11179  ax-rnegex 11182  ax-cnre 11184
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 7419  df-xr 11258  df-neg 11455  df-sgn 15144
This theorem is used by:  sgncl  15154  sgnrn  15155  sgnmul  15164  sgnsgn  33221  signstfveq0  35005
  Copyright terms: Public domain W3C validator