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

Theorem xmulval 12094
Description: Value of the extended real multiplication operation. (Contributed by Mario Carneiro, 20-Aug-2015.)
Assertion
Ref Expression
xmulval ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴 ·e 𝐵) = if((𝐴 = 0 ∨ 𝐵 = 0), 0, if((((0 < 𝐵𝐴 = +∞) ∨ (𝐵 < 0 ∧ 𝐴 = -∞)) ∨ ((0 < 𝐴𝐵 = +∞) ∨ (𝐴 < 0 ∧ 𝐵 = -∞))), +∞, if((((0 < 𝐵𝐴 = -∞) ∨ (𝐵 < 0 ∧ 𝐴 = +∞)) ∨ ((0 < 𝐴𝐵 = -∞) ∨ (𝐴 < 0 ∧ 𝐵 = +∞))), -∞, (𝐴 · 𝐵)))))

Proof of Theorem xmulval
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpl 472 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → 𝑥 = 𝐴)
21eqeq1d 2653 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 = 0 ↔ 𝐴 = 0))
3 simpr 476 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → 𝑦 = 𝐵)
43eqeq1d 2653 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑦 = 0 ↔ 𝐵 = 0))
52, 4orbi12d 746 . . 3 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑥 = 0 ∨ 𝑦 = 0) ↔ (𝐴 = 0 ∨ 𝐵 = 0)))
63breq2d 4697 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (0 < 𝑦 ↔ 0 < 𝐵))
71eqeq1d 2653 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 = +∞ ↔ 𝐴 = +∞))
86, 7anbi12d 747 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → ((0 < 𝑦𝑥 = +∞) ↔ (0 < 𝐵𝐴 = +∞)))
93breq1d 4695 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑦 < 0 ↔ 𝐵 < 0))
101eqeq1d 2653 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 = -∞ ↔ 𝐴 = -∞))
119, 10anbi12d 747 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑦 < 0 ∧ 𝑥 = -∞) ↔ (𝐵 < 0 ∧ 𝐴 = -∞)))
128, 11orbi12d 746 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → (((0 < 𝑦𝑥 = +∞) ∨ (𝑦 < 0 ∧ 𝑥 = -∞)) ↔ ((0 < 𝐵𝐴 = +∞) ∨ (𝐵 < 0 ∧ 𝐴 = -∞))))
131breq2d 4697 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (0 < 𝑥 ↔ 0 < 𝐴))
143eqeq1d 2653 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑦 = +∞ ↔ 𝐵 = +∞))
1513, 14anbi12d 747 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → ((0 < 𝑥𝑦 = +∞) ↔ (0 < 𝐴𝐵 = +∞)))
161breq1d 4695 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 < 0 ↔ 𝐴 < 0))
173eqeq1d 2653 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑦 = -∞ ↔ 𝐵 = -∞))
1816, 17anbi12d 747 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑥 < 0 ∧ 𝑦 = -∞) ↔ (𝐴 < 0 ∧ 𝐵 = -∞)))
1915, 18orbi12d 746 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → (((0 < 𝑥𝑦 = +∞) ∨ (𝑥 < 0 ∧ 𝑦 = -∞)) ↔ ((0 < 𝐴𝐵 = +∞) ∨ (𝐴 < 0 ∧ 𝐵 = -∞))))
2012, 19orbi12d 746 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → ((((0 < 𝑦𝑥 = +∞) ∨ (𝑦 < 0 ∧ 𝑥 = -∞)) ∨ ((0 < 𝑥𝑦 = +∞) ∨ (𝑥 < 0 ∧ 𝑦 = -∞))) ↔ (((0 < 𝐵𝐴 = +∞) ∨ (𝐵 < 0 ∧ 𝐴 = -∞)) ∨ ((0 < 𝐴𝐵 = +∞) ∨ (𝐴 < 0 ∧ 𝐵 = -∞)))))
216, 10anbi12d 747 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → ((0 < 𝑦𝑥 = -∞) ↔ (0 < 𝐵𝐴 = -∞)))
229, 7anbi12d 747 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑦 < 0 ∧ 𝑥 = +∞) ↔ (𝐵 < 0 ∧ 𝐴 = +∞)))
2321, 22orbi12d 746 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → (((0 < 𝑦𝑥 = -∞) ∨ (𝑦 < 0 ∧ 𝑥 = +∞)) ↔ ((0 < 𝐵𝐴 = -∞) ∨ (𝐵 < 0 ∧ 𝐴 = +∞))))
2413, 17anbi12d 747 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → ((0 < 𝑥𝑦 = -∞) ↔ (0 < 𝐴𝐵 = -∞)))
2516, 14anbi12d 747 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑥 < 0 ∧ 𝑦 = +∞) ↔ (𝐴 < 0 ∧ 𝐵 = +∞)))
2624, 25orbi12d 746 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → (((0 < 𝑥𝑦 = -∞) ∨ (𝑥 < 0 ∧ 𝑦 = +∞)) ↔ ((0 < 𝐴𝐵 = -∞) ∨ (𝐴 < 0 ∧ 𝐵 = +∞))))
2723, 26orbi12d 746 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → ((((0 < 𝑦𝑥 = -∞) ∨ (𝑦 < 0 ∧ 𝑥 = +∞)) ∨ ((0 < 𝑥𝑦 = -∞) ∨ (𝑥 < 0 ∧ 𝑦 = +∞))) ↔ (((0 < 𝐵𝐴 = -∞) ∨ (𝐵 < 0 ∧ 𝐴 = +∞)) ∨ ((0 < 𝐴𝐵 = -∞) ∨ (𝐴 < 0 ∧ 𝐵 = +∞)))))
28 oveq12 6699 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 · 𝑦) = (𝐴 · 𝐵))
2927, 28ifbieq2d 4144 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → if((((0 < 𝑦𝑥 = -∞) ∨ (𝑦 < 0 ∧ 𝑥 = +∞)) ∨ ((0 < 𝑥𝑦 = -∞) ∨ (𝑥 < 0 ∧ 𝑦 = +∞))), -∞, (𝑥 · 𝑦)) = if((((0 < 𝐵𝐴 = -∞) ∨ (𝐵 < 0 ∧ 𝐴 = +∞)) ∨ ((0 < 𝐴𝐵 = -∞) ∨ (𝐴 < 0 ∧ 𝐵 = +∞))), -∞, (𝐴 · 𝐵)))
3020, 29ifbieq2d 4144 . . 3 ((𝑥 = 𝐴𝑦 = 𝐵) → if((((0 < 𝑦𝑥 = +∞) ∨ (𝑦 < 0 ∧ 𝑥 = -∞)) ∨ ((0 < 𝑥𝑦 = +∞) ∨ (𝑥 < 0 ∧ 𝑦 = -∞))), +∞, if((((0 < 𝑦𝑥 = -∞) ∨ (𝑦 < 0 ∧ 𝑥 = +∞)) ∨ ((0 < 𝑥𝑦 = -∞) ∨ (𝑥 < 0 ∧ 𝑦 = +∞))), -∞, (𝑥 · 𝑦))) = if((((0 < 𝐵𝐴 = +∞) ∨ (𝐵 < 0 ∧ 𝐴 = -∞)) ∨ ((0 < 𝐴𝐵 = +∞) ∨ (𝐴 < 0 ∧ 𝐵 = -∞))), +∞, if((((0 < 𝐵𝐴 = -∞) ∨ (𝐵 < 0 ∧ 𝐴 = +∞)) ∨ ((0 < 𝐴𝐵 = -∞) ∨ (𝐴 < 0 ∧ 𝐵 = +∞))), -∞, (𝐴 · 𝐵))))
315, 30ifbieq2d 4144 . 2 ((𝑥 = 𝐴𝑦 = 𝐵) → if((𝑥 = 0 ∨ 𝑦 = 0), 0, if((((0 < 𝑦𝑥 = +∞) ∨ (𝑦 < 0 ∧ 𝑥 = -∞)) ∨ ((0 < 𝑥𝑦 = +∞) ∨ (𝑥 < 0 ∧ 𝑦 = -∞))), +∞, if((((0 < 𝑦𝑥 = -∞) ∨ (𝑦 < 0 ∧ 𝑥 = +∞)) ∨ ((0 < 𝑥𝑦 = -∞) ∨ (𝑥 < 0 ∧ 𝑦 = +∞))), -∞, (𝑥 · 𝑦)))) = if((𝐴 = 0 ∨ 𝐵 = 0), 0, if((((0 < 𝐵𝐴 = +∞) ∨ (𝐵 < 0 ∧ 𝐴 = -∞)) ∨ ((0 < 𝐴𝐵 = +∞) ∨ (𝐴 < 0 ∧ 𝐵 = -∞))), +∞, if((((0 < 𝐵𝐴 = -∞) ∨ (𝐵 < 0 ∧ 𝐴 = +∞)) ∨ ((0 < 𝐴𝐵 = -∞) ∨ (𝐴 < 0 ∧ 𝐵 = +∞))), -∞, (𝐴 · 𝐵)))))
32 df-xmul 11986 . 2 ·e = (𝑥 ∈ ℝ*, 𝑦 ∈ ℝ* ↦ if((𝑥 = 0 ∨ 𝑦 = 0), 0, if((((0 < 𝑦𝑥 = +∞) ∨ (𝑦 < 0 ∧ 𝑥 = -∞)) ∨ ((0 < 𝑥𝑦 = +∞) ∨ (𝑥 < 0 ∧ 𝑦 = -∞))), +∞, if((((0 < 𝑦𝑥 = -∞) ∨ (𝑦 < 0 ∧ 𝑥 = +∞)) ∨ ((0 < 𝑥𝑦 = -∞) ∨ (𝑥 < 0 ∧ 𝑦 = +∞))), -∞, (𝑥 · 𝑦)))))
33 c0ex 10072 . . 3 0 ∈ V
34 pnfex 10131 . . . 4 +∞ ∈ V
35 mnfxr 10134 . . . . . 6 -∞ ∈ ℝ*
3635elexi 3244 . . . . 5 -∞ ∈ V
37 ovex 6718 . . . . 5 (𝐴 · 𝐵) ∈ V
3836, 37ifex 4189 . . . 4 if((((0 < 𝐵𝐴 = -∞) ∨ (𝐵 < 0 ∧ 𝐴 = +∞)) ∨ ((0 < 𝐴𝐵 = -∞) ∨ (𝐴 < 0 ∧ 𝐵 = +∞))), -∞, (𝐴 · 𝐵)) ∈ V
3934, 38ifex 4189 . . 3 if((((0 < 𝐵𝐴 = +∞) ∨ (𝐵 < 0 ∧ 𝐴 = -∞)) ∨ ((0 < 𝐴𝐵 = +∞) ∨ (𝐴 < 0 ∧ 𝐵 = -∞))), +∞, if((((0 < 𝐵𝐴 = -∞) ∨ (𝐵 < 0 ∧ 𝐴 = +∞)) ∨ ((0 < 𝐴𝐵 = -∞) ∨ (𝐴 < 0 ∧ 𝐵 = +∞))), -∞, (𝐴 · 𝐵))) ∈ V
4033, 39ifex 4189 . 2 if((𝐴 = 0 ∨ 𝐵 = 0), 0, if((((0 < 𝐵𝐴 = +∞) ∨ (𝐵 < 0 ∧ 𝐴 = -∞)) ∨ ((0 < 𝐴𝐵 = +∞) ∨ (𝐴 < 0 ∧ 𝐵 = -∞))), +∞, if((((0 < 𝐵𝐴 = -∞) ∨ (𝐵 < 0 ∧ 𝐴 = +∞)) ∨ ((0 < 𝐴𝐵 = -∞) ∨ (𝐴 < 0 ∧ 𝐵 = +∞))), -∞, (𝐴 · 𝐵)))) ∈ V
4131, 32, 40ovmpt2a 6833 1 ((𝐴 ∈ ℝ*𝐵 ∈ ℝ*) → (𝐴 ·e 𝐵) = if((𝐴 = 0 ∨ 𝐵 = 0), 0, if((((0 < 𝐵𝐴 = +∞) ∨ (𝐵 < 0 ∧ 𝐴 = -∞)) ∨ ((0 < 𝐴𝐵 = +∞) ∨ (𝐴 < 0 ∧ 𝐵 = -∞))), +∞, if((((0 < 𝐵𝐴 = -∞) ∨ (𝐵 < 0 ∧ 𝐴 = +∞)) ∨ ((0 < 𝐴𝐵 = -∞) ∨ (𝐴 < 0 ∧ 𝐵 = +∞))), -∞, (𝐴 · 𝐵)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wo 382  wa 383   = wceq 1523  wcel 2030  ifcif 4119   class class class wbr 4685  (class class class)co 6690  0cc0 9974   · cmul 9979  +∞cpnf 10109  -∞cmnf 10110  *cxr 10111   < clt 10112   ·e cxmu 11983
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991  ax-cnex 10030  ax-1cn 10032  ax-icn 10033  ax-addcl 10034  ax-mulcl 10036  ax-i2m1 10042
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ral 2946  df-rex 2947  df-rab 2950  df-v 3233  df-sbc 3469  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-br 4686  df-opab 4746  df-id 5053  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-iota 5889  df-fun 5928  df-fv 5934  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-pnf 10114  df-mnf 10115  df-xr 10116  df-xmul 11986
This theorem is referenced by:  xmulcom  12134  xmul01  12135  xmulneg1  12137  rexmul  12139  xmulpnf1  12142
  Copyright terms: Public domain W3C validator