HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
GIF version

Theorem rexcom 1313
Description: Commutation of restricted quantifiers.
Assertion
Ref Expression
rexcom (∃xAyB φ ↔ ∃yBxA φ)
Distinct variable group(s):   x,y   x,B   y,A

Proof of Theorem rexcom
StepHypRef Expression
1 ancom 333 . . . . 5 ((xAyB) ↔ (yBxA))
21anbi1i 368 . . . 4 (((xAyB) ∧ φ) ↔ ((yBxA) ∧ φ))
32bi2ex 734 . . 3 (∃xy((xAyB) ∧ φ) ↔ ∃xy((yBxA) ∧ φ))
4 excom 728 . . 3 (∃xy((yBxA) ∧ φ) ↔ ∃yx((yBxA) ∧ φ))
53, 4bitr 151 . 2 (∃xy((xAyB) ∧ φ) ↔ ∃yx((yBxA) ∧ φ))
6 r2ex 1241 . 2 (∃xAyB φ ↔ ∃xy((xAyB) ∧ φ))
7 r2ex 1241 . 2 (∃yBxA φ ↔ ∃yx((yBxA) ∧ φ))
85, 6, 73bitr4 158 1 (∃xAyB φ ↔ ∃yBxA φ)
Colors of variables: wff set class
Syntax hints:   ↔ wb 127   ∧ wa 196  ∃wex 678   ∈ wcel 1092  ∃wrex 1202
This theorem is referenced by:  rexcom4 1361  creui 4533  pjthu2 5242  shscomt 5284  mdsymlem4 5779  mdsymlem8 5783
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-17 925
This theorem depends on definitions:  df-bi 128  df-or 197  df-an 198  df-ex 679  df-rex 1206
metamath.org