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

Theorem r2exf 2456
Description: Double restricted existential quantification. (Contributed by Mario Carneiro, 14-Oct-2016.)
Hypothesis
Ref Expression
r2alf.1 𝑦𝐴
Assertion
Ref Expression
r2exf (∃𝑥𝐴𝑦𝐵 𝜑 ↔ ∃𝑥𝑦((𝑥𝐴𝑦𝐵) ∧ 𝜑))
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐴(𝑥,𝑦)   𝐵(𝑥,𝑦)

Proof of Theorem r2exf
StepHypRef Expression
1 df-rex 2423 . 2 (∃𝑥𝐴𝑦𝐵 𝜑 ↔ ∃𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 𝜑))
2 r2alf.1 . . . . . 6 𝑦𝐴
32nfcri 2276 . . . . 5 𝑦 𝑥𝐴
4319.42 1667 . . . 4 (∃𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) ↔ (𝑥𝐴 ∧ ∃𝑦(𝑦𝐵𝜑)))
5 anass 399 . . . . 5 (((𝑥𝐴𝑦𝐵) ∧ 𝜑) ↔ (𝑥𝐴 ∧ (𝑦𝐵𝜑)))
65exbii 1585 . . . 4 (∃𝑦((𝑥𝐴𝑦𝐵) ∧ 𝜑) ↔ ∃𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
7 df-rex 2423 . . . . 5 (∃𝑦𝐵 𝜑 ↔ ∃𝑦(𝑦𝐵𝜑))
87anbi2i 453 . . . 4 ((𝑥𝐴 ∧ ∃𝑦𝐵 𝜑) ↔ (𝑥𝐴 ∧ ∃𝑦(𝑦𝐵𝜑)))
94, 6, 83bitr4i 211 . . 3 (∃𝑦((𝑥𝐴𝑦𝐵) ∧ 𝜑) ↔ (𝑥𝐴 ∧ ∃𝑦𝐵 𝜑))
109exbii 1585 . 2 (∃𝑥𝑦((𝑥𝐴𝑦𝐵) ∧ 𝜑) ↔ ∃𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 𝜑))
111, 10bitr4i 186 1 (∃𝑥𝐴𝑦𝐵 𝜑 ↔ ∃𝑥𝑦((𝑥𝐴𝑦𝐵) ∧ 𝜑))
Colors of variables: wff set class
Syntax hints:  wa 103  wb 104  wex 1469  wcel 1481  wnfc 2269  wrex 2418
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 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122
This theorem depends on definitions:  df-bi 116  df-nf 1438  df-sb 1737  df-cleq 2133  df-clel 2136  df-nfc 2271  df-rex 2423
This theorem is referenced by:  r2ex  2458  rexcomf  2596
  Copyright terms: Public domain W3C validator