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 39830
Description: Double restricted quantification with existential uniqueness, analogous to 2euex 2532. (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 3136 . 2 (∃!𝑥𝐴𝑦𝐵 𝜑 ↔ (∃𝑥𝐴𝑦𝐵 𝜑 ∧ ∃*𝑥𝐴𝑦𝐵 𝜑))
2 rexcom 3080 . . . 4 (∃𝑥𝐴𝑦𝐵 𝜑 ↔ ∃𝑦𝐵𝑥𝐴 𝜑)
3 nfcv 2751 . . . . . 6 𝑦𝐴
4 nfre1 2988 . . . . . 6 𝑦𝑦𝐵 𝜑
53, 4nfrmo 3094 . . . . 5 𝑦∃*𝑥𝐴𝑦𝐵 𝜑
6 rspe 2986 . . . . . . . . . . 11 ((𝑦𝐵𝜑) → ∃𝑦𝐵 𝜑)
76ex 449 . . . . . . . . . 10 (𝑦𝐵 → (𝜑 → ∃𝑦𝐵 𝜑))
87ralrimivw 2950 . . . . . . . . 9 (𝑦𝐵 → ∀𝑥𝐴 (𝜑 → ∃𝑦𝐵 𝜑))
9 rmoim 3374 . . . . . . . . 9 (∀𝑥𝐴 (𝜑 → ∃𝑦𝐵 𝜑) → (∃*𝑥𝐴𝑦𝐵 𝜑 → ∃*𝑥𝐴 𝜑))
108, 9syl 17 . . . . . . . 8 (𝑦𝐵 → (∃*𝑥𝐴𝑦𝐵 𝜑 → ∃*𝑥𝐴 𝜑))
1110impcom 445 . . . . . . 7 ((∃*𝑥𝐴𝑦𝐵 𝜑𝑦𝐵) → ∃*𝑥𝐴 𝜑)
12 rmo5 3139 . . . . . . 7 (∃*𝑥𝐴 𝜑 ↔ (∃𝑥𝐴 𝜑 → ∃!𝑥𝐴 𝜑))
1311, 12sylib 207 . . . . . 6 ((∃*𝑥𝐴𝑦𝐵 𝜑𝑦𝐵) → (∃𝑥𝐴 𝜑 → ∃!𝑥𝐴 𝜑))
1413ex 449 . . . . 5 (∃*𝑥𝐴𝑦𝐵 𝜑 → (𝑦𝐵 → (∃𝑥𝐴 𝜑 → ∃!𝑥𝐴 𝜑)))
155, 14reximdai 2995 . . . 4 (∃*𝑥𝐴𝑦𝐵 𝜑 → (∃𝑦𝐵𝑥𝐴 𝜑 → ∃𝑦𝐵 ∃!𝑥𝐴 𝜑))
162, 15syl5bi 231 . . 3 (∃*𝑥𝐴𝑦𝐵 𝜑 → (∃𝑥𝐴𝑦𝐵 𝜑 → ∃𝑦𝐵 ∃!𝑥𝐴 𝜑))
1716impcom 445 . 2 ((∃𝑥𝐴𝑦𝐵 𝜑 ∧ ∃*𝑥𝐴𝑦𝐵 𝜑) → ∃𝑦𝐵 ∃!𝑥𝐴 𝜑)
181, 17sylbi 206 1 (∃!𝑥𝐴𝑦𝐵 𝜑 → ∃𝑦𝐵 ∃!𝑥𝐴 𝜑)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383  wcel 1977  wral 2896  wrex 2897  ∃!wreu 2898  ∃*wrmo 2899
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-reu 2903  df-rmo 2904
This theorem is referenced by:  2rexreu  39834
  Copyright terms: Public domain W3C validator