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 44543
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 7010 . . . . . 6 (𝑆𝑉 → (𝑔:{𝑆}⟶𝐵 ↔ ((𝑔𝑆) ∈ 𝐵𝑔 = {⟨𝑆, (𝑔𝑆)⟩})))
2 simpl 483 . . . . . . 7 (((𝑔𝑆) ∈ 𝐵𝑔 = {⟨𝑆, (𝑔𝑆)⟩}) → (𝑔𝑆) ∈ 𝐵)
3 opeq2 4805 . . . . . . . . . 10 (𝑏 = (𝑔𝑆) → ⟨𝑆, 𝑏⟩ = ⟨𝑆, (𝑔𝑆)⟩)
43sneqd 4573 . . . . . . . . 9 (𝑏 = (𝑔𝑆) → {⟨𝑆, 𝑏⟩} = {⟨𝑆, (𝑔𝑆)⟩})
54eqeq2d 2749 . . . . . . . 8 (𝑏 = (𝑔𝑆) → (𝑔 = {⟨𝑆, 𝑏⟩} ↔ 𝑔 = {⟨𝑆, (𝑔𝑆)⟩}))
65adantl 482 . . . . . . 7 ((((𝑔𝑆) ∈ 𝐵𝑔 = {⟨𝑆, (𝑔𝑆)⟩}) ∧ 𝑏 = (𝑔𝑆)) → (𝑔 = {⟨𝑆, 𝑏⟩} ↔ 𝑔 = {⟨𝑆, (𝑔𝑆)⟩}))
7 simpr 485 . . . . . . 7 (((𝑔𝑆) ∈ 𝐵𝑔 = {⟨𝑆, (𝑔𝑆)⟩}) → 𝑔 = {⟨𝑆, (𝑔𝑆)⟩})
82, 6, 7rspcedvd 3563 . . . . . 6 (((𝑔𝑆) ∈ 𝐵𝑔 = {⟨𝑆, (𝑔𝑆)⟩}) → ∃𝑏𝐵 𝑔 = {⟨𝑆, 𝑏⟩})
91, 8syl6bi 252 . . . . 5 (𝑆𝑉 → (𝑔:{𝑆}⟶𝐵 → ∃𝑏𝐵 𝑔 = {⟨𝑆, 𝑏⟩}))
10 simpl 483 . . . . . . . . . 10 ((𝑆𝑉𝑏𝐵) → 𝑆𝑉)
11 simpr 485 . . . . . . . . . 10 ((𝑆𝑉𝑏𝐵) → 𝑏𝐵)
1210, 11fsnd 6759 . . . . . . . . 9 ((𝑆𝑉𝑏𝐵) → {⟨𝑆, 𝑏⟩}:{𝑆}⟶𝐵)
1312adantr 481 . . . . . . . 8 (((𝑆𝑉𝑏𝐵) ∧ 𝑔 = {⟨𝑆, 𝑏⟩}) → {⟨𝑆, 𝑏⟩}:{𝑆}⟶𝐵)
14 simpr 485 . . . . . . . . 9 (((𝑆𝑉𝑏𝐵) ∧ 𝑔 = {⟨𝑆, 𝑏⟩}) → 𝑔 = {⟨𝑆, 𝑏⟩})
1514feq1d 6585 . . . . . . . 8 (((𝑆𝑉𝑏𝐵) ∧ 𝑔 = {⟨𝑆, 𝑏⟩}) → (𝑔:{𝑆}⟶𝐵 ↔ {⟨𝑆, 𝑏⟩}:{𝑆}⟶𝐵))
1613, 15mpbird 256 . . . . . . 7 (((𝑆𝑉𝑏𝐵) ∧ 𝑔 = {⟨𝑆, 𝑏⟩}) → 𝑔:{𝑆}⟶𝐵)
1716ex 413 . . . . . 6 ((𝑆𝑉𝑏𝐵) → (𝑔 = {⟨𝑆, 𝑏⟩} → 𝑔:{𝑆}⟶𝐵))
1817rexlimdva 3213 . . . . 5 (𝑆𝑉 → (∃𝑏𝐵 𝑔 = {⟨𝑆, 𝑏⟩} → 𝑔:{𝑆}⟶𝐵))
199, 18impbid 211 . . . 4 (𝑆𝑉 → (𝑔:{𝑆}⟶𝐵 ↔ ∃𝑏𝐵 𝑔 = {⟨𝑆, 𝑏⟩}))
20 velsn 4577 . . . . . 6 (𝑔 ∈ {{⟨𝑆, 𝑏⟩}} ↔ 𝑔 = {⟨𝑆, 𝑏⟩})
2120bicomi 223 . . . . 5 (𝑔 = {⟨𝑆, 𝑏⟩} ↔ 𝑔 ∈ {{⟨𝑆, 𝑏⟩}})
2221rexbii 3181 . . . 4 (∃𝑏𝐵 𝑔 = {⟨𝑆, 𝑏⟩} ↔ ∃𝑏𝐵 𝑔 ∈ {{⟨𝑆, 𝑏⟩}})
2319, 22bitrdi 287 . . 3 (𝑆𝑉 → (𝑔:{𝑆}⟶𝐵 ↔ ∃𝑏𝐵 𝑔 ∈ {{⟨𝑆, 𝑏⟩}}))
24 vex 3436 . . . 4 𝑔 ∈ V
25 feq1 6581 . . . 4 (𝑓 = 𝑔 → (𝑓:{𝑆}⟶𝐵𝑔:{𝑆}⟶𝐵))
2624, 25elab 3609 . . 3 (𝑔 ∈ {𝑓𝑓:{𝑆}⟶𝐵} ↔ 𝑔:{𝑆}⟶𝐵)
27 eliun 4928 . . 3 (𝑔 𝑏𝐵 {{⟨𝑆, 𝑏⟩}} ↔ ∃𝑏𝐵 𝑔 ∈ {{⟨𝑆, 𝑏⟩}})
2823, 26, 273bitr4g 314 . 2 (𝑆𝑉 → (𝑔 ∈ {𝑓𝑓:{𝑆}⟶𝐵} ↔ 𝑔 𝑏𝐵 {{⟨𝑆, 𝑏⟩}}))
2928eqrdv 2736 1 (𝑆𝑉 → {𝑓𝑓:{𝑆}⟶𝐵} = 𝑏𝐵 {{⟨𝑆, 𝑏⟩}})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  {cab 2715  wrex 3065  {csn 4561  cop 4567   ciun 4924  wf 6429  cfv 6433
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441
This theorem is referenced by:  fsetabsnop  44544
  Copyright terms: Public domain W3C validator