Metamath Proof Explorer


Theorem sbcexfi

Description: Move existential quantifier in and out of class substitution, with an explicit nonfree variable condition and in inference form. (Contributed by Giovanni Mascellani, 30-May-2019)

Ref Expression
Hypotheses sbcexfi.1 _yA
sbcexfi.2 [˙A/x]˙φψ
Assertion sbcexfi [˙A/x]˙yφyψ

Proof

Step Hyp Ref Expression
1 sbcexfi.1 _yA
2 sbcexfi.2 [˙A/x]˙φψ
3 1 sbcexf [˙A/x]˙yφy[˙A/x]˙φ
4 2 exbii y[˙A/x]˙φyψ
5 3 4 bitri [˙A/x]˙yφyψ