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 33823
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 33821 . 2 (𝑅 ∈ 𝑉 → 𝑆 = (𝑥 ∈ 𝐵 ↦ if(𝑥 = 0 , 0, if( 0 < 𝑥, 1, -1))))
6 c0ex 11338 . . . . 5 0 ∈ V
76tpid2 4732 . . . 4 0 ∈ { -1, 0, 1}
8 1ex 11341 . . . . . 6 1 ∈ V
98tpid3 4735 . . . . 5 1 ∈ { -1, 0, 1}
10 negex 11593 . . . . . 6 -1 ∈ V
1110tpid1 4730 . . . . 5 -1 ∈ { -1, 0, 1}
129, 11ifcli 4532 . . . 4 if( 0 < 𝑥, 1, -1) ∈ { -1, 0, 1}
137, 12ifcli 4532 . . 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 7147 1 (𝑅 ∈ 𝑉 → 𝑆:𝐵⟶{ -1, 0, 1})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2150  ifcif 4484  {ctp 4591   class class class wbr 5107  ⟶wf 6561  ‘cfv 6565  0cc0 11238  1c1 11239   -cneg 11580  Basecbs 17433  0gc0g 17662  ltcplt 18534  sgnscsgns 33819
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-rep 5237  ax-sep 5254  ax-nul 5265  ax-pr 5397  ax-1cn 11296  ax-icn 11297  ax-addcl 11298  ax-mulcl 11300  ax-i2m1 11306
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-tp 4592  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-ov 7453  df-neg 11582  df-sgns 33820
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator