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 48452
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 7171 . . . . . 6 (𝑆 ∈ 𝑉 → (𝑔:{𝑆}⟶𝐵 ↔ ((𝑔‘𝑆) ∈ 𝐵 ∧ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩})))
2 simpl 488 . . . . . . 7 (((𝑔‘𝑆) ∈ 𝐵 ∧ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}) → (𝑔‘𝑆) ∈ 𝐵)
3 opeq2 4845 . . . . . . . . . 10 (𝑏 = (𝑔‘𝑆) → ⟨𝑆, 𝑏⟩ = ⟨𝑆, (𝑔‘𝑆)⟩)
43sneqd 4595 . . . . . . . . 9 (𝑏 = (𝑔‘𝑆) → {⟨𝑆, 𝑏⟩} = {⟨𝑆, (𝑔‘𝑆)⟩})
54eqeq2d 2777 . . . . . . . 8 (𝑏 = (𝑔‘𝑆) → (𝑔 = {⟨𝑆, 𝑏⟩} ↔ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}))
65adantl 487 . . . . . . 7 ((((𝑔‘𝑆) ∈ 𝐵 ∧ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}) ∧ 𝑏 = (𝑔‘𝑆)) → (𝑔 = {⟨𝑆, 𝑏⟩} ↔ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}))
7 simpr 490 . . . . . . 7 (((𝑔‘𝑆) ∈ 𝐵 ∧ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}) → 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩})
82, 6, 7rspcedvd 3581 . . . . . 6 (((𝑔‘𝑆) ∈ 𝐵 ∧ 𝑔 = {⟨𝑆, (𝑔‘𝑆)⟩}) → ∃𝑏 ∈ 𝐵 𝑔 = {⟨𝑆, 𝑏⟩})
91, 8biimtrdi 256 . . . . 5 (𝑆 ∈ 𝑉 → (𝑔:{𝑆}⟶𝐵 → ∃𝑏 ∈ 𝐵 𝑔 = {⟨𝑆, 𝑏⟩}))
10 simpl 488 . . . . . . . . . 10 ((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) → 𝑆 ∈ 𝑉)
11 simpr 490 . . . . . . . . . 10 ((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) → 𝑏 ∈ 𝐵)
1210, 11fsnd 6900 . . . . . . . . 9 ((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) → {⟨𝑆, 𝑏⟩}:{𝑆}⟶𝐵)
1312adantr 486 . . . . . . . 8 (((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) ∧ 𝑔 = {⟨𝑆, 𝑏⟩}) → {⟨𝑆, 𝑏⟩}:{𝑆}⟶𝐵)
14 simpr 490 . . . . . . . . 9 (((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) ∧ 𝑔 = {⟨𝑆, 𝑏⟩}) → 𝑔 = {⟨𝑆, 𝑏⟩})
1514feq1d 6721 . . . . . . . 8 (((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) ∧ 𝑔 = {⟨𝑆, 𝑏⟩}) → (𝑔:{𝑆}⟶𝐵 ↔ {⟨𝑆, 𝑏⟩}:{𝑆}⟶𝐵))
1613, 15mpbird 260 . . . . . . 7 (((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) ∧ 𝑔 = {⟨𝑆, 𝑏⟩}) → 𝑔:{𝑆}⟶𝐵)
1716ex 418 . . . . . 6 ((𝑆 ∈ 𝑉 ∧ 𝑏 ∈ 𝐵) → (𝑔 = {⟨𝑆, 𝑏⟩} → 𝑔:{𝑆}⟶𝐵))
1817rexlimdva 3170 . . . . 5 (𝑆 ∈ 𝑉 → (∃𝑏 ∈ 𝐵 𝑔 = {⟨𝑆, 𝑏⟩} → 𝑔:{𝑆}⟶𝐵))
199, 18impbid 215 . . . 4 (𝑆 ∈ 𝑉 → (𝑔:{𝑆}⟶𝐵 ↔ ∃𝑏 ∈ 𝐵 𝑔 = {⟨𝑆, 𝑏⟩}))
20 velsn 4599 . . . . . 6 (𝑔 ∈ {{⟨𝑆, 𝑏⟩}} ↔ 𝑔 = {⟨𝑆, 𝑏⟩})
2120bicomi 227 . . . . 5 (𝑔 = {⟨𝑆, 𝑏⟩} ↔ 𝑔 ∈ {{⟨𝑆, 𝑏⟩}})
2221rexbii 3116 . . . 4 (∃𝑏 ∈ 𝐵 𝑔 = {⟨𝑆, 𝑏⟩} ↔ ∃𝑏 ∈ 𝐵 𝑔 ∈ {{⟨𝑆, 𝑏⟩}})
2319, 22bitrdi 290 . . 3 (𝑆 ∈ 𝑉 → (𝑔:{𝑆}⟶𝐵 ↔ ∃𝑏 ∈ 𝐵 𝑔 ∈ {{⟨𝑆, 𝑏⟩}}))
24 vex 3457 . . . 4 𝑔 ∈ V
25 feq1 6717 . . . 4 (𝑓 = 𝑔 → (𝑓:{𝑆}⟶𝐵 ↔ 𝑔:{𝑆}⟶𝐵))
2624, 25elab 3635 . . 3 (𝑔 ∈ {𝑓 ∣ 𝑓:{𝑆}⟶𝐵} ↔ 𝑔:{𝑆}⟶𝐵)
27 eliun 4959 . . 3 (𝑔 ∈ ∪ 𝑏 ∈ 𝐵 {{⟨𝑆, 𝑏⟩}} ↔ ∃𝑏 ∈ 𝐵 𝑔 ∈ {{⟨𝑆, 𝑏⟩}})
2823, 26, 273bitr4g 317 . 2 (𝑆 ∈ 𝑉 → (𝑔 ∈ {𝑓 ∣ 𝑓:{𝑆}⟶𝐵} ↔ 𝑔 ∈ ∪ 𝑏 ∈ 𝐵 {{⟨𝑆, 𝑏⟩}}))
2928eqrdv 2764 1 (𝑆 ∈ 𝑉 → {𝑓 ∣ 𝑓:{𝑆}⟶𝐵} = ∪ 𝑏 ∈ 𝐵 {{⟨𝑆, 𝑏⟩}})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2150  {cab 2744  ∃wrex 3093  {csn 4587  ⟨cop 4839  ∪ ciun 4955  ⟶wf 6562  ‘cfv 6566
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 2152  ax-9 2160  ax-10 2183  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pr 5397
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 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-ne 2963  df-ral 3084  df-rex 3094  df-reu 3369  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574
This theorem is used by:  fsetabsnop  48453
  Copyright terms: Public domain W3C validator