MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  csbopab Structured version   Visualization version   GIF version

Theorem csbopab 5295
Description: Move substitution into a class abstraction. Version of csbopabgALT 5296 without a sethood antecedent but depending on more axioms. (Contributed by NM, 6-Aug-2007.) (Revised by NM, 23-Aug-2018.)
Assertion
Ref Expression
csbopab 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑}
Distinct variable groups:   𝑦,𝑧,𝐴   𝑥,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)   𝐴(𝑥)

Proof of Theorem csbopab
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 csbeq1 3791 . . . 4 (𝑤 = 𝐴𝑤 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑})
2 dfsbcq2 3686 . . . . 5 (𝑤 = 𝐴 → ([𝑤 / 𝑥]𝜑[𝐴 / 𝑥]𝜑))
32opabbidv 4996 . . . 4 (𝑤 = 𝐴 → {⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑})
41, 3eqeq12d 2793 . . 3 (𝑤 = 𝐴 → (𝑤 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑} ↔ 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑}))
5 vex 3418 . . . 4 𝑤 ∈ V
6 nfs1v 2202 . . . . 5 𝑥[𝑤 / 𝑥]𝜑
76nfopab 4998 . . . 4 𝑥{⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑}
8 sbequ12 2179 . . . . 5 (𝑥 = 𝑤 → (𝜑 ↔ [𝑤 / 𝑥]𝜑))
98opabbidv 4996 . . . 4 (𝑥 = 𝑤 → {⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑})
105, 7, 9csbief 3815 . . 3 𝑤 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑}
114, 10vtoclg 3486 . 2 (𝐴 ∈ V → 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑})
12 csbprc 4245 . . 3 𝐴 ∈ V → 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = ∅)
13 sbcex 3693 . . . . . . 7 ([𝐴 / 𝑥]𝜑𝐴 ∈ V)
1413con3i 152 . . . . . 6 𝐴 ∈ V → ¬ [𝐴 / 𝑥]𝜑)
1514nexdv 1895 . . . . 5 𝐴 ∈ V → ¬ ∃𝑧[𝐴 / 𝑥]𝜑)
1615nexdv 1895 . . . 4 𝐴 ∈ V → ¬ ∃𝑦𝑧[𝐴 / 𝑥]𝜑)
17 opabn0 5293 . . . . 5 ({⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑} ≠ ∅ ↔ ∃𝑦𝑧[𝐴 / 𝑥]𝜑)
1817necon1bbii 3016 . . . 4 (¬ ∃𝑦𝑧[𝐴 / 𝑥]𝜑 ↔ {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑} = ∅)
1916, 18sylib 210 . . 3 𝐴 ∈ V → {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑} = ∅)
2012, 19eqtr4d 2817 . 2 𝐴 ∈ V → 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑})
2111, 20pm2.61i 177 1 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1507  wex 1742  [wsb 2015  wcel 2050  Vcvv 3415  [wsbc 3683  csb 3788  c0 4180  {copab 4992
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1758  ax-4 1772  ax-5 1869  ax-6 1928  ax-7 1965  ax-8 2052  ax-9 2059  ax-10 2079  ax-11 2093  ax-12 2106  ax-13 2301  ax-ext 2750  ax-sep 5061  ax-nul 5068  ax-pr 5187
This theorem depends on definitions:  df-bi 199  df-an 388  df-or 834  df-3an 1070  df-tru 1510  df-fal 1520  df-ex 1743  df-nf 1747  df-sb 2016  df-clab 2759  df-cleq 2771  df-clel 2846  df-nfc 2918  df-ne 2968  df-v 3417  df-sbc 3684  df-csb 3789  df-dif 3834  df-un 3836  df-in 3838  df-ss 3845  df-nul 4181  df-if 4352  df-sn 4443  df-pr 4445  df-op 4449  df-opab 4993
This theorem is referenced by:  csbmpt12  5297  csbcnv  5605
  Copyright terms: Public domain W3C validator