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

Theorem cbvreucsf 3816
Description: A more general version of cbvreuv 3379 that has no distinct variable restrictions. Changes bound variables using implicit substitution. (Contributed by Andrew Salmon, 13-Jul-2011.)
Hypotheses
Ref Expression
cbvralcsf.1 𝑦𝐴
cbvralcsf.2 𝑥𝐵
cbvralcsf.3 𝑦𝜑
cbvralcsf.4 𝑥𝜓
cbvralcsf.5 (𝑥 = 𝑦𝐴 = 𝐵)
cbvralcsf.6 (𝑥 = 𝑦 → (𝜑𝜓))
Assertion
Ref Expression
cbvreucsf (∃!𝑥𝐴 𝜑 ↔ ∃!𝑦𝐵 𝜓)

Proof of Theorem cbvreucsf
Dummy variables 𝑣 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfv 1873 . . . 4 𝑧(𝑥𝐴𝜑)
2 nfcsb1v 3798 . . . . . 6 𝑥𝑧 / 𝑥𝐴
32nfcri 2920 . . . . 5 𝑥 𝑧𝑧 / 𝑥𝐴
4 nfs1v 2202 . . . . 5 𝑥[𝑧 / 𝑥]𝜑
53, 4nfan 1862 . . . 4 𝑥(𝑧𝑧 / 𝑥𝐴 ∧ [𝑧 / 𝑥]𝜑)
6 id 22 . . . . . 6 (𝑥 = 𝑧𝑥 = 𝑧)
7 csbeq1a 3789 . . . . . 6 (𝑥 = 𝑧𝐴 = 𝑧 / 𝑥𝐴)
86, 7eleq12d 2854 . . . . 5 (𝑥 = 𝑧 → (𝑥𝐴𝑧𝑧 / 𝑥𝐴))
9 sbequ12 2179 . . . . 5 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
108, 9anbi12d 621 . . . 4 (𝑥 = 𝑧 → ((𝑥𝐴𝜑) ↔ (𝑧𝑧 / 𝑥𝐴 ∧ [𝑧 / 𝑥]𝜑)))
111, 5, 10cbveu 2637 . . 3 (∃!𝑥(𝑥𝐴𝜑) ↔ ∃!𝑧(𝑧𝑧 / 𝑥𝐴 ∧ [𝑧 / 𝑥]𝜑))
12 nfcv 2926 . . . . . . 7 𝑦𝑧
13 cbvralcsf.1 . . . . . . 7 𝑦𝐴
1412, 13nfcsb 3800 . . . . . 6 𝑦𝑧 / 𝑥𝐴
1514nfcri 2920 . . . . 5 𝑦 𝑧𝑧 / 𝑥𝐴
16 cbvralcsf.3 . . . . . 6 𝑦𝜑
1716nfsb 2488 . . . . 5 𝑦[𝑧 / 𝑥]𝜑
1815, 17nfan 1862 . . . 4 𝑦(𝑧𝑧 / 𝑥𝐴 ∧ [𝑧 / 𝑥]𝜑)
19 nfv 1873 . . . 4 𝑧(𝑦𝐵𝜓)
20 id 22 . . . . . 6 (𝑧 = 𝑦𝑧 = 𝑦)
21 csbeq1 3783 . . . . . . 7 (𝑧 = 𝑦𝑧 / 𝑥𝐴 = 𝑦 / 𝑥𝐴)
22 sbsbc 3679 . . . . . . . . 9 ([𝑦 / 𝑥]𝑣𝐴[𝑦 / 𝑥]𝑣𝐴)
2322abbii 2838 . . . . . . . 8 {𝑣 ∣ [𝑦 / 𝑥]𝑣𝐴} = {𝑣[𝑦 / 𝑥]𝑣𝐴}
24 cbvralcsf.2 . . . . . . . . . . . 12 𝑥𝐵
2524nfcri 2920 . . . . . . . . . . 11 𝑥 𝑣𝐵
26 cbvralcsf.5 . . . . . . . . . . . 12 (𝑥 = 𝑦𝐴 = 𝐵)
2726eleq2d 2845 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑣𝐴𝑣𝐵))
2825, 27sbie 2468 . . . . . . . . . 10 ([𝑦 / 𝑥]𝑣𝐴𝑣𝐵)
2928bicomi 216 . . . . . . . . 9 (𝑣𝐵 ↔ [𝑦 / 𝑥]𝑣𝐴)
3029abbi2i 2899 . . . . . . . 8 𝐵 = {𝑣 ∣ [𝑦 / 𝑥]𝑣𝐴}
31 df-csb 3781 . . . . . . . 8 𝑦 / 𝑥𝐴 = {𝑣[𝑦 / 𝑥]𝑣𝐴}
3223, 30, 313eqtr4ri 2807 . . . . . . 7 𝑦 / 𝑥𝐴 = 𝐵
3321, 32syl6eq 2824 . . . . . 6 (𝑧 = 𝑦𝑧 / 𝑥𝐴 = 𝐵)
3420, 33eleq12d 2854 . . . . 5 (𝑧 = 𝑦 → (𝑧𝑧 / 𝑥𝐴𝑦𝐵))
35 sbequ 2035 . . . . . 6 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
36 cbvralcsf.4 . . . . . . 7 𝑥𝜓
37 cbvralcsf.6 . . . . . . 7 (𝑥 = 𝑦 → (𝜑𝜓))
3836, 37sbie 2468 . . . . . 6 ([𝑦 / 𝑥]𝜑𝜓)
3935, 38syl6bb 279 . . . . 5 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑𝜓))
4034, 39anbi12d 621 . . . 4 (𝑧 = 𝑦 → ((𝑧𝑧 / 𝑥𝐴 ∧ [𝑧 / 𝑥]𝜑) ↔ (𝑦𝐵𝜓)))
4118, 19, 40cbveu 2637 . . 3 (∃!𝑧(𝑧𝑧 / 𝑥𝐴 ∧ [𝑧 / 𝑥]𝜑) ↔ ∃!𝑦(𝑦𝐵𝜓))
4211, 41bitri 267 . 2 (∃!𝑥(𝑥𝐴𝜑) ↔ ∃!𝑦(𝑦𝐵𝜓))
43 df-reu 3089 . 2 (∃!𝑥𝐴 𝜑 ↔ ∃!𝑥(𝑥𝐴𝜑))
44 df-reu 3089 . 2 (∃!𝑦𝐵 𝜓 ↔ ∃!𝑦(𝑦𝐵𝜓))
4542, 43, 443bitr4i 295 1 (∃!𝑥𝐴 𝜑 ↔ ∃!𝑦𝐵 𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 198  wa 387   = wceq 1507  wnf 1746  [wsb 2015  wcel 2050  ∃!weu 2583  {cab 2752  wnfc 2910  ∃!wreu 3084  [wsbc 3675  csb 3780
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1758  ax-4 1772  ax-5 1869  ax-6 1928  ax-7 1965  ax-8 2052  ax-9 2059  ax-10 2079  ax-11 2093  ax-12 2106  ax-13 2301  ax-ext 2744
This theorem depends on definitions:  df-bi 199  df-an 388  df-or 834  df-tru 1510  df-ex 1743  df-nf 1747  df-sb 2016  df-mo 2547  df-eu 2584  df-clab 2753  df-cleq 2765  df-clel 2840  df-nfc 2912  df-reu 3089  df-sbc 3676  df-csb 3781
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator