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 44055
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 44054 . 2 (𝑆𝑉𝐹:𝐵𝐴)
42a1i 11 . . . . . . 7 ((𝑚𝐵𝑛𝐵) → 𝐹 = (𝑥𝐵 ↦ {⟨𝑆, 𝑥⟩}))
5 opeq2 4767 . . . . . . . . 9 (𝑥 = 𝑚 → ⟨𝑆, 𝑥⟩ = ⟨𝑆, 𝑚⟩)
65sneqd 4538 . . . . . . . 8 (𝑥 = 𝑚 → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑚⟩})
76adantl 485 . . . . . . 7 (((𝑚𝐵𝑛𝐵) ∧ 𝑥 = 𝑚) → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑚⟩})
8 simpl 486 . . . . . . 7 ((𝑚𝐵𝑛𝐵) → 𝑚𝐵)
9 snex 5305 . . . . . . . 8 {⟨𝑆, 𝑚⟩} ∈ V
109a1i 11 . . . . . . 7 ((𝑚𝐵𝑛𝐵) → {⟨𝑆, 𝑚⟩} ∈ V)
114, 7, 8, 10fvmptd 6772 . . . . . 6 ((𝑚𝐵𝑛𝐵) → (𝐹𝑚) = {⟨𝑆, 𝑚⟩})
12 opeq2 4767 . . . . . . . . 9 (𝑥 = 𝑛 → ⟨𝑆, 𝑥⟩ = ⟨𝑆, 𝑛⟩)
1312sneqd 4538 . . . . . . . 8 (𝑥 = 𝑛 → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑛⟩})
1413adantl 485 . . . . . . 7 (((𝑚𝐵𝑛𝐵) ∧ 𝑥 = 𝑛) → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑛⟩})
15 simpr 488 . . . . . . 7 ((𝑚𝐵𝑛𝐵) → 𝑛𝐵)
16 snex 5305 . . . . . . . 8 {⟨𝑆, 𝑛⟩} ∈ V
1716a1i 11 . . . . . . 7 ((𝑚𝐵𝑛𝐵) → {⟨𝑆, 𝑛⟩} ∈ V)
184, 14, 15, 17fvmptd 6772 . . . . . 6 ((𝑚𝐵𝑛𝐵) → (𝐹𝑛) = {⟨𝑆, 𝑛⟩})
1911, 18eqeq12d 2775 . . . . 5 ((𝑚𝐵𝑛𝐵) → ((𝐹𝑚) = (𝐹𝑛) ↔ {⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩}))
2019adantl 485 . . . 4 ((𝑆𝑉 ∧ (𝑚𝐵𝑛𝐵)) → ((𝐹𝑚) = (𝐹𝑛) ↔ {⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩}))
21 opex 5329 . . . . . 6 𝑆, 𝑚⟩ ∈ V
2221sneqr 4732 . . . . 5 ({⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩} → ⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩)
23 opthg 5342 . . . . . . 7 ((𝑆𝑉𝑚𝐵) → (⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩ ↔ (𝑆 = 𝑆𝑚 = 𝑛)))
2423adantrr 716 . . . . . 6 ((𝑆𝑉 ∧ (𝑚𝐵𝑛𝐵)) → (⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩ ↔ (𝑆 = 𝑆𝑚 = 𝑛)))
25 simpr 488 . . . . . 6 ((𝑆 = 𝑆𝑚 = 𝑛) → 𝑚 = 𝑛)
2624, 25syl6bi 256 . . . . 5 ((𝑆𝑉 ∧ (𝑚𝐵𝑛𝐵)) → (⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩ → 𝑚 = 𝑛))
2722, 26syl5 34 . . . 4 ((𝑆𝑉 ∧ (𝑚𝐵𝑛𝐵)) → ({⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩} → 𝑚 = 𝑛))
2820, 27sylbid 243 . . 3 ((𝑆𝑉 ∧ (𝑚𝐵𝑛𝐵)) → ((𝐹𝑚) = (𝐹𝑛) → 𝑚 = 𝑛))
2928ralrimivva 3121 . 2 (𝑆𝑉 → ∀𝑚𝐵𝑛𝐵 ((𝐹𝑚) = (𝐹𝑛) → 𝑚 = 𝑛))
30 dff13 7012 . 2 (𝐹:𝐵1-1𝐴 ↔ (𝐹:𝐵𝐴 ∧ ∀𝑚𝐵𝑛𝐵 ((𝐹𝑚) = (𝐹𝑛) → 𝑚 = 𝑛)))
313, 29, 30sylanbrc 586 1 (𝑆𝑉𝐹:𝐵1-1𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1539  wcel 2112  {cab 2736  wral 3071  wrex 3072  Vcvv 3410  {csn 4526  cop 4532  cmpt 5117  wf 6337  1-1wf1 6338  cfv 6341
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1912  ax-6 1971  ax-7 2016  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2730  ax-sep 5174  ax-nul 5181  ax-pr 5303
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2071  df-mo 2558  df-eu 2589  df-clab 2737  df-cleq 2751  df-clel 2831  df-nfc 2902  df-ral 3076  df-rex 3077  df-rab 3080  df-v 3412  df-sbc 3700  df-csb 3809  df-dif 3864  df-un 3866  df-in 3868  df-ss 3878  df-nul 4229  df-if 4425  df-sn 4527  df-pr 4529  df-op 4533  df-uni 4803  df-br 5038  df-opab 5100  df-mpt 5118  df-id 5435  df-xp 5535  df-rel 5536  df-cnv 5537  df-co 5538  df-dm 5539  df-rn 5540  df-res 5541  df-ima 5542  df-iota 6300  df-fun 6343  df-fn 6344  df-f 6345  df-f1 6346  df-fv 6349
This theorem is referenced by:  fsetsnf1o  44057
  Copyright terms: Public domain W3C validator