ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  rexcomf GIF version

Theorem rexcomf 2591
Description: Commutation of restricted quantifiers. (Contributed by Mario Carneiro, 14-Oct-2016.)
Hypotheses
Ref Expression
ralcomf.1 𝑦𝐴
ralcomf.2 𝑥𝐵
Assertion
Ref Expression
rexcomf (∃𝑥𝐴𝑦𝐵 𝜑 ↔ ∃𝑦𝐵𝑥𝐴 𝜑)
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐴(𝑥,𝑦)   𝐵(𝑥,𝑦)

Proof of Theorem rexcomf
StepHypRef Expression
1 ancom 264 . . . . 5 ((𝑥𝐴𝑦𝐵) ↔ (𝑦𝐵𝑥𝐴))
21anbi1i 453 . . . 4 (((𝑥𝐴𝑦𝐵) ∧ 𝜑) ↔ ((𝑦𝐵𝑥𝐴) ∧ 𝜑))
322exbii 1585 . . 3 (∃𝑥𝑦((𝑥𝐴𝑦𝐵) ∧ 𝜑) ↔ ∃𝑥𝑦((𝑦𝐵𝑥𝐴) ∧ 𝜑))
4 excom 1642 . . 3 (∃𝑥𝑦((𝑦𝐵𝑥𝐴) ∧ 𝜑) ↔ ∃𝑦𝑥((𝑦𝐵𝑥𝐴) ∧ 𝜑))
53, 4bitri 183 . 2 (∃𝑥𝑦((𝑥𝐴𝑦𝐵) ∧ 𝜑) ↔ ∃𝑦𝑥((𝑦𝐵𝑥𝐴) ∧ 𝜑))
6 ralcomf.1 . . 3 𝑦𝐴
76r2exf 2451 . 2 (∃𝑥𝐴𝑦𝐵 𝜑 ↔ ∃𝑥𝑦((𝑥𝐴𝑦𝐵) ∧ 𝜑))
8 ralcomf.2 . . 3 𝑥𝐵
98r2exf 2451 . 2 (∃𝑦𝐵𝑥𝐴 𝜑 ↔ ∃𝑦𝑥((𝑦𝐵𝑥𝐴) ∧ 𝜑))
105, 7, 93bitr4i 211 1 (∃𝑥𝐴𝑦𝐵 𝜑 ↔ ∃𝑦𝐵𝑥𝐴 𝜑)
Colors of variables: wff set class
Syntax hints:  wa 103  wb 104  wex 1468  wcel 1480  wnfc 2266  wrex 2415
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119
This theorem depends on definitions:  df-bi 116  df-nf 1437  df-sb 1736  df-cleq 2130  df-clel 2133  df-nfc 2268  df-rex 2420
This theorem is referenced by:  rexcom  2593
  Copyright terms: Public domain W3C validator