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

Theorem rexxpf 5682
Description: Version of rexxp 5677 with bound-variable hypotheses. (Contributed by NM, 19-Dec-2008.) (Revised by Mario Carneiro, 15-Oct-2016.)
Hypotheses
Ref Expression
ralxpf.1 𝑦𝜑
ralxpf.2 𝑧𝜑
ralxpf.3 𝑥𝜓
ralxpf.4 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝜑𝜓))
Assertion
Ref Expression
rexxpf (∃𝑥 ∈ (𝐴 × 𝐵)𝜑 ↔ ∃𝑦𝐴𝑧𝐵 𝜓)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝑧,𝐵,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)   𝜓(𝑥,𝑦,𝑧)   𝐴(𝑧)

Proof of Theorem rexxpf
StepHypRef Expression
1 ralxpf.1 . . . . . 6 𝑦𝜑
21nfn 1858 . . . . 5 𝑦 ¬ 𝜑
3 ralxpf.2 . . . . . 6 𝑧𝜑
43nfn 1858 . . . . 5 𝑧 ¬ 𝜑
5 ralxpf.3 . . . . . 6 𝑥𝜓
65nfn 1858 . . . . 5 𝑥 ¬ 𝜓
7 ralxpf.4 . . . . . 6 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝜑𝜓))
87notbid 321 . . . . 5 (𝑥 = ⟨𝑦, 𝑧⟩ → (¬ 𝜑 ↔ ¬ 𝜓))
92, 4, 6, 8ralxpf 5681 . . . 4 (∀𝑥 ∈ (𝐴 × 𝐵) ¬ 𝜑 ↔ ∀𝑦𝐴𝑧𝐵 ¬ 𝜓)
10 ralnex 3199 . . . . 5 (∀𝑧𝐵 ¬ 𝜓 ↔ ¬ ∃𝑧𝐵 𝜓)
1110ralbii 3133 . . . 4 (∀𝑦𝐴𝑧𝐵 ¬ 𝜓 ↔ ∀𝑦𝐴 ¬ ∃𝑧𝐵 𝜓)
129, 11bitri 278 . . 3 (∀𝑥 ∈ (𝐴 × 𝐵) ¬ 𝜑 ↔ ∀𝑦𝐴 ¬ ∃𝑧𝐵 𝜓)
1312notbii 323 . 2 (¬ ∀𝑥 ∈ (𝐴 × 𝐵) ¬ 𝜑 ↔ ¬ ∀𝑦𝐴 ¬ ∃𝑧𝐵 𝜓)
14 dfrex2 3202 . 2 (∃𝑥 ∈ (𝐴 × 𝐵)𝜑 ↔ ¬ ∀𝑥 ∈ (𝐴 × 𝐵) ¬ 𝜑)
15 dfrex2 3202 . 2 (∃𝑦𝐴𝑧𝐵 𝜓 ↔ ¬ ∀𝑦𝐴 ¬ ∃𝑧𝐵 𝜓)
1613, 14, 153bitr4i 306 1 (∃𝑥 ∈ (𝐴 × 𝐵)𝜑 ↔ ∃𝑦𝐴𝑧𝐵 𝜓)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209   = wceq 1538  wnf 1785  wral 3106  wrex 3107  cop 4531   × cxp 5517
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-iun 4883  df-opab 5093  df-xp 5525  df-rel 5526
This theorem is referenced by:  iunxpf  5683  wdom2d2  39976
  Copyright terms: Public domain W3C validator