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

Theorem euind 3663
 Description: Existential uniqueness via an indirect equality. (Contributed by NM, 11-Oct-2010.)
Hypotheses
Ref Expression
euind.1 𝐵 ∈ V
euind.2 (𝑥 = 𝑦 → (𝜑𝜓))
Assertion
Ref Expression
euind ((∀𝑥𝑦((𝜑𝜓) → 𝐴 = 𝐵) ∧ ∃𝑥𝜑) → ∃!𝑧𝑥(𝜑𝑧 = 𝐴))
Distinct variable groups:   𝑦,𝑧,𝜑   𝑥,𝑧,𝜓   𝑦,𝐴,𝑧   𝑥,𝐵,𝑧   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)   𝐴(𝑥)   𝐵(𝑦)

Proof of Theorem euind
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 euind.2 . . . . . 6 (𝑥 = 𝑦 → (𝜑𝜓))
21cbvexvw 2044 . . . . 5 (∃𝑥𝜑 ↔ ∃𝑦𝜓)
3 euind.1 . . . . . . . . 9 𝐵 ∈ V
43isseti 3455 . . . . . . . 8 𝑧 𝑧 = 𝐵
54biantrur 534 . . . . . . 7 (𝜓 ↔ (∃𝑧 𝑧 = 𝐵𝜓))
65exbii 1849 . . . . . 6 (∃𝑦𝜓 ↔ ∃𝑦(∃𝑧 𝑧 = 𝐵𝜓))
7 19.41v 1950 . . . . . . 7 (∃𝑧(𝑧 = 𝐵𝜓) ↔ (∃𝑧 𝑧 = 𝐵𝜓))
87exbii 1849 . . . . . 6 (∃𝑦𝑧(𝑧 = 𝐵𝜓) ↔ ∃𝑦(∃𝑧 𝑧 = 𝐵𝜓))
9 excom 2166 . . . . . 6 (∃𝑦𝑧(𝑧 = 𝐵𝜓) ↔ ∃𝑧𝑦(𝑧 = 𝐵𝜓))
106, 8, 93bitr2i 302 . . . . 5 (∃𝑦𝜓 ↔ ∃𝑧𝑦(𝑧 = 𝐵𝜓))
112, 10bitri 278 . . . 4 (∃𝑥𝜑 ↔ ∃𝑧𝑦(𝑧 = 𝐵𝜓))
12 eqeq2 2810 . . . . . . . . 9 (𝐴 = 𝐵 → (𝑧 = 𝐴𝑧 = 𝐵))
1312imim2i 16 . . . . . . . 8 (((𝜑𝜓) → 𝐴 = 𝐵) → ((𝜑𝜓) → (𝑧 = 𝐴𝑧 = 𝐵)))
14 biimpr 223 . . . . . . . . . 10 ((𝑧 = 𝐴𝑧 = 𝐵) → (𝑧 = 𝐵𝑧 = 𝐴))
1514imim2i 16 . . . . . . . . 9 (((𝜑𝜓) → (𝑧 = 𝐴𝑧 = 𝐵)) → ((𝜑𝜓) → (𝑧 = 𝐵𝑧 = 𝐴)))
16 an31 647 . . . . . . . . . . 11 (((𝜑𝜓) ∧ 𝑧 = 𝐵) ↔ ((𝑧 = 𝐵𝜓) ∧ 𝜑))
1716imbi1i 353 . . . . . . . . . 10 ((((𝜑𝜓) ∧ 𝑧 = 𝐵) → 𝑧 = 𝐴) ↔ (((𝑧 = 𝐵𝜓) ∧ 𝜑) → 𝑧 = 𝐴))
18 impexp 454 . . . . . . . . . 10 ((((𝜑𝜓) ∧ 𝑧 = 𝐵) → 𝑧 = 𝐴) ↔ ((𝜑𝜓) → (𝑧 = 𝐵𝑧 = 𝐴)))
19 impexp 454 . . . . . . . . . 10 ((((𝑧 = 𝐵𝜓) ∧ 𝜑) → 𝑧 = 𝐴) ↔ ((𝑧 = 𝐵𝜓) → (𝜑𝑧 = 𝐴)))
2017, 18, 193bitr3i 304 . . . . . . . . 9 (((𝜑𝜓) → (𝑧 = 𝐵𝑧 = 𝐴)) ↔ ((𝑧 = 𝐵𝜓) → (𝜑𝑧 = 𝐴)))
2115, 20sylib 221 . . . . . . . 8 (((𝜑𝜓) → (𝑧 = 𝐴𝑧 = 𝐵)) → ((𝑧 = 𝐵𝜓) → (𝜑𝑧 = 𝐴)))
2213, 21syl 17 . . . . . . 7 (((𝜑𝜓) → 𝐴 = 𝐵) → ((𝑧 = 𝐵𝜓) → (𝜑𝑧 = 𝐴)))
23222alimi 1814 . . . . . 6 (∀𝑥𝑦((𝜑𝜓) → 𝐴 = 𝐵) → ∀𝑥𝑦((𝑧 = 𝐵𝜓) → (𝜑𝑧 = 𝐴)))
24 19.23v 1943 . . . . . . . 8 (∀𝑦((𝑧 = 𝐵𝜓) → (𝜑𝑧 = 𝐴)) ↔ (∃𝑦(𝑧 = 𝐵𝜓) → (𝜑𝑧 = 𝐴)))
2524albii 1821 . . . . . . 7 (∀𝑥𝑦((𝑧 = 𝐵𝜓) → (𝜑𝑧 = 𝐴)) ↔ ∀𝑥(∃𝑦(𝑧 = 𝐵𝜓) → (𝜑𝑧 = 𝐴)))
26 19.21v 1940 . . . . . . 7 (∀𝑥(∃𝑦(𝑧 = 𝐵𝜓) → (𝜑𝑧 = 𝐴)) ↔ (∃𝑦(𝑧 = 𝐵𝜓) → ∀𝑥(𝜑𝑧 = 𝐴)))
2725, 26bitri 278 . . . . . 6 (∀𝑥𝑦((𝑧 = 𝐵𝜓) → (𝜑𝑧 = 𝐴)) ↔ (∃𝑦(𝑧 = 𝐵𝜓) → ∀𝑥(𝜑𝑧 = 𝐴)))
2823, 27sylib 221 . . . . 5 (∀𝑥𝑦((𝜑𝜓) → 𝐴 = 𝐵) → (∃𝑦(𝑧 = 𝐵𝜓) → ∀𝑥(𝜑𝑧 = 𝐴)))
2928eximdv 1918 . . . 4 (∀𝑥𝑦((𝜑𝜓) → 𝐴 = 𝐵) → (∃𝑧𝑦(𝑧 = 𝐵𝜓) → ∃𝑧𝑥(𝜑𝑧 = 𝐴)))
3011, 29syl5bi 245 . . 3 (∀𝑥𝑦((𝜑𝜓) → 𝐴 = 𝐵) → (∃𝑥𝜑 → ∃𝑧𝑥(𝜑𝑧 = 𝐴)))
3130imp 410 . 2 ((∀𝑥𝑦((𝜑𝜓) → 𝐴 = 𝐵) ∧ ∃𝑥𝜑) → ∃𝑧𝑥(𝜑𝑧 = 𝐴))
32 pm4.24 567 . . . . . . . . 9 (𝜑 ↔ (𝜑𝜑))
3332biimpi 219 . . . . . . . 8 (𝜑 → (𝜑𝜑))
34 anim12 808 . . . . . . . 8 (((𝜑𝑧 = 𝐴) ∧ (𝜑𝑤 = 𝐴)) → ((𝜑𝜑) → (𝑧 = 𝐴𝑤 = 𝐴)))
35 eqtr3 2820 . . . . . . . 8 ((𝑧 = 𝐴𝑤 = 𝐴) → 𝑧 = 𝑤)
3633, 34, 35syl56 36 . . . . . . 7 (((𝜑𝑧 = 𝐴) ∧ (𝜑𝑤 = 𝐴)) → (𝜑𝑧 = 𝑤))
3736alanimi 1818 . . . . . 6 ((∀𝑥(𝜑𝑧 = 𝐴) ∧ ∀𝑥(𝜑𝑤 = 𝐴)) → ∀𝑥(𝜑𝑧 = 𝑤))
38 19.23v 1943 . . . . . 6 (∀𝑥(𝜑𝑧 = 𝑤) ↔ (∃𝑥𝜑𝑧 = 𝑤))
3937, 38sylib 221 . . . . 5 ((∀𝑥(𝜑𝑧 = 𝐴) ∧ ∀𝑥(𝜑𝑤 = 𝐴)) → (∃𝑥𝜑𝑧 = 𝑤))
4039com12 32 . . . 4 (∃𝑥𝜑 → ((∀𝑥(𝜑𝑧 = 𝐴) ∧ ∀𝑥(𝜑𝑤 = 𝐴)) → 𝑧 = 𝑤))
4140alrimivv 1929 . . 3 (∃𝑥𝜑 → ∀𝑧𝑤((∀𝑥(𝜑𝑧 = 𝐴) ∧ ∀𝑥(𝜑𝑤 = 𝐴)) → 𝑧 = 𝑤))
4241adantl 485 . 2 ((∀𝑥𝑦((𝜑𝜓) → 𝐴 = 𝐵) ∧ ∃𝑥𝜑) → ∀𝑧𝑤((∀𝑥(𝜑𝑧 = 𝐴) ∧ ∀𝑥(𝜑𝑤 = 𝐴)) → 𝑧 = 𝑤))
43 eqeq1 2802 . . . . 5 (𝑧 = 𝑤 → (𝑧 = 𝐴𝑤 = 𝐴))
4443imbi2d 344 . . . 4 (𝑧 = 𝑤 → ((𝜑𝑧 = 𝐴) ↔ (𝜑𝑤 = 𝐴)))
4544albidv 1921 . . 3 (𝑧 = 𝑤 → (∀𝑥(𝜑𝑧 = 𝐴) ↔ ∀𝑥(𝜑𝑤 = 𝐴)))
4645eu4 2676 . 2 (∃!𝑧𝑥(𝜑𝑧 = 𝐴) ↔ (∃𝑧𝑥(𝜑𝑧 = 𝐴) ∧ ∀𝑧𝑤((∀𝑥(𝜑𝑧 = 𝐴) ∧ ∀𝑥(𝜑𝑤 = 𝐴)) → 𝑧 = 𝑤)))
4731, 42, 46sylanbrc 586 1 ((∀𝑥𝑦((𝜑𝜓) → 𝐴 = 𝐵) ∧ ∃𝑥𝜑) → ∃!𝑧𝑥(𝜑𝑧 = 𝐴))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 209   ∧ wa 399  ∀wal 1536   = wceq 1538  ∃wex 1781   ∈ wcel 2111  ∃!weu 2628  Vcvv 3441 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-11 2158  ax-ext 2770 This theorem depends on definitions:  df-bi 210  df-an 400  df-ex 1782  df-mo 2598  df-eu 2629  df-cleq 2791  df-clel 2870 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator