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

Theorem 2reu4 4468
Description: Definition of double restricted existential uniqueness ("exactly one 𝑥 and exactly one 𝑦"), analogous to 2eu4 2739. (Contributed by Alexander van der Vekens, 1-Jul-2017.)
Assertion
Ref Expression
2reu4 ((∃!𝑥𝐴𝑦𝐵 𝜑 ∧ ∃!𝑦𝐵𝑥𝐴 𝜑) ↔ (∃𝑥𝐴𝑦𝐵 𝜑 ∧ ∃𝑧𝐴𝑤𝐵𝑥𝐴𝑦𝐵 (𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))))
Distinct variable groups:   𝑧,𝑤,𝜑   𝑥,𝑤,𝑦,𝐴,𝑧   𝑤,𝐵,𝑥,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦)

Proof of Theorem 2reu4
StepHypRef Expression
1 reurex 3433 . . . 4 (∃!𝑥𝐴𝑦𝐵 𝜑 → ∃𝑥𝐴𝑦𝐵 𝜑)
2 rexn0 4456 . . . 4 (∃𝑥𝐴𝑦𝐵 𝜑𝐴 ≠ ∅)
31, 2syl 17 . . 3 (∃!𝑥𝐴𝑦𝐵 𝜑𝐴 ≠ ∅)
4 reurex 3433 . . . 4 (∃!𝑦𝐵𝑥𝐴 𝜑 → ∃𝑦𝐵𝑥𝐴 𝜑)
5 rexn0 4456 . . . 4 (∃𝑦𝐵𝑥𝐴 𝜑𝐵 ≠ ∅)
64, 5syl 17 . . 3 (∃!𝑦𝐵𝑥𝐴 𝜑𝐵 ≠ ∅)
73, 6anim12i 614 . 2 ((∃!𝑥𝐴𝑦𝐵 𝜑 ∧ ∃!𝑦𝐵𝑥𝐴 𝜑) → (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅))
8 ne0i 4302 . . . . . 6 (𝑥𝐴𝐴 ≠ ∅)
9 ne0i 4302 . . . . . 6 (𝑦𝐵𝐵 ≠ ∅)
108, 9anim12i 614 . . . . 5 ((𝑥𝐴𝑦𝐵) → (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅))
1110a1d 25 . . . 4 ((𝑥𝐴𝑦𝐵) → (𝜑 → (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅)))
1211rexlimivv 3294 . . 3 (∃𝑥𝐴𝑦𝐵 𝜑 → (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅))
1312adantr 483 . 2 ((∃𝑥𝐴𝑦𝐵 𝜑 ∧ ∃𝑧𝐴𝑤𝐵𝑥𝐴𝑦𝐵 (𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))) → (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅))
14 2reu4lem 4467 . 2 ((𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅) → ((∃!𝑥𝐴𝑦𝐵 𝜑 ∧ ∃!𝑦𝐵𝑥𝐴 𝜑) ↔ (∃𝑥𝐴𝑦𝐵 𝜑 ∧ ∃𝑧𝐴𝑤𝐵𝑥𝐴𝑦𝐵 (𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)))))
157, 13, 14pm5.21nii 382 1 ((∃!𝑥𝐴𝑦𝐵 𝜑 ∧ ∃!𝑦𝐵𝑥𝐴 𝜑) ↔ (∃𝑥𝐴𝑦𝐵 𝜑 ∧ ∃𝑧𝐴𝑤𝐵𝑥𝐴𝑦𝐵 (𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wcel 2114  wne 3018  wral 3140  wrex 3141  ∃!wreu 3142  c0 4293
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-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-reu 3147  df-rmo 3148  df-dif 3941  df-nul 4294
This theorem is referenced by:  opreu2reurex  6147  opreu2reuALT  30242
  Copyright terms: Public domain W3C validator