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

Theorem sbcabel 2985
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 2692 . 2 (𝐴𝑉𝐴 ∈ V)
2 sbcexg 2958 . . . 4 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑤(𝑤 = {𝑦𝜑} ∧ 𝑤𝐵) ↔ ∃𝑤[𝐴 / 𝑥](𝑤 = {𝑦𝜑} ∧ 𝑤𝐵)))
3 sbcang 2947 . . . . . 6 (𝐴 ∈ V → ([𝐴 / 𝑥](𝑤 = {𝑦𝜑} ∧ 𝑤𝐵) ↔ ([𝐴 / 𝑥]𝑤 = {𝑦𝜑} ∧ [𝐴 / 𝑥]𝑤𝐵)))
4 sbcalg 2956 . . . . . . . . 9 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑦(𝑦𝑤𝜑) ↔ ∀𝑦[𝐴 / 𝑥](𝑦𝑤𝜑)))
5 sbcbig 2950 . . . . . . . . . . 11 (𝐴 ∈ V → ([𝐴 / 𝑥](𝑦𝑤𝜑) ↔ ([𝐴 / 𝑥]𝑦𝑤[𝐴 / 𝑥]𝜑)))
6 sbcg 2973 . . . . . . . . . . . 12 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑦𝑤𝑦𝑤))
76bibi1d 232 . . . . . . . . . . 11 (𝐴 ∈ V → (([𝐴 / 𝑥]𝑦𝑤[𝐴 / 𝑥]𝜑) ↔ (𝑦𝑤[𝐴 / 𝑥]𝜑)))
85, 7bitrd 187 . . . . . . . . . 10 (𝐴 ∈ V → ([𝐴 / 𝑥](𝑦𝑤𝜑) ↔ (𝑦𝑤[𝐴 / 𝑥]𝜑)))
98albidv 1796 . . . . . . . . 9 (𝐴 ∈ V → (∀𝑦[𝐴 / 𝑥](𝑦𝑤𝜑) ↔ ∀𝑦(𝑦𝑤[𝐴 / 𝑥]𝜑)))
104, 9bitrd 187 . . . . . . . 8 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑦(𝑦𝑤𝜑) ↔ ∀𝑦(𝑦𝑤[𝐴 / 𝑥]𝜑)))
11 abeq2 2246 . . . . . . . . 9 (𝑤 = {𝑦𝜑} ↔ ∀𝑦(𝑦𝑤𝜑))
1211sbcbii 2963 . . . . . . . 8 ([𝐴 / 𝑥]𝑤 = {𝑦𝜑} ↔ [𝐴 / 𝑥]𝑦(𝑦𝑤𝜑))
13 abeq2 2246 . . . . . . . 8 (𝑤 = {𝑦[𝐴 / 𝑥]𝜑} ↔ ∀𝑦(𝑦𝑤[𝐴 / 𝑥]𝜑))
1410, 12, 133bitr4g 222 . . . . . . 7 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑤 = {𝑦𝜑} ↔ 𝑤 = {𝑦[𝐴 / 𝑥]𝜑}))
15 sbcabel.1 . . . . . . . . 9 𝑥𝐵
1615nfcri 2273 . . . . . . . 8 𝑥 𝑤𝐵
1716sbcgf 2971 . . . . . . 7 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑤𝐵𝑤𝐵))
1814, 17anbi12d 464 . . . . . 6 (𝐴 ∈ V → (([𝐴 / 𝑥]𝑤 = {𝑦𝜑} ∧ [𝐴 / 𝑥]𝑤𝐵) ↔ (𝑤 = {𝑦[𝐴 / 𝑥]𝜑} ∧ 𝑤𝐵)))
193, 18bitrd 187 . . . . 5 (𝐴 ∈ V → ([𝐴 / 𝑥](𝑤 = {𝑦𝜑} ∧ 𝑤𝐵) ↔ (𝑤 = {𝑦[𝐴 / 𝑥]𝜑} ∧ 𝑤𝐵)))
2019exbidv 1797 . . . 4 (𝐴 ∈ V → (∃𝑤[𝐴 / 𝑥](𝑤 = {𝑦𝜑} ∧ 𝑤𝐵) ↔ ∃𝑤(𝑤 = {𝑦[𝐴 / 𝑥]𝜑} ∧ 𝑤𝐵)))
212, 20bitrd 187 . . 3 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑤(𝑤 = {𝑦𝜑} ∧ 𝑤𝐵) ↔ ∃𝑤(𝑤 = {𝑦[𝐴 / 𝑥]𝜑} ∧ 𝑤𝐵)))
22 df-clel 2133 . . . 4 ({𝑦𝜑} ∈ 𝐵 ↔ ∃𝑤(𝑤 = {𝑦𝜑} ∧ 𝑤𝐵))
2322sbcbii 2963 . . 3 ([𝐴 / 𝑥]{𝑦𝜑} ∈ 𝐵[𝐴 / 𝑥]𝑤(𝑤 = {𝑦𝜑} ∧ 𝑤𝐵))
24 df-clel 2133 . . 3 ({𝑦[𝐴 / 𝑥]𝜑} ∈ 𝐵 ↔ ∃𝑤(𝑤 = {𝑦[𝐴 / 𝑥]𝜑} ∧ 𝑤𝐵))
2521, 23, 243bitr4g 222 . 2 (𝐴 ∈ V → ([𝐴 / 𝑥]{𝑦𝜑} ∈ 𝐵 ↔ {𝑦[𝐴 / 𝑥]𝜑} ∈ 𝐵))
261, 25syl 14 1 (𝐴𝑉 → ([𝐴 / 𝑥]{𝑦𝜑} ∈ 𝐵 ↔ {𝑦[𝐴 / 𝑥]𝜑} ∈ 𝐵))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1329   = wceq 1331  wex 1468  wcel 1480  {cab 2123  wnfc 2266  Vcvv 2681  [wsbc 2904
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 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119
This theorem depends on definitions:  df-bi 116  df-tru 1334  df-nf 1437  df-sb 1736  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-v 2683  df-sbc 2905
This theorem is referenced by:  csbexga  4051
  Copyright terms: Public domain W3C validator