Metamath Proof Explorer


Theorem hvaddeq0

Description: If the sum of two vectors is zero, one is the negative of the other. (Contributed by NM, 10-Jun-2006) (New usage is discouraged.)

Ref Expression
Assertion hvaddeq0 A B A + B = 0 A = -1 B

Proof

Step Hyp Ref Expression
1 hvaddsubval A B A + B = A - -1 B
2 1 eqeq1d A B A + B = 0 A - -1 B = 0
3 neg1cn 1
4 hvmulcl 1 B -1 B
5 3 4 mpan B -1 B
6 hvsubeq0 A -1 B A - -1 B = 0 A = -1 B
7 5 6 sylan2 A B A - -1 B = 0 A = -1 B
8 2 7 bitrd A B A + B = 0 A = -1 B