Metamath Proof Explorer


Theorem subeqrev

Description: Reverse the order of subtraction in an equality. (Contributed by Scott Fenton, 8-Jul-2013)

Ref Expression
Assertion subeqrev A B C D A B = C D B A = D C

Proof

Step Hyp Ref Expression
1 subcl A B A B
2 subcl C D C D
3 neg11 A B C D A B = C D A B = C D
4 1 2 3 syl2an A B C D A B = C D A B = C D
5 negsubdi2 A B A B = B A
6 negsubdi2 C D C D = D C
7 5 6 eqeqan12d A B C D A B = C D B A = D C
8 4 7 bitr3d A B C D A B = C D B A = D C