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

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

Proof of Theorem fsetsnf1
Dummy variables 𝑚 𝑛 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fsetsnf.a . . 3 𝐴 = {𝑦 ∣ ∃𝑏𝐵 𝑦 = {⟨𝑆, 𝑏⟩}}
2 fsetsnf.f . . 3 𝐹 = (𝑥𝐵 ↦ {⟨𝑆, 𝑥⟩})
31, 2fsetsnf 45405 . 2 (𝑆𝑉𝐹:𝐵𝐴)
42a1i 11 . . . . . . 7 ((𝑚𝐵𝑛𝐵) → 𝐹 = (𝑥𝐵 ↦ {⟨𝑆, 𝑥⟩}))
5 opeq2 4836 . . . . . . . . 9 (𝑥 = 𝑚 → ⟨𝑆, 𝑥⟩ = ⟨𝑆, 𝑚⟩)
65sneqd 4603 . . . . . . . 8 (𝑥 = 𝑚 → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑚⟩})
76adantl 482 . . . . . . 7 (((𝑚𝐵𝑛𝐵) ∧ 𝑥 = 𝑚) → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑚⟩})
8 simpl 483 . . . . . . 7 ((𝑚𝐵𝑛𝐵) → 𝑚𝐵)
9 snex 5393 . . . . . . . 8 {⟨𝑆, 𝑚⟩} ∈ V
109a1i 11 . . . . . . 7 ((𝑚𝐵𝑛𝐵) → {⟨𝑆, 𝑚⟩} ∈ V)
114, 7, 8, 10fvmptd 6960 . . . . . 6 ((𝑚𝐵𝑛𝐵) → (𝐹𝑚) = {⟨𝑆, 𝑚⟩})
12 opeq2 4836 . . . . . . . . 9 (𝑥 = 𝑛 → ⟨𝑆, 𝑥⟩ = ⟨𝑆, 𝑛⟩)
1312sneqd 4603 . . . . . . . 8 (𝑥 = 𝑛 → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑛⟩})
1413adantl 482 . . . . . . 7 (((𝑚𝐵𝑛𝐵) ∧ 𝑥 = 𝑛) → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑛⟩})
15 simpr 485 . . . . . . 7 ((𝑚𝐵𝑛𝐵) → 𝑛𝐵)
16 snex 5393 . . . . . . . 8 {⟨𝑆, 𝑛⟩} ∈ V
1716a1i 11 . . . . . . 7 ((𝑚𝐵𝑛𝐵) → {⟨𝑆, 𝑛⟩} ∈ V)
184, 14, 15, 17fvmptd 6960 . . . . . 6 ((𝑚𝐵𝑛𝐵) → (𝐹𝑛) = {⟨𝑆, 𝑛⟩})
1911, 18eqeq12d 2747 . . . . 5 ((𝑚𝐵𝑛𝐵) → ((𝐹𝑚) = (𝐹𝑛) ↔ {⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩}))
2019adantl 482 . . . 4 ((𝑆𝑉 ∧ (𝑚𝐵𝑛𝐵)) → ((𝐹𝑚) = (𝐹𝑛) ↔ {⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩}))
21 opex 5426 . . . . . 6 𝑆, 𝑚⟩ ∈ V
2221sneqr 4803 . . . . 5 ({⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩} → ⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩)
23 opthg 5439 . . . . . . 7 ((𝑆𝑉𝑚𝐵) → (⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩ ↔ (𝑆 = 𝑆𝑚 = 𝑛)))
2423adantrr 715 . . . . . 6 ((𝑆𝑉 ∧ (𝑚𝐵𝑛𝐵)) → (⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩ ↔ (𝑆 = 𝑆𝑚 = 𝑛)))
25 simpr 485 . . . . . 6 ((𝑆 = 𝑆𝑚 = 𝑛) → 𝑚 = 𝑛)
2624, 25syl6bi 252 . . . . 5 ((𝑆𝑉 ∧ (𝑚𝐵𝑛𝐵)) → (⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩ → 𝑚 = 𝑛))
2722, 26syl5 34 . . . 4 ((𝑆𝑉 ∧ (𝑚𝐵𝑛𝐵)) → ({⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩} → 𝑚 = 𝑛))
2820, 27sylbid 239 . . 3 ((𝑆𝑉 ∧ (𝑚𝐵𝑛𝐵)) → ((𝐹𝑚) = (𝐹𝑛) → 𝑚 = 𝑛))
2928ralrimivva 3193 . 2 (𝑆𝑉 → ∀𝑚𝐵𝑛𝐵 ((𝐹𝑚) = (𝐹𝑛) → 𝑚 = 𝑛))
30 dff13 7207 . 2 (𝐹:𝐵1-1𝐴 ↔ (𝐹:𝐵𝐴 ∧ ∀𝑚𝐵𝑛𝐵 ((𝐹𝑚) = (𝐹𝑛) → 𝑚 = 𝑛)))
313, 29, 30sylanbrc 583 1 (𝑆𝑉𝐹:𝐵1-1𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1541  wcel 2106  {cab 2708  wral 3060  wrex 3069  Vcvv 3446  {csn 4591  cop 4597  cmpt 5193  wf 6497  1-1wf1 6498  cfv 6501
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  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 2702  ax-sep 5261  ax-nul 5268  ax-pr 5389
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-ral 3061  df-rex 3070  df-rab 3406  df-v 3448  df-sbc 3743  df-csb 3859  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-nul 4288  df-if 4492  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4871  df-br 5111  df-opab 5173  df-mpt 5194  df-id 5536  df-xp 5644  df-rel 5645  df-cnv 5646  df-co 5647  df-dm 5648  df-rn 5649  df-res 5650  df-ima 5651  df-iota 6453  df-fun 6503  df-fn 6504  df-f 6505  df-f1 6506  df-fv 6509
This theorem is referenced by:  fsetsnf1o  45408
  Copyright terms: Public domain W3C validator