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

Theorem 2ex2rexrot 3250
Description: Rotate two existential quantifiers and two restricted existential quantifiers. (Contributed by AV, 9-Nov-2023.)
Assertion
Ref Expression
2ex2rexrot (∃𝑥𝑦𝑧𝐴𝑤𝐵 𝜑 ↔ ∃𝑧𝐴𝑤𝐵𝑥𝑦𝜑)
Distinct variable groups:   𝑥,𝐴   𝑦,𝐴   𝑥,𝐵   𝑦,𝐵   𝑥,𝑤   𝑦,𝑤   𝑥,𝑧   𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑤)   𝐴(𝑧,𝑤)   𝐵(𝑧,𝑤)

Proof of Theorem 2ex2rexrot
StepHypRef Expression
1 rexcom4 3249 . . 3 (∃𝑤𝐵𝑥𝑦𝜑 ↔ ∃𝑥𝑤𝐵𝑦𝜑)
21rexbii 3247 . 2 (∃𝑧𝐴𝑤𝐵𝑥𝑦𝜑 ↔ ∃𝑧𝐴𝑥𝑤𝐵𝑦𝜑)
3 rexcom4 3249 . 2 (∃𝑧𝐴𝑥𝑤𝐵𝑦𝜑 ↔ ∃𝑥𝑧𝐴𝑤𝐵𝑦𝜑)
4 rexcom4 3249 . . . . 5 (∃𝑤𝐵𝑦𝜑 ↔ ∃𝑦𝑤𝐵 𝜑)
54rexbii 3247 . . . 4 (∃𝑧𝐴𝑤𝐵𝑦𝜑 ↔ ∃𝑧𝐴𝑦𝑤𝐵 𝜑)
6 rexcom4 3249 . . . 4 (∃𝑧𝐴𝑦𝑤𝐵 𝜑 ↔ ∃𝑦𝑧𝐴𝑤𝐵 𝜑)
75, 6bitri 277 . . 3 (∃𝑧𝐴𝑤𝐵𝑦𝜑 ↔ ∃𝑦𝑧𝐴𝑤𝐵 𝜑)
87exbii 1848 . 2 (∃𝑥𝑧𝐴𝑤𝐵𝑦𝜑 ↔ ∃𝑥𝑦𝑧𝐴𝑤𝐵 𝜑)
92, 3, 83bitrri 300 1 (∃𝑥𝑦𝑧𝐴𝑤𝐵 𝜑 ↔ ∃𝑧𝐴𝑤𝐵𝑥𝑦𝜑)
Colors of variables: wff setvar class
Syntax hints:  wb 208  wex 1780  wrex 3139
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-11 2161
This theorem depends on definitions:  df-bi 209  df-an 399  df-ex 1781  df-rex 3144
This theorem is referenced by:  satfv1  32610
  Copyright terms: Public domain W3C validator