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 48455
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 48454 . 2 (𝑆 ∈ 𝑉 → 𝐹:𝐵⟶𝐴)
42a1i 11 . . . . . . 7 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → 𝐹 = (𝑥 ∈ 𝐵 ↦ {⟨𝑆, 𝑥⟩}))
5 opeq2 4845 . . . . . . . . 9 (𝑥 = 𝑚 → ⟨𝑆, 𝑥⟩ = ⟨𝑆, 𝑚⟩)
65sneqd 4595 . . . . . . . 8 (𝑥 = 𝑚 → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑚⟩})
76adantl 487 . . . . . . 7 (((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) ∧ 𝑥 = 𝑚) → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑚⟩})
8 simpl 488 . . . . . . 7 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → 𝑚 ∈ 𝐵)
9 snex 5403 . . . . . . . 8 {⟨𝑆, 𝑚⟩} ∈ V
109a1i 11 . . . . . . 7 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → {⟨𝑆, 𝑚⟩} ∈ V)
114, 7, 8, 10fvmptd 7031 . . . . . 6 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → (𝐹‘𝑚) = {⟨𝑆, 𝑚⟩})
12 opeq2 4845 . . . . . . . . 9 (𝑥 = 𝑛 → ⟨𝑆, 𝑥⟩ = ⟨𝑆, 𝑛⟩)
1312sneqd 4595 . . . . . . . 8 (𝑥 = 𝑛 → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑛⟩})
1413adantl 487 . . . . . . 7 (((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) ∧ 𝑥 = 𝑛) → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑛⟩})
15 simpr 490 . . . . . . 7 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → 𝑛 ∈ 𝐵)
16 snex 5403 . . . . . . . 8 {⟨𝑆, 𝑛⟩} ∈ V
1716a1i 11 . . . . . . 7 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → {⟨𝑆, 𝑛⟩} ∈ V)
184, 14, 15, 17fvmptd 7031 . . . . . 6 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → (𝐹‘𝑛) = {⟨𝑆, 𝑛⟩})
1911, 18eqeq12d 2782 . . . . 5 ((𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵) → ((𝐹‘𝑚) = (𝐹‘𝑛) ↔ {⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩}))
2019adantl 487 . . . 4 ((𝑆 ∈ 𝑉 ∧ (𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵)) → ((𝐹‘𝑚) = (𝐹‘𝑛) ↔ {⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩}))
21 opex 5438 . . . . . 6 ⟨𝑆, 𝑚⟩ ∈ V
2221sneqr 4799 . . . . 5 ({⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩} → ⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩)
23 opthg 5452 . . . . . . 7 ((𝑆 ∈ 𝑉 ∧ 𝑚 ∈ 𝐵) → (⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩ ↔ (𝑆 = 𝑆 ∧ 𝑚 = 𝑛)))
2423adantrr 730 . . . . . 6 ((𝑆 ∈ 𝑉 ∧ (𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵)) → (⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩ ↔ (𝑆 = 𝑆 ∧ 𝑚 = 𝑛)))
25 simpr 490 . . . . . 6 ((𝑆 = 𝑆 ∧ 𝑚 = 𝑛) → 𝑚 = 𝑛)
2624, 25biimtrdi 256 . . . . 5 ((𝑆 ∈ 𝑉 ∧ (𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵)) → (⟨𝑆, 𝑚⟩ = ⟨𝑆, 𝑛⟩ → 𝑚 = 𝑛))
2722, 26syl5 35 . . . 4 ((𝑆 ∈ 𝑉 ∧ (𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵)) → ({⟨𝑆, 𝑚⟩} = {⟨𝑆, 𝑛⟩} → 𝑚 = 𝑛))
2820, 27sylbid 243 . . 3 ((𝑆 ∈ 𝑉 ∧ (𝑚 ∈ 𝐵 ∧ 𝑛 ∈ 𝐵)) → ((𝐹‘𝑚) = (𝐹‘𝑛) → 𝑚 = 𝑛))
2928ralrimivva 3212 . 2 (𝑆 ∈ 𝑉 → ∀𝑚 ∈ 𝐵 ∀𝑛 ∈ 𝐵 ((𝐹‘𝑚) = (𝐹‘𝑛) → 𝑚 = 𝑛))
30 dff13 7288 . 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 1572   ∈ wcel 2150  {cab 2744  ∀wral 3083  ∃wrex 3093  Vcvv 3453  {csn 4587  ⟨cop 4839   ↦ cmpt 5191  ⟶wf 6561  ⟶1-1wf1 6562  ‘cfv 6565
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pr 5397
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fv 6573
This theorem is used by:  fsetsnf1o  48457
  Copyright terms: Public domain W3C validator