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

Theorem reusngf 4643
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 3769 . . 3 Ⅎ𝑥[𝑐 / 𝑥]𝜑
2 nfsbc1v 3769 . . 3 Ⅎ𝑥[𝑤 / 𝑥]𝜑
3 sbceq1a 3760 . . 3 (𝑥 = 𝑤 → (𝜑 ↔ [𝑤 / 𝑥]𝜑))
4 dfsbcq 3751 . . 3 (𝑤 = 𝑐 → ([𝑤 / 𝑥]𝜑 ↔ [𝑐 / 𝑥]𝜑))
51, 2, 3, 4reu8nf 3835 . 2 (∃!𝑥 ∈ {𝐴}𝜑 ↔ ∃𝑥 ∈ {𝐴} (𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝑥 = 𝑐)))
6 rexsngf.1 . . . . 5 Ⅎ𝑥𝜓
7 nfcv 2937 . . . . . 6 Ⅎ𝑥{𝐴}
8 nfv 1956 . . . . . . 7 Ⅎ𝑥 𝐴 = 𝑐
91, 8nfim 1937 . . . . . 6 Ⅎ𝑥([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐)
107, 9nfralw 3321 . . . . 5 Ⅎ𝑥∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐)
116, 10nfan 1940 . . . 4 Ⅎ𝑥(𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐))
12 rexsngf.2 . . . . 5 (𝑥 = 𝐴 → (𝜑 ↔ 𝜓))
13 eqeq1 2778 . . . . . . 7 (𝑥 = 𝐴 → (𝑥 = 𝑐 ↔ 𝐴 = 𝑐))
1413imbi2d 343 . . . . . 6 (𝑥 = 𝐴 → (([𝑐 / 𝑥]𝜑 → 𝑥 = 𝑐) ↔ ([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐)))
1514ralbidv 3200 . . . . 5 (𝑥 = 𝐴 → (∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝑥 = 𝑐) ↔ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐)))
1612, 15anbi12d 644 . . . 4 (𝑥 = 𝐴 → ((𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝑥 = 𝑐)) ↔ (𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐))))
1711, 16rexsngf 4641 . . 3 (𝐴 ∈ 𝑉 → (∃𝑥 ∈ {𝐴} (𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝑥 = 𝑐)) ↔ (𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐))))
18 nfv 1956 . . . . . 6 Ⅎ𝑐([𝐴 / 𝑥]𝜑 → 𝐴 = 𝐴)
19 dfsbcq 3751 . . . . . . 7 (𝑐 = 𝐴 → ([𝑐 / 𝑥]𝜑 ↔ [𝐴 / 𝑥]𝜑))
20 eqeq2 2786 . . . . . . 7 (𝑐 = 𝐴 → (𝐴 = 𝑐 ↔ 𝐴 = 𝐴))
2119, 20imbi12d 347 . . . . . 6 (𝑐 = 𝐴 → (([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐) ↔ ([𝐴 / 𝑥]𝜑 → 𝐴 = 𝐴)))
2218, 21ralsngf 4642 . . . . 5 (𝐴 ∈ 𝑉 → (∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐) ↔ ([𝐴 / 𝑥]𝜑 → 𝐴 = 𝐴)))
2322anbi2d 642 . . . 4 (𝐴 ∈ 𝑉 → ((𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑 → 𝐴 = 𝑐)) ↔ (𝜓 ∧ ([𝐴 / 𝑥]𝜑 → 𝐴 = 𝐴))))
24 eqidd 2775 . . . . 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 1572  Ⅎwnf 1822   ∈ wcel 2156  ∀wral 3091  ∃wrex 3101  ∃!wreu 3374  [wsbc 3749  {csn 4595
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-v 3463  df-sbc 3750  df-sn 4596
This theorem is used by:  reusng  4646  rmosn  4689
  Copyright terms: Public domain W3C validator