Metamath Proof Explorer


Theorem rexcom4

Description: Commutation of restricted and unrestricted existential quantifiers. (Contributed by NM, 12-Apr-2004) (Proof shortened by Andrew Salmon, 8-Jun-2011) Reduce axiom dependencies. (Revised by BJ, 13-Jun-2019)

Ref Expression
Assertion rexcom4 x A y φ y x A φ

Proof

Step Hyp Ref Expression
1 df-rex x A y φ x x A y φ
2 19.42v y x A φ x A y φ
3 2 bicomi x A y φ y x A φ
4 3 exbii x x A y φ x y x A φ
5 excom x y x A φ y x x A φ
6 df-rex x A φ x x A φ
7 6 bicomi x x A φ x A φ
8 7 exbii y x x A φ y x A φ
9 5 8 bitri x y x A φ y x A φ
10 4 9 bitri x x A y φ y x A φ
11 1 10 bitri x A y φ y x A φ