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

Theorem xmulval 12956
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 483 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → 𝑥 = 𝐴)
21eqeq1d 2742 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 = 0 ↔ 𝐴 = 0))
3 simpr 485 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → 𝑦 = 𝐵)
43eqeq1d 2742 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑦 = 0 ↔ 𝐵 = 0))
52, 4orbi12d 916 . . 3 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑥 = 0 ∨ 𝑦 = 0) ↔ (𝐴 = 0 ∨ 𝐵 = 0)))
63breq2d 5091 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (0 < 𝑦 ↔ 0 < 𝐵))
71eqeq1d 2742 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 = +∞ ↔ 𝐴 = +∞))
86, 7anbi12d 631 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → ((0 < 𝑦𝑥 = +∞) ↔ (0 < 𝐵𝐴 = +∞)))
93breq1d 5089 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑦 < 0 ↔ 𝐵 < 0))
101eqeq1d 2742 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 = -∞ ↔ 𝐴 = -∞))
119, 10anbi12d 631 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑦 < 0 ∧ 𝑥 = -∞) ↔ (𝐵 < 0 ∧ 𝐴 = -∞)))
128, 11orbi12d 916 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → (((0 < 𝑦𝑥 = +∞) ∨ (𝑦 < 0 ∧ 𝑥 = -∞)) ↔ ((0 < 𝐵𝐴 = +∞) ∨ (𝐵 < 0 ∧ 𝐴 = -∞))))
131breq2d 5091 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (0 < 𝑥 ↔ 0 < 𝐴))
143eqeq1d 2742 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑦 = +∞ ↔ 𝐵 = +∞))
1513, 14anbi12d 631 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → ((0 < 𝑥𝑦 = +∞) ↔ (0 < 𝐴𝐵 = +∞)))
161breq1d 5089 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 < 0 ↔ 𝐴 < 0))
173eqeq1d 2742 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑦 = -∞ ↔ 𝐵 = -∞))
1816, 17anbi12d 631 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑥 < 0 ∧ 𝑦 = -∞) ↔ (𝐴 < 0 ∧ 𝐵 = -∞)))
1915, 18orbi12d 916 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → (((0 < 𝑥𝑦 = +∞) ∨ (𝑥 < 0 ∧ 𝑦 = -∞)) ↔ ((0 < 𝐴𝐵 = +∞) ∨ (𝐴 < 0 ∧ 𝐵 = -∞))))
2012, 19orbi12d 916 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → ((((0 < 𝑦𝑥 = +∞) ∨ (𝑦 < 0 ∧ 𝑥 = -∞)) ∨ ((0 < 𝑥𝑦 = +∞) ∨ (𝑥 < 0 ∧ 𝑦 = -∞))) ↔ (((0 < 𝐵𝐴 = +∞) ∨ (𝐵 < 0 ∧ 𝐴 = -∞)) ∨ ((0 < 𝐴𝐵 = +∞) ∨ (𝐴 < 0 ∧ 𝐵 = -∞)))))
216, 10anbi12d 631 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → ((0 < 𝑦𝑥 = -∞) ↔ (0 < 𝐵𝐴 = -∞)))
229, 7anbi12d 631 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑦 < 0 ∧ 𝑥 = +∞) ↔ (𝐵 < 0 ∧ 𝐴 = +∞)))
2321, 22orbi12d 916 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → (((0 < 𝑦𝑥 = -∞) ∨ (𝑦 < 0 ∧ 𝑥 = +∞)) ↔ ((0 < 𝐵𝐴 = -∞) ∨ (𝐵 < 0 ∧ 𝐴 = +∞))))
2413, 17anbi12d 631 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → ((0 < 𝑥𝑦 = -∞) ↔ (0 < 𝐴𝐵 = -∞)))
2516, 14anbi12d 631 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑥 < 0 ∧ 𝑦 = +∞) ↔ (𝐴 < 0 ∧ 𝐵 = +∞)))
2624, 25orbi12d 916 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → (((0 < 𝑥𝑦 = -∞) ∨ (𝑥 < 0 ∧ 𝑦 = +∞)) ↔ ((0 < 𝐴𝐵 = -∞) ∨ (𝐴 < 0 ∧ 𝐵 = +∞))))
2723, 26orbi12d 916 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → ((((0 < 𝑦𝑥 = -∞) ∨ (𝑦 < 0 ∧ 𝑥 = +∞)) ∨ ((0 < 𝑥𝑦 = -∞) ∨ (𝑥 < 0 ∧ 𝑦 = +∞))) ↔ (((0 < 𝐵𝐴 = -∞) ∨ (𝐵 < 0 ∧ 𝐴 = +∞)) ∨ ((0 < 𝐴𝐵 = -∞) ∨ (𝐴 < 0 ∧ 𝐵 = +∞)))))
28 oveq12 7278 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 · 𝑦) = (𝐴 · 𝐵))
2927, 28ifbieq2d 4491 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → if((((0 < 𝑦𝑥 = -∞) ∨ (𝑦 < 0 ∧ 𝑥 = +∞)) ∨ ((0 < 𝑥𝑦 = -∞) ∨ (𝑥 < 0 ∧ 𝑦 = +∞))), -∞, (𝑥 · 𝑦)) = if((((0 < 𝐵𝐴 = -∞) ∨ (𝐵 < 0 ∧ 𝐴 = +∞)) ∨ ((0 < 𝐴𝐵 = -∞) ∨ (𝐴 < 0 ∧ 𝐵 = +∞))), -∞, (𝐴 · 𝐵)))
3020, 29ifbieq2d 4491 . . 3 ((𝑥 = 𝐴𝑦 = 𝐵) → if((((0 < 𝑦𝑥 = +∞) ∨ (𝑦 < 0 ∧ 𝑥 = -∞)) ∨ ((0 < 𝑥𝑦 = +∞) ∨ (𝑥 < 0 ∧ 𝑦 = -∞))), +∞, if((((0 < 𝑦𝑥 = -∞) ∨ (𝑦 < 0 ∧ 𝑥 = +∞)) ∨ ((0 < 𝑥𝑦 = -∞) ∨ (𝑥 < 0 ∧ 𝑦 = +∞))), -∞, (𝑥 · 𝑦))) = if((((0 < 𝐵𝐴 = +∞) ∨ (𝐵 < 0 ∧ 𝐴 = -∞)) ∨ ((0 < 𝐴𝐵 = +∞) ∨ (𝐴 < 0 ∧ 𝐵 = -∞))), +∞, if((((0 < 𝐵𝐴 = -∞) ∨ (𝐵 < 0 ∧ 𝐴 = +∞)) ∨ ((0 < 𝐴𝐵 = -∞) ∨ (𝐴 < 0 ∧ 𝐵 = +∞))), -∞, (𝐴 · 𝐵))))
315, 30ifbieq2d 4491 . 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 12847 . 2 ·e = (𝑥 ∈ ℝ*, 𝑦 ∈ ℝ* ↦ if((𝑥 = 0 ∨ 𝑦 = 0), 0, if((((0 < 𝑦𝑥 = +∞) ∨ (𝑦 < 0 ∧ 𝑥 = -∞)) ∨ ((0 < 𝑥𝑦 = +∞) ∨ (𝑥 < 0 ∧ 𝑦 = -∞))), +∞, if((((0 < 𝑦𝑥 = -∞) ∨ (𝑦 < 0 ∧ 𝑥 = +∞)) ∨ ((0 < 𝑥𝑦 = -∞) ∨ (𝑥 < 0 ∧ 𝑦 = +∞))), -∞, (𝑥 · 𝑦)))))
33 c0ex 10968 . . 3 0 ∈ V
34 pnfex 11027 . . . 4 +∞ ∈ V
35 mnfxr 11031 . . . . . 6 -∞ ∈ ℝ*
3635elexi 3450 . . . . 5 -∞ ∈ V
37 ovex 7302 . . . . 5 (𝐴 · 𝐵) ∈ V
3836, 37ifex 4515 . . . 4 if((((0 < 𝐵𝐴 = -∞) ∨ (𝐵 < 0 ∧ 𝐴 = +∞)) ∨ ((0 < 𝐴𝐵 = -∞) ∨ (𝐴 < 0 ∧ 𝐵 = +∞))), -∞, (𝐴 · 𝐵)) ∈ V
3934, 38ifex 4515 . . 3 if((((0 < 𝐵𝐴 = +∞) ∨ (𝐵 < 0 ∧ 𝐴 = -∞)) ∨ ((0 < 𝐴𝐵 = +∞) ∨ (𝐴 < 0 ∧ 𝐵 = -∞))), +∞, if((((0 < 𝐵𝐴 = -∞) ∨ (𝐵 < 0 ∧ 𝐴 = +∞)) ∨ ((0 < 𝐴𝐵 = -∞) ∨ (𝐴 < 0 ∧ 𝐵 = +∞))), -∞, (𝐴 · 𝐵))) ∈ V
4033, 39ifex 4515 . 2 if((𝐴 = 0 ∨ 𝐵 = 0), 0, if((((0 < 𝐵𝐴 = +∞) ∨ (𝐵 < 0 ∧ 𝐴 = -∞)) ∨ ((0 < 𝐴𝐵 = +∞) ∨ (𝐴 < 0 ∧ 𝐵 = -∞))), +∞, if((((0 < 𝐵𝐴 = -∞) ∨ (𝐵 < 0 ∧ 𝐴 = +∞)) ∨ ((0 < 𝐴𝐵 = -∞) ∨ (𝐴 < 0 ∧ 𝐵 = +∞))), -∞, (𝐴 · 𝐵)))) ∈ V
4131, 32, 40ovmpoa 7420 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  wa 396  wo 844   = wceq 1542  wcel 2110  ifcif 4465   class class class wbr 5079  (class class class)co 7269  0cc0 10870   · cmul 10875  +∞cpnf 11005  -∞cmnf 11006  *cxr 11007   < clt 11008   ·e cxmu 12844
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-sep 5227  ax-nul 5234  ax-pow 5292  ax-pr 5356  ax-un 7580  ax-cnex 10926  ax-1cn 10928  ax-icn 10929  ax-addcl 10930  ax-mulcl 10932  ax-i2m1 10938
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ral 3071  df-rex 3072  df-rab 3075  df-v 3433  df-sbc 3721  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4846  df-br 5080  df-opab 5142  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-iota 6389  df-fun 6433  df-fv 6439  df-ov 7272  df-oprab 7273  df-mpo 7274  df-pnf 11010  df-mnf 11011  df-xr 11012  df-xmul 12847
This theorem is referenced by:  xmulcom  12997  xmul01  12998  xmulneg1  13000  rexmul  13002  xmulpnf1  13005
  Copyright terms: Public domain W3C validator