Metamath Proof Explorer


Theorem sub31

Description: Swap the first and third terms in a double subtraction. (Contributed by Glauco Siliprandi, 11-Dec-2019)

Ref Expression
Assertion sub31 ABCABC=CBA

Proof

Step Hyp Ref Expression
1 simp1 ABCA
2 simpr BCC
3 simpl BCB
4 2 3 subcld BCCB
5 4 3adant1 ABCCB
6 1 5 addcomd ABCA+C-B=C-B+A
7 subsub2 ABCABC=A+C-B
8 simp3 ABCC
9 simp2 ABCB
10 8 9 1 subsubd ABCCBA=C-B+A
11 6 7 10 3eqtr4d ABCABC=CBA