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 33589
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 33587 . 2 (𝑅𝑉𝑆 = (𝑥𝐵 ↦ if(𝑥 = 0 , 0, if( 0 < 𝑥, 1, -1))))
6 c0ex 11227 . . . . 5 0 ∈ V
76tpid2 4734 . . . 4 0 ∈ {-1, 0, 1}
8 1ex 11230 . . . . . 6 1 ∈ V
98tpid3 4737 . . . . 5 1 ∈ {-1, 0, 1}
10 negex 11482 . . . . . 6 -1 ∈ V
1110tpid1 4732 . . . . 5 -1 ∈ {-1, 0, 1}
129, 11ifcli 4533 . . . 4 if( 0 < 𝑥, 1, -1) ∈ {-1, 0, 1}
137, 12ifcli 4533 . . 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 7112 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 4485  {ctp 4591   class class class wbr 5107  wf 6533  cfv 6537  0cc0 11127  1c1 11128  -cneg 11469  Basecbs 17305  0gc0g 17528  ltcplt 18400  sgnscsgns 33585
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 2215  ax-ext 2734  ax-rep 5236  ax-sep 5255  ax-nul 5267  ax-pr 5402  ax-1cn 11185  ax-icn 11186  ax-addcl 11187  ax-mulcl 11189  ax-i2m1 11195
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 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-ral 3079  df-rex 3089  df-reu 3368  df-rab 3415  df-v 3455  df-sbc 3743  df-csb 3851  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-nul 4283  df-if 4486  df-sn 4588  df-pr 4590  df-tp 4592  df-op 4594  df-uni 4871  df-iun 4956  df-br 5108  df-opab 5172  df-mpt 5191  df-id 5554  df-xp 5665  df-rel 5666  df-cnv 5667  df-co 5668  df-dm 5669  df-rn 5670  df-res 5671  df-ima 5672  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-ov 7419  df-neg 11471  df-sgns 33586
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator