Metamath Proof Explorer


Theorem 3eqtr3ri

Description: An inference from three chained equalities. (Contributed by NM, 15-Aug-2004)

Ref Expression
Hypotheses 3eqtr3i.1
|- A = B
3eqtr3i.2
|- A = C
3eqtr3i.3
|- B = D
Assertion 3eqtr3ri
|- D = C

Proof

Step Hyp Ref Expression
1 3eqtr3i.1
 |-  A = B
2 3eqtr3i.2
 |-  A = C
3 3eqtr3i.3
 |-  B = D
4 1 2 eqtr3i
 |-  B = C
5 3 4 eqtr3i
 |-  D = C