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

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

Proof of Theorem fsetsnfo
Dummy variables 𝑚 𝑛 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fsetsnf.a . . 3 𝐴 = {𝑦 ∣ ∃𝑏 ∈ 𝐵 𝑦 = {⟨𝑆, 𝑏⟩}}
2 fsetsnf.f . . 3 𝐹 = (𝑥 ∈ 𝐵 ↦ {⟨𝑆, 𝑥⟩})
31, 2fsetsnf 48477 . 2 (𝑆 ∈ 𝑉 → 𝐹:𝐵⟶𝐴)
4 vex 3460 . . . . . 6 𝑚 ∈ V
5 eqeq1 2773 . . . . . . 7 (𝑦 = 𝑚 → (𝑦 = {⟨𝑆, 𝑏⟩} ↔ 𝑚 = {⟨𝑆, 𝑏⟩}))
65rexbidv 3196 . . . . . 6 (𝑦 = 𝑚 → (∃𝑏 ∈ 𝐵 𝑦 = {⟨𝑆, 𝑏⟩} ↔ ∃𝑏 ∈ 𝐵 𝑚 = {⟨𝑆, 𝑏⟩}))
74, 6, 1elab2 3641 . . . . 5 (𝑚 ∈ 𝐴 ↔ ∃𝑏 ∈ 𝐵 𝑚 = {⟨𝑆, 𝑏⟩})
8 opeq2 4849 . . . . . . . . 9 (𝑏 = 𝑛 → ⟨𝑆, 𝑏⟩ = ⟨𝑆, 𝑛⟩)
98sneqd 4598 . . . . . . . 8 (𝑏 = 𝑛 → {⟨𝑆, 𝑏⟩} = {⟨𝑆, 𝑛⟩})
109eqeq2d 2780 . . . . . . 7 (𝑏 = 𝑛 → (𝑚 = {⟨𝑆, 𝑏⟩} ↔ 𝑚 = {⟨𝑆, 𝑛⟩}))
1110cbvrexvw 3248 . . . . . 6 (∃𝑏 ∈ 𝐵 𝑚 = {⟨𝑆, 𝑏⟩} ↔ ∃𝑛 ∈ 𝐵 𝑚 = {⟨𝑆, 𝑛⟩})
12 simpr 490 . . . . . . . . 9 (((𝑆 ∈ 𝑉 ∧ 𝑛 ∈ 𝐵) ∧ 𝑚 = {⟨𝑆, 𝑛⟩}) → 𝑚 = {⟨𝑆, 𝑛⟩})
132a1i 11 . . . . . . . . . . . 12 ((𝑆 ∈ 𝑉 ∧ 𝑛 ∈ 𝐵) → 𝐹 = (𝑥 ∈ 𝐵 ↦ {⟨𝑆, 𝑥⟩}))
14 opeq2 4849 . . . . . . . . . . . . . 14 (𝑥 = 𝑛 → ⟨𝑆, 𝑥⟩ = ⟨𝑆, 𝑛⟩)
1514sneqd 4598 . . . . . . . . . . . . 13 (𝑥 = 𝑛 → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑛⟩})
1615adantl 487 . . . . . . . . . . . 12 (((𝑆 ∈ 𝑉 ∧ 𝑛 ∈ 𝐵) ∧ 𝑥 = 𝑛) → {⟨𝑆, 𝑥⟩} = {⟨𝑆, 𝑛⟩})
17 simpr 490 . . . . . . . . . . . 12 ((𝑆 ∈ 𝑉 ∧ 𝑛 ∈ 𝐵) → 𝑛 ∈ 𝐵)
18 snex 5407 . . . . . . . . . . . . 13 {⟨𝑆, 𝑛⟩} ∈ V
1918a1i 11 . . . . . . . . . . . 12 ((𝑆 ∈ 𝑉 ∧ 𝑛 ∈ 𝐵) → {⟨𝑆, 𝑛⟩} ∈ V)
2013, 16, 17, 19fvmptd 7042 . . . . . . . . . . 11 ((𝑆 ∈ 𝑉 ∧ 𝑛 ∈ 𝐵) → (𝐹‘𝑛) = {⟨𝑆, 𝑛⟩})
2120eqcomd 2775 . . . . . . . . . 10 ((𝑆 ∈ 𝑉 ∧ 𝑛 ∈ 𝐵) → {⟨𝑆, 𝑛⟩} = (𝐹‘𝑛))
2221adantr 486 . . . . . . . . 9 (((𝑆 ∈ 𝑉 ∧ 𝑛 ∈ 𝐵) ∧ 𝑚 = {⟨𝑆, 𝑛⟩}) → {⟨𝑆, 𝑛⟩} = (𝐹‘𝑛))
2312, 22eqtrd 2804 . . . . . . . 8 (((𝑆 ∈ 𝑉 ∧ 𝑛 ∈ 𝐵) ∧ 𝑚 = {⟨𝑆, 𝑛⟩}) → 𝑚 = (𝐹‘𝑛))
2423ex 418 . . . . . . 7 ((𝑆 ∈ 𝑉 ∧ 𝑛 ∈ 𝐵) → (𝑚 = {⟨𝑆, 𝑛⟩} → 𝑚 = (𝐹‘𝑛)))
2524reximdva 3185 . . . . . 6 (𝑆 ∈ 𝑉 → (∃𝑛 ∈ 𝐵 𝑚 = {⟨𝑆, 𝑛⟩} → ∃𝑛 ∈ 𝐵 𝑚 = (𝐹‘𝑛)))
2611, 25biimtrid 245 . . . . 5 (𝑆 ∈ 𝑉 → (∃𝑏 ∈ 𝐵 𝑚 = {⟨𝑆, 𝑏⟩} → ∃𝑛 ∈ 𝐵 𝑚 = (𝐹‘𝑛)))
277, 26biimtrid 245 . . . 4 (𝑆 ∈ 𝑉 → (𝑚 ∈ 𝐴 → ∃𝑛 ∈ 𝐵 𝑚 = (𝐹‘𝑛)))
2827imp 412 . . 3 ((𝑆 ∈ 𝑉 ∧ 𝑚 ∈ 𝐴) → ∃𝑛 ∈ 𝐵 𝑚 = (𝐹‘𝑛))
2928ralrimiva 3164 . 2 (𝑆 ∈ 𝑉 → ∀𝑚 ∈ 𝐴 ∃𝑛 ∈ 𝐵 𝑚 = (𝐹‘𝑛))
30 dffo3 7144 . 2 (𝐹:𝐵⟶onto𝐴 ↔ (𝐹:𝐵⟶𝐴 ∧ ∀𝑚 ∈ 𝐴 ∃𝑛 ∈ 𝐵 𝑚 = (𝐹‘𝑛)))
313, 29, 30sylanbrc 595 1 (𝑆 ∈ 𝑉 → 𝐹:𝐵⟶onto𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2151  {cab 2747  ∀wral 3086  ∃wrex 3096  Vcvv 3456  {csn 4590  ⟨cop 4843   ↦ cmpt 5195  ⟶wf 6569  ⟶ontowfo 6571  ‘cfv 6573
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 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pr 5401
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 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-fo 6579  df-fv 6581
This theorem is used by:  fsetsnf1o  48480
  Copyright terms: Public domain W3C validator