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

Theorem csbuni 4867
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 4368 . . . 4 𝐴 / 𝑥{𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)} = {𝑧[𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵)}
2 sbcex2 3777 . . . . . 6 ([𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵) ↔ ∃𝑦[𝐴 / 𝑥](𝑧𝑦𝑦𝐵))
3 sbcan 3763 . . . . . . . 8 ([𝐴 / 𝑥](𝑧𝑦𝑦𝐵) ↔ ([𝐴 / 𝑥]𝑧𝑦[𝐴 / 𝑥]𝑦𝐵))
4 sbcg 3791 . . . . . . . . . 10 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑧𝑦𝑧𝑦))
54anbi1d 629 . . . . . . . . 9 (𝐴 ∈ V → (([𝐴 / 𝑥]𝑧𝑦[𝐴 / 𝑥]𝑦𝐵) ↔ (𝑧𝑦[𝐴 / 𝑥]𝑦𝐵)))
6 sbcel2 4346 . . . . . . . . . 10 ([𝐴 / 𝑥]𝑦𝐵𝑦𝐴 / 𝑥𝐵)
76anbi2i 622 . . . . . . . . 9 ((𝑧𝑦[𝐴 / 𝑥]𝑦𝐵) ↔ (𝑧𝑦𝑦𝐴 / 𝑥𝐵))
85, 7bitrdi 286 . . . . . . . 8 (𝐴 ∈ V → (([𝐴 / 𝑥]𝑧𝑦[𝐴 / 𝑥]𝑦𝐵) ↔ (𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
93, 8syl5bb 282 . . . . . . 7 (𝐴 ∈ V → ([𝐴 / 𝑥](𝑧𝑦𝑦𝐵) ↔ (𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
109exbidv 1925 . . . . . 6 (𝐴 ∈ V → (∃𝑦[𝐴 / 𝑥](𝑧𝑦𝑦𝐵) ↔ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
112, 10syl5bb 282 . . . . 5 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵) ↔ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
1211abbidv 2808 . . . 4 (𝐴 ∈ V → {𝑧[𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵)} = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)})
131, 12eqtrid 2790 . . 3 (𝐴 ∈ V → 𝐴 / 𝑥{𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)} = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)})
14 df-uni 4837 . . . 4 𝐵 = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)}
1514csbeq2i 3836 . . 3 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥{𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)}
16 df-uni 4837 . . 3 𝐴 / 𝑥𝐵 = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)}
1713, 15, 163eqtr4g 2804 . 2 (𝐴 ∈ V → 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥𝐵)
18 csbprc 4337 . . 3 𝐴 ∈ V → 𝐴 / 𝑥 𝐵 = ∅)
19 csbprc 4337 . . . . 5 𝐴 ∈ V → 𝐴 / 𝑥𝐵 = ∅)
2019unieqd 4850 . . . 4 𝐴 ∈ V → 𝐴 / 𝑥𝐵 = ∅)
21 uni0 4866 . . . 4 ∅ = ∅
2220, 21eqtr2di 2796 . . 3 𝐴 ∈ V → ∅ = 𝐴 / 𝑥𝐵)
2318, 22eqtrd 2778 . 2 𝐴 ∈ V → 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥𝐵)
2417, 23pm2.61i 182 1 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥𝐵
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 395   = wceq 1539  wex 1783  wcel 2108  {cab 2715  Vcvv 3422  [wsbc 3711  csb 3828  c0 4253   cuni 4836
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-in 3890  df-ss 3900  df-nul 4254  df-sn 4559  df-uni 4837
This theorem is referenced by:  csbfrecsg  8071  csbfv12gALTVD  42408
  Copyright terms: Public domain W3C validator