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 48325
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 48324 . 2 (𝑆 ∈ 𝑉 → 𝐹:𝐵⟶𝐴)
42a1i 11 . . . . . . 7 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → 𝐹 = (𝑥 ∈ 𝐵 ↦ {⟨𝑆, 𝑥⟩}))
5 opeq2 4844 . . . . . . . . 9 (𝑥 = 𝑚 → ⟨𝑆, 𝑥⟩ = ⟨𝑆, 𝑚⟩)
65sneqd 4596 . . . . . . . 8 (𝑥 = 𝑚 → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑚⟩})
76adantl 487 . . . . . . 7 (((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) ∧ 𝑥 = 𝑚) → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑚⟩})
8 simpl 488 . . . . . . 7 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → 𝑚 ∈ 𝐵)
9 snex 5401 . . . . . . . 8 {⟨𝑆, 𝑚⟩} ∈ V
109a1i 11 . . . . . . 7 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → {⟨𝑆, 𝑚⟩} ∈ V)
114, 7, 8, 10fvmptd 7021 . . . . . 6 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → (𝐹‘𝑚) = {⟨𝑆, 𝑚⟩})
12 opeq2 4844 . . . . . . . . 9 (𝑥 = 𝑛 → ⟨𝑆, 𝑥⟩ = ⟨𝑆, 𝑛⟩)
1312sneqd 4596 . . . . . . . 8 (𝑥 = 𝑛 → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑛⟩})
1413adantl 487 . . . . . . 7 (((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) ∧ 𝑥 = 𝑛) → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑛⟩})
15 simpr 490 . . . . . . 7 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → 𝑛 ∈ 𝐵)
16 snex 5401 . . . . . . . 8 {⟨𝑆, 𝑛⟩} ∈ V
1716a1i 11 . . . . . . 7 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → {⟨𝑆, 𝑛⟩} ∈ V)
184, 14, 15, 17fvmptd 7021 . . . . . 6 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → (𝐹‘𝑛) = {⟨𝑆, 𝑛⟩})
1911, 18eqeq12d 2779 . . . . 5 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → ((𝐹‘𝑚) = (𝐹‘𝑛) ↔ {⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩}))
2019adantl 487 . . . 4 ((𝑆 ∈ 𝑉 ∧ (𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵)) → ((𝐹‘𝑚) = (𝐹‘𝑛) ↔ {⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩}))
21 opex 5436 . . . . . 6 ⟨𝑆, 𝑚⟩ ∈ V
2221sneqr 4798 . . . . 5 ({⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩} → ⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩)
23 opthg 5450 . . . . . . 7 ((𝑆 ∈ 𝑉 ∧ 𝑚 ∈ 𝐵) → (⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩ ↔ (𝑆 = 𝑆 ∧ 𝑚 = 𝑛)))
2423adantrr 730 . . . . . 6 ((𝑆 ∈ 𝑉 ∧ (𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵)) → (⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩ ↔ (𝑆 = 𝑆 ∧ 𝑚 = 𝑛)))
25 simpr 490 . . . . . 6 ((𝑆 = 𝑆 ∧ 𝑚 = 𝑛) → 𝑚 = 𝑛)
2624, 25biimtrdi 256 . . . . 5 ((𝑆 ∈ 𝑉 ∧ (𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵)) → (⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩ → 𝑚 = 𝑛))
2722, 26syl5 35 . . . 4 ((𝑆 ∈ 𝑉 ∧ (𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵)) → ({⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩} → 𝑚 = 𝑛))
2820, 27sylbid 243 . . 3 ((𝑆 ∈ 𝑉 ∧ (𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵)) → ((𝐹‘𝑚) = (𝐹‘𝑛) → 𝑚 = 𝑛))
2928ralrimivva 3209 . 2 (𝑆 ∈ 𝑉 → ∀𝑚 ∈ 𝐵 ∀𝑛 ∈ 𝐵 ((𝐹‘𝑚) = (𝐹‘𝑛) → 𝑚 = 𝑛))
30 dff13 7278 . 2 (𝐹:𝐵⟶1-1𝐴 ↔ (𝐹:𝐵⟶𝐴 ∧ ∀𝑚 ∈ 𝐵 ∀𝑛 ∈ 𝐵 ((𝐹‘𝑚) = (𝐹‘𝑛) → 𝑚 = 𝑛)))
313, 29, 30sylanbrc 595 1 (𝑆 ∈ 𝑉 → 𝐹:𝐵⟶1-1𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147  {cab 2741  ∀wral 3080  ∃wrex 3090  Vcvv 3454  {csn 4588  ⟨cop 4838   ↦ cmpt 5189  ⟶wf 6551  ⟶1-1wf1 6552  ‘cfv 6555
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fv 6563
This theorem is used by:  fsetsnf1o  48327
  Copyright terms: Public domain W3C validator