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

Theorem rexxpf 5269
Description: Version of rexxp 5264 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 1784 . . . . 5 𝑦 ¬ 𝜑
3 ralxpf.2 . . . . . 6 𝑧𝜑
43nfn 1784 . . . . 5 𝑧 ¬ 𝜑
5 ralxpf.3 . . . . . 6 𝑥𝜓
65nfn 1784 . . . . 5 𝑥 ¬ 𝜓
7 ralxpf.4 . . . . . 6 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝜑𝜓))
87notbid 308 . . . . 5 (𝑥 = ⟨𝑦, 𝑧⟩ → (¬ 𝜑 ↔ ¬ 𝜓))
92, 4, 6, 8ralxpf 5268 . . . 4 (∀𝑥 ∈ (𝐴 × 𝐵) ¬ 𝜑 ↔ ∀𝑦𝐴𝑧𝐵 ¬ 𝜓)
10 ralnex 2992 . . . . 5 (∀𝑧𝐵 ¬ 𝜓 ↔ ¬ ∃𝑧𝐵 𝜓)
1110ralbii 2980 . . . 4 (∀𝑦𝐴𝑧𝐵 ¬ 𝜓 ↔ ∀𝑦𝐴 ¬ ∃𝑧𝐵 𝜓)
129, 11bitri 264 . . 3 (∀𝑥 ∈ (𝐴 × 𝐵) ¬ 𝜑 ↔ ∀𝑦𝐴 ¬ ∃𝑧𝐵 𝜓)
1312notbii 310 . 2 (¬ ∀𝑥 ∈ (𝐴 × 𝐵) ¬ 𝜑 ↔ ¬ ∀𝑦𝐴 ¬ ∃𝑧𝐵 𝜓)
14 dfrex2 2996 . 2 (∃𝑥 ∈ (𝐴 × 𝐵)𝜑 ↔ ¬ ∀𝑥 ∈ (𝐴 × 𝐵) ¬ 𝜑)
15 dfrex2 2996 . 2 (∃𝑦𝐴𝑧𝐵 𝜓 ↔ ¬ ∀𝑦𝐴 ¬ ∃𝑧𝐵 𝜓)
1613, 14, 153bitr4i 292 1 (∃𝑥 ∈ (𝐴 × 𝐵)𝜑 ↔ ∃𝑦𝐴𝑧𝐵 𝜓)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196   = wceq 1483  wnf 1708  wral 2912  wrex 2913  cop 4183   × cxp 5112
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-iun 4522  df-opab 4713  df-xp 5120  df-rel 5121
This theorem is referenced by:  iunxpf  5270  wdom2d2  37602
  Copyright terms: Public domain W3C validator