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

Theorem cbvralcsf 3888
Description: A more general version of cbvralf 3345 that doesn't require 𝐴 and 𝐵 to be distinct from 𝑥 or 𝑦. Changes bound variables using implicit substitution. Usage of this theorem is discouraged because it depends on ax-13 2401. (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
cbvralcsf (∀𝑥 ∈ 𝐴 𝜑 ↔ ∀𝑦 ∈ 𝐵 𝜓)

Proof of Theorem cbvralcsf
Dummy variables 𝑣 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfv 1946 . . . 4 Ⅎ𝑧(𝑥 ∈ 𝐴 → 𝜑)
2 nfcsb1v 3870 . . . . . 6 Ⅎ𝑥⦋𝑧 / 𝑥⦌𝐴
32nfcri 2914 . . . . 5 Ⅎ𝑥 𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴
4 nfsbc1v 3758 . . . . 5 Ⅎ𝑥[𝑧 / 𝑥]𝜑
53, 4nfim 1928 . . . 4 Ⅎ𝑥(𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 → [𝑧 / 𝑥]𝜑)
6 id 23 . . . . . 6 (𝑥 = 𝑧 → 𝑥 = 𝑧)
7 csbeq1a 3860 . . . . . 6 (𝑥 = 𝑧 → 𝐴 = ⦋𝑧 / 𝑥⦌𝐴)
86, 7eleq12d 2854 . . . . 5 (𝑥 = 𝑧 → (𝑥 ∈ 𝐴 ↔ 𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴))
9 sbceq1a 3749 . . . . 5 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
108, 9imbi12d 347 . . . 4 (𝑥 = 𝑧 → ((𝑥 ∈ 𝐴 → 𝜑) ↔ (𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 → [𝑧 / 𝑥]𝜑)))
111, 5, 10cbvalv1 2370 . . 3 (∀𝑥(𝑥 ∈ 𝐴 → 𝜑) ↔ ∀𝑧(𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 → [𝑧 / 𝑥]𝜑))
12 nfcv 2922 . . . . . . 7 Ⅎ𝑦𝑧
13 cbvralcsf.1 . . . . . . 7 Ⅎ𝑦𝐴
1412, 13nfcsb 3873 . . . . . 6 Ⅎ𝑦⦋𝑧 / 𝑥⦌𝐴
1514nfcri 2914 . . . . 5 Ⅎ𝑦 𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴
16 cbvralcsf.3 . . . . . 6 Ⅎ𝑦𝜑
1712, 16nfsbc 3763 . . . . 5 Ⅎ𝑦[𝑧 / 𝑥]𝜑
1815, 17nfim 1928 . . . 4 Ⅎ𝑦(𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 → [𝑧 / 𝑥]𝜑)
19 nfv 1946 . . . 4 Ⅎ𝑧(𝑦 ∈ 𝐵 → 𝜓)
20 id 23 . . . . . 6 (𝑧 = 𝑦 → 𝑧 = 𝑦)
21 csbeq1 3849 . . . . . . 7 (𝑧 = 𝑦 → ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑦 / 𝑥⦌𝐴)
22 df-csb 3847 . . . . . . . 8 ⦋𝑦 / 𝑥⦌𝐴 = {𝑣 ∣ [𝑦 / 𝑥]𝑣 ∈ 𝐴}
23 cbvralcsf.2 . . . . . . . . . . . 12 Ⅎ𝑥𝐵
2423nfcri 2914 . . . . . . . . . . 11 Ⅎ𝑥 𝑣 ∈ 𝐵
25 cbvralcsf.5 . . . . . . . . . . . 12 (𝑥 = 𝑦 → 𝐴 = 𝐵)
2625eleq2d 2846 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑣 ∈ 𝐴 ↔ 𝑣 ∈ 𝐵))
2724, 26sbie 2531 . . . . . . . . . 10 ([𝑦 / 𝑥]𝑣 ∈ 𝐴 ↔ 𝑣 ∈ 𝐵)
28 sbsbc 3742 . . . . . . . . . 10 ([𝑦 / 𝑥]𝑣 ∈ 𝐴 ↔ [𝑦 / 𝑥]𝑣 ∈ 𝐴)
2927, 28bitr3i 280 . . . . . . . . 9 (𝑣 ∈ 𝐵 ↔ [𝑦 / 𝑥]𝑣 ∈ 𝐴)
3029eqabi 2895 . . . . . . . 8 𝐵 = {𝑣 ∣ [𝑦 / 𝑥]𝑣 ∈ 𝐴}
3122, 30eqtr4i 2786 . . . . . . 7 ⦋𝑦 / 𝑥⦌𝐴 = 𝐵
3221, 31eqtrdi 2811 . . . . . 6 (𝑧 = 𝑦 → ⦋𝑧 / 𝑥⦌𝐴 = 𝐵)
3320, 32eleq12d 2854 . . . . 5 (𝑧 = 𝑦 → (𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 ↔ 𝑦 ∈ 𝐵))
34 dfsbcq 3740 . . . . . 6 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
35 sbsbc 3742 . . . . . . 7 ([𝑦 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑)
36 cbvralcsf.4 . . . . . . . 8 Ⅎ𝑥𝜓
37 cbvralcsf.6 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑 ↔ 𝜓))
3836, 37sbie 2531 . . . . . . 7 ([𝑦 / 𝑥]𝜑 ↔ 𝜓)
3935, 38bitr3i 280 . . . . . 6 ([𝑦 / 𝑥]𝜑 ↔ 𝜓)
4034, 39bitrdi 290 . . . . 5 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ 𝜓))
4133, 40imbi12d 347 . . . 4 (𝑧 = 𝑦 → ((𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 → [𝑧 / 𝑥]𝜑) ↔ (𝑦 ∈ 𝐵 → 𝜓)))
4218, 19, 41cbvalv1 2370 . . 3 (∀𝑧(𝑧 ∈ ⦋𝑧 / 𝑥⦌𝐴 → [𝑧 / 𝑥]𝜑) ↔ ∀𝑦(𝑦 ∈ 𝐵 → 𝜓))
4311, 42bitri 278 . 2 (∀𝑥(𝑥 ∈ 𝐴 → 𝜑) ↔ ∀𝑦(𝑦 ∈ 𝐵 → 𝜓))
44 df-ral 3077 . 2 (∀𝑥 ∈ 𝐴 𝜑 ↔ ∀𝑥(𝑥 ∈ 𝐴 → 𝜑))
45 df-ral 3077 . 2 (∀𝑦 ∈ 𝐵 𝜓 ↔ ∀𝑦(𝑦 ∈ 𝐵 → 𝜓))
4643, 44, 453bitr4i 306 1 (∀𝑥 ∈ 𝐴 𝜑 ↔ ∀𝑦 ∈ 𝐵 𝜓)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209  ∀wal 1567   = wceq 1569  Ⅎwnf 1815  [wsb 2098   ∈ wcel 2144  {cab 2738  Ⅎwnfc 2907  ∀wral 3076  [wsbc 3738  ⦋csb 3846
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-13 2401  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-sbc 3739  df-csb 3847
This theorem is used by:  cbvrexcsf  3889  cbvralv2  3892
  Copyright terms: Public domain W3C validator