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

Theorem cbvralf 3346
Description: Rule used to change bound variables, using implicit substitution. Usage of this theorem is discouraged because it depends on ax-13 2402. Use the weaker cbvralfw 3303 when possible. (Contributed by NM, 7-Mar-2004.) (Revised by Mario Carneiro, 9-Oct-2016.) (New usage is discouraged.)
Hypotheses
Ref Expression
cbvralf.1 Ⅎ𝑥𝐴
cbvralf.2 Ⅎ𝑦𝐴
cbvralf.3 Ⅎ𝑦𝜑
cbvralf.4 Ⅎ𝑥𝜓
cbvralf.5 (𝑥 = 𝑦 → (𝜑 ↔ 𝜓))
Assertion
Ref Expression
cbvralf (∀𝑥 ∈ 𝐴 𝜑 ↔ ∀𝑦 ∈ 𝐴 𝜓)

Proof of Theorem cbvralf
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 nfv 1947 . . . 4 Ⅎ𝑧(𝑥 ∈ 𝐴 → 𝜑)
2 cbvralf.1 . . . . . 6 Ⅎ𝑥𝐴
32nfcri 2915 . . . . 5 Ⅎ𝑥 𝑧 ∈ 𝐴
4 nfs1v 2193 . . . . 5 Ⅎ𝑥[𝑧 / 𝑥]𝜑
53, 4nfim 1929 . . . 4 Ⅎ𝑥(𝑧 ∈ 𝐴 → [𝑧 / 𝑥]𝜑)
6 eleq1w 2844 . . . . 5 (𝑥 = 𝑧 → (𝑥 ∈ 𝐴 ↔ 𝑧 ∈ 𝐴))
7 sbequ12 2287 . . . . 5 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
86, 7imbi12d 347 . . . 4 (𝑥 = 𝑧 → ((𝑥 ∈ 𝐴 → 𝜑) ↔ (𝑧 ∈ 𝐴 → [𝑧 / 𝑥]𝜑)))
91, 5, 8cbvalv1 2371 . . 3 (∀𝑥(𝑥 ∈ 𝐴 → 𝜑) ↔ ∀𝑧(𝑧 ∈ 𝐴 → [𝑧 / 𝑥]𝜑))
10 cbvralf.2 . . . . . 6 Ⅎ𝑦𝐴
1110nfcri 2915 . . . . 5 Ⅎ𝑦 𝑧 ∈ 𝐴
12 cbvralf.3 . . . . . 6 Ⅎ𝑦𝜑
1312nfsb 2553 . . . . 5 Ⅎ𝑦[𝑧 / 𝑥]𝜑
1411, 13nfim 1929 . . . 4 Ⅎ𝑦(𝑧 ∈ 𝐴 → [𝑧 / 𝑥]𝜑)
15 nfv 1947 . . . 4 Ⅎ𝑧(𝑦 ∈ 𝐴 → 𝜓)
16 eleq1w 2844 . . . . 5 (𝑧 = 𝑦 → (𝑧 ∈ 𝐴 ↔ 𝑦 ∈ 𝐴))
17 sbequ 2120 . . . . . 6 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
18 cbvralf.4 . . . . . . 7 Ⅎ𝑥𝜓
19 cbvralf.5 . . . . . . 7 (𝑥 = 𝑦 → (𝜑 ↔ 𝜓))
2018, 19sbie 2532 . . . . . 6 ([𝑦 / 𝑥]𝜑 ↔ 𝜓)
2117, 20bitrdi 290 . . . . 5 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ 𝜓))
2216, 21imbi12d 347 . . . 4 (𝑧 = 𝑦 → ((𝑧 ∈ 𝐴 → [𝑧 / 𝑥]𝜑) ↔ (𝑦 ∈ 𝐴 → 𝜓)))
2314, 15, 22cbvalv1 2371 . . 3 (∀𝑧(𝑧 ∈ 𝐴 → [𝑧 / 𝑥]𝜑) ↔ ∀𝑦(𝑦 ∈ 𝐴 → 𝜓))
249, 23bitri 278 . 2 (∀𝑥(𝑥 ∈ 𝐴 → 𝜑) ↔ ∀𝑦(𝑦 ∈ 𝐴 → 𝜓))
25 df-ral 3078 . 2 (∀𝑥 ∈ 𝐴 𝜑 ↔ ∀𝑥(𝑥 ∈ 𝐴 → 𝜑))
26 df-ral 3078 . 2 (∀𝑦 ∈ 𝐴 𝜓 ↔ ∀𝑦(𝑦 ∈ 𝐴 → 𝜓))
2724, 25, 263bitr4i 306 1 (∀𝑥 ∈ 𝐴 𝜑 ↔ ∀𝑦 ∈ 𝐴 𝜓)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209  ∀wal 1568  Ⅎwnf 1816  [wsb 2099   ∈ wcel 2145  Ⅎwnfc 2908  ∀wral 3077
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-10 2178  ax-11 2194  ax-12 2213  ax-13 2402
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 2100  df-clel 2836  df-nfc 2910  df-ral 3078
This theorem is used by:  cbvrexf  3347  cbvral  3348
  Copyright terms: Public domain W3C validator