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

Theorem csbuni 4853
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 4375 . . . 4 𝐴 / 𝑥{𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)} = {𝑧[𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵)}
2 sbcex2 3824 . . . . . 6 ([𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵) ↔ ∃𝑦[𝐴 / 𝑥](𝑧𝑦𝑦𝐵))
3 sbcan 3811 . . . . . . . 8 ([𝐴 / 𝑥](𝑧𝑦𝑦𝐵) ↔ ([𝐴 / 𝑥]𝑧𝑦[𝐴 / 𝑥]𝑦𝐵))
4 sbcg 3836 . . . . . . . . . 10 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑧𝑦𝑧𝑦))
54anbi1d 631 . . . . . . . . 9 (𝐴 ∈ V → (([𝐴 / 𝑥]𝑧𝑦[𝐴 / 𝑥]𝑦𝐵) ↔ (𝑧𝑦[𝐴 / 𝑥]𝑦𝐵)))
6 sbcel2 4353 . . . . . . . . . 10 ([𝐴 / 𝑥]𝑦𝐵𝑦𝐴 / 𝑥𝐵)
76anbi2i 624 . . . . . . . . 9 ((𝑧𝑦[𝐴 / 𝑥]𝑦𝐵) ↔ (𝑧𝑦𝑦𝐴 / 𝑥𝐵))
85, 7syl6bb 289 . . . . . . . 8 (𝐴 ∈ V → (([𝐴 / 𝑥]𝑧𝑦[𝐴 / 𝑥]𝑦𝐵) ↔ (𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
93, 8syl5bb 285 . . . . . . 7 (𝐴 ∈ V → ([𝐴 / 𝑥](𝑧𝑦𝑦𝐵) ↔ (𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
109exbidv 1922 . . . . . 6 (𝐴 ∈ V → (∃𝑦[𝐴 / 𝑥](𝑧𝑦𝑦𝐵) ↔ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
112, 10syl5bb 285 . . . . 5 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵) ↔ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
1211abbidv 2885 . . . 4 (𝐴 ∈ V → {𝑧[𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵)} = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)})
131, 12syl5eq 2868 . . 3 (𝐴 ∈ V → 𝐴 / 𝑥{𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)} = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)})
14 df-uni 4825 . . . 4 𝐵 = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)}
1514csbeq2i 3879 . . 3 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥{𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)}
16 df-uni 4825 . . 3 𝐴 / 𝑥𝐵 = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)}
1713, 15, 163eqtr4g 2881 . 2 (𝐴 ∈ V → 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥𝐵)
18 csbprc 4344 . . 3 𝐴 ∈ V → 𝐴 / 𝑥 𝐵 = ∅)
19 csbprc 4344 . . . . 5 𝐴 ∈ V → 𝐴 / 𝑥𝐵 = ∅)
2019unieqd 4838 . . . 4 𝐴 ∈ V → 𝐴 / 𝑥𝐵 = ∅)
21 uni0 4852 . . . 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 1537  wex 1780  wcel 2114  {cab 2799  Vcvv 3486  [wsbc 3763  csb 3871  c0 4279   cuni 4824
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 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-fal 1550  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-v 3488  df-sbc 3764  df-csb 3872  df-dif 3927  df-in 3931  df-ss 3940  df-nul 4280  df-sn 4554  df-uni 4825
This theorem is referenced by:  csbwrecsg  34624  csbfv12gALTVD  41323
  Copyright terms: Public domain W3C validator