Metamath Proof Explorer


Theorem eqeq12d

Description: A useful inference for substituting definitions into an equality. (Contributed by NM, 5-Aug-1993) (Proof shortened by Andrew Salmon, 25-May-2011)

Ref Expression
Hypotheses eqeq12d.1 φ A = B
eqeq12d.2 φ C = D
Assertion eqeq12d φ A = C B = D

Proof

Step Hyp Ref Expression
1 eqeq12d.1 φ A = B
2 eqeq12d.2 φ C = D
3 eqeq12 A = B C = D A = C B = D
4 1 2 3 syl2anc φ A = C B = D