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

Theorem csbopab 5008
Description: Move substitution into a class abstraction. Version of csbopabgALT 5009 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 3536 . . . 4 (𝑤 = 𝐴𝑤 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑})
2 dfsbcq2 3438 . . . . 5 (𝑤 = 𝐴 → ([𝑤 / 𝑥]𝜑[𝐴 / 𝑥]𝜑))
32opabbidv 4716 . . . 4 (𝑤 = 𝐴 → {⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑})
41, 3eqeq12d 2637 . . 3 (𝑤 = 𝐴 → (𝑤 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑} ↔ 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑}))
5 vex 3203 . . . 4 𝑤 ∈ V
6 nfs1v 2437 . . . . 5 𝑥[𝑤 / 𝑥]𝜑
76nfopab 4718 . . . 4 𝑥{⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑}
8 sbequ12 2111 . . . . 5 (𝑥 = 𝑤 → (𝜑 ↔ [𝑤 / 𝑥]𝜑))
98opabbidv 4716 . . . 4 (𝑥 = 𝑤 → {⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑})
105, 7, 9csbief 3558 . . 3 𝑤 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝑤 / 𝑥]𝜑}
114, 10vtoclg 3266 . 2 (𝐴 ∈ V → 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑})
12 csbprc 3980 . . 3 𝐴 ∈ V → 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = ∅)
13 sbcex 3445 . . . . . . 7 ([𝐴 / 𝑥]𝜑𝐴 ∈ V)
1413con3i 150 . . . . . 6 𝐴 ∈ V → ¬ [𝐴 / 𝑥]𝜑)
1514nexdv 1864 . . . . 5 𝐴 ∈ V → ¬ ∃𝑧[𝐴 / 𝑥]𝜑)
1615nexdv 1864 . . . 4 𝐴 ∈ V → ¬ ∃𝑦𝑧[𝐴 / 𝑥]𝜑)
17 opabn0 5006 . . . . 5 ({⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑} ≠ ∅ ↔ ∃𝑦𝑧[𝐴 / 𝑥]𝜑)
1817necon1bbii 2843 . . . 4 (¬ ∃𝑦𝑧[𝐴 / 𝑥]𝜑 ↔ {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑} = ∅)
1916, 18sylib 208 . . 3 𝐴 ∈ V → {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑} = ∅)
2012, 19eqtr4d 2659 . 2 𝐴 ∈ V → 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑})
2111, 20pm2.61i 176 1 𝐴 / 𝑥{⟨𝑦, 𝑧⟩ ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ [𝐴 / 𝑥]𝜑}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1483  wex 1704  [wsb 1880  wcel 1990  Vcvv 3200  [wsbc 3435  csb 3533  c0 3915  {copab 4712
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-fal 1489  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-opab 4713
This theorem is referenced by:  csbmpt12  5010  csbcnv  5306
  Copyright terms: Public domain W3C validator