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 39015
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 1947 . . . 4 Ⅎ𝑧𝜑
21sb8ef 2385 . . 3 (∃𝑦𝜑 ↔ ∃𝑧[𝑧 / 𝑦]𝜑)
32sbcbii 3795 . 2 ([𝐴 / 𝑥]∃𝑦𝜑 ↔ [𝐴 / 𝑥]∃𝑧[𝑧 / 𝑦]𝜑)
4 sbcex2 3799 . 2 ([𝐴 / 𝑥]∃𝑧[𝑧 / 𝑦]𝜑 ↔ ∃𝑧[𝐴 / 𝑥][𝑧 / 𝑦]𝜑)
5 sbcexf.1 . . . 4 Ⅎ𝑦𝐴
6 nfs1v 2193 . . . 4 Ⅎ𝑦[𝑧 / 𝑦]𝜑
75, 6nfsbcw 3761 . . 3 Ⅎ𝑦[𝐴 / 𝑥][𝑧 / 𝑦]𝜑
8 nfv 1947 . . 3 Ⅎ𝑧[𝐴 / 𝑥]𝜑
9 sbequ12r 2288 . . . 4 (𝑧 = 𝑦 → ([𝑧 / 𝑦]𝜑 ↔ 𝜑))
109sbcbidv 3794 . . 3 (𝑧 = 𝑦 → ([𝐴 / 𝑥][𝑧 / 𝑦]𝜑 ↔ [𝐴 / 𝑥]𝜑))
117, 8, 10cbvexv1 2372 . 2 (∃𝑧[𝐴 / 𝑥][𝑧 / 𝑦]𝜑 ↔ ∃𝑦[𝐴 / 𝑥]𝜑)
123, 4, 113bitri 300 1 ([𝐴 / 𝑥]∃𝑦𝜑 ↔ ∃𝑦[𝐴 / 𝑥]𝜑)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209  ∃wex 1812  [wsb 2099  Ⅎwnfc 2908  [wsbc 3739
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-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733
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-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-v 3453  df-sbc 3740
This theorem is used by:  sbcexfi  39017
  Copyright terms: Public domain W3C validator