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 38556
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 4596 . . . . 5 (𝑥 = 𝑦 → {𝑥} = {𝑦})
21cbvmptv 5218 . . . 4 (𝑥 ∈ 𝐴 ↦ {𝑥}) = (𝑦 ∈ 𝐴 ↦ {𝑦})
32eqcomi 2778 . . 3 (𝑦 ∈ 𝐴 ↦ {𝑦}) = (𝑥 ∈ 𝐴 ↦ {𝑥})
4 mptsnun.r . . 3 𝑅 = {𝑢 ∣ ∃𝑥 ∈ 𝐴 𝑢 = {𝑥}}
53, 4mptsnunlem 38555 . 2 (𝐵 ⊆ 𝐴 → 𝐵 = ∪ ((𝑦 ∈ 𝐴 ↦ {𝑦}) “ 𝐵))
6 mptsnun.f . . . . 5 𝐹 = (𝑥 ∈ 𝐴 ↦ {𝑥})
76, 2eqtri 2792 . . . 4 𝐹 = (𝑦 ∈ 𝐴 ↦ {𝑦})
87imaeq1i 6071 . . 3 (𝐹 “ 𝐵) = ((𝑦 ∈ 𝐴 ↦ {𝑦}) “ 𝐵)
98unieqi 4887 . 2 ∪ (𝐹 “ 𝐵) = ∪ ((𝑦 ∈ 𝐴 ↦ {𝑦}) “ 𝐵)
105, 9eqtr4di 2822 1 (𝐵 ⊆ 𝐴 → 𝐵 = ∪ (𝐹 “ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1572  {cab 2747  ∃wrex 3096   ⊆ wss 3902  {csn 4590  ∪ cuni 4875   ↦ cmpt 5195   “ cima 5664
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-mpt 5196  df-xp 5667  df-rel 5668  df-cnv 5669  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674
This theorem is used by:  dissneqlem  38557
  Copyright terms: Public domain W3C validator