Users' Mathboxes Mathbox for Wolf Lammen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  wl-eudf Structured version   Visualization version   GIF version

Theorem wl-eudf 32533
Description: Version of df-eu 2462 with a context and a distinctor replacing a distinct variable condition. This version should be used only to eliminate dv conditions. (Contributed by Wolf Lammen, 23-Sep-2020.)
Hypotheses
Ref Expression
wl-eudf.1 𝑥𝜑
wl-eudf.2 𝑦𝜑
wl-eudf.3 (𝜑 → ¬ ∀𝑥 𝑥 = 𝑦)
wl-eudf.4 (𝜑 → Ⅎ𝑦𝜓)
Assertion
Ref Expression
wl-eudf (𝜑 → (∃!𝑥𝜓 ↔ ∃𝑦𝑥(𝜓𝑥 = 𝑦)))

Proof of Theorem wl-eudf
Dummy variable 𝑢 is distinct from all other variables.
StepHypRef Expression
1 df-eu 2462 . 2 (∃!𝑥𝜓 ↔ ∃𝑢𝑥(𝜓𝑥 = 𝑢))
2 wl-eudf.2 . . 3 𝑦𝜑
3 wl-eudf.1 . . . 4 𝑥𝜑
4 wl-eudf.4 . . . . 5 (𝜑 → Ⅎ𝑦𝜓)
5 wl-eudf.3 . . . . . 6 (𝜑 → ¬ ∀𝑥 𝑥 = 𝑦)
6 nfeqf1 2287 . . . . . . 7 (¬ ∀𝑦 𝑦 = 𝑥 → Ⅎ𝑦 𝑥 = 𝑢)
76naecoms 2301 . . . . . 6 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑦 𝑥 = 𝑢)
85, 7syl 17 . . . . 5 (𝜑 → Ⅎ𝑦 𝑥 = 𝑢)
94, 8nfbid 1820 . . . 4 (𝜑 → Ⅎ𝑦(𝜓𝑥 = 𝑢))
103, 9nfald 2151 . . 3 (𝜑 → Ⅎ𝑦𝑥(𝜓𝑥 = 𝑢))
11 nfnae 2306 . . . . . . 7 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
12 nfeqf2 2285 . . . . . . 7 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥 𝑢 = 𝑦)
1311, 12nfan1 2056 . . . . . 6 𝑥(¬ ∀𝑥 𝑥 = 𝑦𝑢 = 𝑦)
14 equequ2 1940 . . . . . . . 8 (𝑢 = 𝑦 → (𝑥 = 𝑢𝑥 = 𝑦))
1514bibi2d 331 . . . . . . 7 (𝑢 = 𝑦 → ((𝜓𝑥 = 𝑢) ↔ (𝜓𝑥 = 𝑦)))
1615adantl 481 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦𝑢 = 𝑦) → ((𝜓𝑥 = 𝑢) ↔ (𝜓𝑥 = 𝑦)))
1713, 16albid 2077 . . . . 5 ((¬ ∀𝑥 𝑥 = 𝑦𝑢 = 𝑦) → (∀𝑥(𝜓𝑥 = 𝑢) ↔ ∀𝑥(𝜓𝑥 = 𝑦)))
185, 17sylan 487 . . . 4 ((𝜑𝑢 = 𝑦) → (∀𝑥(𝜓𝑥 = 𝑢) ↔ ∀𝑥(𝜓𝑥 = 𝑦)))
1918ex 449 . . 3 (𝜑 → (𝑢 = 𝑦 → (∀𝑥(𝜓𝑥 = 𝑢) ↔ ∀𝑥(𝜓𝑥 = 𝑦))))
202, 10, 19cbvexd 2266 . 2 (𝜑 → (∃𝑢𝑥(𝜓𝑥 = 𝑢) ↔ ∃𝑦𝑥(𝜓𝑥 = 𝑦)))
211, 20syl5bb 271 1 (𝜑 → (∃!𝑥𝜓 ↔ ∃𝑦𝑥(𝜓𝑥 = 𝑦)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wa 383  wal 1473  wex 1695  wnf 1699  ∃!weu 2458
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
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-eu 2462
This theorem is referenced by:  wl-eutf  32534
  Copyright terms: Public domain W3C validator