MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  mul2lt0bi Structured version   Visualization version   GIF version

Theorem mul2lt0bi 12496
Description: If the result of a multiplication is strictly negative, then multiplicands are of different signs. (Contributed by Thierry Arnoux, 19-Sep-2018.)
Hypotheses
Ref Expression
mul2lt0.1 (𝜑𝐴 ∈ ℝ)
mul2lt0.2 (𝜑𝐵 ∈ ℝ)
Assertion
Ref Expression
mul2lt0bi (𝜑 → ((𝐴 · 𝐵) < 0 ↔ ((𝐴 < 0 ∧ 0 < 𝐵) ∨ (0 < 𝐴𝐵 < 0))))

Proof of Theorem mul2lt0bi
StepHypRef Expression
1 mul2lt0.1 . . . . . . . . 9 (𝜑𝐴 ∈ ℝ)
2 mul2lt0.2 . . . . . . . . 9 (𝜑𝐵 ∈ ℝ)
31, 2remulcld 10671 . . . . . . . 8 (𝜑 → (𝐴 · 𝐵) ∈ ℝ)
4 0red 10644 . . . . . . . 8 (𝜑 → 0 ∈ ℝ)
53, 4ltnled 10787 . . . . . . 7 (𝜑 → ((𝐴 · 𝐵) < 0 ↔ ¬ 0 ≤ (𝐴 · 𝐵)))
61adantr 483 . . . . . . . . . 10 ((𝜑 ∧ (0 ≤ 𝐴 ∧ 0 ≤ 𝐵)) → 𝐴 ∈ ℝ)
72adantr 483 . . . . . . . . . 10 ((𝜑 ∧ (0 ≤ 𝐴 ∧ 0 ≤ 𝐵)) → 𝐵 ∈ ℝ)
8 simprl 769 . . . . . . . . . 10 ((𝜑 ∧ (0 ≤ 𝐴 ∧ 0 ≤ 𝐵)) → 0 ≤ 𝐴)
9 simprr 771 . . . . . . . . . 10 ((𝜑 ∧ (0 ≤ 𝐴 ∧ 0 ≤ 𝐵)) → 0 ≤ 𝐵)
106, 7, 8, 9mulge0d 11217 . . . . . . . . 9 ((𝜑 ∧ (0 ≤ 𝐴 ∧ 0 ≤ 𝐵)) → 0 ≤ (𝐴 · 𝐵))
1110ex 415 . . . . . . . 8 (𝜑 → ((0 ≤ 𝐴 ∧ 0 ≤ 𝐵) → 0 ≤ (𝐴 · 𝐵)))
1211con3d 155 . . . . . . 7 (𝜑 → (¬ 0 ≤ (𝐴 · 𝐵) → ¬ (0 ≤ 𝐴 ∧ 0 ≤ 𝐵)))
135, 12sylbid 242 . . . . . 6 (𝜑 → ((𝐴 · 𝐵) < 0 → ¬ (0 ≤ 𝐴 ∧ 0 ≤ 𝐵)))
14 ianor 978 . . . . . 6 (¬ (0 ≤ 𝐴 ∧ 0 ≤ 𝐵) ↔ (¬ 0 ≤ 𝐴 ∨ ¬ 0 ≤ 𝐵))
1513, 14syl6ib 253 . . . . 5 (𝜑 → ((𝐴 · 𝐵) < 0 → (¬ 0 ≤ 𝐴 ∨ ¬ 0 ≤ 𝐵)))
161, 4ltnled 10787 . . . . . 6 (𝜑 → (𝐴 < 0 ↔ ¬ 0 ≤ 𝐴))
172, 4ltnled 10787 . . . . . 6 (𝜑 → (𝐵 < 0 ↔ ¬ 0 ≤ 𝐵))
1816, 17orbi12d 915 . . . . 5 (𝜑 → ((𝐴 < 0 ∨ 𝐵 < 0) ↔ (¬ 0 ≤ 𝐴 ∨ ¬ 0 ≤ 𝐵)))
1915, 18sylibrd 261 . . . 4 (𝜑 → ((𝐴 · 𝐵) < 0 → (𝐴 < 0 ∨ 𝐵 < 0)))
2019imp 409 . . 3 ((𝜑 ∧ (𝐴 · 𝐵) < 0) → (𝐴 < 0 ∨ 𝐵 < 0))
21 simpr 487 . . . . . 6 (((𝜑 ∧ (𝐴 · 𝐵) < 0) ∧ 𝐴 < 0) → 𝐴 < 0)
221adantr 483 . . . . . . 7 ((𝜑 ∧ (𝐴 · 𝐵) < 0) → 𝐴 ∈ ℝ)
232adantr 483 . . . . . . 7 ((𝜑 ∧ (𝐴 · 𝐵) < 0) → 𝐵 ∈ ℝ)
24 simpr 487 . . . . . . 7 ((𝜑 ∧ (𝐴 · 𝐵) < 0) → (𝐴 · 𝐵) < 0)
2522, 23, 24mul2lt0llt0 12494 . . . . . 6 (((𝜑 ∧ (𝐴 · 𝐵) < 0) ∧ 𝐴 < 0) → 0 < 𝐵)
2621, 25jca 514 . . . . 5 (((𝜑 ∧ (𝐴 · 𝐵) < 0) ∧ 𝐴 < 0) → (𝐴 < 0 ∧ 0 < 𝐵))
2726ex 415 . . . 4 ((𝜑 ∧ (𝐴 · 𝐵) < 0) → (𝐴 < 0 → (𝐴 < 0 ∧ 0 < 𝐵)))
2822, 23, 24mul2lt0rlt0 12492 . . . . . 6 (((𝜑 ∧ (𝐴 · 𝐵) < 0) ∧ 𝐵 < 0) → 0 < 𝐴)
29 simpr 487 . . . . . 6 (((𝜑 ∧ (𝐴 · 𝐵) < 0) ∧ 𝐵 < 0) → 𝐵 < 0)
3028, 29jca 514 . . . . 5 (((𝜑 ∧ (𝐴 · 𝐵) < 0) ∧ 𝐵 < 0) → (0 < 𝐴𝐵 < 0))
3130ex 415 . . . 4 ((𝜑 ∧ (𝐴 · 𝐵) < 0) → (𝐵 < 0 → (0 < 𝐴𝐵 < 0)))
3227, 31orim12d 961 . . 3 ((𝜑 ∧ (𝐴 · 𝐵) < 0) → ((𝐴 < 0 ∨ 𝐵 < 0) → ((𝐴 < 0 ∧ 0 < 𝐵) ∨ (0 < 𝐴𝐵 < 0))))
3320, 32mpd 15 . 2 ((𝜑 ∧ (𝐴 · 𝐵) < 0) → ((𝐴 < 0 ∧ 0 < 𝐵) ∨ (0 < 𝐴𝐵 < 0)))
341adantr 483 . . . . 5 ((𝜑 ∧ (𝐴 < 0 ∧ 0 < 𝐵)) → 𝐴 ∈ ℝ)
35 0red 10644 . . . . 5 ((𝜑 ∧ (𝐴 < 0 ∧ 0 < 𝐵)) → 0 ∈ ℝ)
362adantr 483 . . . . . 6 ((𝜑 ∧ (𝐴 < 0 ∧ 0 < 𝐵)) → 𝐵 ∈ ℝ)
37 simprr 771 . . . . . 6 ((𝜑 ∧ (𝐴 < 0 ∧ 0 < 𝐵)) → 0 < 𝐵)
3836, 37elrpd 12429 . . . . 5 ((𝜑 ∧ (𝐴 < 0 ∧ 0 < 𝐵)) → 𝐵 ∈ ℝ+)
39 simprl 769 . . . . 5 ((𝜑 ∧ (𝐴 < 0 ∧ 0 < 𝐵)) → 𝐴 < 0)
4034, 35, 38, 39ltmul1dd 12487 . . . 4 ((𝜑 ∧ (𝐴 < 0 ∧ 0 < 𝐵)) → (𝐴 · 𝐵) < (0 · 𝐵))
4136recnd 10669 . . . . 5 ((𝜑 ∧ (𝐴 < 0 ∧ 0 < 𝐵)) → 𝐵 ∈ ℂ)
4241mul02d 10838 . . . 4 ((𝜑 ∧ (𝐴 < 0 ∧ 0 < 𝐵)) → (0 · 𝐵) = 0)
4340, 42breqtrd 5092 . . 3 ((𝜑 ∧ (𝐴 < 0 ∧ 0 < 𝐵)) → (𝐴 · 𝐵) < 0)
442adantr 483 . . . . 5 ((𝜑 ∧ (0 < 𝐴𝐵 < 0)) → 𝐵 ∈ ℝ)
45 0red 10644 . . . . 5 ((𝜑 ∧ (0 < 𝐴𝐵 < 0)) → 0 ∈ ℝ)
461adantr 483 . . . . . 6 ((𝜑 ∧ (0 < 𝐴𝐵 < 0)) → 𝐴 ∈ ℝ)
47 simprl 769 . . . . . 6 ((𝜑 ∧ (0 < 𝐴𝐵 < 0)) → 0 < 𝐴)
4846, 47elrpd 12429 . . . . 5 ((𝜑 ∧ (0 < 𝐴𝐵 < 0)) → 𝐴 ∈ ℝ+)
49 simprr 771 . . . . 5 ((𝜑 ∧ (0 < 𝐴𝐵 < 0)) → 𝐵 < 0)
5044, 45, 48, 49ltmul2dd 12488 . . . 4 ((𝜑 ∧ (0 < 𝐴𝐵 < 0)) → (𝐴 · 𝐵) < (𝐴 · 0))
5146recnd 10669 . . . . 5 ((𝜑 ∧ (0 < 𝐴𝐵 < 0)) → 𝐴 ∈ ℂ)
5251mul01d 10839 . . . 4 ((𝜑 ∧ (0 < 𝐴𝐵 < 0)) → (𝐴 · 0) = 0)
5350, 52breqtrd 5092 . . 3 ((𝜑 ∧ (0 < 𝐴𝐵 < 0)) → (𝐴 · 𝐵) < 0)
5443, 53jaodan 954 . 2 ((𝜑 ∧ ((𝐴 < 0 ∧ 0 < 𝐵) ∨ (0 < 𝐴𝐵 < 0))) → (𝐴 · 𝐵) < 0)
5533, 54impbida 799 1 (𝜑 → ((𝐴 · 𝐵) < 0 ↔ ((𝐴 < 0 ∧ 0 < 𝐵) ∨ (0 < 𝐴𝐵 < 0))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wo 843  wcel 2114   class class class wbr 5066  (class class class)co 7156  cr 10536  0cc0 10537   · cmul 10542   < clt 10675  cle 10676
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461  ax-resscn 10594  ax-1cn 10595  ax-icn 10596  ax-addcl 10597  ax-addrcl 10598  ax-mulcl 10599  ax-mulrcl 10600  ax-mulcom 10601  ax-addass 10602  ax-mulass 10603  ax-distr 10604  ax-i2m1 10605  ax-1ne0 10606  ax-1rid 10607  ax-rnegex 10608  ax-rrecex 10609  ax-cnre 10610  ax-pre-lttri 10611  ax-pre-lttrn 10612  ax-pre-ltadd 10613  ax-pre-mulgt0 10614
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-opab 5129  df-mpt 5147  df-id 5460  df-po 5474  df-so 5475  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-riota 7114  df-ov 7159  df-oprab 7160  df-mpo 7161  df-er 8289  df-en 8510  df-dom 8511  df-sdom 8512  df-pnf 10677  df-mnf 10678  df-xr 10679  df-ltxr 10680  df-le 10681  df-sub 10872  df-neg 10873  df-div 11298  df-rp 12391
This theorem is referenced by:  2mulprm  16037  ztprmneprm  44415
  Copyright terms: Public domain W3C validator