Users' Mathboxes Mathbox for ML < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  mptsnun Structured version   Visualization version   GIF version

Theorem mptsnun 38356
Description: A class 𝐵 is equal to the union of the class of all singletons of elements of 𝐵. (Contributed by ML, 16-Jul-2020.)
Hypotheses
Ref Expression
mptsnun.f 𝐹 = (𝑥 ∈ 𝐴 ↦ {𝑥})
mptsnun.r 𝑅 = {𝑢 ∣ ∃𝑥 ∈ 𝐴 𝑢 = {𝑥}}
Assertion
Ref Expression
mptsnun (𝐵 ⊆ 𝐴 → 𝐵 = ∪ (𝐹 “ 𝐵))
Distinct variable groups:   𝑢,𝐴,𝑥   𝑢,𝐵,𝑥
Allowed substitution hints:   𝑅(𝑥, 𝑢)   𝐹(𝑥, 𝑢)

Proof of Theorem mptsnun
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 sneq 4590 . . . . 5 (𝑥 = 𝑦 → {𝑥} = {𝑦})
21cbvmptv 5208 . . . 4 (𝑥 ∈ 𝐴 ↦ {𝑥}) = (𝑦 ∈ 𝐴 ↦ {𝑦})
32eqcomi 2769 . . 3 (𝑦 ∈ 𝐴 ↦ {𝑦}) = (𝑥 ∈ 𝐴 ↦ {𝑥})
4 mptsnun.r . . 3 𝑅 = {𝑢 ∣ ∃𝑥 ∈ 𝐴 𝑢 = {𝑥}}
53, 4mptsnunlem 38355 . 2 (𝐵 ⊆ 𝐴 → 𝐵 = ∪ ((𝑦 ∈ 𝐴 ↦ {𝑦}) “ 𝐵))
6 mptsnun.f . . . . 5 𝐹 = (𝑥 ∈ 𝐴 ↦ {𝑥})
76, 2eqtri 2783 . . . 4 𝐹 = (𝑦 ∈ 𝐴 ↦ {𝑦})
87imaeq1i 6048 . . 3 (𝐹 “ 𝐵) = ((𝑦 ∈ 𝐴 ↦ {𝑦}) “ 𝐵)
98unieqi 4878 . 2 ∪ (𝐹 “ 𝐵) = ∪ ((𝑦 ∈ 𝐴 ↦ {𝑦}) “ 𝐵)
105, 9eqtr4di 2813 1 (𝐵 ⊆ 𝐴 → 𝐵 = ∪ (𝐹 “ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1569  {cab 2738  ∃wrex 3086   ⊆ wss 3895  {csn 4584  ∪ cuni 4866   ↦ cmpt 5185   “ cima 5653
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-xp 5656  df-rel 5657  df-cnv 5658  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663
This theorem is used by:  dissneqlem  38357
  Copyright terms: Public domain W3C validator