Metamath Proof Explorer


Theorem 2moswapv

Description: A condition allowing to swap an existential quantifier and at at-most-one quantifier. Version of 2moswap with a disjoint variable condition, which does not require ax-13 . (Contributed by NM, 10-Apr-2004) (Revised by GG, 22-Aug-2023) Factor out common proof lines with moexexvw . (Revised by Wolf Lammen, 2-Oct-2023)

Ref Expression
Assertion 2moswapv ⊢ ∀ x ∃* y φ → ∃* x ∃ y φ → ∃* y ∃ x φ

Proof

Step Hyp Ref Expression
1 nfe1 ⊢ Ⅎ y ∃ y φ
2 1 nfmov ⊢ Ⅎ y ∃* x ∃ y φ
3 nfe1 ⊢ Ⅎ x ∃ x ∃ y φ ∧ φ
4 3 nfmov ⊢ Ⅎ x ∃* y ∃ x ∃ y φ ∧ φ
5 1 2 4 moexexlem ⊢ ∃* x ∃ y φ ∧ ∀ x ∃* y φ → ∃* y ∃ x ∃ y φ ∧ φ
6 5 expcom ⊢ ∀ x ∃* y φ → ∃* x ∃ y φ → ∃* y ∃ x ∃ y φ ∧ φ
7 19.8a ⊢ φ → ∃ y φ
8 7 pm4.71ri ⊢ φ ↔ ∃ y φ ∧ φ
9 8 exbii ⊢ ∃ x φ ↔ ∃ x ∃ y φ ∧ φ
10 9 mobii ⊢ ∃* y ∃ x φ ↔ ∃* y ∃ x ∃ y φ ∧ φ
11 6 10 imbitrrdi ⊢ ∀ x ∃* y φ → ∃* x ∃ y φ → ∃* y ∃ x φ