Step |
Hyp |
Ref |
Expression |
1 |
|
addcompi |
⊢ ( ( ( 1st ‘ 𝐴 ) ·N ( 2nd ‘ 𝐵 ) ) +N ( ( 1st ‘ 𝐵 ) ·N ( 2nd ‘ 𝐴 ) ) ) = ( ( ( 1st ‘ 𝐵 ) ·N ( 2nd ‘ 𝐴 ) ) +N ( ( 1st ‘ 𝐴 ) ·N ( 2nd ‘ 𝐵 ) ) ) |
2 |
|
mulcompi |
⊢ ( ( 2nd ‘ 𝐴 ) ·N ( 2nd ‘ 𝐵 ) ) = ( ( 2nd ‘ 𝐵 ) ·N ( 2nd ‘ 𝐴 ) ) |
3 |
1 2
|
opeq12i |
⊢ 〈 ( ( ( 1st ‘ 𝐴 ) ·N ( 2nd ‘ 𝐵 ) ) +N ( ( 1st ‘ 𝐵 ) ·N ( 2nd ‘ 𝐴 ) ) ) , ( ( 2nd ‘ 𝐴 ) ·N ( 2nd ‘ 𝐵 ) ) 〉 = 〈 ( ( ( 1st ‘ 𝐵 ) ·N ( 2nd ‘ 𝐴 ) ) +N ( ( 1st ‘ 𝐴 ) ·N ( 2nd ‘ 𝐵 ) ) ) , ( ( 2nd ‘ 𝐵 ) ·N ( 2nd ‘ 𝐴 ) ) 〉 |
4 |
|
addpipq2 |
⊢ ( ( 𝐴 ∈ ( N × N ) ∧ 𝐵 ∈ ( N × N ) ) → ( 𝐴 +pQ 𝐵 ) = 〈 ( ( ( 1st ‘ 𝐴 ) ·N ( 2nd ‘ 𝐵 ) ) +N ( ( 1st ‘ 𝐵 ) ·N ( 2nd ‘ 𝐴 ) ) ) , ( ( 2nd ‘ 𝐴 ) ·N ( 2nd ‘ 𝐵 ) ) 〉 ) |
5 |
|
addpipq2 |
⊢ ( ( 𝐵 ∈ ( N × N ) ∧ 𝐴 ∈ ( N × N ) ) → ( 𝐵 +pQ 𝐴 ) = 〈 ( ( ( 1st ‘ 𝐵 ) ·N ( 2nd ‘ 𝐴 ) ) +N ( ( 1st ‘ 𝐴 ) ·N ( 2nd ‘ 𝐵 ) ) ) , ( ( 2nd ‘ 𝐵 ) ·N ( 2nd ‘ 𝐴 ) ) 〉 ) |
6 |
5
|
ancoms |
⊢ ( ( 𝐴 ∈ ( N × N ) ∧ 𝐵 ∈ ( N × N ) ) → ( 𝐵 +pQ 𝐴 ) = 〈 ( ( ( 1st ‘ 𝐵 ) ·N ( 2nd ‘ 𝐴 ) ) +N ( ( 1st ‘ 𝐴 ) ·N ( 2nd ‘ 𝐵 ) ) ) , ( ( 2nd ‘ 𝐵 ) ·N ( 2nd ‘ 𝐴 ) ) 〉 ) |
7 |
3 4 6
|
3eqtr4a |
⊢ ( ( 𝐴 ∈ ( N × N ) ∧ 𝐵 ∈ ( N × N ) ) → ( 𝐴 +pQ 𝐵 ) = ( 𝐵 +pQ 𝐴 ) ) |
8 |
|
addpqf |
⊢ +pQ : ( ( N × N ) × ( N × N ) ) ⟶ ( N × N ) |
9 |
8
|
fdmi |
⊢ dom +pQ = ( ( N × N ) × ( N × N ) ) |
10 |
9
|
ndmovcom |
⊢ ( ¬ ( 𝐴 ∈ ( N × N ) ∧ 𝐵 ∈ ( N × N ) ) → ( 𝐴 +pQ 𝐵 ) = ( 𝐵 +pQ 𝐴 ) ) |
11 |
7 10
|
pm2.61i |
⊢ ( 𝐴 +pQ 𝐵 ) = ( 𝐵 +pQ 𝐴 ) |