| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > sgnn | Structured version Visualization version GIF version | ||
| Description: The signum of a negative extended real is -1. (Contributed by David A. Wheeler, 15-May-2015.) |
| Ref | Expression |
|---|---|
| sgnn | ⊢ ((𝐴 ∈ ℝ* ∧ 𝐴 < 0) → (sgn‘𝐴) = -1) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | sgnval 15250 | . . 3 ⊢ (𝐴 ∈ ℝ* → (sgn‘𝐴) = if(𝐴 = 0, 0, if(𝐴 < 0, -1, 1))) | |
| 2 | 1 | adantr 486 | . 2 ⊢ ((𝐴 ∈ ℝ* ∧ 𝐴 < 0) → (sgn‘𝐴) = if(𝐴 = 0, 0, if(𝐴 < 0, -1, 1))) |
| 3 | 0xr 11363 | . . . . 5 ⊢ 0 ∈ ℝ* | |
| 4 | xrltne 13299 | . . . . 5 ⊢ ((𝐴 ∈ ℝ* ∧ 0 ∈ ℝ* ∧ 𝐴 < 0) → 0 ≠ 𝐴) | |
| 5 | 3, 4 | mp3an2 1478 | . . . 4 ⊢ ((𝐴 ∈ ℝ* ∧ 𝐴 < 0) → 0 ≠ 𝐴) |
| 6 | nesym 3011 | . . . 4 ⊢ (0 ≠ 𝐴 ↔ ¬ 𝐴 = 0) | |
| 7 | 5, 6 | sylib 221 | . . 3 ⊢ ((𝐴 ∈ ℝ* ∧ 𝐴 < 0) → ¬ 𝐴 = 0) |
| 8 | 7 | iffalsed 4492 | . 2 ⊢ ((𝐴 ∈ ℝ* ∧ 𝐴 < 0) → if(𝐴 = 0, 0, if(𝐴 < 0, -1, 1)) = if(𝐴 < 0, -1, 1)) |
| 9 | iftrue 4487 | . . 3 ⊢ (𝐴 < 0 → if(𝐴 < 0, -1, 1) = -1) | |
| 10 | 9 | adantl 487 | . 2 ⊢ ((𝐴 ∈ ℝ* ∧ 𝐴 < 0) → if(𝐴 < 0, -1, 1) = -1) |
| 11 | 2, 8, 10 | 3eqtrd 2799 | 1 ⊢ ((𝐴 ∈ ℝ* ∧ 𝐴 < 0) → (sgn‘𝐴) = -1) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 → wi 4 ∧ wa 401 = wceq 1569 ∈ wcel 2144 ≠ wne 2955 ifcif 4481 class class class wbr 5102 ‘cfv 6543 0cc0 11207 1c1 11208 ℝ*cxr 11349 < clt 11350 -cneg 11549 sgncsgn 15248 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1827 ax-4 1841 ax-5 1942 ax-6 1999 ax-7 2040 ax-8 2146 ax-9 2154 ax-10 2177 ax-11 2193 ax-12 2212 ax-ext 2732 ax-sep 5248 ax-nul 5259 ax-pow 5327 ax-pr 5391 ax-un 7755 ax-cnex 11263 ax-resscn 11264 ax-1cn 11265 ax-icn 11266 ax-addcl 11267 ax-addrcl 11268 ax-mulcl 11269 ax-i2m1 11275 ax-rnegex 11278 ax-cnre 11280 ax-pre-lttri 11281 ax-pre-lttrn 11282 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3or 1104 df-3an 1105 df-tru 1572 df-fal 1582 df-ex 1812 df-nf 1816 df-sb 2099 df-mo 2564 df-eu 2594 df-clab 2739 df-cleq 2752 df-clel 2835 df-nfc 2909 df-ne 2956 df-nel 3062 df-ral 3077 df-rex 3087 df-rab 3413 df-v 3452 df-sbc 3739 df-csb 3848 df-ss 3897 df-dif 4046 df-in 4090 df-un 4150 df-nul 4278 df-if 4482 df-pw 4558 df-sn 4585 df-pr 4587 df-op 4835 df-uni 4867 df-br 5103 df-opab 5167 df-mpt 5186 df-id 5546 df-po 5559 df-so 5560 df-xp 5657 df-rel 5658 df-cnv 5659 df-co 5660 df-dm 5661 df-rn 5662 df-res 5663 df-ima 5664 df-iota 6497 df-fun 6545 df-fn 6546 df-f 6547 df-f1 6548 df-fo 6549 df-f1o 6550 df-fv 6551 df-ov 7427 df-er 8725 df-en 8982 df-dom 8983 df-sdom 8984 df-pnf 11352 df-mnf 11353 df-xr 11354 df-ltxr 11355 df-neg 11551 df-sgn 15249 |
| This theorem is used by: sgnmnf 15257 sgncl 15259 sgnnbi 15266 sgnsub 15268 sgnmul 15269 sgnval2 33377 sgnsgn 33472 |
| Copyright terms: Public domain | W3C validator |