MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  rexcom Structured version   Visualization version   GIF version

Theorem rexcom 3298
Description: Commutation of restricted existential quantifiers. (Contributed by NM, 19-Nov-1995.) (Revised by Mario Carneiro, 14-Oct-2016.) (Proof shortened by BJ, 26-Aug-2023.) (Proof shortened by Wolf Lammen, 8-Dec-2024.)
Assertion
Ref Expression
rexcom (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝜑 ↔ ∃𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝜑)
Distinct variable groups:   𝑥,𝑦   𝑦,𝐴   𝑥,𝐵
Allowed substitution hints:   𝜑(𝑥, 𝑦)   𝐴(𝑥)   𝐵(𝑦)

Proof of Theorem rexcom
StepHypRef Expression
1 ralcom 3297 . . 3 (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 ¬ 𝜑 ↔ ∀𝑦 ∈ 𝐵 ∀𝑥 ∈ 𝐴 ¬ 𝜑)
2 ralnex2 3152 . . 3 (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 ¬ 𝜑 ↔ ¬ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝜑)
3 ralnex2 3152 . . 3 (∀𝑦 ∈ 𝐵 ∀𝑥 ∈ 𝐴 ¬ 𝜑 ↔ ¬ ∃𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝜑)
41, 2, 33bitr3i 304 . 2 (¬ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝜑 ↔ ¬ ∃𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝜑)
54con4bii 324 1 (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝜑 ↔ ∃𝑦 ∈ 𝐵 ∃𝑥 ∈ 𝐴 𝜑)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209  ∀wral 3086  ∃wrex 3096
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-11 2201
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1815  df-ral 3087  df-rex 3097
This theorem is used by:  rexcom13  3302  2reurex  3723  2reu1  3851  2reu4lem  4484  iuncom  4967  xpiundi  5732  brdom7disj  10659  addcompr  11155  mulcompr  11157  qmulz  13128  elpq  13153  caubnd2  15579  ello1mpt2  15743  o1lo1  15758  lo1add  15848  lo1mul  15849  rlimno1  15875  sqrt2irr  16470  bezoutlem2  16766  bezoutlem4  16768  pythagtriplem19  17068  lsmcom2  19937  efgrelexlemb  20032  lsmcomx  20138  pgpfac1lem2  20359  pgpfac1lem4  20362  regsep2  23772  ordthaus  23780  tgcmp  23797  txcmplem1  24038  xkococnlem  24056  regr1lem2  24137  dyadmax  25997  coeeu  26618  ostth  28042  mulscom  28601  znegscl  28854  z12negscl  28940  z12sge0  28945  axpasch  29595  axeuclidlem  29616  usgr2pth0  30427  elwwlks2  30634  elwspths2spth  30635  shscom  31997  mdsymlem4  33084  mdsymlem8  33088  zzedom  33975  ordtconnlem1  34684  onvf1odlem1  36097  cvmliftlem15  36296  fvineqsneq  38629  lshpsmreu  40458  islpln5  40884  islvol5  40928  paddcom  41162  mapdrvallem2  42994  hdmapglem7a  43276  remexz  43446  hashnexinjle  43471  fimgmcyclem  43886  fsuppind  43907  fourierdlem42  47515  2rexsb  48528  2rexrsb  48529  pgrpgt2nabl  49892  islindeps2  50039  isldepslvec2  50041
  Copyright terms: Public domain W3C validator