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

Theorem 2reu4 4526
Description: Definition of double restricted existential uniqueness ("exactly one 𝑥 and exactly one 𝑦"), analogous to 2eu4 2649. (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 3379 . . . 4 (∃!𝑥𝐴𝑦𝐵 𝜑 → ∃𝑥𝐴𝑦𝐵 𝜑)
2 rexn0 4510 . . . 4 (∃𝑥𝐴𝑦𝐵 𝜑𝐴 ≠ ∅)
31, 2syl 17 . . 3 (∃!𝑥𝐴𝑦𝐵 𝜑𝐴 ≠ ∅)
4 reurex 3379 . . . 4 (∃!𝑦𝐵𝑥𝐴 𝜑 → ∃𝑦𝐵𝑥𝐴 𝜑)
5 rexn0 4510 . . . 4 (∃𝑦𝐵𝑥𝐴 𝜑𝐵 ≠ ∅)
64, 5syl 17 . . 3 (∃!𝑦𝐵𝑥𝐴 𝜑𝐵 ≠ ∅)
73, 6anim12i 612 . 2 ((∃!𝑥𝐴𝑦𝐵 𝜑 ∧ ∃!𝑦𝐵𝑥𝐴 𝜑) → (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅))
8 ne0i 4334 . . . . . 6 (𝑥𝐴𝐴 ≠ ∅)
9 ne0i 4334 . . . . . 6 (𝑦𝐵𝐵 ≠ ∅)
108, 9anim12i 612 . . . . 5 ((𝑥𝐴𝑦𝐵) → (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅))
1110a1d 25 . . . 4 ((𝑥𝐴𝑦𝐵) → (𝜑 → (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅)))
1211rexlimivv 3198 . . 3 (∃𝑥𝐴𝑦𝐵 𝜑 → (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅))
1312adantr 480 . 2 ((∃𝑥𝐴𝑦𝐵 𝜑 ∧ ∃𝑧𝐴𝑤𝐵𝑥𝐴𝑦𝐵 (𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))) → (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅))
14 2reu4lem 4525 . 2 ((𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅) → ((∃!𝑥𝐴𝑦𝐵 𝜑 ∧ ∃!𝑦𝐵𝑥𝐴 𝜑) ↔ (∃𝑥𝐴𝑦𝐵 𝜑 ∧ ∃𝑧𝐴𝑤𝐵𝑥𝐴𝑦𝐵 (𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)))))
157, 13, 14pm5.21nii 378 1 ((∃!𝑥𝐴𝑦𝐵 𝜑 ∧ ∃!𝑦𝐵𝑥𝐴 𝜑) ↔ (∃𝑥𝐴𝑦𝐵 𝜑 ∧ ∃𝑧𝐴𝑤𝐵𝑥𝐴𝑦𝐵 (𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wcel 2105  wne 2939  wral 3060  wrex 3069  ∃!wreu 3373  c0 4322
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 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2702
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 845  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-mo 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-ral 3061  df-rex 3070  df-rmo 3375  df-reu 3376  df-dif 3951  df-nul 4323
This theorem is referenced by:  opreu2reurex  6293  opreu2reuALT  32152
  Copyright terms: Public domain W3C validator