Metamath Proof Explorer


Theorem dvhopaddN

Description: Sum of DVecH vectors expressed as ordered pair. (Contributed by NM, 20-Nov-2013) (New usage is discouraged.)

Ref Expression
Hypothesis dvhopadd.a 𝐴 = ( 𝑓 ∈ ( 𝑇 × 𝐸 ) , 𝑔 ∈ ( 𝑇 × 𝐸 ) ↦ ⟨ ( ( 1st𝑓 ) ∘ ( 1st𝑔 ) ) , ( ( 2nd𝑓 ) 𝑃 ( 2nd𝑔 ) ) ⟩ )
Assertion dvhopaddN ( ( ( 𝐹𝑇𝑈𝐸 ) ∧ ( 𝐺𝑇𝑉𝐸 ) ) → ( ⟨ 𝐹 , 𝑈𝐴𝐺 , 𝑉 ⟩ ) = ⟨ ( 𝐹𝐺 ) , ( 𝑈 𝑃 𝑉 ) ⟩ )

Proof

Step Hyp Ref Expression
1 dvhopadd.a 𝐴 = ( 𝑓 ∈ ( 𝑇 × 𝐸 ) , 𝑔 ∈ ( 𝑇 × 𝐸 ) ↦ ⟨ ( ( 1st𝑓 ) ∘ ( 1st𝑔 ) ) , ( ( 2nd𝑓 ) 𝑃 ( 2nd𝑔 ) ) ⟩ )
2 opelxpi ( ( 𝐹𝑇𝑈𝐸 ) → ⟨ 𝐹 , 𝑈 ⟩ ∈ ( 𝑇 × 𝐸 ) )
3 opelxpi ( ( 𝐺𝑇𝑉𝐸 ) → ⟨ 𝐺 , 𝑉 ⟩ ∈ ( 𝑇 × 𝐸 ) )
4 1 dvhvaddval ( ( ⟨ 𝐹 , 𝑈 ⟩ ∈ ( 𝑇 × 𝐸 ) ∧ ⟨ 𝐺 , 𝑉 ⟩ ∈ ( 𝑇 × 𝐸 ) ) → ( ⟨ 𝐹 , 𝑈𝐴𝐺 , 𝑉 ⟩ ) = ⟨ ( ( 1st ‘ ⟨ 𝐹 , 𝑈 ⟩ ) ∘ ( 1st ‘ ⟨ 𝐺 , 𝑉 ⟩ ) ) , ( ( 2nd ‘ ⟨ 𝐹 , 𝑈 ⟩ ) 𝑃 ( 2nd ‘ ⟨ 𝐺 , 𝑉 ⟩ ) ) ⟩ )
5 2 3 4 syl2an ( ( ( 𝐹𝑇𝑈𝐸 ) ∧ ( 𝐺𝑇𝑉𝐸 ) ) → ( ⟨ 𝐹 , 𝑈𝐴𝐺 , 𝑉 ⟩ ) = ⟨ ( ( 1st ‘ ⟨ 𝐹 , 𝑈 ⟩ ) ∘ ( 1st ‘ ⟨ 𝐺 , 𝑉 ⟩ ) ) , ( ( 2nd ‘ ⟨ 𝐹 , 𝑈 ⟩ ) 𝑃 ( 2nd ‘ ⟨ 𝐺 , 𝑉 ⟩ ) ) ⟩ )
6 op1stg ( ( 𝐹𝑇𝑈𝐸 ) → ( 1st ‘ ⟨ 𝐹 , 𝑈 ⟩ ) = 𝐹 )
7 6 adantr ( ( ( 𝐹𝑇𝑈𝐸 ) ∧ ( 𝐺𝑇𝑉𝐸 ) ) → ( 1st ‘ ⟨ 𝐹 , 𝑈 ⟩ ) = 𝐹 )
8 op1stg ( ( 𝐺𝑇𝑉𝐸 ) → ( 1st ‘ ⟨ 𝐺 , 𝑉 ⟩ ) = 𝐺 )
9 8 adantl ( ( ( 𝐹𝑇𝑈𝐸 ) ∧ ( 𝐺𝑇𝑉𝐸 ) ) → ( 1st ‘ ⟨ 𝐺 , 𝑉 ⟩ ) = 𝐺 )
10 7 9 coeq12d ( ( ( 𝐹𝑇𝑈𝐸 ) ∧ ( 𝐺𝑇𝑉𝐸 ) ) → ( ( 1st ‘ ⟨ 𝐹 , 𝑈 ⟩ ) ∘ ( 1st ‘ ⟨ 𝐺 , 𝑉 ⟩ ) ) = ( 𝐹𝐺 ) )
11 op2ndg ( ( 𝐹𝑇𝑈𝐸 ) → ( 2nd ‘ ⟨ 𝐹 , 𝑈 ⟩ ) = 𝑈 )
12 op2ndg ( ( 𝐺𝑇𝑉𝐸 ) → ( 2nd ‘ ⟨ 𝐺 , 𝑉 ⟩ ) = 𝑉 )
13 11 12 oveqan12d ( ( ( 𝐹𝑇𝑈𝐸 ) ∧ ( 𝐺𝑇𝑉𝐸 ) ) → ( ( 2nd ‘ ⟨ 𝐹 , 𝑈 ⟩ ) 𝑃 ( 2nd ‘ ⟨ 𝐺 , 𝑉 ⟩ ) ) = ( 𝑈 𝑃 𝑉 ) )
14 10 13 opeq12d ( ( ( 𝐹𝑇𝑈𝐸 ) ∧ ( 𝐺𝑇𝑉𝐸 ) ) → ⟨ ( ( 1st ‘ ⟨ 𝐹 , 𝑈 ⟩ ) ∘ ( 1st ‘ ⟨ 𝐺 , 𝑉 ⟩ ) ) , ( ( 2nd ‘ ⟨ 𝐹 , 𝑈 ⟩ ) 𝑃 ( 2nd ‘ ⟨ 𝐺 , 𝑉 ⟩ ) ) ⟩ = ⟨ ( 𝐹𝐺 ) , ( 𝑈 𝑃 𝑉 ) ⟩ )
15 5 14 eqtrd ( ( ( 𝐹𝑇𝑈𝐸 ) ∧ ( 𝐺𝑇𝑉𝐸 ) ) → ( ⟨ 𝐹 , 𝑈𝐴𝐺 , 𝑉 ⟩ ) = ⟨ ( 𝐹𝐺 ) , ( 𝑈 𝑃 𝑉 ) ⟩ )