ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  cbvrexcsf GIF version

Theorem cbvrexcsf 3211
Description: A more general version of cbvrexf 2778 that has no distinct variable restrictions. Changes bound variables using implicit substitution. (Contributed by Andrew Salmon, 13-Jul-2011.) (Proof shortened by Mario Carneiro, 7-Dec-2014.)
Hypotheses
Ref Expression
cbvralcsf.1 Ⅎ𝑦𝐴
cbvralcsf.2 Ⅎ𝑥𝐵
cbvralcsf.3 Ⅎ𝑦𝜑
cbvralcsf.4 Ⅎ𝑥𝜓
cbvralcsf.5 (𝑥 = 𝑦 → 𝐴 = 𝐵)
cbvralcsf.6 (𝑥 = 𝑦 → (𝜑 ↔ 𝜓))
Assertion
Ref Expression
cbvrexcsf (∃𝑥 ∈ 𝐴 𝜑 ↔ ∃𝑦 ∈ 𝐵 𝜓)

Proof of Theorem cbvrexcsf
Dummy variables 𝑣 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfv 1581 . . . 4 Ⅎ𝑧(𝑥 ∈ 𝐴 ∧ 𝜑)
2 nfcsb1v 3180 . . . . . 6 Ⅎ𝑥⦋𝑧 / 𝑥⦌𝐴
32nfcri 2386 . . . . 5 Ⅎ𝑥 𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴
4 nfsbc1v 3070 . . . . 5 Ⅎ𝑥[𝑧 / 𝑥]𝜑
53, 4nfan 1618 . . . 4 Ⅎ𝑥(𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 ∧ [𝑧 / 𝑥]𝜑)
6 id 19 . . . . . 6 (𝑥 = 𝑧 → 𝑥 = 𝑧)
7 csbeq1a 3156 . . . . . 6 (𝑥 = 𝑧 → 𝐴 = ⦋𝑧 / 𝑥⦌𝐴)
86, 7eleq12d 2309 . . . . 5 (𝑥 = 𝑧 → (𝑥 ∈ 𝐴 ↔ 𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴))
9 sbceq1a 3061 . . . . 5 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
108, 9anbi12d 477 . . . 4 (𝑥 = 𝑧 → ((𝑥 ∈ 𝐴 ∧ 𝜑) ↔ (𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 ∧ [𝑧 / 𝑥]𝜑)))
111, 5, 10cbvex 1809 . . 3 (∃𝑥(𝑥 ∈ 𝐴 ∧ 𝜑) ↔ ∃𝑧(𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 ∧ [𝑧 / 𝑥]𝜑))
12 nfcv 2392 . . . . . . 7 Ⅎ𝑦𝑧
13 cbvralcsf.1 . . . . . . 7 Ⅎ𝑦𝐴
1412, 13nfcsb 3185 . . . . . 6 Ⅎ𝑦⦋𝑧 / 𝑥⦌𝐴
1514nfcri 2386 . . . . 5 Ⅎ𝑦 𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴
16 cbvralcsf.3 . . . . . 6 Ⅎ𝑦𝜑
1712, 16nfsbc 3072 . . . . 5 Ⅎ𝑦[𝑧 / 𝑥]𝜑
1815, 17nfan 1618 . . . 4 Ⅎ𝑦(𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 ∧ [𝑧 / 𝑥]𝜑)
19 nfv 1581 . . . 4 Ⅎ𝑧(𝑦 ∈ 𝐵 ∧ 𝜓)
20 id 19 . . . . . 6 (𝑧 = 𝑦 → 𝑧 = 𝑦)
21 csbeq1 3150 . . . . . . 7 (𝑧 = 𝑦 → ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑦 / 𝑥⦌𝐴)
22 df-csb 3148 . . . . . . . 8 ⦋𝑦 / 𝑥⦌𝐴 = {𝑣 ∣ [𝑦 / 𝑥]𝑣 ∈ 𝐴}
23 cbvralcsf.2 . . . . . . . . . . . 12 Ⅎ𝑥𝐵
2423nfcri 2386 . . . . . . . . . . 11 Ⅎ𝑥 𝑣 ∈ 𝐵
25 cbvralcsf.5 . . . . . . . . . . . 12 (𝑥 = 𝑦 → 𝐴 = 𝐵)
2625eleq2d 2308 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑣 ∈ 𝐴 ↔ 𝑣 ∈ 𝐵))
2724, 26sbie 1844 . . . . . . . . . 10 ([𝑦 / 𝑥]𝑣 ∈ 𝐴 ↔ 𝑣 ∈ 𝐵)
28 sbsbc 3055 . . . . . . . . . 10 ([𝑦 / 𝑥]𝑣 ∈ 𝐴 ↔ [𝑦 / 𝑥]𝑣 ∈ 𝐴)
2927, 28bitr3i 186 . . . . . . . . 9 (𝑣 ∈ 𝐵 ↔ [𝑦 / 𝑥]𝑣 ∈ 𝐴)
3029abbi2i 2353 . . . . . . . 8 𝐵 = {𝑣 ∣ [𝑦 / 𝑥]𝑣 ∈ 𝐴}
3122, 30eqtr4i 2262 . . . . . . 7 ⦋𝑦 / 𝑥⦌𝐴 = 𝐵
3221, 31eqtrdi 2287 . . . . . 6 (𝑧 = 𝑦 → ⦋𝑧 / 𝑥⦌𝐴 = 𝐵)
3320, 32eleq12d 2309 . . . . 5 (𝑧 = 𝑦 → (𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 ↔ 𝑦 ∈ 𝐵))
34 dfsbcq 3053 . . . . . 6 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
35 sbsbc 3055 . . . . . . 7 ([𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑)
36 cbvralcsf.4 . . . . . . . 8 Ⅎ𝑥𝜓
37 cbvralcsf.6 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑 ↔ 𝜓))
3836, 37sbie 1844 . . . . . . 7 ([𝑦 / 𝑥]𝜑 ↔ 𝜓)
3935, 38bitr3i 186 . . . . . 6 ([𝑦 / 𝑥]𝜑 ↔ 𝜓)
4034, 39bitrdi 196 . . . . 5 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ 𝜓))
4133, 40anbi12d 477 . . . 4 (𝑧 = 𝑦 → ((𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 ∧ [𝑧 / 𝑥]𝜑) ↔ (𝑦 ∈ 𝐵 ∧ 𝜓)))
4218, 19, 41cbvex 1809 . . 3 (∃𝑧(𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 ∧ [𝑧 / 𝑥]𝜑) ↔ ∃𝑦(𝑦 ∈ 𝐵 ∧ 𝜓))
4311, 42bitri 184 . 2 (∃𝑥(𝑥 ∈ 𝐴 ∧ 𝜑) ↔ ∃𝑦(𝑦 ∈ 𝐵 ∧ 𝜓))
44 df-rex 2534 . 2 (∃𝑥 ∈ 𝐴 𝜑 ↔ ∃𝑥(𝑥 ∈ 𝐴 ∧ 𝜑))
45 df-rex 2534 . 2 (∃𝑦 ∈ 𝐵 𝜓 ↔ ∃𝑦(𝑦 ∈ 𝐵 ∧ 𝜓))
4643, 44, 453bitr4i 212 1 (∃𝑥 ∈ 𝐴 𝜑 ↔ ∃𝑦 ∈ 𝐵 𝜓)
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4   ∧ wa 104   ↔ wb 105   = wceq 1402  Ⅎwnf 1513  ∃wex 1545  [wsb 1815   ∈ wcel 2209  {cab 2224  Ⅎwnfc 2379  ∃wrex 2529  [wsbc 3051  ⦋csb 3147
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-ext 2220
This proof depends on definitions:  df-bi 117  df-tru 1405  df-nf 1514  df-sb 1816  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-rex 2534  df-sbc 3052  df-csb 3148
This theorem is used by:  cbvrexv2  3215
  Copyright terms: Public domain W3C validator