Metamath Proof Explorer


Theorem rexn0

Description: Restricted existential quantification implies its restriction is nonempty. (Contributed by Szymon Jaroszewicz, 3-Apr-2007) Avoid df-clel , ax-8 . (Revised by GG, 2-Sep-2024)

Ref Expression
Assertion rexn0 ⊢ ∃ x ∈ A φ → A ≠ ∅

Proof

Step Hyp Ref Expression
1 dfrex2 ⊢ ∃ x ∈ A φ ↔ ¬ ∀ x ∈ A ¬ φ
2 rzal ⊢ A = ∅ → ∀ x ∈ A ¬ φ
3 2 con3i ⊢ ¬ ∀ x ∈ A ¬ φ → ¬ A = ∅
4 1 3 sylbi ⊢ ∃ x ∈ A φ → ¬ A = ∅
5 4 neqned ⊢ ∃ x ∈ A φ → A ≠ ∅