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

Theorem cbvralcsf 3870
Description: A more general version of cbvralf 3385 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 2379. (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 1915 . . . 4 𝑧(𝑥𝐴𝜑)
2 nfcsb1v 3852 . . . . . 6 𝑥𝑧 / 𝑥𝐴
32nfcri 2943 . . . . 5 𝑥 𝑧𝑧 / 𝑥𝐴
4 nfsbc1v 3740 . . . . 5 𝑥[𝑧 / 𝑥]𝜑
53, 4nfim 1897 . . . 4 𝑥(𝑧𝑧 / 𝑥𝐴[𝑧 / 𝑥]𝜑)
6 id 22 . . . . . 6 (𝑥 = 𝑧𝑥 = 𝑧)
7 csbeq1a 3842 . . . . . 6 (𝑥 = 𝑧𝐴 = 𝑧 / 𝑥𝐴)
86, 7eleq12d 2884 . . . . 5 (𝑥 = 𝑧 → (𝑥𝐴𝑧𝑧 / 𝑥𝐴))
9 sbceq1a 3731 . . . . 5 (𝑥 = 𝑧 → (𝜑[𝑧 / 𝑥]𝜑))
108, 9imbi12d 348 . . . 4 (𝑥 = 𝑧 → ((𝑥𝐴𝜑) ↔ (𝑧𝑧 / 𝑥𝐴[𝑧 / 𝑥]𝜑)))
111, 5, 10cbvalv1 2350 . . 3 (∀𝑥(𝑥𝐴𝜑) ↔ ∀𝑧(𝑧𝑧 / 𝑥𝐴[𝑧 / 𝑥]𝜑))
12 nfcv 2955 . . . . . . 7 𝑦𝑧
13 cbvralcsf.1 . . . . . . 7 𝑦𝐴
1412, 13nfcsb 3855 . . . . . 6 𝑦𝑧 / 𝑥𝐴
1514nfcri 2943 . . . . 5 𝑦 𝑧𝑧 / 𝑥𝐴
16 cbvralcsf.3 . . . . . 6 𝑦𝜑
1712, 16nfsbc 3745 . . . . 5 𝑦[𝑧 / 𝑥]𝜑
1815, 17nfim 1897 . . . 4 𝑦(𝑧𝑧 / 𝑥𝐴[𝑧 / 𝑥]𝜑)
19 nfv 1915 . . . 4 𝑧(𝑦𝐵𝜓)
20 id 22 . . . . . 6 (𝑧 = 𝑦𝑧 = 𝑦)
21 csbeq1 3831 . . . . . . 7 (𝑧 = 𝑦𝑧 / 𝑥𝐴 = 𝑦 / 𝑥𝐴)
22 df-csb 3829 . . . . . . . 8 𝑦 / 𝑥𝐴 = {𝑣[𝑦 / 𝑥]𝑣𝐴}
23 cbvralcsf.2 . . . . . . . . . . . 12 𝑥𝐵
2423nfcri 2943 . . . . . . . . . . 11 𝑥 𝑣𝐵
25 cbvralcsf.5 . . . . . . . . . . . 12 (𝑥 = 𝑦𝐴 = 𝐵)
2625eleq2d 2875 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑣𝐴𝑣𝐵))
2724, 26sbie 2521 . . . . . . . . . 10 ([𝑦 / 𝑥]𝑣𝐴𝑣𝐵)
28 sbsbc 3724 . . . . . . . . . 10 ([𝑦 / 𝑥]𝑣𝐴[𝑦 / 𝑥]𝑣𝐴)
2927, 28bitr3i 280 . . . . . . . . 9 (𝑣𝐵[𝑦 / 𝑥]𝑣𝐴)
3029abbi2i 2929 . . . . . . . 8 𝐵 = {𝑣[𝑦 / 𝑥]𝑣𝐴}
3122, 30eqtr4i 2824 . . . . . . 7 𝑦 / 𝑥𝐴 = 𝐵
3221, 31eqtrdi 2849 . . . . . 6 (𝑧 = 𝑦𝑧 / 𝑥𝐴 = 𝐵)
3320, 32eleq12d 2884 . . . . 5 (𝑧 = 𝑦 → (𝑧𝑧 / 𝑥𝐴𝑦𝐵))
34 dfsbcq 3722 . . . . . 6 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑[𝑦 / 𝑥]𝜑))
35 sbsbc 3724 . . . . . . 7 ([𝑦 / 𝑥]𝜑[𝑦 / 𝑥]𝜑)
36 cbvralcsf.4 . . . . . . . 8 𝑥𝜓
37 cbvralcsf.6 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑𝜓))
3836, 37sbie 2521 . . . . . . 7 ([𝑦 / 𝑥]𝜑𝜓)
3935, 38bitr3i 280 . . . . . 6 ([𝑦 / 𝑥]𝜑𝜓)
4034, 39syl6bb 290 . . . . 5 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑𝜓))
4133, 40imbi12d 348 . . . 4 (𝑧 = 𝑦 → ((𝑧𝑧 / 𝑥𝐴[𝑧 / 𝑥]𝜑) ↔ (𝑦𝐵𝜓)))
4218, 19, 41cbvalv1 2350 . . 3 (∀𝑧(𝑧𝑧 / 𝑥𝐴[𝑧 / 𝑥]𝜑) ↔ ∀𝑦(𝑦𝐵𝜓))
4311, 42bitri 278 . 2 (∀𝑥(𝑥𝐴𝜑) ↔ ∀𝑦(𝑦𝐵𝜓))
44 df-ral 3111 . 2 (∀𝑥𝐴 𝜑 ↔ ∀𝑥(𝑥𝐴𝜑))
45 df-ral 3111 . 2 (∀𝑦𝐵 𝜓 ↔ ∀𝑦(𝑦𝐵𝜓))
4643, 44, 453bitr4i 306 1 (∀𝑥𝐴 𝜑 ↔ ∀𝑦𝐵 𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wal 1536   = wceq 1538  wnf 1785  [wsb 2069  wcel 2111  {cab 2776  wnfc 2936  wral 3106  [wsbc 3720  csb 3828
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-13 2379  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-sbc 3721  df-csb 3829
This theorem is referenced by:  cbvrexcsf  3871  cbvralv2  3874
  Copyright terms: Public domain W3C validator