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

Theorem reusngf 4635
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 3759 . . 3 Ⅎ𝑥[𝑐 / 𝑥]𝜑
2 nfsbc1v 3759 . . 3 Ⅎ𝑥[𝑤 / 𝑥]𝜑
3 sbceq1a 3750 . . 3 (𝑥 = 𝑤 → (𝜑 ↔ [𝑤 / 𝑥]𝜑))
4 dfsbcq 3741 . . 3 (𝑤 = 𝑐 → ([𝑤 / 𝑥]𝜑 ↔ [𝑐 / 𝑥]𝜑))
51, 2, 3, 4reu8nf 3824 . 2 (∃!𝑥 ∈ {𝐴}𝜑 ↔ ∃𝑥 ∈ {𝐴} (𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝑥 = 𝑐)))
6 rexsngf.1 . . . . 5 Ⅎ𝑥𝜓
7 nfcv 2923 . . . . . 6 Ⅎ𝑥{𝐴}
8 nfv 1947 . . . . . . 7 Ⅎ𝑥 𝐴 = 𝑐
91, 8nfim 1929 . . . . . 6 Ⅎ𝑥([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐)
107, 9nfralw 3310 . . . . 5 Ⅎ𝑥∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐)
116, 10nfan 1932 . . . 4 Ⅎ𝑥(𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐))
12 rexsngf.2 . . . . 5 (𝑥 = 𝐴 → (𝜑 ↔ 𝜓))
13 eqeq1 2765 . . . . . . 7 (𝑥 = 𝐴 → (𝑥 = 𝑐 ↔ 𝐴 = 𝑐))
1413imbi2d 343 . . . . . 6 (𝑥 = 𝐴 → (([𝑐 / 𝑥]𝜑 → 𝑥 = 𝑐) ↔ ([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐)))
1514ralbidv 3186 . . . . 5 (𝑥 = 𝐴 → (∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝑥 = 𝑐) ↔ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐)))
1612, 15anbi12d 644 . . . 4 (𝑥 = 𝐴 → ((𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝑥 = 𝑐)) ↔ (𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐))))
1711, 16rexsngf 4633 . . 3 (𝐴 ∈ 𝑉 → (∃𝑥 ∈ {𝐴} (𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝑥 = 𝑐)) ↔ (𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐))))
18 nfv 1947 . . . . . 6 Ⅎ𝑐([𝐴 / 𝑥]𝜑 → 𝐴 = 𝐴)
19 dfsbcq 3741 . . . . . . 7 (𝑐 = 𝐴 → ([𝑐 / 𝑥]𝜑 ↔ [𝐴 / 𝑥]𝜑))
20 eqeq2 2773 . . . . . . 7 (𝑐 = 𝐴 → (𝐴 = 𝑐 ↔ 𝐴 = 𝐴))
2119, 20imbi12d 347 . . . . . 6 (𝑐 = 𝐴 → (([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐) ↔ ([𝐴 / 𝑥]𝜑 → 𝐴 = 𝐴)))
2218, 21ralsngf 4634 . . . . 5 (𝐴 ∈ 𝑉 → (∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐) ↔ ([𝐴 / 𝑥]𝜑 → 𝐴 = 𝐴)))
2322anbi2d 642 . . . 4 (𝐴 ∈ 𝑉 → ((𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐)) ↔ (𝜓 ∧ ([𝐴 / 𝑥]𝜑 → 𝐴 = 𝐴))))
24 eqidd 2762 . . . . 5 ([𝐴 / 𝑥]𝜑 → 𝐴 = 𝐴)
2524biantru 539 . . . 4 (𝜓 ↔ (𝜓 ∧ ([𝐴 / 𝑥]𝜑 → 𝐴 = 𝐴)))
2623, 25bitr4di 292 . . 3 (𝐴 ∈ 𝑉 → ((𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐)) ↔ 𝜓))
2717, 26bitrd 282 . 2 (𝐴 ∈ 𝑉 → (∃𝑥 ∈ {𝐴} (𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝑥 = 𝑐)) ↔ 𝜓))
285, 27bitrid 286 1 (𝐴 ∈ 𝑉 → (∃!𝑥 ∈ {𝐴}𝜑 ↔ 𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  Ⅎwnf 1816   ∈ wcel 2145  ∀wral 3077  ∃wrex 3087  ∃!wreu 3364  [wsbc 3739  {csn 4584
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-v 3453  df-sbc 3740  df-sn 4585
This theorem is used by:  reusng  4638  rmosn  4680
  Copyright terms: Public domain W3C validator