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 38230
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 4594 . . . . 5 (𝑥 = 𝑦 → {𝑥} = {𝑦})
21cbvmptv 5209 . . . 4 (𝑥 ∈ 𝐴 ↦ {𝑥}) = (𝑦 ∈ 𝐴 ↦ {𝑦})
32eqcomi 2770 . . 3 (𝑦 ∈ 𝐴 ↦ {𝑦}) = (𝑥 ∈ 𝐴 ↦ {𝑥})
4 mptsnun.r . . 3 𝑅 = {𝑢 ∣ ∃𝑥 ∈ 𝐴 𝑢 = {𝑥}}
53, 4mptsnunlem 38229 . 2 (𝐵 ⊆ 𝐴 → 𝐵 = ∪ ((𝑦 ∈ 𝐴 ↦ {𝑦}) “ 𝐵))
6 mptsnun.f . . . . 5 𝐹 = (𝑥 ∈ 𝐴 ↦ {𝑥})
76, 2eqtri 2784 . . . 4 𝐹 = (𝑦 ∈ 𝐴 ↦ {𝑦})
87imaeq1i 6051 . . 3 (𝐹 “ 𝐵) = ((𝑦 ∈ 𝐴 ↦ {𝑦}) “ 𝐵)
98unieqi 4879 . 2 ∪ (𝐹 “ 𝐵) = ∪ ((𝑦 ∈ 𝐴 ↦ {𝑦}) “ 𝐵)
105, 9eqtr4di 2814 1 (𝐵 ⊆ 𝐴 → 𝐵 = ∪ (𝐹 “ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570  {cab 2739  ∃wrex 3087   ⊆ wss 3899  {csn 4584  ∪ cuni 4867   ↦ cmpt 5186   “ cima 5654
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-xp 5657  df-rel 5658  df-cnv 5659  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664
This theorem is used by:  dissneqlem  38231
  Copyright terms: Public domain W3C validator