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

Theorem csbopab 5499
Description: Move substitution into a class abstraction. Version of csbopabgALT 5500 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 3846 . . . 4 (𝑤 = 𝐴𝑤 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑})
2 dfsbcq2 3730 . . . . 5 (𝑤 = 𝐴 → ([𝑤 / 𝑥]𝜑[𝐴 / 𝑥]𝜑))
32opabbidv 5158 . . . 4 (𝑤 = 𝐴 → {⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑})
41, 3eqeq12d 2752 . . 3 (𝑤 = 𝐴 → (𝑤 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑} ↔ 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑}))
5 vex 3445 . . . 4 𝑤 ∈ V
6 nfs1v 2152 . . . . 5 𝑥[𝑤 / 𝑥]𝜑
76nfopab 5161 . . . 4 𝑥{⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑}
8 sbequ12 2243 . . . . 5 (𝑥 = 𝑤 → (𝜑 ↔ [𝑤 / 𝑥]𝜑))
98opabbidv 5158 . . . 4 (𝑥 = 𝑤 → {⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑})
105, 7, 9csbief 3878 . . 3 𝑤 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑}
114, 10vtoclg 3514 . 2 (𝐴 ∈ V → 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑})
12 csbprc 4353 . . 3 𝐴 ∈ V → 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = ∅)
13 sbcex 3737 . . . . . . 7 ([𝐴 / 𝑥]𝜑𝐴 ∈ V)
1413con3i 154 . . . . . 6 𝐴 ∈ V → ¬ [𝐴 / 𝑥]𝜑)
1514nexdv 1938 . . . . 5 𝐴 ∈ V → ¬ ∃𝑧[𝐴 / 𝑥]𝜑)
1615nexdv 1938 . . . 4 𝐴 ∈ V → ¬ ∃𝑦𝑧[𝐴 / 𝑥]𝜑)
17 opabn0 5497 . . . . 5 ({⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑} ≠ ∅ ↔ ∃𝑦𝑧[𝐴 / 𝑥]𝜑)
1817necon1bbii 2990 . . . 4 (¬ ∃𝑦𝑧[𝐴 / 𝑥]𝜑 ↔ {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑} = ∅)
1916, 18sylib 217 . . 3 𝐴 ∈ V → {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑} = ∅)
2012, 19eqtr4d 2779 . 2 𝐴 ∈ V → 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑})
2111, 20pm2.61i 182 1 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1540  wex 1780  [wsb 2066  wcel 2105  Vcvv 3441  [wsbc 3727  csb 3843  c0 4269  {copab 5154
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2707  ax-sep 5243  ax-nul 5250  ax-pr 5372
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2886  df-ne 2941  df-v 3443  df-sbc 3728  df-csb 3844  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-nul 4270  df-if 4474  df-sn 4574  df-pr 4576  df-op 4580  df-opab 5155
This theorem is referenced by:  csbmpt12  5501  csbcnv  5825
  Copyright terms: Public domain W3C validator