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 48041
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 7127 . . . . . 6 (𝑆 ∈ 𝑉 → (𝑔:{𝑆}⟶𝐵 ↔ ((𝑔‘𝑆) ∈ 𝐵 ∧ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩})))
2 simpl 488 . . . . . . 7 (((𝑔‘𝑆) ∈ 𝐵 ∧ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}) → (𝑔‘𝑆) ∈ 𝐵)
3 opeq2 4833 . . . . . . . . . 10 (𝑏 = (𝑔‘𝑆) → ⟨𝑆, 𝑏⟩ = ⟨𝑆, (𝑔‘𝑆)⟩)
43sneqd 4595 . . . . . . . . 9 (𝑏 = (𝑔‘𝑆) → {⟨𝑆, 𝑏⟩} = {⟨𝑆, (𝑔‘𝑆)⟩})
54eqeq2d 2771 . . . . . . . 8 (𝑏 = (𝑔‘𝑆) → (𝑔 = {⟨𝑆, 𝑏⟩} ↔ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}))
65adantl 487 . . . . . . 7 ((((𝑔‘𝑆) ∈ 𝐵 ∧ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}) ∧ 𝑏 = (𝑔‘𝑆)) → (𝑔 = {⟨𝑆, 𝑏⟩} ↔ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}))
7 simpr 490 . . . . . . 7 (((𝑔‘𝑆) ∈ 𝐵 ∧ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}) → 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩})
82, 6, 7rspcedvd 3578 . . . . . 6 (((𝑔‘𝑆) ∈ 𝐵 ∧ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}) → ∃𝑏 ∈ 𝐵 𝑔 = {⟨𝑆, 𝑏⟩})
91, 8biimtrdi 256 . . . . 5 (𝑆 ∈ 𝑉 → (𝑔:{𝑆}⟶𝐵 → ∃𝑏 ∈ 𝐵 𝑔 = {⟨𝑆, 𝑏⟩}))
10 simpl 488 . . . . . . . . . 10 ((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) → 𝑆 ∈ 𝑉)
11 simpr 490 . . . . . . . . . 10 ((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) → 𝑏 ∈ 𝐵)
1210, 11fsnd 6857 . . . . . . . . 9 ((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) → {⟨𝑆, 𝑏⟩}:{𝑆}⟶𝐵)
1312adantr 486 . . . . . . . 8 (((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) ∧ 𝑔 = {⟨𝑆, 𝑏⟩}) → {⟨𝑆, 𝑏⟩}:{𝑆}⟶𝐵)
14 simpr 490 . . . . . . . . 9 (((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) ∧ 𝑔 = {⟨𝑆, 𝑏⟩}) → 𝑔 = {⟨𝑆, 𝑏⟩})
1514feq1d 6679 . . . . . . . 8 (((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) ∧ 𝑔 = {⟨𝑆, 𝑏⟩}) → (𝑔:{𝑆}⟶𝐵 ↔ {⟨𝑆, 𝑏⟩}:{𝑆}⟶𝐵))
1613, 15mpbird 260 . . . . . . 7 (((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) ∧ 𝑔 = {⟨𝑆, 𝑏⟩}) → 𝑔:{𝑆}⟶𝐵)
1716ex 418 . . . . . 6 ((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) → (𝑔 = {⟨𝑆, 𝑏⟩} → 𝑔:{𝑆}⟶𝐵))
1817rexlimdva 3163 . . . . 5 (𝑆 ∈ 𝑉 → (∃𝑏 ∈ 𝐵 𝑔 = {⟨𝑆, 𝑏⟩} → 𝑔:{𝑆}⟶𝐵))
199, 18impbid 215 . . . 4 (𝑆 ∈ 𝑉 → (𝑔:{𝑆}⟶𝐵 ↔ ∃𝑏 ∈ 𝐵 𝑔 = {⟨𝑆, 𝑏⟩}))
20 velsn 4599 . . . . . 6 (𝑔 ∈ {{⟨𝑆, 𝑏⟩}} ↔ 𝑔 = {⟨𝑆, 𝑏⟩})
2120bicomi 227 . . . . 5 (𝑔 = {⟨𝑆, 𝑏⟩} ↔ 𝑔 ∈ {{⟨𝑆, 𝑏⟩}})
2221rexbii 3109 . . . 4 (∃𝑏 ∈ 𝐵 𝑔 = {⟨𝑆, 𝑏⟩} ↔ ∃𝑏 ∈ 𝐵 𝑔 ∈ {{⟨𝑆, 𝑏⟩}})
2319, 22bitrdi 290 . . 3 (𝑆 ∈ 𝑉 → (𝑔:{𝑆}⟶𝐵 ↔ ∃𝑏 ∈ 𝐵 𝑔 ∈ {{⟨𝑆, 𝑏⟩}}))
24 vex 3454 . . . 4 𝑔 ∈ V
25 feq1 6675 . . . 4 (𝑓 = 𝑔 → (𝑓:{𝑆}⟶𝐵 ↔ 𝑔:{𝑆}⟶𝐵))
2624, 25elab 3632 . . 3 (𝑔 ∈ {𝑓 ∣ 𝑓:{𝑆}⟶𝐵} ↔ 𝑔:{𝑆}⟶𝐵)
27 eliun 4954 . . 3 (𝑔 ∈ ∪ 𝑏 ∈ 𝐵 {{⟨𝑆, 𝑏⟩}} ↔ ∃𝑏 ∈ 𝐵 𝑔 ∈ {{⟨𝑆, 𝑏⟩}})
2823, 26, 273bitr4g 317 . 2 (𝑆 ∈ 𝑉 → (𝑔 ∈ {𝑓 ∣ 𝑓:{𝑆}⟶𝐵} ↔ 𝑔 ∈ ∪ 𝑏 ∈ 𝐵 {{⟨𝑆, 𝑏⟩}}))
2928eqrdv 2758 1 (𝑆 ∈ 𝑉 → {𝑓 ∣ 𝑓:{𝑆}⟶𝐵} = ∪ 𝑏 ∈ 𝐵 {{⟨𝑆, 𝑏⟩}})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  {cab 2738  ∃wrex 3086  {csn 4583  ⟨cop 4589  ∪ ciun 4950  ⟶wf 6523  ‘cfv 6527
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-12 2213  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390
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-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-id 5542  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-rn 5658  df-res 5659  df-ima 5660  df-iota 6483  df-fun 6529  df-fn 6530  df-f 6531  df-f1 6532  df-fo 6533  df-f1o 6534  df-fv 6535
This theorem is used by:  fsetabsnop  48042
  Copyright terms: Public domain W3C validator