Metamath Proof Explorer


Theorem rspcedeq2vd

Description: Restricted existential specialization, using implicit substitution. Variant of rspcedvd for equations, in which the right hand side depends on the quantified variable. (Contributed by AV, 24-Dec-2019)

Ref Expression
Hypotheses rspcedeqvd.1 φ A B
rspcedeqvd.2 φ x = A C = D
Assertion rspcedeq2vd φ x B C = D

Proof

Step Hyp Ref Expression
1 rspcedeqvd.1 φ A B
2 rspcedeqvd.2 φ x = A C = D
3 2 eqcomd φ x = A D = C
4 3 eqeq2d φ x = A C = D C = C
5 eqidd φ C = C
6 1 4 5 rspcedvd φ x B C = D