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 34973
Description: Version of eu6 2634 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 2634 . 2 (∃!𝑥𝜓 ↔ ∃𝑢𝑥(𝜓𝑥 = 𝑢))
2 wl-eudf.2 . . 3 𝑦𝜑
3 wl-eudf.1 . . . 4 𝑥𝜑
4 wl-eudf.4 . . . . 5 (𝜑 → Ⅎ𝑦𝜓)
5 wl-eudf.3 . . . . . 6 (𝜑 → ¬ ∀𝑥 𝑥 = 𝑦)
6 nfeqf1 2386 . . . . . . 7 (¬ ∀𝑦 𝑦 = 𝑥 → Ⅎ𝑦 𝑥 = 𝑢)
76naecoms 2440 . . . . . 6 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑦 𝑥 = 𝑢)
85, 7syl 17 . . . . 5 (𝜑 → Ⅎ𝑦 𝑥 = 𝑢)
94, 8nfbid 1903 . . . 4 (𝜑 → Ⅎ𝑦(𝜓𝑥 = 𝑢))
103, 9nfald 2336 . . 3 (𝜑 → Ⅎ𝑦𝑥(𝜓𝑥 = 𝑢))
11 nfnae 2445 . . . . . . 7 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
12 nfeqf2 2384 . . . . . . 7 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥 𝑢 = 𝑦)
1311, 12nfan1 2198 . . . . . 6 𝑥(¬ ∀𝑥 𝑥 = 𝑦𝑢 = 𝑦)
14 equequ2 2033 . . . . . . . 8 (𝑢 = 𝑦 → (𝑥 = 𝑢𝑥 = 𝑦))
1514bibi2d 346 . . . . . . 7 (𝑢 = 𝑦 → ((𝜓𝑥 = 𝑢) ↔ (𝜓𝑥 = 𝑦)))
1615adantl 485 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦𝑢 = 𝑦) → ((𝜓𝑥 = 𝑢) ↔ (𝜓𝑥 = 𝑦)))
1713, 16albid 2222 . . . . 5 ((¬ ∀𝑥 𝑥 = 𝑦𝑢 = 𝑦) → (∀𝑥(𝜓𝑥 = 𝑢) ↔ ∀𝑥(𝜓𝑥 = 𝑦)))
185, 17sylan 583 . . . 4 ((𝜑𝑢 = 𝑦) → (∀𝑥(𝜓𝑥 = 𝑢) ↔ ∀𝑥(𝜓𝑥 = 𝑦)))
1918ex 416 . . 3 (𝜑 → (𝑢 = 𝑦 → (∀𝑥(𝜓𝑥 = 𝑢) ↔ ∀𝑥(𝜓𝑥 = 𝑦))))
202, 10, 19cbvexd 2418 . 2 (𝜑 → (∃𝑢𝑥(𝜓𝑥 = 𝑢) ↔ ∃𝑦𝑥(𝜓𝑥 = 𝑦)))
211, 20syl5bb 286 1 (𝜑 → (∃!𝑥𝜓 ↔ ∃𝑦𝑥(𝜓𝑥 = 𝑦)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wal 1536  wex 1781  wnf 1785  ∃!weu 2628
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-10 2142  ax-11 2158  ax-12 2175  ax-13 2379
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-tru 1541  df-ex 1782  df-nf 1786  df-mo 2598  df-eu 2629
This theorem is referenced by:  wl-eutf  34974
  Copyright terms: Public domain W3C validator