Metamath Proof Explorer


Theorem rexxfr

Description: Transfer existence from a variable x to another variable y contained in expression A . (Contributed by NM, 10-Jun-2005) (Revised by Mario Carneiro, 15-Aug-2014)

Ref Expression
Hypotheses ralxfr.1 yCAB
ralxfr.2 xByCx=A
ralxfr.3 x=Aφψ
Assertion rexxfr xBφyCψ

Proof

Step Hyp Ref Expression
1 ralxfr.1 yCAB
2 ralxfr.2 xByCx=A
3 ralxfr.3 x=Aφψ
4 dfrex2 xBφ¬xB¬φ
5 dfrex2 yCψ¬yC¬ψ
6 3 notbid x=A¬φ¬ψ
7 1 2 6 ralxfr xB¬φyC¬ψ
8 5 7 xchbinxr yCψ¬xB¬φ
9 4 8 bitr4i xBφyCψ