Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > rexcomf | Structured version Visualization version GIF version |
Description: Commutation of restricted existential quantifiers. (Contributed by Mario Carneiro, 14-Oct-2016.) |
Ref | Expression |
---|---|
ralcomf.1 | ⊢ Ⅎ𝑦𝐴 |
ralcomf.2 | ⊢ Ⅎ𝑥𝐵 |
Ref | Expression |
---|---|
rexcomf | ⊢ (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝜑 ↔ ∃𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝜑) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | ancom 465 | . . . . 5 ⊢ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ↔ (𝑦 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴)) | |
2 | 1 | anbi1i 727 | . . . 4 ⊢ (((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝜑) ↔ ((𝑦 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) ∧ 𝜑)) |
3 | 2 | 2exbii 1765 | . . 3 ⊢ (∃𝑥∃𝑦((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝜑) ↔ ∃𝑥∃𝑦((𝑦 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) ∧ 𝜑)) |
4 | excom 2029 | . . 3 ⊢ (∃𝑥∃𝑦((𝑦 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) ∧ 𝜑) ↔ ∃𝑦∃𝑥((𝑦 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) ∧ 𝜑)) | |
5 | 3, 4 | bitri 263 | . 2 ⊢ (∃𝑥∃𝑦((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝜑) ↔ ∃𝑦∃𝑥((𝑦 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) ∧ 𝜑)) |
6 | ralcomf.1 | . . 3 ⊢ Ⅎ𝑦𝐴 | |
7 | 6 | r2exf 3042 | . 2 ⊢ (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝜑 ↔ ∃𝑥∃𝑦((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝜑)) |
8 | ralcomf.2 | . . 3 ⊢ Ⅎ𝑥𝐵 | |
9 | 8 | r2exf 3042 | . 2 ⊢ (∃𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝜑 ↔ ∃𝑦∃𝑥((𝑦 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) ∧ 𝜑)) |
10 | 5, 7, 9 | 3bitr4i 291 | 1 ⊢ (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝜑 ↔ ∃𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝜑) |
Colors of variables: wff setvar class |
Syntax hints: ↔ wb 195 ∧ wa 383 ∃wex 1695 ∈ wcel 1977 Ⅎwnfc 2738 ∃wrex 2897 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1713 ax-4 1728 ax-5 1827 ax-6 1875 ax-7 1922 ax-10 2006 ax-11 2021 ax-12 2034 ax-13 2234 ax-ext 2590 |
This theorem depends on definitions: df-bi 196 df-or 384 df-an 385 df-tru 1478 df-ex 1696 df-nf 1701 df-sb 1868 df-cleq 2603 df-clel 2606 df-nfc 2740 df-ral 2901 df-rex 2902 |
This theorem is referenced by: rexcom 3080 rexcom4f 28701 |
Copyright terms: Public domain | W3C validator |