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 48122
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 48121 . 2 (𝑆 ∈ 𝑉 → 𝐹:𝐵⟶𝐴)
42a1i 11 . . . . . . 7 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → 𝐹 = (𝑥 ∈ 𝐵 ↦ {⟨𝑆, 𝑥⟩}))
5 opeq2 4833 . . . . . . . . 9 (𝑥 = 𝑚 → ⟨𝑆, 𝑥⟩ = ⟨𝑆, 𝑚⟩)
65sneqd 4595 . . . . . . . 8 (𝑥 = 𝑚 → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑚⟩})
76adantl 487 . . . . . . 7 (((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) ∧ 𝑥 = 𝑚) → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑚⟩})
8 simpl 488 . . . . . . 7 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → 𝑚 ∈ 𝐵)
9 snex 5396 . . . . . . . 8 {⟨𝑆, 𝑚⟩} ∈ V
109a1i 11 . . . . . . 7 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → {⟨𝑆, 𝑚⟩} ∈ V)
114, 7, 8, 10fvmptd 7001 . . . . . 6 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → (𝐹‘𝑚) = {⟨𝑆, 𝑚⟩})
12 opeq2 4833 . . . . . . . . 9 (𝑥 = 𝑛 → ⟨𝑆, 𝑥⟩ = ⟨𝑆, 𝑛⟩)
1312sneqd 4595 . . . . . . . 8 (𝑥 = 𝑛 → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑛⟩})
1413adantl 487 . . . . . . 7 (((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) ∧ 𝑥 = 𝑛) → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑛⟩})
15 simpr 490 . . . . . . 7 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → 𝑛 ∈ 𝐵)
16 snex 5396 . . . . . . . 8 {⟨𝑆, 𝑛⟩} ∈ V
1716a1i 11 . . . . . . 7 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → {⟨𝑆, 𝑛⟩} ∈ V)
184, 14, 15, 17fvmptd 7001 . . . . . 6 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → (𝐹‘𝑛) = {⟨𝑆, 𝑛⟩})
1911, 18eqeq12d 2776 . . . . 5 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → ((𝐹‘𝑚) = (𝐹‘𝑛) ↔ {⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩}))
2019adantl 487 . . . 4 ((𝑆 ∈ 𝑉 ∧ (𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵)) → ((𝐹‘𝑚) = (𝐹‘𝑛) ↔ {⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩}))
21 opex 5431 . . . . . 6 ⟨𝑆, 𝑚⟩ ∈ V
2221sneqr 4799 . . . . 5 ({⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩} → ⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩)
23 opthg 5445 . . . . . . 7 ((𝑆 ∈ 𝑉 ∧ 𝑚 ∈ 𝐵) → (⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩ ↔ (𝑆 = 𝑆 ∧ 𝑚 = 𝑛)))
2423adantrr 730 . . . . . 6 ((𝑆 ∈ 𝑉 ∧ (𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵)) → (⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩ ↔ (𝑆 = 𝑆 ∧ 𝑚 = 𝑛)))
25 simpr 490 . . . . . 6 ((𝑆 = 𝑆 ∧ 𝑚 = 𝑛) → 𝑚 = 𝑛)
2624, 25biimtrdi 256 . . . . 5 ((𝑆 ∈ 𝑉 ∧ (𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵)) → (⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩ → 𝑚 = 𝑛))
2722, 26syl5 35 . . . 4 ((𝑆 ∈ 𝑉 ∧ (𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵)) → ({⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩} → 𝑚 = 𝑛))
2820, 27sylbid 243 . . 3 ((𝑆 ∈ 𝑉 ∧ (𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵)) → ((𝐹‘𝑚) = (𝐹‘𝑛) → 𝑚 = 𝑛))
2928ralrimivva 3205 . 2 (𝑆 ∈ 𝑉 → ∀𝑚 ∈ 𝐵 ∀𝑛 ∈ 𝐵 ((𝐹‘𝑚) = (𝐹‘𝑛) → 𝑚 = 𝑛))
30 dff13 7258 . 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 1569   ∈ wcel 2144  {cab 2738  ∀wral 3076  ∃wrex 3086  Vcvv 3450  {csn 4583  ⟨cop 4589   ↦ cmpt 5185  ⟶wf 6534  –1-1→wf1 6535  ‘cfv 6538
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fv 6546
This theorem is used by:  fsetsnf1o  48124
  Copyright terms: Public domain W3C validator