Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  2reurex Structured version   Visualization version   GIF version

Theorem 2reurex 41181
Description: Double restricted quantification with existential uniqueness, analogous to 2euex 2544. (Contributed by Alexander van der Vekens, 24-Jun-2017.)
Assertion
Ref Expression
2reurex (∃!𝑥𝐴𝑦𝐵 𝜑 → ∃𝑦𝐵 ∃!𝑥𝐴 𝜑)
Distinct variable groups:   𝑦,𝐴   𝑥,𝑦   𝑥,𝐵
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐴(𝑥)   𝐵(𝑦)

Proof of Theorem 2reurex
StepHypRef Expression
1 reu5 3159 . 2 (∃!𝑥𝐴𝑦𝐵 𝜑 ↔ (∃𝑥𝐴𝑦𝐵 𝜑 ∧ ∃*𝑥𝐴𝑦𝐵 𝜑))
2 rexcom 3099 . . . 4 (∃𝑥𝐴𝑦𝐵 𝜑 ↔ ∃𝑦𝐵𝑥𝐴 𝜑)
3 nfcv 2764 . . . . . 6 𝑦𝐴
4 nfre1 3005 . . . . . 6 𝑦𝑦𝐵 𝜑
53, 4nfrmo 3115 . . . . 5 𝑦∃*𝑥𝐴𝑦𝐵 𝜑
6 rspe 3003 . . . . . . . . . . 11 ((𝑦𝐵𝜑) → ∃𝑦𝐵 𝜑)
76ex 450 . . . . . . . . . 10 (𝑦𝐵 → (𝜑 → ∃𝑦𝐵 𝜑))
87ralrimivw 2967 . . . . . . . . 9 (𝑦𝐵 → ∀𝑥𝐴 (𝜑 → ∃𝑦𝐵 𝜑))
9 rmoim 3407 . . . . . . . . 9 (∀𝑥𝐴 (𝜑 → ∃𝑦𝐵 𝜑) → (∃*𝑥𝐴𝑦𝐵 𝜑 → ∃*𝑥𝐴 𝜑))
108, 9syl 17 . . . . . . . 8 (𝑦𝐵 → (∃*𝑥𝐴𝑦𝐵 𝜑 → ∃*𝑥𝐴 𝜑))
1110impcom 446 . . . . . . 7 ((∃*𝑥𝐴𝑦𝐵 𝜑𝑦𝐵) → ∃*𝑥𝐴 𝜑)
12 rmo5 3162 . . . . . . 7 (∃*𝑥𝐴 𝜑 ↔ (∃𝑥𝐴 𝜑 → ∃!𝑥𝐴 𝜑))
1311, 12sylib 208 . . . . . 6 ((∃*𝑥𝐴𝑦𝐵 𝜑𝑦𝐵) → (∃𝑥𝐴 𝜑 → ∃!𝑥𝐴 𝜑))
1413ex 450 . . . . 5 (∃*𝑥𝐴𝑦𝐵 𝜑 → (𝑦𝐵 → (∃𝑥𝐴 𝜑 → ∃!𝑥𝐴 𝜑)))
155, 14reximdai 3012 . . . 4 (∃*𝑥𝐴𝑦𝐵 𝜑 → (∃𝑦𝐵𝑥𝐴 𝜑 → ∃𝑦𝐵 ∃!𝑥𝐴 𝜑))
162, 15syl5bi 232 . . 3 (∃*𝑥𝐴𝑦𝐵 𝜑 → (∃𝑥𝐴𝑦𝐵 𝜑 → ∃𝑦𝐵 ∃!𝑥𝐴 𝜑))
1716impcom 446 . 2 ((∃𝑥𝐴𝑦𝐵 𝜑 ∧ ∃*𝑥𝐴𝑦𝐵 𝜑) → ∃𝑦𝐵 ∃!𝑥𝐴 𝜑)
181, 17sylbi 207 1 (∃!𝑥𝐴𝑦𝐵 𝜑 → ∃𝑦𝐵 ∃!𝑥𝐴 𝜑)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384  wcel 1990  wral 2912  wrex 2913  ∃!wreu 2914  ∃*wrmo 2915
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
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-reu 2919  df-rmo 2920
This theorem is referenced by:  2rexreu  41185
  Copyright terms: Public domain W3C validator