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 47816
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 489 . . . 4 ((𝑆𝑉𝑥𝐵) → 𝑥𝐵)
2 opeq2 4838 . . . . . . 7 (𝑏 = 𝑥 → ⟨𝑆, 𝑏⟩ = ⟨𝑆, 𝑥⟩)
32sneqd 4600 . . . . . 6 (𝑏 = 𝑥 → {⟨𝑆, 𝑏⟩} = {⟨𝑆, 𝑥⟩})
43eqeq2d 2773 . . . . 5 (𝑏 = 𝑥 → ({⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑏⟩} ↔ {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑥⟩}))
54adantl 486 . . . 4 (((𝑆𝑉𝑥𝐵) ∧ 𝑏 = 𝑥) → ({⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑏⟩} ↔ {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑥⟩}))
6 eqidd 2763 . . . 4 ((𝑆𝑉𝑥𝐵) → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑥⟩})
71, 5, 6rspcedvd 3582 . . 3 ((𝑆𝑉𝑥𝐵) → ∃𝑏𝐵 {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑏⟩})
8 snex 5409 . . . 4 {⟨𝑆, 𝑥⟩} ∈ V
9 eqeq1 2766 . . . . 5 (𝑦 = {⟨𝑆, 𝑥⟩} → (𝑦 = {⟨𝑆, 𝑏⟩} ↔ {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑏⟩}))
109rexbidv 3188 . . . 4 (𝑦 = {⟨𝑆, 𝑥⟩} → (∃𝑏𝐵 𝑦 = {⟨𝑆, 𝑏⟩} ↔ ∃𝑏𝐵 {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑏⟩}))
11 fsetsnf.a . . . 4 𝐴 = {𝑦 ∣ ∃𝑏𝐵 𝑦 = {⟨𝑆, 𝑏⟩}}
128, 10, 11elab2 3640 . . 3 ({⟨𝑆, 𝑥⟩} ∈ 𝐴 ↔ ∃𝑏𝐵 {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑏⟩})
137, 12sylibr 237 . 2 ((𝑆𝑉𝑥𝐵) → {⟨𝑆, 𝑥⟩} ∈ 𝐴)
14 fsetsnf.f . 2 𝐹 = (𝑥𝐵 ↦ {⟨𝑆, 𝑥⟩})
1513, 14fmptd 7109 1 (𝑆𝑉𝐹:𝐵𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  wa 400   = wceq 1569  wcel 2142  {cab 2740  wrex 3088  {csn 4588  cop 4594  cmpt 5191  wf 6532
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1824  ax-4 1838  ax-5 1939  ax-6 1996  ax-7 2037  ax-8 2144  ax-9 2152  ax-10 2175  ax-11 2191  ax-12 2212  ax-ext 2734  ax-sep 5256  ax-pr 5403
This proof depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1104  df-tru 1572  df-fal 1582  df-ex 1809  df-nf 1813  df-sb 2096  df-mo 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ral 3079  df-rex 3089  df-rab 3416  df-v 3456  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-nul 4286  df-if 4487  df-sn 4589  df-pr 4591  df-op 4595  df-br 5109  df-opab 5173  df-mpt 5192  df-id 5555  df-xp 5666  df-rel 5667  df-cnv 5668  df-co 5669  df-dm 5670  df-rn 5671  df-res 5672  df-ima 5673  df-fun 6538  df-fn 6539  df-f 6540
This theorem is used by:  fsetsnf1  47817  fsetsnfo  47818
  Copyright terms: Public domain W3C validator