Metamath Proof Explorer


Theorem nfex

Description: If x is not free in ph , it is not free in E. y ph . (Contributed by Mario Carneiro, 11-Aug-2016) (Proof shortened by Wolf Lammen, 30-Dec-2017) Reduce symbol count in nfex , hbex . (Revised by Wolf Lammen, 16-Oct-2021)

Ref Expression
Hypothesis nfex.1 x φ
Assertion nfex x y φ

Proof

Step Hyp Ref Expression
1 nfex.1 x φ
2 df-ex y φ ¬ y ¬ φ
3 1 nfn x ¬ φ
4 3 nfal x y ¬ φ
5 4 nfn x ¬ y ¬ φ
6 2 5 nfxfr x y φ