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

Theorem csbuni 4859
Description: Distribute proper substitution through the union of a class. (Contributed by Alan Sare, 10-Nov-2012.) (Revised by NM, 22-Aug-2018.)
Assertion
Ref Expression
csbuni 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥𝐵

Proof of Theorem csbuni
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 csbab 4388 . . . 4 𝐴 / 𝑥{𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)} = {𝑧[𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵)}
2 sbcex2 3833 . . . . . 6 ([𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵) ↔ ∃𝑦[𝐴 / 𝑥](𝑧𝑦𝑦𝐵))
3 sbcan 3820 . . . . . . . 8 ([𝐴 / 𝑥](𝑧𝑦𝑦𝐵) ↔ ([𝐴 / 𝑥]𝑧𝑦[𝐴 / 𝑥]𝑦𝐵))
4 sbcg 3846 . . . . . . . . . 10 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑧𝑦𝑧𝑦))
54anbi1d 631 . . . . . . . . 9 (𝐴 ∈ V → (([𝐴 / 𝑥]𝑧𝑦[𝐴 / 𝑥]𝑦𝐵) ↔ (𝑧𝑦[𝐴 / 𝑥]𝑦𝐵)))
6 sbcel2 4366 . . . . . . . . . 10 ([𝐴 / 𝑥]𝑦𝐵𝑦𝐴 / 𝑥𝐵)
76anbi2i 624 . . . . . . . . 9 ((𝑧𝑦[𝐴 / 𝑥]𝑦𝐵) ↔ (𝑧𝑦𝑦𝐴 / 𝑥𝐵))
85, 7syl6bb 289 . . . . . . . 8 (𝐴 ∈ V → (([𝐴 / 𝑥]𝑧𝑦[𝐴 / 𝑥]𝑦𝐵) ↔ (𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
93, 8syl5bb 285 . . . . . . 7 (𝐴 ∈ V → ([𝐴 / 𝑥](𝑧𝑦𝑦𝐵) ↔ (𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
109exbidv 1918 . . . . . 6 (𝐴 ∈ V → (∃𝑦[𝐴 / 𝑥](𝑧𝑦𝑦𝐵) ↔ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
112, 10syl5bb 285 . . . . 5 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵) ↔ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
1211abbidv 2885 . . . 4 (𝐴 ∈ V → {𝑧[𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵)} = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)})
131, 12syl5eq 2868 . . 3 (𝐴 ∈ V → 𝐴 / 𝑥{𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)} = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)})
14 df-uni 4832 . . . 4 𝐵 = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)}
1514csbeq2i 3890 . . 3 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥{𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)}
16 df-uni 4832 . . 3 𝐴 / 𝑥𝐵 = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)}
1713, 15, 163eqtr4g 2881 . 2 (𝐴 ∈ V → 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥𝐵)
18 csbprc 4357 . . 3 𝐴 ∈ V → 𝐴 / 𝑥 𝐵 = ∅)
19 csbprc 4357 . . . . 5 𝐴 ∈ V → 𝐴 / 𝑥𝐵 = ∅)
2019unieqd 4841 . . . 4 𝐴 ∈ V → 𝐴 / 𝑥𝐵 = ∅)
21 uni0 4858 . . . 4 ∅ = ∅
2220, 21syl6req 2873 . . 3 𝐴 ∈ V → ∅ = 𝐴 / 𝑥𝐵)
2318, 22eqtrd 2856 . 2 𝐴 ∈ V → 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥𝐵)
2417, 23pm2.61i 184 1 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥𝐵
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 398   = wceq 1533  wex 1776  wcel 2110  {cab 2799  Vcvv 3494  [wsbc 3771  csb 3882  c0 4290   cuni 4831
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1536  df-fal 1546  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-v 3496  df-sbc 3772  df-csb 3883  df-dif 3938  df-in 3942  df-ss 3951  df-nul 4291  df-sn 4561  df-uni 4832
This theorem is referenced by:  csbwrecsg  34602  csbfv12gALTVD  41226
  Copyright terms: Public domain W3C validator