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

Theorem cbvrexsv 3366
Description: Change bound variable by using a substitution. (Contributed by NM, 2-Mar-2008.) (Revised by Andrew Salmon, 11-Jul-2011.)
Assertion
Ref Expression
cbvrexsv (∃𝑥𝐴 𝜑 ↔ ∃𝑦𝐴 [𝑦 / 𝑥]𝜑)
Distinct variable groups:   𝑥,𝐴   𝜑,𝑦   𝑦,𝐴
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem cbvrexsv
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 nfv 2010 . . 3 𝑧𝜑
2 nfs1v 2303 . . 3 𝑥[𝑧 / 𝑥]𝜑
3 sbequ12 2278 . . 3 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
41, 2, 3cbvrex 3351 . 2 (∃𝑥𝐴 𝜑 ↔ ∃𝑧𝐴 [𝑧 / 𝑥]𝜑)
5 nfv 2010 . . . 4 𝑦𝜑
65nfsb 2561 . . 3 𝑦[𝑧 / 𝑥]𝜑
7 nfv 2010 . . 3 𝑧[𝑦 / 𝑥]𝜑
8 sbequ 2493 . . 3 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
96, 7, 8cbvrex 3351 . 2 (∃𝑧𝐴 [𝑧 / 𝑥]𝜑 ↔ ∃𝑦𝐴 [𝑦 / 𝑥]𝜑)
104, 9bitri 267 1 (∃𝑥𝐴 𝜑 ↔ ∃𝑦𝐴 [𝑦 / 𝑥]𝜑)
Colors of variables: wff setvar class
Syntax hints:  wb 198  [wsb 2064  wrex 3090
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1891  ax-4 1905  ax-5 2006  ax-6 2072  ax-7 2107  ax-10 2185  ax-11 2200  ax-12 2213  ax-13 2377
This theorem depends on definitions:  df-bi 199  df-an 386  df-or 875  df-tru 1657  df-ex 1876  df-nf 1880  df-sb 2065  df-clel 2795  df-nfc 2930  df-ral 3094  df-rex 3095
This theorem is referenced by:  rspesbca  3715  ac6sf  9599  ac6gf  34015  cbvexsv  39533
  Copyright terms: Public domain W3C validator