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

Theorem sbcabel 2895
Description: Interchange class substitution and class abstraction. (Contributed by NM, 5-Nov-2005.)
Hypothesis
Ref Expression
sbcabel.1 𝑥𝐵
Assertion
Ref Expression
sbcabel (𝐴𝑉 → ([𝐴 / 𝑥]{𝑦𝜑} ∈ 𝐵 ↔ {𝑦[𝐴 / 𝑥]𝜑} ∈ 𝐵))
Distinct variable groups:   𝑦,𝐴   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐴(𝑥)   𝐵(𝑥,𝑦)   𝑉(𝑥,𝑦)

Proof of Theorem sbcabel
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 elex 2610 . 2 (𝐴𝑉𝐴 ∈ V)
2 sbcexg 2868 . . . 4 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑤(𝑤 = {𝑦𝜑} ∧ 𝑤𝐵) ↔ ∃𝑤[𝐴 / 𝑥](𝑤 = {𝑦𝜑} ∧ 𝑤𝐵)))
3 sbcang 2857 . . . . . 6 (𝐴 ∈ V → ([𝐴 / 𝑥](𝑤 = {𝑦𝜑} ∧ 𝑤𝐵) ↔ ([𝐴 / 𝑥]𝑤 = {𝑦𝜑} ∧ [𝐴 / 𝑥]𝑤𝐵)))
4 sbcalg 2866 . . . . . . . . 9 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑦(𝑦𝑤𝜑) ↔ ∀𝑦[𝐴 / 𝑥](𝑦𝑤𝜑)))
5 sbcbig 2860 . . . . . . . . . . 11 (𝐴 ∈ V → ([𝐴 / 𝑥](𝑦𝑤𝜑) ↔ ([𝐴 / 𝑥]𝑦𝑤[𝐴 / 𝑥]𝜑)))
6 sbcg 2883 . . . . . . . . . . . 12 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑦𝑤𝑦𝑤))
76bibi1d 231 . . . . . . . . . . 11 (𝐴 ∈ V → (([𝐴 / 𝑥]𝑦𝑤[𝐴 / 𝑥]𝜑) ↔ (𝑦𝑤[𝐴 / 𝑥]𝜑)))
85, 7bitrd 186 . . . . . . . . . 10 (𝐴 ∈ V → ([𝐴 / 𝑥](𝑦𝑤𝜑) ↔ (𝑦𝑤[𝐴 / 𝑥]𝜑)))
98albidv 1745 . . . . . . . . 9 (𝐴 ∈ V → (∀𝑦[𝐴 / 𝑥](𝑦𝑤𝜑) ↔ ∀𝑦(𝑦𝑤[𝐴 / 𝑥]𝜑)))
104, 9bitrd 186 . . . . . . . 8 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑦(𝑦𝑤𝜑) ↔ ∀𝑦(𝑦𝑤[𝐴 / 𝑥]𝜑)))
11 abeq2 2187 . . . . . . . . 9 (𝑤 = {𝑦𝜑} ↔ ∀𝑦(𝑦𝑤𝜑))
1211sbcbii 2873 . . . . . . . 8 ([𝐴 / 𝑥]𝑤 = {𝑦𝜑} ↔ [𝐴 / 𝑥]𝑦(𝑦𝑤𝜑))
13 abeq2 2187 . . . . . . . 8 (𝑤 = {𝑦[𝐴 / 𝑥]𝜑} ↔ ∀𝑦(𝑦𝑤[𝐴 / 𝑥]𝜑))
1410, 12, 133bitr4g 221 . . . . . . 7 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑤 = {𝑦𝜑} ↔ 𝑤 = {𝑦[𝐴 / 𝑥]𝜑}))
15 sbcabel.1 . . . . . . . . 9 𝑥𝐵
1615nfcri 2213 . . . . . . . 8 𝑥 𝑤𝐵
1716sbcgf 2881 . . . . . . 7 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑤𝐵𝑤𝐵))
1814, 17anbi12d 456 . . . . . 6 (𝐴 ∈ V → (([𝐴 / 𝑥]𝑤 = {𝑦𝜑} ∧ [𝐴 / 𝑥]𝑤𝐵) ↔ (𝑤 = {𝑦[𝐴 / 𝑥]𝜑} ∧ 𝑤𝐵)))
193, 18bitrd 186 . . . . 5 (𝐴 ∈ V → ([𝐴 / 𝑥](𝑤 = {𝑦𝜑} ∧ 𝑤𝐵) ↔ (𝑤 = {𝑦[𝐴 / 𝑥]𝜑} ∧ 𝑤𝐵)))
2019exbidv 1746 . . . 4 (𝐴 ∈ V → (∃𝑤[𝐴 / 𝑥](𝑤 = {𝑦𝜑} ∧ 𝑤𝐵) ↔ ∃𝑤(𝑤 = {𝑦[𝐴 / 𝑥]𝜑} ∧ 𝑤𝐵)))
212, 20bitrd 186 . . 3 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑤(𝑤 = {𝑦𝜑} ∧ 𝑤𝐵) ↔ ∃𝑤(𝑤 = {𝑦[𝐴 / 𝑥]𝜑} ∧ 𝑤𝐵)))
22 df-clel 2077 . . . 4 ({𝑦𝜑} ∈ 𝐵 ↔ ∃𝑤(𝑤 = {𝑦𝜑} ∧ 𝑤𝐵))
2322sbcbii 2873 . . 3 ([𝐴 / 𝑥]{𝑦𝜑} ∈ 𝐵[𝐴 / 𝑥]𝑤(𝑤 = {𝑦𝜑} ∧ 𝑤𝐵))
24 df-clel 2077 . . 3 ({𝑦[𝐴 / 𝑥]𝜑} ∈ 𝐵 ↔ ∃𝑤(𝑤 = {𝑦[𝐴 / 𝑥]𝜑} ∧ 𝑤𝐵))
2521, 23, 243bitr4g 221 . 2 (𝐴 ∈ V → ([𝐴 / 𝑥]{𝑦𝜑} ∈ 𝐵 ↔ {𝑦[𝐴 / 𝑥]𝜑} ∈ 𝐵))
261, 25syl 14 1 (𝐴𝑉 → ([𝐴 / 𝑥]{𝑦𝜑} ∈ 𝐵 ↔ {𝑦[𝐴 / 𝑥]𝜑} ∈ 𝐵))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102  wb 103  wal 1282   = wceq 1284  wex 1421  wcel 1433  {cab 2067  wnfc 2206  Vcvv 2601  [wsbc 2815
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063
This theorem depends on definitions:  df-bi 115  df-tru 1287  df-nf 1390  df-sb 1686  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-v 2603  df-sbc 2816
This theorem is referenced by:  csbexga  3906
  Copyright terms: Public domain W3C validator