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

Theorem fsetsnf 48454
Description: The mapping of an element of a class to a singleton function is a function. (Contributed by AV, 13-Sep-2024.)
Hypotheses
Ref Expression
fsetsnf.a 𝐴 = {𝑦 ∣ ∃𝑏 ∈ 𝐵 𝑦 = {⟨𝑆, 𝑏⟩}}
fsetsnf.f 𝐹 = (𝑥 ∈ 𝐵 ↦ {⟨𝑆, 𝑥⟩})
Assertion
Ref Expression
fsetsnf (𝑆 ∈ 𝑉 → 𝐹:𝐵⟶𝐴)
Distinct variable groups:   𝑥,𝐴   𝐵,𝑏,𝑥,𝑦   𝑆,𝑏,𝑥,𝑦   𝑉,𝑏,𝑥
Allowed substitution hints:   𝐴(𝑦, 𝑏)   𝐹(𝑥, 𝑦, 𝑏)   𝑉(𝑦)

Proof of Theorem fsetsnf
StepHypRef Expression
1 simpr 490 . . . 4 ((𝑆 ∈ 𝑉 ∧ 𝑥 ∈ 𝐵) → 𝑥 ∈ 𝐵)
2 opeq2 4845 . . . . . . 7 (𝑏 = 𝑥 → ⟨𝑆, 𝑏⟩ = ⟨𝑆, 𝑥⟩)
32sneqd 4595 . . . . . 6 (𝑏 = 𝑥 → {⟨𝑆, 𝑏⟩} = {⟨𝑆, 𝑥⟩})
43eqeq2d 2777 . . . . 5 (𝑏 = 𝑥 → ({⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑏⟩} ↔ {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑥⟩}))
54adantl 487 . . . 4 (((𝑆 ∈ 𝑉 ∧ 𝑥 ∈ 𝐵) ∧ 𝑏 = 𝑥) → ({⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑏⟩} ↔ {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑥⟩}))
6 eqidd 2767 . . . 4 ((𝑆 ∈ 𝑉 ∧ 𝑥 ∈ 𝐵) → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑥⟩})
71, 5, 6rspcedvd 3581 . . 3 ((𝑆 ∈ 𝑉 ∧ 𝑥 ∈ 𝐵) → ∃𝑏 ∈ 𝐵 {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑏⟩})
8 snex 5403 . . . 4 {⟨𝑆, 𝑥⟩} ∈ V
9 eqeq1 2770 . . . . 5 (𝑦 = {⟨𝑆, 𝑥⟩} → (𝑦 = {⟨𝑆, 𝑏⟩} ↔ {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑏⟩}))
109rexbidv 3193 . . . 4 (𝑦 = {⟨𝑆, 𝑥⟩} → (∃𝑏 ∈ 𝐵 𝑦 = {⟨𝑆, 𝑏⟩} ↔ ∃𝑏 ∈ 𝐵 {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑏⟩}))
11 fsetsnf.a . . . 4 𝐴 = {𝑦 ∣ ∃𝑏 ∈ 𝐵 𝑦 = {⟨𝑆, 𝑏⟩}}
128, 10, 11elab2 3638 . . 3 ({⟨𝑆, 𝑥⟩} ∈ 𝐴 ↔ ∃𝑏 ∈ 𝐵 {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑏⟩})
137, 12sylibr 237 . 2 ((𝑆 ∈ 𝑉 ∧ 𝑥 ∈ 𝐵) → {⟨𝑆, 𝑥⟩} ∈ 𝐴)
14 fsetsnf.f . 2 𝐹 = (𝑥 ∈ 𝐵 ↦ {⟨𝑆, 𝑥⟩})
1513, 14fmptd 7145 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   ↦ cmpt 5191  ⟶wf 6561
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-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  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-nfc 2916  df-ral 3084  df-rex 3094  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-br 5108  df-opab 5173  df-mpt 5192  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-fun 6567  df-fn 6568  df-f 6569
This theorem is used by:  fsetsnf1  48455  fsetsnfo  48456
  Copyright terms: Public domain W3C validator