Mathbox for Thierry Arnoux |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > Mathboxes > sgnsf | Structured version Visualization version GIF version |
Description: The sign function. (Contributed by Thierry Arnoux, 9-Sep-2018.) |
Ref | Expression |
---|---|
sgnsval.b | ⊢ 𝐵 = (Base‘𝑅) |
sgnsval.0 | ⊢ 0 = (0g‘𝑅) |
sgnsval.l | ⊢ < = (lt‘𝑅) |
sgnsval.s | ⊢ 𝑆 = (sgns‘𝑅) |
Ref | Expression |
---|---|
sgnsf | ⊢ (𝑅 ∈ 𝑉 → 𝑆:𝐵⟶{-1, 0, 1}) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | sgnsval.b | . . 3 ⊢ 𝐵 = (Base‘𝑅) | |
2 | sgnsval.0 | . . 3 ⊢ 0 = (0g‘𝑅) | |
3 | sgnsval.l | . . 3 ⊢ < = (lt‘𝑅) | |
4 | sgnsval.s | . . 3 ⊢ 𝑆 = (sgns‘𝑅) | |
5 | 1, 2, 3, 4 | sgnsv 30954 | . 2 ⊢ (𝑅 ∈ 𝑉 → 𝑆 = (𝑥 ∈ 𝐵 ↦ if(𝑥 = 0 , 0, if( 0 < 𝑥, 1, -1)))) |
6 | c0ex 10674 | . . . . 5 ⊢ 0 ∈ V | |
7 | 6 | tpid2 4664 | . . . 4 ⊢ 0 ∈ {-1, 0, 1} |
8 | 1ex 10676 | . . . . . 6 ⊢ 1 ∈ V | |
9 | 8 | tpid3 4667 | . . . . 5 ⊢ 1 ∈ {-1, 0, 1} |
10 | negex 10923 | . . . . . 6 ⊢ -1 ∈ V | |
11 | 10 | tpid1 4662 | . . . . 5 ⊢ -1 ∈ {-1, 0, 1} |
12 | 9, 11 | ifcli 4468 | . . . 4 ⊢ if( 0 < 𝑥, 1, -1) ∈ {-1, 0, 1} |
13 | 7, 12 | ifcli 4468 | . . 3 ⊢ if(𝑥 = 0 , 0, if( 0 < 𝑥, 1, -1)) ∈ {-1, 0, 1} |
14 | 13 | a1i 11 | . 2 ⊢ ((𝑅 ∈ 𝑉 ∧ 𝑥 ∈ 𝐵) → if(𝑥 = 0 , 0, if( 0 < 𝑥, 1, -1)) ∈ {-1, 0, 1}) |
15 | 5, 14 | fmpt3d 6872 | 1 ⊢ (𝑅 ∈ 𝑉 → 𝑆:𝐵⟶{-1, 0, 1}) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 400 = wceq 1539 ∈ wcel 2112 ifcif 4421 {ctp 4527 class class class wbr 5033 ⟶wf 6332 ‘cfv 6336 0cc0 10576 1c1 10577 -cneg 10910 Basecbs 16542 0gc0g 16772 ltcplt 17618 sgnscsgns 30952 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1798 ax-4 1812 ax-5 1912 ax-6 1971 ax-7 2016 ax-8 2114 ax-9 2122 ax-10 2143 ax-11 2159 ax-12 2176 ax-ext 2730 ax-rep 5157 ax-sep 5170 ax-nul 5177 ax-pr 5299 ax-1cn 10634 ax-icn 10635 ax-addcl 10636 ax-mulcl 10638 ax-i2m1 10644 |
This theorem depends on definitions: df-bi 210 df-an 401 df-or 846 df-3or 1086 df-3an 1087 df-tru 1542 df-fal 1552 df-ex 1783 df-nf 1787 df-sb 2071 df-mo 2558 df-eu 2589 df-clab 2737 df-cleq 2751 df-clel 2831 df-nfc 2902 df-ne 2953 df-ral 3076 df-rex 3077 df-reu 3078 df-rab 3080 df-v 3412 df-sbc 3698 df-csb 3807 df-dif 3862 df-un 3864 df-in 3866 df-ss 3876 df-nul 4227 df-if 4422 df-sn 4524 df-pr 4526 df-tp 4528 df-op 4530 df-uni 4800 df-iun 4886 df-br 5034 df-opab 5096 df-mpt 5114 df-id 5431 df-xp 5531 df-rel 5532 df-cnv 5533 df-co 5534 df-dm 5535 df-rn 5536 df-res 5537 df-ima 5538 df-iota 6295 df-fun 6338 df-fn 6339 df-f 6340 df-f1 6341 df-fo 6342 df-f1o 6343 df-fv 6344 df-ov 7154 df-neg 10912 df-sgns 30953 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |