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

Theorem reu3 3662
Description: A way to express restricted uniqueness. (Contributed by NM, 24-Oct-2006.)
Assertion
Ref Expression
reu3 (∃!𝑥𝐴 𝜑 ↔ (∃𝑥𝐴 𝜑 ∧ ∃𝑦𝐴𝑥𝐴 (𝜑𝑥 = 𝑦)))
Distinct variable groups:   𝑥,𝑦,𝐴   𝜑,𝑦
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem reu3
StepHypRef Expression
1 reurex 3362 . . 3 (∃!𝑥𝐴 𝜑 → ∃𝑥𝐴 𝜑)
2 reu6 3661 . . . 4 (∃!𝑥𝐴 𝜑 ↔ ∃𝑦𝐴𝑥𝐴 (𝜑𝑥 = 𝑦))
3 biimp 214 . . . . . 6 ((𝜑𝑥 = 𝑦) → (𝜑𝑥 = 𝑦))
43ralimi 3087 . . . . 5 (∀𝑥𝐴 (𝜑𝑥 = 𝑦) → ∀𝑥𝐴 (𝜑𝑥 = 𝑦))
54reximi 3178 . . . 4 (∃𝑦𝐴𝑥𝐴 (𝜑𝑥 = 𝑦) → ∃𝑦𝐴𝑥𝐴 (𝜑𝑥 = 𝑦))
62, 5sylbi 216 . . 3 (∃!𝑥𝐴 𝜑 → ∃𝑦𝐴𝑥𝐴 (𝜑𝑥 = 𝑦))
71, 6jca 512 . 2 (∃!𝑥𝐴 𝜑 → (∃𝑥𝐴 𝜑 ∧ ∃𝑦𝐴𝑥𝐴 (𝜑𝑥 = 𝑦)))
8 rexex 3171 . . . 4 (∃𝑦𝐴𝑥𝐴 (𝜑𝑥 = 𝑦) → ∃𝑦𝑥𝐴 (𝜑𝑥 = 𝑦))
98anim2i 617 . . 3 ((∃𝑥𝐴 𝜑 ∧ ∃𝑦𝐴𝑥𝐴 (𝜑𝑥 = 𝑦)) → (∃𝑥𝐴 𝜑 ∧ ∃𝑦𝑥𝐴 (𝜑𝑥 = 𝑦)))
10 eu3v 2570 . . . 4 (∃!𝑥(𝑥𝐴𝜑) ↔ (∃𝑥(𝑥𝐴𝜑) ∧ ∃𝑦𝑥((𝑥𝐴𝜑) → 𝑥 = 𝑦)))
11 df-reu 3072 . . . 4 (∃!𝑥𝐴 𝜑 ↔ ∃!𝑥(𝑥𝐴𝜑))
12 df-rex 3070 . . . . 5 (∃𝑥𝐴 𝜑 ↔ ∃𝑥(𝑥𝐴𝜑))
13 df-ral 3069 . . . . . . 7 (∀𝑥𝐴 (𝜑𝑥 = 𝑦) ↔ ∀𝑥(𝑥𝐴 → (𝜑𝑥 = 𝑦)))
14 impexp 451 . . . . . . . 8 (((𝑥𝐴𝜑) → 𝑥 = 𝑦) ↔ (𝑥𝐴 → (𝜑𝑥 = 𝑦)))
1514albii 1822 . . . . . . 7 (∀𝑥((𝑥𝐴𝜑) → 𝑥 = 𝑦) ↔ ∀𝑥(𝑥𝐴 → (𝜑𝑥 = 𝑦)))
1613, 15bitr4i 277 . . . . . 6 (∀𝑥𝐴 (𝜑𝑥 = 𝑦) ↔ ∀𝑥((𝑥𝐴𝜑) → 𝑥 = 𝑦))
1716exbii 1850 . . . . 5 (∃𝑦𝑥𝐴 (𝜑𝑥 = 𝑦) ↔ ∃𝑦𝑥((𝑥𝐴𝜑) → 𝑥 = 𝑦))
1812, 17anbi12i 627 . . . 4 ((∃𝑥𝐴 𝜑 ∧ ∃𝑦𝑥𝐴 (𝜑𝑥 = 𝑦)) ↔ (∃𝑥(𝑥𝐴𝜑) ∧ ∃𝑦𝑥((𝑥𝐴𝜑) → 𝑥 = 𝑦)))
1910, 11, 183bitr4i 303 . . 3 (∃!𝑥𝐴 𝜑 ↔ (∃𝑥𝐴 𝜑 ∧ ∃𝑦𝑥𝐴 (𝜑𝑥 = 𝑦)))
209, 19sylibr 233 . 2 ((∃𝑥𝐴 𝜑 ∧ ∃𝑦𝐴𝑥𝐴 (𝜑𝑥 = 𝑦)) → ∃!𝑥𝐴 𝜑)
217, 20impbii 208 1 (∃!𝑥𝐴 𝜑 ↔ (∃𝑥𝐴 𝜑 ∧ ∃𝑦𝐴𝑥𝐴 (𝜑𝑥 = 𝑦)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1537  wex 1782  wcel 2106  ∃!weu 2568  wral 3064  wrex 3065  ∃!wreu 3066
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-10 2137  ax-12 2171
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clel 2816  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072
This theorem is referenced by:  reu7  3667  2reu4lem  4456  reu3op  6195
  Copyright terms: Public domain W3C validator