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

Theorem eu1 2635
Description: An alternate way to express uniqueness used by some authors. Exercise 2(b) of [Margaris] p. 110. (Contributed by NM, 20-Aug-1993.) (Revised by Mario Carneiro, 7-Oct-2016.) (Proof shortened by Wolf Lammen, 29-Oct-2018.) Avoid ax-13 2401. (Revised by Wolf Lammen, 7-Feb-2023.)
Hypothesis
Ref Expression
eu1.nf Ⅎ𝑦𝜑
Assertion
Ref Expression
eu1 (∃!𝑥𝜑 ↔ ∃𝑥(𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → 𝑥 = 𝑦)))
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥, 𝑦)

Proof of Theorem eu1
StepHypRef Expression
1 nfs1v 2192 . . 3 Ⅎ𝑥[𝑦 / 𝑥]𝜑
21euf 2601 . 2 (∃!𝑦[𝑦 / 𝑥]𝜑 ↔ ∃𝑥∀𝑦([𝑦 / 𝑥]𝜑 ↔ 𝑦 = 𝑥))
3 eu1.nf . . 3 Ⅎ𝑦𝜑
43sb8euv 2624 . 2 (∃!𝑥𝜑 ↔ ∃!𝑦[𝑦 / 𝑥]𝜑)
53sb6rfv 2386 . . . . 5 (𝜑 ↔ ∀𝑦(𝑦 = 𝑥 → [𝑦 / 𝑥]𝜑))
6 equcom 2050 . . . . . . 7 (𝑥 = 𝑦 ↔ 𝑦 = 𝑥)
76imbi2i 339 . . . . . 6 (([𝑦 / 𝑥]𝜑 → 𝑥 = 𝑦) ↔ ([𝑦 / 𝑥]𝜑 → 𝑦 = 𝑥))
87albii 1851 . . . . 5 (∀𝑦([𝑦 / 𝑥]𝜑 → 𝑥 = 𝑦) ↔ ∀𝑦([𝑦 / 𝑥]𝜑 → 𝑦 = 𝑥))
95, 8anbi12ci 641 . . . 4 ((𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → 𝑥 = 𝑦)) ↔ (∀𝑦([𝑦 / 𝑥]𝜑 → 𝑦 = 𝑥) ∧ ∀𝑦(𝑦 = 𝑥 → [𝑦 / 𝑥]𝜑)))
10 albiim 1921 . . . 4 (∀𝑦([𝑦 / 𝑥]𝜑 ↔ 𝑦 = 𝑥) ↔ (∀𝑦([𝑦 / 𝑥]𝜑 → 𝑦 = 𝑥) ∧ ∀𝑦(𝑦 = 𝑥 → [𝑦 / 𝑥]𝜑)))
119, 10bitr4i 281 . . 3 ((𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → 𝑥 = 𝑦)) ↔ ∀𝑦([𝑦 / 𝑥]𝜑 ↔ 𝑦 = 𝑥))
1211exbii 1880 . 2 (∃𝑥(𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → 𝑥 = 𝑦)) ↔ ∃𝑥∀𝑦([𝑦 / 𝑥]𝜑 ↔ 𝑦 = 𝑥))
132, 4, 123bitr4i 306 1 (∃!𝑥𝜑 ↔ ∃𝑥(𝜑 ∧ ∀𝑦([𝑦 / 𝑥]𝜑 → 𝑥 = 𝑦)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1567  ∃wex 1811  Ⅎwnf 1815  [wsb 2098  ∃!weu 2593
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-10 2177  ax-11 2193  ax-12 2212
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594
This theorem is used by:  kmlem15  10250
  Copyright terms: Public domain W3C validator