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

Theorem cbvrexsv 3178
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 1841 . . 3 𝑧𝜑
2 nfs1v 2435 . . 3 𝑥[𝑧 / 𝑥]𝜑
3 sbequ12 2109 . . 3 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
41, 2, 3cbvrex 3163 . 2 (∃𝑥𝐴 𝜑 ↔ ∃𝑧𝐴 [𝑧 / 𝑥]𝜑)
5 nfv 1841 . . . 4 𝑦𝜑
65nfsb 2438 . . 3 𝑦[𝑧 / 𝑥]𝜑
7 nfv 1841 . . 3 𝑧[𝑦 / 𝑥]𝜑
8 sbequ 2374 . . 3 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
96, 7, 8cbvrex 3163 . 2 (∃𝑧𝐴 [𝑧 / 𝑥]𝜑 ↔ ∃𝑦𝐴 [𝑦 / 𝑥]𝜑)
104, 9bitri 264 1 (∃𝑥𝐴 𝜑 ↔ ∃𝑦𝐴 [𝑦 / 𝑥]𝜑)
Colors of variables: wff setvar class
Syntax hints:  wb 196  [wsb 1878  wrex 2910
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1720  ax-4 1735  ax-5 1837  ax-6 1886  ax-7 1933  ax-9 1997  ax-10 2017  ax-11 2032  ax-12 2045  ax-13 2244  ax-ext 2600
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1484  df-ex 1703  df-nf 1708  df-sb 1879  df-cleq 2613  df-clel 2616  df-nfc 2751  df-ral 2914  df-rex 2915
This theorem is referenced by:  rspesbca  3513  ac6sf  9296  ac6gf  33498  cbvexsv  38582
  Copyright terms: Public domain W3C validator