ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  sbabel GIF version

Theorem sbabel 2335
Description: Theorem to move a substitution in and out of a class abstraction. (Contributed by NM, 27-Sep-2003.) (Revised by Mario Carneiro, 7-Oct-2016.)
Hypothesis
Ref Expression
sbabel.1 𝑥𝐴
Assertion
Ref Expression
sbabel ([𝑦 / 𝑥]{𝑧𝜑} ∈ 𝐴 ↔ {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∈ 𝐴)
Distinct variable groups:   𝑥,𝑧   𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)   𝐴(𝑥,𝑦,𝑧)

Proof of Theorem sbabel
Dummy variable 𝑣 is distinct from all other variables.
StepHypRef Expression
1 sbex 1992 . . 3 ([𝑦 / 𝑥]∃𝑣(𝑣 = {𝑧𝜑} ∧ 𝑣𝐴) ↔ ∃𝑣[𝑦 / 𝑥](𝑣 = {𝑧𝜑} ∧ 𝑣𝐴))
2 sban 1943 . . . . 5 ([𝑦 / 𝑥](𝑣 = {𝑧𝜑} ∧ 𝑣𝐴) ↔ ([𝑦 / 𝑥]𝑣 = {𝑧𝜑} ∧ [𝑦 / 𝑥]𝑣𝐴))
3 nfv 1516 . . . . . . . . . 10 𝑥 𝑧𝑣
43sbf 1765 . . . . . . . . 9 ([𝑦 / 𝑥]𝑧𝑣𝑧𝑣)
54sbrbis 1949 . . . . . . . 8 ([𝑦 / 𝑥](𝑧𝑣𝜑) ↔ (𝑧𝑣 ↔ [𝑦 / 𝑥]𝜑))
65sbalv 1993 . . . . . . 7 ([𝑦 / 𝑥]∀𝑧(𝑧𝑣𝜑) ↔ ∀𝑧(𝑧𝑣 ↔ [𝑦 / 𝑥]𝜑))
7 abeq2 2275 . . . . . . . 8 (𝑣 = {𝑧𝜑} ↔ ∀𝑧(𝑧𝑣𝜑))
87sbbii 1753 . . . . . . 7 ([𝑦 / 𝑥]𝑣 = {𝑧𝜑} ↔ [𝑦 / 𝑥]∀𝑧(𝑧𝑣𝜑))
9 abeq2 2275 . . . . . . 7 (𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ↔ ∀𝑧(𝑧𝑣 ↔ [𝑦 / 𝑥]𝜑))
106, 8, 93bitr4i 211 . . . . . 6 ([𝑦 / 𝑥]𝑣 = {𝑧𝜑} ↔ 𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑})
11 sbabel.1 . . . . . . . 8 𝑥𝐴
1211nfcri 2302 . . . . . . 7 𝑥 𝑣𝐴
1312sbf 1765 . . . . . 6 ([𝑦 / 𝑥]𝑣𝐴𝑣𝐴)
1410, 13anbi12i 456 . . . . 5 (([𝑦 / 𝑥]𝑣 = {𝑧𝜑} ∧ [𝑦 / 𝑥]𝑣𝐴) ↔ (𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∧ 𝑣𝐴))
152, 14bitri 183 . . . 4 ([𝑦 / 𝑥](𝑣 = {𝑧𝜑} ∧ 𝑣𝐴) ↔ (𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∧ 𝑣𝐴))
1615exbii 1593 . . 3 (∃𝑣[𝑦 / 𝑥](𝑣 = {𝑧𝜑} ∧ 𝑣𝐴) ↔ ∃𝑣(𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∧ 𝑣𝐴))
171, 16bitri 183 . 2 ([𝑦 / 𝑥]∃𝑣(𝑣 = {𝑧𝜑} ∧ 𝑣𝐴) ↔ ∃𝑣(𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∧ 𝑣𝐴))
18 df-clel 2161 . . 3 ({𝑧𝜑} ∈ 𝐴 ↔ ∃𝑣(𝑣 = {𝑧𝜑} ∧ 𝑣𝐴))
1918sbbii 1753 . 2 ([𝑦 / 𝑥]{𝑧𝜑} ∈ 𝐴 ↔ [𝑦 / 𝑥]∃𝑣(𝑣 = {𝑧𝜑} ∧ 𝑣𝐴))
20 df-clel 2161 . 2 ({𝑧 ∣ [𝑦 / 𝑥]𝜑} ∈ 𝐴 ↔ ∃𝑣(𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∧ 𝑣𝐴))
2117, 19, 203bitr4i 211 1 ([𝑦 / 𝑥]{𝑧𝜑} ∈ 𝐴 ↔ {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∈ 𝐴)
Colors of variables: wff set class
Syntax hints:  wa 103  wb 104  wal 1341   = wceq 1343  wex 1480  [wsb 1750  wcel 2136  {cab 2151  wnfc 2295
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-ext 2147
This theorem depends on definitions:  df-bi 116  df-nf 1449  df-sb 1751  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator