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

Theorem csbuni 4466
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 4008 . . . 4 𝐴 / 𝑥{𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)} = {𝑧[𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵)}
2 sbcex2 3486 . . . . . 6 ([𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵) ↔ ∃𝑦[𝐴 / 𝑥](𝑧𝑦𝑦𝐵))
3 sbcan 3478 . . . . . . . 8 ([𝐴 / 𝑥](𝑧𝑦𝑦𝐵) ↔ ([𝐴 / 𝑥]𝑧𝑦[𝐴 / 𝑥]𝑦𝐵))
4 sbcg 3503 . . . . . . . . . 10 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑧𝑦𝑧𝑦))
54anbi1d 741 . . . . . . . . 9 (𝐴 ∈ V → (([𝐴 / 𝑥]𝑧𝑦[𝐴 / 𝑥]𝑦𝐵) ↔ (𝑧𝑦[𝐴 / 𝑥]𝑦𝐵)))
6 sbcel2 3989 . . . . . . . . . 10 ([𝐴 / 𝑥]𝑦𝐵𝑦𝐴 / 𝑥𝐵)
76anbi2i 730 . . . . . . . . 9 ((𝑧𝑦[𝐴 / 𝑥]𝑦𝐵) ↔ (𝑧𝑦𝑦𝐴 / 𝑥𝐵))
85, 7syl6bb 276 . . . . . . . 8 (𝐴 ∈ V → (([𝐴 / 𝑥]𝑧𝑦[𝐴 / 𝑥]𝑦𝐵) ↔ (𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
93, 8syl5bb 272 . . . . . . 7 (𝐴 ∈ V → ([𝐴 / 𝑥](𝑧𝑦𝑦𝐵) ↔ (𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
109exbidv 1850 . . . . . 6 (𝐴 ∈ V → (∃𝑦[𝐴 / 𝑥](𝑧𝑦𝑦𝐵) ↔ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
112, 10syl5bb 272 . . . . 5 (𝐴 ∈ V → ([𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵) ↔ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)))
1211abbidv 2741 . . . 4 (𝐴 ∈ V → {𝑧[𝐴 / 𝑥]𝑦(𝑧𝑦𝑦𝐵)} = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)})
131, 12syl5eq 2668 . . 3 (𝐴 ∈ V → 𝐴 / 𝑥{𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)} = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)})
14 df-uni 4437 . . . 4 𝐵 = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)}
1514csbeq2i 3993 . . 3 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥{𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐵)}
16 df-uni 4437 . . 3 𝐴 / 𝑥𝐵 = {𝑧 ∣ ∃𝑦(𝑧𝑦𝑦𝐴 / 𝑥𝐵)}
1713, 15, 163eqtr4g 2681 . 2 (𝐴 ∈ V → 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥𝐵)
18 csbprc 3980 . . 3 𝐴 ∈ V → 𝐴 / 𝑥 𝐵 = ∅)
19 csbprc 3980 . . . . 5 𝐴 ∈ V → 𝐴 / 𝑥𝐵 = ∅)
2019unieqd 4446 . . . 4 𝐴 ∈ V → 𝐴 / 𝑥𝐵 = ∅)
21 uni0 4465 . . . 4 ∅ = ∅
2220, 21syl6req 2673 . . 3 𝐴 ∈ V → ∅ = 𝐴 / 𝑥𝐵)
2318, 22eqtrd 2656 . 2 𝐴 ∈ V → 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥𝐵)
2417, 23pm2.61i 176 1 𝐴 / 𝑥 𝐵 = 𝐴 / 𝑥𝐵
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 384   = wceq 1483  wex 1704  wcel 1990  {cab 2608  Vcvv 3200  [wsbc 3435  csb 3533  c0 3915   cuni 4436
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
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  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-ral 2917  df-rex 2918  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-in 3581  df-ss 3588  df-nul 3916  df-sn 4178  df-uni 4437
This theorem is referenced by:  csbwrecsg  33173  csbfv12gALTOLD  39052  csbfv12gALTVD  39135
  Copyright terms: Public domain W3C validator