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

Theorem reusngf 4604
Description: Restricted existential uniqueness over a singleton. (Contributed by AV, 3-Apr-2023.)
Hypotheses
Ref Expression
rexsngf.1 𝑥𝜓
rexsngf.2 (𝑥 = 𝐴 → (𝜑𝜓))
Assertion
Ref Expression
reusngf (𝐴𝑉 → (∃!𝑥 ∈ {𝐴}𝜑𝜓))
Distinct variable group:   𝑥,𝐴
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑥)   𝑉(𝑥)

Proof of Theorem reusngf
Dummy variables 𝑤 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfsbc1v 3790 . . 3 𝑥[𝑐 / 𝑥]𝜑
2 nfsbc1v 3790 . . 3 𝑥[𝑤 / 𝑥]𝜑
3 sbceq1a 3781 . . 3 (𝑥 = 𝑤 → (𝜑[𝑤 / 𝑥]𝜑))
4 dfsbcq 3772 . . 3 (𝑤 = 𝑐 → ([𝑤 / 𝑥]𝜑[𝑐 / 𝑥]𝜑))
51, 2, 3, 4reu8nf 3858 . 2 (∃!𝑥 ∈ {𝐴}𝜑 ↔ ∃𝑥 ∈ {𝐴} (𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝑥 = 𝑐)))
6 rexsngf.1 . . . . 5 𝑥𝜓
7 nfcv 2975 . . . . . 6 𝑥{𝐴}
8 nfv 1909 . . . . . . 7 𝑥 𝐴 = 𝑐
91, 8nfim 1891 . . . . . 6 𝑥([𝑐 / 𝑥]𝜑𝐴 = 𝑐)
107, 9nfralw 3223 . . . . 5 𝑥𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐)
116, 10nfan 1894 . . . 4 𝑥(𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐))
12 rexsngf.2 . . . . 5 (𝑥 = 𝐴 → (𝜑𝜓))
13 eqeq1 2823 . . . . . . 7 (𝑥 = 𝐴 → (𝑥 = 𝑐𝐴 = 𝑐))
1413imbi2d 343 . . . . . 6 (𝑥 = 𝐴 → (([𝑐 / 𝑥]𝜑𝑥 = 𝑐) ↔ ([𝑐 / 𝑥]𝜑𝐴 = 𝑐)))
1514ralbidv 3195 . . . . 5 (𝑥 = 𝐴 → (∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝑥 = 𝑐) ↔ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐)))
1612, 15anbi12d 632 . . . 4 (𝑥 = 𝐴 → ((𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝑥 = 𝑐)) ↔ (𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐))))
1711, 16rexsngf 4602 . . 3 (𝐴𝑉 → (∃𝑥 ∈ {𝐴} (𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝑥 = 𝑐)) ↔ (𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐))))
18 nfv 1909 . . . . . 6 𝑐([𝐴 / 𝑥]𝜑𝐴 = 𝐴)
19 dfsbcq 3772 . . . . . . 7 (𝑐 = 𝐴 → ([𝑐 / 𝑥]𝜑[𝐴 / 𝑥]𝜑))
20 eqeq2 2831 . . . . . . 7 (𝑐 = 𝐴 → (𝐴 = 𝑐𝐴 = 𝐴))
2119, 20imbi12d 347 . . . . . 6 (𝑐 = 𝐴 → (([𝑐 / 𝑥]𝜑𝐴 = 𝑐) ↔ ([𝐴 / 𝑥]𝜑𝐴 = 𝐴)))
2218, 21ralsngf 4603 . . . . 5 (𝐴𝑉 → (∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐) ↔ ([𝐴 / 𝑥]𝜑𝐴 = 𝐴)))
2322anbi2d 630 . . . 4 (𝐴𝑉 → ((𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐)) ↔ (𝜓 ∧ ([𝐴 / 𝑥]𝜑𝐴 = 𝐴))))
24 eqidd 2820 . . . . 5 ([𝐴 / 𝑥]𝜑𝐴 = 𝐴)
2524biantru 532 . . . 4 (𝜓 ↔ (𝜓 ∧ ([𝐴 / 𝑥]𝜑𝐴 = 𝐴)))
2623, 25syl6bbr 291 . . 3 (𝐴𝑉 → ((𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐)) ↔ 𝜓))
2717, 26bitrd 281 . 2 (𝐴𝑉 → (∃𝑥 ∈ {𝐴} (𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝑥 = 𝑐)) ↔ 𝜓))
285, 27syl5bb 285 1 (𝐴𝑉 → (∃!𝑥 ∈ {𝐴}𝜑𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1531  wnf 1778  wcel 2108  wral 3136  wrex 3137  ∃!wreu 3138  [wsbc 3770  {csn 4559
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-mo 2616  df-eu 2648  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ral 3141  df-rex 3142  df-reu 3143  df-v 3495  df-sbc 3771  df-sn 4560
This theorem is referenced by:  reusng  4607  rmosn  4647
  Copyright terms: Public domain W3C validator