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

Theorem reusngf 4612
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 3792 . . 3 𝑥[𝑐 / 𝑥]𝜑
2 nfsbc1v 3792 . . 3 𝑥[𝑤 / 𝑥]𝜑
3 sbceq1a 3783 . . 3 (𝑥 = 𝑤 → (𝜑[𝑤 / 𝑥]𝜑))
4 dfsbcq 3774 . . 3 (𝑤 = 𝑐 → ([𝑤 / 𝑥]𝜑[𝑐 / 𝑥]𝜑))
51, 2, 3, 4reu8nf 3860 . 2 (∃!𝑥 ∈ {𝐴}𝜑 ↔ ∃𝑥 ∈ {𝐴} (𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝑥 = 𝑐)))
6 rexsngf.1 . . . . 5 𝑥𝜓
7 nfcv 2977 . . . . . 6 𝑥{𝐴}
8 nfv 1915 . . . . . . 7 𝑥 𝐴 = 𝑐
91, 8nfim 1897 . . . . . 6 𝑥([𝑐 / 𝑥]𝜑𝐴 = 𝑐)
107, 9nfralw 3225 . . . . 5 𝑥𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐)
116, 10nfan 1900 . . . 4 𝑥(𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐))
12 rexsngf.2 . . . . 5 (𝑥 = 𝐴 → (𝜑𝜓))
13 eqeq1 2825 . . . . . . 7 (𝑥 = 𝐴 → (𝑥 = 𝑐𝐴 = 𝑐))
1413imbi2d 343 . . . . . 6 (𝑥 = 𝐴 → (([𝑐 / 𝑥]𝜑𝑥 = 𝑐) ↔ ([𝑐 / 𝑥]𝜑𝐴 = 𝑐)))
1514ralbidv 3197 . . . . 5 (𝑥 = 𝐴 → (∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝑥 = 𝑐) ↔ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐)))
1612, 15anbi12d 632 . . . 4 (𝑥 = 𝐴 → ((𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝑥 = 𝑐)) ↔ (𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐))))
1711, 16rexsngf 4610 . . 3 (𝐴𝑉 → (∃𝑥 ∈ {𝐴} (𝜑 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝑥 = 𝑐)) ↔ (𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐))))
18 nfv 1915 . . . . . 6 𝑐([𝐴 / 𝑥]𝜑𝐴 = 𝐴)
19 dfsbcq 3774 . . . . . . 7 (𝑐 = 𝐴 → ([𝑐 / 𝑥]𝜑[𝐴 / 𝑥]𝜑))
20 eqeq2 2833 . . . . . . 7 (𝑐 = 𝐴 → (𝐴 = 𝑐𝐴 = 𝐴))
2119, 20imbi12d 347 . . . . . 6 (𝑐 = 𝐴 → (([𝑐 / 𝑥]𝜑𝐴 = 𝑐) ↔ ([𝐴 / 𝑥]𝜑𝐴 = 𝐴)))
2218, 21ralsngf 4611 . . . . 5 (𝐴𝑉 → (∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐) ↔ ([𝐴 / 𝑥]𝜑𝐴 = 𝐴)))
2322anbi2d 630 . . . 4 (𝐴𝑉 → ((𝜓 ∧ ∀𝑐 ∈ {𝐴} ([𝑐 / 𝑥]𝜑𝐴 = 𝑐)) ↔ (𝜓 ∧ ([𝐴 / 𝑥]𝜑𝐴 = 𝐴))))
24 eqidd 2822 . . . . 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 1537  wnf 1784  wcel 2114  wral 3138  wrex 3139  ∃!wreu 3140  [wsbc 3772  {csn 4567
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-reu 3145  df-v 3496  df-sbc 3773  df-sn 4568
This theorem is referenced by:  reusng  4615  rmosn  4655
  Copyright terms: Public domain W3C validator