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

Theorem cbvrabcsf 3896
Description: A more general version of cbvrab 3453 with no distinct variable restrictions. Usage of this theorem is discouraged because it depends on ax-13 2404. (Contributed by Andrew Salmon, 13-Jul-2011.) (New usage is discouraged.)
Hypotheses
Ref Expression
cbvralcsf.1 Ⅎ𝑦𝐴
cbvralcsf.2 Ⅎ𝑥𝐵
cbvralcsf.3 Ⅎ𝑦𝜑
cbvralcsf.4 Ⅎ𝑥𝜓
cbvralcsf.5 (𝑥 = 𝑦 → 𝐴 = 𝐵)
cbvralcsf.6 (𝑥 = 𝑦 → (𝜑 ↔ 𝜓))
Assertion
Ref Expression
cbvrabcsf {𝑥 ∈ 𝐴 ∣ 𝜑} = {𝑦 ∈ 𝐵 ∣ 𝜓}

Proof of Theorem cbvrabcsf
Dummy variables 𝑣 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfv 1949 . . . 4 Ⅎ𝑧(𝑥 ∈ 𝐴 ∧ 𝜑)
2 nfcsb1v 3875 . . . . . 6 Ⅎ𝑥⦋𝑧 / 𝑥⦌𝐴
32nfcri 2918 . . . . 5 Ⅎ𝑥 𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴
4 nfs1v 2196 . . . . 5 Ⅎ𝑥[𝑧 / 𝑥]𝜑
53, 4nfan 1934 . . . 4 Ⅎ𝑥(𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 ∧ [𝑧 / 𝑥]𝜑)
6 id 23 . . . . . 6 (𝑥 = 𝑧 → 𝑥 = 𝑧)
7 csbeq1a 3865 . . . . . 6 (𝑥 = 𝑧 → 𝐴 = ⦋𝑧 / 𝑥⦌𝐴)
86, 7eleq12d 2858 . . . . 5 (𝑥 = 𝑧 → (𝑥 ∈ 𝐴 ↔ 𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴))
9 sbequ12 2290 . . . . 5 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
108, 9anbi12d 644 . . . 4 (𝑥 = 𝑧 → ((𝑥 ∈ 𝐴 ∧ 𝜑) ↔ (𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 ∧ [𝑧 / 𝑥]𝜑)))
111, 5, 10cbvab 2836 . . 3 {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} = {𝑧 ∣ (𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 ∧ [𝑧 / 𝑥]𝜑)}
12 nfcv 2926 . . . . . . 7 Ⅎ𝑦𝑧
13 cbvralcsf.1 . . . . . . 7 Ⅎ𝑦𝐴
1412, 13nfcsb 3878 . . . . . 6 Ⅎ𝑦⦋𝑧 / 𝑥⦌𝐴
1514nfcri 2918 . . . . 5 Ⅎ𝑦 𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴
16 cbvralcsf.3 . . . . . 6 Ⅎ𝑦𝜑
1716nfsb 2555 . . . . 5 Ⅎ𝑦[𝑧 / 𝑥]𝜑
1815, 17nfan 1934 . . . 4 Ⅎ𝑦(𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 ∧ [𝑧 / 𝑥]𝜑)
19 nfv 1949 . . . 4 Ⅎ𝑧(𝑦 ∈ 𝐵 ∧ 𝜓)
20 id 23 . . . . . 6 (𝑧 = 𝑦 → 𝑧 = 𝑦)
21 csbeq1 3854 . . . . . . 7 (𝑧 = 𝑦 → ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑦 / 𝑥⦌𝐴)
22 df-csb 3852 . . . . . . . 8 ⦋𝑦 / 𝑥⦌𝐴 = {𝑣 ∣ [𝑦 / 𝑥]𝑣 ∈ 𝐴}
23 cbvralcsf.2 . . . . . . . . . . . 12 Ⅎ𝑥𝐵
2423nfcri 2918 . . . . . . . . . . 11 Ⅎ𝑥 𝑣 ∈ 𝐵
25 cbvralcsf.5 . . . . . . . . . . . 12 (𝑥 = 𝑦 → 𝐴 = 𝐵)
2625eleq2d 2850 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑣 ∈ 𝐴 ↔ 𝑣 ∈ 𝐵))
2724, 26sbie 2534 . . . . . . . . . 10 ([𝑦 / 𝑥]𝑣 ∈ 𝐴 ↔ 𝑣 ∈ 𝐵)
28 sbsbc 3746 . . . . . . . . . 10 ([𝑦 / 𝑥]𝑣 ∈ 𝐴 ↔ [𝑦 / 𝑥]𝑣 ∈ 𝐴)
2927, 28bitr3i 280 . . . . . . . . 9 (𝑣 ∈ 𝐵 ↔ [𝑦 / 𝑥]𝑣 ∈ 𝐴)
3029eqabi 2899 . . . . . . . 8 𝐵 = {𝑣 ∣ [𝑦 / 𝑥]𝑣 ∈ 𝐴}
3122, 30eqtr4i 2789 . . . . . . 7 ⦋𝑦 / 𝑥⦌𝐴 = 𝐵
3221, 31eqtrdi 2814 . . . . . 6 (𝑧 = 𝑦 → ⦋𝑧 / 𝑥⦌𝐴 = 𝐵)
3320, 32eleq12d 2858 . . . . 5 (𝑧 = 𝑦 → (𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 ↔ 𝑦 ∈ 𝐵))
34 sbequ 2122 . . . . . 6 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
35 cbvralcsf.4 . . . . . . 7 Ⅎ𝑥𝜓
36 cbvralcsf.6 . . . . . . 7 (𝑥 = 𝑦 → (𝜑 ↔ 𝜓))
3735, 36sbie 2534 . . . . . 6 ([𝑦 / 𝑥]𝜑 ↔ 𝜓)
3834, 37bitrdi 290 . . . . 5 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ 𝜓))
3933, 38anbi12d 644 . . . 4 (𝑧 = 𝑦 → ((𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 ∧ [𝑧 / 𝑥]𝜑) ↔ (𝑦 ∈ 𝐵 ∧ 𝜓)))
4018, 19, 39cbvab 2836 . . 3 {𝑧 ∣ (𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 ∧ [𝑧 / 𝑥]𝜑)} = {𝑦 ∣ (𝑦 ∈ 𝐵 ∧ 𝜓)}
4111, 40eqtri 2786 . 2 {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} = {𝑦 ∣ (𝑦 ∈ 𝐵 ∧ 𝜓)}
42 df-rab 3417 . 2 {𝑥 ∈ 𝐴 ∣ 𝜑} = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)}
43 df-rab 3417 . 2 {𝑦 ∈ 𝐵 ∣ 𝜓} = {𝑦 ∣ (𝑦 ∈ 𝐵 ∧ 𝜓)}
4441, 42, 433eqtr4i 2796 1 {𝑥 ∈ 𝐴 ∣ 𝜑} = {𝑦 ∈ 𝐵 ∣ 𝜓}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  Ⅎwnf 1816  [wsb 2101   ∈ wcel 2147  {cab 2741  Ⅎwnfc 2911  {crab 3416  [wsbc 3742  ⦋csb 3851
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-13 2404  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-rab 3417  df-sbc 3743  df-csb 3852
This theorem is used by:  cbvrabv2  46357
  Copyright terms: Public domain W3C validator