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

Theorem csbopab 5555
Description: Move substitution into a class abstraction. Version of csbopabgALT 5556 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 3896 . . . 4 (𝑤 = 𝐴𝑤 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑})
2 dfsbcq2 3780 . . . . 5 (𝑤 = 𝐴 → ([𝑤 / 𝑥]𝜑[𝐴 / 𝑥]𝜑))
32opabbidv 5214 . . . 4 (𝑤 = 𝐴 → {⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑})
41, 3eqeq12d 2748 . . 3 (𝑤 = 𝐴 → (𝑤 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑} ↔ 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑}))
5 vex 3478 . . . 4 𝑤 ∈ V
6 nfs1v 2153 . . . . 5 𝑥[𝑤 / 𝑥]𝜑
76nfopab 5217 . . . 4 𝑥{⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑}
8 sbequ12 2243 . . . . 5 (𝑥 = 𝑤 → (𝜑 ↔ [𝑤 / 𝑥]𝜑))
98opabbidv 5214 . . . 4 (𝑥 = 𝑤 → {⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑})
105, 7, 9csbief 3928 . . 3 𝑤 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑}
114, 10vtoclg 3556 . 2 (𝐴 ∈ V → 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑})
12 csbprc 4406 . . 3 𝐴 ∈ V → 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = ∅)
13 sbcex 3787 . . . . . . 7 ([𝐴 / 𝑥]𝜑𝐴 ∈ V)
1413con3i 154 . . . . . 6 𝐴 ∈ V → ¬ [𝐴 / 𝑥]𝜑)
1514nexdv 1939 . . . . 5 𝐴 ∈ V → ¬ ∃𝑧[𝐴 / 𝑥]𝜑)
1615nexdv 1939 . . . 4 𝐴 ∈ V → ¬ ∃𝑦𝑧[𝐴 / 𝑥]𝜑)
17 opabn0 5553 . . . . 5 ({⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑} ≠ ∅ ↔ ∃𝑦𝑧[𝐴 / 𝑥]𝜑)
1817necon1bbii 2990 . . . 4 (¬ ∃𝑦𝑧[𝐴 / 𝑥]𝜑 ↔ {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑} = ∅)
1916, 18sylib 217 . . 3 𝐴 ∈ V → {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑} = ∅)
2012, 19eqtr4d 2775 . 2 𝐴 ∈ V → 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑})
2111, 20pm2.61i 182 1 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1541  wex 1781  [wsb 2067  wcel 2106  Vcvv 3474  [wsbc 3777  csb 3893  c0 4322  {copab 5210
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2703  ax-sep 5299  ax-nul 5306  ax-pr 5427
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-clab 2710  df-cleq 2724  df-clel 2810  df-nfc 2885  df-ne 2941  df-v 3476  df-sbc 3778  df-csb 3894  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-nul 4323  df-if 4529  df-sn 4629  df-pr 4631  df-op 4635  df-opab 5211
This theorem is referenced by:  csbmpt12  5557  csbcnv  5883
  Copyright terms: Public domain W3C validator