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

Theorem nfeud2 2482
Description: Bound-variable hypothesis builder for uniqueness. (Contributed by Mario Carneiro, 14-Nov-2016.) (Proof shortened by Wolf Lammen, 4-Oct-2018.)
Hypotheses
Ref Expression
nfeud2.1 𝑦𝜑
nfeud2.2 ((𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦) → Ⅎ𝑥𝜓)
Assertion
Ref Expression
nfeud2 (𝜑 → Ⅎ𝑥∃!𝑦𝜓)

Proof of Theorem nfeud2
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 df-eu 2474 . 2 (∃!𝑦𝜓 ↔ ∃𝑧𝑦(𝜓𝑦 = 𝑧))
2 nfv 1843 . . 3 𝑧𝜑
3 nfeud2.1 . . . 4 𝑦𝜑
4 nfeud2.2 . . . . 5 ((𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦) → Ⅎ𝑥𝜓)
5 nfeqf1 2299 . . . . . 6 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥 𝑦 = 𝑧)
65adantl 482 . . . . 5 ((𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦) → Ⅎ𝑥 𝑦 = 𝑧)
74, 6nfbid 1832 . . . 4 ((𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦) → Ⅎ𝑥(𝜓𝑦 = 𝑧))
83, 7nfald2 2331 . . 3 (𝜑 → Ⅎ𝑥𝑦(𝜓𝑦 = 𝑧))
92, 8nfexd 2167 . 2 (𝜑 → Ⅎ𝑥𝑧𝑦(𝜓𝑦 = 𝑧))
101, 9nfxfrd 1780 1 (𝜑 → Ⅎ𝑥∃!𝑦𝜓)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 384  wal 1481  wex 1704  wnf 1708  ∃!weu 2470
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-10 2019  ax-11 2034  ax-12 2047  ax-13 2246
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1486  df-ex 1705  df-nf 1710  df-eu 2474
This theorem is referenced by:  nfmod2  2483  nfeud  2484  nfreud  3112
  Copyright terms: Public domain W3C validator