Metamath Proof Explorer


Theorem xmulcom

Description: Extended real multiplication is commutative. (Contributed by Mario Carneiro, 20-Aug-2015)

Ref Expression
Assertion xmulcom ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) → ( 𝐴 ·e 𝐵 ) = ( 𝐵 ·e 𝐴 ) )

Proof

Step Hyp Ref Expression
1 xmullem ( ( ( ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) ∧ ¬ ( 𝐴 = 0 ∨ 𝐵 = 0 ) ) ∧ ¬ ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) ) ∧ ¬ ( ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ) ) → 𝐴 ∈ ℝ )
2 1 recnd ( ( ( ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) ∧ ¬ ( 𝐴 = 0 ∨ 𝐵 = 0 ) ) ∧ ¬ ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) ) ∧ ¬ ( ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ) ) → 𝐴 ∈ ℂ )
3 ancom ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) ↔ ( 𝐵 ∈ ℝ*𝐴 ∈ ℝ* ) )
4 orcom ( ( 𝐴 = 0 ∨ 𝐵 = 0 ) ↔ ( 𝐵 = 0 ∨ 𝐴 = 0 ) )
5 4 notbii ( ¬ ( 𝐴 = 0 ∨ 𝐵 = 0 ) ↔ ¬ ( 𝐵 = 0 ∨ 𝐴 = 0 ) )
6 3 5 anbi12i ( ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) ∧ ¬ ( 𝐴 = 0 ∨ 𝐵 = 0 ) ) ↔ ( ( 𝐵 ∈ ℝ*𝐴 ∈ ℝ* ) ∧ ¬ ( 𝐵 = 0 ∨ 𝐴 = 0 ) ) )
7 orcom ( ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) ↔ ( ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ) )
8 7 notbii ( ¬ ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) ↔ ¬ ( ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ) )
9 6 8 anbi12i ( ( ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) ∧ ¬ ( 𝐴 = 0 ∨ 𝐵 = 0 ) ) ∧ ¬ ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) ) ↔ ( ( ( 𝐵 ∈ ℝ*𝐴 ∈ ℝ* ) ∧ ¬ ( 𝐵 = 0 ∨ 𝐴 = 0 ) ) ∧ ¬ ( ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ) ) )
10 orcom ( ( ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ) ↔ ( ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ) )
11 10 notbii ( ¬ ( ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ) ↔ ¬ ( ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ) )
12 xmullem ( ( ( ( ( 𝐵 ∈ ℝ*𝐴 ∈ ℝ* ) ∧ ¬ ( 𝐵 = 0 ∨ 𝐴 = 0 ) ) ∧ ¬ ( ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ) ) ∧ ¬ ( ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ) ) → 𝐵 ∈ ℝ )
13 9 11 12 syl2anb ( ( ( ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) ∧ ¬ ( 𝐴 = 0 ∨ 𝐵 = 0 ) ) ∧ ¬ ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) ) ∧ ¬ ( ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ) ) → 𝐵 ∈ ℝ )
14 13 recnd ( ( ( ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) ∧ ¬ ( 𝐴 = 0 ∨ 𝐵 = 0 ) ) ∧ ¬ ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) ) ∧ ¬ ( ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ) ) → 𝐵 ∈ ℂ )
15 2 14 mulcomd ( ( ( ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) ∧ ¬ ( 𝐴 = 0 ∨ 𝐵 = 0 ) ) ∧ ¬ ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) ) ∧ ¬ ( ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ) ) → ( 𝐴 · 𝐵 ) = ( 𝐵 · 𝐴 ) )
16 15 ifeq2da ( ( ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) ∧ ¬ ( 𝐴 = 0 ∨ 𝐵 = 0 ) ) ∧ ¬ ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) ) → if ( ( ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ) , -∞ , ( 𝐴 · 𝐵 ) ) = if ( ( ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ) , -∞ , ( 𝐵 · 𝐴 ) ) )
17 10 a1i ( ( ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) ∧ ¬ ( 𝐴 = 0 ∨ 𝐵 = 0 ) ) ∧ ¬ ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) ) → ( ( ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ) ↔ ( ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ) ) )
18 17 ifbid ( ( ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) ∧ ¬ ( 𝐴 = 0 ∨ 𝐵 = 0 ) ) ∧ ¬ ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) ) → if ( ( ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ) , -∞ , ( 𝐵 · 𝐴 ) ) = if ( ( ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ) , -∞ , ( 𝐵 · 𝐴 ) ) )
19 16 18 eqtrd ( ( ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) ∧ ¬ ( 𝐴 = 0 ∨ 𝐵 = 0 ) ) ∧ ¬ ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) ) → if ( ( ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ) , -∞ , ( 𝐴 · 𝐵 ) ) = if ( ( ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ) , -∞ , ( 𝐵 · 𝐴 ) ) )
20 19 ifeq2da ( ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) ∧ ¬ ( 𝐴 = 0 ∨ 𝐵 = 0 ) ) → if ( ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) , +∞ , if ( ( ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ) , -∞ , ( 𝐴 · 𝐵 ) ) ) = if ( ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) , +∞ , if ( ( ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ) , -∞ , ( 𝐵 · 𝐴 ) ) ) )
21 7 a1i ( ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) ∧ ¬ ( 𝐴 = 0 ∨ 𝐵 = 0 ) ) → ( ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) ↔ ( ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ) ) )
22 21 ifbid ( ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) ∧ ¬ ( 𝐴 = 0 ∨ 𝐵 = 0 ) ) → if ( ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) , +∞ , if ( ( ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ) , -∞ , ( 𝐵 · 𝐴 ) ) ) = if ( ( ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ) , +∞ , if ( ( ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ) , -∞ , ( 𝐵 · 𝐴 ) ) ) )
23 20 22 eqtrd ( ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) ∧ ¬ ( 𝐴 = 0 ∨ 𝐵 = 0 ) ) → if ( ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) , +∞ , if ( ( ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ) , -∞ , ( 𝐴 · 𝐵 ) ) ) = if ( ( ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ) , +∞ , if ( ( ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ) , -∞ , ( 𝐵 · 𝐴 ) ) ) )
24 23 ifeq2da ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) → 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 ∧ 𝐴 = +∞ ) ) ) , -∞ , ( 𝐵 · 𝐴 ) ) ) ) )
25 4 a1i ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) → ( ( 𝐴 = 0 ∨ 𝐵 = 0 ) ↔ ( 𝐵 = 0 ∨ 𝐴 = 0 ) ) )
26 25 ifbid ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) → 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 ∧ 𝐴 = +∞ ) ) ) , -∞ , ( 𝐵 · 𝐴 ) ) ) ) )
27 24 26 eqtrd ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) → 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 ∧ 𝐴 = +∞ ) ) ) , -∞ , ( 𝐵 · 𝐴 ) ) ) ) )
28 xmulval ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) → ( 𝐴 ·e 𝐵 ) = if ( ( 𝐴 = 0 ∨ 𝐵 = 0 ) , 0 , if ( ( ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ) , +∞ , if ( ( ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ∨ ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ) , -∞ , ( 𝐴 · 𝐵 ) ) ) ) )
29 xmulval ( ( 𝐵 ∈ ℝ*𝐴 ∈ ℝ* ) → ( 𝐵 ·e 𝐴 ) = if ( ( 𝐵 = 0 ∨ 𝐴 = 0 ) , 0 , if ( ( ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ) , +∞ , if ( ( ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ) , -∞ , ( 𝐵 · 𝐴 ) ) ) ) )
30 29 ancoms ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) → ( 𝐵 ·e 𝐴 ) = if ( ( 𝐵 = 0 ∨ 𝐴 = 0 ) , 0 , if ( ( ( ( 0 < 𝐴𝐵 = +∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = -∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = +∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = -∞ ) ) ) , +∞ , if ( ( ( ( 0 < 𝐴𝐵 = -∞ ) ∨ ( 𝐴 < 0 ∧ 𝐵 = +∞ ) ) ∨ ( ( 0 < 𝐵𝐴 = -∞ ) ∨ ( 𝐵 < 0 ∧ 𝐴 = +∞ ) ) ) , -∞ , ( 𝐵 · 𝐴 ) ) ) ) )
31 27 28 30 3eqtr4d ( ( 𝐴 ∈ ℝ*𝐵 ∈ ℝ* ) → ( 𝐴 ·e 𝐵 ) = ( 𝐵 ·e 𝐴 ) )