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

Theorem csbuni 4402
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 3960 . . . 4 𝐴 / 𝑥{𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)} = {𝑧[𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵)}
2 sbcex2 3453 . . . . . 6 ([𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵) ↔ ∃𝑦[𝐴 / 𝑥](𝑧𝑦𝑦𝐵))
3 sbcan 3445 . . . . . . . 8 ([𝐴 / 𝑥](𝑧𝑦𝑦𝐵) ↔ ([𝐴 / 𝑥]𝑧𝑦[𝐴 / 𝑥]𝑦𝐵))
4 sbcg 3470 . . . . . . . . . 10 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑧𝑦𝑧𝑦))
54anbi1d 737 . . . . . . . . 9 (𝐴 ∈ V → (([𝐴 / 𝑥]𝑧𝑦[𝐴 / 𝑥]𝑦𝐵) ↔ (𝑧𝑦[𝐴 / 𝑥]𝑦𝐵)))
6 sbcel2 3941 . . . . . . . . . 10 ([𝐴 / 𝑥]𝑦𝐵𝑦𝐴 / 𝑥𝐵)
76anbi2i 726 . . . . . . . . 9 ((𝑧𝑦[𝐴 / 𝑥]𝑦𝐵) ↔ (𝑧𝑦𝑦𝐴 / 𝑥𝐵))
85, 7syl6bb 275 . . . . . . . 8 (𝐴 ∈ V → (([𝐴 / 𝑥]𝑧𝑦[𝐴 / 𝑥]𝑦𝐵) ↔ (𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
93, 8syl5bb 271 . . . . . . 7 (𝐴 ∈ V → ([𝐴 / 𝑥](𝑧𝑦𝑦𝐵) ↔ (𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
109exbidv 1837 . . . . . 6 (𝐴 ∈ V → (∃𝑦[𝐴 / 𝑥](𝑧𝑦𝑦𝐵) ↔ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
112, 10syl5bb 271 . . . . 5 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵) ↔ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
1211abbidv 2728 . . . 4 (𝐴 ∈ V → {𝑧[𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵)} = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)})
131, 12syl5eq 2656 . . 3 (𝐴 ∈ V → 𝐴 / 𝑥{𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)} = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)})
14 df-uni 4373 . . . 4 𝐵 = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)}
1514csbeq2i 3945 . . 3 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥{𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)}
16 df-uni 4373 . . 3 𝐴 / 𝑥𝐵 = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)}
1713, 15, 163eqtr4g 2669 . 2 (𝐴 ∈ V → 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥𝐵)
18 csbprc 3932 . . 3 𝐴 ∈ V → 𝐴 / 𝑥 𝐵 = ∅)
19 csbprc 3932 . . . . 5 𝐴 ∈ V → 𝐴 / 𝑥𝐵 = ∅)
2019unieqd 4382 . . . 4 𝐴 ∈ V → 𝐴 / 𝑥𝐵 = ∅)
21 uni0 4401 . . . 4 ∅ = ∅
2220, 21syl6req 2661 . . 3 𝐴 ∈ V → ∅ = 𝐴 / 𝑥𝐵)
2318, 22eqtrd 2644 . 2 𝐴 ∈ V → 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥𝐵)
2417, 23pm2.61i 175 1 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥𝐵
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 383   = wceq 1475  wex 1695  wcel 1977  {cab 2596  Vcvv 3173  [wsbc 3402  csb 3499  c0 3874   cuni 4372
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-fal 1481  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-in 3547  df-ss 3554  df-nul 3875  df-sn 4126  df-uni 4373
This theorem is referenced by:  csbwrecsg  32349  csbfv12gALTOLD  38074  csbfv12gALTVD  38157
  Copyright terms: Public domain W3C validator