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

Theorem rexcom 1313
Description: Commutation of restricted quantifiers.
Assertion
Ref Expression
rexcom |- (E.x e. A E.y e. B ph <-> E.y e. B E.x e. A ph)
Distinct variable group(s):   x,y   x,B   y,A

Proof of Theorem rexcom
StepHypRef Expression
1 ancom 333 . . . . 5 |- ((x e. A /\ y e. B) <-> (y e. B /\ x e. A))
21anbi1i 368 . . . 4 |- (((x e. A /\ y e. B) /\ ph) <-> ((y e. B /\ x e. A) /\ ph))
32bi2ex 734 . . 3 |- (E.xE.y((x e. A /\ y e. B) /\ ph) <-> E.xE.y((y e. B /\ x e. A) /\ ph))
4 excom 728 . . 3 |- (E.xE.y((y e. B /\ x e. A) /\ ph) <-> E.yE.x((y e. B /\ x e. A) /\ ph))
53, 4bitr 151 . 2 |- (E.xE.y((x e. A /\ y e. B) /\ ph) <-> E.yE.x((y e. B /\ x e. A) /\ ph))
6 r2ex 1241 . 2 |- (E.x e. A E.y e. B ph <-> E.xE.y((x e. A /\ y e. B) /\ ph))
7 r2ex 1241 . 2 |- (E.y e. B E.x e. A ph <-> E.yE.x((y e. B /\ x e. A) /\ ph))
85, 6, 73bitr4 158 1 |- (E.x e. A E.y e. B ph <-> E.y e. B E.x e. A ph)
Colors of variables: wff set class
Syntax hints:   <-> wb 127   /\ wa 196  E.wex 678   e. wcel 1092  E.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