Users' Mathboxes Mathbox for Giovanni Mascellani < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  sbcexf Structured version   Visualization version   GIF version

Theorem sbcexf 38077
Description: Move existential quantifier in and out of class substitution, with an explicit nonfree variable condition. (Contributed by Giovanni Mascellani, 29-May-2019.)
Hypothesis
Ref Expression
sbcexf.1 𝑦𝐴
Assertion
Ref Expression
sbcexf ([𝐴 / 𝑥]𝑦𝜑 ↔ ∃𝑦[𝐴 / 𝑥]𝜑)
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐴(𝑥,𝑦)

Proof of Theorem sbcexf
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 nfv 1913 . . . 4 𝑧𝜑
21sb8ef 2361 . . 3 (∃𝑦𝜑 ↔ ∃𝑧[𝑧 / 𝑦]𝜑)
32sbcbii 3865 . 2 ([𝐴 / 𝑥]𝑦𝜑[𝐴 / 𝑥]𝑧[𝑧 / 𝑦]𝜑)
4 sbcex2 3869 . 2 ([𝐴 / 𝑥]𝑧[𝑧 / 𝑦]𝜑 ↔ ∃𝑧[𝐴 / 𝑥][𝑧 / 𝑦]𝜑)
5 sbcexf.1 . . . 4 𝑦𝐴
6 nfs1v 2157 . . . 4 𝑦[𝑧 / 𝑦]𝜑
75, 6nfsbcw 3826 . . 3 𝑦[𝐴 / 𝑥][𝑧 / 𝑦]𝜑
8 nfv 1913 . . 3 𝑧[𝐴 / 𝑥]𝜑
9 sbequ12r 2253 . . . 4 (𝑧 = 𝑦 → ([𝑧 / 𝑦]𝜑𝜑))
109sbcbidv 3864 . . 3 (𝑧 = 𝑦 → ([𝐴 / 𝑥][𝑧 / 𝑦]𝜑[𝐴 / 𝑥]𝜑))
117, 8, 10cbvexv1 2348 . 2 (∃𝑧[𝐴 / 𝑥][𝑧 / 𝑦]𝜑 ↔ ∃𝑦[𝐴 / 𝑥]𝜑)
123, 4, 113bitri 297 1 ([𝐴 / 𝑥]𝑦𝜑 ↔ ∃𝑦[𝐴 / 𝑥]𝜑)
Colors of variables: wff setvar class
Syntax hints:  wb 206  wex 1777  [wsb 2064  wnfc 2893  [wsbc 3804
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-tru 1540  df-ex 1778  df-nf 1782  df-sb 2065  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-v 3490  df-sbc 3805
This theorem is referenced by:  sbcexfi  38079
  Copyright terms: Public domain W3C validator