Metamath Proof Explorer


Definition df-bj-addc

Description: Define the additions on the extended complex numbers (on the subset of ( CCbar X. CCbar ) where it makes sense) and on the complex projective line (Riemann sphere). We use the plural in "additions" since these are two different operations, even though +cc is overloaded. (Contributed by BJ, 22-Jun-2019)

Ref Expression
Assertion df-bj-addc +ℂ̅ = ( 𝑥 ∈ ( ( ( ℂ × ℂ̅ ) ∪ ( ℂ̅ × ℂ ) ) ∪ ( ( ℂ̂ × ℂ̂ ) ∪ ( I ↾ ℂ ) ) ) ↦ if ( ( ( 1st𝑥 ) = ∞ ∨ ( 2nd𝑥 ) = ∞ ) , ∞ , if ( ( 1st𝑥 ) ∈ ℂ , if ( ( 2nd𝑥 ) ∈ ℂ , ⟨ ( ( 1st ‘ ( 1st𝑥 ) ) +R ( 1st ‘ ( 2nd𝑥 ) ) ) , ( ( 2nd ‘ ( 1st𝑥 ) ) +R ( 2nd ‘ ( 2nd𝑥 ) ) ) ⟩ , ( 2nd𝑥 ) ) , ( 1st𝑥 ) ) ) )

Detailed syntax breakdown

Step Hyp Ref Expression
0 caddcc +ℂ̅
1 vx 𝑥
2 cc
3 cccbar ℂ̅
4 2 3 cxp ( ℂ × ℂ̅ )
5 3 2 cxp ( ℂ̅ × ℂ )
6 4 5 cun ( ( ℂ × ℂ̅ ) ∪ ( ℂ̅ × ℂ ) )
7 ccchat ℂ̂
8 7 7 cxp ( ℂ̂ × ℂ̂ )
9 cid I
10 cccinfty
11 9 10 cres ( I ↾ ℂ )
12 8 11 cun ( ( ℂ̂ × ℂ̂ ) ∪ ( I ↾ ℂ ) )
13 6 12 cun ( ( ( ℂ × ℂ̅ ) ∪ ( ℂ̅ × ℂ ) ) ∪ ( ( ℂ̂ × ℂ̂ ) ∪ ( I ↾ ℂ ) ) )
14 c1st 1st
15 1 cv 𝑥
16 15 14 cfv ( 1st𝑥 )
17 cinfty
18 16 17 wceq ( 1st𝑥 ) = ∞
19 c2nd 2nd
20 15 19 cfv ( 2nd𝑥 )
21 20 17 wceq (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‘ ( 1st𝑥 ) ) +R ( 1st ‘ ( 2nd𝑥 ) ) ) , ( ( 2nd ‘ ( 1st𝑥 ) ) +R ( 2nd ‘ ( 2nd𝑥 ) ) ) ⟩ , ( 2nd𝑥 ) ) , ( 1st𝑥 ) ) )
36 1 13 35 cmpt ( 𝑥 ∈ ( ( ( ℂ × ℂ̅ ) ∪ ( ℂ̅ × ℂ ) ) ∪ ( ( ℂ̂ × ℂ̂ ) ∪ ( I ↾ ℂ ) ) ) ↦ if ( ( ( 1st𝑥 ) = ∞ ∨ ( 2nd𝑥 ) = ∞ ) , ∞ , if ( ( 1st𝑥 ) ∈ ℂ , if ( ( 2nd𝑥 ) ∈ ℂ , ⟨ ( ( 1st ‘ ( 1st𝑥 ) ) +R ( 1st ‘ ( 2nd𝑥 ) ) ) , ( ( 2nd ‘ ( 1st𝑥 ) ) +R ( 2nd ‘ ( 2nd𝑥 ) ) ) ⟩ , ( 2nd𝑥 ) ) , ( 1st𝑥 ) ) ) )
37 0 36 wceq +ℂ̅ = ( 𝑥 ∈ ( ( ( ℂ × ℂ̅ ) ∪ ( ℂ̅ × ℂ ) ) ∪ ( ( ℂ̂ × ℂ̂ ) ∪ ( I ↾ ℂ ) ) ) ↦ if ( ( ( 1st𝑥 ) = ∞ ∨ ( 2nd𝑥 ) = ∞ ) , ∞ , if ( ( 1st𝑥 ) ∈ ℂ , if ( ( 2nd𝑥 ) ∈ ℂ , ⟨ ( ( 1st ‘ ( 1st𝑥 ) ) +R ( 1st ‘ ( 2nd𝑥 ) ) ) , ( ( 2nd ‘ ( 1st𝑥 ) ) +R ( 2nd ‘ ( 2nd𝑥 ) ) ) ⟩ , ( 2nd𝑥 ) ) , ( 1st𝑥 ) ) ) )