Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  sgnsf Structured version   Visualization version   GIF version

Theorem sgnsf 33656
Description: The sign function. (Contributed by Thierry Arnoux, 9-Sep-2018.)
Hypotheses
Ref Expression
sgnsval.b 𝐵 = (Base‘𝑅)
sgnsval.0 0 = (0g𝑅)
sgnsval.l < = (lt‘𝑅)
sgnsval.s 𝑆 = (sgns𝑅)
Assertion
Ref Expression
sgnsf (𝑅𝑉𝑆:𝐵⟶{-1, 0, 1})

Proof of Theorem sgnsf
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 sgnsval.b . . 3 𝐵 = (Base‘𝑅)
2 sgnsval.0 . . 3 0 = (0g𝑅)
3 sgnsval.l . . 3 < = (lt‘𝑅)
4 sgnsval.s . . 3 𝑆 = (sgns𝑅)
51, 2, 3, 4sgnsv 33654 . 2 (𝑅𝑉𝑆 = (𝑥𝐵 ↦ if(𝑥 = 0 , 0, if( 0 < 𝑥, 1, -1))))
6 c0ex 11271 . . . . 5 0 ∈ V
76tpid2 4730 . . . 4 0 ∈ {-1, 0, 1}
8 1ex 11274 . . . . . 6 1 ∈ V
98tpid3 4733 . . . . 5 1 ∈ {-1, 0, 1}
10 negex 11526 . . . . . 6 -1 ∈ V
1110tpid1 4728 . . . . 5 -1 ∈ {-1, 0, 1}
129, 11ifcli 4529 . . . 4 if( 0 < 𝑥, 1, -1) ∈ {-1, 0, 1}
137, 12ifcli 4529 . . 3 if(𝑥 = 0 , 0, if( 0 < 𝑥, 1, -1)) ∈ {-1, 0, 1}
1413a1i 11 . 2 ((𝑅𝑉𝑥𝐵) → if(𝑥 = 0 , 0, if( 0 < 𝑥, 1, -1)) ∈ {-1, 0, 1})
155, 14fmpt3d 7104 1 (𝑅𝑉𝑆:𝐵⟶{-1, 0, 1})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wa 401   = wceq 1570  wcel 2145  ifcif 4481  {ctp 4587   class class class wbr 5102  wf 6523  cfv 6527  0cc0 11171  1c1 11172  -cneg 11513  Basecbs 17348  0gc0g 17571  ltcplt 18443  sgnscsgns 33652
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 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pr 5390  ax-1cn 11229  ax-icn 11230  ax-addcl 11231  ax-mulcl 11233  ax-i2m1 11239
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-tp 4588  df-op 4590  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5542  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-rn 5658  df-res 5659  df-ima 5660  df-iota 6483  df-fun 6529  df-fn 6530  df-f 6531  df-f1 6532  df-fo 6533  df-f1o 6534  df-fv 6535  df-ov 7411  df-neg 11515  df-sgns 33653
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator