Metamath Proof Explorer


Theorem int-addcomd

Description: AdditionCommutativity generator rule. (Contributed by Stanislas Polu, 7-Apr-2020)

Ref Expression
Hypotheses int-addcomd.1 φ B
int-addcomd.2 φ C
int-addcomd.3 φ A = B
Assertion int-addcomd φ B + C = C + A

Proof

Step Hyp Ref Expression
1 int-addcomd.1 φ B
2 int-addcomd.2 φ C
3 int-addcomd.3 φ A = B
4 1 recnd φ B
5 2 recnd φ C
6 4 5 addcomd φ B + C = C + B
7 3 eqcomd φ B = A
8 7 oveq2d φ C + B = C + A
9 6 8 eqtrd φ B + C = C + A