Metamath Proof Explorer


Theorem neg11

Description: Negative is one-to-one. (Contributed by NM, 8-Feb-2005) (Revised by Mario Carneiro, 27-May-2016)

Ref Expression
Assertion neg11 A B A = B A = B

Proof

Step Hyp Ref Expression
1 negeq A = B A = B
2 negneg A A = A
3 negneg B B = B
4 2 3 eqeqan12d A B A = B A = B
5 1 4 syl5ib A B A = B A = B
6 negeq A = B A = B
7 5 6 impbid1 A B A = B A = B