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

Theorem reusngf 4574
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 3703 . . 3 𝑥[𝑐 / 𝑥]𝜑
2 nfsbc1v 3703 . . 3 𝑥[𝑤 / 𝑥]𝜑
3 sbceq1a 3694 . . 3 (𝑥 = 𝑤 → (𝜑[𝑤 / 𝑥]𝜑))
4 dfsbcq 3685 . . 3 (𝑤 = 𝑐 → ([𝑤 / 𝑥]𝜑[𝑐 / 𝑥]𝜑))
51, 2, 3, 4reu8nf 3776 . 2 (∃!𝑥 ∈ {𝐴}𝜑 ↔ ∃𝑥 ∈ {𝐴} (𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝑥 = 𝑐)))
6 rexsngf.1 . . . . 5 𝑥𝜓
7 nfcv 2897 . . . . . 6 𝑥{𝐴}
8 nfv 1922 . . . . . . 7 𝑥 𝐴 = 𝑐
91, 8nfim 1904 . . . . . 6 𝑥([𝑐 / 𝑥]𝜑𝐴 = 𝑐)
107, 9nfralw 3137 . . . . 5 𝑥𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐)
116, 10nfan 1907 . . . 4 𝑥(𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐))
12 rexsngf.2 . . . . 5 (𝑥 = 𝐴 → (𝜑𝜓))
13 eqeq1 2740 . . . . . . 7 (𝑥 = 𝐴 → (𝑥 = 𝑐𝐴 = 𝑐))
1413imbi2d 344 . . . . . 6 (𝑥 = 𝐴 → (([𝑐 / 𝑥]𝜑𝑥 = 𝑐) ↔ ([𝑐 / 𝑥]𝜑𝐴 = 𝑐)))
1514ralbidv 3108 . . . . 5 (𝑥 = 𝐴 → (∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝑥 = 𝑐) ↔ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐)))
1612, 15anbi12d 634 . . . 4 (𝑥 = 𝐴 → ((𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝑥 = 𝑐)) ↔ (𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐))))
1711, 16rexsngf 4572 . . 3 (𝐴𝑉 → (∃𝑥 ∈ {𝐴} (𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝑥 = 𝑐)) ↔ (𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐))))
18 nfv 1922 . . . . . 6 𝑐([𝐴 / 𝑥]𝜑𝐴 = 𝐴)
19 dfsbcq 3685 . . . . . . 7 (𝑐 = 𝐴 → ([𝑐 / 𝑥]𝜑[𝐴 / 𝑥]𝜑))
20 eqeq2 2748 . . . . . . 7 (𝑐 = 𝐴 → (𝐴 = 𝑐𝐴 = 𝐴))
2119, 20imbi12d 348 . . . . . 6 (𝑐 = 𝐴 → (([𝑐 / 𝑥]𝜑𝐴 = 𝑐) ↔ ([𝐴 / 𝑥]𝜑𝐴 = 𝐴)))
2218, 21ralsngf 4573 . . . . 5 (𝐴𝑉 → (∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐) ↔ ([𝐴 / 𝑥]𝜑𝐴 = 𝐴)))
2322anbi2d 632 . . . 4 (𝐴𝑉 → ((𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐)) ↔ (𝜓 ∧ ([𝐴 / 𝑥]𝜑𝐴 = 𝐴))))
24 eqidd 2737 . . . . 5 ([𝐴 / 𝑥]𝜑𝐴 = 𝐴)
2524biantru 533 . . . 4 (𝜓 ↔ (𝜓 ∧ ([𝐴 / 𝑥]𝜑𝐴 = 𝐴)))
2623, 25bitr4di 292 . . 3 (𝐴𝑉 → ((𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐)) ↔ 𝜓))
2717, 26bitrd 282 . 2 (𝐴𝑉 → (∃𝑥 ∈ {𝐴} (𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝑥 = 𝑐)) ↔ 𝜓))
285, 27syl5bb 286 1 (𝐴𝑉 → (∃!𝑥 ∈ {𝐴}𝜑𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1543  wnf 1791  wcel 2112  wral 3051  wrex 3052  ∃!wreu 3053  [wsbc 3683  {csn 4527
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ral 3056  df-rex 3057  df-reu 3058  df-v 3400  df-sbc 3684  df-sn 4528
This theorem is referenced by:  reusng  4577  rmosn  4621
  Copyright terms: Public domain W3C validator