Metamath Proof Explorer


Theorem nfexd2

Description: Variation on nfexd which adds the hypothesis that x and y are distinct in the inner subproof. (Contributed by Mario Carneiro, 8-Oct-2016) Usage of this theorem is discouraged because it depends on ax-13 . Use nfexd instead. (New usage is discouraged.)

Ref Expression
Hypotheses nfald2.1 ⊢ Ⅎ y φ
nfald2.2 ⊢ φ ∧ ¬ ∀ x x = y → Ⅎ x ψ
Assertion nfexd2 ⊢ φ → Ⅎ x ∃ y ψ

Proof

Step Hyp Ref Expression
1 nfald2.1 ⊢ Ⅎ y φ
2 nfald2.2 ⊢ φ ∧ ¬ ∀ x x = y → Ⅎ x ψ
3 df-ex ⊢ ∃ y ψ ↔ ¬ ∀ y ¬ ψ
4 2 nfnd ⊢ φ ∧ ¬ ∀ x x = y → Ⅎ x ¬ ψ
5 1 4 nfald2 ⊢ φ → Ⅎ x ∀ y ¬ ψ
6 5 nfnd ⊢ φ → Ⅎ x ¬ ∀ y ¬ ψ
7 3 6 nfxfrd ⊢ φ → Ⅎ x ∃ y ψ