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 35706
Description: Version of eu6 2575 with a context and a distinctor replacing a distinct variable condition. This version should be used only to eliminate disjoint variable 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 eu6 2575 . 2 (∃!𝑥𝜓 ↔ ∃𝑢𝑥(𝜓𝑥 = 𝑢))
2 wl-eudf.2 . . 3 𝑦𝜑
3 wl-eudf.1 . . . 4 𝑥𝜑
4 wl-eudf.4 . . . . 5 (𝜑 → Ⅎ𝑦𝜓)
5 wl-eudf.3 . . . . . 6 (𝜑 → ¬ ∀𝑥 𝑥 = 𝑦)
6 nfeqf1 2380 . . . . . . 7 (¬ ∀𝑦 𝑦 = 𝑥 → Ⅎ𝑦 𝑥 = 𝑢)
76naecoms 2430 . . . . . 6 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑦 𝑥 = 𝑢)
85, 7syl 17 . . . . 5 (𝜑 → Ⅎ𝑦 𝑥 = 𝑢)
94, 8nfbid 1908 . . . 4 (𝜑 → Ⅎ𝑦(𝜓𝑥 = 𝑢))
103, 9nfald 2325 . . 3 (𝜑 → Ⅎ𝑦𝑥(𝜓𝑥 = 𝑢))
11 nfnae 2435 . . . . . . 7 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
12 nfeqf2 2378 . . . . . . 7 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥 𝑢 = 𝑦)
1311, 12nfan1 2196 . . . . . 6 𝑥(¬ ∀𝑥 𝑥 = 𝑦𝑢 = 𝑦)
14 equequ2 2032 . . . . . . . 8 (𝑢 = 𝑦 → (𝑥 = 𝑢𝑥 = 𝑦))
1514bibi2d 342 . . . . . . 7 (𝑢 = 𝑦 → ((𝜓𝑥 = 𝑢) ↔ (𝜓𝑥 = 𝑦)))
1615adantl 481 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦𝑢 = 𝑦) → ((𝜓𝑥 = 𝑢) ↔ (𝜓𝑥 = 𝑦)))
1713, 16albid 2218 . . . . 5 ((¬ ∀𝑥 𝑥 = 𝑦𝑢 = 𝑦) → (∀𝑥(𝜓𝑥 = 𝑢) ↔ ∀𝑥(𝜓𝑥 = 𝑦)))
185, 17sylan 579 . . . 4 ((𝜑𝑢 = 𝑦) → (∀𝑥(𝜓𝑥 = 𝑢) ↔ ∀𝑥(𝜓𝑥 = 𝑦)))
1918ex 412 . . 3 (𝜑 → (𝑢 = 𝑦 → (∀𝑥(𝜓𝑥 = 𝑢) ↔ ∀𝑥(𝜓𝑥 = 𝑦))))
202, 10, 19cbvexd 2409 . 2 (𝜑 → (∃𝑢𝑥(𝜓𝑥 = 𝑢) ↔ ∃𝑦𝑥(𝜓𝑥 = 𝑦)))
211, 20syl5bb 282 1 (𝜑 → (∃!𝑥𝜓 ↔ ∃𝑦𝑥(𝜓𝑥 = 𝑦)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wal 1539  wex 1785  wnf 1789  ∃!weu 2569
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-10 2140  ax-11 2157  ax-12 2174  ax-13 2373
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1544  df-ex 1786  df-nf 1790  df-mo 2541  df-eu 2570
This theorem is referenced by:  wl-eutf  35707
  Copyright terms: Public domain W3C validator