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

Theorem 2reu4 4522
Description: Definition of double restricted existential uniqueness ("exactly one 𝑥 and exactly one 𝑦"), analogous to 2eu4 2654. (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 3383 . . . 4 (∃!𝑥𝐴𝑦𝐵 𝜑 → ∃𝑥𝐴𝑦𝐵 𝜑)
2 rexn0 4510 . . . 4 (∃𝑥𝐴𝑦𝐵 𝜑𝐴 ≠ ∅)
31, 2syl 17 . . 3 (∃!𝑥𝐴𝑦𝐵 𝜑𝐴 ≠ ∅)
4 reurex 3383 . . . 4 (∃!𝑦𝐵𝑥𝐴 𝜑 → ∃𝑦𝐵𝑥𝐴 𝜑)
5 rexn0 4510 . . . 4 (∃𝑦𝐵𝑥𝐴 𝜑𝐵 ≠ ∅)
64, 5syl 17 . . 3 (∃!𝑦𝐵𝑥𝐴 𝜑𝐵 ≠ ∅)
73, 6anim12i 613 . 2 ((∃!𝑥𝐴𝑦𝐵 𝜑 ∧ ∃!𝑦𝐵𝑥𝐴 𝜑) → (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅))
8 ne0i 4340 . . . . . 6 (𝑥𝐴𝐴 ≠ ∅)
9 ne0i 4340 . . . . . 6 (𝑦𝐵𝐵 ≠ ∅)
108, 9anim12i 613 . . . . 5 ((𝑥𝐴𝑦𝐵) → (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅))
1110a1d 25 . . . 4 ((𝑥𝐴𝑦𝐵) → (𝜑 → (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅)))
1211rexlimivv 3200 . . 3 (∃𝑥𝐴𝑦𝐵 𝜑 → (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅))
1312adantr 480 . 2 ((∃𝑥𝐴𝑦𝐵 𝜑 ∧ ∃𝑧𝐴𝑤𝐵𝑥𝐴𝑦𝐵 (𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))) → (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅))
14 2reu4lem 4521 . 2 ((𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅) → ((∃!𝑥𝐴𝑦𝐵 𝜑 ∧ ∃!𝑦𝐵𝑥𝐴 𝜑) ↔ (∃𝑥𝐴𝑦𝐵 𝜑 ∧ ∃𝑧𝐴𝑤𝐵𝑥𝐴𝑦𝐵 (𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)))))
157, 13, 14pm5.21nii 378 1 ((∃!𝑥𝐴𝑦𝐵 𝜑 ∧ ∃!𝑦𝐵𝑥𝐴 𝜑) ↔ (∃𝑥𝐴𝑦𝐵 𝜑 ∧ ∃𝑧𝐴𝑤𝐵𝑥𝐴𝑦𝐵 (𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  wcel 2107  wne 2939  wral 3060  wrex 3069  ∃!wreu 3377  c0 4332
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1794  ax-4 1808  ax-5 1909  ax-6 1966  ax-7 2006  ax-8 2109  ax-9 2117  ax-10 2140  ax-11 2156  ax-12 2176  ax-ext 2707
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-tru 1542  df-fal 1552  df-ex 1779  df-nf 1783  df-sb 2064  df-mo 2539  df-eu 2568  df-clab 2714  df-cleq 2728  df-clel 2815  df-nfc 2891  df-ne 2940  df-ral 3061  df-rex 3070  df-rmo 3379  df-reu 3380  df-dif 3953  df-nul 4333
This theorem is referenced by:  opreu2reurex  6313  opreu2reuALT  32497
  Copyright terms: Public domain W3C validator