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

Theorem sgnmulsgp 33342
Description: If two real numbers are of same signs, so are their signs. (Contributed by Thierry Arnoux, 12-Oct-2018.)
Assertion
Ref Expression
sgnmulsgp ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (0 < (𝐴 · 𝐵) ↔ 0 < ((sgn‘𝐴) · (sgn‘𝐵))))

Proof of Theorem sgnmulsgp
StepHypRef Expression
1 0lt1 11793 . . . . 5 0 < 1
2 breq2 5107 . . . . 5 ((sgn‘(𝐴 · 𝐵)) = 1 → (0 < (sgn‘(𝐴 · 𝐵)) ↔ 0 < 1))
31, 2mpbiri 261 . . . 4 ((sgn‘(𝐴 · 𝐵)) = 1 → 0 < (sgn‘(𝐴 · 𝐵)))
43adantl 487 . . 3 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ (sgn‘(𝐴 · 𝐵)) = 1) → 0 < (sgn‘(𝐴 · 𝐵)))
5 simplr 781 . . . . . 6 ((((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 0 < (sgn‘(𝐴 · 𝐵))) ∧ (sgn‘(𝐴 · 𝐵)) = -1) → 0 < (sgn‘(𝐴 · 𝐵)))
6 simpr 490 . . . . . 6 ((((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 0 < (sgn‘(𝐴 · 𝐵))) ∧ (sgn‘(𝐴 · 𝐵)) = -1) → (sgn‘(𝐴 · 𝐵)) = -1)
75, 6breqtrd 5131 . . . . 5 ((((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 0 < (sgn‘(𝐴 · 𝐵))) ∧ (sgn‘(𝐴 · 𝐵)) = -1) → 0 < -1)
8 1nn0 12577 . . . . . . . 8 1 ∈ ℕ0
9 nn0nlt0 12587 . . . . . . . 8 (1 ∈ ℕ0 → ¬ 1 < 0)
108, 9ax-mp 5 . . . . . . 7 ¬ 1 < 0
11 1re 11265 . . . . . . . 8 1 ∈ ℝ
12 lt0neg1 11777 . . . . . . . 8 (1 ∈ ℝ → (1 < 0 ↔ 0 < -1))
1311, 12ax-mp 5 . . . . . . 7 (1 < 0 ↔ 0 < -1)
1410, 13mtbi 325 . . . . . 6 ¬ 0 < -1
1514a1i 11 . . . . 5 ((((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 0 < (sgn‘(𝐴 · 𝐵))) ∧ (sgn‘(𝐴 · 𝐵)) = -1) → ¬ 0 < -1)
167, 15pm2.21dd 198 . . . 4 ((((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 0 < (sgn‘(𝐴 · 𝐵))) ∧ (sgn‘(𝐴 · 𝐵)) = -1) → (sgn‘(𝐴 · 𝐵)) = 1)
17 simpr 490 . . . . 5 ((((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 0 < (sgn‘(𝐴 · 𝐵))) ∧ (sgn‘(𝐴 · 𝐵)) = 0) → (sgn‘(𝐴 · 𝐵)) = 0)
18 simplr 781 . . . . . 6 ((((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 0 < (sgn‘(𝐴 · 𝐵))) ∧ (sgn‘(𝐴 · 𝐵)) = 0) → 0 < (sgn‘(𝐴 · 𝐵)))
1918gt0ne0d 11835 . . . . 5 ((((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 0 < (sgn‘(𝐴 · 𝐵))) ∧ (sgn‘(𝐴 · 𝐵)) = 0) → (sgn‘(𝐴 · 𝐵)) ≠ 0)
2017, 19pm2.21ddne 3039 . . . 4 ((((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 0 < (sgn‘(𝐴 · 𝐵))) ∧ (sgn‘(𝐴 · 𝐵)) = 0) → (sgn‘(𝐴 · 𝐵)) = 1)
21 simpr 490 . . . 4 ((((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 0 < (sgn‘(𝐴 · 𝐵))) ∧ (sgn‘(𝐴 · 𝐵)) = 1) → (sgn‘(𝐴 · 𝐵)) = 1)
22 remulcl 11242 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 · 𝐵) ∈ ℝ)
2322rexrd 11316 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 · 𝐵) ∈ ℝ*)
2423adantr 486 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 0 < (sgn‘(𝐴 · 𝐵))) → (𝐴 · 𝐵) ∈ ℝ*)
25 sgncl 15203 . . . . 5 ((𝐴 · 𝐵) ∈ ℝ* → (sgn‘(𝐴 · 𝐵)) ∈ {-1, 0, 1})
26 eltpi 4649 . . . . 5 ((sgn‘(𝐴 · 𝐵)) ∈ {-1, 0, 1} → ((sgn‘(𝐴 · 𝐵)) = -1 ∨ (sgn‘(𝐴 · 𝐵)) = 0 ∨ (sgn‘(𝐴 · 𝐵)) = 1))
2724, 25, 263syl 19 . . . 4 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 0 < (sgn‘(𝐴 · 𝐵))) → ((sgn‘(𝐴 · 𝐵)) = -1 ∨ (sgn‘(𝐴 · 𝐵)) = 0 ∨ (sgn‘(𝐴 · 𝐵)) = 1))
2816, 20, 21, 27mpjao3dan 1459 . . 3 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 0 < (sgn‘(𝐴 · 𝐵))) → (sgn‘(𝐴 · 𝐵)) = 1)
294, 28impbida 813 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → ((sgn‘(𝐴 · 𝐵)) = 1 ↔ 0 < (sgn‘(𝐴 · 𝐵))))
30 sgnpbi 15211 . . 3 ((𝐴 · 𝐵) ∈ ℝ* → ((sgn‘(𝐴 · 𝐵)) = 1 ↔ 0 < (𝐴 · 𝐵)))
3123, 30syl 18 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → ((sgn‘(𝐴 · 𝐵)) = 1 ↔ 0 < (𝐴 · 𝐵)))
32 sgnmul 15213 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (sgn‘(𝐴 · 𝐵)) = ((sgn‘𝐴) · (sgn‘𝐵)))
3332breq2d 5115 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (0 < (sgn‘(𝐴 · 𝐵)) ↔ 0 < ((sgn‘𝐴) · (sgn‘𝐵))))
3429, 31, 333bitr3d 312 1 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (0 < (𝐴 · 𝐵) ↔ 0 < ((sgn‘𝐴) · (sgn‘𝐵))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3  wi 4  wb 209  wa 401  w3o 1102   = wceq 1570  wcel 2145  {ctp 4588   class class class wbr 5103  cfv 6528  (class class class)co 7409  cr 11156  0cc0 11157  1c1 11158   · cmul 11162  *cxr 11299   < clt 11300  -cneg 11499  0cn0 12561  sgncsgn 15192
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-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7735  ax-cnex 11213  ax-resscn 11214  ax-1cn 11215  ax-icn 11216  ax-addcl 11217  ax-addrcl 11218  ax-mulcl 11219  ax-mulrcl 11220  ax-mulcom 11221  ax-addass 11222  ax-mulass 11223  ax-distr 11224  ax-i2m1 11225  ax-1ne0 11226  ax-1rid 11227  ax-rnegex 11228  ax-rrecex 11229  ax-cnre 11230  ax-pre-lttri 11231  ax-pre-lttrn 11232  ax-pre-ltadd 11233  ax-pre-mulgt0 11234
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-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5543  df-eprel 5548  df-po 5556  df-so 5557  df-fr 5601  df-we 5603  df-xp 5654  df-rel 5655  df-cnv 5656  df-co 5657  df-dm 5658  df-rn 5659  df-res 5660  df-ima 5661  df-pred 6294  df-ord 6355  df-on 6356  df-lim 6357  df-suc 6358  df-iota 6484  df-fun 6530  df-fn 6531  df-f 6532  df-f1 6533  df-fo 6534  df-f1o 6535  df-fv 6536  df-riota 7366  df-ov 7412  df-oprab 7413  df-mpo 7414  df-om 7862  df-2nd 7986  df-frecs 8278  df-wrecs 8309  df-recs 8358  df-rdg 8397  df-er 8696  df-en 8953  df-dom 8954  df-sdom 8955  df-pnf 11302  df-mnf 11303  df-xr 11304  df-ltxr 11305  df-le 11306  df-sub 11500  df-neg 11501  df-div 11929  df-nn 12291  df-n0 12562  df-rp 13076  df-sgn 15193
This theorem is used by:  signsvfpn  35134
  Copyright terms: Public domain W3C validator