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

Theorem sbabel 2339
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 1997 . . 3 ([𝑦 / 𝑥]∃𝑣(𝑣 = {𝑧𝜑} ∧ 𝑣𝐴) ↔ ∃𝑣[𝑦 / 𝑥](𝑣 = {𝑧𝜑} ∧ 𝑣𝐴))
2 sban 1948 . . . . 5 ([𝑦 / 𝑥](𝑣 = {𝑧𝜑} ∧ 𝑣𝐴) ↔ ([𝑦 / 𝑥]𝑣 = {𝑧𝜑} ∧ [𝑦 / 𝑥]𝑣𝐴))
3 nfv 1521 . . . . . . . . . 10 𝑥 𝑧𝑣
43sbf 1770 . . . . . . . . 9 ([𝑦 / 𝑥]𝑧𝑣𝑧𝑣)
54sbrbis 1954 . . . . . . . 8 ([𝑦 / 𝑥](𝑧𝑣𝜑) ↔ (𝑧𝑣 ↔ [𝑦 / 𝑥]𝜑))
65sbalv 1998 . . . . . . 7 ([𝑦 / 𝑥]∀𝑧(𝑧𝑣𝜑) ↔ ∀𝑧(𝑧𝑣 ↔ [𝑦 / 𝑥]𝜑))
7 abeq2 2279 . . . . . . . 8 (𝑣 = {𝑧𝜑} ↔ ∀𝑧(𝑧𝑣𝜑))
87sbbii 1758 . . . . . . 7 ([𝑦 / 𝑥]𝑣 = {𝑧𝜑} ↔ [𝑦 / 𝑥]∀𝑧(𝑧𝑣𝜑))
9 abeq2 2279 . . . . . . 7 (𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ↔ ∀𝑧(𝑧𝑣 ↔ [𝑦 / 𝑥]𝜑))
106, 8, 93bitr4i 211 . . . . . 6 ([𝑦 / 𝑥]𝑣 = {𝑧𝜑} ↔ 𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑})
11 sbabel.1 . . . . . . . 8 𝑥𝐴
1211nfcri 2306 . . . . . . 7 𝑥 𝑣𝐴
1312sbf 1770 . . . . . 6 ([𝑦 / 𝑥]𝑣𝐴𝑣𝐴)
1410, 13anbi12i 457 . . . . 5 (([𝑦 / 𝑥]𝑣 = {𝑧𝜑} ∧ [𝑦 / 𝑥]𝑣𝐴) ↔ (𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∧ 𝑣𝐴))
152, 14bitri 183 . . . 4 ([𝑦 / 𝑥](𝑣 = {𝑧𝜑} ∧ 𝑣𝐴) ↔ (𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∧ 𝑣𝐴))
1615exbii 1598 . . 3 (∃𝑣[𝑦 / 𝑥](𝑣 = {𝑧𝜑} ∧ 𝑣𝐴) ↔ ∃𝑣(𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∧ 𝑣𝐴))
171, 16bitri 183 . 2 ([𝑦 / 𝑥]∃𝑣(𝑣 = {𝑧𝜑} ∧ 𝑣𝐴) ↔ ∃𝑣(𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∧ 𝑣𝐴))
18 df-clel 2166 . . 3 ({𝑧𝜑} ∈ 𝐴 ↔ ∃𝑣(𝑣 = {𝑧𝜑} ∧ 𝑣𝐴))
1918sbbii 1758 . 2 ([𝑦 / 𝑥]{𝑧𝜑} ∈ 𝐴 ↔ [𝑦 / 𝑥]∃𝑣(𝑣 = {𝑧𝜑} ∧ 𝑣𝐴))
20 df-clel 2166 . 2 ({𝑧 ∣ [𝑦 / 𝑥]𝜑} ∈ 𝐴 ↔ ∃𝑣(𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∧ 𝑣𝐴))
2117, 19, 203bitr4i 211 1 ([𝑦 / 𝑥]{𝑧𝜑} ∈ 𝐴 ↔ {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∈ 𝐴)
Colors of variables: wff set class
Syntax hints:  wa 103  wb 104  wal 1346   = wceq 1348  wex 1485  [wsb 1755  wcel 2141  {cab 2156  wnfc 2299
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 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-ext 2152
This theorem depends on definitions:  df-bi 116  df-nf 1454  df-sb 1756  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator