Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fsetsniunop Structured version   Visualization version   GIF version

Theorem fsetsniunop 48324
Description: The class of all functions from a (proper) singleton into 𝐵 is the union of all the singletons of (proper) ordered pairs over the elements of 𝐵 as second component. (Contributed by AV, 13-Sep-2024.)
Assertion
Ref Expression
fsetsniunop (𝑆 ∈ 𝑉 → {𝑓 ∣ 𝑓:{𝑆}⟶𝐵} = ∪ 𝑏 ∈ 𝐵 {{⟨𝑆, 𝑏⟩}})
Distinct variable groups:   𝐵,𝑏,𝑓   𝑆,𝑏,𝑓   𝑉,𝑏
Allowed substitution hint:   𝑉(𝑓)

Proof of Theorem fsetsniunop
Dummy variable 𝑔 is distinct from all other variables.
StepHypRef Expression
1 fsn2g 7163 . . . . . 6 (𝑆 ∈ 𝑉 → (𝑔:{𝑆}⟶𝐵 ↔ ((𝑔‘𝑆) ∈ 𝐵 ∧ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩})))
2 simpl 488 . . . . . . 7 (((𝑔‘𝑆) ∈ 𝐵 ∧ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}) → (𝑔‘𝑆) ∈ 𝐵)
3 opeq2 4844 . . . . . . . . . 10 (𝑏 = (𝑔‘𝑆) → ⟨𝑆, 𝑏⟩ = ⟨𝑆, (𝑔‘𝑆)⟩)
43sneqd 4596 . . . . . . . . 9 (𝑏 = (𝑔‘𝑆) → {⟨𝑆, 𝑏⟩} = {⟨𝑆, (𝑔‘𝑆)⟩})
54eqeq2d 2774 . . . . . . . 8 (𝑏 = (𝑔‘𝑆) → (𝑔 = {⟨𝑆, 𝑏⟩} ↔ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}))
65adantl 487 . . . . . . 7 ((((𝑔‘𝑆) ∈ 𝐵 ∧ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}) ∧ 𝑏 = (𝑔‘𝑆)) → (𝑔 = {⟨𝑆, 𝑏⟩} ↔ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}))
7 simpr 490 . . . . . . 7 (((𝑔‘𝑆) ∈ 𝐵 ∧ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}) → 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩})
82, 6, 7rspcedvd 3582 . . . . . 6 (((𝑔‘𝑆) ∈ 𝐵 ∧ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}) → ∃𝑏 ∈ 𝐵 𝑔 = {⟨𝑆, 𝑏⟩})
91, 8biimtrdi 256 . . . . 5 (𝑆 ∈ 𝑉 → (𝑔:{𝑆}⟶𝐵 → ∃𝑏 ∈ 𝐵 𝑔 = {⟨𝑆, 𝑏⟩}))
10 simpl 488 . . . . . . . . . 10 ((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) → 𝑆 ∈ 𝑉)
11 simpr 490 . . . . . . . . . 10 ((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) → 𝑏 ∈ 𝐵)
1210, 11fsnd 6892 . . . . . . . . 9 ((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) → {⟨𝑆, 𝑏⟩}:{𝑆}⟶𝐵)
1312adantr 486 . . . . . . . 8 (((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) ∧ 𝑔 = {⟨𝑆, 𝑏⟩}) → {⟨𝑆, 𝑏⟩}:{𝑆}⟶𝐵)
14 simpr 490 . . . . . . . . 9 (((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) ∧ 𝑔 = {⟨𝑆, 𝑏⟩}) → 𝑔 = {⟨𝑆, 𝑏⟩})
1514feq1d 6713 . . . . . . . 8 (((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) ∧ 𝑔 = {⟨𝑆, 𝑏⟩}) → (𝑔:{𝑆}⟶𝐵 ↔ {⟨𝑆, 𝑏⟩}:{𝑆}⟶𝐵))
1613, 15mpbird 260 . . . . . . 7 (((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) ∧ 𝑔 = {⟨𝑆, 𝑏⟩}) → 𝑔:{𝑆}⟶𝐵)
1716ex 418 . . . . . 6 ((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) → (𝑔 = {⟨𝑆, 𝑏⟩} → 𝑔:{𝑆}⟶𝐵))
1817rexlimdva 3167 . . . . 5 (𝑆 ∈ 𝑉 → (∃𝑏 ∈ 𝐵 𝑔 = {⟨𝑆, 𝑏⟩} → 𝑔:{𝑆}⟶𝐵))
199, 18impbid 215 . . . 4 (𝑆 ∈ 𝑉 → (𝑔:{𝑆}⟶𝐵 ↔ ∃𝑏 ∈ 𝐵 𝑔 = {⟨𝑆, 𝑏⟩}))
20 velsn 4600 . . . . . 6 (𝑔 ∈ {{⟨𝑆, 𝑏⟩}} ↔ 𝑔 = {⟨𝑆, 𝑏⟩})
2120bicomi 227 . . . . 5 (𝑔 = {⟨𝑆, 𝑏⟩} ↔ 𝑔 ∈ {{⟨𝑆, 𝑏⟩}})
2221rexbii 3113 . . . 4 (∃𝑏 ∈ 𝐵 𝑔 = {⟨𝑆, 𝑏⟩} ↔ ∃𝑏 ∈ 𝐵 𝑔 ∈ {{⟨𝑆, 𝑏⟩}})
2319, 22bitrdi 290 . . 3 (𝑆 ∈ 𝑉 → (𝑔:{𝑆}⟶𝐵 ↔ ∃𝑏 ∈ 𝐵 𝑔 ∈ {{⟨𝑆, 𝑏⟩}}))
24 vex 3458 . . . 4 𝑔 ∈ V
25 feq1 6709 . . . 4 (𝑓 = 𝑔 → (𝑓:{𝑆}⟶𝐵 ↔ 𝑔:{𝑆}⟶𝐵))
2624, 25elab 3636 . . 3 (𝑔 ∈ {𝑓 ∣ 𝑓:{𝑆}⟶𝐵} ↔ 𝑔:{𝑆}⟶𝐵)
27 eliun 4958 . . 3 (𝑔 ∈ ∪ 𝑏 ∈ 𝐵 {{⟨𝑆, 𝑏⟩}} ↔ ∃𝑏 ∈ 𝐵 𝑔 ∈ {{⟨𝑆, 𝑏⟩}})
2823, 26, 273bitr4g 317 . 2 (𝑆 ∈ 𝑉 → (𝑔 ∈ {𝑓 ∣ 𝑓:{𝑆}⟶𝐵} ↔ 𝑔 ∈ ∪ 𝑏 ∈ 𝐵 {{⟨𝑆, 𝑏⟩}}))
2928eqrdv 2761 1 (𝑆 ∈ 𝑉 → {𝑓 ∣ 𝑓:{𝑆}⟶𝐵} = ∪ 𝑏 ∈ 𝐵 {{⟨𝑆, 𝑏⟩}})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147  {cab 2741  ∃wrex 3090  {csn 4588  ⟨cop 4838  ∪ ciun 4954  ⟶wf 6554  ‘cfv 6558
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-f1 6563  df-fo 6564  df-f1o 6565  df-fv 6566
This theorem is used by:  fsetabsnop  48325
  Copyright terms: Public domain W3C validator