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

Theorem cbvrexcsf 3122
Description: A more general version of cbvrexf 2698 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 1528 . . . 4 𝑧(𝑥𝐴𝜑)
2 nfcsb1v 3092 . . . . . 6 𝑥𝑧 / 𝑥𝐴
32nfcri 2313 . . . . 5 𝑥 𝑧𝑧 / 𝑥𝐴
4 nfsbc1v 2983 . . . . 5 𝑥[𝑧 / 𝑥]𝜑
53, 4nfan 1565 . . . 4 𝑥(𝑧𝑧 / 𝑥𝐴[𝑧 / 𝑥]𝜑)
6 id 19 . . . . . 6 (𝑥 = 𝑧𝑥 = 𝑧)
7 csbeq1a 3068 . . . . . 6 (𝑥 = 𝑧𝐴 = 𝑧 / 𝑥𝐴)
86, 7eleq12d 2248 . . . . 5 (𝑥 = 𝑧 → (𝑥𝐴𝑧𝑧 / 𝑥𝐴))
9 sbceq1a 2974 . . . . 5 (𝑥 = 𝑧 → (𝜑[𝑧 / 𝑥]𝜑))
108, 9anbi12d 473 . . . 4 (𝑥 = 𝑧 → ((𝑥𝐴𝜑) ↔ (𝑧𝑧 / 𝑥𝐴[𝑧 / 𝑥]𝜑)))
111, 5, 10cbvex 1756 . . 3 (∃𝑥(𝑥𝐴𝜑) ↔ ∃𝑧(𝑧𝑧 / 𝑥𝐴[𝑧 / 𝑥]𝜑))
12 nfcv 2319 . . . . . . 7 𝑦𝑧
13 cbvralcsf.1 . . . . . . 7 𝑦𝐴
1412, 13nfcsb 3096 . . . . . 6 𝑦𝑧 / 𝑥𝐴
1514nfcri 2313 . . . . 5 𝑦 𝑧𝑧 / 𝑥𝐴
16 cbvralcsf.3 . . . . . 6 𝑦𝜑
1712, 16nfsbc 2985 . . . . 5 𝑦[𝑧 / 𝑥]𝜑
1815, 17nfan 1565 . . . 4 𝑦(𝑧𝑧 / 𝑥𝐴[𝑧 / 𝑥]𝜑)
19 nfv 1528 . . . 4 𝑧(𝑦𝐵𝜓)
20 id 19 . . . . . 6 (𝑧 = 𝑦𝑧 = 𝑦)
21 csbeq1 3062 . . . . . . 7 (𝑧 = 𝑦𝑧 / 𝑥𝐴 = 𝑦 / 𝑥𝐴)
22 df-csb 3060 . . . . . . . 8 𝑦 / 𝑥𝐴 = {𝑣[𝑦 / 𝑥]𝑣𝐴}
23 cbvralcsf.2 . . . . . . . . . . . 12 𝑥𝐵
2423nfcri 2313 . . . . . . . . . . 11 𝑥 𝑣𝐵
25 cbvralcsf.5 . . . . . . . . . . . 12 (𝑥 = 𝑦𝐴 = 𝐵)
2625eleq2d 2247 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑣𝐴𝑣𝐵))
2724, 26sbie 1791 . . . . . . . . . 10 ([𝑦 / 𝑥]𝑣𝐴𝑣𝐵)
28 sbsbc 2968 . . . . . . . . . 10 ([𝑦 / 𝑥]𝑣𝐴[𝑦 / 𝑥]𝑣𝐴)
2927, 28bitr3i 186 . . . . . . . . 9 (𝑣𝐵[𝑦 / 𝑥]𝑣𝐴)
3029abbi2i 2292 . . . . . . . 8 𝐵 = {𝑣[𝑦 / 𝑥]𝑣𝐴}
3122, 30eqtr4i 2201 . . . . . . 7 𝑦 / 𝑥𝐴 = 𝐵
3221, 31eqtrdi 2226 . . . . . 6 (𝑧 = 𝑦𝑧 / 𝑥𝐴 = 𝐵)
3320, 32eleq12d 2248 . . . . 5 (𝑧 = 𝑦 → (𝑧𝑧 / 𝑥𝐴𝑦𝐵))
34 dfsbcq 2966 . . . . . 6 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑[𝑦 / 𝑥]𝜑))
35 sbsbc 2968 . . . . . . 7 ([𝑦 / 𝑥]𝜑[𝑦 / 𝑥]𝜑)
36 cbvralcsf.4 . . . . . . . 8 𝑥𝜓
37 cbvralcsf.6 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑𝜓))
3836, 37sbie 1791 . . . . . . 7 ([𝑦 / 𝑥]𝜑𝜓)
3935, 38bitr3i 186 . . . . . 6 ([𝑦 / 𝑥]𝜑𝜓)
4034, 39bitrdi 196 . . . . 5 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑𝜓))
4133, 40anbi12d 473 . . . 4 (𝑧 = 𝑦 → ((𝑧𝑧 / 𝑥𝐴[𝑧 / 𝑥]𝜑) ↔ (𝑦𝐵𝜓)))
4218, 19, 41cbvex 1756 . . 3 (∃𝑧(𝑧𝑧 / 𝑥𝐴[𝑧 / 𝑥]𝜑) ↔ ∃𝑦(𝑦𝐵𝜓))
4311, 42bitri 184 . 2 (∃𝑥(𝑥𝐴𝜑) ↔ ∃𝑦(𝑦𝐵𝜓))
44 df-rex 2461 . 2 (∃𝑥𝐴 𝜑 ↔ ∃𝑥(𝑥𝐴𝜑))
45 df-rex 2461 . 2 (∃𝑦𝐵 𝜓 ↔ ∃𝑦(𝑦𝐵𝜓))
4643, 44, 453bitr4i 212 1 (∃𝑥𝐴 𝜑 ↔ ∃𝑦𝐵 𝜓)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wb 105   = wceq 1353  wnf 1460  wex 1492  [wsb 1762  wcel 2148  {cab 2163  wnfc 2306  wrex 2456  [wsbc 2964  csb 3059
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-ext 2159
This theorem depends on definitions:  df-bi 117  df-tru 1356  df-nf 1461  df-sb 1763  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-rex 2461  df-sbc 2965  df-csb 3060
This theorem is referenced by:  cbvrexv2  3126
  Copyright terms: Public domain W3C validator