Metamath Proof Explorer


Theorem congneg

Description: If two integers are congruent mod A , so are their negatives. (Contributed by Stefan O'Rear, 1-Oct-2014)

Ref Expression
Assertion congneg ABCABCA-B-C

Proof

Step Hyp Ref Expression
1 congsym ABCABCACB
2 zcn BB
3 zcn CC
4 neg2sub BC-B-C=CB
5 2 3 4 syl2an BC-B-C=CB
6 5 ad2ant2lr ABCABC-B-C=CB
7 1 6 breqtrrd ABCABCA-B-C