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

Theorem sbabel 2308
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 1980 . . 3 ([𝑦 / 𝑥]∃𝑣(𝑣 = {𝑧𝜑} ∧ 𝑣𝐴) ↔ ∃𝑣[𝑦 / 𝑥](𝑣 = {𝑧𝜑} ∧ 𝑣𝐴))
2 sban 1929 . . . . 5 ([𝑦 / 𝑥](𝑣 = {𝑧𝜑} ∧ 𝑣𝐴) ↔ ([𝑦 / 𝑥]𝑣 = {𝑧𝜑} ∧ [𝑦 / 𝑥]𝑣𝐴))
3 nfv 1509 . . . . . . . . . 10 𝑥 𝑧𝑣
43sbf 1751 . . . . . . . . 9 ([𝑦 / 𝑥]𝑧𝑣𝑧𝑣)
54sbrbis 1935 . . . . . . . 8 ([𝑦 / 𝑥](𝑧𝑣𝜑) ↔ (𝑧𝑣 ↔ [𝑦 / 𝑥]𝜑))
65sbalv 1981 . . . . . . 7 ([𝑦 / 𝑥]∀𝑧(𝑧𝑣𝜑) ↔ ∀𝑧(𝑧𝑣 ↔ [𝑦 / 𝑥]𝜑))
7 abeq2 2249 . . . . . . . 8 (𝑣 = {𝑧𝜑} ↔ ∀𝑧(𝑧𝑣𝜑))
87sbbii 1739 . . . . . . 7 ([𝑦 / 𝑥]𝑣 = {𝑧𝜑} ↔ [𝑦 / 𝑥]∀𝑧(𝑧𝑣𝜑))
9 abeq2 2249 . . . . . . 7 (𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ↔ ∀𝑧(𝑧𝑣 ↔ [𝑦 / 𝑥]𝜑))
106, 8, 93bitr4i 211 . . . . . 6 ([𝑦 / 𝑥]𝑣 = {𝑧𝜑} ↔ 𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑})
11 sbabel.1 . . . . . . . 8 𝑥𝐴
1211nfcri 2276 . . . . . . 7 𝑥 𝑣𝐴
1312sbf 1751 . . . . . 6 ([𝑦 / 𝑥]𝑣𝐴𝑣𝐴)
1410, 13anbi12i 456 . . . . 5 (([𝑦 / 𝑥]𝑣 = {𝑧𝜑} ∧ [𝑦 / 𝑥]𝑣𝐴) ↔ (𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∧ 𝑣𝐴))
152, 14bitri 183 . . . 4 ([𝑦 / 𝑥](𝑣 = {𝑧𝜑} ∧ 𝑣𝐴) ↔ (𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∧ 𝑣𝐴))
1615exbii 1585 . . 3 (∃𝑣[𝑦 / 𝑥](𝑣 = {𝑧𝜑} ∧ 𝑣𝐴) ↔ ∃𝑣(𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∧ 𝑣𝐴))
171, 16bitri 183 . 2 ([𝑦 / 𝑥]∃𝑣(𝑣 = {𝑧𝜑} ∧ 𝑣𝐴) ↔ ∃𝑣(𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∧ 𝑣𝐴))
18 df-clel 2136 . . 3 ({𝑧𝜑} ∈ 𝐴 ↔ ∃𝑣(𝑣 = {𝑧𝜑} ∧ 𝑣𝐴))
1918sbbii 1739 . 2 ([𝑦 / 𝑥]{𝑧𝜑} ∈ 𝐴 ↔ [𝑦 / 𝑥]∃𝑣(𝑣 = {𝑧𝜑} ∧ 𝑣𝐴))
20 df-clel 2136 . 2 ({𝑧 ∣ [𝑦 / 𝑥]𝜑} ∈ 𝐴 ↔ ∃𝑣(𝑣 = {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∧ 𝑣𝐴))
2117, 19, 203bitr4i 211 1 ([𝑦 / 𝑥]{𝑧𝜑} ∈ 𝐴 ↔ {𝑧 ∣ [𝑦 / 𝑥]𝜑} ∈ 𝐴)
Colors of variables: wff set class
Syntax hints:  wa 103  wb 104  wal 1330   = wceq 1332  wex 1469  wcel 1481  [wsb 1736  {cab 2126  wnfc 2269
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 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122
This theorem depends on definitions:  df-bi 116  df-nf 1438  df-sb 1737  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator